@oslokommune/punkt-elements 12.40.5 → 12.40.6

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.
Files changed (129) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{accordionitem-vmwqD9rr.js → accordionitem-DkE9or0K.js} +3 -3
  3. package/dist/{accordionitem-RFwXQC_0.cjs → accordionitem-Dz6jwPpb.cjs} +1 -1
  4. package/dist/{alert-C33z1kBf.js → alert-CoGYPbs-.js} +5 -5
  5. package/dist/{alert-C2EPmB0W.cjs → alert-D2PhTV94.cjs} +1 -1
  6. package/dist/{backlink-hvyJmwrO.js → backlink-BnlrDl9O.js} +2 -2
  7. package/dist/{backlink-HHM21crL.cjs → backlink-CcAZfB1d.cjs} +1 -1
  8. package/dist/{button-C60j8BsA.cjs → button-D_yRZQCa.cjs} +1 -1
  9. package/dist/{button-BCCtR9ff.js → button-o5SOFZKg.js} +2 -2
  10. package/dist/{calendar-CYY42kN4.cjs → calendar-BDeaGBaH.cjs} +1 -1
  11. package/dist/{calendar-KDcOWD6V.js → calendar-Beno8yU7.js} +4 -4
  12. package/dist/{card-Vy3_XLAy.js → card-BxHlJq4J.js} +6 -6
  13. package/dist/{card-CibYYPmF.cjs → card-CmdIb2X9.cjs} +1 -1
  14. package/dist/{checkbox-D5fSFvhs.js → checkbox-CtM5Hr2H.js} +4 -4
  15. package/dist/{checkbox-7ct89AUo.cjs → checkbox-Dqd2_fcU.cjs} +1 -1
  16. package/dist/{class-map-DCyaICmy.cjs → class-map-DWDPOqjO.cjs} +1 -1
  17. package/dist/{class-map-KyMqi0fa.js → class-map-m7ZCZ49w.js} +1 -1
  18. package/dist/{combobox-DewmPXyJ.js → combobox-Ct7-a2Vy.js} +31 -31
  19. package/dist/{combobox-dwkB9Yv_.cjs → combobox-lds6Lryq.cjs} +7 -7
  20. package/dist/{consent-1ZSUrWK9.cjs → consent-CVMm8lGt.cjs} +1 -1
  21. package/dist/{consent-c6eWVBWx.js → consent-DZ_-dQle.js} +3 -3
  22. package/dist/{datepicker-CISpFZSs.js → datepicker-D6gkp_6p.js} +11 -11
  23. package/dist/{datepicker-BDnncwne.cjs → datepicker-DpQV8G6g.cjs} +1 -1
  24. package/dist/{directive-helpers-8uS_Izwn.js → directive-helpers--4ibN__v.js} +1 -1
  25. package/dist/{directive-helpers-CG7Oxal3.cjs → directive-helpers-v9b0v7lu.cjs} +1 -1
  26. package/dist/{element-BSypUpzA.cjs → element-90YeMNbV.cjs} +35 -35
  27. package/dist/{element-DjjF_tEh.js → element-gAd63VwC.js} +629 -627
  28. package/dist/{heading-DNLQdsXY.js → heading-Bxonbv8M.js} +3 -3
  29. package/dist/{heading-BnJhJDMD.cjs → heading-CxJ0IqpU.cjs} +1 -1
  30. package/dist/{helptext-bMgnhZ1R.cjs → helptext-AqNI_oFG.cjs} +1 -1
  31. package/dist/{helptext-DcSUjjEq.js → helptext-DBearL3P.js} +5 -5
  32. package/dist/{icon-BnKGwYjj.cjs → icon-B1_BRNqf.cjs} +1 -1
  33. package/dist/{icon-Beoxup8E.js → icon-CO1TLSs5.js} +1 -1
  34. package/dist/{if-defined-a3sotaUr.cjs → if-defined-C8eotHpL.cjs} +1 -1
  35. package/dist/{if-defined-BErSJCeJ.js → if-defined-Cj-3Kdsr.js} +1 -1
  36. package/dist/index.d.ts +1 -0
  37. package/dist/{input-element-B2GjFOXX.js → input-element-BEvaQK4g.js} +30 -27
  38. package/dist/input-element-CInrWeac.cjs +1 -0
  39. package/dist/{input-wrapper-B-f_SotM.cjs → input-wrapper-B_TtkGqo.cjs} +1 -1
  40. package/dist/{input-wrapper-BdeoMGnk.js → input-wrapper-CDgnd3WJ.js} +6 -6
  41. package/dist/{link-nesPZCIx.cjs → link-BWJrqWi7.cjs} +1 -1
  42. package/dist/{link-DCYJhFKJ.js → link-Qj1bJCPw.js} +4 -4
  43. package/dist/{linkcard-s9yoOq90.cjs → linkcard-0KLDuaGM.cjs} +1 -1
  44. package/dist/{linkcard-Bt-Qa_SP.js → linkcard-Byt10fUI.js} +3 -3
  45. package/dist/{listbox-DqpGh7eq.cjs → listbox-AjDNhDsQ.cjs} +1 -1
  46. package/dist/{listbox-C1oYnM-t.js → listbox-DCWdrjFp.js} +5 -5
  47. package/dist/{loader-ndMy12Pb.cjs → loader--5h6NKGl.cjs} +1 -1
  48. package/dist/{loader-DhmtCyQA.js → loader-xkMMWgaj.js} +5 -5
  49. package/dist/{messagebox-DZDP8XZt.js → messagebox-BLTBG8nD.js} +5 -5
  50. package/dist/{messagebox-B0kgftoP.cjs → messagebox-IJOkv427.cjs} +1 -1
  51. package/dist/{modal-nU8cELiR.js → modal-C6ljjVs6.js} +5 -5
  52. package/dist/{modal-C8GbUY8p.cjs → modal-CBURcXBd.cjs} +1 -1
  53. package/dist/pkt-accordion.cjs +1 -1
  54. package/dist/pkt-accordion.js +2 -2
  55. package/dist/pkt-alert.cjs +1 -1
  56. package/dist/pkt-alert.js +1 -1
  57. package/dist/pkt-backlink.cjs +1 -1
  58. package/dist/pkt-backlink.js +1 -1
  59. package/dist/pkt-button.cjs +1 -1
  60. package/dist/pkt-button.js +1 -1
  61. package/dist/pkt-calendar.cjs +1 -1
  62. package/dist/pkt-calendar.js +1 -1
  63. package/dist/pkt-card.cjs +1 -1
  64. package/dist/pkt-card.js +1 -1
  65. package/dist/pkt-checkbox.cjs +1 -1
  66. package/dist/pkt-checkbox.js +1 -1
  67. package/dist/pkt-combobox.cjs +1 -1
  68. package/dist/pkt-combobox.js +1 -1
  69. package/dist/pkt-consent.cjs +1 -1
  70. package/dist/pkt-consent.js +1 -1
  71. package/dist/pkt-datepicker.cjs +1 -1
  72. package/dist/pkt-datepicker.js +1 -1
  73. package/dist/pkt-heading.cjs +1 -1
  74. package/dist/pkt-heading.js +1 -1
  75. package/dist/pkt-helptext.cjs +1 -1
  76. package/dist/pkt-helptext.js +1 -1
  77. package/dist/pkt-icon.cjs +1 -1
  78. package/dist/pkt-icon.js +1 -1
  79. package/dist/pkt-index.cjs +1 -1
  80. package/dist/pkt-index.js +29 -29
  81. package/dist/pkt-input-wrapper.cjs +1 -1
  82. package/dist/pkt-input-wrapper.js +1 -1
  83. package/dist/pkt-link.cjs +1 -1
  84. package/dist/pkt-link.js +1 -1
  85. package/dist/pkt-linkcard.cjs +1 -1
  86. package/dist/pkt-linkcard.js +1 -1
  87. package/dist/pkt-listbox.cjs +1 -1
  88. package/dist/pkt-listbox.js +1 -1
  89. package/dist/pkt-loader.cjs +1 -1
  90. package/dist/pkt-loader.js +1 -1
  91. package/dist/pkt-messagebox.cjs +1 -1
  92. package/dist/pkt-messagebox.js +1 -1
  93. package/dist/pkt-modal.cjs +1 -1
  94. package/dist/pkt-modal.js +1 -1
  95. package/dist/pkt-progressbar.cjs +1 -1
  96. package/dist/pkt-progressbar.js +2 -2
  97. package/dist/pkt-radiobutton.cjs +1 -1
  98. package/dist/pkt-radiobutton.js +1 -1
  99. package/dist/pkt-select.cjs +1 -1
  100. package/dist/pkt-select.js +1 -1
  101. package/dist/pkt-tag.cjs +1 -1
  102. package/dist/pkt-tag.js +1 -1
  103. package/dist/pkt-textarea.cjs +1 -1
  104. package/dist/pkt-textarea.js +1 -1
  105. package/dist/pkt-textinput.cjs +1 -1
  106. package/dist/pkt-textinput.js +1 -1
  107. package/dist/{progressbar-BKt_aj7f.js → progressbar-BSO0KWzv.js} +5 -5
  108. package/dist/{progressbar-DiRfScnB.cjs → progressbar-BrXtjUvh.cjs} +1 -1
  109. package/dist/{radiobutton-DGWTMdAZ.cjs → radiobutton-C7tqzN0V.cjs} +1 -1
  110. package/dist/{radiobutton-CET0zjgD.js → radiobutton-CxEBrLss.js} +5 -5
  111. package/dist/{ref-BvbyvXRH.cjs → ref-B-w1vCo8.cjs} +1 -1
  112. package/dist/{ref-iIffqQAI.js → ref-DnSbnXsj.js} +2 -2
  113. package/dist/{repeat-BnuruAat.cjs → repeat-CxQA3AeF.cjs} +1 -1
  114. package/dist/{repeat-D4kMediE.js → repeat-lUFq9w5d.js} +2 -2
  115. package/dist/{select-ChpPtH7u.cjs → select-BUvu5SFp.cjs} +1 -1
  116. package/dist/{select-C2Lr2fdU.js → select-BVBllbIG.js} +7 -7
  117. package/dist/{state-BtbpSrdV.js → state-BxrO4zNJ.js} +1 -1
  118. package/dist/{state-B5KCNjEd.cjs → state-D-Recv7U.cjs} +1 -1
  119. package/dist/{tag-Cu8afZy8.js → tag-CX-zbR-7.js} +6 -6
  120. package/dist/{tag-B9kFYxHg.cjs → tag-lU4vz70a.cjs} +1 -1
  121. package/dist/{textarea-l10XGym1.js → textarea-CmXiVLbl.js} +9 -9
  122. package/dist/{textarea-yUzqcBYY.cjs → textarea-j8kBS-hf.cjs} +1 -1
  123. package/dist/{textinput-B1n0gFaS.js → textinput-LLaLZX3h.js} +19 -16
  124. package/dist/{textinput-8mT0npMY.cjs → textinput-kmcj-FlC.cjs} +9 -6
  125. package/package.json +2 -2
  126. package/src/components/combobox/combobox.ts +4 -3
  127. package/src/components/select/select.ts +1 -2
  128. package/src/components/textinput/textinput.ts +3 -0
  129. package/dist/input-element-DK0UmdGZ.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-bMgnhZ1R.cjs"),t=e.PktHelptext;Object.defineProperty(exports,"PktHelptext",{enumerable:!0,get:()=>e.PktHelptext});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-AqNI_oFG.cjs"),t=e.PktHelptext;Object.defineProperty(exports,"PktHelptext",{enumerable:!0,get:()=>e.PktHelptext});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as t } from "./helptext-DcSUjjEq.js";
1
+ import { P as t } from "./helptext-DBearL3P.js";
2
2
  const p = t;
3
3
  export {
4
4
  t as PktHelptext,
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-BnKGwYjj.cjs"),t=e.PktIcon;Object.defineProperty(exports,"PktIcon",{enumerable:!0,get:()=>e.PktIcon});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./icon-B1_BRNqf.cjs"),t=e.PktIcon;Object.defineProperty(exports,"PktIcon",{enumerable:!0,get:()=>e.PktIcon});exports.default=t;
package/dist/pkt-icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as o } from "./icon-Beoxup8E.js";
1
+ import { P as o } from "./icon-CO1TLSs5.js";
2
2
  const a = o;
3
3
  export {
4
4
  o as PktIcon,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./alert-C2EPmB0W.cjs"),l=require("./accordionitem-RFwXQC_0.cjs"),d=require("./backlink-HHM21crL.cjs"),b=require("./button-C60j8BsA.cjs"),k=require("./calendar-CYY42kN4.cjs"),m=require("./card-CibYYPmF.cjs"),g=require("./combobox-dwkB9Yv_.cjs"),h=require("./consent-1ZSUrWK9.cjs"),f=require("./checkbox-7ct89AUo.cjs"),t=require("./element-BSypUpzA.cjs"),y=require("./pkt-slot-controller-Da-RgXfS.cjs"),s=require("./ref-BvbyvXRH.cjs"),O=require("./class-map-DCyaICmy.cjs"),j=require("./datepicker-BDnncwne.cjs"),q=require("./helptext-bMgnhZ1R.cjs"),x=require("./heading-BnJhJDMD.cjs"),C=require("./icon-BnKGwYjj.cjs"),v=require("./input-wrapper-B-f_SotM.cjs"),S=require("./link-nesPZCIx.cjs"),$=require("./linkcard-s9yoOq90.cjs"),L=require("./loader-ndMy12Pb.cjs"),_=require("./messagebox-B0kgftoP.cjs"),A=require("./modal-C8GbUY8p.cjs"),B=require("./progressbar-DiRfScnB.cjs"),p=require("./radiobutton-DGWTMdAZ.cjs"),T=require("./tag-B9kFYxHg.cjs"),I=require("./textarea-yUzqcBYY.cjs"),M=require("./textinput-8mT0npMY.cjs"),R=require("./select-ChpPtH7u.cjs");var H=Object.defineProperty,w=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var n=i>1?void 0:i?w(e,r):e,u=a.length-1,c;u>=0;u--)(c=a[u])&&(n=(i?c(e,r,n):c(n))||n);return i&&n&&H(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 y.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`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./alert-D2PhTV94.cjs"),l=require("./accordionitem-Dz6jwPpb.cjs"),d=require("./backlink-CcAZfB1d.cjs"),b=require("./button-D_yRZQCa.cjs"),k=require("./calendar-BDeaGBaH.cjs"),m=require("./card-CmdIb2X9.cjs"),g=require("./combobox-lds6Lryq.cjs"),h=require("./consent-CVMm8lGt.cjs"),f=require("./checkbox-Dqd2_fcU.cjs"),t=require("./element-90YeMNbV.cjs"),y=require("./pkt-slot-controller-Da-RgXfS.cjs"),s=require("./ref-B-w1vCo8.cjs"),O=require("./class-map-DWDPOqjO.cjs"),j=require("./datepicker-DpQV8G6g.cjs"),q=require("./helptext-AqNI_oFG.cjs"),x=require("./heading-CxJ0IqpU.cjs"),C=require("./icon-B1_BRNqf.cjs"),v=require("./input-wrapper-B_TtkGqo.cjs"),S=require("./link-BWJrqWi7.cjs"),$=require("./linkcard-0KLDuaGM.cjs"),L=require("./loader--5h6NKGl.cjs"),_=require("./messagebox-IJOkv427.cjs"),A=require("./modal-CBURcXBd.cjs"),B=require("./progressbar-BrXtjUvh.cjs"),p=require("./radiobutton-C7tqzN0V.cjs"),T=require("./tag-lU4vz70a.cjs"),I=require("./textarea-j8kBS-hf.cjs"),M=require("./textinput-kmcj-FlC.cjs"),R=require("./select-BUvu5SFp.cjs");var H=Object.defineProperty,w=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var n=i>1?void 0:i?w(e,r):e,u=a.length-1,c;u>=0;u--)(c=a[u])&&(n=(i?c(e,r,n):c(n))||n);return i&&n&&H(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 y.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="${O.e(e)}">
3
3
  <h1 class="pkt-txt-28">${this.string}</h1>
4
4
 
package/dist/pkt-index.js CHANGED
@@ -1,33 +1,33 @@
1
- import { P as A } from "./alert-C33z1kBf.js";
2
- import { P as B, a as E } from "./accordionitem-vmwqD9rr.js";
3
- import { P as O } from "./backlink-hvyJmwrO.js";
4
- import { P as T } from "./button-BCCtR9ff.js";
5
- import { c as f } from "./calendar-KDcOWD6V.js";
6
- import { P as D } from "./calendar-KDcOWD6V.js";
7
- import { P as G } from "./card-Vy3_XLAy.js";
8
- import { P as K } from "./combobox-DewmPXyJ.js";
9
- import { P as U } from "./consent-c6eWVBWx.js";
10
- import { P as q } from "./checkbox-D5fSFvhs.js";
11
- import { P as k, t as h, x as P, n, a as c } from "./element-DjjF_tEh.js";
1
+ import { P as A } from "./alert-CoGYPbs-.js";
2
+ import { P as B, a as E } from "./accordionitem-DkE9or0K.js";
3
+ import { P as O } from "./backlink-BnlrDl9O.js";
4
+ import { P as T } from "./button-o5SOFZKg.js";
5
+ import { c as f } from "./calendar-Beno8yU7.js";
6
+ import { P as D } from "./calendar-Beno8yU7.js";
7
+ import { P as G } from "./card-BxHlJq4J.js";
8
+ import { P as K } from "./combobox-Ct7-a2Vy.js";
9
+ import { P as U } from "./consent-DZ_-dQle.js";
10
+ import { P as q } from "./checkbox-CtM5Hr2H.js";
11
+ import { P as k, t as h, x as P, n, a as c } from "./element-gAd63VwC.js";
12
12
  import { P as x } from "./pkt-slot-controller-DtDaD9q_.js";
13
- import { e as m, n as d } from "./ref-iIffqQAI.js";
14
- import { e as u } from "./class-map-KyMqi0fa.js";
15
- import { P as F } from "./datepicker-CISpFZSs.js";
16
- import { P as Q } from "./helptext-DcSUjjEq.js";
17
- import { P as X } from "./heading-DNLQdsXY.js";
18
- import { P as Z } from "./icon-Beoxup8E.js";
19
- import { P as et } from "./input-wrapper-BdeoMGnk.js";
20
- import { P as ot } from "./link-DCYJhFKJ.js";
21
- import { P as at } from "./linkcard-Bt-Qa_SP.js";
22
- import { P as it } from "./loader-DhmtCyQA.js";
23
- import { P as lt } from "./messagebox-DZDP8XZt.js";
24
- import { P as mt } from "./modal-nU8cELiR.js";
25
- import { P as ft } from "./progressbar-BKt_aj7f.js";
26
- import { P as ht, P as ct } from "./radiobutton-CET0zjgD.js";
27
- import { P as ut } from "./tag-Cu8afZy8.js";
28
- import { P as vt } from "./textarea-l10XGym1.js";
29
- import { P as bt } from "./textinput-B1n0gFaS.js";
30
- import { P as $t } from "./select-C2Lr2fdU.js";
13
+ import { e as m, n as d } from "./ref-DnSbnXsj.js";
14
+ import { e as u } from "./class-map-m7ZCZ49w.js";
15
+ import { P as F } from "./datepicker-D6gkp_6p.js";
16
+ import { P as Q } from "./helptext-DBearL3P.js";
17
+ import { P as X } from "./heading-Bxonbv8M.js";
18
+ import { P as Z } from "./icon-CO1TLSs5.js";
19
+ import { P as et } from "./input-wrapper-CDgnd3WJ.js";
20
+ import { P as ot } from "./link-Qj1bJCPw.js";
21
+ import { P as at } from "./linkcard-Byt10fUI.js";
22
+ import { P as it } from "./loader-xkMMWgaj.js";
23
+ import { P as lt } from "./messagebox-BLTBG8nD.js";
24
+ import { P as mt } from "./modal-C6ljjVs6.js";
25
+ import { P as ft } from "./progressbar-BSO0KWzv.js";
26
+ import { P as ht, P as ct } from "./radiobutton-CxEBrLss.js";
27
+ import { P as ut } from "./tag-CX-zbR-7.js";
28
+ import { P as vt } from "./textarea-CmXiVLbl.js";
29
+ import { P as bt } from "./textinput-LLaLZX3h.js";
30
+ import { P as $t } from "./select-BVBllbIG.js";
31
31
  var g = Object.defineProperty, v = Object.getOwnPropertyDescriptor, s = (t, e, i, a) => {
32
32
  for (var r = a > 1 ? void 0 : a ? v(e, i) : e, p = t.length - 1, l; p >= 0; p--)
33
33
  (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-B-f_SotM.cjs"),t=e.PktInputWrapper;Object.defineProperty(exports,"PktInputWrapper",{enumerable:!0,get:()=>e.PktInputWrapper});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./input-wrapper-B_TtkGqo.cjs"),t=e.PktInputWrapper;Object.defineProperty(exports,"PktInputWrapper",{enumerable:!0,get:()=>e.PktInputWrapper});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as p } from "./input-wrapper-BdeoMGnk.js";
1
+ import { P as p } from "./input-wrapper-CDgnd3WJ.js";
2
2
  const r = p;
3
3
  export {
4
4
  p as PktInputWrapper,
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-nesPZCIx.cjs"),t=e.PktLink;Object.defineProperty(exports,"PktLink",{enumerable:!0,get:()=>e.PktLink});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./link-BWJrqWi7.cjs"),t=e.PktLink;Object.defineProperty(exports,"PktLink",{enumerable:!0,get:()=>e.PktLink});exports.default=t;
package/dist/pkt-link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as t } from "./link-DCYJhFKJ.js";
1
+ import { P as t } from "./link-Qj1bJCPw.js";
2
2
  const a = t;
3
3
  export {
4
4
  t as PktLink,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./linkcard-s9yoOq90.cjs"),t=e.PktLinkCard;Object.defineProperty(exports,"PktLinkCard",{enumerable:!0,get:()=>e.PktLinkCard});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./linkcard-0KLDuaGM.cjs"),t=e.PktLinkCard;Object.defineProperty(exports,"PktLinkCard",{enumerable:!0,get:()=>e.PktLinkCard});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as a } from "./linkcard-Bt-Qa_SP.js";
1
+ import { P as a } from "./linkcard-Byt10fUI.js";
2
2
  const k = a;
3
3
  export {
4
4
  a as PktLinkCard,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./listbox-DqpGh7eq.cjs"),t=e.PktListbox;Object.defineProperty(exports,"PktListbox",{enumerable:!0,get:()=>e.PktListbox});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./listbox-AjDNhDsQ.cjs"),t=e.PktListbox;Object.defineProperty(exports,"PktListbox",{enumerable:!0,get:()=>e.PktListbox});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as t } from "./listbox-C1oYnM-t.js";
1
+ import { P as t } from "./listbox-DCWdrjFp.js";
2
2
  const s = t;
3
3
  export {
4
4
  t as PktListbox,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./loader-ndMy12Pb.cjs"),t=e.PktLoader;Object.defineProperty(exports,"PktLoader",{enumerable:!0,get:()=>e.PktLoader});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./loader--5h6NKGl.cjs"),t=e.PktLoader;Object.defineProperty(exports,"PktLoader",{enumerable:!0,get:()=>e.PktLoader});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as a } from "./loader-DhmtCyQA.js";
1
+ import { P as a } from "./loader-xkMMWgaj.js";
2
2
  const t = a;
3
3
  export {
4
4
  a as PktLoader,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./messagebox-B0kgftoP.cjs"),t=e.PktMessagebox;Object.defineProperty(exports,"PktMessagebox",{enumerable:!0,get:()=>e.PktMessagebox});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./messagebox-IJOkv427.cjs"),t=e.PktMessagebox;Object.defineProperty(exports,"PktMessagebox",{enumerable:!0,get:()=>e.PktMessagebox});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as s } from "./messagebox-DZDP8XZt.js";
1
+ import { P as s } from "./messagebox-BLTBG8nD.js";
2
2
  const a = s;
3
3
  export {
4
4
  s as PktMessagebox,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./modal-C8GbUY8p.cjs"),t=e.PktModal;Object.defineProperty(exports,"PktModal",{enumerable:!0,get:()=>e.PktModal});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./modal-CBURcXBd.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 { P as a } from "./modal-nU8cELiR.js";
1
+ import { P as a } from "./modal-C6ljjVs6.js";
2
2
  const t = a;
3
3
  export {
4
4
  a as PktModal,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./progressbar-DiRfScnB.cjs");Object.defineProperty(exports,"PktProgressbar",{enumerable:!0,get:()=>e.PktProgressbar});exports.default=e.PktProgressbar$1;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./progressbar-BrXtjUvh.cjs");Object.defineProperty(exports,"PktProgressbar",{enumerable:!0,get:()=>e.PktProgressbar});exports.default=e.PktProgressbar$1;
@@ -1,5 +1,5 @@
1
- import { a } from "./progressbar-BKt_aj7f.js";
2
- import { P as t } from "./progressbar-BKt_aj7f.js";
1
+ import { a } from "./progressbar-BSO0KWzv.js";
2
+ import { P as t } from "./progressbar-BSO0KWzv.js";
3
3
  export {
4
4
  t as PktProgressbar,
5
5
  a as default
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./radiobutton-DGWTMdAZ.cjs"),e=t.PktRadioButton;Object.defineProperty(exports,"PktRadioButton",{enumerable:!0,get:()=>t.PktRadioButton});exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./radiobutton-C7tqzN0V.cjs"),e=t.PktRadioButton;Object.defineProperty(exports,"PktRadioButton",{enumerable:!0,get:()=>t.PktRadioButton});exports.default=e;
@@ -1,4 +1,4 @@
1
- import { P as t } from "./radiobutton-CET0zjgD.js";
1
+ import { P as t } from "./radiobutton-CxEBrLss.js";
2
2
  const a = t;
3
3
  export {
4
4
  t as PktRadioButton,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select-ChpPtH7u.cjs"),t=e.PktSelect;Object.defineProperty(exports,"PktSelect",{enumerable:!0,get:()=>e.PktSelect});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select-BUvu5SFp.cjs"),t=e.PktSelect;Object.defineProperty(exports,"PktSelect",{enumerable:!0,get:()=>e.PktSelect});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as t } from "./select-C2Lr2fdU.js";
1
+ import { P as t } from "./select-BVBllbIG.js";
2
2
  const a = t;
3
3
  export {
4
4
  t as PktSelect,
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-B9kFYxHg.cjs"),t=e.PktTag;Object.defineProperty(exports,"PktTag",{enumerable:!0,get:()=>e.PktTag});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./tag-lU4vz70a.cjs"),t=e.PktTag;Object.defineProperty(exports,"PktTag",{enumerable:!0,get:()=>e.PktTag});exports.default=t;
package/dist/pkt-tag.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as a } from "./tag-Cu8afZy8.js";
1
+ import { P as a } from "./tag-CX-zbR-7.js";
2
2
  const o = a;
3
3
  export {
4
4
  a as PktTag,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textarea-yUzqcBYY.cjs"),t=e.PktTextarea;Object.defineProperty(exports,"PktTextarea",{enumerable:!0,get:()=>e.PktTextarea});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textarea-j8kBS-hf.cjs"),t=e.PktTextarea;Object.defineProperty(exports,"PktTextarea",{enumerable:!0,get:()=>e.PktTextarea});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as a } from "./textarea-l10XGym1.js";
1
+ import { P as a } from "./textarea-CmXiVLbl.js";
2
2
  const e = a;
3
3
  export {
4
4
  a as PktTextarea,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textinput-8mT0npMY.cjs"),t=e.PktTextinput;Object.defineProperty(exports,"PktTextinput",{enumerable:!0,get:()=>e.PktTextinput});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./textinput-kmcj-FlC.cjs"),t=e.PktTextinput;Object.defineProperty(exports,"PktTextinput",{enumerable:!0,get:()=>e.PktTextinput});exports.default=t;
@@ -1,4 +1,4 @@
1
- import { P as t } from "./textinput-B1n0gFaS.js";
1
+ import { P as t } from "./textinput-LLaLZX3h.js";
2
2
  const p = t;
3
3
  export {
4
4
  t as PktTextinput,
@@ -1,10 +1,10 @@
1
- import { e as n } from "./class-map-KyMqi0fa.js";
2
- import { T as g, P as _, E as c, x as b, n as u, a as $ } from "./element-DjjF_tEh.js";
3
- import { r as h } from "./state-BtbpSrdV.js";
4
- import { e as y, n as A } from "./ref-iIffqQAI.js";
1
+ import { e as n } from "./class-map-m7ZCZ49w.js";
2
+ import { T as g, P as _, E as c, x as b, n as u, a as $ } from "./element-gAd63VwC.js";
3
+ import { r as h } from "./state-BxrO4zNJ.js";
4
+ import { e as y, n as A } from "./ref-DnSbnXsj.js";
5
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-Beoxup8E.js";
7
+ import "./icon-CO1TLSs5.js";
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2018 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("./class-map-DCyaICmy.cjs"),e=require("./element-BSypUpzA.cjs"),p=require("./state-B5KCNjEd.cjs"),h=require("./ref-BvbyvXRH.cjs"),b=require("./directive-C7oCP5Bh.cjs"),d=require("./stringutils-CkVRq4jP.cjs");require("./icon-BnKGwYjj.cjs");/**
1
+ "use strict";const n=require("./class-map-DWDPOqjO.cjs"),e=require("./element-90YeMNbV.cjs"),p=require("./state-D-Recv7U.cjs"),h=require("./ref-B-w1vCo8.cjs"),b=require("./directive-C7oCP5Bh.cjs"),d=require("./stringutils-CkVRq4jP.cjs");require("./icon-B1_BRNqf.cjs");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./element-BSypUpzA.cjs"),p=require("./state-B5KCNjEd.cjs"),r=require("./input-element-DK0UmdGZ.cjs"),o=require("./ref-BvbyvXRH.cjs"),a=require("./class-map-DCyaICmy.cjs");var d=Object.defineProperty,k=Object.getOwnPropertyDescriptor,i=(h,t,c,n)=>{for(var s=n>1?void 0:n?k(t,c):t,l=h.length-1,u;l>=0;l--)(u=h[l])&&(s=(n?u(t,c,s):u(s))||s);return n&&s&&d(t,c,s),s};exports.PktRadioButton=class extends r.PktInputElement{constructor(){super(...arguments),this.inputRef=o.e(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(t,c,n){t==="defaultChecked"&&(this._checked=this.defaultChecked),t==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(t,c,n)}render(){const t=a.e({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),c=a.e({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError});return e.x`
1
+ "use strict";const e=require("./element-90YeMNbV.cjs"),p=require("./state-D-Recv7U.cjs"),r=require("./input-element-CInrWeac.cjs"),o=require("./ref-B-w1vCo8.cjs"),a=require("./class-map-DWDPOqjO.cjs");var d=Object.defineProperty,k=Object.getOwnPropertyDescriptor,i=(h,t,c,n)=>{for(var s=n>1?void 0:n?k(t,c):t,l=h.length-1,u;l>=0;l--)(u=h[l])&&(s=(n?u(t,c,s):u(s))||s);return n&&s&&d(t,c,s),s};exports.PktRadioButton=class extends r.PktInputElement{constructor(){super(...arguments),this.inputRef=o.e(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(t,c,n){t==="defaultChecked"&&(this._checked=this.defaultChecked),t==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(t,c,n)}render(){const t=a.e({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),c=a.e({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError});return e.x`
2
2
  <div class="pkt-input-check">
3
3
  <div class=${t}>
4
4
  <input
@@ -1,8 +1,8 @@
1
- import { E as u, x as n, n as h, a as d } from "./element-DjjF_tEh.js";
2
- import { r as k } from "./state-BtbpSrdV.js";
3
- import { P as f } from "./input-element-B2GjFOXX.js";
4
- import { e as _, n as b } from "./ref-iIffqQAI.js";
5
- import { e as o } from "./class-map-KyMqi0fa.js";
1
+ import { E as u, x as n, n as h, a as d } from "./element-gAd63VwC.js";
2
+ import { r as k } from "./state-BxrO4zNJ.js";
3
+ import { P as f } from "./input-element-BEvaQK4g.js";
4
+ import { e as _, n as b } from "./ref-DnSbnXsj.js";
5
+ import { e as o } from "./class-map-m7ZCZ49w.js";
6
6
  var v = Object.defineProperty, C = Object.getOwnPropertyDescriptor, c = (e, i, p, l) => {
7
7
  for (var s = l > 1 ? void 0 : l ? C(i, p) : i, r = e.length - 1, a; r >= 0; r--)
8
8
  (a = e[r]) && (s = (l ? a(i, p, s) : a(s)) || s);
@@ -1,4 +1,4 @@
1
- "use strict";const d=require("./element-BSypUpzA.cjs"),a=require("./directive-helpers-CG7Oxal3.cjs"),l=require("./directive-C7oCP5Bh.cjs");/**
1
+ "use strict";const d=require("./element-90YeMNbV.cjs"),a=require("./directive-helpers-v9b0v7lu.cjs"),l=require("./directive-C7oCP5Bh.cjs");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,5 +1,5 @@
1
- import { E as l } from "./element-DjjF_tEh.js";
2
- import { f as $ } from "./directive-helpers-8uS_Izwn.js";
1
+ import { E as l } from "./element-gAd63VwC.js";
2
+ import { f as $ } from "./directive-helpers--4ibN__v.js";
3
3
  import { i as f, t as a, e as _ } from "./directive-oAbCiebi.js";
4
4
  /**
5
5
  * @license
@@ -1,4 +1,4 @@
1
- "use strict";const m=require("./element-BSypUpzA.cjs"),x=require("./directive-C7oCP5Bh.cjs"),s=require("./directive-helpers-CG7Oxal3.cjs");/**
1
+ "use strict";const m=require("./element-90YeMNbV.cjs"),x=require("./directive-C7oCP5Bh.cjs"),s=require("./directive-helpers-v9b0v7lu.cjs");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,6 +1,6 @@
1
- import { T as $ } from "./element-DjjF_tEh.js";
1
+ import { T as $ } from "./element-gAd63VwC.js";
2
2
  import { e as A, i as M, t as b } from "./directive-oAbCiebi.js";
3
- import { p as j, v as h, r as v, M as x, m as C } from "./directive-helpers-8uS_Izwn.js";
3
+ import { p as j, v as h, r as v, M as x, m as C } from "./directive-helpers--4ibN__v.js";
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2017 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("./element-BSypUpzA.cjs"),p=require("./state-B5KCNjEd.cjs"),h=require("./ref-BvbyvXRH.cjs"),o=require("./if-defined-a3sotaUr.cjs"),d=require("./input-element-DK0UmdGZ.cjs"),c=require("./pkt-options-controller-Ay9ELZTV.cjs"),v=require("./pkt-slot-controller-Da-RgXfS.cjs");require("./input-wrapper-B-f_SotM.cjs");var f=Object.defineProperty,b=Object.getOwnPropertyDescriptor,a=(u,t,e,s)=>{for(var i=s>1?void 0:s?b(t,e):t,l=u.length-1,n;l>=0;l--)(n=u[l])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&f(t,e,i),i};exports.PktSelect=class extends d.PktInputElement{constructor(){super(),this.inputRef=h.e(),this.helptextSlot=h.e(),this.options=[],this.value="",this._options=[],this.selectedIndex=-1,this.selectedOptions=void 0,this.optionsController=new c.PktOptionsSlotController(this),this.slotController=new v.PktSlotController(this,this.helptextSlot),this.slotController.skipOptions=!0}connectedCallback(){super.connectedCallback();const t=this.options.length>0,e=this.optionsController.nodes.length&&this.optionsController.nodes.length>0;!t&&e?this.optionsController.nodes.forEach(s=>{const i={value:s.getAttribute("value")||s.textContent||"",label:s.textContent||s.getAttribute("value")||"",disabled:!!s.getAttribute("disabled")};s.getAttribute("selected")&&!this.value&&(this.value=i.value),this._options.push(i)}):(this._options=this.options,this._options.forEach(s=>{s.selected&&!this.value&&(this.value=s.value)}))}add(t,e){var s,i,l;(s=this.inputRef.value)==null||s.add(t,e),this._options.push({value:t.value||t.text,label:t.text||t.value,selected:t.selected,disabled:t.disabled}),t.selected&&(this.value=t.value||t.text,this.selectedIndex=this.returnNumberOrNull((i=this.inputRef.value)==null?void 0:i.selectedIndex),this.selectedOptions=(l=this.inputRef.value)==null?void 0:l.selectedOptions),this.requestUpdate()}remove(t){var e,s;typeof t=="number"&&((e=this.inputRef.value)==null||e.remove(t),this._options.splice(t,1),this.selectedIndex===t&&(this.value=((s=this._options[0])==null?void 0:s.value)||""))}item(t){var e;return(e=this.inputRef.value)==null?void 0:e.item(t)}namedItem(t){var e;return(e=this.inputRef.value)==null?void 0:e.namedItem(t)}showPicker(){var t;(t=this.inputRef.value)==null||t.showPicker()}attributeChangedCallback(t,e,s){var i,l;t==="options"&&(this._options=s?JSON.parse(s):[]),t==="value"&&this.value!==e&&(this.selectedIndex=this.touched?this.returnNumberOrNull((i=this.inputRef.value)==null?void 0:i.selectedIndex):this.options.findIndex(n=>n.value===s),this.selectedOptions=(l=this.inputRef.value)==null?void 0:l.selectedOptions,this.valueChanged(s,e)),super.attributeChangedCallback(t,e,s)}update(t){var e,s;super.update(t),t.has("value")&&this.value!==t.get("value")&&(this.selectedIndex=this.touched?this.returnNumberOrNull((e=this.inputRef.value)==null?void 0:e.selectedIndex):this.options.findIndex(i=>i.value===this.value),this.selectedOptions=(s=this.inputRef.value)==null?void 0:s.selectedOptions,this.valueChanged(this.value,t.get("value"))),t.has("id")&&!this.name&&this.id&&(this.name=this.id)}firstUpdated(t){var e;super.firstUpdated(t),this.options.length&&(this._options=this.options),!this.value&&this._options.length>0?(this.value=this._options[0].value,this.selectedIndex=0):this.selectedIndex=this._options.findIndex(s=>s.value===this.value),this.selectedOptions=(e=this.inputRef.value)==null?void 0:e.selectedOptions}render(){const t=`pkt-input ${this.fullwidth?"pkt-input--fullwidth":""}`;return r.x`
1
+ "use strict";const r=require("./element-90YeMNbV.cjs"),p=require("./state-D-Recv7U.cjs"),h=require("./ref-B-w1vCo8.cjs"),o=require("./if-defined-C8eotHpL.cjs"),d=require("./input-element-CInrWeac.cjs"),c=require("./pkt-options-controller-Ay9ELZTV.cjs"),v=require("./pkt-slot-controller-Da-RgXfS.cjs");require("./input-wrapper-B_TtkGqo.cjs");var f=Object.defineProperty,b=Object.getOwnPropertyDescriptor,a=(u,t,e,s)=>{for(var i=s>1?void 0:s?b(t,e):t,l=u.length-1,n;l>=0;l--)(n=u[l])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&f(t,e,i),i};exports.PktSelect=class extends d.PktInputElement{constructor(){super(),this.inputRef=h.e(),this.helptextSlot=h.e(),this.options=[],this.value="",this._options=[],this.selectedIndex=-1,this.selectedOptions=void 0,this.optionsController=new c.PktOptionsSlotController(this),this.slotController=new v.PktSlotController(this,this.helptextSlot),this.slotController.skipOptions=!0}connectedCallback(){super.connectedCallback();const t=this.options.length>0,e=this.optionsController.nodes.length&&this.optionsController.nodes.length>0;!t&&e?this.optionsController.nodes.forEach(s=>{const i={value:s.getAttribute("value")||s.textContent||"",label:s.textContent||s.getAttribute("value")||"",disabled:!!s.getAttribute("disabled")};s.getAttribute("selected")&&!this.value&&(this.value=i.value),this._options.push(i)}):(this._options=this.options,this._options.forEach(s=>{s.selected&&!this.value&&(this.value=s.value)}))}add(t,e){var s,i,l;(s=this.inputRef.value)==null||s.add(t,e),this._options.push({value:t.value||t.text,label:t.text||t.value,selected:t.selected,disabled:t.disabled}),t.selected&&(this.value=t.value||t.text,this.selectedIndex=this.returnNumberOrNull((i=this.inputRef.value)==null?void 0:i.selectedIndex),this.selectedOptions=(l=this.inputRef.value)==null?void 0:l.selectedOptions),this.requestUpdate()}remove(t){var e,s;typeof t=="number"&&(this.selectedIndex===t&&(this.value=((e=this._options[0])==null?void 0:e.value)||""),(s=this.inputRef.value)==null||s.remove(t))}item(t){var e;return(e=this.inputRef.value)==null?void 0:e.item(t)}namedItem(t){var e;return(e=this.inputRef.value)==null?void 0:e.namedItem(t)}showPicker(){var t;(t=this.inputRef.value)==null||t.showPicker()}attributeChangedCallback(t,e,s){var i,l;t==="options"&&(this._options=s?JSON.parse(s):[]),t==="value"&&this.value!==e&&(this.selectedIndex=this.touched?this.returnNumberOrNull((i=this.inputRef.value)==null?void 0:i.selectedIndex):this.options.findIndex(n=>n.value===s),this.selectedOptions=(l=this.inputRef.value)==null?void 0:l.selectedOptions,this.valueChanged(s,e)),super.attributeChangedCallback(t,e,s)}update(t){var e,s;super.update(t),t.has("value")&&this.value!==t.get("value")&&(this.selectedIndex=this.touched?this.returnNumberOrNull((e=this.inputRef.value)==null?void 0:e.selectedIndex):this.options.findIndex(i=>i.value===this.value),this.selectedOptions=(s=this.inputRef.value)==null?void 0:s.selectedOptions,this.valueChanged(this.value,t.get("value"))),t.has("id")&&!this.name&&this.id&&(this.name=this.id)}firstUpdated(t){var e;super.firstUpdated(t),this.options.length&&(this._options=this.options),!this.value&&this._options.length>0?(this.value=this._options[0].value,this.selectedIndex=0):this.selectedIndex=this._options.findIndex(s=>s.value===this.value),this.selectedOptions=(e=this.inputRef.value)==null?void 0:e.selectedOptions}render(){const t=`pkt-input ${this.fullwidth?"pkt-input--fullwidth":""}`;return r.x`
2
2
  <pkt-input-wrapper
3
3
  ?counter=${this.counter}
4
4
  ?disabled=${this.disabled}
@@ -1,11 +1,11 @@
1
- import { x as p, n as c, a as v } from "./element-DjjF_tEh.js";
2
- import { r as f } from "./state-BtbpSrdV.js";
3
- import { e as u, n as d } from "./ref-iIffqQAI.js";
4
- import { o } from "./if-defined-BErSJCeJ.js";
5
- import { P as b } from "./input-element-B2GjFOXX.js";
1
+ import { x as p, n as c, a as v } from "./element-gAd63VwC.js";
2
+ import { r as f } from "./state-BxrO4zNJ.js";
3
+ import { e as u, n as d } from "./ref-DnSbnXsj.js";
4
+ import { o } from "./if-defined-Cj-3Kdsr.js";
5
+ import { P as b } from "./input-element-BEvaQK4g.js";
6
6
  import { P as $ } from "./pkt-options-controller-DepYQBqb.js";
7
7
  import { P as x } from "./pkt-slot-controller-DtDaD9q_.js";
8
- import "./input-wrapper-BdeoMGnk.js";
8
+ import "./input-wrapper-CDgnd3WJ.js";
9
9
  var m = Object.defineProperty, g = Object.getOwnPropertyDescriptor, r = (t, e, s, i) => {
10
10
  for (var l = i > 1 ? void 0 : i ? g(e, s) : e, n = t.length - 1, h; n >= 0; n--)
11
11
  (h = t[n]) && (l = (i ? h(e, s, l) : h(l)) || l);
@@ -43,7 +43,7 @@ let a = class extends b {
43
43
  // Support native Select method `remove`
44
44
  remove(t) {
45
45
  var e, s;
46
- typeof t == "number" && ((e = this.inputRef.value) == null || e.remove(t), this._options.splice(t, 1), this.selectedIndex === t && (this.value = ((s = this._options[0]) == null ? void 0 : s.value) || ""));
46
+ typeof t == "number" && (this.selectedIndex === t && (this.value = ((e = this._options[0]) == null ? void 0 : e.value) || ""), (s = this.inputRef.value) == null || s.remove(t));
47
47
  }
48
48
  // Support native Select method `item`
49
49
  item(t) {
@@ -1,4 +1,4 @@
1
- import { n as r } from "./element-DjjF_tEh.js";
1
+ import { n as r } from "./element-gAd63VwC.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./element-BSypUpzA.cjs");/**
1
+ "use strict";const e=require("./element-90YeMNbV.cjs");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,10 +1,10 @@
1
- import { e as u } from "./class-map-KyMqi0fa.js";
2
- import { P as m, x as l, n as r, a as g } from "./element-DjjF_tEh.js";
3
- import { r as k } from "./state-BtbpSrdV.js";
1
+ import { e as u } from "./class-map-m7ZCZ49w.js";
2
+ import { P as m, x as l, n as r, a as g } from "./element-gAd63VwC.js";
3
+ import { r as k } from "./state-BxrO4zNJ.js";
4
4
  import { P as y } from "./pkt-slot-controller-DtDaD9q_.js";
5
- import { e as b, n as f } from "./ref-iIffqQAI.js";
6
- import "./icon-Beoxup8E.js";
7
- import { o as d } from "./if-defined-BErSJCeJ.js";
5
+ import { e as b, n as f } from "./ref-DnSbnXsj.js";
6
+ import "./icon-CO1TLSs5.js";
7
+ import { o as d } from "./if-defined-Cj-3Kdsr.js";
8
8
  const _ = {
9
9
  closeTag: {
10
10
  default: !1
@@ -1,4 +1,4 @@
1
- "use strict";const u=require("./class-map-DCyaICmy.cjs"),t=require("./element-BSypUpzA.cjs"),k=require("./state-B5KCNjEd.cjs"),g=require("./pkt-slot-controller-Da-RgXfS.cjs"),c=require("./ref-BvbyvXRH.cjs");require("./icon-BnKGwYjj.cjs");const h=require("./if-defined-a3sotaUr.cjs"),f={closeTag:{default:!1},size:{default:"medium"},skin:{default:"blue"},type:{default:"button"}},r={props:f};var d=Object.defineProperty,y=Object.getOwnPropertyDescriptor,i=(n,e,o,a)=>{for(var s=a>1?void 0:a?y(e,o):e,l=n.length-1,p;l>=0;l--)(p=n[l])&&(s=(a?p(e,o,s):p(s))||s);return a&&s&&d(e,o,s),s};exports.PktTag=class extends t.PktElement{constructor(){super(),this.defaultSlot=c.e(),this.closeTag=r.props.closeTag.default,this.size=r.props.size.default,this.skin=r.props.skin.default,this.textStyle=null,this.iconName=void 0,this.type=r.props.type.default,this.ariaLabel=null,this._isClosed=!1,this._ariaDescription=null,this.close=e=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:e},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:e},bubbles:!0,composed:!0}))},this.slotController=new g.PktSlotController(this,this.defaultSlot),this._isClosed=!1}firstUpdated(e){var o,a;if(super.firstUpdated(e),this.closeTag&&!this.ariaLabel){const s=(a=(o=this.defaultSlot.value)==null?void 0:o.textContent)==null?void 0:a.trim();s&&(this._ariaDescription=`Klikk for å fjerne ${s}`)}}render(){const e={"pkt-tag":!0,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,[`pkt-tag--${this.textStyle}`]:!!this.textStyle},o={"pkt-tag":!0,"pkt-btn":!0,"pkt-btn--tertiary":!0,[`pkt-tag--${this.textStyle}`]:!!this.textStyle,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,"pkt-btn--icons-right-and-left":this.closeTag&&!!this.iconName,"pkt-hide":this._isClosed};return this.closeTag?t.x`
1
+ "use strict";const u=require("./class-map-DWDPOqjO.cjs"),t=require("./element-90YeMNbV.cjs"),k=require("./state-D-Recv7U.cjs"),g=require("./pkt-slot-controller-Da-RgXfS.cjs"),c=require("./ref-B-w1vCo8.cjs");require("./icon-B1_BRNqf.cjs");const h=require("./if-defined-C8eotHpL.cjs"),f={closeTag:{default:!1},size:{default:"medium"},skin:{default:"blue"},type:{default:"button"}},r={props:f};var d=Object.defineProperty,y=Object.getOwnPropertyDescriptor,i=(n,e,o,a)=>{for(var s=a>1?void 0:a?y(e,o):e,l=n.length-1,p;l>=0;l--)(p=n[l])&&(s=(a?p(e,o,s):p(s))||s);return a&&s&&d(e,o,s),s};exports.PktTag=class extends t.PktElement{constructor(){super(),this.defaultSlot=c.e(),this.closeTag=r.props.closeTag.default,this.size=r.props.size.default,this.skin=r.props.skin.default,this.textStyle=null,this.iconName=void 0,this.type=r.props.type.default,this.ariaLabel=null,this._isClosed=!1,this._ariaDescription=null,this.close=e=>{this._isClosed=!0,this.dispatchEvent(new CustomEvent("close",{detail:{origin:e},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("on-close",{detail:{origin:e},bubbles:!0,composed:!0}))},this.slotController=new g.PktSlotController(this,this.defaultSlot),this._isClosed=!1}firstUpdated(e){var o,a;if(super.firstUpdated(e),this.closeTag&&!this.ariaLabel){const s=(a=(o=this.defaultSlot.value)==null?void 0:o.textContent)==null?void 0:a.trim();s&&(this._ariaDescription=`Klikk for å fjerne ${s}`)}}render(){const e={"pkt-tag":!0,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,[`pkt-tag--${this.textStyle}`]:!!this.textStyle},o={"pkt-tag":!0,"pkt-btn":!0,"pkt-btn--tertiary":!0,[`pkt-tag--${this.textStyle}`]:!!this.textStyle,[`pkt-tag--${this.size}`]:!!this.size,[`pkt-tag--${this.skin}`]:!!this.skin,"pkt-btn--icons-right-and-left":this.closeTag&&!!this.iconName,"pkt-hide":this._isClosed};return this.closeTag?t.x`
2
2
  <button
3
3
  class=${u.e(o)}
4
4
  type=${this.type}
@@ -1,14 +1,14 @@
1
- import { T as l, E as $, x as f, n as d, a as g } from "./element-DjjF_tEh.js";
2
- import { o as u } from "./if-defined-BErSJCeJ.js";
3
- import { r as x } from "./state-BtbpSrdV.js";
4
- import { e as m, n as c } from "./ref-iIffqQAI.js";
5
- import { e as v } from "./class-map-KyMqi0fa.js";
1
+ import { T as l, E as $, x as f, n as d, a as g } from "./element-gAd63VwC.js";
2
+ import { o as u } from "./if-defined-Cj-3Kdsr.js";
3
+ import { r as x } from "./state-BxrO4zNJ.js";
4
+ import { e as m, n as c } from "./ref-DnSbnXsj.js";
5
+ import { e as v } from "./class-map-m7ZCZ49w.js";
6
6
  import { e as b, i as T, t as a } from "./directive-oAbCiebi.js";
7
- import { f as y, m as w } from "./directive-helpers-8uS_Izwn.js";
8
- import { P as C } from "./input-element-B2GjFOXX.js";
7
+ import { f as y, m as w } from "./directive-helpers--4ibN__v.js";
8
+ import { P as C } from "./input-element-BEvaQK4g.js";
9
9
  import { P as E } from "./pkt-slot-controller-DtDaD9q_.js";
10
- import "./input-wrapper-BdeoMGnk.js";
11
- import "./icon-Beoxup8E.js";
10
+ import "./input-wrapper-CDgnd3WJ.js";
11
+ import "./icon-CO1TLSs5.js";
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2020 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("./element-BSypUpzA.cjs"),p=require("./if-defined-a3sotaUr.cjs"),c=require("./state-B5KCNjEd.cjs"),l=require("./ref-BvbyvXRH.cjs"),$=require("./class-map-DCyaICmy.cjs"),a=require("./directive-C7oCP5Bh.cjs"),d=require("./directive-helpers-CG7Oxal3.cjs"),x=require("./input-element-DK0UmdGZ.cjs"),T=require("./pkt-slot-controller-Da-RgXfS.cjs");require("./input-wrapper-B-f_SotM.cjs");require("./icon-BnKGwYjj.cjs");/**
1
+ "use strict";const s=require("./element-90YeMNbV.cjs"),p=require("./if-defined-C8eotHpL.cjs"),c=require("./state-D-Recv7U.cjs"),l=require("./ref-B-w1vCo8.cjs"),$=require("./class-map-DWDPOqjO.cjs"),a=require("./directive-C7oCP5Bh.cjs"),d=require("./directive-helpers-v9b0v7lu.cjs"),x=require("./input-element-CInrWeac.cjs"),T=require("./pkt-slot-controller-Da-RgXfS.cjs");require("./input-wrapper-B_TtkGqo.cjs");require("./icon-B1_BRNqf.cjs");/**
2
2
  * @license
3
3
  * Copyright 2020 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,20 +1,20 @@
1
- import { E as p, x as h, n as a, a as $ } from "./element-DjjF_tEh.js";
2
- import { o as c } from "./if-defined-BErSJCeJ.js";
3
- import { r as f } from "./state-BtbpSrdV.js";
4
- import { e as d, n as m } from "./ref-iIffqQAI.js";
5
- import { e as g } from "./class-map-KyMqi0fa.js";
6
- import { P as x } from "./input-element-B2GjFOXX.js";
1
+ import { E as p, x as h, n as a, a as $ } from "./element-gAd63VwC.js";
2
+ import { o as u } from "./if-defined-Cj-3Kdsr.js";
3
+ import { r as f } from "./state-BxrO4zNJ.js";
4
+ import { e as m, n as d } from "./ref-DnSbnXsj.js";
5
+ import { e as g } from "./class-map-m7ZCZ49w.js";
6
+ import { P as x } from "./input-element-BEvaQK4g.js";
7
7
  import { P as y } from "./pkt-slot-controller-DtDaD9q_.js";
8
- import "./input-wrapper-BdeoMGnk.js";
9
- import "./icon-Beoxup8E.js";
8
+ import "./input-wrapper-CDgnd3WJ.js";
9
+ import "./icon-CO1TLSs5.js";
10
10
  var v = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (e, i, r, t) => {
11
- for (var n = t > 1 ? void 0 : t ? b(i, r) : i, l = e.length - 1, u; l >= 0; l--)
12
- (u = e[l]) && (n = (t ? u(i, r, n) : u(n)) || n);
11
+ for (var n = t > 1 ? void 0 : t ? b(i, r) : i, l = e.length - 1, c; l >= 0; l--)
12
+ (c = e[l]) && (n = (t ? c(i, r, n) : c(n)) || n);
13
13
  return t && n && v(i, r, n), n;
14
14
  };
15
15
  let s = class extends x {
16
16
  constructor() {
17
- super(), this.inputRef = d(), this.helptextSlot = d(), this.value = "", this.type = "text", this.size = null, this.autocomplete = null, this.iconNameRight = null, this.prefix = null, this.suffix = null, this.omitSearchIcon = !1, this.counterCurrent = 0, this.slotController = new y(this, this.helptextSlot);
17
+ super(), this.inputRef = m(), this.helptextSlot = m(), this.value = "", this.type = "text", this.size = null, this.autocomplete = null, this.iconNameRight = null, this.prefix = null, this.suffix = null, this.omitSearchIcon = !1, this.counterCurrent = 0, this.slotController = new y(this, this.helptextSlot);
18
18
  }
19
19
  attributeChangedCallback(e, i, r) {
20
20
  e === "value" && this.value !== i && (this.counterCurrent = r ? r.length : 0, this.valueChanged(r, i)), super.attributeChangedCallback(e, i, r);
@@ -53,20 +53,23 @@ let s = class extends x {
53
53
  .requiredText=${this.requiredText}
54
54
  class="pkt-textinput"
55
55
  >
56
- <div class="pkt-contents" ${m(this.helptextSlot)} name="helptext" slot="helptext"></div>
56
+ <div class="pkt-contents" ${d(this.helptextSlot)} name="helptext" slot="helptext"></div>
57
57
  <div class="pkt-input__container">
58
58
  ${this.prefix ? h`<div class="pkt-input-prefix">${this.prefix}</div>` : p}
59
59
  <input
60
- ${m(this.inputRef)}
60
+ ${d(this.inputRef)}
61
61
  class=${i}
62
62
  type=${this.type}
63
63
  name=${(this.name || this.id) + "-input"}
64
64
  id=${this.id + "-input"}
65
- placeholder=${c(this.placeholder)}
65
+ placeholder=${u(this.placeholder)}
66
66
  aria-labelledby=${r}
67
67
  autocomplete=${this.autocomplete || "off"}
68
- minlength=${c(this.minlength)}
69
- maxlength=${c(this.maxlength)}
68
+ minlength=${u(this.minlength)}
69
+ maxlength=${u(this.maxlength)}
70
+ min=${u(this.min)}
71
+ max=${u(this.max)}
72
+ step=${u(this.step)}
70
73
  ?readonly=${this.readonly}
71
74
  size=${this.size || p}
72
75
  .value=${this.value}