@alfadocs/ui-kit 0.0.20 → 0.1.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 (547) hide show
  1. package/dist/_chunks/accordion-BJD1aM67.js +117 -0
  2. package/dist/_chunks/accordion-BJD1aM67.js.map +1 -0
  3. package/dist/_chunks/agenda-card-Bld47Eul.js +130 -0
  4. package/dist/_chunks/agenda-card-Bld47Eul.js.map +1 -0
  5. package/dist/_chunks/agenda-tray-D86cNIJ0.js +119 -0
  6. package/dist/_chunks/agenda-tray-D86cNIJ0.js.map +1 -0
  7. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js +379 -0
  8. package/dist/_chunks/ai-prompt-input-CdYwt2VP.js.map +1 -0
  9. package/dist/_chunks/{alert-C5ud6CfE.js → alert-ETrF7Q8J.js} +51 -51
  10. package/dist/_chunks/alert-ETrF7Q8J.js.map +1 -0
  11. package/dist/_chunks/apexcharts-theme-BkSShpEy.js +48 -0
  12. package/dist/_chunks/apexcharts-theme-BkSShpEy.js.map +1 -0
  13. package/dist/_chunks/{app-frame-CmIUp9BD.js → app-frame-uq2Gy0vs.js} +37 -37
  14. package/dist/_chunks/app-frame-uq2Gy0vs.js.map +1 -0
  15. package/dist/_chunks/aspect-ratio-BqU4itGW.js +56 -0
  16. package/dist/_chunks/aspect-ratio-BqU4itGW.js.map +1 -0
  17. package/dist/_chunks/{audio-recorder-GkGNtW2X.js → audio-recorder-D2UEBF9B.js} +98 -98
  18. package/dist/_chunks/audio-recorder-D2UEBF9B.js.map +1 -0
  19. package/dist/_chunks/{audio-visualiser-CIO3yy23.js → audio-visualiser-B4u4goV5.js} +46 -46
  20. package/dist/_chunks/audio-visualiser-B4u4goV5.js.map +1 -0
  21. package/dist/_chunks/{autocomplete.agent-kb0nmr6F.js → autocomplete.agent-Bi6CiRKa.js} +111 -111
  22. package/dist/_chunks/autocomplete.agent-Bi6CiRKa.js.map +1 -0
  23. package/dist/_chunks/{avatar-BsV7vRA6.js → avatar-BAhxbDEu.js} +38 -38
  24. package/dist/_chunks/avatar-BAhxbDEu.js.map +1 -0
  25. package/dist/_chunks/badge-zDghajh8.js +104 -0
  26. package/dist/_chunks/badge-zDghajh8.js.map +1 -0
  27. package/dist/_chunks/{balance-cell-renderer-BQwN51rT.js → balance-cell-renderer-BGyvZWjB.js} +123 -124
  28. package/dist/_chunks/balance-cell-renderer-BGyvZWjB.js.map +1 -0
  29. package/dist/_chunks/{breadcrumb-DnO6eHSS.js → breadcrumb-pdUacgm1.js} +40 -40
  30. package/dist/_chunks/breadcrumb-pdUacgm1.js.map +1 -0
  31. package/dist/_chunks/button-DmiGFnNA.js +119 -0
  32. package/dist/_chunks/button-DmiGFnNA.js.map +1 -0
  33. package/dist/_chunks/{button-group-CI7LFxt3.js → button-group-BtTHSyU0.js} +24 -24
  34. package/dist/_chunks/button-group-BtTHSyU0.js.map +1 -0
  35. package/dist/_chunks/{calendar-BIXVzhkL.js → calendar-BkDeDTaX.js} +333 -290
  36. package/dist/_chunks/calendar-BkDeDTaX.js.map +1 -0
  37. package/dist/_chunks/card-DeItIBcV.js +158 -0
  38. package/dist/_chunks/card-DeItIBcV.js.map +1 -0
  39. package/dist/_chunks/{chart.agent-DkmVXNsI.js → chart.agent-BdS-_8MO.js} +66 -64
  40. package/dist/_chunks/chart.agent-BdS-_8MO.js.map +1 -0
  41. package/dist/_chunks/chat-container-Co8HpB64.js +174 -0
  42. package/dist/_chunks/chat-container-Co8HpB64.js.map +1 -0
  43. package/dist/_chunks/{chat-input-aphxDjZL.js → chat-input-3rstZhHR.js} +57 -57
  44. package/dist/_chunks/chat-input-3rstZhHR.js.map +1 -0
  45. package/dist/_chunks/{chat-message-CdJSD18D.js → chat-message-dDMVSYBs.js} +66 -66
  46. package/dist/_chunks/chat-message-dDMVSYBs.js.map +1 -0
  47. package/dist/_chunks/checkbox-DMzgtnqw.js +116 -0
  48. package/dist/_chunks/checkbox-DMzgtnqw.js.map +1 -0
  49. package/dist/_chunks/{checkbox-group-D1aqVI0-.js → checkbox-group-DBnIBRT_.js} +34 -34
  50. package/dist/_chunks/checkbox-group-DBnIBRT_.js.map +1 -0
  51. package/dist/_chunks/{collapsible-jBFm7Ah8.js → collapsible-DPGQnHZh.js} +16 -16
  52. package/dist/_chunks/collapsible-DPGQnHZh.js.map +1 -0
  53. package/dist/_chunks/{color-picker-CiotzQJF.js → color-picker-OKKF3Dww.js} +158 -158
  54. package/dist/_chunks/color-picker-OKKF3Dww.js.map +1 -0
  55. package/dist/_chunks/{combobox.agent-B6RwDSct.js → combobox.agent-CfeB-IZ1.js} +107 -107
  56. package/dist/_chunks/combobox.agent-CfeB-IZ1.js.map +1 -0
  57. package/dist/_chunks/{command-palette.agent-B87_OkmC.js → command-palette.agent-XLfSGHCL.js} +27 -27
  58. package/dist/_chunks/command-palette.agent-XLfSGHCL.js.map +1 -0
  59. package/dist/_chunks/{date-picker-CdPuI3dK.js → date-picker-DXx8oSJb.js} +5 -5
  60. package/dist/_chunks/{date-picker-CdPuI3dK.js.map → date-picker-DXx8oSJb.js.map} +1 -1
  61. package/dist/_chunks/{date-range-picker-DfK4cjln.js → date-range-picker-C3CbY__H.js} +29 -29
  62. package/dist/_chunks/{date-range-picker-DfK4cjln.js.map → date-range-picker-C3CbY__H.js.map} +1 -1
  63. package/dist/_chunks/{date-time-picker-CX_FMsLG.js → date-time-picker-Bn3FPeAc.js} +58 -58
  64. package/dist/_chunks/date-time-picker-Bn3FPeAc.js.map +1 -0
  65. package/dist/_chunks/description-list-B1CL3RTG.js +187 -0
  66. package/dist/_chunks/description-list-B1CL3RTG.js.map +1 -0
  67. package/dist/_chunks/{dialog.agent-B276rAQF.js → dialog.agent-D9WeIWi2.js} +39 -39
  68. package/dist/_chunks/dialog.agent-D9WeIWi2.js.map +1 -0
  69. package/dist/_chunks/dropdown-menu-BnVUeVG3.js +210 -0
  70. package/dist/_chunks/dropdown-menu-BnVUeVG3.js.map +1 -0
  71. package/dist/_chunks/{empty-state-DiG7vYBM.js → empty-state-DV96gCnp.js} +37 -37
  72. package/dist/_chunks/empty-state-DV96gCnp.js.map +1 -0
  73. package/dist/_chunks/{file-upload.agent-BMow5yDY.js → file-upload.agent-DYFnqdxw.js} +185 -185
  74. package/dist/_chunks/file-upload.agent-DYFnqdxw.js.map +1 -0
  75. package/dist/_chunks/{flag-ChP784EM.js → flag-C3BUEwHH.js} +14 -14
  76. package/dist/_chunks/{flag-ChP784EM.js.map → flag-C3BUEwHH.js.map} +1 -1
  77. package/dist/_chunks/floating-action-button-RigP2E7o.js +95 -0
  78. package/dist/_chunks/floating-action-button-RigP2E7o.js.map +1 -0
  79. package/dist/_chunks/form-field-DI5LY5aG.js +121 -0
  80. package/dist/_chunks/form-field-DI5LY5aG.js.map +1 -0
  81. package/dist/_chunks/freemium-paywall-D0GiUFOe.js +197 -0
  82. package/dist/_chunks/freemium-paywall-D0GiUFOe.js.map +1 -0
  83. package/dist/_chunks/{header-BpKaSL_v.js → header-CW2oRd5H.js} +111 -111
  84. package/dist/_chunks/header-CW2oRd5H.js.map +1 -0
  85. package/dist/_chunks/icon-button-C482ii4y.js +45 -0
  86. package/dist/_chunks/icon-button-C482ii4y.js.map +1 -0
  87. package/dist/_chunks/{icon-button-group-tERESY-n.js → icon-button-group-BnhkUWUg.js} +56 -56
  88. package/dist/_chunks/icon-button-group-BnhkUWUg.js.map +1 -0
  89. package/dist/_chunks/{kbd-0iPlQjgC.js → kbd-DTcIjYA7.js} +52 -52
  90. package/dist/_chunks/kbd-DTcIjYA7.js.map +1 -0
  91. package/dist/_chunks/{key-value-pair--Je59tAF.js → key-value-pair-DDhSYdDL.js} +26 -26
  92. package/dist/_chunks/key-value-pair-DDhSYdDL.js.map +1 -0
  93. package/dist/_chunks/leo-sidebar-gXXcGPKk.js +755 -0
  94. package/dist/_chunks/leo-sidebar-gXXcGPKk.js.map +1 -0
  95. package/dist/_chunks/{list-n8vI8Yvn.js → list-Cwe8mcmh.js} +96 -96
  96. package/dist/_chunks/list-Cwe8mcmh.js.map +1 -0
  97. package/dist/_chunks/live-region-COggO6x6.js +57 -0
  98. package/dist/_chunks/live-region-COggO6x6.js.map +1 -0
  99. package/dist/_chunks/{logo-UNWYb9p7.js → logo-3wrZGpwg.js} +29 -29
  100. package/dist/_chunks/logo-3wrZGpwg.js.map +1 -0
  101. package/dist/_chunks/{matrix-rain-Q7xTEpKu.js → matrix-rain-gsHqSvW7.js} +75 -75
  102. package/dist/_chunks/matrix-rain-gsHqSvW7.js.map +1 -0
  103. package/dist/_chunks/message-card-DID3cXUW.js +275 -0
  104. package/dist/_chunks/message-card-DID3cXUW.js.map +1 -0
  105. package/dist/_chunks/message-tray-CVMLBnVp.js +302 -0
  106. package/dist/_chunks/message-tray-CVMLBnVp.js.map +1 -0
  107. package/dist/_chunks/{multi-select.agent-Cf4pU636.js → multi-select.agent-BUKYZJfp.js} +126 -126
  108. package/dist/_chunks/multi-select.agent-BUKYZJfp.js.map +1 -0
  109. package/dist/_chunks/{navigation-menu-DBDsAmXc.js → navigation-menu-NjwxyshT.js} +68 -97
  110. package/dist/_chunks/navigation-menu-NjwxyshT.js.map +1 -0
  111. package/dist/_chunks/notification-card-BZ33fq8H.js +255 -0
  112. package/dist/_chunks/notification-card-BZ33fq8H.js.map +1 -0
  113. package/dist/_chunks/{notification-tray-CNWPuPZp.js → notification-tray-CnEd7B2q.js} +96 -96
  114. package/dist/_chunks/notification-tray-CnEd7B2q.js.map +1 -0
  115. package/dist/_chunks/{number-input-B1Th0DdC.js → number-input-D7rSa_ef.js} +73 -73
  116. package/dist/_chunks/number-input-D7rSa_ef.js.map +1 -0
  117. package/dist/_chunks/{otp-input-CmoBuZ4K.js → otp-input-C9R9sC74.js} +42 -42
  118. package/dist/_chunks/otp-input-C9R9sC74.js.map +1 -0
  119. package/dist/_chunks/{pagination.agent-B5KLDCMN.js → pagination.agent-D75FB6XP.js} +106 -106
  120. package/dist/_chunks/pagination.agent-D75FB6XP.js.map +1 -0
  121. package/dist/_chunks/{password-input-DnjNh-hQ.js → password-input-C6PvKyQV.js} +59 -59
  122. package/dist/_chunks/password-input-C6PvKyQV.js.map +1 -0
  123. package/dist/_chunks/{patient-shell-D0RaWDMR.js → patient-shell-CGsmI5LJ.js} +9 -9
  124. package/dist/_chunks/{patient-shell-D0RaWDMR.js.map → patient-shell-CGsmI5LJ.js.map} +1 -1
  125. package/dist/_chunks/{payment-form-Cf7U6r5L.js → payment-form-l3j-gA-t.js} +108 -108
  126. package/dist/_chunks/payment-form-l3j-gA-t.js.map +1 -0
  127. package/dist/_chunks/{pdf-viewer.agent-DXjgDItg.js → pdf-viewer.agent-DuGfSoep.js} +234 -233
  128. package/dist/_chunks/pdf-viewer.agent-DuGfSoep.js.map +1 -0
  129. package/dist/_chunks/{phone-input-C2dtIuxW.js → phone-input-ZWa_FU4R.js} +112 -112
  130. package/dist/_chunks/phone-input-ZWa_FU4R.js.map +1 -0
  131. package/dist/_chunks/{popover-D1woU9mP.js → popover-CMr1pTPO.js} +58 -58
  132. package/dist/_chunks/popover-CMr1pTPO.js.map +1 -0
  133. package/dist/_chunks/{privacy-lock-C1X42Sit.js → privacy-lock-Br5k7Rul.js} +36 -36
  134. package/dist/_chunks/privacy-lock-Br5k7Rul.js.map +1 -0
  135. package/dist/_chunks/{progress-DL3-izuO.js → progress-D4ELgHG3.js} +43 -43
  136. package/dist/_chunks/progress-D4ELgHG3.js.map +1 -0
  137. package/dist/_chunks/radio-B_gvGU29.js +106 -0
  138. package/dist/_chunks/radio-B_gvGU29.js.map +1 -0
  139. package/dist/_chunks/radio-group-Bn8Wt0yc.js +88 -0
  140. package/dist/_chunks/radio-group-Bn8Wt0yc.js.map +1 -0
  141. package/dist/_chunks/{react-day-picker-DQKDiJ37.js → react-day-picker-d0MHsyCj.js} +174 -174
  142. package/dist/_chunks/{react-day-picker-DQKDiJ37.js.map → react-day-picker-d0MHsyCj.js.map} +1 -1
  143. package/dist/_chunks/{resizable.agent-DVk_jJur.js → resizable.agent-DBpPGNdy.js} +122 -122
  144. package/dist/_chunks/resizable.agent-DBpPGNdy.js.map +1 -0
  145. package/dist/_chunks/{rich-text-editor.agent-BOjF4Xao.js → rich-text-editor.agent-C1_E7_7t.js} +225 -225
  146. package/dist/_chunks/rich-text-editor.agent-C1_E7_7t.js.map +1 -0
  147. package/dist/_chunks/scroll-area-Ba99pJ_R.js +144 -0
  148. package/dist/_chunks/scroll-area-Ba99pJ_R.js.map +1 -0
  149. package/dist/_chunks/{search-bar-DgSOAajC.js → search-bar-VoTqJhRp.js} +131 -131
  150. package/dist/_chunks/search-bar-VoTqJhRp.js.map +1 -0
  151. package/dist/_chunks/search-input-D6rarD0_.js +197 -0
  152. package/dist/_chunks/search-input-D6rarD0_.js.map +1 -0
  153. package/dist/_chunks/select-DbxWF3O_.js +320 -0
  154. package/dist/_chunks/select-DbxWF3O_.js.map +1 -0
  155. package/dist/_chunks/{separator-DExI4amU.js → separator-BRQHi8s0.js} +17 -17
  156. package/dist/_chunks/separator-BRQHi8s0.js.map +1 -0
  157. package/dist/_chunks/sheet-DyWqluiS.js +188 -0
  158. package/dist/_chunks/sheet-DyWqluiS.js.map +1 -0
  159. package/dist/_chunks/sidebar-B52iGGNV.js +1076 -0
  160. package/dist/_chunks/sidebar-B52iGGNV.js.map +1 -0
  161. package/dist/_chunks/{sign-in-with-alfadocs-button-BBL11-Rt.js → sign-in-with-alfadocs-button-BU7MP5Hg.js} +4 -4
  162. package/dist/_chunks/{sign-in-with-alfadocs-button-BBL11-Rt.js.map → sign-in-with-alfadocs-button-BU7MP5Hg.js.map} +1 -1
  163. package/dist/_chunks/{signature-capture.agent-L_1_-zVR.js → signature-capture.agent-4htVctJ2.js} +163 -163
  164. package/dist/_chunks/signature-capture.agent-4htVctJ2.js.map +1 -0
  165. package/dist/_chunks/skeleton-ClO1v5GE.js +95 -0
  166. package/dist/_chunks/skeleton-ClO1v5GE.js.map +1 -0
  167. package/dist/_chunks/skip-link-CASJkBOe.js +68 -0
  168. package/dist/_chunks/skip-link-CASJkBOe.js.map +1 -0
  169. package/dist/_chunks/slider-n8JWpJvT.js +273 -0
  170. package/dist/_chunks/slider-n8JWpJvT.js.map +1 -0
  171. package/dist/_chunks/slot-grid-BRAkqChA.js +491 -0
  172. package/dist/_chunks/slot-grid-BRAkqChA.js.map +1 -0
  173. package/dist/_chunks/{sparkline.agent-BDTXzTy9.js → sparkline.agent-BLY1IMyW.js} +45 -45
  174. package/dist/_chunks/sparkline.agent-BLY1IMyW.js.map +1 -0
  175. package/dist/_chunks/{spinner-77xUGpuX.js → spinner-CoAOGcDa.js} +40 -40
  176. package/dist/_chunks/spinner-CoAOGcDa.js.map +1 -0
  177. package/dist/_chunks/stat-D76MNHzK.js +208 -0
  178. package/dist/_chunks/stat-D76MNHzK.js.map +1 -0
  179. package/dist/_chunks/{stepper-accordion-BkvqQWPI.js → stepper-accordion-DHQ80A4v.js} +33 -33
  180. package/dist/_chunks/stepper-accordion-DHQ80A4v.js.map +1 -0
  181. package/dist/_chunks/{stepper-calendar-BQMjrwzo.js → stepper-calendar-vtWwa2bY.js} +159 -159
  182. package/dist/_chunks/stepper-calendar-vtWwa2bY.js.map +1 -0
  183. package/dist/_chunks/stepper-progress-DMZ5w5VR.js +128 -0
  184. package/dist/_chunks/stepper-progress-DMZ5w5VR.js.map +1 -0
  185. package/dist/_chunks/streaming-text-D0cW8pwq.js +104 -0
  186. package/dist/_chunks/streaming-text-D0cW8pwq.js.map +1 -0
  187. package/dist/_chunks/suggestion-chip-BgNFpPEE.js +157 -0
  188. package/dist/_chunks/suggestion-chip-BgNFpPEE.js.map +1 -0
  189. package/dist/_chunks/switch-DtLPKO0p.js +137 -0
  190. package/dist/_chunks/switch-DtLPKO0p.js.map +1 -0
  191. package/dist/_chunks/{tabs.agent-FsGU3sZL.js → tabs.agent-BDUlyPbJ.js} +101 -101
  192. package/dist/_chunks/tabs.agent-BDUlyPbJ.js.map +1 -0
  193. package/dist/_chunks/tag-CfSZZN2f.js +194 -0
  194. package/dist/_chunks/tag-CfSZZN2f.js.map +1 -0
  195. package/dist/_chunks/task-card-B5xfiFg5.js +112 -0
  196. package/dist/_chunks/task-card-B5xfiFg5.js.map +1 -0
  197. package/dist/_chunks/task-tray-BnpiodZ4.js +99 -0
  198. package/dist/_chunks/task-tray-BnpiodZ4.js.map +1 -0
  199. package/dist/_chunks/text-area-BqbruBWx.js +152 -0
  200. package/dist/_chunks/text-area-BqbruBWx.js.map +1 -0
  201. package/dist/_chunks/text-input-lh6kRXZS.js +187 -0
  202. package/dist/_chunks/text-input-lh6kRXZS.js.map +1 -0
  203. package/dist/_chunks/theme-toggle-BHKMiORD.js +326 -0
  204. package/dist/_chunks/theme-toggle-BHKMiORD.js.map +1 -0
  205. package/dist/_chunks/{time-picker-BapZq0OY.js → time-picker-DbpAmPux.js} +102 -102
  206. package/dist/_chunks/time-picker-DbpAmPux.js.map +1 -0
  207. package/dist/_chunks/timeline-vjsUeuq1.js +219 -0
  208. package/dist/_chunks/timeline-vjsUeuq1.js.map +1 -0
  209. package/dist/_chunks/{timestamp-BLM-jjdw.js → timestamp-DmSt92P1.js} +30 -30
  210. package/dist/_chunks/timestamp-DmSt92P1.js.map +1 -0
  211. package/dist/_chunks/{toast-DSCqnDRl.js → toast-DllSITLf.js} +151 -151
  212. package/dist/_chunks/{toast-DSCqnDRl.js.map → toast-DllSITLf.js.map} +1 -1
  213. package/dist/_chunks/{tooltip-DF6WjD1r.js → tooltip-Dp3u8jGz.js} +30 -30
  214. package/dist/_chunks/tooltip-Dp3u8jGz.js.map +1 -0
  215. package/dist/_chunks/{tooth-scheme.agent-CFKl3iQr.js → tooth-scheme.agent-BRqxWa1D.js} +75 -75
  216. package/dist/_chunks/tooth-scheme.agent-BRqxWa1D.js.map +1 -0
  217. package/dist/_chunks/transcript-panel-Bg1BTMSr.js +265 -0
  218. package/dist/_chunks/transcript-panel-Bg1BTMSr.js.map +1 -0
  219. package/dist/_chunks/typing-indicator-BRg22Rqr.js +81 -0
  220. package/dist/_chunks/typing-indicator-BRg22Rqr.js.map +1 -0
  221. package/dist/_chunks/use-locale-BuXR_Zl9.js +32 -0
  222. package/dist/_chunks/use-locale-BuXR_Zl9.js.map +1 -0
  223. package/dist/_chunks/visually-hidden-Y3jcdCv-.js +21 -0
  224. package/dist/_chunks/visually-hidden-Y3jcdCv-.js.map +1 -0
  225. package/dist/_chunks/{warning-stack-Cyf_81SL.js → warning-stack-B9N9yWet.js} +38 -38
  226. package/dist/_chunks/warning-stack-B9N9yWet.js.map +1 -0
  227. package/dist/_chunks/{workflow-map-Uf-hHAO3.js → workflow-map-gBhL_Wrs.js} +385 -385
  228. package/dist/_chunks/workflow-map-gBhL_Wrs.js.map +1 -0
  229. package/dist/components/_shared/index.d.ts +2 -0
  230. package/dist/components/_shared/index.d.ts.map +1 -1
  231. package/dist/components/_shared/use-focus-trap.d.ts +32 -0
  232. package/dist/components/_shared/use-focus-trap.d.ts.map +1 -0
  233. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts +3 -0
  234. package/dist/components/_shared/use-neutralize-hidden-focus.d.ts.map +1 -0
  235. package/dist/components/accordion/index.js +1 -1
  236. package/dist/components/agenda-card/index.js +1 -1
  237. package/dist/components/agenda-tray/index.js +1 -1
  238. package/dist/components/ai-prompt-input/index.js +1 -1
  239. package/dist/components/alert/index.js +1 -1
  240. package/dist/components/app-frame/index.js +1 -1
  241. package/dist/components/aspect-ratio/index.js +1 -1
  242. package/dist/components/audio-recorder/index.js +1 -1
  243. package/dist/components/audio-visualiser/index.js +1 -1
  244. package/dist/components/autocomplete/index.js +1 -1
  245. package/dist/components/avatar/index.js +1 -1
  246. package/dist/components/badge/index.js +1 -1
  247. package/dist/components/breadcrumb/index.js +1 -1
  248. package/dist/components/button/index.js +2 -2
  249. package/dist/components/button-group/index.js +1 -1
  250. package/dist/components/calendar/calendar.d.ts.map +1 -1
  251. package/dist/components/calendar/index.js +1 -1
  252. package/dist/components/card/index.js +1 -1
  253. package/dist/components/chart/chart.d.ts.map +1 -1
  254. package/dist/components/chart/index.js +1 -1
  255. package/dist/components/chat-container/index.js +1 -1
  256. package/dist/components/chat-input/index.js +1 -1
  257. package/dist/components/chat-message/index.js +1 -1
  258. package/dist/components/checkbox/index.js +1 -1
  259. package/dist/components/checkbox-group/index.js +1 -1
  260. package/dist/components/collapsible/index.js +1 -1
  261. package/dist/components/color-picker/index.js +1 -1
  262. package/dist/components/combobox/index.js +1 -1
  263. package/dist/components/command-palette/index.js +1 -1
  264. package/dist/components/data-table/index.js +1 -1
  265. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  266. package/dist/components/date-picker/index.js +1 -1
  267. package/dist/components/date-range-picker/index.js +1 -1
  268. package/dist/components/date-time-picker/index.js +1 -1
  269. package/dist/components/description-list/index.js +1 -1
  270. package/dist/components/dialog/index.js +1 -1
  271. package/dist/components/dropdown-menu/index.js +1 -1
  272. package/dist/components/empty-state/index.js +1 -1
  273. package/dist/components/file-upload/index.js +1 -1
  274. package/dist/components/flag/index.js +1 -1
  275. package/dist/components/floating-action-button/index.js +1 -1
  276. package/dist/components/form-field/index.js +1 -1
  277. package/dist/components/freemium-paywall/index.js +1 -1
  278. package/dist/components/header/index.js +1 -1
  279. package/dist/components/icon-button/index.d.ts +3 -0
  280. package/dist/components/icon-button/index.d.ts.map +1 -0
  281. package/dist/components/icon-button/index.js +5 -0
  282. package/dist/components/icon-button/index.js.map +1 -0
  283. package/dist/components/icon-button-group/index.js +1 -1
  284. package/dist/components/index.d.ts +8 -2
  285. package/dist/components/index.d.ts.map +1 -1
  286. package/dist/components/kbd/index.js +1 -1
  287. package/dist/components/key-value-pair/index.js +1 -1
  288. package/dist/components/list/index.js +1 -1
  289. package/dist/components/live-region/index.d.ts +3 -0
  290. package/dist/components/live-region/index.d.ts.map +1 -0
  291. package/dist/components/live-region/index.js +5 -0
  292. package/dist/components/live-region/index.js.map +1 -0
  293. package/dist/components/live-region/live-region.d.ts +49 -0
  294. package/dist/components/live-region/live-region.d.ts.map +1 -0
  295. package/dist/components/logo/index.js +1 -1
  296. package/dist/components/matrix-rain/index.js +1 -1
  297. package/dist/components/message-card/index.js +1 -1
  298. package/dist/components/message-tray/index.js +1 -1
  299. package/dist/components/multi-select/index.js +1 -1
  300. package/dist/components/navigation-menu/index.d.ts +4 -2
  301. package/dist/components/navigation-menu/index.d.ts.map +1 -1
  302. package/dist/components/navigation-menu/index.js +3 -2
  303. package/dist/components/navigation-menu/index.js.map +1 -1
  304. package/dist/components/navigation-menu/navigation-menu.d.ts +2 -6
  305. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  306. package/dist/components/notification-card/index.js +1 -1
  307. package/dist/components/notification-tray/index.js +1 -1
  308. package/dist/components/number-input/index.js +1 -1
  309. package/dist/components/otp-input/index.js +1 -1
  310. package/dist/components/pagination/index.js +1 -1
  311. package/dist/components/password-input/index.js +1 -1
  312. package/dist/components/payment-form/index.js +1 -1
  313. package/dist/components/pdf-viewer/index.js +1 -1
  314. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  315. package/dist/components/phone-input/index.js +1 -1
  316. package/dist/components/popover/index.js +1 -1
  317. package/dist/components/privacy-lock/index.js +1 -1
  318. package/dist/components/progress/index.js +1 -1
  319. package/dist/components/radio/index.d.ts +3 -0
  320. package/dist/components/radio/index.d.ts.map +1 -0
  321. package/dist/components/radio/index.js +5 -0
  322. package/dist/components/radio/index.js.map +1 -0
  323. package/dist/components/radio-group/index.js +4 -3
  324. package/dist/components/radio-group/index.js.map +1 -1
  325. package/dist/components/resizable/index.js +1 -1
  326. package/dist/components/rich-text-editor/index.js +1 -1
  327. package/dist/components/scroll-area/index.js +1 -1
  328. package/dist/components/search-bar/index.js +1 -1
  329. package/dist/components/search-input/index.js +1 -1
  330. package/dist/components/select/index.js +1 -1
  331. package/dist/components/separator/index.js +1 -1
  332. package/dist/components/sheet/index.js +1 -1
  333. package/dist/components/sidebar/index.js +1 -1
  334. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  335. package/dist/components/signature-capture/index.js +1 -1
  336. package/dist/components/skeleton/index.js +1 -1
  337. package/dist/components/skip-link/index.d.ts +2 -0
  338. package/dist/components/skip-link/index.d.ts.map +1 -0
  339. package/dist/components/skip-link/index.js +5 -0
  340. package/dist/components/skip-link/index.js.map +1 -0
  341. package/dist/components/skip-link/skip-link.d.ts +34 -0
  342. package/dist/components/skip-link/skip-link.d.ts.map +1 -0
  343. package/dist/components/slider/index.js +1 -1
  344. package/dist/components/slot-grid/index.js +1 -1
  345. package/dist/components/sparkline/index.js +1 -1
  346. package/dist/components/sparkline/sparkline.d.ts.map +1 -1
  347. package/dist/components/spinner/index.js +1 -1
  348. package/dist/components/stat/index.js +1 -1
  349. package/dist/components/stepper-accordion/index.js +1 -1
  350. package/dist/components/stepper-calendar/index.js +1 -1
  351. package/dist/components/stepper-progress/index.js +1 -1
  352. package/dist/components/streaming-text/index.js +1 -1
  353. package/dist/components/suggestion-chip/index.js +1 -1
  354. package/dist/components/switch/index.js +1 -1
  355. package/dist/components/tabs/index.js +1 -1
  356. package/dist/components/tag/index.js +1 -1
  357. package/dist/components/task-card/index.js +1 -1
  358. package/dist/components/task-tray/index.js +1 -1
  359. package/dist/components/text-area/index.js +1 -1
  360. package/dist/components/text-input/index.js +1 -1
  361. package/dist/components/theme-toggle/index.d.ts +3 -0
  362. package/dist/components/theme-toggle/index.d.ts.map +1 -0
  363. package/dist/components/theme-toggle/index.js +5 -0
  364. package/dist/components/theme-toggle/index.js.map +1 -0
  365. package/dist/components/theme-toggle/theme-toggle.d.ts +34 -0
  366. package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -0
  367. package/dist/components/time-picker/index.js +1 -1
  368. package/dist/components/timeline/index.js +1 -1
  369. package/dist/components/timestamp/index.js +1 -1
  370. package/dist/components/toast/index.js +1 -1
  371. package/dist/components/tooltip/index.js +1 -1
  372. package/dist/components/tooth-scheme/index.js +1 -1
  373. package/dist/components/transcript-panel/index.js +1 -1
  374. package/dist/components/typing-indicator/index.js +1 -1
  375. package/dist/components/visually-hidden/index.d.ts +2 -0
  376. package/dist/components/visually-hidden/index.d.ts.map +1 -0
  377. package/dist/components/visually-hidden/index.js +5 -0
  378. package/dist/components/visually-hidden/index.js.map +1 -0
  379. package/dist/components/visually-hidden/visually-hidden.d.ts +11 -0
  380. package/dist/components/visually-hidden/visually-hidden.d.ts.map +1 -0
  381. package/dist/components/warning-stack/index.js +1 -1
  382. package/dist/components/workflow/index.js +1 -1
  383. package/dist/hooks/index.d.ts +3 -0
  384. package/dist/hooks/index.d.ts.map +1 -1
  385. package/dist/hooks/index.js +10 -7
  386. package/dist/hooks/index.js.map +1 -1
  387. package/dist/hooks/use-locale.d.ts +27 -0
  388. package/dist/hooks/use-locale.d.ts.map +1 -0
  389. package/dist/hooks/use-media-query.d.ts +17 -0
  390. package/dist/hooks/use-media-query.d.ts.map +1 -0
  391. package/dist/i18n/config.js +59 -2
  392. package/dist/i18n/config.js.map +1 -1
  393. package/dist/i18n/resources.d.ts +57 -0
  394. package/dist/i18n/resources.d.ts.map +1 -1
  395. package/dist/index.js +442 -431
  396. package/dist/index.js.map +1 -1
  397. package/dist/locales/de.json +19 -0
  398. package/dist/locales/en.json +19 -0
  399. package/dist/locales/it.json +19 -0
  400. package/dist/patterns/leo-assistant/index.js +1 -1
  401. package/dist/patterns/patient-shell/index.js +1 -1
  402. package/dist/tokens.css +2 -2
  403. package/package.json +4 -2
  404. package/dist/_chunks/accordion-Dgcd38U_.js +0 -117
  405. package/dist/_chunks/accordion-Dgcd38U_.js.map +0 -1
  406. package/dist/_chunks/agenda-card-B2gq-gTq.js +0 -130
  407. package/dist/_chunks/agenda-card-B2gq-gTq.js.map +0 -1
  408. package/dist/_chunks/agenda-tray-twa8g_87.js +0 -119
  409. package/dist/_chunks/agenda-tray-twa8g_87.js.map +0 -1
  410. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +0 -379
  411. package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +0 -1
  412. package/dist/_chunks/alert-C5ud6CfE.js.map +0 -1
  413. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +0 -17
  414. package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +0 -1
  415. package/dist/_chunks/app-frame-CmIUp9BD.js.map +0 -1
  416. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +0 -56
  417. package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +0 -1
  418. package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +0 -1
  419. package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +0 -1
  420. package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +0 -1
  421. package/dist/_chunks/avatar-BsV7vRA6.js.map +0 -1
  422. package/dist/_chunks/badge--CmSr7ok.js +0 -104
  423. package/dist/_chunks/badge--CmSr7ok.js.map +0 -1
  424. package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +0 -1
  425. package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +0 -1
  426. package/dist/_chunks/button-CXL8bA8G.js +0 -119
  427. package/dist/_chunks/button-CXL8bA8G.js.map +0 -1
  428. package/dist/_chunks/button-group-CI7LFxt3.js.map +0 -1
  429. package/dist/_chunks/calendar-BIXVzhkL.js.map +0 -1
  430. package/dist/_chunks/card-n97MNPP2.js +0 -158
  431. package/dist/_chunks/card-n97MNPP2.js.map +0 -1
  432. package/dist/_chunks/chart.agent-DkmVXNsI.js.map +0 -1
  433. package/dist/_chunks/chat-container-SR3UWxbL.js +0 -174
  434. package/dist/_chunks/chat-container-SR3UWxbL.js.map +0 -1
  435. package/dist/_chunks/chat-input-aphxDjZL.js.map +0 -1
  436. package/dist/_chunks/chat-message-CdJSD18D.js.map +0 -1
  437. package/dist/_chunks/checkbox-CfiZ0FZc.js +0 -116
  438. package/dist/_chunks/checkbox-CfiZ0FZc.js.map +0 -1
  439. package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +0 -1
  440. package/dist/_chunks/collapsible-jBFm7Ah8.js.map +0 -1
  441. package/dist/_chunks/color-picker-CiotzQJF.js.map +0 -1
  442. package/dist/_chunks/combobox.agent-B6RwDSct.js.map +0 -1
  443. package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +0 -1
  444. package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +0 -1
  445. package/dist/_chunks/description-list-C5UPZgX6.js +0 -187
  446. package/dist/_chunks/description-list-C5UPZgX6.js.map +0 -1
  447. package/dist/_chunks/dialog.agent-B276rAQF.js.map +0 -1
  448. package/dist/_chunks/dropdown-menu-CJKvK7VG.js +0 -210
  449. package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +0 -1
  450. package/dist/_chunks/empty-state-DiG7vYBM.js.map +0 -1
  451. package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +0 -1
  452. package/dist/_chunks/floating-action-button-BM9ib-Wf.js +0 -95
  453. package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +0 -1
  454. package/dist/_chunks/form-field-B4bwrccN.js +0 -121
  455. package/dist/_chunks/form-field-B4bwrccN.js.map +0 -1
  456. package/dist/_chunks/freemium-paywall-DVyNsQHS.js +0 -197
  457. package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +0 -1
  458. package/dist/_chunks/header-BpKaSL_v.js.map +0 -1
  459. package/dist/_chunks/icon-button-C1vpylg3.js +0 -45
  460. package/dist/_chunks/icon-button-C1vpylg3.js.map +0 -1
  461. package/dist/_chunks/icon-button-group-tERESY-n.js.map +0 -1
  462. package/dist/_chunks/kbd-0iPlQjgC.js.map +0 -1
  463. package/dist/_chunks/key-value-pair--Je59tAF.js.map +0 -1
  464. package/dist/_chunks/leo-sidebar-9A9AWBxX.js +0 -755
  465. package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +0 -1
  466. package/dist/_chunks/list-n8vI8Yvn.js.map +0 -1
  467. package/dist/_chunks/logo-UNWYb9p7.js.map +0 -1
  468. package/dist/_chunks/matrix-rain-Q7xTEpKu.js.map +0 -1
  469. package/dist/_chunks/message-card-g5VS5Q80.js +0 -275
  470. package/dist/_chunks/message-card-g5VS5Q80.js.map +0 -1
  471. package/dist/_chunks/message-tray-CAk-iibU.js +0 -302
  472. package/dist/_chunks/message-tray-CAk-iibU.js.map +0 -1
  473. package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +0 -1
  474. package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +0 -1
  475. package/dist/_chunks/notification-card-CQxJporb.js +0 -255
  476. package/dist/_chunks/notification-card-CQxJporb.js.map +0 -1
  477. package/dist/_chunks/notification-tray-CNWPuPZp.js.map +0 -1
  478. package/dist/_chunks/number-input-B1Th0DdC.js.map +0 -1
  479. package/dist/_chunks/otp-input-CmoBuZ4K.js.map +0 -1
  480. package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +0 -1
  481. package/dist/_chunks/password-input-DnjNh-hQ.js.map +0 -1
  482. package/dist/_chunks/payment-form-Cf7U6r5L.js.map +0 -1
  483. package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +0 -1
  484. package/dist/_chunks/phone-input-C2dtIuxW.js.map +0 -1
  485. package/dist/_chunks/popover-D1woU9mP.js.map +0 -1
  486. package/dist/_chunks/privacy-lock-C1X42Sit.js.map +0 -1
  487. package/dist/_chunks/progress-DL3-izuO.js.map +0 -1
  488. package/dist/_chunks/radio-group-CXN9qNPe.js +0 -185
  489. package/dist/_chunks/radio-group-CXN9qNPe.js.map +0 -1
  490. package/dist/_chunks/resizable.agent-DVk_jJur.js.map +0 -1
  491. package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +0 -1
  492. package/dist/_chunks/scroll-area-DXn-YWHY.js +0 -144
  493. package/dist/_chunks/scroll-area-DXn-YWHY.js.map +0 -1
  494. package/dist/_chunks/search-bar-DgSOAajC.js.map +0 -1
  495. package/dist/_chunks/search-input-D4tC_Prn.js +0 -197
  496. package/dist/_chunks/search-input-D4tC_Prn.js.map +0 -1
  497. package/dist/_chunks/select-B4m4upMg.js +0 -320
  498. package/dist/_chunks/select-B4m4upMg.js.map +0 -1
  499. package/dist/_chunks/separator-DExI4amU.js.map +0 -1
  500. package/dist/_chunks/sheet-D6XOx0fK.js +0 -188
  501. package/dist/_chunks/sheet-D6XOx0fK.js.map +0 -1
  502. package/dist/_chunks/sidebar-r645O-k9.js +0 -1076
  503. package/dist/_chunks/sidebar-r645O-k9.js.map +0 -1
  504. package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +0 -1
  505. package/dist/_chunks/skeleton-vbTWUntB.js +0 -95
  506. package/dist/_chunks/skeleton-vbTWUntB.js.map +0 -1
  507. package/dist/_chunks/slider-B3DBwmcm.js +0 -273
  508. package/dist/_chunks/slider-B3DBwmcm.js.map +0 -1
  509. package/dist/_chunks/slot-grid-DL_Tuj0p.js +0 -491
  510. package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +0 -1
  511. package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +0 -1
  512. package/dist/_chunks/spinner-77xUGpuX.js.map +0 -1
  513. package/dist/_chunks/stat-CrumvZWf.js +0 -208
  514. package/dist/_chunks/stat-CrumvZWf.js.map +0 -1
  515. package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +0 -1
  516. package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +0 -1
  517. package/dist/_chunks/stepper-progress-Bwfl-0rV.js +0 -128
  518. package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +0 -1
  519. package/dist/_chunks/streaming-text-Cu9YQe_1.js +0 -104
  520. package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +0 -1
  521. package/dist/_chunks/suggestion-chip-XkxDJiPW.js +0 -157
  522. package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +0 -1
  523. package/dist/_chunks/switch-DyC0ThNT.js +0 -137
  524. package/dist/_chunks/switch-DyC0ThNT.js.map +0 -1
  525. package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +0 -1
  526. package/dist/_chunks/tag-BucAvfTX.js +0 -194
  527. package/dist/_chunks/tag-BucAvfTX.js.map +0 -1
  528. package/dist/_chunks/task-card-uxjApfcg.js +0 -112
  529. package/dist/_chunks/task-card-uxjApfcg.js.map +0 -1
  530. package/dist/_chunks/task-tray-BdfM3p8N.js +0 -99
  531. package/dist/_chunks/task-tray-BdfM3p8N.js.map +0 -1
  532. package/dist/_chunks/text-area-CKxZ7cS3.js +0 -152
  533. package/dist/_chunks/text-area-CKxZ7cS3.js.map +0 -1
  534. package/dist/_chunks/text-input-D16CcMlL.js +0 -187
  535. package/dist/_chunks/text-input-D16CcMlL.js.map +0 -1
  536. package/dist/_chunks/time-picker-BapZq0OY.js.map +0 -1
  537. package/dist/_chunks/timeline-D3VOf4RT.js +0 -219
  538. package/dist/_chunks/timeline-D3VOf4RT.js.map +0 -1
  539. package/dist/_chunks/timestamp-BLM-jjdw.js.map +0 -1
  540. package/dist/_chunks/tooltip-DF6WjD1r.js.map +0 -1
  541. package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +0 -1
  542. package/dist/_chunks/transcript-panel-aI14fHYA.js +0 -265
  543. package/dist/_chunks/transcript-panel-aI14fHYA.js.map +0 -1
  544. package/dist/_chunks/typing-indicator-BTVDEpnd.js +0 -81
  545. package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +0 -1
  546. package/dist/_chunks/warning-stack-Cyf_81SL.js.map +0 -1
  547. package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { c as rn } from "./createLucideIcon-CrFbzy84.js";
2
2
  import h, { createContext as on, useContext as sn, useCallback as $, useRef as ke, useLayoutEffect as an, useState as Be, useEffect as fn, useMemo as De } from "react";
3
- import { c as rt, a as ot, g as ln, m as ae, f as le, d as st, k as at, j as it, r as dn, i as cn, h as un, s as hn, b as yn, t as mn } from "./isSameMonth-5wNF2f4I.js";
3
+ import { c as rt, a as ot, g as dn, m as ae, f as de, d as st, k as at, j as it, r as ln, i as cn, h as un, s as hn, b as yn, t as mn } from "./isSameMonth-5wNF2f4I.js";
4
4
  import { c as te, t as F, n as Pe, i as Mn, s as kn } from "./isSameDay-ecuM8PBB.js";
5
5
  import { jsx as Ze } from "react/jsx-runtime";
6
6
  import { C as Dn } from "./chevron-left-CX1jqD2M.js";
@@ -26,16 +26,16 @@ function bn(e, t, r = "long") {
26
26
  timeZoneName: r
27
27
  }).format(t).split(/\s/g).slice(2).join(" ");
28
28
  }
29
- const Ye = {}, de = {};
29
+ const Ye = {}, le = {};
30
30
  function re(e, t) {
31
31
  try {
32
32
  const n = (Ye[e] || (Ye[e] = new Intl.DateTimeFormat("en-US", {
33
33
  timeZone: e,
34
34
  timeZoneName: "longOffset"
35
35
  }).format))(t).split("GMT")[1];
36
- return n in de ? de[n] : Je(n, n.split(":"));
36
+ return n in le ? le[n] : Je(n, n.split(":"));
37
37
  } catch {
38
- if (e in de) return de[e];
38
+ if (e in le) return le[e];
39
39
  const r = e == null ? void 0 : e.match(On);
40
40
  return r ? Je(e, r.slice(1)) : NaN;
41
41
  }
@@ -43,7 +43,7 @@ function re(e, t) {
43
43
  const On = /([+-]\d\d):?(\d\d)?/;
44
44
  function Je(e, t) {
45
45
  const r = +(t[0] || 0), n = +(t[1] || 0), o = +(t[2] || 0) / 60;
46
- return de[e] = r * 60 + n > 0 ? r * 60 + n + o : r * 60 - n - o;
46
+ return le[e] = r * 60 + n > 0 ? r * 60 + n + o : r * 60 - n - o;
47
47
  }
48
48
  class Z extends Date {
49
49
  //#region static
@@ -99,10 +99,10 @@ function ft(e) {
99
99
  a && i && e.internal.setUTCMinutes(e.internal.getUTCMinutes() + a);
100
100
  const f = o - r;
101
101
  f && Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + f);
102
- const l = /* @__PURE__ */ new Date(+e);
103
- l.setUTCSeconds(0);
104
- const d = o > 0 ? l.getSeconds() : (l.getSeconds() - 60) % 60, u = Math.round(-(re(e.timeZone, e) * 60)) % 60;
105
- (u || d) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + u), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + u + d));
102
+ const d = /* @__PURE__ */ new Date(+e);
103
+ d.setUTCSeconds(0);
104
+ const l = o > 0 ? d.getSeconds() : (d.getSeconds() - 60) % 60, u = Math.round(-(re(e.timeZone, e) * 60)) % 60;
105
+ (u || l) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + u), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + u + l));
106
106
  const y = re(e.timeZone, e), m = y > 0 ? Math.floor(y) : Math.ceil(y), W = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - m, b = m !== r, S = W - f;
107
107
  if (b && S) {
108
108
  Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + S);
@@ -188,7 +188,7 @@ function Cn(e, t) {
188
188
  (!r || r > s || isNaN(+s)) && (r = s);
189
189
  }), te(n, r || NaN);
190
190
  }
191
- function lt(e, t, r) {
191
+ function dt(e, t, r) {
192
192
  const [n, o] = Pe(
193
193
  r == null ? void 0 : r.in,
194
194
  e,
@@ -200,12 +200,12 @@ function Sn(e, t) {
200
200
  const r = F(e, t == null ? void 0 : t.in), n = r.getMonth();
201
201
  return r.setFullYear(r.getFullYear(), n + 1, 0), r.setHours(23, 59, 59, 999), r;
202
202
  }
203
- function dt(e, t) {
203
+ function lt(e, t) {
204
204
  const [r, n] = Pe(e, t.start, t.end);
205
205
  return { start: r, end: n };
206
206
  }
207
207
  function Yn(e, t) {
208
- const { start: r, end: n } = dt(t == null ? void 0 : t.in, e);
208
+ const { start: r, end: n } = lt(t == null ? void 0 : t.in, e);
209
209
  let o = +r > +n;
210
210
  const s = o ? +r : +n, a = o ? n : r;
211
211
  a.setHours(0, 0, 0, 0), a.setDate(1);
@@ -220,7 +220,7 @@ function _n(e, t) {
220
220
  return r.setFullYear(n + 1, 0, 0), r.setHours(23, 59, 59, 999), r;
221
221
  }
222
222
  function Tn(e, t) {
223
- const { start: r, end: n } = dt(t == null ? void 0 : t.in, e);
223
+ const { start: r, end: n } = lt(t == null ? void 0 : t.in, e);
224
224
  let o = +r > +n;
225
225
  const s = o ? +r : +n, a = o ? n : r;
226
226
  a.setHours(0, 0, 0, 0), a.setMonth(0, 1);
@@ -231,8 +231,8 @@ function Tn(e, t) {
231
231
  return o ? f.reverse() : f;
232
232
  }
233
233
  function ct(e, t) {
234
- var i, f, l, d;
235
- const r = ln(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((f = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : f.weekStartsOn) ?? r.weekStartsOn ?? ((d = (l = r.locale) == null ? void 0 : l.options) == null ? void 0 : d.weekStartsOn) ?? 0, o = F(e, t == null ? void 0 : t.in), s = o.getDay(), a = (s < n ? -7 : 0) + 6 - (s - n);
234
+ var i, f, d, l;
235
+ const r = dn(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((f = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : f.weekStartsOn) ?? r.weekStartsOn ?? ((l = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : l.weekStartsOn) ?? 0, o = F(e, t == null ? void 0 : t.in), s = o.getDay(), a = (s < n ? -7 : 0) + 6 - (s - n);
236
236
  return o.setDate(o.getDate() + a), o.setHours(23, 59, 59, 999), o;
237
237
  }
238
238
  function En(e, t) {
@@ -290,7 +290,7 @@ const ht = {
290
290
  labels: {
291
291
  labelDayButton: (e, t, r, n) => {
292
292
  let o;
293
- n && typeof n.format == "function" ? o = n.format.bind(n) : o = (a, i) => le(a, i, { locale: ae, ...r });
293
+ n && typeof n.format == "function" ? o = n.format.bind(n) : o = (a, i) => de(a, i, { locale: ae, ...r });
294
294
  let s = o(e, "PPPP");
295
295
  return t.today && (s = `Today, ${s}`), t.selected && (s = `${s}, selected`), s;
296
296
  },
@@ -301,11 +301,11 @@ const ht = {
301
301
  labelYearDropdown: "Choose the Year",
302
302
  labelGrid: (e, t, r) => {
303
303
  let n;
304
- return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (o, s) => le(o, s, { locale: ae, ...t }), n(e, "LLLL yyyy");
304
+ return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (o, s) => de(o, s, { locale: ae, ...t }), n(e, "LLLL yyyy");
305
305
  },
306
306
  labelGridcell: (e, t, r, n) => {
307
307
  let o;
308
- n && typeof n.format == "function" ? o = n.format.bind(n) : o = (a, i) => le(a, i, { locale: ae, ...r });
308
+ n && typeof n.format == "function" ? o = n.format.bind(n) : o = (a, i) => de(a, i, { locale: ae, ...r });
309
309
  let s = o(e, "PPPP");
310
310
  return t != null && t.today && (s = `Today, ${s}`), s;
311
311
  },
@@ -313,7 +313,7 @@ const ht = {
313
313
  labelWeekNumberHeader: "Week Number",
314
314
  labelWeekday: (e, t, r) => {
315
315
  let n;
316
- return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (o, s) => le(o, s, { locale: ae, ...t }), n(e, "cccc");
316
+ return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (o, s) => de(o, s, { locale: ae, ...t }), n(e, "cccc");
317
317
  }
318
318
  }
319
319
  };
@@ -348,7 +348,7 @@ class z {
348
348
  return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(n, o) : st(n, o);
349
349
  }, this.differenceInCalendarMonths = (n, o) => {
350
350
  var s;
351
- return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(n, o) : lt(n, o);
351
+ return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(n, o) : dt(n, o);
352
352
  }, this.eachMonthOfInterval = (n) => {
353
353
  var o;
354
354
  return (o = this.overrides) != null && o.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(n) : Yn(n);
@@ -378,7 +378,7 @@ class z {
378
378
  return (o = this.overrides) != null && o.endOfYear ? this.overrides.endOfYear(n) : _n(n);
379
379
  }, this.format = (n, o, s) => {
380
380
  var i;
381
- const a = (i = this.overrides) != null && i.format ? this.overrides.format(n, o, this.options) : le(n, o, this.options);
381
+ const a = (i = this.overrides) != null && i.format ? this.overrides.format(n, o, this.options) : de(n, o, this.options);
382
382
  return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(a) : a;
383
383
  }, this.getISOWeek = (n) => {
384
384
  var o;
@@ -400,7 +400,7 @@ class z {
400
400
  return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(n, o) : Pn(n, o);
401
401
  }, this.isDate = (n) => {
402
402
  var o;
403
- return (o = this.overrides) != null && o.isDate ? this.overrides.isDate(n) : dn(n);
403
+ return (o = this.overrides) != null && o.isDate ? this.overrides.isDate(n) : ln(n);
404
404
  }, this.isSameDay = (n, o) => {
405
405
  var s;
406
406
  return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(n, o) : Mn(n, o);
@@ -605,7 +605,7 @@ function Qn(e) {
605
605
  return h.createElement(
606
606
  "span",
607
607
  { "data-disabled": s.disabled, className: o[M.DropdownRoot] },
608
- h.createElement(n.Select, { className: a, ...s }, t == null ? void 0 : t.map(({ value: f, label: l, disabled: d }) => h.createElement(n.Option, { key: f, value: f, disabled: d }, l))),
608
+ h.createElement(n.Select, { className: a, ...s }, t == null ? void 0 : t.map(({ value: f, label: d, disabled: l }) => h.createElement(n.Option, { key: f, value: f, disabled: l }, d))),
609
609
  h.createElement(
610
610
  "span",
611
611
  { className: o[M.CaptionLabel], "aria-hidden": !0 },
@@ -646,7 +646,7 @@ function or(e) {
646
646
  return h.createElement(t.Dropdown, { ...e });
647
647
  }
648
648
  function sr(e) {
649
- const { onPreviousClick: t, onNextClick: r, previousMonth: n, nextMonth: o, ...s } = e, { components: a, classNames: i, labels: { labelPrevious: f, labelNext: l } } = ce(), d = $((y) => {
649
+ const { onPreviousClick: t, onNextClick: r, previousMonth: n, nextMonth: o, ...s } = e, { components: a, classNames: i, labels: { labelPrevious: f, labelNext: d } } = ce(), l = $((y) => {
650
650
  o && (r == null || r(y));
651
651
  }, [o, r]), u = $((y) => {
652
652
  n && (t == null || t(y));
@@ -661,7 +661,7 @@ function sr(e) {
661
661
  ),
662
662
  h.createElement(
663
663
  a.NextMonthButton,
664
- { type: "button", className: i[M.NextMonthButton], tabIndex: o ? void 0 : -1, "aria-disabled": o ? void 0 : !0, "aria-label": l(o), onClick: d },
664
+ { type: "button", className: i[M.NextMonthButton], tabIndex: o ? void 0 : -1, "aria-disabled": o ? void 0 : !0, "aria-label": d(o), onClick: l },
665
665
  h.createElement(a.Chevron, { disabled: o ? void 0 : !0, orientation: "right", className: i[M.Chevron] })
666
666
  )
667
667
  );
@@ -677,11 +677,11 @@ function fr(e) {
677
677
  const { components: t } = ce();
678
678
  return h.createElement(t.Button, { ...e });
679
679
  }
680
- function lr(e) {
680
+ function dr(e) {
681
681
  const { rootRef: t, ...r } = e;
682
682
  return h.createElement("div", { ...r, ref: t });
683
683
  }
684
- function dr(e) {
684
+ function lr(e) {
685
685
  return h.createElement("select", { ...e });
686
686
  }
687
687
  function cr(e) {
@@ -731,8 +731,8 @@ const Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
731
731
  NextMonthButton: ar,
732
732
  Option: ir,
733
733
  PreviousMonthButton: fr,
734
- Root: lr,
735
- Select: dr,
734
+ Root: dr,
735
+ Select: lr,
736
736
  Week: cr,
737
737
  WeekNumber: yr,
738
738
  WeekNumberHeader: mr,
@@ -778,14 +778,14 @@ function ee(e, t, r = J) {
778
778
  if (Mt(i))
779
779
  return Array.isArray(i.dayOfWeek) ? i.dayOfWeek.includes(e.getDay()) : i.dayOfWeek === e.getDay();
780
780
  if (Ae(i)) {
781
- const f = s(i.before, e), l = s(i.after, e), d = f > 0, u = l < 0;
782
- return a(i.before, i.after) ? u && d : d || u;
781
+ const f = s(i.before, e), d = s(i.after, e), l = f > 0, u = d < 0;
782
+ return a(i.before, i.after) ? u && l : l || u;
783
783
  }
784
784
  return ze(i) ? s(e, i.after) > 0 : He(i) ? s(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
785
785
  });
786
786
  }
787
787
  function vr(e, t, r, n, o) {
788
- const { disabled: s, hidden: a, modifiers: i, showOutsideDays: f, broadcastCalendar: l, today: d = o.today() } = t, { isSameDay: u, isSameMonth: y, startOfMonth: m, isBefore: p, endOfMonth: W, isAfter: b } = o, S = r && m(r), g = n && W(n), D = {
788
+ const { disabled: s, hidden: a, modifiers: i, showOutsideDays: f, broadcastCalendar: d, today: l = o.today() } = t, { isSameDay: u, isSameMonth: y, startOfMonth: m, isBefore: p, endOfMonth: W, isAfter: b } = o, S = r && m(r), g = n && W(n), D = {
789
789
  [E.focused]: [],
790
790
  [E.outside]: [],
791
791
  [E.disabled]: [],
@@ -794,7 +794,7 @@ function vr(e, t, r, n, o) {
794
794
  }, N = {};
795
795
  for (const v of e) {
796
796
  const { date: c, displayMonth: w } = v, T = !!(w && !y(c, w)), I = !!(S && p(c, S)), x = !!(g && b(c, g)), H = !!(s && ee(c, s, o)), ne = !!(a && ee(c, a, o)) || I || x || // Broadcast calendar will show outside days as default
797
- !l && !f && T || l && f === !1 && T, Q = u(c, d);
797
+ !d && !f && T || d && f === !1 && T, Q = u(c, l);
798
798
  T && D.outside.push(v), H && D.disabled.push(v), ne && D.hidden.push(v), Q && D.today.push(v), i && Object.keys(i).forEach((j) => {
799
799
  const oe = i == null ? void 0 : i[j];
800
800
  oe && ee(c, oe, o) && (N[j] ? N[j].push(v) : N[j] = [v]);
@@ -969,12 +969,12 @@ function Pr(e, t) {
969
969
  };
970
970
  }
971
971
  function Ar(e, t, r, n, o) {
972
- const { startOfMonth: s, startOfYear: a, endOfYear: i, eachMonthOfInterval: f, getMonth: l } = o;
972
+ const { startOfMonth: s, startOfYear: a, endOfYear: i, eachMonthOfInterval: f, getMonth: d } = o;
973
973
  return f({
974
974
  start: a(e),
975
975
  end: i(e)
976
976
  }).map((y) => {
977
- const m = n.formatMonthDropdown(y, o), p = l(y), W = t && y < s(t) || r && y > s(r) || !1;
977
+ const m = n.formatMonthDropdown(y, o), p = d(y), W = t && y < s(t) || r && y > s(r) || !1;
978
978
  return { value: p, label: m, disabled: W };
979
979
  });
980
980
  }
@@ -998,7 +998,7 @@ function Hr(e, t, r, n) {
998
998
  function jr(e, t, r, n, o = !1) {
999
999
  if (!e || !t)
1000
1000
  return;
1001
- const { startOfYear: s, endOfYear: a, eachYearOfInterval: i, getYear: f } = n, l = s(e), d = a(t), u = i({ start: l, end: d });
1001
+ const { startOfYear: s, endOfYear: a, eachYearOfInterval: i, getYear: f } = n, d = s(e), l = a(t), u = i({ start: d, end: l });
1002
1002
  return o && u.reverse(), u.map((y) => {
1003
1003
  const m = r.formatYearDropdown(y, n);
1004
1004
  return {
@@ -1011,97 +1011,97 @@ function jr(e, t, r, n, o = !1) {
1011
1011
  function $r(e, t = {}) {
1012
1012
  var i;
1013
1013
  const { weekStartsOn: r, locale: n } = t, o = r ?? ((i = n == null ? void 0 : n.options) == null ? void 0 : i.weekStartsOn) ?? 0, s = (f) => {
1014
- const l = typeof f == "number" || typeof f == "string" ? new Date(f) : f;
1015
- return new B(l.getFullYear(), l.getMonth(), l.getDate(), 12, 0, 0, e);
1014
+ const d = typeof f == "number" || typeof f == "string" ? new Date(f) : f;
1015
+ return new B(d.getFullYear(), d.getMonth(), d.getDate(), 12, 0, 0, e);
1016
1016
  }, a = (f) => {
1017
- const l = s(f);
1018
- return new Date(l.getFullYear(), l.getMonth(), l.getDate(), 0, 0, 0, 0);
1017
+ const d = s(f);
1018
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate(), 0, 0, 0, 0);
1019
1019
  };
1020
1020
  return {
1021
1021
  today: () => s(B.tz(e)),
1022
- newDate: (f, l, d) => new B(f, l, d, 12, 0, 0, e),
1022
+ newDate: (f, d, l) => new B(f, d, l, 12, 0, 0, e),
1023
1023
  startOfDay: (f) => s(f),
1024
- startOfWeek: (f, l) => {
1025
- const d = s(f), u = (l == null ? void 0 : l.weekStartsOn) ?? o, y = (d.getDay() - u + 7) % 7;
1026
- return d.setDate(d.getDate() - y), d;
1024
+ startOfWeek: (f, d) => {
1025
+ const l = s(f), u = (d == null ? void 0 : d.weekStartsOn) ?? o, y = (l.getDay() - u + 7) % 7;
1026
+ return l.setDate(l.getDate() - y), l;
1027
1027
  },
1028
1028
  startOfISOWeek: (f) => {
1029
- const l = s(f), d = (l.getDay() - 1 + 7) % 7;
1030
- return l.setDate(l.getDate() - d), l;
1029
+ const d = s(f), l = (d.getDay() - 1 + 7) % 7;
1030
+ return d.setDate(d.getDate() - l), d;
1031
1031
  },
1032
1032
  startOfMonth: (f) => {
1033
- const l = s(f);
1034
- return l.setDate(1), l;
1033
+ const d = s(f);
1034
+ return d.setDate(1), d;
1035
1035
  },
1036
1036
  startOfYear: (f) => {
1037
- const l = s(f);
1038
- return l.setMonth(0, 1), l;
1037
+ const d = s(f);
1038
+ return d.setMonth(0, 1), d;
1039
1039
  },
1040
- endOfWeek: (f, l) => {
1041
- const d = s(f), m = ((((l == null ? void 0 : l.weekStartsOn) ?? o) + 6) % 7 - d.getDay() + 7) % 7;
1042
- return d.setDate(d.getDate() + m), d;
1040
+ endOfWeek: (f, d) => {
1041
+ const l = s(f), m = ((((d == null ? void 0 : d.weekStartsOn) ?? o) + 6) % 7 - l.getDay() + 7) % 7;
1042
+ return l.setDate(l.getDate() + m), l;
1043
1043
  },
1044
1044
  endOfISOWeek: (f) => {
1045
- const l = s(f), d = (7 - l.getDay()) % 7;
1046
- return l.setDate(l.getDate() + d), l;
1045
+ const d = s(f), l = (7 - d.getDay()) % 7;
1046
+ return d.setDate(d.getDate() + l), d;
1047
1047
  },
1048
1048
  endOfMonth: (f) => {
1049
- const l = s(f);
1050
- return l.setMonth(l.getMonth() + 1, 0), l;
1049
+ const d = s(f);
1050
+ return d.setMonth(d.getMonth() + 1, 0), d;
1051
1051
  },
1052
1052
  endOfYear: (f) => {
1053
- const l = s(f);
1054
- return l.setMonth(11, 31), l;
1053
+ const d = s(f);
1054
+ return d.setMonth(11, 31), d;
1055
1055
  },
1056
1056
  eachMonthOfInterval: (f) => {
1057
- const l = s(f.start), d = s(f.end), u = [], y = new B(l.getFullYear(), l.getMonth(), 1, 12, 0, 0, e), m = d.getFullYear() * 12 + d.getMonth();
1057
+ const d = s(f.start), l = s(f.end), u = [], y = new B(d.getFullYear(), d.getMonth(), 1, 12, 0, 0, e), m = l.getFullYear() * 12 + l.getMonth();
1058
1058
  for (; y.getFullYear() * 12 + y.getMonth() <= m; )
1059
1059
  u.push(new B(y, e)), y.setMonth(y.getMonth() + 1, 1);
1060
1060
  return u;
1061
1061
  },
1062
1062
  // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
1063
1063
  // mutate the same TZDate, and return it.
1064
- addDays: (f, l) => {
1065
- const d = s(f);
1066
- return d.setDate(d.getDate() + l), d;
1064
+ addDays: (f, d) => {
1065
+ const l = s(f);
1066
+ return l.setDate(l.getDate() + d), l;
1067
1067
  },
1068
- addWeeks: (f, l) => {
1069
- const d = s(f);
1070
- return d.setDate(d.getDate() + l * 7), d;
1068
+ addWeeks: (f, d) => {
1069
+ const l = s(f);
1070
+ return l.setDate(l.getDate() + d * 7), l;
1071
1071
  },
1072
- addMonths: (f, l) => {
1073
- const d = s(f);
1074
- return d.setMonth(d.getMonth() + l), d;
1072
+ addMonths: (f, d) => {
1073
+ const l = s(f);
1074
+ return l.setMonth(l.getMonth() + d), l;
1075
1075
  },
1076
- addYears: (f, l) => {
1077
- const d = s(f);
1078
- return d.setFullYear(d.getFullYear() + l), d;
1076
+ addYears: (f, d) => {
1077
+ const l = s(f);
1078
+ return l.setFullYear(l.getFullYear() + d), l;
1079
1079
  },
1080
1080
  eachYearOfInterval: (f) => {
1081
- const l = s(f.start), d = s(f.end), u = [], y = new B(l.getFullYear(), 0, 1, 12, 0, 0, e);
1082
- for (; y.getFullYear() <= d.getFullYear(); )
1081
+ const d = s(f.start), l = s(f.end), u = [], y = new B(d.getFullYear(), 0, 1, 12, 0, 0, e);
1082
+ for (; y.getFullYear() <= l.getFullYear(); )
1083
1083
  u.push(new B(y, e)), y.setFullYear(y.getFullYear() + 1, 0, 1);
1084
1084
  return u;
1085
1085
  },
1086
- getWeek: (f, l) => {
1086
+ getWeek: (f, d) => {
1087
1087
  var u;
1088
- const d = a(f);
1089
- return it(d, {
1090
- weekStartsOn: (l == null ? void 0 : l.weekStartsOn) ?? o,
1091
- firstWeekContainsDate: (l == null ? void 0 : l.firstWeekContainsDate) ?? ((u = n == null ? void 0 : n.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1
1088
+ const l = a(f);
1089
+ return it(l, {
1090
+ weekStartsOn: (d == null ? void 0 : d.weekStartsOn) ?? o,
1091
+ firstWeekContainsDate: (d == null ? void 0 : d.firstWeekContainsDate) ?? ((u = n == null ? void 0 : n.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1
1092
1092
  });
1093
1093
  },
1094
1094
  getISOWeek: (f) => {
1095
- const l = a(f);
1096
- return at(l);
1095
+ const d = a(f);
1096
+ return at(d);
1097
1097
  },
1098
- differenceInCalendarDays: (f, l) => {
1099
- const d = a(f), u = a(l);
1100
- return st(d, u);
1098
+ differenceInCalendarDays: (f, d) => {
1099
+ const l = a(f), u = a(d);
1100
+ return st(l, u);
1101
1101
  },
1102
- differenceInCalendarMonths: (f, l) => {
1103
- const d = a(f), u = a(l);
1104
- return lt(d, u);
1102
+ differenceInCalendarMonths: (f, d) => {
1103
+ const l = a(f), u = a(d);
1104
+ return dt(l, u);
1105
1105
  }
1106
1106
  };
1107
1107
  }
@@ -1111,12 +1111,12 @@ const ue = (e) => e instanceof HTMLElement ? e : null, _e = (e) => [
1111
1111
  function Ur(e, t, { classNames: r, months: n, focused: o, dateLib: s }) {
1112
1112
  const a = ke(null), i = ke(n), f = ke(!1);
1113
1113
  an(() => {
1114
- const l = i.current;
1114
+ const d = i.current;
1115
1115
  if (i.current = n, !t || !e.current || // safety check because the ref can be set to anything by consumers
1116
1116
  !(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
1117
- n.length === 0 || l.length === 0 || n.length !== l.length)
1117
+ n.length === 0 || d.length === 0 || n.length !== d.length)
1118
1118
  return;
1119
- const d = s.isSameMonth(n[0].date, l[0].date), u = s.isAfter(n[0].date, l[0].date), y = u ? r[A.caption_after_enter] : r[A.caption_before_enter], m = u ? r[A.weeks_after_enter] : r[A.weeks_before_enter], p = a.current, W = e.current.cloneNode(!0);
1119
+ const l = s.isSameMonth(n[0].date, d[0].date), u = s.isAfter(n[0].date, d[0].date), y = u ? r[A.caption_after_enter] : r[A.caption_before_enter], m = u ? r[A.weeks_after_enter] : r[A.weeks_before_enter], p = a.current, W = e.current.cloneNode(!0);
1120
1120
  if (W instanceof HTMLElement ? (_e(W).forEach((D) => {
1121
1121
  if (!(D instanceof HTMLElement))
1122
1122
  return;
@@ -1126,7 +1126,7 @@ function Ur(e, t, { classNames: r, months: n, focused: o, dateLib: s }) {
1126
1126
  v && v.classList.remove(y);
1127
1127
  const c = Ee(D);
1128
1128
  c && c.classList.remove(m);
1129
- }), a.current = W) : a.current = null, f.current || d || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
1129
+ }), a.current = W) : a.current = null, f.current || l || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
1130
1130
  o)
1131
1131
  return;
1132
1132
  const b = p instanceof HTMLElement ? _e(p) : [], S = _e(e.current);
@@ -1157,16 +1157,16 @@ function Ur(e, t, { classNames: r, months: n, focused: o, dateLib: s }) {
1157
1157
  });
1158
1158
  }
1159
1159
  function Vr(e, t, r, n) {
1160
- const o = e[0], s = e[e.length - 1], { ISOWeek: a, fixedWeeks: i, broadcastCalendar: f } = r ?? {}, { addDays: l, differenceInCalendarDays: d, differenceInCalendarMonths: u, endOfBroadcastWeek: y, endOfISOWeek: m, endOfMonth: p, endOfWeek: W, isAfter: b, startOfBroadcastWeek: S, startOfISOWeek: g, startOfWeek: D } = n, N = f ? S(o, n) : a ? g(o) : D(o), v = f ? y(s) : a ? m(p(s)) : W(p(s)), c = t && (f ? y(t) : a ? m(t) : W(t)), w = c && b(v, c) ? c : v, T = d(w, N), I = u(s, o) + 1, x = [];
1160
+ const o = e[0], s = e[e.length - 1], { ISOWeek: a, fixedWeeks: i, broadcastCalendar: f } = r ?? {}, { addDays: d, differenceInCalendarDays: l, differenceInCalendarMonths: u, endOfBroadcastWeek: y, endOfISOWeek: m, endOfMonth: p, endOfWeek: W, isAfter: b, startOfBroadcastWeek: S, startOfISOWeek: g, startOfWeek: D } = n, N = f ? S(o, n) : a ? g(o) : D(o), v = f ? y(s) : a ? m(p(s)) : W(p(s)), c = t && (f ? y(t) : a ? m(t) : W(t)), w = c && b(v, c) ? c : v, T = l(w, N), I = u(s, o) + 1, x = [];
1161
1161
  for (let Q = 0; Q <= T; Q++) {
1162
- const j = l(N, Q);
1162
+ const j = d(N, Q);
1163
1163
  x.push(j);
1164
1164
  }
1165
1165
  const ne = (f ? 35 : 42) * I;
1166
1166
  if (i && x.length < ne) {
1167
1167
  const Q = ne - x.length;
1168
1168
  for (let j = 0; j < Q; j++) {
1169
- const oe = l(x[x.length - 1], 1);
1169
+ const oe = d(x[x.length - 1], 1);
1170
1170
  x.push(oe);
1171
1171
  }
1172
1172
  }
@@ -1192,15 +1192,15 @@ function Zr(e, t, r, n) {
1192
1192
  function Le(e, t, r, n) {
1193
1193
  const { month: o, defaultMonth: s, today: a = n.today(), numberOfMonths: i = 1 } = e;
1194
1194
  let f = o || s || a;
1195
- const { differenceInCalendarMonths: l, addMonths: d, startOfMonth: u } = n;
1196
- if (r && l(r, f) < i - 1) {
1195
+ const { differenceInCalendarMonths: d, addMonths: l, startOfMonth: u } = n;
1196
+ if (r && d(r, f) < i - 1) {
1197
1197
  const y = -1 * (i - 1);
1198
- f = d(r, y);
1198
+ f = l(r, y);
1199
1199
  }
1200
- return t && l(f, t) < 0 && (f = t), u(f);
1200
+ return t && d(f, t) < 0 && (f = t), u(f);
1201
1201
  }
1202
1202
  function Jr(e, t, r, n) {
1203
- const { addDays: o, endOfBroadcastWeek: s, endOfISOWeek: a, endOfMonth: i, endOfWeek: f, getISOWeek: l, getWeek: d, startOfBroadcastWeek: u, startOfISOWeek: y, startOfWeek: m } = n, p = e.reduce((W, b) => {
1203
+ const { addDays: o, endOfBroadcastWeek: s, endOfISOWeek: a, endOfMonth: i, endOfWeek: f, getISOWeek: d, getWeek: l, startOfBroadcastWeek: u, startOfISOWeek: y, startOfWeek: m } = n, p = e.reduce((W, b) => {
1204
1204
  const S = r.broadcastCalendar ? u(b, n) : r.ISOWeek ? y(b) : m(b), g = r.broadcastCalendar ? s(b) : r.ISOWeek ? a(i(b)) : f(i(b)), D = t.filter((w) => w >= S && w <= g), N = r.broadcastCalendar ? 35 : 42;
1205
1205
  if (r.fixedWeeks && D.length < N) {
1206
1206
  const w = t.filter((T) => {
@@ -1210,7 +1210,7 @@ function Jr(e, t, r, n) {
1210
1210
  D.push(...w);
1211
1211
  }
1212
1212
  const v = D.reduce((w, T) => {
1213
- const I = r.ISOWeek ? l(T) : d(T), x = w.find((ne) => ne.weekNumber === I), H = new yt(T, b, n);
1213
+ const I = r.ISOWeek ? d(T) : l(T), x = w.find((ne) => ne.weekNumber === I), H = new yt(T, b, n);
1214
1214
  return x ? x.days.push(H) : w.push(new Rn(I, [H])), w;
1215
1215
  }, []), c = new Gn(b, v);
1216
1216
  return W.push(c), W;
@@ -1219,10 +1219,10 @@ function Jr(e, t, r, n) {
1219
1219
  }
1220
1220
  function Qr(e, t) {
1221
1221
  let { startMonth: r, endMonth: n } = e;
1222
- const { startOfYear: o, startOfDay: s, startOfMonth: a, endOfMonth: i, addYears: f, endOfYear: l, newDate: d, today: u } = t, { fromYear: y, toYear: m, fromMonth: p, toMonth: W } = e;
1223
- !r && p && (r = p), !r && y && (r = t.newDate(y, 0, 1)), !n && W && (n = W), !n && m && (n = d(m, 11, 31));
1222
+ const { startOfYear: o, startOfDay: s, startOfMonth: a, endOfMonth: i, addYears: f, endOfYear: d, newDate: l, today: u } = t, { fromYear: y, toYear: m, fromMonth: p, toMonth: W } = e;
1223
+ !r && p && (r = p), !r && y && (r = t.newDate(y, 0, 1)), !n && W && (n = W), !n && m && (n = l(m, 11, 31));
1224
1224
  const b = e.captionLayout === "dropdown" || e.captionLayout === "dropdown-years";
1225
- return r ? r = a(r) : y ? r = d(y, 0, 1) : !r && b && (r = o(f(e.today ?? u(), -100))), n ? n = i(n) : m ? n = d(m, 11, 31) : !n && b && (n = l(e.today ?? u())), [
1225
+ return r ? r = a(r) : y ? r = l(y, 0, 1) : !r && b && (r = o(f(e.today ?? u(), -100))), n ? n = i(n) : m ? n = l(m, 11, 31) : !n && b && (n = d(e.today ?? u())), [
1226
1226
  r && s(r),
1227
1227
  n && s(n)
1228
1228
  ];
@@ -1230,20 +1230,20 @@ function Qr(e, t) {
1230
1230
  function Xr(e, t, r, n) {
1231
1231
  if (r.disableNavigation)
1232
1232
  return;
1233
- const { pagedNavigation: o, numberOfMonths: s = 1 } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: f } = n, l = o ? s : 1, d = a(e);
1233
+ const { pagedNavigation: o, numberOfMonths: s = 1 } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: f } = n, d = o ? s : 1, l = a(e);
1234
1234
  if (!t)
1235
- return i(d, l);
1235
+ return i(l, d);
1236
1236
  if (!(f(t, e) < s))
1237
- return i(d, l);
1237
+ return i(l, d);
1238
1238
  }
1239
1239
  function Lr(e, t, r, n) {
1240
1240
  if (r.disableNavigation)
1241
1241
  return;
1242
- const { pagedNavigation: o, numberOfMonths: s } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: f } = n, l = o ? s ?? 1 : 1, d = a(e);
1242
+ const { pagedNavigation: o, numberOfMonths: s } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: f } = n, d = o ? s ?? 1 : 1, l = a(e);
1243
1243
  if (!t)
1244
- return i(d, -l);
1245
- if (!(f(d, t) <= 0))
1246
- return i(d, -l);
1244
+ return i(l, -d);
1245
+ if (!(f(l, t) <= 0))
1246
+ return i(l, -d);
1247
1247
  }
1248
1248
  function eo(e) {
1249
1249
  const t = [];
@@ -1264,7 +1264,7 @@ function to(e, t) {
1264
1264
  const v = Le(e, r, n, t);
1265
1265
  f(v);
1266
1266
  }, [e.timeZone]);
1267
- const { months: l, weeks: d, days: u, previousMonth: y, nextMonth: m } = De(() => {
1267
+ const { months: d, weeks: l, days: u, previousMonth: y, nextMonth: m } = De(() => {
1268
1268
  const v = Zr(i, n, { numberOfMonths: e.numberOfMonths }, t), c = Vr(v, e.endMonth ? s(e.endMonth) : void 0, {
1269
1269
  ISOWeek: e.ISOWeek,
1270
1270
  fixedWeeks: e.fixedWeeks,
@@ -1295,15 +1295,15 @@ function to(e, t) {
1295
1295
  e.numberOfMonths,
1296
1296
  e.pagedNavigation,
1297
1297
  e.reverseMonths
1298
- ]), { disableNavigation: p, onMonthChange: W } = e, b = (v) => d.some((c) => c.days.some((w) => w.isEqualTo(v))), S = (v) => {
1298
+ ]), { disableNavigation: p, onMonthChange: W } = e, b = (v) => l.some((c) => c.days.some((w) => w.isEqualTo(v))), S = (v) => {
1299
1299
  if (p)
1300
1300
  return;
1301
1301
  let c = o(v);
1302
1302
  r && c < o(r) && (c = o(r)), n && c > o(n) && (c = o(n)), f(c), W == null || W(c);
1303
1303
  };
1304
1304
  return {
1305
- months: l,
1306
- weeks: d,
1305
+ months: d,
1306
+ weeks: l,
1307
1307
  days: u,
1308
1308
  navStart: r,
1309
1309
  navEnd: n,
@@ -1331,11 +1331,11 @@ function no(e, t, r, n) {
1331
1331
  return o || (o = e.find((a) => et(t(a)))), o;
1332
1332
  }
1333
1333
  function ro(e, t, r, n, o, s, a) {
1334
- const { ISOWeek: i, broadcastCalendar: f } = s, { addDays: l, addMonths: d, addWeeks: u, addYears: y, endOfBroadcastWeek: m, endOfISOWeek: p, endOfWeek: W, max: b, min: S, startOfBroadcastWeek: g, startOfISOWeek: D, startOfWeek: N } = a;
1334
+ const { ISOWeek: i, broadcastCalendar: f } = s, { addDays: d, addMonths: l, addWeeks: u, addYears: y, endOfBroadcastWeek: m, endOfISOWeek: p, endOfWeek: W, max: b, min: S, startOfBroadcastWeek: g, startOfISOWeek: D, startOfWeek: N } = a;
1335
1335
  let c = {
1336
- day: l,
1336
+ day: d,
1337
1337
  week: u,
1338
- month: d,
1338
+ month: l,
1339
1339
  year: y,
1340
1340
  startOfWeek: (w) => f ? g(w, a) : i ? D(w) : N(w),
1341
1341
  endOfWeek: (w) => f ? m(w) : i ? p(w) : W(w)
@@ -1345,50 +1345,50 @@ function ro(e, t, r, n, o, s, a) {
1345
1345
  function Yt(e, t, r, n, o, s, a, i = 0) {
1346
1346
  if (i > 365)
1347
1347
  return;
1348
- const f = ro(e, t, r.date, n, o, s, a), l = !!(s.disabled && ee(f, s.disabled, a)), d = !!(s.hidden && ee(f, s.hidden, a)), u = f, y = new yt(f, u, a);
1349
- return !l && !d ? y : Yt(e, t, y, n, o, s, a, i + 1);
1348
+ const f = ro(e, t, r.date, n, o, s, a), d = !!(s.disabled && ee(f, s.disabled, a)), l = !!(s.hidden && ee(f, s.hidden, a)), u = f, y = new yt(f, u, a);
1349
+ return !d && !l ? y : Yt(e, t, y, n, o, s, a, i + 1);
1350
1350
  }
1351
1351
  function oo(e, t, r, n, o) {
1352
- const { autoFocus: s } = e, [a, i] = Be(), f = no(t.days, r, n || (() => !1), a), [l, d] = Be(s ? f : void 0);
1352
+ const { autoFocus: s } = e, [a, i] = Be(), f = no(t.days, r, n || (() => !1), a), [d, l] = Be(s ? f : void 0);
1353
1353
  return {
1354
1354
  isFocusTarget: (W) => !!(f != null && f.isEqualTo(W)),
1355
- setFocused: d,
1356
- focused: l,
1355
+ setFocused: l,
1356
+ focused: d,
1357
1357
  blur: () => {
1358
- i(l), d(void 0);
1358
+ i(d), l(void 0);
1359
1359
  },
1360
1360
  moveFocus: (W, b) => {
1361
- if (!l)
1361
+ if (!d)
1362
1362
  return;
1363
- const S = Yt(W, b, l, t.navStart, t.navEnd, e, o);
1364
- S && (e.disableNavigation && !t.days.some((D) => D.isEqualTo(S)) || (t.goToDay(S), d(S)));
1363
+ const S = Yt(W, b, d, t.navStart, t.navEnd, e, o);
1364
+ S && (e.disableNavigation && !t.days.some((D) => D.isEqualTo(S)) || (t.goToDay(S), l(S)));
1365
1365
  }
1366
1366
  };
1367
1367
  }
1368
1368
  function so(e, t) {
1369
- const { selected: r, required: n, onSelect: o } = e, [s, a] = be(r, o ? r : void 0), i = o ? r : s, { isSameDay: f } = t, l = (m) => (i == null ? void 0 : i.some((p) => f(p, m))) ?? !1, { min: d, max: u } = e;
1369
+ const { selected: r, required: n, onSelect: o } = e, [s, a] = be(r, o ? r : void 0), i = o ? r : s, { isSameDay: f } = t, d = (m) => (i == null ? void 0 : i.some((p) => f(p, m))) ?? !1, { min: l, max: u } = e;
1370
1370
  return {
1371
1371
  selected: i,
1372
1372
  select: (m, p, W) => {
1373
1373
  let b = [...i ?? []];
1374
- if (l(m)) {
1375
- if ((i == null ? void 0 : i.length) === d || n && (i == null ? void 0 : i.length) === 1)
1374
+ if (d(m)) {
1375
+ if ((i == null ? void 0 : i.length) === l || n && (i == null ? void 0 : i.length) === 1)
1376
1376
  return;
1377
1377
  b = i == null ? void 0 : i.filter((S) => !f(S, m));
1378
1378
  } else
1379
1379
  (i == null ? void 0 : i.length) === u ? b = [m] : b = [...b, m];
1380
1380
  return o || a(b), o == null || o(b, m, p, W), b;
1381
1381
  },
1382
- isSelected: l
1382
+ isSelected: d
1383
1383
  };
1384
1384
  }
1385
1385
  function ao(e, t, r = 0, n = 0, o = !1, s = J) {
1386
- const { from: a, to: i } = t || {}, { isSameDay: f, isAfter: l, isBefore: d } = s;
1386
+ const { from: a, to: i } = t || {}, { isSameDay: f, isAfter: d, isBefore: l } = s;
1387
1387
  let u;
1388
1388
  if (!a && !i)
1389
1389
  u = { from: e, to: r > 0 ? void 0 : e };
1390
1390
  else if (a && !i)
1391
- f(a, e) ? r === 0 ? u = { from: a, to: e } : o ? u = { from: a, to: void 0 } : u = void 0 : d(e, a) ? u = { from: e, to: a } : u = { from: a, to: e };
1391
+ f(a, e) ? r === 0 ? u = { from: a, to: e } : o ? u = { from: a, to: void 0 } : u = void 0 : l(e, a) ? u = { from: e, to: a } : u = { from: a, to: e };
1392
1392
  else if (a && i)
1393
1393
  if (f(a, e) && f(i, e))
1394
1394
  o ? u = { from: a, to: i } : u = void 0;
@@ -1396,11 +1396,11 @@ function ao(e, t, r = 0, n = 0, o = !1, s = J) {
1396
1396
  u = { from: a, to: r > 0 ? void 0 : e };
1397
1397
  else if (f(i, e))
1398
1398
  u = { from: e, to: r > 0 ? void 0 : e };
1399
- else if (d(e, a))
1400
- u = { from: e, to: i };
1401
1399
  else if (l(e, a))
1400
+ u = { from: e, to: i };
1401
+ else if (d(e, a))
1402
1402
  u = { from: a, to: e };
1403
- else if (l(e, i))
1403
+ else if (d(e, i))
1404
1404
  u = { from: a, to: e };
1405
1405
  else
1406
1406
  throw new Error("Invalid range");
@@ -1435,8 +1435,8 @@ function fo(e, t, r = J) {
1435
1435
  if (a.length) {
1436
1436
  let i = e.from;
1437
1437
  const f = r.differenceInCalendarDays(e.to, e.from);
1438
- for (let l = 0; l <= f; l++) {
1439
- if (a.some((d) => d(i)))
1438
+ for (let d = 0; d <= f; d++) {
1439
+ if (a.some((l) => l(i)))
1440
1440
  return !0;
1441
1441
  i = r.addDays(i, 1);
1442
1442
  }
@@ -1444,19 +1444,19 @@ function fo(e, t, r = J) {
1444
1444
  return !1;
1445
1445
  }
1446
1446
  function lo(e, t) {
1447
- const { disabled: r, excludeDisabled: n, resetOnSelect: o, selected: s, required: a, onSelect: i } = e, [f, l] = be(s, i ? s : void 0), d = i ? s : f;
1447
+ const { disabled: r, excludeDisabled: n, resetOnSelect: o, selected: s, required: a, onSelect: i } = e, [f, d] = be(s, i ? s : void 0), l = i ? s : f;
1448
1448
  return {
1449
- selected: d,
1449
+ selected: l,
1450
1450
  select: (m, p, W) => {
1451
1451
  const { min: b, max: S } = e;
1452
1452
  let g;
1453
1453
  if (m) {
1454
- const D = d == null ? void 0 : d.from, N = d == null ? void 0 : d.to, v = !!D && !!N, c = !!D && !!N && t.isSameDay(D, N) && t.isSameDay(m, D);
1455
- o && (v || !(d != null && d.from)) ? !a && c ? g = void 0 : g = { from: m, to: void 0 } : g = ao(m, d, b, S, a, t);
1454
+ const D = l == null ? void 0 : l.from, N = l == null ? void 0 : l.to, v = !!D && !!N, c = !!D && !!N && t.isSameDay(D, N) && t.isSameDay(m, D);
1455
+ o && (v || !(l != null && l.from)) ? !a && c ? g = void 0 : g = { from: m, to: void 0 } : g = ao(m, l, b, S, a, t);
1456
1456
  }
1457
- return n && r && (g != null && g.from) && g.to && fo({ from: g.from, to: g.to }, r, t) && (g.from = m, g.to = void 0), i || l(g), i == null || i(g, m, p, W), g;
1457
+ return n && r && (g != null && g.from) && g.to && fo({ from: g.from, to: g.to }, r, t) && (g.from = m, g.to = void 0), i || d(g), i == null || i(g, m, p, W), g;
1458
1458
  },
1459
- isSelected: (m) => d && L(d, m, !1, t)
1459
+ isSelected: (m) => l && L(l, m, !1, t)
1460
1460
  };
1461
1461
  }
1462
1462
  function co(e, t) {
@@ -1561,7 +1561,7 @@ function Oo(e) {
1561
1561
  t.classNames
1562
1562
  ]);
1563
1563
  t.today || (t = { ...t, today: a.today() });
1564
- const { captionLayout: l, mode: d, navLayout: u, numberOfMonths: y = 1, onDayBlur: m, onDayClick: p, onDayFocus: W, onDayKeyDown: b, onDayMouseEnter: S, onDayMouseLeave: g, onNextClick: D, onPrevClick: N, showWeekNumber: v, styles: c } = t, { formatCaption: w, formatDay: T, formatMonthDropdown: I, formatWeekNumber: x, formatWeekNumberHeader: H, formatWeekdayName: ne, formatYearDropdown: Q } = o, j = to(t, a), { days: oe, months: he, navStart: Oe, navEnd: pe, previousMonth: G, nextMonth: R, goToMonth: X } = j, we = vr(oe, t, Oe, pe, a), { isSelected: ie, select: fe, selected: ye } = uo(t, a) ?? {}, { blur: qe, focused: me, isFocusTarget: _t, moveFocus: Ge, setFocused: Me } = oo(t, j, we, ie ?? (() => !1), a), { labelDayButton: Tt, labelGridcell: Et, labelGrid: xt, labelMonthDropdown: It, labelNav: Re, labelPrevious: Bt, labelNext: Ft, labelWeekday: Pt, labelWeekNumber: At, labelWeekNumberHeader: zt, labelYearDropdown: Ht } = s, jt = De(() => Hr(a, t.ISOWeek, t.broadcastCalendar, t.today), [a, t.ISOWeek, t.broadcastCalendar, t.today]), Ue = d !== void 0 || p !== void 0, We = $(() => {
1564
+ const { captionLayout: d, mode: l, navLayout: u, numberOfMonths: y = 1, onDayBlur: m, onDayClick: p, onDayFocus: W, onDayKeyDown: b, onDayMouseEnter: S, onDayMouseLeave: g, onNextClick: D, onPrevClick: N, showWeekNumber: v, styles: c } = t, { formatCaption: w, formatDay: T, formatMonthDropdown: I, formatWeekNumber: x, formatWeekNumberHeader: H, formatWeekdayName: ne, formatYearDropdown: Q } = o, j = to(t, a), { days: oe, months: he, navStart: Oe, navEnd: pe, previousMonth: G, nextMonth: R, goToMonth: X } = j, we = vr(oe, t, Oe, pe, a), { isSelected: ie, select: fe, selected: ye } = uo(t, a) ?? {}, { blur: qe, focused: me, isFocusTarget: _t, moveFocus: Ge, setFocused: Me } = oo(t, j, we, ie ?? (() => !1), a), { labelDayButton: Tt, labelGridcell: Et, labelGrid: xt, labelMonthDropdown: It, labelNav: Re, labelPrevious: Bt, labelNext: Ft, labelWeekday: Pt, labelWeekNumber: At, labelWeekNumberHeader: zt, labelYearDropdown: Ht } = s, jt = De(() => Hr(a, t.ISOWeek, t.broadcastCalendar, t.today), [a, t.ISOWeek, t.broadcastCalendar, t.today]), Ue = l !== void 0 || p !== void 0, We = $(() => {
1565
1565
  G && (X(G), N == null || N(G));
1566
1566
  }, [G, X, N]), Ne = $(() => {
1567
1567
  R && (X(R), D == null || D(R));
@@ -1656,11 +1656,11 @@ function Oo(e) {
1656
1656
  { type: "button", className: f[M.PreviousMonthButton], tabIndex: G ? void 0 : -1, "aria-disabled": G ? void 0 : !0, "aria-label": Bt(G), onClick: We, "data-animated-button": t.animate ? "true" : void 0 },
1657
1657
  h.createElement(n.Chevron, { disabled: G ? void 0 : !0, className: f[M.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
1658
1658
  ),
1659
- h.createElement(n.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: f[M.MonthCaption], style: c == null ? void 0 : c[M.MonthCaption], calendarMonth: O, displayIndex: _ }, l != null && l.startsWith("dropdown") ? h.createElement(
1659
+ h.createElement(n.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: f[M.MonthCaption], style: c == null ? void 0 : c[M.MonthCaption], calendarMonth: O, displayIndex: _ }, d != null && d.startsWith("dropdown") ? h.createElement(
1660
1660
  n.DropdownNav,
1661
1661
  { className: f[M.Dropdowns], style: c == null ? void 0 : c[M.Dropdowns] },
1662
1662
  (() => {
1663
- const k = l === "dropdown" || l === "dropdown-months" ? h.createElement(n.MonthsDropdown, { key: "month", className: f[M.MonthsDropdown], "aria-label": It(), classNames: f, components: n, disabled: !!t.disableNavigation, onChange: Kt(O.date), options: Ar(O.date, Oe, pe, o, a), style: c == null ? void 0 : c[M.Dropdown], value: a.getMonth(O.date) }) : h.createElement("span", { key: "month" }, I(O.date, a)), Y = l === "dropdown" || l === "dropdown-years" ? h.createElement(n.YearsDropdown, { key: "year", className: f[M.YearsDropdown], "aria-label": Ht(a.options), classNames: f, components: n, disabled: !!t.disableNavigation, onChange: Zt(O.date), options: jr(Oe, pe, o, a, !!t.reverseYears), style: c == null ? void 0 : c[M.Dropdown], value: a.getYear(O.date) }) : h.createElement("span", { key: "year" }, Q(O.date, a));
1663
+ const k = d === "dropdown" || d === "dropdown-months" ? h.createElement(n.MonthsDropdown, { key: "month", className: f[M.MonthsDropdown], "aria-label": It(), classNames: f, components: n, disabled: !!t.disableNavigation, onChange: Kt(O.date), options: Ar(O.date, Oe, pe, o, a), style: c == null ? void 0 : c[M.Dropdown], value: a.getMonth(O.date) }) : h.createElement("span", { key: "month" }, I(O.date, a)), Y = d === "dropdown" || d === "dropdown-years" ? h.createElement(n.YearsDropdown, { key: "year", className: f[M.YearsDropdown], "aria-label": Ht(a.options), classNames: f, components: n, disabled: !!t.disableNavigation, onChange: Zt(O.date), options: jr(Oe, pe, o, a, !!t.reverseYears), style: c == null ? void 0 : c[M.Dropdown], value: a.getYear(O.date) }) : h.createElement("span", { key: "year" }, Q(O.date, a));
1664
1664
  return a.getMonthYearOrder() === "year-first" ? [Y, k] : [k, Y];
1665
1665
  })(),
1666
1666
  h.createElement("span", { role: "status", "aria-live": "polite", style: {
@@ -1684,7 +1684,7 @@ function Oo(e) {
1684
1684
  _ === y - 1 && u === "after" && !t.hideNavigation && h.createElement(n.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: f[M.Nav], style: c == null ? void 0 : c[M.Nav], "aria-label": Re(), onPreviousClick: We, onNextClick: Ne, previousMonth: G, nextMonth: R }),
1685
1685
  h.createElement(
1686
1686
  n.MonthGrid,
1687
- { role: "grid", "aria-multiselectable": d === "multiple" || d === "range", "aria-label": xt(O.date, a.options, a) || void 0, className: f[M.MonthGrid], style: c == null ? void 0 : c[M.MonthGrid] },
1687
+ { role: "grid", "aria-multiselectable": l === "multiple" || l === "range", "aria-label": xt(O.date, a.options, a) || void 0, className: f[M.MonthGrid], style: c == null ? void 0 : c[M.MonthGrid] },
1688
1688
  !t.hideWeekdays && h.createElement(
1689
1689
  n.Weekdays,
1690
1690
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: f[M.Weekdays], style: c == null ? void 0 : c[M.Weekdays] },
@@ -1747,28 +1747,28 @@ function Wo(e, t, r) {
1747
1747
  return e && n.push({ before: e }), t && n.push({ after: t }), Array.isArray(r) ? n.push(...r) : typeof r == "function" && n.push(r), n.length === 1 ? n[0] : n;
1748
1748
  }
1749
1749
  function No({ orientation: e }) {
1750
- return e === "left" ? /* @__PURE__ */ Ze(Dn, { className: "size-4 rtl:-scale-x-100" }) : /* @__PURE__ */ Ze(vn, { className: "size-4 rtl:-scale-x-100" });
1750
+ return e === "left" ? /* @__PURE__ */ Ze(Dn, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ Ze(vn, { className: "ds:size-4 ds:rtl:-scale-x-100" });
1751
1751
  }
1752
1752
  const Co = ve(
1753
1753
  [
1754
- "relative flex items-center w-full",
1755
- "rounded-[var(--radius-sm)] border bg-background text-foreground",
1756
- "placeholder:text-muted-foreground",
1757
- "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none",
1758
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
1759
- "focus-visible:outline-ring focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1760
- "disabled:cursor-not-allowed disabled:opacity-50"
1754
+ "ds:relative ds:flex ds:items-center ds:w-full",
1755
+ "ds:rounded-[var(--radius-sm)] ds:border ds:bg-background ds:text-foreground",
1756
+ "ds:placeholder:text-muted-foreground",
1757
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
1758
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1759
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1760
+ "ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
1761
1761
  ].join(" "),
1762
1762
  {
1763
1763
  variants: {
1764
1764
  size: {
1765
- sm: "h-8 text-[var(--font-size-sm)] ps-3 pe-10",
1766
- md: "h-[var(--min-target-size)] text-[var(--font-size-base)] ps-3 pe-10",
1767
- lg: "h-12 text-[var(--font-size-lg)] ps-4 pe-12"
1765
+ sm: "ds:h-8 ds:text-[var(--font-size-sm)] ds:ps-3 ds:pe-10",
1766
+ md: "ds:h-[var(--min-target-size)] ds:text-[var(--font-size-base)] ds:ps-3 ds:pe-10",
1767
+ lg: "ds:h-12 ds:text-[var(--font-size-lg)] ds:ps-4 ds:pe-12"
1768
1768
  },
1769
1769
  tone: {
1770
- default: "border-border",
1771
- error: "border-destructive"
1770
+ default: "ds:border-border",
1771
+ error: "ds:border-destructive"
1772
1772
  }
1773
1773
  },
1774
1774
  defaultVariants: {
@@ -1777,31 +1777,31 @@ const Co = ve(
1777
1777
  }
1778
1778
  }
1779
1779
  ), So = ve(
1780
- "absolute inset-y-0 end-0 flex items-center pointer-events-none text-muted-foreground",
1780
+ "ds:absolute ds:inset-y-0 ds:end-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground",
1781
1781
  {
1782
1782
  variants: {
1783
1783
  size: {
1784
- sm: "pe-3 [&_svg]:size-4",
1785
- md: "pe-3 [&_svg]:size-4",
1786
- lg: "pe-4 [&_svg]:size-5"
1784
+ sm: "ds:pe-3 ds:[&_svg]:size-4",
1785
+ md: "ds:pe-3 ds:[&_svg]:size-4",
1786
+ lg: "ds:pe-4 ds:[&_svg]:size-5"
1787
1787
  }
1788
1788
  },
1789
1789
  defaultVariants: { size: "md" }
1790
1790
  }
1791
1791
  ), Yo = ve(
1792
1792
  [
1793
- "z-[var(--z-popover)] rounded-[var(--radius-md)]",
1794
- "border border-border bg-background shadow-[var(--shadow-lg)]",
1795
- "p-[var(--spacing-md)]"
1793
+ "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
1794
+ "ds:border ds:border-border ds:bg-background ds:shadow-[var(--shadow-lg)]",
1795
+ "ds:p-[var(--spacing-md)]"
1796
1796
  ].join(" ")
1797
1797
  ), _o = ve(
1798
1798
  [
1799
- "w-full text-start ps-[var(--spacing-sm)] pe-[var(--spacing-sm)] py-[var(--spacing-xs)]",
1800
- "rounded-[var(--radius-sm)] text-[var(--font-size-sm)] text-foreground",
1801
- "hover:bg-muted cursor-pointer",
1802
- "transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none",
1803
- "focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-solid",
1804
- "focus-visible:outline-ring focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
1799
+ "ds:w-full ds:text-start ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
1800
+ "ds:rounded-[var(--radius-sm)] ds:text-[var(--font-size-sm)] ds:text-foreground",
1801
+ "ds:hover:bg-muted ds:cursor-pointer",
1802
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
1803
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1804
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
1805
1805
  ].join(" ")
1806
1806
  );
1807
1807
  export {
@@ -1821,4 +1821,4 @@ export {
1821
1821
  _o as p,
1822
1822
  Co as t
1823
1823
  };
1824
- //# sourceMappingURL=react-day-picker-DQKDiJ37.js.map
1824
+ //# sourceMappingURL=react-day-picker-d0MHsyCj.js.map