@luzmo/lucero 1.0.1-alpha.18 → 1.0.1-alpha.19

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 (275) hide show
  1. package/components/NumberFormatter-DewVDY5w.cjs +18 -0
  2. package/components/NumberFormatter-DgOUVrge.js +136 -0
  3. package/components/NumberParser-Dik4a0h-.cjs +18 -0
  4. package/components/NumberParser-ci9J5EKv.js +173 -0
  5. package/components/accordion/index.cjs +6 -183
  6. package/components/accordion/index.js +88 -136
  7. package/components/action-bar/index.cjs +4 -85
  8. package/components/action-bar/index.js +50 -72
  9. package/components/action-button/index.cjs +3 -205
  10. package/components/action-button/index.js +93 -167
  11. package/components/action-group/index.cjs +1 -7
  12. package/components/action-group/index.js +8 -12
  13. package/components/action-group-C54IxNZk.cjs +20 -0
  14. package/components/action-group-C9dsPJg-.js +258 -0
  15. package/components/action-menu/index.cjs +11 -91
  16. package/components/action-menu/index.js +47 -66
  17. package/components/async-directive-BwIAw5tB.js +82 -0
  18. package/components/async-directive-DLz6JB0v.cjs +22 -0
  19. package/components/avatar/index.cjs +3 -63
  20. package/components/avatar/index.js +42 -54
  21. package/components/{focusable-selectors-D0t_5P7C.cjs → base-BjTwmyRF.cjs} +5 -16
  22. package/components/base-CFWO09N1.js +684 -0
  23. package/components/base-Cy0MQrPT.cjs +40 -0
  24. package/components/base-D76d76ww.js +26 -0
  25. package/components/button/index.cjs +2 -134
  26. package/components/button/index.js +72 -106
  27. package/components/button-base-B8bWcklV.js +144 -0
  28. package/components/button-base-tf95Lyl4.cjs +25 -0
  29. package/components/button-group/index.cjs +1 -45
  30. package/components/button-group/index.js +25 -37
  31. package/components/calendar/index.cjs +1 -632
  32. package/components/calendar/index.js +7 -637
  33. package/components/checkbox/index.cjs +4 -111
  34. package/components/checkbox/index.js +53 -98
  35. package/components/checkbox-mixin-BOTvuPEu.js +70 -0
  36. package/components/checkbox-mixin-BVPpXtsq.cjs +27 -0
  37. package/components/class-map-CGfNk3Ee.js +51 -0
  38. package/components/class-map-D-Y-hsN5.cjs +22 -0
  39. package/components/clear-button-CuPbWwZY.cjs +18 -0
  40. package/components/clear-button-DzZ5ulBW.js +53 -0
  41. package/components/close-button-BTo4yrFR.cjs +18 -0
  42. package/components/close-button-CuQdsez5.js +51 -0
  43. package/components/color-area/index.cjs +13 -440
  44. package/components/color-area/index.js +187 -322
  45. package/components/color-controller-B0uX6Zso.js +3230 -0
  46. package/components/color-controller-CoUL5f9K.cjs +18 -0
  47. package/components/color-field/index.cjs +2 -95
  48. package/components/color-field/index.js +41 -77
  49. package/components/color-handle/index.cjs +3 -64
  50. package/components/color-handle/index.js +37 -58
  51. package/components/color-loupe/index.cjs +1 -7
  52. package/components/color-loupe/index.js +8 -12
  53. package/components/color-loupe-CrM2DVY3.cjs +56 -0
  54. package/components/color-loupe-DmQe3SpP.js +81 -0
  55. package/components/color-menu/index.cjs +12 -217
  56. package/components/color-menu/index.js +93 -187
  57. package/components/color-palette/index.cjs +1 -89
  58. package/components/color-palette/index.js +51 -78
  59. package/components/color-palette-group/index.cjs +3 -259
  60. package/components/color-palette-group/index.js +105 -193
  61. package/components/color-picker/index.cjs +6 -114
  62. package/components/color-picker/index.js +72 -92
  63. package/components/color-slider/index.cjs +1 -585
  64. package/components/color-slider/index.js +7 -590
  65. package/components/condition-attribute-with-id-DrQYZzFS.cjs +18 -0
  66. package/components/condition-attribute-with-id-Dv4lSRbe.js +31 -0
  67. package/components/date-time-picker/index.cjs +31 -1357
  68. package/components/date-time-picker/index.js +637 -951
  69. package/components/{dependency-manger-XHpQjFgK.js → dependency-manger-CO-VPlqq.js} +14 -24
  70. package/components/dependency-manger-uthev62E.cjs +18 -0
  71. package/components/directive-C7oCP5Bh.cjs +22 -0
  72. package/components/directive-helpers-D4KMv2dC.js +62 -0
  73. package/components/directive-helpers-t-TVum7J.cjs +22 -0
  74. package/components/{slottable-request-event-CANixJnR.cjs → directive-oAbCiebi.js} +25 -14
  75. package/components/divider/index.cjs +1 -54
  76. package/components/divider/index.js +30 -49
  77. package/components/divider.module-DDvBo9zo.cjs +18 -0
  78. package/components/divider.module-DoQWQEIJ.js +21 -0
  79. package/components/element-resolution-BvRLGqIU.cjs +18 -0
  80. package/components/element-resolution-FCUT-wql.js +91 -0
  81. package/components/field-group/index.cjs +1 -7
  82. package/components/field-group/index.js +8 -12
  83. package/components/field-group-5WQMBOk4.cjs +23 -0
  84. package/components/field-group-D4B0IOdA.js +66 -0
  85. package/components/field-label/index.cjs +1 -7
  86. package/components/field-label/index.js +8 -12
  87. package/components/field-label-DxmPiC5p.js +106 -0
  88. package/components/field-label-Dz9kisdW.cjs +25 -0
  89. package/components/flow-D-0MTYCm.js +527 -0
  90. package/components/flow-DM3dNAKs.cjs +30 -0
  91. package/components/focus-group-DHeTq18L.js +218 -0
  92. package/components/focus-group-DnxZUBhQ.cjs +18 -0
  93. package/components/focus-visible-BvScGDCE.js +74 -0
  94. package/components/focus-visible-D4BXb5RB.cjs +18 -0
  95. package/components/focusable-B_KwfEec.cjs +18 -0
  96. package/components/focusable-C5JjRZmT.js +153 -0
  97. package/components/{focusable-selectors-IltOAOd9.js → focusable-selectors-B4YgbghQ.js} +4 -7
  98. package/components/focusable-selectors-BgFlyFcY.cjs +18 -0
  99. package/components/icon/index.cjs +1 -90
  100. package/components/icon/index.js +46 -74
  101. package/components/if-defined-DULpqYwi.js +27 -0
  102. package/components/if-defined-DaXWqfzc.cjs +22 -0
  103. package/components/index-CNK8wHXu.cjs +57 -0
  104. package/components/index-Cf6G4q52.js +1490 -0
  105. package/components/index-D3ICqC7S.js +1174 -0
  106. package/components/index-hqVbNKYy.cjs +113 -0
  107. package/components/index.cjs +1 -174
  108. package/components/index.js +172 -174
  109. package/components/infield-button/index.cjs +2 -46
  110. package/components/infield-button/index.js +30 -41
  111. package/components/label/index.cjs +1 -37
  112. package/components/label/index.js +24 -36
  113. package/components/{language-resolution-BSGJAWiQ.js → language-resolution-B-wjV5bb.js} +17 -21
  114. package/components/language-resolution-EUER43cg.cjs +18 -0
  115. package/components/like-anchor-Bu3pXbjT.cjs +32 -0
  116. package/components/like-anchor-DCFJN0LV.js +69 -0
  117. package/components/luzmo-icons-CiSek5iM.js +229 -0
  118. package/components/luzmo-icons-CtA-TJPd.cjs +29 -0
  119. package/components/manage-help-text-CHfMLzSa.js +92 -0
  120. package/components/manage-help-text-DNqdEkTA.cjs +30 -0
  121. package/components/menu/index.cjs +29 -1297
  122. package/components/menu/index.js +499 -954
  123. package/components/multi-language-field/index.cjs +2 -132
  124. package/components/multi-language-field/index.js +88 -118
  125. package/components/mutation-controller-DH7YOCyj.js +52 -0
  126. package/components/mutation-controller-DkOMCW-c.cjs +22 -0
  127. package/components/number-field/index.cjs +10 -613
  128. package/components/number-field/index.js +243 -442
  129. package/components/observe-slot-presence-CmVi0zTc.js +68 -0
  130. package/components/observe-slot-presence-bc9chhsi.cjs +18 -0
  131. package/components/observe-slot-text-C3moTjwy.js +87 -0
  132. package/components/observe-slot-text-D2VAEFSd.cjs +18 -0
  133. package/components/options/index.cjs +60 -693
  134. package/components/options/index.js +953 -519
  135. package/components/overlay/index.cjs +21 -367
  136. package/components/overlay/index.js +189 -273
  137. package/components/overlay-B3ajDLLq.cjs +47 -0
  138. package/components/overlay-CUKs69yr.js +2745 -0
  139. package/components/{pending-state-CXbe-Xul.js → pending-state-B2wWssTo.js} +13 -28
  140. package/components/pending-state-bJr-nEJl.cjs +26 -0
  141. package/components/picker/index.cjs +1 -9
  142. package/components/picker/index.js +11 -15
  143. package/components/picker-C0LvseZe.cjs +123 -0
  144. package/components/picker-W1qNmtsh.js +461 -0
  145. package/components/picker-button/index.cjs +4 -56
  146. package/components/picker-button/index.js +34 -45
  147. package/components/{condition-attribute-with-id-Cn815e9W.js → platform-BM-uMWpX.js} +49 -24
  148. package/components/platform-BiXhwqk3.cjs +18 -0
  149. package/components/popover/index.cjs +1 -7
  150. package/components/popover/index.js +8 -12
  151. package/components/popover-fwJeZHMQ.cjs +30 -0
  152. package/components/popover-iD8f5Jkp.js +67 -0
  153. package/components/progress-circle/index.cjs +1 -7
  154. package/components/progress-circle/index.js +8 -12
  155. package/components/progress-circle-DZxaMe8L.cjs +33 -0
  156. package/components/progress-circle-USIIU1up.js +97 -0
  157. package/components/query-BL-TJj7K.cjs +22 -0
  158. package/components/query-D_KR_GUc.js +51 -0
  159. package/components/query-assigned-elements-DjfhL1cl.js +36 -0
  160. package/components/query-assigned-elements-DsKsfk7G.cjs +22 -0
  161. package/components/query-assigned-nodes-BcKWmGzy.cjs +22 -0
  162. package/components/query-assigned-nodes-C76XVPWY.js +36 -0
  163. package/components/radio/index.cjs +2 -244
  164. package/components/radio/index.js +110 -192
  165. package/components/{random-id-BEc6QIUL.js → random-id-ByCz1xaq.js} +3 -3
  166. package/components/random-id-CqvckpWe.cjs +18 -0
  167. package/components/roving-tabindex-By_fCy_e.cjs +18 -0
  168. package/components/roving-tabindex-DOg4z6ZU.js +66 -0
  169. package/components/search/index.cjs +8 -115
  170. package/components/search/index.js +66 -96
  171. package/components/select/index.cjs +51 -720
  172. package/components/select/index.js +347 -563
  173. package/components/sized-mixin-CJbBHWRQ.js +63 -0
  174. package/components/sized-mixin-WPHH0a_D.cjs +18 -0
  175. package/components/slider/index.cjs +1 -119
  176. package/components/slider/index.js +1113 -100
  177. package/components/slottable-request-event-BfUUt1Mh.cjs +18 -0
  178. package/components/{slottable-request-event-D9WzrdWv.js → slottable-request-event-DggLA4Rx.js} +9 -12
  179. package/components/state-DwIwYPvt.js +29 -0
  180. package/components/state-vf0PJN3_.cjs +22 -0
  181. package/components/strategies-C6HsQpU2.cjs +18 -0
  182. package/components/strategies-CUMLHtQI.js +195 -0
  183. package/components/streaming-listener-BQ68fKMa.js +91 -0
  184. package/components/streaming-listener-DeGQYM-9.cjs +18 -0
  185. package/components/style-map-Bnhf_mVZ.js +53 -0
  186. package/components/style-map-DuMd5xlY.cjs +22 -0
  187. package/components/swatch/index.cjs +7 -436
  188. package/components/swatch/index.js +205 -350
  189. package/components/switch/index.cjs +2 -61
  190. package/components/switch/index.js +34 -51
  191. package/components/tabs/index.cjs +26 -693
  192. package/components/tabs/index.js +388 -521
  193. package/components/tags/index.cjs +4 -201
  194. package/components/tags/index.js +87 -152
  195. package/components/text-field/index.cjs +3 -49
  196. package/components/text-field/index.js +30 -44
  197. package/components/text-field-BkFPYo7S.cjs +85 -0
  198. package/components/text-field-C2n3rzCK.js +314 -0
  199. package/components/text-field.module-C2KVUJcX.js +21 -0
  200. package/components/text-field.module-DXhFA9G-.cjs +18 -0
  201. package/components/toast/index.cjs +12 -177
  202. package/components/toast/index.js +73 -145
  203. package/components/tooltip/index.cjs +6 -250
  204. package/components/tooltip/index.js +124 -177
  205. package/components/unit-input/index.cjs +8 -232
  206. package/components/unit-input/index.js +108 -201
  207. package/components/utils.cjs +1 -25
  208. package/components/utils.js +22 -22
  209. package/components/{random-id-BE6HA503.cjs → when-CDK1Tt5Y.js} +10 -7
  210. package/components/when-CDZyJPvd.cjs +22 -0
  211. package/package.json +1 -1
  212. package/components/action-group-DHp8RHDf.js +0 -392
  213. package/components/action-group-MPf19RPV.cjs +0 -391
  214. package/components/base-COw9n7UR.cjs +0 -119
  215. package/components/base-DmeVy0cq.js +0 -120
  216. package/components/button-base-7Ak55xFd.cjs +0 -206
  217. package/components/button-base-C3kf6BTK.js +0 -207
  218. package/components/checkbox-mixin-8cL-vfDy.js +0 -84
  219. package/components/checkbox-mixin-CE7dJj3J.cjs +0 -83
  220. package/components/clear-button-Co6oKSgl.js +0 -59
  221. package/components/clear-button-X_HDY2eH.cjs +0 -58
  222. package/components/close-button-DPBK6Kpu.cjs +0 -59
  223. package/components/close-button-Miw9ZjoJ.js +0 -60
  224. package/components/color-controller-BjDZaxhX.js +0 -491
  225. package/components/color-controller-C3c_vb2P.cjs +0 -490
  226. package/components/color-loupe-BQqNR8YD.cjs +0 -88
  227. package/components/color-loupe-B_DDFv8l.js +0 -89
  228. package/components/condition-attribute-with-id-DEc2Yjne.cjs +0 -43
  229. package/components/dependency-manger-CcIE1uvQ.cjs +0 -63
  230. package/components/divider.module-Cm5LcDRV.cjs +0 -20
  231. package/components/divider.module-DauH6k2_.js +0 -21
  232. package/components/element-resolution-DCsrhGZO.cjs +0 -112
  233. package/components/element-resolution-nMlmW4Jy.js +0 -113
  234. package/components/field-group-DNmY8W9v.cjs +0 -86
  235. package/components/field-group-DVdAWCQF.js +0 -87
  236. package/components/field-label-CKH9EXpR.cjs +0 -156
  237. package/components/field-label-Dpsecoc6.js +0 -157
  238. package/components/focus-group-BqDAk9Is.js +0 -337
  239. package/components/focus-group-DFzOlalL.cjs +0 -336
  240. package/components/focus-visible-B-B8-P9R.cjs +0 -104
  241. package/components/focus-visible-BUPRWlsh.js +0 -105
  242. package/components/focusable-BPrTcZPd.cjs +0 -262
  243. package/components/focusable-ChCLg1k4.js +0 -263
  244. package/components/language-resolution-iN9EImbb.cjs +0 -57
  245. package/components/like-anchor-D62faRNG.cjs +0 -79
  246. package/components/like-anchor-v3cJ9RWM.js +0 -80
  247. package/components/manage-help-text-BYx84zZR.cjs +0 -125
  248. package/components/manage-help-text-DOuMTGht.js +0 -126
  249. package/components/observe-slot-presence-9AwLGUQ_.cjs +0 -78
  250. package/components/observe-slot-presence-DcMdoumP.js +0 -79
  251. package/components/observe-slot-text-CSofZeeF.cjs +0 -104
  252. package/components/observe-slot-text-CjnkkBPn.js +0 -105
  253. package/components/overlay-CN8ISP1F.js +0 -2485
  254. package/components/overlay-LViy9VWM.cjs +0 -2484
  255. package/components/pending-state-e4RbXe9u.cjs +0 -75
  256. package/components/picker-DNde3awt.cjs +0 -672
  257. package/components/picker-PfUAF05y.js +0 -673
  258. package/components/platform-CxDar3Dn.cjs +0 -68
  259. package/components/platform-Cxn0WbyT.js +0 -69
  260. package/components/popover-BkbYhl3i.js +0 -74
  261. package/components/popover-BkgUf0kL.cjs +0 -74
  262. package/components/progress-circle-Hu_ivPHf.js +0 -133
  263. package/components/progress-circle-_Etqsj9f.cjs +0 -132
  264. package/components/roving-tabindex-AsmAh2In.cjs +0 -95
  265. package/components/roving-tabindex-DPF9NmrH.js +0 -96
  266. package/components/sized-mixin-DmkrNdWB.js +0 -80
  267. package/components/sized-mixin-UaTVa-AE.cjs +0 -79
  268. package/components/strategies-DlMlaSJR.cjs +0 -317
  269. package/components/strategies-DlPQoTFE.js +0 -318
  270. package/components/streaming-listener-D4sHaMub.cjs +0 -145
  271. package/components/streaming-listener-cAz5zJyk.js +0 -146
  272. package/components/text-field-11tcnftU.cjs +0 -338
  273. package/components/text-field-Chi9J2Cz.js +0 -339
  274. package/components/text-field.module-CMBS0jSL.js +0 -21
  275. package/components/text-field.module-DIJdV_sA.cjs +0 -20
@@ -0,0 +1,229 @@
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
+ import { b as o } from "./base-CFWO09N1.js";
19
+ const s = {
20
+ icon: [
21
+ 256,
22
+ 512,
23
+ "M120 327L4 209c-5-5-5-12 0-17l7-7c4-5 12-5 17 0l100 102 100-102c5-5 13-5 17 0l8 7c4 5 4 13 0 17L137 327c-5 5-13 5-17 0z"
24
+ ],
25
+ name: "angle-down"
26
+ }, v = {
27
+ icon: [
28
+ 256,
29
+ 512,
30
+ "M137 185l116 118c4 5 4 12 0 17l-8 7c-4 5-12 5-17 0L128 225 28 327c-5 5-13 5-17 0l-8-7c-4-5-4-13 0-17l117-118c4-5 12-5 17 0z"
31
+ ],
32
+ name: "angle-up"
33
+ }, z = {
34
+ icon: [
35
+ 196,
36
+ 512,
37
+ "M167 265L49 381c-5 4-12 4-17 0l-7-8c-5-4-5-12 0-17l102-100L25 156c-5-5-5-13 0-17l7-8c5-4 12-4 17 1l118 116c5 4 5 12 0 17z"
38
+ ],
39
+ name: "angle-right"
40
+ }, t = {
41
+ icon: [
42
+ 196,
43
+ 512,
44
+ "m25 265 118 116c5 4 12 4 17 0l7-8c5-4 5-12 0-17L65 256 167 156c5-5 5-13 0-17l-7-8c-5-4-12-4-17 1L25 248c-5 4-5 12 0 17z"
45
+ ],
46
+ name: "angle-left"
47
+ }, M = {
48
+ icon: [
49
+ 24,
50
+ 24,
51
+ "m6 6 16 16M3.3 4.7l7.3 7.3-7.3 7.3c-1 1 .5 2.3 1.4 1.4l7.3-7.3 7.3 7.3c1 1 2.3-.5 1.4-1.4L13.4 12l7.3-7.3c1-1-.5-2.3-1.4-1.4L12 10.6 4.7 3.3c-.9-1-2.3.5-1.4 1.4Z"
52
+ ],
53
+ name: "close-12"
54
+ }, A = {
55
+ icon: [
56
+ 28,
57
+ 28,
58
+ "m6 6 16 16M5.3 6.7l7.3 7.3-7.3 7.3c-1 1 .5 2.3 1.4 1.4l7.3-7.3 7.3 7.3c1 1 2.3-.5 1.4-1.4L15.4 14l7.3-7.3c1-1-.5-2.3-1.4-1.4L14 12.6 6.7 5.3c-.9-1-2.3.5-1.4 1.4Z"
59
+ ],
60
+ name: "close-14"
61
+ }, L = {
62
+ icon: [
63
+ 32,
64
+ 32,
65
+ "m6 6 16 16M5.3 6.7l9.3 9.3-9.3 9.3c-1 1 .5 2.3 1.4 1.4l9.3-9.3 9.3 9.3c1 1 2.3-.5 1.4-1.4L17.4 16l9.3-9.3c1-1-.5-2.3-1.4-1.4L16 14.6 6.7 5.3c-.9-1-2.3.5-1.4 1.4Z"
66
+ ],
67
+ name: "close-16"
68
+ }, Z = {
69
+ icon: [
70
+ 32,
71
+ 32,
72
+ "M30 4a3 3 0 0 0-4 0L12 21l-6-6a3 3 0 0 0-4 0 3 3 0 0 0 0 4l8 9a3 3 0 0 0 4 0L30 8a3 3 0 0 0 0-4z"
73
+ ],
74
+ name: "check"
75
+ }, g = {
76
+ icon: [32, 32, "M7 13a3 3 0 1 0 0 6h18a3 3 0 1 0 0-6H7z"],
77
+ name: "dash"
78
+ }, u = {
79
+ icon: [
80
+ 32,
81
+ 32,
82
+ "M16 2a1 1 0 0 0-.9.5l-14 26A1 1 0 0 0 2 30h28a1 1 0 0 0 1-1.5l-14.1-26A1 1 0 0 0 16 2zm-1 7h2c.6 0 1 .4 1 1v10.5c0 .6-.4 1-1 1h-2a1 1 0 0 1-1-1V10c0-.6.4-1 1-1zm0 14h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z"
83
+ ],
84
+ name: "alert"
85
+ }, C = {
86
+ icon: [
87
+ 32,
88
+ 32,
89
+ "M16 .51c-1.1 0-2.21.68-2.9 2.04l-12 24C-.2 29.15 1.2 32 5 32h22c3.8 0 5.2-2.85 3.9-5.45l-12-24C18.2 1.2 17.1.51 16 .51zm0 1.99c.4 0 .79.31 1.1.95l12 24c.72 1.43.04 2.55-2.1 2.55H5c-2.14 0-2.82-1.12-2.1-2.55l12-24c.31-.64.7-.95 1.1-.95zm0 7.52c-.5 0-1 .33-1 .98v10c0 1.3 2 1.3 2 0V11c0-.65-.5-.98-1-.98zM16 24a1.5 1.5 0 0 0-1.5 1.5A1.5 1.5 0 0 0 16 27a1.5 1.5 0 0 0 1.5-1.5A1.5 1.5 0 0 0 16 24z"
90
+ ],
91
+ name: "alert-outline"
92
+ }, $ = {
93
+ icon: [
94
+ 32,
95
+ 32,
96
+ "M 6 14 A 2 2 0 0 0 4 16 A 2 2 0 0 0 6 18 A 2 2 0 0 0 8 16 A 2 2 0 0 0 6 14 z M 16 14 A 2 2 0 0 0 14 16 A 2 2 0 0 0 16 18 A 2 2 0 0 0 18 16 A 2 2 0 0 0 16 14 z M 26 14 A 2 2 0 0 0 24 16 A 2 2 0 0 0 26 18 A 2 2 0 0 0 28 16 A 2 2 0 0 0 26 14 z"
97
+ ],
98
+ name: "ellipsis-horizontal"
99
+ }, f = {
100
+ icon: [
101
+ 32,
102
+ 32,
103
+ "M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm0 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM15 15v9c0 1.3 2 1.3 2 0v-9c0-1.3-2-1.3-2 0z"
104
+ ],
105
+ name: "info-circle-outline"
106
+ }, V = {
107
+ icon: [
108
+ 32,
109
+ 32,
110
+ "M31.4 2a1 1 0 0 0-1.1.3l-28 28A1 1 0 0 0 3 32h28c.6 0 1-.4 1-1V3a1 1 0 0 0-.6-1Z"
111
+ ],
112
+ name: "corner-triangle"
113
+ }, h = {
114
+ icon: [
115
+ 30,
116
+ 32,
117
+ "M8 1a1 1 0 0 0-1 1v2H5C2.26 4 0 6.26 0 9v17c0 2.75 2.25 5 5 5h20a5 5 0 0 0 5-5V9a5 5 0 0 0-5-5h-2V2a1 1 0 1 0-2 0v2H9V2a1 1 0 0 0-1-1ZM5 6h2v1a1 1 0 0 0 1 1 1 1 0 0 0 1-1V6h12v1a1 1 0 0 0 1 1 1 1 0 0 0 1-1V6h2c1.68 0 3 1.32 3 3v2H2V9c0-1.68 1.33-3 3-3zm-3 7h7v4H2Zm9 0h8v4h-8zm10 0h7v4h-7ZM2 19h7v4H2Zm9 0h8v4h-8zm10 0h7v4h-7ZM2 25h7v4H5c-1.67 0-3-1.32-3-3zm9 0h8v4h-8zm10 0h7v1c0 1.68-1.32 3-3 3h-4z"
118
+ ]
119
+ }, p = {
120
+ icon: h.icon,
121
+ name: "calendar"
122
+ }, x = {
123
+ icon: [
124
+ 32,
125
+ 32,
126
+ "M7 0C3.14 0 0 3.14 0 7v18c0 3.86 3.14 7 7 7h18a7 7 0 0 0 7-7V7c0-3.86-3.14-7-7-7zm18 8a2 2 0 0 1 1.41.59 2 2 0 0 1 0 2.82l-12 12a2 2 0 0 1-2.83 0l-5.99-6a2 2 0 0 1 0-2.82 2 2 0 0 1 2.83 0L13 19.17 23.6 8.6A2 2 0 0 1 25 8Z"
127
+ ],
128
+ name: "checkbox-checked"
129
+ }, b = {
130
+ icon: [
131
+ 32,
132
+ 32,
133
+ "M7 0a7 7 0 0 0-7 7v18a7 7 0 0 0 7 7h18a7 7 0 0 0 7-7V7a7 7 0 0 0-7-7zm0 2h18c2.79 0 5 2.22 5 5v18c0 2.79-2.21 5-5 5H7c-2.78 0-5-2.21-5-5V7c0-2.78 2.22-5 5-5z"
134
+ ],
135
+ name: "checkbox"
136
+ }, w = {
137
+ icon: [
138
+ 32,
139
+ 32,
140
+ "M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm5.2 8.4-6.3 9-4.2-4.1c-1-1-2.3.5-1.4 1.4l5 5a1 1 0 0 0 1.5-.1l7-10c.8-1.1-.9-2.2-1.6-1.2z"
141
+ ],
142
+ name: "check-circle-outline"
143
+ }, d = {
144
+ icon: [
145
+ 24,
146
+ 24,
147
+ "M9.8 0C4.4 0 0 4.4 0 9.8a9.81 9.81 0 0 0 15.98 7.59l6.3 6.32a1 1 0 0 0 1.43 0 1 1 0 0 0 0-1.42l-6.32-6.3A9.81 9.81 0 0 0 9.8 0Zm0 2c4.32 0 7.8 3.48 7.8 7.8s-3.48 7.8-7.8 7.8A7.79 7.79 0 1 1 9.8 2z"
148
+ ],
149
+ name: "search-12"
150
+ }, H = {
151
+ icon: [
152
+ 28,
153
+ 28,
154
+ "M11.4 0C5.12 0 0 5.12 0 11.4c0 6.3 5.12 11.4 11.4 11.4a11.2 11.2 0 0 0 7.22-2.77l7.68 7.69a1 1 0 0 0 1.66-.46 1 1 0 0 0-.24-.96l-7.69-7.68a11.2 11.2 0 0 0 2.78-7.22C22.8 5.12 17.69 0 11.4 0Zm0 2c5.21 0 9.4 4.2 9.4 9.4 0 5.21-4.19 9.4-9.4 9.4-5.2 0-9.4-4.19-9.4-9.4C2 6.2 6.2 2 11.4 2Z"
155
+ ],
156
+ name: "search-14"
157
+ }, k = {
158
+ icon: [
159
+ 32,
160
+ 32,
161
+ "M21.3 21.3a1 1 0 0 0 0 1.41l9 9a1 1 0 0 0 1.4 0 1 1 0 0 0 0-1.41l-8.99-9a1 1 0 0 0-1.42 0zM13 0C5.83 0 0 5.83 0 13s5.83 13 13 13 13-5.83 13-13S20.17 0 13 0Zm0 2c6.09 0 11 4.91 11 11S19.1 24 13 24 2 19.1 2 13 6.91 2 13 2z"
162
+ ],
163
+ name: "search"
164
+ }, y = {
165
+ icon: [
166
+ 24,
167
+ 24,
168
+ "m7 7 14 14M5 7l4.9 5-5 5c-1.3 1.3.8 3.4 2.2 2l4.9-4.9 5 5c1.3 1.3 3.4-.8 2-2.2L14.2 12l5-5c1.3-1.3-.8-3.4-2.2-2L12 9.8l-5-5c-1.3-1.3-3.5.8-2 2.2Z"
169
+ ],
170
+ name: "clear-12"
171
+ }, S = {
172
+ icon: [
173
+ 28,
174
+ 28,
175
+ "m6 8 5.9 6-6 6c-1.3 1.3.8 3.4 2.2 2l5.9-5.9 6 6c1.3 1.3 3.4-.8 2-2.2L16.2 14l6-6c1.3-1.3-.8-3.4-2.2-2L14 11.8l-6-6c-1.3-1.3-3.5.8-2 2.2Z"
176
+ ],
177
+ name: "clear-14"
178
+ }, T = {
179
+ icon: [
180
+ 32,
181
+ 32,
182
+ "m6.6 9.4 6.6 6.6-6.6 6.6c-1.9 1.8 1 4.7 2.8 2.8l6.6-6.6 6.6 6.6c1.8 1.9 4.7-1 2.8-2.8L18.8 16l6.6-6.6c1.9-1.9-1-4.6-2.8-2.8L16 13.2 9.4 6.6c-1.8-1.8-4.7 1-2.8 2.8Z"
183
+ ],
184
+ name: "clear-16"
185
+ };
186
+ function B(c, { prefix: a, className: l, color: i } = {}) {
187
+ return o`<svg
188
+ aria-hidden="true"
189
+ focusable="false"
190
+ data-icon="${c.name}"
191
+ role="img"
192
+ xmlns="http://www.w3.org/2000/svg"
193
+ viewBox="0 0 ${c.icon[0]} ${c.icon[1]}"
194
+ class="${l ? l + " " : ""}${a || "luzmo-icon"} ${a || "luzmo-icon"}-${c.name}"
195
+ style="overflow: visible; box-sizing: content-box;height: 1em; vertical-align: var(--luzmo-icon-vertical-align, var(--icon-vertical-align, -.125em));"
196
+ fill="${i || "currentColor"}">
197
+ ${(Array.isArray(c.icon[2]) ? c.icon[2] : [c.icon[2]]).map((m, n) => {
198
+ var e;
199
+ return o`<path d="${m}" style="fill:${c.icon[3] && (e = c.icon[3]) != null && e[n] ? c.icon[3][n] : "currentColor"}"></path>`;
200
+ })}
201
+ </svg>`;
202
+ }
203
+ export {
204
+ u as $,
205
+ L as B,
206
+ w as C,
207
+ Z as F,
208
+ C as I,
209
+ $ as K,
210
+ g as R,
211
+ z as S,
212
+ B as T,
213
+ M as a,
214
+ A as b,
215
+ s as c,
216
+ v as d,
217
+ y as f,
218
+ k as h,
219
+ t as k,
220
+ d as l,
221
+ H as n,
222
+ p as o,
223
+ f as p,
224
+ x as v,
225
+ S as w,
226
+ T as x,
227
+ V as y,
228
+ b as z
229
+ };
@@ -0,0 +1,29 @@
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 o=require("./base-Cy0MQrPT.cjs"),h={icon:[256,512,"M120 327L4 209c-5-5-5-12 0-17l7-7c4-5 12-5 17 0l100 102 100-102c5-5 13-5 17 0l8 7c4 5 4 13 0 17L137 327c-5 5-13 5-17 0z"],name:"angle-down"},r={icon:[256,512,"M137 185l116 118c4 5 4 12 0 17l-8 7c-4 5-12 5-17 0L128 225 28 327c-5 5-13 5-17 0l-8-7c-4-5-4-13 0-17l117-118c4-5 12-5 17 0z"],name:"angle-up"},v={icon:[196,512,"M167 265L49 381c-5 4-12 4-17 0l-7-8c-5-4-5-12 0-17l102-100L25 156c-5-5-5-13 0-17l7-8c5-4 12-4 17 1l118 116c5 4 5 12 0 17z"],name:"angle-right"},z={icon:[196,512,"m25 265 118 116c5 4 12 4 17 0l7-8c5-4 5-12 0-17L65 256 167 156c5-5 5-13 0-17l-7-8c-5-4-12-4-17 1L25 248c-5 4-5 12 0 17z"],name:"angle-left"},t={icon:[24,24,"m6 6 16 16M3.3 4.7l7.3 7.3-7.3 7.3c-1 1 .5 2.3 1.4 1.4l7.3-7.3 7.3 7.3c1 1 2.3-.5 1.4-1.4L13.4 12l7.3-7.3c1-1-.5-2.3-1.4-1.4L12 10.6 4.7 3.3c-.9-1-2.3.5-1.4 1.4Z"],name:"close-12"},s={icon:[28,28,"m6 6 16 16M5.3 6.7l7.3 7.3-7.3 7.3c-1 1 .5 2.3 1.4 1.4l7.3-7.3 7.3 7.3c1 1 2.3-.5 1.4-1.4L15.4 14l7.3-7.3c1-1-.5-2.3-1.4-1.4L14 12.6 6.7 5.3c-.9-1-2.3.5-1.4 1.4Z"],name:"close-14"},M={icon:[32,32,"m6 6 16 16M5.3 6.7l9.3 9.3-9.3 9.3c-1 1 .5 2.3 1.4 1.4l9.3-9.3 9.3 9.3c1 1 2.3-.5 1.4-1.4L17.4 16l9.3-9.3c1-1-.5-2.3-1.4-1.4L16 14.6 6.7 5.3c-.9-1-2.3.5-1.4 1.4Z"],name:"close-16"},A={icon:[32,32,"M30 4a3 3 0 0 0-4 0L12 21l-6-6a3 3 0 0 0-4 0 3 3 0 0 0 0 4l8 9a3 3 0 0 0 4 0L30 8a3 3 0 0 0 0-4z"],name:"check"},L={icon:[32,32,"M7 13a3 3 0 1 0 0 6h18a3 3 0 1 0 0-6H7z"],name:"dash"},Z={icon:[32,32,"M16 2a1 1 0 0 0-.9.5l-14 26A1 1 0 0 0 2 30h28a1 1 0 0 0 1-1.5l-14.1-26A1 1 0 0 0 16 2zm-1 7h2c.6 0 1 .4 1 1v10.5c0 .6-.4 1-1 1h-2a1 1 0 0 1-1-1V10c0-.6.4-1 1-1zm0 14h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1z"],name:"alert"},u={icon:[32,32,"M16 .51c-1.1 0-2.21.68-2.9 2.04l-12 24C-.2 29.15 1.2 32 5 32h22c3.8 0 5.2-2.85 3.9-5.45l-12-24C18.2 1.2 17.1.51 16 .51zm0 1.99c.4 0 .79.31 1.1.95l12 24c.72 1.43.04 2.55-2.1 2.55H5c-2.14 0-2.82-1.12-2.1-2.55l12-24c.31-.64.7-.95 1.1-.95zm0 7.52c-.5 0-1 .33-1 .98v10c0 1.3 2 1.3 2 0V11c0-.65-.5-.98-1-.98zM16 24a1.5 1.5 0 0 0-1.5 1.5A1.5 1.5 0 0 0 16 27a1.5 1.5 0 0 0 1.5-1.5A1.5 1.5 0 0 0 16 24z"],name:"alert-outline"},g={icon:[32,32,"M 6 14 A 2 2 0 0 0 4 16 A 2 2 0 0 0 6 18 A 2 2 0 0 0 8 16 A 2 2 0 0 0 6 14 z M 16 14 A 2 2 0 0 0 14 16 A 2 2 0 0 0 16 18 A 2 2 0 0 0 18 16 A 2 2 0 0 0 16 14 z M 26 14 A 2 2 0 0 0 24 16 A 2 2 0 0 0 26 18 A 2 2 0 0 0 28 16 A 2 2 0 0 0 26 14 z"],name:"ellipsis-horizontal"},C={icon:[32,32,"M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm0 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM15 15v9c0 1.3 2 1.3 2 0v-9c0-1.3-2-1.3-2 0z"],name:"info-circle-outline"},$={icon:[32,32,"M31.4 2a1 1 0 0 0-1.1.3l-28 28A1 1 0 0 0 3 32h28c.6 0 1-.4 1-1V3a1 1 0 0 0-.6-1Z"],name:"corner-triangle"},V={icon:[30,32,"M8 1a1 1 0 0 0-1 1v2H5C2.26 4 0 6.26 0 9v17c0 2.75 2.25 5 5 5h20a5 5 0 0 0 5-5V9a5 5 0 0 0-5-5h-2V2a1 1 0 1 0-2 0v2H9V2a1 1 0 0 0-1-1ZM5 6h2v1a1 1 0 0 0 1 1 1 1 0 0 0 1-1V6h12v1a1 1 0 0 0 1 1 1 1 0 0 0 1-1V6h2c1.68 0 3 1.32 3 3v2H2V9c0-1.68 1.33-3 3-3zm-3 7h7v4H2Zm9 0h8v4h-8zm10 0h7v4h-7ZM2 19h7v4H2Zm9 0h8v4h-8zm10 0h7v4h-7ZM2 25h7v4H5c-1.67 0-3-1.32-3-3zm9 0h8v4h-8zm10 0h7v1c0 1.68-1.32 3-3 3h-4z"]},b={icon:V.icon,name:"calendar"},f={icon:[32,32,"M7 0C3.14 0 0 3.14 0 7v18c0 3.86 3.14 7 7 7h18a7 7 0 0 0 7-7V7c0-3.86-3.14-7-7-7zm18 8a2 2 0 0 1 1.41.59 2 2 0 0 1 0 2.82l-12 12a2 2 0 0 1-2.83 0l-5.99-6a2 2 0 0 1 0-2.82 2 2 0 0 1 2.83 0L13 19.17 23.6 8.6A2 2 0 0 1 25 8Z"],name:"checkbox-checked"},w={icon:[32,32,"M7 0a7 7 0 0 0-7 7v18a7 7 0 0 0 7 7h18a7 7 0 0 0 7-7V7a7 7 0 0 0-7-7zm0 2h18c2.79 0 5 2.22 5 5v18c0 2.79-2.21 5-5 5H7c-2.78 0-5-2.21-5-5V7c0-2.78 2.22-5 5-5z"],name:"checkbox"},x={icon:[32,32,"M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm5.2 8.4-6.3 9-4.2-4.1c-1-1-2.3.5-1.4 1.4l5 5a1 1 0 0 0 1.5-.1l7-10c.8-1.1-.9-2.2-1.6-1.2z"],name:"check-circle-outline"},p={icon:[24,24,"M9.8 0C4.4 0 0 4.4 0 9.8a9.81 9.81 0 0 0 15.98 7.59l6.3 6.32a1 1 0 0 0 1.43 0 1 1 0 0 0 0-1.42l-6.32-6.3A9.81 9.81 0 0 0 9.8 0Zm0 2c4.32 0 7.8 3.48 7.8 7.8s-3.48 7.8-7.8 7.8A7.79 7.79 0 1 1 9.8 2z"],name:"search-12"},H={icon:[28,28,"M11.4 0C5.12 0 0 5.12 0 11.4c0 6.3 5.12 11.4 11.4 11.4a11.2 11.2 0 0 0 7.22-2.77l7.68 7.69a1 1 0 0 0 1.66-.46 1 1 0 0 0-.24-.96l-7.69-7.68a11.2 11.2 0 0 0 2.78-7.22C22.8 5.12 17.69 0 11.4 0Zm0 2c5.21 0 9.4 4.2 9.4 9.4 0 5.21-4.19 9.4-9.4 9.4-5.2 0-9.4-4.19-9.4-9.4C2 6.2 6.2 2 11.4 2Z"],name:"search-14"},d={icon:[32,32,"M21.3 21.3a1 1 0 0 0 0 1.41l9 9a1 1 0 0 0 1.4 0 1 1 0 0 0 0-1.41l-8.99-9a1 1 0 0 0-1.42 0zM13 0C5.83 0 0 5.83 0 13s5.83 13 13 13 13-5.83 13-13S20.17 0 13 0Zm0 2c6.09 0 11 4.91 11 11S19.1 24 13 24 2 19.1 2 13 6.91 2 13 2z"],name:"search"},k={icon:[24,24,"m7 7 14 14M5 7l4.9 5-5 5c-1.3 1.3.8 3.4 2.2 2l4.9-4.9 5 5c1.3 1.3 3.4-.8 2-2.2L14.2 12l5-5c1.3-1.3-.8-3.4-2.2-2L12 9.8l-5-5c-1.3-1.3-3.5.8-2 2.2Z"],name:"clear-12"},y={icon:[28,28,"m6 8 5.9 6-6 6c-1.3 1.3.8 3.4 2.2 2l5.9-5.9 6 6c1.3 1.3 3.4-.8 2-2.2L16.2 14l6-6c1.3-1.3-.8-3.4-2.2-2L14 11.8l-6-6c-1.3-1.3-3.5.8-2 2.2Z"],name:"clear-14"},S={icon:[32,32,"m6.6 9.4 6.6 6.6-6.6 6.6c-1.9 1.8 1 4.7 2.8 2.8l6.6-6.6 6.6 6.6c1.8 1.9 4.7-1 2.8-2.8L18.8 16l6.6-6.6c1.9-1.9-1-4.6-2.8-2.8L16 13.2 9.4 6.6c-1.8-1.8-4.7 1-2.8 2.8Z"],name:"clear-16"};function T(c,{prefix:a,className:l,color:i}={}){return o.b`<svg
19
+ aria-hidden="true"
20
+ focusable="false"
21
+ data-icon="${c.name}"
22
+ role="img"
23
+ xmlns="http://www.w3.org/2000/svg"
24
+ viewBox="0 0 ${c.icon[0]} ${c.icon[1]}"
25
+ class="${l?l+" ":""}${a||"luzmo-icon"} ${a||"luzmo-icon"}-${c.name}"
26
+ style="overflow: visible; box-sizing: content-box;height: 1em; vertical-align: var(--luzmo-icon-vertical-align, var(--icon-vertical-align, -.125em));"
27
+ fill="${i||"currentColor"}">
28
+ ${(Array.isArray(c.icon[2])?c.icon[2]:[c.icon[2]]).map((m,n)=>{var e;return o.b`<path d="${m}" style="fill:${c.icon[3]&&(e=c.icon[3])!=null&&e[n]?c.icon[3][n]:"currentColor"}"></path>`})}
29
+ </svg>`}exports.$=Z;exports.B=M;exports.C0=x;exports.F=A;exports.I=u;exports.K=g;exports.R=L;exports.S=v;exports.T=h;exports.T3=T;exports.b=r;exports.f2=k;exports.h2=d;exports.k=z;exports.l2=p;exports.n2=H;exports.o0=b;exports.p1=C;exports.v0=f;exports.w=t;exports.w2=y;exports.x=s;exports.x2=S;exports.y1=$;exports.z0=w;
@@ -0,0 +1,92 @@
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
+ import { x as r } from "./base-CFWO09N1.js";
19
+ import { o as d } from "./if-defined-DULpqYwi.js";
20
+ import { c as a } from "./condition-attribute-with-id-Dv4lSRbe.js";
21
+ import { r as n } from "./random-id-ByCz1xaq.js";
22
+ class l {
23
+ constructor(e, { mode: i } = { mode: "internal" }) {
24
+ this.mode = "internal", this.handleSlotchange = ({
25
+ target: t
26
+ }) => {
27
+ this.handleHelpText(t), this.handleNegativeHelpText(t);
28
+ }, this.host = e, this.id = `luzmo-help-text-${n()}`, this.mode = i;
29
+ }
30
+ get isInternal() {
31
+ return this.mode === "internal";
32
+ }
33
+ render(e) {
34
+ return r`
35
+ <div
36
+ id=${d(this.isInternal ? this.id : void 0)}
37
+ aria-live="assertive"
38
+ >
39
+ <slot
40
+ name=${e ? "negative-help-text" : `pass-through-help-text-${n()}`}
41
+ @slotchange=${this.handleSlotchange}
42
+ >
43
+ <slot name="help-text"></slot>
44
+ </slot>
45
+ </div>
46
+ `;
47
+ }
48
+ addId() {
49
+ const e = this.helpTextElement ? this.helpTextElement.id : this.id;
50
+ this.conditionId = a(
51
+ this.host,
52
+ "aria-describedby",
53
+ e
54
+ ), this.host.hasAttribute("tabindex") && (this.previousTabindex = Number.parseFloat(
55
+ this.host.getAttribute("tabindex")
56
+ )), this.host.tabIndex = 0;
57
+ }
58
+ removeId() {
59
+ this.conditionId && (this.conditionId(), delete this.conditionId), !this.helpTextElement && (this.previousTabindex ? this.host.tabIndex = this.previousTabindex : this.host.removeAttribute("tabindex"));
60
+ }
61
+ handleHelpText(e) {
62
+ if (this.isInternal)
63
+ return;
64
+ this.helpTextElement && this.helpTextElement.id === this.id && this.helpTextElement.removeAttribute("id"), this.removeId();
65
+ const t = e.assignedElements()[0];
66
+ this.helpTextElement = t, t && (t.id || (t.id = this.id), this.addId());
67
+ }
68
+ handleNegativeHelpText(e) {
69
+ if (e.name !== "negative-help-text")
70
+ return;
71
+ e.assignedElements().forEach(
72
+ (t) => t.variant = "negative"
73
+ );
74
+ }
75
+ }
76
+ function u(s, { mode: e } = { mode: "internal" }) {
77
+ class i extends s {
78
+ constructor() {
79
+ super(...arguments), this.helpTextManager = new l(this, { mode: e });
80
+ }
81
+ get helpTextId() {
82
+ return this.helpTextManager.id;
83
+ }
84
+ renderHelpText(h) {
85
+ return this.helpTextManager.render(h);
86
+ }
87
+ }
88
+ return i;
89
+ }
90
+ export {
91
+ u as M
92
+ };
@@ -0,0 +1,30 @@
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 d=require("./base-Cy0MQrPT.cjs"),r=require("./if-defined-DaXWqfzc.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
+ <div
20
+ id=${r.o(this.isInternal?this.id:void 0)}
21
+ aria-live="assertive"
22
+ >
23
+ <slot
24
+ name=${e?"negative-help-text":`pass-through-help-text-${s.randomID()}`}
25
+ @slotchange=${this.handleSlotchange}
26
+ >
27
+ <slot name="help-text"></slot>
28
+ </slot>
29
+ </div>
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;