@alfadocs/ui-kit 1.115.0 → 1.117.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 (339) hide show
  1. package/dist/_chunks/accessible-target-D3j6F-AG.js +7 -0
  2. package/dist/_chunks/{actions-cell-renderer-bI27uXXC.js → actions-cell-renderer-DTaIQKp9.js} +3 -3
  3. package/dist/_chunks/{address-autocomplete-DC-H-MZw.js → address-autocomplete-Bnc9ieKO.js} +2 -2
  4. package/dist/_chunks/{address-fields-D5Ije0S2.js → address-fields-RIaGnpnm.js} +4 -4
  5. package/dist/_chunks/{anamnesis-card-Ddnrdfx3.js → anamnesis-card-sUFT0dpF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-summary-card-S1H_AARG.js → anamnesis-summary-card-BtFPpegp.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-BZ36ULQk.js → anamnesis-summary-rows-BbAREK-3.js} +7 -7
  8. package/dist/_chunks/{antenatal-schedule-timeline-va9zx7tJ.js → antenatal-schedule-timeline-86YVlMYJ.js} +2 -2
  9. package/dist/_chunks/{appointment-card-D_-aBrx5.js → appointment-card-0PebvrOS.js} +3 -3
  10. package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-DdUhqfEi.js} +2 -2
  11. package/dist/_chunks/{appointment-timeline-DxLu3afn.js → appointment-timeline-CC7nmBOH.js} +3 -3
  12. package/dist/_chunks/{appointment-tray-BhXOJpIJ.js → appointment-tray-B04zKY7g.js} +2 -2
  13. package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
  14. package/dist/_chunks/{balance-badge-cell-CXHihM22.js → balance-badge-cell-DPjab0eJ.js} +6 -6
  15. package/dist/_chunks/bill-line-table-vCnVo7_a.js +1565 -0
  16. package/dist/_chunks/{bishop-score-QJu-sM1y.js → bishop-score-CKztphVz.js} +2 -2
  17. package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-rri5vvMt.js} +3 -3
  18. package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-B2MJo0Se.js} +2 -2
  19. package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
  20. package/dist/_chunks/{calendar-appointment-editor-dialog-BVzFi4hH.js → calendar-appointment-editor-dialog-BEmBcb61.js} +18 -18
  21. package/dist/_chunks/{card-DVO3x8E-.js → card-n6W6LW-N.js} +78 -47
  22. package/dist/_chunks/{care-plan-card-BA3MfdfZ.js → care-plan-card-bGTIliXc.js} +3 -3
  23. package/dist/_chunks/{care-plan-entry-card-CUtFZ813.js → care-plan-entry-card-cdojypxu.js} +3 -3
  24. package/dist/_chunks/{chart-DebrFZ6L.js → chart-Aue_2dMb.js} +2 -2
  25. package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
  26. package/dist/_chunks/{clinical-note-card-Zz5_GEz-.js → clinical-note-card-DHn5W_bv.js} +2 -2
  27. package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
  28. package/dist/_chunks/{compact-editor-fields-cP6yh7xv.js → compact-editor-fields-6sTWRLtf.js} +3 -3
  29. package/dist/_chunks/{connection-status-DjarASoU.js → connection-status-DWClakYw.js} +2 -2
  30. package/dist/_chunks/{contact-card-Cv-Nwvac.js → contact-card-CGpbYuxl.js} +2 -2
  31. package/dist/_chunks/{contact-profile-card-DMXWBBkU.js → contact-profile-card-BubJPyRB.js} +3 -3
  32. package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
  33. package/dist/_chunks/{cycle-calculator-C68V9rdH.js → cycle-calculator-C8nWAeTk.js} +3 -3
  34. package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-CaxgaEgI.js} +2 -2
  35. package/dist/_chunks/{toolbar-Bc3pjfG5.js → data-grid-DiBSbN2Y.js} +3017 -3106
  36. package/dist/_chunks/{data-grid-tabs-CsLbIv0h.js → data-grid-tabs-D9Y4DeeH.js} +2 -2
  37. package/dist/_chunks/{data-table-DXaE2Ret.js → data-table-DhYx-hCD.js} +101 -100
  38. package/dist/_chunks/{date-range-panel-CBFfkgmz.js → date-range-panel-CT6nXjRM.js} +7 -7
  39. package/dist/_chunks/default-tabs-CD285u0C.js +2250 -0
  40. package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
  41. package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-BWDTCEHI.js} +3 -3
  42. package/dist/_chunks/dropdown-menu-Dw6sgQwJ.js +679 -0
  43. package/dist/_chunks/{due-date-calculator-C1UA5jpS.js → due-date-calculator-c1NJPw9F.js} +4 -4
  44. package/dist/_chunks/{editable-currency-cell-renderer-CtlMhLai.js → editable-currency-cell-renderer-BlK-8A7b.js} +2 -2
  45. package/dist/_chunks/{entity-summary-DGCBQDt1.js → entity-summary-BanguTa6.js} +2 -2
  46. package/dist/_chunks/export-files-BByoK9Cg.js +248 -0
  47. package/dist/_chunks/{face-scheme-DkoxiDCh.js → face-scheme-Bt07zQJU.js} +20 -19
  48. package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-D0KofJJw.js} +3 -3
  49. package/dist/_chunks/{file-manager-DFFExyym.js → file-manager-CV1_GtjC.js} +5 -5
  50. package/dist/_chunks/{finished-terminal-BKTFUk3S.js → finished-terminal-FR8uc_Ws.js} +2 -2
  51. package/dist/_chunks/{forgot-password-form-Bc_UPax6.js → forgot-password-form-YvI9vX-G.js} +2 -2
  52. package/dist/_chunks/format-price-CIX0YJZn.js +179 -0
  53. package/dist/_chunks/{gestational-age-calculator-60y1RyQL.js → gestational-age-calculator-Cg4Gq42R.js} +3 -3
  54. package/dist/_chunks/{grid-context-AwsLJRhH.js → grid-context-jn9y8tNE.js} +4 -4
  55. package/dist/_chunks/{hcg-doubling-CC-dbKE8.js → hcg-doubling-BjTa_77t.js} +3 -3
  56. package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DsvheAOt.js} +160 -147
  57. package/dist/_chunks/{heatmap-eXdtmEoU.js → heatmap-BurtKmeu.js} +3 -3
  58. package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
  59. package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
  60. package/dist/_chunks/{icon-button-group-C9mPK-bX.js → icon-button-group-BKtkVZ1W.js} +2 -2
  61. package/dist/_chunks/{kit-extensions-CzG0RmhQ.js → kit-extensions-C3oL0WTp.js} +7 -7
  62. package/dist/_chunks/{link-cell-renderer-Ditt5mvT.js → link-cell-renderer-NFNGdAGt.js} +4 -4
  63. package/dist/_chunks/{login-dev-card-CPndtWdz.js → login-dev-card-Dz3ezx1o.js} +2 -2
  64. package/dist/_chunks/map-view-Frj8vE7n.js +1105 -0
  65. package/dist/_chunks/{maps-core-gate-DkNqGkm3.js → maps-core-gate-Dgs7jXxy.js} +6 -6
  66. package/dist/_chunks/{marketplace-app-shell-CcEHJgDd.js → marketplace-app-shell-BOBWmzoT.js} +6 -6
  67. package/dist/_chunks/money-OE6_oDPH.js +138 -0
  68. package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-C9dnSxzw.js} +2 -2
  69. package/dist/_chunks/{notes-panel-BVYG_MJE.js → notes-panel-CHR-Jv6N.js} +5 -5
  70. package/dist/_chunks/{notification-card-CPW4poUr.js → notification-card-DRMv2_pW.js} +20 -20
  71. package/dist/_chunks/{notification-tray-CQK3lw87.js → notification-tray-mlCfxNRH.js} +2 -2
  72. package/dist/_chunks/number-input-DUSvP7Dq.js +625 -0
  73. package/dist/_chunks/{operator-hero-BWayX73x.js → operator-hero-CnfWckNQ.js} +2 -2
  74. package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
  75. package/dist/_chunks/parts-CcyRkB8t.js +869 -0
  76. package/dist/_chunks/{patient-details-DlT-vpSe.js → patient-details-C4dHR4iu.js} +3 -3
  77. package/dist/_chunks/{patient-field-row-B54uzvu-.js → patient-field-row-0QP8KCVp.js} +5 -5
  78. package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-D_S7joff.js} +3 -3
  79. package/dist/_chunks/{patient-summary-card-Dy9-CzON.js → patient-summary-card-x0-AhCyC.js} +4 -4
  80. package/dist/_chunks/{payment-automation-upsell-D7yaD4u1.js → payment-automation-upsell-CGdG2Mwk.js} +2 -2
  81. package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-CEIalOtr.js} +15 -14
  82. package/dist/_chunks/{periodontal-chart-Bjz7O4wT.js → periodontal-chart-DqHrQY4e.js} +2 -2
  83. package/dist/_chunks/{periodontal-chart-card-CxEXHl2x.js → periodontal-chart-card-q9WSHRC2.js} +2 -2
  84. package/dist/_chunks/{periodontal-diagnosis-DnZuZD14.js → periodontal-diagnosis-CJPWluQU.js} +2 -2
  85. package/dist/_chunks/{periodontal-risk-chart-BBPB9wf1.js → periodontal-risk-chart-CKkyOROk.js} +2 -2
  86. package/dist/_chunks/{practice-profile-hero-Cw4NZp0A.js → practice-profile-hero-BFS6lO2a.js} +2 -2
  87. package/dist/_chunks/{practice-results-BlxfBx-D.js → practice-results-CzHWprX4.js} +922 -787
  88. package/dist/_chunks/{pregnancy-dating-qZpw3zj8.js → pregnancy-dating-BO6diQMZ.js} +4 -4
  89. package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-DkGcEc_l.js} +3 -3
  90. package/dist/_chunks/{privacy-mask-BlJK51MD.js → privacy-mask-DJ1gee4c.js} +2 -2
  91. package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
  92. package/dist/_chunks/{radiograph-panel.agent-C1LGeX-G.js → radiograph-panel.agent-9jwXlOXB.js} +2 -2
  93. package/dist/_chunks/{registration-form-DW-0X7S4.js → registration-form-CMXefBnC.js} +2 -2
  94. package/dist/_chunks/{reserved.agent-6p3Hm4oH.js → reserved.agent-TaZfI3yj.js} +5 -5
  95. package/dist/_chunks/{reset-password-form-C93SH0Tx.js → reset-password-form-D_TePSM1.js} +2 -2
  96. package/dist/_chunks/{reviews-panel-CfJPEkH7.js → reviews-panel-CdHUSndF.js} +2 -2
  97. package/dist/_chunks/{rich-text-editor-efaMWbYz.js → rich-text-editor-CMPA5Wgy.js} +12 -11
  98. package/dist/_chunks/row-actions-Dpf9CrCP.js +213 -0
  99. package/dist/_chunks/{section-card-DFr2wGal.js → section-card-CYfeQ6EQ.js} +2 -2
  100. package/dist/_chunks/{send-registration-link-form-DWxWa_cJ.js → send-registration-link-form-DuZQuKnI.js} +2 -2
  101. package/dist/_chunks/{signature-request-BnTihryS.js → signature-request-Dzs0jZsd.js} +3 -3
  102. package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-CF8R38Og.js} +2 -2
  103. package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-P4qFmxk5.js} +2 -2
  104. package/dist/_chunks/{task-editor-CSa6vQ9r.js → task-editor-WdDCqbIL.js} +168 -178
  105. package/dist/_chunks/{tasks-panel-CVjY1d7Q.js → tasks-panel-DBSm3WjK.js} +2 -2
  106. package/dist/_chunks/{theme-toggle-CObX2Ffa.js → theme-toggle-CeKl8f_f.js} +3 -3
  107. package/dist/_chunks/{timeline-AMqE-c2T.js → timeline-DXko0M1t.js} +2 -2
  108. package/dist/_chunks/{token-insert-menu-Dl3x2ekR.js → token-insert-menu-BrK5NQIq.js} +2 -2
  109. package/dist/_chunks/toolbar-z8vXnpXz.js +159 -0
  110. package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-DHRxV2sE.js} +2 -2
  111. package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
  112. package/dist/_chunks/{treatment-receipt-BydbojdD.js → treatment-receipt-1VnuinhY.js} +2 -2
  113. package/dist/_chunks/undo-2-EBxWjj1W.js +15 -0
  114. package/dist/_chunks/{unit-converter-D77vmlzN.js → unit-converter-YKlHyUC2.js} +2 -2
  115. package/dist/_chunks/{use-appointment-details-read-BMAiQYo6.js → use-appointment-details-read-B-SXnszJ.js} +10 -10
  116. package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.js} +2 -2
  117. package/dist/_chunks/{widget-picker-U4JsEhQE.js → widget-picker-DrxJjEkv.js} +2 -2
  118. package/dist/_chunks/{workflow-map-B4XkcET0.js → workflow-map-DCjkRuS_.js} +3 -3
  119. package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-D0avpoeS.js} +2 -2
  120. package/dist/_chunks/{workflow-webhook-action-DNSe65yd.js → workflow-webhook-action-dgUjv9T7.js} +3 -3
  121. package/dist/agent-catalog.json +1080 -1
  122. package/dist/agent-i18n/en.json +50 -0
  123. package/dist/browser-support.js +2 -0
  124. package/dist/components/_shared/accessible-target.d.ts +19 -0
  125. package/dist/components/_shared/decimal.d.ts +171 -0
  126. package/dist/components/_shared/focus-visible.d.ts +8 -0
  127. package/dist/components/_shared/format-price.d.ts +54 -2
  128. package/dist/components/address-autocomplete/index.js +1 -1
  129. package/dist/components/address-fields/index.js +1 -1
  130. package/dist/components/anamnesis-card/index.js +1 -1
  131. package/dist/components/anamnesis-summary-card/index.js +1 -1
  132. package/dist/components/appointment-card/index.js +2 -2
  133. package/dist/components/appointment-details-panel/index.js +1 -1
  134. package/dist/components/appointment-peek/index.js +1 -1
  135. package/dist/components/appointment-timeline/index.js +1 -1
  136. package/dist/components/bill-line-table/bill-line-table.agent.d.ts +4 -0
  137. package/dist/components/bill-line-table/bill-line-table.columns.d.ts +49 -0
  138. package/dist/components/bill-line-table/bill-line-table.d.ts +4 -0
  139. package/dist/components/bill-line-table/bill-line-table.model.d.ts +173 -0
  140. package/dist/components/bill-line-table/bill-line-table.types.d.ts +443 -0
  141. package/dist/components/bill-line-table/bill-line-table.variants.d.ts +36 -0
  142. package/dist/components/bill-line-table/index.d.ts +6 -0
  143. package/dist/components/bill-line-table/index.js +23 -0
  144. package/dist/components/bill-table/bill-table.agent.d.ts +4 -0
  145. package/dist/components/bill-table/bill-table.d.ts +13 -0
  146. package/dist/components/bill-table/bill-table.variants.d.ts +55 -0
  147. package/dist/components/bill-table/cells.d.ts +89 -0
  148. package/dist/components/bill-table/columns.d.ts +21 -0
  149. package/dist/components/bill-table/default-tabs.d.ts +21 -0
  150. package/dist/components/bill-table/handle.d.ts +19 -0
  151. package/dist/components/bill-table/index.d.ts +7 -0
  152. package/dist/components/bill-table/index.js +19 -0
  153. package/dist/components/bill-table/model.d.ts +103 -0
  154. package/dist/components/bill-table/row-actions.d.ts +27 -0
  155. package/dist/components/bill-table/status-maps.d.ts +225 -0
  156. package/dist/components/bill-table/types.d.ts +542 -0
  157. package/dist/components/bishop-score/index.js +1 -1
  158. package/dist/components/bmi-calculator/index.js +1 -1
  159. package/dist/components/booking/index.js +1 -1
  160. package/dist/components/button-group/index.js +1 -1
  161. package/dist/components/calculator-dialog/index.js +1 -1
  162. package/dist/components/card/card.d.ts +9 -2
  163. package/dist/components/card/index.js +1 -1
  164. package/dist/components/care-plan-card/index.js +1 -1
  165. package/dist/components/care-plan-entry-card/index.js +1 -1
  166. package/dist/components/chart/index.js +1 -1
  167. package/dist/components/clinical-note-card/index.js +1 -1
  168. package/dist/components/combobox/combobox.d.ts +59 -1
  169. package/dist/components/combobox/index.d.ts +1 -1
  170. package/dist/components/combobox/index.js +1 -1
  171. package/dist/components/connection-status/index.js +1 -1
  172. package/dist/components/contact-card/index.js +1 -1
  173. package/dist/components/contact-profile-card/index.js +1 -1
  174. package/dist/components/country-select/index.js +1 -1
  175. package/dist/components/cycle-calculator/index.js +1 -1
  176. package/dist/components/dashboard-grid/index.js +1 -1
  177. package/dist/components/data-grid/body.d.ts +6 -0
  178. package/dist/components/data-grid/data-grid.variants.d.ts +1 -9
  179. package/dist/components/data-grid/editors.d.ts +7 -1
  180. package/dist/components/data-grid/index.js +9 -8
  181. package/dist/components/data-grid/selection.d.ts +10 -0
  182. package/dist/components/data-grid/types.d.ts +61 -11
  183. package/dist/components/data-grid-tabs/index.js +1 -1
  184. package/dist/components/data-table/index.js +4 -4
  185. package/dist/components/dialog/focus-return.d.ts +12 -0
  186. package/dist/components/dialog/index.js +1 -1
  187. package/dist/components/document-preview/index.js +1 -1
  188. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -0
  189. package/dist/components/dropdown-menu/index.js +1 -1
  190. package/dist/components/due-date-calculator/index.js +2 -2
  191. package/dist/components/entity-summary/index.js +1 -1
  192. package/dist/components/face-scheme/index.js +1 -1
  193. package/dist/components/fetal-weight/index.js +1 -1
  194. package/dist/components/file-manager/index.js +1 -1
  195. package/dist/components/finished-terminal/index.js +1 -1
  196. package/dist/components/gestational-age-calculator/index.js +1 -1
  197. package/dist/components/hcg-doubling/index.js +1 -1
  198. package/dist/components/header-settings/header-settings.d.ts +7 -3
  199. package/dist/components/header-settings/index.js +1 -1
  200. package/dist/components/heatmap/index.js +1 -1
  201. package/dist/components/icon-button-group/index.js +1 -1
  202. package/dist/components/index.d.ts +6 -0
  203. package/dist/components/map-view/index.d.ts +1 -1
  204. package/dist/components/map-view/index.js +1 -1
  205. package/dist/components/map-view/map-view.d.ts +48 -0
  206. package/dist/components/money/index.js +1 -1
  207. package/dist/components/money/money.d.ts +39 -6
  208. package/dist/components/muscle-scheme/index.js +1 -1
  209. package/dist/components/notes-panel/index.js +1 -1
  210. package/dist/components/notification-card/index.js +1 -1
  211. package/dist/components/notification-card/notification-card.d.ts +2 -1
  212. package/dist/components/notification-tray/index.js +1 -1
  213. package/dist/components/number-input/index.d.ts +2 -2
  214. package/dist/components/number-input/index.js +1 -1
  215. package/dist/components/number-input/number-input.d.ts +43 -2
  216. package/dist/components/number-input/use-locale-number.d.ts +67 -3
  217. package/dist/components/operator-hero/index.js +1 -1
  218. package/dist/components/optical-prescription/index.js +1 -1
  219. package/dist/components/patient-details/index.js +1 -1
  220. package/dist/components/patient-search/index.js +1 -1
  221. package/dist/components/patient-summary-card/index.js +1 -1
  222. package/dist/components/patient-table/index.js +1 -1
  223. package/dist/components/payment-card/index.js +1 -1
  224. package/dist/components/periodontal-chart/index.js +1 -1
  225. package/dist/components/periodontal-chart-card/index.js +1 -1
  226. package/dist/components/periodontal-diagnosis/index.js +1 -1
  227. package/dist/components/periodontal-risk-chart/index.js +1 -1
  228. package/dist/components/practice-profile-hero/index.js +1 -1
  229. package/dist/components/practice-results/index.js +1 -1
  230. package/dist/components/practice-results/practice-results.d.ts +20 -0
  231. package/dist/components/pregnancy-dating/index.js +1 -1
  232. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  233. package/dist/components/province-select/index.js +1 -1
  234. package/dist/components/radiograph-panel/index.js +1 -1
  235. package/dist/components/reviews-panel/index.js +1 -1
  236. package/dist/components/rich-text-editor/index.js +2 -2
  237. package/dist/components/row-actions/index.d.ts +3 -0
  238. package/dist/components/row-actions/index.js +5 -0
  239. package/dist/components/row-actions/row-actions.d.ts +63 -0
  240. package/dist/components/section-card/index.js +1 -1
  241. package/dist/components/skeleton-scheme/index.js +1 -1
  242. package/dist/components/smart-date/smart-date.d.ts +1 -1
  243. package/dist/components/tab-bar/index.js +1 -1
  244. package/dist/components/tabs/index.js +1 -1
  245. package/dist/components/task-editor/index.js +1 -1
  246. package/dist/components/tasks-panel/index.js +1 -1
  247. package/dist/components/theme-toggle/index.js +1 -1
  248. package/dist/components/timeline/index.js +1 -1
  249. package/dist/components/token-insert-menu/index.js +1 -1
  250. package/dist/components/tooth-scheme/index.js +1 -1
  251. package/dist/components/transaction-chip/index.js +1 -1
  252. package/dist/components/transaction-chip/transaction-chip.d.ts +1 -1
  253. package/dist/components/treatment-receipt/index.js +1 -1
  254. package/dist/components/unit-converter/index.js +1 -1
  255. package/dist/components/widget-picker/index.js +1 -1
  256. package/dist/components/workflow/index.js +1 -1
  257. package/dist/components/workflow-status/index.js +1 -1
  258. package/dist/core.css +1 -1
  259. package/dist/decimal/index.js +149 -0
  260. package/dist/host-compat.css +7 -1
  261. package/dist/i18n/locales/ar.d.ts +262 -0
  262. package/dist/i18n/locales/ar.js +263 -1
  263. package/dist/i18n/locales/de.d.ts +262 -0
  264. package/dist/i18n/locales/de.js +263 -1
  265. package/dist/i18n/locales/el.d.ts +262 -0
  266. package/dist/i18n/locales/el.js +263 -1
  267. package/dist/i18n/locales/en.d.ts +262 -0
  268. package/dist/i18n/locales/en.js +263 -1
  269. package/dist/i18n/locales/es.d.ts +262 -0
  270. package/dist/i18n/locales/es.js +263 -1
  271. package/dist/i18n/locales/fr.d.ts +262 -0
  272. package/dist/i18n/locales/fr.js +263 -1
  273. package/dist/i18n/locales/hi.d.ts +262 -0
  274. package/dist/i18n/locales/hi.js +263 -1
  275. package/dist/i18n/locales/it.d.ts +262 -0
  276. package/dist/i18n/locales/it.js +263 -1
  277. package/dist/i18n/locales/ja.d.ts +262 -0
  278. package/dist/i18n/locales/ja.js +263 -1
  279. package/dist/i18n/locales/nl.d.ts +262 -0
  280. package/dist/i18n/locales/nl.js +263 -1
  281. package/dist/i18n/locales/pl.d.ts +262 -0
  282. package/dist/i18n/locales/pl.js +263 -1
  283. package/dist/i18n/locales/pt.d.ts +262 -0
  284. package/dist/i18n/locales/pt.js +263 -1
  285. package/dist/i18n/locales/ro.d.ts +262 -0
  286. package/dist/i18n/locales/ro.js +263 -1
  287. package/dist/i18n/locales/ru.d.ts +262 -0
  288. package/dist/i18n/locales/ru.js +263 -1
  289. package/dist/i18n/locales/sq.d.ts +262 -0
  290. package/dist/i18n/locales/sq.js +263 -1
  291. package/dist/i18n/locales/sv.d.ts +262 -0
  292. package/dist/i18n/locales/sv.js +263 -1
  293. package/dist/i18n/locales/tr.d.ts +262 -0
  294. package/dist/i18n/locales/tr.js +263 -1
  295. package/dist/i18n/locales/zh.d.ts +262 -0
  296. package/dist/i18n/locales/zh.js +263 -1
  297. package/dist/index.js +1298 -1246
  298. package/dist/locales/ar.json +263 -1
  299. package/dist/locales/de.json +263 -1
  300. package/dist/locales/el.json +263 -1
  301. package/dist/locales/en.json +263 -1
  302. package/dist/locales/es.json +263 -1
  303. package/dist/locales/fr.json +263 -1
  304. package/dist/locales/hi.json +263 -1
  305. package/dist/locales/it.json +263 -1
  306. package/dist/locales/ja.json +263 -1
  307. package/dist/locales/nl.json +263 -1
  308. package/dist/locales/pl.json +263 -1
  309. package/dist/locales/pt.json +263 -1
  310. package/dist/locales/ro.json +263 -1
  311. package/dist/locales/ru.json +263 -1
  312. package/dist/locales/sq.json +263 -1
  313. package/dist/locales/sv.json +263 -1
  314. package/dist/locales/tr.json +263 -1
  315. package/dist/locales/zh.json +263 -1
  316. package/dist/patterns/anamnesis/index.js +1 -1
  317. package/dist/patterns/calendar/index.js +1 -1
  318. package/dist/patterns/forgot-password-form/index.js +1 -1
  319. package/dist/patterns/help-me-write-templates/index.js +1 -1
  320. package/dist/patterns/login-form/index.js +1 -1
  321. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  322. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  323. package/dist/patterns/registration-form/index.js +1 -1
  324. package/dist/patterns/reset-password-form/index.js +1 -1
  325. package/dist/patterns/send-registration-link-form/index.js +1 -1
  326. package/dist/patterns/signature-request/index.js +1 -1
  327. package/dist/patterns/verify-identity/index.js +1 -1
  328. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  329. package/dist/tokens.css +1 -1
  330. package/package.json +22 -3
  331. package/dist/_chunks/combobox-duuDRI1t.js +0 -688
  332. package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
  333. package/dist/_chunks/dropdown-menu-CqxBthww.js +0 -595
  334. package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
  335. package/dist/_chunks/map-view-Bny79cWa.js +0 -856
  336. package/dist/_chunks/money-Tsczpjfz.js +0 -102
  337. package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
  338. package/dist/_chunks/parts-Wz2LeGnH.js +0 -1113
  339. package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
@@ -1,102 +0,0 @@
1
- import { jsxs as V, jsx as p } from "react/jsx-runtime";
2
- import { forwardRef as z, useMemo as N } from "react";
3
- import { c as Z } from "./index-D2ZczOXr.js";
4
- import { useTranslation as $ } from "react-i18next";
5
- import { V as O } from "./visually-hidden-BHxEUGyT.js";
6
- import { f as R, a as T } from "./format-price-BcFBa-WP.js";
7
- const U = Z(
8
- [
9
- "ds:inline-flex ds:items-baseline ds:whitespace-nowrap",
10
- // Lining, fixed-width figures: without these a column of amounts
11
- // wanders because glyph widths differ between digits.
12
- "ds:tabular-nums"
13
- ].join(" "),
14
- {
15
- variants: {
16
- size: {
17
- sm: "type-body-sm",
18
- md: "type-body",
19
- lg: "type-title-item"
20
- },
21
- tone: {
22
- default: "ds:text-[color:var(--foreground)]",
23
- muted: "ds:text-[color:var(--muted-foreground)]",
24
- positive: "ds:text-[color:var(--success-foreground)]",
25
- negative: "ds:text-[color:var(--destructive)]"
26
- },
27
- strikethrough: {
28
- true: "ds:line-through ds:decoration-from-font",
29
- false: ""
30
- }
31
- },
32
- defaultVariants: { size: "md", tone: "default", strikethrough: !1 }
33
- }
34
- ), C = z(
35
- ({
36
- value: o,
37
- currency: s = "EUR",
38
- locale: v,
39
- size: x,
40
- tone: l = "default",
41
- decimals: a = "full",
42
- signDisplay: m = "auto",
43
- strikethrough: y,
44
- className: g,
45
- ...h
46
- }, j) => {
47
- const { i18n: b } = $("ui"), n = v ?? b.language, { nodes: k, full: w } = N(() => {
48
- const e = R(
49
- o,
50
- s,
51
- n,
52
- m === "always" ? { signDisplay: "exceptZero" } : {}
53
- ), f = T(o, s, n);
54
- if (!e)
55
- return { nodes: [{ text: f, muted: !1 }], full: f };
56
- const i = e.map((t) => t.value).join(""), P = e.filter((t) => t.type === "fraction").every((t) => /^0+$/.test(t.value)), u = (t) => t === "decimal" || t === "fraction";
57
- if (a === "hideWhenZero" && P) {
58
- const c = e.filter((d) => !u(d.type)).map((d) => d.value).join("").trim();
59
- return { nodes: [{ text: c, muted: !1 }], full: c };
60
- }
61
- return a === "muted" ? {
62
- nodes: e.map((t) => ({
63
- text: t.value,
64
- muted: u(t.type)
65
- })),
66
- full: i
67
- } : { nodes: [{ text: i, muted: !1 }], full: i };
68
- }, [o, s, n, a, m]), M = l === "auto" ? o < 0 ? "negative" : "default" : l;
69
- return /* @__PURE__ */ V(
70
- "span",
71
- {
72
- ref: j,
73
- "data-component": "money",
74
- "data-currency": s.toUpperCase(),
75
- className: U({
76
- size: x,
77
- tone: M,
78
- strikethrough: y,
79
- className: g
80
- }),
81
- ...h,
82
- children: [
83
- k.map((r, e) => /* @__PURE__ */ p(
84
- "span",
85
- {
86
- "aria-hidden": "true",
87
- className: r.muted ? "ds:opacity-70 ds:[font-size:0.85em]" : void 0,
88
- children: r.text
89
- },
90
- `${e}-${r.text}`
91
- )),
92
- /* @__PURE__ */ p(O, { children: w })
93
- ]
94
- }
95
- );
96
- }
97
- );
98
- C.displayName = "Money";
99
- export {
100
- C as M
101
- };
102
- //# sourceMappingURL=money-Tsczpjfz.js.map
@@ -1,423 +0,0 @@
1
- import { jsxs as Se, jsx as x } from "react/jsx-runtime";
2
- import { useMemo as te, forwardRef as ke, useId as ze, useRef as q, useCallback as T, useState as H, useEffect as Me } from "react";
3
- import { c as W } from "./index-D2ZczOXr.js";
4
- import { useTranslation as Ue } from "react-i18next";
5
- import { u as Te } from "./use-controllable-state-BiY4xTzM.js";
6
- import { u as Pe, a as Be } from "./form-field-context-DtiROUJV.js";
7
- import { c as Re } from "./compose-refs-C0k0tdqF.js";
8
- import { u as Ae } from "./registry-DvAUVLHh.js";
9
- import { C as je } from "./chevron-down-DWE7GSq9.js";
10
- import { C as Ee } from "./chevron-up-umRGgtJA.js";
11
- const Le = {
12
- id: "number-input",
13
- capabilities: ["set_value"],
14
- state: {
15
- value: {
16
- type: "number | null",
17
- descriptionKey: "ui.agent.numberInput.state.value",
18
- description: "Current numeric value, or null when empty.",
19
- read: (n) => n.getValue()
20
- },
21
- isEmpty: {
22
- type: "boolean",
23
- descriptionKey: "ui.agent.numberInput.state.isEmpty",
24
- description: "Whether the input has no value.",
25
- read: (n) => n.getValue() === null
26
- }
27
- },
28
- actions: {
29
- set_value: {
30
- safety: "write",
31
- argsType: "{ value: number | null }",
32
- argsSchema: {
33
- type: "object",
34
- properties: { value: { type: ["number", "null"] } },
35
- required: ["value"]
36
- },
37
- idempotent: !0,
38
- examples: [{ args: { value: 42 } }, { args: { value: null } }],
39
- descriptionKey: "ui.agent.numberInput.actions.setValue",
40
- description: "Replace the numeric value, or pass null to clear.",
41
- invoke: (n, s) => {
42
- n.setValue(s.value);
43
- }
44
- },
45
- clear: {
46
- safety: "destructive",
47
- idempotent: !0,
48
- descriptionKey: "ui.agent.numberInput.actions.clear",
49
- description: "Empty the input. Loses any typed value.",
50
- invoke: (n) => {
51
- n.clear();
52
- }
53
- },
54
- focus: {
55
- safety: "read",
56
- idempotent: !0,
57
- descriptionKey: "ui.agent.numberInput.actions.focus",
58
- description: "Move keyboard focus to the input.",
59
- invoke: (n) => {
60
- n.focus();
61
- }
62
- }
63
- },
64
- domHooks: {
65
- root: {
66
- attr: "data-component",
67
- value: "number-input",
68
- description: "Marks the NumberInput wrapper."
69
- },
70
- instanceId: {
71
- attr: "data-component-id",
72
- sourceProp: "id",
73
- description: "Sourced from the id prop."
74
- }
75
- }
76
- };
77
- function Ke(n) {
78
- let s = "";
79
- for (const l of n) {
80
- const r = l.codePointAt(0);
81
- r !== void 0 && (r >= 1632 && r <= 1641 ? s += String.fromCodePoint(48 + (r - 1632)) : r >= 1776 && r <= 1785 ? s += String.fromCodePoint(48 + (r - 1776)) : s += l);
82
- }
83
- return s;
84
- }
85
- function qe(n, s, l) {
86
- return te(() => {
87
- var k, m;
88
- const r = new Intl.NumberFormat(n).formatToParts(1234.5), u = ((k = r.find((o) => o.type === "decimal")) == null ? void 0 : k.value) ?? ".", S = ((m = r.find((o) => o.type === "group")) == null ? void 0 : m.value) ?? ",", p = s === "currency" ? new Intl.NumberFormat(n, {
89
- style: "currency",
90
- currency: l ?? "USD"
91
- }) : s === "percentage" ? new Intl.NumberFormat(n, {
92
- style: "percent",
93
- maximumFractionDigits: 4
94
- }) : s === "integer" ? new Intl.NumberFormat(n, { maximumFractionDigits: 0 }) : new Intl.NumberFormat(n, { maximumFractionDigits: 10 }), P = (o) => Number.isFinite(o) ? p.format(o) : "", B = (o) => {
95
- if (!o) return NaN;
96
- const y = Ke(o), z = y.trim(), D = z.startsWith("-") || z.startsWith("−");
97
- let g = "";
98
- for (const v of y)
99
- v >= "0" && v <= "9" ? g += v : v === u && (g += ".");
100
- if (!g || g === ".") return NaN;
101
- let d = Number(g);
102
- return Number.isFinite(d) ? (D && (d = -d), s === "percentage" && (d = d / 100), d) : NaN;
103
- };
104
- let N = "decimal";
105
- if (s === "integer")
106
- N = "numeric";
107
- else if (s === "currency")
108
- try {
109
- const { maximumFractionDigits: o } = new Intl.NumberFormat(n, {
110
- style: "currency",
111
- currency: l ?? "USD"
112
- }).resolvedOptions();
113
- N = o === 0 ? "numeric" : "decimal";
114
- } catch {
115
- N = "decimal";
116
- }
117
- return {
118
- format: P,
119
- parse: B,
120
- decimalSeparator: u,
121
- groupingSeparator: S,
122
- inputMode: N
123
- };
124
- }, [n, s, l]);
125
- }
126
- const He = W(
127
- [
128
- "ds:flex ds:items-center ds:rounded-[var(--radius-sm)]",
129
- "ds:border ds:bg-input ds:text-foreground",
130
- "ds:shadow-[var(--shadow-input)]",
131
- "ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
132
- "ds:focus-within:outline-[length:var(--focus-ring-width)] ds:focus-within:outline-solid",
133
- "ds:focus-within:outline-ring ds:focus-within:outline-offset-[length:var(--focus-ring-offset)]",
134
- "ds:has-[:disabled]:cursor-not-allowed ds:has-[:disabled]:opacity-50"
135
- ].join(" "),
136
- {
137
- variants: {
138
- size: {
139
- sm: "ds:h-8 ds:text-[length:var(--font-size-sm)]",
140
- md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
141
- lg: "ds:h-12 ds:text-[length:var(--font-size-lg)]"
142
- },
143
- tone: {
144
- default: "ds:border-[color:var(--control-border)]",
145
- error: "ds:border-destructive ds:focus-within:outline-destructive"
146
- },
147
- // Intrinsic sizes shrink-wrap the frame around field, unit and paddings;
148
- // the floor keeps a bare 'sm' field a valid tap target.
149
- inline: {
150
- full: "ds:w-full",
151
- sm: "ds:w-fit ds:min-w-[var(--min-target-size)]",
152
- md: "ds:w-fit ds:min-w-[var(--min-target-size)]",
153
- lg: "ds:w-fit ds:min-w-[var(--min-target-size)]"
154
- }
155
- },
156
- defaultVariants: { size: "md", tone: "default", inline: "full" }
157
- }
158
- ), We = W(
159
- "ds:min-w-0 ds:bg-transparent ds:outline-none ds:tabular-nums ds:disabled:cursor-not-allowed",
160
- {
161
- variants: {
162
- variant: { stepper: "ds:ps-2", plain: "ds:ps-3" },
163
- hasUnit: { true: "ds:pe-1", false: "" },
164
- // `ch` is the advance of "0", so with tabular numerals N digits fit
165
- // exactly; box-content keeps the paddings outside that count.
166
- inline: {
167
- full: "ds:flex-1 ds:w-full",
168
- sm: "ds:box-content ds:w-[8ch]",
169
- md: "ds:box-content ds:w-[12ch]",
170
- lg: "ds:box-content ds:w-[16ch]"
171
- }
172
- },
173
- compoundVariants: [
174
- { variant: "stepper", hasUnit: !1, class: "ds:pe-2" },
175
- { variant: "plain", hasUnit: !1, class: "ds:pe-3" },
176
- // Alignment: exactly one of these matches, because two text-align
177
- // utilities in one class list resolve by stylesheet order, not by the
178
- // order they were written.
179
- // A unit or an answer-sized box means the number is read AGAINST
180
- // something — stranding it at the far start left a gap wide enough to
181
- // read as two separate controls.
182
- { inline: "full", hasUnit: !1, class: "ds:text-start" },
183
- { inline: "full", hasUnit: !0, class: "ds:text-end" },
184
- { inline: ["sm", "md", "lg"], class: "ds:text-end" }
185
- ],
186
- defaultVariants: { variant: "stepper", hasUnit: !1, inline: "full" }
187
- }
188
- ), Oe = W(
189
- "ds:shrink-0 ds:select-none ds:whitespace-nowrap ds:text-muted-foreground",
190
- {
191
- variants: {
192
- variant: { stepper: "ds:pe-1", plain: "ds:pe-3" }
193
- },
194
- defaultVariants: { variant: "stepper" }
195
- }
196
- ), ee = [
197
- "ds:inline-flex ds:items-center ds:justify-center",
198
- "ds:h-full ds:shrink-0",
199
- "ds:text-muted-foreground ds:hover:text-foreground",
200
- "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
201
- "ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
202
- ].join(" "), _e = () => typeof navigator < "u" && navigator.language ? navigator.language : "en-US", $e = (n) => typeof n == "string" && n.trim() !== "" ? n : void 0;
203
- function Ge(n) {
204
- if (!Number.isFinite(n)) return 0;
205
- const s = String(n), l = s.indexOf(".");
206
- return l === -1 ? 0 : s.length - l - 1;
207
- }
208
- function Je(n, s) {
209
- if (s <= 0 || !Number.isFinite(s)) return n;
210
- const r = 10 ** Ge(s);
211
- return Math.round(n * r) / r;
212
- }
213
- const Qe = ke(
214
- ({
215
- value: n,
216
- defaultValue: s,
217
- onChange: l,
218
- min: r,
219
- max: u,
220
- step: S = 1,
221
- mode: p = "integer",
222
- currency: P,
223
- locale: B,
224
- size: N = "md",
225
- tone: k,
226
- variant: m = "stepper",
227
- unit: o,
228
- inline: y = "full",
229
- className: z,
230
- id: D,
231
- disabled: g,
232
- onFocus: d,
233
- onBlur: v,
234
- onKeyDown: R,
235
- ...ne
236
- }, re) => {
237
- const { t: O, i18n: se } = Ue("ui"), F = Pe(), ie = Be(F, D), M = !!(F.disabled || g), _ = ze(), ae = [F.describedBy, o ? _ : void 0].filter(Boolean).join(" ") || void 0, oe = B ?? $e(se.language) ?? _e(), A = qe(oe, p, P), {
238
- decimalSeparator: U,
239
- groupingSeparator: $,
240
- format: j,
241
- parse: G
242
- } = A, J = q(null), ue = Re(re, J), [le, de] = Te({
243
- value: n,
244
- defaultValue: s ?? null,
245
- onChange: l
246
- }), a = le ?? null, Q = q(a);
247
- Q.current = a;
248
- const C = T(
249
- (e) => {
250
- const t = p === "percentage" ? e * 100 : e;
251
- return (Number.isInteger(t) ? String(t) : t.toString()).replace(".", U);
252
- },
253
- [p, U]
254
- ), b = T(
255
- (e) => e == null || Number.isNaN(e) ? "" : j(e),
256
- [j]
257
- ), [E, c] = H(
258
- () => b(a)
259
- ), w = q(!1), [ce, h] = H(!1), [L, V] = H(!1), K = T(
260
- (e) => {
261
- if (e >= "0" && e <= "9") return !0;
262
- const t = e.codePointAt(0) ?? 0;
263
- return t >= 1632 && t <= 1641 || t >= 1776 && t <= 1785 ? !0 : e === U || e === $ || e === "-" || e === "−";
264
- },
265
- [U, $]
266
- ), fe = T(
267
- (e) => {
268
- let t = "";
269
- for (const i of e)
270
- K(i) && (t += i);
271
- return t;
272
- },
273
- [K]
274
- );
275
- Me(() => {
276
- !w.current && !L && c(b(a));
277
- }, [a, b, L]);
278
- const pe = ce || L || a !== null && (r !== void 0 && a < r || u !== void 0 && a > u), X = F.invalid || pe, me = X ? "error" : k ?? "default", f = (e) => {
279
- de(e);
280
- }, I = (e) => {
281
- let i = (a ?? 0) + S * e;
282
- r !== void 0 && (i = Math.max(r, i)), u !== void 0 && (i = Math.min(u, i)), i = Je(i, S), f(i), h(!1), c(
283
- w.current ? C(i) : b(i)
284
- );
285
- }, Y = (e) => {
286
- f(e), h(!1), c(
287
- w.current ? C(e) : b(e)
288
- );
289
- }, ve = (e) => {
290
- if (R == null || R(e), e.defaultPrevented || M) return;
291
- const { key: t, shiftKey: i } = e;
292
- t === "ArrowUp" ? (e.preventDefault(), I(i ? 10 : 1)) : t === "ArrowDown" ? (e.preventDefault(), I(i ? -10 : -1)) : t === "PageUp" ? (e.preventDefault(), I(100)) : t === "PageDown" ? (e.preventDefault(), I(-100)) : t === "Home" && r !== void 0 ? (e.preventDefault(), Y(r)) : t === "End" && u !== void 0 && (e.preventDefault(), Y(u));
293
- }, be = (e) => {
294
- const t = fe(e.target.value);
295
- if (c(t), t.trim() === "") {
296
- f(null), h(!1), V(!1);
297
- return;
298
- }
299
- const i = G(t);
300
- Number.isNaN(i) || (f(i), V(!1));
301
- }, ge = (e) => {
302
- const { data: t } = e.nativeEvent;
303
- typeof t != "string" || t.length !== 1 || K(t) || e.preventDefault();
304
- }, he = (e) => {
305
- d == null || d(e), w.current = !0, a != null && c(C(a));
306
- }, Ne = (e) => {
307
- if (v == null || v(e), w.current = !1, E.trim() === "") {
308
- f(null), h(!1), V(!1), c("");
309
- return;
310
- }
311
- const t = G(E);
312
- if (Number.isNaN(t)) {
313
- V(!0), h(!1), f(null);
314
- return;
315
- }
316
- const i = r !== void 0 && t < r || u !== void 0 && t > u;
317
- h(i), V(!1), f(t), c(b(t));
318
- }, Z = (e) => {
319
- e.preventDefault();
320
- }, ye = () => I(1), we = () => I(-1), Ie = te(
321
- () => ({
322
- getValue: () => Q.current,
323
- setValue: (e) => {
324
- f(e), c(
325
- e === null ? "" : w.current ? C(e) : b(e)
326
- );
327
- },
328
- clear: () => {
329
- f(null), c(""), h(!1);
330
- },
331
- focus: () => {
332
- var e;
333
- return (e = J.current) == null ? void 0 : e.focus();
334
- }
335
- }),
336
- // The handle is reconstructed per render; consumers (the agent runtime)
337
- // re-register only when the identity changes, which is a cheap no-op.
338
- // eslint-disable-next-line react-hooks/exhaustive-deps
339
- [C, b]
340
- );
341
- Ae(Le, Ie, D);
342
- const xe = M || r !== void 0 && a !== null && a <= r, De = M || u !== void 0 && a !== null && a >= u, Fe = a ?? void 0, Ce = (p === "currency" || p === "percentage") && a !== null && a !== null ? j(a) : void 0, Ve = A.inputMode === "numeric" ? "[0-9]*" : void 0;
343
- return /* @__PURE__ */ Se(
344
- "div",
345
- {
346
- className: He({
347
- size: N,
348
- tone: me,
349
- inline: y,
350
- className: z
351
- }),
352
- "data-component": "number-input",
353
- "data-component-id": D,
354
- "data-mode": p,
355
- "data-variant": m,
356
- "data-inline": y,
357
- children: [
358
- m === "stepper" ? /* @__PURE__ */ x(
359
- "button",
360
- {
361
- type: "button",
362
- tabIndex: -1,
363
- "aria-label": O("inputs.number.decrement", "Decrement"),
364
- onClick: we,
365
- onMouseDown: Z,
366
- disabled: xe,
367
- className: `${ee} ds:ps-2 ds:pe-1`,
368
- children: /* @__PURE__ */ x(je, { "aria-hidden": "true", className: "ds:size-4" })
369
- }
370
- ) : null,
371
- /* @__PURE__ */ x(
372
- "input",
373
- {
374
- ref: ue,
375
- id: ie,
376
- type: "text",
377
- role: "spinbutton",
378
- inputMode: A.inputMode,
379
- pattern: Ve,
380
- autoComplete: "off",
381
- value: E,
382
- disabled: M,
383
- "aria-valuemin": r,
384
- "aria-valuemax": u,
385
- "aria-valuenow": Fe,
386
- "aria-valuetext": Ce,
387
- "aria-invalid": X || void 0,
388
- "aria-required": F.required || void 0,
389
- "aria-describedby": ae,
390
- onBeforeInput: ge,
391
- onChange: be,
392
- onFocus: he,
393
- onBlur: Ne,
394
- onKeyDown: ve,
395
- className: We({ variant: m, hasUnit: !!o, inline: y }),
396
- ...ne
397
- }
398
- ),
399
- o ? /* @__PURE__ */ x("span", { id: _, className: Oe({ variant: m }), children: o }) : null,
400
- m === "stepper" ? /* @__PURE__ */ x(
401
- "button",
402
- {
403
- type: "button",
404
- tabIndex: -1,
405
- "aria-label": O("inputs.number.increment", "Increment"),
406
- onClick: ye,
407
- onMouseDown: Z,
408
- disabled: De,
409
- className: `${ee} ds:ps-1 ds:pe-2`,
410
- children: /* @__PURE__ */ x(Ee, { "aria-hidden": "true", className: "ds:size-4" })
411
- }
412
- ) : null
413
- ]
414
- }
415
- );
416
- }
417
- );
418
- Qe.displayName = "NumberInput";
419
- export {
420
- Qe as N,
421
- qe as u
422
- };
423
- //# sourceMappingURL=number-input-CVwI1ltI.js.map