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.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/_includes/icon.html +10 -19
- data/_sass/_highlight.scss +85 -64
- data/_sass/bootstrap/_accordion.scss +10 -15
- data/_sass/bootstrap/_button-group.scss +8 -3
- data/_sass/bootstrap/_buttons.scss +9 -0
- data/_sass/bootstrap/_card.scss +1 -2
- data/_sass/bootstrap/_carousel.scss +17 -35
- data/_sass/bootstrap/_close.scss +9 -6
- data/_sass/bootstrap/_functions.scss +1 -1
- data/_sass/bootstrap/_list-group.scss +27 -25
- data/_sass/bootstrap/_modal.scss +6 -3
- data/_sass/bootstrap/_nav.scss +1 -1
- data/_sass/bootstrap/_navbar.scss +1 -1
- data/_sass/bootstrap/_offcanvas.scss +2 -1
- data/_sass/bootstrap/_pagination.scss +1 -1
- data/_sass/bootstrap/_progress.scss +1 -1
- data/_sass/bootstrap/_reboot.scss +1 -1
- data/_sass/bootstrap/_tables.scss +1 -1
- data/_sass/bootstrap/_type.scss +1 -1
- data/_sass/bootstrap/_variables-dark.scss +17 -2
- data/_sass/bootstrap/_variables.scss +21 -15
- data/_sass/bootstrap/forms/_floating-labels.scss +18 -16
- data/_sass/bootstrap/forms/_form-check.scss +1 -1
- data/_sass/bootstrap/forms/_input-group.scss +1 -1
- data/_sass/bootstrap/mixins/_banner.scss +2 -2
- data/_sass/bootstrap/mixins/_forms.scss +12 -2
- data/_sass/bootstrap/mixins/_grid.scss +2 -2
- data/_sass/bootstrap/mixins/_visually-hidden.scss +1 -1
- data/_sass/bootstrap/tests/mixins/_auto-import-of-variables-dark.test.scss +7 -0
- data/_sass/bootstrap/tests/mixins/_utilities.test.scss +1 -1
- data/assets/js/bootstrap.bundle.js +17 -20
- data/assets/js/bootstrap.bundle.js.map +1 -1
- data/assets/js/bootstrap.bundle.min.js +3 -3
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/bootstrap.esm.js +17 -18
- data/assets/js/bootstrap.esm.js.map +1 -1
- data/assets/js/bootstrap.esm.min.js +3 -3
- data/assets/js/bootstrap.esm.min.js.map +1 -1
- data/assets/js/bootstrap.js +17 -18
- data/assets/js/bootstrap.js.map +1 -1
- data/assets/js/bootstrap.min.js +3 -3
- data/assets/js/bootstrap.min.js.map +1 -1
- metadata +6 -5
data/assets/js/bootstrap.esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v5.3.
|
3
|
-
* Copyright 2011-
|
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
|
import * as Popper from '@popperjs/core';
|
@@ -201,12 +201,11 @@ const noop = () => {};
|
|
201
201
|
* @param {HTMLElement} element
|
202
202
|
* @return void
|
203
203
|
*
|
204
|
-
* @see https://www.
|
204
|
+
* @see https://www.harrytheo.com/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
|
205
205
|
*/
|
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;
|
@@ -247,7 +246,7 @@ const defineJQueryPlugin = plugin => {
|
|
247
246
|
});
|
248
247
|
};
|
249
248
|
const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
|
250
|
-
return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
|
249
|
+
return typeof possibleCallback === 'function' ? possibleCallback.call(...args) : defaultValue;
|
251
250
|
};
|
252
251
|
const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
|
253
252
|
if (!waitForTransition) {
|
@@ -569,7 +568,7 @@ const Manipulator = {
|
|
569
568
|
const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));
|
570
569
|
for (const key of bsKeys) {
|
571
570
|
let pureKey = key.replace(/^bs/, '');
|
572
|
-
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1
|
571
|
+
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1);
|
573
572
|
attributes[pureKey] = normalizeData(element.dataset[key]);
|
574
573
|
}
|
575
574
|
return attributes;
|
@@ -644,7 +643,7 @@ class Config {
|
|
644
643
|
* Constants
|
645
644
|
*/
|
646
645
|
|
647
|
-
const VERSION = '5.3.
|
646
|
+
const VERSION = '5.3.5';
|
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 !== '#' ?
|
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) {
|
@@ -1859,7 +1858,7 @@ class Dropdown extends BaseComponent {
|
|
1859
1858
|
}
|
1860
1859
|
_createPopper() {
|
1861
1860
|
if (typeof Popper === 'undefined') {
|
1862
|
-
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
|
1861
|
+
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org/docs/v2/)');
|
1863
1862
|
}
|
1864
1863
|
let referenceElement = this._element;
|
1865
1864
|
if (this._config.reference === 'parent') {
|
@@ -1938,7 +1937,7 @@ class Dropdown extends BaseComponent {
|
|
1938
1937
|
}
|
1939
1938
|
return {
|
1940
1939
|
...defaultBsPopperConfig,
|
1941
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
1940
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
1942
1941
|
};
|
1943
1942
|
}
|
1944
1943
|
_selectMenuItem({
|
@@ -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: [],
|
@@ -3124,7 +3124,7 @@ class TemplateFactory extends Config {
|
|
3124
3124
|
return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
|
3125
3125
|
}
|
3126
3126
|
_resolvePossibleFunction(arg) {
|
3127
|
-
return execute(arg, [this]);
|
3127
|
+
return execute(arg, [undefined, this]);
|
3128
3128
|
}
|
3129
3129
|
_putElementInTemplate(element, templateElement) {
|
3130
3130
|
if (this._config.html) {
|
@@ -3223,7 +3223,7 @@ const DefaultType$3 = {
|
|
3223
3223
|
class Tooltip extends BaseComponent {
|
3224
3224
|
constructor(element, config) {
|
3225
3225
|
if (typeof Popper === 'undefined') {
|
3226
|
-
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
|
3226
|
+
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org/docs/v2/)');
|
3227
3227
|
}
|
3228
3228
|
super(element, config);
|
3229
3229
|
|
@@ -3269,7 +3269,6 @@ class Tooltip extends BaseComponent {
|
|
3269
3269
|
if (!this._isEnabled) {
|
3270
3270
|
return;
|
3271
3271
|
}
|
3272
|
-
this._activeTrigger.click = !this._activeTrigger.click;
|
3273
3272
|
if (this._isShown()) {
|
3274
3273
|
this._leave();
|
3275
3274
|
return;
|
@@ -3457,7 +3456,7 @@ class Tooltip extends BaseComponent {
|
|
3457
3456
|
return offset;
|
3458
3457
|
}
|
3459
3458
|
_resolvePossibleFunction(arg) {
|
3460
|
-
return execute(arg, [this._element]);
|
3459
|
+
return execute(arg, [this._element, this._element]);
|
3461
3460
|
}
|
3462
3461
|
_getPopperConfig(attachment) {
|
3463
3462
|
const defaultBsPopperConfig = {
|
@@ -3495,7 +3494,7 @@ class Tooltip extends BaseComponent {
|
|
3495
3494
|
};
|
3496
3495
|
return {
|
3497
3496
|
...defaultBsPopperConfig,
|
3498
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
3497
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
3499
3498
|
};
|
3500
3499
|
}
|
3501
3500
|
_setListeners() {
|