@acronis-platform/ui-react 4.0.0 → 4.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 (620) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +11 -0
  2. package/dist/components/ui/accordion/accordion.js +40 -53
  3. package/dist/components/ui/accordion/accordion.js.map +1 -1
  4. package/dist/components/ui/accordion-container/accordion-container.js +93 -141
  5. package/dist/components/ui/accordion-container/accordion-container.js.map +1 -1
  6. package/dist/components/ui/alert/alert.js +95 -156
  7. package/dist/components/ui/alert/alert.js.map +1 -1
  8. package/dist/components/ui/app-shell-chat/app-shell-chat.js +233 -332
  9. package/dist/components/ui/app-shell-chat/app-shell-chat.js.map +1 -1
  10. package/dist/components/ui/area-chart/area-chart.js +155 -240
  11. package/dist/components/ui/area-chart/area-chart.js.map +1 -1
  12. package/dist/components/ui/avatar/avatar.js +47 -84
  13. package/dist/components/ui/avatar/avatar.js.map +1 -1
  14. package/dist/components/ui/bar-chart/bar-chart.js +405 -615
  15. package/dist/components/ui/bar-chart/bar-chart.js.map +1 -1
  16. package/dist/components/ui/breadcrumb/breadcrumb.js +68 -116
  17. package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -1
  18. package/dist/components/ui/button/button.js +31 -40
  19. package/dist/components/ui/button/button.js.map +1 -1
  20. package/dist/components/ui/button-group/button-group.js +33 -55
  21. package/dist/components/ui/button-group/button-group.js.map +1 -1
  22. package/dist/components/ui/button-icon/button-icon.js +26 -35
  23. package/dist/components/ui/button-icon/button-icon.js.map +1 -1
  24. package/dist/components/ui/button-icon-input/button-icon-input.js +28 -35
  25. package/dist/components/ui/button-icon-input/button-icon-input.js.map +1 -1
  26. package/dist/components/ui/button-icon-menu/button-icon-menu.js +22 -26
  27. package/dist/components/ui/button-icon-menu/button-icon-menu.js.map +1 -1
  28. package/dist/components/ui/button-menu/button-menu.js +36 -52
  29. package/dist/components/ui/button-menu/button-menu.js.map +1 -1
  30. package/dist/components/ui/calendar/calendar.js +103 -202
  31. package/dist/components/ui/calendar/calendar.js.map +1 -1
  32. package/dist/components/ui/calendar-panel/calendar-panel-utils.js +46 -57
  33. package/dist/components/ui/calendar-panel/calendar-panel-utils.js.map +1 -1
  34. package/dist/components/ui/calendar-panel/calendar-panel.js +136 -257
  35. package/dist/components/ui/calendar-panel/calendar-panel.js.map +1 -1
  36. package/dist/components/ui/card/card.js +104 -168
  37. package/dist/components/ui/card/card.js.map +1 -1
  38. package/dist/components/ui/card-filter/card-filter.js +49 -76
  39. package/dist/components/ui/card-filter/card-filter.js.map +1 -1
  40. package/dist/components/ui/card-section/card-section.js +81 -111
  41. package/dist/components/ui/card-section/card-section.js.map +1 -1
  42. package/dist/components/ui/carousel-dialog/carousel-dialog.js +49 -87
  43. package/dist/components/ui/carousel-dialog/carousel-dialog.js.map +1 -1
  44. package/dist/components/ui/category-bar/category-bar.js +123 -162
  45. package/dist/components/ui/category-bar/category-bar.js.map +1 -1
  46. package/dist/components/ui/chart/chart-format.js +117 -153
  47. package/dist/components/ui/chart/chart-format.js.map +1 -1
  48. package/dist/components/ui/chart/chart-palette.js +63 -107
  49. package/dist/components/ui/chart/chart-palette.js.map +1 -1
  50. package/dist/components/ui/chart/chart.js +177 -305
  51. package/dist/components/ui/chart/chart.js.map +1 -1
  52. package/dist/components/ui/chart-state/chart-state-illustrations.js +400 -298
  53. package/dist/components/ui/chart-state/chart-state-illustrations.js.map +1 -1
  54. package/dist/components/ui/chart-state/chart-state.js +40 -56
  55. package/dist/components/ui/chart-state/chart-state.js.map +1 -1
  56. package/dist/components/ui/chart-widget/chart-widget.js +40 -87
  57. package/dist/components/ui/chart-widget/chart-widget.js.map +1 -1
  58. package/dist/components/ui/checkbox/checkbox.js +56 -69
  59. package/dist/components/ui/checkbox/checkbox.js.map +1 -1
  60. package/dist/components/ui/chip/chip.js +51 -70
  61. package/dist/components/ui/chip/chip.js.map +1 -1
  62. package/dist/components/ui/combobox/combobox.js +88 -151
  63. package/dist/components/ui/combobox/combobox.js.map +1 -1
  64. package/dist/components/ui/composed-chart/composed-chart.js +297 -434
  65. package/dist/components/ui/composed-chart/composed-chart.js.map +1 -1
  66. package/dist/components/ui/confidence-cone/confidence-cone.js +214 -332
  67. package/dist/components/ui/confidence-cone/confidence-cone.js.map +1 -1
  68. package/dist/components/ui/data-table/data-table-bulk-actions-bar.js +32 -37
  69. package/dist/components/ui/data-table/data-table-bulk-actions-bar.js.map +1 -1
  70. package/dist/components/ui/data-table/data-table-column-header.js +23 -38
  71. package/dist/components/ui/data-table/data-table-column-header.js.map +1 -1
  72. package/dist/components/ui/data-table/data-table-expand-trigger.js +23 -46
  73. package/dist/components/ui/data-table/data-table-expand-trigger.js.map +1 -1
  74. package/dist/components/ui/data-table/data-table-pagination.js +84 -89
  75. package/dist/components/ui/data-table/data-table-pagination.js.map +1 -1
  76. package/dist/components/ui/data-table/data-table-selection.js +7 -6
  77. package/dist/components/ui/data-table/data-table-selection.js.map +1 -1
  78. package/dist/components/ui/data-table/data-table-toolbar.js +51 -76
  79. package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -1
  80. package/dist/components/ui/data-table/data-table-view-options.js +21 -28
  81. package/dist/components/ui/data-table/data-table-view-options.js.map +1 -1
  82. package/dist/components/ui/data-table/data-table.js +304 -438
  83. package/dist/components/ui/data-table/data-table.js.map +1 -1
  84. package/dist/components/ui/date-range-picker/date-range-picker-utils.js +16 -14
  85. package/dist/components/ui/date-range-picker/date-range-picker-utils.js.map +1 -1
  86. package/dist/components/ui/date-range-picker/date-range-picker.js +77 -111
  87. package/dist/components/ui/date-range-picker/date-range-picker.js.map +1 -1
  88. package/dist/components/ui/description-list/description-list.js +44 -54
  89. package/dist/components/ui/description-list/description-list.js.map +1 -1
  90. package/dist/components/ui/dialog/dialog.js +229 -310
  91. package/dist/components/ui/dialog/dialog.js.map +1 -1
  92. package/dist/components/ui/dialog-footer-carousel/dialog-footer-carousel.js +33 -57
  93. package/dist/components/ui/dialog-footer-carousel/dialog-footer-carousel.js.map +1 -1
  94. package/dist/components/ui/dialog-footer-default/dialog-footer-default.js +21 -26
  95. package/dist/components/ui/dialog-footer-default/dialog-footer-default.js.map +1 -1
  96. package/dist/components/ui/dialog-welcome/dialog-welcome.js +221 -267
  97. package/dist/components/ui/dialog-welcome/dialog-welcome.js.map +1 -1
  98. package/dist/components/ui/dropdown-menu/dropdown-menu.js +101 -168
  99. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -1
  100. package/dist/components/ui/empty/empty.js +49 -77
  101. package/dist/components/ui/empty/empty.js.map +1 -1
  102. package/dist/components/ui/empty-overlay/empty-overlay.js +43 -49
  103. package/dist/components/ui/empty-overlay/empty-overlay.js.map +1 -1
  104. package/dist/components/ui/field/field.js +95 -178
  105. package/dist/components/ui/field/field.js.map +1 -1
  106. package/dist/components/ui/filter-cards/filter-cards.js +16 -25
  107. package/dist/components/ui/filter-cards/filter-cards.js.map +1 -1
  108. package/dist/components/ui/filter-chips/filter-chips.js +36 -44
  109. package/dist/components/ui/filter-chips/filter-chips.js.map +1 -1
  110. package/dist/components/ui/filter-search/filter-search.js +139 -209
  111. package/dist/components/ui/filter-search/filter-search.js.map +1 -1
  112. package/dist/components/ui/fitted-actions/fitted-actions.js +87 -137
  113. package/dist/components/ui/fitted-actions/fitted-actions.js.map +1 -1
  114. package/dist/components/ui/form/form.js +14 -15
  115. package/dist/components/ui/form/form.js.map +1 -1
  116. package/dist/components/ui/funnel-chart/funnel-chart.js +190 -274
  117. package/dist/components/ui/funnel-chart/funnel-chart.js.map +1 -1
  118. package/dist/components/ui/grid/grid.js +61 -68
  119. package/dist/components/ui/grid/grid.js.map +1 -1
  120. package/dist/components/ui/histogram/histogram.js +107 -141
  121. package/dist/components/ui/histogram/histogram.js.map +1 -1
  122. package/dist/components/ui/input/input.js +14 -21
  123. package/dist/components/ui/input/input.js.map +1 -1
  124. package/dist/components/ui/input-date-picker/input-date-picker.js +70 -114
  125. package/dist/components/ui/input-date-picker/input-date-picker.js.map +1 -1
  126. package/dist/components/ui/input-num-picker/input-num-picker.js +48 -0
  127. package/dist/components/ui/input-num-picker/input-num-picker.js.map +1 -0
  128. package/dist/components/ui/input-otp/input-otp.js +75 -104
  129. package/dist/components/ui/input-otp/input-otp.js.map +1 -1
  130. package/dist/components/ui/input-password/input-password.js +71 -126
  131. package/dist/components/ui/input-password/input-password.js.map +1 -1
  132. package/dist/components/ui/input-search/input-search.js +32 -56
  133. package/dist/components/ui/input-search/input-search.js.map +1 -1
  134. package/dist/components/ui/input-select/input-select.js +225 -335
  135. package/dist/components/ui/input-select/input-select.js.map +1 -1
  136. package/dist/components/ui/input-text/input-text.js +54 -98
  137. package/dist/components/ui/input-text/input-text.js.map +1 -1
  138. package/dist/components/ui/input-text-area/input-text-area.js +41 -86
  139. package/dist/components/ui/input-text-area/input-text-area.js.map +1 -1
  140. package/dist/components/ui/label/label.js +6 -5
  141. package/dist/components/ui/label/label.js.map +1 -1
  142. package/dist/components/ui/line-chart/line-chart.js +175 -277
  143. package/dist/components/ui/line-chart/line-chart.js.map +1 -1
  144. package/dist/components/ui/link/link.js +34 -54
  145. package/dist/components/ui/link/link.js.map +1 -1
  146. package/dist/components/ui/loading/loading.js +51 -78
  147. package/dist/components/ui/loading/loading.js.map +1 -1
  148. package/dist/components/ui/meter/meter.js +79 -93
  149. package/dist/components/ui/meter/meter.js.map +1 -1
  150. package/dist/components/ui/metric/metric.js +83 -89
  151. package/dist/components/ui/metric/metric.js.map +1 -1
  152. package/dist/components/ui/number-field/number-field.js +36 -60
  153. package/dist/components/ui/number-field/number-field.js.map +1 -1
  154. package/dist/components/ui/page-content/page-content.js +15 -19
  155. package/dist/components/ui/page-content/page-content.js.map +1 -1
  156. package/dist/components/ui/page-header/page-header.js +120 -181
  157. package/dist/components/ui/page-header/page-header.js.map +1 -1
  158. package/dist/components/ui/pagination/pagination.js +58 -86
  159. package/dist/components/ui/pagination/pagination.js.map +1 -1
  160. package/dist/components/ui/pie-chart/pie-chart.js +189 -268
  161. package/dist/components/ui/pie-chart/pie-chart.js.map +1 -1
  162. package/dist/components/ui/popover/popover.js +51 -96
  163. package/dist/components/ui/popover/popover.js.map +1 -1
  164. package/dist/components/ui/progress/progress.js +23 -29
  165. package/dist/components/ui/progress/progress.js.map +1 -1
  166. package/dist/components/ui/progress-circle/progress-circle.js +97 -113
  167. package/dist/components/ui/progress-circle/progress-circle.js.map +1 -1
  168. package/dist/components/ui/radar-chart/radar-chart.js +127 -225
  169. package/dist/components/ui/radar-chart/radar-chart.js.map +1 -1
  170. package/dist/components/ui/radial-bar-chart/radial-bar-chart.js +267 -399
  171. package/dist/components/ui/radial-bar-chart/radial-bar-chart.js.map +1 -1
  172. package/dist/components/ui/radio/radio.js +22 -43
  173. package/dist/components/ui/radio/radio.js.map +1 -1
  174. package/dist/components/ui/resizable/resizable.js +20 -64
  175. package/dist/components/ui/resizable/resizable.js.map +1 -1
  176. package/dist/components/ui/sankey-chart/sankey-chart.js +155 -217
  177. package/dist/components/ui/sankey-chart/sankey-chart.js.map +1 -1
  178. package/dist/components/ui/scatter-chart/scatter-chart.js +95 -140
  179. package/dist/components/ui/scatter-chart/scatter-chart.js.map +1 -1
  180. package/dist/components/ui/scroll-area/scroll-area.js +43 -77
  181. package/dist/components/ui/scroll-area/scroll-area.js.map +1 -1
  182. package/dist/components/ui/search/search.js +58 -92
  183. package/dist/components/ui/search/search.js.map +1 -1
  184. package/dist/components/ui/section/section.js +125 -163
  185. package/dist/components/ui/section/section.js.map +1 -1
  186. package/dist/components/ui/separator/separator.js +16 -22
  187. package/dist/components/ui/separator/separator.js.map +1 -1
  188. package/dist/components/ui/sheet/sheet-details.js +55 -78
  189. package/dist/components/ui/sheet/sheet-details.js.map +1 -1
  190. package/dist/components/ui/sheet/sheet.js +80 -136
  191. package/dist/components/ui/sheet/sheet.js.map +1 -1
  192. package/dist/components/ui/sidebar-primary/sidebar-primary.js +220 -364
  193. package/dist/components/ui/sidebar-primary/sidebar-primary.js.map +1 -1
  194. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js +459 -641
  195. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js.map +1 -1
  196. package/dist/components/ui/skeleton/skeleton.js +14 -21
  197. package/dist/components/ui/skeleton/skeleton.js.map +1 -1
  198. package/dist/components/ui/slider/slider.js +28 -42
  199. package/dist/components/ui/slider/slider.js.map +1 -1
  200. package/dist/components/ui/spinner/spinner.js +28 -37
  201. package/dist/components/ui/spinner/spinner.js.map +1 -1
  202. package/dist/components/ui/stack/stack.js +59 -61
  203. package/dist/components/ui/stack/stack.js.map +1 -1
  204. package/dist/components/ui/stepper/stepper.js +52 -70
  205. package/dist/components/ui/stepper/stepper.js.map +1 -1
  206. package/dist/components/ui/stepper-item/stepper-item.js +85 -116
  207. package/dist/components/ui/stepper-item/stepper-item.js.map +1 -1
  208. package/dist/components/ui/switch/switch.js +26 -40
  209. package/dist/components/ui/switch/switch.js.map +1 -1
  210. package/dist/components/ui/table/table-pagination.js +91 -106
  211. package/dist/components/ui/table/table-pagination.js.map +1 -1
  212. package/dist/components/ui/table/table-view-options.js +37 -53
  213. package/dist/components/ui/table/table-view-options.js.map +1 -1
  214. package/dist/components/ui/table/table.js +90 -177
  215. package/dist/components/ui/table/table.js.map +1 -1
  216. package/dist/components/ui/tabs/tabs.js +26 -43
  217. package/dist/components/ui/tabs/tabs.js.map +1 -1
  218. package/dist/components/ui/tag/tag.js +42 -47
  219. package/dist/components/ui/tag/tag.js.map +1 -1
  220. package/dist/components/ui/timeline/timeline.js +161 -239
  221. package/dist/components/ui/timeline/timeline.js.map +1 -1
  222. package/dist/components/ui/timer/timer.js +24 -47
  223. package/dist/components/ui/timer/timer.js.map +1 -1
  224. package/dist/components/ui/toast/toast.js +134 -189
  225. package/dist/components/ui/toast/toast.js.map +1 -1
  226. package/dist/components/ui/toggle-group/toggle-group.js +28 -46
  227. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -1
  228. package/dist/components/ui/toolbar/toolbar.js +128 -201
  229. package/dist/components/ui/toolbar/toolbar.js.map +1 -1
  230. package/dist/components/ui/tooltip/tooltip.js +35 -57
  231. package/dist/components/ui/tooltip/tooltip.js.map +1 -1
  232. package/dist/components/ui/treemap/treemap.js +135 -213
  233. package/dist/components/ui/treemap/treemap.js.map +1 -1
  234. package/dist/components/ui/trend-indicator/trend-indicator.js +48 -62
  235. package/dist/components/ui/trend-indicator/trend-indicator.js.map +1 -1
  236. package/dist/components/ui/truncate-text/middle-truncate.js +19 -19
  237. package/dist/components/ui/truncate-text/middle-truncate.js.map +1 -1
  238. package/dist/components/ui/truncate-text/text-width.js +11 -10
  239. package/dist/components/ui/truncate-text/text-width.js.map +1 -1
  240. package/dist/components/ui/truncate-text/truncate-text.js +92 -152
  241. package/dist/components/ui/truncate-text/truncate-text.js.map +1 -1
  242. package/dist/components/ui/widget-placeholder/widget-placeholder.js +63 -106
  243. package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -1
  244. package/dist/components/ui/wizard/wizard.js +36 -59
  245. package/dist/components/ui/wizard/wizard.js.map +1 -1
  246. package/dist/hooks/use-intersection-observer.js +27 -25
  247. package/dist/hooks/use-intersection-observer.js.map +1 -1
  248. package/dist/hooks/use-sort-state.js +43 -33
  249. package/dist/hooks/use-sort-state.js.map +1 -1
  250. package/dist/hooks/use-table-url-state.js +100 -109
  251. package/dist/hooks/use-table-url-state.js.map +1 -1
  252. package/dist/hooks/use-wizard.js +57 -71
  253. package/dist/hooks/use-wizard.js.map +1 -1
  254. package/dist/index.js +125 -550
  255. package/dist/lib/breakpoints.js +8 -13
  256. package/dist/lib/breakpoints.js.map +1 -1
  257. package/dist/lib/deep-equal.js +14 -22
  258. package/dist/lib/deep-equal.js.map +1 -1
  259. package/dist/lib/portal-container.js +16 -12
  260. package/dist/lib/portal-container.js.map +1 -1
  261. package/dist/lib/use-doc-dir.js +11 -10
  262. package/dist/lib/use-doc-dir.js.map +1 -1
  263. package/dist/lib/utils.js +8 -7
  264. package/dist/lib/utils.js.map +1 -1
  265. package/dist/llms/input-num-picker.md +180 -0
  266. package/dist/llms.txt +2 -1
  267. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/index.js +58 -61
  268. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/index.js.map +1 -1
  269. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.js +71 -85
  270. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.js.map +1 -1
  271. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/index.js +6 -0
  272. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tz/index.js +1 -0
  273. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js +11 -11
  274. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js.map +1 -1
  275. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.js +22 -21
  276. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.js.map +1 -1
  277. package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js +36 -99
  278. package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -1
  279. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1478 -1852
  280. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -1
  281. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +34 -35
  282. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +1 -1
  283. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +18 -15
  284. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -1
  285. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/addLeadingZeros.js +7 -7
  286. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -1
  287. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js +8 -7
  288. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js.map +1 -1
  289. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/formatters.js +387 -580
  290. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/formatters.js.map +1 -1
  291. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/lightFormatters.js +44 -59
  292. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -1
  293. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/longFormatters.js +39 -52
  294. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -1
  295. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +9 -18
  296. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -1
  297. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js +9 -11
  298. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js.map +1 -1
  299. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeInterval.js +12 -8
  300. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeInterval.js.map +1 -1
  301. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/protectedTokens.js +21 -17
  302. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/protectedTokens.js.map +1 -1
  303. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addDays.js +10 -9
  304. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addDays.js.map +1 -1
  305. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addMonths.js +13 -19
  306. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addMonths.js.map +1 -1
  307. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addWeeks.js +8 -7
  308. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addWeeks.js.map +1 -1
  309. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addYears.js +8 -7
  310. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addYears.js.map +1 -1
  311. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js +12 -7
  312. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js.map +1 -1
  313. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js +8 -7
  314. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js.map +1 -1
  315. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarDays.js +12 -15
  316. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarDays.js.map +1 -1
  317. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js +9 -12
  318. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -1
  319. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachMonthOfInterval.js +16 -16
  320. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachMonthOfInterval.js.map +1 -1
  321. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachYearOfInterval.js +16 -16
  322. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachYearOfInterval.js.map +1 -1
  323. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfISOWeek.js +11 -7
  324. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfISOWeek.js.map +1 -1
  325. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js +9 -8
  326. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js.map +1 -1
  327. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfWeek.js +10 -10
  328. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfWeek.js.map +1 -1
  329. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfYear.js +9 -8
  330. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfYear.js.map +1 -1
  331. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/format.js +59 -57
  332. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/format.js.map +1 -1
  333. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDayOfYear.js +11 -10
  334. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDayOfYear.js.map +1 -1
  335. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDaysInMonth.js +10 -9
  336. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDaysInMonth.js.map +1 -1
  337. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeek.js +12 -11
  338. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeek.js.map +1 -1
  339. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeekYear.js +15 -14
  340. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeekYear.js.map +1 -1
  341. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getMonth.js +8 -7
  342. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getMonth.js.map +1 -1
  343. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeek.js +12 -11
  344. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeek.js.map +1 -1
  345. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeekYear.js +16 -16
  346. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeekYear.js.map +1 -1
  347. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getYear.js +8 -7
  348. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getYear.js.map +1 -1
  349. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isAfter.js +8 -7
  350. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isAfter.js.map +1 -1
  351. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isBefore.js +8 -7
  352. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isBefore.js.map +1 -1
  353. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isDate.js +7 -6
  354. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isDate.js.map +1 -1
  355. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameDay.js +10 -13
  356. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameDay.js.map +1 -1
  357. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameMonth.js +9 -12
  358. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameMonth.js.map +1 -1
  359. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameYear.js +9 -12
  360. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameYear.js.map +1 -1
  361. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isValid.js +9 -8
  362. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isValid.js.map +1 -1
  363. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -9
  364. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -1
  365. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -18
  366. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -1
  367. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +21 -29
  368. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -1
  369. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +19 -15
  370. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -1
  371. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -70
  372. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -1
  373. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -33
  374. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -1
  375. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +13 -12
  376. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -1
  377. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js +202 -154
  378. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -1
  379. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js +125 -110
  380. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -1
  381. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js +20 -19
  382. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js.map +1 -1
  383. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/max.js +14 -13
  384. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/max.js.map +1 -1
  385. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/min.js +14 -13
  386. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/min.js.map +1 -1
  387. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setMonth.js +13 -12
  388. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setMonth.js.map +1 -1
  389. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setYear.js +10 -9
  390. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setYear.js.map +1 -1
  391. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfDay.js +9 -8
  392. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfDay.js.map +1 -1
  393. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeek.js +11 -7
  394. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeek.js.map +1 -1
  395. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeekYear.js +11 -10
  396. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeekYear.js.map +1 -1
  397. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfMonth.js +9 -8
  398. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfMonth.js.map +1 -1
  399. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeek.js +10 -10
  400. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeek.js.map +1 -1
  401. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeekYear.js +12 -12
  402. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeekYear.js.map +1 -1
  403. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfYear.js +9 -8
  404. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfYear.js.map +1 -1
  405. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js +8 -7
  406. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js.map +1 -1
  407. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +25 -24
  408. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js.map +1 -1
  409. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +26 -30
  410. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +1 -1
  411. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1016 -1202
  412. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
  413. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/DayPicker.js +398 -246
  414. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
  415. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/UI.js +16 -18
  416. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/UI.js.map +1 -1
  417. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +13 -19
  418. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js.map +1 -1
  419. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +9 -8
  420. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js.map +1 -1
  421. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +9 -8
  422. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js.map +1 -1
  423. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/DateLib.js +107 -257
  424. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
  425. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +8 -7
  426. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js.map +1 -1
  427. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Chevron.js +14 -14
  428. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Chevron.js.map +1 -1
  429. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Day.js +9 -8
  430. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Day.js.map +1 -1
  431. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DayButton.js +13 -10
  432. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DayButton.js.map +1 -1
  433. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Dropdown.js +30 -19
  434. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Dropdown.js.map +1 -1
  435. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +8 -7
  436. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/DropdownNav.js.map +1 -1
  437. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Footer.js +8 -7
  438. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Footer.js.map +1 -1
  439. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Month.js +9 -8
  440. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Month.js.map +1 -1
  441. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +9 -8
  442. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthCaption.js.map +1 -1
  443. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -6
  444. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthGrid.js.map +1 -1
  445. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Months.js +7 -6
  446. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Months.js.map +1 -1
  447. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +10 -9
  448. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js.map +1 -1
  449. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Nav.js +41 -27
  450. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Nav.js.map +1 -1
  451. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +7 -6
  452. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js.map +1 -1
  453. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Option.js +7 -6
  454. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Option.js.map +1 -1
  455. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +7 -6
  456. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js.map +1 -1
  457. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Root.js +12 -8
  458. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Root.js.map +1 -1
  459. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Select.js +8 -7
  460. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Select.js.map +1 -1
  461. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Week.js +9 -8
  462. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Week.js.map +1 -1
  463. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +9 -8
  464. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumber.js.map +1 -1
  465. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +8 -7
  466. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js.map +1 -1
  467. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekday.js +8 -7
  468. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekday.js.map +1 -1
  469. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekdays.js +7 -10
  470. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weekdays.js.map +1 -1
  471. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weeks.js +8 -7
  472. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/Weeks.js.map +1 -1
  473. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +10 -9
  474. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js.map +1 -1
  475. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/custom-components.js +57 -52
  476. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/components/custom-components.js.map +1 -1
  477. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +8 -7
  478. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
  479. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +8 -7
  480. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatDay.js.map +1 -1
  481. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +8 -7
  482. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js.map +1 -1
  483. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +8 -7
  484. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js.map +1 -1
  485. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -5
  486. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js.map +1 -1
  487. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +8 -7
  488. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js.map +1 -1
  489. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +8 -7
  490. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js.map +1 -1
  491. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/index.js +22 -17
  492. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/formatters/index.js.map +1 -1
  493. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +18 -17
  494. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js.map +1 -1
  495. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +36 -41
  496. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js.map +1 -1
  497. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +10 -9
  498. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js.map +1 -1
  499. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +7 -7
  500. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js.map +1 -1
  501. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +8 -7
  502. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js.map +1 -1
  503. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +11 -10
  504. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getComponents.js.map +1 -1
  505. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +17 -16
  506. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js.map +1 -1
  507. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDates.js +20 -19
  508. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDates.js.map +1 -1
  509. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDays.js +11 -10
  510. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDays.js.map +1 -1
  511. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +12 -15
  512. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js.map +1 -1
  513. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +13 -13
  514. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js.map +1 -1
  515. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +15 -15
  516. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js.map +1 -1
  517. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +11 -10
  518. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js.map +1 -1
  519. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +8 -13
  520. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js.map +1 -1
  521. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +35 -35
  522. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getLabels.js.map +1 -1
  523. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +18 -13
  524. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js.map +1 -1
  525. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +25 -24
  526. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getMonths.js.map +1 -1
  527. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +8 -11
  528. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js.map +1 -1
  529. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +12 -12
  530. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js.map +1 -1
  531. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +9 -12
  532. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js.map +1 -1
  533. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +9 -12
  534. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js.map +1 -1
  535. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +14 -13
  536. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js.map +1 -1
  537. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +12 -11
  538. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js.map +1 -1
  539. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +7 -7
  540. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js.map +1 -1
  541. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +19 -16
  542. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js.map +1 -1
  543. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +8 -7
  544. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js.map +1 -1
  545. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +9 -8
  546. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js.map +1 -1
  547. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/index.js +30 -25
  548. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/index.js.map +1 -1
  549. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +9 -8
  550. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js.map +1 -1
  551. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +7 -6
  552. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
  553. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +9 -8
  554. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js.map +1 -1
  555. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +7 -6
  556. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js.map +1 -1
  557. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -5
  558. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNav.js.map +1 -1
  559. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNext.js +6 -7
  560. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelNext.js.map +1 -1
  561. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +7 -6
  562. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js.map +1 -1
  563. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +7 -6
  564. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js.map +1 -1
  565. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +7 -6
  566. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js.map +1 -1
  567. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +8 -7
  568. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js.map +1 -1
  569. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +7 -6
  570. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js.map +1 -1
  571. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/locale/en-US.js +50 -37
  572. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/locale/en-US.js.map +1 -1
  573. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/noonDateLib.js +101 -106
  574. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/noonDateLib.js.map +1 -1
  575. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useMulti.js +20 -21
  576. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useMulti.js.map +1 -1
  577. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useRange.js +29 -23
  578. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useRange.js.map +1 -1
  579. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useSingle.js +16 -15
  580. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/selection/useSingle.js.map +1 -1
  581. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useAnimation.js +50 -56
  582. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useAnimation.js.map +1 -1
  583. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useCalendar.js +71 -76
  584. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useCalendar.js.map +1 -1
  585. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useDayPicker.js +11 -12
  586. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useDayPicker.js.map +1 -1
  587. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useFocus.js +23 -23
  588. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useFocus.js.map +1 -1
  589. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useSelection.js +16 -19
  590. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/useSelection.js.map +1 -1
  591. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/addToRange.js +60 -32
  592. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/addToRange.js.map +1 -1
  593. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +24 -24
  594. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js.map +1 -1
  595. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +22 -26
  596. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js.map +1 -1
  597. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +13 -15
  598. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js.map +1 -1
  599. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +29 -28
  600. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js.map +1 -1
  601. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +9 -9
  602. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js.map +1 -1
  603. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +9 -8
  604. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js.map +1 -1
  605. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +9 -8
  606. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js.map +1 -1
  607. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/typeguards.js +15 -19
  608. package/dist/node_modules/.pnpm/react-day-picker@10.0.1_@types_react@19.2.15_react@19.2.6/node_modules/react-day-picker/dist/esm/utils/typeguards.js.map +1 -1
  609. package/dist/node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js +1511 -2084
  610. package/dist/node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +1 -1
  611. package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -2996
  612. package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  613. package/dist/react.js +125 -550
  614. package/dist/src/components/ui/input-num-picker/index.d.ts +1 -0
  615. package/dist/src/components/ui/input-num-picker/input-num-picker.d.ts +14 -0
  616. package/dist/src/index.d.ts +1 -0
  617. package/dist/ui-react.css +2 -1
  618. package/package.json +7 -7
  619. package/dist/index.js.map +0 -1
  620. package/dist/react.js.map +0 -1
@@ -1,272 +1,226 @@
1
- import { jsx as e, jsxs as w, Fragment as L } from "react/jsx-runtime";
2
- import * as c from "react";
3
- import U from "../../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js";
4
- import { cn as _ } from "../../../lib/utils.js";
5
- import { useDocDir as q } from "../../../lib/use-doc-dir.js";
6
- import { DialogRoot as G, DialogContent as H, DialogClose as J, DialogTitle as K, DialogDescription as O } from "../dialog/dialog.js";
7
- import { DialogFooterCarousel as Q } from "../dialog-footer-carousel/dialog-footer-carousel.js";
8
- import { Button as M } from "../button/button.js";
9
- function F({
10
- image: s,
11
- title: l,
12
- description: r,
13
- active: a,
14
- withBottomPadding: i = !0
15
- }) {
16
- return /* @__PURE__ */ w(
17
- "div",
18
- {
19
- className: _(
20
- "flex w-full flex-col items-center gap-3 pt-4",
21
- i && "pb-4"
22
- ),
23
- children: [
24
- /* @__PURE__ */ e("div", { className: "w-full overflow-hidden rounded-lg px-4", children: /* @__PURE__ */ e("div", { className: "flex h-[272px] w-full items-center justify-center rounded bg-[var(--ui-background-surface-active)]", children: s }) }),
25
- /* @__PURE__ */ w("div", { className: "flex w-full flex-col items-center gap-1 px-4 text-center", children: [
26
- a ? /* @__PURE__ */ e(K, { className: "w-full flex-none text-center", children: l }) : /* @__PURE__ */ e("p", { className: "w-full text-2xl font-normal leading-8 text-foreground", children: l }),
27
- a ? /* @__PURE__ */ e(O, { className: "w-full flex-none text-center text-sm leading-6 text-foreground", children: r }) : /* @__PURE__ */ e("p", { className: "w-full text-sm leading-6 text-foreground", children: r })
28
- ] })
29
- ]
30
- }
31
- );
1
+ import { cn as e } from "../../../lib/utils.js";
2
+ import { useDocDir as t } from "../../../lib/use-doc-dir.js";
3
+ import { Button as n } from "../button/button.js";
4
+ import { DialogClose as r, DialogContent as i, DialogDescription as a, DialogRoot as o, DialogTitle as s } from "../dialog/dialog.js";
5
+ import { DialogFooterCarousel as c } from "../dialog-footer-carousel/dialog-footer-carousel.js";
6
+ import l from "../../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.6/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js";
7
+ import * as u from "react";
8
+ import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
9
+ //#region src/components/ui/dialog-welcome/dialog-welcome.tsx
10
+ function m({ image: t, title: n, description: r, active: i, withBottomPadding: o = !0 }) {
11
+ return /* @__PURE__ */ p("div", {
12
+ className: e("flex w-full flex-col items-center gap-3 pt-4", o && "pb-4"),
13
+ children: [/* @__PURE__ */ f("div", {
14
+ className: "w-full overflow-hidden rounded-lg px-4",
15
+ children: /* @__PURE__ */ f("div", {
16
+ className: "flex h-[272px] w-full items-center justify-center rounded bg-[var(--ui-background-surface-active)]",
17
+ children: t
18
+ })
19
+ }), /* @__PURE__ */ p("div", {
20
+ className: "flex w-full flex-col items-center gap-1 px-4 text-center",
21
+ children: [i ? /* @__PURE__ */ f(s, {
22
+ className: "w-full flex-none text-center",
23
+ children: n
24
+ }) : /* @__PURE__ */ f("p", {
25
+ className: "w-full text-2xl font-normal leading-8 text-foreground",
26
+ children: n
27
+ }), i ? /* @__PURE__ */ f(a, {
28
+ className: "w-full flex-none text-center text-sm leading-6 text-foreground",
29
+ children: r
30
+ }) : /* @__PURE__ */ f("p", {
31
+ className: "w-full text-sm leading-6 text-foreground",
32
+ children: r
33
+ })]
34
+ })]
35
+ });
32
36
  }
33
- const E = [
34
- { title: "Title", description: "Feature description." },
35
- { title: "Title", description: "Feature description." },
36
- { title: "Title", description: "Feature description." }
37
+ var h = [
38
+ {
39
+ title: "Title",
40
+ description: "Feature description."
41
+ },
42
+ {
43
+ title: "Title",
44
+ description: "Feature description."
45
+ },
46
+ {
47
+ title: "Title",
48
+ description: "Feature description."
49
+ }
37
50
  ];
38
- function X({
39
- slideCount: s,
40
- selectedIndexProp: l,
41
- onSelectedIndexChange: r
42
- }) {
43
- const a = q(), i = l !== void 0, d = Math.min(
44
- Math.max(l ?? 0, 0),
45
- Math.max(s - 1, 0)
46
- ), [p, t] = U({
47
- loop: !1,
48
- direction: a,
49
- startIndex: d
50
- }), [v, N] = c.useState(0), o = Math.min(
51
- Math.max(l ?? v, 0),
52
- Math.max(s - 1, 0)
53
- ), f = c.useRef(r);
54
- c.useEffect(() => {
55
- f.current = r;
56
- }, [r]);
57
- const m = c.useRef(i);
58
- m.current = i;
59
- const n = c.useRef(o);
60
- n.current = o, c.useEffect(() => {
61
- if (!t) return;
62
- const u = () => {
63
- var x;
64
- const h = t.selectedScrollSnap();
65
- if (m.current) {
66
- if (!f.current) {
67
- h !== n.current && t.scrollTo(n.current, !0);
68
- return;
69
- }
70
- h !== n.current && f.current(h);
71
- return;
72
- }
73
- N(h), (x = f.current) == null || x.call(f, h);
74
- };
75
- return u(), t.on("select", u), t.on("reInit", u), () => {
76
- t.off("select", u), t.off("reInit", u);
77
- };
78
- }, [t]), c.useEffect(() => {
79
- l === void 0 || !t || t.selectedScrollSnap() !== o && t.scrollTo(o, !0);
80
- }, [t, l, o]);
81
- const D = c.useRef(!0);
82
- c.useEffect(() => {
83
- if (t) {
84
- if (D.current) {
85
- D.current = !1;
86
- return;
87
- }
88
- t.reInit({ direction: a });
89
- }
90
- }, [t, a]);
91
- const R = c.useCallback(
92
- (u) => {
93
- i ? r == null || r(u) : t == null || t.scrollTo(u);
94
- },
95
- [i, t, r]
96
- ), g = c.useCallback(() => {
97
- i ? r == null || r(Math.max(o - 1, 0)) : t == null || t.scrollPrev();
98
- }, [i, t, r, o]), k = c.useCallback(() => {
99
- i ? r == null || r(Math.min(o + 1, s - 1)) : t == null || t.scrollNext();
100
- }, [i, t, r, o, s]), T = o === s - 1 ? "end" : o === 0 ? "start" : "middle";
101
- return {
102
- emblaRef: p,
103
- selectedIndex: o,
104
- handleSelectIndex: R,
105
- handleBack: g,
106
- handleNext: k,
107
- footerVariant: T
108
- };
51
+ function g({ slideCount: e, selectedIndexProp: n, onSelectedIndexChange: r }) {
52
+ let i = t(), a = n !== void 0, o = Math.min(Math.max(n ?? 0, 0), Math.max(e - 1, 0)), [s, c] = l({
53
+ loop: !1,
54
+ direction: i,
55
+ startIndex: o
56
+ }), [d, f] = u.useState(0), p = Math.min(Math.max(n ?? d, 0), Math.max(e - 1, 0)), m = u.useRef(r);
57
+ u.useEffect(() => {
58
+ m.current = r;
59
+ }, [r]);
60
+ let h = u.useRef(a);
61
+ h.current = a;
62
+ let g = u.useRef(p);
63
+ g.current = p, u.useEffect(() => {
64
+ if (!c) return;
65
+ let e = () => {
66
+ let e = c.selectedScrollSnap();
67
+ if (h.current) {
68
+ if (!m.current) {
69
+ e !== g.current && c.scrollTo(g.current, !0);
70
+ return;
71
+ }
72
+ e !== g.current && m.current(e);
73
+ return;
74
+ }
75
+ f(e), m.current?.(e);
76
+ };
77
+ return e(), c.on("select", e), c.on("reInit", e), () => {
78
+ c.off("select", e), c.off("reInit", e);
79
+ };
80
+ }, [c]), u.useEffect(() => {
81
+ n === void 0 || !c || c.selectedScrollSnap() !== p && c.scrollTo(p, !0);
82
+ }, [
83
+ c,
84
+ n,
85
+ p
86
+ ]);
87
+ let _ = u.useRef(!0);
88
+ return u.useEffect(() => {
89
+ if (c) {
90
+ if (_.current) {
91
+ _.current = !1;
92
+ return;
93
+ }
94
+ c.reInit({ direction: i });
95
+ }
96
+ }, [c, i]), {
97
+ emblaRef: s,
98
+ selectedIndex: p,
99
+ handleSelectIndex: u.useCallback((e) => {
100
+ a ? r?.(e) : c?.scrollTo(e);
101
+ }, [
102
+ a,
103
+ c,
104
+ r
105
+ ]),
106
+ handleBack: u.useCallback(() => {
107
+ a ? r?.(Math.max(p - 1, 0)) : c?.scrollPrev();
108
+ }, [
109
+ a,
110
+ c,
111
+ r,
112
+ p
113
+ ]),
114
+ handleNext: u.useCallback(() => {
115
+ a ? r?.(Math.min(p + 1, e - 1)) : c?.scrollNext();
116
+ }, [
117
+ a,
118
+ c,
119
+ r,
120
+ p,
121
+ e
122
+ ]),
123
+ footerVariant: p === e - 1 ? "end" : p === 0 ? "start" : "middle"
124
+ };
109
125
  }
110
- function Y({
111
- slides: s,
112
- selectedIndex: l,
113
- emblaRef: r,
114
- footerVariant: a,
115
- onSelectIndex: i,
116
- onBack: d,
117
- onNext: p,
118
- onPrimaryAction: t,
119
- backLabel: v,
120
- nextLabel: N,
121
- primaryLabel: o,
122
- goToSlideLabel: f
123
- }) {
124
- return /* @__PURE__ */ w(L, { children: [
125
- /* @__PURE__ */ e("div", { ref: r, className: "w-full overflow-hidden", children: /* @__PURE__ */ e("div", { className: "flex", children: s.map((m, n) => /* @__PURE__ */ e(
126
- "div",
127
- {
128
- className: "min-w-0 shrink-0 grow-0 basis-full",
129
- "aria-hidden": n !== l || void 0,
130
- inert: n !== l,
131
- children: /* @__PURE__ */ e(
132
- F,
133
- {
134
- image: m.image,
135
- title: m.title,
136
- description: m.description,
137
- active: n === l
138
- }
139
- )
140
- },
141
- n
142
- )) }) }),
143
- /* @__PURE__ */ e(
144
- Q,
145
- {
146
- variant: a,
147
- slideCount: s.length,
148
- selectedIndex: l,
149
- onSelectIndex: i,
150
- onBack: d,
151
- onNext: p,
152
- onPrimaryAction: t,
153
- backLabel: v,
154
- nextLabel: N,
155
- primaryLabel: o,
156
- goToSlideLabel: f
157
- }
158
- )
159
- ] });
126
+ function _({ slides: e, selectedIndex: t, emblaRef: n, footerVariant: r, onSelectIndex: i, onBack: a, onNext: o, onPrimaryAction: s, backLabel: l, nextLabel: u, primaryLabel: h, goToSlideLabel: g }) {
127
+ return /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", {
128
+ ref: n,
129
+ className: "w-full overflow-hidden",
130
+ children: /* @__PURE__ */ f("div", {
131
+ className: "flex",
132
+ children: e.map((e, n) => /* @__PURE__ */ f("div", {
133
+ className: "min-w-0 shrink-0 grow-0 basis-full",
134
+ "aria-hidden": n !== t || void 0,
135
+ inert: n !== t,
136
+ children: /* @__PURE__ */ f(m, {
137
+ image: e.image,
138
+ title: e.title,
139
+ description: e.description,
140
+ active: n === t
141
+ })
142
+ }, n))
143
+ })
144
+ }), /* @__PURE__ */ f(c, {
145
+ variant: r,
146
+ slideCount: e.length,
147
+ selectedIndex: t,
148
+ onSelectIndex: i,
149
+ onBack: a,
150
+ onNext: o,
151
+ onPrimaryAction: s,
152
+ backLabel: l,
153
+ nextLabel: u,
154
+ primaryLabel: h,
155
+ goToSlideLabel: g
156
+ })] });
160
157
  }
161
- function Z({
162
- image: s,
163
- title: l,
164
- description: r,
165
- primaryLabel: a,
166
- onPrimaryAction: i,
167
- closeLabel: d,
168
- onCloseAction: p
169
- }) {
170
- return /* @__PURE__ */ w("div", { className: "flex w-full flex-col items-center gap-3 pb-4", children: [
171
- /* @__PURE__ */ e(
172
- F,
173
- {
174
- image: s,
175
- title: l,
176
- description: r,
177
- active: !0,
178
- withBottomPadding: !1
179
- }
180
- ),
181
- /* @__PURE__ */ w("div", { className: "flex w-full flex-col items-center gap-2 px-4", children: [
182
- /* @__PURE__ */ e(M, { onClick: i, children: a ?? "Call to action" }),
183
- /* @__PURE__ */ e(
184
- J,
185
- {
186
- onClick: p,
187
- render: /* @__PURE__ */ e(M, { variant: "ghost", children: d })
188
- }
189
- )
190
- ] })
191
- ] });
158
+ function v({ image: e, title: t, description: i, primaryLabel: a, onPrimaryAction: o, closeLabel: s, onCloseAction: c }) {
159
+ return /* @__PURE__ */ p("div", {
160
+ className: "flex w-full flex-col items-center gap-3 pb-4",
161
+ children: [/* @__PURE__ */ f(m, {
162
+ image: e,
163
+ title: t,
164
+ description: i,
165
+ active: !0,
166
+ withBottomPadding: !1
167
+ }), /* @__PURE__ */ p("div", {
168
+ className: "flex w-full flex-col items-center gap-2 px-4",
169
+ children: [/* @__PURE__ */ f(n, {
170
+ onClick: o,
171
+ children: a ?? "Call to action"
172
+ }), /* @__PURE__ */ f(r, {
173
+ onClick: c,
174
+ render: /* @__PURE__ */ f(n, {
175
+ variant: "ghost",
176
+ children: s
177
+ })
178
+ })]
179
+ })]
180
+ });
192
181
  }
193
- const $ = c.forwardRef(
194
- ({
195
- variant: s = "carousel",
196
- slides: l = E,
197
- selectedIndex: r,
198
- onSelectedIndexChange: a,
199
- backLabel: i,
200
- nextLabel: d,
201
- goToSlideLabel: p,
202
- image: t,
203
- title: v = "Title",
204
- description: N = "Feature description.",
205
- closeLabel: o = "Close",
206
- onCloseAction: f,
207
- primaryLabel: m,
208
- onPrimaryAction: n,
209
- portal: D,
210
- portalContainer: R,
211
- keepMounted: g,
212
- className: k,
213
- ...T
214
- }, u) => {
215
- const h = s === "carousel", x = l.length > 0 ? l : E, B = x.length, {
216
- emblaRef: b,
217
- selectedIndex: W,
218
- handleSelectIndex: j,
219
- handleBack: V,
220
- handleNext: y,
221
- footerVariant: z
222
- } = X({
223
- slideCount: B,
224
- selectedIndexProp: r,
225
- onSelectedIndexChange: a
226
- });
227
- return /* @__PURE__ */ e(G, { ...T, children: /* @__PURE__ */ e(
228
- H,
229
- {
230
- ref: u,
231
- size: "sm",
232
- portal: D,
233
- portalContainer: R,
234
- keepMounted: g,
235
- className: k,
236
- children: h ? /* @__PURE__ */ e(
237
- Y,
238
- {
239
- slides: x,
240
- selectedIndex: W,
241
- emblaRef: b,
242
- footerVariant: z,
243
- onSelectIndex: j,
244
- onBack: V,
245
- onNext: y,
246
- onPrimaryAction: n,
247
- backLabel: i,
248
- nextLabel: d,
249
- primaryLabel: m,
250
- goToSlideLabel: p
251
- }
252
- ) : /* @__PURE__ */ e(
253
- Z,
254
- {
255
- image: t,
256
- title: v,
257
- description: N,
258
- primaryLabel: m,
259
- onPrimaryAction: n,
260
- closeLabel: o,
261
- onCloseAction: f
262
- }
263
- )
264
- }
265
- ) });
266
- }
267
- );
268
- $.displayName = "DialogWelcome";
269
- export {
270
- $ as DialogWelcome
271
- };
272
- //# sourceMappingURL=dialog-welcome.js.map
182
+ var y = u.forwardRef(({ variant: e = "carousel", slides: t = h, selectedIndex: n, onSelectedIndexChange: r, backLabel: a, nextLabel: s, goToSlideLabel: c, image: l, title: u = "Title", description: d = "Feature description.", closeLabel: p = "Close", onCloseAction: m, primaryLabel: y, onPrimaryAction: b, portal: x, portalContainer: S, keepMounted: C, className: w, ...T }, E) => {
183
+ let D = e === "carousel", O = t.length > 0 ? t : h, k = O.length, { emblaRef: A, selectedIndex: j, handleSelectIndex: M, handleBack: N, handleNext: P, footerVariant: F } = g({
184
+ slideCount: k,
185
+ selectedIndexProp: n,
186
+ onSelectedIndexChange: r
187
+ });
188
+ return /* @__PURE__ */ f(o, {
189
+ ...T,
190
+ children: /* @__PURE__ */ f(i, {
191
+ ref: E,
192
+ size: "sm",
193
+ portal: x,
194
+ portalContainer: S,
195
+ keepMounted: C,
196
+ className: w,
197
+ children: D ? /* @__PURE__ */ f(_, {
198
+ slides: O,
199
+ selectedIndex: j,
200
+ emblaRef: A,
201
+ footerVariant: F,
202
+ onSelectIndex: M,
203
+ onBack: N,
204
+ onNext: P,
205
+ onPrimaryAction: b,
206
+ backLabel: a,
207
+ nextLabel: s,
208
+ primaryLabel: y,
209
+ goToSlideLabel: c
210
+ }) : /* @__PURE__ */ f(v, {
211
+ image: l,
212
+ title: u,
213
+ description: d,
214
+ primaryLabel: y,
215
+ onPrimaryAction: b,
216
+ closeLabel: p,
217
+ onCloseAction: m
218
+ })
219
+ })
220
+ });
221
+ });
222
+ y.displayName = "DialogWelcome";
223
+ //#endregion
224
+ export { y as DialogWelcome };
225
+
226
+ //# sourceMappingURL=dialog-welcome.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-welcome.js","sources":["../../../../src/components/ui/dialog-welcome/dialog-welcome.tsx"],"sourcesContent":["import * as React from 'react';\nimport useEmblaCarousel from 'embla-carousel-react';\n\nimport { cn } from '@/lib/utils';\nimport { useDocDir } from '@/lib/use-doc-dir';\n\nimport { Button } from '../button';\nimport {\n DialogClose,\n DialogContent,\n type DialogContentProps,\n DialogDescription,\n DialogRoot,\n DialogTitle,\n} from '../dialog';\nimport {\n DialogFooterCarousel,\n type DialogFooterCarouselVariant,\n} from '../dialog-footer-carousel';\n\n// Ports Figma's \"DialogWelcome\" component (node 7162:26459, variants\n// carousel/single): a `Container` (reuses the generic `DialogContent` popup\n// chrome — bg/radius/shadow already match the `--ui-dialog-container-*` tier)\n// around a `DialogBody` (Image + Title + Description) and, for\n// `variant=\"carousel\"`, a `DialogFooterCarousel` driven by a real Embla\n// instance built from scratch here — no import from any existing carousel\n// implementation.\n\nexport interface DialogWelcomeSlide {\n /** Illustration/media for the slide. Falls back to a placeholder surface when omitted. */\n image?: React.ReactNode;\n title: string;\n description: string;\n}\n\nexport type DialogWelcomeVariant = 'carousel' | 'single';\n\ninterface DialogWelcomeSlideBodyProps {\n image?: React.ReactNode;\n title: string;\n description: string;\n /** Whether this slide currently owns the dialog's accessible name/description. */\n active: boolean;\n /**\n * Whether this renders the DialogBody's own bottom padding (Figma's\n * `py-16` applied around the whole body). `false` when more DialogBody\n * content (e.g. the `single` variant's buttons) follows, so the caller can\n * apply the correct `gap-12` between them instead of stacking padding on\n * top of a gap.\n */\n withBottomPadding?: boolean;\n}\n\nfunction DialogWelcomeSlideBody({\n image,\n title,\n description,\n active,\n withBottomPadding = true,\n}: DialogWelcomeSlideBodyProps) {\n return (\n <div\n className={cn(\n 'flex w-full flex-col items-center gap-3 pt-4',\n withBottomPadding && 'pb-4'\n )}\n >\n <div className=\"w-full overflow-hidden rounded-lg px-4\">\n <div className=\"flex h-[272px] w-full items-center justify-center rounded bg-[var(--ui-background-surface-active)]\">\n {image}\n </div>\n </div>\n <div className=\"flex w-full flex-col items-center gap-1 px-4 text-center\">\n {active ? (\n <DialogTitle className=\"w-full flex-none text-center\">\n {title}\n </DialogTitle>\n ) : (\n <p className=\"w-full text-2xl font-normal leading-8 text-foreground\">\n {title}\n </p>\n )}\n {active ? (\n <DialogDescription className=\"w-full flex-none text-center text-sm leading-6 text-foreground\">\n {description}\n </DialogDescription>\n ) : (\n <p className=\"w-full text-sm leading-6 text-foreground\">\n {description}\n </p>\n )}\n </div>\n </div>\n );\n}\n\nconst DEFAULT_SLIDES: DialogWelcomeSlide[] = [\n { title: 'Title', description: 'Feature description.' },\n { title: 'Title', description: 'Feature description.' },\n { title: 'Title', description: 'Feature description.' },\n];\n\ninterface UseDialogWelcomeCarouselOptions {\n slideCount: number;\n selectedIndexProp?: number;\n onSelectedIndexChange?: (index: number) => void;\n}\n\nfunction useDialogWelcomeCarousel({\n slideCount,\n selectedIndexProp,\n onSelectedIndexChange,\n}: UseDialogWelcomeCarouselOptions) {\n const dir = useDocDir();\n const isControlled = selectedIndexProp !== undefined;\n // Mount Embla already on the (clamped) controlled slide instead of its\n // default 0 — otherwise the initial `onSelect()` below reports a phantom\n // \"slide 0\" before the resync effect corrects it, which a consumer wiring\n // analytics off `onSelectedIndexChange` would log as a real event.\n const initialIndex = Math.min(\n Math.max(selectedIndexProp ?? 0, 0),\n Math.max(slideCount - 1, 0)\n );\n const [emblaRef, emblaApi] = useEmblaCarousel({\n loop: false,\n direction: dir,\n startIndex: initialIndex,\n });\n const [internalIndex, setInternalIndex] = React.useState(0);\n // Two-sided: an out-of-range (e.g. negative) `selectedIndex` must still\n // resolve to a real slide, or no slide would carry the dialog's\n // Title/Description (see dialog-welcome/accessibility.md's one-active-slide\n // invariant).\n const selectedIndex = Math.min(\n Math.max(selectedIndexProp ?? internalIndex, 0),\n Math.max(slideCount - 1, 0)\n );\n\n // `onSelectedIndexChange` is read from a ref, not a `useEffect` dependency,\n // so an inline (non-memoized) consumer callback can't force this effect to\n // re-subscribe — which would call `onSelect()` again on the same slide and,\n // if the consumer's callback triggers a re-render, loop indefinitely.\n const onSelectedIndexChangeRef = React.useRef(onSelectedIndexChange);\n React.useEffect(() => {\n onSelectedIndexChangeRef.current = onSelectedIndexChange;\n }, [onSelectedIndexChange]);\n\n // Read fresh on every Embla event without forcing the subscription effect\n // below to resubscribe (same reasoning as `onSelectedIndexChangeRef`).\n const isControlledRef = React.useRef(isControlled);\n isControlledRef.current = isControlled;\n const selectedIndexRef = React.useRef(selectedIndex);\n selectedIndexRef.current = selectedIndex;\n\n React.useEffect(() => {\n if (!emblaApi) return;\n const onSelect = () => {\n const index = emblaApi.selectedScrollSnap();\n if (isControlledRef.current) {\n if (!onSelectedIndexChangeRef.current) {\n // Embla is draggable regardless of controlled state, so a swipe can\n // still move it physically even though clicks are correctly no-ops\n // in this configuration (controlled with no way to move the prop\n // forward). Snap back instead of leaving the visible slide diverged\n // from the one carrying the dialog's accessible name.\n if (index !== selectedIndexRef.current) {\n emblaApi.scrollTo(selectedIndexRef.current, true);\n }\n return;\n }\n // A click/dot handler reports the new index directly, then the resync\n // effect below drives Embla to match via `scrollTo`, which re-emits\n // this same `select` event. Only forward it when it disagrees with\n // the last known controlled index, or a single navigation double-\n // fires the consumer's `onSelectedIndexChange` (e.g. analytics).\n if (index !== selectedIndexRef.current) {\n onSelectedIndexChangeRef.current(index);\n }\n return;\n }\n setInternalIndex(index);\n onSelectedIndexChangeRef.current?.(index);\n };\n onSelect();\n emblaApi.on('select', onSelect);\n emblaApi.on('reInit', onSelect);\n return () => {\n emblaApi.off('select', onSelect);\n emblaApi.off('reInit', onSelect);\n };\n }, [emblaApi]);\n\n React.useEffect(() => {\n if (selectedIndexProp === undefined || !emblaApi) return;\n if (emblaApi.selectedScrollSnap() !== selectedIndex) {\n // `jump: true` — a controlled `selectedIndex` change snaps instantly\n // rather than animating. Without it, the initial sync on mount races\n // the smooth-scroll animation, so an immediate screenshot (e.g. VR)\n // can catch a mid-scroll frame instead of the settled slide.\n emblaApi.scrollTo(selectedIndex, true);\n }\n }, [emblaApi, selectedIndexProp, selectedIndex]);\n\n // Skip the first time this effect sees a non-null `emblaApi` — Embla was\n // already constructed with that render's `dir` (see `useEmblaCarousel`\n // above), so re-running `reInit` immediately is redundant. Worse, Embla's\n // `reInit` synchronously re-emits `'reInit'` even when nothing changed,\n // which would re-invoke the `onSelect` listener registered by the mount\n // effect above and double-fire `onSelectedIndexChange` on mount. Only a\n // genuine post-mount `dir` change (e.g. `useDocDir`'s SSR-safe resync, or\n // the document's `dir` actually flipping at runtime) should call `reInit`.\n const skipNextReInitRef = React.useRef(true);\n React.useEffect(() => {\n if (!emblaApi) return;\n if (skipNextReInitRef.current) {\n skipNextReInitRef.current = false;\n return;\n }\n emblaApi.reInit({ direction: dir });\n }, [emblaApi, dir]);\n\n // Controlled mode never drives Embla directly from Back/Next/dot clicks —\n // only the resync effect above (keyed to `selectedIndexProp`) does. This\n // keeps Embla's physical position from drifting away from the prop when a\n // consumer passes `selectedIndex` without wiring `onSelectedIndexChange`.\n const handleSelectIndex = React.useCallback(\n (index: number) => {\n if (isControlled) {\n onSelectedIndexChange?.(index);\n } else {\n emblaApi?.scrollTo(index);\n }\n },\n [isControlled, emblaApi, onSelectedIndexChange]\n );\n const handleBack = React.useCallback(() => {\n if (isControlled) {\n onSelectedIndexChange?.(Math.max(selectedIndex - 1, 0));\n } else {\n emblaApi?.scrollPrev();\n }\n }, [isControlled, emblaApi, onSelectedIndexChange, selectedIndex]);\n const handleNext = React.useCallback(() => {\n if (isControlled) {\n onSelectedIndexChange?.(Math.min(selectedIndex + 1, slideCount - 1));\n } else {\n emblaApi?.scrollNext();\n }\n }, [isControlled, emblaApi, onSelectedIndexChange, selectedIndex, slideCount]);\n\n // Check `slideCount - 1` first: for a single-slide carousel, index 0 is\n // both the first AND last slide, and 'end' (unlocking the primary action)\n // must win.\n const footerVariant: DialogFooterCarouselVariant =\n selectedIndex === slideCount - 1\n ? 'end'\n : selectedIndex === 0\n ? 'start'\n : 'middle';\n\n return {\n emblaRef,\n selectedIndex,\n handleSelectIndex,\n handleBack,\n handleNext,\n footerVariant,\n };\n}\n\ninterface ContainerCarouselProps {\n slides: DialogWelcomeSlide[];\n selectedIndex: number;\n emblaRef: ReturnType<typeof useEmblaCarousel>[0];\n footerVariant: DialogFooterCarouselVariant;\n onSelectIndex: (index: number) => void;\n onBack: () => void;\n onNext: () => void;\n onPrimaryAction?: () => void;\n backLabel?: string;\n nextLabel?: string;\n primaryLabel?: string;\n goToSlideLabel?: (index: number, count: number) => string;\n}\n\nfunction ContainerCarousel({\n slides,\n selectedIndex,\n emblaRef,\n footerVariant,\n onSelectIndex,\n onBack,\n onNext,\n onPrimaryAction,\n backLabel,\n nextLabel,\n primaryLabel,\n goToSlideLabel,\n}: ContainerCarouselProps) {\n return (\n <>\n <div ref={emblaRef} className=\"w-full overflow-hidden\">\n <div className=\"flex\">\n {slides.map((slide, index) => (\n <div\n key={index}\n className=\"min-w-0 shrink-0 grow-0 basis-full\"\n aria-hidden={index !== selectedIndex || undefined}\n inert={index !== selectedIndex}\n >\n <DialogWelcomeSlideBody\n image={slide.image}\n title={slide.title}\n description={slide.description}\n active={index === selectedIndex}\n />\n </div>\n ))}\n </div>\n </div>\n <DialogFooterCarousel\n variant={footerVariant}\n slideCount={slides.length}\n selectedIndex={selectedIndex}\n onSelectIndex={onSelectIndex}\n onBack={onBack}\n onNext={onNext}\n onPrimaryAction={onPrimaryAction}\n backLabel={backLabel}\n nextLabel={nextLabel}\n primaryLabel={primaryLabel}\n goToSlideLabel={goToSlideLabel}\n />\n </>\n );\n}\n\ninterface ContainerNoSlidesProps {\n image?: React.ReactNode;\n title: string;\n description: string;\n primaryLabel?: string;\n onPrimaryAction?: () => void;\n closeLabel: string;\n onCloseAction?: () => void;\n}\n\nfunction ContainerNoSlides({\n image,\n title,\n description,\n primaryLabel,\n onPrimaryAction,\n closeLabel,\n onCloseAction,\n}: ContainerNoSlidesProps) {\n return (\n <div className=\"flex w-full flex-col items-center gap-3 pb-4\">\n <DialogWelcomeSlideBody\n image={image}\n title={title}\n description={description}\n active\n withBottomPadding={false}\n />\n <div className=\"flex w-full flex-col items-center gap-2 px-4\">\n <Button onClick={onPrimaryAction}>\n {primaryLabel ?? 'Call to action'}\n </Button>\n <DialogClose\n onClick={onCloseAction}\n render={<Button variant=\"ghost\">{closeLabel}</Button>}\n />\n </div>\n </div>\n );\n}\n\ntype DialogRootProps = React.ComponentPropsWithoutRef<typeof DialogRoot>;\n\nexport interface DialogWelcomeProps extends Omit<DialogRootProps, 'children'> {\n /** Selects the Figma-defined layout. Defaults to `'carousel'`. */\n variant?: DialogWelcomeVariant;\n /** Slides shown one at a time (`variant=\"carousel\"`). Defaults to a 3-slide placeholder. */\n slides?: DialogWelcomeSlide[];\n /** Controls the active slide (`variant=\"carousel\"`). Uncontrolled when omitted. */\n selectedIndex?: number;\n /** Fires whenever the active slide changes (`variant=\"carousel\"`). */\n onSelectedIndexChange?: (index: number) => void;\n /** `Back` button label (`variant=\"carousel\"`). Defaults to `'Back'`. */\n backLabel?: string;\n /** `Next` button label (`variant=\"carousel\"`). Defaults to `'Next'`. */\n nextLabel?: string;\n /** Builds each carousel dot's accessible name (`variant=\"carousel\"`). */\n goToSlideLabel?: (index: number, count: number) => string;\n /** Illustration/media (`variant=\"single\"`). */\n image?: React.ReactNode;\n /** Title (`variant=\"single\"`). Defaults to `'Title'`. */\n title?: string;\n /** Description (`variant=\"single\"`). Defaults to `'Feature description.'`. */\n description?: string;\n /** `Close` link label (`variant=\"single\"`). Defaults to `'Close'`. */\n closeLabel?: string;\n /** Fires when `Close` (`variant=\"single\"`) is activated, before the dialog closes. */\n onCloseAction?: () => void;\n /**\n * Call-to-action button label — the last carousel slide's button\n * (`variant=\"carousel\"`) or the single body's primary button\n * (`variant=\"single\"`). Defaults to `'Call to action'`.\n */\n primaryLabel?: string;\n /** Fires when the call-to-action button is activated. */\n onPrimaryAction?: () => void;\n /** Render inside a portal (forwarded to `DialogContent`). Defaults to `true`. */\n portal?: boolean;\n /** Portal container (forwarded to `DialogContent`). */\n portalContainer?: DialogContentProps['portalContainer'];\n /** Keep the content mounted while closed (forwarded to `DialogContent`). */\n keepMounted?: DialogContentProps['keepMounted'];\n /** Extra classes merged onto the popup container. */\n className?: string;\n}\n\nconst DialogWelcome = React.forwardRef<HTMLDivElement, DialogWelcomeProps>(\n (\n {\n variant = 'carousel',\n slides = DEFAULT_SLIDES,\n selectedIndex: selectedIndexProp,\n onSelectedIndexChange,\n backLabel,\n nextLabel,\n goToSlideLabel,\n image,\n title = 'Title',\n description = 'Feature description.',\n closeLabel = 'Close',\n onCloseAction,\n primaryLabel,\n onPrimaryAction,\n portal,\n portalContainer,\n keepMounted,\n className,\n ...rootProps\n },\n ref\n ) => {\n const isCarousel = variant === 'carousel';\n // An explicit `slides={[]}` would otherwise mount no Title/Description\n // and suppress the footer, leaving the dialog with no accessible name —\n // fall back to the default placeholder slides instead.\n const resolvedSlides = slides.length > 0 ? slides : DEFAULT_SLIDES;\n const slideCount = resolvedSlides.length;\n\n const {\n emblaRef,\n selectedIndex,\n handleSelectIndex,\n handleBack,\n handleNext,\n footerVariant,\n } = useDialogWelcomeCarousel({\n slideCount,\n selectedIndexProp,\n onSelectedIndexChange,\n });\n\n return (\n <DialogRoot {...rootProps}>\n <DialogContent\n ref={ref}\n size=\"sm\"\n portal={portal}\n portalContainer={portalContainer}\n keepMounted={keepMounted}\n className={className}\n >\n {isCarousel ? (\n <ContainerCarousel\n slides={resolvedSlides}\n selectedIndex={selectedIndex}\n emblaRef={emblaRef}\n footerVariant={footerVariant}\n onSelectIndex={handleSelectIndex}\n onBack={handleBack}\n onNext={handleNext}\n onPrimaryAction={onPrimaryAction}\n backLabel={backLabel}\n nextLabel={nextLabel}\n primaryLabel={primaryLabel}\n goToSlideLabel={goToSlideLabel}\n />\n ) : (\n <ContainerNoSlides\n image={image}\n title={title}\n description={description}\n primaryLabel={primaryLabel}\n onPrimaryAction={onPrimaryAction}\n closeLabel={closeLabel}\n onCloseAction={onCloseAction}\n />\n )}\n </DialogContent>\n </DialogRoot>\n );\n }\n);\nDialogWelcome.displayName = 'DialogWelcome';\n\nexport { DialogWelcome };\n"],"names":["DialogWelcomeSlideBody","image","title","description","active","withBottomPadding","jsxs","cn","jsx","DialogTitle","DialogDescription","DEFAULT_SLIDES","useDialogWelcomeCarousel","slideCount","selectedIndexProp","onSelectedIndexChange","dir","useDocDir","isControlled","initialIndex","emblaRef","emblaApi","useEmblaCarousel","internalIndex","setInternalIndex","React","selectedIndex","onSelectedIndexChangeRef","isControlledRef","selectedIndexRef","onSelect","index","_a","skipNextReInitRef","handleSelectIndex","handleBack","handleNext","footerVariant","ContainerCarousel","slides","onSelectIndex","onBack","onNext","onPrimaryAction","backLabel","nextLabel","primaryLabel","goToSlideLabel","Fragment","slide","DialogFooterCarousel","ContainerNoSlides","closeLabel","onCloseAction","Button","DialogClose","DialogWelcome","variant","portal","portalContainer","keepMounted","className","rootProps","ref","isCarousel","resolvedSlides","DialogRoot","DialogContent"],"mappings":";;;;;;;;AAqDA,SAASA,EAAuB;AAAA,EAC9B,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,QAAAC;AAAA,EACA,mBAAAC,IAAoB;AACtB,GAAgC;AAC9B,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WA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;AAAA,QACL,QAAAL;AAAA,QACA,iBAAAC;AAAA,QACA,aAAAC;AAAA,QACA,WAAAC;AAAA,QAEC,UAAAG,IACC,gBAAAxD;AAAA,UAAC8B;AAAA,UAAA;AAAA,YACC,QAAQ2B;AAAA,YACR,eAAAvC;AAAA,YACA,UAAAN;AAAA,YACA,eAAAiB;AAAA,YACA,eAAeH;AAAA,YACf,QAAQC;AAAA,YACR,QAAQC;AAAA,YACR,iBAAAO;AAAA,YACA,WAAAC;AAAA,YACA,WAAAC;AAAA,YACA,cAAAC;AAAA,YACA,gBAAAC;AAAA,UAAA;AAAA,QAAA,IAGF,gBAAAvC;AAAA,UAAC2C;AAAA,UAAA;AAAA,YACC,OAAAlD;AAAA,YACA,OAAAC;AAAA,YACA,aAAAC;AAAA,YACA,cAAA2C;AAAA,YACA,iBAAAH;AAAA,YACA,YAAAS;AAAA,YACA,eAAAC;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA,GAGN;AAAA,EAEJ;AACF;AACAG,EAAc,cAAc;"}
1
+ {"version":3,"file":"dialog-welcome.js","names":[],"sources":["../../../../src/components/ui/dialog-welcome/dialog-welcome.tsx"],"sourcesContent":["import * as React from 'react';\nimport useEmblaCarousel from 'embla-carousel-react';\n\nimport { cn } from '@/lib/utils';\nimport { useDocDir } from '@/lib/use-doc-dir';\n\nimport { Button } from '../button';\nimport {\n DialogClose,\n DialogContent,\n type DialogContentProps,\n DialogDescription,\n DialogRoot,\n DialogTitle,\n} from '../dialog';\nimport {\n DialogFooterCarousel,\n type DialogFooterCarouselVariant,\n} from '../dialog-footer-carousel';\n\n// Ports Figma's \"DialogWelcome\" component (node 7162:26459, variants\n// carousel/single): a `Container` (reuses the generic `DialogContent` popup\n// chrome — bg/radius/shadow already match the `--ui-dialog-container-*` tier)\n// around a `DialogBody` (Image + Title + Description) and, for\n// `variant=\"carousel\"`, a `DialogFooterCarousel` driven by a real Embla\n// instance built from scratch here — no import from any existing carousel\n// implementation.\n\nexport interface DialogWelcomeSlide {\n /** Illustration/media for the slide. Falls back to a placeholder surface when omitted. */\n image?: React.ReactNode;\n title: string;\n description: string;\n}\n\nexport type DialogWelcomeVariant = 'carousel' | 'single';\n\ninterface DialogWelcomeSlideBodyProps {\n image?: React.ReactNode;\n title: string;\n description: string;\n /** Whether this slide currently owns the dialog's accessible name/description. */\n active: boolean;\n /**\n * Whether this renders the DialogBody's own bottom padding (Figma's\n * `py-16` applied around the whole body). `false` when more DialogBody\n * content (e.g. the `single` variant's buttons) follows, so the caller can\n * apply the correct `gap-12` between them instead of stacking padding on\n * top of a gap.\n */\n withBottomPadding?: boolean;\n}\n\nfunction DialogWelcomeSlideBody({\n image,\n title,\n description,\n active,\n withBottomPadding = true,\n}: DialogWelcomeSlideBodyProps) {\n return (\n <div\n className={cn(\n 'flex w-full flex-col items-center gap-3 pt-4',\n withBottomPadding && 'pb-4'\n )}\n >\n <div className=\"w-full overflow-hidden rounded-lg px-4\">\n <div className=\"flex h-[272px] w-full items-center justify-center rounded bg-[var(--ui-background-surface-active)]\">\n {image}\n </div>\n </div>\n <div className=\"flex w-full flex-col items-center gap-1 px-4 text-center\">\n {active ? (\n <DialogTitle className=\"w-full flex-none text-center\">\n {title}\n </DialogTitle>\n ) : (\n <p className=\"w-full text-2xl font-normal leading-8 text-foreground\">\n {title}\n </p>\n )}\n {active ? (\n <DialogDescription className=\"w-full flex-none text-center text-sm leading-6 text-foreground\">\n {description}\n </DialogDescription>\n ) : (\n <p className=\"w-full text-sm leading-6 text-foreground\">\n {description}\n </p>\n )}\n </div>\n </div>\n );\n}\n\nconst DEFAULT_SLIDES: DialogWelcomeSlide[] = [\n { title: 'Title', description: 'Feature description.' },\n { title: 'Title', description: 'Feature description.' },\n { title: 'Title', description: 'Feature description.' },\n];\n\ninterface UseDialogWelcomeCarouselOptions {\n slideCount: number;\n selectedIndexProp?: number;\n onSelectedIndexChange?: (index: number) => void;\n}\n\nfunction useDialogWelcomeCarousel({\n slideCount,\n selectedIndexProp,\n onSelectedIndexChange,\n}: UseDialogWelcomeCarouselOptions) {\n const dir = useDocDir();\n const isControlled = selectedIndexProp !== undefined;\n // Mount Embla already on the (clamped) controlled slide instead of its\n // default 0 — otherwise the initial `onSelect()` below reports a phantom\n // \"slide 0\" before the resync effect corrects it, which a consumer wiring\n // analytics off `onSelectedIndexChange` would log as a real event.\n const initialIndex = Math.min(\n Math.max(selectedIndexProp ?? 0, 0),\n Math.max(slideCount - 1, 0)\n );\n const [emblaRef, emblaApi] = useEmblaCarousel({\n loop: false,\n direction: dir,\n startIndex: initialIndex,\n });\n const [internalIndex, setInternalIndex] = React.useState(0);\n // Two-sided: an out-of-range (e.g. negative) `selectedIndex` must still\n // resolve to a real slide, or no slide would carry the dialog's\n // Title/Description (see dialog-welcome/accessibility.md's one-active-slide\n // invariant).\n const selectedIndex = Math.min(\n Math.max(selectedIndexProp ?? internalIndex, 0),\n Math.max(slideCount - 1, 0)\n );\n\n // `onSelectedIndexChange` is read from a ref, not a `useEffect` dependency,\n // so an inline (non-memoized) consumer callback can't force this effect to\n // re-subscribe — which would call `onSelect()` again on the same slide and,\n // if the consumer's callback triggers a re-render, loop indefinitely.\n const onSelectedIndexChangeRef = React.useRef(onSelectedIndexChange);\n React.useEffect(() => {\n onSelectedIndexChangeRef.current = onSelectedIndexChange;\n }, [onSelectedIndexChange]);\n\n // Read fresh on every Embla event without forcing the subscription effect\n // below to resubscribe (same reasoning as `onSelectedIndexChangeRef`).\n const isControlledRef = React.useRef(isControlled);\n isControlledRef.current = isControlled;\n const selectedIndexRef = React.useRef(selectedIndex);\n selectedIndexRef.current = selectedIndex;\n\n React.useEffect(() => {\n if (!emblaApi) return;\n const onSelect = () => {\n const index = emblaApi.selectedScrollSnap();\n if (isControlledRef.current) {\n if (!onSelectedIndexChangeRef.current) {\n // Embla is draggable regardless of controlled state, so a swipe can\n // still move it physically even though clicks are correctly no-ops\n // in this configuration (controlled with no way to move the prop\n // forward). Snap back instead of leaving the visible slide diverged\n // from the one carrying the dialog's accessible name.\n if (index !== selectedIndexRef.current) {\n emblaApi.scrollTo(selectedIndexRef.current, true);\n }\n return;\n }\n // A click/dot handler reports the new index directly, then the resync\n // effect below drives Embla to match via `scrollTo`, which re-emits\n // this same `select` event. Only forward it when it disagrees with\n // the last known controlled index, or a single navigation double-\n // fires the consumer's `onSelectedIndexChange` (e.g. analytics).\n if (index !== selectedIndexRef.current) {\n onSelectedIndexChangeRef.current(index);\n }\n return;\n }\n setInternalIndex(index);\n onSelectedIndexChangeRef.current?.(index);\n };\n onSelect();\n emblaApi.on('select', onSelect);\n emblaApi.on('reInit', onSelect);\n return () => {\n emblaApi.off('select', onSelect);\n emblaApi.off('reInit', onSelect);\n };\n }, [emblaApi]);\n\n React.useEffect(() => {\n if (selectedIndexProp === undefined || !emblaApi) return;\n if (emblaApi.selectedScrollSnap() !== selectedIndex) {\n // `jump: true` — a controlled `selectedIndex` change snaps instantly\n // rather than animating. Without it, the initial sync on mount races\n // the smooth-scroll animation, so an immediate screenshot (e.g. VR)\n // can catch a mid-scroll frame instead of the settled slide.\n emblaApi.scrollTo(selectedIndex, true);\n }\n }, [emblaApi, selectedIndexProp, selectedIndex]);\n\n // Skip the first time this effect sees a non-null `emblaApi` — Embla was\n // already constructed with that render's `dir` (see `useEmblaCarousel`\n // above), so re-running `reInit` immediately is redundant. Worse, Embla's\n // `reInit` synchronously re-emits `'reInit'` even when nothing changed,\n // which would re-invoke the `onSelect` listener registered by the mount\n // effect above and double-fire `onSelectedIndexChange` on mount. Only a\n // genuine post-mount `dir` change (e.g. `useDocDir`'s SSR-safe resync, or\n // the document's `dir` actually flipping at runtime) should call `reInit`.\n const skipNextReInitRef = React.useRef(true);\n React.useEffect(() => {\n if (!emblaApi) return;\n if (skipNextReInitRef.current) {\n skipNextReInitRef.current = false;\n return;\n }\n emblaApi.reInit({ direction: dir });\n }, [emblaApi, dir]);\n\n // Controlled mode never drives Embla directly from Back/Next/dot clicks —\n // only the resync effect above (keyed to `selectedIndexProp`) does. This\n // keeps Embla's physical position from drifting away from the prop when a\n // consumer passes `selectedIndex` without wiring `onSelectedIndexChange`.\n const handleSelectIndex = React.useCallback(\n (index: number) => {\n if (isControlled) {\n onSelectedIndexChange?.(index);\n } else {\n emblaApi?.scrollTo(index);\n }\n },\n [isControlled, emblaApi, onSelectedIndexChange]\n );\n const handleBack = React.useCallback(() => {\n if (isControlled) {\n onSelectedIndexChange?.(Math.max(selectedIndex - 1, 0));\n } else {\n emblaApi?.scrollPrev();\n }\n }, [isControlled, emblaApi, onSelectedIndexChange, selectedIndex]);\n const handleNext = React.useCallback(() => {\n if (isControlled) {\n onSelectedIndexChange?.(Math.min(selectedIndex + 1, slideCount - 1));\n } else {\n emblaApi?.scrollNext();\n }\n }, [isControlled, emblaApi, onSelectedIndexChange, selectedIndex, slideCount]);\n\n // Check `slideCount - 1` first: for a single-slide carousel, index 0 is\n // both the first AND last slide, and 'end' (unlocking the primary action)\n // must win.\n const footerVariant: DialogFooterCarouselVariant =\n selectedIndex === slideCount - 1\n ? 'end'\n : selectedIndex === 0\n ? 'start'\n : 'middle';\n\n return {\n emblaRef,\n selectedIndex,\n handleSelectIndex,\n handleBack,\n handleNext,\n footerVariant,\n };\n}\n\ninterface ContainerCarouselProps {\n slides: DialogWelcomeSlide[];\n selectedIndex: number;\n emblaRef: ReturnType<typeof useEmblaCarousel>[0];\n footerVariant: DialogFooterCarouselVariant;\n onSelectIndex: (index: number) => void;\n onBack: () => void;\n onNext: () => void;\n onPrimaryAction?: () => void;\n backLabel?: string;\n nextLabel?: string;\n primaryLabel?: string;\n goToSlideLabel?: (index: number, count: number) => string;\n}\n\nfunction ContainerCarousel({\n slides,\n selectedIndex,\n emblaRef,\n footerVariant,\n onSelectIndex,\n onBack,\n onNext,\n onPrimaryAction,\n backLabel,\n nextLabel,\n primaryLabel,\n goToSlideLabel,\n}: ContainerCarouselProps) {\n return (\n <>\n <div ref={emblaRef} className=\"w-full overflow-hidden\">\n <div className=\"flex\">\n {slides.map((slide, index) => (\n <div\n key={index}\n className=\"min-w-0 shrink-0 grow-0 basis-full\"\n aria-hidden={index !== selectedIndex || undefined}\n inert={index !== selectedIndex}\n >\n <DialogWelcomeSlideBody\n image={slide.image}\n title={slide.title}\n description={slide.description}\n active={index === selectedIndex}\n />\n </div>\n ))}\n </div>\n </div>\n <DialogFooterCarousel\n variant={footerVariant}\n slideCount={slides.length}\n selectedIndex={selectedIndex}\n onSelectIndex={onSelectIndex}\n onBack={onBack}\n onNext={onNext}\n onPrimaryAction={onPrimaryAction}\n backLabel={backLabel}\n nextLabel={nextLabel}\n primaryLabel={primaryLabel}\n goToSlideLabel={goToSlideLabel}\n />\n </>\n );\n}\n\ninterface ContainerNoSlidesProps {\n image?: React.ReactNode;\n title: string;\n description: string;\n primaryLabel?: string;\n onPrimaryAction?: () => void;\n closeLabel: string;\n onCloseAction?: () => void;\n}\n\nfunction ContainerNoSlides({\n image,\n title,\n description,\n primaryLabel,\n onPrimaryAction,\n closeLabel,\n onCloseAction,\n}: ContainerNoSlidesProps) {\n return (\n <div className=\"flex w-full flex-col items-center gap-3 pb-4\">\n <DialogWelcomeSlideBody\n image={image}\n title={title}\n description={description}\n active\n withBottomPadding={false}\n />\n <div className=\"flex w-full flex-col items-center gap-2 px-4\">\n <Button onClick={onPrimaryAction}>\n {primaryLabel ?? 'Call to action'}\n </Button>\n <DialogClose\n onClick={onCloseAction}\n render={<Button variant=\"ghost\">{closeLabel}</Button>}\n />\n </div>\n </div>\n );\n}\n\ntype DialogRootProps = React.ComponentPropsWithoutRef<typeof DialogRoot>;\n\nexport interface DialogWelcomeProps extends Omit<DialogRootProps, 'children'> {\n /** Selects the Figma-defined layout. Defaults to `'carousel'`. */\n variant?: DialogWelcomeVariant;\n /** Slides shown one at a time (`variant=\"carousel\"`). Defaults to a 3-slide placeholder. */\n slides?: DialogWelcomeSlide[];\n /** Controls the active slide (`variant=\"carousel\"`). Uncontrolled when omitted. */\n selectedIndex?: number;\n /** Fires whenever the active slide changes (`variant=\"carousel\"`). */\n onSelectedIndexChange?: (index: number) => void;\n /** `Back` button label (`variant=\"carousel\"`). Defaults to `'Back'`. */\n backLabel?: string;\n /** `Next` button label (`variant=\"carousel\"`). Defaults to `'Next'`. */\n nextLabel?: string;\n /** Builds each carousel dot's accessible name (`variant=\"carousel\"`). */\n goToSlideLabel?: (index: number, count: number) => string;\n /** Illustration/media (`variant=\"single\"`). */\n image?: React.ReactNode;\n /** Title (`variant=\"single\"`). Defaults to `'Title'`. */\n title?: string;\n /** Description (`variant=\"single\"`). Defaults to `'Feature description.'`. */\n description?: string;\n /** `Close` link label (`variant=\"single\"`). Defaults to `'Close'`. */\n closeLabel?: string;\n /** Fires when `Close` (`variant=\"single\"`) is activated, before the dialog closes. */\n onCloseAction?: () => void;\n /**\n * Call-to-action button label — the last carousel slide's button\n * (`variant=\"carousel\"`) or the single body's primary button\n * (`variant=\"single\"`). Defaults to `'Call to action'`.\n */\n primaryLabel?: string;\n /** Fires when the call-to-action button is activated. */\n onPrimaryAction?: () => void;\n /** Render inside a portal (forwarded to `DialogContent`). Defaults to `true`. */\n portal?: boolean;\n /** Portal container (forwarded to `DialogContent`). */\n portalContainer?: DialogContentProps['portalContainer'];\n /** Keep the content mounted while closed (forwarded to `DialogContent`). */\n keepMounted?: DialogContentProps['keepMounted'];\n /** Extra classes merged onto the popup container. */\n className?: string;\n}\n\nconst DialogWelcome = React.forwardRef<HTMLDivElement, DialogWelcomeProps>(\n (\n {\n variant = 'carousel',\n slides = DEFAULT_SLIDES,\n selectedIndex: selectedIndexProp,\n onSelectedIndexChange,\n backLabel,\n nextLabel,\n goToSlideLabel,\n image,\n title = 'Title',\n description = 'Feature description.',\n closeLabel = 'Close',\n onCloseAction,\n primaryLabel,\n onPrimaryAction,\n portal,\n portalContainer,\n keepMounted,\n className,\n ...rootProps\n },\n ref\n ) => {\n const isCarousel = variant === 'carousel';\n // An explicit `slides={[]}` would otherwise mount no Title/Description\n // and suppress the footer, leaving the dialog with no accessible name —\n // fall back to the default placeholder slides instead.\n const resolvedSlides = slides.length > 0 ? slides : DEFAULT_SLIDES;\n const slideCount = resolvedSlides.length;\n\n const {\n emblaRef,\n selectedIndex,\n handleSelectIndex,\n handleBack,\n handleNext,\n footerVariant,\n } = useDialogWelcomeCarousel({\n slideCount,\n selectedIndexProp,\n onSelectedIndexChange,\n });\n\n return (\n <DialogRoot {...rootProps}>\n <DialogContent\n ref={ref}\n size=\"sm\"\n portal={portal}\n portalContainer={portalContainer}\n keepMounted={keepMounted}\n className={className}\n >\n {isCarousel ? (\n <ContainerCarousel\n slides={resolvedSlides}\n selectedIndex={selectedIndex}\n emblaRef={emblaRef}\n footerVariant={footerVariant}\n onSelectIndex={handleSelectIndex}\n onBack={handleBack}\n onNext={handleNext}\n onPrimaryAction={onPrimaryAction}\n backLabel={backLabel}\n nextLabel={nextLabel}\n primaryLabel={primaryLabel}\n goToSlideLabel={goToSlideLabel}\n />\n ) : (\n <ContainerNoSlides\n image={image}\n title={title}\n description={description}\n primaryLabel={primaryLabel}\n onPrimaryAction={onPrimaryAction}\n closeLabel={closeLabel}\n onCloseAction={onCloseAction}\n />\n )}\n </DialogContent>\n </DialogRoot>\n );\n }\n);\nDialogWelcome.displayName = 'DialogWelcome';\n\nexport { DialogWelcome };\n"],"mappings":";;;;;;;;;AAqDA,SAAS,EAAuB,EAC9B,UACA,UACA,gBACA,WACA,uBAAoB,MACU;CAC9B,OACE,kBAAC,OAAD;EACE,WAAW,EACT,gDACA,KAAqB,MACvB;EAJF,UAAA,CAME,kBAAC,OAAD;GAAK,WAAU;GACb,UAAA,kBAAC,OAAD;IAAK,WAAU;IACZ,UAAA;GACE,CAAA;EACF,CAAA,GACL,kBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACG,IACC,kBAAC,GAAD;IAAa,WAAU;IACpB,UAAA;GACU,CAAA,IAEb,kBAAC,KAAD;IAAG,WAAU;IACV,UAAA;GACA,CAAA,GAEJ,IACC,kBAAC,GAAD;IAAm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