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.esm.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
|
import * as Popper from '@popperjs/core';
|
@@ -201,7 +201,7 @@ 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
|
@@ -246,7 +246,7 @@ const defineJQueryPlugin = plugin => {
|
|
246
246
|
});
|
247
247
|
};
|
248
248
|
const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
|
249
|
-
return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
|
249
|
+
return typeof possibleCallback === 'function' ? possibleCallback.call(...args) : defaultValue;
|
250
250
|
};
|
251
251
|
const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
|
252
252
|
if (!waitForTransition) {
|
@@ -568,7 +568,7 @@ const Manipulator = {
|
|
568
568
|
const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));
|
569
569
|
for (const key of bsKeys) {
|
570
570
|
let pureKey = key.replace(/^bs/, '');
|
571
|
-
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1
|
571
|
+
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1);
|
572
572
|
attributes[pureKey] = normalizeData(element.dataset[key]);
|
573
573
|
}
|
574
574
|
return attributes;
|
@@ -643,7 +643,7 @@ class Config {
|
|
643
643
|
* Constants
|
644
644
|
*/
|
645
645
|
|
646
|
-
const VERSION = '5.3.
|
646
|
+
const VERSION = '5.3.7';
|
647
647
|
|
648
648
|
/**
|
649
649
|
* Class definition
|
@@ -669,6 +669,8 @@ class BaseComponent extends Config {
|
|
669
669
|
this[propertyName] = null;
|
670
670
|
}
|
671
671
|
}
|
672
|
+
|
673
|
+
// Private
|
672
674
|
_queueCallback(callback, element, isAnimated = true) {
|
673
675
|
executeAfterTransition(callback, element, isAnimated);
|
674
676
|
}
|
@@ -1600,11 +1602,11 @@ class Collapse extends BaseComponent {
|
|
1600
1602
|
this._element.style[dimension] = '';
|
1601
1603
|
this._queueCallback(complete, this._element, true);
|
1602
1604
|
}
|
1605
|
+
|
1606
|
+
// Private
|
1603
1607
|
_isShown(element = this._element) {
|
1604
1608
|
return element.classList.contains(CLASS_NAME_SHOW$7);
|
1605
1609
|
}
|
1606
|
-
|
1607
|
-
// Private
|
1608
1610
|
_configAfterMerge(config) {
|
1609
1611
|
config.toggle = Boolean(config.toggle); // Coerce string values
|
1610
1612
|
config.parent = getElement(config.parent);
|
@@ -1847,6 +1849,9 @@ class Dropdown extends BaseComponent {
|
|
1847
1849
|
this._element.setAttribute('aria-expanded', 'false');
|
1848
1850
|
Manipulator.removeDataAttribute(this._menu, 'popper');
|
1849
1851
|
EventHandler.trigger(this._element, EVENT_HIDDEN$5, relatedTarget);
|
1852
|
+
|
1853
|
+
// Explicitly return focus to the trigger element
|
1854
|
+
this._element.focus();
|
1850
1855
|
}
|
1851
1856
|
_getConfig(config) {
|
1852
1857
|
config = super._getConfig(config);
|
@@ -1858,7 +1863,7 @@ class Dropdown extends BaseComponent {
|
|
1858
1863
|
}
|
1859
1864
|
_createPopper() {
|
1860
1865
|
if (typeof Popper === 'undefined') {
|
1861
|
-
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
|
1866
|
+
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org/docs/v2/)');
|
1862
1867
|
}
|
1863
1868
|
let referenceElement = this._element;
|
1864
1869
|
if (this._config.reference === 'parent') {
|
@@ -1937,7 +1942,7 @@ class Dropdown extends BaseComponent {
|
|
1937
1942
|
}
|
1938
1943
|
return {
|
1939
1944
|
...defaultBsPopperConfig,
|
1940
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
1945
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
1941
1946
|
};
|
1942
1947
|
}
|
1943
1948
|
_selectMenuItem({
|
@@ -2959,7 +2964,6 @@ const uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longde
|
|
2959
2964
|
*
|
2960
2965
|
* Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38
|
2961
2966
|
*/
|
2962
|
-
// eslint-disable-next-line unicorn/better-regex
|
2963
2967
|
const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;
|
2964
2968
|
const allowedAttribute = (attribute, allowedAttributeList) => {
|
2965
2969
|
const attributeName = attribute.nodeName.toLowerCase();
|
@@ -3124,7 +3128,7 @@ class TemplateFactory extends Config {
|
|
3124
3128
|
return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
|
3125
3129
|
}
|
3126
3130
|
_resolvePossibleFunction(arg) {
|
3127
|
-
return execute(arg, [this]);
|
3131
|
+
return execute(arg, [undefined, this]);
|
3128
3132
|
}
|
3129
3133
|
_putElementInTemplate(element, templateElement) {
|
3130
3134
|
if (this._config.html) {
|
@@ -3223,7 +3227,7 @@ const DefaultType$3 = {
|
|
3223
3227
|
class Tooltip extends BaseComponent {
|
3224
3228
|
constructor(element, config) {
|
3225
3229
|
if (typeof Popper === 'undefined') {
|
3226
|
-
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
|
3230
|
+
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org/docs/v2/)');
|
3227
3231
|
}
|
3228
3232
|
super(element, config);
|
3229
3233
|
|
@@ -3269,7 +3273,6 @@ class Tooltip extends BaseComponent {
|
|
3269
3273
|
if (!this._isEnabled) {
|
3270
3274
|
return;
|
3271
3275
|
}
|
3272
|
-
this._activeTrigger.click = !this._activeTrigger.click;
|
3273
3276
|
if (this._isShown()) {
|
3274
3277
|
this._leave();
|
3275
3278
|
return;
|
@@ -3457,7 +3460,7 @@ class Tooltip extends BaseComponent {
|
|
3457
3460
|
return offset;
|
3458
3461
|
}
|
3459
3462
|
_resolvePossibleFunction(arg) {
|
3460
|
-
return execute(arg, [this._element]);
|
3463
|
+
return execute(arg, [this._element, this._element]);
|
3461
3464
|
}
|
3462
3465
|
_getPopperConfig(attachment) {
|
3463
3466
|
const defaultBsPopperConfig = {
|
@@ -3495,7 +3498,7 @@ class Tooltip extends BaseComponent {
|
|
3495
3498
|
};
|
3496
3499
|
return {
|
3497
3500
|
...defaultBsPopperConfig,
|
3498
|
-
...execute(this._config.popperConfig, [defaultBsPopperConfig])
|
3501
|
+
...execute(this._config.popperConfig, [undefined, defaultBsPopperConfig])
|
3499
3502
|
};
|
3500
3503
|
}
|
3501
3504
|
_setListeners() {
|
@@ -3504,6 +3507,7 @@ class Tooltip extends BaseComponent {
|
|
3504
3507
|
if (trigger === 'click') {
|
3505
3508
|
EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {
|
3506
3509
|
const context = this._initializeOnDelegatedTarget(event);
|
3510
|
+
context._activeTrigger[TRIGGER_CLICK] = !(context._isShown() && context._activeTrigger[TRIGGER_CLICK]);
|
3507
3511
|
context.toggle();
|
3508
3512
|
});
|
3509
3513
|
} else if (trigger !== TRIGGER_MANUAL) {
|
@@ -4369,7 +4373,6 @@ class Toast extends BaseComponent {
|
|
4369
4373
|
}
|
4370
4374
|
|
4371
4375
|
// Private
|
4372
|
-
|
4373
4376
|
_maybeScheduleHide() {
|
4374
4377
|
if (!this._config.autohide) {
|
4375
4378
|
return;
|