Skip to content

Commit b44656e

Browse files
committed
v3.2.3
1 parent 03c12a9 commit b44656e

File tree

100 files changed

+403
-334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+403
-334
lines changed

dist/accessibility-manager.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,20 @@ declare class HSAccessibilityObserver {
2323
private components;
2424
private currentlyOpenedComponents;
2525
private activeComponent;
26+
private readonly allowedKeybindings;
2627
constructor();
2728
private initGlobalListeners;
29+
private isAllowedKeybinding;
2830
private getActiveComponent;
2931
private handleGlobalFocusin;
3032
private handleGlobalKeydown;
3133
private findClosestOpenParent;
3234
registerComponent(wrapper: HTMLElement, handlers: IAccessibilityKeyboardHandlers, isOpened?: boolean, name?: string, selector?: string, context?: HTMLElement): IAccessibilityComponent;
3335
updateComponentState(component: IAccessibilityComponent, isOpened: boolean): void;
3436
unregisterComponent(component: IAccessibilityComponent): void;
37+
addAllowedKeybinding(key: string): void;
38+
removeAllowedKeybinding(key: string): void;
39+
getAllowedKeybindings(): string[];
3540
}
3641

3742
export {

dist/accordion.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/accordion.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
var e={615:(e,t,o)=>{o.d(t,{A:()=>i});class i{constructor(e,t,o){this.el=e,this.options=t,this.events=o,this.el=e,this.options=t,this.events={}}createCollection(e,t){var o;e.push({id:(null===(o=null==t?void 0:t.el)||void 0===o?void 0:o.id)||e.length+1,element:t})}fireEvent(e,t=null){if(this.events.hasOwnProperty(e))return this.events[e](t)}on(e,t){this.events[e]=t}}},926:(e,t,o)=>{o.d(t,{JD:()=>s,PK:()=>i,gj:()=>n,yd:()=>l});
22
/*
3-
* @version: 3.2.2
3+
* @version: 3.2.3
44
* @author: Preline Labs Ltd.
55
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
66
* Copyright 2024 Preline Labs Ltd.
77
*/
88
const i=e=>"true"===e,n=(e,t,o="")=>(window.getComputedStyle(e).getPropertyValue(t)||o).replace(" ",""),s=(e,t,o=null)=>{const i=new CustomEvent(e,{detail:{payload:o},bubbles:!0,cancelable:!0,composed:!1});t.dispatchEvent(i)},l=(e,t)=>{const o=()=>{t(),e.removeEventListener("transitionend",o,!0)},i=window.getComputedStyle(e),n=i.getPropertyValue("transition-duration");"none"!==i.getPropertyValue("transition-property")&&parseFloat(n)>0?e.addEventListener("transitionend",o,!0):t()}}},t={};function o(i){var n=t[i];if(void 0!==n)return n.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,o),s.exports}o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i={};o.d(i,{A:()=>c});var n=o(926),s=o(615);
99
/*
1010
* HSAccordion
11-
* @version: 3.2.2
11+
* @version: 3.2.3
1212
* @author: Preline Labs Ltd.
1313
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
1414
* Copyright 2024 Preline Labs Ltd.

dist/carousel.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/carousel.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
var t={189:(t,e,s)=>{s.d(e,{LO:()=>i});const i={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536}},615:(t,e,s)=>{s.d(e,{A:()=>i});class i{constructor(t,e,s){this.el=t,this.options=e,this.events=s,this.el=t,this.options=e,this.events={}}createCollection(t,e){var s;t.push({id:(null===(s=null==e?void 0:e.el)||void 0===s?void 0:s.id)||t.length+1,element:e})}fireEvent(t,e=null){if(this.events.hasOwnProperty(t))return this.events[t](e)}on(t,e){this.events[t]=e}}},926:(t,e,s)=>{s.d(e,{en:()=>r,fc:()=>n,sg:()=>i});
22
/*
3-
* @version: 3.2.2
3+
* @version: 3.2.3
44
* @author: Preline Labs Ltd.
55
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
66
* Copyright 2024 Preline Labs Ltd.
77
*/
88
const i=(t,e=200)=>{let s;return(...i)=>{clearTimeout(s),s=setTimeout((()=>{t.apply(void 0,i)}),e)}},n=t=>{const e=document.createElement("template");return t=t.trim(),e.innerHTML=t,e.content.firstChild},r=(t,e,s=" ",i="add")=>{t.split(s).forEach((t=>{t.trim()&&("add"===i?e.classList.add(t):e.classList.remove(t))}))}}},e={};function s(i){var n=e[i];if(void 0!==n)return n.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,s),r.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i={};s.d(i,{A:()=>l});var n=s(926),r=s(615),o=s(189);
99
/*
1010
* HSCarousel
11-
* @version: 3.2.2
11+
* @version: 3.2.3
1212
* @author: Preline Labs Ltd.
1313
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
1414
* Copyright 2024 Preline Labs Ltd.

dist/collapse.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/collapse.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
var e={615:(e,t,n)=>{n.d(t,{A:()=>i});class i{constructor(e,t,n){this.el=e,this.options=t,this.events=n,this.el=e,this.options=t,this.events={}}createCollection(e,t){var n;e.push({id:(null===(n=null==t?void 0:t.el)||void 0===n?void 0:n.id)||e.length+1,element:t})}fireEvent(e,t=null){if(this.events.hasOwnProperty(e))return this.events[e](t)}on(e,t){this.events[e]=t}}},926:(e,t,n)=>{n.d(t,{JD:()=>i,yd:()=>s});
22
/*
3-
* @version: 3.2.2
3+
* @version: 3.2.3
44
* @author: Preline Labs Ltd.
55
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
66
* Copyright 2024 Preline Labs Ltd.
77
*/
88
const i=(e,t,n=null)=>{const i=new CustomEvent(e,{detail:{payload:n},bubbles:!0,cancelable:!0,composed:!1});t.dispatchEvent(i)},s=(e,t)=>{const n=()=>{t(),e.removeEventListener("transitionend",n,!0)},i=window.getComputedStyle(e),s=i.getPropertyValue("transition-duration");"none"!==i.getPropertyValue("transition-property")&&parseFloat(s)>0?e.addEventListener("transitionend",n,!0):t()}}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i={};n.d(i,{A:()=>a});var s=n(926),o=n(615);
99
/*
1010
* HSCollapse
11-
* @version: 3.2.2
11+
* @version: 3.2.3
1212
* @author: Preline Labs Ltd.
1313
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
1414
* Copyright 2024 Preline Labs Ltd.

0 commit comments

Comments
 (0)