@luzmo/lucero 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/components/accordion/accordion-item.d.ts +24 -0
  2. package/components/accordion/accordion.d.ts +42 -0
  3. package/components/accordion/index.cjs +43 -0
  4. package/components/accordion/index.d.ts +10 -0
  5. package/{lib → components}/accordion/index.js +10 -11
  6. package/components/action-bar/action-bar.d.ts +42 -0
  7. package/components/action-bar/index.cjs +39 -0
  8. package/components/action-bar/index.d.ts +7 -0
  9. package/{lib → components}/action-bar/index.js +9 -10
  10. package/components/action-button/action-button.d.ts +81 -0
  11. package/components/action-button/index.cjs +24 -0
  12. package/components/action-button/index.d.ts +7 -0
  13. package/{lib → components}/action-button/index.js +6 -7
  14. package/components/action-group/action-group.d.ts +50 -0
  15. package/{lib → components}/action-group/index.cjs +1 -1
  16. package/components/action-group/index.d.ts +7 -0
  17. package/{lib → components}/action-group/index.js +1 -1
  18. package/{lib/action-group-BoIH8s8R.js → components/action-group-B7oQXv30.js} +11 -12
  19. package/components/action-group-C8YUQzt8.cjs +20 -0
  20. package/components/action-menu/action-menu.d.ts +40 -0
  21. package/{lib → components}/action-menu/index.cjs +5 -5
  22. package/components/action-menu/index.d.ts +7 -0
  23. package/{lib → components}/action-menu/index.js +10 -11
  24. package/{lib/async-directive-FGzMycjH.js → components/async-directive-BhRGSTWB.js} +1 -1
  25. package/{lib/async-directive-CV2MII86.cjs → components/async-directive-_65ULPLK.cjs} +1 -1
  26. package/components/avatar/avatar.d.ts +31 -0
  27. package/components/avatar/index.cjs +24 -0
  28. package/components/avatar/index.d.ts +7 -0
  29. package/{lib → components}/avatar/index.js +13 -14
  30. package/components/base-CxUap9HL.js +665 -0
  31. package/components/base-rtxi7uaR.cjs +40 -0
  32. package/components/button/button-base.d.ts +44 -0
  33. package/components/button/button.d.ts +59 -0
  34. package/components/button/clear-button.d.ts +22 -0
  35. package/components/button/close-button.d.ts +24 -0
  36. package/components/button/index.cjs +20 -0
  37. package/components/button/index.d.ts +13 -0
  38. package/{lib → components}/button/index.js +11 -12
  39. package/{lib/button-base-DgtT6sU5.js → components/button-base-CgrTYVgq.js} +11 -12
  40. package/components/button-base-DjqSZyn2.cjs +25 -0
  41. package/components/button-group/button-group.d.ts +19 -0
  42. package/components/button-group/index.cjs +18 -0
  43. package/components/button-group/index.d.ts +7 -0
  44. package/{lib → components}/button-group/index.js +7 -8
  45. package/components/checkbox/checkbox-base.d.ts +9 -0
  46. package/components/checkbox/checkbox-mixin.d.ts +14 -0
  47. package/components/checkbox/checkbox.d.ts +54 -0
  48. package/components/checkbox/index.cjs +25 -0
  49. package/components/checkbox/index.d.ts +7 -0
  50. package/{lib → components}/checkbox/index.js +5 -6
  51. package/{lib/checkbox-mixin-DegQlk5C.js → components/checkbox-mixin-BRluTF9s.js} +15 -16
  52. package/{lib/checkbox-mixin-H0Hm-VLk.cjs → components/checkbox-mixin-iB-0ivgo.cjs} +3 -3
  53. package/{lib/clear-button-Ap5H3UyH.js → components/clear-button-CyLF5dx_.js} +6 -7
  54. package/components/clear-button-DFXE6MLx.cjs +18 -0
  55. package/components/close-button-CcD-aVqh.cjs +18 -0
  56. package/{lib/close-button-CGISEF33.js → components/close-button-CzpdWCWI.js} +8 -9
  57. package/components/color-area/color-area.d.ts +67 -0
  58. package/components/color-area/index.cjs +80 -0
  59. package/components/color-area/index.d.ts +7 -0
  60. package/{lib → components}/color-area/index.js +9 -10
  61. package/components/color-field/color-field.d.ts +20 -0
  62. package/components/color-field/index.cjs +23 -0
  63. package/components/color-field/index.d.ts +7 -0
  64. package/{lib → components}/color-field/index.js +2 -3
  65. package/components/color-handle/color-handle.d.ts +13 -0
  66. package/components/color-handle/index.cjs +24 -0
  67. package/components/color-handle/index.d.ts +7 -0
  68. package/{lib → components}/color-handle/index.js +2 -3
  69. package/components/color-loupe/color-loupe.d.ts +7 -0
  70. package/{lib → components}/color-loupe/index.cjs +1 -1
  71. package/components/color-loupe/index.d.ts +7 -0
  72. package/{lib → components}/color-loupe/index.js +1 -1
  73. package/components/color-loupe-BN3k1ACF.cjs +56 -0
  74. package/{lib/color-loupe-DBEApMDT.js → components/color-loupe-CD-dhmB1.js} +3 -4
  75. package/components/color-menu/color-menu.d.ts +54 -0
  76. package/components/color-menu/index.cjs +86 -0
  77. package/components/color-menu/index.d.ts +7 -0
  78. package/{lib → components}/color-menu/index.js +9 -10
  79. package/components/color-picker/color-picker.d.ts +39 -0
  80. package/components/color-picker/index.cjs +48 -0
  81. package/components/color-picker/index.d.ts +7 -0
  82. package/{lib → components}/color-picker/index.js +33 -34
  83. package/components/color-slider/color-slider.d.ts +57 -0
  84. package/components/color-slider/index.cjs +57 -0
  85. package/components/color-slider/index.d.ts +7 -0
  86. package/{lib → components}/color-slider/index.js +5 -6
  87. package/{lib/directive-helpers-C2vOfhFx.cjs → components/directive-helpers-C3pAxRR3.cjs} +1 -1
  88. package/{lib/directive-helpers-BLDZnGQv.js → components/directive-helpers-D0vm0gvF.js} +1 -1
  89. package/components/divider/divider.d.ts +24 -0
  90. package/components/divider/index.cjs +18 -0
  91. package/components/divider/index.d.ts +7 -0
  92. package/{lib → components}/divider/index.js +5 -6
  93. package/components/field-group/field-group.d.ts +24 -0
  94. package/{lib → components}/field-group/index.cjs +1 -1
  95. package/components/field-group/index.d.ts +7 -0
  96. package/{lib → components}/field-group/index.js +1 -1
  97. package/{lib/field-group-CBWafIUV.js → components/field-group-DAImvhSF.js} +2 -3
  98. package/components/field-group-d5Hkb8UW.cjs +23 -0
  99. package/components/field-label/field-label.d.ts +50 -0
  100. package/{lib → components}/field-label/index.cjs +1 -1
  101. package/components/field-label/index.d.ts +7 -0
  102. package/{lib → components}/field-label/index.js +1 -1
  103. package/components/field-label-D1zKXSG6.cjs +25 -0
  104. package/{lib/field-label-BK_tk8vP.js → components/field-label-DY9iRmRI.js} +14 -15
  105. package/{lib/focusable-DbUg-3Vp.js → components/focusable-Bze9xE25.js} +1 -1
  106. package/{lib/focusable-Dv_6CFaY.cjs → components/focusable-DyyBr-J-.cjs} +1 -1
  107. package/components/icon/icon-base.d.ts +11 -0
  108. package/components/icon/icon.d.ts +12 -0
  109. package/components/icon/index.cjs +18 -0
  110. package/components/icon/index.d.ts +7 -0
  111. package/{lib → components}/icon/index.js +4 -5
  112. package/{lib/if-defined-Cv6xanXh.cjs → components/if-defined-C-8FyBSN.cjs} +2 -2
  113. package/{lib/if-defined-CYpcjGCb.js → components/if-defined-XzWkhMhg.js} +1 -1
  114. package/{lib/index-yNcLzjhM.cjs → components/index-CNtoBntg.cjs} +15 -15
  115. package/{lib/index-ovT-qVzf.js → components/index-Ci6Jnhu4.js} +8 -9
  116. package/components/index.cjs +27 -0
  117. package/{lib/legend-position → components}/index.js +150 -28
  118. package/components/infield-button/index.cjs +22 -0
  119. package/components/infield-button/index.d.ts +7 -0
  120. package/{lib → components}/infield-button/index.js +3 -4
  121. package/components/infield-button/infield-button.d.ts +25 -0
  122. package/components/label/index.cjs +18 -0
  123. package/components/label/index.d.ts +7 -0
  124. package/{lib → components}/label/index.js +1 -2
  125. package/components/label/label.d.ts +7 -0
  126. package/components/legend-position/index.d.ts +7 -0
  127. package/components/legend-position/legend-position.d.ts +10 -0
  128. package/{lib/like-anchor-K8W0QYwC.cjs → components/like-anchor-DKuw8fJA.cjs} +4 -4
  129. package/{lib/like-anchor-cDeGGeHh.js → components/like-anchor-DnsAwo_O.js} +8 -9
  130. package/{lib/manage-help-text-2mSEy-AD.js → components/manage-help-text-B-FXFXgT.js} +8 -8
  131. package/{lib/manage-help-text-iOk-zmy8.cjs → components/manage-help-text-I5aYDAKT.cjs} +3 -3
  132. package/{lib → components}/menu/index.cjs +1 -1
  133. package/components/menu/index.d.ts +16 -0
  134. package/{lib → components}/menu/index.js +1 -1
  135. package/components/menu/menu-divider.d.ts +14 -0
  136. package/components/menu/menu-group.d.ts +17 -0
  137. package/components/menu/menu-item.d.ts +125 -0
  138. package/components/menu/menu.d.ts +119 -0
  139. package/components/multi-language-field/index.cjs +39 -0
  140. package/components/multi-language-field/index.d.ts +7 -0
  141. package/{lib → components}/multi-language-field/index.js +6 -7
  142. package/components/multi-language-field/multi-language-field.d.ts +41 -0
  143. package/components/number-field/index.cjs +57 -0
  144. package/components/number-field/index.d.ts +7 -0
  145. package/{lib → components}/number-field/index.js +23 -24
  146. package/components/number-field/number-field.d.ts +113 -0
  147. package/{lib/observe-slot-text-BmsCNJig.cjs → components/observe-slot-text-DeSKIzvP.cjs} +1 -1
  148. package/{lib/observe-slot-text-BoFRF-VI.js → components/observe-slot-text-DrM71me1.js} +1 -1
  149. package/components/overlay/abstract-overlay.d.ts +72 -0
  150. package/components/overlay/click-controller.d.ts +14 -0
  151. package/components/overlay/events.d.ts +23 -0
  152. package/components/overlay/full-size-plugin.d.ts +12 -0
  153. package/components/overlay/hover-controller.d.ts +20 -0
  154. package/components/overlay/index.cjs +73 -0
  155. package/components/overlay/index.d.ts +22 -0
  156. package/{lib → components}/overlay/index.js +53 -36
  157. package/components/overlay/interaction-controller.d.ts +38 -0
  158. package/components/overlay/loader.d.ts +4 -0
  159. package/components/overlay/longpress-controller.d.ts +21 -0
  160. package/components/overlay/overlay-dialog.d.ts +4 -0
  161. package/components/overlay/overlay-events.d.ts +11 -0
  162. package/components/overlay/overlay-no-popover.d.ts +4 -0
  163. package/components/overlay/overlay-popover.d.ts +4 -0
  164. package/components/overlay/overlay-stack.d.ts +44 -0
  165. package/components/overlay/overlay-timer.d.ts +21 -0
  166. package/components/overlay/overlay-trigger-directive.d.ts +26 -0
  167. package/components/overlay/overlay-trigger.d.ts +53 -0
  168. package/components/overlay/overlay-types.d.ts +50 -0
  169. package/components/overlay/overlay.d.ts +464 -0
  170. package/components/overlay/placement-controller.d.ts +157 -0
  171. package/components/overlay/slottable-request-directive.d.ts +17 -0
  172. package/components/overlay/slottable-request-event.d.ts +12 -0
  173. package/components/overlay/strategies.d.ts +8 -0
  174. package/components/overlay/virtual-trigger.d.ts +7 -0
  175. package/{lib/overlay-C7QKFqRc.js → components/overlay-C2Cck0Az.js} +53 -43
  176. package/components/overlay-dn6Xe_vz.cjs +47 -0
  177. package/{lib/pending-state-D5KTK4_1.js → components/pending-state--XOfTjzE.js} +2 -2
  178. package/{lib/pending-state-Dbc2HIM2.cjs → components/pending-state-BeJ7iP-O.cjs} +2 -2
  179. package/components/picker/desktop-controller.d.ts +7 -0
  180. package/{lib → components}/picker/index.cjs +1 -1
  181. package/components/picker/index.d.ts +7 -0
  182. package/{lib → components}/picker/index.js +2 -2
  183. package/components/picker/interaction-controller.d.ts +43 -0
  184. package/components/picker/mobile-controller.d.ts +9 -0
  185. package/components/picker/picker.d.ts +154 -0
  186. package/components/picker/strategies.d.ts +6 -0
  187. package/components/picker-8cOc-jjh.cjs +127 -0
  188. package/components/picker-BZAWrSDk.js +655 -0
  189. package/{lib → components}/popover/index.cjs +1 -1
  190. package/components/popover/index.d.ts +7 -0
  191. package/{lib → components}/popover/index.js +1 -1
  192. package/components/popover/popover.d.ts +29 -0
  193. package/components/popover-CCzs4VH8.cjs +30 -0
  194. package/{lib/popover-ZRVxogyp.js → components/popover-D0EliN0L.js} +7 -8
  195. package/{lib → components}/progress-circle/index.cjs +1 -1
  196. package/components/progress-circle/index.d.ts +7 -0
  197. package/{lib → components}/progress-circle/index.js +1 -1
  198. package/components/progress-circle/progress-circle.d.ts +35 -0
  199. package/components/progress-circle-DYSSkjlY.cjs +33 -0
  200. package/{lib/progress-circle-DpXiqW6a.js → components/progress-circle-_-9sAlMM.js} +5 -6
  201. package/components/radio/index.cjs +22 -0
  202. package/components/radio/index.d.ts +10 -0
  203. package/{lib → components}/radio/index.js +10 -11
  204. package/components/radio/radio-group.d.ts +27 -0
  205. package/components/radio/radio.d.ts +39 -0
  206. package/components/search/index.cjs +45 -0
  207. package/components/search/index.d.ts +7 -0
  208. package/{lib → components}/search/index.js +3 -4
  209. package/components/search/search.d.ts +27 -0
  210. package/{lib/sized-mixin-BSYHt8nT.cjs → components/sized-mixin-BAI6NiE2.cjs} +1 -1
  211. package/{lib/sized-mixin-Dl0KoEcV.js → components/sized-mixin-DcJTTohI.js} +1 -1
  212. package/components/slider/index.cjs +18 -0
  213. package/components/slider/index.d.ts +7 -0
  214. package/{lib → components}/slider/index.js +5 -6
  215. package/components/slider/slider.d.ts +24 -0
  216. package/{lib/state-BAO-13Bs.js → components/state-D8vot9IB.js} +1 -1
  217. package/{lib/state-DReJ3hB6.cjs → components/state-WWHLNMRG.cjs} +1 -1
  218. package/{lib/streaming-listener-DLo0wkMc.js → components/streaming-listener-BbmNyKWO.js} +2 -2
  219. package/components/streaming-listener-C2A7ZJZP.cjs +18 -0
  220. package/{lib/style-map-BqvQDFJt.js → components/style-map-CoBJRbvu.js} +1 -1
  221. package/{lib/style-map-BjBGQ_u3.cjs → components/style-map-DH0jkl7s.cjs} +2 -2
  222. package/components/swatch/index.cjs +49 -0
  223. package/components/swatch/index.d.ts +10 -0
  224. package/{lib → components}/swatch/index.js +9 -10
  225. package/components/swatch/swatch-group.d.ts +41 -0
  226. package/components/swatch/swatch.d.ts +40 -0
  227. package/components/switch/index.cjs +22 -0
  228. package/components/switch/index.d.ts +7 -0
  229. package/{lib → components}/switch/index.js +6 -7
  230. package/components/switch/switch.d.ts +27 -0
  231. package/components/tags/index.cjs +32 -0
  232. package/components/tags/index.d.ts +10 -0
  233. package/{lib → components}/tags/index.js +17 -18
  234. package/components/tags/tag.d.ts +29 -0
  235. package/components/tags/tags.d.ts +28 -0
  236. package/components/text-field/help-text-manager.d.ts +19 -0
  237. package/components/text-field/help-text.d.ts +20 -0
  238. package/components/text-field/index.cjs +21 -0
  239. package/components/text-field/index.d.ts +14 -0
  240. package/{lib → components}/text-field/index.js +9 -9
  241. package/components/text-field/manage-help-text.d.ts +13 -0
  242. package/components/text-field/text-field.d.ts +142 -0
  243. package/{lib/text-field-DPk332j9.js → components/text-field-05QNK_Lj.js} +28 -30
  244. package/{lib/text-field-C6Aa7XOb.cjs → components/text-field-BU7yxiOR.cjs} +15 -15
  245. package/components/toast/index.cjs +51 -0
  246. package/components/toast/index.d.ts +7 -0
  247. package/{lib → components}/toast/index.js +2 -3
  248. package/components/toast/toast.d.ts +77 -0
  249. package/components/tooltip/index.cjs +45 -0
  250. package/components/tooltip/index.d.ts +8 -0
  251. package/{lib → components}/tooltip/index.js +10 -11
  252. package/components/tooltip/tooltip-directive.d.ts +5 -0
  253. package/components/tooltip/tooltip.d.ts +55 -0
  254. package/components/unit-input/index.cjs +43 -0
  255. package/components/unit-input/index.d.ts +7 -0
  256. package/{lib → components}/unit-input/index.js +5 -6
  257. package/components/unit-input/unit-input.d.ts +33 -0
  258. package/index.d.ts +39 -0
  259. package/package.json +139 -101
  260. package/utils/base.d.ts +16 -0
  261. package/utils/condition-attribute-with-id.d.ts +2 -0
  262. package/utils/first-focusable-in.d.ts +3 -0
  263. package/utils/focus-visible.d.ts +29 -0
  264. package/utils/focusable-selectors.d.ts +2 -0
  265. package/utils/focusable.d.ts +58 -0
  266. package/utils/get-css-variable.d.ts +1 -0
  267. package/utils/get-label-from-slot.d.ts +1 -0
  268. package/utils/like-anchor.d.ts +23 -0
  269. package/utils/observe-slot-presence.d.ts +12 -0
  270. package/utils/observe-slot-text.d.ts +11 -0
  271. package/utils/platform.d.ts +10 -0
  272. package/utils/random-id.d.ts +1 -0
  273. package/utils/reactive-controllers/color.d.ts +54 -0
  274. package/utils/reactive-controllers/dependency-manger.d.ts +26 -0
  275. package/utils/reactive-controllers/element-resolution.d.ts +23 -0
  276. package/utils/reactive-controllers/focus-group.d.ts +62 -0
  277. package/utils/reactive-controllers/language-resolution.d.ts +11 -0
  278. package/utils/reactive-controllers/match-media.d.ts +13 -0
  279. package/utils/reactive-controllers/pending-state.d.ts +41 -0
  280. package/utils/reactive-controllers/roving-tabindex.d.ts +19 -0
  281. package/utils/reparent-child.d.ts +4 -0
  282. package/utils/sized-mixin.d.ts +17 -0
  283. package/utils/streaming-listener.d.ts +48 -0
  284. package/lib/accordion/index.cjs +0 -43
  285. package/lib/action-bar/index.cjs +0 -39
  286. package/lib/action-button/index.cjs +0 -24
  287. package/lib/action-group-D4MxBrq8.cjs +0 -20
  288. package/lib/avatar/index.cjs +0 -24
  289. package/lib/base-BCmA9Wxv.cjs +0 -30
  290. package/lib/base-nYalvNMy.js +0 -390
  291. package/lib/button/index.cjs +0 -20
  292. package/lib/button-base-B0iB_JTv.cjs +0 -25
  293. package/lib/button-group/index.cjs +0 -18
  294. package/lib/checkbox/index.cjs +0 -25
  295. package/lib/clear-button-D0djuaLb.cjs +0 -18
  296. package/lib/close-button-BrfeZvjk.cjs +0 -18
  297. package/lib/color-area/index.cjs +0 -80
  298. package/lib/color-field/index.cjs +0 -23
  299. package/lib/color-handle/index.cjs +0 -24
  300. package/lib/color-loupe-BICpNqFs.cjs +0 -56
  301. package/lib/color-menu/index.cjs +0 -86
  302. package/lib/color-picker/index.cjs +0 -48
  303. package/lib/color-slider/index.cjs +0 -57
  304. package/lib/divider/index.cjs +0 -18
  305. package/lib/field-group-TUFvhJkk.cjs +0 -23
  306. package/lib/field-label-BrJaeORz.cjs +0 -25
  307. package/lib/icon/index.cjs +0 -18
  308. package/lib/index.cjs +0 -18
  309. package/lib/index.js +0 -133
  310. package/lib/infield-button/index.cjs +0 -22
  311. package/lib/label/index.cjs +0 -18
  312. package/lib/legend-position/index.cjs +0 -27
  313. package/lib/lit-html-B3ugcwD9.js +0 -248
  314. package/lib/lit-html-p4Oxv2-5.cjs +0 -24
  315. package/lib/multi-language-field/index.cjs +0 -39
  316. package/lib/number-field/index.cjs +0 -57
  317. package/lib/overlay/index.cjs +0 -73
  318. package/lib/overlay-DScraBAi.cjs +0 -47
  319. package/lib/picker--2OCYWnV.js +0 -657
  320. package/lib/picker-B9W7Haf4.cjs +0 -127
  321. package/lib/popover-CVbjhSnx.cjs +0 -30
  322. package/lib/progress-circle-CiJoS8J7.cjs +0 -33
  323. package/lib/radio/index.cjs +0 -22
  324. package/lib/search/index.cjs +0 -45
  325. package/lib/slider/index.cjs +0 -18
  326. package/lib/streaming-listener-Bw4jE33f.cjs +0 -18
  327. package/lib/swatch/index.cjs +0 -49
  328. package/lib/switch/index.cjs +0 -22
  329. package/lib/tags/index.cjs +0 -32
  330. package/lib/text-field/index.cjs +0 -21
  331. package/lib/toast/index.cjs +0 -51
  332. package/lib/tooltip/index.cjs +0 -45
  333. package/lib/unit-input/index.cjs +0 -43
  334. /package/{lib → components}/base-BjTwmyRF.cjs +0 -0
  335. /package/{lib → components}/base-D76d76ww.js +0 -0
  336. /package/{lib → components}/color-Bg3tYsAQ.js +0 -0
  337. /package/{lib → components}/color-DphK4hwx.cjs +0 -0
  338. /package/{lib → components}/condition-attribute-with-id-DrQYZzFS.cjs +0 -0
  339. /package/{lib → components}/condition-attribute-with-id-Dv4lSRbe.js +0 -0
  340. /package/{lib → components}/dependency-manger-C5HCkMMB.cjs +0 -0
  341. /package/{lib → components}/dependency-manger-CEXvGQUV.js +0 -0
  342. /package/{lib → components}/directive-C7oCP5Bh.cjs +0 -0
  343. /package/{lib → components}/directive-oAbCiebi.js +0 -0
  344. /package/{lib → components}/divider.module-CXMNveQc.cjs +0 -0
  345. /package/{lib → components}/divider.module-DwOuLGU3.js +0 -0
  346. /package/{lib → components}/element-resolution-BvRLGqIU.cjs +0 -0
  347. /package/{lib → components}/element-resolution-FCUT-wql.js +0 -0
  348. /package/{lib → components}/focus-group-DHeTq18L.js +0 -0
  349. /package/{lib → components}/focus-group-DnxZUBhQ.cjs +0 -0
  350. /package/{lib → components}/focus-visible-B0P9aY_G.cjs +0 -0
  351. /package/{lib → components}/focus-visible-DBlJGoEW.js +0 -0
  352. /package/{lib → components}/focusable-selectors-B4YgbghQ.js +0 -0
  353. /package/{lib → components}/focusable-selectors-BgFlyFcY.cjs +0 -0
  354. /package/{lib → components}/index-C1chwzNp.js +0 -0
  355. /package/{lib → components}/index-DCKCHDTt.cjs +0 -0
  356. /package/{lib → components}/mutation-controller-DH7YOCyj.js +0 -0
  357. /package/{lib → components}/mutation-controller-DkOMCW-c.cjs +0 -0
  358. /package/{lib → components}/platform-CQzYNWKq.cjs +0 -0
  359. /package/{lib → components}/platform-DQYMG7JI.js +0 -0
  360. /package/{lib → components}/query-BL-TJj7K.cjs +0 -0
  361. /package/{lib → components}/query-D_KR_GUc.js +0 -0
  362. /package/{lib → components}/query-assigned-elements-DjfhL1cl.js +0 -0
  363. /package/{lib → components}/query-assigned-elements-DsKsfk7G.cjs +0 -0
  364. /package/{lib → components}/query-assigned-nodes-BcKWmGzy.cjs +0 -0
  365. /package/{lib → components}/query-assigned-nodes-C76XVPWY.js +0 -0
  366. /package/{lib → components}/random-id-ByCz1xaq.js +0 -0
  367. /package/{lib → components}/random-id-CqvckpWe.cjs +0 -0
  368. /package/{lib → components}/roving-tabindex-By_fCy_e.cjs +0 -0
  369. /package/{lib → components}/roving-tabindex-DOg4z6ZU.js +0 -0
  370. /package/{lib → components}/slottable-request-event-BfUUt1Mh.cjs +0 -0
  371. /package/{lib → components}/slottable-request-event-DggLA4Rx.js +0 -0
  372. /package/{lib → components}/when-CDK1Tt5Y.js +0 -0
  373. /package/{lib → components}/when-CDZyJPvd.cjs +0 -0
@@ -0,0 +1,40 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ "use strict";/**
19
+ * @license
20
+ * Copyright 2019 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ */const O=globalThis,I=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,et=Symbol(),W=new WeakMap;let at=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(I&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=W.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&W.set(e,t))}return t}toString(){return this.cssText}};const st=n=>new at(typeof n=="string"?n:n+"",void 0,et),lt=(n,t)=>{if(I)n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=O.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,n.appendChild(s)}},q=I?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return st(e)})(n):n;/**
23
+ * @license
24
+ * Copyright 2017 Google LLC
25
+ * SPDX-License-Identifier: BSD-3-Clause
26
+ */const{is:ct,defineProperty:dt,getOwnPropertyDescriptor:ut,getOwnPropertyNames:pt,getOwnPropertySymbols:$t,getPrototypeOf:_t}=Object,f=globalThis,F=f.trustedTypes,ft=F?F.emptyScript:"",k=f.reactiveElementPolyfillSupport,S=(n,t)=>n,H={toAttribute(n,t){switch(t){case Boolean:n=n?ft:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},j=(n,t)=>!ct(n,t),Z={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:j};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),f.litPropertyMetadata??(f.litPropertyMetadata=new WeakMap);class v extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Z){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&dt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=ut(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get(){return i==null?void 0:i.call(this)},set(r){const a=i==null?void 0:i.call(this);o.call(this,r),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Z}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=_t(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const e=this.properties,s=[...pt(e),...$t(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(q(i))}else t!==void 0&&e.push(q(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var o;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(((o=s.converter)==null?void 0:o.toAttribute)!==void 0?s.converter:H).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var o;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const r=s.getPropertyOptions(i),a=typeof r.converter=="function"?{fromAttribute:r.converter}:((o=r.converter)==null?void 0:o.fromAttribute)!==void 0?r.converter:H;this._$Em=i,this[i]=a.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??j)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,r]of this._$Ep)this[o]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,r]of i)r.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.call(i)}),this.update(e)):this._$EU()}catch(i){throw t=!1,this._$EU(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[S("elementProperties")]=new Map,v[S("finalized")]=new Map,k==null||k({ReactiveElement:v}),(f.reactiveElementVersions??(f.reactiveElementVersions=[])).push("2.0.4");/**
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */const w=globalThis,N=w.trustedTypes,J=N?N.createPolicy("lit-html",{createHTML:n=>n}):void 0,it="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,nt="?"+_,mt=`<${nt}>`,A=document,P=()=>A.createComment(""),U=n=>n===null||typeof n!="object"&&typeof n!="function",V=Array.isArray,gt=n=>V(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",L=`[
31
+ \f\r]`,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,G=/>/g,m=RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
32
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,X=/"/g,rt=/^(?:script|style|textarea|title)$/i,At=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),yt=At(1),y=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Y=new WeakMap,g=A.createTreeWalker(A,129);function ot(n,t){if(!V(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return J!==void 0?J.createHTML(t):t}const vt=(n,t)=>{const e=n.length-1,s=[];let i,o=t===2?"<svg>":t===3?"<math>":"",r=b;for(let a=0;a<e;a++){const h=n[a];let c,u,l=-1,p=0;for(;p<h.length&&(r.lastIndex=p,u=r.exec(h),u!==null);)p=r.lastIndex,r===b?u[1]==="!--"?r=K:u[1]!==void 0?r=G:u[2]!==void 0?(rt.test(u[2])&&(i=RegExp("</"+u[2],"g")),r=m):u[3]!==void 0&&(r=m):r===m?u[0]===">"?(r=i??b,l=-1):u[1]===void 0?l=-2:(l=r.lastIndex-u[2].length,c=u[1],r=u[3]===void 0?m:u[3]==='"'?X:Q):r===X||r===Q?r=m:r===K||r===G?r=b:(r=m,i=void 0);const $=r===m&&n[a+1].startsWith("/>")?" ":"";o+=r===b?h+mt:l>=0?(s.push(c),h.slice(0,l)+it+h.slice(l)+_+$):h+_+(l===-2?a:$)}return[ot(n,o+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class x{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,r=0;const a=t.length-1,h=this.parts,[c,u]=vt(t,e);if(this.el=x.createElement(c,s),g.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=g.nextNode())!==null&&h.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(it)){const p=u[r++],$=i.getAttribute(l).split(_),T=/([.?@])?(.*)/.exec(p);h.push({type:1,index:o,name:T[2],strings:$,ctor:T[1]==="."?bt:T[1]==="?"?St:T[1]==="@"?wt:R}),i.removeAttribute(l)}else l.startsWith(_)&&(h.push({type:6,index:o}),i.removeAttribute(l));if(rt.test(i.tagName)){const l=i.textContent.split(_),p=l.length-1;if(p>0){i.textContent=N?N.emptyScript:"";for(let $=0;$<p;$++)i.append(l[$],P()),g.nextNode(),h.push({type:2,index:++o});i.append(l[p],P())}}}else if(i.nodeType===8)if(i.data===nt)h.push({type:2,index:o});else{let l=-1;for(;(l=i.data.indexOf(_,l+1))!==-1;)h.push({type:7,index:o}),l+=_.length-1}o++}}static createElement(t,e){const s=A.createElement("template");return s.innerHTML=t,s}}function E(n,t,e=n,s){var r,a;if(t===y)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const o=U(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),o===void 0?i=void 0:(i=new o(n),i._$AT(n,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=E(n,i._$AS(n,t.values),i,s)),t}class Et{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??A).importNode(e,!0);g.currentNode=i;let o=g.nextNode(),r=0,a=0,h=s[0];for(;h!==void 0;){if(r===h.index){let c;h.type===2?c=new M(o,o.nextSibling,this,t):h.type===1?c=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&(c=new Ct(o,this,t)),this._$AV.push(c),h=s[++a]}r!==(h==null?void 0:h.index)&&(o=g.nextNode(),r++)}return g.currentNode=A,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class M{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),U(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=x.createElement(ot(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(e);else{const r=new Et(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=Y.get(t.strings);return e===void 0&&Y.set(t.strings,e=new x(t)),e}k(t){V(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new M(this.O(P()),this.O(P()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,i){const o=this.strings;let r=!1;if(o===void 0)t=E(this,t,e,0),r=!U(t)||t!==this._$AH&&t!==y,r&&(this._$AH=t);else{const a=t;let h,c;for(t=o[0],h=0;h<o.length-1;h++)c=E(this,a[s+h],e,h),c===y&&(c=this._$AH[h]),r||(r=!U(c)||c!==this._$AH[h]),c===d?t=d:t!==d&&(t+=(c??"")+o[h+1]),this._$AH[h]=c}r&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class bt extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class St extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class wt extends R{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??d)===y)return;const s=this._$AH,i=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==d&&(s===d||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Ct{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const D=w.litHtmlPolyfillSupport;D==null||D(x,M),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.2.1");const ht=(n,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const o=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new M(t.insertBefore(P(),o),o,void 0,e??{})}return i._$AI(n),i};/**
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */let C=class extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ht(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return y}};var tt;C._$litElement$=!0,C.finalized=!0,(tt=globalThis.litElementHydrateSupport)==null||tt.call(globalThis,{LitElement:C});const z=globalThis.litElementPolyfillSupport;z==null||z({LitElement:C});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
37
+ * @license
38
+ * Copyright 2017 Google LLC
39
+ * SPDX-License-Identifier: BSD-3-Clause
40
+ */const Pt={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:j},Ut=(n=Pt,t,e)=>{const{kind:s,metadata:i}=e;let o=globalThis.litPropertyMetadata.get(i);if(o===void 0&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(e.name,n),s==="accessor"){const{name:r}=e;return{set(a){const h=t.get.call(this);t.set.call(this,a),this.requestUpdate(r,h,n)},init(a){return a!==void 0&&this.P(r,void 0,n),a}}}if(s==="setter"){const{name:r}=e;return function(a){const h=this[r];t.call(this,a),this.requestUpdate(r,h,n)}}throw Error("Unsupported decorator location: "+s)};function xt(n){return(t,e)=>typeof e=="object"?Ut(n,t,e):((s,i,o)=>{const r=i.hasOwnProperty(o);return i.constructor.createProperty(o,r?{...s,wrapped:!0}:s),r?Object.getOwnPropertyDescriptor(i,o):void 0})(n,t,e)}const B=new Set,Mt=()=>{const n=document.documentElement.dir==="rtl"?document.documentElement.dir:"ltr";B.forEach(t=>{t.setAttribute("dir",n)})},Tt=new MutationObserver(Mt);Tt.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Ot=n=>n.startManagingContentDirection!==void 0||n.tagName==="LUZMO-THEME";function Ht(n){class t extends n{get isLTR(){return this.dir==="ltr"}hasVisibleFocusInTree(){const i=((o=document)=>{var h;let r=o.activeElement;for(;r!=null&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;const a=r?[r]:[];for(;r;){const c=r.assignedSlot||r.parentElement||((h=r.getRootNode())==null?void 0:h.host);c&&a.push(c),r=c}return a})(this.getRootNode())[0];if(!i)return!1;try{return i.matches(":focus-visible")||i.matches(".focus-visible")}catch{return i.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let s=this.assignedSlot||this.parentNode;for(;s!==document.documentElement&&!Ot(s);)s=s.assignedSlot||s.parentNode||s.host;if(this.dir=s.dir==="rtl"?s.dir:this.dir||"ltr",s===document.documentElement)B.add(this);else{const{localName:i}=s;i.search("-")>-1&&!customElements.get(i)?customElements.whenDefined(i).then(()=>{s.startManagingContentDirection(this)}):s.startManagingContentDirection(this)}this._dirParent=s}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?B.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}return t}class Nt extends Ht(C){}exports.B=ht;exports.E=d;exports.LuzmoElement=Nt;exports.T=y;exports.n=xt;exports.r=st;exports.x=yt;
@@ -0,0 +1,44 @@
1
+ import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
2
+ import { Focusable } from '../../utils/focusable';
3
+ declare const ButtonBase_base: typeof Focusable & {
4
+ new (...args: any[]): import("../../utils/like-anchor").LikeAnchorInterface;
5
+ prototype: import("../../utils/like-anchor").LikeAnchorInterface;
6
+ } & {
7
+ new (...args: any[]): import("../../utils/observe-slot-text").SlotTextObservingInterface;
8
+ prototype: import("../../utils/observe-slot-text").SlotTextObservingInterface;
9
+ };
10
+ /**
11
+ * @slot - text content to be displayed in the Button element
12
+ * @slot icon - icon element(s) to display at the start of the button
13
+ */
14
+ export declare class ButtonBase extends ButtonBase_base {
15
+ static get styles(): CSSResultArray;
16
+ active: boolean;
17
+ /**
18
+ * The default behavior of the button.
19
+ * Possible values are: `button` (default), `submit`, and `reset`.
20
+ */
21
+ type: 'button' | 'submit' | 'reset';
22
+ /**
23
+ * HTML anchor element that component clicks by proxy
24
+ */
25
+ private anchorElement;
26
+ get focusElement(): HTMLElement;
27
+ protected get hasLabel(): boolean;
28
+ protected get buttonContent(): TemplateResult[];
29
+ constructor();
30
+ private handleClickCapture;
31
+ private proxyFocus;
32
+ private shouldProxyClick;
33
+ renderAnchor(): TemplateResult;
34
+ protected renderButton(): TemplateResult;
35
+ protected render(): TemplateResult;
36
+ protected handleKeydown(event: KeyboardEvent): void;
37
+ private handleKeypress;
38
+ protected handleKeyup(event: KeyboardEvent): void;
39
+ private manageAnchor;
40
+ protected firstUpdated(changed: PropertyValues): void;
41
+ protected updated(changed: PropertyValues): void;
42
+ protected update(changes: PropertyValues): void;
43
+ }
44
+ export {};
@@ -0,0 +1,59 @@
1
+ import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
2
+ import { PendingStateController } from '../../utils/reactive-controllers/pending-state';
3
+ import { ButtonBase } from './button-base';
4
+ export type ButtonStaticColors = 'white' | 'black';
5
+ export type ButtonVariants = 'primary' | 'secondary' | 'negative' | ButtonStaticColors;
6
+ export declare const validVariants: string[];
7
+ export declare const validStaticColors: string[];
8
+ export type ButtonTreatments = 'fill' | 'outline';
9
+ declare const LuzmoButton_base: typeof ButtonBase & {
10
+ new (...args: any[]): import("../../utils/sized-mixin").SizedElementInterface;
11
+ prototype: import("../../utils/sized-mixin").SizedElementInterface;
12
+ };
13
+ /**
14
+ * @element luzmo-button
15
+ *
16
+ * @slot - text label of the Button
17
+ * @slot icon - The icon to use for Button
18
+ */
19
+ export declare class LuzmoButton extends LuzmoButton_base {
20
+ static get styles(): CSSResultArray;
21
+ pendingLabel: string;
22
+ pending: boolean;
23
+ pendingStateController: PendingStateController<this>;
24
+ /**
25
+ * Initializes the `PendingStateController` for the Button component.
26
+ * The `PendingStateController` manages the pending state of the Button.
27
+ */
28
+ constructor();
29
+ click(): void;
30
+ /**
31
+ * The visual variant to apply to this button.
32
+ */
33
+ get variant(): ButtonVariants;
34
+ set variant(variant: ButtonVariants);
35
+ private _variant;
36
+ /**
37
+ * The static color variant to use for this button.
38
+ */
39
+ staticColor?: 'black' | 'white';
40
+ /**
41
+ * The visual treatment to apply to this button.
42
+ */
43
+ treatment: ButtonTreatments;
44
+ /**
45
+ * Style this button to be less obvious
46
+ */
47
+ set quiet(quiet: boolean);
48
+ /**
49
+ * Disables text wrapping within the button component's label.
50
+ * Please note that this option is not a part of the design specification
51
+ * and should be used carefully, with consideration of this overflow behavior
52
+ * and the readability of the button's content.
53
+ */
54
+ noWrap: boolean;
55
+ get quiet(): boolean;
56
+ protected firstUpdated(changes: PropertyValues<this>): void;
57
+ protected renderButton(): TemplateResult;
58
+ }
59
+ export {};
@@ -0,0 +1,22 @@
1
+ import { CSSResultArray, TemplateResult } from 'lit';
2
+ import { ButtonBase } from './button-base';
3
+ declare const LuzmoClearButton_base: typeof ButtonBase & {
4
+ new (...args: any[]): import("../../utils/sized-mixin").SizedElementInterface;
5
+ prototype: import("../../utils/sized-mixin").SizedElementInterface;
6
+ };
7
+ /**
8
+ * @element luzmo-clear-button
9
+ *
10
+ * @slot - text label of the Clear Button
11
+ * @slot icon - The icon to use for Clear Button
12
+ */
13
+ export declare class LuzmoClearButton extends LuzmoClearButton_base {
14
+ static get styles(): CSSResultArray;
15
+ /**
16
+ * The visual variant to apply to this button.
17
+ */
18
+ variant: 'overBackground' | '';
19
+ protected get buttonContent(): TemplateResult[];
20
+ protected render(): TemplateResult;
21
+ }
22
+ export {};
@@ -0,0 +1,24 @@
1
+ import { CSSResultArray, TemplateResult } from 'lit';
2
+ import './../icon';
3
+ import { ButtonStaticColors } from './button';
4
+ import { ButtonBase } from './button-base';
5
+ declare const LuzmoCloseButton_base: typeof ButtonBase & {
6
+ new (...args: any[]): import("../../utils/sized-mixin").SizedElementInterface;
7
+ prototype: import("../../utils/sized-mixin").SizedElementInterface;
8
+ };
9
+ /**
10
+ * @element luzmo-close-button
11
+ *
12
+ * @slot - text label of the Close Button
13
+ * @slot icon - The icon to use for Close Button
14
+ */
15
+ export declare class LuzmoCloseButton extends LuzmoCloseButton_base {
16
+ static get styles(): CSSResultArray;
17
+ /**
18
+ * The visual variant to apply to this button.
19
+ */
20
+ variant: ButtonStaticColors | '';
21
+ staticColor?: 'black' | 'white';
22
+ protected get buttonContent(): TemplateResult[];
23
+ }
24
+ export {};
@@ -0,0 +1,20 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../base-rtxi7uaR.cjs"),s=require("../pending-state-BeJ7iP-O.cjs"),g=require("../sized-mixin-BAI6NiE2.cjs"),v=require("../button-base-DjqSZyn2.cjs"),d=require("../clear-button-DFXE6MLx.cjs"),i=require("../close-button-CcD-aVqh.cjs"),h=':host{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-family:var(--luzmo-button-font-family, var(--luzmo-font-family));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:var(--luzmo-button-line-height, 1.3);text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,border-color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,box-shadow var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;overflow:visible}:host(:focus){outline:none}:host .is-disabled,:host([disabled]){cursor:default}:host:after{margin:calc(-1 * var(--luzmo-button-focus-indicator-gap, var(--luzmo-focus-indicator-gap, 2px)));transition:opacity var(--luzmo-button-animation-duration, var(--luzmo-button-animation-duration, var(--luzmo-animation-duration))) ease-out,margin var(--luzmo-button-animation-duration, var(--luzmo-button-animation-duration, var(--luzmo-animation-duration))) ease-out;display:block;inset-block:0;inset-inline:0}:host(:focus-visible):after{margin:calc(var(--luzmo-focus-indicator-gap, 2px) * -2)}#label{place-self:center}#label[hidden]{display:none}:host{--luzmo-progress-circle-position: absolute;border-radius:var(--luzmo-button-border-radius, var(--button-border-radius));border-width:var(--luzmo-button-border-width, var(--button-border-width));font-size:var(--luzmo-button-font-size, var(--button-font-size));font-weight:var(--luzmo-button-font-weight, 600);gap:var(--luzmo-button-padding-label-to-icon, var(--button-padding-label-to-icon));max-inline-size:none;max-inline-size:var(--luzmo-button-max-inline-size, none);min-inline-size:var(--luzmo-button-min-width, var(--button-min-width));min-block-size:var(--luzmo-button-height, var(--button-height));padding-block:0;padding-inline:var(--luzmo-button-edge-to-text, var(--button-edge-to-text));color:inherit;margin-block:0;margin-block:var(--luzmo-button-margin-block, 0);border-style:solid;margin-inline-start:var(--luzmo-button-margin-left, 0);margin-inline-end:var(--luzmo-button-margin-right, 0);position:relative}:host(:is(:active,[active])){box-shadow:none}::slotted([slot=icon]){--_icon-size-difference: max( 0px, var(--button-intended-icon-size) - var(--icon-size, var(--button-intended-icon-size)) );color:inherit;flex-shrink:0;align-self:flex-start;margin-block-start:var(--luzmo-button-icon-margin-block-start, max(0px, var(--luzmo-button-top-to-icon, var(--button-top-to-icon)) - var(--luzmo-button-border-width, var(--button-border-width)) + var(--_icon-size-difference, 0px) / 2));margin-inline-start:calc(var(--luzmo-button-edge-to-visual, var(--button-edge-to-visual)) - var(--luzmo-button-edge-to-text, var(--button-edge-to-text)))}:host([icon-only]){min-inline-size:unset;padding:calc(var(--luzmo-button-edge-to-visual-only, var(--button-edge-to-visual-only)) - var(--luzmo-button-border-width, var(--button-border-width)));border-radius:50%}:host([icon-only]) ::slotted([slot=icon]){align-self:center;margin-block-start:0;margin-inline-start:0}:host([icon-only]):after{border-radius:50%}#label{line-height:var(--luzmo-button-line-height, var(--button-line-height));text-align:center;text-align:var(--luzmo-button-text-align, center);align-self:start;padding-block-start:calc(var(--luzmo-button-top-to-text, var(--button-top-to-text)) - var(--luzmo-button-border-width, var(--button-border-width)));padding-block-end:calc(var(--luzmo-button-bottom-to-text, var(--button-bottom-to-text)) - var(--luzmo-button-border-width, var(--button-border-width)))}[name=icon]+#label{text-align:start;text-align:var(--luzmo-button-text-align-with-icon, start)}:host([focused]):after,:host(:focus-visible):after{box-shadow:0 0 0 var(--luzmo-button-focus-ring-thickness, var(--button-focus-ring-thickness)) var(--luzmo-button-focus-ring-color, var(--button-focus-indicator-color))}:host{transition:border-color var(--luzmo-button-animation-duration, var(--button-animation-duration)) ease-in-out}:host:after{margin:calc((var(--luzmo-button-focus-ring-gap, var(--button-focus-ring-gap)) + var(--luzmo-button-border-width, var(--button-border-width))) * -1);border-radius:var(--luzmo-button-focus-ring-border-radius, calc(var(--luzmo-button-border-radius, var(--button-border-radius)) + var(--luzmo-focus-indicator-gap, 2px)));transition:box-shadow var(--luzmo-button-animation-duration, var(--button-animation-duration)) ease-in-out;pointer-events:none;content:"";position:absolute;top:0;right:0;bottom:0;left:0}:host(:focus-visible){box-shadow:none;outline:none}:host(:focus-visible):after{box-shadow:0 0 0 var(--luzmo-button-focus-ring-thickness, var(--button-focus-ring-thickness)) var(--highcontrast-button-focus-ring-color, var(--luzmo-button-focus-ring-color, var(--luzmo-button-focus-ring-color, var(--button-focus-indicator-color))))}:host{background-color:var(--highcontrast-button-background-color-default, var(--luzmo-button-background-color-default, var(--button-background-color-default)));border-color:var(--highcontrast-button-border-color-default, var(--luzmo-button-border-color-default, var(--button-border-color-default)));color:var(--highcontrast-button-content-color-default, var(--luzmo-button-content-color-default, var(--button-content-color-default)));transition:border .13s linear,color .13s linear,background-color .13s linear;transition:border var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s)) linear,color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s)) linear,background-color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s)) linear}@media (hover: hover){:host(:hover){box-shadow:none;background-color:var(--highcontrast-button-background-color-hover, var(--luzmo-button-background-color-hover, var(--button-background-color-hover)));border-color:var(--highcontrast-button-border-color-hover, var(--luzmo-button-border-color-hover, var(--button-border-color-hover)));color:var(--highcontrast-button-content-color-hover, var(--luzmo-button-content-color-hover, var(--button-content-color-hover)))}}:host(:focus-visible){background-color:var(--highcontrast-button-background-color-focus, var(--luzmo-button-background-color-focus, var(--button-background-color-focus)));border-color:var(--highcontrast-button-border-color-focus, var(--luzmo-button-border-color-focus, var(--button-border-color-focus)));color:var(--highcontrast-button-content-color-focus, var(--luzmo-button-content-color-focus, var(--button-content-color-focus)))}:host(:is(:active,[active])){background-color:var(--highcontrast-button-background-color-down, var(--luzmo-button-background-color-down, var(--button-background-color-down)));border-color:var(--highcontrast-button-border-color-down, var(--luzmo-button-border-color-down, var(--button-border-color-down)));color:var(--highcontrast-button-content-color-down, var(--luzmo-button-content-color-down, var(--button-content-color-down)))}:host .is-disabled,:host([pending]),:host([disabled]){background-color:var(--highcontrast-button-background-color-disabled, var(--luzmo-button-background-color-disabled, var(--button-background-color-disabled)));border-color:var(--highcontrast-button-border-color-disabled, var(--luzmo-button-border-color-disabled, var(--button-border-color-disabled)));color:var(--highcontrast-button-content-color-disabled, var(--luzmo-button-content-color-disabled, var(--button-content-color-disabled)))}#label,::slotted([slot=icon]){visibility:visible;opacity:1;transition:opacity .13s ease-in-out;transition:opacity var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s)) ease-in-out}.luzmo-progress-circle{visibility:hidden;opacity:0;transition:opacity .13s ease-in-out,visibility 0s linear .13s;transition:opacity var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s)) ease-in-out,visibility 0s linear var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s))}:host([pending]){cursor:default}:host([pending]) .luzmo-progress-circle{visibility:visible;opacity:1;transition:opacity .13s ease-in-out;transition:opacity var(--luzmo-button-animation-duration, var(--luzmo-animation-duration, .15s)) ease-in-out}:host([no-wrap]) #label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host([static-color=white]){--button-focus-indicator-color: var( --luzmo-static-black-focus-indicator-color, rgb(0, 0, 0) )}:host([static-color=white][selected]){--button-content-color-default: var( --luzmo-button-static-content-color, rgba(255, 255, 255, .9) );--button-content-color-hover: var( --luzmo-button-static-content-color, rgb(255, 255, 255) );--button-content-color-down: var( --luzmo-button-static-content-color, rgb(255, 255, 255) );--button-content-color-focus: var( --luzmo-button-static-content-color, rgb(255, 255, 255) )}:host([static-color=black]){--button-focus-indicator-color: var( --luzmo-static-black-focus-indicator-color, rgb(0, 0, 0) )}@media (forced-colors: active){:host{--highcontrast-button-content-color-default: ButtonText;--highcontrast-button-content-color-hover: ButtonText;--highcontrast-button-content-color-focus: ButtonText;--highcontrast-button-content-color-down: ButtonText;--highcontrast-button-border-color-default: ButtonBorder;--highcontrast-button-border-color-hover: ButtonBorder;--highcontrast-button-border-color-focus: ButtonBorder;--highcontrast-button-border-color-down: ButtonBorder;--highcontrast-button-background-color-default: ButtonFace;--highcontrast-button-background-color-hover: ButtonFace;--highcontrast-button-background-color-down: ButtonFace;--highcontrast-button-background-color-focus: ButtonFace;--highcontrast-button-background-color-disabled: ButtonFace;--highcontrast-button-content-color-disabled: GrayText;--highcontrast-button-border-color-disabled: GrayText;--luzmo-progress-circle-track-border-color: ButtonText;--luzmo-progress-circle-track-border-color-over-background: ButtonText;--luzmo-progress-circle-thickness: 3px;--luzmo-button-animation-duration: 0s}#label{forced-color-adjust:none}:host(:focus-visible):after{forced-color-adjust:none;box-shadow:0 0 0 var(--luzmo-button-focus-ring-thickness, var(--button-focus-ring-thickness)) ButtonText}:host([variant=accent][treatment=fill]){--highcontrast-button-background-color-default: ButtonText;--highcontrast-button-content-color-default: ButtonFace;--highcontrast-button-content-color-hover: HighlightText;--highcontrast-button-content-color-down: HighlightText;--highcontrast-button-content-color-focus: HighlightText;--highcontrast-button-background-color-disabled: ButtonFace;--highcontrast-button-background-color-hover: Highlight;--highcontrast-button-background-color-down: Highlight;--highcontrast-button-background-color-focus: Highlight;--highcontrast-button-border-color-default: ButtonText;--highcontrast-button-border-color-hover: Highlight;--highcontrast-button-border-color-focus: Highlight;--highcontrast-button-border-color-down: Highlight}}:host{--button-animation-duration: var(--luzmo-animation-duration);--button-border-radius: var(--luzmo-border-radius);--button-border-width: var(--luzmo-border-width);--button-line-height: 1.2;--button-focus-ring-gap: 2px;--button-focus-ring-thickness: 2px;--button-focus-indicator-color: var(--luzmo-primary);--button-intended-icon-size: 18px;--button-background-color-default: var(--luzmo-background-color);--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-active);--button-background-color-focus: var(--luzmo-primary);--button-border-color-default: var(--luzmlo-border-color-full);--button-border-color-hover: var(--luzmo-border-color-full-hover);--button-border-color-down: var(--luzmo-border-color-full-down);--button-border-color-focus: var(--luzmo-border-color-full-focus);--button-content-color-default: var(--luzmo-font-color);--button-content-color-hover: var(--luzmo-font-color-hard);--button-content-color-down: var(--luzmo-font-color-hard);--button-content-color-focus: var(--luzmo-font-color-hard);--button-background-color-disabled: transparent;--button-border-color-disabled: var(--luzmo-color-disabled);--button-content-color-disabled: var(--luzmo-color-disabled)}:host([variant=accent]){--button-background-color-default: var(--luzmo-primary);--button-background-color-hover: var(--luzmo-primary-hover);--button-background-color-down: var(--luzmo-primary-down);--button-background-color-focus: var(--luzmo-primary-focus);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: white;--button-content-color-hover: white;--button-content-color-down: white;--button-content-color-focus: white;--button-background-color-disabled: var(--luzmo-background-color-disabled);--button-border-color-disabled: transparent;--button-content-color-disabled: var(--luzmo-color-disabled)}:host([variant=accent][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-down);--button-background-color-focus: var(--luzmo-background-color-focus);--button-border-color-default: var(--luzmo-primary);--button-border-color-hover: var(--luzmo-primary-hover);--button-border-color-down: var(--luzmo-primary-down);--button-border-color-focus: var(--luzmo-primary-focus);--button-content-color-default: var(--luzmo-primary);--button-content-color-hover: var(--luzmo-primary-down);--button-content-color-down: var(--luzmo-primary-down);--button-content-color-focus: var(--luzmo-primary-focus);--button-background-color-disabled: transparent;--button-border-color-disabled: var(--luzmo-border-color-disabled);--button-content-color-disabled: var(--luzmo-font-color-disabled)}:host([variant=negative]){--button-background-color-default: var(--luzmo-color-negative);--button-background-color-hover: var(--luzmo-color-negative-hover);--button-background-color-down: var(--luzmo-color-negative-down);--button-background-color-focus: var(--luzmo-color-negative-focus);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: white;--button-content-color-hover: white;--button-content-color-down: white;--button-content-color-focus: white;--button-background-color-disabled: var(--luzmo-background-color-disabled);--button-border-color-disabled: transparent;--button-content-color-disabled: var(--luzmo-color-disabled)}:host([variant=negative][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-down);--button-background-color-focus: var(--luzmo-background-color-focus);--button-border-color-default: var(--luzmo-color-negative);--button-border-color-hover: var(--luzmo-color-negative-hover);--button-border-color-down: var(--luzmo-color-negative-down);--button-border-color-focus: var(--luzmo-color-negative-focus);--button-content-color-default: var(--luzmo-color-negative);--button-content-color-hover: var(--luzmo-color-negative-down);--button-content-color-down: var(--luzmo-color-negative-down);--button-content-color-focus: var(--luzmo-color-negative-focus);--button-background-color-disabled: transparent;--button-border-color-disabled: var(--luzmo-border-color-disabled);--button-content-color-disabled: var(--luzmo-font-color-disabled)}:host([variant=primary]){--button-background-color-default: var(--luzmo-primary);--button-background-color-hover: var(--luzmo-primary-hover);--button-background-color-down: var(--luzmo-primary-down);--button-background-color-focus: var(--luzmo-primary-focus);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: white;--button-content-color-hover: white;--button-content-color-down: white;--button-content-color-focus: white;--button-background-color-disabled: var(--luzmo-background-color-disabled);--button-border-color-disabled: transparent;--button-content-color-disabled: var(--luzmo-color-disabled)}:host([variant=primary][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-down);--button-background-color-focus: var(--luzmo-background-color-focus);--button-border-color-default: var(--luzmo-primary);--button-border-color-hover: var(--luzmo-primary-hover);--button-border-color-down: var(--luzmo-primary-down);--button-border-color-focus: var(--luzmo-primary-focus);--button-content-color-default: var(--luzmo-primary);--button-content-color-hover: var(--luzmo-primary-down);--button-content-color-down: var(--luzmo-primary-down);--button-content-color-focus: var(--luzmo-primary-focus);--button-background-color-disabled: transparent;--button-border-color-disabled: var(--luzmo-border-color-disabled);--button-content-color-disabled: var(--luzmo-font-color-disabled)}:host([variant=secondary]){--button-background-color-default: var(--luzmo-secondary);--button-background-color-hover: var(--luzmo-secondary-hover);--button-background-color-down: var(--luzmo-secondary-down);--button-background-color-focus: var(--luzmo-secondary-focus);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: white;--button-content-color-hover: white;--button-content-color-down: white;--button-content-color-focus: white;--button-background-color-disabled: var(--luzmo-background-color-disabled);--button-border-color-disabled: transparent;--button-content-color-disabled: var(--luzmo-color-disabled)}:host([variant=secondary][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-down);--button-background-color-focus: var(--luzmo-background-color-focus);--button-border-color-default: var(--luzmo-secondary);--button-border-color-hover: var(--luzmo-secondary-hover);--button-border-color-down: var(--luzmo-secondary-down);--button-border-color-focus: var(--luzmo-secondary-focus);--button-content-color-default: var(--luzmo-secondary);--button-content-color-hover: var(--luzmo-secondary-down);--button-content-color-down: var(--luzmo-secondary-down);--button-content-color-focus: var(--luzmo-secondary-focus);--button-background-color-disabled: transparent;--button-border-color-disabled: var(--luzmo-border-color-disabled);--button-content-color-disabled: var(--luzmo-font-color-disabled)}:host([quiet]){--button-background-color-default: transparent;--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-down);--button-background-color-focus: var(--luzmo-background-color-focus);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-background-color-disabled: transparent;--button-border-color-disabled: transparent}:host([selected]){--button-background-color-default: var(--luzmo-color-selected);--button-background-color-hover: var(--luzmo-color-selected-hover);--button-background-color-down: var(--luzmo-color-selected-down);--button-background-color-focus: var(--luzmo-color-selected-focus);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: white;--button-content-color-hover: white;--button-content-color-down: white;--button-content-color-focus: white;--button-background-color-disabled: var(--luzmo-background-color-disabled);--button-border-color-disabled: transparent}:host([selected][emphasized]){--button-background-color-default: transparent;--button-background-color-hover: var(--luzmo-background-color-hover);--button-background-color-down: var(--luzmo-background-color-down);--button-background-color-focus: var(--luzmo-background-color-focus)}:host([static-color=black][quiet]){--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-border-color-disabled: transparent}:host([static-color=white][quiet]){--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-border-color-disabled: transparent}:host([static-color=white]){--button-background-color-default: rgba(255, 255, 255 .9);--button-background-color-hover: rgb(255, 255, 255);--button-background-color-down: rgb(255, 255, 255);--button-background-color-focus: rgb(255, 255, 255);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: rgb(0, 0, 0);--button-content-color-hover: rgb(0, 0, 0);--button-content-color-down: rgb(0, 0, 0);--button-content-color-focus: rgb(0, 0, 0);--button-focus-indicator-color: rgb(255, 255, 255);--button-background-color-disabled: rgba(255, 255, 255, .1);--button-border-color-disabled: transparent;--button-content-color-disabled: rgba(255, 255, 255, .55)}:host([static-color=white][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: rgba(255, 255, 255, .25);--button-background-color-down: rgba(255, 255, 255, .4);--button-background-color-focus: rgba(255, 255, 255, .25);--button-border-color-default: rgba(255, 255, 255, .9);--button-border-color-hover: rgb(255, 255, 255);--button-border-color-down: rgb(255, 255, 255);--button-border-color-focus: rgb(255, 255, 255);--button-content-color-default: rgb(255, 255, 255);--button-content-color-hover: rgb(255, 255, 255);--button-content-color-down: rgb(255, 255, 255);--button-content-color-focus: rgb(255, 255, 255);--button-focus-indicator-color: rgb(255, 255, 255);--button-background-color-disabled: transparent;--button-border-color-disabled: rgba(255, 255, 255, .25);--button-content-color-disabled: rgba(255, 255, 255, .55)}:host([static-color=white][selected]){--button-background-color-default: rgba(255, 255, 255, .9);--button-background-color-hover: rgb(255, 255, 255);--button-background-color-down: rgb(255, 255, 255);--button-background-color-focus: rgb(255, 255, 255);--button-static-white-content-color-default: rgb(0, 0, 0);--button-static-white-content-color-hover: rgb(0, 0, 0);--button-static-white-content-color-down: rgb(0, 0, 0);--button-static-white-content-color-focus: rgb(0, 0, 0);--button-background-color-disabled: rgba(255, 255, 255, .1);--button-border-color-disabled: transparent}:host([static-color=white][variant=secondary]){--button-background-color-default: rgba(255, 255, 255, .1);--button-background-color-hover: rgba(255, 255, 255, .25);--button-background-color-down: rgba(255, 255, 255, .4);--button-background-color-focus: rgba(255, 255, 255, .25);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: rgb(255, 255, 255);--button-content-color-hover: rgb(255, 255, 255);--button-content-color-down: rgb(255, 255, 255);--button-content-color-focus: rgb(255, 255, 255);--button-focus-indicator-color: rgb(255, 255, 255);--button-background-color-disabled: rgba(255, 255, 255, .1);--button-border-color-disabled: transparent;--button-content-color-disabled: rgba(255, 255, 255, .55)}:host([static-color=white][variant=secondary][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: rgba(255, 255, 255, .25);--button-background-color-down: rgba(255, 255, 255, .4);--button-background-color-focus: rgba(255, 255, 255, .25);--button-border-color-default: rgba(255, 255, 255, .25);--button-border-color-hover: rgba(255, 255, 255, .4);--button-border-color-down: rgba(255, 255, 255, .55);--button-border-color-focus: rgba(255, 255, 255, .4);--button-content-color-default: rgb(255, 255, 255);--button-content-color-hover: rgb(255, 255, 255);--button-content-color-down: rgb(255, 255, 255);--button-content-color-focus: rgb(255, 255, 255);--button-focus-indicator-color: rgb(255, 255, 255);--button-background-color-disabled: transparent;--button-border-color-disabled: rgba(255, 255, 255, .25);--button-content-color-disabled: rgba(255, 255, 255, .55)}:host([static-color=black]){--button-background-color-default: rgba(0, 0, 0, .9);--button-background-color-hover: rgb(0, 0, 0);--button-background-color-down: rgb(0, 0, 0);--button-background-color-focus: rgb(0, 0, 0);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: rgb(255, 255, 255);--button-content-color-hover: rgb(255, 255, 255);--button-content-color-down: rgb(255, 255, 255);--button-content-color-focus: rgb(255, 255, 255);--button-focus-indicator-color: rgb(0, 0, 0);--button-background-color-disabled: rgba(0, 0, 0, .1);--button-border-color-disabled: transparent;--button-content-color-disabled: rgba(0, 0, 0, .55)}:host([static-color=black][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: rgba(0, 0, 0, .25);--button-background-color-down: rgba(0, 0, 0, .4);--button-background-color-focus: rgba(0, 0, 0, .25);--button-border-color-default: rgba(0, 0, 0, .4);--button-border-color-hover: rgba(0, 0, 0, .55);--button-border-color-down: rgba(0, 0, 0, .7);--button-border-color-focus: rgba(0, 0, 0, .55);--button-content-color-default: rgb(0, 0, 0);--button-content-color-hover: rgb(0, 0, 0);--button-content-color-down: rgb(0, 0, 0);--button-content-color-focus: rgb(0, 0, 0);--button-focus-indicator-color: rgb(0, 0, 0);--button-background-color-disabled: transparent;--button-border-color-disabled: rgba(0, 0, 0, .25);--button-content-color-disabled: rgba(0, 0, 0, .55)}:host([static-color=black][variant=secondary]){--button-background-color-default: rgba(0, 0, 0, .1);--button-background-color-hover: rgba(0, 0, 0, .25);--button-background-color-down: rgba(0, 0, 0, .4);--button-background-color-focus: rgba(0, 0, 0, .25);--button-border-color-default: transparent;--button-border-color-hover: transparent;--button-border-color-down: transparent;--button-border-color-focus: transparent;--button-content-color-default: rgb(0, 0, 0);--button-content-color-hover: rgb(0, 0, 0);--button-content-color-down: rgb(0, 0, 0);--button-content-color-focus: rgb(0, 0, 0);--button-focus-indicator-color: rgb(0, 0, 0);--button-background-color-disabled: rgba(0, 0, 0, .1);--button-border-color-disabled: transparent;--button-content-color-disabled: rgba(0, 0, 0, .55)}:host([static-color=black][variant=secondary][treatment=outline]){--button-background-color-default: transparent;--button-background-color-hover: rgba(0, 0, 0, .25);--button-background-color-down: rgba(0, 0, 0, .4);--button-background-color-focus: rgba(0, 0, 0, .25);--button-border-color-default: rgba(0, 0, 0, .25);--button-border-color-hover: rgba(0, 0, 0, .4);--button-border-color-down: rgba(0, 0, 0, .55);--button-border-color-focus: rgba(0, 0, 0, .4);--button-content-color-default: rgb(0, 0, 0);--button-content-color-hover: rgb(0, 0, 0);--button-content-color-down: rgb(0, 0, 0);--button-content-color-focus: rgb(0, 0, 0);--button-focus-indicator-color: rgb(0, 0, 0);--button-background-color-disabled: transparent;--button-border-color-disabled: rgba(0, 0, 0, .25);--button-content-color-disabled: rgba(0, 0, 0, .55)}:host([size=s]){--button-min-width: 54px;--button-border-radius: var(--luzmo-border-radius-s);--button-height: 24px;--button-font-size: 12px;--button-edge-to-visual: 8px;--button-edge-to-visual-only: 4px;--button-edge-to-text: 10px;--button-padding-label-to-icon: 7px;--button-top-to-text: 5px;--button-bottom-to-text: 4px;--button-top-to-icon: 4px;--button-intended-icon-size: 16px}:host{--button-min-width: 72px;--button-border-radius: var(--luzmo-border-radius);--button-height: 32px;--button-font-size: 14px;--button-edge-to-visual: 12px;--button-edge-to-visual-only: 7px;--button-edge-to-text: 14px;--button-padding-label-to-icon: 8px;--button-top-to-text: 7px;--button-bottom-to-text: 8px;--button-top-to-icon: 7px;--button-intended-icon-size: 18px}:host([size=l]){--button-min-width: 90px;--button-border-radius: var(--luzmo-border-radius);--button-height: 40px;--button-font-size: 16px;--button-edge-to-visual: 16px;--button-edge-to-visual-only: 10px;--button-edge-to-text: 18px;--button-padding-label-to-icon: 9px;--button-top-to-text: 10px;--button-bottom-to-text: 10px;--button-top-to-icon: 10px;--button-intended-icon-size: 20px}:host([size=xl]){--button-min-width: 108px;--button-border-radius: var(--luzmo-border-radius);--button-height: 48px;--button-font-size: 18px;--button-edge-to-visual: 19px;--button-edge-to-visual-only: 13px;--button-edge-to-text: 22px;--button-padding-label-to-icon: 10px;--button-top-to-text: 13px;--button-bottom-to-text: 13px;--button-top-to-icon: 13px;--button-intended-icon-size: 22px}@media (forced-colors: active){:host([treatment][disabled]){border-color:graytext}:host([treatment]:not([disabled]):hover){border-color:highlight}}@keyframes show-progress-circle{0%{visibility:hidden}to{visibility:visible}}@keyframes hide-icons-label{0%{visibility:visible}to{visibility:hidden}}@keyframes update-pending-button-styles{to{background-color:var(--highcontrast-button-background-color-disabled, var(--luzmo-button-background-color-disabled, var(--button-background-color-disabled)));border-color:var(--highcontrast-button-border-color-disabled, var(--luzmo-button-border-color-disabled, var(--button-border-color-disabled)));color:var(--highcontrast-button-content-color-disabled, var(--luzmo-button-content-color-disabled, var(--button-content-color-disabled)))}}:host([pending]:not([disabled])){cursor:default;pointer-events:none;animation:update-pending-button-styles 0s var(--pending-delay, 1s) forwards}::slotted([slot=icon]){visibility:revert-layer;--luzmo-progress-circle-position: relative;--icon-size: inherit}luzmo-progress-circle{display:block;visibility:hidden;position:absolute;left:50%;transform:translate(-50%)}:host([pending]:not([disabled])) luzmo-progress-circle{animation:show-progress-circle 0s var(--pending-delay, 1s) forwards}:host([pending]:not([disabled])) slot[name=icon],:host([pending]:not([disabled])) #label{animation:hide-icons-label 0s var(--pending-delay, 1s) forwards}';var m=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a=(u,o,c,e)=>{for(var n=e>1?void 0:e?f(o,c):o,l=u.length-1,b;l>=0;l--)(b=u[l])&&(n=(e?b(o,c,n):b(n))||n);return e&&n&&m(o,c,n),n};const p=["primary","secondary","negative","white","black"];class r extends g.SizedMixin(v.ButtonBase,{noDefaultSize:!0}){constructor(){super(),this.pendingLabel="Pending",this.pending=!1,this._variant="primary",this.treatment="fill",this.noWrap=!1,this.pendingStateController=new s.PendingStateController(this)}static get styles(){return[...super.styles,t.r(h)]}click(){this.pending||super.click()}get variant(){return this._variant}set variant(o){if(o!==this.variant){switch(this.requestUpdate("variant",this.variant),o){case"white":{this.staticColor=o,this.removeAttribute("variant");return}case"black":{this.staticColor=o,this.removeAttribute("variant");return}case null:return;default:{this._variant=p.includes(o)?o:"primary";break}}this.setAttribute("variant",this.variant)}}set quiet(o){this.treatment=o?"outline":"fill"}get quiet(){return this.treatment==="outline"}firstUpdated(o){super.firstUpdated(o),this.hasAttribute("variant")||this.setAttribute("variant",this.variant),this.pending&&this.pendingStateController.hostUpdated()}renderButton(){return t.x`
19
+ ${this.buttonContent} ${this.pendingStateController.renderPendingState()}
20
+ `}}a([t.n({type:String,attribute:"pending-label"})],r.prototype,"pendingLabel",2);a([t.n({type:Boolean,reflect:!0,attribute:!0})],r.prototype,"pending",2);a([t.n()],r.prototype,"variant",1);a([t.n({reflect:!0,attribute:"static-color"})],r.prototype,"staticColor",2);a([t.n({reflect:!0})],r.prototype,"treatment",2);a([t.n({type:Boolean})],r.prototype,"quiet",1);a([t.n({type:Boolean,attribute:"no-wrap",reflect:!0})],r.prototype,"noWrap",2);customElements.get("luzmo-button")||customElements.define("luzmo-button",r);customElements.get("luzmo-clear-button")||customElements.define("luzmo-clear-button",d.LuzmoClearButton);customElements.get("luzmo-close-button")||customElements.define("luzmo-close-button",i.LuzmoCloseButton);exports.LuzmoClearButton=d.LuzmoClearButton;exports.LuzmoCloseButton=i.LuzmoCloseButton;exports.LuzmoButton=r;
@@ -0,0 +1,13 @@
1
+ import { LuzmoButton } from './button';
2
+ import { LuzmoClearButton } from './clear-button';
3
+ import { LuzmoCloseButton } from './close-button';
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'luzmo-button': LuzmoButton;
7
+ 'luzmo-clear-button': LuzmoClearButton;
8
+ 'luzmo-close-button': LuzmoCloseButton;
9
+ }
10
+ }
11
+ export { LuzmoButton } from './button';
12
+ export { LuzmoClearButton } from './clear-button';
13
+ export { LuzmoCloseButton } from './close-button';
@@ -15,13 +15,12 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { P as i } from "../pending-state-D5KTK4_1.js";
19
- import { S as s } from "../sized-mixin-Dl0KoEcV.js";
20
- import { unsafeCSS as g, html as m } from "lit";
21
- import { n as e } from "../base-nYalvNMy.js";
22
- import { B as v } from "../button-base-DgtT6sU5.js";
23
- import { L as h } from "../clear-button-Ap5H3UyH.js";
24
- import { L as f } from "../close-button-CGISEF33.js";
18
+ import { r as i, x as s, n as e } from "../base-CxUap9HL.js";
19
+ import { P as g } from "../pending-state--XOfTjzE.js";
20
+ import { S as m } from "../sized-mixin-DcJTTohI.js";
21
+ import { B as v } from "../button-base-CgrTYVgq.js";
22
+ import { L as h } from "../clear-button-CyLF5dx_.js";
23
+ import { L as f } from "../close-button-CzpdWCWI.js";
25
24
  const d = () => {
26
25
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
27
26
  const r = document.createElement("style");
@@ -42,7 +41,7 @@ const w = [
42
41
  "white",
43
42
  "black"
44
43
  ];
45
- class t extends s(v, {
44
+ class t extends m(v, {
46
45
  noDefaultSize: !0
47
46
  }) {
48
47
  /**
@@ -50,10 +49,10 @@ class t extends s(v, {
50
49
  * The `PendingStateController` manages the pending state of the Button.
51
50
  */
52
51
  constructor() {
53
- super(), this.pendingLabel = "Pending", this.pending = !1, this._variant = "accent", this.treatment = "fill", this.noWrap = !1, this.pendingStateController = new i(this);
52
+ super(), this.pendingLabel = "Pending", this.pending = !1, this._variant = "primary", this.treatment = "fill", this.noWrap = !1, this.pendingStateController = new g(this);
54
53
  }
55
54
  static get styles() {
56
- return [...super.styles, g(z)];
55
+ return [...super.styles, i(z)];
57
56
  }
58
57
  click() {
59
58
  this.pending || super.click();
@@ -75,7 +74,7 @@ class t extends s(v, {
75
74
  case null:
76
75
  return;
77
76
  default: {
78
- this._variant = w.includes(o) ? o : "accent";
77
+ this._variant = w.includes(o) ? o : "primary";
79
78
  break;
80
79
  }
81
80
  }
@@ -92,7 +91,7 @@ class t extends s(v, {
92
91
  super.firstUpdated(o), this.hasAttribute("variant") || this.setAttribute("variant", this.variant), this.pending && this.pendingStateController.hostUpdated();
93
92
  }
94
93
  renderButton() {
95
- return m`
94
+ return s`
96
95
  ${this.buttonContent} ${this.pendingStateController.renderPendingState()}
97
96
  `;
98
97
  }
@@ -15,19 +15,18 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { F as c } from "./focusable-DbUg-3Vp.js";
19
- import { L as u } from "./like-anchor-cDeGGeHh.js";
20
- import { O as p } from "./observe-slot-text-BoFRF-VI.js";
21
- import { unsafeCSS as d, html as i } from "lit";
22
- import { n as h } from "./base-nYalvNMy.js";
23
- import { e as b } from "./query-D_KR_GUc.js";
24
- const m = ":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";
25
- var f = Object.defineProperty, n = (r, e, t, y) => {
18
+ import { r as c, x as i, n as h } from "./base-CxUap9HL.js";
19
+ import { e as u } from "./query-D_KR_GUc.js";
20
+ import { F as p } from "./focusable-Bze9xE25.js";
21
+ import { L as d } from "./like-anchor-DnsAwo_O.js";
22
+ import { O as b } from "./observe-slot-text-DrM71me1.js";
23
+ const f = ":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";
24
+ var m = Object.defineProperty, n = (r, e, t, y) => {
26
25
  for (var s = void 0, o = r.length - 1, l; o >= 0; o--)
27
26
  (l = r[o]) && (s = l(e, t, s) || s);
28
- return s && f(e, t, s), s;
27
+ return s && m(e, t, s), s;
29
28
  };
30
- class a extends p(u(c), "", [
29
+ class a extends b(d(p), "", [
31
30
  "luzmo-overlay,luzmo-tooltip"
32
31
  ]) {
33
32
  constructor() {
@@ -36,7 +35,7 @@ class a extends p(u(c), "", [
36
35
  });
37
36
  }
38
37
  static get styles() {
39
- return [d(m)];
38
+ return [c(f)];
40
39
  }
41
40
  get focusElement() {
42
41
  return this;
@@ -136,7 +135,7 @@ n([
136
135
  h({ type: String })
137
136
  ], a.prototype, "type");
138
137
  n([
139
- b(".anchor")
138
+ u(".anchor")
140
139
  ], a.prototype, "anchorElement");
141
140
  export {
142
141
  a as B
@@ -0,0 +1,25 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ "use strict";const s=require("./base-rtxi7uaR.cjs"),h=require("./query-BL-TJj7K.cjs"),c=require("./focusable-DyyBr-J-.cjs"),u=require("./like-anchor-DKuw8fJA.cjs"),p=require("./observe-slot-text-DeSKIzvP.cjs"),d=":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";var b=Object.defineProperty,l=(n,e,t,f)=>{for(var i=void 0,o=n.length-1,a;o>=0;o--)(a=n[o])&&(i=a(e,t,i)||i);return i&&b(e,t,i),i};class r extends p.ObserveSlotText(u.LikeAnchor(c.Focusable),"",["luzmo-overlay,luzmo-tooltip"]){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[s.r(d)]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[s.x` <slot name="icon" ?icon-only=${!this.hasLabel}></slot> `,s.x`
19
+ <span id="label">
20
+ <slot @slotchange=${this.manageTextObservedSlot}></slot>
21
+ </span>
22
+ `]}handleClickCapture(e){if(this.disabled)return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let e=!1;if(this.anchorElement)this.anchorElement.click(),e=!0;else if(this.type!=="button"){const t=document.createElement("button");t.type=this.type,this.insertAdjacentElement("afterend",t),t.click(),t.remove(),e=!0}return e}renderAnchor(){return s.x`
23
+ ${this.buttonContent}
24
+ ${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
25
+ `}renderButton(){return s.x` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(e){const{code:t}=e;switch(t){case"Space":{e.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(e){const{code:t}=e;switch(t){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(e){const{code:t}=e;switch(t){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(e){super.updated(e),e.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(e){super.update(e),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}l([s.n({type:Boolean,reflect:!0})],r.prototype,"active");l([s.n({type:String})],r.prototype,"type");l([h.e(".anchor")],r.prototype,"anchorElement");exports.ButtonBase=r;
@@ -0,0 +1,19 @@
1
+ import { CSSResultArray, TemplateResult } from 'lit';
2
+ import { LuzmoElement } from '../../utils/base';
3
+ declare const LuzmoButtonGroup_base: typeof LuzmoElement & {
4
+ new (...args: any[]): import("../../utils/sized-mixin").SizedElementInterface;
5
+ prototype: import("../../utils/sized-mixin").SizedElementInterface;
6
+ };
7
+ /**
8
+ * @element luzmo-button-group
9
+ * @slot - the luzmo-button elements that make up the group
10
+ */
11
+ export declare class LuzmoButtonGroup extends LuzmoButtonGroup_base {
12
+ static get styles(): CSSResultArray;
13
+ vertical: boolean;
14
+ protected handleSlotchange({ target: slot }: Event & {
15
+ target: HTMLSlotElement;
16
+ }): void;
17
+ protected render(): TemplateResult;
18
+ }
19
+ export {};
@@ -0,0 +1,18 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../base-rtxi7uaR.cjs"),u=require("../sized-mixin-BAI6NiE2.cjs"),c=":host{gap:var(--luzmo-button-group-spacing-horizontal, var(--button-group-spacing-horizontal));justify-content:normal;justify-content:var(--luzmo-button-group-justify-content, normal);flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--luzmo-button-group-spacing-vertical, var(--button-group-spacing-vertical));flex-direction:column;display:inline-flex}:host,:host([size=l]),:host([size=xl]){--button-group-spacing-horizontal: 16px;--button-group-spacing-vertical: 16px}:host([size=s]){--button-group-spacing-horizontal: 12px;--button-group-spacing-vertical: 12px}:host([vertical]) ::slotted(luzmo-action-button){--parent-element-action-button-label-flex-grow: 1}:host([dir=ltr][vertical]) ::slotted(luzmo-action-button){--parent-element-action-button-label-text-align: left}:host([dir=rtl][vertical]) ::slotted(luzmo-action-button){--parent-element-action-button-label-text-align: right}";var p=Object.defineProperty,g=(n,e,l,i)=>{for(var t=void 0,r=n.length-1,a;r>=0;r--)(a=n[r])&&(t=a(e,l,t)||t);return t&&p(e,l,t),t};class s extends u.SizedMixin(o.LuzmoElement,{noDefaultSize:!0}){constructor(){super(...arguments),this.vertical=!1}static get styles(){return[o.r(c)]}handleSlotchange({target:e}){e.assignedElements().forEach(i=>{i.size=this.size})}render(){return o.x` <slot @slotchange=${this.handleSlotchange}></slot> `}}g([o.n({type:Boolean,reflect:!0})],s.prototype,"vertical");customElements.get("luzmo-button-group")||customElements.define("luzmo-button-group",s);exports.LuzmoButtonGroup=s;
@@ -0,0 +1,7 @@
1
+ import { LuzmoButtonGroup } from './button-group';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-button-group': LuzmoButtonGroup;
5
+ }
6
+ }
7
+ export { LuzmoButtonGroup } from './button-group';
@@ -15,30 +15,29 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { unsafeCSS as c, html as a } from "lit";
19
- import { L as s, n as z } from "../base-nYalvNMy.js";
20
- import { S as d } from "../sized-mixin-Dl0KoEcV.js";
21
- const m = () => {
18
+ import { L as m, r as a, x as s, n as z } from "../base-CxUap9HL.js";
19
+ import { S as d } from "../sized-mixin-DcJTTohI.js";
20
+ const c = () => {
22
21
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
23
22
  const o = document.createElement("style");
24
23
  o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
25
24
  }
26
25
  };
27
- m();
26
+ c();
28
27
  const g = ":host{gap:var(--luzmo-button-group-spacing-horizontal, var(--button-group-spacing-horizontal));justify-content:normal;justify-content:var(--luzmo-button-group-justify-content, normal);flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--luzmo-button-group-spacing-vertical, var(--button-group-spacing-vertical));flex-direction:column;display:inline-flex}:host,:host([size=l]),:host([size=xl]){--button-group-spacing-horizontal: 16px;--button-group-spacing-vertical: 16px}:host([size=s]){--button-group-spacing-horizontal: 12px;--button-group-spacing-vertical: 12px}:host([vertical]) ::slotted(luzmo-action-button){--parent-element-action-button-label-flex-grow: 1}:host([dir=ltr][vertical]) ::slotted(luzmo-action-button){--parent-element-action-button-label-text-align: left}:host([dir=rtl][vertical]) ::slotted(luzmo-action-button){--parent-element-action-button-label-text-align: right}";
29
28
  var p = Object.defineProperty, f = (o, r, e, u) => {
30
29
  for (var l = void 0, t = o.length - 1, n; t >= 0; t--)
31
30
  (n = o[t]) && (l = n(r, e, l) || l);
32
31
  return l && p(r, e, l), l;
33
32
  };
34
- class i extends d(s, {
33
+ class i extends d(m, {
35
34
  noDefaultSize: !0
36
35
  }) {
37
36
  constructor() {
38
37
  super(...arguments), this.vertical = !1;
39
38
  }
40
39
  static get styles() {
41
- return [c(g)];
40
+ return [a(g)];
42
41
  }
43
42
  handleSlotchange({
44
43
  target: r
@@ -48,7 +47,7 @@ class i extends d(s, {
48
47
  });
49
48
  }
50
49
  render() {
51
- return a` <slot @slotchange=${this.handleSlotchange}></slot> `;
50
+ return s` <slot @slotchange=${this.handleSlotchange}></slot> `;
52
51
  }
53
52
  }
54
53
  f([
@@ -0,0 +1,9 @@
1
+ import { Focusable } from '../../utils/focusable';
2
+ declare const CheckboxBase_base: typeof Focusable & {
3
+ new (...args: any[]): import("./checkbox-mixin").CheckboxElement;
4
+ prototype: import("./checkbox-mixin").CheckboxElement;
5
+ };
6
+ export declare class CheckboxBase extends CheckboxBase_base {
7
+ get focusElement(): HTMLElement;
8
+ }
9
+ export {};
@@ -0,0 +1,14 @@
1
+ import { ReactiveElement } from 'lit';
2
+ type Constructor<T = Record<string, unknown>> = {
3
+ new (...args: any[]): T;
4
+ prototype: T;
5
+ };
6
+ export interface CheckboxElement {
7
+ checked: boolean;
8
+ handleChange(): void;
9
+ inputElement: HTMLInputElement;
10
+ name?: string;
11
+ readonly?: boolean;
12
+ }
13
+ export declare function checkboxMixin<T extends Constructor<ReactiveElement>>(constructor: T): T & Constructor<CheckboxElement>;
14
+ export {};