@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 +1 @@
1
- {"version":3,"file":"search.js","sources":["../../../../src/components/ui/search/search.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n MagnifierIcon,\n TimesIcon,\n} from '@acronis-platform/icons-react/stroke-mono';\n\nimport { cn } from '@/lib/utils';\n\n// Internal primitive: the bare search box behind the public `InputSearch` field\n// (which is also exported as `Search`). Not exported from the package; consumed\n// by `input-search`. A bordered box (the dedicated `--ui-input-search-*` token\n// tier) holding a leading magnifier, a borderless native input, and a trailing\n// clear button shown once there's a value. The box owns the visual state via\n// `focus-within` (the input-search tier has no focus/active border token, so the\n// focused border reuses `--ui-input-search-border-color-hover` plus a 3px\n// `--ui-focus-primary` ring) / hover / disabled; the magnifier uses\n// `--ui-input-search-icon-search-color-{idle,disabled}` (via the `group`) and the\n// clear button is a ghost ButtonIcon, so its glyph uses\n// `--ui-button-icon-global-icon-color-idle` (the input-search tier dropped its own\n// clear-icon token in the Figma sync).\n\nexport interface SearchBoxProps extends React.ComponentPropsWithoutRef<'input'> {\n /** Called when the clear (×) button is pressed, after the value is cleared. */\n onClear?: () => void;\n}\n\nconst SearchBox = React.forwardRef<HTMLInputElement, SearchBoxProps>(\n (\n {\n className,\n type = 'search',\n disabled,\n onClear,\n onChange,\n value,\n defaultValue,\n ...props\n },\n forwardedRef\n ) => {\n const innerRef = React.useRef<HTMLInputElement>(null);\n const [hasValue, setHasValue] = React.useState(\n () => String(value ?? defaultValue ?? '').length > 0\n );\n\n // Keep the clear button in sync when the value is controlled externally.\n React.useEffect(() => {\n if (value !== undefined) setHasValue(String(value).length > 0);\n }, [value]);\n\n const setRefs = React.useCallback(\n (node: HTMLInputElement | null) => {\n innerRef.current = node;\n if (typeof forwardedRef === 'function') forwardedRef(node);\n else if (forwardedRef) forwardedRef.current = node;\n },\n [forwardedRef]\n );\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n setHasValue(event.target.value.length > 0);\n onChange?.(event);\n };\n\n const handleClear = () => {\n const input = innerRef.current;\n if (!input) return;\n // Use the native value setter when available + dispatch a real input event\n // so React's onChange fires for both controlled and uncontrolled usage.\n let setter: ((this: HTMLInputElement, value: string) => void) | undefined;\n try {\n setter = Object.getOwnPropertyDescriptor(\n globalThis.HTMLInputElement?.prototype,\n 'value'\n )?.set;\n } catch {\n setter = undefined;\n }\n\n if (setter) setter.call(input, '');\n else input.value = '';\n\n input.dispatchEvent(new Event('input', { bubbles: true }));\n setHasValue(false);\n input.focus();\n onClear?.();\n };\n\n return (\n <div\n data-disabled={disabled || undefined}\n className={cn(\n 'group inline-flex h-[var(--ui-input-search-box-height)] w-full min-w-0 items-center gap-[var(--ui-input-search-box-gap)] rounded-[var(--ui-input-search-box-border-radius)] border bg-[var(--ui-input-search-box-color-idle)] border-[var(--ui-input-search-border-color-idle)] px-[var(--ui-input-search-box-padding-x)] text-sm leading-6 text-[var(--ui-input-search-value-color-idle)] transition-colors not-data-[disabled]:hover:bg-[var(--ui-input-search-box-color-hover)] not-data-[disabled]:hover:border-[var(--ui-input-search-border-color-hover)] focus-within:border-[var(--ui-input-search-border-color-hover)] focus-within:ring-[3px] focus-within:ring-[var(--ui-focus-primary)] data-[disabled]:cursor-not-allowed data-[disabled]:border-[var(--ui-input-search-border-color-disabled)] data-[disabled]:bg-[var(--ui-input-search-box-color-disabled)] data-[disabled]:text-[var(--ui-input-search-value-color-disabled)]',\n className\n )}\n >\n <MagnifierIcon\n size={16}\n className=\"shrink-0 text-[var(--ui-input-search-icon-search-color-idle)] group-data-[disabled]:text-[var(--ui-input-search-icon-search-color-disabled)]\"\n />\n <input\n ref={setRefs}\n type={type}\n disabled={disabled}\n value={value}\n defaultValue={defaultValue}\n onChange={handleChange}\n aria-label=\"Search\"\n className=\"h-full min-w-0 flex-1 border-0 bg-transparent p-0 text-inherit outline-none placeholder:text-[var(--ui-input-search-placeholder-color-idle)] disabled:cursor-not-allowed [&::-webkit-search-cancel-button]:appearance-none\"\n {...props}\n />\n {hasValue && !disabled && (\n <button\n type=\"button\"\n aria-label=\"Clear search\"\n onClick={handleClear}\n className=\"inline-flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-sm p-0.5 text-[var(--ui-button-icon-global-icon-color-idle)] outline-none hover:bg-[var(--ui-button-icon-global-container-color-hover)] active:bg-[var(--ui-button-icon-global-container-color-active)] focus-visible:ring-2 focus-visible:ring-[var(--ui-focus-primary)] [&>svg]:size-4\"\n >\n <TimesIcon size={16} />\n </button>\n )}\n </div>\n );\n }\n);\nSearchBox.displayName = 'SearchBox';\n\nexport { SearchBox };\n"],"names":["SearchBox","React","className","type","disabled","onClear","onChange","value","defaultValue","props","forwardedRef","innerRef","hasValue","setHasValue","setRefs","node","handleChange","event","handleClear","input","setter","_b","_a","jsxs","cn","jsx","MagnifierIcon","TimesIcon"],"mappings":";;;;AA0BA,MAAMA,IAAYC,EAAM;AAAA,EACtB,CACE;AAAA,IACE,WAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,UAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,OAAAC;AAAA,IACA,cAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAMC,IAAWV,EAAM,OAAyB,IAAI,GAC9C,CAACW,GAAUC,CAAW,IAAIZ,EAAM;AAAA,MACpC,MAAM,OAAOM,KAASC,KAAgB,EAAE,EAAE,SAAS;AAAA,IAAA;AAIrD,IAAAP,EAAM,UAAU,MAAM;AACpB,MAAIM,MAAU,UAAWM,EAAY,OAAON,CAAK,EAAE,SAAS,CAAC;AAAA,IAC/D,GAAG,CAACA,CAAK,CAAC;AAEV,UAAMO,IAAUb,EAAM;AAAA,MACpB,CAACc,MAAkC;AACjC,QAAAJ,EAAS,UAAUI,GACf,OAAOL,KAAiB,aAAYA,EAAaK,CAAI,IAChDL,QAA2B,UAAUK;AAAA,MAChD;AAAA,MACA,CAACL,CAAY;AAAA,IAAA,GAGTM,IAAe,CAACC,MAA+C;AACnE,MAAAJ,EAAYI,EAAM,OAAO,MAAM,SAAS,CAAC,GACzCX,KAAA,QAAAA,EAAWW;AAAA,IACb,GAEMC,IAAc,MAAM;;AACxB,YAAMC,IAAQR,EAAS;AACvB,UAAI,CAACQ,EAAO;AAGZ,UAAIC;AACJ,UAAI;AACF,QAAAA,KAASC,IAAA,OAAO;AAAA,WACdC,IAAA,WAAW,qBAAX,gBAAAA,EAA6B;AAAA,UAC7B;AAAA,QAAA,MAFO,gBAAAD,EAGN;AAAA,MACL,QAAQ;AACN,QAAAD,IAAS;AAAA,MACX;AAEA,MAAIA,IAAQA,EAAO,KAAKD,GAAO,EAAE,MACtB,QAAQ,IAEnBA,EAAM,cAAc,IAAI,MAAM,SAAS,EAAE,SAAS,GAAA,CAAM,CAAC,GACzDN,EAAY,EAAK,GACjBM,EAAM,MAAA,GACNd,KAAA,QAAAA;AAAA,IACF;AAEA,WACE,gBAAAkB;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,iBAAenB,KAAY;AAAA,QAC3B,WAAWoB;AAAA,UACT;AAAA,UACAtB;AAAA,QAAA;AAAA,QAGF,UAAA;AAAA,UAAA,gBAAAuB;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,MAAM;AAAA,cACN,WAAU;AAAA,YAAA;AAAA,UAAA;AAAA,UAEZ,gBAAAD;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,KAAKX;AAAA,cACL,MAAAX;AAAA,cACA,UAAAC;AAAA,cACA,OAAAG;AAAA,cACA,cAAAC;AAAA,cACA,UAAUQ;AAAA,cACV,cAAW;AAAA,cACX,WAAU;AAAA,cACT,GAAGP;AAAA,YAAA;AAAA,UAAA;AAAA,UAELG,KAAY,CAACR,KACZ,gBAAAqB;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,cAAW;AAAA,cACX,SAASP;AAAA,cACT,WAAU;AAAA,cAEV,UAAA,gBAAAO,EAACE,GAAA,EAAU,MAAM,GAAA,CAAI;AAAA,YAAA;AAAA,UAAA;AAAA,QACvB;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;AACA3B,EAAU,cAAc;"}
1
+ {"version":3,"file":"search.js","names":[],"sources":["../../../../src/components/ui/search/search.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n MagnifierIcon,\n TimesIcon,\n} from '@acronis-platform/icons-react/stroke-mono';\n\nimport { cn } from '@/lib/utils';\n\n// Internal primitive: the bare search box behind the public `InputSearch` field\n// (which is also exported as `Search`). Not exported from the package; consumed\n// by `input-search`. A bordered box (the dedicated `--ui-input-search-*` token\n// tier) holding a leading magnifier, a borderless native input, and a trailing\n// clear button shown once there's a value. The box owns the visual state via\n// `focus-within` (the input-search tier has no focus/active border token, so the\n// focused border reuses `--ui-input-search-border-color-hover` plus a 3px\n// `--ui-focus-primary` ring) / hover / disabled; the magnifier uses\n// `--ui-input-search-icon-search-color-{idle,disabled}` (via the `group`) and the\n// clear button is a ghost ButtonIcon, so its glyph uses\n// `--ui-button-icon-global-icon-color-idle` (the input-search tier dropped its own\n// clear-icon token in the Figma sync).\n\nexport interface SearchBoxProps extends React.ComponentPropsWithoutRef<'input'> {\n /** Called when the clear (×) button is pressed, after the value is cleared. */\n onClear?: () => void;\n}\n\nconst SearchBox = React.forwardRef<HTMLInputElement, SearchBoxProps>(\n (\n {\n className,\n type = 'search',\n disabled,\n onClear,\n onChange,\n value,\n defaultValue,\n ...props\n },\n forwardedRef\n ) => {\n const innerRef = React.useRef<HTMLInputElement>(null);\n const [hasValue, setHasValue] = React.useState(\n () => String(value ?? defaultValue ?? '').length > 0\n );\n\n // Keep the clear button in sync when the value is controlled externally.\n React.useEffect(() => {\n if (value !== undefined) setHasValue(String(value).length > 0);\n }, [value]);\n\n const setRefs = React.useCallback(\n (node: HTMLInputElement | null) => {\n innerRef.current = node;\n if (typeof forwardedRef === 'function') forwardedRef(node);\n else if (forwardedRef) forwardedRef.current = node;\n },\n [forwardedRef]\n );\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n setHasValue(event.target.value.length > 0);\n onChange?.(event);\n };\n\n const handleClear = () => {\n const input = innerRef.current;\n if (!input) return;\n // Use the native value setter when available + dispatch a real input event\n // so React's onChange fires for both controlled and uncontrolled usage.\n let setter: ((this: HTMLInputElement, value: string) => void) | undefined;\n try {\n setter = Object.getOwnPropertyDescriptor(\n globalThis.HTMLInputElement?.prototype,\n 'value'\n )?.set;\n } catch {\n setter = undefined;\n }\n\n if (setter) setter.call(input, '');\n else input.value = '';\n\n input.dispatchEvent(new Event('input', { bubbles: true }));\n setHasValue(false);\n input.focus();\n onClear?.();\n };\n\n return (\n <div\n data-disabled={disabled || undefined}\n className={cn(\n 'group inline-flex h-[var(--ui-input-search-box-height)] w-full min-w-0 items-center gap-[var(--ui-input-search-box-gap)] rounded-[var(--ui-input-search-box-border-radius)] border bg-[var(--ui-input-search-box-color-idle)] border-[var(--ui-input-search-border-color-idle)] px-[var(--ui-input-search-box-padding-x)] text-sm leading-6 text-[var(--ui-input-search-value-color-idle)] transition-colors not-data-[disabled]:hover:bg-[var(--ui-input-search-box-color-hover)] not-data-[disabled]:hover:border-[var(--ui-input-search-border-color-hover)] focus-within:border-[var(--ui-input-search-border-color-hover)] focus-within:ring-[3px] focus-within:ring-[var(--ui-focus-primary)] data-[disabled]:cursor-not-allowed data-[disabled]:border-[var(--ui-input-search-border-color-disabled)] data-[disabled]:bg-[var(--ui-input-search-box-color-disabled)] data-[disabled]:text-[var(--ui-input-search-value-color-disabled)]',\n className\n )}\n >\n <MagnifierIcon\n size={16}\n className=\"shrink-0 text-[var(--ui-input-search-icon-search-color-idle)] group-data-[disabled]:text-[var(--ui-input-search-icon-search-color-disabled)]\"\n />\n <input\n ref={setRefs}\n type={type}\n disabled={disabled}\n value={value}\n defaultValue={defaultValue}\n onChange={handleChange}\n aria-label=\"Search\"\n className=\"h-full min-w-0 flex-1 border-0 bg-transparent p-0 text-inherit outline-none placeholder:text-[var(--ui-input-search-placeholder-color-idle)] disabled:cursor-not-allowed [&::-webkit-search-cancel-button]:appearance-none\"\n {...props}\n />\n {hasValue && !disabled && (\n <button\n type=\"button\"\n aria-label=\"Clear search\"\n onClick={handleClear}\n className=\"inline-flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-sm p-0.5 text-[var(--ui-button-icon-global-icon-color-idle)] outline-none hover:bg-[var(--ui-button-icon-global-container-color-hover)] active:bg-[var(--ui-button-icon-global-container-color-active)] focus-visible:ring-2 focus-visible:ring-[var(--ui-focus-primary)] [&>svg]:size-4\"\n >\n <TimesIcon size={16} />\n </button>\n )}\n </div>\n );\n }\n);\nSearchBox.displayName = 'SearchBox';\n\nexport { SearchBox };\n"],"mappings":";;;;;AA0BA,IAAM,IAAY,EAAM,YAEpB,EACE,cACA,UAAO,UACP,aACA,YACA,aACA,UACA,iBACA,GAAG,KAEL,MACG;CACH,IAAM,IAAW,EAAM,OAAyB,IAAI,GAC9C,CAAC,GAAU,KAAe,EAAM,eAC9B,OAAO,KAAS,KAAgB,EAAE,CAAC,CAAC,SAAS,CACrD;CAGA,EAAM,gBAAgB;EACpB,AAAI,MAAU,KAAA,KAAW,EAAY,OAAO,CAAK,CAAC,CAAC,SAAS,CAAC;CAC/D,GAAG,CAAC,CAAK,CAAC;CAEV,IAAM,IAAU,EAAM,aACnB,MAAkC;EAEjC,AADA,EAAS,UAAU,GACf,OAAO,KAAiB,aAAY,EAAa,CAAI,IAChD,MAAc,EAAa,UAAU;CAChD,GACA,CAAC,CAAY,CACf,GAEM,KAAgB,MAA+C;EAEnE,AADA,EAAY,EAAM,OAAO,MAAM,SAAS,CAAC,GACzC,IAAW,CAAK;CAClB,GAEM,UAAoB;EACxB,IAAM,IAAQ,EAAS;EACvB,IAAI,CAAC,GAAO;EAGZ,IAAI;EACJ,IAAI;GACF,IAAS,OAAO,yBACd,WAAW,kBAAkB,WAC7B,OACF,CAAC,EAAE;EACL,QAAQ;GACN,IAAS,KAAA;EACX;EAQA,AANI,IAAQ,EAAO,KAAK,GAAO,EAAE,IAC5B,EAAM,QAAQ,IAEnB,EAAM,cAAc,IAAI,MAAM,SAAS,EAAE,SAAS,GAAK,CAAC,CAAC,GACzD,EAAY,EAAK,GACjB,EAAM,MAAM,GACZ,IAAU;CACZ;CAEA,OACE,kBAAC,OAAD;EACE,iBAAe,KAAY,KAAA;EAC3B,WAAW,EACT,k5BACA,CACF;EALF,UAAA;GAOE,kBAAC,GAAD;IACE,MAAM;IACN,WAAU;GACX,CAAA;GACD,kBAAC,SAAD;IACE,KAAK;IACC;IACI;IACH;IACO;IACd,UAAU;IACV,cAAW;IACX,WAAU;IACV,GAAI;GACL,CAAA;GACA,KAAY,CAAC,KACZ,kBAAC,UAAD;IACE,MAAK;IACL,cAAW;IACX,SAAS;IACT,WAAU;IAEV,UAAA,kBAAC,GAAD,EAAW,MAAM,GAAK,CAAA;GAChB,CAAA;EAEP;;AAET,CACF;AACA,EAAU,cAAc"}
@@ -1,163 +1,125 @@
1
- import { jsx as t, jsxs as m, Fragment as x } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import { mergeProps as d } from "@base-ui/react/merge-props";
4
- import { useRender as u } from "@base-ui/react/use-render";
5
- import { cva as y } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
6
- import { cn as f } from "../../../lib/utils.js";
7
- import { Switch as V } from "../switch/switch.js";
8
- import { AccordionContainer as j } from "../accordion-container/accordion-container.js";
9
- import { buttonIconVariants as A } from "../button-icon/button-icon.js";
10
- const H = y("flex w-full flex-col gap-3", {
11
- variants: {
12
- variant: {
13
- column1: "px-4 pt-4",
14
- "column2-70-30": "px-4 pt-4",
15
- grid3: "px-4 pt-4",
16
- // Flush: the table's own rows run edge-to-edge.
17
- table: ""
18
- },
19
- hasBottomBorder: {
20
- false: "",
21
- true: "border-b border-[var(--ui-border-on-surface-divider)]"
22
- }
23
- },
24
- compoundVariants: [
25
- { variant: "column1", hasBottomBorder: !0, class: "pb-4" },
26
- { variant: "column2-70-30", hasBottomBorder: !0, class: "pb-4" },
27
- { variant: "grid3", hasBottomBorder: !0, class: "pb-4" }
28
- ],
29
- defaultVariants: {
30
- variant: "column1",
31
- hasBottomBorder: !1
32
- }
33
- }), g = n.createContext({
34
- variant: "column1"
35
- }), v = () => n.useContext(g), P = n.forwardRef(
36
- ({ className: s, variant: e = "column1", hasBottomBorder: i = !1, render: a, ...c }, l) => {
37
- const r = n.useMemo(
38
- () => ({ variant: e ?? "column1" }),
39
- [e]
40
- ), o = u({
41
- render: a,
42
- ref: l,
43
- defaultTagName: "section",
44
- props: d(
45
- {
46
- className: f(
47
- H({ variant: e, hasBottomBorder: i }),
48
- s
49
- )
50
- },
51
- c
52
- )
53
- });
54
- return /* @__PURE__ */ t(g.Provider, { value: r, children: o });
55
- }
56
- );
57
- P.displayName = "Section";
58
- const F = n.forwardRef(
59
- ({
60
- className: s,
61
- title: e,
62
- description: i,
63
- hasDescription: a = !1,
64
- isSwitchable: c = !1,
65
- switchChecked: l,
66
- defaultSwitchChecked: r,
67
- onSwitchCheckedChange: o,
68
- switchDisabled: h,
69
- switchLabel: N = "Toggle section",
70
- extras: p,
71
- actions: b,
72
- isCollapsible: w = !1,
73
- collapseLabel: C = "Collapse section",
74
- render: B,
75
- children: S,
76
- ...R
77
- }, T) => {
78
- const { variant: k } = v();
79
- return u({
80
- render: B,
81
- ref: T,
82
- defaultTagName: "div",
83
- props: d(
84
- {
85
- className: f(
86
- "flex w-full shrink-0 items-center gap-2",
87
- // The `table` root drops its inset so the rows below can bleed to
88
- // the page edges; the header re-applies it so the title still lines
89
- // up with the first column.
90
- k === "table" && "px-4 pt-4",
91
- s
92
- ),
93
- children: /* @__PURE__ */ m(x, { children: [
94
- c && /* @__PURE__ */ t(
95
- V,
96
- {
97
- checked: l,
98
- defaultChecked: r,
99
- onCheckedChange: o,
100
- disabled: h,
101
- "aria-label": N,
102
- className: "shrink-0"
103
- }
104
- ),
105
- (e || p || a) && /* @__PURE__ */ m("div", { className: "flex min-w-0 flex-1 flex-col items-start justify-center gap-0.5", children: [
106
- /* @__PURE__ */ m("div", { className: "flex min-w-0 items-center gap-2", children: [
107
- e && /* @__PURE__ */ t("p", { className: "truncate text-xl leading-6 font-medium text-[var(--ui-text-on-surface-primary)]", children: e }),
108
- p
109
- ] }),
110
- a && /* @__PURE__ */ t("p", { className: "w-full truncate text-sm leading-6 text-[var(--ui-text-on-surface-secondary)]", children: i })
111
- ] }),
112
- S,
113
- b,
114
- w && /* @__PURE__ */ t(
115
- j.Trigger,
116
- {
117
- "aria-label": C,
118
- className: A({ variant: "ghost" })
119
- }
120
- )
121
- ] })
122
- },
123
- R
124
- )
125
- });
126
- }
127
- );
128
- F.displayName = "SectionHeader";
129
- const I = n.forwardRef(
130
- ({ className: s, secondaryContent: e, render: i, children: a, ...c }, l) => {
131
- const { variant: r } = v(), o = r === "column2-70-30";
132
- return u({
133
- render: i,
134
- ref: l,
135
- defaultTagName: "div",
136
- props: d(
137
- {
138
- className: f(
139
- "w-full",
140
- // Both grid layouts share the same 3-column track; the 70/30 split
141
- // is a 2:1 span of it, and `grid3` simply lets children flow.
142
- (o || r === "grid3") && "grid grid-cols-3 items-start gap-4",
143
- s
144
- ),
145
- children: o ? /* @__PURE__ */ m(x, { children: [
146
- /* @__PURE__ */ t("div", { className: "col-span-2 min-w-0", children: a }),
147
- e != null && /* @__PURE__ */ t("div", { className: "col-span-1 min-w-0", children: e })
148
- ] }) : a
149
- },
150
- c
151
- )
152
- });
153
- }
154
- );
155
- I.displayName = "SectionContent";
156
- export {
157
- P as Section,
158
- I as SectionContent,
159
- F as SectionHeader,
160
- H as sectionVariants,
161
- v as useSectionContext
162
- };
163
- //# sourceMappingURL=section.js.map
1
+ "use client";
2
+ import { cn as e } from "../../../lib/utils.js";
3
+ import { AccordionContainer as t } from "../accordion-container/accordion-container.js";
4
+ import { cva as n } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
5
+ import { buttonIconVariants as r } from "../button-icon/button-icon.js";
6
+ import { Switch as i } from "../switch/switch.js";
7
+ import * as a from "react";
8
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
9
+ import { useRender as l } from "@base-ui/react/use-render";
10
+ import { mergeProps as u } from "@base-ui/react/merge-props";
11
+ //#region src/components/ui/section/section.tsx
12
+ var d = n("flex w-full flex-col gap-3", {
13
+ variants: {
14
+ variant: {
15
+ column1: "px-4 pt-4",
16
+ "column2-70-30": "px-4 pt-4",
17
+ grid3: "px-4 pt-4",
18
+ table: ""
19
+ },
20
+ hasBottomBorder: {
21
+ false: "",
22
+ true: "border-b border-[var(--ui-border-on-surface-divider)]"
23
+ }
24
+ },
25
+ compoundVariants: [
26
+ {
27
+ variant: "column1",
28
+ hasBottomBorder: !0,
29
+ class: "pb-4"
30
+ },
31
+ {
32
+ variant: "column2-70-30",
33
+ hasBottomBorder: !0,
34
+ class: "pb-4"
35
+ },
36
+ {
37
+ variant: "grid3",
38
+ hasBottomBorder: !0,
39
+ class: "pb-4"
40
+ }
41
+ ],
42
+ defaultVariants: {
43
+ variant: "column1",
44
+ hasBottomBorder: !1
45
+ }
46
+ }), f = a.createContext({ variant: "column1" }), p = () => a.useContext(f), m = a.forwardRef(({ className: t, variant: n = "column1", hasBottomBorder: r = !1, render: i, ...o }, c) => {
47
+ let p = a.useMemo(() => ({ variant: n ?? "column1" }), [n]), m = l({
48
+ render: i,
49
+ ref: c,
50
+ defaultTagName: "section",
51
+ props: u({ className: e(d({
52
+ variant: n,
53
+ hasBottomBorder: r
54
+ }), t) }, o)
55
+ });
56
+ return /* @__PURE__ */ s(f.Provider, {
57
+ value: p,
58
+ children: m
59
+ });
60
+ });
61
+ m.displayName = "Section";
62
+ var h = a.forwardRef(({ className: n, title: a, description: d, hasDescription: f = !1, isSwitchable: m = !1, switchChecked: h, defaultSwitchChecked: g, onSwitchCheckedChange: _, switchDisabled: v, switchLabel: y = "Toggle section", extras: b, actions: x, isCollapsible: S = !1, collapseLabel: C = "Collapse section", render: w, children: T, ...E }, D) => {
63
+ let { variant: O } = p();
64
+ return l({
65
+ render: w,
66
+ ref: D,
67
+ defaultTagName: "div",
68
+ props: u({
69
+ className: e("flex w-full shrink-0 items-center gap-2", O === "table" && "px-4 pt-4", n),
70
+ children: /* @__PURE__ */ c(o, { children: [
71
+ m && /* @__PURE__ */ s(i, {
72
+ checked: h,
73
+ defaultChecked: g,
74
+ onCheckedChange: _,
75
+ disabled: v,
76
+ "aria-label": y,
77
+ className: "shrink-0"
78
+ }),
79
+ (a || b || f) && /* @__PURE__ */ c("div", {
80
+ className: "flex min-w-0 flex-1 flex-col items-start justify-center gap-0.5",
81
+ children: [/* @__PURE__ */ c("div", {
82
+ className: "flex min-w-0 items-center gap-2",
83
+ children: [a && /* @__PURE__ */ s("p", {
84
+ className: "truncate text-xl leading-6 font-medium text-[var(--ui-text-on-surface-primary)]",
85
+ children: a
86
+ }), b]
87
+ }), f && /* @__PURE__ */ s("p", {
88
+ className: "w-full truncate text-sm leading-6 text-[var(--ui-text-on-surface-secondary)]",
89
+ children: d
90
+ })]
91
+ }),
92
+ T,
93
+ x,
94
+ S && /* @__PURE__ */ s(t.Trigger, {
95
+ "aria-label": C,
96
+ className: r({ variant: "ghost" })
97
+ })
98
+ ] })
99
+ }, E)
100
+ });
101
+ });
102
+ h.displayName = "SectionHeader";
103
+ var g = a.forwardRef(({ className: t, secondaryContent: n, render: r, children: i, ...a }, d) => {
104
+ let { variant: f } = p(), m = f === "column2-70-30";
105
+ return l({
106
+ render: r,
107
+ ref: d,
108
+ defaultTagName: "div",
109
+ props: u({
110
+ className: e("w-full", (m || f === "grid3") && "grid grid-cols-3 items-start gap-4", t),
111
+ children: m ? /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("div", {
112
+ className: "col-span-2 min-w-0",
113
+ children: i
114
+ }), n != null && /* @__PURE__ */ s("div", {
115
+ className: "col-span-1 min-w-0",
116
+ children: n
117
+ })] }) : i
118
+ }, a)
119
+ });
120
+ });
121
+ g.displayName = "SectionContent";
122
+ //#endregion
123
+ export { m as Section, g as SectionContent, h as SectionHeader, d as sectionVariants, p as useSectionContext };
124
+
125
+ //# sourceMappingURL=section.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"section.js","sources":["../../../../src/components/ui/section/section.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\nimport { Switch } from '@/components/ui/switch';\nimport { buttonIconVariants } from '@/components/ui/button-icon';\nimport { AccordionContainer } from '@/components/ui/accordion-container';\n\n// Figma node 8262:6179 (\"Section\"). A titled band that groups cards — or a\n// table — on a page. Where `Card` owns a single surface and `CardSection`\n// divides a card's body, `Section` is the page-level grouping above both.\n//\n// Padding is variant-dependent, straight from the design. The three card\n// layouts (`column1`, `column2-70-30`, `grid3`) inset their content\n// (`px-4 pt-4`) and deliberately reserve no bottom padding: stacked unbordered\n// sections would otherwise double up their vertical spacing, since the next\n// section already opens with its own `pt-4`. `hasBottomBorder` adds the divider\n// plus the matching `pb-4` that closes the band off. The `table` variant sits\n// completely flush — no root padding at all — so its rows can bleed to the page\n// edges; only the divider still applies, and `SectionHeader` re-applies the\n// inset it drops. This is the same reasoning as `card-section.tsx`'s\n// `table-actions` variant, one level up.\n//\n// `hasHeader` from Figma isn't reproduced as a boolean: this is a compound\n// component (`Section` + `SectionHeader` + `SectionContent`), so a part is\n// simply omitted by the consumer instead of hidden behind a flag — same pattern\n// as `Card`. `SectionHeader`'s own toggles (`hasDescription`, `isSwitchable`,\n// `isCollapsible`) stay booleans because each gates a real sub-part with its\n// own payload.\n//\n// The design's `isCollapsable` variant (`false` / `true-expanded` /\n// `true-collapsed`) is implemented by composing `Section` with\n// `AccordionContainer` — the shared disclosure primitive — exactly like `Card`:\n// wrap header + content, set `SectionHeader`'s `isCollapsible` to render the\n// trigger, and restyle that trigger with `buttonIconVariants({ variant:\n// 'ghost' })` because Figma's `ButtonCollapse` is a real ghost `ButtonIcon`.\n//\n// No dedicated `--ui-section-*` token tier exists in tokens-pd (same as\n// `Card` / `CardSection`), so the chrome rides on the shared semantic tier.\n\nconst sectionVariants = cva('flex w-full flex-col gap-3', {\n variants: {\n variant: {\n column1: 'px-4 pt-4',\n 'column2-70-30': 'px-4 pt-4',\n grid3: 'px-4 pt-4',\n // Flush: the table's own rows run edge-to-edge.\n table: '',\n },\n hasBottomBorder: {\n false: '',\n true: 'border-b border-[var(--ui-border-on-surface-divider)]',\n },\n },\n compoundVariants: [\n { variant: 'column1', hasBottomBorder: true, class: 'pb-4' },\n { variant: 'column2-70-30', hasBottomBorder: true, class: 'pb-4' },\n { variant: 'grid3', hasBottomBorder: true, class: 'pb-4' },\n ],\n defaultVariants: {\n variant: 'column1',\n hasBottomBorder: false,\n },\n});\n\ntype SectionVariant = NonNullable<\n VariantProps<typeof sectionVariants>['variant']\n>;\n\ninterface SectionContextValue {\n variant: SectionVariant;\n}\n\n// `SectionContent` and `SectionHeader` need the root's content layout without\n// the consumer repeating `variant` on every part, so the root publishes it.\nconst SectionContext = React.createContext<SectionContextValue>({\n variant: 'column1',\n});\n\n/**\n * Reads the content layout of the nearest `Section` ancestor. Falls back to\n * `column1` for a part rendered outside a `Section`.\n */\nconst useSectionContext = () => React.useContext(SectionContext);\n\nexport interface SectionProps\n extends\n React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof sectionVariants> {\n /**\n * Replace the rendered `<section>` with another element or component (Base UI\n * composition).\n */\n render?: useRender.RenderProp;\n}\n\nconst Section = React.forwardRef<HTMLElement, SectionProps>(\n (\n { className, variant = 'column1', hasBottomBorder = false, render, ...props },\n ref\n ) => {\n const contextValue = React.useMemo<SectionContextValue>(\n () => ({ variant: variant ?? 'column1' }),\n [variant]\n );\n\n const rendered = useRender({\n render,\n ref,\n defaultTagName: 'section',\n props: mergeProps<'section'>(\n {\n className: cn(\n sectionVariants({ variant, hasBottomBorder }),\n className\n ),\n },\n props\n ),\n });\n\n return (\n <SectionContext.Provider value={contextValue}>\n {rendered}\n </SectionContext.Provider>\n );\n }\n);\nSection.displayName = 'Section';\n\nexport interface SectionHeaderProps extends Omit<\n React.HTMLAttributes<HTMLDivElement>,\n 'title'\n> {\n /** The section's title. Renders nothing when omitted. */\n title?: string;\n /** Helper text shown under the title; only rendered when `hasDescription`. */\n description?: string;\n /** Shows `description` below the title. */\n hasDescription?: boolean;\n /** Shows a toggle switch at the start of the header. */\n isSwitchable?: boolean;\n /** Controlled checked state of the header switch. */\n switchChecked?: boolean;\n /** Uncontrolled initial checked state of the header switch. */\n defaultSwitchChecked?: boolean;\n /** Fires when the header switch is toggled. */\n onSwitchCheckedChange?: (checked: boolean) => void;\n /** Disables the header switch. */\n switchDisabled?: boolean;\n /** Accessible label for the header switch. */\n switchLabel?: string;\n /** Extra content rendered inline next to the title (e.g. a tag or badge). */\n extras?: React.ReactNode;\n /** Actions rendered at the end of the header (e.g. a button). */\n actions?: React.ReactNode;\n /**\n * Shows a disclosure trigger at the end of the header. Only has an effect\n * when this header renders inside a collapsible `AccordionContainer` —\n * see the collapsible composition example.\n */\n isCollapsible?: boolean;\n /** Accessible label for the collapse trigger. */\n collapseLabel?: string;\n /**\n * Replace the rendered `<div>` with another element or component (Base UI\n * composition).\n */\n render?: useRender.RenderProp;\n}\n\nconst SectionHeader = React.forwardRef<HTMLDivElement, SectionHeaderProps>(\n (\n {\n className,\n title,\n description,\n hasDescription = false,\n isSwitchable = false,\n switchChecked,\n defaultSwitchChecked,\n onSwitchCheckedChange,\n switchDisabled,\n switchLabel = 'Toggle section',\n extras,\n actions,\n isCollapsible = false,\n collapseLabel = 'Collapse section',\n render,\n children,\n ...props\n },\n ref\n ) => {\n const { variant } = useSectionContext();\n\n return useRender({\n render,\n ref,\n defaultTagName: 'div',\n props: mergeProps<'div'>(\n {\n className: cn(\n 'flex w-full shrink-0 items-center gap-2',\n // The `table` root drops its inset so the rows below can bleed to\n // the page edges; the header re-applies it so the title still lines\n // up with the first column.\n variant === 'table' && 'px-4 pt-4',\n className\n ),\n children: (\n <>\n {isSwitchable && (\n <Switch\n checked={switchChecked}\n defaultChecked={defaultSwitchChecked}\n onCheckedChange={onSwitchCheckedChange}\n disabled={switchDisabled}\n aria-label={switchLabel}\n className=\"shrink-0\"\n />\n )}\n {/* Gated as a whole: an empty wrapper would still claim the\n header row's free space through `flex-1` and push a\n consumer-supplied heading (`children`) to the end. */}\n {(title || extras || hasDescription) && (\n <div className=\"flex min-w-0 flex-1 flex-col items-start justify-center gap-0.5\">\n <div className=\"flex min-w-0 items-center gap-2\">\n {title && (\n <p className=\"truncate text-xl leading-6 font-medium text-[var(--ui-text-on-surface-primary)]\">\n {title}\n </p>\n )}\n {extras}\n </div>\n {hasDescription && (\n <p className=\"w-full truncate text-sm leading-6 text-[var(--ui-text-on-surface-secondary)]\">\n {description}\n </p>\n )}\n </div>\n )}\n {children}\n {actions}\n {isCollapsible && (\n <AccordionContainer.Trigger\n aria-label={collapseLabel}\n className={buttonIconVariants({ variant: 'ghost' })}\n />\n )}\n </>\n ),\n },\n props\n ),\n });\n }\n);\nSectionHeader.displayName = 'SectionHeader';\n\nexport interface SectionContentProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The narrow (~30%) second column of the `column2-70-30` layout. Ignored by\n * every other variant, which has only one content area.\n */\n secondaryContent?: React.ReactNode;\n /**\n * Replace the rendered `<div>` with another element or component (Base UI\n * composition).\n */\n render?: useRender.RenderProp;\n}\n\nconst SectionContent = React.forwardRef<HTMLDivElement, SectionContentProps>(\n ({ className, secondaryContent, render, children, ...props }, ref) => {\n const { variant } = useSectionContext();\n const isTwoColumn = variant === 'column2-70-30';\n\n return useRender({\n render,\n ref,\n defaultTagName: 'div',\n props: mergeProps<'div'>(\n {\n className: cn(\n 'w-full',\n // Both grid layouts share the same 3-column track; the 70/30 split\n // is a 2:1 span of it, and `grid3` simply lets children flow.\n (isTwoColumn || variant === 'grid3') &&\n 'grid grid-cols-3 items-start gap-4',\n className\n ),\n children: isTwoColumn ? (\n <>\n <div className=\"col-span-2 min-w-0\">{children}</div>\n {secondaryContent != null && (\n <div className=\"col-span-1 min-w-0\">{secondaryContent}</div>\n )}\n </>\n ) : (\n children\n ),\n },\n props\n ),\n });\n }\n);\nSectionContent.displayName = 'SectionContent';\n\nexport {\n Section,\n SectionHeader,\n SectionContent,\n sectionVariants,\n useSectionContext,\n type SectionVariant,\n};\n"],"names":["sectionVariants","cva","SectionContext","React","useSectionContext","Section","className","variant","hasBottomBorder","render","props","ref","contextValue","rendered","useRender","mergeProps","cn","SectionHeader","title","description","hasDescription","isSwitchable","switchChecked","defaultSwitchChecked","onSwitchCheckedChange","switchDisabled","switchLabel","extras","actions","isCollapsible","collapseLabel","children","jsxs","Fragment","jsx","Switch","AccordionContainer","buttonIconVariants","SectionContent","secondaryContent","isTwoColumn"],"mappings":";;;;;;;;;AA4CA,MAAMA,IAAkBC,EAAI,8BAA8B;AAAA,EACxD,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,iBAAiB;AAAA,MACjB,OAAO;AAAA;AAAA,MAEP,OAAO;AAAA,IAAA;AAAA,IAET,iBAAiB;AAAA,MACf,OAAO;AAAA,MACP,MAAM;AAAA,IAAA;AAAA,EACR;AAAA,EAEF,kBAAkB;AAAA,IAChB,EAAE,SAAS,WAAW,iBAAiB,IAAM,OAAO,OAAA;AAAA,IACpD,EAAE,SAAS,iBAAiB,iBAAiB,IAAM,OAAO,OAAA;AAAA,IAC1D,EAAE,SAAS,SAAS,iBAAiB,IAAM,OAAO,OAAA;AAAA,EAAO;AAAA,EAE3D,iBAAiB;AAAA,IACf,SAAS;AAAA,IACT,iBAAiB;AAAA,EAAA;AAErB,CAAC,GAYKC,IAAiBC,EAAM,cAAmC;AAAA,EAC9D,SAAS;AACX,CAAC,GAMKC,IAAoB,MAAMD,EAAM,WAAWD,CAAc,GAazDG,IAAUF,EAAM;AAAA,EACpB,CACE,EAAE,WAAAG,GAAW,SAAAC,IAAU,WAAW,iBAAAC,IAAkB,IAAO,QAAAC,GAAQ,GAAGC,EAAA,GACtEC,MACG;AACH,UAAMC,IAAeT,EAAM;AAAA,MACzB,OAAO,EAAE,SAASI,KAAW;MAC7B,CAACA,CAAO;AAAA,IAAA,GAGJM,IAAWC,EAAU;AAAA,MACzB,QAAAL;AAAA,MACA,KAAAE;AAAA,MACA,gBAAgB;AAAA,MAChB,OAAOI;AAAA,QACL;AAAA,UACE,WAAWC;AAAA,YACThB,EAAgB,EAAE,SAAAO,GAAS,iBAAAC,GAAiB;AAAA,YAC5CF;AAAA,UAAA;AAAA,QACF;AAAA,QAEFI;AAAA,MAAA;AAAA,IACF,CACD;AAED,6BACGR,EAAe,UAAf,EAAwB,OAAOU,GAC7B,UAAAC,GACH;AAAA,EAEJ;AACF;AACAR,EAAQ,cAAc;AA2CtB,MAAMY,IAAgBd,EAAM;AAAA,EAC1B,CACE;AAAA,IACE,WAAAG;AAAA,IACA,OAAAY;AAAA,IACA,aAAAC;AAAA,IACA,gBAAAC,IAAiB;AAAA,IACjB,cAAAC,IAAe;AAAA,IACf,eAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,aAAAC,IAAc;AAAA,IACd,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC,IAAgB;AAAA,IAChB,eAAAC,IAAgB;AAAA,IAChB,QAAArB;AAAA,IACA,UAAAsB;AAAA,IACA,GAAGrB;AAAA,EAAA,GAELC,MACG;AACH,UAAM,EAAE,SAAAJ,EAAA,IAAYH,EAAA;AAEpB,WAAOU,EAAU;AAAA,MACf,QAAAL;AAAA,MACA,KAAAE;AAAA,MACA,gBAAgB;AAAA,MAChB,OAAOI;AAAA,QACL;AAAA,UACE,WAAWC;AAAA,YACT;AAAA;AAAA;AAAA;AAAA,YAIAT,MAAY,WAAW;AAAA,YACvBD;AAAA,UAAA;AAAA,UAEF,UACE,gBAAA0B,EAAAC,GAAA,EACG,UAAA;AAAA,YAAAZ,KACC,gBAAAa;AAAA,cAACC;AAAA,cAAA;AAAA,gBACC,SAASb;AAAA,gBACT,gBAAgBC;AAAA,gBAChB,iBAAiBC;AAAA,gBACjB,UAAUC;AAAA,gBACV,cAAYC;AAAA,gBACZ,WAAU;AAAA,cAAA;AAAA,YAAA;AAAA,aAMZR,KAASS,KAAUP,MACnB,gBAAAY,EAAC,OAAA,EAAI,WAAU,mEACb,UAAA;AAAA,cAAA,gBAAAA,EAAC,OAAA,EAAI,WAAU,mCACZ,UAAA;AAAA,gBAAAd,KACC,gBAAAgB,EAAC,KAAA,EAAE,WAAU,mFACV,UAAAhB,GACH;AAAA,gBAEDS;AAAA,cAAA,GACH;AAAA,cACCP,KACC,gBAAAc,EAAC,KAAA,EAAE,WAAU,gFACV,UAAAf,EAAA,CACH;AAAA,YAAA,GAEJ;AAAA,YAEDY;AAAA,YACAH;AAAA,YACAC,KACC,gBAAAK;AAAA,cAACE,EAAmB;AAAA,cAAnB;AAAA,gBACC,cAAYN;AAAA,gBACZ,WAAWO,EAAmB,EAAE,SAAS,SAAS;AAAA,cAAA;AAAA,YAAA;AAAA,UACpD,EAAA,CAEJ;AAAA,QAAA;AAAA,QAGJ3B;AAAA,MAAA;AAAA,IACF,CACD;AAAA,EACH;AACF;AACAO,EAAc,cAAc;AAgB5B,MAAMqB,IAAiBnC,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAG,GAAW,kBAAAiC,GAAkB,QAAA9B,GAAQ,UAAAsB,GAAU,GAAGrB,EAAA,GAASC,MAAQ;AACpE,UAAM,EAAE,SAAAJ,EAAA,IAAYH,EAAA,GACdoC,IAAcjC,MAAY;AAEhC,WAAOO,EAAU;AAAA,MACf,QAAAL;AAAA,MACA,KAAAE;AAAA,MACA,gBAAgB;AAAA,MAChB,OAAOI;AAAA,QACL;AAAA,UACE,WAAWC;AAAA,YACT;AAAA;AAAA;AAAA,aAGCwB,KAAejC,MAAY,YAC1B;AAAA,YACFD;AAAA,UAAA;AAAA,UAEF,UAAUkC,IACR,gBAAAR,EAAAC,GAAA,EACE,UAAA;AAAA,YAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,sBAAsB,UAAAH,EAAA,CAAS;AAAA,YAC7CQ,KAAoB,QACnB,gBAAAL,EAAC,OAAA,EAAI,WAAU,sBAAsB,UAAAK,EAAA,CAAiB;AAAA,UAAA,EAAA,CAE1D,IAEAR;AAAA,QAAA;AAAA,QAGJrB;AAAA,MAAA;AAAA,IACF,CACD;AAAA,EACH;AACF;AACA4B,EAAe,cAAc;"}
1
+ {"version":3,"file":"section.js","names":[],"sources":["../../../../src/components/ui/section/section.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\nimport { Switch } from '@/components/ui/switch';\nimport { buttonIconVariants } from '@/components/ui/button-icon';\nimport { AccordionContainer } from '@/components/ui/accordion-container';\n\n// Figma node 8262:6179 (\"Section\"). A titled band that groups cards — or a\n// table — on a page. Where `Card` owns a single surface and `CardSection`\n// divides a card's body, `Section` is the page-level grouping above both.\n//\n// Padding is variant-dependent, straight from the design. The three card\n// layouts (`column1`, `column2-70-30`, `grid3`) inset their content\n// (`px-4 pt-4`) and deliberately reserve no bottom padding: stacked unbordered\n// sections would otherwise double up their vertical spacing, since the next\n// section already opens with its own `pt-4`. `hasBottomBorder` adds the divider\n// plus the matching `pb-4` that closes the band off. The `table` variant sits\n// completely flush — no root padding at all — so its rows can bleed to the page\n// edges; only the divider still applies, and `SectionHeader` re-applies the\n// inset it drops. This is the same reasoning as `card-section.tsx`'s\n// `table-actions` variant, one level up.\n//\n// `hasHeader` from Figma isn't reproduced as a boolean: this is a compound\n// component (`Section` + `SectionHeader` + `SectionContent`), so a part is\n// simply omitted by the consumer instead of hidden behind a flag — same pattern\n// as `Card`. `SectionHeader`'s own toggles (`hasDescription`, `isSwitchable`,\n// `isCollapsible`) stay booleans because each gates a real sub-part with its\n// own payload.\n//\n// The design's `isCollapsable` variant (`false` / `true-expanded` /\n// `true-collapsed`) is implemented by composing `Section` with\n// `AccordionContainer` — the shared disclosure primitive — exactly like `Card`:\n// wrap header + content, set `SectionHeader`'s `isCollapsible` to render the\n// trigger, and restyle that trigger with `buttonIconVariants({ variant:\n// 'ghost' })` because Figma's `ButtonCollapse` is a real ghost `ButtonIcon`.\n//\n// No dedicated `--ui-section-*` token tier exists in tokens-pd (same as\n// `Card` / `CardSection`), so the chrome rides on the shared semantic tier.\n\nconst sectionVariants = cva('flex w-full flex-col gap-3', {\n variants: {\n variant: {\n column1: 'px-4 pt-4',\n 'column2-70-30': 'px-4 pt-4',\n grid3: 'px-4 pt-4',\n // Flush: the table's own rows run edge-to-edge.\n table: '',\n },\n hasBottomBorder: {\n false: '',\n true: 'border-b border-[var(--ui-border-on-surface-divider)]',\n },\n },\n compoundVariants: [\n { variant: 'column1', hasBottomBorder: true, class: 'pb-4' },\n { variant: 'column2-70-30', hasBottomBorder: true, class: 'pb-4' },\n { variant: 'grid3', hasBottomBorder: true, class: 'pb-4' },\n ],\n defaultVariants: {\n variant: 'column1',\n hasBottomBorder: false,\n },\n});\n\ntype SectionVariant = NonNullable<\n VariantProps<typeof sectionVariants>['variant']\n>;\n\ninterface SectionContextValue {\n variant: SectionVariant;\n}\n\n// `SectionContent` and `SectionHeader` need the root's content layout without\n// the consumer repeating `variant` on every part, so the root publishes it.\nconst SectionContext = React.createContext<SectionContextValue>({\n variant: 'column1',\n});\n\n/**\n * Reads the content layout of the nearest `Section` ancestor. Falls back to\n * `column1` for a part rendered outside a `Section`.\n */\nconst useSectionContext = () => React.useContext(SectionContext);\n\nexport interface SectionProps\n extends\n React.HTMLAttributes<HTMLElement>,\n VariantProps<typeof sectionVariants> {\n /**\n * Replace the rendered `<section>` with another element or component (Base UI\n * composition).\n */\n render?: useRender.RenderProp;\n}\n\nconst Section = React.forwardRef<HTMLElement, SectionProps>(\n (\n { className, variant = 'column1', hasBottomBorder = false, render, ...props },\n ref\n ) => {\n const contextValue = React.useMemo<SectionContextValue>(\n () => ({ variant: variant ?? 'column1' }),\n [variant]\n );\n\n const rendered = useRender({\n render,\n ref,\n defaultTagName: 'section',\n props: mergeProps<'section'>(\n {\n className: cn(\n sectionVariants({ variant, hasBottomBorder }),\n className\n ),\n },\n props\n ),\n });\n\n return (\n <SectionContext.Provider value={contextValue}>\n {rendered}\n </SectionContext.Provider>\n );\n }\n);\nSection.displayName = 'Section';\n\nexport interface SectionHeaderProps extends Omit<\n React.HTMLAttributes<HTMLDivElement>,\n 'title'\n> {\n /** The section's title. Renders nothing when omitted. */\n title?: string;\n /** Helper text shown under the title; only rendered when `hasDescription`. */\n description?: string;\n /** Shows `description` below the title. */\n hasDescription?: boolean;\n /** Shows a toggle switch at the start of the header. */\n isSwitchable?: boolean;\n /** Controlled checked state of the header switch. */\n switchChecked?: boolean;\n /** Uncontrolled initial checked state of the header switch. */\n defaultSwitchChecked?: boolean;\n /** Fires when the header switch is toggled. */\n onSwitchCheckedChange?: (checked: boolean) => void;\n /** Disables the header switch. */\n switchDisabled?: boolean;\n /** Accessible label for the header switch. */\n switchLabel?: string;\n /** Extra content rendered inline next to the title (e.g. a tag or badge). */\n extras?: React.ReactNode;\n /** Actions rendered at the end of the header (e.g. a button). */\n actions?: React.ReactNode;\n /**\n * Shows a disclosure trigger at the end of the header. Only has an effect\n * when this header renders inside a collapsible `AccordionContainer` —\n * see the collapsible composition example.\n */\n isCollapsible?: boolean;\n /** Accessible label for the collapse trigger. */\n collapseLabel?: string;\n /**\n * Replace the rendered `<div>` with another element or component (Base UI\n * composition).\n */\n render?: useRender.RenderProp;\n}\n\nconst SectionHeader = React.forwardRef<HTMLDivElement, SectionHeaderProps>(\n (\n {\n className,\n title,\n description,\n hasDescription = false,\n isSwitchable = false,\n switchChecked,\n defaultSwitchChecked,\n onSwitchCheckedChange,\n switchDisabled,\n switchLabel = 'Toggle section',\n extras,\n actions,\n isCollapsible = false,\n collapseLabel = 'Collapse section',\n render,\n children,\n ...props\n },\n ref\n ) => {\n const { variant } = useSectionContext();\n\n return useRender({\n render,\n ref,\n defaultTagName: 'div',\n props: mergeProps<'div'>(\n {\n className: cn(\n 'flex w-full shrink-0 items-center gap-2',\n // The `table` root drops its inset so the rows below can bleed to\n // the page edges; the header re-applies it so the title still lines\n // up with the first column.\n variant === 'table' && 'px-4 pt-4',\n className\n ),\n children: (\n <>\n {isSwitchable && (\n <Switch\n checked={switchChecked}\n defaultChecked={defaultSwitchChecked}\n onCheckedChange={onSwitchCheckedChange}\n disabled={switchDisabled}\n aria-label={switchLabel}\n className=\"shrink-0\"\n />\n )}\n {/* Gated as a whole: an empty wrapper would still claim the\n header row's free space through `flex-1` and push a\n consumer-supplied heading (`children`) to the end. */}\n {(title || extras || hasDescription) && (\n <div className=\"flex min-w-0 flex-1 flex-col items-start justify-center gap-0.5\">\n <div className=\"flex min-w-0 items-center gap-2\">\n {title && (\n <p className=\"truncate text-xl leading-6 font-medium text-[var(--ui-text-on-surface-primary)]\">\n {title}\n </p>\n )}\n {extras}\n </div>\n {hasDescription && (\n <p className=\"w-full truncate text-sm leading-6 text-[var(--ui-text-on-surface-secondary)]\">\n {description}\n </p>\n )}\n </div>\n )}\n {children}\n {actions}\n {isCollapsible && (\n <AccordionContainer.Trigger\n aria-label={collapseLabel}\n className={buttonIconVariants({ variant: 'ghost' })}\n />\n )}\n </>\n ),\n },\n props\n ),\n });\n }\n);\nSectionHeader.displayName = 'SectionHeader';\n\nexport interface SectionContentProps\n extends React.HTMLAttributes<HTMLDivElement> {\n /**\n * The narrow (~30%) second column of the `column2-70-30` layout. Ignored by\n * every other variant, which has only one content area.\n */\n secondaryContent?: React.ReactNode;\n /**\n * Replace the rendered `<div>` with another element or component (Base UI\n * composition).\n */\n render?: useRender.RenderProp;\n}\n\nconst SectionContent = React.forwardRef<HTMLDivElement, SectionContentProps>(\n ({ className, secondaryContent, render, children, ...props }, ref) => {\n const { variant } = useSectionContext();\n const isTwoColumn = variant === 'column2-70-30';\n\n return useRender({\n render,\n ref,\n defaultTagName: 'div',\n props: mergeProps<'div'>(\n {\n className: cn(\n 'w-full',\n // Both grid layouts share the same 3-column track; the 70/30 split\n // is a 2:1 span of it, and `grid3` simply lets children flow.\n (isTwoColumn || variant === 'grid3') &&\n 'grid grid-cols-3 items-start gap-4',\n className\n ),\n children: isTwoColumn ? (\n <>\n <div className=\"col-span-2 min-w-0\">{children}</div>\n {secondaryContent != null && (\n <div className=\"col-span-1 min-w-0\">{secondaryContent}</div>\n )}\n </>\n ) : (\n children\n ),\n },\n props\n ),\n });\n }\n);\nSectionContent.displayName = 'SectionContent';\n\nexport {\n Section,\n SectionHeader,\n SectionContent,\n sectionVariants,\n useSectionContext,\n type SectionVariant,\n};\n"],"mappings":";;;;;;;;;;;AA4CA,IAAM,IAAkB,EAAI,8BAA8B;CACxD,UAAU;EACR,SAAS;GACP,SAAS;GACT,iBAAiB;GACjB,OAAO;GAEP,OAAO;EACT;EACA,iBAAiB;GACf,OAAO;GACP,MAAM;EACR;CACF;CACA,kBAAkB;EAChB;GAAE,SAAS;GAAW,iBAAiB;GAAM,OAAO;EAAO;EAC3D;GAAE,SAAS;GAAiB,iBAAiB;GAAM,OAAO;EAAO;EACjE;GAAE,SAAS;GAAS,iBAAiB;GAAM,OAAO;EAAO;CAC3D;CACA,iBAAiB;EACf,SAAS;EACT,iBAAiB;CACnB;AACF,CAAC,GAYK,IAAiB,EAAM,cAAmC,EAC9D,SAAS,UACX,CAAC,GAMK,UAA0B,EAAM,WAAW,CAAc,GAazD,IAAU,EAAM,YAElB,EAAE,cAAW,aAAU,WAAW,qBAAkB,IAAO,WAAQ,GAAG,KACtE,MACG;CACH,IAAM,IAAe,EAAM,eAClB,EAAE,SAAS,KAAW,UAAU,IACvC,CAAC,CAAO,CACV,GAEM,IAAW,EAAU;EACzB;EACA;EACA,gBAAgB;EAChB,OAAO,EACL,EACE,WAAW,EACT,EAAgB;GAAE;GAAS;EAAgB,CAAC,GAC5C,CACF,EACF,GACA,CACF;CACF,CAAC;CAED,OACE,kBAAC,EAAe,UAAhB;EAAyB,OAAO;EAC7B,UAAA;CACsB,CAAA;AAE7B,CACF;AACA,EAAQ,cAAc;AA2CtB,IAAM,IAAgB,EAAM,YAExB,EACE,cACA,UACA,gBACA,oBAAiB,IACjB,kBAAe,IACf,kBACA,yBACA,0BACA,mBACA,iBAAc,kBACd,WACA,YACA,mBAAgB,IAChB,mBAAgB,oBAChB,WACA,aACA,GAAG,KAEL,MACG;CACH,IAAM,EAAE,eAAY,EAAkB;CAEtC,OAAO,EAAU;EACf;EACA;EACA,gBAAgB;EAChB,OAAO,EACL;GACE,WAAW,EACT,2CAIA,MAAY,WAAW,aACvB,CACF;GACA,UACE,kBAAA,GAAA,EAAA,UAAA;IACG,KACC,kBAAC,GAAD;KACE,SAAS;KACT,gBAAgB;KAChB,iBAAiB;KACjB,UAAU;KACV,cAAY;KACZ,WAAU;IACX,CAAA;KAKD,KAAS,KAAU,MACnB,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,kBAAC,OAAD;MAAK,WAAU;MAAf,UAAA,CACG,KACC,kBAAC,KAAD;OAAG,WAAU;OACV,UAAA;MACA,CAAA,GAEJ,CACE;KACJ,CAAA,GAAA,KACC,kBAAC,KAAD;MAAG,WAAU;MACV,UAAA;KACA,CAAA,CAEF;;IAEN;IACA;IACA,KACC,kBAAC,EAAmB,SAApB;KACE,cAAY;KACZ,WAAW,EAAmB,EAAE,SAAS,QAAQ,CAAC;IACnD,CAAA;GAEH,EAAA,CAAA;EAEN,GACA,CACF;CACF,CAAC;AACH,CACF;AACA,EAAc,cAAc;AAgB5B,IAAM,IAAiB,EAAM,YAC1B,EAAE,cAAW,qBAAkB,WAAQ,aAAU,GAAG,KAAS,MAAQ;CACpE,IAAM,EAAE,eAAY,EAAkB,GAChC,IAAc,MAAY;CAEhC,OAAO,EAAU;EACf;EACA;EACA,gBAAgB;EAChB,OAAO,EACL;GACE,WAAW,EACT,WAGC,KAAe,MAAY,YAC1B,sCACF,CACF;GACA,UAAU,IACR,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,OAAD;IAAK,WAAU;IAAsB;GAAc,CAAA,GAClD,KAAoB,QACnB,kBAAC,OAAD;IAAK,WAAU;IAAsB,UAAA;GAAsB,CAAA,CAE7D,EAAA,CAAA,IAEF;EAEJ,GACA,CACF;CACF,CAAC;AACH,CACF;AACA,EAAe,cAAc"}
@@ -1,22 +1,16 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import { Separator as e } from "@base-ui/react/separator";
4
- import { cn as f } from "../../../lib/utils.js";
5
- const l = m.forwardRef(({ className: o, orientation: r = "horizontal", ...a }, p) => /* @__PURE__ */ t(
6
- e,
7
- {
8
- ref: p,
9
- orientation: r,
10
- className: f(
11
- "shrink-0 bg-border",
12
- r === "horizontal" ? "h-px w-full" : "h-full w-px",
13
- o
14
- ),
15
- ...a
16
- }
17
- ));
18
- l.displayName = "Separator";
19
- export {
20
- l as Separator
21
- };
22
- //# sourceMappingURL=separator.js.map
1
+ import { cn as e } from "../../../lib/utils.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { Separator as r } from "@base-ui/react/separator";
5
+ //#region src/components/ui/separator/separator.tsx
6
+ var i = t.forwardRef(({ className: t, orientation: i = "horizontal", ...a }, o) => /* @__PURE__ */ n(r, {
7
+ ref: o,
8
+ orientation: i,
9
+ className: e("shrink-0 bg-border", i === "horizontal" ? "h-px w-full" : "h-full w-px", t),
10
+ ...a
11
+ }));
12
+ i.displayName = "Separator";
13
+ //#endregion
14
+ export { i as Separator };
15
+
16
+ //# sourceMappingURL=separator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"separator.js","sources":["../../../../src/components/ui/separator/separator.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Separator as SeparatorPrimitive } from '@base-ui/react/separator';\n\nimport { cn } from '@/lib/utils';\n\n// Ported from `@acronis-platform/shadcn-uikit`'s `separator`\n// (packages/ui-legacy/src/components/ui/separator.tsx). A thin divider built on\n// the Base UI Separator primitive (sets the `separator` role + aria-orientation).\n// No `--ui-separator-*` tier; the line uses the shared divider token `bg-border`\n// (--ui-border-on-surface-border), replacing the legacy `bg-primary/10` hack.\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive>\n>(({ className, orientation = 'horizontal', ...props }, ref) => (\n <SeparatorPrimitive\n ref={ref}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',\n className\n )}\n {...props}\n />\n));\nSeparator.displayName = 'Separator';\n\nexport { Separator };\n"],"names":["Separator","React","className","orientation","props","ref","jsx","SeparatorPrimitive","cn"],"mappings":";;;;AAWA,MAAMA,IAAYC,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,aAAAC,IAAc,cAAc,GAAGC,KAASC,MACtD,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,aAAAF;AAAA,IACA,WAAWK;AAAA,MACT;AAAA,MACAL,MAAgB,eAAe,gBAAgB;AAAA,MAC/CD;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAU,cAAc;"}
1
+ {"version":3,"file":"separator.js","names":[],"sources":["../../../../src/components/ui/separator/separator.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Separator as SeparatorPrimitive } from '@base-ui/react/separator';\n\nimport { cn } from '@/lib/utils';\n\n// Ported from `@acronis-platform/shadcn-uikit`'s `separator`\n// (packages/ui-legacy/src/components/ui/separator.tsx). A thin divider built on\n// the Base UI Separator primitive (sets the `separator` role + aria-orientation).\n// No `--ui-separator-*` tier; the line uses the shared divider token `bg-border`\n// (--ui-border-on-surface-border), replacing the legacy `bg-primary/10` hack.\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive>\n>(({ className, orientation = 'horizontal', ...props }, ref) => (\n <SeparatorPrimitive\n ref={ref}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',\n className\n )}\n {...props}\n />\n));\nSeparator.displayName = 'Separator';\n\nexport { Separator };\n"],"mappings":";;;;;AAWA,IAAM,IAAY,EAAM,YAGrB,EAAE,cAAW,iBAAc,cAAc,GAAG,KAAS,MACtD,kBAAC,GAAD;CACO;CACQ;CACb,WAAW,EACT,sBACA,MAAgB,eAAe,gBAAgB,eAC/C,CACF;CACA,GAAI;AACL,CAAA,CACF;AACD,EAAU,cAAc"}
@@ -1,80 +1,57 @@
1
- import { jsxs as l, jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { Sheet as S, SheetTrigger as D, SheetContent as x, SheetHeader as L, SheetTitle as N, SheetCloseButton as E, SheetBody as T, SheetFooter as b } from "./sheet.js";
3
- import { Loading as j } from "../loading/loading.js";
4
- import { Empty as w, EmptyHeader as B, EmptyTitle as v, EmptyDescription as C } from "../empty/empty.js";
5
- import { DescriptionList as F, DescriptionListItem as H, DescriptionListLabel as I, DescriptionListValue as V } from "../description-list/description-list.js";
6
- function k({
7
- contentState: t,
8
- properties: i,
9
- children: n,
10
- emptyTitle: d,
11
- emptyDescription: h,
12
- errorTitle: m,
13
- errorDescription: s
14
- }) {
15
- if (t === "loading")
16
- return /* @__PURE__ */ e("div", { className: "flex h-40 items-center justify-center", children: /* @__PURE__ */ e(j, {}) });
17
- if (t === "empty" || t === "error") {
18
- const r = t === "error";
19
- return /* @__PURE__ */ e(w, { children: /* @__PURE__ */ l(B, { children: [
20
- /* @__PURE__ */ e(v, { children: r ? m ?? "Something went wrong" : d ?? "Nothing to show" }),
21
- /* @__PURE__ */ e(C, { children: r ? s ?? "The details could not be loaded." : h ?? "There are no details to display yet." })
22
- ] }) });
23
- }
24
- return n ? /* @__PURE__ */ e(p, { children: n }) : i != null && i.length ? /* @__PURE__ */ e(
25
- F,
26
- {
27
- className: "-mx-6",
28
- style: { "--description-list-label": "9rem" },
29
- children: i.map((r, o) => /* @__PURE__ */ l(H, { children: [
30
- /* @__PURE__ */ e(I, { className: "text-muted-foreground", children: r.label }),
31
- /* @__PURE__ */ e(V, { className: "font-medium", children: r.value })
32
- ] }, o))
33
- }
34
- ) : null;
1
+ import { DescriptionList as e, DescriptionListItem as t, DescriptionListLabel as n, DescriptionListValue as r } from "../description-list/description-list.js";
2
+ import { Loading as i } from "../loading/loading.js";
3
+ import { Empty as a, EmptyDescription as o, EmptyHeader as s, EmptyTitle as c } from "../empty/empty.js";
4
+ import { Sheet as l, SheetBody as u, SheetCloseButton as d, SheetContent as f, SheetFooter as p, SheetHeader as m, SheetTitle as h, SheetTrigger as g } from "./sheet.js";
5
+ import "react";
6
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
7
+ //#region src/components/ui/sheet/sheet-details.tsx
8
+ function b({ contentState: l, properties: u, children: d, emptyTitle: f, emptyDescription: p, errorTitle: m, errorDescription: h }) {
9
+ if (l === "loading") return /* @__PURE__ */ v("div", {
10
+ className: "flex h-40 items-center justify-center",
11
+ children: /* @__PURE__ */ v(i, {})
12
+ });
13
+ if (l === "empty" || l === "error") {
14
+ let e = l === "error";
15
+ return /* @__PURE__ */ v(a, { children: /* @__PURE__ */ y(s, { children: [/* @__PURE__ */ v(c, { children: e ? m ?? "Something went wrong" : f ?? "Nothing to show" }), /* @__PURE__ */ v(o, { children: e ? h ?? "The details could not be loaded." : p ?? "There are no details to display yet." })] }) });
16
+ }
17
+ return d ? /* @__PURE__ */ v(_, { children: d }) : u?.length ? /* @__PURE__ */ v(e, {
18
+ className: "-mx-6",
19
+ style: { "--description-list-label": "9rem" },
20
+ children: u.map((e, i) => /* @__PURE__ */ y(t, { children: [/* @__PURE__ */ v(n, {
21
+ className: "text-muted-foreground",
22
+ children: e.label
23
+ }), /* @__PURE__ */ v(r, {
24
+ className: "font-medium",
25
+ children: e.value
26
+ })] }, i))
27
+ }) : null;
35
28
  }
36
- function q({
37
- open: t,
38
- defaultOpen: i,
39
- onOpenChange: n,
40
- title: d,
41
- side: h = "right",
42
- contentState: m = "content",
43
- properties: s,
44
- children: r,
45
- actions: o,
46
- trigger: c,
47
- emptyTitle: a,
48
- emptyDescription: u,
49
- errorTitle: f,
50
- errorDescription: y,
51
- portalContainer: g
52
- }) {
53
- return /* @__PURE__ */ l(S, { open: t, defaultOpen: i, onOpenChange: n, children: [
54
- c ? /* @__PURE__ */ e(D, { render: c }) : null,
55
- /* @__PURE__ */ l(x, { side: h, portalContainer: g, children: [
56
- /* @__PURE__ */ l(L, { children: [
57
- /* @__PURE__ */ e(N, { children: d }),
58
- /* @__PURE__ */ e(E, {})
59
- ] }),
60
- /* @__PURE__ */ e(T, { children: /* @__PURE__ */ e(
61
- k,
62
- {
63
- contentState: m,
64
- properties: s,
65
- emptyTitle: a,
66
- emptyDescription: u,
67
- errorTitle: f,
68
- errorDescription: y,
69
- children: r
70
- }
71
- ) }),
72
- o ? /* @__PURE__ */ e(b, { children: o }) : null
73
- ] })
74
- ] });
29
+ function x({ open: e, defaultOpen: t, onOpenChange: n, title: r, side: i = "right", contentState: a = "content", properties: o, children: s, actions: c, trigger: _, emptyTitle: x, emptyDescription: S, errorTitle: C, errorDescription: w, portalContainer: T }) {
30
+ return /* @__PURE__ */ y(l, {
31
+ open: e,
32
+ defaultOpen: t,
33
+ onOpenChange: n,
34
+ children: [_ ? /* @__PURE__ */ v(g, { render: _ }) : null, /* @__PURE__ */ y(f, {
35
+ side: i,
36
+ portalContainer: T,
37
+ children: [
38
+ /* @__PURE__ */ y(m, { children: [/* @__PURE__ */ v(h, { children: r }), /* @__PURE__ */ v(d, {})] }),
39
+ /* @__PURE__ */ v(u, { children: /* @__PURE__ */ v(b, {
40
+ contentState: a,
41
+ properties: o,
42
+ emptyTitle: x,
43
+ emptyDescription: S,
44
+ errorTitle: C,
45
+ errorDescription: w,
46
+ children: s
47
+ }) }),
48
+ c ? /* @__PURE__ */ v(p, { children: c }) : null
49
+ ]
50
+ })]
51
+ });
75
52
  }
76
- q.displayName = "SheetDetails";
77
- export {
78
- q as SheetDetails
79
- };
80
- //# sourceMappingURL=sheet-details.js.map
53
+ x.displayName = "SheetDetails";
54
+ //#endregion
55
+ export { x as SheetDetails };
56
+
57
+ //# sourceMappingURL=sheet-details.js.map