@unlk/keymaster 1.0.11 → 1.0.13
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.
- package/CHANGELOG.md +11 -4
- package/dist/css/keymaster.css +24315 -26427
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +69 -29
- package/dist/css/keymaster.min.css.map +1 -1
- package/dist/js/keymaster.js +35 -31
- package/dist/js/keymaster.js.map +1 -1
- package/dist/js/keymaster.min.js +25 -25
- package/dist/js/keymaster.min.js.map +1 -1
- package/fonts/fa-brands-400.woff2 +0 -0
- package/fonts/fa-duotone-900.woff2 +0 -0
- package/fonts/fa-duotone-light-300.woff2 +0 -0
- package/fonts/fa-duotone-regular-400.woff2 +0 -0
- package/fonts/fa-duotone-thin-100.woff2 +0 -0
- package/fonts/fa-light-300.woff2 +0 -0
- package/fonts/fa-regular-400.woff2 +0 -0
- package/fonts/fa-sharp-duotone-light-300.woff2 +0 -0
- package/fonts/fa-sharp-duotone-regular-400.woff2 +0 -0
- package/fonts/fa-sharp-duotone-solid-900.woff2 +0 -0
- package/fonts/fa-sharp-duotone-thin-100.woff2 +0 -0
- package/fonts/fa-sharp-light-300.woff2 +0 -0
- package/fonts/fa-sharp-regular-400.woff2 +0 -0
- package/fonts/fa-sharp-solid-900.woff2 +0 -0
- package/fonts/fa-sharp-thin-100.woff2 +0 -0
- package/fonts/fa-solid-900.woff2 +0 -0
- package/fonts/fa-thin-100.woff2 +0 -0
- package/fonts/fa-v4compatibility.woff2 +0 -0
- package/package.json +2 -2
- package/scss/_fontawesome.scss +21 -0
- package/scss/assets/bootstrap5/_card.scss +8 -8
- package/scss/assets/bootstrap5/mixins/_banner.scss +1 -1
- package/scss/assets/bootstrap5/mixins/_box-shadow.scss +11 -5
- package/scss/assets/bootstrap5/mixins/_visually-hidden.scss +5 -0
- package/scss/assets/fontawesome/_animated.scss +86 -88
- package/scss/assets/fontawesome/_bordered.scss +24 -0
- package/scss/assets/fontawesome/_core.scss +119 -130
- package/scss/assets/fontawesome/_fa.scss +3 -0
- package/scss/assets/fontawesome/_functions.scss +3 -52
- package/scss/assets/fontawesome/_icons.scss +7 -5
- package/scss/assets/fontawesome/_list.scss +7 -6
- package/scss/assets/fontawesome/_mixins.scss +14 -75
- package/scss/assets/fontawesome/_pulled.scss +15 -0
- package/scss/assets/fontawesome/_rotated-flipped.scss +10 -9
- package/scss/assets/fontawesome/_shims.scss +1557 -942
- package/scss/assets/fontawesome/_sizing.scss +6 -4
- package/scss/assets/fontawesome/_stacked.scss +11 -10
- package/scss/assets/fontawesome/_variables.scss +10495 -9713
- package/scss/assets/fontawesome/_widths.scss +12 -0
- package/scss/assets/fontawesome/brands.scss +29 -14
- package/scss/assets/fontawesome/duotone-light.scss +66 -39
- package/scss/assets/fontawesome/duotone-regular.scss +66 -39
- package/scss/assets/fontawesome/duotone-thin.scss +66 -39
- package/scss/assets/fontawesome/duotone.scss +56 -34
- package/scss/assets/fontawesome/fontawesome.scss +12 -15
- package/scss/assets/fontawesome/light.scss +37 -13
- package/scss/assets/fontawesome/regular.scss +37 -13
- package/scss/assets/fontawesome/sharp-duotone-light.scss +66 -39
- package/scss/assets/fontawesome/sharp-duotone-regular.scss +66 -39
- package/scss/assets/fontawesome/sharp-duotone-solid.scss +66 -47
- package/scss/assets/fontawesome/sharp-duotone-thin.scss +66 -39
- package/scss/assets/fontawesome/sharp-light.scss +37 -13
- package/scss/assets/fontawesome/sharp-regular.scss +37 -13
- package/scss/assets/fontawesome/sharp-solid.scss +37 -13
- package/scss/assets/fontawesome/sharp-thin.scss +37 -13
- package/scss/assets/fontawesome/solid.scss +37 -13
- package/scss/assets/fontawesome/thin.scss +37 -13
- package/scss/assets/fontawesome/v4-shims.scss +5 -5
- package/scss/keymaster.scss +1 -8
- package/scss/theme/_typography.scss +5 -5
- package/scss/theme/_variables-overrides.scss +1 -3
package/dist/js/keymaster.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Unlock Keymaster [object Object] v1.0.
|
2
|
+
* Unlock Keymaster [object Object] v1.0.13 (https://unlock-com.github.io/keymaster)
|
3
3
|
* Copyright 2022-2025 Unlk Developers
|
4
4
|
*/
|
5
5
|
(function (global, factory) {
|
@@ -17,7 +17,11 @@
|
|
17
17
|
var f = n.default;
|
18
18
|
if (typeof f == "function") {
|
19
19
|
var a = function a () {
|
20
|
-
|
20
|
+
var isInstance = false;
|
21
|
+
try {
|
22
|
+
isInstance = this instanceof a;
|
23
|
+
} catch {}
|
24
|
+
if (isInstance) {
|
21
25
|
return Reflect.construct(f, arguments, this.constructor);
|
22
26
|
}
|
23
27
|
return f.apply(this, arguments);
|
@@ -44,7 +48,7 @@
|
|
44
48
|
var data$1 = {exports: {}};
|
45
49
|
|
46
50
|
/*!
|
47
|
-
* Bootstrap data.js v5.3.
|
51
|
+
* Bootstrap data.js v5.3.7 (https://getbootstrap.com/)
|
48
52
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
49
53
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
50
54
|
*/
|
@@ -117,7 +121,7 @@
|
|
117
121
|
var util$1 = {exports: {}};
|
118
122
|
|
119
123
|
/*!
|
120
|
-
* Bootstrap index.js v5.3.
|
124
|
+
* Bootstrap index.js v5.3.7 (https://getbootstrap.com/)
|
121
125
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
122
126
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
123
127
|
*/
|
@@ -405,7 +409,7 @@
|
|
405
409
|
}
|
406
410
|
|
407
411
|
/*!
|
408
|
-
* Bootstrap event-handler.js v5.3.
|
412
|
+
* Bootstrap event-handler.js v5.3.7 (https://getbootstrap.com/)
|
409
413
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
410
414
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
411
415
|
*/
|
@@ -651,7 +655,7 @@
|
|
651
655
|
var manipulator$1 = {exports: {}};
|
652
656
|
|
653
657
|
/*!
|
654
|
-
* Bootstrap manipulator.js v5.3.
|
658
|
+
* Bootstrap manipulator.js v5.3.7 (https://getbootstrap.com/)
|
655
659
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
656
660
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
657
661
|
*/
|
@@ -729,7 +733,7 @@
|
|
729
733
|
}
|
730
734
|
|
731
735
|
/*!
|
732
|
-
* Bootstrap config.js v5.3.
|
736
|
+
* Bootstrap config.js v5.3.7 (https://getbootstrap.com/)
|
733
737
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
734
738
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
735
739
|
*/
|
@@ -802,7 +806,7 @@
|
|
802
806
|
}
|
803
807
|
|
804
808
|
/*!
|
805
|
-
* Bootstrap base-component.js v5.3.
|
809
|
+
* Bootstrap base-component.js v5.3.7 (https://getbootstrap.com/)
|
806
810
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
807
811
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
808
812
|
*/
|
@@ -828,7 +832,7 @@
|
|
828
832
|
/**
|
829
833
|
* Constants
|
830
834
|
*/
|
831
|
-
const VERSION = '5.3.
|
835
|
+
const VERSION = '5.3.7';
|
832
836
|
|
833
837
|
/**
|
834
838
|
* Class definition
|
@@ -897,7 +901,7 @@
|
|
897
901
|
var selectorEngine$1 = {exports: {}};
|
898
902
|
|
899
903
|
/*!
|
900
|
-
* Bootstrap selector-engine.js v5.3.
|
904
|
+
* Bootstrap selector-engine.js v5.3.7 (https://getbootstrap.com/)
|
901
905
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
902
906
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
903
907
|
*/
|
@@ -1007,7 +1011,7 @@
|
|
1007
1011
|
}
|
1008
1012
|
|
1009
1013
|
/*!
|
1010
|
-
* Bootstrap component-functions.js v5.3.
|
1014
|
+
* Bootstrap component-functions.js v5.3.7 (https://getbootstrap.com/)
|
1011
1015
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
1012
1016
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
1013
1017
|
*/
|
@@ -1056,7 +1060,7 @@
|
|
1056
1060
|
}
|
1057
1061
|
|
1058
1062
|
/*!
|
1059
|
-
* Bootstrap alert.js v5.3.
|
1063
|
+
* Bootstrap alert.js v5.3.7 (https://getbootstrap.com/)
|
1060
1064
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
1061
1065
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
1062
1066
|
*/
|
@@ -1158,7 +1162,7 @@
|
|
1158
1162
|
var swipe$1 = {exports: {}};
|
1159
1163
|
|
1160
1164
|
/*!
|
1161
|
-
* Bootstrap swipe.js v5.3.
|
1165
|
+
* Bootstrap swipe.js v5.3.7 (https://getbootstrap.com/)
|
1162
1166
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
1163
1167
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
1164
1168
|
*/
|
@@ -1298,7 +1302,7 @@
|
|
1298
1302
|
}
|
1299
1303
|
|
1300
1304
|
/*!
|
1301
|
-
* Bootstrap carousel.js v5.3.
|
1305
|
+
* Bootstrap carousel.js v5.3.7 (https://getbootstrap.com/)
|
1302
1306
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
1303
1307
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
1304
1308
|
*/
|
@@ -1696,7 +1700,7 @@
|
|
1696
1700
|
var button$2 = {exports: {}};
|
1697
1701
|
|
1698
1702
|
/*!
|
1699
|
-
* Bootstrap button.js v5.3.
|
1703
|
+
* Bootstrap button.js v5.3.7 (https://getbootstrap.com/)
|
1700
1704
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
1701
1705
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
1702
1706
|
*/
|
@@ -3450,7 +3454,7 @@
|
|
3450
3454
|
var require$$0 = /*@__PURE__*/getAugmentedNamespace(lib);
|
3451
3455
|
|
3452
3456
|
/*!
|
3453
|
-
* Bootstrap dropdown.js v5.3.
|
3457
|
+
* Bootstrap dropdown.js v5.3.7 (https://getbootstrap.com/)
|
3454
3458
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
3455
3459
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
3456
3460
|
*/
|
@@ -3869,7 +3873,7 @@
|
|
3869
3873
|
var collapse$2 = {exports: {}};
|
3870
3874
|
|
3871
3875
|
/*!
|
3872
|
-
* Bootstrap collapse.js v5.3.
|
3876
|
+
* Bootstrap collapse.js v5.3.7 (https://getbootstrap.com/)
|
3873
3877
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
3874
3878
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
3875
3879
|
*/
|
@@ -4130,7 +4134,7 @@
|
|
4130
4134
|
var backdrop$1 = {exports: {}};
|
4131
4135
|
|
4132
4136
|
/*!
|
4133
|
-
* Bootstrap backdrop.js v5.3.
|
4137
|
+
* Bootstrap backdrop.js v5.3.7 (https://getbootstrap.com/)
|
4134
4138
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4135
4139
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
4136
4140
|
*/
|
@@ -4276,7 +4280,7 @@
|
|
4276
4280
|
var focustrap$1 = {exports: {}};
|
4277
4281
|
|
4278
4282
|
/*!
|
4279
|
-
* Bootstrap focustrap.js v5.3.
|
4283
|
+
* Bootstrap focustrap.js v5.3.7 (https://getbootstrap.com/)
|
4280
4284
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4281
4285
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
4282
4286
|
*/
|
@@ -4396,7 +4400,7 @@
|
|
4396
4400
|
var scrollbar$1 = {exports: {}};
|
4397
4401
|
|
4398
4402
|
/*!
|
4399
|
-
* Bootstrap scrollbar.js v5.3.
|
4403
|
+
* Bootstrap scrollbar.js v5.3.7 (https://getbootstrap.com/)
|
4400
4404
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4401
4405
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
4402
4406
|
*/
|
@@ -4514,7 +4518,7 @@
|
|
4514
4518
|
}
|
4515
4519
|
|
4516
4520
|
/*!
|
4517
|
-
* Bootstrap offcanvas.js v5.3.
|
4521
|
+
* Bootstrap offcanvas.js v5.3.7 (https://getbootstrap.com/)
|
4518
4522
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4519
4523
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
4520
4524
|
*/
|
@@ -4770,7 +4774,7 @@
|
|
4770
4774
|
var modal$2 = {exports: {}};
|
4771
4775
|
|
4772
4776
|
/*!
|
4773
|
-
* Bootstrap modal.js v5.3.
|
4777
|
+
* Bootstrap modal.js v5.3.7 (https://getbootstrap.com/)
|
4774
4778
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4775
4779
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
4776
4780
|
*/
|
@@ -5100,7 +5104,7 @@
|
|
5100
5104
|
var scrollspy$2 = {exports: {}};
|
5101
5105
|
|
5102
5106
|
/*!
|
5103
|
-
* Bootstrap scrollspy.js v5.3.
|
5107
|
+
* Bootstrap scrollspy.js v5.3.7 (https://getbootstrap.com/)
|
5104
5108
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
5105
5109
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5106
5110
|
*/
|
@@ -5389,7 +5393,7 @@
|
|
5389
5393
|
var sanitizer$1 = {exports: {}};
|
5390
5394
|
|
5391
5395
|
/*!
|
5392
|
-
* Bootstrap sanitizer.js v5.3.
|
5396
|
+
* Bootstrap sanitizer.js v5.3.7 (https://getbootstrap.com/)
|
5393
5397
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
5394
5398
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5395
5399
|
*/
|
@@ -5460,7 +5464,6 @@
|
|
5460
5464
|
*
|
5461
5465
|
* Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38
|
5462
5466
|
*/
|
5463
|
-
// eslint-disable-next-line unicorn/better-regex
|
5464
5467
|
const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;
|
5465
5468
|
const allowedAttribute = (attribute, allowedAttributeList) => {
|
5466
5469
|
const attributeName = attribute.nodeName.toLowerCase();
|
@@ -5513,7 +5516,7 @@
|
|
5513
5516
|
var templateFactory$1 = {exports: {}};
|
5514
5517
|
|
5515
5518
|
/*!
|
5516
|
-
* Bootstrap template-factory.js v5.3.
|
5519
|
+
* Bootstrap template-factory.js v5.3.7 (https://getbootstrap.com/)
|
5517
5520
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
5518
5521
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5519
5522
|
*/
|
@@ -5669,7 +5672,7 @@
|
|
5669
5672
|
}
|
5670
5673
|
|
5671
5674
|
/*!
|
5672
|
-
* Bootstrap tooltip.js v5.3.
|
5675
|
+
* Bootstrap tooltip.js v5.3.7 (https://getbootstrap.com/)
|
5673
5676
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
5674
5677
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5675
5678
|
*/
|
@@ -6073,6 +6076,7 @@
|
|
6073
6076
|
if (trigger === 'click') {
|
6074
6077
|
EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK), this._config.selector, event => {
|
6075
6078
|
const context = this._initializeOnDelegatedTarget(event);
|
6079
|
+
context._activeTrigger[TRIGGER_CLICK] = !(context._isShown() && context._activeTrigger[TRIGGER_CLICK]);
|
6076
6080
|
context.toggle();
|
6077
6081
|
});
|
6078
6082
|
} else if (trigger !== TRIGGER_MANUAL) {
|
@@ -6223,7 +6227,7 @@
|
|
6223
6227
|
}
|
6224
6228
|
|
6225
6229
|
/*!
|
6226
|
-
* Bootstrap popover.js v5.3.
|
6230
|
+
* Bootstrap popover.js v5.3.7 (https://getbootstrap.com/)
|
6227
6231
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
6228
6232
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6229
6233
|
*/
|
@@ -6329,7 +6333,7 @@
|
|
6329
6333
|
var toast$2 = {exports: {}};
|
6330
6334
|
|
6331
6335
|
/*!
|
6332
|
-
* Bootstrap toast.js v5.3.
|
6336
|
+
* Bootstrap toast.js v5.3.7 (https://getbootstrap.com/)
|
6333
6337
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
6334
6338
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6335
6339
|
*/
|
@@ -6537,7 +6541,7 @@
|
|
6537
6541
|
var tab$2 = {exports: {}};
|
6538
6542
|
|
6539
6543
|
/*!
|
6540
|
-
* Bootstrap tab.js v5.3.
|
6544
|
+
* Bootstrap tab.js v5.3.7 (https://getbootstrap.com/)
|
6541
6545
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
6542
6546
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6543
6547
|
*/
|
@@ -7399,7 +7403,7 @@
|
|
7399
7403
|
* Constants
|
7400
7404
|
*/
|
7401
7405
|
|
7402
|
-
const VERSION = '5.3.
|
7406
|
+
const VERSION = '5.3.7';
|
7403
7407
|
|
7404
7408
|
/**
|
7405
7409
|
* Class definition
|