@alfadocs/ui-kit-debug 1.55.0 → 1.57.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 (448) hide show
  1. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
  5. package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
  6. package/dist/_chunks/alia-sidebar-BBKBJCv6.js.map +1 -0
  7. package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
  8. package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js.map → anamnesis-summary-rows-CCQ62mMN.js.map} +1 -1
  9. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  10. package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
  11. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  12. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
  13. package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js.map → balance-badge-cell-CII3SDmR.js.map} +1 -1
  15. package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-DTZhRhXe.js.map → bmi-calculator-C0UTxB7R.js.map} +1 -1
  17. package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
  18. package/dist/_chunks/{booking-uZO10TLK.js.map → booking-81WnKDsH.js.map} +1 -1
  19. package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
  20. package/dist/_chunks/breadcrumb-Boan-5n8.js.map +1 -0
  21. package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
  22. package/dist/_chunks/{calculator-dialog-BRjZMWuE.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
  23. package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
  24. package/dist/_chunks/{calendar-workspace-DVajSkKA.js.map → calendar-workspace-D5-k_9zE.js.map} +1 -1
  25. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  26. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
  27. package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
  28. package/dist/_chunks/{care-plan-header-BeMYMiI7.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
  29. package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
  30. package/dist/_chunks/chart-DQ5GxqgT.js.map +1 -0
  31. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  32. package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
  33. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  34. package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
  35. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  36. package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
  37. package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
  38. package/dist/_chunks/{contact-profile-card-C5DbP_X3.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
  39. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  40. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
  41. package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
  42. package/dist/_chunks/dashboard-grid-DfEY2qci.js.map +1 -0
  43. package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
  44. package/dist/_chunks/{data-table-C6T31E33.js.map → data-table-fAMTeAjM.js.map} +1 -1
  45. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  46. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
  47. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  48. package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
  49. package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
  50. package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
  51. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  52. package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
  53. package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
  54. package/dist/_chunks/dependent-selector-DgaAQc-c.js.map +1 -0
  55. package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
  56. package/dist/_chunks/dialog-Dn-iQ0Jp.js.map +1 -0
  57. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  58. package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
  59. package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
  60. package/dist/_chunks/{due-date-calculator-DXDJbUzo.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
  61. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  62. package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
  63. package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
  64. package/dist/_chunks/{file-manager-dIJQUZvq.js.map → file-manager-CFsL1KVt.js.map} +1 -1
  65. package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
  66. package/dist/_chunks/freemium-paywall-DIKuhX8b.js.map +1 -0
  67. package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
  68. package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
  69. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  70. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
  71. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  72. package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
  73. package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
  74. package/dist/_chunks/{heatmap-BARGZZt2.js.map → heatmap-BEeOThkW.js.map} +1 -1
  75. package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
  76. package/dist/_chunks/help-me-write-templates-BUoYGo6f.js.map +1 -0
  77. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  78. package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
  79. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
  80. package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-C86lQTIA.js.map} +1 -1
  81. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  82. package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
  83. package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
  84. package/dist/_chunks/key-value-pair-BNNITp6S.js.map +1 -0
  85. package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
  86. package/dist/_chunks/{kit-extensions-C9-v8Dih.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
  87. package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
  88. package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js.map → link-cell-renderer-CxW_oLa5.js.map} +1 -1
  89. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  90. package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
  91. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  92. package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
  93. package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
  94. package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js.map +1 -0
  95. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
  96. package/dist/_chunks/message-tray-QKQutwxj.js.map +1 -0
  97. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  98. package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
  99. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  100. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
  101. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  102. package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
  103. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  104. package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
  105. package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
  106. package/dist/_chunks/{notes-panel-I8ntrrUW.js.map → notes-panel-Cm4pttpl.js.map} +1 -1
  107. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
  108. package/dist/_chunks/notification-tray-C5VtbGjd.js.map +1 -0
  109. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
  110. package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-99kEdtc5.js.map} +1 -1
  111. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
  112. package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-DkxY13T6.js.map} +1 -1
  113. package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
  114. package/dist/_chunks/{patient-summary-card-3dspc2tR.js.map → patient-summary-card-opdyfeW2.js.map} +1 -1
  115. package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
  116. package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js.map → payment-automation-upsell-DiHovmUL.js.map} +1 -1
  117. package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
  118. package/dist/_chunks/{payment-request-card-DAGqh9Yx.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
  119. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  120. package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
  121. package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
  122. package/dist/_chunks/{periodontal-chart-BqwLxy2m.js.map → periodontal-chart-DD5C0M3l.js.map} +1 -1
  123. package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
  124. package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js.map → periodontal-chart-card-CxdXvsPU.js.map} +1 -1
  125. package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
  126. package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js.map → periodontal-diagnosis-D-PJv7KS.js.map} +1 -1
  127. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  128. package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
  129. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  130. package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
  131. package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
  132. package/dist/_chunks/position-grid-CBB88EaH.js.map +1 -0
  133. package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
  134. package/dist/_chunks/{practice-results-DxOgbPDy.js.map → practice-results-CfRkjzsI.js.map} +1 -1
  135. package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
  136. package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
  137. package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
  138. package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js.map → pregnancy-weight-gain-CUUrBTBo.js.map} +1 -1
  139. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
  140. package/dist/_chunks/product-hub-panel-DlVRK7Ue.js.map +1 -0
  141. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  142. package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
  143. package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
  144. package/dist/_chunks/{public-header.agent-BWusjxY8.js.map → public-header.agent-BctevbuY.js.map} +1 -1
  145. package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
  146. package/dist/_chunks/radio-group-DicxWJXP.js.map +1 -0
  147. package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  148. package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
  149. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
  150. package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-BlTzYywa.js.map} +1 -1
  151. package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
  152. package/dist/_chunks/rich-text-editor-DTnNZ4Ff.js.map +1 -0
  153. package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
  154. package/dist/_chunks/sheet-8qsiMoUI.js.map +1 -0
  155. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  156. package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
  157. package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
  158. package/dist/_chunks/{signature-request-rgMsgo-C.js.map → signature-request-DRuYAG5I.js.map} +1 -1
  159. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
  160. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-AhMsNW1r.js.map} +1 -1
  161. package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
  162. package/dist/_chunks/stat-DmjGfXND.js.map +1 -0
  163. package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
  164. package/dist/_chunks/stepper-accordion-DDTSOUHc.js.map +1 -0
  165. package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
  166. package/dist/_chunks/{task-editor-Ctxsa1BY.js.map → task-editor-NkcopDna.js.map} +1 -1
  167. package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
  168. package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js.map → use-appointment-details-read-CfFQNOF_.js.map} +1 -1
  169. package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
  170. package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js.map +1 -0
  171. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
  172. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-BKbgb7FM.js.map} +1 -1
  173. package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
  174. package/dist/_chunks/{widget-picker-D8RiWrJd.js.map → widget-picker-rBA7MR5P.js.map} +1 -1
  175. package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
  176. package/dist/_chunks/{workflow-map-D3mezmGB.js.map → workflow-map-Demlpy39.js.map} +1 -1
  177. package/dist/agent-catalog.json +28 -11
  178. package/dist/agent-i18n/en.json +8 -7
  179. package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
  180. package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -0
  181. package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
  182. package/dist/components/_shared/use-apex-chart-semantics.d.ts.map +1 -0
  183. package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
  184. package/dist/components/_shared/use-select-on-arrow.d.ts.map +1 -0
  185. package/dist/components/ai-credits-notice/index.js +1 -1
  186. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  187. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
  188. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  189. package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
  190. package/dist/components/ai-permission-notice/index.js +1 -1
  191. package/dist/components/appointment-details-panel/index.js +1 -1
  192. package/dist/components/appointment-peek/index.js +1 -1
  193. package/dist/components/appointment-timeline/index.js +1 -1
  194. package/dist/components/bmi-calculator/index.js +1 -1
  195. package/dist/components/booking/index.js +1 -1
  196. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
  197. package/dist/components/breadcrumb/index.js +1 -1
  198. package/dist/components/calculator-dialog/index.js +1 -1
  199. package/dist/components/care-plan-card/index.js +1 -1
  200. package/dist/components/care-plan-header/index.js +1 -1
  201. package/dist/components/chart/chart.d.ts +15 -10
  202. package/dist/components/chart/chart.d.ts.map +1 -1
  203. package/dist/components/chart/index.js +1 -1
  204. package/dist/components/clinical-note-card/index.js +1 -1
  205. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  206. package/dist/components/color-picker/index.js +1 -1
  207. package/dist/components/contact-card/index.js +1 -1
  208. package/dist/components/contact-profile-card/index.js +1 -1
  209. package/dist/components/cycle-calculator/index.js +1 -1
  210. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
  211. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts.map +1 -1
  212. package/dist/components/dashboard-grid/dashboard-grid.agent.d.ts.map +1 -1
  213. package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
  214. package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  215. package/dist/components/dashboard-grid/index.js +1 -1
  216. package/dist/components/data-table/index.js +2 -2
  217. package/dist/components/data-table-tabs/index.js +1 -1
  218. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  219. package/dist/components/date-picker/index.js +1 -1
  220. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  221. package/dist/components/date-range-picker/index.js +1 -1
  222. package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
  223. package/dist/components/date-time-picker/index.js +1 -1
  224. package/dist/components/dependent-selector/dependent-selector.d.ts.map +1 -1
  225. package/dist/components/dependent-selector/index.js +1 -1
  226. package/dist/components/dialog/dialog.d.ts +2 -2
  227. package/dist/components/dialog/dialog.d.ts.map +1 -1
  228. package/dist/components/dialog/index.js +1 -1
  229. package/dist/components/document-preview/index.js +1 -1
  230. package/dist/components/due-date-calculator/index.js +1 -1
  231. package/dist/components/entity-summary/index.js +1 -1
  232. package/dist/components/file-manager/index.js +1 -1
  233. package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -1
  234. package/dist/components/freemium-paywall/index.js +1 -1
  235. package/dist/components/gestational-age-calculator/index.js +1 -1
  236. package/dist/components/hcg-doubling/index.js +1 -1
  237. package/dist/components/header-settings/index.js +1 -1
  238. package/dist/components/heatmap/index.js +1 -1
  239. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  240. package/dist/components/hover-card/index.js +1 -1
  241. package/dist/components/icon-picker/index.js +1 -1
  242. package/dist/components/info-tip/index.js +1 -1
  243. package/dist/components/key-value-pair/index.js +1 -1
  244. package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -1
  245. package/dist/components/link/index.js +1 -1
  246. package/dist/components/link/link.d.ts +5 -3
  247. package/dist/components/link/link.d.ts.map +1 -1
  248. package/dist/components/locale-picker/index.js +1 -1
  249. package/dist/components/message-tray/index.js +1 -1
  250. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  251. package/dist/components/nav-grid/index.js +1 -1
  252. package/dist/components/note-timeline/index.js +1 -1
  253. package/dist/components/notes-panel/index.js +1 -1
  254. package/dist/components/notification-tray/index.js +1 -1
  255. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  256. package/dist/components/patient-details/index.js +1 -1
  257. package/dist/components/patient-summary-card/index.js +1 -1
  258. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
  259. package/dist/components/patient-table/index.js +1 -1
  260. package/dist/components/payment-card/index.js +1 -1
  261. package/dist/components/pdf-viewer/index.js +1 -1
  262. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  263. package/dist/components/periodontal-chart/index.js +1 -1
  264. package/dist/components/periodontal-chart-card/index.js +1 -1
  265. package/dist/components/periodontal-diagnosis/index.js +1 -1
  266. package/dist/components/phone-input/index.js +1 -1
  267. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  268. package/dist/components/popover/index.js +1 -1
  269. package/dist/components/popover/popover.d.ts +1 -1
  270. package/dist/components/popover/popover.d.ts.map +1 -1
  271. package/dist/components/position-grid/index.js +1 -1
  272. package/dist/components/position-grid/position-grid.d.ts.map +1 -1
  273. package/dist/components/practice-results/index.js +1 -1
  274. package/dist/components/pregnancy-dating/index.js +1 -1
  275. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  276. package/dist/components/product-hub-tray/index.js +1 -1
  277. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  278. package/dist/components/public-footer/index.js +1 -1
  279. package/dist/components/public-header/index.js +1 -1
  280. package/dist/components/radio-group/index.js +1 -1
  281. package/dist/components/radio-group/radio-group.d.ts.map +1 -1
  282. package/dist/components/radiograph-panel/index.js +1 -1
  283. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  284. package/dist/components/rich-text-editor/index.js +2 -2
  285. package/dist/components/sheet/index.js +1 -1
  286. package/dist/components/sheet/sheet.d.ts +2 -2
  287. package/dist/components/sheet/sheet.d.ts.map +1 -1
  288. package/dist/components/sign-document/index.js +1 -1
  289. package/dist/components/stat/index.d.ts +1 -1
  290. package/dist/components/stat/index.d.ts.map +1 -1
  291. package/dist/components/stat/index.js +1 -1
  292. package/dist/components/stat/stat.d.ts +9 -0
  293. package/dist/components/stat/stat.d.ts.map +1 -1
  294. package/dist/components/stepper-accordion/index.js +1 -1
  295. package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -1
  296. package/dist/components/task-editor/index.js +1 -1
  297. package/dist/components/voice-control-panel/index.js +1 -1
  298. package/dist/components/widget-picker/index.js +1 -1
  299. package/dist/components/workflow/index.js +1 -1
  300. package/dist/host-legacy.css +13 -2
  301. package/dist/i18n/locales/ar.d.ts +17 -2
  302. package/dist/i18n/locales/ar.d.ts.map +1 -1
  303. package/dist/i18n/locales/ar.js +20 -5
  304. package/dist/i18n/locales/ar.js.map +1 -1
  305. package/dist/i18n/locales/de.d.ts +17 -2
  306. package/dist/i18n/locales/de.d.ts.map +1 -1
  307. package/dist/i18n/locales/de.js +20 -5
  308. package/dist/i18n/locales/de.js.map +1 -1
  309. package/dist/i18n/locales/el.d.ts +17 -2
  310. package/dist/i18n/locales/el.d.ts.map +1 -1
  311. package/dist/i18n/locales/el.js +20 -5
  312. package/dist/i18n/locales/el.js.map +1 -1
  313. package/dist/i18n/locales/en.d.ts +17 -2
  314. package/dist/i18n/locales/en.d.ts.map +1 -1
  315. package/dist/i18n/locales/en.js +20 -5
  316. package/dist/i18n/locales/en.js.map +1 -1
  317. package/dist/i18n/locales/es.d.ts +17 -2
  318. package/dist/i18n/locales/es.d.ts.map +1 -1
  319. package/dist/i18n/locales/es.js +20 -5
  320. package/dist/i18n/locales/es.js.map +1 -1
  321. package/dist/i18n/locales/fr.d.ts +17 -2
  322. package/dist/i18n/locales/fr.d.ts.map +1 -1
  323. package/dist/i18n/locales/fr.js +20 -5
  324. package/dist/i18n/locales/fr.js.map +1 -1
  325. package/dist/i18n/locales/hi.d.ts +17 -2
  326. package/dist/i18n/locales/hi.d.ts.map +1 -1
  327. package/dist/i18n/locales/hi.js +20 -5
  328. package/dist/i18n/locales/hi.js.map +1 -1
  329. package/dist/i18n/locales/it.d.ts +17 -2
  330. package/dist/i18n/locales/it.d.ts.map +1 -1
  331. package/dist/i18n/locales/it.js +20 -5
  332. package/dist/i18n/locales/it.js.map +1 -1
  333. package/dist/i18n/locales/ja.d.ts +17 -2
  334. package/dist/i18n/locales/ja.d.ts.map +1 -1
  335. package/dist/i18n/locales/ja.js +20 -5
  336. package/dist/i18n/locales/ja.js.map +1 -1
  337. package/dist/i18n/locales/nl.d.ts +17 -2
  338. package/dist/i18n/locales/nl.d.ts.map +1 -1
  339. package/dist/i18n/locales/nl.js +20 -5
  340. package/dist/i18n/locales/nl.js.map +1 -1
  341. package/dist/i18n/locales/pl.d.ts +17 -2
  342. package/dist/i18n/locales/pl.d.ts.map +1 -1
  343. package/dist/i18n/locales/pl.js +20 -5
  344. package/dist/i18n/locales/pl.js.map +1 -1
  345. package/dist/i18n/locales/pt.d.ts +17 -2
  346. package/dist/i18n/locales/pt.d.ts.map +1 -1
  347. package/dist/i18n/locales/pt.js +20 -5
  348. package/dist/i18n/locales/pt.js.map +1 -1
  349. package/dist/i18n/locales/ro.d.ts +17 -2
  350. package/dist/i18n/locales/ro.d.ts.map +1 -1
  351. package/dist/i18n/locales/ro.js +20 -5
  352. package/dist/i18n/locales/ro.js.map +1 -1
  353. package/dist/i18n/locales/ru.d.ts +17 -2
  354. package/dist/i18n/locales/ru.d.ts.map +1 -1
  355. package/dist/i18n/locales/ru.js +20 -5
  356. package/dist/i18n/locales/ru.js.map +1 -1
  357. package/dist/i18n/locales/sq.d.ts +17 -2
  358. package/dist/i18n/locales/sq.d.ts.map +1 -1
  359. package/dist/i18n/locales/sq.js +20 -5
  360. package/dist/i18n/locales/sq.js.map +1 -1
  361. package/dist/i18n/locales/sv.d.ts +17 -2
  362. package/dist/i18n/locales/sv.d.ts.map +1 -1
  363. package/dist/i18n/locales/sv.js +20 -5
  364. package/dist/i18n/locales/sv.js.map +1 -1
  365. package/dist/i18n/locales/tr.d.ts +17 -2
  366. package/dist/i18n/locales/tr.d.ts.map +1 -1
  367. package/dist/i18n/locales/tr.js +20 -5
  368. package/dist/i18n/locales/tr.js.map +1 -1
  369. package/dist/i18n/locales/zh.d.ts +17 -2
  370. package/dist/i18n/locales/zh.d.ts.map +1 -1
  371. package/dist/i18n/locales/zh.js +20 -5
  372. package/dist/i18n/locales/zh.js.map +1 -1
  373. package/dist/index.js +207 -206
  374. package/dist/locales/ar.json +20 -5
  375. package/dist/locales/de.json +20 -5
  376. package/dist/locales/el.json +20 -5
  377. package/dist/locales/en.json +20 -5
  378. package/dist/locales/es.json +20 -5
  379. package/dist/locales/fr.json +20 -5
  380. package/dist/locales/hi.json +20 -5
  381. package/dist/locales/it.json +20 -5
  382. package/dist/locales/ja.json +20 -5
  383. package/dist/locales/nl.json +20 -5
  384. package/dist/locales/pl.json +20 -5
  385. package/dist/locales/pt.json +20 -5
  386. package/dist/locales/ro.json +20 -5
  387. package/dist/locales/ru.json +20 -5
  388. package/dist/locales/sq.json +20 -5
  389. package/dist/locales/sv.json +20 -5
  390. package/dist/locales/tr.json +20 -5
  391. package/dist/locales/zh.json +20 -5
  392. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  393. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
  394. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  395. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  396. package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
  397. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  398. package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
  399. package/dist/patterns/alia-assistant/index.js +6 -5
  400. package/dist/patterns/anamnesis/index.js +1 -1
  401. package/dist/patterns/calendar/index.js +1 -1
  402. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
  403. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts.map +1 -1
  404. package/dist/patterns/help-me-write-templates/index.js +1 -1
  405. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  406. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
  407. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  408. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  409. package/dist/patterns/registration-form/index.js +1 -1
  410. package/dist/patterns/signature-request/index.js +1 -1
  411. package/dist/patterns/signed-out-frame/index.js +1 -1
  412. package/dist/tokens.css +13 -2
  413. package/package.json +1 -1
  414. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  415. package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
  416. package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
  417. package/dist/_chunks/alia-sidebar-DS0b54Mv.js.map +0 -1
  418. package/dist/_chunks/breadcrumb-xgVpPH2H.js.map +0 -1
  419. package/dist/_chunks/chart-C2RBJERE.js +0 -705
  420. package/dist/_chunks/chart-C2RBJERE.js.map +0 -1
  421. package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
  422. package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
  423. package/dist/_chunks/dashboard-grid-SAGoyCtL.js.map +0 -1
  424. package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
  425. package/dist/_chunks/date-range-picker-BOvHwWO5.js.map +0 -1
  426. package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
  427. package/dist/_chunks/dependent-selector-Bet3XAFj.js.map +0 -1
  428. package/dist/_chunks/dialog-D52AI4nF.js.map +0 -1
  429. package/dist/_chunks/freemium-paywall-B6ojVXq7.js.map +0 -1
  430. package/dist/_chunks/help-me-write-templates-B7L3zGsE.js.map +0 -1
  431. package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
  432. package/dist/_chunks/key-value-pair-Ax8IJr1M.js.map +0 -1
  433. package/dist/_chunks/link-2HokYuIi.js +0 -130
  434. package/dist/_chunks/link-2HokYuIi.js.map +0 -1
  435. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
  436. package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
  437. package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
  438. package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
  439. package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
  440. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  441. package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
  442. package/dist/_chunks/position-grid-D2D5_Tze.js.map +0 -1
  443. package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
  444. package/dist/_chunks/radio-group-BT97ty7o.js.map +0 -1
  445. package/dist/_chunks/rich-text-editor-Blp4smUr.js.map +0 -1
  446. package/dist/_chunks/sheet-CNFW8mYZ.js.map +0 -1
  447. package/dist/_chunks/stat-51CDL4au.js.map +0 -1
  448. package/dist/_chunks/stepper-accordion-D7lnBGh2.js.map +0 -1
@@ -1,26 +1,28 @@
1
- import { jsx as r, jsxs as u, Fragment as Mt } from "react/jsx-runtime";
2
- import { forwardRef as Kt, useState as b, useRef as ge, useId as F, useCallback as je, useEffect as qe, useMemo as Lt, useImperativeHandle as At, Fragment as $t } from "react";
3
- import { useTranslation as Wt } from "react-i18next";
1
+ import { jsx as r, jsxs as u, Fragment as $t } from "react/jsx-runtime";
2
+ import { forwardRef as Wt, useState as b, useRef as ge, useId as M, useCallback as Be, useEffect as ze, useMemo as jt, useImperativeHandle as qt, Fragment as _t } from "react";
3
+ import { useTranslation as Bt } from "react-i18next";
4
4
  import * as H from "@radix-ui/react-popover";
5
+ import { u as zt, f as Yt } from "./non-modal-tab-exit-j3CPOuE3.js";
5
6
  import * as Q from "@radix-ui/react-radio-group";
6
- import { S as jt } from "./spinner-CoflYlEx.js";
7
- import { j as qt, k as _t, u as Bt, b as zt, g as Yt, c as Ut, l as _e, m as Ht, s as Qt, a as Jt, e as Xt, t as Zt, n as Be, o as ze, r as Ye, p as ea, q as ta, D as aa, C as ra, v as sa, f as na, w as J, h as oa, d as ve, i as ia } from "./date-picker-variants-BnF-sHzq.js";
7
+ import { S as Ut } from "./spinner-CoflYlEx.js";
8
+ import { j as Ht, k as Qt, u as Jt, b as Xt, g as Zt, c as ea, l as Ye, m as ta, s as aa, a as ra, e as sa, t as na, n as Ue, o as He, r as Qe, p as oa, q as ia, D as da, C as la, v as ca, f as ua, w as J, h as pa, d as ve, i as fa } from "./date-picker-variants-BnF-sHzq.js";
9
+ import { u as Je } from "./use-select-on-arrow-Cr4iBuW5.js";
8
10
  import { u as ye } from "./use-controllable-state-BiY4xTzM.js";
9
- import { u as da, a as la } from "./form-field-context-DtiROUJV.js";
10
- import { S as ca } from "./switch-D--x7n6h.js";
11
- import { u as ua } from "./registry-DvAUVLHh.js";
12
- import { f as k, s as Ue, j as he, b as He, i as pa } from "./format-D-1gTdHF.js";
13
- import { s as M } from "./subDays-DlMw8Xng.js";
14
- import { C as fa } from "./calendar-days-BGWklvE-.js";
15
- import { C as ma } from "./check-DrFSN__t.js";
16
- import { p as ga } from "./parse-jZ-i8Xgj.js";
17
- function va(s, l, g) {
18
- return qt(s, -1, g);
11
+ import { u as ma, a as ga } from "./form-field-context-DtiROUJV.js";
12
+ import { S as va } from "./switch-D--x7n6h.js";
13
+ import { u as ya } from "./registry-DvAUVLHh.js";
14
+ import { f as k, s as Xe, j as he, b as Ze, i as ha } from "./format-D-1gTdHF.js";
15
+ import { s as V } from "./subDays-DlMw8Xng.js";
16
+ import { C as ba } from "./calendar-days-BGWklvE-.js";
17
+ import { C as ka } from "./check-DrFSN__t.js";
18
+ import { p as Ra } from "./parse-jZ-i8Xgj.js";
19
+ function xa(s, l, g) {
20
+ return Ht(s, -1, g);
19
21
  }
20
- function Qe(s, l, g) {
21
- return _t(s, -1, g);
22
+ function et(s, l, g) {
23
+ return Qt(s, -1, g);
22
24
  }
23
- const ya = {
25
+ const Pa = {
24
26
  id: "date-range-picker",
25
27
  capabilities: [
26
28
  "range_pick",
@@ -212,78 +214,78 @@ const ya = {
212
214
  description: "Sourced from the id prop."
213
215
  }
214
216
  }
215
- }, Je = [
217
+ }, tt = [
216
218
  { value: "day", fallback: "Day" },
217
219
  { value: "week", fallback: "Week" },
218
220
  { value: "month", fallback: "Month" },
219
221
  { value: "quarter", fallback: "Quarter" }
220
- ], ha = [
222
+ ], Da = [
221
223
  { value: "previous", fallback: "Previous period" },
222
224
  { value: "lastYear", fallback: "Same period last year" }
223
- ], ba = Kt(
225
+ ], wa = Wt(
224
226
  ({
225
227
  value: s,
226
228
  defaultValue: l,
227
229
  onChange: g,
228
230
  commitMode: p = "auto",
229
- onApply: w,
231
+ onApply: S,
230
232
  onCancel: I,
231
- showClear: Xe = !0,
232
- numberOfMonths: Ze,
233
+ showClear: at = !0,
234
+ numberOfMonths: rt,
233
235
  compact: X = !1,
234
236
  granularity: be,
235
237
  defaultGranularity: ke,
236
- onGranularityChange: et,
238
+ onGranularityChange: st,
237
239
  allowedGranularities: Z,
238
240
  compare: j = !1,
239
- compareEnabled: tt,
240
- defaultCompare: at = !1,
241
- defaultCompareMode: rt = "previous",
241
+ compareEnabled: nt,
242
+ defaultCompare: ot = !1,
243
+ defaultCompareMode: it = "previous",
242
244
  onCompareChange: f,
243
- weekStartsOn: K,
245
+ weekStartsOn: A,
244
246
  minDate: ee,
245
247
  maxDate: te,
246
248
  presets: ae,
247
- mergePresets: st = !1,
249
+ mergePresets: dt = !1,
248
250
  size: Re = "md",
249
- chrome: nt = "input",
250
- disabled: ot,
251
- placeholder: it,
252
- className: dt,
253
- id: lt
254
- }, ct) => {
255
- const { t: n, i18n: re } = Wt("ui"), L = da(), se = la(L, lt), xe = L.disabled || ot, ut = L.invalid ? "error" : "default", c = Bt(re.language), pt = zt(), m = Yt(re.language), ft = it ?? n("inputs.dateRangePicker.placeholder", "Select date range"), [mt, Pe] = ye({
251
+ chrome: lt = "input",
252
+ disabled: ct,
253
+ placeholder: ut,
254
+ className: pt,
255
+ id: ft
256
+ }, mt) => {
257
+ const { t: n, i18n: re } = Bt("ui"), F = ma(), se = ga(F, ft), xe = F.disabled || ct, gt = F.invalid ? "error" : "default", c = Jt(re.language), vt = Xt(), m = Zt(re.language), yt = ut ?? n("inputs.dateRangePicker.placeholder", "Select date range"), [ht, Pe] = ye({
256
258
  value: s,
257
259
  defaultValue: l ?? {},
258
260
  onChange: g
259
- }), i = mt ?? {}, [O, R] = b(!1), [a, T] = b(i), [gt, ne] = b(i.from ?? /* @__PURE__ */ new Date()), [Ne, De] = b(""), [Se, we] = b(""), [G, A] = b(!1), [C, $] = b(!1), q = be !== void 0 || ke !== void 0, _ = Z && Z.length > 0 ? Z : void 0, Ie = _ ? Je.filter(
261
+ }), i = ht ?? {}, [O, R] = b(!1), [a, T] = b(i), [bt, ne] = b(i.from ?? /* @__PURE__ */ new Date()), [De, we] = b(""), [Ne, Se] = b(""), [G, L] = b(!1), [K, $] = b(!1), q = be !== void 0 || ke !== void 0, _ = Z && Z.length > 0 ? Z : void 0, Ie = _ ? tt.filter(
260
262
  (e) => _.includes(e.value)
261
- ) : Je, W = (e) => {
263
+ ) : tt, W = (e) => {
262
264
  var t;
263
265
  return !_ || _.includes(e) ? e : ((t = Ie[0]) == null ? void 0 : t.value) ?? e;
264
- }, [vt, oe] = ye({
266
+ }, [kt, oe] = ye({
265
267
  value: be,
266
268
  defaultValue: W(ke ?? "day"),
267
- onChange: et
268
- }), B = W(vt ?? "day"), [V, z] = ye({
269
- value: tt,
270
- defaultValue: at
269
+ onChange: st
270
+ }), B = W(kt ?? "day"), [C, z] = ye({
271
+ value: nt,
272
+ defaultValue: ot
271
273
  // onCompareChange needs the resolved range as its 2nd arg, so it is
272
274
  // called manually at the commit points rather than wired here.
273
- }), [N, E] = b(
274
- V ?? !1
275
- ), [Oe, yt] = b(rt), ht = ge(null), D = ge(!1), bt = Ze ?? (X ? 1 : 2), Te = F(), Ge = F(), Ce = F(), Ve = F(), ie = F(), kt = F(), x = je(
275
+ }), [D, E] = b(
276
+ C ?? !1
277
+ ), [Oe, Rt] = b(it), xt = ge(null), w = ge(!1), Pt = rt ?? (X ? 1 : 2), Te = M(), Ge = M(), Ke = M(), Ce = M(), ie = M(), Dt = M(), x = Be(
276
278
  (e) => {
277
279
  Pe(e);
278
280
  },
279
281
  [Pe]
280
- ), Rt = Ut(ee, te), xt = (e) => (ee ? ia(e, ee) : !1) || (te ? ve(e, te) : !1);
281
- qe(() => {
282
- O && (T(i), E(V ?? !1), A(!1), $(!1), D.current = !1);
283
- }, [O]), qe(() => {
284
- G || De(
282
+ ), wt = ea(ee, te), Nt = (e) => (ee ? fa(e, ee) : !1) || (te ? ve(e, te) : !1);
283
+ ze(() => {
284
+ O && (T(i), E(C ?? !1), L(!1), $(!1), w.current = !1);
285
+ }, [O]), ze(() => {
286
+ G || we(
285
287
  a.from ? k(a.from, m, { locale: c }) : ""
286
- ), C || we(a.to ? k(a.to, m, { locale: c }) : "");
288
+ ), K || Se(a.to ? k(a.to, m, { locale: c }) : "");
287
289
  }, [a.from, a.to, m, c]);
288
290
  const Ee = [
289
291
  {
@@ -296,14 +298,14 @@ const ya = {
296
298
  {
297
299
  label: n("inputs.dateRangePicker.presets.yesterday", "Yesterday"),
298
300
  range: () => {
299
- const e = M(/* @__PURE__ */ new Date(), 1);
301
+ const e = V(/* @__PURE__ */ new Date(), 1);
300
302
  return { from: e, to: e };
301
303
  }
302
304
  },
303
305
  {
304
306
  label: n("inputs.dateRangePicker.presets.last7", "Last 7 days"),
305
307
  range: () => ({
306
- from: M(/* @__PURE__ */ new Date(), 6),
308
+ from: V(/* @__PURE__ */ new Date(), 6),
307
309
  to: /* @__PURE__ */ new Date()
308
310
  })
309
311
  },
@@ -312,112 +314,113 @@ const ya = {
312
314
  range: () => ({
313
315
  // `weekStartsOn` (when set) overrides the locale's first day; when
314
316
  // undefined date-fns falls back to the locale.
315
- from: Ue(/* @__PURE__ */ new Date(), { locale: c, weekStartsOn: K }),
316
- to: _e(/* @__PURE__ */ new Date(), { locale: c, weekStartsOn: K })
317
+ from: Xe(/* @__PURE__ */ new Date(), { locale: c, weekStartsOn: A }),
318
+ to: Ye(/* @__PURE__ */ new Date(), { locale: c, weekStartsOn: A })
317
319
  })
318
320
  },
319
321
  {
320
322
  label: n("inputs.dateRangePicker.presets.lastWeek", "Last week"),
321
323
  range: () => {
322
- const e = va(/* @__PURE__ */ new Date());
324
+ const e = xa(/* @__PURE__ */ new Date());
323
325
  return {
324
- from: Ue(e, { locale: c, weekStartsOn: K }),
325
- to: _e(e, { locale: c, weekStartsOn: K })
326
+ from: Xe(e, { locale: c, weekStartsOn: A }),
327
+ to: Ye(e, { locale: c, weekStartsOn: A })
326
328
  };
327
329
  }
328
330
  },
329
331
  {
330
332
  label: n("inputs.dateRangePicker.presets.thisMonth", "This month"),
331
333
  range: () => ({
332
- from: Qt(/* @__PURE__ */ new Date()),
333
- to: Ht(/* @__PURE__ */ new Date())
334
+ from: aa(/* @__PURE__ */ new Date()),
335
+ to: ta(/* @__PURE__ */ new Date())
334
336
  })
335
337
  },
336
338
  {
337
339
  label: n("inputs.dateRangePicker.presets.last30", "Last 30 days"),
338
340
  range: () => ({
339
- from: M(/* @__PURE__ */ new Date(), 29),
341
+ from: V(/* @__PURE__ */ new Date(), 29),
340
342
  to: /* @__PURE__ */ new Date()
341
343
  })
342
344
  }
343
- ], de = ae ? st ? [...Ee, ...ae] : ae : Ee, Fe = (() => {
345
+ ], de = ae ? dt ? [...Ee, ...ae] : ae : Ee, Me = (() => {
344
346
  const e = [], t = /* @__PURE__ */ new Map();
345
347
  for (const d of de) {
346
348
  const o = d.group ?? "";
347
349
  t.has(o) || (t.set(o, []), e.push(o)), t.get(o).push(d);
348
350
  }
349
351
  return e.map((d) => ({ group: d, presets: t.get(d) }));
350
- })(), Pt = Fe.some((e) => e.group !== ""), y = (e, t = Oe) => {
352
+ })(), St = Me.some((e) => e.group !== ""), y = (e, t = Oe) => {
351
353
  if (!e.from || !e.to) return;
352
354
  if (t === "lastYear")
353
- return { from: Qe(e.from), to: Qe(e.to) };
354
- const d = he(e.to, e.from), o = M(e.from, 1);
355
- return { from: M(o, d), to: o };
356
- }, Y = j && N, Me = j && (V ?? !1), h = Y ? y(a) : void 0, Nt = (() => {
355
+ return { from: et(e.from), to: et(e.to) };
356
+ const d = he(e.to, e.from), o = V(e.from, 1);
357
+ return { from: V(o, d), to: o };
358
+ }, Y = j && D, Ve = j && (C ?? !1), h = Y ? y(a) : void 0, It = (() => {
357
359
  if (!(h != null && h.from) || !h.to) return;
358
360
  const e = h.from, t = h.to, d = {
359
361
  compareStart: e,
360
362
  compareEnd: t
361
363
  };
362
- return he(t, e) >= 2 && (d.compareMiddle = { from: Jt(e, 1), to: M(t, 1) }), d;
363
- })(), Ke = (e) => {
364
+ return he(t, e) >= 2 && (d.compareMiddle = { from: ra(e, 1), to: V(t, 1) }), d;
365
+ })(), Ae = (e) => {
364
366
  const t = {};
365
367
  return q && (t.granularity = B), Y && (t.compareRange = y(e)), t.granularity || t.compareRange ? t : void 0;
366
- }, Dt = (e) => {
368
+ }, Fe = Je(), Le = Je(), Ot = (e) => {
369
+ Le.noteSelection();
367
370
  const t = e;
368
- yt(t), Y && p === "auto" && (f == null || f(!0, y(a, t)));
369
- }, St = (e) => {
371
+ Rt(t), Y && p === "auto" && (f == null || f(!0, y(a, t)));
372
+ }, Tt = (e) => {
370
373
  E(e), p === "auto" && (z(e), f == null || f(e, e ? y(a) : void 0));
371
- }, le = je(
374
+ }, le = Be(
372
375
  (e) => {
373
376
  T(e), p === "auto" && e.from && e.to && x(e);
374
377
  },
375
378
  [p, x]
376
- ), wt = (e) => {
377
- A(!1), $(!1), le({ from: e == null ? void 0 : e.from, to: e == null ? void 0 : e.to });
378
- }, It = (e) => {
379
+ ), Gt = (e) => {
380
+ L(!1), $(!1), le({ from: e == null ? void 0 : e.from, to: e == null ? void 0 : e.to });
381
+ }, Kt = (e) => {
379
382
  const t = e.range();
380
- A(!1), $(!1), T(t), ne(t.from), p === "auto" && (x(t), w == null || w(t, Ke(t)), D.current = !0, R(!1));
383
+ L(!1), $(!1), T(t), ne(t.from), p === "auto" && (x(t), S == null || S(t, Ae(t)), w.current = !0, R(!1));
381
384
  }, ce = (e, t) => {
382
- const d = e === "from" ? A : $;
385
+ const d = e === "from" ? L : $;
383
386
  if (t.trim() === "") {
384
387
  d(!1), le(
385
388
  e === "from" ? { from: void 0, to: a.to } : { from: a.from, to: void 0 }
386
389
  );
387
390
  return;
388
391
  }
389
- const o = ga(t, m, /* @__PURE__ */ new Date(), { locale: c });
390
- if (!pa(o) || xt(o)) {
392
+ const o = Ra(t, m, /* @__PURE__ */ new Date(), { locale: c });
393
+ if (!ha(o) || Nt(o)) {
391
394
  d(!0);
392
395
  return;
393
396
  }
394
397
  d(!1);
395
398
  let P;
396
399
  e === "from" ? P = a.to && ve(o, a.to) ? { from: o, to: void 0 } : { from: o, to: a.to } : P = a.from && ve(a.from, o) ? { from: o, to: void 0 } : { from: a.from, to: o }, ne(o), le(P);
397
- }, Le = (e) => (t) => {
398
- t.key === "Enter" && (t.preventDefault(), ce(e, e === "from" ? Ne : Se));
399
- }, Ot = () => {
400
- T({}), A(!1), $(!1), p === "auto" && x({});
401
- }, Tt = !!(a.from && a.to), Gt = !a.from && !a.to, Ae = (Tt || Gt) && !G && !C, ue = () => {
402
- Ae && (x(a), j && N !== (V ?? !1) && (z(N), f == null || f(
403
- N,
404
- N ? y(a) : void 0
405
- )), w == null || w(a, Ke(a))), D.current = !0, R(!1);
400
+ }, $e = (e) => (t) => {
401
+ t.key === "Enter" && (t.preventDefault(), ce(e, e === "from" ? De : Ne));
406
402
  }, Ct = () => {
407
- D.current = !0, R(!1);
403
+ T({}), L(!1), $(!1), p === "auto" && x({});
404
+ }, Et = !!(a.from && a.to), Mt = !a.from && !a.to, We = (Et || Mt) && !G && !K, ue = () => {
405
+ We && (x(a), j && D !== (C ?? !1) && (z(D), f == null || f(
406
+ D,
407
+ D ? y(a) : void 0
408
+ )), S == null || S(a, Ae(a))), w.current = !0, R(!1);
409
+ }, Vt = () => {
410
+ w.current = !0, R(!1);
408
411
  }, pe = () => {
409
- p === "apply" && (I == null || I()), T(i), E(V ?? !1), R(!1);
410
- }, Vt = (e) => {
412
+ p === "apply" && (I == null || I()), T(i), E(C ?? !1), R(!1);
413
+ }, je = (e) => {
411
414
  if (e) {
412
- D.current = !1, R(!0);
415
+ w.current = !1, R(!0);
413
416
  return;
414
417
  }
415
- p === "apply" && !D.current && (I == null || I()), T(i), E(V ?? !1), D.current = !1, R(!1);
416
- }, Et = (e) => {
418
+ p === "apply" && !w.current && (I == null || I()), T(i), E(C ?? !1), w.current = !1, R(!1);
419
+ }, At = (e) => {
417
420
  if (!i.from || !i.to) return !1;
418
421
  const t = e.range();
419
- return He(t.from, i.from) && He(t.to, i.to);
420
- }, S = de.find(Et), $e = (() => {
422
+ return Ze(t.from, i.from) && Ze(t.to, i.to);
423
+ }, N = de.find(At), qe = (() => {
421
424
  if (i.from && i.to) {
422
425
  const e = k(i.from, m, { locale: c }), t = k(i.to, m, { locale: c });
423
426
  return `${e} – ${t}`;
@@ -435,7 +438,7 @@ const ya = {
435
438
  open: O,
436
439
  getGranularity: () => q ? B : void 0,
437
440
  setGranularity: (e) => oe(W(e)),
438
- getCompareRange: () => Me ? y(i) : void 0,
441
+ getCompareRange: () => Ve ? y(i) : void 0,
439
442
  // Imperative/agent path commits directly (like setRange/clear), so
440
443
  // toggle_compare reflects in getCompareRange immediately — not a draft.
441
444
  setCompare: (e) => {
@@ -444,7 +447,7 @@ const ya = {
444
447
  e ? y(i) : void 0
445
448
  );
446
449
  },
447
- getActivePreset: () => S == null ? void 0 : S.label,
450
+ getActivePreset: () => N == null ? void 0 : N.label,
448
451
  getActiveEnd: () => U,
449
452
  apply: () => ue(),
450
453
  cancel: () => pe()
@@ -454,19 +457,19 @@ const ya = {
454
457
  open: O,
455
458
  getGranularity: () => q ? B : void 0,
456
459
  setGranularity: (e) => oe(W(e)),
457
- getCompareRange: () => Me ? y(i) : void 0,
460
+ getCompareRange: () => Ve ? y(i) : void 0,
458
461
  setCompare: (e) => {
459
462
  E(e), z(e), f == null || f(
460
463
  e,
461
464
  e ? y(i) : void 0
462
465
  );
463
466
  },
464
- getActivePreset: () => S == null ? void 0 : S.label,
467
+ getActivePreset: () => N == null ? void 0 : N.label,
465
468
  getActiveEnd: () => U,
466
469
  apply: () => ue(),
467
470
  cancel: () => pe()
468
471
  };
469
- const fe = Lt(
472
+ const fe = jt(
470
473
  () => ({
471
474
  getRange: () => v.current.currentValue,
472
475
  setRange: (e) => x(e),
@@ -485,27 +488,30 @@ const ya = {
485
488
  }),
486
489
  [x]
487
490
  );
488
- At(ct, () => fe, [fe]), ua(ya, fe, se);
489
- const We = (e) => e === "from" ? G ? "error" : U === "start" ? "active" : "default" : C ? "error" : U === "end" ? "active" : "default";
490
- return /* @__PURE__ */ r(H.Root, { open: O, onOpenChange: Vt, children: /* @__PURE__ */ u(
491
+ qt(mt, () => fe, [fe]), ya(Pa, fe, se);
492
+ const Lt = zt(!0, {
493
+ getAnchor: Yt,
494
+ onReturnToTrigger: () => je(!1)
495
+ }), _e = (e) => e === "from" ? G ? "error" : U === "start" ? "active" : "default" : K ? "error" : U === "end" ? "active" : "default";
496
+ return /* @__PURE__ */ r(H.Root, { open: O, onOpenChange: je, children: /* @__PURE__ */ u(
491
497
  "div",
492
498
  {
493
- className: dt,
499
+ className: pt,
494
500
  "data-component": "date-range-picker",
495
501
  "data-component-id": se,
496
502
  children: [
497
503
  /* @__PURE__ */ r(H.Trigger, { asChild: !0, disabled: xe, children: /* @__PURE__ */ u(
498
504
  "button",
499
505
  {
500
- ref: ht,
506
+ ref: xt,
501
507
  id: se,
502
508
  type: "button",
503
509
  disabled: xe,
504
- "aria-describedby": L.describedBy || void 0,
505
- "aria-invalid": L.invalid || void 0,
510
+ "aria-describedby": F.describedBy || void 0,
511
+ "aria-invalid": F.invalid || void 0,
506
512
  "aria-haspopup": "dialog",
507
513
  "aria-expanded": O,
508
- className: Zt({ size: Re, tone: ut, chrome: nt }),
514
+ className: na({ size: Re, tone: gt, chrome: lt }),
509
515
  children: [
510
516
  /* @__PURE__ */ r(
511
517
  "span",
@@ -517,17 +523,17 @@ const ya = {
517
523
  // lets the flex child shrink below its content width so
518
524
  // `truncate` engages.
519
525
  "ds:min-w-0 ds:flex-1 ds:truncate ds:text-start",
520
- $e ? "ds:text-foreground" : "ds:text-muted-foreground"
526
+ qe ? "ds:text-foreground" : "ds:text-muted-foreground"
521
527
  ].join(" "),
522
- children: $e || ft
528
+ children: qe || yt
523
529
  }
524
530
  ),
525
531
  /* @__PURE__ */ r(
526
532
  "span",
527
533
  {
528
534
  "aria-hidden": "true",
529
- className: Xt({ size: Re }),
530
- children: /* @__PURE__ */ r(fa, {})
535
+ className: sa({ size: Re }),
536
+ children: /* @__PURE__ */ r(ba, {})
531
537
  }
532
538
  )
533
539
  ]
@@ -538,13 +544,14 @@ const ya = {
538
544
  {
539
545
  sideOffset: 4,
540
546
  align: "start",
547
+ onKeyDown: Lt,
541
548
  role: "dialog",
542
549
  "aria-label": n(
543
550
  "inputs.dateRangePicker.title",
544
551
  "Select date range"
545
552
  ),
546
553
  "data-component": "date-range-picker-content",
547
- className: oa(),
554
+ className: pa(),
548
555
  children: /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
549
556
  /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
550
557
  /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
@@ -560,19 +567,22 @@ const ya = {
560
567
  Q.Root,
561
568
  {
562
569
  value: B,
563
- onValueChange: (e) => oe(
564
- W(e)
565
- ),
570
+ onValueChange: (e) => {
571
+ Fe.noteSelection(), oe(
572
+ W(e)
573
+ );
574
+ },
575
+ onKeyDown: Fe.onKeyDown,
566
576
  "aria-label": n(
567
577
  "inputs.dateRangePicker.granularityLabel",
568
578
  "Granularity"
569
579
  ),
570
- className: ze(),
580
+ className: He(),
571
581
  children: Ie.map((e) => /* @__PURE__ */ r(
572
582
  Q.Item,
573
583
  {
574
584
  value: e.value,
575
- className: Be(),
585
+ className: Ue(),
576
586
  children: n(
577
587
  `inputs.dateRangePicker.granularity.${e.value}`,
578
588
  e.fallback
@@ -599,15 +609,15 @@ const ya = {
599
609
  id: Ge,
600
610
  type: "text",
601
611
  inputMode: "numeric",
602
- value: Ne,
612
+ value: De,
603
613
  placeholder: m.toUpperCase(),
604
614
  "aria-invalid": G || void 0,
605
615
  "aria-describedby": G ? ie : void 0,
606
- onChange: (e) => De(e.target.value),
616
+ onChange: (e) => we(e.target.value),
607
617
  onBlur: (e) => ce("from", e.target.value),
608
- onKeyDown: Le("from"),
609
- className: Ye({
610
- state: We("from")
618
+ onKeyDown: $e("from"),
619
+ className: Qe({
620
+ state: _e("from")
611
621
  })
612
622
  }
613
623
  )
@@ -624,7 +634,7 @@ const ya = {
624
634
  /* @__PURE__ */ r(
625
635
  "label",
626
636
  {
627
- htmlFor: Ce,
637
+ htmlFor: Ke,
628
638
  className: "ds:text-[length:var(--font-size-xs)] ds:text-muted-foreground",
629
639
  children: n("inputs.dateRangePicker.endLabel", "End date")
630
640
  }
@@ -632,24 +642,24 @@ const ya = {
632
642
  /* @__PURE__ */ r(
633
643
  "input",
634
644
  {
635
- id: Ce,
645
+ id: Ke,
636
646
  type: "text",
637
647
  inputMode: "numeric",
638
- value: Se,
648
+ value: Ne,
639
649
  placeholder: m.toUpperCase(),
640
- "aria-invalid": C || void 0,
641
- "aria-describedby": C ? ie : void 0,
642
- onChange: (e) => we(e.target.value),
650
+ "aria-invalid": K || void 0,
651
+ "aria-describedby": K ? ie : void 0,
652
+ onChange: (e) => Se(e.target.value),
643
653
  onBlur: (e) => ce("to", e.target.value),
644
- onKeyDown: Le("to"),
645
- className: Ye({
646
- state: We("to")
654
+ onKeyDown: $e("to"),
655
+ className: Qe({
656
+ state: _e("to")
647
657
  })
648
658
  }
649
659
  )
650
660
  ] })
651
661
  ] }),
652
- G || C ? /* @__PURE__ */ r(
662
+ G || K ? /* @__PURE__ */ r(
653
663
  "p",
654
664
  {
655
665
  id: ie,
@@ -666,20 +676,20 @@ const ya = {
666
676
  ) : null
667
677
  ] }),
668
678
  /* @__PURE__ */ u("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
669
- !X && de.length > 0 ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: Fe.map((e, t) => {
679
+ !X && de.length > 0 ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: Me.map((e, t) => {
670
680
  const d = `${Te}-pg${t}`, o = e.presets.map((P) => {
671
- const me = P === S;
681
+ const me = P === N;
672
682
  return /* @__PURE__ */ u(
673
683
  "button",
674
684
  {
675
685
  type: "button",
676
686
  "aria-pressed": me,
677
- onClick: () => It(P),
678
- className: ea({ active: me }),
687
+ onClick: () => Kt(P),
688
+ className: oa({ active: me }),
679
689
  children: [
680
690
  /* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate", children: P.label }),
681
691
  me ? /* @__PURE__ */ r(
682
- ma,
692
+ ka,
683
693
  {
684
694
  "aria-hidden": "true",
685
695
  className: "ds:size-4 ds:shrink-0 ds:text-primary"
@@ -690,7 +700,7 @@ const ya = {
690
700
  P.label
691
701
  );
692
702
  });
693
- return Pt && e.group ? /* @__PURE__ */ u(
703
+ return St && e.group ? /* @__PURE__ */ u(
694
704
  "div",
695
705
  {
696
706
  role: "group",
@@ -701,7 +711,7 @@ const ya = {
701
711
  "div",
702
712
  {
703
713
  id: d,
704
- className: ta(),
714
+ className: ia(),
705
715
  children: e.group
706
716
  }
707
717
  ),
@@ -709,47 +719,47 @@ const ya = {
709
719
  ]
710
720
  },
711
721
  e.group
712
- ) : /* @__PURE__ */ r($t, { children: o }, e.group || "_ungrouped");
722
+ ) : /* @__PURE__ */ r(_t, { children: o }, e.group || "_ungrouped");
713
723
  }) }) : null,
714
- /* @__PURE__ */ u("div", { role: "region", "aria-labelledby": Ve, children: [
715
- /* @__PURE__ */ r("span", { id: Ve, className: "ds:sr-only", children: n("inputs.dateRangePicker.gridLabel", "Calendar") }),
724
+ /* @__PURE__ */ u("div", { role: "region", "aria-labelledby": Ce, children: [
725
+ /* @__PURE__ */ r("span", { id: Ce, className: "ds:sr-only", children: n("inputs.dateRangePicker.gridLabel", "Calendar") }),
716
726
  c ? /* @__PURE__ */ r(
717
- aa,
727
+ da,
718
728
  {
719
729
  mode: "range",
720
730
  selected: a.from ? { from: a.from, to: a.to } : void 0,
721
- onSelect: wt,
722
- month: gt,
731
+ onSelect: Gt,
732
+ month: bt,
723
733
  onMonthChange: ne,
724
- numberOfMonths: bt,
725
- weekStartsOn: K,
726
- disabled: Rt,
734
+ numberOfMonths: Pt,
735
+ weekStartsOn: A,
736
+ disabled: wt,
727
737
  locale: c,
728
- labels: pt,
738
+ labels: vt,
729
739
  dir: re.dir(),
730
740
  showOutsideDays: !0,
731
741
  fixedWeeks: !0,
732
742
  pagedNavigation: !0,
733
- classNames: na,
734
- modifiers: Nt,
735
- modifiersClassNames: sa,
736
- components: { Chevron: ra }
743
+ classNames: ua,
744
+ modifiers: It,
745
+ modifiersClassNames: ca,
746
+ components: { Chevron: la }
737
747
  }
738
- ) : /* @__PURE__ */ r(jt, {})
748
+ ) : /* @__PURE__ */ r(Ut, {})
739
749
  ] })
740
750
  ] }),
741
751
  j ? /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)] ds:border-t ds:border-border ds:pt-[var(--spacing-sm)]", children: [
742
752
  /* @__PURE__ */ r(
743
- ca,
753
+ va,
744
754
  {
745
- id: kt,
755
+ id: Dt,
746
756
  label: n(
747
757
  "inputs.dateRangePicker.compareLabel",
748
758
  "Compare to previous period"
749
759
  ),
750
760
  size: "sm",
751
- checked: N,
752
- onCheckedChange: St
761
+ checked: D,
762
+ onCheckedChange: Tt
753
763
  }
754
764
  ),
755
765
  Y && h ? /* @__PURE__ */ u("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[length:var(--font-size-xs)] ds:text-muted-foreground", children: [
@@ -762,21 +772,22 @@ const ya = {
762
772
  ),
763
773
  `${k(h.from, m, { locale: c })} – ${k(h.to, m, { locale: c })}`
764
774
  ] }) : null,
765
- N ? /* @__PURE__ */ r(
775
+ D ? /* @__PURE__ */ r(
766
776
  Q.Root,
767
777
  {
768
778
  value: Oe,
769
- onValueChange: Dt,
779
+ onValueChange: Ot,
780
+ onKeyDown: Le.onKeyDown,
770
781
  "aria-label": n(
771
782
  "inputs.dateRangePicker.compareModeLabel",
772
783
  "Comparison period"
773
784
  ),
774
- className: `${ze()} ds:ms-auto`,
775
- children: ha.map((e) => /* @__PURE__ */ r(
785
+ className: `${He()} ds:ms-auto`,
786
+ children: Da.map((e) => /* @__PURE__ */ r(
776
787
  Q.Item,
777
788
  {
778
789
  value: e.value,
779
- className: Be(),
790
+ className: Ue(),
780
791
  children: n(
781
792
  `inputs.dateRangePicker.compareMode.${e.value}`,
782
793
  e.fallback
@@ -798,16 +809,16 @@ const ya = {
798
809
  }
799
810
  ),
800
811
  /* @__PURE__ */ u("div", { className: "ds:flex ds:shrink-0 ds:gap-[var(--spacing-xs)]", children: [
801
- Xe ? /* @__PURE__ */ r(
812
+ at ? /* @__PURE__ */ r(
802
813
  "button",
803
814
  {
804
815
  type: "button",
805
- onClick: Ot,
816
+ onClick: Ct,
806
817
  className: J({ intent: "ghost" }),
807
818
  children: n("inputs.dateRangePicker.clear", "Clear")
808
819
  }
809
820
  ) : null,
810
- p === "apply" ? /* @__PURE__ */ u(Mt, { children: [
821
+ p === "apply" ? /* @__PURE__ */ u($t, { children: [
811
822
  /* @__PURE__ */ r(
812
823
  "button",
813
824
  {
@@ -821,7 +832,7 @@ const ya = {
821
832
  "button",
822
833
  {
823
834
  type: "button",
824
- disabled: !Ae,
835
+ disabled: !We,
825
836
  onClick: ue,
826
837
  className: J({ intent: "primary" }),
827
838
  children: n("inputs.dateRangePicker.apply", "Apply")
@@ -831,7 +842,7 @@ const ya = {
831
842
  "button",
832
843
  {
833
844
  type: "button",
834
- onClick: Ct,
845
+ onClick: Vt,
835
846
  className: J({ intent: "primary" }),
836
847
  children: n("inputs.dateRangePicker.done", "Done")
837
848
  }
@@ -846,9 +857,9 @@ const ya = {
846
857
  ) });
847
858
  }
848
859
  );
849
- ba.displayName = "DateRangePicker";
860
+ wa.displayName = "DateRangePicker";
850
861
  export {
851
- ba as D,
852
- ya as d
862
+ wa as D,
863
+ Pa as d
853
864
  };
854
- //# sourceMappingURL=date-range-picker-BOvHwWO5.js.map
865
+ //# sourceMappingURL=date-range-picker-CFk-5O3R.js.map