@luzmo/lucero 2.7.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/components/accordion/index.cjs +1 -1
  2. package/components/accordion/index.js +1 -1
  3. package/components/{accordion-BJLsCC-2.js → accordion-C9cVd8A8.js} +1 -1
  4. package/components/{accordion-OQ0RoC_7.cjs → accordion-DulsAsi7.cjs} +1 -1
  5. package/components/action-bar/index.cjs +1 -1
  6. package/components/action-bar/index.js +1 -1
  7. package/components/{action-bar-Dyt2tyjr.cjs → action-bar-BjTUUATD.cjs} +1 -1
  8. package/components/{action-bar-B-Y-gJ8B.js → action-bar-XpNzXzkl.js} +4 -4
  9. package/components/action-button/index.cjs +1 -1
  10. package/components/action-button/index.js +1 -1
  11. package/components/{action-button-CL4ZlryE.cjs → action-button-Cz4jSv__.cjs} +1 -1
  12. package/components/{action-button-BB3ZZFNN.js → action-button-LmKtPKfe.js} +1 -1
  13. package/components/action-group/index.cjs +1 -1
  14. package/components/action-group/index.js +1 -1
  15. package/components/{action-group-HECoPCas.js → action-group-CPxKx_oR.js} +1 -1
  16. package/components/{action-group-Doll-3Bf.cjs → action-group-DBxQJRLs.cjs} +1 -1
  17. package/components/action-menu/index.cjs +1 -1
  18. package/components/action-menu/index.js +1 -1
  19. package/components/{action-menu-DphCCjvX.cjs → action-menu-BFy0mEyu.cjs} +1 -1
  20. package/components/{action-menu-Bv9EA7__.js → action-menu-CT0OYS56.js} +3 -3
  21. package/components/avatar/index.cjs +1 -1
  22. package/components/avatar/index.js +1 -1
  23. package/components/{avatar-CVRQDsx6.js → avatar-BEk23sDA.js} +1 -1
  24. package/components/{avatar-DFzJbtId.cjs → avatar-C9EAInfy.cjs} +1 -1
  25. package/components/badge/index.cjs +1 -1
  26. package/components/badge/index.js +1 -1
  27. package/components/{badge-DzElGOcl.cjs → badge-CPpKOWh2.cjs} +1 -1
  28. package/components/{badge-BSfzmBRf.js → badge-bODlaAG_.js} +1 -1
  29. package/components/button/index.cjs +1 -1
  30. package/components/button/index.js +2 -2
  31. package/components/{button-CpaltgRZ.js → button-5jzMIMLW.js} +3 -3
  32. package/components/{button-BGEWdRbY.cjs → button-CjgL13CD.cjs} +1 -1
  33. package/components/button-group/index.cjs +1 -1
  34. package/components/button-group/index.js +1 -1
  35. package/components/{button-group-DMsT6N0P.js → button-group-B59rXxDn.js} +1 -1
  36. package/components/{button-group-C23OtGC0.cjs → button-group-DxMfPmBg.cjs} +1 -1
  37. package/components/calendar/index.cjs +1 -1
  38. package/components/calendar/index.js +1 -1
  39. package/components/{calendar-BqyGW8gU.cjs → calendar-4h_Fe-mw.cjs} +1 -1
  40. package/components/{calendar-D4x5gp_0.js → calendar-5V1hrKWy.js} +2 -2
  41. package/components/chat-message/index.cjs +1 -1
  42. package/components/chat-message/index.js +1 -1
  43. package/components/{chat-message-5gP_qbiz.js → chat-message--nzqHl6e.js} +1 -1
  44. package/components/{chat-message-Dn5GKsSD.cjs → chat-message-BzSel33p.cjs} +1 -1
  45. package/components/chat-message-group/index.cjs +1 -1
  46. package/components/chat-message-group/index.js +1 -1
  47. package/components/{chat-message-group-Bp4mshBY.js → chat-message-group-BIXlrlYi.js} +1 -1
  48. package/components/{chat-message-group-CJddlS85.cjs → chat-message-group-DLkSlQah.cjs} +1 -1
  49. package/components/checkbox/checkbox.d.ts +2 -0
  50. package/components/checkbox/index.cjs +1 -1
  51. package/components/checkbox/index.js +1 -1
  52. package/components/{checkbox-NSSgVzJg.cjs → checkbox-CFQqGnDX.cjs} +1 -1
  53. package/components/{checkbox-fW7WI915.js → checkbox-D884zXBt.js} +1 -1
  54. package/components/{close-button-7zS6PUzh.js → close-button-Bw8knwnc.js} +1 -1
  55. package/components/{close-button-B06i2hJn.cjs → close-button-DhHKKvHu.cjs} +1 -1
  56. package/components/color-area/index.cjs +1 -1
  57. package/components/color-area/index.js +1 -1
  58. package/components/{color-area-CFBE-rG3.cjs → color-area-Dnq-HQ-1.cjs} +1 -1
  59. package/components/{color-area-GGa8KJyd.js → color-area-QSGfRi4o.js} +2 -2
  60. package/components/color-field/index.cjs +1 -1
  61. package/components/color-field/index.js +1 -1
  62. package/components/{color-field-l-aJ6O4a.cjs → color-field-B-GC4H0K.cjs} +1 -1
  63. package/components/{color-field-BZljmVHt.js → color-field-vmTnlDec.js} +1 -1
  64. package/components/color-menu/index.cjs +1 -1
  65. package/components/color-menu/index.js +1 -1
  66. package/components/{color-menu-C56xj5Oe.cjs → color-menu-DGWGb0iH.cjs} +1 -1
  67. package/components/{color-menu-CEtmpeN7.js → color-menu-DthtTlKd.js} +7 -7
  68. package/components/color-palette/index.cjs +1 -1
  69. package/components/color-palette/index.js +1 -1
  70. package/components/{color-palette-D5NZDz5I.cjs → color-palette-C4Y8VU9j.cjs} +1 -1
  71. package/components/{color-palette-UU7Feiwh.js → color-palette-UnwRum-W.js} +1 -1
  72. package/components/color-palette-group/index.cjs +1 -1
  73. package/components/color-palette-group/index.js +1 -1
  74. package/components/{color-palette-group-DhGh0Db8.cjs → color-palette-group-BiPNlMgu.cjs} +1 -1
  75. package/components/{color-palette-group-CwmC9iR1.js → color-palette-group-jhNz9Gto.js} +1 -1
  76. package/components/color-picker/index.cjs +1 -1
  77. package/components/color-picker/index.js +1 -1
  78. package/components/{color-picker-CLGNQIkK.cjs → color-picker-Bu0IOUj-.cjs} +1 -1
  79. package/components/{color-picker-BDqJodTR.js → color-picker-DbAIgjDv.js} +4 -4
  80. package/components/color-slider/index.cjs +1 -1
  81. package/components/color-slider/index.js +1 -1
  82. package/components/{color-slider-DNd_ZrD6.js → color-slider-BGnaMhIf.js} +1 -1
  83. package/components/{color-slider-IYBn2DL7.cjs → color-slider-BuhOIoUI.cjs} +1 -1
  84. package/components/date-range-picker/index.cjs +1 -1
  85. package/components/date-range-picker/index.js +1 -1
  86. package/components/{date-range-picker-DyJdcFiA.cjs → date-range-picker-B7J_RFW6.cjs} +1 -1
  87. package/components/{date-range-picker-CoCz3uDz.js → date-range-picker-BilkNV82.js} +4 -4
  88. package/components/date-time-picker/index.cjs +1 -1
  89. package/components/date-time-picker/index.js +1 -1
  90. package/components/{date-time-picker-CEEeMXGn.cjs → date-time-picker-BNUIfpzG.cjs} +1 -1
  91. package/components/{date-time-picker-CsgO17tA.js → date-time-picker-DOsLR0EN.js} +4 -4
  92. package/components/divider/index.cjs +1 -1
  93. package/components/divider/index.js +1 -1
  94. package/components/{divider-fWGUxO6A.cjs → divider-BS5chsgx.cjs} +1 -1
  95. package/components/{divider-Bt0NIqfu.js → divider-CJRCMeKA.js} +1 -1
  96. package/components/field-label/index.cjs +1 -1
  97. package/components/field-label/index.js +1 -1
  98. package/components/{field-label-B3IsGUTv.cjs → field-label-61lILUqu.cjs} +1 -1
  99. package/components/{field-label-DOUnHwwh.js → field-label-B_VLKIJn.js} +1 -1
  100. package/components/index.cjs +1 -1
  101. package/components/index.js +72 -71
  102. package/components/infield-button/index.cjs +1 -1
  103. package/components/infield-button/index.js +1 -1
  104. package/components/{infield-button-uD1GqTLW.cjs → infield-button-B0qcV4gq.cjs} +1 -1
  105. package/components/{infield-button-CeE_JxR6.js → infield-button-CcaKuxAs.js} +1 -1
  106. package/components/{interaction-BjXWVy_C.cjs → interaction--DdZDJnw.cjs} +1 -1
  107. package/components/{interaction-BpCLJ1OV.js → interaction-DF63SBSQ.js} +1 -1
  108. package/components/menu/index.cjs +1 -1
  109. package/components/menu/index.js +1 -1
  110. package/components/{menu-f2S0m6h9.js → menu-CM-ZA_ZM.js} +1 -1
  111. package/components/{menu-CoJ5oERs.cjs → menu-tDMNLuND.cjs} +1 -1
  112. package/components/multi-language-field/index.cjs +1 -1
  113. package/components/multi-language-field/index.js +1 -1
  114. package/components/{multi-language-field-SZObnneZ.js → multi-language-field-B6Ne8_Yw.js} +2 -2
  115. package/components/{multi-language-field-nJmWDtPL.cjs → multi-language-field-C5C5yS94.cjs} +1 -1
  116. package/components/notice/index.cjs +1 -1
  117. package/components/notice/index.js +1 -1
  118. package/components/{notice-CrLVNmqL.js → notice-62Wpb7BH.js} +2 -2
  119. package/components/{notice-f0p0TiGw.cjs → notice-DrrmwMlw.cjs} +1 -1
  120. package/components/number-field/index.cjs +1 -1
  121. package/components/number-field/index.js +1 -1
  122. package/components/{number-field-BEt0cfcB.js → number-field-CMM5MC2R.js} +2 -2
  123. package/components/{number-field-DrarDCm4.cjs → number-field-N6nInW0X.cjs} +1 -1
  124. package/components/options/index.cjs +1 -1
  125. package/components/options/index.js +1 -1
  126. package/components/{options-BH_Y3UB6.cjs → options-CsRLHwaY.cjs} +1 -1
  127. package/components/{options-BiA2h1-i.js → options-DtJTjiP8.js} +2 -2
  128. package/components/{pending-state-A6NrvaQj.cjs → pending-state-CQuz9Qiv.cjs} +1 -1
  129. package/components/{pending-state-BuYmUP6G.js → pending-state-KsPO-6Ei.js} +1 -1
  130. package/components/permission-box/index.cjs +18 -0
  131. package/components/permission-box/index.d.ts +9 -0
  132. package/components/permission-box/index.js +19 -0
  133. package/components/permission-box/permission-box.d.ts +157 -0
  134. package/components/permission-box/types.d.ts +73 -0
  135. package/components/permission-box-BsmcqGnU.cjs +176 -0
  136. package/components/permission-box-yUZKSyS9.js +405 -0
  137. package/components/picker/index.cjs +1 -1
  138. package/components/picker/index.js +1 -1
  139. package/components/picker-button/index.cjs +1 -1
  140. package/components/picker-button/index.js +1 -1
  141. package/components/{picker-button-BWDfzx38.cjs → picker-button-CEo39nlA.cjs} +1 -1
  142. package/components/{picker-button-BhfY9gyk.js → picker-button-svME8NW2.js} +1 -1
  143. package/components/{picker-Dd25S3rP.cjs → picker-h0nO2GgS.cjs} +1 -1
  144. package/components/{picker-JhsRAtSd.js → picker-nWTz5f1J.js} +5 -5
  145. package/components/popover/index.cjs +1 -1
  146. package/components/popover/index.js +1 -1
  147. package/components/{popover-CFzz83f8.cjs → popover-6Qy-GpJj.cjs} +1 -1
  148. package/components/{popover-CWrRLzOL.js → popover-BdoJqBC5.js} +1 -1
  149. package/components/progress-bar/index.cjs +1 -1
  150. package/components/progress-bar/index.js +1 -1
  151. package/components/{progress-bar-D6wIZV5l.js → progress-bar-Bc5zjNDp.js} +1 -1
  152. package/components/{progress-bar-9Qg0PYAq.cjs → progress-bar-BsBnhg4r.cjs} +1 -1
  153. package/components/progress-circle/index.cjs +1 -1
  154. package/components/progress-circle/index.js +1 -1
  155. package/components/{progress-circle-DcGKwBTC.js → progress-circle-C5UOMP96.js} +1 -1
  156. package/components/{progress-circle-C_9UZs2Y.cjs → progress-circle-D-JW7zZS.cjs} +1 -1
  157. package/components/progress-steps/index.cjs +1 -1
  158. package/components/progress-steps/index.js +1 -1
  159. package/components/{progress-steps-Byem5ieS.js → progress-steps-BwV4fEcH.js} +1 -1
  160. package/components/{progress-steps-5MhpnGKv.cjs → progress-steps-l0tbGl3P.cjs} +1 -1
  161. package/components/prompt-box/index.cjs +1 -1
  162. package/components/prompt-box/index.js +1 -1
  163. package/components/{prompt-box-B1rmo4DX.cjs → prompt-box-B3gDbsQo.cjs} +1 -1
  164. package/components/{prompt-box-CL0ld3Na.js → prompt-box-BUMtyCsa.js} +4 -4
  165. package/components/question-box/index.cjs +1 -1
  166. package/components/question-box/index.js +1 -1
  167. package/components/question-box/question-box-templates.d.ts +1 -1
  168. package/components/{question-box-DmTWFlRn.cjs → question-box-C7oXNWje.cjs} +59 -59
  169. package/components/{question-box-CxzEveid.js → question-box-wYSFkVoP.js} +171 -179
  170. package/components/radio/index.cjs +1 -1
  171. package/components/radio/index.js +1 -1
  172. package/components/{radio-CyxICbLM.js → radio-B_oHwHgO.js} +1 -1
  173. package/components/{radio-Dd-GgUMm.cjs → radio-DJmITM2m.cjs} +1 -1
  174. package/components/search/index.cjs +1 -1
  175. package/components/search/index.js +1 -1
  176. package/components/{search-1KUNWKWg.cjs → search-CXuXsgJt.cjs} +1 -1
  177. package/components/{search-_NUUJLz0.js → search-Dl5y1IqM.js} +2 -2
  178. package/components/select/index.cjs +1 -1
  179. package/components/select/index.js +1 -1
  180. package/components/{select-ChM3Zfxd.cjs → select-Dm7rf5Un.cjs} +1 -1
  181. package/components/{select-8gtm46qA.js → select-lS54kKFO.js} +6 -6
  182. package/components/{sized-mixin-CSajkMro.cjs → sized-mixin-BqV6ywDw.cjs} +1 -1
  183. package/components/{sized-mixin-BmxIAuoH.js → sized-mixin-Cb-47MjG.js} +17 -1
  184. package/components/slider/index.cjs +1 -1
  185. package/components/slider/index.js +1 -1
  186. package/components/{slider-B1cCAj1x.cjs → slider-B9rBCFmR.cjs} +1 -1
  187. package/components/{slider-CD-aGN9I.js → slider-BDLAmlBf.js} +3 -3
  188. package/components/split-view/controllers/pane-visibility-controller.d.ts +22 -0
  189. package/components/split-view/controllers/size-memory-controller.d.ts +28 -0
  190. package/components/split-view/index.cjs +1 -1
  191. package/components/split-view/index.d.ts +1 -0
  192. package/components/split-view/index.js +1 -1
  193. package/components/split-view/split-view-model.d.ts +2 -0
  194. package/components/split-view/split-view.d.ts +85 -7
  195. package/components/split-view-Dr0Bef6i.cjs +45 -0
  196. package/components/split-view-akatWAkc.js +565 -0
  197. package/components/status-light/index.cjs +1 -1
  198. package/components/status-light/index.js +1 -1
  199. package/components/{status-light-Do6z53mM.cjs → status-light-CtETRd_o.cjs} +1 -1
  200. package/components/{status-light-DqHhhZed.js → status-light-kt3QBqrC.js} +1 -1
  201. package/components/swatch/index.cjs +1 -1
  202. package/components/swatch/index.js +1 -1
  203. package/components/{swatch-DiNMN-SZ.cjs → swatch-BX6GGDBs.cjs} +1 -1
  204. package/components/{swatch-BBVsuSAV.js → swatch-bXSCI96I.js} +1 -1
  205. package/components/switch/index.cjs +1 -1
  206. package/components/switch/index.js +1 -1
  207. package/components/{switch-DMhCYTgq.cjs → switch-CnnJrKpy.cjs} +1 -1
  208. package/components/{switch-BBtewLDD.js → switch-Do9jl9ur.js} +1 -1
  209. package/components/table/index.cjs +1 -1
  210. package/components/table/index.js +1 -1
  211. package/components/{table-Bf-00FYb.cjs → table-CF5do4qb.cjs} +1 -1
  212. package/components/{table-CfFwBCp1.js → table-FWX6kbpt.js} +2 -2
  213. package/components/tabs/index.cjs +1 -1
  214. package/components/tabs/index.js +1 -1
  215. package/components/{tabs-Dkt0B_-A.js → tabs-CODc4EYJ.js} +2 -2
  216. package/components/{tabs-B0WHKMuF.cjs → tabs-sIusiEWI.cjs} +1 -1
  217. package/components/tags/index.cjs +1 -1
  218. package/components/tags/index.js +1 -1
  219. package/components/{tags-Be4yrNPw.js → tags-BEfsznJy.js} +3 -3
  220. package/components/{tags-CHDNXpxh.cjs → tags-CWJqZufu.cjs} +1 -1
  221. package/components/text-field/index.cjs +1 -1
  222. package/components/text-field/index.js +2 -2
  223. package/components/{text-field-CBsx1CVo.js → text-field-5Ilezggg.js} +1 -1
  224. package/components/{text-field-CZixBD87.cjs → text-field-8IQu5JLQ.cjs} +1 -1
  225. package/components/{text-field-DwvDSctG.cjs → text-field-CLUvzUDH.cjs} +1 -1
  226. package/components/{text-field-SNbvQYOj.js → text-field-Cn51A87k.js} +2 -2
  227. package/components/toast/index.cjs +1 -1
  228. package/components/toast/index.js +1 -1
  229. package/components/{toast-CXZUVaYz.js → toast-B6x2SjM8.js} +1 -1
  230. package/components/{toast-B6yesIcI.cjs → toast-CpOVCCix.cjs} +1 -1
  231. package/components/tooltip/index.cjs +1 -1
  232. package/components/tooltip/index.js +1 -1
  233. package/components/{tooltip-BE01O3Sg.cjs → tooltip-CjfQup1K.cjs} +1 -1
  234. package/components/{tooltip-g2jd5Wsv.js → tooltip-ElTGebA9.js} +1 -1
  235. package/components/top-nav/index.cjs +1 -1
  236. package/components/top-nav/index.js +1 -1
  237. package/components/{top-nav-B0E1K_zf.cjs → top-nav-BG6vbFst.cjs} +1 -1
  238. package/components/{top-nav-DiUCsUpZ.js → top-nav-BMFB1WB0.js} +1 -1
  239. package/components/utils.cjs +1 -1
  240. package/components/utils.js +8 -8
  241. package/custom-elements.json +1 -1
  242. package/index.d.ts +1 -0
  243. package/package.json +7 -1
  244. package/standalone/accordion.js +3 -3
  245. package/standalone/action-bar.js +4 -4
  246. package/standalone/action-button.js +1 -1
  247. package/standalone/action-group.js +1 -1
  248. package/standalone/action-menu.js +6 -6
  249. package/standalone/avatar.js +5 -5
  250. package/standalone/badge.js +1 -1
  251. package/standalone/button-group.js +1 -1
  252. package/standalone/button.js +1 -1
  253. package/standalone/calendar.js +1 -1
  254. package/standalone/chat-message-group.js +2 -2
  255. package/standalone/chat-message.js +3 -3
  256. package/standalone/checkbox.js +1 -1
  257. package/standalone/chunks/{action-button-C946JGIA.js → action-button-CFXQ66x-.js} +1 -1
  258. package/standalone/chunks/{action-group-DlClwXLO.js → action-group-CX3Dg0Bu.js} +2 -2
  259. package/standalone/chunks/{badge-DPFbBRCY.js → badge-C1_QvLsq.js} +1 -1
  260. package/standalone/chunks/{button-COqfQNJv.js → button-DFVs4O1S.js} +1 -1
  261. package/standalone/chunks/{button-BhSe7abg.js → button-PsWOoEKo.js} +1 -1
  262. package/standalone/chunks/{button-base-DLYrzCSm.js → button-base-BuAaSi-H.js} +2 -2
  263. package/standalone/chunks/{calendar-BVrT8uqP.js → calendar-C8QpCEII.js} +5 -5
  264. package/standalone/chunks/{checkbox-4PoS7Uft.js → checkbox-DYjPiIwY.js} +1 -1
  265. package/standalone/chunks/{checkbox-mixin-HnfmivU3.js → checkbox-mixin-BRuj7--C.js} +2 -2
  266. package/standalone/chunks/{clear-button-qIMg8hR4.js → clear-button-BfZbJISP.js} +1 -1
  267. package/standalone/chunks/{close-button-DEiL5kEh.js → close-button-DdAb7Vyz.js} +1 -1
  268. package/standalone/chunks/color-area-B_G8a0NX.js +66 -0
  269. package/standalone/chunks/{color-field-BKDaLJQo.js → color-field-DlZIotvM.js} +1 -1
  270. package/standalone/chunks/{color-handle-DO7dxFGx.js → color-handle-h3fYn_2h.js} +1 -1
  271. package/standalone/chunks/{color-loupe-_dC69K1Z.js → color-loupe-ceV5LQbI.js} +1 -1
  272. package/standalone/chunks/{color-menu-6LhE-qWn.js → color-menu-CGxmlgwZ.js} +2 -2
  273. package/standalone/chunks/{color-slider-MSADvkPC.js → color-slider-Uv4iIRws.js} +2 -2
  274. package/standalone/chunks/{divider-vAjIOfo1.js → divider-BLhmxGvJ.js} +1 -1
  275. package/standalone/chunks/{field-group-C1oDgW9m.js → field-group-Pc_Pu61V.js} +1 -1
  276. package/standalone/chunks/{field-label-Djcst_hn.js → field-label-CYs6sh7M.js} +3 -3
  277. package/standalone/chunks/icon-CYZJZELU.js +2 -0
  278. package/standalone/chunks/{infield-button-B8EkjwP9.js → infield-button-umqY7wh3.js} +1 -1
  279. package/standalone/chunks/interaction-CII_biy8.js +2 -0
  280. package/standalone/chunks/lucero-runtime-BkqJ2L5f.js +18 -0
  281. package/standalone/chunks/luzmoCheck-BQw4HZFw.js +2 -0
  282. package/standalone/chunks/{manage-help-text-DO3PkWgh.js → manage-help-text-CrQxXqBH.js} +1 -1
  283. package/standalone/chunks/{menu-DtUgXalL.js → menu-BQ1vUHja.js} +6 -6
  284. package/standalone/chunks/{number-field-aOOuxxRh.js → number-field-Cujj8njt.js} +2 -2
  285. package/standalone/chunks/{observe-slot-presence-BxmG6A0m.js → observe-slot-presence-CITwnhtc.js} +1 -1
  286. package/standalone/chunks/{options-CPaX-OWy.js → options-BlDY_bJv.js} +12 -12
  287. package/standalone/chunks/{overlay-CgQMEmrM.js → overlay-Bcwu868u.js} +6 -6
  288. package/standalone/chunks/{pending-state-DnTXKvtm.js → pending-state-BbjpQDWR.js} +1 -1
  289. package/standalone/chunks/{picker-5IvNnimu.js → picker-BOuknvzl.js} +7 -7
  290. package/standalone/chunks/{picker-button-BIqlIkET.js → picker-button-B7gJZHYC.js} +1 -1
  291. package/standalone/chunks/{popover-Ca-FBqiU.js → popover-Dum9nObN.js} +2 -2
  292. package/standalone/chunks/progress-circle-CZodXLYe.js +17 -0
  293. package/standalone/chunks/property-BsZepKFj.js +2 -0
  294. package/standalone/chunks/{radio-BJ3RhyUD.js → radio-fCBCSuw9.js} +2 -2
  295. package/standalone/chunks/{segments-factory-DWNY1AUE.js → segments-factory-PfCggJk6.js} +1 -1
  296. package/standalone/chunks/{skeleton-loader-CymPdQl3.js → skeleton-loader-zvitohC5.js} +1 -1
  297. package/standalone/chunks/swatch-BL10VQ4z.js +33 -0
  298. package/standalone/chunks/{template-property-CyrkVY0Q.js → template-property-BeYccnca.js} +1 -1
  299. package/standalone/chunks/{text-field-C4D5FNRe.js → text-field-KnOMaj3Y.js} +1 -1
  300. package/standalone/chunks/{text-field-DwD97PEo.js → text-field-pIdOTrtY.js} +15 -15
  301. package/standalone/chunks/tooltip-CYQLlhx8.js +41 -0
  302. package/standalone/clear-button.js +1 -1
  303. package/standalone/close-button.js +1 -1
  304. package/standalone/color-area.js +1 -1
  305. package/standalone/color-field.js +1 -1
  306. package/standalone/color-handle.js +1 -1
  307. package/standalone/color-loupe.js +1 -1
  308. package/standalone/color-menu.js +1 -1
  309. package/standalone/color-palette-group.js +3 -3
  310. package/standalone/color-palette.js +1 -1
  311. package/standalone/color-picker.js +2 -2
  312. package/standalone/color-slider.js +1 -1
  313. package/standalone/date-range-picker.js +7 -7
  314. package/standalone/date-time-picker.js +8 -8
  315. package/standalone/divider.js +1 -1
  316. package/standalone/field-group.js +1 -1
  317. package/standalone/field-label.js +1 -1
  318. package/standalone/icon.js +1 -1
  319. package/standalone/infield-button.js +1 -1
  320. package/standalone/label.js +1 -1
  321. package/standalone/lit.js +1 -1
  322. package/standalone/manifest.json +46 -44
  323. package/standalone/menu.js +1 -1
  324. package/standalone/multi-language-field.js +1 -1
  325. package/standalone/notice.js +2 -2
  326. package/standalone/number-field.js +1 -1
  327. package/standalone/options.js +1 -1
  328. package/standalone/overlay.js +1 -1
  329. package/standalone/permission-box.js +178 -0
  330. package/standalone/picker-button.js +1 -1
  331. package/standalone/picker.js +1 -1
  332. package/standalone/popover.js +1 -1
  333. package/standalone/progress-bar.js +2 -2
  334. package/standalone/progress-circle.js +1 -1
  335. package/standalone/progress-steps.js +2 -2
  336. package/standalone/prompt-box.js +3 -3
  337. package/standalone/question-box.js +33 -33
  338. package/standalone/radio.js +1 -1
  339. package/standalone/search.js +2 -2
  340. package/standalone/select.js +9 -9
  341. package/standalone/skeleton-loader.js +1 -1
  342. package/standalone/slider.js +11 -11
  343. package/standalone/split-view.js +5 -3
  344. package/standalone/status-light.js +1 -1
  345. package/standalone/swatch.js +1 -1
  346. package/standalone/switch.js +1 -1
  347. package/standalone/table.js +24 -24
  348. package/standalone/tabs.js +7 -7
  349. package/standalone/tags.js +2 -2
  350. package/standalone/text-field.js +1 -1
  351. package/standalone/toast.js +1 -1
  352. package/standalone/tooltip.js +1 -1
  353. package/standalone/top-nav.js +10 -10
  354. package/standalone/utils.js +1 -1
  355. package/styles/mixins/tests/visually-hidden.test.d.ts +1 -0
  356. package/utils/reactive-controllers/interaction.d.ts +5 -1
  357. package/utils/sized-mixin.d.ts +8 -0
  358. package/components/split-view-DDwpoN2O.js +0 -357
  359. package/components/split-view-DNVlr5VD.cjs +0 -43
  360. package/standalone/chunks/color-area-D-AVcZza.js +0 -66
  361. package/standalone/chunks/icon-D69mOw1X.js +0 -2
  362. package/standalone/chunks/interaction-BQyflxg-.js +0 -2
  363. package/standalone/chunks/lucero-runtime-DMlHjBe_.js +0 -18
  364. package/standalone/chunks/progress-circle-CFtVq9Ou.js +0 -17
  365. package/standalone/chunks/property-BsDbx7Z2.js +0 -2
  366. package/standalone/chunks/swatch-zFOV4NtM.js +0 -33
  367. package/standalone/chunks/tooltip-B-j8PrNl.js +0 -41
@@ -0,0 +1,565 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2026 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 "./tokens.js";
19
+ import { t as e } from "./decorate-CpKsOs9z.js";
20
+ import { t } from "./focusable-xjv79E40.js";
21
+ import { n, t as r } from "./interaction-DF63SBSQ.js";
22
+ import { html as i, nothing as a, unsafeCSS as o } from "lit";
23
+ import { property as s, query as c } from "lit/decorators.js";
24
+ // src/components/split-view/controllers/pane-visibility-controller.ts
25
+ var l = class {
26
+ constructor(e, t) {
27
+ this._options = t, this._candidates = [], this._active = [], this._inlineStyles = /* @__PURE__ */ new Map(), e.addController(this);
28
+ }
29
+ hostDisconnected() {
30
+ this._observer?.disconnect(), this.restoreStyles(), this._active = [], this._candidates = [];
31
+ }
32
+ get active() {
33
+ return this._active;
34
+ }
35
+ observe(e) {
36
+ if (this._candidates = e, typeof MutationObserver < "u") {
37
+ this._observer ??= new MutationObserver(() => {
38
+ this.sync(), this._observer?.takeRecords();
39
+ }), this._observer.disconnect();
40
+ for (let t of e) this._observer.observe(t, {
41
+ attributes: !0,
42
+ attributeFilter: [
43
+ "class",
44
+ "hidden",
45
+ "style"
46
+ ]
47
+ });
48
+ }
49
+ }
50
+ isShown(e) {
51
+ if (e.hidden) return !1;
52
+ let t = this._inlineStyles.get(e);
53
+ if (t?.appliedDisplay !== "none" || e.style.display !== "none") return getComputedStyle(e).display !== "none";
54
+ e.style.display = t.display;
55
+ let n = getComputedStyle(e).display !== "none";
56
+ return e.style.display = "none", n;
57
+ }
58
+ sync() {
59
+ let e = this._candidates.filter((e) => this.isShown(e));
60
+ (e.length !== this._active.length || e.some((e, t) => e !== this._active[t])) && this._options.onChange();
61
+ }
62
+ setActive(e) {
63
+ let t = e.slice(0, 2), n = t.length !== this._active.length || t.some((e, t) => e !== this._active[t]);
64
+ if (n && (this.restoreStyles(), this._active = t), n || this._inlineStyles.size === 0) for (let e of t) this._inlineStyles.set(e, {
65
+ display: e.style.display,
66
+ flex: e.style.flex
67
+ });
68
+ return n;
69
+ }
70
+ write(e) {
71
+ let t = this._observer?.takeRecords() ?? [];
72
+ e(), this._observer?.takeRecords(), t.length > 0 && queueMicrotask(() => this.sync());
73
+ }
74
+ applyDisplay(e, t) {
75
+ let n = this._inlineStyles.get(e);
76
+ n?.appliedDisplay !== void 0 && e.style.display !== n.appliedDisplay && (n.display = e.style.display);
77
+ let r = t ? "none" : n?.display ?? "";
78
+ e.style.display = r, n && (n.appliedDisplay = r);
79
+ }
80
+ restoreStyles() {
81
+ for (let [e, t] of this._inlineStyles) e.style.display === (t.appliedDisplay ?? t.display) && (e.style.display = t.display), e.style.flex = t.flex;
82
+ this._inlineStyles.clear();
83
+ }
84
+ }, u = class {
85
+ constructor(e) {
86
+ this._rememberedSizes = {}, this._lastExpandedPositions = {}, e.addController(this);
87
+ }
88
+ hostConnected() {}
89
+ get dragStartMemory() {
90
+ return this._dragStartMemory;
91
+ }
92
+ rememberedSize(e) {
93
+ return this._rememberedSizes[e];
94
+ }
95
+ remember(e, t) {
96
+ this._rememberedSizes[e] = t;
97
+ }
98
+ forget(e) {
99
+ e ? delete this._rememberedSizes[e] : this._rememberedSizes = {};
100
+ }
101
+ scale(e, t) {
102
+ for (let n of [
103
+ this._rememberedSizes,
104
+ this._lastExpandedPositions,
105
+ this._dragStartMemory?.rememberedSizes,
106
+ this._dragStartMemory?.lastExpandedPositions
107
+ ]) {
108
+ let r = n?.[e];
109
+ n && r !== void 0 && (n[e] = r * t);
110
+ }
111
+ }
112
+ lastExpandedPosition(e) {
113
+ return this._lastExpandedPositions[e];
114
+ }
115
+ rememberExpanded(e, t) {
116
+ this._lastExpandedPositions[e] = t;
117
+ }
118
+ snapshotDragStart(e) {
119
+ this._dragStartMemory = {
120
+ orientation: e,
121
+ rememberedSizes: { ...this._rememberedSizes },
122
+ lastExpandedPositions: { ...this._lastExpandedPositions }
123
+ };
124
+ }
125
+ clearDragStart() {
126
+ this._dragStartMemory = void 0;
127
+ }
128
+ restoreRememberedSizes(e) {
129
+ this._rememberedSizes = { ...e?.rememberedSizes };
130
+ }
131
+ restoreLastExpandedPositions(e) {
132
+ this._lastExpandedPositions = { ...e?.lastExpandedPositions };
133
+ }
134
+ };
135
+ // src/components/split-view/split-view-model.ts
136
+ function d(e, t) {
137
+ let n = Math.max(0, t.primaryMin, e - t.secondaryMax), r = Math.min(e, t.primaryMax, e - t.secondaryMin);
138
+ if (n <= r) return {
139
+ min: n,
140
+ max: r
141
+ };
142
+ let i = Math.min(e, Math.max(0, e / 2));
143
+ return {
144
+ min: i,
145
+ max: i
146
+ };
147
+ }
148
+ function f(e, t) {
149
+ return Math.min(t.max, Math.max(t.min, e));
150
+ }
151
+ function p(e, t) {
152
+ return t > 0 && e < t;
153
+ }
154
+ // src/components/split-view/split-view.module.scss?inline
155
+ var m = ":host{min-block-size:0;min-inline-size:0;display:flex;position:relative}:host(:is([vertical],[stacked])){flex-direction:column}slot{display:contents}::slotted(*){min-block-size:0;min-inline-size:0}::slotted(:nth-child(n+3)){display:none!important}.separator{cursor:col-resize;block-size:100%;inline-size:var(--split-view-target-size);touch-action:none;z-index:1;outline:none;justify-content:center;align-items:center;display:flex;position:absolute;inset-block-start:0;inset-inline-start:calc(var(--splitter-position,0) * 1px - var(--split-view-target-size) / 2)}:host(:is([vertical],[stacked])) .separator{block-size:var(--split-view-target-size);cursor:row-resize;inline-size:100%;inset-block-start:calc(var(--splitter-position,0) * 1px - var(--split-view-target-size) / 2);inset-inline-start:0}.separator .divider{background-color:var(--luzmo-split-view-divider-color,var(--split-view-divider-color));block-size:100%;inline-size:var(--luzmo-split-view-divider-thickness,var(--split-view-divider-thickness));pointer-events:none}.separator .handle{background-color:var(--luzmo-split-view-handle-color,var(--luzmo-split-view-divider-color,var(--split-view-handle-color)));block-size:var(--luzmo-split-view-handle-length,var(--split-view-handle-length));border-radius:var(--luzmo-split-view-handle-radius,var(--split-view-handle-radius));inline-size:var(--luzmo-split-view-handle-thickness,var(--split-view-handle-thickness));pointer-events:none;display:none;position:absolute}:host([resizable]) .separator .handle{display:block}:host(:is([vertical],[stacked])) .separator .divider{block-size:var(--luzmo-split-view-divider-thickness,var(--split-view-divider-thickness));inline-size:100%}:host(:is([vertical],[stacked])) .separator .handle{block-size:var(--luzmo-split-view-handle-thickness,var(--split-view-handle-thickness));inline-size:var(--luzmo-split-view-handle-length,var(--split-view-handle-length))}:host(:not([vertical],[stacked])) .separator.start-edge{inset-inline-start:0}:host(:not([vertical],[stacked])) .separator.end-edge{inset-inline-start:calc(100% - var(--split-view-target-size))}.separator.start-edge .divider,.separator.end-edge .divider{position:absolute}:host(:not([vertical],[stacked])) .separator.start-edge .divider{inset-inline-start:0}:host(:not([vertical],[stacked])) .separator.start-edge .handle{inset-inline-start:calc(var(--split-view-focus-width) + var(--split-view-focus-offset))}:host(:not([vertical],[stacked])) .separator.end-edge .divider{inset-inline-end:0}:host(:not([vertical],[stacked])) .separator.end-edge .handle{inset-inline-end:calc(var(--split-view-focus-width) + var(--split-view-focus-offset))}:host(:is([vertical],[stacked])) .separator.start-edge{inset-block-start:0}:host(:is([vertical],[stacked])) .separator.end-edge{inset-block-start:calc(100% - var(--split-view-target-size))}:host(:is([vertical],[stacked])) .separator.start-edge .divider{inset-block-start:0}:host(:is([vertical],[stacked])) .separator.start-edge .handle{inset-block-start:calc(var(--split-view-focus-width) + var(--split-view-focus-offset))}:host(:is([vertical],[stacked])) .separator.end-edge .divider{inset-block-end:0}:host(:is([vertical],[stacked])) .separator.end-edge .handle{inset-block-end:calc(var(--split-view-focus-width) + var(--split-view-focus-offset))}:host([resizable]:not([disabled],[dragging])) .separator:hover .divider{background-color:var(--luzmo-split-view-divider-color-hover,var(--split-view-divider-color-hover))}:host([resizable]:not([disabled],[dragging])) .separator:hover .handle{background-color:var(--luzmo-split-view-handle-color-hover,var(--luzmo-split-view-divider-color-hover,var(--split-view-divider-color-hover)))}:host([dragging]) .separator .divider{background-color:var(--luzmo-split-view-divider-color-active,var(--split-view-divider-color-active))}:host([dragging]) .separator .handle{background-color:var(--luzmo-split-view-handle-color-active,var(--luzmo-split-view-divider-color-active,var(--split-view-divider-color-active)))}.separator:focus-visible .divider{background-color:var(--luzmo-split-view-focus-color,var(--split-view-focus-color))}.separator:focus-visible .handle{outline:var(--split-view-focus-width) solid var(--luzmo-split-view-focus-color,var(--split-view-focus-color));outline-offset:var(--split-view-focus-offset)}:host(:not([resizable])) .separator,:host([disabled]) .separator{cursor:default}@media (forced-colors:active){:host{--highcontrast-split-view-divider-color:CanvasText;--highcontrast-split-view-focus-color:Highlight}.separator .divider{background-color:var(--highcontrast-split-view-divider-color,var(--luzmo-split-view-divider-color,var(--split-view-divider-color)))}.separator .handle{background-color:var(--highcontrast-split-view-divider-color,var(--luzmo-split-view-handle-color,var(--luzmo-split-view-divider-color,var(--split-view-divider-color))))}:host([resizable]:not([disabled])) .separator:hover .divider,:host([resizable]:not([disabled])) .separator:hover .handle,:host([dragging]) .separator .divider,:host([dragging]) .separator .handle{background-color:highlight}.separator:focus-visible .divider{background-color:var(--highcontrast-split-view-focus-color,var(--luzmo-split-view-focus-color,var(--split-view-focus-color)))}.separator:focus-visible .handle{outline-color:var(--highcontrast-split-view-focus-color,var(--luzmo-split-view-focus-color,var(--split-view-focus-color)))}}:host{--split-view-divider-color:var(--luzmo-border-color-full);--split-view-divider-color-hover:var(--luzmo-primary-hover);--split-view-divider-color-active:var(--luzmo-primary-down);--split-view-divider-thickness:var(--luzmo-border-width);--split-view-focus-color:var(--luzmo-primary-focus);--split-view-target-size:var(--luzmo-component-height-xs);--split-view-focus-offset:var(--luzmo-border-width);--split-view-focus-width:var(--luzmo-indicator-width,1px);--split-view-handle-color:var(--luzmo-font-color-extra-dimmed);--split-view-handle-length:var(--luzmo-component-height);--split-view-handle-thickness:var(--luzmo-spacing-2);--split-view-handle-radius:var(--luzmo-border-radius-full)}", h = 3840, g = 10, _ = 50, v = 50, y = {
156
+ primaryMin: 0,
157
+ primaryMax: Infinity,
158
+ secondaryMin: 0,
159
+ secondaryMax: Infinity
160
+ }, b = 0, x = class extends t {
161
+ constructor(...e) {
162
+ super(...e), this.vertical = !1, this.collapsible = !1, this.label = "Resize panels", this.primarySize = "50%", this._primaryMin = 0, this._primaryMax = h, this._secondaryMin = 0, this._secondaryMax = h, this._stackBelow = 0, this._stacked = !1, this._resizable = !1, this._splitterPos = 0, this._viewSize = 0, this._minPos = 0, this._maxPos = 0, this._enoughChildren = !1, this._positionInitialized = !1, this._initialSplitterPosSupplied = !1, this._restorePositionOnReconnect = !1, this._dragChanged = !1, this._interaction = new r(this, { value: () => this.splitterPos }), this._panes = new l(this, { onChange: () => this.handleSlotChange() }), this._memory = new u(this);
163
+ }
164
+ static get styles() {
165
+ let e = super.styles;
166
+ return [...Array.isArray(e) ? e : e ? [e] : [], o(m)];
167
+ }
168
+ set resizable(e) {
169
+ let t = !!e;
170
+ if (t === this._resizable) return;
171
+ let n = this._resizable;
172
+ this._resizable = t, t || this._cancelDrag(), this.requestUpdate("resizable", n);
173
+ }
174
+ get resizable() {
175
+ return this._resizable;
176
+ }
177
+ set primaryMin(e) {
178
+ let t = this._normalizeBound(e, 0);
179
+ if (t === this._primaryMin) return;
180
+ let n = this._primaryMin;
181
+ this._primaryMin = t, this.requestUpdate("primaryMin", n);
182
+ }
183
+ get primaryMin() {
184
+ return this._primaryMin;
185
+ }
186
+ set primaryMax(e) {
187
+ let t = this._normalizeBound(e, h);
188
+ if (t === this._primaryMax) return;
189
+ let n = this._primaryMax;
190
+ this._primaryMax = t, this.requestUpdate("primaryMax", n);
191
+ }
192
+ get primaryMax() {
193
+ return this._primaryMax;
194
+ }
195
+ set secondaryMin(e) {
196
+ let t = this._normalizeBound(e, 0);
197
+ if (t === this._secondaryMin) return;
198
+ let n = this._secondaryMin;
199
+ this._secondaryMin = t, this.requestUpdate("secondaryMin", n);
200
+ }
201
+ get secondaryMin() {
202
+ return this._secondaryMin;
203
+ }
204
+ set secondaryMax(e) {
205
+ let t = this._normalizeBound(e, h);
206
+ if (t === this._secondaryMax) return;
207
+ let n = this._secondaryMax;
208
+ this._secondaryMax = t, this.requestUpdate("secondaryMax", n);
209
+ }
210
+ get secondaryMax() {
211
+ return this._secondaryMax;
212
+ }
213
+ set stackBelow(e) {
214
+ let t = this._normalizeBound(e, 0);
215
+ if (t === this._stackBelow) return;
216
+ let n = this._stackBelow;
217
+ this._stackBelow = t, this.requestUpdate("stackBelow", n);
218
+ }
219
+ get stackBelow() {
220
+ return this._stackBelow;
221
+ }
222
+ get stacked() {
223
+ return this._stacked;
224
+ }
225
+ set splitterPos(e) {
226
+ this._positionInitialized || (this._initialSplitterPosSupplied = !0);
227
+ let t = Number.isFinite(e) ? e : 0, n = this.collapsible && (t === 0 || t === this._viewSize), r = this._positionInitialized && !n ? this._clampPosition(t) : t;
228
+ if (r === this._splitterPos) return;
229
+ let i = this._splitterPos;
230
+ this._splitterPos = r, this.requestUpdate("splitterPos", i);
231
+ }
232
+ get splitterPos() {
233
+ return this._splitterPos;
234
+ }
235
+ get focusElement() {
236
+ return this._separator ?? this;
237
+ }
238
+ connectedCallback() {
239
+ this._positionInitialized || (this._initialSplitterPosSupplied = this._initialSplitterPosSupplied || this.hasAttribute("splitter-pos")), super.connectedCallback(), typeof ResizeObserver < "u" && (this._resizeObserver ??= new ResizeObserver(([e]) => {
240
+ this._observedInlineSize = e.contentBoxSize?.[0]?.inlineSize ?? e.contentRect.width, this._handleResize();
241
+ }), this._resizeObserver.observe(this)), this.updateComplete.then(() => {
242
+ this.isConnected && this.handleSlotChange();
243
+ });
244
+ }
245
+ disconnectedCallback() {
246
+ this._cancelDrag(!1), this._resizeObserver?.disconnect(), this._observedInlineSize = void 0, this._restorePositionOnReconnect = !0, this._clearControlledElementId(), this._controlledElement = void 0, super.disconnectedCallback();
247
+ }
248
+ get _orientation() {
249
+ return this.vertical || this._stacked ? "vertical" : "horizontal";
250
+ }
251
+ get _secondaryFixed() {
252
+ return !this._stacked && !!this.secondarySize?.trim();
253
+ }
254
+ _normalizeBound(e, t) {
255
+ return Number.isFinite(e) && e >= 0 ? e : t;
256
+ }
257
+ _measureView() {
258
+ let e = this.getBoundingClientRect();
259
+ return this._orientation === "vertical" ? e.height : e.width;
260
+ }
261
+ _updateStacked() {
262
+ let e = this._observedInlineSize ?? this.getBoundingClientRect().width;
263
+ if (e <= 0) return !1;
264
+ let t = !this.vertical && p(e, this.stackBelow);
265
+ return t !== this._stacked && (this._stacked = t, this.toggleAttribute("stacked", t), this.requestUpdate(), !0);
266
+ }
267
+ _handleResize() {
268
+ this._panes.sync();
269
+ let e = this._updateStacked();
270
+ this._recalculate(e ? "remembered" : "current");
271
+ }
272
+ _calculateBounds() {
273
+ this._viewSize = this._measureView();
274
+ let e = d(this._viewSize, this._stacked ? y : {
275
+ primaryMin: this.primaryMin,
276
+ primaryMax: this.primaryMax,
277
+ secondaryMin: this.secondaryMin,
278
+ secondaryMax: this.secondaryMax
279
+ });
280
+ this._minPos = e.min, this._maxPos = e.max;
281
+ }
282
+ _clampPosition(e) {
283
+ return f(e, {
284
+ min: this._minPos,
285
+ max: this._maxPos
286
+ });
287
+ }
288
+ _resolveInitialPosition() {
289
+ return this._stacked ? this._viewSize / 2 : this._secondaryFixed ? this._positionFromFixedSize(this._resolvePaneSize(this.secondarySize ?? "", this._panes.active[1])) : this._resolvePaneSize(this.primarySize, this._controlledElement);
290
+ }
291
+ _resolvePaneSize(e, t) {
292
+ let n = e.trim(), r = this._orientation === "vertical";
293
+ if (/^\d+(?:\.\d+)?(?:px)?$/.test(n)) return Number.parseFloat(n);
294
+ if (/^\d+(?:\.\d+)?%$/.test(n)) return Number.parseFloat(n) / 100 * this._viewSize;
295
+ if (n === "auto" && t) {
296
+ let e = Number.parseFloat(t.style.getPropertyValue(r ? "block-size" : "inline-size"));
297
+ if (Number.isFinite(e) && e > 0) return e;
298
+ let n = Number.parseFloat(getComputedStyle(t).getPropertyValue(r ? "height" : "width"));
299
+ if (Number.isFinite(n) && n > 0) return n;
300
+ let i = t.getBoundingClientRect(), a = r ? i.height : i.width;
301
+ if (Number.isFinite(a) && a > 0) return a;
302
+ }
303
+ return this._viewSize / 2;
304
+ }
305
+ _fixedSizeFromPosition(e) {
306
+ return this._secondaryFixed ? this._viewSize - e : e;
307
+ }
308
+ _positionFromFixedSize(e) {
309
+ return this._secondaryFixed ? this._viewSize - e : e;
310
+ }
311
+ _rememberPosition() {
312
+ this.splitterPos <= 0 || this.splitterPos >= this._viewSize || this._memory.remember(this._orientation, this._fixedSizeFromPosition(this.splitterPos));
313
+ }
314
+ _resolveRememberedPosition() {
315
+ let e = this._memory.rememberedSize(this._orientation);
316
+ return e === void 0 ? this._resolveInitialPosition() : this._positionFromFixedSize(e);
317
+ }
318
+ _applyPaneSizes() {
319
+ let [e, t] = this._panes.active, n = Math.round(this.splitterPos), r = Math.round(this._viewSize), i = `0 0 ${Math.round(this._fixedSizeFromPosition(n))}px`;
320
+ this._panes.write(() => {
321
+ e && (e.style.flex = this._secondaryFixed ? "1 1 0" : i, this._panes.applyDisplay(e, r > 0 && n <= 0)), t && (t.style.flex = this._secondaryFixed ? i : "1 1 0", this._panes.applyDisplay(t, r > 0 && n >= r));
322
+ });
323
+ }
324
+ _recalculate(e) {
325
+ let t = e === "current" ? this._pendingSource ?? e : e;
326
+ if (!this.isConnected || !this._enoughChildren || this._measureView() <= 0) {
327
+ t !== "current" && (this._pendingSource = t);
328
+ return;
329
+ }
330
+ this._pendingSource = void 0;
331
+ let n = this._viewSize, r = this._viewOrientation, i = this._positionInitialized && this.collapsible && this.splitterPos === 0, a = this._positionInitialized && this.collapsible && n > 0 && this.splitterPos === n;
332
+ this._calculateBounds(), this._viewOrientation = this._orientation;
333
+ let o = this._stacked && n > 0 && r === this._orientation ? this._viewSize / n : void 0;
334
+ o !== void 0 && (this._memory.scale(this._orientation, o), this._dragStartPosition !== void 0 && (this._dragStartPosition *= o));
335
+ let s, c;
336
+ if (!this._positionInitialized) s = this._initialSplitterPosSupplied ? this.splitterPos : this._resolveInitialPosition(), this._positionInitialized = !0;
337
+ else if (t === "initial") s = this._resolveInitialPosition();
338
+ else if (t === "remembered") s = this._resolveRememberedPosition();
339
+ else if (i) s = 0;
340
+ else if (a) s = this._viewSize;
341
+ else if (this._secondaryFixed && n > 0 && r === this._orientation) {
342
+ let e = this._clampedSecondarySize;
343
+ c = e?.position === this.splitterPos ? e.size : n - this.splitterPos, s = this._clampPosition(this._viewSize - c);
344
+ } else s = o === void 0 ? this._clampPosition(this.splitterPos) : this._clampPosition(this.splitterPos * o);
345
+ this.splitterPos = s, c ??= this._viewSize - s, this._clampedSecondarySize = this._secondaryFixed && this._viewSize - this.splitterPos !== c ? {
346
+ position: this.splitterPos,
347
+ size: c
348
+ } : void 0, this._applyPaneSizes();
349
+ }
350
+ _syncAriaControls() {
351
+ this._separator && this._controlledElement && (this._separator.ariaControlsElements = [this._controlledElement]);
352
+ }
353
+ _clearControlledElementId() {
354
+ this._controlledElement && this._controlledElement.id === this._controlledElementGeneratedId && this._controlledElement.removeAttribute("id"), this._controlledElementGeneratedId = void 0;
355
+ }
356
+ handleSlotChange() {
357
+ let e = (this._paneSlot?.assignedElements() ?? []).slice(0, 2);
358
+ this._panes.observe(e);
359
+ let t = e.filter((e) => this._panes.isShown(e)), n = this._panes.setActive(t), r = t[0];
360
+ r !== this._controlledElement && (this._clearControlledElementId(), this._controlledElement = r), this._controlledElement && !this._controlledElement.id && (b += 1, this._controlledElementGeneratedId = `luzmo-split-view-pane-${b}`, this._controlledElement.id = this._controlledElementGeneratedId);
361
+ let i = this._enoughChildren, a = t.length >= 2;
362
+ if (a !== this._enoughChildren && (this._enoughChildren = a, this.requestUpdate()), a) {
363
+ let e = !i || n && !this._restorePositionOnReconnect;
364
+ this._restorePositionOnReconnect = !1, this.updateComplete.then(() => {
365
+ let t = this._updateStacked();
366
+ this._recalculate(e || t ? "remembered" : "current"), this._syncAriaControls();
367
+ });
368
+ }
369
+ }
370
+ _dispatchValueEvent(e) {
371
+ this.dispatchEvent(new Event(e, {
372
+ bubbles: !0,
373
+ composed: !0
374
+ }));
375
+ }
376
+ _commitChange() {
377
+ this._rememberPosition(), this._dispatchValueEvent("change");
378
+ }
379
+ _setPosition(e, t = {}) {
380
+ let n = this._clampPosition(e);
381
+ return this.collapsible && t.collapse && (e <= 0 && (n = 0), e >= this._viewSize && (n = this._viewSize)), n !== this.splitterPos && (this.splitterPos > 0 && this.splitterPos < this._viewSize && this._memory.rememberExpanded(this._orientation, this.splitterPos), this.splitterPos = n, this._applyPaneSizes(), (t.emit ?? !0) && this._dispatchValueEvent("input"), !0);
382
+ }
383
+ handleKeydown(e) {
384
+ if (!this.resizable || this.disabled) return;
385
+ let t = this._orientation === "vertical", n;
386
+ switch (e.key) {
387
+ case "ArrowLeft":
388
+ t || (n = this.splitterPos + (this.isLTR ? -10 : g));
389
+ break;
390
+ case "ArrowRight":
391
+ t || (n = this.splitterPos + (this.isLTR ? g : -10));
392
+ break;
393
+ case "ArrowUp":
394
+ t && (n = this.splitterPos - g);
395
+ break;
396
+ case "ArrowDown":
397
+ t && (n = this.splitterPos + g);
398
+ break;
399
+ case "PageUp":
400
+ n = this.splitterPos + (t ? -50 : _);
401
+ break;
402
+ case "PageDown":
403
+ n = this.splitterPos + (t ? _ : -50);
404
+ break;
405
+ case "Home":
406
+ n = this.collapsible ? 0 : this._minPos;
407
+ break;
408
+ case "End":
409
+ n = this.collapsible ? this._viewSize : this._maxPos;
410
+ break;
411
+ case "Enter":
412
+ if (!this.collapsible) return;
413
+ n = this.splitterPos === 0 ? this._memory.lastExpandedPosition(this._orientation) ?? this._viewSize / 2 : 0;
414
+ break;
415
+ default: return;
416
+ }
417
+ n !== void 0 && (e.preventDefault(), this._interaction.keyDown(e.key) && (!this.resizable || this.disabled ? this._interaction.end() : this._setPosition(n, {
418
+ collapse: !0,
419
+ emit: !1
420
+ }) && this._interaction.commit(() => this._dispatchValueEvent("input"), () => this._commitChange())));
421
+ }
422
+ handleKeyup(e) {
423
+ this._interaction.keyUp(e.key);
424
+ }
425
+ handleFocusOut() {
426
+ this._interaction.endKeyboard();
427
+ }
428
+ _capturePointer(e, t) {
429
+ try {
430
+ e.setPointerCapture(t), this._capturedPointer = {
431
+ target: e,
432
+ pointerId: t
433
+ };
434
+ } catch {
435
+ this._capturedPointer = void 0;
436
+ }
437
+ }
438
+ _releasePointer() {
439
+ let e = this._capturedPointer;
440
+ this._capturedPointer = void 0, e?.target.hasPointerCapture(e.pointerId) && e.target.releasePointerCapture(e.pointerId);
441
+ }
442
+ handlePointerDown(e) {
443
+ this.resizable && !this.disabled && e.button === 0 && this._dragStartPosition === void 0 && this._interaction.start(n(e)) && (!this.resizable || this.disabled ? this._interaction.end() : (this._dragPointerId = e.pointerId, this._snapshotDragStart(), this.toggleAttribute("dragging", !0), this._capturePointer(e.currentTarget, e.pointerId)));
444
+ }
445
+ _snapshotDragStart() {
446
+ this._dragStartPosition = this.splitterPos, this._memory.snapshotDragStart(this._orientation), this._dragChanged = !1;
447
+ }
448
+ _pointerPosition(e) {
449
+ let t = this.getBoundingClientRect();
450
+ return this._orientation === "vertical" ? e.clientY - t.top : this.isLTR ? e.clientX - t.left : t.right - e.clientX;
451
+ }
452
+ handlePointerMove(e) {
453
+ if (this._dragPointerId !== e.pointerId || this._dragStartPosition === void 0 || !this.resizable || this.disabled) return;
454
+ let t = this._pointerPosition(e);
455
+ this.collapsible && t < this._minPos - v && (t = 0), this.collapsible && t > this._maxPos + v && (t = this._viewSize), this._setPosition(t, { collapse: !0 }) && (this._dragChanged = !0);
456
+ }
457
+ _finishDrag() {
458
+ this._dragPointerId = void 0, this._releasePointer(), this._dragStartPosition = void 0, this._memory.clearDragStart(), this._dragChanged = !1, this.toggleAttribute("dragging", !1);
459
+ }
460
+ handlePointerUp(e) {
461
+ this._dragPointerId === e.pointerId && this._dragStartPosition !== void 0 && (this._releaseDrag(), this._interaction.end());
462
+ }
463
+ _releaseDrag() {
464
+ if (this._dragStartPosition === void 0) return;
465
+ let e = this._dragChanged;
466
+ this._finishDrag(), e && this._commitChange();
467
+ }
468
+ endInteraction() {
469
+ this._releaseDrag(), this._interaction.end();
470
+ }
471
+ _cancelDrag(e = !0) {
472
+ if (this._dragStartPosition === void 0) return;
473
+ let t = this._dragStartPosition, n = this._memory.dragStartMemory;
474
+ this._finishDrag(), e && (this._memory.restoreRememberedSizes(n), this._setPosition(n?.orientation === this._orientation ? t : this._resolveRememberedPosition(), { collapse: !0 }), this._memory.restoreLastExpandedPositions(n), this._interaction.cancel());
475
+ }
476
+ handlePointerCancel(e) {
477
+ this._dragPointerId === e.pointerId && this._cancelDrag();
478
+ }
479
+ render() {
480
+ return i`
481
+ <slot @slotchange=${this.handleSlotChange}></slot>
482
+ ${this._enoughChildren ? i`
483
+ <div
484
+ class="separator ${this.splitterPos <= 0 ? "start-edge" : this._viewSize > 0 && this.splitterPos >= this._viewSize ? "end-edge" : ""}"
485
+ role="separator"
486
+ aria-label=${this.label}
487
+ aria-disabled=${this.resizable ? this.disabled ? "true" : "false" : a}
488
+ aria-orientation=${this._orientation === "vertical" ? "horizontal" : "vertical"}
489
+ aria-valuemin=${this.resizable ? this._positionAsPercentage(this.collapsible ? 0 : this._minPos) : a}
490
+ aria-valuemax=${this.resizable ? this._positionAsPercentage(this.collapsible ? this._viewSize : this._maxPos) : a}
491
+ aria-valuenow=${this.resizable ? this._positionAsPercentage(this.splitterPos) : a}
492
+ tabindex=${this.resizable ? this.disabled ? "-1" : "0" : a}
493
+ style=${`--splitter-position: ${this.splitterPos}`}
494
+ @keydown=${this.handleKeydown}
495
+ @keyup=${this.handleKeyup}
496
+ @focusout=${this.handleFocusOut}
497
+ @pointerdown=${this.handlePointerDown}
498
+ @pointermove=${this.handlePointerMove}
499
+ @pointerup=${this.handlePointerUp}
500
+ @pointercancel=${this.handlePointerCancel}
501
+ @lostpointercapture=${this.handlePointerCancel}
502
+ >
503
+ <span class="divider" aria-hidden="true"></span>
504
+ <span class="handle" aria-hidden="true"></span>
505
+ </div>
506
+ ` : a}
507
+ `;
508
+ }
509
+ _positionAsPercentage(e) {
510
+ return String(this._viewSize > 0 ? Math.round(e / this._viewSize * 100) : 0);
511
+ }
512
+ willUpdate(e) {
513
+ super.willUpdate(e), (e.has("vertical") || e.has("stackBelow")) && this._updateStacked() ? this._recalculate("remembered") : (e.has("vertical") || e.has("primaryMin") || e.has("primaryMax") || e.has("secondaryMin") || e.has("secondaryMax") || e.has("collapsible")) && this._recalculate("current"), (e.has("primarySize") || e.has("secondarySize")) && (this._stacked ? this._memory.forget("horizontal") : (this._memory.forget(), this._recalculate("initial"), this._dragStartPosition !== void 0 && this._snapshotDragStart()));
514
+ }
515
+ updated(e) {
516
+ super.updated(e), this.hasAttribute("stacked") !== this._stacked && this.toggleAttribute("stacked", this._stacked), e.has("splitterPos") && this._applyPaneSizes(), this._syncAriaControls(), e.has("disabled") && this.disabled && this._cancelDrag();
517
+ }
518
+ };
519
+ // src/components/split-view/index.ts
520
+ e([s({
521
+ type: Boolean,
522
+ reflect: !0
523
+ })], x.prototype, "vertical", void 0), e([s({
524
+ type: Boolean,
525
+ reflect: !0
526
+ })], x.prototype, "resizable", null), e([s({
527
+ type: Boolean,
528
+ reflect: !0
529
+ })], x.prototype, "collapsible", void 0), e([s({
530
+ type: String,
531
+ reflect: !0
532
+ })], x.prototype, "label", void 0), e([s({
533
+ type: Number,
534
+ reflect: !0,
535
+ attribute: "primary-min"
536
+ })], x.prototype, "primaryMin", null), e([s({
537
+ type: Number,
538
+ reflect: !0,
539
+ attribute: "primary-max"
540
+ })], x.prototype, "primaryMax", null), e([s({
541
+ type: Number,
542
+ reflect: !0,
543
+ attribute: "secondary-min"
544
+ })], x.prototype, "secondaryMin", null), e([s({
545
+ type: Number,
546
+ reflect: !0,
547
+ attribute: "secondary-max"
548
+ })], x.prototype, "secondaryMax", null), e([s({
549
+ type: String,
550
+ reflect: !0,
551
+ attribute: "primary-size"
552
+ })], x.prototype, "primarySize", void 0), e([s({
553
+ type: String,
554
+ reflect: !0,
555
+ attribute: "secondary-size"
556
+ })], x.prototype, "secondarySize", void 0), e([s({
557
+ type: Number,
558
+ reflect: !0,
559
+ attribute: "stack-below"
560
+ })], x.prototype, "stackBelow", null), e([s({
561
+ type: Number,
562
+ reflect: !0,
563
+ attribute: "splitter-pos"
564
+ })], x.prototype, "splitterPos", null), e([c("slot")], x.prototype, "_paneSlot", void 0), e([c("[role=\"separator\"]")], x.prototype, "_separator", void 0), typeof customElements < "u" && !customElements.get("luzmo-split-view") && customElements.define("luzmo-split-view", x);
565
+ export { x as t };
@@ -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
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../tokens.cjs");const e=require("../status-light-Do6z53mM.cjs");exports.LuzmoStatusLight=e.t;
18
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../tokens.cjs");const e=require("../status-light-CtETRd_o.cjs");exports.LuzmoStatusLight=e.t;
@@ -16,4 +16,4 @@
16
16
  * SOFTWARE.
17
17
  * */
18
18
  import "../tokens.js";
19
- export { t as LuzmoStatusLight } from "../status-light-DqHhhZed.js";
19
+ export { t as LuzmoStatusLight } from "../status-light-kt3QBqrC.js";
@@ -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
- require("./tokens.cjs");const e=require("./decorate-SO02l0A6.cjs"),t=require("./sized-mixin-CSajkMro.cjs"),n=require("./language-resolution-B7D3hQ6_.cjs");let r=require("lit"),i=require("lit/decorators.js");var a=`:host{font-family:var(--luzmo-status-light-font-family,var(--luzmo-font-family));color:var(--highcontrast-status-light-content-color,var(--luzmo-status-light-content-color,var(--status-light-content-color)));min-block-size:var(--luzmo-status-light-height,var(--status-light-height));box-sizing:border-box;vertical-align:bottom;-webkit-user-select:none;user-select:none;align-items:center;gap:var(--luzmo-status-light-gap,var(--status-light-gap));outline:none;display:inline-flex;position:relative}.dot{block-size:var(--luzmo-status-light-dot-size,var(--status-light-dot-size));inline-size:var(--luzmo-status-light-dot-size,var(--status-light-dot-size));background-color:var(--highcontrast-status-light-dot-color,var(--luzmo-status-light-dot-color,var(--status-light-dot-color)));border-radius:50%;flex-shrink:0}.label{box-sizing:border-box;line-height:1;font-weight:var(--luzmo-status-light-font-weight,var(--status-light-font-weight));font-size:var(--luzmo-status-light-font-size,var(--status-light-font-size));cursor:default;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}:host([data-luzmo-language-script=Latn]) .label{text-box:trim-both cap alphabetic;margin-block:-.35em;padding-block:.35em}:host([data-luzmo-language-script=Latn]) .label slot::slotted(*){margin-block:-.35em;padding-block:.35em}:host([disabled]){opacity:var(--luzmo-status-light-disabled-opacity,.4);pointer-events:none;cursor:default}@media (forced-colors:active){:host{--highcontrast-status-light-content-color:ButtonText;forced-color-adjust:none}.dot{--highcontrast-status-light-dot-color:Highlight}:host([disabled]){--highcontrast-status-light-content-color:GrayText}:host([disabled]) .dot{--highcontrast-status-light-dot-color:GrayText}}:host{--status-light-content-color:var(--luzmo-font-color);--status-light-font-weight:var(--luzmo-font-weight);--status-light-dot-color:var(--luzmo-border-color-full)}:host([size=xs]){--status-light-height:var(--luzmo-component-height-xxs);--status-light-font-size:var(--luzmo-font-size-xs);--status-light-dot-size:6px;--status-light-gap:var(--luzmo-spacing-3)}:host([size=s]){--status-light-height:var(--luzmo-component-height-xs);--status-light-font-size:var(--luzmo-font-size-s);--status-light-dot-size:8px;--status-light-gap:var(--luzmo-spacing-3)}:host{--status-light-height:var(--luzmo-component-height-s);--status-light-font-size:var(--luzmo-font-size);--status-light-dot-size:10px;--status-light-gap:var(--luzmo-spacing-3)}:host([size=l]){--status-light-height:var(--luzmo-component-height);--status-light-font-size:var(--luzmo-font-size);--status-light-dot-size:12px;--status-light-gap:var(--luzmo-spacing-4)}:host([size=xl]){--status-light-height:var(--luzmo-component-height-l);--status-light-font-size:var(--luzmo-font-size-l);--status-light-dot-size:14px;--status-light-gap:var(--luzmo-spacing-4)}:host([variant=neutral]){--status-light-dot-color:var(--luzmo-selected-color-hard)}:host([variant=informative]){--status-light-dot-color:var(--luzmo-informative-color)}:host([variant=positive]){--status-light-dot-color:var(--luzmo-positive-color)}:host([variant=negative]){--status-light-dot-color:var(--luzmo-negative-color)}:host([variant=notice]){--status-light-dot-color:var(--luzmo-notice-color)}:host([variant=seafoam]){--status-light-dot-color:var(--luzmo-seafoam-color)}:host([variant=indigo]){--status-light-dot-color:var(--luzmo-indigo-color)}:host([variant=purple]){--status-light-dot-color:var(--luzmo-purple-color)}:host([variant=fuchsia]){--status-light-dot-color:var(--luzmo-fuchsia-color)}:host([variant=magenta]){--status-light-dot-color:var(--luzmo-magenta-color)}:host([variant=yellow]){--status-light-dot-color:var(--luzmo-yellow-color)}:host([variant=gray]){--status-light-dot-color:var(--luzmo-gray-color)}:host([variant=red]){--status-light-dot-color:var(--luzmo-red-color)}:host([variant=orange]){--status-light-dot-color:var(--luzmo-orange-color)}:host([variant=chartreuse]){--status-light-dot-color:var(--luzmo-chartreuse-color)}:host([variant=celery]){--status-light-dot-color:var(--luzmo-celery-color)}:host([variant=green]){--status-light-dot-color:var(--luzmo-green-color)}:host([variant=cyan]){--status-light-dot-color:var(--luzmo-cyan-color)}:host([variant=blue]){--status-light-dot-color:var(--luzmo-blue-color)}`,o=[`neutral`,`informative`,`positive`,`negative`,`notice`,`seafoam`,`indigo`,`purple`,`fuchsia`,`magenta`,`yellow`,`gray`,`red`,`orange`,`chartreuse`,`celery`,`green`,`cyan`,`blue`],s=class extends t.n(e.n,{validSizes:[`xs`,`s`,`m`,`l`,`xl`],noDefaultSize:!0}){constructor(...e){super(...e),this._languageScript=new n.n(this),this._variant=`neutral`,this.disabled=!1}static get styles(){return[(0,r.unsafeCSS)(a)]}get variant(){return this._variant}set variant(e){e!==this._variant&&(o.includes(e)?(this._variant=e,this.setAttribute(`variant`,e)):(this._variant=`neutral`,this.setAttribute(`variant`,`neutral`)))}render(){return r.html`
18
+ require("./tokens.cjs");const e=require("./decorate-SO02l0A6.cjs"),t=require("./sized-mixin-BqV6ywDw.cjs"),n=require("./language-resolution-B7D3hQ6_.cjs");let r=require("lit"),i=require("lit/decorators.js");var a=`:host{font-family:var(--luzmo-status-light-font-family,var(--luzmo-font-family));color:var(--highcontrast-status-light-content-color,var(--luzmo-status-light-content-color,var(--status-light-content-color)));min-block-size:var(--luzmo-status-light-height,var(--status-light-height));box-sizing:border-box;vertical-align:bottom;-webkit-user-select:none;user-select:none;align-items:center;gap:var(--luzmo-status-light-gap,var(--status-light-gap));outline:none;display:inline-flex;position:relative}.dot{block-size:var(--luzmo-status-light-dot-size,var(--status-light-dot-size));inline-size:var(--luzmo-status-light-dot-size,var(--status-light-dot-size));background-color:var(--highcontrast-status-light-dot-color,var(--luzmo-status-light-dot-color,var(--status-light-dot-color)));border-radius:50%;flex-shrink:0}.label{box-sizing:border-box;line-height:1;font-weight:var(--luzmo-status-light-font-weight,var(--status-light-font-weight));font-size:var(--luzmo-status-light-font-size,var(--status-light-font-size));cursor:default;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}:host([data-luzmo-language-script=Latn]) .label{text-box:trim-both cap alphabetic;margin-block:-.35em;padding-block:.35em}:host([data-luzmo-language-script=Latn]) .label slot::slotted(*){margin-block:-.35em;padding-block:.35em}:host([disabled]){opacity:var(--luzmo-status-light-disabled-opacity,.4);pointer-events:none;cursor:default}@media (forced-colors:active){:host{--highcontrast-status-light-content-color:ButtonText;forced-color-adjust:none}.dot{--highcontrast-status-light-dot-color:Highlight}:host([disabled]){--highcontrast-status-light-content-color:GrayText}:host([disabled]) .dot{--highcontrast-status-light-dot-color:GrayText}}:host{--status-light-content-color:var(--luzmo-font-color);--status-light-font-weight:var(--luzmo-font-weight);--status-light-dot-color:var(--luzmo-border-color-full)}:host([size=xs]){--status-light-height:var(--luzmo-component-height-xxs);--status-light-font-size:var(--luzmo-font-size-xs);--status-light-dot-size:6px;--status-light-gap:var(--luzmo-spacing-3)}:host([size=s]){--status-light-height:var(--luzmo-component-height-xs);--status-light-font-size:var(--luzmo-font-size-s);--status-light-dot-size:8px;--status-light-gap:var(--luzmo-spacing-3)}:host{--status-light-height:var(--luzmo-component-height-s);--status-light-font-size:var(--luzmo-font-size);--status-light-dot-size:10px;--status-light-gap:var(--luzmo-spacing-3)}:host([size=l]){--status-light-height:var(--luzmo-component-height);--status-light-font-size:var(--luzmo-font-size);--status-light-dot-size:12px;--status-light-gap:var(--luzmo-spacing-4)}:host([size=xl]){--status-light-height:var(--luzmo-component-height-l);--status-light-font-size:var(--luzmo-font-size-l);--status-light-dot-size:14px;--status-light-gap:var(--luzmo-spacing-4)}:host([variant=neutral]){--status-light-dot-color:var(--luzmo-selected-color-hard)}:host([variant=informative]){--status-light-dot-color:var(--luzmo-informative-color)}:host([variant=positive]){--status-light-dot-color:var(--luzmo-positive-color)}:host([variant=negative]){--status-light-dot-color:var(--luzmo-negative-color)}:host([variant=notice]){--status-light-dot-color:var(--luzmo-notice-color)}:host([variant=seafoam]){--status-light-dot-color:var(--luzmo-seafoam-color)}:host([variant=indigo]){--status-light-dot-color:var(--luzmo-indigo-color)}:host([variant=purple]){--status-light-dot-color:var(--luzmo-purple-color)}:host([variant=fuchsia]){--status-light-dot-color:var(--luzmo-fuchsia-color)}:host([variant=magenta]){--status-light-dot-color:var(--luzmo-magenta-color)}:host([variant=yellow]){--status-light-dot-color:var(--luzmo-yellow-color)}:host([variant=gray]){--status-light-dot-color:var(--luzmo-gray-color)}:host([variant=red]){--status-light-dot-color:var(--luzmo-red-color)}:host([variant=orange]){--status-light-dot-color:var(--luzmo-orange-color)}:host([variant=chartreuse]){--status-light-dot-color:var(--luzmo-chartreuse-color)}:host([variant=celery]){--status-light-dot-color:var(--luzmo-celery-color)}:host([variant=green]){--status-light-dot-color:var(--luzmo-green-color)}:host([variant=cyan]){--status-light-dot-color:var(--luzmo-cyan-color)}:host([variant=blue]){--status-light-dot-color:var(--luzmo-blue-color)}`,o=[`neutral`,`informative`,`positive`,`negative`,`notice`,`seafoam`,`indigo`,`purple`,`fuchsia`,`magenta`,`yellow`,`gray`,`red`,`orange`,`chartreuse`,`celery`,`green`,`cyan`,`blue`],s=class extends t.n(e.n,{validSizes:[`xs`,`s`,`m`,`l`,`xl`],noDefaultSize:!0}){constructor(...e){super(...e),this._languageScript=new n.n(this),this._variant=`neutral`,this.disabled=!1}static get styles(){return[(0,r.unsafeCSS)(a)]}get variant(){return this._variant}set variant(e){e!==this._variant&&(o.includes(e)?(this._variant=e,this.setAttribute(`variant`,e)):(this._variant=`neutral`,this.setAttribute(`variant`,`neutral`)))}render(){return r.html`
19
19
  <span class="dot"></span>
20
20
  <span class="label"><slot></slot></span>
21
21
  `}updated(e){super.updated(e),e.has(`disabled`)&&(this.disabled?this.setAttribute(`aria-disabled`,`true`):this.removeAttribute(`aria-disabled`))}firstUpdated(e){super.firstUpdated(e),this.hasAttribute(`role`)||this.setAttribute(`role`,`status`),this.hasAttribute(`variant`)||this.setAttribute(`variant`,this.variant)}};e.t([(0,i.property)({reflect:!0})],s.prototype,`variant`,null),e.t([(0,i.property)({type:Boolean,reflect:!0})],s.prototype,`disabled`,void 0),customElements.get(`luzmo-status-light`)||customElements.define(`luzmo-status-light`,s),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -17,7 +17,7 @@
17
17
  * */
18
18
  import "./tokens.js";
19
19
  import { n as e, t } from "./decorate-CpKsOs9z.js";
20
- import { n } from "./sized-mixin-BmxIAuoH.js";
20
+ import { n } from "./sized-mixin-Cb-47MjG.js";
21
21
  import { n as r } from "./language-resolution-7rc0khIK.js";
22
22
  import { html as i, unsafeCSS as a } from "lit";
23
23
  import { property as o } from "lit/decorators.js";
@@ -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
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../tokens.cjs");const e=require("../swatch-DiNMN-SZ.cjs");exports.LuzmoSwatch=e.n,exports.LuzmoSwatchGroup=e.t;
18
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../tokens.cjs");const e=require("../swatch-BX6GGDBs.cjs");exports.LuzmoSwatch=e.n,exports.LuzmoSwatchGroup=e.t;
@@ -16,4 +16,4 @@
16
16
  * SOFTWARE.
17
17
  * */
18
18
  import "../tokens.js";
19
- export { n as LuzmoSwatch, t as LuzmoSwatchGroup } from "../swatch-BBVsuSAV.js";
19
+ export { n as LuzmoSwatch, t as LuzmoSwatchGroup } from "../swatch-bXSCI96I.js";