paraqeet 1.1.0 → 2.0.4

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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/_includes/icon.html +10 -19
  5. data/_sass/_highlight.scss +85 -64
  6. data/_sass/bootstrap/_accordion.scss +10 -15
  7. data/_sass/bootstrap/_button-group.scss +8 -3
  8. data/_sass/bootstrap/_buttons.scss +9 -0
  9. data/_sass/bootstrap/_card.scss +1 -2
  10. data/_sass/bootstrap/_carousel.scss +17 -35
  11. data/_sass/bootstrap/_close.scss +9 -6
  12. data/_sass/bootstrap/_functions.scss +1 -1
  13. data/_sass/bootstrap/_list-group.scss +27 -25
  14. data/_sass/bootstrap/_modal.scss +6 -3
  15. data/_sass/bootstrap/_nav.scss +1 -1
  16. data/_sass/bootstrap/_navbar.scss +1 -1
  17. data/_sass/bootstrap/_offcanvas.scss +2 -1
  18. data/_sass/bootstrap/_pagination.scss +1 -1
  19. data/_sass/bootstrap/_progress.scss +1 -1
  20. data/_sass/bootstrap/_reboot.scss +1 -1
  21. data/_sass/bootstrap/_tables.scss +1 -1
  22. data/_sass/bootstrap/_type.scss +1 -1
  23. data/_sass/bootstrap/_variables-dark.scss +17 -2
  24. data/_sass/bootstrap/_variables.scss +21 -15
  25. data/_sass/bootstrap/forms/_floating-labels.scss +18 -16
  26. data/_sass/bootstrap/forms/_form-check.scss +1 -1
  27. data/_sass/bootstrap/forms/_input-group.scss +1 -1
  28. data/_sass/bootstrap/mixins/_banner.scss +2 -2
  29. data/_sass/bootstrap/mixins/_forms.scss +12 -2
  30. data/_sass/bootstrap/mixins/_grid.scss +2 -2
  31. data/_sass/bootstrap/mixins/_visually-hidden.scss +1 -1
  32. data/_sass/bootstrap/tests/mixins/_auto-import-of-variables-dark.test.scss +7 -0
  33. data/_sass/bootstrap/tests/mixins/_utilities.test.scss +1 -1
  34. data/assets/js/bootstrap.bundle.js +17 -20
  35. data/assets/js/bootstrap.bundle.js.map +1 -1
  36. data/assets/js/bootstrap.bundle.min.js +3 -3
  37. data/assets/js/bootstrap.bundle.min.js.map +1 -1
  38. data/assets/js/bootstrap.esm.js +17 -18
  39. data/assets/js/bootstrap.esm.js.map +1 -1
  40. data/assets/js/bootstrap.esm.min.js +3 -3
  41. data/assets/js/bootstrap.esm.min.js.map +1 -1
  42. data/assets/js/bootstrap.js +17 -18
  43. data/assets/js/bootstrap.js.map +1 -1
  44. data/assets/js/bootstrap.min.js +3 -3
  45. data/assets/js/bootstrap.min.js.map +1 -1
  46. metadata +6 -5
@@ -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.5 (https://getbootstrap.com/)
3
+ * Copyright 2011-2025 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
  (function (global, factory) {
@@ -224,12 +224,11 @@
224
224
  * @param {HTMLElement} element
225
225
  * @return void
226
226
  *
227
- * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
227
+ * @see https://www.harrytheo.com/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
228
228
  */
229
229
  const reflow = element => {
230
230
  element.offsetHeight; // eslint-disable-line no-unused-expressions
231
231
  };
232
-
233
232
  const getjQuery = () => {
234
233
  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
235
234
  return window.jQuery;
@@ -270,7 +269,7 @@
270
269
  });
271
270
  };
272
271
  const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
273
- return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
272
+ return typeof possibleCallback === 'function' ? possibleCallback.call(...args) : defaultValue;
274
273
  };
275
274
  const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
276
275
  if (!waitForTransition) {
@@ -592,7 +591,7 @@
592
591
  const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));
593
592
  for (const key of bsKeys) {
594
593
  let pureKey = key.replace(/^bs/, '');
595
- pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);
594
+ pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1);
596
595
  attributes[pureKey] = normalizeData(element.dataset[key]);
597
596
  }
598
597
  return attributes;
@@ -667,7 +666,7 @@
667
666
  * Constants
668
667
  */
669
668
 
670
- const VERSION = '5.3.2';
669
+ const VERSION = '5.3.5';
671
670
 
672
671
  /**
673
672
  * Class definition
@@ -748,9 +747,9 @@
748
747
  if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
749
748
  hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
750
749
  }
751
- selector = hrefAttribute && hrefAttribute !== '#' ? parseSelector(hrefAttribute.trim()) : null;
750
+ selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
752
751
  }
753
- return selector;
752
+ return selector ? selector.split(',').map(sel => parseSelector(sel)).join(',') : null;
754
753
  };
755
754
  const SelectorEngine = {
756
755
  find(selector, element = document.documentElement) {
@@ -1882,7 +1881,7 @@
1882
1881
  }
1883
1882
  _createPopper() {
1884
1883
  if (typeof Popper__namespace === 'undefined') {
1885
- throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
1884
+ throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org/docs/v2/)');
1886
1885
  }
1887
1886
  let referenceElement = this._element;
1888
1887
  if (this._config.reference === 'parent') {
@@ -1961,7 +1960,7 @@
1961
1960
  }
1962
1961
  return {
1963
1962
  ...defaultBsPopperConfig,
1964
- ...execute(this._config.popperConfig, [defaultBsPopperConfig])
1963
+ ...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
1965
1964
  };
1966
1965
  }
1967
1966
  _selectMenuItem({
@@ -2096,7 +2095,6 @@
2096
2095
  // if false, we use the backdrop helper without adding any element to the dom
2097
2096
  rootElement: 'body' // give the choice to place backdrop under different elements
2098
2097
  };
2099
-
2100
2098
  const DefaultType$8 = {
2101
2099
  className: 'string',
2102
2100
  clickCallback: '(function|null)',
@@ -2221,7 +2219,6 @@
2221
2219
  autofocus: true,
2222
2220
  trapElement: null // The element to trap focus inside of
2223
2221
  };
2224
-
2225
2222
  const DefaultType$7 = {
2226
2223
  autofocus: 'boolean',
2227
2224
  trapElement: 'element'
@@ -2948,7 +2945,10 @@
2948
2945
  br: [],
2949
2946
  col: [],
2950
2947
  code: [],
2948
+ dd: [],
2951
2949
  div: [],
2950
+ dl: [],
2951
+ dt: [],
2952
2952
  em: [],
2953
2953
  hr: [],
2954
2954
  h1: [],
@@ -3147,7 +3147,7 @@
3147
3147
  return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
3148
3148
  }
3149
3149
  _resolvePossibleFunction(arg) {
3150
- return execute(arg, [this]);
3150
+ return execute(arg, [undefined, this]);
3151
3151
  }
3152
3152
  _putElementInTemplate(element, templateElement) {
3153
3153
  if (this._config.html) {
@@ -3246,7 +3246,7 @@
3246
3246
  class Tooltip extends BaseComponent {
3247
3247
  constructor(element, config) {
3248
3248
  if (typeof Popper__namespace === 'undefined') {
3249
- throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
3249
+ throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org/docs/v2/)');
3250
3250
  }
3251
3251
  super(element, config);
3252
3252
 
@@ -3292,7 +3292,6 @@
3292
3292
  if (!this._isEnabled) {
3293
3293
  return;
3294
3294
  }
3295
- this._activeTrigger.click = !this._activeTrigger.click;
3296
3295
  if (this._isShown()) {
3297
3296
  this._leave();
3298
3297
  return;
@@ -3480,7 +3479,7 @@
3480
3479
  return offset;
3481
3480
  }
3482
3481
  _resolvePossibleFunction(arg) {
3483
- return execute(arg, [this._element]);
3482
+ return execute(arg, [this._element, this._element]);
3484
3483
  }
3485
3484
  _getPopperConfig(attachment) {
3486
3485
  const defaultBsPopperConfig = {
@@ -3518,7 +3517,7 @@
3518
3517
  };
3519
3518
  return {
3520
3519
  ...defaultBsPopperConfig,
3521
- ...execute(this._config.popperConfig, [defaultBsPopperConfig])
3520
+ ...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
3522
3521
  };
3523
3522
  }
3524
3523
  _setListeners() {