@oslokommune/punkt-elements 13.6.0 → 13.6.2

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 (128) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{accordionitem-Csh7iSVG.cjs → accordionitem-BOmnm80g.cjs} +1 -1
  3. package/dist/{accordionitem-C9T3nlM0.js → accordionitem-B_h5XGCo.js} +4 -4
  4. package/dist/{alert-cUBtwi2k.js → alert-CTTm6ugp.js} +6 -6
  5. package/dist/{alert-7rUOhlNi.cjs → alert-ZP5-fqlt.cjs} +1 -1
  6. package/dist/{backlink-JbBNi3qg.cjs → backlink-BT7DO6rV.cjs} +1 -1
  7. package/dist/{backlink-C2jbzu0U.js → backlink-Bq8O2bt8.js} +3 -3
  8. package/dist/{button-B8rdtaHB.cjs → button-BfqxLnMT.cjs} +1 -1
  9. package/dist/{button-DhispFOY.js → button-x6Xw-5w0.js} +5 -5
  10. package/dist/{calendar-32W9p9uc.cjs → calendar-CL9O0tLP.cjs} +1 -1
  11. package/dist/{calendar-DJVaC_zI.js → calendar-ChphTIhk.js} +4 -4
  12. package/dist/{card-DBlFf1ry.cjs → card-BwLe5f50.cjs} +1 -1
  13. package/dist/{card-BDz4RWxK.js → card-DpUEM1tU.js} +7 -7
  14. package/dist/{checkbox-Gn7Wtk9h.cjs → checkbox-CH8xeK-0.cjs} +1 -1
  15. package/dist/{checkbox-ym7z6cpt.js → checkbox-DSAcMC-D.js} +4 -4
  16. package/dist/{class-map-BBG2gMX4.cjs → class-map-CG3vIaNm.cjs} +1 -1
  17. package/dist/{class-map-BpTj9gtz.js → class-map-Dw6Wrxwi.js} +1 -1
  18. package/dist/{combobox-D84REr9N.cjs → combobox-COuxR036.cjs} +1 -1
  19. package/dist/{combobox-BXP1PL0M.js → combobox-D3aPvdrE.js} +11 -11
  20. package/dist/{consent-BpcQFvbi.js → consent-CXp0bLvg.js} +3 -3
  21. package/dist/{consent-hYeFWNFr.cjs → consent-DFrsiYGQ.cjs} +1 -1
  22. package/dist/{datepicker-CA1a4oIH.cjs → datepicker-CV73pLqD.cjs} +1 -1
  23. package/dist/{datepicker-X2o0j5kW.js → datepicker-Ca552mbJ.js} +11 -11
  24. package/dist/{directive-helpers-BBbxqP2W.cjs → directive-helpers-_qHew-gi.cjs} +1 -1
  25. package/dist/{directive-helpers-r-kOS_Mf.js → directive-helpers-cAOIHg9K.js} +1 -1
  26. package/dist/element-D62wHiNU.cjs +27 -0
  27. package/dist/element-DJZPsA_J.js +722 -0
  28. package/dist/{heading-CNycsyMj.cjs → heading-BBzoDZGk.cjs} +1 -1
  29. package/dist/{heading-Bdh9absf.js → heading-CfxZa1QR.js} +1 -1
  30. package/dist/{helptext-B7eI0iBQ.js → helptext-8ykxyegi.js} +5 -5
  31. package/dist/{helptext-CzQX6YVE.cjs → helptext-D1fkGmfT.cjs} +1 -1
  32. package/dist/{icon-CC1js8eR.js → icon-B1-mkmwB.js} +1 -1
  33. package/dist/{icon-B_ryAy4Q.cjs → icon-__Hjt2XZ.cjs} +1 -1
  34. package/dist/{if-defined-Cni-RHLS.cjs → if-defined-CkVc_RJD.cjs} +1 -1
  35. package/dist/{if-defined-CmuO4Vz9.js → if-defined-D3lgJqT7.js} +1 -1
  36. package/dist/index.d.ts +1 -5
  37. package/dist/{input-element-NnrDmp4r.js → input-element-DQOVrqUZ.js} +2 -2
  38. package/dist/{input-element-C4xJoM-X.cjs → input-element-Y8sdrq9C.cjs} +1 -1
  39. package/dist/{input-wrapper-CZ-a00V7.cjs → input-wrapper-C9rZEgju.cjs} +1 -1
  40. package/dist/{input-wrapper-Dr__Sxql.js → input-wrapper-D_JdEqcO.js} +6 -6
  41. package/dist/{link-Cjl0xwSq.cjs → link-CyiVlb-7.cjs} +1 -1
  42. package/dist/{link-AIyVfcyH.js → link-DSSJYrtn.js} +4 -4
  43. package/dist/{linkcard-DqIvb54H.cjs → linkcard-fH9uydjS.cjs} +1 -1
  44. package/dist/{linkcard-9CNlyT0S.js → linkcard-g8JtooPU.js} +4 -4
  45. package/dist/{listbox-C4supLfR.cjs → listbox-BBO1d5Jd.cjs} +1 -1
  46. package/dist/{listbox-CLsSW32I.js → listbox-DJ7b3Wmc.js} +5 -5
  47. package/dist/{loader-h3d-3D7s.js → loader-Bzf1sPSg.js} +5 -5
  48. package/dist/{loader-DNidjwH-.cjs → loader-C-3l7kb9.cjs} +1 -1
  49. package/dist/{messagebox-CjPtPPrW.cjs → messagebox---xPIAwR.cjs} +1 -1
  50. package/dist/{messagebox-C8KQgCl_.js → messagebox-okJLeSpj.js} +5 -5
  51. package/dist/{modal-CRtxhCaP.cjs → modal-IjDRQfX1.cjs} +1 -1
  52. package/dist/{modal-Zj8yRX3K.js → modal-pohCsr_x.js} +5 -5
  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-DhMBXkww.cjs → progressbar-DJzEC7cx.cjs} +1 -1
  108. package/dist/{progressbar-Dj_mI_A6.js → progressbar-DjsupQ7Y.js} +5 -5
  109. package/dist/{radiobutton-CWxiIVfA.js → radiobutton-Bz_qApF3.js} +5 -5
  110. package/dist/{radiobutton-CdT6v1oq.cjs → radiobutton-DEboKECm.cjs} +1 -1
  111. package/dist/{ref-BBYSqgeW.js → ref-BCGCor-j.js} +2 -2
  112. package/dist/{ref-iJtiv3o2.cjs → ref-BfgcOXko.cjs} +1 -1
  113. package/dist/{repeat-C8BeHwYx.js → repeat-B6qPUgAq.js} +2 -2
  114. package/dist/{repeat-CDsZqct8.cjs → repeat-DzibMwhi.cjs} +1 -1
  115. package/dist/{select-Be--DBcR.cjs → select-Cf1RWSsI.cjs} +1 -1
  116. package/dist/{select-VpX_cjMM.js → select-D7OQaUrQ.js} +6 -6
  117. package/dist/{state-DPobt-Yz.cjs → state-BkE_Rxl7.cjs} +1 -1
  118. package/dist/{state-Bo2bck5_.js → state-CPQXJ4Ct.js} +1 -1
  119. package/dist/{tag-Bbs0U_Au.cjs → tag-BKq07hGI.cjs} +1 -1
  120. package/dist/{tag-DyXzTY68.js → tag-NZ5oeGfw.js} +6 -6
  121. package/dist/{textarea-BZL8Mkm0.js → textarea-C0vTWTov.js} +9 -9
  122. package/dist/{textarea-CPXsMFUq.cjs → textarea-CXu8UUsY.cjs} +1 -1
  123. package/dist/{textinput-aNI5kibM.cjs → textinput-C6wccDhZ.cjs} +1 -1
  124. package/dist/{textinput-DjPhmmkB.js → textinput-CmZrfH4A.js} +8 -8
  125. package/package.json +4 -5
  126. package/src/components/accordion/accordionitem.ts +1 -1
  127. package/dist/element-6DBpyGQm.cjs +0 -238
  128. package/dist/element-CgEWt74-.js +0 -21288
@@ -1,4 +1,4 @@
1
- import { P as a } from "./heading-Bdh9absf.js";
1
+ import { P as a } from "./heading-CfxZa1QR.js";
2
2
  const e = a;
3
3
  export {
4
4
  a as PktHeading,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./helptext-CzQX6YVE.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-D1fkGmfT.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-B7eI0iBQ.js";
1
+ import { P as t } from "./helptext-8ykxyegi.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-B_ryAy4Q.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-__Hjt2XZ.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-CC1js8eR.js";
1
+ import { P as o } from "./icon-B1-mkmwB.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 d=require("./alert-7rUOhlNi.cjs"),l=require("./accordionitem-Csh7iSVG.cjs"),b=require("./backlink-JbBNi3qg.cjs"),m=require("./button-B8rdtaHB.cjs"),P=require("./calendar-32W9p9uc.cjs"),g=require("./card-DBlFf1ry.cjs"),h=require("./combobox-D84REr9N.cjs"),f=require("./consent-hYeFWNFr.cjs"),y=require("./checkbox-Gn7Wtk9h.cjs"),t=require("./element-6DBpyGQm.cjs"),O=require("./pkt-slot-controller-BzddBp7z.cjs"),s=require("./ref-iJtiv3o2.cjs"),j=require("./class-map-BBG2gMX4.cjs"),k=require("./datepicker-CA1a4oIH.cjs"),q=require("./helptext-CzQX6YVE.cjs"),x=require("./heading-CNycsyMj.cjs"),C=require("./icon-B_ryAy4Q.cjs"),v=require("./input-wrapper-CZ-a00V7.cjs"),S=require("./link-Cjl0xwSq.cjs"),$=require("./linkcard-DqIvb54H.cjs"),L=require("./loader-DNidjwH-.cjs"),T=require("./messagebox-CjPtPPrW.cjs"),_=require("./modal-CRtxhCaP.cjs"),A=require("./progressbar-DhMBXkww.cjs"),p=require("./radiobutton-CdT6v1oq.cjs"),B=require("./tag-Bbs0U_Au.cjs"),I=require("./textarea-CPXsMFUq.cjs"),D=require("./textinput-aNI5kibM.cjs"),M=require("./select-Be--DBcR.cjs");var R=Object.defineProperty,H=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var n=i>1?void 0:i?H(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&&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 O.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 d=require("./alert-ZP5-fqlt.cjs"),l=require("./accordionitem-BOmnm80g.cjs"),b=require("./backlink-BT7DO6rV.cjs"),m=require("./button-BfqxLnMT.cjs"),P=require("./calendar-CL9O0tLP.cjs"),g=require("./card-BwLe5f50.cjs"),h=require("./combobox-COuxR036.cjs"),f=require("./consent-DFrsiYGQ.cjs"),y=require("./checkbox-CH8xeK-0.cjs"),t=require("./element-D62wHiNU.cjs"),O=require("./pkt-slot-controller-BzddBp7z.cjs"),s=require("./ref-BfgcOXko.cjs"),j=require("./class-map-CG3vIaNm.cjs"),k=require("./datepicker-CV73pLqD.cjs"),q=require("./helptext-D1fkGmfT.cjs"),x=require("./heading-BBzoDZGk.cjs"),C=require("./icon-__Hjt2XZ.cjs"),v=require("./input-wrapper-C9rZEgju.cjs"),S=require("./link-CyiVlb-7.cjs"),$=require("./linkcard-fH9uydjS.cjs"),L=require("./loader-C-3l7kb9.cjs"),T=require("./messagebox---xPIAwR.cjs"),_=require("./modal-IjDRQfX1.cjs"),A=require("./progressbar-DJzEC7cx.cjs"),p=require("./radiobutton-DEboKECm.cjs"),B=require("./tag-BKq07hGI.cjs"),I=require("./textarea-CXu8UUsY.cjs"),D=require("./textinput-C6wccDhZ.cjs"),M=require("./select-Cf1RWSsI.cjs");var R=Object.defineProperty,H=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var n=i>1?void 0:i?H(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&&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 O.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="${j.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-cUBtwi2k.js";
2
- import { P as w, a as B } from "./accordionitem-C9T3nlM0.js";
3
- import { P as E } from "./backlink-C2jbzu0U.js";
4
- import { P as O } from "./button-DhispFOY.js";
5
- import { c as d } from "./calendar-DJVaC_zI.js";
6
- import { P as j } from "./calendar-DJVaC_zI.js";
7
- import { P as G } from "./card-BDz4RWxK.js";
8
- import { P as K } from "./combobox-BXP1PL0M.js";
9
- import { P as U } from "./consent-BpcQFvbi.js";
10
- import { P as q } from "./checkbox-ym7z6cpt.js";
11
- import { P as f, t as h, x as P, n, a as c } from "./element-CgEWt74-.js";
1
+ import { P as A } from "./alert-CTTm6ugp.js";
2
+ import { P as w, a as B } from "./accordionitem-B_h5XGCo.js";
3
+ import { P as E } from "./backlink-Bq8O2bt8.js";
4
+ import { P as O } from "./button-x6Xw-5w0.js";
5
+ import { c as d } from "./calendar-ChphTIhk.js";
6
+ import { P as j } from "./calendar-ChphTIhk.js";
7
+ import { P as G } from "./card-DpUEM1tU.js";
8
+ import { P as K } from "./combobox-D3aPvdrE.js";
9
+ import { P as U } from "./consent-CXp0bLvg.js";
10
+ import { P as q } from "./checkbox-DSAcMC-D.js";
11
+ import { P as f, t as h, x as P, n, a as c } from "./element-DJZPsA_J.js";
12
12
  import { P as x } from "./pkt-slot-controller-BPGj-LC5.js";
13
- import { e as m, n as k } from "./ref-BBYSqgeW.js";
14
- import { e as u } from "./class-map-BpTj9gtz.js";
15
- import { P as F, a as J } from "./datepicker-X2o0j5kW.js";
16
- import { P as V } from "./helptext-B7eI0iBQ.js";
17
- import { P as Y } from "./heading-Bdh9absf.js";
18
- import { P as tt } from "./icon-CC1js8eR.js";
19
- import { P as rt } from "./input-wrapper-Dr__Sxql.js";
20
- import { P as st } from "./link-AIyVfcyH.js";
21
- import { P as nt } from "./linkcard-9CNlyT0S.js";
22
- import { P as pt } from "./loader-h3d-3D7s.js";
23
- import { P as Pt } from "./messagebox-C8KQgCl_.js";
24
- import { P as kt } from "./modal-Zj8yRX3K.js";
25
- import { P as ft } from "./progressbar-Dj_mI_A6.js";
26
- import { P as ct, P as xt } from "./radiobutton-CWxiIVfA.js";
27
- import { P as gt } from "./tag-DyXzTY68.js";
28
- import { P as St } from "./textarea-BZL8Mkm0.js";
29
- import { P as Ct } from "./textinput-DjPhmmkB.js";
30
- import { P as yt } from "./select-VpX_cjMM.js";
13
+ import { e as m, n as k } from "./ref-BCGCor-j.js";
14
+ import { e as u } from "./class-map-Dw6Wrxwi.js";
15
+ import { P as F, a as J } from "./datepicker-Ca552mbJ.js";
16
+ import { P as V } from "./helptext-8ykxyegi.js";
17
+ import { P as Y } from "./heading-CfxZa1QR.js";
18
+ import { P as tt } from "./icon-B1-mkmwB.js";
19
+ import { P as rt } from "./input-wrapper-D_JdEqcO.js";
20
+ import { P as st } from "./link-DSSJYrtn.js";
21
+ import { P as nt } from "./linkcard-g8JtooPU.js";
22
+ import { P as pt } from "./loader-Bzf1sPSg.js";
23
+ import { P as Pt } from "./messagebox-okJLeSpj.js";
24
+ import { P as kt } from "./modal-pohCsr_x.js";
25
+ import { P as ft } from "./progressbar-DjsupQ7Y.js";
26
+ import { P as ct, P as xt } from "./radiobutton-Bz_qApF3.js";
27
+ import { P as gt } from "./tag-NZ5oeGfw.js";
28
+ import { P as St } from "./textarea-C0vTWTov.js";
29
+ import { P as Ct } from "./textinput-CmZrfH4A.js";
30
+ import { P as yt } from "./select-D7OQaUrQ.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-CZ-a00V7.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-C9rZEgju.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-Dr__Sxql.js";
1
+ import { P as p } from "./input-wrapper-D_JdEqcO.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-Cjl0xwSq.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-CyiVlb-7.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-AIyVfcyH.js";
1
+ import { P as t } from "./link-DSSJYrtn.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-DqIvb54H.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-fH9uydjS.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-9CNlyT0S.js";
1
+ import { P as a } from "./linkcard-g8JtooPU.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-C4supLfR.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-BBO1d5Jd.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-CLsSW32I.js";
1
+ import { P as t } from "./listbox-DJ7b3Wmc.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-DNidjwH-.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-C-3l7kb9.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-h3d-3D7s.js";
1
+ import { P as a } from "./loader-Bzf1sPSg.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-CjPtPPrW.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---xPIAwR.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-C8KQgCl_.js";
1
+ import { P as s } from "./messagebox-okJLeSpj.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-CRtxhCaP.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-IjDRQfX1.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-Zj8yRX3K.js";
1
+ import { P as a } from "./modal-pohCsr_x.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-DhMBXkww.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-DJzEC7cx.cjs");Object.defineProperty(exports,"PktProgressbar",{enumerable:!0,get:()=>e.PktProgressbar});exports.default=e.PktProgressbar$1;
@@ -1,5 +1,5 @@
1
- import { a } from "./progressbar-Dj_mI_A6.js";
2
- import { P as t } from "./progressbar-Dj_mI_A6.js";
1
+ import { a } from "./progressbar-DjsupQ7Y.js";
2
+ import { P as t } from "./progressbar-DjsupQ7Y.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-CdT6v1oq.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-DEboKECm.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-CWxiIVfA.js";
1
+ import { P as t } from "./radiobutton-Bz_qApF3.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-Be--DBcR.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-Cf1RWSsI.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-VpX_cjMM.js";
1
+ import { P as t } from "./select-D7OQaUrQ.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-Bbs0U_Au.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-BKq07hGI.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-DyXzTY68.js";
1
+ import { P as a } from "./tag-NZ5oeGfw.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-CPXsMFUq.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-CXu8UUsY.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-BZL8Mkm0.js";
1
+ import { P as a } from "./textarea-C0vTWTov.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-aNI5kibM.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-C6wccDhZ.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-DjPhmmkB.js";
1
+ import { P as t } from "./textinput-CmZrfH4A.js";
2
2
  const p = t;
3
3
  export {
4
4
  t as PktTextinput,
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("./class-map-BBG2gMX4.cjs"),e=require("./element-6DBpyGQm.cjs"),p=require("./state-DPobt-Yz.cjs"),h=require("./ref-iJtiv3o2.cjs"),b=require("./directive-C7oCP5Bh.cjs"),d=require("./stringutils-CkVRq4jP.cjs");require("./icon-B_ryAy4Q.cjs");/**
1
+ "use strict";const n=require("./class-map-CG3vIaNm.cjs"),e=require("./element-D62wHiNU.cjs"),p=require("./state-BkE_Rxl7.cjs"),h=require("./ref-BfgcOXko.cjs"),b=require("./directive-C7oCP5Bh.cjs"),d=require("./stringutils-CkVRq4jP.cjs");require("./icon-__Hjt2XZ.cjs");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,10 +1,10 @@
1
- import { e as n } from "./class-map-BpTj9gtz.js";
2
- import { T as g, P as _, E as c, x as b, n as u, a as $ } from "./element-CgEWt74-.js";
3
- import { r as h } from "./state-Bo2bck5_.js";
4
- import { e as y, n as A } from "./ref-BBYSqgeW.js";
1
+ import { e as n } from "./class-map-Dw6Wrxwi.js";
2
+ import { T as g, P as _, E as c, x as b, n as u, a as $ } from "./element-DJZPsA_J.js";
3
+ import { r as h } from "./state-CPQXJ4Ct.js";
4
+ import { e as y, n as A } from "./ref-BCGCor-j.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-CC1js8eR.js";
7
+ import "./icon-B1-mkmwB.js";
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2018 Google LLC
@@ -1,8 +1,8 @@
1
- import { x as h, E as n, n as s, a as d } from "./element-CgEWt74-.js";
2
- import { r as k } from "./state-Bo2bck5_.js";
3
- import { P as f } from "./input-element-NnrDmp4r.js";
4
- import { e as g, n as y } from "./ref-BBYSqgeW.js";
5
- import { e as u } from "./class-map-BpTj9gtz.js";
1
+ import { x as h, E as n, n as s, a as d } from "./element-DJZPsA_J.js";
2
+ import { r as k } from "./state-CPQXJ4Ct.js";
3
+ import { P as f } from "./input-element-DQOVrqUZ.js";
4
+ import { e as g, n as y } from "./ref-BCGCor-j.js";
5
+ import { e as u } from "./class-map-Dw6Wrxwi.js";
6
6
  var $ = Object.defineProperty, b = Object.getOwnPropertyDescriptor, i = (e, p, c, l) => {
7
7
  for (var a = l > 1 ? void 0 : l ? b(p, c) : p, r = e.length - 1, o; r >= 0; r--)
8
8
  (o = e[r]) && (a = (l ? o(p, c, a) : o(a)) || a);
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./element-6DBpyGQm.cjs"),r=require("./state-DPobt-Yz.cjs"),u=require("./input-element-C4xJoM-X.cjs"),h=require("./ref-iJtiv3o2.cjs"),c=require("./class-map-BBG2gMX4.cjs");var d=Object.defineProperty,k=Object.getOwnPropertyDescriptor,i=(p,e,n,a)=>{for(var s=a>1?void 0:a?k(e,n):e,o=p.length-1,l;o>=0;o--)(l=p[o])&&(s=(a?l(e,n,s):l(s))||s);return a&&s&&d(e,n,s),s};exports.PktRadioButton=class extends u.PktInputElement{constructor(){super(...arguments),this.inputRef=h.e(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this.tagText=null,this.optionalTag=!1,this.optionalText="Valgfritt",this.requiredTag=!1,this.requiredText="Må fylles ut",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(e,n,a){e==="defaultChecked"&&(this._checked=this.defaultChecked),e==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(e,n,a)}render(){const e=c.e({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),n=c.e({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError}),a=c.e({"pkt-input-check__input-label":!0,"pkt-input-check__input-label--disabled":this.disabled,"pkt-sr-only":this.hideLabel}),s="pkt-tag pkt-tag--small pkt-tag--thin-text",o=()=>t.x`
1
+ "use strict";const t=require("./element-D62wHiNU.cjs"),r=require("./state-BkE_Rxl7.cjs"),u=require("./input-element-Y8sdrq9C.cjs"),h=require("./ref-BfgcOXko.cjs"),c=require("./class-map-CG3vIaNm.cjs");var d=Object.defineProperty,k=Object.getOwnPropertyDescriptor,i=(p,e,n,a)=>{for(var s=a>1?void 0:a?k(e,n):e,o=p.length-1,l;o>=0;o--)(l=p[o])&&(s=(a?l(e,n,s):l(s))||s);return a&&s&&d(e,n,s),s};exports.PktRadioButton=class extends u.PktInputElement{constructor(){super(...arguments),this.inputRef=h.e(),this.value="",this.checkHelptext=null,this.defaultChecked=!1,this.hasTile=!1,this.checked=null,this.type="radio",this.tagText=null,this.optionalTag=!1,this.optionalText="Valgfritt",this.requiredTag=!1,this.requiredText="Må fylles ut",this._checked=!1}connectedCallback(){super.connectedCallback()}attributeChangedCallback(e,n,a){e==="defaultChecked"&&(this._checked=this.defaultChecked),e==="checked"&&(this._checked=this.checked===""||this.checked==="true"||this.checked===!0),super.attributeChangedCallback(e,n,a)}render(){const e=c.e({"pkt-input-check__input":!0,"pkt-input-check__input--tile":this.hasTile,"pkt-input-check__input--tile-disabled":this.disabled&&this.hasTile}),n=c.e({"pkt-input-check__input-checkbox":!0,"pkt-input-check__input-checkbox--error":this.hasError}),a=c.e({"pkt-input-check__input-label":!0,"pkt-input-check__input-label--disabled":this.disabled,"pkt-sr-only":this.hideLabel}),s="pkt-tag pkt-tag--small pkt-tag--thin-text",o=()=>t.x`
2
2
  ${this.tagText?t.x`<span class=${s+" pkt-tag--gray"}>${this.tagText}</span>`:t.E}
3
3
  ${this.optionalTag?t.x`<span class=${s+" pkt-tag--blue-light"}>${this.optionalText}</span>`:t.E}
4
4
  ${this.requiredTag?t.x`<span class=${s+" pkt-tag--beige"}>${this.requiredText}</span>`:t.E}
@@ -1,5 +1,5 @@
1
- import { E as l } from "./element-CgEWt74-.js";
2
- import { f as $ } from "./directive-helpers-r-kOS_Mf.js";
1
+ import { E as l } from "./element-DJZPsA_J.js";
2
+ import { f as $ } from "./directive-helpers-cAOIHg9K.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 d=require("./element-6DBpyGQm.cjs"),a=require("./directive-helpers-BBbxqP2W.cjs"),l=require("./directive-C7oCP5Bh.cjs");/**
1
+ "use strict";const d=require("./element-D62wHiNU.cjs"),a=require("./directive-helpers-_qHew-gi.cjs"),l=require("./directive-C7oCP5Bh.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-CgEWt74-.js";
1
+ import { T as $ } from "./element-DJZPsA_J.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-r-kOS_Mf.js";
3
+ import { p as j, v as h, r as v, M as x, m as C } from "./directive-helpers-cAOIHg9K.js";
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2017 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const m=require("./element-6DBpyGQm.cjs"),x=require("./directive-C7oCP5Bh.cjs"),s=require("./directive-helpers-BBbxqP2W.cjs");/**
1
+ "use strict";const m=require("./element-D62wHiNU.cjs"),x=require("./directive-C7oCP5Bh.cjs"),s=require("./directive-helpers-_qHew-gi.cjs");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- "use strict";const h=require("./element-6DBpyGQm.cjs"),u=require("./state-DPobt-Yz.cjs"),r=require("./ref-iJtiv3o2.cjs"),o=require("./if-defined-Cni-RHLS.cjs"),d=require("./input-element-C4xJoM-X.cjs"),c=require("./pkt-options-controller-CiuBG6Lt.cjs"),v=require("./pkt-slot-controller-BzddBp7z.cjs");require("./input-wrapper-CZ-a00V7.cjs");var f=Object.defineProperty,_=Object.getOwnPropertyDescriptor,a=(p,t,e,s)=>{for(var i=s>1?void 0:s?_(t,e):t,l=p.length-1,n;l>=0;l--)(n=p[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=r.e(),this.helptextSlot=r.e(),this._optionsProp=[],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}get options(){return this._options.map(t=>({...t,selected:t.value===this.value}))}set options(t){this._optionsProp=t,this.requestUpdate("_optionsProp",this._options)}connectedCallback(){super.connectedCallback();const t=this._optionsProp.length>0,e=this.optionsController.nodes.length&&this.optionsController.nodes.length>0;!t&&e?this.optionsController.nodes.forEach(s=>{const i={value:s.hasAttribute("value")?s.getAttribute("value")??"":s.textContent??"",label:s.textContent||s.getAttribute("value")||"",disabled:s.hasAttribute("disabled"),selected:s.hasAttribute("selected"),hidden:s.hasAttribute("data-hidden")};s.getAttribute("selected")&&!this.value&&(this.value=i.value),this._options.push(i)}):(this._options=this._optionsProp,this._options.forEach(s=>{s.selected&&!this.value&&(this.value=s.value)}))}add(t,e){const s={value:t.value||t.text,label:t.text||t.value,selected:t.selected,disabled:t.disabled};if(e===void 0)this._options.push(s);else if(typeof e=="number")this._options.splice(e,0,s);else{const i=e.value||e.text,l=this._options.findIndex(n=>n.value===i);l>=0?this._options.splice(l,0,s):this._options.push(s)}t.selected&&(this.value=t.value||t.text,this.selectedIndex=this._options.findIndex(i=>i.value===this.value)),this.requestUpdate()}remove(t){var e;typeof t=="number"&&(this.selectedIndex===t&&(this.value=((e=this._options[0])==null?void 0:e.value)||""),this._options.splice(t,1),this.requestUpdate())}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(){this.inputRef.value&&"showPicker"in this.inputRef.value&&this.inputRef.value.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("_optionsProp")&&this._optionsProp.length>0&&(this._options=this._optionsProp,this.requestUpdate("_options"),!this.value&&this._options.length>0&&(this.value=this._options[0].value,this.selectedIndex=0)),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._optionsProp.length&&(this._options=this._optionsProp),!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 h.x`
1
+ "use strict";const h=require("./element-D62wHiNU.cjs"),u=require("./state-BkE_Rxl7.cjs"),r=require("./ref-BfgcOXko.cjs"),o=require("./if-defined-CkVc_RJD.cjs"),d=require("./input-element-Y8sdrq9C.cjs"),c=require("./pkt-options-controller-CiuBG6Lt.cjs"),v=require("./pkt-slot-controller-BzddBp7z.cjs");require("./input-wrapper-C9rZEgju.cjs");var f=Object.defineProperty,_=Object.getOwnPropertyDescriptor,a=(p,t,e,s)=>{for(var i=s>1?void 0:s?_(t,e):t,l=p.length-1,n;l>=0;l--)(n=p[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=r.e(),this.helptextSlot=r.e(),this._optionsProp=[],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}get options(){return this._options.map(t=>({...t,selected:t.value===this.value}))}set options(t){this._optionsProp=t,this.requestUpdate("_optionsProp",this._options)}connectedCallback(){super.connectedCallback();const t=this._optionsProp.length>0,e=this.optionsController.nodes.length&&this.optionsController.nodes.length>0;!t&&e?this.optionsController.nodes.forEach(s=>{const i={value:s.hasAttribute("value")?s.getAttribute("value")??"":s.textContent??"",label:s.textContent||s.getAttribute("value")||"",disabled:s.hasAttribute("disabled"),selected:s.hasAttribute("selected"),hidden:s.hasAttribute("data-hidden")};s.getAttribute("selected")&&!this.value&&(this.value=i.value),this._options.push(i)}):(this._options=this._optionsProp,this._options.forEach(s=>{s.selected&&!this.value&&(this.value=s.value)}))}add(t,e){const s={value:t.value||t.text,label:t.text||t.value,selected:t.selected,disabled:t.disabled};if(e===void 0)this._options.push(s);else if(typeof e=="number")this._options.splice(e,0,s);else{const i=e.value||e.text,l=this._options.findIndex(n=>n.value===i);l>=0?this._options.splice(l,0,s):this._options.push(s)}t.selected&&(this.value=t.value||t.text,this.selectedIndex=this._options.findIndex(i=>i.value===this.value)),this.requestUpdate()}remove(t){var e;typeof t=="number"&&(this.selectedIndex===t&&(this.value=((e=this._options[0])==null?void 0:e.value)||""),this._options.splice(t,1),this.requestUpdate())}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(){this.inputRef.value&&"showPicker"in this.inputRef.value&&this.inputRef.value.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("_optionsProp")&&this._optionsProp.length>0&&(this._options=this._optionsProp,this.requestUpdate("_options"),!this.value&&this._options.length>0&&(this.value=this._options[0].value,this.selectedIndex=0)),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._optionsProp.length&&(this._options=this._optionsProp),!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 h.x`
2
2
  <pkt-input-wrapper
3
3
  ?counter=${this.counter}
4
4
  ?disabled=${this.disabled}
@@ -1,11 +1,11 @@
1
- import { x as r, n as c, a as v } from "./element-CgEWt74-.js";
2
- import { r as f } from "./state-Bo2bck5_.js";
3
- import { e as u, n as d } from "./ref-BBYSqgeW.js";
4
- import { o as l } from "./if-defined-CmuO4Vz9.js";
5
- import { P as _ } from "./input-element-NnrDmp4r.js";
1
+ import { x as r, n as c, a as v } from "./element-DJZPsA_J.js";
2
+ import { r as f } from "./state-CPQXJ4Ct.js";
3
+ import { e as u, n as d } from "./ref-BCGCor-j.js";
4
+ import { o as l } from "./if-defined-D3lgJqT7.js";
5
+ import { P as _ } from "./input-element-DQOVrqUZ.js";
6
6
  import { P as x } from "./pkt-options-controller-CZO1nxZ8.js";
7
7
  import { P as b } from "./pkt-slot-controller-BPGj-LC5.js";
8
- import "./input-wrapper-Dr__Sxql.js";
8
+ import "./input-wrapper-D_JdEqcO.js";
9
9
  var $ = Object.defineProperty, m = Object.getOwnPropertyDescriptor, a = (t, e, s, i) => {
10
10
  for (var o = i > 1 ? void 0 : i ? m(e, s) : e, n = t.length - 1, p; n >= 0; n--)
11
11
  (p = t[n]) && (o = (i ? p(e, s, o) : p(o)) || o);
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./element-6DBpyGQm.cjs");/**
1
+ "use strict";const e=require("./element-D62wHiNU.cjs");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- import { n as r } from "./element-CgEWt74-.js";
1
+ import { n as r } from "./element-DJZPsA_J.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const u=require("./class-map-BBG2gMX4.cjs"),t=require("./element-6DBpyGQm.cjs"),k=require("./state-DPobt-Yz.cjs"),g=require("./pkt-slot-controller-BzddBp7z.cjs"),c=require("./ref-iJtiv3o2.cjs");require("./icon-B_ryAy4Q.cjs");const h=require("./if-defined-Cni-RHLS.cjs"),f={size:{default:"medium"},skin:{default:"blue"},closeTag:{default:!1},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-CG3vIaNm.cjs"),t=require("./element-D62wHiNU.cjs"),k=require("./state-BkE_Rxl7.cjs"),g=require("./pkt-slot-controller-BzddBp7z.cjs"),c=require("./ref-BfgcOXko.cjs");require("./icon-__Hjt2XZ.cjs");const h=require("./if-defined-CkVc_RJD.cjs"),f={size:{default:"medium"},skin:{default:"blue"},closeTag:{default:!1},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,10 +1,10 @@
1
- import { e as u } from "./class-map-BpTj9gtz.js";
2
- import { P as m, x as l, n as r, a as g } from "./element-CgEWt74-.js";
3
- import { r as k } from "./state-Bo2bck5_.js";
1
+ import { e as u } from "./class-map-Dw6Wrxwi.js";
2
+ import { P as m, x as l, n as r, a as g } from "./element-DJZPsA_J.js";
3
+ import { r as k } from "./state-CPQXJ4Ct.js";
4
4
  import { P as y } from "./pkt-slot-controller-BPGj-LC5.js";
5
- import { e as b, n as f } from "./ref-BBYSqgeW.js";
6
- import "./icon-CC1js8eR.js";
7
- import { o as d } from "./if-defined-CmuO4Vz9.js";
5
+ import { e as b, n as f } from "./ref-BCGCor-j.js";
6
+ import "./icon-B1-mkmwB.js";
7
+ import { o as d } from "./if-defined-D3lgJqT7.js";
8
8
  const _ = {
9
9
  size: {
10
10
  default: "medium"
@@ -1,14 +1,14 @@
1
- import { T as l, E as $, x as f, n as d, a as g } from "./element-CgEWt74-.js";
2
- import { o as u } from "./if-defined-CmuO4Vz9.js";
3
- import { r as x } from "./state-Bo2bck5_.js";
4
- import { e as m, n as c } from "./ref-BBYSqgeW.js";
5
- import { e as v } from "./class-map-BpTj9gtz.js";
1
+ import { T as l, E as $, x as f, n as d, a as g } from "./element-DJZPsA_J.js";
2
+ import { o as u } from "./if-defined-D3lgJqT7.js";
3
+ import { r as x } from "./state-CPQXJ4Ct.js";
4
+ import { e as m, n as c } from "./ref-BCGCor-j.js";
5
+ import { e as v } from "./class-map-Dw6Wrxwi.js";
6
6
  import { e as T, i as b, t as a } from "./directive-oAbCiebi.js";
7
- import { f as y, m as w } from "./directive-helpers-r-kOS_Mf.js";
8
- import { P as C } from "./input-element-NnrDmp4r.js";
7
+ import { f as y, m as w } from "./directive-helpers-cAOIHg9K.js";
8
+ import { P as C } from "./input-element-DQOVrqUZ.js";
9
9
  import { P as E } from "./pkt-slot-controller-BPGj-LC5.js";
10
- import "./input-wrapper-Dr__Sxql.js";
11
- import "./icon-CC1js8eR.js";
10
+ import "./input-wrapper-D_JdEqcO.js";
11
+ import "./icon-B1-mkmwB.js";
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2020 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("./element-6DBpyGQm.cjs"),p=require("./if-defined-Cni-RHLS.cjs"),c=require("./state-DPobt-Yz.cjs"),l=require("./ref-iJtiv3o2.cjs"),$=require("./class-map-BBG2gMX4.cjs"),a=require("./directive-C7oCP5Bh.cjs"),d=require("./directive-helpers-BBbxqP2W.cjs"),x=require("./input-element-C4xJoM-X.cjs"),T=require("./pkt-slot-controller-BzddBp7z.cjs");require("./input-wrapper-CZ-a00V7.cjs");require("./icon-B_ryAy4Q.cjs");/**
1
+ "use strict";const s=require("./element-D62wHiNU.cjs"),p=require("./if-defined-CkVc_RJD.cjs"),c=require("./state-BkE_Rxl7.cjs"),l=require("./ref-BfgcOXko.cjs"),$=require("./class-map-CG3vIaNm.cjs"),a=require("./directive-C7oCP5Bh.cjs"),d=require("./directive-helpers-_qHew-gi.cjs"),x=require("./input-element-Y8sdrq9C.cjs"),T=require("./pkt-slot-controller-BzddBp7z.cjs");require("./input-wrapper-C9rZEgju.cjs");require("./icon-__Hjt2XZ.cjs");/**
2
2
  * @license
3
3
  * Copyright 2020 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./element-6DBpyGQm.cjs"),a=require("./if-defined-Cni-RHLS.cjs"),l=require("./state-DPobt-Yz.cjs"),h=require("./ref-iJtiv3o2.cjs"),c=require("./class-map-BBG2gMX4.cjs"),d=require("./input-element-C4xJoM-X.cjs"),x=require("./pkt-slot-controller-BzddBp7z.cjs");require("./input-wrapper-CZ-a00V7.cjs");require("./icon-B_ryAy4Q.cjs");var $=Object.defineProperty,f=Object.getOwnPropertyDescriptor,r=(u,i,s,n)=>{for(var e=n>1?void 0:n?f(i,s):i,o=u.length-1,p;o>=0;o--)(p=u[o])&&(e=(n?p(i,s,e):p(e))||e);return n&&e&&$(i,s,e),e};exports.PktTextinput=class extends d.PktInputElement{constructor(){super(),this.inputRef=h.e(),this.helptextSlot=h.e(),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 x.PktSlotController(this,this.helptextSlot)}attributeChangedCallback(i,s,n){i==="value"&&this.value!==s&&(this.counterCurrent=n?n.length:0,this.valueChanged(n,s)),super.attributeChangedCallback(i,s,n)}updated(i){var s;super.updated(i),i.has("value")&&(this.counterCurrent=((s=this.value)==null?void 0:s.length)||0,this.valueChanged(this.value,i.get("value"))),i.has("id")&&!this.name&&this.id&&(this.name=this.id)}render(){const i=this.type==="search"&&!this.iconNameRight&&!this.omitSearchIcon,s=c.e({"pkt-input":!0,"pkt-input--fullwidth":this.fullwidth,"pkt-input--counter-error":this.counter&&this.counterMaxLength&&this.value.length&&this.value.length>this.counterMaxLength}),n=this.ariaLabelledby||`${this.id}-input-label`;return t.x`
1
+ "use strict";const t=require("./element-D62wHiNU.cjs"),a=require("./if-defined-CkVc_RJD.cjs"),l=require("./state-BkE_Rxl7.cjs"),h=require("./ref-BfgcOXko.cjs"),c=require("./class-map-CG3vIaNm.cjs"),d=require("./input-element-Y8sdrq9C.cjs"),x=require("./pkt-slot-controller-BzddBp7z.cjs");require("./input-wrapper-C9rZEgju.cjs");require("./icon-__Hjt2XZ.cjs");var $=Object.defineProperty,f=Object.getOwnPropertyDescriptor,r=(u,i,s,n)=>{for(var e=n>1?void 0:n?f(i,s):i,o=u.length-1,p;o>=0;o--)(p=u[o])&&(e=(n?p(i,s,e):p(e))||e);return n&&e&&$(i,s,e),e};exports.PktTextinput=class extends d.PktInputElement{constructor(){super(),this.inputRef=h.e(),this.helptextSlot=h.e(),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 x.PktSlotController(this,this.helptextSlot)}attributeChangedCallback(i,s,n){i==="value"&&this.value!==s&&(this.counterCurrent=n?n.length:0,this.valueChanged(n,s)),super.attributeChangedCallback(i,s,n)}updated(i){var s;super.updated(i),i.has("value")&&(this.counterCurrent=((s=this.value)==null?void 0:s.length)||0,this.valueChanged(this.value,i.get("value"))),i.has("id")&&!this.name&&this.id&&(this.name=this.id)}render(){const i=this.type==="search"&&!this.iconNameRight&&!this.omitSearchIcon,s=c.e({"pkt-input":!0,"pkt-input--fullwidth":this.fullwidth,"pkt-input--counter-error":this.counter&&this.counterMaxLength&&this.value.length&&this.value.length>this.counterMaxLength}),n=this.ariaLabelledby||`${this.id}-input-label`;return t.x`
2
2
  <pkt-input-wrapper
3
3
  label="${this.label}"
4
4
  ?counter=${this.counter}
@@ -1,12 +1,12 @@
1
- import { E as p, x as h, n as a, a as $ } from "./element-CgEWt74-.js";
2
- import { o as u } from "./if-defined-CmuO4Vz9.js";
3
- import { r as f } from "./state-Bo2bck5_.js";
4
- import { e as d, n as m } from "./ref-BBYSqgeW.js";
5
- import { e as g } from "./class-map-BpTj9gtz.js";
6
- import { P as x } from "./input-element-NnrDmp4r.js";
1
+ import { E as p, x as h, n as a, a as $ } from "./element-DJZPsA_J.js";
2
+ import { o as u } from "./if-defined-D3lgJqT7.js";
3
+ import { r as f } from "./state-CPQXJ4Ct.js";
4
+ import { e as d, n as m } from "./ref-BCGCor-j.js";
5
+ import { e as g } from "./class-map-Dw6Wrxwi.js";
6
+ import { P as x } from "./input-element-DQOVrqUZ.js";
7
7
  import { P as v } from "./pkt-slot-controller-BPGj-LC5.js";
8
- import "./input-wrapper-Dr__Sxql.js";
9
- import "./icon-CC1js8eR.js";
8
+ import "./input-wrapper-D_JdEqcO.js";
9
+ import "./icon-B1-mkmwB.js";
10
10
  var y = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (i, e, r, t) => {
11
11
  for (var n = t > 1 ? void 0 : t ? b(e, r) : e, l = i.length - 1, c; l >= 0; l--)
12
12
  (c = i[l]) && (n = (t ? c(e, r, n) : c(n)) || n);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-elements",
3
- "version": "13.6.0",
3
+ "version": "13.6.2",
4
4
  "description": "Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -30,7 +30,6 @@
30
30
  "date-fns": "^4.1.0",
31
31
  "dialog-polyfill": "^0.5.6",
32
32
  "lit": "^3.3.0",
33
- "react-dom": ">=18.2.22",
34
33
  "urlpattern-polyfill": "^10.0.0",
35
34
  "whatwg-fetch": "^3.6.19"
36
35
  },
@@ -40,8 +39,8 @@
40
39
  "@babel/plugin-transform-private-property-in-object": "^7.25.9",
41
40
  "@babel/preset-env": "^7.28.3",
42
41
  "@babel/preset-typescript": "^7.25.9",
43
- "@oslokommune/punkt-assets": "^13.3.1",
44
- "@oslokommune/punkt-css": "^13.5.12",
42
+ "@oslokommune/punkt-assets": "^13.6.2",
43
+ "@oslokommune/punkt-css": "^13.6.2",
45
44
  "@testing-library/jest-dom": "^6.6.3",
46
45
  "@vitest/ui": "^1.0.0",
47
46
  "jest-axe": "^9.0.0",
@@ -73,5 +72,5 @@
73
72
  "url": "https://github.com/oslokommune/punkt/issues"
74
73
  },
75
74
  "license": "MIT",
76
- "gitHead": "02be3699565d6e962bf2a28742428505c2922363"
75
+ "gitHead": "b5a1457f31676861fd36c62ae822cf687d413edd"
77
76
  }
@@ -17,7 +17,7 @@ import { ifDefined } from 'lit/directives/if-defined.js'
17
17
  export interface IPktAccordionItem {
18
18
  defaultOpen?: boolean
19
19
  id: string
20
- title: string | React.ReactNode
20
+ title: string
21
21
  skin?: TPktAccordionSkin
22
22
  compact?: boolean
23
23
  isOpen?: boolean