@luzmo/lucero 0.0.4 → 0.0.8

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 (378) 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/components/action-group-Uimj-MJP.cjs +20 -0
  19. package/{lib/action-group-BoIH8s8R.js → components/action-group-enfc-YnW.js} +11 -12
  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-DWRUSKKF.js} +1 -1
  25. package/{lib/async-directive-CV2MII86.cjs → components/async-directive-D_Ter1F8.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-B7Pfl2if.cjs +40 -0
  31. package/components/base-CawdqE7p.js +666 -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-B7v4eeRh.js} +13 -12
  40. package/components/button-base-DmjYs2s9.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-BFGTmw17.js} +15 -16
  52. package/{lib/checkbox-mixin-H0Hm-VLk.cjs → components/checkbox-mixin-DUhXwD46.cjs} +3 -3
  53. package/{lib/clear-button-Ap5H3UyH.js → components/clear-button-DgZmX5RX.js} +9 -10
  54. package/components/clear-button-KdrF2jaV.cjs +18 -0
  55. package/{lib/close-button-CGISEF33.js → components/close-button-CFHQnbsK.js} +7 -8
  56. package/components/close-button-DVGUppyd.cjs +18 -0
  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 +11 -11
  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/{lib/color-loupe-DBEApMDT.js → components/color-loupe-DxcqXoJ6.js} +3 -4
  74. package/components/color-loupe-SskbNeMp.cjs +56 -0
  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 +6 -6
  87. package/{lib/directive-helpers-C2vOfhFx.cjs → components/directive-helpers-TkFq2eZF.cjs} +1 -1
  88. package/{lib/directive-helpers-BLDZnGQv.js → components/directive-helpers-nlQRAaQt.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 +6 -7
  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-DAhrTCfl.js} +2 -3
  98. package/components/field-group-DSY2HUoj.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 +2 -2
  103. package/{lib/field-label-BK_tk8vP.js → components/field-label-CAFfGxEL.js} +15 -16
  104. package/components/field-label-CjsQ3ujK.cjs +25 -0
  105. package/{lib/focusable-Dv_6CFaY.cjs → components/focusable-DGWL1v1p.cjs} +1 -1
  106. package/{lib/focusable-DbUg-3Vp.js → components/focusable-cj2QhwDT.js} +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-B56xGmAg.cjs} +2 -2
  113. package/{lib/if-defined-CYpcjGCb.js → components/if-defined-BSAr_4u4.js} +1 -1
  114. package/{lib/index-ovT-qVzf.js → components/index-CMvLpPKD.js} +8 -9
  115. package/{lib/index-yNcLzjhM.cjs → components/index-DnWavOZD.cjs} +15 -15
  116. package/components/index.cjs +18 -0
  117. package/{lib → components}/index.js +131 -90
  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/language-resolution-8yZa5r_P.js +53 -0
  127. package/components/language-resolution-DJzmyzZq.cjs +18 -0
  128. package/{lib/like-anchor-K8W0QYwC.cjs → components/like-anchor-Bmabl9ra.cjs} +4 -4
  129. package/{lib/like-anchor-cDeGGeHh.js → components/like-anchor-QBlvwFfT.js} +8 -9
  130. package/{lib/manage-help-text-2mSEy-AD.js → components/manage-help-text-Cozl9Sgn.js} +8 -8
  131. package/{lib/manage-help-text-iOk-zmy8.cjs → components/manage-help-text-OHXDgxyj.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 +24 -24
  146. package/components/number-field/number-field.d.ts +113 -0
  147. package/{lib/observe-slot-text-BmsCNJig.cjs → components/observe-slot-text-CrYB2Pj-.cjs} +1 -1
  148. package/{lib/observe-slot-text-BoFRF-VI.js → components/observe-slot-text-ggb4kKgY.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 +55 -38
  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-CJ9by37f.js} +94 -84
  176. package/components/overlay-Deh6Ki6I.cjs +47 -0
  177. package/{lib/pending-state-Dbc2HIM2.cjs → components/pending-state-Do522lTd.cjs} +2 -2
  178. package/{lib/pending-state-D5KTK4_1.js → components/pending-state-TJj1x9xn.js} +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-833Apxe4.js +655 -0
  188. package/components/picker-DDx8ii73.cjs +127 -0
  189. package/{lib/platform-DQYMG7JI.js → components/platform-BM-uMWpX.js} +34 -19
  190. package/components/platform-BiXhwqk3.cjs +18 -0
  191. package/{lib → components}/popover/index.cjs +1 -1
  192. package/components/popover/index.d.ts +7 -0
  193. package/{lib → components}/popover/index.js +2 -2
  194. package/components/popover/popover.d.ts +29 -0
  195. package/components/popover-BGOgXaka.cjs +30 -0
  196. package/{lib/popover-ZRVxogyp.js → components/popover-DlkzrLpl.js} +8 -9
  197. package/{lib → components}/progress-circle/index.cjs +1 -1
  198. package/components/progress-circle/index.d.ts +7 -0
  199. package/{lib → components}/progress-circle/index.js +1 -1
  200. package/components/progress-circle/progress-circle.d.ts +35 -0
  201. package/{lib/progress-circle-DpXiqW6a.js → components/progress-circle-Be24kv6B.js} +5 -6
  202. package/components/progress-circle-NNbCMK2i.cjs +33 -0
  203. package/components/radio/index.cjs +22 -0
  204. package/components/radio/index.d.ts +10 -0
  205. package/{lib → components}/radio/index.js +10 -11
  206. package/components/radio/radio-group.d.ts +27 -0
  207. package/components/radio/radio.d.ts +39 -0
  208. package/components/search/index.cjs +45 -0
  209. package/components/search/index.d.ts +7 -0
  210. package/{lib → components}/search/index.js +3 -4
  211. package/components/search/search.d.ts +27 -0
  212. package/{lib/sized-mixin-Dl0KoEcV.js → components/sized-mixin-BxMraZLS.js} +1 -1
  213. package/{lib/sized-mixin-BSYHt8nT.cjs → components/sized-mixin-D9LkrMjb.cjs} +1 -1
  214. package/components/slider/index.cjs +18 -0
  215. package/components/slider/index.d.ts +7 -0
  216. package/{lib → components}/slider/index.js +5 -6
  217. package/components/slider/slider.d.ts +24 -0
  218. package/{lib/state-DReJ3hB6.cjs → components/state-C5I1gP3G.cjs} +1 -1
  219. package/{lib/state-BAO-13Bs.js → components/state-CYxk12SV.js} +1 -1
  220. package/{lib/streaming-listener-DLo0wkMc.js → components/streaming-listener-CCalHg57.js} +18 -52
  221. package/components/streaming-listener-KVex1WWB.cjs +18 -0
  222. package/{lib/style-map-BqvQDFJt.js → components/style-map-Ct2LiEds.js} +1 -1
  223. package/{lib/style-map-BjBGQ_u3.cjs → components/style-map-uMq-yDJ3.cjs} +2 -2
  224. package/components/swatch/index.cjs +49 -0
  225. package/components/swatch/index.d.ts +10 -0
  226. package/{lib → components}/swatch/index.js +9 -10
  227. package/components/swatch/swatch-group.d.ts +41 -0
  228. package/components/swatch/swatch.d.ts +40 -0
  229. package/components/switch/index.cjs +22 -0
  230. package/components/switch/index.d.ts +7 -0
  231. package/{lib → components}/switch/index.js +6 -7
  232. package/components/switch/switch.d.ts +27 -0
  233. package/components/tags/index.cjs +32 -0
  234. package/components/tags/index.d.ts +10 -0
  235. package/{lib → components}/tags/index.js +17 -18
  236. package/components/tags/tag.d.ts +29 -0
  237. package/components/tags/tags.d.ts +28 -0
  238. package/components/text-field/help-text-manager.d.ts +19 -0
  239. package/components/text-field/help-text.d.ts +20 -0
  240. package/components/text-field/index.cjs +21 -0
  241. package/components/text-field/index.d.ts +14 -0
  242. package/{lib → components}/text-field/index.js +9 -9
  243. package/components/text-field/manage-help-text.d.ts +13 -0
  244. package/components/text-field/text-field.d.ts +142 -0
  245. package/{lib/text-field-C6Aa7XOb.cjs → components/text-field-5_ev9way.cjs} +15 -15
  246. package/{lib/text-field-DPk332j9.js → components/text-field-CvKSS59x.js} +28 -30
  247. package/components/toast/index.cjs +51 -0
  248. package/components/toast/index.d.ts +7 -0
  249. package/{lib → components}/toast/index.js +2 -3
  250. package/components/toast/toast.d.ts +77 -0
  251. package/components/tooltip/index.cjs +45 -0
  252. package/components/tooltip/index.d.ts +8 -0
  253. package/{lib → components}/tooltip/index.js +13 -12
  254. package/components/tooltip/tooltip-directive.d.ts +5 -0
  255. package/components/tooltip/tooltip.d.ts +55 -0
  256. package/components/unit-input/index.cjs +43 -0
  257. package/components/unit-input/index.d.ts +7 -0
  258. package/{lib → components}/unit-input/index.js +5 -6
  259. package/components/unit-input/unit-input.d.ts +33 -0
  260. package/components/utils.cjs +18 -0
  261. package/components/utils.js +42 -0
  262. package/custom-elements.json +1 -0
  263. package/index.d.ts +40 -0
  264. package/package.json +141 -103
  265. package/utils/base.d.ts +16 -0
  266. package/utils/condition-attribute-with-id.d.ts +2 -0
  267. package/utils/first-focusable-in.d.ts +3 -0
  268. package/utils/focus-visible.d.ts +29 -0
  269. package/utils/focusable-selectors.d.ts +2 -0
  270. package/utils/focusable.d.ts +58 -0
  271. package/utils/get-css-variable.d.ts +1 -0
  272. package/utils/get-label-from-slot.d.ts +1 -0
  273. package/utils/index.d.ts +6 -0
  274. package/utils/like-anchor.d.ts +23 -0
  275. package/utils/observe-slot-presence.d.ts +12 -0
  276. package/utils/observe-slot-text.d.ts +11 -0
  277. package/utils/platform.d.ts +10 -0
  278. package/utils/random-id.d.ts +1 -0
  279. package/utils/reactive-controllers/color.d.ts +54 -0
  280. package/utils/reactive-controllers/dependency-manger.d.ts +26 -0
  281. package/utils/reactive-controllers/element-resolution.d.ts +23 -0
  282. package/utils/reactive-controllers/focus-group.d.ts +62 -0
  283. package/utils/reactive-controllers/language-resolution.d.ts +11 -0
  284. package/utils/reactive-controllers/match-media.d.ts +13 -0
  285. package/utils/reactive-controllers/pending-state.d.ts +41 -0
  286. package/utils/reactive-controllers/roving-tabindex.d.ts +19 -0
  287. package/utils/reparent-child.d.ts +4 -0
  288. package/utils/sized-mixin.d.ts +17 -0
  289. package/utils/streaming-listener.d.ts +48 -0
  290. package/lib/accordion/index.cjs +0 -43
  291. package/lib/action-bar/index.cjs +0 -39
  292. package/lib/action-button/index.cjs +0 -24
  293. package/lib/action-group-D4MxBrq8.cjs +0 -20
  294. package/lib/avatar/index.cjs +0 -24
  295. package/lib/base-BCmA9Wxv.cjs +0 -30
  296. package/lib/base-nYalvNMy.js +0 -390
  297. package/lib/button/index.cjs +0 -20
  298. package/lib/button-base-B0iB_JTv.cjs +0 -25
  299. package/lib/button-group/index.cjs +0 -18
  300. package/lib/checkbox/index.cjs +0 -25
  301. package/lib/clear-button-D0djuaLb.cjs +0 -18
  302. package/lib/close-button-BrfeZvjk.cjs +0 -18
  303. package/lib/color-area/index.cjs +0 -80
  304. package/lib/color-field/index.cjs +0 -23
  305. package/lib/color-handle/index.cjs +0 -24
  306. package/lib/color-loupe-BICpNqFs.cjs +0 -56
  307. package/lib/color-menu/index.cjs +0 -86
  308. package/lib/color-picker/index.cjs +0 -48
  309. package/lib/color-slider/index.cjs +0 -57
  310. package/lib/divider/index.cjs +0 -18
  311. package/lib/field-group-TUFvhJkk.cjs +0 -23
  312. package/lib/field-label-BrJaeORz.cjs +0 -25
  313. package/lib/icon/index.cjs +0 -18
  314. package/lib/index.cjs +0 -18
  315. package/lib/infield-button/index.cjs +0 -22
  316. package/lib/label/index.cjs +0 -18
  317. package/lib/legend-position/index.cjs +0 -27
  318. package/lib/legend-position/index.js +0 -85
  319. package/lib/lit-html-B3ugcwD9.js +0 -248
  320. package/lib/lit-html-p4Oxv2-5.cjs +0 -24
  321. package/lib/multi-language-field/index.cjs +0 -39
  322. package/lib/number-field/index.cjs +0 -57
  323. package/lib/overlay/index.cjs +0 -73
  324. package/lib/overlay-DScraBAi.cjs +0 -47
  325. package/lib/picker--2OCYWnV.js +0 -657
  326. package/lib/picker-B9W7Haf4.cjs +0 -127
  327. package/lib/platform-CQzYNWKq.cjs +0 -18
  328. package/lib/popover-CVbjhSnx.cjs +0 -30
  329. package/lib/progress-circle-CiJoS8J7.cjs +0 -33
  330. package/lib/radio/index.cjs +0 -22
  331. package/lib/search/index.cjs +0 -45
  332. package/lib/slider/index.cjs +0 -18
  333. package/lib/streaming-listener-Bw4jE33f.cjs +0 -18
  334. package/lib/swatch/index.cjs +0 -49
  335. package/lib/switch/index.cjs +0 -22
  336. package/lib/tags/index.cjs +0 -32
  337. package/lib/text-field/index.cjs +0 -21
  338. package/lib/toast/index.cjs +0 -51
  339. package/lib/tooltip/index.cjs +0 -45
  340. package/lib/unit-input/index.cjs +0 -43
  341. /package/{lib → components}/base-BjTwmyRF.cjs +0 -0
  342. /package/{lib → components}/base-D76d76ww.js +0 -0
  343. /package/{lib → components}/color-Bg3tYsAQ.js +0 -0
  344. /package/{lib → components}/color-DphK4hwx.cjs +0 -0
  345. /package/{lib → components}/condition-attribute-with-id-DrQYZzFS.cjs +0 -0
  346. /package/{lib → components}/condition-attribute-with-id-Dv4lSRbe.js +0 -0
  347. /package/{lib → components}/dependency-manger-C5HCkMMB.cjs +0 -0
  348. /package/{lib → components}/dependency-manger-CEXvGQUV.js +0 -0
  349. /package/{lib → components}/directive-C7oCP5Bh.cjs +0 -0
  350. /package/{lib → components}/directive-oAbCiebi.js +0 -0
  351. /package/{lib → components}/divider.module-CXMNveQc.cjs +0 -0
  352. /package/{lib → components}/divider.module-DwOuLGU3.js +0 -0
  353. /package/{lib → components}/element-resolution-BvRLGqIU.cjs +0 -0
  354. /package/{lib → components}/element-resolution-FCUT-wql.js +0 -0
  355. /package/{lib → components}/focus-group-DHeTq18L.js +0 -0
  356. /package/{lib → components}/focus-group-DnxZUBhQ.cjs +0 -0
  357. /package/{lib → components}/focus-visible-B0P9aY_G.cjs +0 -0
  358. /package/{lib → components}/focus-visible-DBlJGoEW.js +0 -0
  359. /package/{lib → components}/focusable-selectors-B4YgbghQ.js +0 -0
  360. /package/{lib → components}/focusable-selectors-BgFlyFcY.cjs +0 -0
  361. /package/{lib → components}/index-C1chwzNp.js +0 -0
  362. /package/{lib → components}/index-DCKCHDTt.cjs +0 -0
  363. /package/{lib → components}/mutation-controller-DH7YOCyj.js +0 -0
  364. /package/{lib → components}/mutation-controller-DkOMCW-c.cjs +0 -0
  365. /package/{lib → components}/query-BL-TJj7K.cjs +0 -0
  366. /package/{lib → components}/query-D_KR_GUc.js +0 -0
  367. /package/{lib → components}/query-assigned-elements-DjfhL1cl.js +0 -0
  368. /package/{lib → components}/query-assigned-elements-DsKsfk7G.cjs +0 -0
  369. /package/{lib → components}/query-assigned-nodes-BcKWmGzy.cjs +0 -0
  370. /package/{lib → components}/query-assigned-nodes-C76XVPWY.js +0 -0
  371. /package/{lib → components}/random-id-ByCz1xaq.js +0 -0
  372. /package/{lib → components}/random-id-CqvckpWe.cjs +0 -0
  373. /package/{lib → components}/roving-tabindex-By_fCy_e.cjs +0 -0
  374. /package/{lib → components}/roving-tabindex-DOg4z6ZU.js +0 -0
  375. /package/{lib → components}/slottable-request-event-BfUUt1Mh.cjs +0 -0
  376. /package/{lib → components}/slottable-request-event-DggLA4Rx.js +0 -0
  377. /package/{lib → components}/when-CDK1Tt5Y.js +0 -0
  378. /package/{lib → components}/when-CDZyJPvd.cjs +0 -0
@@ -15,56 +15,63 @@
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 { LuzmoAccordion as n, LuzmoAccordionItem as d } from "./accordion/index.js";
19
- import { LuzmoActionBar as f } from "./action-bar/index.js";
18
+ import { LuzmoAccordion as n, LuzmoAccordionItem as c } from "./accordion/index.js";
19
+ import { LuzmoActionBar as d } from "./action-bar/index.js";
20
20
  import { LuzmoActionButton as x } from "./action-button/index.js";
21
21
  import "./action-group/index.js";
22
- import { LuzmoActionMenu as b } from "./action-menu/index.js";
23
- import { LuzmoAvatar as L } from "./avatar/index.js";
22
+ import { LuzmoActionMenu as g } from "./action-menu/index.js";
23
+ import { LuzmoAvatar as h } from "./avatar/index.js";
24
24
  import { LuzmoButton as y } from "./button/index.js";
25
- import { LuzmoButtonGroup as k } from "./button-group/index.js";
26
- import { LuzmoCheckbox as S } from "./checkbox/index.js";
27
- import { LuzmoColorArea as I } from "./color-area/index.js";
28
- import { LuzmoColorField as B } from "./color-field/index.js";
29
- import { LuzmoColorHandle as O } from "./color-handle/index.js";
25
+ import { LuzmoButtonGroup as C } from "./button-group/index.js";
26
+ import { LuzmoCheckbox as k } from "./checkbox/index.js";
27
+ import { LuzmoColorArea as A } from "./color-area/index.js";
28
+ import { LuzmoColorField as M } from "./color-field/index.js";
29
+ import { LuzmoColorHandle as P } from "./color-handle/index.js";
30
30
  import "./color-loupe/index.js";
31
- import { LuzmoColorMenu as G } from "./color-menu/index.js";
32
- import { LuzmoColorPicker as D } from "./color-picker/index.js";
33
- import { LuzmoColorSlider as H } from "./color-slider/index.js";
34
- import { Divider as U } from "./divider/index.js";
31
+ import { LuzmoColorMenu as R } from "./color-menu/index.js";
32
+ import { LuzmoColorPicker as E } from "./color-picker/index.js";
33
+ import { LuzmoColorSlider as G } from "./color-slider/index.js";
34
+ import { LuzmoDivider as N } from "./divider/index.js";
35
35
  import "./field-group/index.js";
36
36
  import "./field-label/index.js";
37
- import { LuzmoIcon as V } from "./icon/index.js";
37
+ import { LuzmoIcon as q } from "./icon/index.js";
38
38
  import { LuzmoInfieldButton as _ } from "./infield-button/index.js";
39
- import { LuzmoLabel as J } from "./label/index.js";
40
- import { LuzmoLegendPosition as Q } from "./legend-position/index.js";
41
- import { L as X, a as Y, b as Z, c as $, M as oo } from "./index-ovT-qVzf.js";
42
- import { LuzmoMultiLangField as eo } from "./multi-language-field/index.js";
43
- import { LuzmoNumberField as mo } from "./number-field/index.js";
44
- import { OverlayTrigger as to, OverlayTriggerDirective as zo, openOverlay as io, trigger as co } from "./overlay/index.js";
39
+ import { LuzmoLabel as K } from "./label/index.js";
40
+ import { L as J, a as Q, b as X, c as Y, M as Z } from "./index-CMvLpPKD.js";
41
+ import { LuzmoMultiLangField as oo } from "./multi-language-field/index.js";
42
+ import { LuzmoNumberField as eo } from "./number-field/index.js";
43
+ import { LuzmoOverlayTrigger as mo, OverlayTriggerDirective as uo, SlottableRequestDirective as to, openOverlay as ao, slottableRequest as io, trigger as zo } from "./overlay/index.js";
45
44
  import "./picker/index.js";
46
45
  import "./popover/index.js";
47
46
  import "./progress-circle/index.js";
48
- import { LuzmoRadio as no, LuzmoRadioGroup as po } from "./radio/index.js";
49
- import { LuzmoSearch as so } from "./search/index.js";
50
- import { LuzmoSlider as go } from "./slider/index.js";
51
- import { LuzmoSwatch as ho, LuzmoSwatchGroup as Lo } from "./swatch/index.js";
47
+ import { LuzmoRadio as no, LuzmoRadioGroup as co } from "./radio/index.js";
48
+ import { LuzmoSearch as fo } from "./search/index.js";
49
+ import { LuzmoSlider as bo } from "./slider/index.js";
50
+ import { LuzmoSwatch as Lo, LuzmoSwatchGroup as ho } from "./swatch/index.js";
52
51
  import { LuzmoSwitch as yo } from "./switch/index.js";
53
- import { LuzmoTag as ko, LuzmoTags as Co } from "./tags/index.js";
54
- import { HelpText as Ao } from "./text-field/index.js";
55
- import { LuzmoToast as Mo } from "./toast/index.js";
56
- import { Tooltip as To } from "./tooltip/index.js";
57
- import { LuzmoUnitInput as Fo } from "./unit-input/index.js";
58
- import { L as Po } from "./action-group-BoIH8s8R.js";
59
- import { L as Eo } from "./clear-button-Ap5H3UyH.js";
60
- import { L as Ro } from "./close-button-CGISEF33.js";
61
- import { L as No } from "./color-loupe-DBEApMDT.js";
62
- import { L as qo } from "./field-group-CBWafIUV.js";
63
- import { F as jo } from "./field-label-BK_tk8vP.js";
64
- import { O as Ko, V as Qo } from "./overlay-C7QKFqRc.js";
65
- import { D as Xo, a as Yo, L as Zo } from "./picker--2OCYWnV.js";
66
- import { Popover as or } from "./popover-ZRVxogyp.js";
67
- import { L as er } from "./progress-circle-DpXiqW6a.js";
52
+ import { LuzmoTag as Co, LuzmoTags as wo } from "./tags/index.js";
53
+ import { LuzmoHelpText as Io } from "./text-field/index.js";
54
+ import { LuzmoToast as To } from "./toast/index.js";
55
+ import { LuzmoTooltip as Fo } from "./tooltip/index.js";
56
+ import { LuzmoUnitInput as Oo } from "./unit-input/index.js";
57
+ import { a as Bo, L as Eo } from "./base-CawdqE7p.js";
58
+ import { F as Go } from "./focus-visible-DBlJGoEW.js";
59
+ import { F as No } from "./focusable-cj2QhwDT.js";
60
+ import { j as qo, d as Vo, e as _o, h as jo, c as Ko, b as Wo, a as Jo, i as Qo, g as Xo, f as Yo } from "./platform-BM-uMWpX.js";
61
+ import { E as $o, S as or } from "./sized-mixin-BxMraZLS.js";
62
+ import { s as er } from "./streaming-listener-CCalHg57.js";
63
+ import { L as mr } from "./action-group-enfc-YnW.js";
64
+ import { L as tr } from "./clear-button-DgZmX5RX.js";
65
+ import { L as ir } from "./close-button-CFHQnbsK.js";
66
+ import { L as sr } from "./color-loupe-DxcqXoJ6.js";
67
+ import { L as cr } from "./field-group-DAhrTCfl.js";
68
+ import { L as dr } from "./field-label-CAFfGxEL.js";
69
+ import { C as xr, H as br, b as gr, I as Lr, c as hr, d as vr, L as yr, e as Sr, P as Cr, V as wr, g as kr, a as Ir, n as Ar, o as Tr, p as Mr } from "./overlay-CJ9by37f.js";
70
+ import { S as Pr, r as Or } from "./slottable-request-event-DggLA4Rx.js";
71
+ import { D as Br, a as Er, L as Dr } from "./picker-833Apxe4.js";
72
+ import { LuzmoPopover as Hr } from "./popover-DlkzrLpl.js";
73
+ import { L as Ur } from "./progress-circle-Be24kv6B.js";
74
+ import { L as Vr } from "./text-field-CvKSS59x.js";
68
75
  const r = () => {
69
76
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
70
77
  const o = document.createElement("style");
@@ -73,61 +80,95 @@ const r = () => {
73
80
  };
74
81
  r();
75
82
  export {
76
- Xo as DESCRIPTION_ID,
77
- U as Divider,
78
- jo as FieldLabel,
79
- Ao as HelpText,
83
+ xr as ClickController,
84
+ Br as DESCRIPTION_ID,
85
+ $o as ElementSizes,
86
+ Go as FocusVisiblePolyfillMixin,
87
+ No as Focusable,
88
+ br as HoverController,
89
+ gr as InteractionController,
90
+ Lr as InteractionTypes,
91
+ hr as LONGPRESS_INSTRUCTIONS,
92
+ vr as LongpressController,
93
+ yr as LuzmoAbstractOverlay,
80
94
  n as LuzmoAccordion,
81
- d as LuzmoAccordionItem,
82
- f as LuzmoActionBar,
95
+ c as LuzmoAccordionItem,
96
+ d as LuzmoActionBar,
83
97
  x as LuzmoActionButton,
84
- Po as LuzmoActionGroup,
85
- b as LuzmoActionMenu,
86
- L as LuzmoAvatar,
98
+ mr as LuzmoActionGroup,
99
+ g as LuzmoActionMenu,
100
+ h as LuzmoAvatar,
87
101
  y as LuzmoButton,
88
- k as LuzmoButtonGroup,
89
- S as LuzmoCheckbox,
90
- Eo as LuzmoClearButton,
91
- Ro as LuzmoCloseButton,
92
- I as LuzmoColorArea,
93
- B as LuzmoColorField,
94
- O as LuzmoColorHandle,
95
- No as LuzmoColorLoupe,
96
- G as LuzmoColorMenu,
97
- D as LuzmoColorPicker,
98
- H as LuzmoColorSlider,
99
- qo as LuzmoFieldGroup,
100
- V as LuzmoIcon,
102
+ C as LuzmoButtonGroup,
103
+ k as LuzmoCheckbox,
104
+ tr as LuzmoClearButton,
105
+ ir as LuzmoCloseButton,
106
+ A as LuzmoColorArea,
107
+ M as LuzmoColorField,
108
+ P as LuzmoColorHandle,
109
+ sr as LuzmoColorLoupe,
110
+ R as LuzmoColorMenu,
111
+ E as LuzmoColorPicker,
112
+ G as LuzmoColorSlider,
113
+ N as LuzmoDivider,
114
+ Bo as LuzmoElement,
115
+ cr as LuzmoFieldGroup,
116
+ dr as LuzmoFieldLabel,
117
+ Io as LuzmoHelpText,
118
+ q as LuzmoIcon,
101
119
  _ as LuzmoInfieldButton,
102
- J as LuzmoLabel,
103
- Q as LuzmoLegendPosition,
104
- X as LuzmoMenu,
105
- Y as LuzmoMenuDivider,
106
- Z as LuzmoMenuGroup,
107
- $ as LuzmoMenuItem,
108
- eo as LuzmoMultiLangField,
109
- mo as LuzmoNumberField,
110
- Yo as LuzmoPicker,
111
- Zo as LuzmoPickerBase,
112
- er as LuzmoProgressCircle,
120
+ K as LuzmoLabel,
121
+ J as LuzmoMenu,
122
+ Q as LuzmoMenuDivider,
123
+ X as LuzmoMenuGroup,
124
+ Y as LuzmoMenuItem,
125
+ Eo as LuzmoMixin,
126
+ oo as LuzmoMultiLangField,
127
+ eo as LuzmoNumberField,
128
+ Sr as LuzmoOverlay,
129
+ mo as LuzmoOverlayTrigger,
130
+ Er as LuzmoPicker,
131
+ Dr as LuzmoPickerBase,
132
+ Hr as LuzmoPopover,
133
+ Ur as LuzmoProgressCircle,
113
134
  no as LuzmoRadio,
114
- po as LuzmoRadioGroup,
115
- so as LuzmoSearch,
116
- go as LuzmoSlider,
117
- ho as LuzmoSwatch,
118
- Lo as LuzmoSwatchGroup,
135
+ co as LuzmoRadioGroup,
136
+ fo as LuzmoSearch,
137
+ bo as LuzmoSlider,
138
+ Lo as LuzmoSwatch,
139
+ ho as LuzmoSwatchGroup,
119
140
  yo as LuzmoSwitch,
120
- ko as LuzmoTag,
121
- Co as LuzmoTags,
122
- Mo as LuzmoToast,
123
- Fo as LuzmoUnitInput,
124
- oo as MenuItemAddedOrUpdatedEvent,
125
- Ko as Overlay,
126
- to as OverlayTrigger,
127
- zo as OverlayTriggerDirective,
128
- or as Popover,
129
- To as Tooltip,
130
- Qo as VirtualTrigger,
131
- io as openOverlay,
132
- co as trigger
141
+ Co as LuzmoTag,
142
+ wo as LuzmoTags,
143
+ Vr as LuzmoTextField,
144
+ To as LuzmoToast,
145
+ Fo as LuzmoTooltip,
146
+ Oo as LuzmoUnitInput,
147
+ Z as MenuItemAddedOrUpdatedEvent,
148
+ uo as OverlayTriggerDirective,
149
+ Cr as PlacementController,
150
+ or as SizedMixin,
151
+ to as SlottableRequestDirective,
152
+ Pr as SlottableRequestEvent,
153
+ wr as VirtualTrigger,
154
+ kr as guaranteedAllTransitionend,
155
+ qo as isAndroid,
156
+ Vo as isAppleDevice,
157
+ _o as isChrome,
158
+ jo as isFirefox,
159
+ Ko as isIOS,
160
+ Wo as isIPad,
161
+ Jo as isIPhone,
162
+ Qo as isMac,
163
+ Xo as isSeamonkey,
164
+ Yo as isWebKit,
165
+ Ir as nextFrame,
166
+ Ar as noop,
167
+ ao as openOverlay,
168
+ Tr as overlayTimer,
169
+ Mr as placementUpdatedSymbol,
170
+ Or as removeSlottableRequest,
171
+ io as slottableRequest,
172
+ er as streamingListener,
173
+ zo as trigger
133
174
  };
@@ -0,0 +1,22 @@
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-B7Pfl2if.cjs"),u=require("../sized-mixin-D9LkrMjb.cjs"),b=require("../button-base-DmjYs2s9.cjs"),s="@media (forced-colors: active){:host(:is(:active,[active])):not(:disabled),:host(:focus-visible):not(:disabled){--highcontrast-infield-button-border-color: Highlight}}@media (forced-colors: active) and (hover: hover){:host(:hover):not(:disabled){--highcontrast-infield-button-border-color: Highlight}}:host{background-color:initial;cursor:pointer;block-size:var(--luzmo-infield-button-height, var(--infield-button-height));inline-size:var(--luzmo-infield-button-width, var(--infield-button-width));padding:var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill));color:var(--infield-button-content-color, inherit);border-style:none;justify-content:center;align-items:center;display:flex}.fill{block-size:100%;inline-size:100%;background-color:var(--luzmo-infield-button-background-color, var(--infield-button-background-color));border-width:var(--luzmo-infield-button-border-width, var(--infield-button-border-width));border-style:solid;border-color:var(--highcontrast-infield-button-border-color, var(--luzmo-infield-button-border-color, var(--infield-button-border-color)));padding:var(--luzmo-infield-button-fill-padding, var(--infield-button-fill-padding));border-start-start-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius));border-start-end-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius));border-end-end-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius));border-end-start-radius:var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius))}::slotted(*){color:var(--luzmo-infield-button-icon-color, var(--infield-button-icon-color))}:host([inline=end]) .fill{border-start-start-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset));border-end-start-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset))}:host([inline=start]) .fill{border-start-end-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset));border-end-end-radius:var(--luzmo-infield-button-border-radius-reset, var(--infield-button-border-radius-reset))}:host([block=end]),:host([block=start]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 28px)}:host([block=end][size=s]),:host([block=start][size=s]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 20px)}:host([block=end][size=l]),:host([block=start][size=l]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 36px)}:host([block=end][size=xl]),:host([block=start][size=xl]){--infield-button-width: var(--luzmo-infield-button-width-stacked, 44px)}:host([quiet]){--infield-button-background-color: var( --luzmo-infield-button-background-color-quiet, transparent );--infield-button-background-color-hover: var( --luzmo-infield-button-background-color-hover-quiet, transparent );--infield-button-background-color-down: var( --luzmo-infield-button-background-color-down-quiet, transparent );--infield-button-background-color-key-focus: var( --luzmo-infield-button-background-color-key-focus-quiet, transparent );--infield-border-color: var(--luzmo-infield-border-color-quiet, transparent);--infield-button-border-width: var( --luzmo-infield-button-border-width-quiet, 0 )}:host([quiet][disabled]){--infield-button-background-color: var( --luzmo-infield-button-background-color-quiet-disabled, transparent );--infield-button-border-color: var( --luzmo-infield-button-border-color-quiet-disabled, transparent )}:host([disabled]){--infield-button-background-color: var( --luzmo-infield-button-background-color-disabled, var(--luzmo-background-color-disabled) );--infield-button-background-color-hover: var( --luzmo-infield-button-background-color-hover-disabled, var(--luzmo-background-color-disabled) );--infield-button-background-color-down: var( --luzmo-infield-button-background-color-down-disabled, var(--luzmo-background-color-disabled) );--infield-button-border-color: var( --luzmo-infield-button-border-color-disabled, var(--luzmo-background-color-disabled) );--infield-button-content-color: var( --luzmo-infield-button-content-color-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color: var( --luzmo-infield-button-icon-color-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color-hover: var( --luzmo-infield-button-icon-color-hover-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color-down: var( --luzmo-infield-button-icon-color-down-disabled, var(--luzmo-color-disabled) );--infield-button-icon-color-key-focus: var( --luzmo-infield-button-icon-color-key-focus-disabled, var(--luzmo-color-disabled) );cursor:auto}@media (hover: hover){:host(:hover) .fill{background-color:var(--luzmo-infield-button-background-color-hover, var(--infield-button-background-color-hover))}:host(:hover) ::slotted(*){color:var(--luzmo-infield-button-icon-color-hover, var(--infield-button-icon-color-hover))}}:host(:is(:active,[active])) .fill{background-color:var(--luzmo-infield-button-background-color-down, var(--infield-button-background-color-down))}:host(:is(:active,[active])) ::slotted(*){color:var(--luzmo-infield-button-icon-color-down, var(--infield-button-icon-color-down))}:host(:focus-visible){outline:none}:host(:focus-visible) .fill{background-color:var(--luzmo-infield-button-background-color-key-focus, var(--infield-button-background-color-key-focus))}:host(:focus-visible) ::slotted(*){color:var(--luzmo-infield-button-icon-color-key-focus, var(--infield-button-icon-color-key-focus))}.fill{align-items:center;justify-content:var(--luzmo-infield-button-fill-justify-content, var(--infield-button-fill-justify-content));display:flex}:host([block=end]),:host([block=start]){block-size:calc(var(--luzmo-infield-button-height, var(--infield-button-height)) / 2)}:host([block=end]) .fill,:host([block=start]) .fill{box-sizing:border-box;padding-inline-start:calc(var(--luzmo-infield-button-stacked-fill-padding-inline, var(--infield-button-stacked-fill-padding-inline)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));padding-inline-end:calc(var(--luzmo-infield-button-stacked-fill-padding-inline, var(--infield-button-stacked-fill-padding-inline)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)))}:host([block=start]){padding-block-end:var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill))}:host([block=start]) .fill{border-block-end:none;border-start-start-radius:var(--luzmo-infield-button-stacked-top-border-radius-start-start, var(--infield-button-stacked-top-border-radius-start-start));border-end-end-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));border-end-start-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));padding-block-start:calc(var(--luzmo-infield-button-stacked-fill-padding-outer, var(--infield-button-stacked-fill-padding-outer)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));padding-block-end:calc(var(--luzmo-infield-button-stacked-fill-padding-inner, var(--infield-button-stacked-fill-padding-inner)) - var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill)))}:host([block=end]){padding-block-start:var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill))}:host([block=end]) .fill{border-block-end-width:var(--luzmo-infield-button-stacked-bottom-border-block-end-width, var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));border-start-start-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));border-start-end-radius:var(--luzmo-infield-button-stacked-border-radius-reset, var(--infield-button-stacked-border-radius-reset));border-end-end-radius:var(--luzmo-infield-button-stacked-bottom-border-radius-end-end, var(--luzmo-infield-button-border-radius, var(--infield-button-border-radius)));border-end-start-radius:var(--luzmo-infield-button-stacked-bottom-border-radius-end-start, var(--infield-button-stacked-bottom-border-radius-end-start));padding-block-start:calc(var(--luzmo-infield-button-stacked-fill-padding-inner, var(--infield-button-stacked-fill-padding-inner)) - var(--luzmo-infield-button-edge-to-fill, var(--infield-button-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)));padding-block-end:calc(var(--luzmo-infield-button-stacked-fill-padding-outer, var(--infield-button-stacked-fill-padding-outer)) - var(--luzmo-infield-button-inner-edge-to-fill, var(--infield-button-inner-edge-to-fill)) - var(--luzmo-infield-button-border-width, var(--infield-button-border-width)))}::slotted(*){display:initial;flex-shrink:0;margin:0!important}:host{--infield-button-border-width: var(--luzmo-border-width);--infield-button-border-color: inherit;--infield-button-border-radius: var(--luzmo-border-radius-s);--infield-button-border-radius-reset: 0;--infield-button-stacked-top-border-radius-start-start: 0;--infield-button-stacked-bottom-border-radius-end-start: 0;--infield-button-background-color: var(--luzmo-background-color);--infield-button-background-color-hover: var(--luzmo-background-color-hover);--infield-button-background-color-down: var(--luzmo-background-color-down);--infield-button-background-color-key-focus: var( --luzmo-background-color-focus );--infield-button-height: var(--luzmo-component-height);--infield-button-width: var(--luzmo-component-height);--infield-button-stacked-border-radius-reset: 0px;--infield-button-edge-to-fill: 0px;--infield-button-inner-edge-to-fill: 0px;--infield-button-fill-padding: 0px;--infield-button-stacked-fill-padding-inline: 9px;--infield-button-stacked-fill-padding-outer: 3px;--infield-button-stacked-fill-padding-inner: 3px;--infield-button-animation-duration: var(--luzmo-animation-duration);--infield-button-icon-color: var(--luzmo-font-color);--infield-button-icon-color-hover: var(--luzmo-font-color-hard);--infield-button-icon-color-down: var(--luzmo-font-color-hard);--infield-button-icon-color-key-focus: var(--luzmo-font-color-hard);--infield-button-fill-justify-content: center}:host([disabled]){--infield-button-background-color: var(--luzmo-background-color-disabled);--infield-button-background-color-hover: var( --luzmo-background-color-disabled );--infield-button-background-color-down: var( --luzmo-background-color-disabled );--infield-button-border-color: var(--luzmo-border-color-disabled);--infield-button-content-color: var(--luzmo-color-disabled);--infield-button-icon-color: var(--luzmo-color-disabled);--infield-button-icon-color-hover: var(--luzmo-color-disabled);--infield-button-icon-color-down: var(--luzmo-color-disabled);--infield-button-icon-color-key-focus: var(--luzmo-color-disabled)}:host([size=s]){--infield-button-height: var(--luzmo-component-height-s);--infield-button-width: var(--luzmo-component-height-s);--infield-button-stacked-fill-padding-inline: 7px;--infield-button-stacked-fill-padding-outer: 3px;--infield-button-stacked-fill-padding-inner: 3px}:host([size=l]){--infield-button-height: var(--luzmo-component-height-l);--infield-button-width: var(--luzmo-component-height-l);--infield-button-stacked-fill-padding-inline: 13px;--infield-button-stacked-fill-padding-outer: 4px;--infield-button-stacked-fill-padding-inner: 4px}:host([size=xl]){--infield-button-height: var(--luzmo-component-height-xl);--infield-button-width: var(--luzmo-component-height-xl);--infield-button-stacked-fill-padding-inline: 16px;--infield-button-stacked-fill-padding-outer: 5px;--infield-button-stacked-fill-padding-inner: 5px}:host([block=start]){--infield-button-width: 20px}:host([block=end]){--infield-button-width: 20px}:host([block=start][size=s]){--infield-button-width: 16px}:host([block=end][size=s]){--infield-button-width: 16px}:host([block=start][size=l]){--infield-button-width: 28px}:host([block=end][size=l]){--infield-button-width: 28px}:host([block=start][size=xl]){--infield-button-width: 36px}:host([block=end][size=xl]){--infield-button-width: 36px}:host([quiet]){--infield-button-background-color: transparent;--infield-button-background-color-hover: transparent;--infield-button-background-color-down: transparent;--infield-button-background-color-key-focus: transparent;--infield-border-color: transparent;--infield-button-border-width: 0}:host([quiet][disabled]){--infield-button-background-color: transparent;--infield-button-border-color: transparent}:host{box-sizing:border-box;-webkit-user-select:none;user-select:none}::slotted(*){--parent-element-icon-vertical-align: 1px;--icon-size: inherit}";var c=Object.defineProperty,d=(n,e,l,f)=>{for(var o=void 0,r=n.length-1,a;r>=0;r--)(a=n[r])&&(o=a(e,l,o)||o);return o&&c(e,l,o),o};class i extends u.SizedMixin(b.LuzmoButtonBase,{noDefaultSize:!0,validSizes:["s","m","l","xl"]}){constructor(){super(...arguments),this.quiet=!1}static get styles(){return[...super.styles,t.r(s)]}get buttonContent(){return[t.x`
19
+ <div class="fill">
20
+ <slot></slot>
21
+ </div>
22
+ `]}}d([t.n()],i.prototype,"block");d([t.n()],i.prototype,"inline");d([t.n({type:Boolean,reflect:!0})],i.prototype,"quiet");customElements.get("luzmo-infield-button")||customElements.define("luzmo-infield-button",i);exports.LuzmoInfieldButton=i;
@@ -0,0 +1,7 @@
1
+ import { LuzmoInfieldButton } from './infield-button';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-infield-button': LuzmoInfieldButton;
5
+ }
6
+ }
7
+ export { LuzmoInfieldButton } from './infield-button';
@@ -15,10 +15,9 @@
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 b, html as c } from "lit";
19
- import { S as s } from "../sized-mixin-Dl0KoEcV.js";
20
- import { n as e } from "../base-nYalvNMy.js";
21
- import { B as f } from "../button-base-DgtT6sU5.js";
18
+ import { r as b, x as c, n as e } from "../base-CawdqE7p.js";
19
+ import { S as s } from "../sized-mixin-BxMraZLS.js";
20
+ import { L as f } from "../button-base-B7v4eeRh.js";
22
21
  const a = () => {
23
22
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
24
23
  const o = document.createElement("style");
@@ -0,0 +1,25 @@
1
+ import { CSSResultArray, TemplateResult } from 'lit';
2
+ import { LuzmoButtonBase } from './../button/button-base';
3
+ declare const LuzmoInfieldButton_base: typeof LuzmoButtonBase & {
4
+ new (...args: any[]): import("../..").SizedElementInterface;
5
+ prototype: import("../..").SizedElementInterface;
6
+ };
7
+ /**
8
+ * @element luzmo-infield-button
9
+ */
10
+ export declare class LuzmoInfieldButton extends LuzmoInfieldButton_base {
11
+ static get styles(): CSSResultArray;
12
+ /**
13
+ * Whether to style the button as if it is at the start or end of a vertical stack
14
+ * @type {'start' | 'end'}
15
+ */
16
+ block?: 'start' | 'end';
17
+ /**
18
+ * Whether to style the button as if it is at the start or end of a horizontal group
19
+ * @type {'start' | 'end'}
20
+ */
21
+ inline?: 'start' | 'end';
22
+ quiet: boolean;
23
+ protected get buttonContent(): TemplateResult[];
24
+ }
25
+ 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 r=require("../base-B7Pfl2if.cjs"),p="";var c=Object.defineProperty,u=(n,o,i,b)=>{for(var t=void 0,s=n.length-1,a;s>=0;s--)(a=n[s])&&(t=a(o,i,t)||t);return t&&c(o,i,t),t};const l=class l extends r.LuzmoElement{constructor(){super(...arguments),this.label="",this.tooltip=""}render(){return r.x` <span> ${this.label} </span> `}};l.styles=r.r(p);let e=l;u([r.n({type:String})],e.prototype,"label");u([r.n({type:String,reflect:!0,attribute:"tooltip"})],e.prototype,"tooltip");customElements.get("luzmo-label")||customElements.define("luzmo-label",e);exports.LuzmoLabel=e;
@@ -0,0 +1,7 @@
1
+ import { LuzmoLabel } from './label';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-label': LuzmoLabel;
5
+ }
6
+ }
7
+ export { LuzmoLabel } from './label';
@@ -15,8 +15,7 @@
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 { L as a, n as i } from "../base-nYalvNMy.js";
19
- import { unsafeCSS as s, html as d } from "lit";
18
+ import { a, r as s, x as d, n as i } from "../base-CawdqE7p.js";
20
19
  const z = () => {
21
20
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
22
21
  const o = document.createElement("style");
@@ -0,0 +1,7 @@
1
+ import { LuzmoElement } from '../../utils/base';
2
+ export declare class LuzmoLabel extends LuzmoElement {
3
+ static styles: import("lit").CSSResult;
4
+ label: string;
5
+ tooltip: string;
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ }
@@ -0,0 +1,53 @@
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
+ const o = Symbol(
19
+ "language resolver updated"
20
+ );
21
+ class l {
22
+ constructor(e) {
23
+ this.language = document.documentElement.lang || navigator.language, this.host = e, this.host.addController(this);
24
+ }
25
+ hostConnected() {
26
+ this.resolveLanguage();
27
+ }
28
+ hostDisconnected() {
29
+ var e;
30
+ (e = this.unsubscribe) == null || e.call(this);
31
+ }
32
+ resolveLanguage() {
33
+ const e = new CustomEvent(
34
+ "luzmo-language-context",
35
+ {
36
+ bubbles: !0,
37
+ composed: !0,
38
+ detail: {
39
+ callback: (t, s) => {
40
+ const a = this.language;
41
+ this.language = t, this.unsubscribe = s, this.host.requestUpdate(o, a);
42
+ }
43
+ },
44
+ cancelable: !0
45
+ }
46
+ );
47
+ this.host.dispatchEvent(e);
48
+ }
49
+ }
50
+ export {
51
+ l as L,
52
+ o as l
53
+ };
@@ -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";const t=Symbol("language resolver updated");class n{constructor(e){this.language=document.documentElement.lang||navigator.language,this.host=e,this.host.addController(this)}hostConnected(){this.resolveLanguage()}hostDisconnected(){var e;(e=this.unsubscribe)==null||e.call(this)}resolveLanguage(){const e=new CustomEvent("luzmo-language-context",{bubbles:!0,composed:!0,detail:{callback:(s,o)=>{const a=this.language;this.language=s,this.unsubscribe=o,this.host.requestUpdate(t,a)}},cancelable:!0});this.host.dispatchEvent(e)}}exports.LanguageResolutionController=n;exports.languageResolverUpdatedSymbol=t;
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";const h=require("lit"),t=require("./base-BCmA9Wxv.cjs"),r=require("./if-defined-Cv6xanXh.cjs");var f=Object.defineProperty,i=(l,e,s,d)=>{for(var o=void 0,n=l.length-1,a;n>=0;n--)(a=l[n])&&(o=a(e,s,o)||o);return o&&f(e,s,o),o};function $(l){class e extends l{renderAnchor({id:d,className:o,ariaHidden:n,labelledby:a,tabindex:p,anchorContent:c=h.html`<slot></slot>`}){return h.html`
18
+ "use strict";const t=require("./base-B7Pfl2if.cjs"),r=require("./if-defined-B56xGmAg.cjs");var f=Object.defineProperty,n=(l,e,s,d)=>{for(var o=void 0,i=l.length-1,a;i>=0;i--)(a=l[i])&&(o=a(e,s,o)||o);return o&&f(e,s,o),o};function c(l){class e extends l{renderAnchor({id:d,className:o,ariaHidden:i,labelledby:a,tabindex:p,anchorContent:h=t.x`<slot></slot>`}){return t.x`
19
19
  <a
20
20
  id=${d}
21
21
  class=${r.o(o)}
@@ -24,9 +24,9 @@
24
24
  target=${r.o(this.target)}
25
25
  aria-label=${r.o(this.label)}
26
26
  aria-labelledby=${r.o(a)}
27
- aria-hidden=${r.o(n?"true":void 0)}
27
+ aria-hidden=${r.o(i?"true":void 0)}
28
28
  tabindex=${r.o(p)}
29
29
  referrerpolicy=${r.o(this.referrerpolicy)}
30
30
  rel=${r.o(this.rel)}
31
- >${c}</a>
32
- `}}return i([t.n()],e.prototype,"download"),i([t.n()],e.prototype,"label"),i([t.n()],e.prototype,"href"),i([t.n()],e.prototype,"target"),i([t.n()],e.prototype,"referrerpolicy"),i([t.n()],e.prototype,"rel"),e}exports.LikeAnchor=$;
31
+ >${h}</a>
32
+ `}}return n([t.n()],e.prototype,"download"),n([t.n()],e.prototype,"label"),n([t.n()],e.prototype,"href"),n([t.n()],e.prototype,"target"),n([t.n()],e.prototype,"referrerpolicy"),n([t.n()],e.prototype,"rel"),e}exports.LikeAnchor=c;
@@ -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 { html as s } from "lit";
19
- import { n as o } from "./base-nYalvNMy.js";
20
- import { o as e } from "./if-defined-CYpcjGCb.js";
21
- var $ = Object.defineProperty, l = (i, r, n, d) => {
22
- for (var t = void 0, a = i.length - 1, p; a >= 0; a--)
23
- (p = i[a]) && (t = p(r, n, t) || t);
24
- return t && $(r, n, t), t;
18
+ import { n as o, x as s } from "./base-CawdqE7p.js";
19
+ import { o as e } from "./if-defined-BSAr_4u4.js";
20
+ var $ = Object.defineProperty, l = (i, r, p, d) => {
21
+ for (var t = void 0, a = i.length - 1, n; a >= 0; a--)
22
+ (n = i[a]) && (t = n(r, p, t) || t);
23
+ return t && $(r, p, t), t;
25
24
  };
26
25
  function b(i) {
27
26
  class r extends i {
@@ -29,7 +28,7 @@ function b(i) {
29
28
  id: d,
30
29
  className: t,
31
30
  ariaHidden: a,
32
- labelledby: p,
31
+ labelledby: n,
33
32
  tabindex: f,
34
33
  // prettier-ignore
35
34
  anchorContent: h = s`<slot></slot>`
@@ -42,7 +41,7 @@ function b(i) {
42
41
  download=${e(this.download)}
43
42
  target=${e(this.target)}
44
43
  aria-label=${e(this.label)}
45
- aria-labelledby=${e(p)}
44
+ aria-labelledby=${e(n)}
46
45
  aria-hidden=${e(a ? "true" : void 0)}
47
46
  tabindex=${e(f)}
48
47
  referrerpolicy=${e(this.referrerpolicy)}
@@ -15,11 +15,11 @@
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 { c as r } from "./condition-attribute-with-id-Dv4lSRbe.js";
18
+ import { x as r } from "./base-CawdqE7p.js";
19
+ import { o as d } from "./if-defined-BSAr_4u4.js";
20
+ import { c as a } from "./condition-attribute-with-id-Dv4lSRbe.js";
19
21
  import { r as n } from "./random-id-ByCz1xaq.js";
20
- import { html as d } from "lit";
21
- import { o as l } from "./if-defined-CYpcjGCb.js";
22
- class a {
22
+ class l {
23
23
  constructor(e, { mode: i } = { mode: "internal" }) {
24
24
  this.mode = "internal", this.handleSlotchange = ({
25
25
  target: t
@@ -31,9 +31,9 @@ class a {
31
31
  return this.mode === "internal";
32
32
  }
33
33
  render(e) {
34
- return d`
34
+ return r`
35
35
  <div
36
- id=${l(this.isInternal ? this.id : void 0)}
36
+ id=${d(this.isInternal ? this.id : void 0)}
37
37
  aria-live="assertive"
38
38
  >
39
39
  <slot
@@ -47,7 +47,7 @@ class a {
47
47
  }
48
48
  addId() {
49
49
  const e = this.helpTextElement ? this.helpTextElement.id : this.id;
50
- this.conditionId = r(
50
+ this.conditionId = a(
51
51
  this.host,
52
52
  "aria-describedby",
53
53
  e
@@ -76,7 +76,7 @@ class a {
76
76
  function u(s, { mode: e } = { mode: "internal" }) {
77
77
  class i extends s {
78
78
  constructor() {
79
- super(...arguments), this.helpTextManager = new a(this, { mode: e });
79
+ super(...arguments), this.helpTextManager = new l(this, { mode: e });
80
80
  }
81
81
  get helpTextId() {
82
82
  return this.helpTextManager.id;
@@ -15,9 +15,9 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";const d=require("./condition-attribute-with-id-DrQYZzFS.cjs"),s=require("./random-id-CqvckpWe.cjs"),r=require("lit"),l=require("./if-defined-Cv6xanXh.cjs");class a{constructor(e,{mode:i}={mode:"internal"}){this.mode="internal",this.handleSlotchange=({target:t})=>{this.handleHelpText(t),this.handleNegativeHelpText(t)},this.host=e,this.id=`luzmo-help-text-${s.randomID()}`,this.mode=i}get isInternal(){return this.mode==="internal"}render(e){return r.html`
18
+ "use strict";const d=require("./base-B7Pfl2if.cjs"),r=require("./if-defined-B56xGmAg.cjs"),a=require("./condition-attribute-with-id-DrQYZzFS.cjs"),s=require("./random-id-CqvckpWe.cjs");class l{constructor(e,{mode:i}={mode:"internal"}){this.mode="internal",this.handleSlotchange=({target:t})=>{this.handleHelpText(t),this.handleNegativeHelpText(t)},this.host=e,this.id=`luzmo-help-text-${s.randomID()}`,this.mode=i}get isInternal(){return this.mode==="internal"}render(e){return d.x`
19
19
  <div
20
- id=${l.o(this.isInternal?this.id:void 0)}
20
+ id=${r.o(this.isInternal?this.id:void 0)}
21
21
  aria-live="assertive"
22
22
  >
23
23
  <slot
@@ -27,4 +27,4 @@
27
27
  <slot name="help-text"></slot>
28
28
  </slot>
29
29
  </div>
30
- `}addId(){const e=this.helpTextElement?this.helpTextElement.id:this.id;this.conditionId=d.conditionAttributeWithId(this.host,"aria-describedby",e),this.host.hasAttribute("tabindex")&&(this.previousTabindex=Number.parseFloat(this.host.getAttribute("tabindex"))),this.host.tabIndex=0}removeId(){this.conditionId&&(this.conditionId(),delete this.conditionId),!this.helpTextElement&&(this.previousTabindex?this.host.tabIndex=this.previousTabindex:this.host.removeAttribute("tabindex"))}handleHelpText(e){if(this.isInternal)return;this.helpTextElement&&this.helpTextElement.id===this.id&&this.helpTextElement.removeAttribute("id"),this.removeId();const t=e.assignedElements()[0];this.helpTextElement=t,t&&(t.id||(t.id=this.id),this.addId())}handleNegativeHelpText(e){if(e.name!=="negative-help-text")return;e.assignedElements().forEach(t=>t.variant="negative")}}function o(n,{mode:e}={mode:"internal"}){class i extends n{constructor(){super(...arguments),this.helpTextManager=new a(this,{mode:e})}get helpTextId(){return this.helpTextManager.id}renderHelpText(h){return this.helpTextManager.render(h)}}return i}exports.ManageHelpText=o;
30
+ `}addId(){const e=this.helpTextElement?this.helpTextElement.id:this.id;this.conditionId=a.conditionAttributeWithId(this.host,"aria-describedby",e),this.host.hasAttribute("tabindex")&&(this.previousTabindex=Number.parseFloat(this.host.getAttribute("tabindex"))),this.host.tabIndex=0}removeId(){this.conditionId&&(this.conditionId(),delete this.conditionId),!this.helpTextElement&&(this.previousTabindex?this.host.tabIndex=this.previousTabindex:this.host.removeAttribute("tabindex"))}handleHelpText(e){if(this.isInternal)return;this.helpTextElement&&this.helpTextElement.id===this.id&&this.helpTextElement.removeAttribute("id"),this.removeId();const t=e.assignedElements()[0];this.helpTextElement=t,t&&(t.id||(t.id=this.id),this.addId())}handleNegativeHelpText(e){if(e.name!=="negative-help-text")return;e.assignedElements().forEach(t=>t.variant="negative")}}function o(n,{mode:e}={mode:"internal"}){class i extends n{constructor(){super(...arguments),this.helpTextManager=new l(this,{mode:e})}get helpTextId(){return this.helpTextManager.id}renderHelpText(h){return this.helpTextManager.render(h)}}return i}exports.ManageHelpText=o;
@@ -15,4 +15,4 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-yNcLzjhM.cjs");exports.LuzmoMenu=e.LuzmoMenu;exports.LuzmoMenuDivider=e.LuzmoMenuDivider;exports.LuzmoMenuGroup=e.LuzmoMenuGroup;exports.LuzmoMenuItem=e.LuzmoMenuItem;exports.MenuItemAddedOrUpdatedEvent=e.MenuItemAddedOrUpdatedEvent;
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-DnWavOZD.cjs");exports.LuzmoMenu=e.LuzmoMenu;exports.LuzmoMenuDivider=e.LuzmoMenuDivider;exports.LuzmoMenuGroup=e.LuzmoMenuGroup;exports.LuzmoMenuItem=e.LuzmoMenuItem;exports.MenuItemAddedOrUpdatedEvent=e.MenuItemAddedOrUpdatedEvent;
@@ -0,0 +1,16 @@
1
+ export * from './menu';
2
+ export * from './menu-divider';
3
+ export * from './menu-group';
4
+ export * from './menu-item';
5
+ import { LuzmoMenu } from './menu';
6
+ import { LuzmoMenuDivider } from './menu-divider';
7
+ import { LuzmoMenuGroup } from './menu-group';
8
+ import { LuzmoMenuItem } from './menu-item';
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ 'luzmo-menu': LuzmoMenu;
12
+ 'luzmo-menu-divider': LuzmoMenuDivider;
13
+ 'luzmo-menu-group': LuzmoMenuGroup;
14
+ 'luzmo-menu-item': LuzmoMenuItem;
15
+ }
16
+ }