@lukso/web-components 1.26.2 → 1.28.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 (305) hide show
  1. package/dist/components/index.cjs +8 -2
  2. package/dist/components/index.d.ts +1 -0
  3. package/dist/components/index.d.ts.map +1 -1
  4. package/dist/components/index.js +4 -2
  5. package/dist/components/lukso-button/index.cjs +1 -1
  6. package/dist/components/lukso-button/index.d.ts +3 -3
  7. package/dist/components/lukso-button/index.js +1 -1
  8. package/dist/components/lukso-card/index.cjs +2 -2
  9. package/dist/components/lukso-card/index.d.ts +4 -4
  10. package/dist/components/lukso-card/index.js +2 -2
  11. package/dist/components/lukso-icon/icons/add-photo.d.ts +1 -1
  12. package/dist/components/lukso-icon/icons/add-photo.d.ts.map +1 -1
  13. package/dist/components/lukso-icon/icons/arrow-down-lg.d.ts +1 -1
  14. package/dist/components/lukso-icon/icons/arrow-down-lg.d.ts.map +1 -1
  15. package/dist/components/lukso-icon/icons/arrow-down-sm.d.ts +1 -1
  16. package/dist/components/lukso-icon/icons/arrow-down-sm.d.ts.map +1 -1
  17. package/dist/components/lukso-icon/icons/arrow-left-lg.d.ts +1 -1
  18. package/dist/components/lukso-icon/icons/arrow-left-lg.d.ts.map +1 -1
  19. package/dist/components/lukso-icon/icons/arrow-left-sm.d.ts +1 -1
  20. package/dist/components/lukso-icon/icons/arrow-left-sm.d.ts.map +1 -1
  21. package/dist/components/lukso-icon/icons/arrow-right-lg.d.ts +1 -1
  22. package/dist/components/lukso-icon/icons/arrow-right-lg.d.ts.map +1 -1
  23. package/dist/components/lukso-icon/icons/arrow-right-sm.d.ts +1 -1
  24. package/dist/components/lukso-icon/icons/arrow-right-sm.d.ts.map +1 -1
  25. package/dist/components/lukso-icon/icons/arrow-up-lg.d.ts +1 -1
  26. package/dist/components/lukso-icon/icons/arrow-up-lg.d.ts.map +1 -1
  27. package/dist/components/lukso-icon/icons/arrow-up-sm.d.ts +1 -1
  28. package/dist/components/lukso-icon/icons/arrow-up-sm.d.ts.map +1 -1
  29. package/dist/components/lukso-icon/icons/barbell-outline.d.ts +1 -1
  30. package/dist/components/lukso-icon/icons/barbell-outline.d.ts.map +1 -1
  31. package/dist/components/lukso-icon/icons/bulb-outline.d.ts +1 -1
  32. package/dist/components/lukso-icon/icons/bulb-outline.d.ts.map +1 -1
  33. package/dist/components/lukso-icon/icons/camera.d.ts +1 -1
  34. package/dist/components/lukso-icon/icons/camera.d.ts.map +1 -1
  35. package/dist/components/lukso-icon/icons/clipboard.d.ts +1 -1
  36. package/dist/components/lukso-icon/icons/clipboard.d.ts.map +1 -1
  37. package/dist/components/lukso-icon/icons/clock.d.ts +1 -1
  38. package/dist/components/lukso-icon/icons/clock.d.ts.map +1 -1
  39. package/dist/components/lukso-icon/icons/close-lg.d.ts +1 -1
  40. package/dist/components/lukso-icon/icons/close-lg.d.ts.map +1 -1
  41. package/dist/components/lukso-icon/icons/close-sm.d.ts +1 -1
  42. package/dist/components/lukso-icon/icons/close-sm.d.ts.map +1 -1
  43. package/dist/components/lukso-icon/icons/cloud.d.ts +1 -1
  44. package/dist/components/lukso-icon/icons/cloud.d.ts.map +1 -1
  45. package/dist/components/lukso-icon/icons/compass-outline.d.ts +1 -1
  46. package/dist/components/lukso-icon/icons/compass-outline.d.ts.map +1 -1
  47. package/dist/components/lukso-icon/icons/complete-filled-fade-in.d.ts +1 -1
  48. package/dist/components/lukso-icon/icons/complete-filled-fade-in.d.ts.map +1 -1
  49. package/dist/components/lukso-icon/icons/complete-filled.d.ts +1 -1
  50. package/dist/components/lukso-icon/icons/complete-filled.d.ts.map +1 -1
  51. package/dist/components/lukso-icon/icons/complete-outline.d.ts +1 -1
  52. package/dist/components/lukso-icon/icons/complete-outline.d.ts.map +1 -1
  53. package/dist/components/lukso-icon/icons/connect.d.ts +1 -1
  54. package/dist/components/lukso-icon/icons/connect.d.ts.map +1 -1
  55. package/dist/components/lukso-icon/icons/connections.d.ts +1 -1
  56. package/dist/components/lukso-icon/icons/connections.d.ts.map +1 -1
  57. package/dist/components/lukso-icon/icons/contract-lock.d.ts +1 -1
  58. package/dist/components/lukso-icon/icons/contract-lock.d.ts.map +1 -1
  59. package/dist/components/lukso-icon/icons/contract-signed.d.ts +1 -1
  60. package/dist/components/lukso-icon/icons/contract-signed.d.ts.map +1 -1
  61. package/dist/components/lukso-icon/icons/controller.d.ts +1 -1
  62. package/dist/components/lukso-icon/icons/controller.d.ts.map +1 -1
  63. package/dist/components/lukso-icon/icons/copy.d.ts +1 -1
  64. package/dist/components/lukso-icon/icons/copy.d.ts.map +1 -1
  65. package/dist/components/lukso-icon/icons/cross-outline.d.ts +1 -1
  66. package/dist/components/lukso-icon/icons/cross-outline.d.ts.map +1 -1
  67. package/dist/components/lukso-icon/icons/desktop-sharp.d.ts +1 -1
  68. package/dist/components/lukso-icon/icons/desktop-sharp.d.ts.map +1 -1
  69. package/dist/components/lukso-icon/icons/dots.d.ts +1 -1
  70. package/dist/components/lukso-icon/icons/dots.d.ts.map +1 -1
  71. package/dist/components/lukso-icon/icons/edit.d.ts +1 -1
  72. package/dist/components/lukso-icon/icons/edit.d.ts.map +1 -1
  73. package/dist/components/lukso-icon/icons/error.d.ts +1 -1
  74. package/dist/components/lukso-icon/icons/error.d.ts.map +1 -1
  75. package/dist/components/lukso-icon/icons/eth-logo.d.ts +1 -1
  76. package/dist/components/lukso-icon/icons/eth-logo.d.ts.map +1 -1
  77. package/dist/components/lukso-icon/icons/expand.d.ts +1 -1
  78. package/dist/components/lukso-icon/icons/expand.d.ts.map +1 -1
  79. package/dist/components/lukso-icon/icons/extension.d.ts +1 -1
  80. package/dist/components/lukso-icon/icons/extension.d.ts.map +1 -1
  81. package/dist/components/lukso-icon/icons/eye-hide.d.ts +1 -1
  82. package/dist/components/lukso-icon/icons/eye-hide.d.ts.map +1 -1
  83. package/dist/components/lukso-icon/icons/eye-show.d.ts +1 -1
  84. package/dist/components/lukso-icon/icons/eye-show.d.ts.map +1 -1
  85. package/dist/components/lukso-icon/icons/filter.d.ts +1 -1
  86. package/dist/components/lukso-icon/icons/filter.d.ts.map +1 -1
  87. package/dist/components/lukso-icon/icons/fish-outline.d.ts +1 -1
  88. package/dist/components/lukso-icon/icons/fish-outline.d.ts.map +1 -1
  89. package/dist/components/lukso-icon/icons/flip.d.ts +1 -1
  90. package/dist/components/lukso-icon/icons/flip.d.ts.map +1 -1
  91. package/dist/components/lukso-icon/icons/globe.d.ts +1 -1
  92. package/dist/components/lukso-icon/icons/globe.d.ts.map +1 -1
  93. package/dist/components/lukso-icon/icons/google-color.d.ts +1 -1
  94. package/dist/components/lukso-icon/icons/google-color.d.ts.map +1 -1
  95. package/dist/components/lukso-icon/icons/hamburger.d.ts +1 -1
  96. package/dist/components/lukso-icon/icons/hamburger.d.ts.map +1 -1
  97. package/dist/components/lukso-icon/icons/infinite.d.ts +1 -1
  98. package/dist/components/lukso-icon/icons/infinite.d.ts.map +1 -1
  99. package/dist/components/lukso-icon/icons/information.d.ts +1 -1
  100. package/dist/components/lukso-icon/icons/information.d.ts.map +1 -1
  101. package/dist/components/lukso-icon/icons/key-outline.d.ts +1 -1
  102. package/dist/components/lukso-icon/icons/key-outline.d.ts.map +1 -1
  103. package/dist/components/lukso-icon/icons/link.d.ts +1 -1
  104. package/dist/components/lukso-icon/icons/link.d.ts.map +1 -1
  105. package/dist/components/lukso-icon/icons/link1.d.ts +1 -1
  106. package/dist/components/lukso-icon/icons/link1.d.ts.map +1 -1
  107. package/dist/components/lukso-icon/icons/link2.d.ts +1 -1
  108. package/dist/components/lukso-icon/icons/link2.d.ts.map +1 -1
  109. package/dist/components/lukso-icon/icons/link3.d.ts +1 -1
  110. package/dist/components/lukso-icon/icons/link3.d.ts.map +1 -1
  111. package/dist/components/lukso-icon/icons/link4.d.ts +1 -1
  112. package/dist/components/lukso-icon/icons/link4.d.ts.map +1 -1
  113. package/dist/components/lukso-icon/icons/loading.d.ts +1 -1
  114. package/dist/components/lukso-icon/icons/loading.d.ts.map +1 -1
  115. package/dist/components/lukso-icon/icons/location.d.ts +1 -1
  116. package/dist/components/lukso-icon/icons/location.d.ts.map +1 -1
  117. package/dist/components/lukso-icon/icons/locked.d.ts +1 -1
  118. package/dist/components/lukso-icon/icons/locked.d.ts.map +1 -1
  119. package/dist/components/lukso-icon/icons/login-2.d.ts +1 -1
  120. package/dist/components/lukso-icon/icons/login-2.d.ts.map +1 -1
  121. package/dist/components/lukso-icon/icons/login-3.d.ts +1 -1
  122. package/dist/components/lukso-icon/icons/login-3.d.ts.map +1 -1
  123. package/dist/components/lukso-icon/icons/login.d.ts +1 -1
  124. package/dist/components/lukso-icon/icons/login.d.ts.map +1 -1
  125. package/dist/components/lukso-icon/icons/logo-brave.d.ts +1 -1
  126. package/dist/components/lukso-icon/icons/logo-brave.d.ts.map +1 -1
  127. package/dist/components/lukso-icon/icons/logo-chrome.d.ts +1 -1
  128. package/dist/components/lukso-icon/icons/logo-chrome.d.ts.map +1 -1
  129. package/dist/components/lukso-icon/icons/logo-edge.d.ts +1 -1
  130. package/dist/components/lukso-icon/icons/logo-edge.d.ts.map +1 -1
  131. package/dist/components/lukso-icon/icons/logo-firefox.d.ts +1 -1
  132. package/dist/components/lukso-icon/icons/logo-firefox.d.ts.map +1 -1
  133. package/dist/components/lukso-icon/icons/logo-opera.d.ts +1 -1
  134. package/dist/components/lukso-icon/icons/logo-opera.d.ts.map +1 -1
  135. package/dist/components/lukso-icon/icons/logo-safari.d.ts +1 -1
  136. package/dist/components/lukso-icon/icons/logo-safari.d.ts.map +1 -1
  137. package/dist/components/lukso-icon/icons/lyx-logo.d.ts +1 -1
  138. package/dist/components/lukso-icon/icons/lyx-logo.d.ts.map +1 -1
  139. package/dist/components/lukso-icon/icons/mail.d.ts +1 -1
  140. package/dist/components/lukso-icon/icons/mail.d.ts.map +1 -1
  141. package/dist/components/lukso-icon/icons/menu-1.d.ts +1 -1
  142. package/dist/components/lukso-icon/icons/menu-1.d.ts.map +1 -1
  143. package/dist/components/lukso-icon/icons/menu-2.d.ts +1 -1
  144. package/dist/components/lukso-icon/icons/menu-2.d.ts.map +1 -1
  145. package/dist/components/lukso-icon/icons/migrate.d.ts +1 -1
  146. package/dist/components/lukso-icon/icons/migrate.d.ts.map +1 -1
  147. package/dist/components/lukso-icon/icons/minimize.d.ts +1 -1
  148. package/dist/components/lukso-icon/icons/minimize.d.ts.map +1 -1
  149. package/dist/components/lukso-icon/icons/network.d.ts +1 -1
  150. package/dist/components/lukso-icon/icons/network.d.ts.map +1 -1
  151. package/dist/components/lukso-icon/icons/notifications.d.ts +1 -1
  152. package/dist/components/lukso-icon/icons/notifications.d.ts.map +1 -1
  153. package/dist/components/lukso-icon/icons/phone-portrait-outline.d.ts +1 -1
  154. package/dist/components/lukso-icon/icons/phone-portrait-outline.d.ts.map +1 -1
  155. package/dist/components/lukso-icon/icons/pin.d.ts +1 -1
  156. package/dist/components/lukso-icon/icons/pin.d.ts.map +1 -1
  157. package/dist/components/lukso-icon/icons/play-filled.d.ts +1 -1
  158. package/dist/components/lukso-icon/icons/play-filled.d.ts.map +1 -1
  159. package/dist/components/lukso-icon/icons/play-outline.d.ts +1 -1
  160. package/dist/components/lukso-icon/icons/play-outline.d.ts.map +1 -1
  161. package/dist/components/lukso-icon/icons/plus.d.ts +1 -1
  162. package/dist/components/lukso-icon/icons/plus.d.ts.map +1 -1
  163. package/dist/components/lukso-icon/icons/profile-add.d.ts +1 -1
  164. package/dist/components/lukso-icon/icons/profile-add.d.ts.map +1 -1
  165. package/dist/components/lukso-icon/icons/profile-export.d.ts +1 -1
  166. package/dist/components/lukso-icon/icons/profile-export.d.ts.map +1 -1
  167. package/dist/components/lukso-icon/icons/profile-import.d.ts +1 -1
  168. package/dist/components/lukso-icon/icons/profile-import.d.ts.map +1 -1
  169. package/dist/components/lukso-icon/icons/profile-recovery-2.d.ts +1 -1
  170. package/dist/components/lukso-icon/icons/profile-recovery-2.d.ts.map +1 -1
  171. package/dist/components/lukso-icon/icons/profile-recovery.d.ts +1 -1
  172. package/dist/components/lukso-icon/icons/profile-recovery.d.ts.map +1 -1
  173. package/dist/components/lukso-icon/icons/profile-restore.d.ts +1 -1
  174. package/dist/components/lukso-icon/icons/profile-restore.d.ts.map +1 -1
  175. package/dist/components/lukso-icon/icons/profile.d.ts +1 -1
  176. package/dist/components/lukso-icon/icons/profile.d.ts.map +1 -1
  177. package/dist/components/lukso-icon/icons/progress-complete.d.ts +1 -1
  178. package/dist/components/lukso-icon/icons/progress-complete.d.ts.map +1 -1
  179. package/dist/components/lukso-icon/icons/progress-indicator-alt.d.ts +1 -1
  180. package/dist/components/lukso-icon/icons/progress-indicator-alt.d.ts.map +1 -1
  181. package/dist/components/lukso-icon/icons/progress-indicator.d.ts +1 -1
  182. package/dist/components/lukso-icon/icons/progress-indicator.d.ts.map +1 -1
  183. package/dist/components/lukso-icon/icons/pulse-dot.d.ts +1 -1
  184. package/dist/components/lukso-icon/icons/pulse-dot.d.ts.map +1 -1
  185. package/dist/components/lukso-icon/icons/qr-code.d.ts +1 -1
  186. package/dist/components/lukso-icon/icons/qr-code.d.ts.map +1 -1
  187. package/dist/components/lukso-icon/icons/relayer.d.ts +1 -1
  188. package/dist/components/lukso-icon/icons/relayer.d.ts.map +1 -1
  189. package/dist/components/lukso-icon/icons/reload.d.ts +1 -1
  190. package/dist/components/lukso-icon/icons/reload.d.ts.map +1 -1
  191. package/dist/components/lukso-icon/icons/return-down.d.ts +1 -1
  192. package/dist/components/lukso-icon/icons/return-down.d.ts.map +1 -1
  193. package/dist/components/lukso-icon/icons/return-left.d.ts +1 -1
  194. package/dist/components/lukso-icon/icons/return-left.d.ts.map +1 -1
  195. package/dist/components/lukso-icon/icons/return-right.d.ts +1 -1
  196. package/dist/components/lukso-icon/icons/return-right.d.ts.map +1 -1
  197. package/dist/components/lukso-icon/icons/return-up.d.ts +1 -1
  198. package/dist/components/lukso-icon/icons/return-up.d.ts.map +1 -1
  199. package/dist/components/lukso-icon/icons/search.d.ts +1 -1
  200. package/dist/components/lukso-icon/icons/search.d.ts.map +1 -1
  201. package/dist/components/lukso-icon/icons/settings.d.ts +1 -1
  202. package/dist/components/lukso-icon/icons/settings.d.ts.map +1 -1
  203. package/dist/components/lukso-icon/icons/smart-contract-doc.d.ts +1 -1
  204. package/dist/components/lukso-icon/icons/smart-contract-doc.d.ts.map +1 -1
  205. package/dist/components/lukso-icon/icons/smart-contract.d.ts +1 -1
  206. package/dist/components/lukso-icon/icons/smart-contract.d.ts.map +1 -1
  207. package/dist/components/lukso-icon/icons/spinner.d.ts +1 -1
  208. package/dist/components/lukso-icon/icons/spinner.d.ts.map +1 -1
  209. package/dist/components/lukso-icon/icons/star-filled.d.ts +1 -1
  210. package/dist/components/lukso-icon/icons/star-filled.d.ts.map +1 -1
  211. package/dist/components/lukso-icon/icons/star-outline.d.ts +1 -1
  212. package/dist/components/lukso-icon/icons/star-outline.d.ts.map +1 -1
  213. package/dist/components/lukso-icon/icons/step-dot.d.ts +1 -1
  214. package/dist/components/lukso-icon/icons/step-dot.d.ts.map +1 -1
  215. package/dist/components/lukso-icon/icons/step-progress.d.ts +1 -1
  216. package/dist/components/lukso-icon/icons/step-progress.d.ts.map +1 -1
  217. package/dist/components/lukso-icon/icons/steps.d.ts +1 -1
  218. package/dist/components/lukso-icon/icons/steps.d.ts.map +1 -1
  219. package/dist/components/lukso-icon/icons/switched.d.ts +1 -1
  220. package/dist/components/lukso-icon/icons/switched.d.ts.map +1 -1
  221. package/dist/components/lukso-icon/icons/tick.d.ts +1 -1
  222. package/dist/components/lukso-icon/icons/tick.d.ts.map +1 -1
  223. package/dist/components/lukso-icon/icons/timer-outline.d.ts +1 -1
  224. package/dist/components/lukso-icon/icons/timer-outline.d.ts.map +1 -1
  225. package/dist/components/lukso-icon/icons/transaction-receive.d.ts +1 -1
  226. package/dist/components/lukso-icon/icons/transaction-receive.d.ts.map +1 -1
  227. package/dist/components/lukso-icon/icons/transaction-send.d.ts +1 -1
  228. package/dist/components/lukso-icon/icons/transaction-send.d.ts.map +1 -1
  229. package/dist/components/lukso-icon/icons/transfer.d.ts +1 -1
  230. package/dist/components/lukso-icon/icons/transfer.d.ts.map +1 -1
  231. package/dist/components/lukso-icon/icons/trash.d.ts +1 -1
  232. package/dist/components/lukso-icon/icons/trash.d.ts.map +1 -1
  233. package/dist/components/lukso-icon/icons/turn-down.d.ts +1 -1
  234. package/dist/components/lukso-icon/icons/turn-down.d.ts.map +1 -1
  235. package/dist/components/lukso-icon/icons/turn-left.d.ts +1 -1
  236. package/dist/components/lukso-icon/icons/turn-left.d.ts.map +1 -1
  237. package/dist/components/lukso-icon/icons/turn-right.d.ts +1 -1
  238. package/dist/components/lukso-icon/icons/turn-right.d.ts.map +1 -1
  239. package/dist/components/lukso-icon/icons/turn-up.d.ts +1 -1
  240. package/dist/components/lukso-icon/icons/turn-up.d.ts.map +1 -1
  241. package/dist/components/lukso-icon/icons/unlocked.d.ts +1 -1
  242. package/dist/components/lukso-icon/icons/unlocked.d.ts.map +1 -1
  243. package/dist/components/lukso-icon/icons/wallet-outline.d.ts +1 -1
  244. package/dist/components/lukso-icon/icons/wallet-outline.d.ts.map +1 -1
  245. package/dist/components/lukso-icon/icons/warning-round.d.ts +1 -1
  246. package/dist/components/lukso-icon/icons/warning-round.d.ts.map +1 -1
  247. package/dist/components/lukso-icon/icons/warning-triangle.d.ts +1 -1
  248. package/dist/components/lukso-icon/icons/warning-triangle.d.ts.map +1 -1
  249. package/dist/components/lukso-icon/index.cjs +2 -2
  250. package/dist/components/lukso-icon/index.d.ts +1 -1
  251. package/dist/components/lukso-icon/index.js +2 -2
  252. package/dist/components/lukso-input/index.cjs +15 -2
  253. package/dist/components/lukso-input/index.d.ts +7 -6
  254. package/dist/components/lukso-input/index.d.ts.map +1 -1
  255. package/dist/components/lukso-input/index.js +15 -2
  256. package/dist/components/lukso-modal/index.cjs +1 -1
  257. package/dist/components/lukso-modal/index.d.ts +1 -1
  258. package/dist/components/lukso-modal/index.js +1 -1
  259. package/dist/components/lukso-navbar/index.cjs +1 -1
  260. package/dist/components/lukso-navbar/index.d.ts +3 -3
  261. package/dist/components/lukso-navbar/index.js +1 -1
  262. package/dist/components/lukso-profile/index.cjs +11 -8
  263. package/dist/components/lukso-profile/index.d.ts +1 -1
  264. package/dist/components/lukso-profile/index.js +11 -8
  265. package/dist/components/lukso-progress/index.cjs +2 -2
  266. package/dist/components/lukso-progress/index.d.ts +1 -1
  267. package/dist/components/lukso-progress/index.js +2 -2
  268. package/dist/components/lukso-sanitize/index.cjs +55 -25
  269. package/dist/components/lukso-sanitize/index.d.ts +1 -1
  270. package/dist/components/lukso-sanitize/index.js +55 -25
  271. package/dist/components/lukso-share/index.cjs +1 -1
  272. package/dist/components/lukso-share/index.d.ts +2 -2
  273. package/dist/components/lukso-share/index.js +1 -1
  274. package/dist/components/lukso-switch/index.cjs +89 -0
  275. package/dist/components/lukso-switch/index.d.ts +16 -0
  276. package/dist/components/lukso-switch/index.d.ts.map +1 -0
  277. package/dist/components/lukso-switch/index.js +87 -0
  278. package/dist/components/lukso-tag/index.cjs +2 -2
  279. package/dist/components/lukso-tag/index.d.ts +1 -1
  280. package/dist/components/lukso-tag/index.js +2 -2
  281. package/dist/components/lukso-terms/index.cjs +2 -2
  282. package/dist/components/lukso-terms/index.d.ts +1 -1
  283. package/dist/components/lukso-terms/index.js +2 -2
  284. package/dist/components/lukso-test/index.cjs +1 -1
  285. package/dist/components/lukso-test/index.d.ts +1 -1
  286. package/dist/components/lukso-test/index.js +1 -1
  287. package/dist/components/lukso-username/index.cjs +2 -2
  288. package/dist/components/lukso-username/index.d.ts +1 -1
  289. package/dist/components/lukso-username/index.js +2 -2
  290. package/dist/components/lukso-wizard/index.cjs +1 -1
  291. package/dist/components/lukso-wizard/index.d.ts +2 -2
  292. package/dist/components/lukso-wizard/index.js +1 -1
  293. package/dist/index-8d7f5d0d.cjs +59 -0
  294. package/dist/index-9c3b5fc0.js +52 -0
  295. package/dist/index.cjs +8 -2
  296. package/dist/index.js +4 -2
  297. package/dist/shared/tailwind-element/index.cjs +1 -1
  298. package/dist/shared/tailwind-element/index.js +1 -1
  299. package/dist/{style-map-9b6875c8.cjs → style-map-268d75ea.cjs} +1 -1
  300. package/dist/{style-map-21c35bc6.js → style-map-393f6c47.js} +1 -1
  301. package/dist/style-map-72c166b8.js +21 -0
  302. package/dist/style-map-84d1e5a3.cjs +23 -0
  303. package/package.json +6 -1
  304. package/dist/index-53f01760.cjs +0 -59
  305. package/dist/index-b0a06427.js +0 -52
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, x, A } from '../../index-b0a06427.js';
1
+ import { a as TailwindElement, x, A } from '../../index-9c3b5fc0.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
3
  import { t } from '../../state-7fde94d1.js';
4
4
  import { c as customClassMap } from '../../index-714323c9.js';
@@ -44,7 +44,7 @@ let LuksoInput = class extends TailwindElement {
44
44
  this.defaultUnitStyles = `paragraph-inter-12-regular text-neutral-60 flex px-3.5 items-center relative
45
45
  border border-solid h-[48px] transition transition-all duration-150
46
46
  rounded-r-12 border-l-0 before:bg-neutral-90 before:absolute before:top-[calc(50%-12px)] before:left-0
47
- before:w-[1px] before:h-[24px] whitespace-nowrap`;
47
+ before:w-[1px] before:h-[24px] whitespace-nowrap cursor-pointer`;
48
48
  }
49
49
  // @input works better in vue
50
50
  inputTemplate() {
@@ -120,6 +120,7 @@ let LuksoInput = class extends TailwindElement {
120
120
  })}
121
121
  @mouseenter=${this.handleMouseOver}
122
122
  @mouseleave=${this.handleMouseOut}
123
+ @click=${this.handleUnitClick}
123
124
  >
124
125
  ${this.unit}
125
126
  </div>`;
@@ -214,6 +215,18 @@ let LuksoInput = class extends TailwindElement {
214
215
  this.hasHighlight = false;
215
216
  }
216
217
  }
218
+ handleUnitClick() {
219
+ const input = this.shadowRoot?.querySelector("input");
220
+ const clickEvent = new CustomEvent("on-unit-click", {
221
+ detail: {
222
+ input
223
+ },
224
+ bubbles: true,
225
+ composed: true
226
+ });
227
+ this.dispatchEvent(clickEvent);
228
+ input.focus();
229
+ }
217
230
  render() {
218
231
  return x`
219
232
  <div>
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-53f01760.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8d7f5d0d.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
7
  const index = require('../../index-7dc05ee5.cjs');
8
8
 
@@ -8,7 +8,7 @@ export declare class LuksoModal extends TailwindElement {
8
8
  private overlayStyles;
9
9
  private dialogStyles;
10
10
  private close;
11
- render(): import("lit-html").TemplateResult<1>;
11
+ render(): import("lit").TemplateResult<1>;
12
12
  }
13
13
  declare global {
14
14
  interface HTMLElementTagNameMap {
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, x } from '../../index-b0a06427.js';
1
+ import { a as TailwindElement, x } from '../../index-9c3b5fc0.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
3
  import { c as customClassMap } from '../../index-714323c9.js';
4
4
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-53f01760.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8d7f5d0d.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
7
  const state = require('../../state-a62a7d5d.cjs');
8
8
  const index = require('../../index-7dc05ee5.cjs');
@@ -10,9 +10,9 @@ export declare class LuksoNavbar extends TailwindElement {
10
10
  private transparentStyles;
11
11
  private handleBrandClick;
12
12
  private handleMenuToggle;
13
- desktopMenuTemplate(): import("lit-html").TemplateResult<1>;
14
- mobileMenuTemplate(): import("lit-html").TemplateResult<1>;
15
- render(): import("lit-html").TemplateResult<1>;
13
+ desktopMenuTemplate(): import("lit").TemplateResult<1>;
14
+ mobileMenuTemplate(): import("lit").TemplateResult<1>;
15
+ render(): import("lit").TemplateResult<1>;
16
16
  }
17
17
  declare global {
18
18
  interface HTMLElementTagNameMap {
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, x } from '../../index-b0a06427.js';
1
+ import { a as TailwindElement, x } from '../../index-9c3b5fc0.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
3
  import { t } from '../../state-7fde94d1.js';
4
4
  import { c as customClassMap } from '../../index-714323c9.js';
@@ -2,17 +2,17 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-53f01760.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8d7f5d0d.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-9b6875c8.cjs');
7
+ const styleMap = require('../../style-map-268d75ea.cjs');
8
8
 
9
9
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
10
 
11
- var mainExports = {};
12
- var main = {
13
- get exports(){ return mainExports; },
14
- set exports(v){ mainExports = v; },
15
- };
11
+ function getDefaultExportFromCjs (x) {
12
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
13
+ }
14
+
15
+ var main = {exports: {}};
16
16
 
17
17
  (function (module, exports) {
18
18
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -444,6 +444,9 @@ var main = {
444
444
  });
445
445
  } (main));
446
446
 
447
+ var mainExports = main.exports;
448
+ const makeBlockie = /*@__PURE__*/getDefaultExportFromCjs(mainExports);
449
+
447
450
  var __defProp = Object.defineProperty;
448
451
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
449
452
  var __decorateClass = (decorators, target, key, kind) => {
@@ -493,7 +496,7 @@ exports.LuksoProfile = class LuksoProfile extends shared_tailwindElement_index.T
493
496
  return this.sizes[this.size].identiconSize;
494
497
  }
495
498
  identicon() {
496
- return this.hasIdenticon && this.profileAddress && this.identiconSize() ? mainExports(this.profileAddress) : "";
499
+ return this.hasIdenticon && this.profileAddress && this.identiconSize() ? makeBlockie(this.profileAddress) : "";
497
500
  }
498
501
  render() {
499
502
  return shared_tailwindElement_index.x`
@@ -14,7 +14,7 @@ export declare class LuksoProfile extends TailwindElement {
14
14
  private identiconSize;
15
15
  private defaultProfileUrl;
16
16
  private identicon;
17
- render(): import("lit-html").TemplateResult<1>;
17
+ render(): import("lit").TemplateResult<1>;
18
18
  }
19
19
  declare global {
20
20
  interface HTMLElementTagNameMap {
@@ -1,14 +1,14 @@
1
- import { a as TailwindElement, x } from '../../index-b0a06427.js';
1
+ import { a as TailwindElement, x } from '../../index-9c3b5fc0.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { o } from '../../style-map-21c35bc6.js';
3
+ import { o } from '../../style-map-393f6c47.js';
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
6
 
7
- var mainExports = {};
8
- var main = {
9
- get exports(){ return mainExports; },
10
- set exports(v){ mainExports = v; },
11
- };
7
+ function getDefaultExportFromCjs (x) {
8
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
9
+ }
10
+
11
+ var main = {exports: {}};
12
12
 
13
13
  (function (module, exports) {
14
14
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -440,6 +440,9 @@ var main = {
440
440
  });
441
441
  } (main));
442
442
 
443
+ var mainExports = main.exports;
444
+ const makeBlockie = /*@__PURE__*/getDefaultExportFromCjs(mainExports);
445
+
443
446
  var __defProp = Object.defineProperty;
444
447
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
445
448
  var __decorateClass = (decorators, target, key, kind) => {
@@ -489,7 +492,7 @@ let LuksoProfile = class extends TailwindElement {
489
492
  return this.sizes[this.size].identiconSize;
490
493
  }
491
494
  identicon() {
492
- return this.hasIdenticon && this.profileAddress && this.identiconSize() ? mainExports(this.profileAddress) : "";
495
+ return this.hasIdenticon && this.profileAddress && this.identiconSize() ? makeBlockie(this.profileAddress) : "";
493
496
  }
494
497
  render() {
495
498
  return x`
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-53f01760.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8d7f5d0d.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-9b6875c8.cjs');
7
+ const styleMap = require('../../style-map-84d1e5a3.cjs');
8
8
  const index = require('../../index-7dc05ee5.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
@@ -6,7 +6,7 @@ export declare class LuksoProgress extends TailwindElement {
6
6
  current: number;
7
7
  variant: ProgressVariant;
8
8
  private progressWidth;
9
- render(): import("lit-html").TemplateResult<1>;
9
+ render(): import("lit").TemplateResult<1>;
10
10
  }
11
11
  declare global {
12
12
  interface HTMLElementTagNameMap {
@@ -1,6 +1,6 @@
1
- import { a as TailwindElement, x } from '../../index-b0a06427.js';
1
+ import { a as TailwindElement, x } from '../../index-9c3b5fc0.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { o } from '../../style-map-21c35bc6.js';
3
+ import { o } from '../../style-map-72c166b8.js';
4
4
  import { c as customClassMap } from '../../index-714323c9.js';
5
5
 
6
6
  var __defProp = Object.defineProperty;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-53f01760.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8d7f5d0d.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
7
 
8
8
  /**
@@ -11,7 +11,7 @@ const directive = require('../../directive-db00f5fb.cjs');
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */class e extends directive.i{constructor(i){if(super(i),this.et=shared_tailwindElement_index.A,i.type!==directive.t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===shared_tailwindElement_index.A||null==r)return this.ft=void 0,this.et=r;if(r===shared_tailwindElement_index.T)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.et)return this.ft;this.et=r;const s=[r];return s.raw=s,this.ft={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName="unsafeHTML",e.resultType=1;const o=directive.e$2(e);
13
13
 
14
- /*! @license DOMPurify 3.0.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.2/LICENSE */
14
+ /*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */
15
15
 
16
16
  const {
17
17
  entries,
@@ -87,7 +87,9 @@ function unconstruct(func) {
87
87
  /* Add properties to a lookup table */
88
88
 
89
89
  function addToSet(set, array, transformCaseFunc) {
90
- transformCaseFunc = transformCaseFunc ? transformCaseFunc : stringToLowerCase;
90
+ var _transformCaseFunc;
91
+
92
+ transformCaseFunc = (_transformCaseFunc = transformCaseFunc) !== null && _transformCaseFunc !== void 0 ? _transformCaseFunc : stringToLowerCase;
91
93
 
92
94
  if (setPrototypeOf) {
93
95
  // Make 'in' and truthy checks like Boolean(set.constructor)
@@ -161,12 +163,12 @@ function lookupGetter(object, prop) {
161
163
  const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); // SVG
162
164
 
163
165
  const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
164
- const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.
166
+ const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.
165
167
  // We still need to know them so that we can do namespace
166
168
  // checks properly in case one wants to add them to
167
169
  // allow-list.
168
170
 
169
- const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
171
+ const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
170
172
  const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']); // Similarly to SVG, we want to know all MathML elements,
171
173
  // even those that we disallow by default.
172
174
 
@@ -211,13 +213,13 @@ const getGlobal = () => typeof window === 'undefined' ? null : window;
211
213
  * Creates a no-op policy for internal use only.
212
214
  * Don't export this function outside this module!
213
215
  * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.
214
- * @param {Document} document The document object (to determine policy name suffix)
216
+ * @param {HTMLScriptElement} purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
215
217
  * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types
216
- * are not supported).
218
+ * are not supported or creating the policy failed).
217
219
  */
218
220
 
219
221
 
220
- const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {
222
+ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {
221
223
  if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
222
224
  return null;
223
225
  } // Allow the callers to control the unique policy name
@@ -228,8 +230,8 @@ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedType
228
230
  let suffix = null;
229
231
  const ATTR_NAME = 'data-tt-policy-suffix';
230
232
 
231
- if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {
232
- suffix = document.currentScript.getAttribute(ATTR_NAME);
233
+ if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
234
+ suffix = purifyHostElement.getAttribute(ATTR_NAME);
233
235
  }
234
236
 
235
237
  const policyName = 'dompurify' + (suffix ? '#' + suffix : '');
@@ -264,7 +266,7 @@ function createDOMPurify() {
264
266
  */
265
267
 
266
268
 
267
- DOMPurify.version = '3.0.2';
269
+ DOMPurify.version = '3.0.3';
268
270
  /**
269
271
  * Array of elements that DOMPurify removed during sanitation.
270
272
  * Empty if nothing was removed.
@@ -280,6 +282,7 @@ function createDOMPurify() {
280
282
  }
281
283
 
282
284
  const originalDocument = window.document;
285
+ const currentScript = originalDocument.currentScript;
283
286
  let {
284
287
  document
285
288
  } = window;
@@ -313,9 +316,8 @@ function createDOMPurify() {
313
316
  }
314
317
  }
315
318
 
316
- const trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);
317
-
318
- const emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';
319
+ let trustedTypesPolicy;
320
+ let emptyHTML = '';
319
321
  const {
320
322
  implementation,
321
323
  createNodeIterator,
@@ -330,7 +332,7 @@ function createDOMPurify() {
330
332
  * Expose whether this browser supports running the full DOMPurify.
331
333
  */
332
334
 
333
- DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined';
335
+ DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
334
336
  const {
335
337
  MUSTACHE_EXPR,
336
338
  ERB_EXPR,
@@ -677,6 +679,31 @@ function createDOMPurify() {
677
679
  if (ALLOWED_TAGS.table) {
678
680
  addToSet(ALLOWED_TAGS, ['tbody']);
679
681
  delete FORBID_TAGS.tbody;
682
+ }
683
+
684
+ if (cfg.TRUSTED_TYPES_POLICY) {
685
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {
686
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
687
+ }
688
+
689
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {
690
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
691
+ } // Overwrite existing TrustedTypes policy.
692
+
693
+
694
+ trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY; // Sign local variables required by `sanitize`.
695
+
696
+ emptyHTML = trustedTypesPolicy.createHTML('');
697
+ } else {
698
+ // Uninitialized policy, attempt to initialize the internal dompurify policy.
699
+ if (trustedTypesPolicy === undefined) {
700
+ trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
701
+ } // If creating the internal policy succeeded sign internal variables.
702
+
703
+
704
+ if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {
705
+ emptyHTML = trustedTypesPolicy.createHTML('');
706
+ }
680
707
  } // Prevent further manipulation of configuration.
681
708
  // Not available in IE8, Safari 5, etc.
682
709
 
@@ -1113,9 +1140,9 @@ function createDOMPurify() {
1113
1140
  }
1114
1141
  /* Check value is safe. First, is attr inert? If so, is safe */
1115
1142
 
1116
- } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (!value) ; else {
1143
+ } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
1117
1144
  return false;
1118
- }
1145
+ } else ;
1119
1146
 
1120
1147
  return true;
1121
1148
  };
@@ -1245,12 +1272,16 @@ function createDOMPurify() {
1245
1272
  if (namespaceURI) ; else {
1246
1273
  switch (trustedTypes.getAttributeType(lcTag, lcName)) {
1247
1274
  case 'TrustedHTML':
1248
- value = trustedTypesPolicy.createHTML(value);
1249
- break;
1275
+ {
1276
+ value = trustedTypesPolicy.createHTML(value);
1277
+ break;
1278
+ }
1250
1279
 
1251
1280
  case 'TrustedScriptURL':
1252
- value = trustedTypesPolicy.createScriptURL(value);
1253
- break;
1281
+ {
1282
+ value = trustedTypesPolicy.createScriptURL(value);
1283
+ break;
1284
+ }
1254
1285
  }
1255
1286
  }
1256
1287
  }
@@ -1343,15 +1374,14 @@ function createDOMPurify() {
1343
1374
 
1344
1375
 
1345
1376
  if (typeof dirty !== 'string' && !_isNode(dirty)) {
1346
- // eslint-disable-next-line no-negated-condition
1347
- if (typeof dirty.toString !== 'function') {
1348
- throw typeErrorCreate('toString is not a function');
1349
- } else {
1377
+ if (typeof dirty.toString === 'function') {
1350
1378
  dirty = dirty.toString();
1351
1379
 
1352
1380
  if (typeof dirty !== 'string') {
1353
1381
  throw typeErrorCreate('dirty is not a string, aborting');
1354
1382
  }
1383
+ } else {
1384
+ throw typeErrorCreate('toString is not a function');
1355
1385
  }
1356
1386
  }
1357
1387
  /* Return dirty HTML if DOMPurify cannot run */
@@ -4,7 +4,7 @@ export declare class LuksoSanitize extends TailwindElement {
4
4
  isPre: boolean;
5
5
  private options;
6
6
  sanitize(): any;
7
- render(): import("lit-html").TemplateResult<1>;
7
+ render(): import("lit").TemplateResult<1>;
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
@@ -1,4 +1,4 @@
1
- import { A, b as T, a as TailwindElement, x } from '../../index-b0a06427.js';
1
+ import { A, b as T, a as TailwindElement, x } from '../../index-9c3b5fc0.js';
2
2
  import { i, t, b as e$1, e as e$2, a as e$3 } from '../../directive-9ec64c08.js';
3
3
 
4
4
  /**
@@ -7,7 +7,7 @@ import { i, t, b as e$1, e as e$2, a as e$3 } from '../../directive-9ec64c08.js'
7
7
  * SPDX-License-Identifier: BSD-3-Clause
8
8
  */class e extends i{constructor(i){if(super(i),this.et=A,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===A||null==r)return this.ft=void 0,this.et=r;if(r===T)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.et)return this.ft;this.et=r;const s=[r];return s.raw=s,this.ft={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName="unsafeHTML",e.resultType=1;const o=e$1(e);
9
9
 
10
- /*! @license DOMPurify 3.0.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.2/LICENSE */
10
+ /*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */
11
11
 
12
12
  const {
13
13
  entries,
@@ -83,7 +83,9 @@ function unconstruct(func) {
83
83
  /* Add properties to a lookup table */
84
84
 
85
85
  function addToSet(set, array, transformCaseFunc) {
86
- transformCaseFunc = transformCaseFunc ? transformCaseFunc : stringToLowerCase;
86
+ var _transformCaseFunc;
87
+
88
+ transformCaseFunc = (_transformCaseFunc = transformCaseFunc) !== null && _transformCaseFunc !== void 0 ? _transformCaseFunc : stringToLowerCase;
87
89
 
88
90
  if (setPrototypeOf) {
89
91
  // Make 'in' and truthy checks like Boolean(set.constructor)
@@ -157,12 +159,12 @@ function lookupGetter(object, prop) {
157
159
  const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); // SVG
158
160
 
159
161
  const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
160
- const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.
162
+ const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.
161
163
  // We still need to know them so that we can do namespace
162
164
  // checks properly in case one wants to add them to
163
165
  // allow-list.
164
166
 
165
- const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
167
+ const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
166
168
  const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']); // Similarly to SVG, we want to know all MathML elements,
167
169
  // even those that we disallow by default.
168
170
 
@@ -207,13 +209,13 @@ const getGlobal = () => typeof window === 'undefined' ? null : window;
207
209
  * Creates a no-op policy for internal use only.
208
210
  * Don't export this function outside this module!
209
211
  * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.
210
- * @param {Document} document The document object (to determine policy name suffix)
212
+ * @param {HTMLScriptElement} purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
211
213
  * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types
212
- * are not supported).
214
+ * are not supported or creating the policy failed).
213
215
  */
214
216
 
215
217
 
216
- const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {
218
+ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {
217
219
  if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
218
220
  return null;
219
221
  } // Allow the callers to control the unique policy name
@@ -224,8 +226,8 @@ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedType
224
226
  let suffix = null;
225
227
  const ATTR_NAME = 'data-tt-policy-suffix';
226
228
 
227
- if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {
228
- suffix = document.currentScript.getAttribute(ATTR_NAME);
229
+ if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
230
+ suffix = purifyHostElement.getAttribute(ATTR_NAME);
229
231
  }
230
232
 
231
233
  const policyName = 'dompurify' + (suffix ? '#' + suffix : '');
@@ -260,7 +262,7 @@ function createDOMPurify() {
260
262
  */
261
263
 
262
264
 
263
- DOMPurify.version = '3.0.2';
265
+ DOMPurify.version = '3.0.3';
264
266
  /**
265
267
  * Array of elements that DOMPurify removed during sanitation.
266
268
  * Empty if nothing was removed.
@@ -276,6 +278,7 @@ function createDOMPurify() {
276
278
  }
277
279
 
278
280
  const originalDocument = window.document;
281
+ const currentScript = originalDocument.currentScript;
279
282
  let {
280
283
  document
281
284
  } = window;
@@ -309,9 +312,8 @@ function createDOMPurify() {
309
312
  }
310
313
  }
311
314
 
312
- const trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);
313
-
314
- const emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';
315
+ let trustedTypesPolicy;
316
+ let emptyHTML = '';
315
317
  const {
316
318
  implementation,
317
319
  createNodeIterator,
@@ -326,7 +328,7 @@ function createDOMPurify() {
326
328
  * Expose whether this browser supports running the full DOMPurify.
327
329
  */
328
330
 
329
- DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined';
331
+ DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
330
332
  const {
331
333
  MUSTACHE_EXPR,
332
334
  ERB_EXPR,
@@ -673,6 +675,31 @@ function createDOMPurify() {
673
675
  if (ALLOWED_TAGS.table) {
674
676
  addToSet(ALLOWED_TAGS, ['tbody']);
675
677
  delete FORBID_TAGS.tbody;
678
+ }
679
+
680
+ if (cfg.TRUSTED_TYPES_POLICY) {
681
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {
682
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
683
+ }
684
+
685
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {
686
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
687
+ } // Overwrite existing TrustedTypes policy.
688
+
689
+
690
+ trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY; // Sign local variables required by `sanitize`.
691
+
692
+ emptyHTML = trustedTypesPolicy.createHTML('');
693
+ } else {
694
+ // Uninitialized policy, attempt to initialize the internal dompurify policy.
695
+ if (trustedTypesPolicy === undefined) {
696
+ trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
697
+ } // If creating the internal policy succeeded sign internal variables.
698
+
699
+
700
+ if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {
701
+ emptyHTML = trustedTypesPolicy.createHTML('');
702
+ }
676
703
  } // Prevent further manipulation of configuration.
677
704
  // Not available in IE8, Safari 5, etc.
678
705
 
@@ -1109,9 +1136,9 @@ function createDOMPurify() {
1109
1136
  }
1110
1137
  /* Check value is safe. First, is attr inert? If so, is safe */
1111
1138
 
1112
- } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (!value) ; else {
1139
+ } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
1113
1140
  return false;
1114
- }
1141
+ } else ;
1115
1142
 
1116
1143
  return true;
1117
1144
  };
@@ -1241,12 +1268,16 @@ function createDOMPurify() {
1241
1268
  if (namespaceURI) ; else {
1242
1269
  switch (trustedTypes.getAttributeType(lcTag, lcName)) {
1243
1270
  case 'TrustedHTML':
1244
- value = trustedTypesPolicy.createHTML(value);
1245
- break;
1271
+ {
1272
+ value = trustedTypesPolicy.createHTML(value);
1273
+ break;
1274
+ }
1246
1275
 
1247
1276
  case 'TrustedScriptURL':
1248
- value = trustedTypesPolicy.createScriptURL(value);
1249
- break;
1277
+ {
1278
+ value = trustedTypesPolicy.createScriptURL(value);
1279
+ break;
1280
+ }
1250
1281
  }
1251
1282
  }
1252
1283
  }
@@ -1339,15 +1370,14 @@ function createDOMPurify() {
1339
1370
 
1340
1371
 
1341
1372
  if (typeof dirty !== 'string' && !_isNode(dirty)) {
1342
- // eslint-disable-next-line no-negated-condition
1343
- if (typeof dirty.toString !== 'function') {
1344
- throw typeErrorCreate('toString is not a function');
1345
- } else {
1373
+ if (typeof dirty.toString === 'function') {
1346
1374
  dirty = dirty.toString();
1347
1375
 
1348
1376
  if (typeof dirty !== 'string') {
1349
1377
  throw typeErrorCreate('dirty is not a string, aborting');
1350
1378
  }
1379
+ } else {
1380
+ throw typeErrorCreate('toString is not a function');
1351
1381
  }
1352
1382
  }
1353
1383
  /* Return dirty HTML if DOMPurify cannot run */