@alfadocs/ui-kit 0.1.4 → 0.1.5

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 (273) hide show
  1. package/dist/_chunks/{agenda-card-C_hQGErS.js → agenda-card-DIWDvWum.js} +10 -10
  2. package/dist/_chunks/agenda-card-DIWDvWum.js.map +1 -0
  3. package/dist/_chunks/{agenda-tray-CBaVMJLO.js → agenda-tray-BqQZwiHc.js} +5 -5
  4. package/dist/_chunks/{agenda-tray-CBaVMJLO.js.map → agenda-tray-BqQZwiHc.js.map} +1 -1
  5. package/dist/_chunks/{ai-prompt-input-K94oVLG2.js → ai-prompt-input-CI27KmZ1.js} +4 -4
  6. package/dist/_chunks/ai-prompt-input-CI27KmZ1.js.map +1 -0
  7. package/dist/_chunks/{alert-rOM4EG0P.js → alert-BlOUMkXj.js} +39 -39
  8. package/dist/_chunks/alert-BlOUMkXj.js.map +1 -0
  9. package/dist/_chunks/{audio-recorder-Cn8z2zC9.js → audio-recorder-B-8SKgKn.js} +5 -5
  10. package/dist/_chunks/{audio-recorder-Cn8z2zC9.js.map → audio-recorder-B-8SKgKn.js.map} +1 -1
  11. package/dist/_chunks/{autocomplete.agent-DRrp-Rsx.js → autocomplete.agent-DqOy0_1P.js} +31 -31
  12. package/dist/_chunks/autocomplete.agent-DqOy0_1P.js.map +1 -0
  13. package/dist/_chunks/{avatar-Biffh-_H.js → avatar-Dcr6XuDQ.js} +19 -19
  14. package/dist/_chunks/avatar-Dcr6XuDQ.js.map +1 -0
  15. package/dist/_chunks/{balance-cell-renderer-CiyezQhi.js → balance-cell-renderer-BRWt3neo.js} +166 -166
  16. package/dist/_chunks/balance-cell-renderer-BRWt3neo.js.map +1 -0
  17. package/dist/_chunks/breadcrumb-D6xpsP7n.js +293 -0
  18. package/dist/_chunks/breadcrumb-D6xpsP7n.js.map +1 -0
  19. package/dist/_chunks/{button-7dTew-IV.js → button-7mLWcMp_.js} +9 -9
  20. package/dist/_chunks/{button-7dTew-IV.js.map → button-7mLWcMp_.js.map} +1 -1
  21. package/dist/_chunks/{calendar-BkDeDTaX.js → calendar-nGEgelJs.js} +100 -100
  22. package/dist/_chunks/calendar-nGEgelJs.js.map +1 -0
  23. package/dist/_chunks/{chat-input-xiBIujMv.js → chat-input-DsIrWM4f.js} +2 -2
  24. package/dist/_chunks/{chat-input-xiBIujMv.js.map → chat-input-DsIrWM4f.js.map} +1 -1
  25. package/dist/_chunks/{chat-message-BtxUyugB.js → chat-message-ByouZpPP.js} +3 -3
  26. package/dist/_chunks/{chat-message-BtxUyugB.js.map → chat-message-ByouZpPP.js.map} +1 -1
  27. package/dist/_chunks/{checkbox-Ni6C_KJg.js → checkbox-DNK4qS2_.js} +13 -13
  28. package/dist/_chunks/checkbox-DNK4qS2_.js.map +1 -0
  29. package/dist/_chunks/{checkbox-group-BFZ4oN5t.js → checkbox-group-CWpGZEF6.js} +13 -13
  30. package/dist/_chunks/checkbox-group-CWpGZEF6.js.map +1 -0
  31. package/dist/_chunks/{collapsible-fFMqzpdL.js → collapsible-D4LOdLxp.js} +18 -18
  32. package/dist/_chunks/collapsible-D4LOdLxp.js.map +1 -0
  33. package/dist/_chunks/{color-picker-Cl3KdjJd.js → color-picker-e9PmpaGH.js} +161 -161
  34. package/dist/_chunks/color-picker-e9PmpaGH.js.map +1 -0
  35. package/dist/_chunks/{combobox.agent-DjdivI3X.js → combobox.agent-ByobCLJ_.js} +28 -28
  36. package/dist/_chunks/combobox.agent-ByobCLJ_.js.map +1 -0
  37. package/dist/_chunks/{command-palette.agent-BUjzr2ET.js → command-palette.agent-js2rxgeR.js} +117 -117
  38. package/dist/_chunks/command-palette.agent-js2rxgeR.js.map +1 -0
  39. package/dist/_chunks/{description-list-C_1NX8P3.js → description-list-DvJbp6Yg.js} +2 -2
  40. package/dist/_chunks/{description-list-C_1NX8P3.js.map → description-list-DvJbp6Yg.js.map} +1 -1
  41. package/dist/_chunks/{dialog.agent-C2lP9H0h.js → dialog.agent-DEG_fVzG.js} +42 -42
  42. package/dist/_chunks/dialog.agent-DEG_fVzG.js.map +1 -0
  43. package/dist/_chunks/{dropdown-menu-2HgU1Emf.js → dropdown-menu-JNo66A-j.js} +2 -2
  44. package/dist/_chunks/dropdown-menu-JNo66A-j.js.map +1 -0
  45. package/dist/_chunks/{empty-state-BHrItOiE.js → empty-state-DQPtRp2b.js} +2 -2
  46. package/dist/_chunks/{empty-state-BHrItOiE.js.map → empty-state-DQPtRp2b.js.map} +1 -1
  47. package/dist/_chunks/{file-upload.agent-LlC0W468.js → file-upload.agent-B9AN82LA.js} +2 -2
  48. package/dist/_chunks/{file-upload.agent-LlC0W468.js.map → file-upload.agent-B9AN82LA.js.map} +1 -1
  49. package/dist/_chunks/{freemium-paywall-Dr9aOtOC.js → freemium-paywall-CkefGLM_.js} +4 -4
  50. package/dist/_chunks/{freemium-paywall-Dr9aOtOC.js.map → freemium-paywall-CkefGLM_.js.map} +1 -1
  51. package/dist/_chunks/{header-BpU9U-1X.js → header-BGn1mRp8.js} +2 -2
  52. package/dist/_chunks/{header-BpU9U-1X.js.map → header-BGn1mRp8.js.map} +1 -1
  53. package/dist/_chunks/{icon-button-CNjWCD1X.js → icon-button-Wnnde5lc.js} +6 -6
  54. package/dist/_chunks/icon-button-Wnnde5lc.js.map +1 -0
  55. package/dist/_chunks/input-surface-u4QB0lxe.js +32 -0
  56. package/dist/_chunks/input-surface-u4QB0lxe.js.map +1 -0
  57. package/dist/_chunks/{key-value-pair-C9hpjC_B.js → key-value-pair-JRFS9Xrh.js} +10 -10
  58. package/dist/_chunks/key-value-pair-JRFS9Xrh.js.map +1 -0
  59. package/dist/_chunks/{leo-sidebar-CNjZqljo.js → leo-sidebar-BzN4pJ7j.js} +16 -16
  60. package/dist/_chunks/leo-sidebar-BzN4pJ7j.js.map +1 -0
  61. package/dist/_chunks/{message-card-CZzNO4ov.js → message-card-qAp2-WQK.js} +12 -12
  62. package/dist/_chunks/message-card-qAp2-WQK.js.map +1 -0
  63. package/dist/_chunks/{message-tray-BWbjXW3F.js → message-tray-VaLpQU5t.js} +5 -5
  64. package/dist/_chunks/{message-tray-BWbjXW3F.js.map → message-tray-VaLpQU5t.js.map} +1 -1
  65. package/dist/_chunks/{multi-select.agent-BSGEW10d.js → multi-select.agent-CNsyW3n9.js} +66 -66
  66. package/dist/_chunks/multi-select.agent-CNsyW3n9.js.map +1 -0
  67. package/dist/_chunks/navigation-menu-EVFau1O2.js +180 -0
  68. package/dist/_chunks/navigation-menu-EVFau1O2.js.map +1 -0
  69. package/dist/_chunks/{notification-card-DgW-vVg-.js → notification-card-BF2_veHy.js} +11 -11
  70. package/dist/_chunks/notification-card-BF2_veHy.js.map +1 -0
  71. package/dist/_chunks/{notification-tray-CKUgl2jc.js → notification-tray-Bq-08ReD.js} +5 -5
  72. package/dist/_chunks/{notification-tray-CKUgl2jc.js.map → notification-tray-Bq-08ReD.js.map} +1 -1
  73. package/dist/_chunks/{number-input-BPPhekLu.js → number-input-DjpT_RXJ.js} +46 -46
  74. package/dist/_chunks/number-input-DjpT_RXJ.js.map +1 -0
  75. package/dist/_chunks/pagination.agent-oEaqmtx5.js +380 -0
  76. package/dist/_chunks/pagination.agent-oEaqmtx5.js.map +1 -0
  77. package/dist/_chunks/{password-input-DAT5HQth.js → password-input-DJDVznWH.js} +5 -5
  78. package/dist/_chunks/password-input-DJDVznWH.js.map +1 -0
  79. package/dist/_chunks/{patient-shell-BzHhg6uA.js → patient-shell-DP54y6rc.js} +5 -5
  80. package/dist/_chunks/{patient-shell-BzHhg6uA.js.map → patient-shell-DP54y6rc.js.map} +1 -1
  81. package/dist/_chunks/{payment-form-YlxrCpZQ.js → payment-form-hcl-gGrp.js} +2 -2
  82. package/dist/_chunks/{payment-form-YlxrCpZQ.js.map → payment-form-hcl-gGrp.js.map} +1 -1
  83. package/dist/_chunks/{pdf-viewer.agent-sMned5Xn.js → pdf-viewer.agent-CfIHhcHx.js} +3 -3
  84. package/dist/_chunks/{pdf-viewer.agent-sMned5Xn.js.map → pdf-viewer.agent-CfIHhcHx.js.map} +1 -1
  85. package/dist/_chunks/{phone-input-BuRe5PyI.js → phone-input-DE_39q65.js} +103 -103
  86. package/dist/_chunks/phone-input-DE_39q65.js.map +1 -0
  87. package/dist/_chunks/{popover-Ds1iOdiv.js → popover-DvAtFOi-.js} +2 -2
  88. package/dist/_chunks/{popover-Ds1iOdiv.js.map → popover-DvAtFOi-.js.map} +1 -1
  89. package/dist/_chunks/{privacy-lock-up2ervfF.js → privacy-lock-DS6QRo2N.js} +3 -3
  90. package/dist/_chunks/{privacy-lock-up2ervfF.js.map → privacy-lock-DS6QRo2N.js.map} +1 -1
  91. package/dist/_chunks/{progress-D4ELgHG3.js → progress-B4Of_pzz.js} +57 -57
  92. package/dist/_chunks/progress-B4Of_pzz.js.map +1 -0
  93. package/dist/_chunks/{radio-XSSNX3Af.js → radio-cs8N1wJi.js} +29 -29
  94. package/dist/_chunks/radio-cs8N1wJi.js.map +1 -0
  95. package/dist/_chunks/{radio-group-DBrUOPcy.js → radio-group-BIUbpWml.js} +3 -3
  96. package/dist/_chunks/radio-group-BIUbpWml.js.map +1 -0
  97. package/dist/_chunks/{scroll-area-HIq0hJyJ.js → scroll-area-DLr5w9Dd.js} +9 -9
  98. package/dist/_chunks/scroll-area-DLr5w9Dd.js.map +1 -0
  99. package/dist/_chunks/{search-bar-9Zbew4yM.js → search-bar-fcGqDFW3.js} +30 -30
  100. package/dist/_chunks/{search-bar-9Zbew4yM.js.map → search-bar-fcGqDFW3.js.map} +1 -1
  101. package/dist/_chunks/{search-input-CtkWITO2.js → search-input-BVMCONyN.js} +2 -2
  102. package/dist/_chunks/{search-input-CtkWITO2.js.map → search-input-BVMCONyN.js.map} +1 -1
  103. package/dist/_chunks/{select-DdAOtomN.js → select-IY_JQa-F.js} +50 -50
  104. package/dist/_chunks/select-IY_JQa-F.js.map +1 -0
  105. package/dist/_chunks/{sheet-D7GRhnWw.js → sheet-BhNpLHc9.js} +8 -8
  106. package/dist/_chunks/sheet-BhNpLHc9.js.map +1 -0
  107. package/dist/_chunks/{sidebar-Dc2ffrbf.js → sidebar-OVzwN3jE.js} +294 -294
  108. package/dist/_chunks/sidebar-OVzwN3jE.js.map +1 -0
  109. package/dist/_chunks/{sign-in-with-alfadocs-button-BotwPDcW.js → sign-in-with-alfadocs-button-BN_FPGHT.js} +2 -2
  110. package/dist/_chunks/{sign-in-with-alfadocs-button-BotwPDcW.js.map → sign-in-with-alfadocs-button-BN_FPGHT.js.map} +1 -1
  111. package/dist/_chunks/{skeleton-DAdPFx9d.js → skeleton-dtqyF09N.js} +8 -8
  112. package/dist/_chunks/skeleton-dtqyF09N.js.map +1 -0
  113. package/dist/_chunks/{slot-grid-WHc5A8-z.js → slot-grid-D_l5VsHG.js} +5 -5
  114. package/dist/_chunks/{slot-grid-WHc5A8-z.js.map → slot-grid-D_l5VsHG.js.map} +1 -1
  115. package/dist/_chunks/{stepper-accordion-2_7Pw0tC.js → stepper-accordion-CGog0JSF.js} +64 -64
  116. package/dist/_chunks/stepper-accordion-CGog0JSF.js.map +1 -0
  117. package/dist/_chunks/{stepper-calendar-CWZcFgt_.js → stepper-calendar-_fLOAjus.js} +7 -7
  118. package/dist/_chunks/{stepper-calendar-CWZcFgt_.js.map → stepper-calendar-_fLOAjus.js.map} +1 -1
  119. package/dist/_chunks/{switch-DhSORO9C.js → switch-aN2EYxHh.js} +4 -4
  120. package/dist/_chunks/switch-aN2EYxHh.js.map +1 -0
  121. package/dist/_chunks/{tabs.agent-BtaNGxRh.js → tabs.agent-BpbVA-Zh.js} +55 -55
  122. package/dist/_chunks/tabs.agent-BpbVA-Zh.js.map +1 -0
  123. package/dist/_chunks/{tag--uLKOb9f.js → tag-BqidXKo3.js} +2 -2
  124. package/dist/_chunks/tag-BqidXKo3.js.map +1 -0
  125. package/dist/_chunks/{task-card-BeSuntXP.js → task-card-yW7tKlG4.js} +17 -17
  126. package/dist/_chunks/task-card-yW7tKlG4.js.map +1 -0
  127. package/dist/_chunks/{task-tray-pRk6u8Ik.js → task-tray-BzahI5FQ.js} +5 -5
  128. package/dist/_chunks/{task-tray-pRk6u8Ik.js.map → task-tray-BzahI5FQ.js.map} +1 -1
  129. package/dist/_chunks/{text-area-xf9-6iDf.js → text-area-DmKSd2DG.js} +2 -2
  130. package/dist/_chunks/text-area-DmKSd2DG.js.map +1 -0
  131. package/dist/_chunks/{text-input-exh7VD7D.js → text-input-CRHvl5zk.js} +19 -19
  132. package/dist/_chunks/text-input-CRHvl5zk.js.map +1 -0
  133. package/dist/_chunks/{theme-toggle-CJgA6G24.js → theme-toggle-COHFwO2H.js} +4 -4
  134. package/dist/_chunks/{theme-toggle-CJgA6G24.js.map → theme-toggle-COHFwO2H.js.map} +1 -1
  135. package/dist/_chunks/{timeline-DIueH4TJ.js → timeline-RgAIzpMd.js} +2 -2
  136. package/dist/_chunks/{timeline-DIueH4TJ.js.map → timeline-RgAIzpMd.js.map} +1 -1
  137. package/dist/_chunks/{toast-q0SlabGr.js → toast-lOhJDKOH.js} +12 -12
  138. package/dist/_chunks/{toast-q0SlabGr.js.map → toast-lOhJDKOH.js.map} +1 -1
  139. package/dist/_chunks/{transcript-panel-DFnhbrlQ.js → transcript-panel-CNbVGG9L.js} +59 -59
  140. package/dist/_chunks/transcript-panel-CNbVGG9L.js.map +1 -0
  141. package/dist/_chunks/{visually-hidden-BlkhaZWe.js → visually-hidden-Bw7vBHLm.js} +6 -6
  142. package/dist/_chunks/{visually-hidden-BlkhaZWe.js.map → visually-hidden-Bw7vBHLm.js.map} +1 -1
  143. package/dist/_chunks/{warning-stack-DCmO0R07.js → warning-stack-8Pa3pekh.js} +24 -24
  144. package/dist/_chunks/warning-stack-8Pa3pekh.js.map +1 -0
  145. package/dist/_chunks/{workflow-map-CAM6Uy_J.js → workflow-map-DGJwVcO-.js} +106 -106
  146. package/dist/_chunks/workflow-map-DGJwVcO-.js.map +1 -0
  147. package/dist/agent-catalog.json +1 -1
  148. package/dist/components/_shared/input-surface.d.ts +11 -11
  149. package/dist/components/agenda-card/index.js +1 -1
  150. package/dist/components/agenda-tray/index.js +1 -1
  151. package/dist/components/ai-prompt-input/index.js +1 -1
  152. package/dist/components/alert/index.js +1 -1
  153. package/dist/components/audio-recorder/index.js +1 -1
  154. package/dist/components/autocomplete/index.js +1 -1
  155. package/dist/components/avatar/index.js +1 -1
  156. package/dist/components/breadcrumb/index.js +1 -1
  157. package/dist/components/button/index.js +2 -2
  158. package/dist/components/calendar/index.js +1 -1
  159. package/dist/components/chat-input/index.js +1 -1
  160. package/dist/components/chat-message/index.js +1 -1
  161. package/dist/components/checkbox/index.js +1 -1
  162. package/dist/components/checkbox-group/index.js +1 -1
  163. package/dist/components/collapsible/index.js +1 -1
  164. package/dist/components/color-picker/index.js +1 -1
  165. package/dist/components/combobox/index.js +1 -1
  166. package/dist/components/command-palette/index.js +1 -1
  167. package/dist/components/data-table/index.js +1 -1
  168. package/dist/components/description-list/index.js +1 -1
  169. package/dist/components/dialog/index.js +1 -1
  170. package/dist/components/dropdown-menu/index.js +1 -1
  171. package/dist/components/empty-state/index.js +1 -1
  172. package/dist/components/file-upload/index.js +1 -1
  173. package/dist/components/freemium-paywall/index.js +1 -1
  174. package/dist/components/header/index.js +1 -1
  175. package/dist/components/icon-button/index.js +1 -1
  176. package/dist/components/key-value-pair/index.js +1 -1
  177. package/dist/components/message-card/index.js +1 -1
  178. package/dist/components/message-tray/index.js +1 -1
  179. package/dist/components/multi-select/index.js +1 -1
  180. package/dist/components/navigation-menu/index.js +1 -1
  181. package/dist/components/notification-card/index.js +1 -1
  182. package/dist/components/notification-tray/index.js +1 -1
  183. package/dist/components/number-input/index.js +1 -1
  184. package/dist/components/pagination/index.js +1 -1
  185. package/dist/components/password-input/index.js +1 -1
  186. package/dist/components/payment-form/index.js +1 -1
  187. package/dist/components/pdf-viewer/index.js +1 -1
  188. package/dist/components/phone-input/index.js +1 -1
  189. package/dist/components/popover/index.js +1 -1
  190. package/dist/components/privacy-lock/index.js +1 -1
  191. package/dist/components/progress/index.js +1 -1
  192. package/dist/components/radio/index.js +1 -1
  193. package/dist/components/radio-group/index.js +2 -2
  194. package/dist/components/scroll-area/index.js +1 -1
  195. package/dist/components/search-bar/index.js +1 -1
  196. package/dist/components/search-input/index.js +1 -1
  197. package/dist/components/select/index.js +1 -1
  198. package/dist/components/sheet/index.js +1 -1
  199. package/dist/components/sidebar/index.js +1 -1
  200. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  201. package/dist/components/skeleton/index.js +1 -1
  202. package/dist/components/slot-grid/index.js +1 -1
  203. package/dist/components/stepper-accordion/index.js +1 -1
  204. package/dist/components/stepper-calendar/index.js +1 -1
  205. package/dist/components/switch/index.js +1 -1
  206. package/dist/components/tabs/index.js +1 -1
  207. package/dist/components/tag/index.js +1 -1
  208. package/dist/components/task-card/index.js +1 -1
  209. package/dist/components/task-tray/index.js +1 -1
  210. package/dist/components/text-area/index.js +1 -1
  211. package/dist/components/text-input/index.js +1 -1
  212. package/dist/components/theme-toggle/index.js +1 -1
  213. package/dist/components/timeline/index.js +1 -1
  214. package/dist/components/toast/index.js +1 -1
  215. package/dist/components/transcript-panel/index.js +1 -1
  216. package/dist/components/visually-hidden/index.js +1 -1
  217. package/dist/components/warning-stack/index.js +1 -1
  218. package/dist/components/workflow/index.js +1 -1
  219. package/dist/index.js +72 -72
  220. package/dist/patterns/leo-assistant/index.js +1 -1
  221. package/dist/patterns/patient-shell/index.js +1 -1
  222. package/dist/tokens.css +1 -1
  223. package/package.json +1 -1
  224. package/dist/_chunks/agenda-card-C_hQGErS.js.map +0 -1
  225. package/dist/_chunks/ai-prompt-input-K94oVLG2.js.map +0 -1
  226. package/dist/_chunks/alert-rOM4EG0P.js.map +0 -1
  227. package/dist/_chunks/autocomplete.agent-DRrp-Rsx.js.map +0 -1
  228. package/dist/_chunks/avatar-Biffh-_H.js.map +0 -1
  229. package/dist/_chunks/balance-cell-renderer-CiyezQhi.js.map +0 -1
  230. package/dist/_chunks/breadcrumb-CcZovmIq.js +0 -293
  231. package/dist/_chunks/breadcrumb-CcZovmIq.js.map +0 -1
  232. package/dist/_chunks/calendar-BkDeDTaX.js.map +0 -1
  233. package/dist/_chunks/checkbox-Ni6C_KJg.js.map +0 -1
  234. package/dist/_chunks/checkbox-group-BFZ4oN5t.js.map +0 -1
  235. package/dist/_chunks/collapsible-fFMqzpdL.js.map +0 -1
  236. package/dist/_chunks/color-picker-Cl3KdjJd.js.map +0 -1
  237. package/dist/_chunks/combobox.agent-DjdivI3X.js.map +0 -1
  238. package/dist/_chunks/command-palette.agent-BUjzr2ET.js.map +0 -1
  239. package/dist/_chunks/dialog.agent-C2lP9H0h.js.map +0 -1
  240. package/dist/_chunks/dropdown-menu-2HgU1Emf.js.map +0 -1
  241. package/dist/_chunks/icon-button-CNjWCD1X.js.map +0 -1
  242. package/dist/_chunks/input-surface-D5OMCB1W.js +0 -32
  243. package/dist/_chunks/input-surface-D5OMCB1W.js.map +0 -1
  244. package/dist/_chunks/key-value-pair-C9hpjC_B.js.map +0 -1
  245. package/dist/_chunks/leo-sidebar-CNjZqljo.js.map +0 -1
  246. package/dist/_chunks/message-card-CZzNO4ov.js.map +0 -1
  247. package/dist/_chunks/multi-select.agent-BSGEW10d.js.map +0 -1
  248. package/dist/_chunks/navigation-menu-DxOMvrKM.js +0 -180
  249. package/dist/_chunks/navigation-menu-DxOMvrKM.js.map +0 -1
  250. package/dist/_chunks/notification-card-DgW-vVg-.js.map +0 -1
  251. package/dist/_chunks/number-input-BPPhekLu.js.map +0 -1
  252. package/dist/_chunks/pagination.agent-CmA0Ocr5.js +0 -380
  253. package/dist/_chunks/pagination.agent-CmA0Ocr5.js.map +0 -1
  254. package/dist/_chunks/password-input-DAT5HQth.js.map +0 -1
  255. package/dist/_chunks/phone-input-BuRe5PyI.js.map +0 -1
  256. package/dist/_chunks/progress-D4ELgHG3.js.map +0 -1
  257. package/dist/_chunks/radio-XSSNX3Af.js.map +0 -1
  258. package/dist/_chunks/radio-group-DBrUOPcy.js.map +0 -1
  259. package/dist/_chunks/scroll-area-HIq0hJyJ.js.map +0 -1
  260. package/dist/_chunks/select-DdAOtomN.js.map +0 -1
  261. package/dist/_chunks/sheet-D7GRhnWw.js.map +0 -1
  262. package/dist/_chunks/sidebar-Dc2ffrbf.js.map +0 -1
  263. package/dist/_chunks/skeleton-DAdPFx9d.js.map +0 -1
  264. package/dist/_chunks/stepper-accordion-2_7Pw0tC.js.map +0 -1
  265. package/dist/_chunks/switch-DhSORO9C.js.map +0 -1
  266. package/dist/_chunks/tabs.agent-BtaNGxRh.js.map +0 -1
  267. package/dist/_chunks/tag--uLKOb9f.js.map +0 -1
  268. package/dist/_chunks/task-card-BeSuntXP.js.map +0 -1
  269. package/dist/_chunks/text-area-xf9-6iDf.js.map +0 -1
  270. package/dist/_chunks/text-input-exh7VD7D.js.map +0 -1
  271. package/dist/_chunks/transcript-panel-DFnhbrlQ.js.map +0 -1
  272. package/dist/_chunks/warning-stack-DCmO0R07.js.map +0 -1
  273. package/dist/_chunks/workflow-map-CAM6Uy_J.js.map +0 -1
@@ -1,57 +1,57 @@
1
- import { jsx as l, jsxs as h, Fragment as we } from "react/jsx-runtime";
1
+ import { jsx as d, jsxs as h, Fragment as we } from "react/jsx-runtime";
2
2
  import { forwardRef as $e, useId as Ne, useState as P, useMemo as F, useCallback as ke, useRef as H, useEffect as ee } from "react";
3
3
  import * as I from "@radix-ui/react-popover";
4
- import { c as re } from "./index-D2ZczOXr.js";
4
+ import { c as te } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as ye } from "react-i18next";
6
6
  import { u as Pe } from "./form-field-context-94LwgYTQ.js";
7
- import { S as se } from "./slider-DjyRt3Mp.js";
7
+ import { S as re } from "./slider-DjyRt3Mp.js";
8
8
  import { C as ne } from "./check-DPdL_Sm7.js";
9
9
  import { X as Ae } from "./x-CCcI3eJp.js";
10
10
  function V(e) {
11
- let a = e.startsWith("#") ? e.slice(1) : e;
12
- (a.length === 3 || a.length === 4) && (a = a.split("").map((c) => c + c).join(""));
13
- const s = parseInt(a.slice(0, 2), 16) / 255, r = parseInt(a.slice(2, 4), 16) / 255, n = parseInt(a.slice(4, 6), 16) / 255, i = a.length === 8 ? parseInt(a.slice(6, 8), 16) / 255 : 1;
14
- return oe(s, r, n, i);
11
+ let s = e.startsWith("#") ? e.slice(1) : e;
12
+ (s.length === 3 || s.length === 4) && (s = s.split("").map((c) => c + c).join(""));
13
+ const r = parseInt(s.slice(0, 2), 16) / 255, t = parseInt(s.slice(2, 4), 16) / 255, n = parseInt(s.slice(4, 6), 16) / 255, i = s.length === 8 ? parseInt(s.slice(6, 8), 16) / 255 : 1;
14
+ return oe(r, t, n, i);
15
15
  }
16
- function oe(e, a, s, r) {
17
- const n = Math.max(e, a, s), i = Math.min(e, a, s), c = (n + i) / 2;
16
+ function oe(e, s, r, t) {
17
+ const n = Math.max(e, s, r), i = Math.min(e, s, r), c = (n + i) / 2;
18
18
  let m = 0, p = 0;
19
19
  if (n !== i) {
20
20
  const b = n - i;
21
- p = c > 0.5 ? b / (2 - n - i) : b / (n + i), n === e ? m = ((a - s) / b + (a < s ? 6 : 0)) / 6 : n === a ? m = ((s - e) / b + 2) / 6 : m = ((e - a) / b + 4) / 6;
21
+ p = c > 0.5 ? b / (2 - n - i) : b / (n + i), n === e ? m = ((s - r) / b + (s < r ? 6 : 0)) / 6 : n === s ? m = ((r - e) / b + 2) / 6 : m = ((e - s) / b + 4) / 6;
22
22
  }
23
23
  return {
24
24
  h: Math.round(m * 360),
25
25
  s: Math.round(p * 100),
26
26
  l: Math.round(c * 100),
27
- a: Math.round(r * 100) / 100
27
+ a: Math.round(t * 100) / 100
28
28
  };
29
29
  }
30
30
  function $(e) {
31
- const { r: a, g: s, b: r } = G(e), n = (c) => Math.round(c * 255).toString(16).padStart(2, "0"), i = `#${n(a)}${n(s)}${n(r)}`;
31
+ const { r: s, g: r, b: t } = G(e), n = (c) => Math.round(c * 255).toString(16).padStart(2, "0"), i = `#${n(s)}${n(r)}${n(t)}`;
32
32
  return e.a < 1 ? `${i}${n(e.a)}` : i;
33
33
  }
34
34
  function Me(e) {
35
- const { r: a, g: s, b: r } = G(e), n = Math.round(a * 255), i = Math.round(s * 255), c = Math.round(r * 255);
35
+ const { r: s, g: r, b: t } = G(e), n = Math.round(s * 255), i = Math.round(r * 255), c = Math.round(t * 255);
36
36
  return e.a < 1 ? `rgba(${n}, ${i}, ${c}, ${e.a})` : `rgba(${n}, ${i}, ${c}, 1)`;
37
37
  }
38
38
  function G(e) {
39
- const a = e.h / 360, s = e.s / 100, r = e.l / 100;
40
- if (s === 0)
41
- return { r, g: r, b: r };
42
- const n = r < 0.5 ? r * (1 + s) : r + s - r * s, i = 2 * r - n;
39
+ const s = e.h / 360, r = e.s / 100, t = e.l / 100;
40
+ if (r === 0)
41
+ return { r: t, g: t, b: t };
42
+ const n = t < 0.5 ? t * (1 + r) : t + r - t * r, i = 2 * t - n;
43
43
  return {
44
- r: _(i, n, a + 1 / 3),
45
- g: _(i, n, a),
46
- b: _(i, n, a - 1 / 3)
44
+ r: _(i, n, s + 1 / 3),
45
+ g: _(i, n, s),
46
+ b: _(i, n, s - 1 / 3)
47
47
  };
48
48
  }
49
- function _(e, a, s) {
50
- let r = s;
51
- return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (a - e) * 6 * r : r < 1 / 2 ? a : r < 2 / 3 ? e + (a - e) * (2 / 3 - r) * 6 : e;
49
+ function _(e, s, r) {
50
+ let t = r;
51
+ return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? e + (s - e) * 6 * t : t < 1 / 2 ? s : t < 2 / 3 ? e + (s - e) * (2 / 3 - t) * 6 : e;
52
52
  }
53
- function B(e, a) {
54
- switch (a) {
53
+ function B(e, s) {
54
+ switch (s) {
55
55
  case "hex":
56
56
  return $(e);
57
57
  case "hsl":
@@ -61,37 +61,37 @@ function B(e, a) {
61
61
  }
62
62
  }
63
63
  function L(e) {
64
- const a = e.trim();
65
- if (!a) return null;
66
- if (a.startsWith("#")) {
67
- const n = a.slice(1);
68
- return !/^[0-9a-fA-F]{3,8}$/.test(n) || ![3, 4, 6, 8].includes(n.length) ? null : V(a);
64
+ const s = e.trim();
65
+ if (!s) return null;
66
+ if (s.startsWith("#")) {
67
+ const n = s.slice(1);
68
+ return !/^[0-9a-fA-F]{3,8}$/.test(n) || ![3, 4, 6, 8].includes(n.length) ? null : V(s);
69
69
  }
70
- const s = a.match(
70
+ const r = s.match(
71
71
  /^hsla?\(\s*([\d.]+)\s*[,/]\s*([\d.]+)%?\s*[,/]\s*([\d.]+)%?\s*(?:[,/]\s*([\d.]+))?\s*\)$/
72
72
  );
73
- if (s)
73
+ if (r)
74
74
  return {
75
- h: Math.round(parseFloat(s[1])) % 360,
76
- s: Math.round(parseFloat(s[2])),
77
- l: Math.round(parseFloat(s[3])),
78
- a: s[4] !== void 0 ? parseFloat(s[4]) : 1
75
+ h: Math.round(parseFloat(r[1])) % 360,
76
+ s: Math.round(parseFloat(r[2])),
77
+ l: Math.round(parseFloat(r[3])),
78
+ a: r[4] !== void 0 ? parseFloat(r[4]) : 1
79
79
  };
80
- const r = a.match(
80
+ const t = s.match(
81
81
  /^rgba?\(\s*([\d.]+)\s*[,/]\s*([\d.]+)\s*[,/]\s*([\d.]+)\s*(?:[,/]\s*([\d.]+))?\s*\)$/
82
82
  );
83
- if (r) {
84
- const n = parseFloat(r[1]) / 255, i = parseFloat(r[2]) / 255, c = parseFloat(r[3]) / 255, m = r[4] !== void 0 ? parseFloat(r[4]) : 1;
83
+ if (t) {
84
+ const n = parseFloat(t[1]) / 255, i = parseFloat(t[2]) / 255, c = parseFloat(t[3]) / 255, m = t[4] !== void 0 ? parseFloat(t[4]) : 1;
85
85
  return oe(n, i, c, m);
86
86
  }
87
87
  return null;
88
88
  }
89
- function ae(e) {
90
- const { r: a, g: s, b: r } = G(e), n = (i) => i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
91
- return 0.2126 * n(a) + 0.7152 * n(s) + 0.0722 * n(r);
89
+ function se(e) {
90
+ const { r: s, g: r, b: t } = G(e), n = (i) => i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
91
+ return 0.2126 * n(s) + 0.7152 * n(r) + 0.0722 * n(t);
92
92
  }
93
- function Se(e, a) {
94
- const s = ae(e), r = ae(a), n = Math.max(s, r), i = Math.min(s, r);
93
+ function Se(e, s) {
94
+ const r = se(e), t = se(s), n = Math.max(r, t), i = Math.min(r, t);
95
95
  return Math.round((n + 0.05) / (i + 0.05) * 100) / 100;
96
96
  }
97
97
  function Te(e) {
@@ -150,7 +150,7 @@ const Ie = [
150
150
  { name: "Grey 300", hex: "#f9f6f3" },
151
151
  { name: "Grey 500", hex: "#f6f1ed" },
152
152
  { name: "Grey 700", hex: "#afaba8" }
153
- ], u = 6, Le = re(
153
+ ], u = 6, Le = te(
154
154
  [
155
155
  "ds:inline-flex ds:items-center ds:w-full",
156
156
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--border)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
@@ -169,7 +169,7 @@ const Ie = [
169
169
  },
170
170
  defaultVariants: { size: "md" }
171
171
  }
172
- ), Ee = re(
172
+ ), Ee = te(
173
173
  [
174
174
  "ds:relative ds:rounded-[var(--radius-sm)] ds:border-2 ds:cursor-pointer",
175
175
  "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
@@ -192,62 +192,62 @@ const Ie = [
192
192
  defaultVariants: { selected: !1 }
193
193
  }
194
194
  ), Re = [
195
- "flex flex-col gap-[var(--spacing-md)]",
196
- "rounded-[var(--radius-md)] bg-[var(--background)] text-[var(--foreground)]",
197
- "p-[var(--spacing-md)]"
195
+ "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
196
+ "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
197
+ "ds:p-[var(--spacing-md)]"
198
198
  ].join(" "), Fe = [
199
- "bg-[image:repeating-conic-gradient(var(--color-grey-700)_0%_25%,transparent_0%_50%)]",
200
- "bg-[size:8px_8px]"
199
+ "ds:bg-[image:repeating-conic-gradient(var(--color-grey-700)_0%_25%,transparent_0%_50%)]",
200
+ "ds:bg-[size:8px_8px]"
201
201
  ].join(" "), He = [
202
- "rounded-[var(--radius-md)] bg-[var(--background)] text-[var(--foreground)]",
203
- "p-[var(--spacing-sm)]"
202
+ "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
203
+ "ds:p-[var(--spacing-sm)]"
204
204
  ].join(" "), _e = [
205
- "z-[var(--z-popover)] rounded-[var(--radius-md)]",
206
- "border border-[color:var(--border)] bg-[var(--background)] shadow-[var(--shadow-lg)]",
207
- "w-72",
208
- "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
209
- "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
210
- "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2",
211
- "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2"
205
+ "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
206
+ "ds:border ds:border-[color:var(--border)] ds:bg-[var(--background)] ds:shadow-[var(--shadow-lg)]",
207
+ "ds:w-72",
208
+ "ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0 ds:data-[state=open]:zoom-in-95",
209
+ "ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
210
+ "ds:data-[side=bottom]:slide-in-from-top-2 ds:data-[side=top]:slide-in-from-bottom-2",
211
+ "ds:data-[side=left]:slide-in-from-right-2 ds:data-[side=right]:slide-in-from-left-2"
212
212
  ].join(" "), Be = [
213
- "w-full rounded-[var(--radius-sm)] border bg-[var(--background)] text-[var(--foreground)]",
214
- "ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] py-[var(--spacing-xs)] text-[var(--font-size-sm)]",
215
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
216
- "focus-visible:outline-[color:var(--ring)] focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
217
- "disabled:cursor-not-allowed disabled:opacity-50",
218
- "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none"
219
- ].join(" "), ie = "[&>span:first-child]:bg-transparent [&>span:first-child>span]:bg-transparent", Oe = $e(
220
- (e, a) => {
213
+ "ds:w-full ds:rounded-[var(--radius-sm)] ds:border ds:bg-[var(--background)] ds:text-[var(--foreground)]",
214
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[var(--font-size-sm)]",
215
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
216
+ "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
217
+ "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
218
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
219
+ ].join(" "), ie = "ds:[&>span:first-child]:bg-transparent ds:[&>span:first-child>span]:bg-transparent", Oe = $e(
220
+ (e, s) => {
221
221
  const {
222
- value: s,
223
- defaultValue: r,
222
+ value: r,
223
+ defaultValue: t,
224
224
  onChange: n,
225
225
  format: i = "hex",
226
226
  allowOpacity: c = !1,
227
227
  palette: m,
228
228
  against: p,
229
229
  size: b = "md",
230
- disabled: le = !1,
231
- variant: de = "inline",
230
+ disabled: de = !1,
231
+ variant: le = "inline",
232
232
  compact: A = !0,
233
233
  className: D
234
- } = e, { t: g } = ye(), N = Pe(), ce = Ne(), M = N.id || ce, v = N.disabled || le, S = s !== void 0, [j, fe] = P(() => {
235
- const t = s ?? r;
236
- if (t) {
237
- const d = L(t);
238
- if (d) return d;
234
+ } = e, { t: g } = ye(), N = Pe(), ce = Ne(), M = N.id || ce, v = N.disabled || de, S = r !== void 0, [j, fe] = P(() => {
235
+ const a = r ?? t;
236
+ if (a) {
237
+ const l = L(a);
238
+ if (l) return l;
239
239
  }
240
240
  return { h: 0, s: 100, l: 50, a: 1 };
241
241
  }), o = F(() => {
242
- if (S && s) {
243
- const t = L(s);
244
- if (t) return t;
242
+ if (S && r) {
243
+ const a = L(r);
244
+ if (a) return a;
245
245
  }
246
246
  return j;
247
- }, [S, s, j]), C = ke(
248
- (t) => {
249
- const d = c ? t : { ...t, a: 1 };
250
- S || fe(d), n == null || n(B(d, i));
247
+ }, [S, r, j]), C = ke(
248
+ (a) => {
249
+ const l = c ? a : { ...a, a: 1 };
250
+ S || fe(l), n == null || n(B(l, i));
251
251
  },
252
252
  [c, i, S, n]
253
253
  ), [W, E] = P(() => $(o)), [ue, T] = P(!1), w = H(void 0), U = H(o);
@@ -257,33 +257,33 @@ const Ie = [
257
257
  w.current !== void 0 && clearTimeout(w.current);
258
258
  }, []);
259
259
  const he = () => {
260
- const t = L(W);
261
- t ? (T(!1), C(t)) : (T(!0), w.current = setTimeout(() => {
260
+ const a = L(W);
261
+ a ? (T(!1), C(a)) : (T(!0), w.current = setTimeout(() => {
262
262
  w.current = void 0, T(!1), E($(U.current));
263
263
  }, 800));
264
264
  }, y = F(() => m ? m.map(
265
- (t) => typeof t == "string" ? { name: t.toUpperCase(), hex: t } : t
265
+ (a) => typeof a == "string" ? { name: a.toUpperCase(), hex: a } : a
266
266
  ) : Ie, [m]), K = $(o), X = y.findIndex(
267
- (t) => t.hex.toLowerCase() === K.toLowerCase()
267
+ (a) => a.hex.toLowerCase() === K.toLowerCase()
268
268
  ), Y = H(null), [x, q] = P(
269
269
  X >= 0 ? X : 0
270
- ), me = (t) => {
270
+ ), me = (a) => {
271
271
  var f;
272
- const d = (f = Y.current) == null ? void 0 : f.querySelectorAll('[role="gridcell"]');
273
- d != null && d[t] && (d[t].focus(), q(t));
274
- }, ge = (t) => {
272
+ const l = (f = Y.current) == null ? void 0 : f.querySelectorAll('[role="gridcell"]');
273
+ l != null && l[a] && (l[a].focus(), q(a));
274
+ }, ge = (a) => {
275
275
  if (v) return;
276
- const d = y.length;
276
+ const l = y.length;
277
277
  let f = x;
278
- switch (t.key) {
278
+ switch (a.key) {
279
279
  case "ArrowRight":
280
- f = (x + 1) % d;
280
+ f = (x + 1) % l;
281
281
  break;
282
282
  case "ArrowLeft":
283
- f = (x - 1 + d) % d;
283
+ f = (x - 1 + l) % l;
284
284
  break;
285
285
  case "ArrowDown":
286
- f = Math.min(x + u, d - 1);
286
+ f = Math.min(x + u, l - 1);
287
287
  break;
288
288
  case "ArrowUp":
289
289
  f = Math.max(x - u, 0);
@@ -292,31 +292,31 @@ const Ie = [
292
292
  f = Math.floor(x / u) * u;
293
293
  break;
294
294
  case "End":
295
- f = Math.min(Math.floor(x / u) * u + u - 1, d - 1);
295
+ f = Math.min(Math.floor(x / u) * u + u - 1, l - 1);
296
296
  break;
297
297
  case "PageUp":
298
298
  f = x % u;
299
299
  break;
300
300
  case "PageDown": {
301
- const Q = Math.floor((d - 1) / u) * u;
302
- f = Math.min(Q + x % u, d - 1);
301
+ const Q = Math.floor((l - 1) / u) * u;
302
+ f = Math.min(Q + x % u, l - 1);
303
303
  break;
304
304
  }
305
305
  case "Enter":
306
306
  case " ":
307
- t.preventDefault(), C(V(y[x].hex));
307
+ a.preventDefault(), C(V(y[x].hex));
308
308
  return;
309
309
  default:
310
310
  return;
311
311
  }
312
- t.preventDefault(), me(f);
312
+ a.preventDefault(), me(f);
313
313
  }, [xe, ve] = P(!1), z = F(() => {
314
314
  if (!p) return null;
315
- const t = L(p);
316
- if (!t) return null;
317
- const d = Se(o, t);
318
- return { ratio: d, aa: Te(d), aaa: ze(d) };
319
- }, [p, o]), pe = /* @__PURE__ */ l(
315
+ const a = L(p);
316
+ if (!a) return null;
317
+ const l = Se(o, a);
318
+ return { ratio: l, aa: Te(l), aaa: ze(l) };
319
+ }, [p, o]), pe = /* @__PURE__ */ d(
320
320
  "div",
321
321
  {
322
322
  ref: Y,
@@ -324,11 +324,11 @@ const Ie = [
324
324
  "aria-label": g("ui.inputs.colorPicker.paletteLabel", "Colour swatches"),
325
325
  onKeyDown: ge,
326
326
  className: "ds:grid ds:grid-cols-6 ds:gap-[var(--spacing-xs)]",
327
- children: y.map((t, d) => {
328
- const f = Math.floor(d / u) * u;
329
- return d === f ? /* @__PURE__ */ l("div", { role: "row", className: "ds:contents", children: y.slice(f, f + u).map((k, Ce) => {
327
+ children: y.map((a, l) => {
328
+ const f = Math.floor(l / u) * u;
329
+ return l === f ? /* @__PURE__ */ d("div", { role: "row", className: "ds:contents", children: y.slice(f, f + u).map((k, Ce) => {
330
330
  const Z = f + Ce, R = k.hex.toLowerCase() === K.toLowerCase();
331
- return /* @__PURE__ */ l(
331
+ return /* @__PURE__ */ d(
332
332
  "div",
333
333
  {
334
334
  role: "gridcell",
@@ -340,31 +340,31 @@ const Ie = [
340
340
  },
341
341
  className: Ee({ selected: R }),
342
342
  style: { "--swatch-bg": k.hex },
343
- children: R ? /* @__PURE__ */ l(ne, { "aria-hidden": "true", className: "ds:absolute ds:inset-0 ds:m-auto ds:size-4 ds:text-[var(--background)] ds:mix-blend-difference" }) : null
343
+ children: R ? /* @__PURE__ */ d(ne, { "aria-hidden": "true", className: "ds:absolute ds:inset-0 ds:m-auto ds:size-4 ds:text-[var(--background)] ds:mix-blend-difference" }) : null
344
344
  },
345
345
  k.hex
346
346
  );
347
- }) }, d) : null;
347
+ }) }, l) : null;
348
348
  })
349
349
  }
350
350
  ), be = A ? null : /* @__PURE__ */ h(we, { children: [
351
351
  /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
352
- /* @__PURE__ */ l("label", { htmlFor: `${M}-hex`, className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: g("ui.inputs.colorPicker.hex", "Hex") }),
353
- /* @__PURE__ */ l("bdi", { dir: "ltr", children: /* @__PURE__ */ l(
352
+ /* @__PURE__ */ d("label", { htmlFor: `${M}-hex`, className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: g("ui.inputs.colorPicker.hex", "Hex") }),
353
+ /* @__PURE__ */ d("bdi", { dir: "ltr", children: /* @__PURE__ */ d(
354
354
  "input",
355
355
  {
356
356
  id: `${M}-hex`,
357
357
  type: "text",
358
358
  value: W,
359
359
  disabled: v,
360
- onChange: (t) => E(t.target.value),
360
+ onChange: (a) => E(a.target.value),
361
361
  onBlur: he,
362
- className: `${Be} ${ue ? "border-[var(--destructive)]" : "border-[color:var(--border)]"}`
362
+ className: `${Be} ${ue ? "ds:border-[var(--destructive)]" : "ds:border-[color:var(--border)]"}`
363
363
  }
364
364
  ) })
365
365
  ] }),
366
366
  /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
367
- /* @__PURE__ */ l(
367
+ /* @__PURE__ */ d(
368
368
  O,
369
369
  {
370
370
  label: g("ui.inputs.colorPicker.hue", "Hue"),
@@ -372,12 +372,12 @@ const Ie = [
372
372
  min: 0,
373
373
  max: 360,
374
374
  value: o.h,
375
- onChange: (t) => C({ ...o, h: t }),
376
- formatValue: (t) => `H ${t}°`,
375
+ onChange: (a) => C({ ...o, h: a }),
376
+ formatValue: (a) => `H ${a}°`,
377
377
  disabled: v
378
378
  }
379
379
  ),
380
- /* @__PURE__ */ l(
380
+ /* @__PURE__ */ d(
381
381
  O,
382
382
  {
383
383
  label: g("ui.inputs.colorPicker.saturation", "Saturation"),
@@ -385,12 +385,12 @@ const Ie = [
385
385
  min: 0,
386
386
  max: 100,
387
387
  value: o.s,
388
- onChange: (t) => C({ ...o, s: t }),
389
- formatValue: (t) => `S ${t}%`,
388
+ onChange: (a) => C({ ...o, s: a }),
389
+ formatValue: (a) => `S ${a}%`,
390
390
  disabled: v
391
391
  }
392
392
  ),
393
- /* @__PURE__ */ l(
393
+ /* @__PURE__ */ d(
394
394
  O,
395
395
  {
396
396
  label: g("ui.inputs.colorPicker.lightness", "Lightness"),
@@ -398,22 +398,22 @@ const Ie = [
398
398
  min: 0,
399
399
  max: 100,
400
400
  value: o.l,
401
- onChange: (t) => C({ ...o, l: t }),
402
- formatValue: (t) => `L ${t}%`,
401
+ onChange: (a) => C({ ...o, l: a }),
402
+ formatValue: (a) => `L ${a}%`,
403
403
  disabled: v
404
404
  }
405
405
  ),
406
406
  c ? /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
407
- /* @__PURE__ */ l("label", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: g("ui.inputs.colorPicker.opacity", "Opacity") }),
407
+ /* @__PURE__ */ d("label", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: g("ui.inputs.colorPicker.opacity", "Opacity") }),
408
408
  /* @__PURE__ */ h("div", { className: "ds:relative", children: [
409
- /* @__PURE__ */ l(
409
+ /* @__PURE__ */ d(
410
410
  "div",
411
411
  {
412
412
  className: `ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ${Fe}`,
413
413
  "aria-hidden": "true"
414
414
  }
415
415
  ),
416
- /* @__PURE__ */ l(
416
+ /* @__PURE__ */ d(
417
417
  "div",
418
418
  {
419
419
  className: "ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ds:bg-[image:var(--opacity-gradient)]",
@@ -423,16 +423,16 @@ const Ie = [
423
423
  "aria-hidden": "true"
424
424
  }
425
425
  ),
426
- /* @__PURE__ */ l(
427
- se,
426
+ /* @__PURE__ */ d(
427
+ re,
428
428
  {
429
429
  min: 0,
430
430
  max: 100,
431
431
  step: 1,
432
432
  value: [Math.round(o.a * 100)],
433
- onValueChange: ([t]) => C({ ...o, a: t / 100 }),
433
+ onValueChange: ([a]) => C({ ...o, a: a / 100 }),
434
434
  "aria-label": g("ui.inputs.colorPicker.opacity", "Opacity"),
435
- formatValue: (t) => `${t}%`,
435
+ formatValue: (a) => `${a}%`,
436
436
  disabled: v,
437
437
  className: ie
438
438
  }
@@ -441,12 +441,12 @@ const Ie = [
441
441
  ] }) : null
442
442
  ] }),
443
443
  z ? /* @__PURE__ */ h("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:text-[length:var(--font-size-sm)]", role: "status", "aria-live": "polite", children: [
444
- /* @__PURE__ */ l("span", { className: "ds:tabular-nums", children: g("ui.inputs.colorPicker.contrastRatio", { ratio: z.ratio.toFixed(1) }) }),
445
- /* @__PURE__ */ l(te, { level: "AA", passes: z.aa, t: g }),
446
- /* @__PURE__ */ l(te, { level: "AAA", passes: z.aaa, t: g })
444
+ /* @__PURE__ */ d("span", { className: "ds:tabular-nums", children: g("ui.inputs.colorPicker.contrastRatio", { ratio: z.ratio.toFixed(1) }) }),
445
+ /* @__PURE__ */ d(ae, { level: "AA", passes: z.aa, t: g }),
446
+ /* @__PURE__ */ d(ae, { level: "AAA", passes: z.aaa, t: g })
447
447
  ] }) : null,
448
448
  /* @__PURE__ */ h("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
449
- /* @__PURE__ */ l(
449
+ /* @__PURE__ */ d(
450
450
  "div",
451
451
  {
452
452
  className: "ds:size-8 ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--border)] ds:bg-[var(--swatch-bg)]",
@@ -454,16 +454,16 @@ const Ie = [
454
454
  "aria-hidden": "true"
455
455
  }
456
456
  ),
457
- /* @__PURE__ */ l("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:tabular-nums", children: B(o, i) })
457
+ /* @__PURE__ */ d("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:tabular-nums", children: B(o, i) })
458
458
  ] })
459
459
  ] }), J = /* @__PURE__ */ h("div", { className: A ? He : Re, children: [
460
460
  pe,
461
461
  be
462
462
  ] });
463
- return de === "inline" ? /* @__PURE__ */ l(
463
+ return le === "inline" ? /* @__PURE__ */ d(
464
464
  "div",
465
465
  {
466
- ref: a,
466
+ ref: s,
467
467
  id: M,
468
468
  className: D,
469
469
  "aria-describedby": N.describedBy || void 0,
@@ -474,10 +474,10 @@ const Ie = [
474
474
  children: J
475
475
  }
476
476
  ) : /* @__PURE__ */ h(I.Root, { open: xe, onOpenChange: ve, children: [
477
- /* @__PURE__ */ l(I.Trigger, { asChild: !0, disabled: v, children: /* @__PURE__ */ h(
477
+ /* @__PURE__ */ d(I.Trigger, { asChild: !0, disabled: v, children: /* @__PURE__ */ h(
478
478
  "button",
479
479
  {
480
- ref: a,
480
+ ref: s,
481
481
  type: "button",
482
482
  id: M,
483
483
  "aria-describedby": N.describedBy || void 0,
@@ -486,56 +486,56 @@ const Ie = [
486
486
  "data-component": "color-picker",
487
487
  "data-testid": "color-picker-trigger",
488
488
  children: [
489
- /* @__PURE__ */ l(
489
+ /* @__PURE__ */ d(
490
490
  "span",
491
491
  {
492
- className: `ds:inline-block ds:size-5 ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--border)] ds:shrink-0 ds:bg-[var(--swatch-bg)]${A ? "" : " me-[var(--spacing-sm)]"}`,
492
+ className: `ds:inline-block ds:size-5 ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--border)] ds:shrink-0 ds:bg-[var(--swatch-bg)]${A ? "" : " ds:me-[var(--spacing-sm)]"}`,
493
493
  "aria-hidden": "true",
494
494
  style: { "--swatch-bg": $(o) }
495
495
  }
496
496
  ),
497
- A ? null : /* @__PURE__ */ l("span", { className: "ds:text-start ds:truncate ds:tabular-nums", children: B(o, i) })
497
+ A ? null : /* @__PURE__ */ d("span", { className: "ds:text-start ds:truncate ds:tabular-nums", children: B(o, i) })
498
498
  ]
499
499
  }
500
500
  ) }),
501
- /* @__PURE__ */ l(I.Portal, { children: /* @__PURE__ */ l(I.Content, { sideOffset: 4, align: "start", className: _e, children: J }) })
501
+ /* @__PURE__ */ d(I.Portal, { children: /* @__PURE__ */ d(I.Content, { sideOffset: 4, align: "start", className: _e, children: J }) })
502
502
  ] });
503
503
  }
504
504
  );
505
505
  Oe.displayName = "ColorPicker";
506
- function te({ level: e, passes: a, t: s }) {
506
+ function ae({ level: e, passes: s, t: r }) {
507
507
  return /* @__PURE__ */ h("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
508
- /* @__PURE__ */ l("abbr", { title: `Web Content Accessibility Guidelines Level ${e}`, className: "ds:no-underline ds:font-medium", children: e }),
509
- a ? /* @__PURE__ */ l(ne, { "aria-hidden": "true", className: "ds:size-4 ds:text-[var(--success)]" }) : /* @__PURE__ */ l(Ae, { "aria-hidden": "true", className: "ds:size-4 ds:text-[var(--destructive)]" }),
510
- /* @__PURE__ */ l("span", { className: "ds:sr-only", children: a ? s("ui.inputs.colorPicker.contrastPass", "Pass") : s("ui.inputs.colorPicker.contrastFail", "Fail") })
508
+ /* @__PURE__ */ d("abbr", { title: `Web Content Accessibility Guidelines Level ${e}`, className: "ds:no-underline ds:font-medium", children: e }),
509
+ s ? /* @__PURE__ */ d(ne, { "aria-hidden": "true", className: "ds:size-4 ds:text-[var(--success)]" }) : /* @__PURE__ */ d(Ae, { "aria-hidden": "true", className: "ds:size-4 ds:text-[var(--destructive)]" }),
510
+ /* @__PURE__ */ d("span", { className: "ds:sr-only", children: s ? r("ui.inputs.colorPicker.contrastPass", "Pass") : r("ui.inputs.colorPicker.contrastFail", "Fail") })
511
511
  ] });
512
512
  }
513
513
  function O({
514
514
  label: e,
515
- gradient: a,
516
- min: s,
517
- max: r,
515
+ gradient: s,
516
+ min: r,
517
+ max: t,
518
518
  value: n,
519
519
  onChange: i,
520
520
  formatValue: c,
521
521
  disabled: m
522
522
  }) {
523
523
  return /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
524
- /* @__PURE__ */ l("label", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: e }),
524
+ /* @__PURE__ */ d("label", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: e }),
525
525
  /* @__PURE__ */ h("div", { className: "ds:relative", children: [
526
- /* @__PURE__ */ l(
526
+ /* @__PURE__ */ d(
527
527
  "div",
528
528
  {
529
529
  className: "ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ds:bg-[image:var(--slider-gradient)]",
530
- style: { "--slider-gradient": a },
530
+ style: { "--slider-gradient": s },
531
531
  "aria-hidden": "true"
532
532
  }
533
533
  ),
534
- /* @__PURE__ */ l(
535
- se,
534
+ /* @__PURE__ */ d(
535
+ re,
536
536
  {
537
- min: s,
538
- max: r,
537
+ min: r,
538
+ max: t,
539
539
  step: 1,
540
540
  value: [n],
541
541
  onValueChange: ([p]) => i(p),
@@ -553,4 +553,4 @@ export {
553
553
  Ye as B,
554
554
  Oe as C
555
555
  };
556
- //# sourceMappingURL=color-picker-Cl3KdjJd.js.map
556
+ //# sourceMappingURL=color-picker-e9PmpaGH.js.map