@alfadocs/ui-kit-debug 1.93.1 → 1.94.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 (200) hide show
  1. package/dist/_chunks/{ai-prompt-input-DH_rnV-F.js → ai-prompt-input-CG9BEggs.js} +2 -2
  2. package/dist/_chunks/{ai-prompt-input-DH_rnV-F.js.map → ai-prompt-input-CG9BEggs.js.map} +1 -1
  3. package/dist/_chunks/{anamnesis-summary-rows-EKPfVCmh.js → anamnesis-summary-rows-IMohuz0D.js} +3 -3
  4. package/dist/_chunks/{anamnesis-summary-rows-EKPfVCmh.js.map → anamnesis-summary-rows-IMohuz0D.js.map} +1 -1
  5. package/dist/_chunks/{audio-recorder-m7Jqvvcl.js → audio-recorder-BOm2FgEu.js} +2 -2
  6. package/dist/_chunks/{audio-recorder-m7Jqvvcl.js.map → audio-recorder-BOm2FgEu.js.map} +1 -1
  7. package/dist/_chunks/{balance-badge-cell-BtJvre1-.js → balance-badge-cell-vZxbOFgP.js} +4 -4
  8. package/dist/_chunks/{balance-badge-cell-BtJvre1-.js.map → balance-badge-cell-vZxbOFgP.js.map} +1 -1
  9. package/dist/_chunks/{bishop-score-C5di6oAV.js → bishop-score-BBYuyk2k.js} +2 -2
  10. package/dist/_chunks/{bishop-score-C5di6oAV.js.map → bishop-score-BBYuyk2k.js.map} +1 -1
  11. package/dist/_chunks/{calendar-appointment-editor-dialog-sJKLoVJ2.js → calendar-appointment-editor-dialog-CsVWoRcP.js} +5 -5
  12. package/dist/_chunks/{calendar-appointment-editor-dialog-sJKLoVJ2.js.map → calendar-appointment-editor-dialog-CsVWoRcP.js.map} +1 -1
  13. package/dist/_chunks/{data-table-CqQgoNsU.js → data-table-C_nnpJ-Q.js} +2 -2
  14. package/dist/_chunks/{data-table-CqQgoNsU.js.map → data-table-C_nnpJ-Q.js.map} +1 -1
  15. package/dist/_chunks/{document-preview-QEbr7jp1.js → document-preview-ytR1FcWA.js} +2 -2
  16. package/dist/_chunks/{document-preview-QEbr7jp1.js.map → document-preview-ytR1FcWA.js.map} +1 -1
  17. package/dist/_chunks/{file-manager-BnI1ZWZu.js → file-manager-CAIbuaSs.js} +2 -2
  18. package/dist/_chunks/{file-manager-BnI1ZWZu.js.map → file-manager-CAIbuaSs.js.map} +1 -1
  19. package/dist/_chunks/{gestational-age-calculator-Dr9hdDta.js → gestational-age-calculator-Dn8IOXHB.js} +2 -2
  20. package/dist/_chunks/{gestational-age-calculator-Dr9hdDta.js.map → gestational-age-calculator-Dn8IOXHB.js.map} +1 -1
  21. package/dist/_chunks/group-options-BvKhQ3xb.js.map +1 -1
  22. package/dist/_chunks/{heatmap-fCxwNz2o.js → heatmap-DdF8qTTV.js} +2 -2
  23. package/dist/_chunks/{heatmap-fCxwNz2o.js.map → heatmap-DdF8qTTV.js.map} +1 -1
  24. package/dist/_chunks/{kit-extensions-a0G4COFH.js → kit-extensions-44gudqqq.js} +3 -3
  25. package/dist/_chunks/{kit-extensions-a0G4COFH.js.map → kit-extensions-44gudqqq.js.map} +1 -1
  26. package/dist/_chunks/{link-cell-renderer-BS3V4LA6.js → link-cell-renderer-OmvrkUeN.js} +2 -2
  27. package/dist/_chunks/{link-cell-renderer-BS3V4LA6.js.map → link-cell-renderer-OmvrkUeN.js.map} +1 -1
  28. package/dist/_chunks/{muscle-scheme-C66WlCxG.js → muscle-scheme-B7qMW0ho.js} +2 -2
  29. package/dist/_chunks/{muscle-scheme-C66WlCxG.js.map → muscle-scheme-B7qMW0ho.js.map} +1 -1
  30. package/dist/_chunks/{operator-hero-C_5B-8Qp.js → operator-hero-D_0KoEuJ.js} +31 -31
  31. package/dist/_chunks/operator-hero-D_0KoEuJ.js.map +1 -0
  32. package/dist/_chunks/{optical-prescription-CMM1Y6Xg.js → optical-prescription-BGVeDVSP.js} +2 -2
  33. package/dist/_chunks/{optical-prescription-CMM1Y6Xg.js.map → optical-prescription-BGVeDVSP.js.map} +1 -1
  34. package/dist/_chunks/{patient-details-BjcUpD9S.js → patient-details-DTlpBYHJ.js} +2 -2
  35. package/dist/_chunks/{patient-details-BjcUpD9S.js.map → patient-details-DTlpBYHJ.js.map} +1 -1
  36. package/dist/_chunks/{patient-field-row-B0tdiaWi.js → patient-field-row-DWTKV1hF.js} +2 -2
  37. package/dist/_chunks/{patient-field-row-B0tdiaWi.js.map → patient-field-row-DWTKV1hF.js.map} +1 -1
  38. package/dist/_chunks/{patient-summary-card-Cvv6_Ugk.js → patient-summary-card-C61AR4Tn.js} +2 -2
  39. package/dist/_chunks/{patient-summary-card-Cvv6_Ugk.js.map → patient-summary-card-C61AR4Tn.js.map} +1 -1
  40. package/dist/_chunks/{pregnancy-dating-BHvfDxz4.js → pregnancy-dating-CuVj9KGR.js} +2 -2
  41. package/dist/_chunks/{pregnancy-dating-BHvfDxz4.js.map → pregnancy-dating-CuVj9KGR.js.map} +1 -1
  42. package/dist/_chunks/{registration-form-CRm6DaB9.js → registration-form-BygI73vG.js} +2 -2
  43. package/dist/_chunks/{registration-form-CRm6DaB9.js.map → registration-form-BygI73vG.js.map} +1 -1
  44. package/dist/_chunks/{reserved.agent-DnPwaa4u.js → reserved.agent-XU88crNW.js} +2 -2
  45. package/dist/_chunks/{reserved.agent-DnPwaa4u.js.map → reserved.agent-XU88crNW.js.map} +1 -1
  46. package/dist/_chunks/{select-4S-eYZUf.js → select-BBDRYxJl.js} +247 -241
  47. package/dist/_chunks/select-BBDRYxJl.js.map +1 -0
  48. package/dist/_chunks/signature-request-BVGeF0qB.js +2774 -0
  49. package/dist/_chunks/signature-request-BVGeF0qB.js.map +1 -0
  50. package/dist/_chunks/{tabs-BTj-2qMZ.js → tabs-BmxQu-TJ.js} +2 -2
  51. package/dist/_chunks/{tabs-BTj-2qMZ.js.map → tabs-BmxQu-TJ.js.map} +1 -1
  52. package/dist/_chunks/{task-editor-CI1SKUNc.js → task-editor-BZeSBxwU.js} +2 -2
  53. package/dist/_chunks/{task-editor-CI1SKUNc.js.map → task-editor-BZeSBxwU.js.map} +1 -1
  54. package/dist/_chunks/{tasks-panel-BkjtgjQ8.js → tasks-panel-BTCYGLGA.js} +2 -2
  55. package/dist/_chunks/{tasks-panel-BkjtgjQ8.js.map → tasks-panel-BTCYGLGA.js.map} +1 -1
  56. package/dist/_chunks/{unit-converter-BH5ueIhT.js → unit-converter-C95sa5y8.js} +2 -2
  57. package/dist/_chunks/{unit-converter-BH5ueIhT.js.map → unit-converter-C95sa5y8.js.map} +1 -1
  58. package/dist/_chunks/{use-appointment-details-read-D8vDg0sg.js → use-appointment-details-read-B6uhmNdV.js} +2 -2
  59. package/dist/_chunks/{use-appointment-details-read-D8vDg0sg.js.map → use-appointment-details-read-B6uhmNdV.js.map} +1 -1
  60. package/dist/_chunks/{voice-control-panel-BP0otrID.js → voice-control-panel-BGJjUwnY.js} +2 -2
  61. package/dist/_chunks/{voice-control-panel-BP0otrID.js.map → voice-control-panel-BGJjUwnY.js.map} +1 -1
  62. package/dist/agent-catalog.json +9 -5
  63. package/dist/agent-i18n/en.json +4 -4
  64. package/dist/components/_shared/group-options.d.ts +2 -2
  65. package/dist/components/_shared/group-options.d.ts.map +1 -1
  66. package/dist/components/ai-prompt-input/index.js +1 -1
  67. package/dist/components/appointment-details-panel/index.js +1 -1
  68. package/dist/components/audio-recorder/index.js +1 -1
  69. package/dist/components/bishop-score/index.js +1 -1
  70. package/dist/components/booking/index.js +1 -1
  71. package/dist/components/data-table/index.js +2 -2
  72. package/dist/components/document-preview/index.js +1 -1
  73. package/dist/components/file-manager/index.js +1 -1
  74. package/dist/components/gestational-age-calculator/index.js +1 -1
  75. package/dist/components/heatmap/index.js +1 -1
  76. package/dist/components/muscle-scheme/index.js +1 -1
  77. package/dist/components/operator-hero/index.js +1 -1
  78. package/dist/components/operator-hero/operator-hero.d.ts +3 -2
  79. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  80. package/dist/components/optical-prescription/index.js +1 -1
  81. package/dist/components/patient-details/index.js +1 -1
  82. package/dist/components/patient-summary-card/index.js +1 -1
  83. package/dist/components/patient-table/index.js +1 -1
  84. package/dist/components/pregnancy-dating/index.js +1 -1
  85. package/dist/components/rich-text-editor/index.js +1 -1
  86. package/dist/components/select/index.js +1 -1
  87. package/dist/components/select/select.d.ts +13 -1
  88. package/dist/components/select/select.d.ts.map +1 -1
  89. package/dist/components/skeleton-scheme/index.js +1 -1
  90. package/dist/components/tabs/index.js +1 -1
  91. package/dist/components/task-editor/index.js +1 -1
  92. package/dist/components/tasks-panel/index.js +1 -1
  93. package/dist/components/unit-converter/index.js +1 -1
  94. package/dist/components/voice-control-panel/index.js +1 -1
  95. package/dist/core.css +1 -1
  96. package/dist/i18n/locales/ar.d.ts +4 -0
  97. package/dist/i18n/locales/ar.d.ts.map +1 -1
  98. package/dist/i18n/locales/ar.js +4 -0
  99. package/dist/i18n/locales/ar.js.map +1 -1
  100. package/dist/i18n/locales/de.d.ts +4 -0
  101. package/dist/i18n/locales/de.d.ts.map +1 -1
  102. package/dist/i18n/locales/de.js +4 -0
  103. package/dist/i18n/locales/de.js.map +1 -1
  104. package/dist/i18n/locales/el.d.ts +4 -0
  105. package/dist/i18n/locales/el.d.ts.map +1 -1
  106. package/dist/i18n/locales/el.js +4 -0
  107. package/dist/i18n/locales/el.js.map +1 -1
  108. package/dist/i18n/locales/en.d.ts +4 -0
  109. package/dist/i18n/locales/en.d.ts.map +1 -1
  110. package/dist/i18n/locales/en.js +4 -0
  111. package/dist/i18n/locales/en.js.map +1 -1
  112. package/dist/i18n/locales/es.d.ts +4 -0
  113. package/dist/i18n/locales/es.d.ts.map +1 -1
  114. package/dist/i18n/locales/es.js +4 -0
  115. package/dist/i18n/locales/es.js.map +1 -1
  116. package/dist/i18n/locales/fr.d.ts +4 -0
  117. package/dist/i18n/locales/fr.d.ts.map +1 -1
  118. package/dist/i18n/locales/fr.js +4 -0
  119. package/dist/i18n/locales/fr.js.map +1 -1
  120. package/dist/i18n/locales/hi.d.ts +4 -0
  121. package/dist/i18n/locales/hi.d.ts.map +1 -1
  122. package/dist/i18n/locales/hi.js +4 -0
  123. package/dist/i18n/locales/hi.js.map +1 -1
  124. package/dist/i18n/locales/it.d.ts +4 -0
  125. package/dist/i18n/locales/it.d.ts.map +1 -1
  126. package/dist/i18n/locales/it.js +4 -0
  127. package/dist/i18n/locales/it.js.map +1 -1
  128. package/dist/i18n/locales/ja.d.ts +4 -0
  129. package/dist/i18n/locales/ja.d.ts.map +1 -1
  130. package/dist/i18n/locales/ja.js +4 -0
  131. package/dist/i18n/locales/ja.js.map +1 -1
  132. package/dist/i18n/locales/nl.d.ts +4 -0
  133. package/dist/i18n/locales/nl.d.ts.map +1 -1
  134. package/dist/i18n/locales/nl.js +4 -0
  135. package/dist/i18n/locales/nl.js.map +1 -1
  136. package/dist/i18n/locales/pl.d.ts +4 -0
  137. package/dist/i18n/locales/pl.d.ts.map +1 -1
  138. package/dist/i18n/locales/pl.js +4 -0
  139. package/dist/i18n/locales/pl.js.map +1 -1
  140. package/dist/i18n/locales/pt.d.ts +4 -0
  141. package/dist/i18n/locales/pt.d.ts.map +1 -1
  142. package/dist/i18n/locales/pt.js +4 -0
  143. package/dist/i18n/locales/pt.js.map +1 -1
  144. package/dist/i18n/locales/ro.d.ts +4 -0
  145. package/dist/i18n/locales/ro.d.ts.map +1 -1
  146. package/dist/i18n/locales/ro.js +4 -0
  147. package/dist/i18n/locales/ro.js.map +1 -1
  148. package/dist/i18n/locales/ru.d.ts +4 -0
  149. package/dist/i18n/locales/ru.d.ts.map +1 -1
  150. package/dist/i18n/locales/ru.js +4 -0
  151. package/dist/i18n/locales/ru.js.map +1 -1
  152. package/dist/i18n/locales/sq.d.ts +4 -0
  153. package/dist/i18n/locales/sq.d.ts.map +1 -1
  154. package/dist/i18n/locales/sq.js +4 -0
  155. package/dist/i18n/locales/sq.js.map +1 -1
  156. package/dist/i18n/locales/sv.d.ts +4 -0
  157. package/dist/i18n/locales/sv.d.ts.map +1 -1
  158. package/dist/i18n/locales/sv.js +4 -0
  159. package/dist/i18n/locales/sv.js.map +1 -1
  160. package/dist/i18n/locales/tr.d.ts +4 -0
  161. package/dist/i18n/locales/tr.d.ts.map +1 -1
  162. package/dist/i18n/locales/tr.js +4 -0
  163. package/dist/i18n/locales/tr.js.map +1 -1
  164. package/dist/i18n/locales/zh.d.ts +4 -0
  165. package/dist/i18n/locales/zh.d.ts.map +1 -1
  166. package/dist/i18n/locales/zh.js +4 -0
  167. package/dist/i18n/locales/zh.js.map +1 -1
  168. package/dist/index.js +29 -29
  169. package/dist/locales/ar.json +4 -0
  170. package/dist/locales/de.json +4 -0
  171. package/dist/locales/el.json +4 -0
  172. package/dist/locales/en.json +4 -0
  173. package/dist/locales/es.json +4 -0
  174. package/dist/locales/fr.json +4 -0
  175. package/dist/locales/hi.json +4 -0
  176. package/dist/locales/it.json +4 -0
  177. package/dist/locales/ja.json +4 -0
  178. package/dist/locales/nl.json +4 -0
  179. package/dist/locales/pl.json +4 -0
  180. package/dist/locales/pt.json +4 -0
  181. package/dist/locales/ro.json +4 -0
  182. package/dist/locales/ru.json +4 -0
  183. package/dist/locales/sq.json +4 -0
  184. package/dist/locales/sv.json +4 -0
  185. package/dist/locales/tr.json +4 -0
  186. package/dist/locales/zh.json +4 -0
  187. package/dist/patterns/anamnesis/index.js +1 -1
  188. package/dist/patterns/calendar/index.js +1 -1
  189. package/dist/patterns/registration-form/index.js +1 -1
  190. package/dist/patterns/signature-request/index.js +1 -1
  191. package/dist/patterns/signature-request/required-documents.d.ts +2 -1
  192. package/dist/patterns/signature-request/required-documents.d.ts.map +1 -1
  193. package/dist/patterns/signature-request/signature-request.d.ts +61 -0
  194. package/dist/patterns/signature-request/signature-request.d.ts.map +1 -1
  195. package/dist/tokens.css +1 -1
  196. package/package.json +1 -1
  197. package/dist/_chunks/operator-hero-C_5B-8Qp.js.map +0 -1
  198. package/dist/_chunks/select-4S-eYZUf.js.map +0 -1
  199. package/dist/_chunks/signature-request-DvhyrRpn.js +0 -2448
  200. package/dist/_chunks/signature-request-DvhyrRpn.js.map +0 -1
@@ -1,22 +1,22 @@
1
- import { jsx as e, jsxs as m } from "react/jsx-runtime";
2
- import { forwardRef as f, useContext as fe, useId as pe, useState as M, useRef as _, useEffect as Ae, useMemo as De, createContext as Fe } from "react";
3
- import { u as Le } from "./registry-DvAUVLHh.js";
4
- import * as n from "@radix-ui/react-select";
1
+ import { jsx as e, jsxs as p } from "react/jsx-runtime";
2
+ import { forwardRef as f, useContext as ge, useId as me, useState as M, useRef as P, useEffect as Ae, useMemo as De, Fragment as Fe, createContext as Le } from "react";
3
+ import { u as Ge } from "./registry-DvAUVLHh.js";
4
+ import * as o from "@radix-ui/react-select";
5
5
  import { c as J } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Ge } from "react-i18next";
7
- import { u as Ke, F as We, a as $e } from "./form-field-context-DtiROUJV.js";
8
- import { g as qe } from "./group-options-BvKhQ3xb.js";
9
- import { u as He } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
10
- import { u as Me } from "./use-controllable-state-BiY4xTzM.js";
11
- import { b as Ue } from "./menu-row-BAr8bx1I.js";
12
- import { P as Xe } from "./popup-region-qz_5_A0V.js";
13
- import { o as U, b as Je, d as Qe, c as Ye } from "./option-row-Dc7BrbK8.js";
14
- import { C as Ze } from "./chevron-up-umRGgtJA.js";
15
- import { C as ge } from "./chevron-down-DWE7GSq9.js";
16
- import { C as et } from "./check-DrFSN__t.js";
17
- import { u as tt } from "./use-direction-Dp8h70PP.js";
18
- import { X as st } from "./x-B5YnXwCz.js";
19
- const at = {
6
+ import { useTranslation as Ke } from "react-i18next";
7
+ import { u as We, F as $e, a as qe } from "./form-field-context-DtiROUJV.js";
8
+ import { g as He } from "./group-options-BvKhQ3xb.js";
9
+ import { u as Me } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
10
+ import { u as Ue } from "./use-controllable-state-BiY4xTzM.js";
11
+ import { b as Xe } from "./menu-row-BAr8bx1I.js";
12
+ import { P as Je } from "./popup-region-qz_5_A0V.js";
13
+ import { o as U, b as Qe, d as Ye, c as Ze } from "./option-row-Dc7BrbK8.js";
14
+ import { C as et } from "./chevron-up-umRGgtJA.js";
15
+ import { C as he } from "./chevron-down-DWE7GSq9.js";
16
+ import { C as tt } from "./check-DrFSN__t.js";
17
+ import { u as st } from "./use-direction-Dp8h70PP.js";
18
+ import { X as at } from "./x-B5YnXwCz.js";
19
+ const nt = {
20
20
  id: "select",
21
21
  // Persisted single choice (value state + set_value) → select_single + set_value,
22
22
  // plus open/close of the option list.
@@ -49,7 +49,7 @@ const at = {
49
49
  },
50
50
  idempotent: !0,
51
51
  descriptionKey: "ui.agent.select.actions.setValue",
52
- description: "Select the option with the given value. A value that is not among the options, or belongs to a disabled option, is ignored and the selection stays as it was.",
52
+ description: "Select the option with the given value. A value that is not among the options, belongs to a disabled option, or is an action option (such as New signatory), is ignored and the selection stays as it was.",
53
53
  examples: [{ args: { value: "it" }, note: 'Select the "it" option.' }],
54
54
  invoke: (t, a) => {
55
55
  t.setValue(a.value);
@@ -100,7 +100,7 @@ const at = {
100
100
  description: "Stable opaque option value emitted on each rendered option."
101
101
  }
102
102
  }
103
- }, he = J(
103
+ }, ve = J(
104
104
  [
105
105
  "ds:group ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:w-full",
106
106
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-input",
@@ -145,12 +145,12 @@ const at = {
145
145
  "ds:data-[side=top]:slide-in-from-bottom-2",
146
146
  "ds:motion-reduce:animate-none"
147
147
  ].join(" ")
148
- ), nt = J(
148
+ ), rt = J(
149
149
  [
150
150
  "ds:relative ds:flex ds:cursor-pointer ds:items-center",
151
151
  "ds:rounded-[var(--radius-sm)]",
152
152
  "ds:text-foreground ds:outline-none ds:select-none",
153
- Ue.highlighted,
153
+ Xe.highlighted,
154
154
  "ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
155
155
  ].join(" "),
156
156
  {
@@ -165,7 +165,7 @@ const at = {
165
165
  size: "md"
166
166
  }
167
167
  }
168
- ), rt = [
168
+ ), it = [
169
169
  "ds:ps-8 ds:pe-3 ds:py-1.5",
170
170
  "type-eyebrow ds:text-muted-foreground",
171
171
  "ds:sticky ds:top-0 ds:bg-background"
@@ -173,88 +173,88 @@ const at = {
173
173
  sm: "ds:size-3.5",
174
174
  md: "ds:size-4",
175
175
  lg: "ds:size-5"
176
- }, it = {
176
+ }, lt = {
177
177
  sm: "ds:start-2",
178
178
  md: "ds:start-2",
179
179
  lg: "ds:start-3"
180
180
  };
181
- function lt(...t) {
181
+ function ct(...t) {
182
182
  return (a) => {
183
- for (const o of t)
184
- o && (typeof o == "function" ? o(a) : o.current = a);
183
+ for (const n of t)
184
+ n && (typeof n == "function" ? n(a) : n.current = a);
185
185
  };
186
186
  }
187
- const Q = Fe(void 0), ve = ({
187
+ const Q = Le(void 0), be = ({
188
188
  open: t,
189
189
  defaultOpen: a,
190
- onOpenChange: o,
191
- ...r
190
+ onOpenChange: n,
191
+ ...i
192
192
  }) => {
193
- const [l, i] = Me({
193
+ const [u, l] = Ue({
194
194
  value: t,
195
195
  defaultValue: a ?? !1,
196
- onChange: o
196
+ onChange: n
197
197
  });
198
- return /* @__PURE__ */ e(Q.Provider, { value: l ?? !1, children: /* @__PURE__ */ e(
199
- n.Root,
198
+ return /* @__PURE__ */ e(Q.Provider, { value: u ?? !1, children: /* @__PURE__ */ e(
199
+ o.Root,
200
200
  {
201
- open: l ?? !1,
202
- onOpenChange: i,
203
- ...r
201
+ open: u ?? !1,
202
+ onOpenChange: l,
203
+ ...i
204
204
  }
205
205
  ) });
206
206
  };
207
- ve.displayName = "Select.Root";
208
- const be = f(
209
- ({ size: t, tone: a, className: o, children: r, ...l }, i) => /* @__PURE__ */ e(
210
- n.Trigger,
207
+ be.displayName = "Select.Root";
208
+ const ye = f(
209
+ ({ size: t, tone: a, className: n, children: i, ...u }, l) => /* @__PURE__ */ e(
210
+ o.Trigger,
211
211
  {
212
- ref: i,
213
- className: he({ size: t, tone: a, className: o }),
214
- ...l,
215
- children: r
212
+ ref: l,
213
+ className: ve({ size: t, tone: a, className: n }),
214
+ ...u,
215
+ children: i
216
216
  }
217
217
  )
218
218
  );
219
- be.displayName = "Select.Trigger";
220
- const X = { "data-select-value": "" }, me = [
219
+ ye.displayName = "Select.Trigger";
220
+ const X = { "data-select-value": "" }, fe = [
221
221
  "ds:[[data-select-value]_&]:block",
222
222
  "ds:[[data-select-value]_&]:truncate"
223
- ].join(" "), ye = f((t, a) => /* @__PURE__ */ e(n.Value, { ref: a, ...X, ...t }));
224
- ye.displayName = "Select.Value";
223
+ ].join(" "), Se = f((t, a) => /* @__PURE__ */ e(o.Value, { ref: a, ...X, ...t }));
224
+ Se.displayName = "Select.Value";
225
225
  const Y = f(
226
226
  ({
227
227
  className: t,
228
228
  children: a,
229
- position: o = "popper",
230
- sideOffset: r = 4,
231
- container: l,
232
- ...i
233
- }, C) => {
234
- const w = fe(Q);
235
- return /* @__PURE__ */ e(n.Portal, { container: l ?? void 0, children: /* @__PURE__ */ e(Xe, { popupRef: C, open: w, children: (h) => /* @__PURE__ */ m(
236
- n.Content,
229
+ position: n = "popper",
230
+ sideOffset: i = 4,
231
+ container: u,
232
+ ...l
233
+ }, w) => {
234
+ const T = ge(Q);
235
+ return /* @__PURE__ */ e(o.Portal, { container: u ?? void 0, children: /* @__PURE__ */ e(Je, { popupRef: w, open: T, children: (h) => /* @__PURE__ */ p(
236
+ o.Content,
237
237
  {
238
238
  ref: h,
239
- position: o,
240
- sideOffset: r,
239
+ position: n,
240
+ sideOffset: i,
241
241
  "data-component": "select-content",
242
242
  className: ot({ className: t }),
243
- ...i,
243
+ ...l,
244
244
  children: [
245
- /* @__PURE__ */ e(n.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(Ze, { "aria-hidden": "true", className: "ds:size-4" }) }),
245
+ /* @__PURE__ */ e(o.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(et, { "aria-hidden": "true", className: "ds:size-4" }) }),
246
246
  a,
247
- /* @__PURE__ */ e(n.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(ge, { "aria-hidden": "true", className: "ds:size-4" }) })
247
+ /* @__PURE__ */ e(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(he, { "aria-hidden": "true", className: "ds:size-4" }) })
248
248
  ]
249
249
  }
250
250
  ) }) });
251
251
  }
252
252
  );
253
253
  Y.displayName = "Select.Content";
254
- const Z = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
255
- n.Viewport,
254
+ const Z = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
255
+ o.Viewport,
256
256
  {
257
- ref: o,
257
+ ref: n,
258
258
  className: ["ds:p-1", t].filter(Boolean).join(" "),
259
259
  ...a
260
260
  }
@@ -264,20 +264,20 @@ const ee = f(
264
264
  ({
265
265
  size: t = "md",
266
266
  className: a,
267
- children: o,
268
- startAdornment: r,
269
- endContent: l,
270
- description: i,
271
- descriptionTone: C,
272
- descriptionInName: w = !1,
267
+ children: n,
268
+ startAdornment: i,
269
+ endContent: u,
270
+ description: l,
271
+ descriptionTone: w,
272
+ descriptionInName: T = !1,
273
273
  wrapLabel: h = !1,
274
274
  labelDir: v,
275
275
  ...y
276
- }, V) => {
277
- const P = it[t ?? "md"], A = dt[t ?? "md"], T = pe(), x = pe(), g = i != null && i !== "", R = g && w, j = R ? { id: x } : {}, D = R ? { "aria-labelledby": `${x} ${T}` } : {}, k = h ? U({
276
+ }, O) => {
277
+ const A = lt[t ?? "md"], D = dt[t ?? "md"], R = me(), S = me(), g = l != null && l !== "", z = g && T, k = z ? { id: S } : {}, F = z ? { "aria-labelledby": `${S} ${R}` } : {}, E = h ? U({
278
278
  wrap: !0,
279
- className: me
280
- }) : "", S = g ? "ds:group-data-[disabled]/select-item:opacity-50" : "", E = l ? (
279
+ className: fe
280
+ }) : "", x = g ? "ds:group-data-[disabled]/select-item:opacity-50" : "", _ = u ? (
281
281
  // Radix points the item's `aria-labelledby` at `ItemText`, so
282
282
  // anything rendered outside it is dropped from the accessible
283
283
  // name — a price there would be visible but never announced.
@@ -301,54 +301,54 @@ const ee = f(
301
301
  // our own span become the ItemText element, so `flex-1` lands.
302
302
  //
303
303
  // A wrapping label keeps the end content on its first line.
304
- /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ m(
304
+ /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ p(
305
305
  "span",
306
306
  {
307
- className: Qe({
307
+ className: Ye({
308
308
  wrap: h,
309
- className: S
309
+ className: x
310
310
  }),
311
311
  children: [
312
312
  /* @__PURE__ */ e(
313
313
  "span",
314
314
  {
315
315
  dir: v,
316
- className: k || U(),
317
- children: o
316
+ className: E || U(),
317
+ children: n
318
318
  }
319
319
  ),
320
- /* @__PURE__ */ e("span", { className: Je, children: l })
320
+ /* @__PURE__ */ e("span", { className: Qe, children: u })
321
321
  ]
322
322
  }
323
323
  ) })
324
- ) : g || h ? /* @__PURE__ */ e(n.ItemText, { asChild: !0, ...j, children: /* @__PURE__ */ e(
324
+ ) : g || h ? /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ e(
325
325
  "span",
326
326
  {
327
327
  dir: v,
328
- className: [k, S].filter(Boolean).join(" "),
329
- children: o
328
+ className: [E, x].filter(Boolean).join(" "),
329
+ children: n
330
330
  }
331
331
  ) }) : v ? (
332
332
  // Our own element, so the direction sits on the box that clips, in
333
333
  // the list and in the trigger (Radix mirrors this span there).
334
- /* @__PURE__ */ e(n.ItemText, { asChild: !0, children: /* @__PURE__ */ e(
334
+ /* @__PURE__ */ e(o.ItemText, { asChild: !0, children: /* @__PURE__ */ e(
335
335
  "span",
336
336
  {
337
337
  dir: v,
338
338
  className: U({
339
- className: me
339
+ className: fe
340
340
  }),
341
- children: o
341
+ children: n
342
342
  }
343
343
  ) })
344
- ) : /* @__PURE__ */ e(n.ItemText, { children: o });
345
- return /* @__PURE__ */ m(
346
- n.Item,
344
+ ) : /* @__PURE__ */ e(o.ItemText, { children: n });
345
+ return /* @__PURE__ */ p(
346
+ o.Item,
347
347
  {
348
- ref: V,
349
- ...D,
350
- "aria-describedby": g && !R ? T : void 0,
351
- className: nt({
348
+ ref: O,
349
+ ...F,
350
+ "aria-describedby": g && !z ? R : void 0,
351
+ className: rt({
352
352
  size: t,
353
353
  className: g ? [
354
354
  "ds:group/select-item ds:data-[disabled]:!opacity-100",
@@ -360,64 +360,64 @@ const ee = f(
360
360
  /* @__PURE__ */ e(
361
361
  "span",
362
362
  {
363
- className: `ds:absolute ${P} ds:inline-flex ds:items-center ds:justify-center ${S}`,
363
+ className: `ds:absolute ${A} ds:inline-flex ds:items-center ds:justify-center ${x}`,
364
364
  "aria-hidden": "true",
365
- children: /* @__PURE__ */ e(n.ItemIndicator, { children: /* @__PURE__ */ e(et, { className: A }) })
365
+ children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(tt, { className: D }) })
366
366
  }
367
367
  ),
368
- r ? (
368
+ i ? (
369
369
  // Decorative by contract — accessible name comes from the item text.
370
370
  /* @__PURE__ */ e(
371
371
  "span",
372
372
  {
373
373
  "aria-hidden": "true",
374
- className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${S}`,
375
- children: r
374
+ className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${x}`,
375
+ children: i
376
376
  }
377
377
  )
378
378
  ) : null,
379
- g || h ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
380
- E,
379
+ g || h ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
380
+ _,
381
381
  g ? /* @__PURE__ */ e(
382
382
  "span",
383
383
  {
384
- id: T,
385
- className: Ye({
386
- tone: C
384
+ id: R,
385
+ className: Ze({
386
+ tone: w
387
387
  }),
388
- children: i
388
+ children: l
389
389
  }
390
390
  ) : null
391
- ] }) : E
391
+ ] }) : _
392
392
  ]
393
393
  }
394
394
  );
395
395
  }
396
396
  );
397
397
  ee.displayName = "Select.Item";
398
- const xe = f((t, a) => /* @__PURE__ */ e(n.ItemText, { ref: a, ...t }));
398
+ const xe = f((t, a) => /* @__PURE__ */ e(o.ItemText, { ref: a, ...t }));
399
399
  xe.displayName = "Select.ItemText";
400
- const Se = f((t, a) => /* @__PURE__ */ e(n.Group, { ref: a, ...t }));
401
- Se.displayName = "Select.Group";
402
- const te = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
403
- n.Label,
400
+ const Ne = f((t, a) => /* @__PURE__ */ e(o.Group, { ref: a, ...t }));
401
+ Ne.displayName = "Select.Group";
402
+ const te = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
403
+ o.Label,
404
404
  {
405
- ref: o,
406
- className: [rt, t].filter(Boolean).join(" "),
405
+ ref: n,
406
+ className: [it, t].filter(Boolean).join(" "),
407
407
  ...a
408
408
  }
409
409
  ));
410
410
  te.displayName = "Select.Label";
411
- const Ne = f(({ className: t, ...a }, o) => /* @__PURE__ */ e(
412
- n.Separator,
411
+ const se = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
412
+ o.Separator,
413
413
  {
414
- ref: o,
414
+ ref: n,
415
415
  className: ["ds:my-1 ds:h-px ds:bg-border", t].filter(Boolean).join(" "),
416
416
  ...a
417
417
  }
418
418
  ));
419
- Ne.displayName = "Select.Separator";
420
- const ct = "ds-select-detached", ut = /* @__PURE__ */ new Set([
419
+ se.displayName = "Select.Separator";
420
+ const ut = "ds:[--primary:var(--primary-readable)] ds:text-primary", pt = "ds-select-detached", mt = /* @__PURE__ */ new Set([
421
421
  "data-component",
422
422
  "data-component-id",
423
423
  "data-state",
@@ -426,108 +426,111 @@ const ct = "ds-select-detached", ut = /* @__PURE__ */ new Set([
426
426
  "aria-expanded",
427
427
  "aria-controls"
428
428
  ]);
429
- function pt(t) {
429
+ function ft(t) {
430
430
  const a = {};
431
- for (const [o, r] of Object.entries(t))
432
- r === void 0 || ut.has(o) || (o.startsWith("data-") || o.startsWith("aria-")) && (a[o] = r);
431
+ for (const [n, i] of Object.entries(t))
432
+ i === void 0 || mt.has(n) || (n.startsWith("data-") || n.startsWith("aria-")) && (a[n] = i);
433
433
  return a;
434
434
  }
435
435
  const Ie = f(function({
436
436
  options: a,
437
- value: o,
438
- defaultValue: r,
439
- onValueChange: l,
440
- placeholder: i,
441
- clearable: C = !1,
442
- disabled: w,
437
+ value: n,
438
+ defaultValue: i,
439
+ onValueChange: u,
440
+ placeholder: l,
441
+ clearable: w = !1,
442
+ disabled: T,
443
443
  required: h,
444
444
  name: v,
445
445
  id: y,
446
- size: V = "md",
447
- tone: P = "default",
448
- className: A,
449
- container: T,
450
- "aria-label": x,
446
+ size: O = "md",
447
+ tone: A = "default",
448
+ className: D,
449
+ container: R,
450
+ "aria-label": S,
451
451
  "aria-describedby": g,
452
- adornmentInTrigger: R = !1,
453
- showDescriptions: j = !1,
454
- descriptionInName: D = !1,
455
- wrapOptionLabels: k = !1,
456
- ...S
457
- }, E) {
458
- var ce;
459
- const { t: F } = Ge("ui"), N = Ke(), b = fe(We) !== null, [Ce, O] = M(
460
- o ?? r ?? ""
461
- ), I = o !== void 0, c = I ? o : Ce, [B, L] = M(!1), se = _(c);
462
- se.current = c;
463
- const we = $e(N, y), Te = y ?? (b ? we : void 0), G = (b ? N.disabled : !1) || !!w, K = (b ? N.required : !1) || !!h, ae = b ? N.invalid : !1, Re = ae ? "error" : P, ze = [b ? N.describedBy : void 0, g].filter(Boolean).join(" ") || void 0, oe = R ? (ce = a.find((s) => s.value === c)) == null ? void 0 : ce.startAdornment : void 0, z = _(null), Ve = lt(E, z), je = tt(z), [ke, Ee] = M(!0);
464
- He(() => {
452
+ adornmentInTrigger: z = !1,
453
+ showDescriptions: k = !1,
454
+ descriptionInName: F = !1,
455
+ wrapOptionLabels: E = !1,
456
+ ...x
457
+ }, _) {
458
+ var ue;
459
+ const { t: L } = Ke("ui"), N = We(), b = ge($e) !== null, [Ce, B] = M(
460
+ n ?? i ?? ""
461
+ ), I = n !== void 0, m = I ? n : Ce, [V, G] = M(!1), ae = P(m);
462
+ ae.current = m;
463
+ const we = qe(N, y), Te = y ?? (b ? we : void 0), K = (b ? N.disabled : !1) || !!T, W = (b ? N.required : !1) || !!h, ne = b ? N.invalid : !1, Re = ne ? "error" : A, ze = [b ? N.describedBy : void 0, g].filter(Boolean).join(" ") || void 0, oe = z ? (ue = a.find((s) => s.value === m)) == null ? void 0 : ue.startAdornment : void 0, j = P(null), Ve = ct(_, j), je = st(j), [Oe, ke] = M(!0);
464
+ Me(() => {
465
465
  var s;
466
- c === "" && Ee(!!((s = z.current) != null && s.closest("form")));
466
+ m === "" && ke(!!((s = j.current) != null && s.closest("form")));
467
467
  });
468
- const W = c === "" && ke, ne = _(null), $ = _(c !== "");
468
+ const $ = m === "" && Oe, re = P(null), q = P(m !== "");
469
469
  Ae(() => {
470
470
  var s;
471
- if (c !== "") {
472
- $.current = !0;
471
+ if (m !== "") {
472
+ q.current = !0;
473
473
  return;
474
474
  }
475
- $.current && ($.current = !1, (s = ne.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
476
- }, [c]);
477
- const d = l, re = (s) => {
478
- I || O(s), d == null || d(s);
479
- }, Oe = (s) => {
480
- var u;
481
- s.preventDefault(), s.stopPropagation(), I || O(""), d == null || d(""), (u = z.current) == null || u.focus();
482
- }, q = i ?? F("inputs.select.placeholder", "Select…"), Be = C && !!c && !G, de = x === void 0 && !b, ie = de ? q : x, le = !x && b ? `${N.id}-label` : void 0, _e = qe(a), Pe = De(
475
+ q.current && (q.current = !1, (s = re.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
476
+ }, [m]);
477
+ const d = u, ie = (s) => {
478
+ const r = a.some(
479
+ (C) => C.value === s && C.intent === "action"
480
+ );
481
+ r && !V || (!I && !r && B(s), d == null || d(s));
482
+ }, Ee = (s) => {
483
+ var r;
484
+ s.preventDefault(), s.stopPropagation(), I || B(""), d == null || d(""), (r = j.current) == null || r.focus();
485
+ }, H = l ?? L("inputs.select.placeholder", "Select…"), _e = w && !!m && !K, de = S === void 0 && !b, le = de ? H : S, ce = !S && b ? `${N.id}-label` : void 0, Be = He(a), Pe = De(
483
486
  () => ({
484
- getValue: () => se.current,
487
+ getValue: () => ae.current,
485
488
  setValue: (s) => {
486
- const u = a.find((H) => H.value === s);
487
- !u || u.disabled || (I || O(s), d == null || d(s));
489
+ const r = a.find((C) => C.value === s);
490
+ !r || r.disabled || r.intent === "action" || (I || B(s), d == null || d(s));
488
491
  },
489
492
  clear: () => {
490
- I || O(""), d == null || d("");
493
+ I || B(""), d == null || d("");
491
494
  },
492
- open: () => L(!0),
493
- close: () => L(!1),
494
- isOpen: () => B
495
+ open: () => G(!0),
496
+ close: () => G(!1),
497
+ isOpen: () => V
495
498
  }),
496
- [d, I, B, a]
499
+ [d, I, V, a]
497
500
  );
498
- return Le(at, Pe, y), /* @__PURE__ */ m(
499
- n.Root,
501
+ return Ge(nt, Pe, y), /* @__PURE__ */ p(
502
+ o.Root,
500
503
  {
501
- value: c,
502
- onValueChange: re,
503
- open: B,
504
- onOpenChange: L,
505
- disabled: G,
506
- required: K,
507
- name: W ? void 0 : v,
508
- form: W ? ct : void 0,
504
+ value: m,
505
+ onValueChange: ie,
506
+ open: V,
507
+ onOpenChange: G,
508
+ disabled: K,
509
+ required: W,
510
+ name: $ ? void 0 : v,
511
+ form: $ ? pt : void 0,
509
512
  dir: je,
510
513
  children: [
511
- /* @__PURE__ */ m(
512
- n.Trigger,
514
+ /* @__PURE__ */ p(
515
+ o.Trigger,
513
516
  {
514
517
  ref: Ve,
515
518
  id: Te,
516
- "aria-label": ie,
517
- "aria-labelledby": le,
519
+ "aria-label": le,
520
+ "aria-labelledby": ce,
518
521
  "data-name-from-placeholder": de || void 0,
519
522
  "aria-describedby": ze,
520
- "aria-invalid": ae || void 0,
521
- ...pt(S),
523
+ "aria-invalid": ne || void 0,
524
+ ...ft(x),
522
525
  "data-component": "select",
523
526
  "data-component-id": y,
524
- className: he({
525
- size: V,
527
+ className: ve({
528
+ size: O,
526
529
  tone: Re,
527
- className: A
530
+ className: D
528
531
  }),
529
532
  children: [
530
- oe ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
533
+ oe ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
531
534
  /* @__PURE__ */ e(
532
535
  "span",
533
536
  {
@@ -538,26 +541,26 @@ const Ie = f(function({
538
541
  }
539
542
  ),
540
543
  /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
541
- n.Value,
544
+ o.Value,
542
545
  {
543
546
  ...X,
544
- placeholder: q
547
+ placeholder: H
545
548
  }
546
549
  ) })
547
550
  ] }) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:truncate ds:text-start", children: /* @__PURE__ */ e(
548
- n.Value,
551
+ o.Value,
549
552
  {
550
553
  ...X,
551
- placeholder: q
554
+ placeholder: H
552
555
  }
553
556
  ) }),
554
- /* @__PURE__ */ m("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
555
- Be ? /* @__PURE__ */ e(
557
+ /* @__PURE__ */ p("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
558
+ _e ? /* @__PURE__ */ e(
556
559
  "button",
557
560
  {
558
561
  type: "button",
559
- "aria-label": F("inputs.select.clear", "Clear selection"),
560
- onClick: Oe,
562
+ "aria-label": L("inputs.select.clear", "Clear selection"),
563
+ onClick: Ee,
561
564
  onPointerDown: (s) => s.stopPropagation(),
562
565
  onKeyDown: (s) => {
563
566
  (s.key === "Enter" || s.key === " ") && s.stopPropagation();
@@ -570,11 +573,11 @@ const Ie = f(function({
570
573
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
571
574
  "ds:size-4"
572
575
  ].join(" "),
573
- children: /* @__PURE__ */ e(st, { "aria-hidden": "true", className: "ds:size-3.5" })
576
+ children: /* @__PURE__ */ e(at, { "aria-hidden": "true", className: "ds:size-3.5" })
574
577
  }
575
578
  ) : null,
576
- /* @__PURE__ */ e(n.Icon, { asChild: !0, children: /* @__PURE__ */ e(
577
- ge,
579
+ /* @__PURE__ */ e(o.Icon, { asChild: !0, children: /* @__PURE__ */ e(
580
+ he,
578
581
  {
579
582
  "aria-hidden": "true",
580
583
  className: [
@@ -588,22 +591,22 @@ const Ie = f(function({
588
591
  ]
589
592
  }
590
593
  ),
591
- W && (v !== void 0 || K) ? /* @__PURE__ */ m(
594
+ $ && (v !== void 0 || W) ? /* @__PURE__ */ p(
592
595
  "select",
593
596
  {
594
- ref: ne,
597
+ ref: re,
595
598
  "data-component": "select-field",
596
599
  "aria-hidden": !0,
597
600
  tabIndex: -1,
598
- "aria-label": ie,
599
- "aria-labelledby": le,
601
+ "aria-label": le,
602
+ "aria-labelledby": ce,
600
603
  name: v,
601
- required: K,
602
- disabled: G,
604
+ required: W,
605
+ disabled: K,
603
606
  value: "",
604
607
  onChange: (s) => {
605
- var u;
606
- s.target.value !== "" && (document.activeElement === s.target && ((u = z.current) == null || u.focus()), re(s.target.value));
608
+ var r;
609
+ s.target.value !== "" && (document.activeElement === s.target && ((r = j.current) == null || r.focus()), ie(s.target.value));
607
610
  },
608
611
  className: "ds:sr-only",
609
612
  children: [
@@ -621,59 +624,62 @@ const Ie = f(function({
621
624
  ]
622
625
  }
623
626
  ) : null,
624
- /* @__PURE__ */ e(Q.Provider, { value: B, children: /* @__PURE__ */ e(Y, { container: T, children: /* @__PURE__ */ e(Z, { children: a.length === 0 ? /* @__PURE__ */ e("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: F("inputs.select.noOptions", "No options") }) : _e.map(({ group: s, items: u }, H) => {
625
- const ue = u.map((p) => /* @__PURE__ */ e(
626
- ee,
627
- {
628
- value: p.value,
629
- disabled: p.disabled,
630
- size: V,
631
- "data-option-id": p.value,
632
- startAdornment: p.startAdornment,
633
- endContent: p.endContent,
634
- description: j ? p.description : void 0,
635
- descriptionTone: p.descriptionTone,
636
- descriptionInName: D,
637
- wrapLabel: k,
638
- labelDir: p.dir,
639
- children: p.label
640
- },
641
- p.value
642
- ));
643
- return s ? /* @__PURE__ */ m(n.Group, { children: [
627
+ /* @__PURE__ */ e(Q.Provider, { value: V, children: /* @__PURE__ */ e(Y, { container: R, children: /* @__PURE__ */ e(Z, { children: a.length === 0 ? /* @__PURE__ */ e("div", { className: "ds:ps-8 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: L("inputs.select.noOptions", "No options") }) : Be.map(({ group: s, items: r }, C) => {
628
+ const pe = r.map((c) => /* @__PURE__ */ p(Fe, { children: [
629
+ c.separatorBefore ? /* @__PURE__ */ e(se, {}) : null,
630
+ /* @__PURE__ */ e(
631
+ ee,
632
+ {
633
+ value: c.value,
634
+ className: c.intent === "action" ? ut : void 0,
635
+ disabled: c.disabled,
636
+ size: O,
637
+ "data-option-id": c.value,
638
+ startAdornment: c.startAdornment,
639
+ endContent: c.endContent,
640
+ description: k ? c.description : void 0,
641
+ descriptionTone: c.descriptionTone,
642
+ descriptionInName: F,
643
+ wrapLabel: E,
644
+ labelDir: c.dir,
645
+ children: c.label
646
+ }
647
+ )
648
+ ] }, c.value));
649
+ return s ? /* @__PURE__ */ p(o.Group, { children: [
644
650
  /* @__PURE__ */ e(te, { children: s }),
645
- ue
646
- ] }, `group-${s}`) : /* @__PURE__ */ e(n.Group, { children: ue }, `group-${H}`);
651
+ pe
652
+ ] }, `group-${s}`) : /* @__PURE__ */ e(o.Group, { children: pe }, `group-${C}`);
647
653
  }) }) }) })
648
654
  ]
649
655
  }
650
656
  );
651
657
  });
652
658
  Ie.displayName = "Select";
653
- const mt = Object.assign(Ie, {
654
- Root: ve,
655
- Trigger: be,
656
- Value: ye,
659
+ const gt = Object.assign(Ie, {
660
+ Root: be,
661
+ Trigger: ye,
662
+ Value: Se,
657
663
  Content: Y,
658
664
  Viewport: Z,
659
665
  Item: ee,
660
666
  ItemText: xe,
661
- Group: Se,
667
+ Group: Ne,
662
668
  Label: te,
663
- Separator: Ne
664
- }), kt = mt;
669
+ Separator: se
670
+ }), Et = gt;
665
671
  export {
666
- kt as S,
672
+ Et as S,
667
673
  Y as a,
668
- Se as b,
674
+ Ne as b,
669
675
  ee as c,
670
676
  xe as d,
671
677
  te as e,
672
- ve as f,
673
- Ne as g,
674
- be as h,
675
- ye as i,
678
+ be as f,
679
+ se as g,
680
+ ye as h,
681
+ Se as i,
676
682
  Z as j,
677
- he as s
683
+ ve as s
678
684
  };
679
- //# sourceMappingURL=select-4S-eYZUf.js.map
685
+ //# sourceMappingURL=select-BBDRYxJl.js.map