@oslokommune/punkt-elements 12.32.0 → 12.32.7
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/dist/alert-C2WKLFow.cjs +27 -0
- package/dist/alert-XGjypFHe.js +115 -0
- package/dist/alert.d.ts +15 -15
- package/dist/{backlink-DdNgqA56.js → backlink-BX8HBhw5.js} +2 -2
- package/dist/{backlink-Q2HTG9jm.cjs → backlink-NJdC0FAO.cjs} +1 -1
- package/dist/backlink.d.ts +15 -15
- package/dist/{button-rArIL0-j.js → button-Bn8jVB0f.js} +33 -33
- package/dist/{button-BPyZeW73.cjs → button-Bpbh8A_a.cjs} +2 -2
- package/dist/button.d.ts +15 -15
- package/dist/{calendar-1ryAEdX3.js → calendar-BNHDEEwT.js} +20 -84
- package/dist/{calendar-2DqPLXdD.cjs → calendar-Ds13AKr5.cjs} +4 -4
- package/dist/calendar.d.ts +15 -15
- package/dist/card-CEv3DL-o.js +94 -0
- package/dist/card-c5EEPaNh.cjs +28 -0
- package/dist/card.d.ts +15 -15
- package/dist/{checkbox-BnDG6wIO.cjs → checkbox-DDBBDM85.cjs} +1 -1
- package/dist/{checkbox-Ceui2TLp.js → checkbox-DoMYxp83.js} +9 -9
- package/dist/checkbox.d.ts +15 -15
- package/dist/{class-map-ChuDQU5C.js → class-map-D4tSZX70.js} +2 -2
- package/dist/{class-map-D4rXyUxT.cjs → class-map-DvBKxTiW.cjs} +1 -1
- package/dist/combobox-BflWORVa.cjs +115 -0
- package/dist/combobox-l7LmWQYu.js +491 -0
- package/dist/combobox.d.ts +15 -15
- package/dist/datepicker-Bkiyh5P5.cjs +153 -0
- package/dist/datepicker-nWd89NwP.js +449 -0
- package/dist/datepicker.d.ts +15 -15
- package/dist/directive-C7oCP5Bh.cjs +5 -0
- package/dist/directive-helpers-BmXIK-1b.js +45 -0
- package/dist/directive-helpers-donnvcEO.cjs +5 -0
- package/dist/{directive-B76A7YXI.js → directive-oAbCiebi.js} +4 -4
- package/dist/element-DJpGVXjq.cjs +238 -0
- package/dist/{element-G8JoS0Lj.js → element-DiqKrDty.js} +8845 -8847
- package/dist/{helptext-Y4cSgTkd.js → helptext-DfRusn5R.js} +9 -9
- package/dist/{helptext-B4Uc-d56.cjs → helptext-aHD9icur.cjs} +1 -1
- package/dist/helptext.d.ts +15 -15
- package/dist/{icon-BJnwW0eh.js → icon-BdY52BIt.js} +2 -2
- package/dist/{icon-BTUCDPN5.cjs → icon-UtDKPH3R.cjs} +1 -1
- package/dist/icon.d.ts +15 -15
- package/dist/{if-defined-C1ZDVzYn.cjs → if-defined-CoBDkDGb.cjs} +1 -1
- package/dist/{if-defined-rCqT8Od1.js → if-defined-DeANa4n5.js} +1 -1
- package/dist/index.d.ts +17 -16
- package/dist/{input-element-DM2uSYaW.js → input-element-C4mmTk6h.js} +3 -3
- package/dist/{input-element-AhnBdCb8.cjs → input-element-VNai8bsq.cjs} +1 -1
- package/dist/input-wrapper-8iKEzDRZ.js +40 -0
- package/dist/{input-wrapper-BdZxmQyO.cjs → input-wrapper-DWOw7Yn-.cjs} +1 -1
- package/dist/input-wrapper-EoSAbU-U.cjs +1 -0
- package/dist/{input-wrapper-DQmYzhcy.js → input-wrapper-P_oEi6dk.js} +8 -8
- package/dist/input-wrapper.d.ts +15 -15
- package/dist/link-D9dJ6F-R.js +73 -0
- package/dist/link-DBxXqsnP.cjs +8 -0
- package/dist/link.d.ts +15 -15
- package/dist/{linkcard-DDD92XfD.cjs → linkcard-D5O1hR7N.cjs} +1 -1
- package/dist/{linkcard-CvqqyHVW.js → linkcard-DcEE9IVw.js} +4 -4
- package/dist/linkcard.d.ts +15 -15
- package/dist/{listbox-BTVnrHWv.cjs → listbox-CK1GmwCE.cjs} +1 -1
- package/dist/{listbox-DX-Euxdm.js → listbox-CfJWJDrc.js} +5 -5
- package/dist/listbox.d.ts +15 -15
- package/dist/{loader-BudoV0yd.js → loader-DZvOlXzI.js} +6 -6
- package/dist/{loader-Csq0Yd1k.cjs → loader-SDXJp58K.cjs} +1 -1
- package/dist/loader.d.ts +15 -15
- package/dist/messagebox-Ce5e1gga.js +79 -0
- package/dist/messagebox-D2_-WZQG.cjs +12 -0
- package/dist/messagebox.d.ts +15 -15
- package/dist/modal-CCtUsYKk.cjs +33 -0
- package/dist/{modal-DnYn2Rlg.js → modal-CdgIOp8Q.js} +51 -94
- package/dist/modal.d.ts +15 -15
- package/dist/pkt-alert.cjs +1 -1
- package/dist/pkt-alert.js +1 -1
- package/dist/pkt-backlink.cjs +1 -1
- package/dist/pkt-backlink.js +1 -1
- package/dist/pkt-button.cjs +1 -1
- package/dist/pkt-button.js +1 -1
- package/dist/pkt-calendar.cjs +1 -1
- package/dist/pkt-calendar.js +1 -1
- package/dist/pkt-card.cjs +1 -1
- package/dist/pkt-card.js +1 -1
- package/dist/pkt-checkbox.cjs +1 -1
- package/dist/pkt-checkbox.js +1 -1
- package/dist/pkt-combobox.cjs +1 -1
- package/dist/pkt-combobox.js +1 -1
- package/dist/pkt-datepicker.cjs +1 -1
- package/dist/pkt-datepicker.js +1 -1
- package/dist/pkt-helptext.cjs +1 -1
- package/dist/pkt-helptext.js +1 -1
- package/dist/pkt-icon.cjs +1 -1
- package/dist/pkt-icon.js +1 -1
- package/dist/pkt-index.cjs +1 -1
- package/dist/pkt-index.js +27 -27
- package/dist/pkt-input-wrapper.cjs +1 -1
- package/dist/pkt-input-wrapper.js +1 -1
- package/dist/pkt-link.cjs +1 -1
- package/dist/pkt-link.js +1 -1
- package/dist/pkt-linkcard.cjs +1 -1
- package/dist/pkt-linkcard.js +1 -1
- package/dist/pkt-listbox.cjs +1 -1
- package/dist/pkt-listbox.js +1 -1
- package/dist/pkt-loader.cjs +1 -1
- package/dist/pkt-loader.js +1 -1
- package/dist/pkt-messagebox.cjs +1 -1
- package/dist/pkt-messagebox.js +1 -1
- package/dist/pkt-modal.cjs +1 -1
- package/dist/pkt-modal.js +1 -1
- package/dist/{pkt-options-controller-CZplGTgu.js → pkt-options-controller-BkWE4pZe.js} +1 -1
- package/dist/{pkt-options-controller-BtU1zEtG.cjs → pkt-options-controller-TJ1apYGF.cjs} +1 -1
- package/dist/pkt-progressbar.cjs +1 -1
- package/dist/pkt-progressbar.js +2 -2
- package/dist/pkt-radiobutton.cjs +1 -1
- package/dist/pkt-radiobutton.js +1 -1
- package/dist/pkt-select.cjs +1 -1
- package/dist/pkt-select.js +1 -1
- package/dist/pkt-slot-controller-BtVLTZb7.js +79 -0
- package/dist/pkt-slot-controller-plQxXRvV.cjs +1 -0
- package/dist/pkt-tag.cjs +1 -1
- package/dist/pkt-tag.js +1 -1
- package/dist/pkt-textarea.cjs +1 -1
- package/dist/pkt-textarea.js +1 -1
- package/dist/pkt-textinput.cjs +1 -1
- package/dist/pkt-textinput.js +1 -1
- package/dist/{progressbar-czvExwTL.js → progressbar-DvFz9KBo.js} +6 -6
- package/dist/{progressbar-BW_icNId.cjs → progressbar-jASTnhti.cjs} +1 -1
- package/dist/progressbar.d.ts +15 -15
- package/dist/{radiobutton-BeSuCrbp.cjs → radiobutton-C-Xd5sSq.cjs} +1 -1
- package/dist/{radiobutton-DKo27Stm.js → radiobutton-D03aN4yn.js} +5 -5
- package/dist/radiobutton.d.ts +15 -15
- package/dist/{ref-cRTOoM4R.js → ref-B70YZNXm.js} +11 -11
- package/dist/{ref-DsoUUoPU.cjs → ref-CLqTsViF.cjs} +3 -3
- package/dist/{repeat-CArTw6-s.js → repeat-CNLpCTun.js} +3 -3
- package/dist/{repeat-kruY8poV.cjs → repeat-t2oms1o6.cjs} +1 -1
- package/dist/{select-DxHhPEgD.js → select-BLDaK5Rd.js} +8 -8
- package/dist/{select-lvFnhEVg.cjs → select-Dvds7MzS.cjs} +1 -1
- package/dist/select.d.ts +15 -15
- package/dist/{state-BILlRnrD.cjs → state-C4LdlTYO.cjs} +1 -1
- package/dist/{state-gfUuUqVg.js → state-CDwPbiQj.js} +1 -1
- package/dist/tag-C52KeBmR.cjs +18 -0
- package/dist/{tag-CWx1XsGR.js → tag-DoS5S2Bq.js} +28 -77
- package/dist/tag.d.ts +15 -15
- package/dist/{textarea-BNNDbxxO.js → textarea-C9EvdPGi.js} +11 -11
- package/dist/{textarea-CDsLbogK.cjs → textarea-DJvNBmEL.cjs} +1 -1
- package/dist/textarea.d.ts +15 -15
- package/dist/{textinput-C3C088Ki.cjs → textinput-Cg3ObBuw.cjs} +1 -1
- package/dist/{textinput-M8I4dfoP.js → textinput-CxRSSYaN.js} +20 -20
- package/dist/textinput.d.ts +15 -15
- package/package.json +4 -4
- package/src/components/button/button.ts +3 -2
- package/src/components/datepicker/datepicker.ts +4 -4
- package/src/components/tag/tag.ts +1 -1
- package/dist/alert-D5G5UJuo.cjs +0 -27
- package/dist/alert-gERpVuB7.js +0 -163
- package/dist/card-BbMBpvJt.js +0 -176
- package/dist/card-ZX09f_ka.cjs +0 -28
- package/dist/combobox-DH-YlbNh.cjs +0 -115
- package/dist/combobox-DbO6I0GT.js +0 -694
- package/dist/datepicker-8MOgQsyL.js +0 -611
- package/dist/datepicker-BRH-59Q9.cjs +0 -153
- package/dist/directive-C_VV3qwo.cjs +0 -5
- package/dist/directive-helpers-D7XIyCQ_.js +0 -45
- package/dist/directive-helpers-mGjAtADc.cjs +0 -5
- package/dist/element-BBo3JZk5.cjs +0 -238
- package/dist/input-wrapper-Bw9tARAD.js +0 -125
- package/dist/input-wrapper-jPnKsfEC.cjs +0 -1
- package/dist/link-C3lW3z8X.js +0 -109
- package/dist/link-DOVlsg2S.cjs +0 -8
- package/dist/messagebox-8GwnNqb0.cjs +0 -12
- package/dist/messagebox-D6uexEhg.js +0 -114
- package/dist/modal-CLixB4Dz.cjs +0 -33
- package/dist/pkt-slot-controller-CqNvEpFd.cjs +0 -1
- package/dist/pkt-slot-controller-D1DakVrU.js +0 -95
- package/dist/tag-DThwKsrg.cjs +0 -18
package/dist/modal.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
export { }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Pkt Select is a wrapper for the native select element using the pkt-input-wrapper component.
|
|
6
|
-
*
|
|
7
|
-
* The component will prioritize options passed as a prop over options passed as children if both are provided.
|
|
8
|
-
* This is to allow for dynamic options that might change in the case of both children/slot and props are provided.
|
|
9
|
-
*
|
|
10
|
-
* @slot (default) - Options to be rendered as children
|
|
11
|
-
* @prop {TSelectOption[]} options - Options to be rendered as children
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
4
|
declare global {
|
|
16
5
|
interface HTMLElementTagNameMap {
|
|
17
|
-
'pkt-
|
|
6
|
+
'pkt-combobox': PktCombobox & HTMLSelectElement;
|
|
18
7
|
}
|
|
19
8
|
}
|
|
20
9
|
|
|
21
10
|
|
|
22
11
|
declare global {
|
|
23
12
|
interface HTMLElementTagNameMap {
|
|
24
|
-
'pkt-
|
|
13
|
+
'pkt-icon': PktIcon;
|
|
25
14
|
}
|
|
26
15
|
}
|
|
27
16
|
|
|
28
17
|
|
|
29
18
|
declare global {
|
|
30
19
|
interface HTMLElementTagNameMap {
|
|
31
|
-
'pkt-
|
|
20
|
+
'pkt-listbox': PktListbox;
|
|
32
21
|
}
|
|
33
22
|
}
|
|
34
23
|
|
|
35
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Pkt Select is a wrapper for the native select element using the pkt-input-wrapper component.
|
|
27
|
+
*
|
|
28
|
+
* The component will prioritize options passed as a prop over options passed as children if both are provided.
|
|
29
|
+
* This is to allow for dynamic options that might change in the case of both children/slot and props are provided.
|
|
30
|
+
*
|
|
31
|
+
* @slot (default) - Options to be rendered as children
|
|
32
|
+
* @prop {TSelectOption[]} options - Options to be rendered as children
|
|
33
|
+
*
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
36
|
declare global {
|
|
37
37
|
interface HTMLElementTagNameMap {
|
|
38
|
-
'pkt-
|
|
38
|
+
'pkt-select': PktSelect & HTMLSelectElement;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
package/dist/pkt-alert.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./alert-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./alert-C2WKLFow.cjs"),t=e.PktAlert;Object.defineProperty(exports,"PktAlert",{enumerable:!0,get:()=>e.PktAlert});exports.default=t;
|
package/dist/pkt-alert.js
CHANGED
package/dist/pkt-backlink.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./backlink-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./backlink-NJdC0FAO.cjs"),t=e.PktBackLink;Object.defineProperty(exports,"PktBackLink",{enumerable:!0,get:()=>e.PktBackLink});exports.default=t;
|
package/dist/pkt-backlink.js
CHANGED
package/dist/pkt-button.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./button-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./button-Bpbh8A_a.cjs"),e=t.PktButton;Object.defineProperty(exports,"PktButton",{enumerable:!0,get:()=>t.PktButton});exports.default=e;
|
package/dist/pkt-button.js
CHANGED
package/dist/pkt-calendar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./calendar-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./calendar-Ds13AKr5.cjs"),t=e.PktCalendar;Object.defineProperty(exports,"PktCalendar",{enumerable:!0,get:()=>e.PktCalendar});exports.default=t;
|
package/dist/pkt-calendar.js
CHANGED
package/dist/pkt-card.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./card-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./card-c5EEPaNh.cjs"),t=e.PktCard;Object.defineProperty(exports,"PktCard",{enumerable:!0,get:()=>e.PktCard});exports.default=t;
|
package/dist/pkt-card.js
CHANGED
package/dist/pkt-checkbox.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./checkbox-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./checkbox-DDBBDM85.cjs"),t=e.PktCheckbox;Object.defineProperty(exports,"PktCheckbox",{enumerable:!0,get:()=>e.PktCheckbox});exports.default=t;
|
package/dist/pkt-checkbox.js
CHANGED
package/dist/pkt-combobox.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./combobox-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./combobox-BflWORVa.cjs"),o=e.PktCombobox;Object.defineProperty(exports,"PktCombobox",{enumerable:!0,get:()=>e.PktCombobox});exports.default=o;
|
package/dist/pkt-combobox.js
CHANGED
package/dist/pkt-datepicker.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./datepicker-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./datepicker-Bkiyh5P5.cjs"),t=e.PktDatepicker;Object.defineProperty(exports,"PktDatepicker",{enumerable:!0,get:()=>e.PktDatepicker});exports.default=t;
|
package/dist/pkt-datepicker.js
CHANGED
package/dist/pkt-helptext.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-aHD9icur.cjs"),t=e.PktHelptext;Object.defineProperty(exports,"PktHelptext",{enumerable:!0,get:()=>e.PktHelptext});exports.default=t;
|
package/dist/pkt-helptext.js
CHANGED
package/dist/pkt-icon.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./icon-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./icon-UtDKPH3R.cjs"),t=e.PktIcon;Object.defineProperty(exports,"PktIcon",{enumerable:!0,get:()=>e.PktIcon});exports.default=t;
|
package/dist/pkt-icon.js
CHANGED
package/dist/pkt-index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./alert-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./alert-C2WKLFow.cjs"),P=require("./backlink-NJdC0FAO.cjs"),d=require("./button-Bpbh8A_a.cjs"),c=require("./calendar-Ds13AKr5.cjs"),b=require("./card-c5EEPaNh.cjs"),m=require("./combobox-BflWORVa.cjs"),g=require("./checkbox-DDBBDM85.cjs"),t=require("./element-DJpGVXjq.cjs"),h=require("./pkt-slot-controller-plQxXRvV.cjs"),s=require("./ref-CLqTsViF.cjs"),f=require("./class-map-DvBKxTiW.cjs"),y=require("./datepicker-Bkiyh5P5.cjs"),x=require("./helptext-aHD9icur.cjs"),O=require("./icon-UtDKPH3R.cjs"),j=require("./input-wrapper-DWOw7Yn-.cjs"),q=require("./link-DBxXqsnP.cjs"),C=require("./linkcard-D5O1hR7N.cjs"),v=require("./loader-SDXJp58K.cjs"),S=require("./messagebox-D2_-WZQG.cjs"),$=require("./modal-CCtUsYKk.cjs"),L=require("./progressbar-jASTnhti.cjs"),p=require("./radiobutton-C-Xd5sSq.cjs"),_=require("./tag-C52KeBmR.cjs"),B=require("./textarea-DJvNBmEL.cjs"),T=require("./textinput-Cg3ObBuw.cjs"),M=require("./select-Dvds7MzS.cjs");var R=Object.defineProperty,I=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var n=i>1?void 0:i?I(e,r):e,u=a.length-1,l;u>=0;u--)(l=a[u])&&(n=(i?l(e,r,n):l(n))||n);return i&&n&&R(e,r,n),n};exports.PktComponent=class extends t.PktElement{constructor(){super(),this.string="",this.strings=[],this.darkmode=!1,this._list=[],this.defaultSlot=s.e(),this.namedSlot=s.e(),this.slotController=new h.PktSlotController(this,this.defaultSlot,this.namedSlot)}connectedCallback(){this.strings.length&&this.strings.forEach(e=>{this._list.push(e.toUpperCase())}),super.connectedCallback()}render(){const e={"pkt-component":!0,"pkt-component--has-list":this.strings.length>0,"pkt-darkmode":this.darkmode};return t.x`
|
|
2
2
|
<div class="${f.e(e)}">
|
|
3
3
|
<h1 class="pkt-txt-28">${this.string}</h1>
|
|
4
4
|
|
package/dist/pkt-index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { P as w } from "./alert-
|
|
2
|
-
import { P as E } from "./backlink-
|
|
3
|
-
import { P as R } from "./button-
|
|
4
|
-
import { c as d } from "./calendar-
|
|
5
|
-
import { P as j } from "./calendar-
|
|
6
|
-
import { P as D } from "./card-
|
|
7
|
-
import { P as G } from "./combobox-
|
|
8
|
-
import { P as M } from "./checkbox-
|
|
9
|
-
import { P as f,
|
|
10
|
-
import { P as x } from "./pkt-slot-controller-
|
|
11
|
-
import { e as m, n as h } from "./ref-
|
|
12
|
-
import { e as u } from "./class-map-
|
|
13
|
-
import { P as N } from "./datepicker-
|
|
14
|
-
import { P as W } from "./helptext-
|
|
15
|
-
import { P as z } from "./icon-
|
|
16
|
-
import { P as J } from "./input-wrapper-
|
|
17
|
-
import { P as V } from "./link-
|
|
18
|
-
import { P as Y } from "./linkcard-
|
|
19
|
-
import { P as tt } from "./loader-
|
|
20
|
-
import { P as rt } from "./messagebox-
|
|
21
|
-
import { P as st } from "./modal-
|
|
22
|
-
import { P as nt } from "./progressbar-
|
|
23
|
-
import { P as pt, P as lt } from "./radiobutton-
|
|
24
|
-
import { P as mt } from "./tag-
|
|
25
|
-
import { P as dt } from "./textarea-
|
|
26
|
-
import { P as kt } from "./textinput-
|
|
27
|
-
import { P as xt } from "./select-
|
|
1
|
+
import { P as w } from "./alert-XGjypFHe.js";
|
|
2
|
+
import { P as E } from "./backlink-BX8HBhw5.js";
|
|
3
|
+
import { P as R } from "./button-Bn8jVB0f.js";
|
|
4
|
+
import { c as d } from "./calendar-BNHDEEwT.js";
|
|
5
|
+
import { P as j } from "./calendar-BNHDEEwT.js";
|
|
6
|
+
import { P as D } from "./card-CEv3DL-o.js";
|
|
7
|
+
import { P as G } from "./combobox-l7LmWQYu.js";
|
|
8
|
+
import { P as M } from "./checkbox-DoMYxp83.js";
|
|
9
|
+
import { P as f, t as k, x as P, n, a as c } from "./element-DiqKrDty.js";
|
|
10
|
+
import { P as x } from "./pkt-slot-controller-BtVLTZb7.js";
|
|
11
|
+
import { e as m, n as h } from "./ref-B70YZNXm.js";
|
|
12
|
+
import { e as u } from "./class-map-D4tSZX70.js";
|
|
13
|
+
import { P as N } from "./datepicker-nWd89NwP.js";
|
|
14
|
+
import { P as W } from "./helptext-DfRusn5R.js";
|
|
15
|
+
import { P as z } from "./icon-BdY52BIt.js";
|
|
16
|
+
import { P as J } from "./input-wrapper-P_oEi6dk.js";
|
|
17
|
+
import { P as V } from "./link-D9dJ6F-R.js";
|
|
18
|
+
import { P as Y } from "./linkcard-DcEE9IVw.js";
|
|
19
|
+
import { P as tt } from "./loader-DZvOlXzI.js";
|
|
20
|
+
import { P as rt } from "./messagebox-Ce5e1gga.js";
|
|
21
|
+
import { P as st } from "./modal-CdgIOp8Q.js";
|
|
22
|
+
import { P as nt } from "./progressbar-DvFz9KBo.js";
|
|
23
|
+
import { P as pt, P as lt } from "./radiobutton-D03aN4yn.js";
|
|
24
|
+
import { P as mt } from "./tag-DoS5S2Bq.js";
|
|
25
|
+
import { P as dt } from "./textarea-C9EvdPGi.js";
|
|
26
|
+
import { P as kt } from "./textinput-CxRSSYaN.js";
|
|
27
|
+
import { P as xt } from "./select-BLDaK5Rd.js";
|
|
28
28
|
var g = Object.defineProperty, v = Object.getOwnPropertyDescriptor, s = (t, e, i, a) => {
|
|
29
29
|
for (var r = a > 1 ? void 0 : a ? v(e, i) : e, p = t.length - 1, l; p >= 0; p--)
|
|
30
30
|
(l = t[p]) && (r = (a ? l(e, i, r) : l(r)) || r);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./input-wrapper-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./input-wrapper-DWOw7Yn-.cjs"),t=e.PktInputWrapper;Object.defineProperty(exports,"PktInputWrapper",{enumerable:!0,get:()=>e.PktInputWrapper});exports.default=t;
|
package/dist/pkt-link.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./link-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./link-DBxXqsnP.cjs"),t=e.PktLink;Object.defineProperty(exports,"PktLink",{enumerable:!0,get:()=>e.PktLink});exports.default=t;
|
package/dist/pkt-link.js
CHANGED
package/dist/pkt-linkcard.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./linkcard-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./linkcard-D5O1hR7N.cjs"),t=e.PktLinkCard;Object.defineProperty(exports,"PktLinkCard",{enumerable:!0,get:()=>e.PktLinkCard});exports.default=t;
|
package/dist/pkt-linkcard.js
CHANGED
package/dist/pkt-listbox.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./listbox-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./listbox-CK1GmwCE.cjs"),t=e.PktListbox;Object.defineProperty(exports,"PktListbox",{enumerable:!0,get:()=>e.PktListbox});exports.default=t;
|
package/dist/pkt-listbox.js
CHANGED
package/dist/pkt-loader.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./loader-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./loader-SDXJp58K.cjs"),t=e.PktLoader;Object.defineProperty(exports,"PktLoader",{enumerable:!0,get:()=>e.PktLoader});exports.default=t;
|
package/dist/pkt-loader.js
CHANGED
package/dist/pkt-messagebox.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./messagebox-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./messagebox-D2_-WZQG.cjs"),t=e.PktMessagebox;Object.defineProperty(exports,"PktMessagebox",{enumerable:!0,get:()=>e.PktMessagebox});exports.default=t;
|
package/dist/pkt-messagebox.js
CHANGED
package/dist/pkt-modal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./modal-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./modal-CCtUsYKk.cjs"),t=e.PktModal;Object.defineProperty(exports,"PktModal",{enumerable:!0,get:()=>e.PktModal});exports.default=t;
|
package/dist/pkt-modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as o } from "./pkt-slot-controller-
|
|
1
|
+
import { i as o } from "./pkt-slot-controller-BtVLTZb7.js";
|
|
2
2
|
class a {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
this.nodes = [], this.options = [], this.host = t, this.host.addController(this), this.nodes = [], this.options = [], this.observer = new MutationObserver((e) => this.handleMutations(e));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./pkt-slot-controller-
|
|
1
|
+
"use strict";const o=require("./pkt-slot-controller-plQxXRvV.cjs");class h{constructor(t){this.nodes=[],this.options=[],this.host=t,this.host.addController(this),this.nodes=[],this.options=[],this.observer=new MutationObserver(e=>this.handleMutations(e))}hostConnected(){Array.from(this.host.childNodes).forEach(t=>{(t.nodeName==="OPTION"||t.nodeName==="DATA")&&this.addNode(t)}),this.observer.observe(this.host,{childList:!0})}hostDisconnected(){this.observer.disconnect()}addNode(t){(t.nodeName==="OPTION"||t.nodeName==="DATA")&&(t.setAttribute("class","pkt-hide"),t.setAttribute("hidden","true"),t.setAttribute("data-skip","true"),this.nodes.push(t))}createOptions(){this.options=this.nodes.map(t=>({value:t.getAttribute("value")||t.textContent||"",label:t.textContent||t.getAttribute("value")||"",selected:!!t.getAttribute("selected"),disabled:!!t.getAttribute("disabled")})),this.host.setAttribute("options",JSON.stringify(this.options))}handleMutations(t){let e=!1;t.forEach(i=>{i.type==="childList"&&(i.addedNodes.forEach(s=>{o.isOptionElement(s)&&(this.addNode(s),e=!0)}),i.removedNodes.forEach(s=>{o.isOptionElement(s)&&(this.nodes=this.nodes.filter(r=>r!==s),e=!0)}))}),e&&this.createOptions()}}exports.PktOptionsSlotController=h;
|
package/dist/pkt-progressbar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./progressbar-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./progressbar-jASTnhti.cjs");Object.defineProperty(exports,"PktProgressbar",{enumerable:!0,get:()=>e.PktProgressbar});exports.default=e.PktProgressbar$1;
|
package/dist/pkt-progressbar.js
CHANGED
package/dist/pkt-radiobutton.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./radiobutton-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./radiobutton-C-Xd5sSq.cjs"),e=t.PktRadioButton;Object.defineProperty(exports,"PktRadioButton",{enumerable:!0,get:()=>t.PktRadioButton});exports.default=e;
|
package/dist/pkt-radiobutton.js
CHANGED
package/dist/pkt-select.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select-Dvds7MzS.cjs"),t=e.PktSelect;Object.defineProperty(exports,"PktSelect",{enumerable:!0,get:()=>e.PktSelect});exports.default=t;
|
package/dist/pkt-select.js
CHANGED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
function d(i, s) {
|
|
2
|
+
return s.some((t) => t.value === i);
|
|
3
|
+
}
|
|
4
|
+
function n(i) {
|
|
5
|
+
return typeof i.hasAttribute == "function" && i.hasAttribute("data-skip");
|
|
6
|
+
}
|
|
7
|
+
function r(i) {
|
|
8
|
+
return i.nodeName === "OPTION" || i.nodeName === "DATA";
|
|
9
|
+
}
|
|
10
|
+
function u(i, s) {
|
|
11
|
+
return i.nodeType === Node.ELEMENT_NODE && !d(i, s);
|
|
12
|
+
}
|
|
13
|
+
function a(i) {
|
|
14
|
+
var s;
|
|
15
|
+
return i.nodeType === Node.TEXT_NODE && ((s = i.nodeValue) == null ? void 0 : s.trim()) !== "";
|
|
16
|
+
}
|
|
17
|
+
class f {
|
|
18
|
+
constructor(s, ...t) {
|
|
19
|
+
this.nodes = [], this.filledSlots = /* @__PURE__ */ new Set(), this.skipOptions = !1, this.updatingSlots = !1, this.host = s, this.host.addController(this), this.slots = t, this.nodes = [], this.observer = new MutationObserver((o) => this.handleMutations(o)), this.contentObserver = new MutationObserver((o) => this.handleSlotMutations(o));
|
|
20
|
+
}
|
|
21
|
+
hostConnected() {
|
|
22
|
+
this.updateNodes(), this.observer.observe(this.host, { childList: !0 }), this.contentObserver.observe(this.host, { childList: !0, subtree: !0 });
|
|
23
|
+
}
|
|
24
|
+
hostDisconnected() {
|
|
25
|
+
this.observer.disconnect(), this.contentObserver.disconnect();
|
|
26
|
+
}
|
|
27
|
+
hostUpdated() {
|
|
28
|
+
this.updateSlots();
|
|
29
|
+
}
|
|
30
|
+
updateNodes() {
|
|
31
|
+
this.nodes = [], Array.from(this.host.childNodes).forEach((t) => {
|
|
32
|
+
n(t) || r(t) && this.skipOptions || (!d(t, this.slots) || a(t)) && this.nodes.push(t);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
updateSlots() {
|
|
36
|
+
if (this.updatingSlots) return;
|
|
37
|
+
this.updatingSlots = !0;
|
|
38
|
+
const s = /* @__PURE__ */ new Set();
|
|
39
|
+
this.slots.forEach((t) => {
|
|
40
|
+
if (!t.value) return;
|
|
41
|
+
const o = t.value.getAttribute("name"), h = this.nodes.flatMap(
|
|
42
|
+
(l) => a(l) || l.getAttribute && l.getAttribute("slot") == o && !n(l) ? l : []
|
|
43
|
+
).filter(
|
|
44
|
+
(l) => t.value && !t.value.contains(l) && !l.contains(t.value)
|
|
45
|
+
);
|
|
46
|
+
if (h.length > 0)
|
|
47
|
+
if (s.add(o), typeof t.value.replaceChildren != "function") {
|
|
48
|
+
for (; t.value.firstChild; )
|
|
49
|
+
t.value.removeChild(t.value.firstChild);
|
|
50
|
+
t.value.append(...h);
|
|
51
|
+
} else
|
|
52
|
+
t.value.replaceChildren(...h);
|
|
53
|
+
}), (this.filledSlots.size !== s.size || ![...this.filledSlots].every((t) => s.has(t))) && (this.filledSlots = s, this.host.requestUpdate()), this.updatingSlots = !1;
|
|
54
|
+
}
|
|
55
|
+
handleMutations(s) {
|
|
56
|
+
let t = !1;
|
|
57
|
+
s.forEach((o) => {
|
|
58
|
+
o.type === "childList" && (o.addedNodes.forEach((e) => {
|
|
59
|
+
n(e) || r(e) && this.skipOptions || (u(e, this.slots) || a(e)) && (this.nodes.push(e), t = !0);
|
|
60
|
+
}), o.removedNodes.forEach((e) => {
|
|
61
|
+
n(e) || r(e) && this.skipOptions || (this.nodes = this.nodes.filter((h) => h !== e), t = !0);
|
|
62
|
+
}));
|
|
63
|
+
}), t && this.updateSlots();
|
|
64
|
+
}
|
|
65
|
+
handleSlotMutations(s) {
|
|
66
|
+
let t = !1;
|
|
67
|
+
s.forEach((o) => {
|
|
68
|
+
const e = o.target.parentElement;
|
|
69
|
+
if (e != null && e.hasAttribute("slot")) {
|
|
70
|
+
const h = e.getAttribute("slot"), l = e.hasChildNodes();
|
|
71
|
+
l && !this.filledSlots.has(h) ? (this.filledSlots.add(h), t = !0) : !l && this.filledSlots.has(h) && (this.filledSlots.delete(h), t = !0);
|
|
72
|
+
}
|
|
73
|
+
}), t && typeof this.host.updateSlots == "function" && this.host.updateSlots(this.filledSlots);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export {
|
|
77
|
+
f as P,
|
|
78
|
+
r as i
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function a(i,s){return s.some(t=>t.value===i)}function n(i){return typeof i.hasAttribute=="function"&&i.hasAttribute("data-skip")}function r(i){return i.nodeName==="OPTION"||i.nodeName==="DATA"}function u(i,s){return i.nodeType===Node.ELEMENT_NODE&&!a(i,s)}function d(i){var s;return i.nodeType===Node.TEXT_NODE&&((s=i.nodeValue)==null?void 0:s.trim())!==""}class f{constructor(s,...t){this.nodes=[],this.filledSlots=new Set,this.skipOptions=!1,this.updatingSlots=!1,this.host=s,this.host.addController(this),this.slots=t,this.nodes=[],this.observer=new MutationObserver(o=>this.handleMutations(o)),this.contentObserver=new MutationObserver(o=>this.handleSlotMutations(o))}hostConnected(){this.updateNodes(),this.observer.observe(this.host,{childList:!0}),this.contentObserver.observe(this.host,{childList:!0,subtree:!0})}hostDisconnected(){this.observer.disconnect(),this.contentObserver.disconnect()}hostUpdated(){this.updateSlots()}updateNodes(){this.nodes=[],Array.from(this.host.childNodes).forEach(t=>{n(t)||r(t)&&this.skipOptions||(!a(t,this.slots)||d(t))&&this.nodes.push(t)})}updateSlots(){if(this.updatingSlots)return;this.updatingSlots=!0;const s=new Set;this.slots.forEach(t=>{if(!t.value)return;const o=t.value.getAttribute("name"),h=this.nodes.flatMap(l=>d(l)||l.getAttribute&&l.getAttribute("slot")==o&&!n(l)?l:[]).filter(l=>t.value&&!t.value.contains(l)&&!l.contains(t.value));if(h.length>0)if(s.add(o),typeof t.value.replaceChildren!="function"){for(;t.value.firstChild;)t.value.removeChild(t.value.firstChild);t.value.append(...h)}else t.value.replaceChildren(...h)}),(this.filledSlots.size!==s.size||![...this.filledSlots].every(t=>s.has(t)))&&(this.filledSlots=s,this.host.requestUpdate()),this.updatingSlots=!1}handleMutations(s){let t=!1;s.forEach(o=>{o.type==="childList"&&(o.addedNodes.forEach(e=>{n(e)||r(e)&&this.skipOptions||(u(e,this.slots)||d(e))&&(this.nodes.push(e),t=!0)}),o.removedNodes.forEach(e=>{n(e)||r(e)&&this.skipOptions||(this.nodes=this.nodes.filter(h=>h!==e),t=!0)}))}),t&&this.updateSlots()}handleSlotMutations(s){let t=!1;s.forEach(o=>{const e=o.target.parentElement;if(e!=null&&e.hasAttribute("slot")){const h=e.getAttribute("slot"),l=e.hasChildNodes();l&&!this.filledSlots.has(h)?(this.filledSlots.add(h),t=!0):!l&&this.filledSlots.has(h)&&(this.filledSlots.delete(h),t=!0)}}),t&&typeof this.host.updateSlots=="function"&&this.host.updateSlots(this.filledSlots)}}exports.PktSlotController=f;exports.isOptionElement=r;
|
package/dist/pkt-tag.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./tag-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./tag-C52KeBmR.cjs"),t=e.PktTag;Object.defineProperty(exports,"PktTag",{enumerable:!0,get:()=>e.PktTag});exports.default=t;
|
package/dist/pkt-tag.js
CHANGED
package/dist/pkt-textarea.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textarea-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textarea-DJvNBmEL.cjs"),t=e.PktTextarea;Object.defineProperty(exports,"PktTextarea",{enumerable:!0,get:()=>e.PktTextarea});exports.default=t;
|
package/dist/pkt-textarea.js
CHANGED
package/dist/pkt-textinput.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textinput-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textinput-Cg3ObBuw.cjs"),t=e.PktTextinput;Object.defineProperty(exports,"PktTextinput",{enumerable:!0,get:()=>e.PktTextinput});exports.default=t;
|
package/dist/pkt-textinput.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { e as n } from "./class-map-
|
|
2
|
-
import { T as g, P as _,
|
|
3
|
-
import { r as h } from "./state-
|
|
4
|
-
import { e as y, n as A } from "./ref-
|
|
5
|
-
import { e as x, i as T, t as k } from "./directive-
|
|
1
|
+
import { e as n } from "./class-map-D4tSZX70.js";
|
|
2
|
+
import { T as g, P as _, E as c, x as b, n as u, a as $ } from "./element-DiqKrDty.js";
|
|
3
|
+
import { r as h } from "./state-CDwPbiQj.js";
|
|
4
|
+
import { e as y, n as A } from "./ref-B70YZNXm.js";
|
|
5
|
+
import { e as x, i as T, t as k } from "./directive-oAbCiebi.js";
|
|
6
6
|
import { u as d } from "./stringutils-DJjRa8dG.js";
|
|
7
|
-
import "./icon-
|
|
7
|
+
import "./icon-BdY52BIt.js";
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2018 Google LLC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("./class-map-
|
|
1
|
+
"use strict";const n=require("./class-map-DvBKxTiW.cjs"),e=require("./element-DJpGVXjq.cjs"),p=require("./state-C4LdlTYO.cjs"),h=require("./ref-CLqTsViF.cjs"),b=require("./directive-C7oCP5Bh.cjs"),d=require("./stringutils-CkVRq4jP.cjs");require("./icon-UtDKPH3R.cjs");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2018 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
package/dist/progressbar.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
export { }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Pkt Select is a wrapper for the native select element using the pkt-input-wrapper component.
|
|
6
|
-
*
|
|
7
|
-
* The component will prioritize options passed as a prop over options passed as children if both are provided.
|
|
8
|
-
* This is to allow for dynamic options that might change in the case of both children/slot and props are provided.
|
|
9
|
-
*
|
|
10
|
-
* @slot (default) - Options to be rendered as children
|
|
11
|
-
* @prop {TSelectOption[]} options - Options to be rendered as children
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
4
|
declare global {
|
|
16
5
|
interface HTMLElementTagNameMap {
|
|
17
|
-
'pkt-
|
|
6
|
+
'pkt-combobox': PktCombobox & HTMLSelectElement;
|
|
18
7
|
}
|
|
19
8
|
}
|
|
20
9
|
|
|
21
10
|
|
|
22
11
|
declare global {
|
|
23
12
|
interface HTMLElementTagNameMap {
|
|
24
|
-
'pkt-
|
|
13
|
+
'pkt-icon': PktIcon;
|
|
25
14
|
}
|
|
26
15
|
}
|
|
27
16
|
|
|
28
17
|
|
|
29
18
|
declare global {
|
|
30
19
|
interface HTMLElementTagNameMap {
|
|
31
|
-
'pkt-
|
|
20
|
+
'pkt-listbox': PktListbox;
|
|
32
21
|
}
|
|
33
22
|
}
|
|
34
23
|
|
|
35
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Pkt Select is a wrapper for the native select element using the pkt-input-wrapper component.
|
|
27
|
+
*
|
|
28
|
+
* The component will prioritize options passed as a prop over options passed as children if both are provided.
|
|
29
|
+
* This is to allow for dynamic options that might change in the case of both children/slot and props are provided.
|
|
30
|
+
*
|
|
31
|
+
* @slot (default) - Options to be rendered as children
|
|
32
|
+
* @prop {TSelectOption[]} options - Options to be rendered as children
|
|
33
|
+
*
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
36
|
declare global {
|
|
37
37
|
interface HTMLElementTagNameMap {
|
|
38
|
-
'pkt-
|
|
38
|
+
'pkt-select': PktSelect & HTMLSelectElement;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|