Skip to content

Commit

Permalink
v2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jahaganiev committed Jan 2, 2025
1 parent 91da6bf commit 77c3a43
Show file tree
Hide file tree
Showing 109 changed files with 1,058 additions and 990 deletions.
9 changes: 5 additions & 4 deletions dist/accordion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ declare class HSAccordion extends HSBasePlugin<IAccordionOptions> implements IAc
hide(): boolean;
update(): boolean;
destroy(): void;
static getInstance(target: HTMLElement | string, isInstance?: boolean): HTMLElement | ICollectionItem<HSAccordion>;
static show(target: HTMLElement): void;
static hide(target: HTMLElement): void;
private static findInCollection;
static autoInit(): void;
static getInstance(target: HTMLElement | string, isInstance?: boolean): HTMLElement | ICollectionItem<HSAccordion>;
static show(target: HSAccordion | HTMLElement | string): void;
static hide(target: HSAccordion | HTMLElement | string): void;
static onSelectableClick: (evt: Event, item: IAccordionTreeView, el: HTMLElement) => void;
static treeView(): boolean;
static toggleSelected(root: IAccordionTreeView, item: HTMLElement): void;
static on(evt: string, target: HTMLElement, cb: Function): void;
static on(evt: string, target: HSAccordion | HTMLElement | string, cb: Function): void;
}

export {
Expand Down
6 changes: 3 additions & 3 deletions dist/accordion.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/accordion.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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});
/*
* @version: 2.6.0
* @version: 2.7.0
* @author: Preline Labs Ltd.
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
* Copyright 2024 Preline Labs Ltd.
*/
const i=e=>"true"===e,n=(e,t,o="")=>(window.getComputedStyle(e).getPropertyValue(t)||o).replace(" ","");const 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);
/*
* HSAccordion
* @version: 2.6.0
* @version: 2.7.0
* @author: Preline Labs Ltd.
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
* Copyright 2024 Preline Labs Ltd.
Expand Down
4 changes: 2 additions & 2 deletions dist/carousel.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/carousel.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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});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=>"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:()=>h});var n=s(926),r=s(615),o=s(189);
/*
* HSCarousel
* @version: 2.6.0
* @version: 2.7.0
* @author: Preline Labs Ltd.
* @license: Licensed under MIT and Preline UI Fair Use License (https://preline.co/docs/license.html)
* Copyright 2024 Preline Labs Ltd.
Expand Down
7 changes: 4 additions & 3 deletions dist/collapse.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ declare class HSCollapse extends HSBasePlugin<{}> implements ICollapse {
show(): boolean;
hide(): boolean;
destroy(): void;
private static findInCollection;
static getInstance(target: HTMLElement, isInstance?: boolean): HTMLElement | ICollectionItem<HSCollapse>;
static autoInit(): void;
static show(target: HTMLElement): void;
static hide(target: HTMLElement): void;
static on(evt: string, target: HTMLElement, cb: Function): void;
static show(target: HSCollapse | HTMLElement | string): void;
static hide(target: HSCollapse | HTMLElement | string): void;
static on(evt: string, target: HSCollapse | HTMLElement | string, cb: Function): void;
}

export {
Expand Down
Loading

0 comments on commit 77c3a43

Please sign in to comment.