paraqeet 1.1.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Bootstrap v5.3.2 (https://getbootstrap.com/)
3
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap v5.3.3 (https://getbootstrap.com/)
3
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
  import * as Popper from '@popperjs/core';
@@ -206,7 +206,6 @@ const noop = () => {};
206
206
  const reflow = element => {
207
207
  element.offsetHeight; // eslint-disable-line no-unused-expressions
208
208
  };
209
-
210
209
  const getjQuery = () => {
211
210
  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
212
211
  return window.jQuery;
@@ -644,7 +643,7 @@ class Config {
644
643
  * Constants
645
644
  */
646
645
 
647
- const VERSION = '5.3.2';
646
+ const VERSION = '5.3.3';
648
647
 
649
648
  /**
650
649
  * Class definition
@@ -725,9 +724,9 @@ const getSelector = element => {
725
724
  if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
726
725
  hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
727
726
  }
728
- selector = hrefAttribute && hrefAttribute !== '#' ? parseSelector(hrefAttribute.trim()) : null;
727
+ selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
729
728
  }
730
- return selector;
729
+ return selector ? selector.split(',').map(sel => parseSelector(sel)).join(',') : null;
731
730
  };
732
731
  const SelectorEngine = {
733
732
  find(selector, element = document.documentElement) {
@@ -2073,7 +2072,6 @@ const Default$8 = {
2073
2072
  // if false, we use the backdrop helper without adding any element to the dom
2074
2073
  rootElement: 'body' // give the choice to place backdrop under different elements
2075
2074
  };
2076
-
2077
2075
  const DefaultType$8 = {
2078
2076
  className: 'string',
2079
2077
  clickCallback: '(function|null)',
@@ -2198,7 +2196,6 @@ const Default$7 = {
2198
2196
  autofocus: true,
2199
2197
  trapElement: null // The element to trap focus inside of
2200
2198
  };
2201
-
2202
2199
  const DefaultType$7 = {
2203
2200
  autofocus: 'boolean',
2204
2201
  trapElement: 'element'
@@ -2925,7 +2922,10 @@ const DefaultAllowlist = {
2925
2922
  br: [],
2926
2923
  col: [],
2927
2924
  code: [],
2925
+ dd: [],
2928
2926
  div: [],
2927
+ dl: [],
2928
+ dt: [],
2929
2929
  em: [],
2930
2930
  hr: [],
2931
2931
  h1: [],