paraqeet 2.0.2 → 2.1.0
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/_sass/_bootstrap-icons.scss +30 -2
- data/_sass/_highlight.scss +56 -66
- data/_sass/_prose.scss +15 -3
- data/_sass/bootstrap/_accordion.scss +4 -9
- data/_sass/bootstrap/_button-group.scss +8 -3
- data/_sass/bootstrap/_card.scss +9 -10
- data/_sass/bootstrap/_carousel.scss +15 -25
- 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 -2
- data/_sass/bootstrap/_nav.scss +1 -1
- data/_sass/bootstrap/_navbar.scss +1 -1
- data/_sass/bootstrap/_offcanvas.scss +5 -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/_type.scss +1 -1
- data/_sass/bootstrap/_variables-dark.scss +17 -2
- data/_sass/bootstrap/_variables.scss +16 -14
- data/_sass/bootstrap/forms/_floating-labels.scss +18 -16
- data/_sass/bootstrap/forms/_input-group.scss +1 -1
- data/_sass/bootstrap/mixins/_banner.scss +2 -2
- data/_sass/bootstrap/mixins/_box-shadow.scss +11 -5
- data/_sass/bootstrap/mixins/_grid.scss +1 -1
- data/_sass/bootstrap/mixins/_visually-hidden.scss +6 -1
- data/_sass/bootstrap/tests/mixins/_box-shadow.test.scss +188 -0
- data/assets/bootstrap-icons/anthropic.svg +3 -0
- data/assets/bootstrap-icons/apple-music.svg +3 -0
- data/assets/bootstrap-icons/battery-low.svg +4 -0
- data/assets/bootstrap-icons/beaker-fill.svg +3 -0
- data/assets/bootstrap-icons/beaker.svg +4 -0
- data/assets/bootstrap-icons/bluesky.svg +3 -0
- data/assets/bootstrap-icons/{font/bootstrap-icons.css → bootstrap-icons.css} +31 -3
- data/assets/bootstrap-icons/{font/bootstrap-icons.json → bootstrap-icons.json} +29 -1
- data/assets/bootstrap-icons/{font/bootstrap-icons.min.css → bootstrap-icons.min.css} +2 -2
- data/assets/bootstrap-icons/bootstrap-icons.svg +1 -1
- data/assets/bootstrap-icons/calendar3-event-fill.svg +1 -1
- data/assets/bootstrap-icons/calendar3-range-fill.svg +1 -1
- data/assets/bootstrap-icons/calendar3-week-fill.svg +1 -1
- data/assets/bootstrap-icons/claude.svg +3 -0
- data/assets/bootstrap-icons/css.svg +3 -0
- data/assets/bootstrap-icons/flask-fill.svg +3 -0
- data/assets/bootstrap-icons/flask-florence-fill.svg +3 -0
- data/assets/bootstrap-icons/flask-florence.svg +3 -0
- data/assets/bootstrap-icons/flask.svg +3 -0
- data/assets/bootstrap-icons/fonts/bootstrap-icons.woff +0 -0
- data/assets/bootstrap-icons/fonts/bootstrap-icons.woff2 +0 -0
- data/assets/bootstrap-icons/fork-knife.svg +3 -0
- data/assets/bootstrap-icons/globe-americas-fill.svg +3 -0
- data/assets/bootstrap-icons/globe-asia-australia-fill.svg +3 -0
- data/assets/bootstrap-icons/globe-central-south-asia-fill.svg +3 -0
- data/assets/bootstrap-icons/globe-europe-africa-fill.svg +3 -0
- data/assets/bootstrap-icons/javascript.svg +3 -0
- data/assets/bootstrap-icons/leaf-fill.svg +3 -0
- data/assets/bootstrap-icons/leaf.svg +3 -0
- data/assets/bootstrap-icons/lock-fill.svg +1 -1
- data/assets/bootstrap-icons/lock.svg +1 -1
- data/assets/bootstrap-icons/measuring-cup-fill.svg +3 -0
- data/assets/bootstrap-icons/measuring-cup.svg +3 -0
- data/assets/bootstrap-icons/meta.svg +1 -1
- data/assets/bootstrap-icons/openai.svg +3 -0
- data/assets/bootstrap-icons/perplexity.svg +3 -0
- data/assets/bootstrap-icons/tux.svg +4 -0
- data/assets/bootstrap-icons/typescript.svg +3 -0
- data/assets/bootstrap-icons/unlock-fill.svg +1 -1
- data/assets/bootstrap-icons/unlock.svg +1 -1
- data/assets/bootstrap-icons/unlock2-fill.svg +3 -0
- data/assets/bootstrap-icons/unlock2.svg +3 -0
- data/assets/js/bootstrap.bundle.js +20 -19
- 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 +20 -17
- 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 +20 -17
- 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 +37 -12
- data/assets/bootstrap-icons/font/bootstrap-icons.scss +0 -2090
- data/assets/bootstrap-icons/font/fonts/bootstrap-icons.woff +0 -0
- data/assets/bootstrap-icons/font/fonts/bootstrap-icons.woff2 +0 -0
data/assets/js/bootstrap.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap v5.3.
|
3
|
-
* Copyright 2011-
|
2
|
+
* Bootstrap v5.3.7 (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,7 +224,7 @@
|
|
224
224
|
* @param {HTMLElement} element
|
225
225
|
* @return void
|
226
226
|
*
|
227
|
-
* @see https://www.
|
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
|
@@ -269,7 +269,7 @@
|
|
269
269
|
});
|
270
270
|
};
|
271
271
|
const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
|
272
|
-
return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
|
272
|
+
return typeof possibleCallback === 'function' ? possibleCallback.call(...args) : defaultValue;
|
273
273
|
};
|
274
274
|
const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
|
275
275
|
if (!waitForTransition) {
|
@@ -591,7 +591,7 @@
|
|
591
591
|
const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));
|
592
592
|
for (const key of bsKeys) {
|
593
593
|
let pureKey = key.replace(/^bs/, '');
|
594
|
-
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1
|
594
|
+
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1);
|
595
595
|
attributes[pureKey] = normalizeData(element.dataset[key]);
|
596
596
|
}
|
597
597
|
return attributes;
|
@@ -666,7 +666,7 @@
|
|
666
666
|
* Constants
|
667
667
|
*/
|
668
668
|
|
669
|
-
const VERSION = '5.3.
|
669
|
+
const VERSION = '5.3.7';
|
670
670
|
|
671
671
|
/**
|
672
672
|
* Class definition
|
@@ -692,6 +692,8 @@
|
|
692
692
|
this[propertyName] = null;
|
693
693
|
}
|
694
694
|
}
|
695
|
+
|
696
|
+
// Private
|
695
697
|
_queueCallback(callback, element, isAnimated = true) {
|
696
698
|
executeAfterTransition(callback, element, isAnimated);
|
697
699
|
}
|
@@ -1623,11 +1625,11 @@
|
|
1623
1625
|
this._element.style[dimension] = '';
|
1624
1626
|
this._queueCallback(complete, this._element, true);
|
1625
1627
|
}
|
1628
|
+
|
1629
|
+
// Private
|
1626
1630
|
_isShown(element = this._element) {
|
1627
1631
|
return element.classList.contains(CLASS_NAME_SHOW$7);
|
1628
1632
|
}
|
1629
|
-
|
1630
|
-
// Private
|
1631
1633
|
_configAfterMerge(config) {
|
1632
1634
|
config.toggle = Boolean(config.toggle); // Coerce string values
|
1633
1635
|
config.parent = getElement(config.parent);
|
@@ -1870,6 +1872,9 @@
|
|
1870
1872
|
this._element.setAttribute('aria-expanded', 'false');
|
1871
1873
|
Manipulator.removeDataAttribute(this._menu, 'popper');
|
1872
1874
|
EventHandler.trigger(this._element, EVENT_HIDDEN$5, relatedTarget);
|
1875
|
+
|
1876
|
+
// Explicitly return focus to the trigger element
|
1877
|
+
this._element.focus();
|
1873
1878
|
}
|
1874
1879
|
_getConfig(config) {
|
1875
1880
|
config = super._getConfig(config);
|
@@ -1881,7 +1886,7 @@
|
|
1881
1886
|
}
|
1882
1887
|
_createPopper() {
|
1883
1888
|
if (typeof Popper__namespace === 'undefined') {
|
1884
|
-
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
|
1889
|
+
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org/docs/v2/)');
|
1885
1890
|
}
|
1886
1891
|
let referenceElement = this._element;
|
1887
1892
|
if (this._config.reference === 'parent') {
|
@@ -1960,7 +1965,7 @@
|
|
1960
1965
|
}
|
1961
1966
|
return {
|
1962
1967
|
...defaultBsPopperConfig,
|
1963
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
1968
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
1964
1969
|
};
|
1965
1970
|
}
|
1966
1971
|
_selectMenuItem({
|
@@ -2982,7 +2987,6 @@
|
|
2982
2987
|
*
|
2983
2988
|
* Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38
|
2984
2989
|
*/
|
2985
|
-
// eslint-disable-next-line unicorn/better-regex
|
2986
2990
|
const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;
|
2987
2991
|
const allowedAttribute = (attribute, allowedAttributeList) => {
|
2988
2992
|
const attributeName = attribute.nodeName.toLowerCase();
|
@@ -3147,7 +3151,7 @@
|
|
3147
3151
|
return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
|
3148
3152
|
}
|
3149
3153
|
_resolvePossibleFunction(arg) {
|
3150
|
-
return execute(arg, [this]);
|
3154
|
+
return execute(arg, [undefined, this]);
|
3151
3155
|
}
|
3152
3156
|
_putElementInTemplate(element, templateElement) {
|
3153
3157
|
if (this._config.html) {
|
@@ -3246,7 +3250,7 @@
|
|
3246
3250
|
class Tooltip extends BaseComponent {
|
3247
3251
|
constructor(element, config) {
|
3248
3252
|
if (typeof Popper__namespace === 'undefined') {
|
3249
|
-
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
|
3253
|
+
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org/docs/v2/)');
|
3250
3254
|
}
|
3251
3255
|
super(element, config);
|
3252
3256
|
|
@@ -3292,7 +3296,6 @@
|
|
3292
3296
|
if (!this._isEnabled) {
|
3293
3297
|
return;
|
3294
3298
|
}
|
3295
|
-
this._activeTrigger.click = !this._activeTrigger.click;
|
3296
3299
|
if (this._isShown()) {
|
3297
3300
|
this._leave();
|
3298
3301
|
return;
|
@@ -3480,7 +3483,7 @@
|
|
3480
3483
|
return offset;
|
3481
3484
|
}
|
3482
3485
|
_resolvePossibleFunction(arg) {
|
3483
|
-
return execute(arg, [this._element]);
|
3486
|
+
return execute(arg, [this._element, this._element]);
|
3484
3487
|
}
|
3485
3488
|
_getPopperConfig(attachment) {
|
3486
3489
|
const defaultBsPopperConfig = {
|
@@ -3518,7 +3521,7 @@
|
|
3518
3521
|
};
|
3519
3522
|
return {
|
3520
3523
|
...defaultBsPopperConfig,
|
3521
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
3524
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
3522
3525
|
};
|
3523
3526
|
}
|
3524
3527
|
_setListeners() {
|
@@ -3527,6 +3530,7 @@
|
|
3527
3530
|
if (trigger === 'click') {
|
3528
3531
|
EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {
|
3529
3532
|
const context = this._initializeOnDelegatedTarget(event);
|
3533
|
+
context._activeTrigger[TRIGGER_CLICK] = !(context._isShown() && context._activeTrigger[TRIGGER_CLICK]);
|
3530
3534
|
context.toggle();
|
3531
3535
|
});
|
3532
3536
|
} else if (trigger !== TRIGGER_MANUAL) {
|
@@ -4392,7 +4396,6 @@
|
|
4392
4396
|
}
|
4393
4397
|
|
4394
4398
|
// Private
|
4395
|
-
|
4396
4399
|
_maybeScheduleHide() {
|
4397
4400
|
if (!this._config.autohide) {
|
4398
4401
|
return;
|