Skip to content
Snippets Groups Projects
Commit 1152d8ee authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Issue #3310154: [Drupal 10.x] core/popperjs asset library is deprecated

parent 5f5772bc
No related branches found
No related tags found
3 merge requests!358Issue #3386119 by Krypton: Added is null route check,!277Issue #3326313 by jrockowitz, _pratik_: Move Schema tab from...,!138Issue #3257570: Ensure that submission are deleted when a webform is deleted
......@@ -465,8 +465,18 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'version' => '12.0.3',
'license' => 'MIT',
];
$libraries['tippyjs/6.x'] = [
'title' => $this->t('Tippy.js (6.x)'),
$libraries['popperjs'] = [
'title' => $this->t('Popper.js'),
'description' => $this->t("Tippy.js a tiny, low-level library for creating \"floating\" elements like tooltips, popovers, dropdowns, menus, and more."),
'notes' => $this->t('Popper.js is used to provide a tooltips.'),
'homepage_url' => Url::fromUri('https://github.com/floating-ui/floating-ui'),
'download_url' => Url::fromUri('https://unpkg.com/@popperjs/core@2.11.6/dist/umd/popper.min.js'),
'version' => '2.11.6',
'core' => 9,
'license' => 'MIT',
];
$libraries['tippyjs'] = [
'title' => $this->t('Tippy.js'),
'description' => $this->t("Tippy.js is the complete tooltip, popover, dropdown, and menu solution for the web, powered by Popper."),
'notes' => $this->t('Tippy.js is used to provide a tooltips.'),
'homepage_url' => Url::fromUri('https://github.com/atomiks/tippyjs'),
......
......@@ -1323,6 +1323,19 @@ libraries.tabby:
js:
/libraries/tabby/dist/js/tabby.min.js: {}
libraries.popperjs:
remote: https://github.com/floating-ui/floating-ui
version: '2.11.6'
license:
name: MIT
url: https://github.com/floating-ui/floating-ui/blob/v2.x/LICENSE.md
gpl-compatible: true
directory: popperjs
cdn:
/libraries/popperjs/: https://unpkg.com/@popperjs/core@2.11.6/dist/umd/
js:
/libraries/popperjs/popper.min.js: { minified: true }
libraries.tippyjs:
remote: https://github.com/atomiks/tippyjs
version: '6.2.6'
......@@ -1330,10 +1343,10 @@ libraries.tippyjs:
name: MIT
url: https://github.com/atomiks/tippyjs/blob/master/LICENSE
gpl-compatible: true
directory: tippyjs/6.x
directory: tippyjs
cdn:
/libraries/tippyjs/6.x/: https://unpkg.com/tippy.js@6.2.6/dist/
/libraries/tippyjs/: https://unpkg.com/tippy.js@6.2.6/dist/
js:
/libraries/tippyjs/6.x/tippy-bundle.umd.min.js: { minified: true }
/libraries/tippyjs/tippy-bundle.umd.min.js: { minified: true }
dependencies:
- core/popperjs
- webform/libraries.popperjs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment