@lukso/web-components 1.41.0 → 1.42.0

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 (80) hide show
  1. package/dist/components/index.cjs +7 -6
  2. package/dist/components/index.js +7 -6
  3. package/dist/components/lukso-button/index.cjs +21 -20
  4. package/dist/components/lukso-button/index.js +5 -4
  5. package/dist/components/lukso-card/index.cjs +15 -14
  6. package/dist/components/lukso-card/index.js +5 -4
  7. package/dist/components/lukso-checkbox/index.cjs +16 -15
  8. package/dist/components/lukso-checkbox/index.js +5 -4
  9. package/dist/components/lukso-footer/index.cjs +39 -27
  10. package/dist/components/lukso-footer/index.d.ts +2 -0
  11. package/dist/components/lukso-footer/index.d.ts.map +1 -1
  12. package/dist/components/lukso-footer/index.js +39 -27
  13. package/dist/components/lukso-footer/lukso-footer.stories.d.ts +2 -0
  14. package/dist/components/lukso-footer/lukso-footer.stories.d.ts.map +1 -1
  15. package/dist/components/lukso-icon/index.cjs +9 -8
  16. package/dist/components/lukso-icon/index.js +4 -3
  17. package/dist/components/lukso-input/index.cjs +26 -25
  18. package/dist/components/lukso-input/index.js +5 -4
  19. package/dist/components/lukso-modal/index.cjs +7 -6
  20. package/dist/components/lukso-modal/index.js +4 -3
  21. package/dist/components/lukso-navbar/index.cjs +15 -14
  22. package/dist/components/lukso-navbar/index.js +6 -5
  23. package/dist/components/lukso-profile/index.cjs +10 -9
  24. package/dist/components/lukso-profile/index.js +5 -4
  25. package/dist/components/lukso-progress/index.cjs +10 -9
  26. package/dist/components/lukso-progress/index.js +5 -4
  27. package/dist/components/lukso-sanitize/index.cjs +7 -6
  28. package/dist/components/lukso-sanitize/index.js +3 -2
  29. package/dist/components/lukso-search/index.cjs +27 -26
  30. package/dist/components/lukso-search/index.js +6 -5
  31. package/dist/components/lukso-share/index.cjs +24 -15
  32. package/dist/components/lukso-share/index.d.ts +8 -2
  33. package/dist/components/lukso-share/index.d.ts.map +1 -1
  34. package/dist/components/lukso-share/index.js +23 -14
  35. package/dist/components/lukso-share/lukso-share.stories.d.ts +5 -1
  36. package/dist/components/lukso-share/lukso-share.stories.d.ts.map +1 -1
  37. package/dist/components/lukso-switch/index.cjs +9 -8
  38. package/dist/components/lukso-switch/index.js +5 -4
  39. package/dist/components/lukso-tag/index.cjs +10 -9
  40. package/dist/components/lukso-tag/index.js +5 -4
  41. package/dist/components/lukso-terms/index.cjs +9 -7
  42. package/dist/components/lukso-terms/index.d.ts.map +1 -1
  43. package/dist/components/lukso-terms/index.js +7 -5
  44. package/dist/components/lukso-test/index.cjs +10 -9
  45. package/dist/components/lukso-test/index.js +4 -3
  46. package/dist/components/lukso-username/index.cjs +16 -15
  47. package/dist/components/lukso-username/index.js +5 -4
  48. package/dist/components/lukso-wizard/index.cjs +10 -9
  49. package/dist/components/lukso-wizard/index.js +5 -4
  50. package/dist/directive-2bb7789e.js +8 -0
  51. package/dist/directive-8278ab14.cjs +12 -0
  52. package/dist/{directive-helpers-e70702eb.cjs → directive-helpers-01f1c3b1.cjs} +1 -1
  53. package/dist/{directive-helpers-1affe406.js → directive-helpers-8f79cbe5.js} +1 -1
  54. package/dist/{index-714323c9.js → index-5e194caf.js} +1 -1
  55. package/dist/{index-e765f94b.cjs → index-930f6cf2.cjs} +1 -1
  56. package/dist/{index-7dc05ee5.cjs → index-e9668573.cjs} +2 -2
  57. package/dist/{index-9dfdafd2.js → index-ed87f41b.js} +1 -1
  58. package/dist/index.cjs +7 -6
  59. package/dist/index.js +7 -6
  60. package/dist/query-assigned-elements-5200f974.cjs +24 -0
  61. package/dist/query-assigned-elements-e36df787.js +21 -0
  62. package/dist/shared/tailwind-element/index.cjs +1 -1
  63. package/dist/shared/tailwind-element/index.js +1 -1
  64. package/dist/{state-7fde94d1.js → state-02a92ffa.js} +1 -1
  65. package/dist/state-51b50a6b.cjs +11 -0
  66. package/dist/style-map-3b9af808.cjs +12 -0
  67. package/dist/{style-map-5173bb70.js → style-map-5daca6c4.js} +2 -2
  68. package/package.json +1 -1
  69. package/tools/assets/images/social-discord.svg +4 -1
  70. package/tools/assets/images/social-github.svg +11 -1
  71. package/tools/assets/images/social-instagram.svg +6 -1
  72. package/tools/assets/images/social-linkedin.svg +4 -1
  73. package/tools/assets/images/social-medium.svg +6 -1
  74. package/tools/assets/images/social-reddit.svg +11 -1
  75. package/tools/assets/images/social-telegram.svg +4 -1
  76. package/tools/assets/images/social-twitter.svg +4 -1
  77. package/dist/directive-9ec64c08.js +0 -28
  78. package/dist/directive-db00f5fb.cjs +0 -34
  79. package/dist/state-a62a7d5d.cjs +0 -11
  80. package/dist/style-map-3a049df9.cjs +0 -12
@@ -1 +1,6 @@
1
- <svg fill="none" height="44" viewBox="0 0 44 44" width="44" xmlns="http://www.w3.org/2000/svg"><rect fill="#5c5f60" height="44" rx="22" width="44"/><g fill="#fff"><path d="m24.0753 22.4173c0 5.0905-4.0911 9.2171-9.1376 9.2171-5.04641 0-9.1379-4.1275-9.1379-9.2171 0-5.0895 4.09118-9.2173 9.1379-9.2173 5.0468 0 9.1376 4.1269 9.1376 9.2173z"/><path d="m34.0994 22.4172c0 4.7916-2.0456 8.6775-4.569 8.6775s-4.569-3.8859-4.569-8.6775 2.0453-8.6775 4.5687-8.6775 4.569 3.8847 4.569 8.6775"/><path d="m38.1998 22.4174c0 4.2921-.7193 7.7737-1.6069 7.7737s-1.6066-3.4807-1.6066-7.7737.7194-7.7736 1.6066-7.7736c.8873 0 1.6069 3.4803 1.6069 7.7736z"/></g></svg>
1
+ <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="28" height="28" rx="14" fill="#243542"/>
3
+ <path d="M15.3208 14.2656C15.3208 17.505 12.7173 20.1311 9.50596 20.1311C6.29459 20.1311 3.69092 17.5044 3.69092 14.2656C3.69092 11.0268 6.29439 8.40002 9.50596 8.40002C12.7175 8.40002 15.3208 11.0263 15.3208 14.2656Z" fill="white"/>
4
+ <path d="M21.6998 14.2656C21.6998 17.3148 20.3981 19.7876 18.7923 19.7876C17.1865 19.7876 15.8848 17.3148 15.8848 14.2656C15.8848 11.2164 17.1863 8.74359 18.7921 8.74359C20.3979 8.74359 21.6996 11.2156 21.6996 14.2656" fill="white"/>
5
+ <path d="M24.3091 14.2656C24.3091 16.9969 23.8514 19.2124 23.2865 19.2124C22.7217 19.2124 22.2642 16.9975 22.2642 14.2656C22.2642 11.5337 22.7219 9.31873 23.2865 9.31873C23.8512 9.31873 24.3091 11.5335 24.3091 14.2656Z" fill="white"/>
6
+ </svg>
@@ -1 +1,11 @@
1
- <svg fill="none" height="44" viewBox="0 0 44 44" width="44" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><clipPath id="a"><path d="m0 0h44v44h-44z"/></clipPath><g clip-path="url(#a)"><path d="m22 44c12.1503 0 22-9.8497 22-22 0-12.15027-9.8497-22-22-22-12.15027 0-22 9.84973-22 22 0 12.1503 9.84973 22 22 22z" fill="#5c5f60"/><path d="m36.6666 21.9999c0-1.7754-1.4409-3.2163-3.2163-3.2163-.8749 0-1.6468.3345-2.2129.9006-2.1871-1.5696-5.2234-2.5989-8.5684-2.7275l1.4666-6.8702 4.7603 1.0035c.0514 1.2094 1.0549 2.1871 2.29 2.1871 1.2609 0 2.2901-1.0292 2.2901-2.29 0-1.26084-1.0292-2.29008-2.2901-2.29008-.9005 0-1.6725.51462-2.0327 1.28655l-5.3263-1.13216c-.1544-.02573-.3088 0-.4375.07719-.1286.07719-.2058.20585-.2573.36024l-1.621 7.66786c-3.4222.1029-6.4842 1.1064-8.6971 2.7275-.5661-.5404-1.3637-.9006-2.2129-.9006-1.7754 0-3.21633 1.4409-3.21633 3.2163 0 1.3123.77193 2.4188 1.90409 2.9334-.05146.3088-.07719.6433-.07719.9778 0 4.9403 5.73803 8.9286 12.83973 8.9286 7.1018 0 12.8398-3.9883 12.8398-8.9286 0-.3345-.0257-.6433-.0772-.9521 1.055-.5146 1.8526-1.6468 1.8526-2.9591zm-22 2.2901c0-1.2608 1.0293-2.2901 2.2901-2.2901s2.2901 1.0293 2.2901 2.2901-1.0293 2.2901-2.2901 2.2901-2.2901-1.0293-2.2901-2.2901zm12.7883 6.0468c-1.5695 1.5696-4.5543 1.6725-5.4292 1.6725s-3.8854-.1287-5.4292-1.6725c-.2316-.2316-.2316-.6176 0-.8491.2315-.2316.6175-.2316.8491 0 .9778.9777 3.0877 1.338 4.6058 1.338 1.5182 0 3.6024-.3603 4.6059-1.338.2316-.2316.6175-.2316.8491 0 .1801.2573.1801.6175-.0515.8491zm-.4117-3.7567c-1.2608 0-2.29-1.0293-2.29-2.2901s1.0292-2.2901 2.29-2.2901c1.2609 0 2.2901 1.0293 2.2901 2.2901s-1.0292 2.2901-2.2901 2.2901z" fill="#fff"/></g></svg>
1
+ <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_3427_27076)">
3
+ <path d="M14 28C21.732 28 28 21.732 28 14C28 6.26801 21.732 0 14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28Z" fill="#243542"/>
4
+ <path d="M23.3334 14C23.3334 12.8702 22.4164 11.9533 21.2866 11.9533C20.7299 11.9533 20.2386 12.1661 19.8784 12.5264C18.4866 11.5275 16.5544 10.8726 14.4258 10.7907L15.3591 6.41876L18.3883 7.05735C18.4211 7.82694 19.0597 8.44917 19.8457 8.44917C20.648 8.44917 21.303 7.7942 21.303 6.99186C21.303 6.18952 20.648 5.53455 19.8457 5.53455C19.2726 5.53455 18.7813 5.86203 18.5521 6.35326L15.1626 5.63279C15.0644 5.61642 14.9661 5.63279 14.8843 5.68191C14.8024 5.73104 14.7533 5.81291 14.7205 5.91115L13.6889 10.7907C11.5112 10.8562 9.56262 11.4948 8.15443 12.5264C7.7942 12.1825 7.2866 11.9533 6.74625 11.9533C5.61642 11.9533 4.69946 12.8702 4.69946 14C4.69946 14.8351 5.19069 15.5392 5.91116 15.8667C5.87841 16.0632 5.86204 16.2761 5.86204 16.4889C5.86204 19.6328 9.5135 22.1708 14.0328 22.1708C18.5521 22.1708 22.2036 19.6328 22.2036 16.4889C22.2036 16.2761 22.1872 16.0796 22.1544 15.8831C22.8258 15.5556 23.3334 14.8351 23.3334 14ZM9.33338 15.4574C9.33338 14.655 9.98835 14 10.7907 14C11.593 14 12.248 14.655 12.248 15.4574C12.248 16.2597 11.593 16.9147 10.7907 16.9147C9.98835 16.9147 9.33338 16.2597 9.33338 15.4574ZM17.4714 19.3053C16.4726 20.3041 14.5731 20.3696 14.0164 20.3696C13.4597 20.3696 11.5439 20.2878 10.5614 19.3053C10.4141 19.1579 10.4141 18.9123 10.5614 18.765C10.7088 18.6176 10.9544 18.6176 11.1018 18.765C11.724 19.3872 13.0667 19.6164 14.0328 19.6164C14.9989 19.6164 16.3252 19.3872 16.9638 18.765C17.1112 18.6176 17.3568 18.6176 17.5041 18.765C17.6188 18.9287 17.6188 19.1579 17.4714 19.3053ZM17.2094 16.9147C16.4071 16.9147 15.7521 16.2597 15.7521 15.4574C15.7521 14.655 16.4071 14 17.2094 14C18.0117 14 18.6667 14.655 18.6667 15.4574C18.6667 16.2597 18.0117 16.9147 17.2094 16.9147Z" fill="white"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_3427_27076">
8
+ <rect width="28" height="28" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -1 +1,4 @@
1
- <svg fill="none" height="44" viewBox="0 0 44 44" width="44" xmlns="http://www.w3.org/2000/svg"><rect fill="#5c5f60" height="44" rx="22" width="44"/><path clip-rule="evenodd" d="m9.95886 21.7679c6.41344-2.7942 10.69004-4.6364 12.82994-5.5264 6.1096-2.5412 7.3791-2.9826 8.2066-2.9972.182-.0032.5889.0419.8525.2558.2226.1806.2838.4245.3131.5958.0293.1712.0658.5612.0368.866-.3311 3.4787-1.7637 11.9207-2.4925 15.8169-.3084 1.6486-.9156 2.2014-1.5035 2.2555-1.2776.1176-2.2477-.8443-3.4851-1.6554-1.9363-1.2693-3.0302-2.0594-4.9097-3.298-2.1721-1.4313-.764-2.2181.4739-3.5038.3239-.3364 5.953-5.4565 6.0619-5.9209.0137-.0581.0263-.2747-.1023-.389-.1287-.1143-.3185-.0752-.4555-.0441-.1942.044-3.2875 2.0885-9.2798 6.1335-.878.6029-1.6732.8967-2.3858.8813-.7855-.017-2.2965-.4442-3.4198-.8093-1.37775-.4479-2.47276-.6846-2.37741-1.4452.04967-.3962.59522-.8014 1.63667-1.2155z" fill="#fff" fill-rule="evenodd"/></svg>
1
+ <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="28" height="28" rx="14" fill="#243542"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M6.33743 13.8522C10.4187 12.074 13.1402 10.9018 14.5019 10.3354C18.3899 8.71827 19.1978 8.43735 19.7243 8.42808C19.8401 8.42604 20.0991 8.45474 20.2668 8.59085C20.4085 8.70577 20.4474 8.86102 20.4661 8.96998C20.4847 9.07895 20.5079 9.32716 20.4895 9.52112C20.2788 11.7348 19.3671 17.107 18.9033 19.5864C18.7071 20.6355 18.3207 20.9873 17.9466 21.0217C17.1336 21.0965 16.5162 20.4844 15.7288 19.9683C14.4966 19.1605 13.8005 18.6577 12.6044 17.8696C11.2222 16.9587 12.1183 16.4581 12.906 15.6399C13.1121 15.4258 16.6943 12.1676 16.7636 11.872C16.7723 11.835 16.7803 11.6972 16.6985 11.6245C16.6166 11.5517 16.4958 11.5766 16.4086 11.5964C16.285 11.6244 14.3166 12.9255 10.5033 15.4995C9.94457 15.8832 9.43849 16.0701 8.98506 16.0603C8.48519 16.0496 7.52363 15.7777 6.80882 15.5454C5.93207 15.2604 5.23524 15.1097 5.29592 14.6257C5.32752 14.3736 5.6747 14.1157 6.33743 13.8522Z" fill="white"/>
4
+ </svg>
@@ -1 +1,4 @@
1
- <svg fill="none" height="44" viewBox="0 0 44 44" width="44" xmlns="http://www.w3.org/2000/svg"><rect fill="#5c5f60" height="44" rx="22" width="44"/><path d="m17.9742 33.605c9.757 0 15.092-8.085 15.092-15.092 0-.231 0-.462-.011-.682 1.034-.748 1.936-1.683 2.651-2.75-.946.418-1.969.704-3.047.836 1.1-.66 1.936-1.694 2.332-2.937-1.023.605-2.156 1.045-3.366 1.287-.968-1.034-2.343-1.672-3.872-1.672-2.926 0-5.302 2.376-5.302 5.302 0 .418.044.825.143 1.21-4.411-.22-8.316-2.332-10.934-5.544-.451.781-.715 1.694-.715 2.662 0 1.837.935 3.465 2.365 4.411-.869-.022-1.683-.264-2.398-.66v.066c0 2.574 1.826 4.708 4.257 5.203-.44.121-.913.187-1.397.187-.341 0-.671-.033-1.001-.099.671 2.112 2.629 3.641 4.95 3.685-1.815 1.419-4.103 2.266-6.589 2.266-.429 0-.847-.022-1.26501-.077 2.32101 1.518 5.11501 2.398 8.10701 2.398z" fill="#fff"/></svg>
1
+ <svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="28" height="28" rx="14" fill="#243542"/>
3
+ <path d="M6.03901 7L12.2164 15.2734L6 22H7.39907L12.8415 16.1108L17.2389 22H22L15.475 13.2612L21.2612 7H19.8621L14.8499 12.4239L10.8001 7H6.03901ZM8.09644 8.03225H10.2837L19.9422 20.9676H17.755L8.09644 8.03225Z" fill="white"/>
4
+ </svg>
@@ -1,28 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const e$2=e=>n=>"function"==typeof n?((e,n)=>(customElements.define(e,n),n))(e,n):((e,n)=>{const{kind:t,elements:s}=n;return {kind:t,elements:s,finisher(n){customElements.define(e,n);}}})(e,n);
7
-
8
- /**
9
- * @license
10
- * Copyright 2017 Google LLC
11
- * SPDX-License-Identifier: BSD-3-Clause
12
- */
13
- const i$1=(i,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i);}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this));},finisher(n){n.createProperty(e.key,i);}};function e$1(e){return (n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i);})(e,n,t):i$1(e,n)}
14
-
15
- /**
16
- * @license
17
- * Copyright 2021 Google LLC
18
- * SPDX-License-Identifier: BSD-3-Clause
19
- */var n;null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(o,n)=>o.assignedElements(n):(o,n)=>o.assignedNodes(n).filter((o=>o.nodeType===Node.ELEMENT_NODE));
20
-
21
- /**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */
26
- const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
27
-
28
- export { e$2 as a, e as b, e$1 as e, i, t };
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const e$2=e=>n=>"function"==typeof n?((e,n)=>(customElements.define(e,n),n))(e,n):((e,n)=>{const{kind:t,elements:s}=n;return {kind:t,elements:s,finisher(n){customElements.define(e,n);}}})(e,n);
9
-
10
- /**
11
- * @license
12
- * Copyright 2017 Google LLC
13
- * SPDX-License-Identifier: BSD-3-Clause
14
- */
15
- const i$1=(i,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,i);}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this));},finisher(n){n.createProperty(e.key,i);}};function e$1(e){return (n,t)=>void 0!==t?((i,e,n)=>{e.constructor.createProperty(n,i);})(e,n,t):i$1(e,n)}
16
-
17
- /**
18
- * @license
19
- * Copyright 2021 Google LLC
20
- * SPDX-License-Identifier: BSD-3-Clause
21
- */var n;null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(o,n)=>o.assignedElements(n):(o,n)=>o.assignedNodes(n).filter((o=>o.nodeType===Node.ELEMENT_NODE));
22
-
23
- /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */
28
- const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
29
-
30
- exports.e = e$1;
31
- exports.e$1 = e$2;
32
- exports.e$2 = e;
33
- exports.i = i;
34
- exports.t = t;
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- const directive = require('./directive-db00f5fb.cjs');
4
-
5
- /**
6
- * @license
7
- * Copyright 2017 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */function t(t){return directive.e({...t,state:!0})}
10
-
11
- exports.t = t;
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- const shared_tailwindElement_index = require('./index-e765f94b.cjs');
4
- const directive = require('./directive-db00f5fb.cjs');
5
-
6
- /**
7
- * @license
8
- * Copyright 2018 Google LLC
9
- * SPDX-License-Identifier: BSD-3-Clause
10
- */const i="important",n=" !"+i,o=directive.e$2(class extends directive.i{constructor(t){var e;if(super(t),t.type!==directive.t.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ht){this.ht=new Set;for(const t in r)this.ht.add(t);return this.render(r)}this.ht.forEach((t=>{null==r[t]&&(this.ht.delete(t),t.includes("-")?s.removeProperty(t):s[t]="");}));for(const t in r){const e=r[t];if(null!=e){this.ht.add(t);const r="string"==typeof e&&e.endsWith(n);t.includes("-")||r?s.setProperty(t,r?e.slice(0,-11):e,r?i:""):s[t]=e;}}return shared_tailwindElement_index.T}});
11
-
12
- exports.o = o;