@alfadocs/ui-kit 1.135.0 → 1.137.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 (216) hide show
  1. package/dist/_chunks/{ai-prompt-input-JIPbrTF3.js → ai-prompt-input-CVNeusoW.js} +2 -2
  2. package/dist/_chunks/ai-summary-panel-BhCo2vZF.js +1045 -0
  3. package/dist/_chunks/{alia-sidebar-CtwhdASP.js → alia-sidebar-CVBlKur9.js} +3 -3
  4. package/dist/_chunks/{anamnesis-summary-rows-CCNmkq55.js → anamnesis-summary-rows-Dr2V1Rtf.js} +3 -3
  5. package/dist/_chunks/appointment-details-panel.history-DrIMDQYf.js +314 -0
  6. package/dist/_chunks/appointment-details-panel.identity-C20Y9xNC.js +223 -0
  7. package/dist/_chunks/{audio-recorder-CsnM_WDy.js → audio-recorder-BOF5YYoC.js} +2 -2
  8. package/dist/_chunks/{balance-badge-cell-DTiMdnCZ.js → balance-badge-cell-BSB02Bwo.js} +4 -4
  9. package/dist/_chunks/{bill-line-table-DHKb_O7c.js → bill-line-table-By-YL2ms.js} +2 -2
  10. package/dist/_chunks/{bishop-score-CKztphVz.js → bishop-score-DWGESRP9.js} +2 -2
  11. package/dist/_chunks/calendar-appointment-editor-dialog-D0n_bVsT.js +5518 -0
  12. package/dist/_chunks/calendar-editor-discard-host-1UfmMOEb.js +1336 -0
  13. package/dist/_chunks/calendar-editor-guard-9fShhNIA.js +31 -0
  14. package/dist/_chunks/calendar-waiting-list-panel-Ckd6tSeu.js +981 -0
  15. package/dist/_chunks/calendar-workspace.model-DrOoxY1b.js +1557 -0
  16. package/dist/_chunks/calendar.sheets-Datc0-IT.js +4585 -0
  17. package/dist/_chunks/call-status-chip-pajxN5eZ.js +180 -0
  18. package/dist/_chunks/calls-panel-BIfatK90.js +1094 -0
  19. package/dist/_chunks/{chat-input-CX4dxBq7.js → chat-input-BmvnuZqj.js} +114 -109
  20. package/dist/_chunks/{chat-message-CfIyXrxA.js → chat-message-B4TMeZ2m.js} +35 -30
  21. package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
  22. package/dist/_chunks/color-picker-CC8ZfntU.js +582 -0
  23. package/dist/_chunks/communications-panel-SQ-55e3V.js +1079 -0
  24. package/dist/_chunks/{data-grid-B2oaI7Lt.js → data-grid-CxKz8flO.js} +2 -2
  25. package/dist/_chunks/{data-table-FTV3uRjX.js → data-table-_tgj0C_T.js} +2 -2
  26. package/dist/_chunks/{default-tabs-DbebYO04.js → default-tabs-oDWQzbN7.js} +3 -3
  27. package/dist/_chunks/{document-preview-DLVIrOYV.js → document-preview-CirR3C_m.js} +3 -3
  28. package/dist/_chunks/entity-summary-CPUHzyil.js +297 -0
  29. package/dist/_chunks/{file-manager-Bzr5NK1t.js → file-manager-CEi4z2i0.js} +2 -2
  30. package/dist/_chunks/{fiscal-code-input-BBvU7sAo.js → fiscal-code-input-DZlpaMGg.js} +2 -2
  31. package/dist/_chunks/{gestational-age-calculator-mB6brTlp.js → gestational-age-calculator-CHbpC4vL.js} +2 -2
  32. package/dist/_chunks/{heatmap-C5gJin_F.js → heatmap-_546qI2V.js} +2 -2
  33. package/dist/_chunks/{iban-input-DuTwKok5.js → iban-input-CdSLRzQN.js} +2 -2
  34. package/dist/_chunks/{invoice-upload-list-B5aMffTy.js → invoice-upload-list-CQI9MUl6.js} +3 -3
  35. package/dist/_chunks/{kit-extensions-DUaIYyMD.js → kit-extensions-BNBf4m8O.js} +3 -3
  36. package/dist/_chunks/{link-cell-renderer-D3JLPURZ.js → link-cell-renderer-Xx5T8u5Q.js} +3 -3
  37. package/dist/_chunks/list-todo-KWvUhmT_.js +33 -0
  38. package/dist/_chunks/{muscle-scheme-BGJD62op.js → muscle-scheme-D_rSyGDj.js} +2 -2
  39. package/dist/_chunks/{notes-panel-BvjAo4RQ.js → notes-panel-DsEKNtsw.js} +2 -2
  40. package/dist/_chunks/{optical-prescription-Da_r8pMr.js → optical-prescription-DaSbsh4p.js} +2 -2
  41. package/dist/_chunks/palettes-CKVXYTzo.js +172 -0
  42. package/dist/_chunks/{patient-account-settings-B2XbN_Fe.js → patient-account-settings-COybehKx.js} +3 -3
  43. package/dist/_chunks/{patient-card-DTh3QTyS.js → patient-card-Cpr8iD19.js} +4 -4
  44. package/dist/_chunks/{patient-check-in-resume-B7NY-6KI.js → patient-check-in-resume-DZnyYDKH.js} +40 -40
  45. package/dist/_chunks/{patient-details-DBtEITfE.js → patient-details-Dv7EiTCo.js} +2 -2
  46. package/dist/_chunks/{patient-field-row-a5d4QijH.js → patient-field-row-DuHWGlLz.js} +3 -3
  47. package/dist/_chunks/patient-picker-BZJuOgMw.js +173 -0
  48. package/dist/_chunks/{patient-sign-in-pin-CDBqV254.js → patient-sign-in-pin-DmMBwWet.js} +2 -2
  49. package/dist/_chunks/{patient-sign-in-steps-C2JSqlok.js → patient-sign-in-steps-BKcxNkdY.js} +37 -59
  50. package/dist/_chunks/{patient-summary-card-Bl2NknPe.js → patient-summary-card-D-cDzOim.js} +2 -2
  51. package/dist/_chunks/phone-off-DQSTLz4l.js +28 -0
  52. package/dist/_chunks/{portal-details-DCIiGkHA.js → portal-details-DdzvroYP.js} +2 -2
  53. package/dist/_chunks/{portal-documents-DJOH8pZx.js → portal-documents-CNmoYWFc.js} +3 -3
  54. package/dist/_chunks/{pregnancy-dating-BNI32qNw.js → pregnancy-dating-lJbzai73.js} +2 -2
  55. package/dist/_chunks/{privacy-mask-C19dJFMk.js → privacy-mask-C2ZLKrMh.js} +5 -5
  56. package/dist/_chunks/{registration-form-DS3RuKHu.js → registration-form-CuLiTA52.js} +2 -2
  57. package/dist/_chunks/{reserved.agent-DOzOBUW7.js → reserved.agent-CabZHFJC.js} +2 -2
  58. package/dist/_chunks/{rich-text-editor-DjHL1b3E.js → rich-text-editor-C48omVjq.js} +2 -2
  59. package/dist/_chunks/{select-uESzXTX6.js → select-CIXKyUMw.js} +172 -149
  60. package/dist/_chunks/{session-countdown-DOx1IBUB.js → session-countdown-StcyUU5O.js} +56 -66
  61. package/dist/_chunks/{signature-request-CHsM_iWi.js → signature-request-vJDSHZld.js} +2 -2
  62. package/dist/_chunks/{tabs-CRIDBLP7.js → tabs-Czkmw5ou.js} +2 -2
  63. package/dist/_chunks/task-editor-wKbFbGqW.js +1093 -0
  64. package/dist/_chunks/{tasks-panel-6EzdnwT8.js → tasks-panel-DbtJS4QI.js} +2 -2
  65. package/dist/_chunks/{toolbar-CfdoJzMV.js → toolbar-DjG-cpD_.js} +2 -2
  66. package/dist/_chunks/{unit-converter-YKlHyUC2.js → unit-converter-CUAUTu2B.js} +2 -2
  67. package/dist/_chunks/use-appointment-details-read-jGkJalX8.js +1966 -0
  68. package/dist/_chunks/{voice-control-panel-Be_c0CQ0.js → voice-control-panel-Cp4vs1iy.js} +2 -2
  69. package/dist/agent-catalog.json +282 -6
  70. package/dist/agent-i18n/en.json +26 -4
  71. package/dist/appointment-editor-panel/index.js +100 -0
  72. package/dist/booking-tools-data/index.js +82 -0
  73. package/dist/browser-support.js +1 -1
  74. package/dist/calendar-action-buttons/index.js +178 -0
  75. package/dist/components/ai-prompt-input/index.js +1 -1
  76. package/dist/components/ai-summary-panel/ai-summary-panel.d.ts +68 -5
  77. package/dist/components/ai-summary-panel/index.d.ts +1 -1
  78. package/dist/components/ai-summary-panel/index.js +1 -1
  79. package/dist/components/ai-summary-panel/summary-markdown.d.ts +15 -0
  80. package/dist/components/appointment-details-panel/index.js +6 -5
  81. package/dist/components/audio-recorder/index.js +1 -1
  82. package/dist/components/bill-line-table/index.js +1 -1
  83. package/dist/components/bill-table/index.js +1 -1
  84. package/dist/components/bishop-score/index.js +1 -1
  85. package/dist/components/booking/index.js +1 -1
  86. package/dist/components/call-status-chip/call-status-chip.d.ts +30 -0
  87. package/dist/components/call-status-chip/index.d.ts +3 -0
  88. package/dist/components/call-status-chip/index.js +5 -0
  89. package/dist/components/calls-panel/calls-panel.agent.d.ts +4 -0
  90. package/dist/components/calls-panel/calls-panel.d.ts +153 -0
  91. package/dist/components/calls-panel/index.d.ts +4 -0
  92. package/dist/components/calls-panel/index.js +6 -0
  93. package/dist/components/chat-input/chat-input.d.ts +17 -0
  94. package/dist/components/chat-input/index.js +1 -1
  95. package/dist/components/chat-message/index.js +1 -1
  96. package/dist/components/color-picker/index.js +5 -4
  97. package/dist/components/communications-panel/communications-panel.d.ts +15 -3
  98. package/dist/components/communications-panel/index.js +1 -1
  99. package/dist/components/data-grid/index.js +2 -2
  100. package/dist/components/data-table/index.js +2 -2
  101. package/dist/components/document-preview/index.js +1 -1
  102. package/dist/components/entity-summary/entity-summary.d.ts +29 -1
  103. package/dist/components/entity-summary/index.js +1 -1
  104. package/dist/components/file-manager/index.js +1 -1
  105. package/dist/components/fiscal-code-input/index.js +1 -1
  106. package/dist/components/gestational-age-calculator/index.js +1 -1
  107. package/dist/components/heatmap/index.js +1 -1
  108. package/dist/components/iban-input/index.js +1 -1
  109. package/dist/components/index.d.ts +2 -0
  110. package/dist/components/invoice-upload-list/index.js +1 -1
  111. package/dist/components/muscle-scheme/index.js +1 -1
  112. package/dist/components/notes-panel/index.js +1 -1
  113. package/dist/components/optical-prescription/index.js +1 -1
  114. package/dist/components/patient-details/index.js +1 -1
  115. package/dist/components/patient-summary-card/index.js +1 -1
  116. package/dist/components/patient-table/index.js +1 -1
  117. package/dist/components/pregnancy-dating/index.js +1 -1
  118. package/dist/components/rich-text-editor/index.js +2 -2
  119. package/dist/components/select/index.js +1 -1
  120. package/dist/components/select/select.d.ts +8 -0
  121. package/dist/components/session-countdown/index.js +1 -1
  122. package/dist/components/skeleton-scheme/index.js +1 -1
  123. package/dist/components/tabs/index.js +1 -1
  124. package/dist/components/task-editor/index.js +1 -1
  125. package/dist/components/tasks-panel/index.js +1 -1
  126. package/dist/components/unit-converter/index.js +1 -1
  127. package/dist/components/voice-control-panel/index.js +1 -1
  128. package/dist/core.css +1 -1
  129. package/dist/find-free-slots-panel/index.js +58 -0
  130. package/dist/host-compat.css +4 -1
  131. package/dist/i18n/locales/ar.d.ts +72 -3
  132. package/dist/i18n/locales/ar.js +74 -5
  133. package/dist/i18n/locales/de.d.ts +72 -3
  134. package/dist/i18n/locales/de.js +74 -5
  135. package/dist/i18n/locales/el.d.ts +72 -3
  136. package/dist/i18n/locales/el.js +74 -5
  137. package/dist/i18n/locales/en.d.ts +72 -3
  138. package/dist/i18n/locales/en.js +73 -4
  139. package/dist/i18n/locales/es.d.ts +72 -3
  140. package/dist/i18n/locales/es.js +74 -5
  141. package/dist/i18n/locales/fr.d.ts +72 -3
  142. package/dist/i18n/locales/fr.js +74 -5
  143. package/dist/i18n/locales/hi.d.ts +72 -3
  144. package/dist/i18n/locales/hi.js +74 -5
  145. package/dist/i18n/locales/it.d.ts +83 -14
  146. package/dist/i18n/locales/it.js +84 -15
  147. package/dist/i18n/locales/ja.d.ts +72 -3
  148. package/dist/i18n/locales/ja.js +74 -5
  149. package/dist/i18n/locales/nl.d.ts +72 -3
  150. package/dist/i18n/locales/nl.js +74 -5
  151. package/dist/i18n/locales/pl.d.ts +72 -3
  152. package/dist/i18n/locales/pl.js +74 -5
  153. package/dist/i18n/locales/pt.d.ts +72 -3
  154. package/dist/i18n/locales/pt.js +74 -5
  155. package/dist/i18n/locales/ro.d.ts +72 -3
  156. package/dist/i18n/locales/ro.js +74 -5
  157. package/dist/i18n/locales/ru.d.ts +72 -3
  158. package/dist/i18n/locales/ru.js +74 -5
  159. package/dist/i18n/locales/sq.d.ts +72 -3
  160. package/dist/i18n/locales/sq.js +74 -5
  161. package/dist/i18n/locales/sv.d.ts +72 -3
  162. package/dist/i18n/locales/sv.js +74 -5
  163. package/dist/i18n/locales/tr.d.ts +72 -3
  164. package/dist/i18n/locales/tr.js +74 -5
  165. package/dist/i18n/locales/zh.d.ts +72 -3
  166. package/dist/i18n/locales/zh.js +74 -5
  167. package/dist/index.js +1329 -1318
  168. package/dist/locales/ar.json +74 -5
  169. package/dist/locales/de.json +74 -5
  170. package/dist/locales/el.json +74 -5
  171. package/dist/locales/en.json +73 -4
  172. package/dist/locales/es.json +74 -5
  173. package/dist/locales/fr.json +74 -5
  174. package/dist/locales/hi.json +74 -5
  175. package/dist/locales/it.json +84 -15
  176. package/dist/locales/ja.json +74 -5
  177. package/dist/locales/nl.json +74 -5
  178. package/dist/locales/pl.json +74 -5
  179. package/dist/locales/pt.json +74 -5
  180. package/dist/locales/ro.json +74 -5
  181. package/dist/locales/ru.json +74 -5
  182. package/dist/locales/sq.json +74 -5
  183. package/dist/locales/sv.json +74 -5
  184. package/dist/locales/tr.json +74 -5
  185. package/dist/locales/zh.json +74 -5
  186. package/dist/online-bookings-panel/index.js +69 -0
  187. package/dist/patterns/alia-assistant/index.js +1 -1
  188. package/dist/patterns/anamnesis/index.js +1 -1
  189. package/dist/patterns/calendar/booking-tools/appointment-editor-panel.d.ts +46 -0
  190. package/dist/patterns/calendar/booking-tools/booking-tools-data.d.ts +48 -0
  191. package/dist/patterns/calendar/booking-tools/calendar-action-buttons.d.ts +55 -0
  192. package/dist/patterns/calendar/booking-tools/find-free-slots-panel.d.ts +35 -0
  193. package/dist/patterns/calendar/booking-tools/online-bookings-panel.d.ts +61 -0
  194. package/dist/patterns/calendar/booking-tools/waiting-list-panel.d.ts +58 -0
  195. package/dist/patterns/calendar/calendar-editor-discard-host.d.ts +20 -0
  196. package/dist/patterns/calendar/calendar-print-sheet.d.ts +16 -0
  197. package/dist/patterns/calendar/calendar-workspace.model.d.ts +7 -0
  198. package/dist/patterns/calendar/calendar.model.d.ts +9 -0
  199. package/dist/patterns/calendar/calendar.sheets.d.ts +59 -17
  200. package/dist/patterns/calendar/index.js +24 -20
  201. package/dist/patterns/patient-account-settings/index.js +1 -1
  202. package/dist/patterns/patient-check-in/index.js +1 -1
  203. package/dist/patterns/patient-portal/index.js +2 -2
  204. package/dist/patterns/patient-sign-in/index.js +2 -2
  205. package/dist/patterns/registration-form/index.js +1 -1
  206. package/dist/patterns/signature-request/index.js +1 -1
  207. package/dist/tokens.css +1 -1
  208. package/dist/waiting-list-panel/index.js +158 -0
  209. package/package.json +35 -2
  210. package/dist/_chunks/ai-summary-panel-B70S2lgC.js +0 -455
  211. package/dist/_chunks/calendar-appointment-editor-dialog-I5PfWudy.js +0 -13773
  212. package/dist/_chunks/color-picker-AcaWuKah.js +0 -745
  213. package/dist/_chunks/communications-panel-BKPHCiMB.js +0 -973
  214. package/dist/_chunks/entity-summary-CpNk6ybN.js +0 -266
  215. package/dist/_chunks/task-editor-DvwqPfFR.js +0 -1257
  216. package/dist/_chunks/use-appointment-details-read-6_OmOwUs.js +0 -2476
@@ -1,22 +1,22 @@
1
- import { jsx as e, jsxs as p } from "react/jsx-runtime";
2
- import { forwardRef as f, useContext as he, 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";
1
+ import { jsx as e, jsxs as m } from "react/jsx-runtime";
2
+ import { forwardRef as h, useContext as he, useId as me, useState as M, useRef as P, useEffect as De, useMemo as Fe, Fragment as Le, createContext as Ge } from "react";
3
+ import { u as Ke } from "./registry-DvAUVLHh.js";
4
4
  import * as o from "@radix-ui/react-select";
5
5
  import { c as J } from "./index-D2ZczOXr.js";
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";
6
+ import { useTranslation as We } from "react-i18next";
7
+ import { u as $e, F as qe, a as He } from "./form-field-context-DtiROUJV.js";
8
+ import { g as Me } from "./group-options-BvKhQ3xb.js";
9
+ import { u as Ue } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
10
+ import { u as Xe } from "./use-controllable-state-BiY4xTzM.js";
11
+ import { b as Je } from "./menu-row-BAr8bx1I.js";
12
+ import { P as Qe } from "./popup-region-qz_5_A0V.js";
13
+ import { o as U, b as Ye, d as Ze, c as et } from "./option-row-Dc7BrbK8.js";
14
+ import { C as tt } from "./chevron-up-umRGgtJA.js";
15
15
  import { C as ge } 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 = {
16
+ import { C as st } from "./check-DrFSN__t.js";
17
+ import { u as at } from "./use-direction-Dp8h70PP.js";
18
+ import { X as nt } from "./x-B5YnXwCz.js";
19
+ const ot = {
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.
@@ -103,8 +103,7 @@ const nt = {
103
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
- "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-input",
107
- "ds:shadow-[var(--shadow-input)]",
106
+ "ds:rounded-[var(--radius-sm)]",
108
107
  "ds:text-foreground ds:placeholder:text-muted-foreground",
109
108
  "ds:data-[placeholder]:text-muted-foreground",
110
109
  "ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
@@ -122,15 +121,37 @@ const nt = {
122
121
  },
123
122
  tone: {
124
123
  default: "",
125
- error: "ds:border-destructive ds:focus-visible:outline-destructive"
124
+ error: "ds:focus-visible:outline-destructive"
125
+ },
126
+ // `plain` is for a trigger that sits inside another bordered box (a
127
+ // composer toolbar): no edge, fill or shadow, a muted wash on hover.
128
+ appearance: {
129
+ outlined: "ds:border ds:border-[color:var(--control-border)] ds:bg-input ds:shadow-[var(--shadow-input)]",
130
+ plain: "ds:border-0 ds:bg-transparent ds:shadow-none ds:hover:bg-muted ds:data-[state=open]:bg-muted ds:forced-colors:border ds:forced-colors:border-[ButtonText]"
126
131
  }
127
132
  },
133
+ compoundVariants: [
134
+ {
135
+ appearance: "outlined",
136
+ tone: "error",
137
+ className: "ds:border-destructive"
138
+ },
139
+ // A plain trigger has no edge to turn red, so the error is shown on the
140
+ // text itself: the destructive colour and an underline, which keeps
141
+ // the signal when colour is not seen. Without focus, too.
142
+ {
143
+ appearance: "plain",
144
+ tone: "error",
145
+ className: "ds:text-[color:var(--destructive)] ds:data-[placeholder]:text-[color:var(--destructive)] ds:underline ds:decoration-[color:var(--destructive)] ds:underline-offset-4"
146
+ }
147
+ ],
128
148
  defaultVariants: {
129
149
  size: "md",
130
- tone: "default"
150
+ tone: "default",
151
+ appearance: "outlined"
131
152
  }
132
153
  }
133
- ), ot = J(
154
+ ), rt = J(
134
155
  [
135
156
  "ds:z-[var(--z-dropdown)] ds:overflow-hidden",
136
157
  // Never wider than the screen allows: a long option wraps or ends in an
@@ -148,12 +169,12 @@ const nt = {
148
169
  "ds:data-[side=top]:slide-in-from-bottom-2",
149
170
  "ds:motion-reduce:animate-none"
150
171
  ].join(" ")
151
- ), rt = J(
172
+ ), dt = J(
152
173
  [
153
174
  "ds:relative ds:flex ds:cursor-pointer ds:items-center",
154
175
  "ds:rounded-[var(--radius-sm)]",
155
176
  "ds:text-foreground ds:outline-none ds:select-none",
156
- Xe.highlighted,
177
+ Je.highlighted,
157
178
  "ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
158
179
  ].join(" "),
159
180
  {
@@ -172,28 +193,28 @@ const nt = {
172
193
  "ds:ps-8 ds:pe-3 ds:py-1.5",
173
194
  "type-eyebrow ds:text-muted-foreground",
174
195
  "ds:sticky ds:top-0 ds:bg-background"
175
- ].join(" "), dt = {
196
+ ].join(" "), lt = {
176
197
  sm: "ds:size-3.5",
177
198
  md: "ds:size-4",
178
199
  lg: "ds:size-5"
179
- }, lt = {
200
+ }, ct = {
180
201
  sm: "ds:start-2",
181
202
  md: "ds:start-2",
182
203
  lg: "ds:start-3"
183
204
  };
184
- function ct(...t) {
205
+ function ut(...t) {
185
206
  return (a) => {
186
207
  for (const n of t)
187
208
  n && (typeof n == "function" ? n(a) : n.current = a);
188
209
  };
189
210
  }
190
- const Q = Le(void 0), be = ({
211
+ const Q = Ge(void 0), be = ({
191
212
  open: t,
192
213
  defaultOpen: a,
193
214
  onOpenChange: n,
194
- ...i
215
+ ...d
195
216
  }) => {
196
- const [u, l] = Ue({
217
+ const [u, l] = Xe({
197
218
  value: t,
198
219
  defaultValue: a ?? !1,
199
220
  onChange: n
@@ -203,19 +224,19 @@ const Q = Le(void 0), be = ({
203
224
  {
204
225
  open: u ?? !1,
205
226
  onOpenChange: l,
206
- ...i
227
+ ...d
207
228
  }
208
229
  ) });
209
230
  };
210
231
  be.displayName = "Select.Root";
211
- const ye = f(
212
- ({ size: t, tone: a, className: n, children: i, ...u }, l) => /* @__PURE__ */ e(
232
+ const ye = h(
233
+ ({ size: t, tone: a, appearance: n, className: d, children: u, ...l }, b) => /* @__PURE__ */ e(
213
234
  o.Trigger,
214
235
  {
215
- ref: l,
216
- className: ve({ size: t, tone: a, className: n }),
217
- ...u,
218
- children: i
236
+ ref: b,
237
+ className: ve({ size: t, tone: a, appearance: n, className: d }),
238
+ ...l,
239
+ children: u
219
240
  }
220
241
  )
221
242
  );
@@ -223,29 +244,29 @@ ye.displayName = "Select.Trigger";
223
244
  const X = { "data-select-value": "" }, fe = [
224
245
  "ds:[[data-select-value]_&]:block",
225
246
  "ds:[[data-select-value]_&]:truncate"
226
- ].join(" "), xe = f((t, a) => /* @__PURE__ */ e(o.Value, { ref: a, ...X, ...t }));
247
+ ].join(" "), xe = h((t, a) => /* @__PURE__ */ e(o.Value, { ref: a, ...X, ...t }));
227
248
  xe.displayName = "Select.Value";
228
- const Y = f(
249
+ const Y = h(
229
250
  ({
230
251
  className: t,
231
252
  children: a,
232
253
  position: n = "popper",
233
- sideOffset: i = 4,
254
+ sideOffset: d = 4,
234
255
  container: u,
235
256
  ...l
236
- }, w) => {
237
- const T = he(Q);
238
- return /* @__PURE__ */ e(o.Portal, { container: u ?? void 0, children: /* @__PURE__ */ e(Je, { popupRef: w, open: T, children: (g) => /* @__PURE__ */ p(
257
+ }, b) => {
258
+ const w = he(Q);
259
+ return /* @__PURE__ */ e(o.Portal, { container: u ?? void 0, children: /* @__PURE__ */ e(Qe, { popupRef: b, open: w, children: (g) => /* @__PURE__ */ m(
239
260
  o.Content,
240
261
  {
241
262
  ref: g,
242
263
  position: n,
243
- sideOffset: i,
264
+ sideOffset: d,
244
265
  "data-component": "select-content",
245
- className: ot({ className: t }),
266
+ className: rt({ className: t }),
246
267
  ...l,
247
268
  children: [
248
- /* @__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" }) }),
269
+ /* @__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(tt, { "aria-hidden": "true", className: "ds:size-4" }) }),
249
270
  a,
250
271
  /* @__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(ge, { "aria-hidden": "true", className: "ds:size-4" }) })
251
272
  ]
@@ -254,7 +275,7 @@ const Y = f(
254
275
  }
255
276
  );
256
277
  Y.displayName = "Select.Content";
257
- const Z = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
278
+ const Z = h(({ className: t, ...a }, n) => /* @__PURE__ */ e(
258
279
  o.Viewport,
259
280
  {
260
281
  ref: n,
@@ -263,24 +284,24 @@ const Z = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
263
284
  }
264
285
  ));
265
286
  Z.displayName = "Select.Viewport";
266
- const ee = f(
287
+ const ee = h(
267
288
  ({
268
289
  size: t = "md",
269
290
  className: a,
270
291
  children: n,
271
- startAdornment: i,
292
+ startAdornment: d,
272
293
  endContent: u,
273
294
  description: l,
274
- descriptionTone: w,
275
- descriptionInName: T = !1,
295
+ descriptionTone: b,
296
+ descriptionInName: w = !1,
276
297
  wrapLabel: g = !1,
277
298
  labelDir: v,
278
- ...y
279
- }, O) => {
280
- const A = lt[t ?? "md"], D = dt[t ?? "md"], R = me(), x = me(), h = l != null && l !== "", z = h && T, k = z ? { id: x } : {}, F = z ? { "aria-labelledby": `${x} ${R}` } : {}, E = g ? U({
299
+ ...x
300
+ }, j) => {
301
+ const A = ct[t ?? "md"], D = lt[t ?? "md"], T = me(), O = me(), p = l != null && l !== "", R = p && w, k = R ? { id: O } : {}, F = R ? { "aria-labelledby": `${O} ${T}` } : {}, E = g ? U({
281
302
  wrap: !0,
282
303
  className: fe
283
- }) : "", S = h ? "ds:group-data-[disabled]/select-item:opacity-50" : "", _ = u ? (
304
+ }) : "", S = p ? "ds:group-data-[disabled]/select-item:opacity-50" : "", B = u ? (
284
305
  // Radix points the item's `aria-labelledby` at `ItemText`, so
285
306
  // anything rendered outside it is dropped from the accessible
286
307
  // name — a price there would be visible but never announced.
@@ -304,10 +325,10 @@ const ee = f(
304
325
  // our own span become the ItemText element, so `flex-1` lands.
305
326
  //
306
327
  // A wrapping label keeps the end content on its first line.
307
- /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ p(
328
+ /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ m(
308
329
  "span",
309
330
  {
310
- className: Ye({
331
+ className: Ze({
311
332
  wrap: g,
312
333
  className: S
313
334
  }),
@@ -320,11 +341,11 @@ const ee = f(
320
341
  children: n
321
342
  }
322
343
  ),
323
- /* @__PURE__ */ e("span", { className: Qe, children: u })
344
+ /* @__PURE__ */ e("span", { className: Ye, children: u })
324
345
  ]
325
346
  }
326
347
  ) })
327
- ) : h || g ? /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ e(
348
+ ) : p || g ? /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ e(
328
349
  "span",
329
350
  {
330
351
  dir: v,
@@ -345,64 +366,64 @@ const ee = f(
345
366
  }
346
367
  ) })
347
368
  ) : /* @__PURE__ */ e(o.ItemText, { children: n });
348
- return /* @__PURE__ */ p(
369
+ return /* @__PURE__ */ m(
349
370
  o.Item,
350
371
  {
351
- ref: O,
372
+ ref: j,
352
373
  ...F,
353
- "aria-describedby": h && !z ? R : void 0,
354
- className: rt({
374
+ "aria-describedby": p && !R ? T : void 0,
375
+ className: dt({
355
376
  size: t,
356
- className: h ? [
377
+ className: p ? [
357
378
  "ds:group/select-item ds:data-[disabled]:!opacity-100",
358
379
  a
359
380
  ].filter(Boolean).join(" ") : a
360
381
  }),
361
- ...y,
382
+ ...x,
362
383
  children: [
363
384
  /* @__PURE__ */ e(
364
385
  "span",
365
386
  {
366
387
  className: `ds:absolute ${A} ds:inline-flex ds:items-center ds:justify-center ${S}`,
367
388
  "aria-hidden": "true",
368
- children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(tt, { className: D }) })
389
+ children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(st, { className: D }) })
369
390
  }
370
391
  ),
371
- i ? (
392
+ d ? (
372
393
  // Decorative by contract — accessible name comes from the item text.
373
394
  /* @__PURE__ */ e(
374
395
  "span",
375
396
  {
376
397
  "aria-hidden": "true",
377
398
  className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${S}`,
378
- children: i
399
+ children: d
379
400
  }
380
401
  )
381
402
  ) : null,
382
- h || g ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
383
- _,
384
- h ? /* @__PURE__ */ e(
403
+ p || g ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
404
+ B,
405
+ p ? /* @__PURE__ */ e(
385
406
  "span",
386
407
  {
387
- id: R,
388
- className: Ze({
389
- tone: w
408
+ id: T,
409
+ className: et({
410
+ tone: b
390
411
  }),
391
412
  children: l
392
413
  }
393
414
  ) : null
394
- ] }) : _
415
+ ] }) : B
395
416
  ]
396
417
  }
397
418
  );
398
419
  }
399
420
  );
400
421
  ee.displayName = "Select.Item";
401
- const Se = f((t, a) => /* @__PURE__ */ e(o.ItemText, { ref: a, ...t }));
422
+ const Se = h((t, a) => /* @__PURE__ */ e(o.ItemText, { ref: a, ...t }));
402
423
  Se.displayName = "Select.ItemText";
403
- const Ne = f((t, a) => /* @__PURE__ */ e(o.Group, { ref: a, ...t }));
424
+ const Ne = h((t, a) => /* @__PURE__ */ e(o.Group, { ref: a, ...t }));
404
425
  Ne.displayName = "Select.Group";
405
- const te = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
426
+ const te = h(({ className: t, ...a }, n) => /* @__PURE__ */ e(
406
427
  o.Label,
407
428
  {
408
429
  ref: n,
@@ -411,7 +432,7 @@ const te = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
411
432
  }
412
433
  ));
413
434
  te.displayName = "Select.Label";
414
- const se = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
435
+ const se = h(({ className: t, ...a }, n) => /* @__PURE__ */ e(
415
436
  o.Separator,
416
437
  {
417
438
  ref: n,
@@ -420,7 +441,7 @@ const se = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
420
441
  }
421
442
  ));
422
443
  se.displayName = "Select.Separator";
423
- const ut = "ds:[--primary:var(--primary-readable)] ds:text-primary", pt = "ds-select-detached", mt = /* @__PURE__ */ new Set([
444
+ const pt = "ds:[--primary:var(--primary-readable)] ds:text-primary", mt = "ds-select-detached", ft = /* @__PURE__ */ new Set([
424
445
  "data-component",
425
446
  "data-component-id",
426
447
  "data-state",
@@ -429,111 +450,113 @@ const ut = "ds:[--primary:var(--primary-readable)] ds:text-primary", pt = "ds-se
429
450
  "aria-expanded",
430
451
  "aria-controls"
431
452
  ]);
432
- function ft(t) {
453
+ function ht(t) {
433
454
  const a = {};
434
- for (const [n, i] of Object.entries(t))
435
- i === void 0 || mt.has(n) || (n.startsWith("data-") || n.startsWith("aria-")) && (a[n] = i);
455
+ for (const [n, d] of Object.entries(t))
456
+ d === void 0 || ft.has(n) || (n.startsWith("data-") || n.startsWith("aria-")) && (a[n] = d);
436
457
  return a;
437
458
  }
438
- const Ie = f(function({
459
+ const Ie = h(function({
439
460
  options: a,
440
461
  value: n,
441
- defaultValue: i,
462
+ defaultValue: d,
442
463
  onValueChange: u,
443
464
  placeholder: l,
444
- clearable: w = !1,
445
- disabled: T,
465
+ clearable: b = !1,
466
+ disabled: w,
446
467
  required: g,
447
468
  name: v,
448
- id: y,
449
- size: O = "md",
469
+ id: x,
470
+ size: j = "md",
450
471
  tone: A = "default",
451
- className: D,
452
- container: R,
453
- "aria-label": x,
454
- "aria-describedby": h,
455
- adornmentInTrigger: z = !1,
456
- showDescriptions: k = !1,
457
- descriptionInName: F = !1,
458
- wrapOptionLabels: E = !1,
459
- ...S
460
- }, _) {
472
+ appearance: D = "outlined",
473
+ className: T,
474
+ container: O,
475
+ "aria-label": p,
476
+ "aria-describedby": R,
477
+ adornmentInTrigger: k = !1,
478
+ showDescriptions: F = !1,
479
+ descriptionInName: E = !1,
480
+ wrapOptionLabels: S = !1,
481
+ ...B
482
+ }, Ce) {
461
483
  var ue;
462
- const { t: L } = Ke("ui"), N = We(), b = he($e) !== null, [Ce, B] = M(
463
- n ?? i ?? ""
464
- ), I = n !== void 0, m = I ? n : Ce, [V, G] = M(!1), ae = P(m);
465
- ae.current = m;
466
- const we = qe(N, y), Te = y ?? (b ? we : void 0), K = (b ? N.disabled : !1) || !!T, W = (b ? N.required : !1) || !!g, ne = b ? N.invalid : !1, Re = ne ? "error" : A, ze = [b ? N.describedBy : void 0, h].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);
467
- Me(() => {
484
+ const { t: L } = We("ui"), N = $e(), y = he(qe) !== null, [we, _] = M(
485
+ n ?? d ?? ""
486
+ ), I = n !== void 0, f = I ? n : we, [V, G] = M(!1), ae = P(f);
487
+ ae.current = f;
488
+ const Te = He(N, x), Re = x ?? (y ? Te : void 0), K = (y ? N.disabled : !1) || !!w, W = (y ? N.required : !1) || !!g, ne = y ? N.invalid : !1, Ve = ne ? "error" : A, ze = [y ? N.describedBy : void 0, R].filter(Boolean).join(" ") || void 0, oe = k ? (ue = a.find((s) => s.value === f)) == null ? void 0 : ue.startAdornment : void 0, z = P(null), je = ut(Ce, z), Oe = at(z), [ke, Ee] = M(!0);
489
+ Ue(() => {
468
490
  var s;
469
- m === "" && ke(!!((s = j.current) != null && s.closest("form")));
491
+ f === "" && Ee(!!((s = z.current) != null && s.closest("form")));
470
492
  });
471
- const $ = m === "" && Oe, re = P(null), q = P(m !== "");
472
- Ae(() => {
493
+ const $ = f === "" && ke, re = P(null), q = P(f !== "");
494
+ De(() => {
473
495
  var s;
474
- if (m !== "") {
496
+ if (f !== "") {
475
497
  q.current = !0;
476
498
  return;
477
499
  }
478
500
  q.current && (q.current = !1, (s = re.current) == null || s.dispatchEvent(new Event("change", { bubbles: !0 })));
479
- }, [m]);
480
- const d = u, ie = (s) => {
501
+ }, [f]);
502
+ const i = u, de = (s) => {
481
503
  const r = a.some(
482
504
  (C) => C.value === s && C.intent === "action"
483
505
  );
484
- r && !V || (!I && !r && B(s), d == null || d(s));
485
- }, Ee = (s) => {
506
+ r && !V || (!I && !r && _(s), i == null || i(s));
507
+ }, Be = (s) => {
486
508
  var r;
487
- s.preventDefault(), s.stopPropagation(), I || B(""), d == null || d(""), (r = j.current) == null || r.focus();
488
- }, H = l ?? L("inputs.select.placeholder", "Select…"), _e = w && !!m && !K, de = x === void 0 && !b, le = de ? H : x, ce = !x && b ? `${N.id}-label` : void 0, Be = He(a), Pe = De(
509
+ s.preventDefault(), s.stopPropagation(), I || _(""), i == null || i(""), (r = z.current) == null || r.focus();
510
+ }, H = l ?? L("inputs.select.placeholder", "Select…"), _e = b && !!f && !K, ie = p === void 0 && !y, le = ie ? H : p, ce = !p && y ? `${N.id}-label` : void 0, Pe = Me(a), Ae = Fe(
489
511
  () => ({
490
512
  getValue: () => ae.current,
491
513
  setValue: (s) => {
492
514
  const r = a.find((C) => C.value === s);
493
- !r || r.disabled || r.intent === "action" || (I || B(s), d == null || d(s));
515
+ !r || r.disabled || r.intent === "action" || (I || _(s), i == null || i(s));
494
516
  },
495
517
  clear: () => {
496
- I || B(""), d == null || d("");
518
+ I || _(""), i == null || i("");
497
519
  },
498
520
  open: () => G(!0),
499
521
  close: () => G(!1),
500
522
  isOpen: () => V
501
523
  }),
502
- [d, I, V, a]
524
+ [i, I, V, a]
503
525
  );
504
- return Ge(nt, Pe, y), /* @__PURE__ */ p(
526
+ return Ke(ot, Ae, x), /* @__PURE__ */ m(
505
527
  o.Root,
506
528
  {
507
- value: m,
508
- onValueChange: ie,
529
+ value: f,
530
+ onValueChange: de,
509
531
  open: V,
510
532
  onOpenChange: G,
511
533
  disabled: K,
512
534
  required: W,
513
535
  name: $ ? void 0 : v,
514
- form: $ ? pt : void 0,
515
- dir: je,
536
+ form: $ ? mt : void 0,
537
+ dir: Oe,
516
538
  children: [
517
- /* @__PURE__ */ p(
539
+ /* @__PURE__ */ m(
518
540
  o.Trigger,
519
541
  {
520
- ref: Ve,
521
- id: Te,
542
+ ref: je,
543
+ id: Re,
522
544
  "aria-label": le,
523
545
  "aria-labelledby": ce,
524
- "data-name-from-placeholder": de || void 0,
546
+ "data-name-from-placeholder": ie || void 0,
525
547
  "aria-describedby": ze,
526
548
  "aria-invalid": ne || void 0,
527
- ...ft(S),
549
+ ...ht(B),
528
550
  "data-component": "select",
529
- "data-component-id": y,
551
+ "data-component-id": x,
530
552
  className: ve({
531
- size: O,
532
- tone: Re,
533
- className: D
553
+ size: j,
554
+ tone: Ve,
555
+ appearance: D,
556
+ className: T
534
557
  }),
535
558
  children: [
536
- oe ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
559
+ oe ? /* @__PURE__ */ m("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-sm)]", children: [
537
560
  /* @__PURE__ */ e(
538
561
  "span",
539
562
  {
@@ -557,13 +580,13 @@ const Ie = f(function({
557
580
  placeholder: H
558
581
  }
559
582
  ) }),
560
- /* @__PURE__ */ p("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
583
+ /* @__PURE__ */ m("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
561
584
  _e ? /* @__PURE__ */ e(
562
585
  "button",
563
586
  {
564
587
  type: "button",
565
588
  "aria-label": L("inputs.select.clear", "Clear selection"),
566
- onClick: Ee,
589
+ onClick: Be,
567
590
  onPointerDown: (s) => s.stopPropagation(),
568
591
  onKeyDown: (s) => {
569
592
  (s.key === "Enter" || s.key === " ") && s.stopPropagation();
@@ -576,7 +599,7 @@ const Ie = f(function({
576
599
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
577
600
  "ds:size-4"
578
601
  ].join(" "),
579
- children: /* @__PURE__ */ e(at, { "aria-hidden": "true", className: "ds:size-3.5" })
602
+ children: /* @__PURE__ */ e(nt, { "aria-hidden": "true", className: "ds:size-3.5" })
580
603
  }
581
604
  ) : null,
582
605
  /* @__PURE__ */ e(o.Icon, { asChild: !0, children: /* @__PURE__ */ e(
@@ -594,7 +617,7 @@ const Ie = f(function({
594
617
  ]
595
618
  }
596
619
  ),
597
- $ && (v !== void 0 || W) ? /* @__PURE__ */ p(
620
+ $ && (v !== void 0 || W) ? /* @__PURE__ */ m(
598
621
  "select",
599
622
  {
600
623
  ref: re,
@@ -609,7 +632,7 @@ const Ie = f(function({
609
632
  value: "",
610
633
  onChange: (s) => {
611
634
  var r;
612
- s.target.value !== "" && (document.activeElement === s.target && ((r = j.current) == null || r.focus()), ie(s.target.value));
635
+ s.target.value !== "" && (document.activeElement === s.target && ((r = z.current) == null || r.focus()), de(s.target.value));
613
636
  },
614
637
  className: "ds:sr-only",
615
638
  children: [
@@ -627,29 +650,29 @@ const Ie = f(function({
627
650
  ]
628
651
  }
629
652
  ) : null,
630
- /* @__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) => {
631
- const pe = r.map((c) => /* @__PURE__ */ p(Fe, { children: [
653
+ /* @__PURE__ */ e(Q.Provider, { value: V, children: /* @__PURE__ */ e(Y, { container: O, 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") }) : Pe.map(({ group: s, items: r }, C) => {
654
+ const pe = r.map((c) => /* @__PURE__ */ m(Le, { children: [
632
655
  c.separatorBefore ? /* @__PURE__ */ e(se, {}) : null,
633
656
  /* @__PURE__ */ e(
634
657
  ee,
635
658
  {
636
659
  value: c.value,
637
- className: c.intent === "action" ? ut : void 0,
660
+ className: c.intent === "action" ? pt : void 0,
638
661
  disabled: c.disabled,
639
- size: O,
662
+ size: j,
640
663
  "data-option-id": c.value,
641
664
  startAdornment: c.startAdornment,
642
665
  endContent: c.endContent,
643
- description: k ? c.description : void 0,
666
+ description: F ? c.description : void 0,
644
667
  descriptionTone: c.descriptionTone,
645
- descriptionInName: F,
646
- wrapLabel: E,
668
+ descriptionInName: E,
669
+ wrapLabel: S,
647
670
  labelDir: c.dir,
648
671
  children: c.label
649
672
  }
650
673
  )
651
674
  ] }, c.value));
652
- return s ? /* @__PURE__ */ p(o.Group, { children: [
675
+ return s ? /* @__PURE__ */ m(o.Group, { children: [
653
676
  /* @__PURE__ */ e(te, { children: s }),
654
677
  pe
655
678
  ] }, `group-${s}`) : /* @__PURE__ */ e(o.Group, { children: pe }, `group-${C}`);
@@ -659,7 +682,7 @@ const Ie = f(function({
659
682
  );
660
683
  });
661
684
  Ie.displayName = "Select";
662
- const ht = Object.assign(Ie, {
685
+ const gt = Object.assign(Ie, {
663
686
  Root: be,
664
687
  Trigger: ye,
665
688
  Value: xe,
@@ -670,9 +693,9 @@ const ht = Object.assign(Ie, {
670
693
  Group: Ne,
671
694
  Label: te,
672
695
  Separator: se
673
- }), Et = ht;
696
+ }), Bt = gt;
674
697
  export {
675
- Et as S,
698
+ Bt as S,
676
699
  Y as a,
677
700
  Ne as b,
678
701
  ee as c,
@@ -685,4 +708,4 @@ export {
685
708
  Z as j,
686
709
  ve as s
687
710
  };
688
- //# sourceMappingURL=select-uESzXTX6.js.map
711
+ //# sourceMappingURL=select-CIXKyUMw.js.map