@unlk/keymaster 1.3.9 → 1.4.1
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 +10 -0
- package/dist/css/keymaster.css +27 -36
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +2 -2
- package/dist/css/keymaster.min.css.map +1 -1
- package/dist/js/keymaster.js +1 -1
- package/dist/js/keymaster.min.js +1 -1
- package/package.json +1 -1
- package/scss/theme/_accordion.scss +3 -1
- package/scss/theme/_buttons.scss +1 -1
- package/scss/theme/_variables-overrides.scss +2 -4
- package/scss/theme/_variables.scss +4 -3
- package/scss/theme/_version.scss +1 -1
package/dist/js/keymaster.js
CHANGED
package/dist/js/keymaster.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Unlock Keymaster v1.
|
|
2
|
+
* Unlock Keymaster v1.4.1 (https://unlock-com.github.io/keymaster)
|
|
3
3
|
* Copyright 2022-2026 Unlk Developers
|
|
4
4
|
*/
|
|
5
5
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).keymaster={})}(this,function(e){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}),n}var i,s={exports:{}},o={exports:{}},r={exports:{}};function a(){return i||(i=1,function(e){e.exports=function(){const e=new Map,t={set(t,n,i){e.has(t)||e.set(t,new Map);const s=e.get(t);(s.has(n)||0===s.size)&&s.set(n,i)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}};return t}()}(r)),r.exports}var l,c={exports:{}},u={exports:{}};function d(){return l||(l=1,function(e,t){!function(e){const t=1e6,n=1e3,i="transitionend",s=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),r=e=>{do{e+=Math.floor(Math.random()*t)}while(document.getElementById(e));return e},a=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(i);return s||o?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*n):0},l=e=>{e.dispatchEvent(new Event(i))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),u=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(s(e)):null,d=e=>{if(!c(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),f=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?f(e.parentNode):null},p=()=>{},g=e=>{e.offsetHeight},m=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_=[],b=e=>{"loading"===document.readyState?(_.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of _)e()}),_.push(e)):e()},v=()=>"rtl"===document.documentElement.dir,y=e=>{b(()=>{const t=m();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},w=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,E=(e,t,n=!0)=>{if(!n)return void w(e);const s=5,o=a(t)+s;let r=!1;const c=({target:n})=>{n===t&&(r=!0,t.removeEventListener(i,c),w(e))};t.addEventListener(i,c),setTimeout(()=>{r||l(t)},o)},A=(e,t,n,i)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!n&&i?e[s-1]:e[0]:(o+=n?1:-1,i&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])};e.defineJQueryPlugin=y,e.execute=w,e.executeAfterTransition=E,e.findShadowRoot=f,e.getElement=u,e.getNextActiveElement=A,e.getTransitionDurationFromElement=a,e.getUID=r,e.getjQuery=m,e.isDisabled=h,e.isElement=c,e.isRTL=v,e.isVisible=d,e.noop=p,e.onDOMContentLoaded=b,e.parseSelector=s,e.reflow=g,e.toType=o,e.triggerTransitionEnd=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)}(0,u.exports)),u.exports}
|
package/package.json
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
.accordion-alt {
|
|
12
12
|
--#{$prefix}accordion-alt-bg: #{$accordion-alt-bg};
|
|
13
13
|
--#{$prefix}accordion-alt-btn-bg: #{$accordion-alt-button-bg};
|
|
14
|
+
--#{$prefix}accordion-alt-border-width: #{$accordion-alt-border-width};
|
|
15
|
+
--#{$prefix}accordion-alt-border-color: #{$accordion-alt-border-color};
|
|
14
16
|
--#{$prefix}accordion-alt-border-radius: #{$accordion-alt-border-radius};
|
|
15
17
|
--#{$prefix}accordion-alt-btn-icon-width: #{$accordion-alt-icon-width};
|
|
16
18
|
--#{$prefix}accordion-alt-btn-icon: #{escape-svg($accordion-alt-button-icon)};
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
|
|
50
52
|
> .accordion-item {
|
|
51
53
|
background-color: var(--#{$prefix}accordion-alt-bg);
|
|
52
|
-
border:
|
|
54
|
+
border: var(--#{$prefix}accordion-alt-border-width) solid var(--#{$prefix}accordion-alt-border-color);
|
|
53
55
|
@include border-radius(var(--#{$prefix}accordion-alt-border-radius));
|
|
54
56
|
|
|
55
57
|
&:not(:last-child) {
|
package/scss/theme/_buttons.scss
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
$hover-border: tint-color($value, $btn-hover-border-shade-amount),
|
|
32
32
|
$active-background: tint-color($value, $btn-active-bg-shade-amount),
|
|
33
33
|
$active-border: tint-color($value, $btn-active-border-shade-amount),
|
|
34
|
-
$disabled-color: $gray-
|
|
34
|
+
$disabled-color: $gray-900
|
|
35
35
|
);
|
|
36
36
|
} @else {
|
|
37
37
|
@include button-variant(
|
|
@@ -35,7 +35,6 @@ $gray-600: shade-color($gray, 20%) !default;
|
|
|
35
35
|
$gray-700: shade-color($gray, 40%) !default;
|
|
36
36
|
$gray-800: shade-color($gray, 60%) !default;
|
|
37
37
|
$gray-900: shade-color($gray, 80%) !default;
|
|
38
|
-
$gray-950: shade-color($gray, 90%) !default;
|
|
39
38
|
$black: #000 !default;
|
|
40
39
|
|
|
41
40
|
$grays: (
|
|
@@ -50,7 +49,6 @@ $grays: (
|
|
|
50
49
|
"700": $gray-700,
|
|
51
50
|
"800": $gray-800,
|
|
52
51
|
"900": $gray-900,
|
|
53
|
-
"950": $gray-950
|
|
54
52
|
) !default;
|
|
55
53
|
|
|
56
54
|
$colors: (
|
|
@@ -309,7 +307,7 @@ $action-border-subtle: tint-color($action, 60%) !default;
|
|
|
309
307
|
|
|
310
308
|
|
|
311
309
|
// Body
|
|
312
|
-
$body-color: $gray-
|
|
310
|
+
$body-color: $gray-900 !default;
|
|
313
311
|
|
|
314
312
|
// Grid breakpoints
|
|
315
313
|
$grid-breakpoints: (
|
|
@@ -333,7 +331,7 @@ $container-max-widths: (
|
|
|
333
331
|
xxxl: 1510px
|
|
334
332
|
) !default;
|
|
335
333
|
|
|
336
|
-
$headings-color: $gray-
|
|
334
|
+
$headings-color: $gray-800 !default;
|
|
337
335
|
$headings-font-weight: 700 !default;
|
|
338
336
|
|
|
339
337
|
$display-font-weight: 700 !default;
|
|
@@ -8,9 +8,10 @@ $border-radius-xs: rfs-value(4px) !default;
|
|
|
8
8
|
|
|
9
9
|
// scss-docs-start accordion-variables
|
|
10
10
|
$accordion-box-shadow: $box-shadow !default;
|
|
11
|
-
$accordion-alt-bg: $gray-
|
|
12
|
-
$accordion-alt-border-width:
|
|
13
|
-
$accordion-alt-
|
|
11
|
+
$accordion-alt-bg: $gray-100 !default;
|
|
12
|
+
$accordion-alt-border-width: .125rem !default;
|
|
13
|
+
$accordion-alt-border-color: $gray-200 !default;
|
|
14
|
+
$accordion-alt-button-bg: $gray-100 !default;
|
|
14
15
|
$accordion-alt-icon-width: 1.375rem !default;
|
|
15
16
|
$accordion-alt-border-radius: var(--#{$prefix}border-radius-lg) !default;
|
|
16
17
|
$accordion-alt-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
|
package/scss/theme/_version.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// GENERATED FILE – do not edit manually
|
|
2
|
-
$km-version: "1.
|
|
2
|
+
$km-version: "1.4.1" !default;
|