@acronis-platform/ui-react 0.57.0 → 0.58.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 (860) hide show
  1. package/dist/components/ui/accordion/accordion.js +53 -0
  2. package/dist/components/ui/accordion/accordion.js.map +1 -0
  3. package/dist/components/ui/alert/alert.js +99 -0
  4. package/dist/components/ui/alert/alert.js.map +1 -0
  5. package/dist/components/ui/app-shell/app-shell.js +75 -0
  6. package/dist/components/ui/app-shell/app-shell.js.map +1 -0
  7. package/dist/components/ui/app-shell-chat/app-shell-chat.js +344 -0
  8. package/dist/components/ui/app-shell-chat/app-shell-chat.js.map +1 -0
  9. package/dist/components/ui/area-chart/area-chart.js +149 -0
  10. package/dist/components/ui/area-chart/area-chart.js.map +1 -0
  11. package/dist/components/ui/auth-layout/auth-layout.js +56 -0
  12. package/dist/components/ui/auth-layout/auth-layout.js.map +1 -0
  13. package/dist/components/ui/avatar/avatar.js +70 -0
  14. package/dist/components/ui/avatar/avatar.js.map +1 -0
  15. package/dist/components/ui/bar-chart/bar-chart.js +179 -0
  16. package/dist/components/ui/bar-chart/bar-chart.js.map +1 -0
  17. package/dist/components/ui/breadcrumb/breadcrumb.js +116 -0
  18. package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -0
  19. package/dist/components/ui/button/button.js +41 -0
  20. package/dist/components/ui/button/button.js.map +1 -0
  21. package/dist/components/ui/button-icon/button-icon.js +35 -0
  22. package/dist/components/ui/button-icon/button-icon.js.map +1 -0
  23. package/dist/components/ui/button-icon-input/button-icon-input.js +36 -0
  24. package/dist/components/ui/button-icon-input/button-icon-input.js.map +1 -0
  25. package/dist/components/ui/button-menu/button-menu.js +52 -0
  26. package/dist/components/ui/button-menu/button-menu.js.map +1 -0
  27. package/dist/components/ui/calendar/calendar.js +204 -0
  28. package/dist/components/ui/calendar/calendar.js.map +1 -0
  29. package/dist/components/ui/card/card.js +92 -0
  30. package/dist/components/ui/card/card.js.map +1 -0
  31. package/dist/components/ui/card-filter/card-filter.js +76 -0
  32. package/dist/components/ui/card-filter/card-filter.js.map +1 -0
  33. package/dist/components/ui/chart/chart.js +213 -0
  34. package/dist/components/ui/chart/chart.js.map +1 -0
  35. package/dist/components/ui/chart-state/chart-state.js +42 -0
  36. package/dist/components/ui/chart-state/chart-state.js.map +1 -0
  37. package/dist/components/ui/checkbox/checkbox.js +70 -0
  38. package/dist/components/ui/checkbox/checkbox.js.map +1 -0
  39. package/dist/components/ui/chip/chip.js +70 -0
  40. package/dist/components/ui/chip/chip.js.map +1 -0
  41. package/dist/components/ui/collapsible/collapsible.js +22 -0
  42. package/dist/components/ui/collapsible/collapsible.js.map +1 -0
  43. package/dist/components/ui/combobox/combobox.js +153 -0
  44. package/dist/components/ui/combobox/combobox.js.map +1 -0
  45. package/dist/components/ui/composed-chart/composed-chart.js +107 -0
  46. package/dist/components/ui/composed-chart/composed-chart.js.map +1 -0
  47. package/dist/components/ui/confidence-cone/confidence-cone.js +195 -0
  48. package/dist/components/ui/confidence-cone/confidence-cone.js.map +1 -0
  49. package/dist/components/ui/data-table/data-table-column-header.js +36 -0
  50. package/dist/components/ui/data-table/data-table-column-header.js.map +1 -0
  51. package/dist/components/ui/data-table/data-table-expand-trigger.js +39 -0
  52. package/dist/components/ui/data-table/data-table-expand-trigger.js.map +1 -0
  53. package/dist/components/ui/data-table/data-table-pagination.js +89 -0
  54. package/dist/components/ui/data-table/data-table-pagination.js.map +1 -0
  55. package/dist/components/ui/data-table/data-table-toolbar.js +81 -0
  56. package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -0
  57. package/dist/components/ui/data-table/data-table-view-options.js +27 -0
  58. package/dist/components/ui/data-table/data-table-view-options.js.map +1 -0
  59. package/dist/components/ui/data-table/data-table.js +280 -0
  60. package/dist/components/ui/data-table/data-table.js.map +1 -0
  61. package/dist/components/ui/date-range-picker/date-range-picker-utils.js +28 -0
  62. package/dist/components/ui/date-range-picker/date-range-picker-utils.js.map +1 -0
  63. package/dist/components/ui/date-range-picker/date-range-picker.js +151 -0
  64. package/dist/components/ui/date-range-picker/date-range-picker.js.map +1 -0
  65. package/dist/components/ui/description-list/description-list.js +54 -0
  66. package/dist/components/ui/description-list/description-list.js.map +1 -0
  67. package/dist/components/ui/dialog/dialog.js +313 -0
  68. package/dist/components/ui/dialog/dialog.js.map +1 -0
  69. package/dist/components/ui/dialog-footer-default/dialog-footer-default.js +26 -0
  70. package/dist/components/ui/dialog-footer-default/dialog-footer-default.js.map +1 -0
  71. package/dist/components/ui/dropdown-menu/dropdown-menu.js +112 -0
  72. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  73. package/dist/components/ui/empty/empty.js +78 -0
  74. package/dist/components/ui/empty/empty.js.map +1 -0
  75. package/dist/components/ui/field/field.js +189 -0
  76. package/dist/components/ui/field/field.js.map +1 -0
  77. package/dist/components/ui/filter-search/filter-search.js +165 -0
  78. package/dist/components/ui/filter-search/filter-search.js.map +1 -0
  79. package/dist/components/ui/form/form.js +16 -0
  80. package/dist/components/ui/form/form.js.map +1 -0
  81. package/dist/components/ui/funnel-chart/funnel-chart.js +87 -0
  82. package/dist/components/ui/funnel-chart/funnel-chart.js.map +1 -0
  83. package/dist/components/ui/grid/grid.js +69 -0
  84. package/dist/components/ui/grid/grid.js.map +1 -0
  85. package/dist/components/ui/histogram/histogram.js +108 -0
  86. package/dist/components/ui/histogram/histogram.js.map +1 -0
  87. package/dist/components/ui/input/input.js +22 -0
  88. package/dist/components/ui/input/input.js.map +1 -0
  89. package/dist/components/ui/input-date-picker/input-date-picker.js +104 -0
  90. package/dist/components/ui/input-date-picker/input-date-picker.js.map +1 -0
  91. package/dist/components/ui/input-otp/input-otp.js +104 -0
  92. package/dist/components/ui/input-otp/input-otp.js.map +1 -0
  93. package/dist/components/ui/input-password/input-password.js +120 -0
  94. package/dist/components/ui/input-password/input-password.js.map +1 -0
  95. package/dist/components/ui/input-search/input-search.js +56 -0
  96. package/dist/components/ui/input-search/input-search.js.map +1 -0
  97. package/dist/components/ui/input-select/input-select.js +340 -0
  98. package/dist/components/ui/input-select/input-select.js.map +1 -0
  99. package/dist/components/ui/input-text/input-text.js +87 -0
  100. package/dist/components/ui/input-text/input-text.js.map +1 -0
  101. package/dist/components/ui/input-text-area/input-text-area.js +77 -0
  102. package/dist/components/ui/input-text-area/input-text-area.js.map +1 -0
  103. package/dist/components/ui/label/label.js +12 -0
  104. package/dist/components/ui/label/label.js.map +1 -0
  105. package/dist/components/ui/line-chart/line-chart.js +206 -0
  106. package/dist/components/ui/line-chart/line-chart.js.map +1 -0
  107. package/dist/components/ui/link/link.js +39 -0
  108. package/dist/components/ui/link/link.js.map +1 -0
  109. package/dist/components/ui/loading/loading.js +79 -0
  110. package/dist/components/ui/loading/loading.js.map +1 -0
  111. package/dist/components/ui/meter/meter.js +93 -0
  112. package/dist/components/ui/meter/meter.js.map +1 -0
  113. package/dist/components/ui/metric/metric.js +185 -0
  114. package/dist/components/ui/metric/metric.js.map +1 -0
  115. package/dist/components/ui/number-field/number-field.js +61 -0
  116. package/dist/components/ui/number-field/number-field.js.map +1 -0
  117. package/dist/components/ui/page-content/page-content.js +19 -0
  118. package/dist/components/ui/page-content/page-content.js.map +1 -0
  119. package/dist/components/ui/page-header/page-header.js +184 -0
  120. package/dist/components/ui/page-header/page-header.js.map +1 -0
  121. package/dist/components/ui/pagination/pagination.js +87 -0
  122. package/dist/components/ui/pagination/pagination.js.map +1 -0
  123. package/dist/components/ui/pie-chart/pie-chart.js +113 -0
  124. package/dist/components/ui/pie-chart/pie-chart.js.map +1 -0
  125. package/dist/components/ui/popover/popover.js +79 -0
  126. package/dist/components/ui/popover/popover.js.map +1 -0
  127. package/dist/components/ui/progress/progress.js +30 -0
  128. package/dist/components/ui/progress/progress.js.map +1 -0
  129. package/dist/components/ui/progress-circle/progress-circle.js +115 -0
  130. package/dist/components/ui/progress-circle/progress-circle.js.map +1 -0
  131. package/dist/components/ui/radar-chart/radar-chart.js +74 -0
  132. package/dist/components/ui/radar-chart/radar-chart.js.map +1 -0
  133. package/dist/components/ui/radial-bar-chart/radial-bar-chart.js +69 -0
  134. package/dist/components/ui/radial-bar-chart/radial-bar-chart.js.map +1 -0
  135. package/dist/components/ui/radio/radio.js +44 -0
  136. package/dist/components/ui/radio/radio.js.map +1 -0
  137. package/dist/components/ui/resizable/resizable.js +55 -0
  138. package/dist/components/ui/resizable/resizable.js.map +1 -0
  139. package/dist/components/ui/scatter-chart/scatter-chart.js +102 -0
  140. package/dist/components/ui/scatter-chart/scatter-chart.js.map +1 -0
  141. package/dist/components/ui/scroll-area/scroll-area.js +61 -0
  142. package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
  143. package/dist/components/ui/search/search.js +93 -0
  144. package/dist/components/ui/search/search.js.map +1 -0
  145. package/dist/components/ui/search-global/search-global.js +60 -0
  146. package/dist/components/ui/search-global/search-global.js.map +1 -0
  147. package/dist/components/ui/section/section.js +37 -0
  148. package/dist/components/ui/section/section.js.map +1 -0
  149. package/dist/components/ui/separator/separator.js +22 -0
  150. package/dist/components/ui/separator/separator.js.map +1 -0
  151. package/dist/components/ui/sheet/sheet-details.js +80 -0
  152. package/dist/components/ui/sheet/sheet-details.js.map +1 -0
  153. package/dist/components/ui/sheet/sheet.js +136 -0
  154. package/dist/components/ui/sheet/sheet.js.map +1 -0
  155. package/dist/components/ui/sidebar-primary/sidebar-primary.js +369 -0
  156. package/dist/components/ui/sidebar-primary/sidebar-primary.js.map +1 -0
  157. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js +650 -0
  158. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js.map +1 -0
  159. package/dist/components/ui/skeleton/skeleton.js +22 -0
  160. package/dist/components/ui/skeleton/skeleton.js.map +1 -0
  161. package/dist/components/ui/slider/slider.js +42 -0
  162. package/dist/components/ui/slider/slider.js.map +1 -0
  163. package/dist/components/ui/spinner/spinner.js +38 -0
  164. package/dist/components/ui/spinner/spinner.js.map +1 -0
  165. package/dist/components/ui/stack/stack.js +61 -0
  166. package/dist/components/ui/stack/stack.js.map +1 -0
  167. package/dist/components/ui/switch/switch.js +41 -0
  168. package/dist/components/ui/switch/switch.js.map +1 -0
  169. package/dist/components/ui/table/table-pagination.js +99 -0
  170. package/dist/components/ui/table/table-pagination.js.map +1 -0
  171. package/dist/components/ui/table/table-view-options.js +41 -0
  172. package/dist/components/ui/table/table-view-options.js.map +1 -0
  173. package/dist/components/ui/table/table.js +129 -0
  174. package/dist/components/ui/table/table.js.map +1 -0
  175. package/dist/components/ui/tabs/tabs.js +44 -0
  176. package/dist/components/ui/tabs/tabs.js.map +1 -0
  177. package/dist/components/ui/tag/tag.js +47 -0
  178. package/dist/components/ui/tag/tag.js.map +1 -0
  179. package/dist/components/ui/timeline/timeline.js +175 -0
  180. package/dist/components/ui/timeline/timeline.js.map +1 -0
  181. package/dist/components/ui/toast/toast.js +85 -0
  182. package/dist/components/ui/toast/toast.js.map +1 -0
  183. package/dist/components/ui/toggle-group/toggle-group.js +47 -0
  184. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
  185. package/dist/components/ui/toolbar/toolbar.js +214 -0
  186. package/dist/components/ui/toolbar/toolbar.js.map +1 -0
  187. package/dist/components/ui/tooltip/tooltip.js +58 -0
  188. package/dist/components/ui/tooltip/tooltip.js.map +1 -0
  189. package/dist/components/ui/treemap/treemap.js +83 -0
  190. package/dist/components/ui/treemap/treemap.js.map +1 -0
  191. package/dist/components/ui/trend-indicator/trend-indicator.js +97 -0
  192. package/dist/components/ui/trend-indicator/trend-indicator.js.map +1 -0
  193. package/dist/components/ui/widget-placeholder/widget-placeholder.js +106 -0
  194. package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -0
  195. package/dist/hooks/use-intersection-observer.js +26 -0
  196. package/dist/hooks/use-intersection-observer.js.map +1 -0
  197. package/dist/hooks/use-sort-state.js +35 -0
  198. package/dist/hooks/use-sort-state.js.map +1 -0
  199. package/dist/hooks/use-table-url-state.js +115 -0
  200. package/dist/hooks/use-table-url-state.js.map +1 -0
  201. package/dist/index.d.ts +2 -0
  202. package/dist/index.js +442 -0
  203. package/dist/index.js.map +1 -0
  204. package/dist/lib/breakpoints.js +11 -0
  205. package/dist/lib/breakpoints.js.map +1 -0
  206. package/dist/lib/deep-equal.js +23 -0
  207. package/dist/lib/deep-equal.js.map +1 -0
  208. package/dist/lib/portal-container.js +14 -0
  209. package/dist/lib/portal-container.js.map +1 -0
  210. package/dist/lib/use-doc-dir.js +12 -0
  211. package/dist/lib/use-doc-dir.js.map +1 -0
  212. package/dist/lib/utils.js +9 -0
  213. package/dist/lib/utils.js.map +1 -0
  214. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/index.js +62 -0
  215. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/index.js.map +1 -0
  216. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.js +91 -0
  217. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/date/mini.js.map +1 -0
  218. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js +12 -0
  219. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js.map +1 -0
  220. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.js +23 -0
  221. package/dist/node_modules/.pnpm/@date-fns_tz@1.5.0/node_modules/@date-fns/tz/tzOffset/index.js.map +1 -0
  222. 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 +104 -0
  223. 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 -0
  224. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1900 -0
  225. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  226. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +36 -0
  227. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +1 -0
  228. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
  229. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
  230. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
  231. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
  232. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  233. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  234. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/formatters.js +584 -0
  235. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
  236. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
  237. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
  238. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
  239. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
  240. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
  241. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
  242. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  243. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  244. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeInterval.js +9 -0
  245. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeInterval.js.map +1 -0
  246. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  247. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
  248. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addDays.js +10 -0
  249. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addDays.js.map +1 -0
  250. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addMonths.js +20 -0
  251. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addMonths.js.map +1 -0
  252. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addWeeks.js +8 -0
  253. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addWeeks.js.map +1 -0
  254. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addYears.js +8 -0
  255. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/addYears.js.map +1 -0
  256. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js +10 -0
  257. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js.map +1 -0
  258. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js +8 -0
  259. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js.map +1 -0
  260. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarDays.js +16 -0
  261. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
  262. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js +13 -0
  263. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -0
  264. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachMonthOfInterval.js +17 -0
  265. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachMonthOfInterval.js.map +1 -0
  266. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachYearOfInterval.js +17 -0
  267. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/eachYearOfInterval.js.map +1 -0
  268. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfISOWeek.js +8 -0
  269. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfISOWeek.js.map +1 -0
  270. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js +9 -0
  271. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js.map +1 -0
  272. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfWeek.js +11 -0
  273. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfWeek.js.map +1 -0
  274. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfYear.js +9 -0
  275. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfYear.js.map +1 -0
  276. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/format.js +59 -0
  277. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/format.js.map +1 -0
  278. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDayOfYear.js +11 -0
  279. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDayOfYear.js.map +1 -0
  280. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDaysInMonth.js +10 -0
  281. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDaysInMonth.js.map +1 -0
  282. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDefaultOptions.js +8 -0
  283. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getDefaultOptions.js.map +1 -0
  284. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISODay.js +9 -0
  285. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISODay.js.map +1 -0
  286. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeek.js +12 -0
  287. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeek.js.map +1 -0
  288. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeekYear.js +15 -0
  289. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getISOWeekYear.js.map +1 -0
  290. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getMonth.js +8 -0
  291. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getMonth.js.map +1 -0
  292. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeek.js +12 -0
  293. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeek.js.map +1 -0
  294. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeekYear.js +17 -0
  295. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getWeekYear.js.map +1 -0
  296. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getYear.js +8 -0
  297. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/getYear.js.map +1 -0
  298. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isAfter.js +8 -0
  299. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isAfter.js.map +1 -0
  300. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isBefore.js +8 -0
  301. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isBefore.js.map +1 -0
  302. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isDate.js +7 -0
  303. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isDate.js.map +1 -0
  304. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameDay.js +14 -0
  305. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameDay.js.map +1 -0
  306. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameMonth.js +13 -0
  307. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameMonth.js.map +1 -0
  308. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameYear.js +13 -0
  309. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isSameYear.js.map +1 -0
  310. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isValid.js +9 -0
  311. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isValid.js.map +1 -0
  312. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
  313. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  314. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
  315. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  316. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
  317. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  318. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
  319. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  320. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
  321. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  322. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
  323. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  324. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
  325. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  326. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
  327. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  328. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
  329. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  330. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js +21 -0
  331. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js.map +1 -0
  332. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/max.js +14 -0
  333. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/max.js.map +1 -0
  334. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/min.js +14 -0
  335. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/min.js.map +1 -0
  336. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/Parser.js +23 -0
  337. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
  338. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/Setter.js +42 -0
  339. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
  340. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/constants.js +50 -0
  341. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
  342. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
  343. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
  344. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
  345. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
  346. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
  347. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
  348. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
  349. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
  350. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DayParser.js +50 -0
  351. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
  352. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
  353. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
  354. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/EraParser.js +34 -0
  355. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
  356. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
  357. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
  358. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
  359. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
  360. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
  361. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
  362. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
  363. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
  364. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
  365. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
  366. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
  367. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
  368. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +106 -0
  369. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
  370. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
  371. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
  372. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
  373. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
  374. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
  375. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
  376. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
  377. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
  378. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +81 -0
  379. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
  380. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
  381. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
  382. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
  383. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
  384. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
  385. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
  386. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +78 -0
  387. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
  388. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +76 -0
  389. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
  390. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
  391. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
  392. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +81 -0
  393. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
  394. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +78 -0
  395. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
  396. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +76 -0
  397. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
  398. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
  399. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
  400. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
  401. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
  402. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
  403. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
  404. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers.js +68 -0
  405. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
  406. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/utils.js +104 -0
  407. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
  408. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse.js +86 -0
  409. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/parse.js.map +1 -0
  410. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setDay.js +12 -0
  411. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setDay.js.map +1 -0
  412. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setISODay.js +11 -0
  413. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setISODay.js.map +1 -0
  414. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setISOWeek.js +10 -0
  415. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setISOWeek.js.map +1 -0
  416. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setMonth.js +13 -0
  417. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setMonth.js.map +1 -0
  418. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setWeek.js +10 -0
  419. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setWeek.js.map +1 -0
  420. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setYear.js +10 -0
  421. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/setYear.js.map +1 -0
  422. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfDay.js +9 -0
  423. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfDay.js.map +1 -0
  424. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeek.js +8 -0
  425. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeek.js.map +1 -0
  426. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  427. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
  428. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfMonth.js +9 -0
  429. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfMonth.js.map +1 -0
  430. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeek.js +11 -0
  431. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeek.js.map +1 -0
  432. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeekYear.js +13 -0
  433. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfWeekYear.js.map +1 -0
  434. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfYear.js +9 -0
  435. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/startOfYear.js.map +1 -0
  436. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js +8 -0
  437. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js.map +1 -0
  438. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/transpose.js +18 -0
  439. package/dist/node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/transpose.js.map +1 -0
  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/DayPicker.js +247 -0
  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/DayPicker.js.map +1 -0
  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/UI.js +23 -0
  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/UI.js.map +1 -0
  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/classes/CalendarDay.js +20 -0
  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/classes/CalendarDay.js.map +1 -0
  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/classes/CalendarMonth.js +9 -0
  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/classes/CalendarMonth.js.map +1 -0
  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/classes/CalendarWeek.js +9 -0
  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/classes/CalendarWeek.js.map +1 -0
  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/classes/DateLib.js +259 -0
  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/classes/DateLib.js.map +1 -0
  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/CaptionLabel.js +8 -0
  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/CaptionLabel.js.map +1 -0
  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/Chevron.js +16 -0
  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/Chevron.js.map +1 -0
  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/Day.js +9 -0
  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/Day.js.map +1 -0
  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/DayButton.js +12 -0
  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/DayButton.js.map +1 -0
  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/Dropdown.js +21 -0
  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/Dropdown.js.map +1 -0
  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/DropdownNav.js +8 -0
  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/DropdownNav.js.map +1 -0
  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/Footer.js +8 -0
  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/Footer.js.map +1 -0
  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/Month.js +9 -0
  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/Month.js.map +1 -0
  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/MonthCaption.js +9 -0
  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/MonthCaption.js.map +1 -0
  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/MonthGrid.js +8 -0
  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/MonthGrid.js.map +1 -0
  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/Months.js +8 -0
  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/Months.js.map +1 -0
  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/MonthsDropdown.js +10 -0
  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/MonthsDropdown.js.map +1 -0
  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/Nav.js +28 -0
  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/components/Nav.js.map +1 -0
  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/components/NextMonthButton.js +8 -0
  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/components/NextMonthButton.js.map +1 -0
  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/components/Option.js +8 -0
  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/components/Option.js.map +1 -0
  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/components/PreviousMonthButton.js +8 -0
  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/components/PreviousMonthButton.js.map +1 -0
  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/components/Root.js +9 -0
  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/components/Root.js.map +1 -0
  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/components/Select.js +8 -0
  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/components/Select.js.map +1 -0
  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/components/Week.js +9 -0
  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/components/Week.js.map +1 -0
  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/components/WeekNumber.js +9 -0
  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/components/WeekNumber.js.map +1 -0
  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/components/WeekNumberHeader.js +8 -0
  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/components/WeekNumberHeader.js.map +1 -0
  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/components/Weekday.js +8 -0
  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/components/Weekday.js.map +1 -0
  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/components/Weekdays.js +12 -0
  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/components/Weekdays.js.map +1 -0
  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/components/Weeks.js +8 -0
  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/components/Weeks.js.map +1 -0
  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/components/YearsDropdown.js +10 -0
  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/components/YearsDropdown.js.map +1 -0
  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/components/custom-components.js +53 -0
  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/components/custom-components.js.map +1 -0
  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/formatters/formatCaption.js +8 -0
  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/formatters/formatCaption.js.map +1 -0
  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/formatters/formatDay.js +8 -0
  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/formatters/formatDay.js.map +1 -0
  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/formatters/formatMonthDropdown.js +8 -0
  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/formatters/formatMonthDropdown.js.map +1 -0
  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/formatters/formatWeekNumber.js +8 -0
  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/formatters/formatWeekNumber.js.map +1 -0
  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/formatters/formatWeekNumberHeader.js +7 -0
  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/formatters/formatWeekNumberHeader.js.map +1 -0
  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/formatters/formatWeekdayName.js +8 -0
  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/formatters/formatWeekdayName.js.map +1 -0
  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/formatters/formatYearDropdown.js +8 -0
  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/formatters/formatYearDropdown.js.map +1 -0
  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/formatters/index.js +17 -0
  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/formatters/index.js.map +1 -0
  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/calculateFocusTarget.js +20 -0
  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/calculateFocusTarget.js.map +1 -0
  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/createGetModifiers.js +43 -0
  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/createGetModifiers.js.map +1 -0
  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/endOfBroadcastWeek.js +10 -0
  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/endOfBroadcastWeek.js.map +1 -0
  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/getBroadcastWeeksInMonth.js +8 -0
  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/getBroadcastWeeksInMonth.js.map +1 -0
  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/getClassNamesForModifiers.js +8 -0
  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/getClassNamesForModifiers.js.map +1 -0
  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/getComponents.js +11 -0
  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/getComponents.js.map +1 -0
  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/getDataAttributes.js +17 -0
  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/getDataAttributes.js.map +1 -0
  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/getDates.js +20 -0
  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/getDates.js.map +1 -0
  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/getDays.js +11 -0
  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/getDays.js.map +1 -0
  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/getDefaultClassNames.js +17 -0
  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/getDefaultClassNames.js.map +1 -0
  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/getDisplayMonths.js +14 -0
  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/getDisplayMonths.js.map +1 -0
  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/getFocusableDate.js +16 -0
  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/getFocusableDate.js.map +1 -0
  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/getFormatters.js +11 -0
  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/getFormatters.js.map +1 -0
  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/getInitialMonth.js +14 -0
  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/helpers/getInitialMonth.js.map +1 -0
  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/helpers/getLabels.js +36 -0
  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/helpers/getLabels.js.map +1 -0
  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/helpers/getMonthOptions.js +14 -0
  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/helpers/getMonthOptions.js.map +1 -0
  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/helpers/getMonths.js +25 -0
  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/helpers/getMonths.js.map +1 -0
  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/helpers/getNavMonth.js +12 -0
  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/helpers/getNavMonth.js.map +1 -0
  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/helpers/getNextFocus.js +13 -0
  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/helpers/getNextFocus.js.map +1 -0
  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/helpers/getNextMonth.js +13 -0
  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/helpers/getNextMonth.js.map +1 -0
  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/helpers/getPreviousMonth.js +13 -0
  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/helpers/getPreviousMonth.js.map +1 -0
  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/helpers/getStyleForModifiers.js +14 -0
  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/helpers/getStyleForModifiers.js.map +1 -0
  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/helpers/getWeekdays.js +12 -0
  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/helpers/getWeekdays.js.map +1 -0
  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/helpers/getWeeks.js +8 -0
  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/helpers/getWeeks.js.map +1 -0
  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/helpers/getYearOptions.js +17 -0
  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/helpers/getYearOptions.js.map +1 -0
  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/helpers/startOfBroadcastWeek.js +8 -0
  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/helpers/startOfBroadcastWeek.js.map +1 -0
  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/helpers/useControlledValue.js +9 -0
  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/helpers/useControlledValue.js.map +1 -0
  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/labels/index.js +25 -0
  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/labels/index.js.map +1 -0
  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/labels/labelDayButton.js +9 -0
  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/labels/labelDayButton.js.map +1 -0
  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/labels/labelGrid.js +8 -0
  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/labels/labelGrid.js.map +1 -0
  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/labels/labelGridcell.js +9 -0
  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/labels/labelGridcell.js.map +1 -0
  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/labels/labelMonthDropdown.js +7 -0
  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/labels/labelMonthDropdown.js.map +1 -0
  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/labels/labelNav.js +7 -0
  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/labels/labelNav.js.map +1 -0
  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/labels/labelNext.js +8 -0
  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/labels/labelNext.js.map +1 -0
  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/labels/labelPrevious.js +7 -0
  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/labels/labelPrevious.js.map +1 -0
  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/labels/labelWeekNumber.js +7 -0
  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/labels/labelWeekNumber.js.map +1 -0
  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/labels/labelWeekNumberHeader.js +7 -0
  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/labels/labelWeekNumberHeader.js.map +1 -0
  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/labels/labelWeekday.js +8 -0
  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/labels/labelWeekday.js.map +1 -0
  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/labels/labelYearDropdown.js +7 -0
  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/labels/labelYearDropdown.js.map +1 -0
  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/locale/en-US.js +38 -0
  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/locale/en-US.js.map +1 -0
  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/noonDateLib.js +107 -0
  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/noonDateLib.js.map +1 -0
  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/selection/useMulti.js +22 -0
  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/selection/useMulti.js.map +1 -0
  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/selection/useRange.js +24 -0
  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/selection/useRange.js.map +1 -0
  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/selection/useSingle.js +16 -0
  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/selection/useSingle.js.map +1 -0
  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/useAnimation.js +57 -0
  609. package/dist/node_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 -0
  610. package/dist/node_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 +77 -0
  611. package/dist/node_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 -0
  612. package/dist/node_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 +13 -0
  613. package/dist/node_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 -0
  614. package/dist/node_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 +24 -0
  615. package/dist/node_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 -0
  616. package/dist/node_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 +20 -0
  617. package/dist/node_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 -0
  618. package/dist/node_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 +33 -0
  619. package/dist/node_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 -0
  620. package/dist/node_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 +27 -0
  621. package/dist/node_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 -0
  622. package/dist/node_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 +27 -0
  623. package/dist/node_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 -0
  624. package/dist/node_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 +16 -0
  625. package/dist/node_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 -0
  626. package/dist/node_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 -0
  627. package/dist/node_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 -0
  628. package/dist/node_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 +10 -0
  629. package/dist/node_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 -0
  630. package/dist/node_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 -0
  631. package/dist/node_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 -0
  632. package/dist/node_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 -0
  633. package/dist/node_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 -0
  634. package/dist/node_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 +27 -0
  635. package/dist/node_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 -0
  636. 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 +2093 -0
  637. 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 -0
  638. package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +2996 -0
  639. package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  640. package/dist/react.d.ts +2 -0
  641. package/dist/react.js +442 -0
  642. package/dist/react.js.map +1 -0
  643. package/dist/src/components/ui/accordion/accordion.d.ts +7 -0
  644. package/dist/src/components/ui/accordion/index.d.ts +1 -0
  645. package/dist/src/components/ui/alert/alert.d.ts +14 -0
  646. package/dist/src/components/ui/alert/index.d.ts +2 -0
  647. package/dist/src/components/ui/app-shell/app-shell.d.ts +8 -0
  648. package/dist/src/components/ui/app-shell/index.d.ts +1 -0
  649. package/dist/src/components/ui/app-shell-chat/app-shell-chat.d.ts +147 -0
  650. package/dist/src/components/ui/app-shell-chat/index.d.ts +1 -0
  651. package/dist/src/components/ui/area-chart/area-chart.d.ts +49 -0
  652. package/dist/src/components/ui/area-chart/index.d.ts +1 -0
  653. package/dist/src/components/ui/auth-layout/auth-layout.d.ts +6 -0
  654. package/dist/src/components/ui/auth-layout/index.d.ts +1 -0
  655. package/dist/src/components/ui/avatar/avatar.d.ts +27 -0
  656. package/dist/src/components/ui/avatar/index.d.ts +1 -0
  657. package/dist/src/components/ui/bar-chart/bar-chart.d.ts +68 -0
  658. package/dist/src/components/ui/bar-chart/index.d.ts +1 -0
  659. package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +30 -0
  660. package/dist/src/components/ui/breadcrumb/index.d.ts +1 -0
  661. package/dist/src/components/ui/button/button.d.ts +16 -0
  662. package/dist/src/components/ui/button/index.d.ts +1 -0
  663. package/dist/src/components/ui/button-icon/button-icon.d.ts +20 -0
  664. package/dist/src/components/ui/button-icon/index.d.ts +1 -0
  665. package/dist/src/components/ui/button-icon-input/button-icon-input.d.ts +21 -0
  666. package/dist/src/components/ui/button-icon-input/index.d.ts +1 -0
  667. package/dist/src/components/ui/button-menu/button-menu.d.ts +29 -0
  668. package/dist/src/components/ui/button-menu/index.d.ts +1 -0
  669. package/dist/src/components/ui/calendar/calendar.d.ts +6 -0
  670. package/dist/src/components/ui/calendar/calendar.docs.d.ts +21 -0
  671. package/dist/src/components/ui/calendar/index.d.ts +1 -0
  672. package/dist/src/components/ui/card/card.d.ts +17 -0
  673. package/dist/src/components/ui/card/index.d.ts +1 -0
  674. package/dist/src/components/ui/card-filter/card-filter.d.ts +32 -0
  675. package/dist/src/components/ui/card-filter/index.d.ts +1 -0
  676. package/dist/src/components/ui/chart/chart.d.ts +55 -0
  677. package/dist/src/components/ui/chart/index.d.ts +2 -0
  678. package/dist/src/components/ui/chart-state/chart-state.d.ts +11 -0
  679. package/dist/src/components/ui/chart-state/index.d.ts +1 -0
  680. package/dist/src/components/ui/checkbox/checkbox.d.ts +10 -0
  681. package/dist/src/components/ui/checkbox/index.d.ts +1 -0
  682. package/dist/src/components/ui/chip/chip.d.ts +20 -0
  683. package/dist/src/components/ui/chip/index.d.ts +1 -0
  684. package/dist/src/components/ui/collapsible/collapsible.d.ts +5 -0
  685. package/dist/src/components/ui/collapsible/index.d.ts +1 -0
  686. package/dist/src/components/ui/combobox/combobox.d.ts +28 -0
  687. package/dist/src/components/ui/combobox/index.d.ts +2 -0
  688. package/dist/src/components/ui/composed-chart/composed-chart.d.ts +48 -0
  689. package/dist/src/components/ui/composed-chart/index.d.ts +1 -0
  690. package/dist/src/components/ui/confidence-cone/confidence-cone.d.ts +79 -0
  691. package/dist/src/components/ui/confidence-cone/index.d.ts +1 -0
  692. package/dist/src/components/ui/data-table/data-table-column-header.d.ts +8 -0
  693. package/dist/src/components/ui/data-table/data-table-expand-trigger.d.ts +10 -0
  694. package/dist/src/components/ui/data-table/data-table-pagination.d.ts +8 -0
  695. package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +27 -0
  696. package/dist/src/components/ui/data-table/data-table-view-options.d.ts +6 -0
  697. package/dist/src/components/ui/data-table/data-table.d.ts +165 -0
  698. package/dist/src/components/ui/data-table/data-table.docs.d.ts +106 -0
  699. package/dist/src/components/ui/data-table/index.d.ts +6 -0
  700. package/dist/src/components/ui/date-range-picker/__tests__/date-range-picker-utils.test.d.ts +1 -0
  701. package/dist/src/components/ui/date-range-picker/date-range-picker-utils.d.ts +36 -0
  702. package/dist/src/components/ui/date-range-picker/date-range-picker.d.ts +27 -0
  703. package/dist/src/components/ui/date-range-picker/index.d.ts +1 -0
  704. package/dist/src/components/ui/description-list/description-list.d.ts +8 -0
  705. package/dist/src/components/ui/description-list/index.d.ts +1 -0
  706. package/dist/src/components/ui/dialog/dialog.d.ts +135 -0
  707. package/dist/src/components/ui/dialog/dialog.docs.d.ts +101 -0
  708. package/dist/src/components/ui/dialog/index.d.ts +1 -0
  709. package/dist/src/components/ui/dialog-footer-default/dialog-footer-default.d.ts +11 -0
  710. package/dist/src/components/ui/dialog-footer-default/index.d.ts +1 -0
  711. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +32 -0
  712. package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +25 -0
  713. package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -0
  714. package/dist/src/components/ui/empty/empty.d.ts +9 -0
  715. package/dist/src/components/ui/empty/index.d.ts +1 -0
  716. package/dist/src/components/ui/field/field.d.ts +39 -0
  717. package/dist/src/components/ui/field/field.docs.d.ts +27 -0
  718. package/dist/src/components/ui/field/index.d.ts +2 -0
  719. package/dist/src/components/ui/filter-search/filter-search.d.ts +52 -0
  720. package/dist/src/components/ui/filter-search/index.d.ts +2 -0
  721. package/dist/src/components/ui/form/form.d.ts +6 -0
  722. package/dist/src/components/ui/form/index.d.ts +1 -0
  723. package/dist/src/components/ui/funnel-chart/funnel-chart.d.ts +39 -0
  724. package/dist/src/components/ui/funnel-chart/index.d.ts +1 -0
  725. package/dist/src/components/ui/grid/grid.d.ts +15 -0
  726. package/dist/src/components/ui/grid/index.d.ts +1 -0
  727. package/dist/src/components/ui/histogram/histogram.d.ts +55 -0
  728. package/dist/src/components/ui/histogram/index.d.ts +1 -0
  729. package/dist/src/components/ui/input/index.d.ts +1 -0
  730. package/dist/src/components/ui/input/input.d.ts +4 -0
  731. package/dist/src/components/ui/input-date-picker/index.d.ts +1 -0
  732. package/dist/src/components/ui/input-date-picker/input-date-picker.d.ts +27 -0
  733. package/dist/src/components/ui/input-otp/index.d.ts +1 -0
  734. package/dist/src/components/ui/input-otp/input-otp.d.ts +23 -0
  735. package/dist/src/components/ui/input-password/index.d.ts +1 -0
  736. package/dist/src/components/ui/input-password/input-password.d.ts +21 -0
  737. package/dist/src/components/ui/input-search/index.d.ts +1 -0
  738. package/dist/src/components/ui/input-search/input-search.d.ts +10 -0
  739. package/dist/src/components/ui/input-select/index.d.ts +1 -0
  740. package/dist/src/components/ui/input-select/input-select.d.ts +96 -0
  741. package/dist/src/components/ui/input-text/index.d.ts +1 -0
  742. package/dist/src/components/ui/input-text/input-text.d.ts +20 -0
  743. package/dist/src/components/ui/input-text-area/index.d.ts +1 -0
  744. package/dist/src/components/ui/input-text-area/input-text-area.d.ts +16 -0
  745. package/dist/src/components/ui/label/index.d.ts +1 -0
  746. package/dist/src/components/ui/label/label.d.ts +5 -0
  747. package/dist/src/components/ui/label/label.docs.d.ts +10 -0
  748. package/dist/src/components/ui/line-chart/index.d.ts +1 -0
  749. package/dist/src/components/ui/line-chart/line-chart.d.ts +83 -0
  750. package/dist/src/components/ui/link/index.d.ts +1 -0
  751. package/dist/src/components/ui/link/link.d.ts +15 -0
  752. package/dist/src/components/ui/loading/index.d.ts +1 -0
  753. package/dist/src/components/ui/loading/loading.d.ts +13 -0
  754. package/dist/src/components/ui/meter/index.d.ts +1 -0
  755. package/dist/src/components/ui/meter/meter.d.ts +25 -0
  756. package/dist/src/components/ui/metric/index.d.ts +1 -0
  757. package/dist/src/components/ui/metric/metric.d.ts +37 -0
  758. package/dist/src/components/ui/number-field/index.d.ts +1 -0
  759. package/dist/src/components/ui/number-field/number-field.d.ts +7 -0
  760. package/dist/src/components/ui/page-content/index.d.ts +1 -0
  761. package/dist/src/components/ui/page-content/page-content.d.ts +4 -0
  762. package/dist/src/components/ui/page-header/index.d.ts +1 -0
  763. package/dist/src/components/ui/page-header/page-header.d.ts +14 -0
  764. package/dist/src/components/ui/pagination/index.d.ts +2 -0
  765. package/dist/src/components/ui/pagination/pagination.d.ts +25 -0
  766. package/dist/src/components/ui/pie-chart/index.d.ts +1 -0
  767. package/dist/src/components/ui/pie-chart/pie-chart.d.ts +54 -0
  768. package/dist/src/components/ui/popover/index.d.ts +1 -0
  769. package/dist/src/components/ui/popover/popover.d.ts +39 -0
  770. package/dist/src/components/ui/popover/popover.docs.d.ts +25 -0
  771. package/dist/src/components/ui/progress/index.d.ts +1 -0
  772. package/dist/src/components/ui/progress/progress.d.ts +9 -0
  773. package/dist/src/components/ui/progress/progress.docs.d.ts +16 -0
  774. package/dist/src/components/ui/progress-circle/index.d.ts +1 -0
  775. package/dist/src/components/ui/progress-circle/progress-circle.d.ts +47 -0
  776. package/dist/src/components/ui/progress-circle/progress-circle.docs.d.ts +21 -0
  777. package/dist/src/components/ui/radar-chart/index.d.ts +1 -0
  778. package/dist/src/components/ui/radar-chart/radar-chart.d.ts +40 -0
  779. package/dist/src/components/ui/radial-bar-chart/index.d.ts +1 -0
  780. package/dist/src/components/ui/radial-bar-chart/radial-bar-chart.d.ts +45 -0
  781. package/dist/src/components/ui/radio/index.d.ts +1 -0
  782. package/dist/src/components/ui/radio/radio.d.ts +8 -0
  783. package/dist/src/components/ui/resizable/index.d.ts +2 -0
  784. package/dist/src/components/ui/resizable/resizable.d.ts +6 -0
  785. package/dist/src/components/ui/scatter-chart/index.d.ts +1 -0
  786. package/dist/src/components/ui/scatter-chart/scatter-chart.d.ts +50 -0
  787. package/dist/src/components/ui/scroll-area/index.d.ts +1 -0
  788. package/dist/src/components/ui/scroll-area/scroll-area.d.ts +10 -0
  789. package/dist/src/components/ui/search/index.d.ts +1 -0
  790. package/dist/src/components/ui/search/search.d.ts +7 -0
  791. package/dist/src/components/ui/search-global/index.d.ts +1 -0
  792. package/dist/src/components/ui/search-global/search-global.d.ts +7 -0
  793. package/dist/src/components/ui/section/index.d.ts +1 -0
  794. package/dist/src/components/ui/section/section.d.ts +7 -0
  795. package/dist/src/components/ui/select/index.d.ts +1 -0
  796. package/dist/src/components/ui/select/select.d.ts +1 -0
  797. package/dist/src/components/ui/separator/index.d.ts +1 -0
  798. package/dist/src/components/ui/separator/separator.d.ts +3 -0
  799. package/dist/src/components/ui/sheet/index.d.ts +3 -0
  800. package/dist/src/components/ui/sheet/sheet-details.d.ts +42 -0
  801. package/dist/src/components/ui/sheet/sheet.d.ts +36 -0
  802. package/dist/src/components/ui/sheet/sheet.docs.d.ts +21 -0
  803. package/dist/src/components/ui/sidebar-primary/index.d.ts +1 -0
  804. package/dist/src/components/ui/sidebar-primary/sidebar-primary.d.ts +107 -0
  805. package/dist/src/components/ui/sidebar-secondary/index.d.ts +1 -0
  806. package/dist/src/components/ui/sidebar-secondary/sidebar-secondary.d.ts +115 -0
  807. package/dist/src/components/ui/skeleton/index.d.ts +1 -0
  808. package/dist/src/components/ui/skeleton/skeleton.d.ts +4 -0
  809. package/dist/src/components/ui/slider/index.d.ts +1 -0
  810. package/dist/src/components/ui/slider/slider.d.ts +7 -0
  811. package/dist/src/components/ui/spinner/index.d.ts +1 -0
  812. package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
  813. package/dist/src/components/ui/stack/index.d.ts +1 -0
  814. package/dist/src/components/ui/stack/stack.d.ts +13 -0
  815. package/dist/src/components/ui/switch/index.d.ts +1 -0
  816. package/dist/src/components/ui/switch/switch.d.ts +8 -0
  817. package/dist/src/components/ui/table/index.d.ts +3 -0
  818. package/dist/src/components/ui/table/table-pagination.d.ts +21 -0
  819. package/dist/src/components/ui/table/table-view-options.d.ts +22 -0
  820. package/dist/src/components/ui/table/table.d.ts +35 -0
  821. package/dist/src/components/ui/tabs/index.d.ts +1 -0
  822. package/dist/src/components/ui/tabs/tabs.d.ts +6 -0
  823. package/dist/src/components/ui/tabs/tabs.docs.d.ts +25 -0
  824. package/dist/src/components/ui/tag/index.d.ts +1 -0
  825. package/dist/src/components/ui/tag/tag.d.ts +12 -0
  826. package/dist/src/components/ui/timeline/index.d.ts +1 -0
  827. package/dist/src/components/ui/timeline/timeline.d.ts +41 -0
  828. package/dist/src/components/ui/toast/index.d.ts +1 -0
  829. package/dist/src/components/ui/toast/toast.d.ts +48 -0
  830. package/dist/src/components/ui/toast/toast.docs.d.ts +12 -0
  831. package/dist/src/components/ui/toggle-group/index.d.ts +1 -0
  832. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +7 -0
  833. package/dist/src/components/ui/toolbar/index.d.ts +1 -0
  834. package/dist/src/components/ui/toolbar/toolbar.d.ts +23 -0
  835. package/dist/src/components/ui/tooltip/index.d.ts +1 -0
  836. package/dist/src/components/ui/tooltip/tooltip.d.ts +21 -0
  837. package/dist/src/components/ui/treemap/index.d.ts +1 -0
  838. package/dist/src/components/ui/treemap/treemap.d.ts +44 -0
  839. package/dist/src/components/ui/trend-indicator/index.d.ts +1 -0
  840. package/dist/src/components/ui/trend-indicator/trend-indicator.d.ts +32 -0
  841. package/dist/src/components/ui/widget-placeholder/index.d.ts +1 -0
  842. package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +18 -0
  843. package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +14 -0
  844. package/dist/src/hooks/index.d.ts +3 -0
  845. package/dist/src/hooks/use-intersection-observer.d.ts +26 -0
  846. package/dist/src/hooks/use-sort-state.d.ts +46 -0
  847. package/dist/src/hooks/use-table-url-state.d.ts +85 -0
  848. package/dist/src/index.d.ts +94 -0
  849. package/dist/src/lib/__tests__/breakpoints.test.d.ts +1 -0
  850. package/dist/src/lib/__tests__/deep-equal.test.d.ts +1 -0
  851. package/dist/src/lib/__tests__/use-doc-dir.test.d.ts +1 -0
  852. package/dist/src/lib/breakpoints.d.ts +8 -0
  853. package/dist/src/lib/deep-equal.d.ts +2 -0
  854. package/dist/src/lib/portal-container.d.ts +36 -0
  855. package/dist/src/lib/use-doc-dir.d.ts +6 -0
  856. package/dist/src/lib/utils.d.ts +2 -0
  857. package/dist/src/react.d.ts +1 -0
  858. package/dist/styles.d.ts +1 -0
  859. package/dist/ui-react.css +1 -0
  860. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-group.js","sources":["../../../../src/components/ui/toggle-group/toggle-group.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Toggle as TogglePrimitive } from '@base-ui/react/toggle';\nimport { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';\n\nimport { cn } from '@/lib/utils';\n\n// Ported from `@acronis-platform`'s `toggle-group`, on Base UI's Toggle /\n// ToggleGroup. No `--ui-toggle-*` tier — semantic tokens. The shared item style is\n// transparent when idle, the hover surface on hover, and the active surface +\n// foreground when pressed (legacy's `bg-muted` hover is near-white in ui-react, so\n// hover uses the visible surface-hover and the pressed state uses surface-active so\n// it reads as selected, distinct from hover).\nconst toggleItemClassName = cn(\n 'inline-flex h-9 select-none items-center justify-center gap-2 rounded-md border border-transparent bg-transparent px-3 text-sm font-medium text-[var(--ui-text-on-surface-primary)] transition-colors outline-none',\n 'not-disabled:hover:bg-[var(--ui-background-surface-hover)]',\n 'focus-visible:ring-2 focus-visible:ring-[var(--ui-focus-primary)]',\n 'data-pressed:bg-[var(--ui-background-surface-active)] data-pressed:text-[var(--ui-text-on-surface-primary)]',\n 'disabled:pointer-events-none disabled:opacity-50'\n);\n\nconst Toggle = React.forwardRef<\n HTMLButtonElement,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive>\n>(({ className, ...props }, ref) => (\n <TogglePrimitive\n ref={ref}\n className={cn(toggleItemClassName, className)}\n {...props}\n />\n));\nToggle.displayName = 'Toggle';\n\nconst ToggleGroup = React.forwardRef<\n React.ComponentRef<typeof ToggleGroupPrimitive>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive>\n>(({ className, ...props }, ref) => (\n <ToggleGroupPrimitive\n ref={ref}\n className={cn(\n 'inline-flex items-center gap-1 data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch',\n className\n )}\n {...props}\n />\n));\nToggleGroup.displayName = 'ToggleGroup';\n\nconst ToggleGroupItem = React.forwardRef<\n HTMLButtonElement,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive>\n>(({ className, ...props }, ref) => (\n <TogglePrimitive\n ref={ref}\n className={cn(toggleItemClassName, className)}\n {...props}\n />\n));\nToggleGroupItem.displayName = 'ToggleGroupItem';\n\nexport { Toggle, ToggleGroup, ToggleGroupItem };\n"],"names":["toggleItemClassName","cn","Toggle","React","className","props","ref","jsx","TogglePrimitive","ToggleGroup","ToggleGroupPrimitive","ToggleGroupItem"],"mappings":";;;;;AAcA,MAAMA,IAAsBC;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEMC,IAASC,EAAM,WAGnB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWL,EAAGD,GAAqBI,CAAS;AAAA,IAC3C,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAO,cAAc;AAErB,MAAMO,IAAcN,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACG;AAAAA,EAAA;AAAA,IACC,KAAAJ;AAAA,IACA,WAAWL;AAAA,MACT;AAAA,MACAG;AAAA,IAAA;AAAA,IAED,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAY,cAAc;AAE1B,MAAME,IAAkBR,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWL,EAAGD,GAAqBI,CAAS;AAAA,IAC3C,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAgB,cAAc;"}
@@ -0,0 +1,214 @@
1
+ import { jsx as a, jsxs as R } from "react/jsx-runtime";
2
+ import * as l from "react";
3
+ import { Toolbar as v } from "@base-ui/react/toolbar";
4
+ import { cn as T } from "../../../lib/utils.js";
5
+ import { Button as x } from "../button/button.js";
6
+ import { DropdownMenu as F, DropdownMenuTrigger as L, DropdownMenuContent as _, DropdownMenuItem as I } from "../dropdown-menu/dropdown-menu.js";
7
+ import { ButtonMenu as A } from "../button-menu/button-menu.js";
8
+ const j = l.forwardRef(
9
+ ({ className: r, ...t }, n) => /* @__PURE__ */ a(
10
+ "fieldset",
11
+ {
12
+ ref: n,
13
+ className: T(
14
+ "m-0 flex min-w-0 items-center gap-4 border-0 p-0",
15
+ r
16
+ ),
17
+ ...t
18
+ }
19
+ )
20
+ );
21
+ j.displayName = "Toolbar";
22
+ const P = l.forwardRef(
23
+ ({ className: r, ...t }, n) => /* @__PURE__ */ a(
24
+ "div",
25
+ {
26
+ ref: n,
27
+ className: T(
28
+ "flex grow shrink-0 items-center justify-end gap-2 whitespace-nowrap",
29
+ r
30
+ ),
31
+ ...t
32
+ }
33
+ )
34
+ );
35
+ P.displayName = "ToolbarActions";
36
+ const M = 16;
37
+ function X(r, t, n, m) {
38
+ const d = r.length;
39
+ if (d === 0) return 0;
40
+ if (r.reduce((c, h) => c + h, 0) + n * (d - 1) <= m) return d;
41
+ let o = t, s = 0;
42
+ for (let c = 0; c < d; c++) {
43
+ const h = o + r[c] + n;
44
+ if (h > m) break;
45
+ o = h, s++;
46
+ }
47
+ return s;
48
+ }
49
+ function G(r) {
50
+ const t = Array.from(r.childNodes).filter(
51
+ (o) => {
52
+ var s;
53
+ return o.nodeType === Node.ELEMENT_NODE || o.nodeType === Node.TEXT_NODE && !!((s = o.textContent) != null && s.trim());
54
+ }
55
+ );
56
+ if (t.length === 0) return r.getBoundingClientRect().width;
57
+ const n = getComputedStyle(r), m = parseFloat(n.columnGap) || 0, d = (parseFloat(n.paddingLeft) || 0) + (parseFloat(n.paddingRight) || 0) + (parseFloat(n.borderLeftWidth) || 0) + (parseFloat(n.borderRightWidth) || 0);
58
+ return t.map((o) => {
59
+ if (o.nodeType === Node.TEXT_NODE) {
60
+ const s = document.createRange();
61
+ return s.selectNodeContents(o), s.getBoundingClientRect().width;
62
+ }
63
+ return o.getBoundingClientRect().width;
64
+ }).reduce((o, s) => o + s, 0) + m * (t.length - 1) + d;
65
+ }
66
+ function V(...r) {
67
+ return (t) => {
68
+ for (const n of r)
69
+ n && (typeof n == "function" ? n(t) : n.current = t);
70
+ };
71
+ }
72
+ const z = l.forwardRef(
73
+ ({ className: r, actions: t, moreActionsLabel: n = "More actions", ...m }, d) => {
74
+ const u = l.useRef(null), o = l.useRef(
75
+ /* @__PURE__ */ new Map()
76
+ ), s = l.useRef(null), [c, h] = l.useState(t.length), [k, C] = l.useState(!1), [g, B] = l.useState(!1);
77
+ l.useEffect(() => {
78
+ var p;
79
+ const e = (p = u.current) == null ? void 0 : p.closest("fieldset");
80
+ if (!e) return;
81
+ const i = () => B(e.disabled);
82
+ i();
83
+ const f = new MutationObserver(i);
84
+ return f.observe(e, {
85
+ attributes: !0,
86
+ attributeFilter: ["disabled"]
87
+ }), () => f.disconnect();
88
+ }, []), l.useEffect(() => {
89
+ g && C(!1);
90
+ }, [g]);
91
+ const y = l.useCallback(() => {
92
+ var E;
93
+ const e = u.current, i = e == null ? void 0 : e.parentElement;
94
+ if (!e || !i) return;
95
+ const f = Array.from(i.children).filter((b) => b !== e).reduce((b, w) => b + G(w), 0), p = Math.max(i.children.length - 1, 0), O = i.clientWidth - f - M * p, S = t.map(
96
+ (b) => {
97
+ var w;
98
+ return ((w = o.current.get(b.key)) == null ? void 0 : w.getBoundingClientRect().width) ?? 0;
99
+ }
100
+ ), W = ((E = s.current) == null ? void 0 : E.getBoundingClientRect().width) ?? 0;
101
+ h(
102
+ X(
103
+ S,
104
+ W,
105
+ M,
106
+ O
107
+ )
108
+ );
109
+ }, [t]);
110
+ l.useLayoutEffect(() => {
111
+ var f;
112
+ y();
113
+ const e = (f = u.current) == null ? void 0 : f.parentElement;
114
+ if (!e) return;
115
+ const i = new ResizeObserver(y);
116
+ return i.observe(e), Array.from(e.children).forEach((p) => {
117
+ p !== u.current && i.observe(p);
118
+ }), () => i.disconnect();
119
+ }, [y, t]);
120
+ const D = t.slice(0, c), N = t.slice(c);
121
+ return /* @__PURE__ */ R(
122
+ v.Root,
123
+ {
124
+ ref: V(u, d),
125
+ className: T(
126
+ // `overflow-hidden` clips the invisible measurement clone below —
127
+ // it's `position: absolute` + `visibility: hidden`, which keeps
128
+ // contributing to this element's scrollable overflow (and thus a
129
+ // real horizontal scrollbar on a narrow container/page) unless
130
+ // something in the ancestor chain clips it. Visible content is
131
+ // already sized to fit `availableWidth` by the collapse math, so
132
+ // clipping never affects anything actually shown.
133
+ "relative flex min-w-0 flex-nowrap items-center gap-4 overflow-hidden",
134
+ r
135
+ ),
136
+ ...m,
137
+ children: [
138
+ D.map((e) => /* @__PURE__ */ a(
139
+ v.Button,
140
+ {
141
+ disabled: e.disabled,
142
+ focusableWhenDisabled: !e.disabled,
143
+ onClick: e.onSelect,
144
+ render: /* @__PURE__ */ a(x, { variant: "ghost", children: e.label })
145
+ },
146
+ e.key
147
+ )),
148
+ N.length > 0 && /* @__PURE__ */ R(
149
+ F,
150
+ {
151
+ open: k,
152
+ onOpenChange: C,
153
+ disabled: g,
154
+ children: [
155
+ /* @__PURE__ */ a(
156
+ v.Button,
157
+ {
158
+ render: /* @__PURE__ */ a(
159
+ L,
160
+ {
161
+ render: /* @__PURE__ */ a(A, { variant: "secondary", children: n })
162
+ }
163
+ )
164
+ }
165
+ ),
166
+ /* @__PURE__ */ a(_, { align: "start", children: N.map((e) => /* @__PURE__ */ a(
167
+ I,
168
+ {
169
+ disabled: e.disabled || g,
170
+ onClick: e.onSelect,
171
+ children: e.label
172
+ },
173
+ e.key
174
+ )) })
175
+ ]
176
+ }
177
+ ),
178
+ /* @__PURE__ */ R(
179
+ "div",
180
+ {
181
+ "aria-hidden": !0,
182
+ inert: !0,
183
+ className: "pointer-events-none invisible absolute start-0 top-0 flex items-center gap-4",
184
+ children: [
185
+ t.map((e) => /* @__PURE__ */ a(
186
+ x,
187
+ {
188
+ ref: (i) => {
189
+ o.current.set(e.key, i);
190
+ },
191
+ variant: "ghost",
192
+ tabIndex: -1,
193
+ children: e.label
194
+ },
195
+ e.key
196
+ )),
197
+ /* @__PURE__ */ a(A, { ref: s, variant: "secondary", tabIndex: -1, children: n })
198
+ ]
199
+ }
200
+ )
201
+ ]
202
+ }
203
+ );
204
+ }
205
+ );
206
+ z.displayName = "ToolbarActionList";
207
+ export {
208
+ j as Toolbar,
209
+ z as ToolbarActionList,
210
+ P as ToolbarActions,
211
+ X as computeVisibleActionCount,
212
+ G as measureNaturalWidth
213
+ };
214
+ //# sourceMappingURL=toolbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.js","sources":["../../../../src/components/ui/toolbar/toolbar.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Toolbar as ToolbarPrimitive } from '@base-ui/react/toolbar';\n\nimport { cn } from '@/lib/utils';\nimport { Button } from '../button';\nimport { ButtonMenu } from '../button-menu';\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from '../dropdown-menu';\n\n// Mirrors the Figma \"Toolbar\" component (node 3897:7199): a horizontal action\n// row — list actions, an optional overflow control (e.g. a `ButtonMenu`), and\n// an optional trailing area (`ToolbarActions`: a status text or a selection\n// counter + action) — typically shown above/below a list or table when rows\n// are selected or bulk actions are available. Every action is an existing\n// `Button`/`ButtonMenu` instance in Figma, so this component only lays them\n// out and carries no dedicated `--ui-toolbar-*` token tier; the 16px\n// inter-item gap is the Figma `gap/gap-16` semantic token, left un-tokenized —\n// same precedent as `FilterSearch`'s identical gap.\n//\n// The Figma `state: active | disabled` variant is the native `disabled`\n// attribute here: the root renders as a `<fieldset>` (reset to look like a\n// flex row) so every nested `Button`/`ButtonMenu` disables via the platform's\n// own fieldset-disables-descendants behavior — no prop-drilling into\n// arbitrary children required.\n//\n// `min-w-0` is required, not cosmetic: browsers give `<fieldset>` an\n// intrinsic `min-width: min-content` that Tailwind's reset doesn't touch, so\n// without it the fieldset refuses to shrink below its content's natural\n// width. `ToolbarActionList`'s collapse math reads this fieldset's own\n// `clientWidth` as \"available space\" — without `min-w-0` the fieldset\n// balloons to fit every action before that measurement ever runs, so it\n// always measures \"everything fits\" and the row never collapses.\n\nexport type ToolbarProps = React.ComponentPropsWithoutRef<'fieldset'>;\n\nconst Toolbar = React.forwardRef<HTMLFieldSetElement, ToolbarProps>(\n ({ className, ...props }, ref) => (\n <fieldset\n ref={ref}\n className={cn(\n 'm-0 flex min-w-0 items-center gap-4 border-0 p-0',\n className\n )}\n {...props}\n />\n )\n);\nToolbar.displayName = 'Toolbar';\n\n// Trailing, right-aligned area — a status text (e.g. \"25 of 1250 items\n// loaded\") or a selection counter + action (e.g. \"6 items selected: Deselect\").\n// 8px inter-child gap matches the Figma Counter part's own gap. `whitespace-nowrap`\n// is required, not cosmetic: the Figma \"Counter\" part is always single-line, but a\n// plain-text child (e.g. a `<span>`) defaults to `white-space: normal` — without\n// this, the text wraps mid-phrase once the row shrinks below its content's natural\n// width (`white-space` is inherited, so it cascades to children without them\n// needing their own override).\n//\n// `grow shrink-0` (not `flex-1`, which also shrinks): this area must grow to fill\n// leftover space so `justify-end` can right-align it, but must never shrink below\n// its own content's natural width. `ToolbarActionList`'s auto-collapse math reads\n// this element's *rendered* width as the space it needs to reserve — if it could\n// shrink, that measurement would be a moving target (less room reserved than the\n// content actually needs), so the actions row would under-collapse and this area's\n// (nowrap, unshrinkable) content would overflow past its own box instead.\nexport type ToolbarActionsProps = React.ComponentPropsWithoutRef<'div'>;\n\nconst ToolbarActions = React.forwardRef<HTMLDivElement, ToolbarActionsProps>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'flex grow shrink-0 items-center justify-end gap-2 whitespace-nowrap',\n className\n )}\n {...props}\n />\n )\n);\nToolbarActions.displayName = 'ToolbarActions';\n\n// Matches the `gap-4` utility used on both this component's row and\n// Toolbar's own root — keep in sync if either class changes.\nconst ACTION_LIST_GAP_PX = 16;\n\n// Pure so the collapse math is unit-testable without mocking layout/ResizeObserver.\n// Greedily fits as many leading items as possible into `availableWidth`; the\n// instant not everything fits, reserves `moreWidth` (+ one gap) for the\n// overflow trigger before fitting items.\nexport function computeVisibleActionCount(\n itemWidths: number[],\n moreWidth: number,\n gap: number,\n availableWidth: number\n): number {\n const total = itemWidths.length;\n if (total === 0) return 0;\n\n const fullWidth =\n itemWidths.reduce((sum, width) => sum + width, 0) + gap * (total - 1);\n if (fullWidth <= availableWidth) return total;\n\n let used = moreWidth;\n let count = 0;\n for (let i = 0; i < total; i++) {\n const next = used + itemWidths[i] + gap;\n if (next > availableWidth) break;\n used = next;\n count++;\n }\n return count;\n}\n\n// A grown sibling's own `getBoundingClientRect()` reflects its flex-grown\n// box, not the space its content actually needs — reading that would make\n// `measure()`'s \"available space\" calculation self-referential (see below),\n// so this reads the sibling's *content nodes* instead: normal (non-growing)\n// flex children report their natural width regardless of how large the\n// parent's box has grown to fill leftover row space. Bare text (e.g.\n// `<ToolbarActions>25 selected</ToolbarActions>` with no wrapping element)\n// renders as a `Text` node rather than an `Element`, so `children` alone\n// would miss it and fall through to the self-referential branch this\n// function exists to avoid — a `Range` measures that text's own rendered\n// width the same way `getBoundingClientRect()` does for an element.\n//\n// The sibling's own padding/border don't grow with flex-grow (only the free\n// space between content and box edge does), so they're safe to add back on\n// top of the content sum — unlike the box's own `getBoundingClientRect()`,\n// which is self-referential.\n//\n// Exported (like `computeVisibleActionCount`) so this is unit-testable\n// without mocking layout/ResizeObserver.\nexport function measureNaturalWidth(el: Element): number {\n const nodes = Array.from(el.childNodes).filter(\n (node): node is ChildNode =>\n node.nodeType === Node.ELEMENT_NODE ||\n (node.nodeType === Node.TEXT_NODE && !!node.textContent?.trim())\n );\n if (nodes.length === 0) return el.getBoundingClientRect().width;\n\n const style = getComputedStyle(el);\n const gap = parseFloat(style.columnGap) || 0;\n const ownPaddingAndBorder =\n (parseFloat(style.paddingLeft) || 0) +\n (parseFloat(style.paddingRight) || 0) +\n (parseFloat(style.borderLeftWidth) || 0) +\n (parseFloat(style.borderRightWidth) || 0);\n const widths = nodes.map((node) => {\n if (node.nodeType === Node.TEXT_NODE) {\n const range = document.createRange();\n range.selectNodeContents(node);\n return range.getBoundingClientRect().width;\n }\n return (node as Element).getBoundingClientRect().width;\n });\n\n return (\n widths.reduce((sum, width) => sum + width, 0) +\n gap * (nodes.length - 1) +\n ownPaddingAndBorder\n );\n}\n\nfunction mergeRefs<T>(\n ...refs: Array<React.Ref<T> | undefined>\n): React.RefCallback<T> {\n return (node) => {\n for (const ref of refs) {\n if (!ref) continue;\n if (typeof ref === 'function') ref(node);\n else (ref as React.RefObject<T | null>).current = node;\n }\n };\n}\n\nexport interface ToolbarActionListItem {\n /** Stable identity — used as the React key in both the row and the overflow menu. */\n key: string;\n /** Rendered as the visible ghost Button's label, and the overflow menu item's label. */\n label: React.ReactNode;\n onSelect?: () => void;\n disabled?: boolean;\n}\n\nexport interface ToolbarActionListProps\n extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {\n /** Ordered list of actions; trailing ones collapse into \"More actions\" first. */\n actions: ToolbarActionListItem[];\n /** Label for the overflow trigger. */\n moreActionsLabel?: React.ReactNode;\n}\n\n// Mirrors the Figma \"ListActions\" part, but drives its `hasMoreActions`\n// overflow menu from measured available width instead of a static boolean —\n// the breakpoints spec (node 6262:28276) requires that \"if there is no space\n// for all Toolbar actions, then last actions must be hidden under More\n// actions.\" Renders every action as a ghost Button until they no longer fit\n// the row, then moves the trailing ones into a ButtonMenu + DropdownMenu\n// (same trigger Figma's `hasMoreActions` variant shows). An invisible clone\n// of every action + the trigger is kept mounted purely to measure natural\n// widths, since a hidden item can't report its own size.\n//\n// The root and each visible action/trigger are Base UI's `Toolbar.Root`/\n// `Toolbar.Button` (`@base-ui/react/toolbar`), giving the row the WAI-ARIA\n// toolbar pattern for free: one Tab stop, arrow-key roving-tabindex between\n// actions and into the overflow trigger. Base UI's `Toolbar.Root` does not\n// forward `enableHomeAndEndKeys` to its underlying composite, so Home/End\n// are not supported here — this is a Base UI limitation, not a choice made\n// in this component. `Toolbar.Button` composes\n// via `render` the same way `DropdownMenuTrigger`/`ButtonMenu` already do\n// below — it merges its own composite/keydown/disabled props onto whatever\n// element you pass. `focusableWhenDisabled={!action.disabled}` opts a\n// disabled action out of Base UI's default APG toolbar treatment (disabled\n// items normally stay focusable via `aria-disabled`, skippable with Tab) so\n// it matches every other disabled `Button` in this library: a real native\n// `disabled` button, unreachable via Tab or arrow keys. This MUST stay\n// conditional on `action.disabled` — `Toolbar.Root` builds its\n// `disabledIndices` list from `focusableWhenDisabled` alone, regardless of\n// the item's actual disabled state, so passing a bare `false` here disables\n// every index and silently breaks arrow-key navigation for the whole row.\n//\n// The invisible measurement clones stay plain `Button`/`ButtonMenu` (not\n// `Toolbar.Button`): registering them too would double-count hidden items in\n// the roving-tabindex list. This is scoped to the action list only —\n// `Toolbar`'s own `<fieldset>` disabled-cascade (see above) is\n// intentionally untouched; Base UI's `Fieldset.Root` strips the native\n// `disabled` attribute in favor of a context other Base UI Field-aware\n// components consume, which `Button`/`ButtonMenu` don't, so it would silently\n// break the \"disabling the toolbar disables every nested control\" guarantee.\nconst ToolbarActionList = React.forwardRef<\n HTMLDivElement,\n ToolbarActionListProps\n>(\n (\n { className, actions, moreActionsLabel = 'More actions', ...props },\n forwardedRef\n ) => {\n const containerRef = React.useRef<HTMLDivElement>(null);\n const itemRefs = React.useRef<Map<string, HTMLButtonElement | null>>(\n new Map()\n );\n const moreRef = React.useRef<HTMLButtonElement>(null);\n const [visibleCount, setVisibleCount] = React.useState(actions.length);\n const [moreMenuOpen, setMoreMenuOpen] = React.useState(false);\n // The overflow menu renders in a portal, outside the ancestor\n // `<fieldset>`'s DOM subtree, so the native disabled-cascade (see\n // `Toolbar` above) never reaches its items. Tracked separately here so a\n // menu already open when the fieldset becomes disabled gets closed, and\n // its items stay disabled even if forced open again (e.g. via a ref).\n const [ancestorDisabled, setAncestorDisabled] = React.useState(false);\n\n React.useEffect(() => {\n const fieldset = containerRef.current?.closest('fieldset');\n if (!fieldset) return;\n const sync = () => setAncestorDisabled(fieldset.disabled);\n sync();\n const observer = new MutationObserver(sync);\n observer.observe(fieldset, {\n attributes: true,\n attributeFilter: ['disabled'],\n });\n return () => observer.disconnect();\n }, []);\n\n React.useEffect(() => {\n if (ancestorDisabled) setMoreMenuOpen(false);\n }, [ancestorDisabled]);\n\n const measure = React.useCallback(() => {\n const container = containerRef.current;\n const parent = container?.parentElement;\n if (!container || !parent) return;\n\n const siblingsWidth = Array.from(parent.children)\n .filter((child) => child !== container)\n .reduce((sum, el) => sum + measureNaturalWidth(el), 0);\n const gapCount = Math.max(parent.children.length - 1, 0);\n const available =\n parent.clientWidth - siblingsWidth - ACTION_LIST_GAP_PX * gapCount;\n\n // Keyed by `action.key`, not index — an index-keyed array would keep\n // stale entries (and a stale length) when `actions` shrinks, since\n // React only nulls out the removed clones' refs without truncating it.\n const itemWidths = actions.map(\n (action) =>\n itemRefs.current.get(action.key)?.getBoundingClientRect().width ?? 0\n );\n const moreWidth = moreRef.current?.getBoundingClientRect().width ?? 0;\n\n setVisibleCount(\n computeVisibleActionCount(\n itemWidths,\n moreWidth,\n ACTION_LIST_GAP_PX,\n available\n )\n );\n }, [actions]);\n\n React.useLayoutEffect(() => {\n measure();\n const parent = containerRef.current?.parentElement;\n if (!parent) return;\n const observer = new ResizeObserver(measure);\n observer.observe(parent);\n // A sibling like `ToolbarActions` is `shrink-0`, so its own border-box\n // grows with its content (e.g. a \"6 items selected\" counter ticking\n // up) even while `parent`'s box stays fixed — a ResizeObserver bound\n // only to `parent` never fires for that case, so `measure()` goes\n // stale and the row silently overflows instead of collapsing further.\n // Observing every sibling directly catches that box-size change too.\n Array.from(parent.children).forEach((sibling) => {\n if (sibling !== containerRef.current) observer.observe(sibling);\n });\n return () => observer.disconnect();\n }, [measure, actions]);\n\n const visibleActions = actions.slice(0, visibleCount);\n const hiddenActions = actions.slice(visibleCount);\n\n return (\n <ToolbarPrimitive.Root\n ref={mergeRefs(containerRef, forwardedRef)}\n className={cn(\n // `overflow-hidden` clips the invisible measurement clone below —\n // it's `position: absolute` + `visibility: hidden`, which keeps\n // contributing to this element's scrollable overflow (and thus a\n // real horizontal scrollbar on a narrow container/page) unless\n // something in the ancestor chain clips it. Visible content is\n // already sized to fit `availableWidth` by the collapse math, so\n // clipping never affects anything actually shown.\n 'relative flex min-w-0 flex-nowrap items-center gap-4 overflow-hidden',\n className\n )}\n {...props}\n >\n {visibleActions.map((action) => (\n <ToolbarPrimitive.Button\n key={action.key}\n disabled={action.disabled}\n focusableWhenDisabled={!action.disabled}\n onClick={action.onSelect}\n render={<Button variant=\"ghost\">{action.label}</Button>}\n />\n ))}\n {hiddenActions.length > 0 && (\n <DropdownMenu\n open={moreMenuOpen}\n onOpenChange={setMoreMenuOpen}\n disabled={ancestorDisabled}\n >\n <ToolbarPrimitive.Button\n render={\n <DropdownMenuTrigger\n render={\n <ButtonMenu variant=\"secondary\">\n {moreActionsLabel}\n </ButtonMenu>\n }\n />\n }\n />\n <DropdownMenuContent align=\"start\">\n {hiddenActions.map((action) => (\n <DropdownMenuItem\n key={action.key}\n disabled={action.disabled || ancestorDisabled}\n onClick={action.onSelect}\n >\n {action.label}\n </DropdownMenuItem>\n ))}\n </DropdownMenuContent>\n </DropdownMenu>\n )}\n <div\n aria-hidden\n inert\n className=\"pointer-events-none invisible absolute start-0 top-0 flex items-center gap-4\"\n >\n {actions.map((action) => (\n <Button\n key={action.key}\n ref={(el) => {\n itemRefs.current.set(action.key, el);\n }}\n variant=\"ghost\"\n tabIndex={-1}\n >\n {action.label}\n </Button>\n ))}\n <ButtonMenu ref={moreRef} variant=\"secondary\" tabIndex={-1}>\n {moreActionsLabel}\n </ButtonMenu>\n </div>\n </ToolbarPrimitive.Root>\n );\n }\n);\nToolbarActionList.displayName = 'ToolbarActionList';\n\nexport { Toolbar, ToolbarActions, ToolbarActionList };\n"],"names":["Toolbar","React","className","props","ref","jsx","cn","ToolbarActions","ACTION_LIST_GAP_PX","computeVisibleActionCount","itemWidths","moreWidth","gap","availableWidth","total","sum","width","used","count","i","next","measureNaturalWidth","el","nodes","node","_a","style","ownPaddingAndBorder","range","mergeRefs","refs","ToolbarActionList","actions","moreActionsLabel","forwardedRef","containerRef","itemRefs","moreRef","visibleCount","setVisibleCount","moreMenuOpen","setMoreMenuOpen","ancestorDisabled","setAncestorDisabled","fieldset","sync","observer","measure","container","parent","siblingsWidth","child","gapCount","available","action","sibling","visibleActions","hiddenActions","jsxs","ToolbarPrimitive","Button","DropdownMenu","DropdownMenuTrigger","ButtonMenu","DropdownMenuContent","DropdownMenuItem"],"mappings":";;;;;;;AAuCA,MAAMA,IAAUC,EAAM;AAAA,EACpB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MACxB,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AACAH,EAAQ,cAAc;AAoBtB,MAAMO,IAAiBN,EAAM;AAAA,EAC3B,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MACxB,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE;AAAA,QACT;AAAA,QACAJ;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AACAI,EAAe,cAAc;AAI7B,MAAMC,IAAqB;AAMpB,SAASC,EACdC,GACAC,GACAC,GACAC,GACQ;AACR,QAAMC,IAAQJ,EAAW;AACzB,MAAII,MAAU,EAAG,QAAO;AAIxB,MADEJ,EAAW,OAAO,CAACK,GAAKC,MAAUD,IAAMC,GAAO,CAAC,IAAIJ,KAAOE,IAAQ,MACpDD,EAAgB,QAAOC;AAExC,MAAIG,IAAON,GACPO,IAAQ;AACZ,WAASC,IAAI,GAAGA,IAAIL,GAAOK,KAAK;AAC9B,UAAMC,IAAOH,IAAOP,EAAWS,CAAC,IAAIP;AACpC,QAAIQ,IAAOP,EAAgB;AAC3B,IAAAI,IAAOG,GACPF;AAAA,EACF;AACA,SAAOA;AACT;AAqBO,SAASG,EAAoBC,GAAqB;AACvD,QAAMC,IAAQ,MAAM,KAAKD,EAAG,UAAU,EAAE;AAAA,IACtC,CAACE,MAAA;;AACC,aAAAA,EAAK,aAAa,KAAK,gBACtBA,EAAK,aAAa,KAAK,aAAa,CAAC,GAACC,IAAAD,EAAK,gBAAL,QAAAC,EAAkB;AAAA;AAAA,EAAK;AAElE,MAAIF,EAAM,WAAW,EAAG,QAAOD,EAAG,wBAAwB;AAE1D,QAAMI,IAAQ,iBAAiBJ,CAAE,GAC3BV,IAAM,WAAWc,EAAM,SAAS,KAAK,GACrCC,KACH,WAAWD,EAAM,WAAW,KAAK,MACjC,WAAWA,EAAM,YAAY,KAAK,MAClC,WAAWA,EAAM,eAAe,KAAK,MACrC,WAAWA,EAAM,gBAAgB,KAAK;AAUzC,SATeH,EAAM,IAAI,CAACC,MAAS;AACjC,QAAIA,EAAK,aAAa,KAAK,WAAW;AACpC,YAAMI,IAAQ,SAAS,YAAA;AACvB,aAAAA,EAAM,mBAAmBJ,CAAI,GACtBI,EAAM,wBAAwB;AAAA,IACvC;AACA,WAAQJ,EAAiB,wBAAwB;AAAA,EACnD,CAAC,EAGQ,OAAO,CAACT,GAAKC,MAAUD,IAAMC,GAAO,CAAC,IAC5CJ,KAAOW,EAAM,SAAS,KACtBI;AAEJ;AAEA,SAASE,KACJC,GACmB;AACtB,SAAO,CAACN,MAAS;AACf,eAAWpB,KAAO0B;AAChB,MAAK1B,MACD,OAAOA,KAAQ,aAAYA,EAAIoB,CAAI,IACjCpB,EAAkC,UAAUoB;AAAA,EAEtD;AACF;AAwDA,MAAMO,IAAoB9B,EAAM;AAAA,EAI9B,CACE,EAAE,WAAAC,GAAW,SAAA8B,GAAS,kBAAAC,IAAmB,gBAAgB,GAAG9B,EAAA,GAC5D+B,MACG;AACH,UAAMC,IAAelC,EAAM,OAAuB,IAAI,GAChDmC,IAAWnC,EAAM;AAAA,0BACjB,IAAA;AAAA,IAAI,GAEJoC,IAAUpC,EAAM,OAA0B,IAAI,GAC9C,CAACqC,GAAcC,CAAe,IAAItC,EAAM,SAAS+B,EAAQ,MAAM,GAC/D,CAACQ,GAAcC,CAAe,IAAIxC,EAAM,SAAS,EAAK,GAMtD,CAACyC,GAAkBC,CAAmB,IAAI1C,EAAM,SAAS,EAAK;AAEpE,IAAAA,EAAM,UAAU,MAAM;;AACpB,YAAM2C,KAAWnB,IAAAU,EAAa,YAAb,gBAAAV,EAAsB,QAAQ;AAC/C,UAAI,CAACmB,EAAU;AACf,YAAMC,IAAO,MAAMF,EAAoBC,EAAS,QAAQ;AACxD,MAAAC,EAAA;AACA,YAAMC,IAAW,IAAI,iBAAiBD,CAAI;AAC1C,aAAAC,EAAS,QAAQF,GAAU;AAAA,QACzB,YAAY;AAAA,QACZ,iBAAiB,CAAC,UAAU;AAAA,MAAA,CAC7B,GACM,MAAME,EAAS,WAAA;AAAA,IACxB,GAAG,CAAA,CAAE,GAEL7C,EAAM,UAAU,MAAM;AACpB,MAAIyC,OAAkC,EAAK;AAAA,IAC7C,GAAG,CAACA,CAAgB,CAAC;AAErB,UAAMK,IAAU9C,EAAM,YAAY,MAAM;;AACtC,YAAM+C,IAAYb,EAAa,SACzBc,IAASD,KAAA,gBAAAA,EAAW;AAC1B,UAAI,CAACA,KAAa,CAACC,EAAQ;AAE3B,YAAMC,IAAgB,MAAM,KAAKD,EAAO,QAAQ,EAC7C,OAAO,CAACE,MAAUA,MAAUH,CAAS,EACrC,OAAO,CAACjC,GAAKO,MAAOP,IAAMM,EAAoBC,CAAE,GAAG,CAAC,GACjD8B,IAAW,KAAK,IAAIH,EAAO,SAAS,SAAS,GAAG,CAAC,GACjDI,IACJJ,EAAO,cAAcC,IAAgB1C,IAAqB4C,GAKtD1C,IAAasB,EAAQ;AAAA,QACzB,CAACsB,MAAA;;AACC,mBAAA7B,IAAAW,EAAS,QAAQ,IAAIkB,EAAO,GAAG,MAA/B,gBAAA7B,EAAkC,wBAAwB,UAAS;AAAA;AAAA,MAAA,GAEjEd,MAAYc,IAAAY,EAAQ,YAAR,gBAAAZ,EAAiB,wBAAwB,UAAS;AAEpE,MAAAc;AAAA,QACE9B;AAAA,UACEC;AAAA,UACAC;AAAA,UACAH;AAAA,UACA6C;AAAA,QAAA;AAAA,MACF;AAAA,IAEJ,GAAG,CAACrB,CAAO,CAAC;AAEZ,IAAA/B,EAAM,gBAAgB,MAAM;;AAC1B,MAAA8C,EAAA;AACA,YAAME,KAASxB,IAAAU,EAAa,YAAb,gBAAAV,EAAsB;AACrC,UAAI,CAACwB,EAAQ;AACb,YAAMH,IAAW,IAAI,eAAeC,CAAO;AAC3C,aAAAD,EAAS,QAAQG,CAAM,GAOvB,MAAM,KAAKA,EAAO,QAAQ,EAAE,QAAQ,CAACM,MAAY;AAC/C,QAAIA,MAAYpB,EAAa,WAASW,EAAS,QAAQS,CAAO;AAAA,MAChE,CAAC,GACM,MAAMT,EAAS,WAAA;AAAA,IACxB,GAAG,CAACC,GAASf,CAAO,CAAC;AAErB,UAAMwB,IAAiBxB,EAAQ,MAAM,GAAGM,CAAY,GAC9CmB,IAAgBzB,EAAQ,MAAMM,CAAY;AAEhD,WACE,gBAAAoB;AAAA,MAACC,EAAiB;AAAA,MAAjB;AAAA,QACC,KAAK9B,EAAUM,GAAcD,CAAY;AAAA,QACzC,WAAW5B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAQT;AAAA,UACAJ;AAAA,QAAA;AAAA,QAED,GAAGC;AAAA,QAEH,UAAA;AAAA,UAAAqD,EAAe,IAAI,CAACF,MACnB,gBAAAjD;AAAA,YAACsD,EAAiB;AAAA,YAAjB;AAAA,cAEC,UAAUL,EAAO;AAAA,cACjB,uBAAuB,CAACA,EAAO;AAAA,cAC/B,SAASA,EAAO;AAAA,cAChB,QAAQ,gBAAAjD,EAACuD,GAAA,EAAO,SAAQ,SAAS,YAAO,MAAA,CAAM;AAAA,YAAA;AAAA,YAJzCN,EAAO;AAAA,UAAA,CAMf;AAAA,UACAG,EAAc,SAAS,KACtB,gBAAAC;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,MAAMrB;AAAA,cACN,cAAcC;AAAA,cACd,UAAUC;AAAA,cAEV,UAAA;AAAA,gBAAA,gBAAArC;AAAA,kBAACsD,EAAiB;AAAA,kBAAjB;AAAA,oBACC,QACE,gBAAAtD;AAAA,sBAACyD;AAAA,sBAAA;AAAA,wBACC,QACE,gBAAAzD,EAAC0D,GAAA,EAAW,SAAQ,aACjB,UAAA9B,EAAA,CACH;AAAA,sBAAA;AAAA,oBAAA;AAAA,kBAEJ;AAAA,gBAAA;AAAA,kCAGH+B,GAAA,EAAoB,OAAM,SACxB,UAAAP,EAAc,IAAI,CAACH,MAClB,gBAAAjD;AAAA,kBAAC4D;AAAA,kBAAA;AAAA,oBAEC,UAAUX,EAAO,YAAYZ;AAAA,oBAC7B,SAASY,EAAO;AAAA,oBAEf,UAAAA,EAAO;AAAA,kBAAA;AAAA,kBAJHA,EAAO;AAAA,gBAAA,CAMf,EAAA,CACH;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,UAGJ,gBAAAI;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,eAAW;AAAA,cACX,OAAK;AAAA,cACL,WAAU;AAAA,cAET,UAAA;AAAA,gBAAA1B,EAAQ,IAAI,CAACsB,MACZ,gBAAAjD;AAAA,kBAACuD;AAAA,kBAAA;AAAA,oBAEC,KAAK,CAACtC,MAAO;AACX,sBAAAc,EAAS,QAAQ,IAAIkB,EAAO,KAAKhC,CAAE;AAAA,oBACrC;AAAA,oBACA,SAAQ;AAAA,oBACR,UAAU;AAAA,oBAET,UAAAgC,EAAO;AAAA,kBAAA;AAAA,kBAPHA,EAAO;AAAA,gBAAA,CASf;AAAA,gBACD,gBAAAjD,EAAC0D,KAAW,KAAK1B,GAAS,SAAQ,aAAY,UAAU,IACrD,UAAAJ,EAAA,CACH;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AACAF,EAAkB,cAAc;"}
@@ -0,0 +1,58 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import * as u from "react";
3
+ import { Tooltip as o } from "@base-ui/react/tooltip";
4
+ import { cn as v } from "../../../lib/utils.js";
5
+ import { usePortalContainer as x } from "../../../lib/portal-container.js";
6
+ function C(i) {
7
+ return /* @__PURE__ */ t(o.Provider, { delay: 300, ...i });
8
+ }
9
+ const h = o.Root, y = o.Trigger, f = u.forwardRef(
10
+ ({
11
+ className: i,
12
+ sideOffset: r = 6,
13
+ side: n = "top",
14
+ align: e = "center",
15
+ anchor: a,
16
+ portalContainer: l,
17
+ keepMounted: p,
18
+ ...c
19
+ }, d) => {
20
+ const m = x(), s = l ?? m;
21
+ return /* @__PURE__ */ t(
22
+ o.Portal,
23
+ {
24
+ container: s,
25
+ keepMounted: p,
26
+ children: /* @__PURE__ */ t(
27
+ o.Positioner,
28
+ {
29
+ sideOffset: r,
30
+ side: n,
31
+ align: e,
32
+ anchor: a,
33
+ className: "z-50",
34
+ children: /* @__PURE__ */ t(
35
+ o.Popup,
36
+ {
37
+ ref: d,
38
+ className: v(
39
+ "max-w-[var(--ui-tooltip-container-width-max)] min-w-[var(--ui-tooltip-container-width-min)] rounded-[var(--ui-tooltip-container-border-radius)] bg-[var(--ui-tooltip-container-color)] px-[var(--ui-tooltip-container-padding-x)] py-[var(--ui-tooltip-container-padding-y)] text-xs font-medium leading-4 text-[var(--ui-tooltip-label-color)]",
40
+ i
41
+ ),
42
+ ...c
43
+ }
44
+ )
45
+ }
46
+ )
47
+ }
48
+ );
49
+ }
50
+ );
51
+ f.displayName = "TooltipContent";
52
+ export {
53
+ h as Tooltip,
54
+ f as TooltipContent,
55
+ C as TooltipProvider,
56
+ y as TooltipTrigger
57
+ };
58
+ //# sourceMappingURL=tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.js","sources":["../../../../src/components/ui/tooltip/tooltip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';\n\nimport { cn } from '@/lib/utils';\nimport { usePortalContainer } from '@/lib/portal-container';\n\n// A contextual hint shown on hover/focus of its trigger. Wraps the Base UI\n// Tooltip primitive; the popup is themed with the `--ui-tooltip-*` token tier\n// (a dark, ~90%-opaque bubble with a light label, 12/8px padding, 4px radius,\n// 48–256px width). No arrow — matching the Figma design. Wrap the whole app (or\n// a region) in `TooltipProvider` to share open/close delays across tooltips.\n\nfunction TooltipProvider(props: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return <TooltipPrimitive.Provider delay={300} {...props} />;\n}\n\nconst Tooltip = TooltipPrimitive.Root;\n\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Popup>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Popup> & {\n sideOffset?: number;\n side?: TooltipPrimitive.Positioner.Props['side'];\n align?: TooltipPrimitive.Positioner.Props['align'];\n /**\n * Override what the popup is positioned against — defaults to the\n * `TooltipTrigger` element. Useful when the hover/focus trigger is\n * narrower than the element the tooltip should visually align to (e.g. a\n * truncating label inside a full-width row, where the tooltip should\n * anchor to the row's edge, not the label's).\n */\n anchor?: TooltipPrimitive.Positioner.Props['anchor'];\n portalContainer?: TooltipPrimitive.Portal.Props['container'];\n keepMounted?: TooltipPrimitive.Portal.Props['keepMounted'];\n }\n>(\n (\n {\n className,\n sideOffset = 6,\n side = 'top',\n align = 'center',\n anchor,\n portalContainer,\n keepMounted,\n ...props\n },\n ref\n ) => {\n const ctxContainer = usePortalContainer();\n const resolvedContainer = portalContainer ?? ctxContainer;\n\n return (\n <TooltipPrimitive.Portal\n container={resolvedContainer}\n keepMounted={keepMounted}\n >\n <TooltipPrimitive.Positioner\n sideOffset={sideOffset}\n side={side}\n align={align}\n anchor={anchor}\n className=\"z-50\"\n >\n <TooltipPrimitive.Popup\n ref={ref}\n className={cn(\n 'max-w-[var(--ui-tooltip-container-width-max)] min-w-[var(--ui-tooltip-container-width-min)] rounded-[var(--ui-tooltip-container-border-radius)] bg-[var(--ui-tooltip-container-color)] px-[var(--ui-tooltip-container-padding-x)] py-[var(--ui-tooltip-container-padding-y)] text-xs font-medium leading-4 text-[var(--ui-tooltip-label-color)]',\n className\n )}\n {...props}\n />\n </TooltipPrimitive.Positioner>\n </TooltipPrimitive.Portal>\n );\n }\n);\nTooltipContent.displayName = 'TooltipContent';\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"names":["TooltipProvider","props","TooltipPrimitive","Tooltip","TooltipTrigger","TooltipContent","React","className","sideOffset","side","align","anchor","portalContainer","keepMounted","ref","ctxContainer","usePortalContainer","resolvedContainer","jsx","cn"],"mappings":";;;;;AAYA,SAASA,EAAgBC,GAA+D;AACtF,2BAAQC,EAAiB,UAAjB,EAA0B,OAAO,KAAM,GAAGD,GAAO;AAC3D;AAEA,MAAME,IAAUD,EAAiB,MAE3BE,IAAiBF,EAAiB,SAElCG,IAAiBC,EAAM;AAAA,EAkB3B,CACE;AAAA,IACE,WAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,MAAAC,IAAO;AAAA,IACP,OAAAC,IAAQ;AAAA,IACR,QAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,GAAGZ;AAAA,EAAA,GAELa,MACG;AACH,UAAMC,IAAeC,EAAA,GACfC,IAAoBL,KAAmBG;AAE7C,WACA,gBAAAG;AAAA,MAAChB,EAAiB;AAAA,MAAjB;AAAA,QACC,WAAWe;AAAA,QACX,aAAAJ;AAAA,QAEA,UAAA,gBAAAK;AAAA,UAAChB,EAAiB;AAAA,UAAjB;AAAA,YACC,YAAAM;AAAA,YACA,MAAAC;AAAA,YACA,OAAAC;AAAA,YACA,QAAAC;AAAA,YACA,WAAU;AAAA,YAEV,UAAA,gBAAAO;AAAA,cAAChB,EAAiB;AAAA,cAAjB;AAAA,gBACC,KAAAY;AAAA,gBACA,WAAWK;AAAA,kBACT;AAAA,kBACAZ;AAAA,gBAAA;AAAA,gBAED,GAAGN;AAAA,cAAA;AAAA,YAAA;AAAA,UACN;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAGJ;AACF;AACAI,EAAe,cAAc;"}
@@ -0,0 +1,83 @@
1
+ import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
+ import * as x from "react";
3
+ import { Treemap as T } from "recharts";
4
+ import { cn as C } from "../../../lib/utils.js";
5
+ import { ChartContainer as h, ChartTooltip as v, ChartTooltipContent as N } from "../chart/chart.js";
6
+ function b({
7
+ x: o = 0,
8
+ y: l = 0,
9
+ width: t = 0,
10
+ height: a = 0,
11
+ name: e,
12
+ showLabels: s = !0
13
+ }) {
14
+ if (!e) return /* @__PURE__ */ r("g", {});
15
+ const i = s && t > 64 && a > 28;
16
+ return /* @__PURE__ */ u("g", { children: [
17
+ /* @__PURE__ */ r(
18
+ "rect",
19
+ {
20
+ x: o,
21
+ y: l,
22
+ width: t,
23
+ height: a,
24
+ strokeWidth: 2,
25
+ className: "stroke-background",
26
+ style: { fill: `var(--color-${e})` }
27
+ }
28
+ ),
29
+ i && /* @__PURE__ */ r(
30
+ "text",
31
+ {
32
+ x: o + t / 2,
33
+ y: l + a / 2,
34
+ textAnchor: "middle",
35
+ dominantBaseline: "middle",
36
+ className: "fill-[var(--ui-text-on-status-strong-neutral)] text-xs",
37
+ children: e
38
+ }
39
+ )
40
+ ] });
41
+ }
42
+ const k = x.forwardRef(
43
+ ({
44
+ className: o,
45
+ config: l,
46
+ data: t,
47
+ dataKey: a,
48
+ nameKey: e,
49
+ aspectRatio: s = 4 / 3,
50
+ showLabels: i = !0,
51
+ showTooltip: c = !0,
52
+ tooltipContent: m,
53
+ ...d
54
+ }, p) => {
55
+ const f = t.map((n) => ({
56
+ ...n,
57
+ fill: `var(--color-${n[e]})`
58
+ }));
59
+ return /* @__PURE__ */ r("div", { ref: p, className: C(o), ...d, children: /* @__PURE__ */ r(h, { config: l, className: "size-full", children: /* @__PURE__ */ r(
60
+ T,
61
+ {
62
+ data: f,
63
+ dataKey: a,
64
+ nameKey: e,
65
+ aspectRatio: s,
66
+ isAnimationActive: !1,
67
+ content: /* @__PURE__ */ r(b, { showLabels: i }),
68
+ children: c && /* @__PURE__ */ r(
69
+ v,
70
+ {
71
+ content: m ?? /* @__PURE__ */ r(N, { nameKey: e, hideLabel: !0 })
72
+ }
73
+ )
74
+ }
75
+ ) }) });
76
+ }
77
+ );
78
+ k.displayName = "Treemap";
79
+ export {
80
+ k as Treemap,
81
+ b as TreemapCell
82
+ };
83
+ //# sourceMappingURL=treemap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treemap.js","sources":["../../../../src/components/ui/treemap/treemap.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Treemap as RechartsTreemap } from 'recharts';\n\nimport { cn } from '@/lib/utils';\nimport {\n ChartContainer,\n ChartTooltip,\n ChartTooltipContent,\n type ChartConfig,\n} from '../chart';\n\n// A typed recharts composition over the shared `Chart` primitives. A treemap is\n// the odd one out: a single `Treemap` element with no axes/grid/legend, themed\n// through a custom `content` cell renderer (recharts' default paints every cell\n// the same fill and has no token hooks). Like Scatter/Composed/RadialBar there's\n// no CVA variant — a treemap's knobs are geometry (`aspectRatio`) and the data,\n// not a visual \"mode\". v1 is a flat treemap (a list of leaves).\n\ninterface TreemapCellProps {\n x?: number;\n y?: number;\n width?: number;\n height?: number;\n // recharts injects the node's resolved `name` (from nameKey) + value.\n name?: string;\n showLabels?: boolean;\n}\n\n// Cell renderer: fill each rect from its `--color-<name>` var, separate cells\n// with the surface color, and center a white label (readable over the saturated\n// series colors) when the cell is big enough. Passed to `Treemap.content`;\n// recharts clones it with each node's geometry + `name`.\nexport function TreemapCell({\n x = 0,\n y = 0,\n width = 0,\n height = 0,\n name,\n showLabels = true,\n}: TreemapCellProps) {\n // recharts invokes `content` for the synthetic root node too (full chart\n // dimensions, empty name). Skip any name-less node — otherwise its rect has no\n // `--color-<name>` fill and paints the SVG-default black behind everything\n // (invisible when leaves cover it, a black box on empty data).\n if (!name) return <g />;\n const canLabel = showLabels && width > 64 && height > 28;\n return (\n <g>\n <rect\n x={x}\n y={y}\n width={width}\n height={height}\n strokeWidth={2}\n className=\"stroke-background\"\n style={{ fill: `var(--color-${name})` }}\n />\n {canLabel && (\n <text\n x={x + width / 2}\n y={y + height / 2}\n textAnchor=\"middle\"\n dominantBaseline=\"middle\"\n // The design system's \"text on a strong colored surface\" token\n // (constant white in both themes) — reads over the saturated series\n // colors without hardcoding a color.\n className=\"fill-[var(--ui-text-on-status-strong-neutral)] text-xs\"\n >\n {name}\n </text>\n )}\n </g>\n );\n}\n\nexport interface TreemapProps\n extends Omit<React.ComponentProps<'div'>, 'children'> {\n /** Row-per-leaf data. Each object holds the leaf's `nameKey` label + its `dataKey` numeric size. */\n data: ReadonlyArray<Record<string, string | number>>;\n /**\n * Per-leaf map of `label` / `color`, keyed by the leaf's `nameKey` value\n * (imported from the shared `Chart` primitives). Turned into `--color-<name>`\n * custom properties. Colors are caller-supplied — reference an existing\n * semantic `--ui-*` token; there is no chart palette tier yet.\n */\n config: ChartConfig;\n /** Numeric field that sizes each leaf's rectangle. */\n dataKey: string;\n /**\n * Label field that names each leaf (drives the on-cell label, tooltip, and\n * `--color-<name>` lookup). Values should be unique and CSS-safe (they become\n * part of a custom-property name).\n */\n nameKey: string;\n /** Width-to-height ratio the tiling targets. */\n aspectRatio?: number;\n /** Render each leaf's name inside its cell (when it fits). */\n showLabels?: boolean;\n showTooltip?: boolean;\n /**\n * Replace the default tooltip. Pass a configured `ChartTooltipContent`\n * (imported from this library) — e.g. with a `formatter` / `labelFormatter` —\n * to customize formatting, per-cell rows, or extra fields without composing\n * recharts yourself. Ignored when `showTooltip` is false.\n */\n tooltipContent?: React.ComponentProps<typeof ChartTooltip>['content'];\n}\n\nconst Treemap = React.forwardRef<HTMLDivElement, TreemapProps>(\n (\n {\n className,\n config,\n data,\n dataKey,\n nameKey,\n aspectRatio = 4 / 3,\n showLabels = true,\n showTooltip = true,\n tooltipContent,\n ...props\n },\n ref\n ) => {\n // Stamp each row with its `fill` (the shadcn data-driven pattern) so a real\n // hover resolves the cell color in the tooltip — recharts' Treemap carries no\n // per-cell color on the tooltip payload item.\n const seriesData: Record<string, string | number>[] = data.map((row) => ({\n ...row,\n fill: `var(--color-${row[nameKey]})`,\n }));\n\n return (\n <div ref={ref} className={cn(className)} {...props}>\n <ChartContainer config={config} className=\"size-full\">\n <RechartsTreemap\n data={seriesData}\n dataKey={dataKey}\n nameKey={nameKey}\n aspectRatio={aspectRatio}\n isAnimationActive={false}\n content={<TreemapCell showLabels={showLabels} />}\n >\n {showTooltip && (\n <ChartTooltip\n content={\n tooltipContent ?? (\n <ChartTooltipContent nameKey={nameKey} hideLabel />\n )\n }\n />\n )}\n </RechartsTreemap>\n </ChartContainer>\n </div>\n );\n }\n);\nTreemap.displayName = 'Treemap';\n\nexport { Treemap };\n"],"names":["TreemapCell","x","y","width","height","name","showLabels","jsx","canLabel","Treemap","React","className","config","data","dataKey","nameKey","aspectRatio","showTooltip","tooltipContent","props","ref","seriesData","row","cn","ChartContainer","RechartsTreemap","ChartTooltip","ChartTooltipContent"],"mappings":";;;;;AAkCO,SAASA,EAAY;AAAA,EAC1B,GAAAC,IAAI;AAAA,EACJ,GAAAC,IAAI;AAAA,EACJ,OAAAC,IAAQ;AAAA,EACR,QAAAC,IAAS;AAAA,EACT,MAAAC;AAAA,EACA,YAAAC,IAAa;AACf,GAAqB;AAKnB,MAAI,CAACD,EAAM,QAAO,gBAAAE,EAAC,KAAA,CAAA,CAAE;AACrB,QAAMC,IAAWF,KAAcH,IAAQ,MAAMC,IAAS;AACtD,2BACG,KAAA,EACC,UAAA;AAAA,IAAA,gBAAAG;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAAN;AAAA,QACA,GAAAC;AAAA,QACA,OAAAC;AAAA,QACA,QAAAC;AAAA,QACA,aAAa;AAAA,QACb,WAAU;AAAA,QACV,OAAO,EAAE,MAAM,eAAeC,CAAI,IAAA;AAAA,MAAI;AAAA,IAAA;AAAA,IAEvCG,KACC,gBAAAD;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAGN,IAAIE,IAAQ;AAAA,QACf,GAAGD,IAAIE,IAAS;AAAA,QAChB,YAAW;AAAA,QACX,kBAAiB;AAAA,QAIjB,WAAU;AAAA,QAET,UAAAC;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GAEJ;AAEJ;AAmCA,MAAMI,IAAUC,EAAM;AAAA,EACpB,CACE;AAAA,IACE,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,SAAAC;AAAA,IACA,SAAAC;AAAA,IACA,aAAAC,IAAc,IAAI;AAAA,IAClB,YAAAV,IAAa;AAAA,IACb,aAAAW,IAAc;AAAA,IACd,gBAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AAIH,UAAMC,IAAgDR,EAAK,IAAI,CAACS,OAAS;AAAA,MACvE,GAAGA;AAAA,MACH,MAAM,eAAeA,EAAIP,CAAO,CAAC;AAAA,IAAA,EACjC;AAEF,WACE,gBAAAR,EAAC,OAAA,EAAI,KAAAa,GAAU,WAAWG,EAAGZ,CAAS,GAAI,GAAGQ,GAC3C,UAAA,gBAAAZ,EAACiB,GAAA,EAAe,QAAAZ,GAAgB,WAAU,aACxC,UAAA,gBAAAL;AAAA,MAACkB;AAAAA,MAAA;AAAA,QACC,MAAMJ;AAAA,QACN,SAAAP;AAAA,QACA,SAAAC;AAAA,QACA,aAAAC;AAAA,QACA,mBAAmB;AAAA,QACnB,SAAS,gBAAAT,EAACP,GAAA,EAAY,YAAAM,EAAA,CAAwB;AAAA,QAE7C,UAAAW,KACC,gBAAAV;AAAA,UAACmB;AAAA,UAAA;AAAA,YACC,SACER,KACE,gBAAAX,EAACoB,GAAA,EAAoB,SAAAZ,GAAkB,WAAS,GAAA,CAAC;AAAA,UAAA;AAAA,QAAA;AAAA,MAGvD;AAAA,IAAA,GAGN,EAAA,CACF;AAAA,EAEJ;AACF;AACAN,EAAQ,cAAc;"}
@@ -0,0 +1,97 @@
1
+ import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
+ import * as u from "react";
3
+ import { cva as b } from "../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js";
4
+ import { ArrowRightIcon as I, ArrowTrendDownIcon as N, ArrowTrendUpIcon as T } from "@acronis-platform/icons-react/stroke-mono";
5
+ import { cn as h } from "../../../lib/utils.js";
6
+ import { Tooltip as w, TooltipTrigger as k, TooltipContent as z } from "../tooltip/tooltip.js";
7
+ const R = b(
8
+ "inline-flex items-center align-middle font-medium [&_svg]:shrink-0",
9
+ {
10
+ variants: {
11
+ sentiment: {
12
+ positive: "text-[var(--ui-text-on-status-success)]",
13
+ negative: "text-[var(--ui-text-on-status-danger)]",
14
+ neutral: "text-[var(--ui-text-on-status-neutral)]"
15
+ },
16
+ size: {
17
+ small: "gap-0.5 text-xs [&_svg]:size-3.5",
18
+ medium: "gap-1 text-sm [&_svg]:size-4"
19
+ },
20
+ variant: {
21
+ inline: "",
22
+ badge: "rounded-sm px-1.5 py-0.5"
23
+ }
24
+ },
25
+ // The badge tint pairs with the same status family as the text color.
26
+ compoundVariants: [
27
+ {
28
+ variant: "badge",
29
+ sentiment: "positive",
30
+ className: "bg-[var(--ui-background-status-success)]"
31
+ },
32
+ {
33
+ variant: "badge",
34
+ sentiment: "negative",
35
+ className: "bg-[var(--ui-background-status-danger)]"
36
+ },
37
+ {
38
+ variant: "badge",
39
+ sentiment: "neutral",
40
+ className: "bg-[var(--ui-background-status-neutral)]"
41
+ }
42
+ ],
43
+ defaultVariants: {
44
+ sentiment: "neutral",
45
+ size: "medium",
46
+ variant: "inline"
47
+ }
48
+ }
49
+ ), _ = {
50
+ up: T,
51
+ down: N,
52
+ flat: I
53
+ }, y = u.forwardRef(
54
+ ({
55
+ className: m,
56
+ direction: e,
57
+ sentiment: a,
58
+ size: g,
59
+ variant: p,
60
+ value: n,
61
+ comparisonLabel: r,
62
+ tooltip: s,
63
+ showIcon: v = !0,
64
+ ariaLabel: i,
65
+ ...x
66
+ }, o) => {
67
+ const f = _[e], l = s != null, d = /* @__PURE__ */ c(
68
+ "span",
69
+ {
70
+ "data-direction": e,
71
+ "data-sentiment": a ?? "neutral",
72
+ className: h(
73
+ R({ sentiment: a, size: g, variant: p }),
74
+ m
75
+ ),
76
+ ...i ? { role: "img", "aria-label": i } : {},
77
+ tabIndex: l ? 0 : void 0,
78
+ ...x,
79
+ children: [
80
+ v && /* @__PURE__ */ t(f, { "aria-hidden": !0, className: "rtl:-scale-x-100" }),
81
+ n != null && /* @__PURE__ */ t("span", { className: "tabular-nums", children: n }),
82
+ r != null && /* @__PURE__ */ t("span", { className: "text-[var(--ui-text-on-surface-secondary)]", children: r })
83
+ ]
84
+ }
85
+ );
86
+ return l ? /* @__PURE__ */ c(w, { children: [
87
+ /* @__PURE__ */ t(k, { ref: o, render: d }),
88
+ /* @__PURE__ */ t(z, { children: s })
89
+ ] }) : u.cloneElement(d, { ref: o });
90
+ }
91
+ );
92
+ y.displayName = "TrendIndicator";
93
+ export {
94
+ y as TrendIndicator,
95
+ R as trendIndicatorVariants
96
+ };
97
+ //# sourceMappingURL=trend-indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trend-indicator.js","sources":["../../../../src/components/ui/trend-indicator/trend-indicator.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport {\n ArrowRightIcon,\n ArrowTrendDownIcon,\n ArrowTrendUpIcon,\n} from '@acronis-platform/icons-react/stroke-mono';\n\nimport { cn } from '@/lib/utils';\nimport { Tooltip, TooltipContent, TooltipTrigger } from '../tooltip';\n\n// A small, presentational trend/delta indicator: a direction glyph + a\n// pre-formatted change value + an optional comparison label. It deliberately\n// separates `direction` (what happened mathematically) from `sentiment`\n// (whether that change is good or bad), because the kit can't assume up = good —\n// revenue ↑ is positive, threats ↑ is negative, MTTR ↓ is positive. The consumer\n// computes both and passes an already-formatted `value`; this component never\n// diffs two numbers, rounds, or interprets domain rules. Sentiment drives the\n// color through the semantic status text tokens (the glyph inherits via\n// `currentColor`), and the `badge` variant adds a matching status tint — no new\n// tokens.\nconst trendIndicatorVariants = cva(\n 'inline-flex items-center align-middle font-medium [&_svg]:shrink-0',\n {\n variants: {\n sentiment: {\n positive: 'text-[var(--ui-text-on-status-success)]',\n negative: 'text-[var(--ui-text-on-status-danger)]',\n neutral: 'text-[var(--ui-text-on-status-neutral)]',\n },\n size: {\n small: 'gap-0.5 text-xs [&_svg]:size-3.5',\n medium: 'gap-1 text-sm [&_svg]:size-4',\n },\n variant: {\n inline: '',\n badge: 'rounded-sm px-1.5 py-0.5',\n },\n },\n // The badge tint pairs with the same status family as the text color.\n compoundVariants: [\n {\n variant: 'badge',\n sentiment: 'positive',\n className: 'bg-[var(--ui-background-status-success)]',\n },\n {\n variant: 'badge',\n sentiment: 'negative',\n className: 'bg-[var(--ui-background-status-danger)]',\n },\n {\n variant: 'badge',\n sentiment: 'neutral',\n className: 'bg-[var(--ui-background-status-neutral)]',\n },\n ],\n defaultVariants: {\n sentiment: 'neutral',\n size: 'medium',\n variant: 'inline',\n },\n }\n);\n\n// `flat` uses a horizontal arrow (the \"no meaningful change\" glyph); up/down use\n// the trend arrows. All three carry a horizontal direction, so they mirror under\n// `dir=\"rtl\"` (`rtl:-scale-x-100`) to stay aligned with the mirrored text flow.\nconst DIRECTION_ICON = {\n up: ArrowTrendUpIcon,\n down: ArrowTrendDownIcon,\n flat: ArrowRightIcon,\n} as const;\n\nexport interface TrendIndicatorProps\n extends Omit<React.ComponentProps<'span'>, 'children'>,\n VariantProps<typeof trendIndicatorVariants> {\n /** What changed mathematically — selects the direction glyph. */\n direction: 'up' | 'down' | 'flat';\n /**\n * Already-formatted change to display — e.g. `\"12%\"`, `\"3.5 h\"`,\n * `\"Improving\"`, `\"4.2 h → 2.8 h\"`. The kit does not format or compute it.\n */\n value?: React.ReactNode;\n /** Secondary comparison caption — e.g. `\"vs previous quarter\"`, `\"YoY\"`. */\n comparisonLabel?: React.ReactNode;\n /** Contextual hint shown on hover/focus (Base UI Tooltip). */\n tooltip?: React.ReactNode;\n /** Show the leading direction glyph. Defaults to `true` — color alone isn't enough. */\n showIcon?: boolean;\n /**\n * Accessible sentence describing the trend (e.g. \"Revenue increased 12%\n * compared with the previous quarter\"). Applied as the element's label via\n * `role=\"img\"`, since the kit can't build a correct, localized sentence from\n * `direction` + `value` alone. Without it, assistive tech reads the visible\n * `value` / `comparisonLabel` text (the glyph is decorative).\n */\n ariaLabel?: string;\n}\n\nconst TrendIndicator = React.forwardRef<HTMLSpanElement, TrendIndicatorProps>(\n (\n {\n className,\n direction,\n sentiment,\n size,\n variant,\n value,\n comparisonLabel,\n tooltip,\n showIcon = true,\n ariaLabel,\n ...props\n },\n ref\n ) => {\n const Icon = DIRECTION_ICON[direction];\n const hasTooltip = tooltip != null;\n\n const root = (\n <span\n data-direction={direction}\n data-sentiment={sentiment ?? 'neutral'}\n className={cn(\n trendIndicatorVariants({ sentiment, size, variant }),\n className\n )}\n // With an explicit sentence, the whole unit is one labelled image and\n // the inner text/glyph is decorative; otherwise the visible text carries\n // the meaning and the glyph is hidden.\n {...(ariaLabel ? { role: 'img', 'aria-label': ariaLabel } : {})}\n // When it's a tooltip trigger, make it keyboard-reachable so the hint\n // isn't hover-only.\n tabIndex={hasTooltip ? 0 : undefined}\n {...props}\n >\n {showIcon && <Icon aria-hidden className=\"rtl:-scale-x-100\" />}\n {value != null && <span className=\"tabular-nums\">{value}</span>}\n {comparisonLabel != null && (\n <span className=\"text-[var(--ui-text-on-surface-secondary)]\">\n {comparisonLabel}\n </span>\n )}\n </span>\n );\n\n if (!hasTooltip) {\n return React.cloneElement(root, { ref });\n }\n\n return (\n <Tooltip>\n {/* Base UI's Trigger ref is typed to its default <button>; the trigger\n here is the span, so the runtime ref is that span. */}\n <TooltipTrigger ref={ref as React.Ref<HTMLButtonElement>} render={root} />\n <TooltipContent>{tooltip}</TooltipContent>\n </Tooltip>\n );\n }\n);\nTrendIndicator.displayName = 'TrendIndicator';\n\nexport { TrendIndicator, trendIndicatorVariants };\n"],"names":["trendIndicatorVariants","cva","DIRECTION_ICON","ArrowTrendUpIcon","ArrowTrendDownIcon","ArrowRightIcon","TrendIndicator","React","className","direction","sentiment","size","variant","value","comparisonLabel","tooltip","showIcon","ariaLabel","props","ref","Icon","hasTooltip","root","jsxs","cn","jsx","Tooltip","TooltipTrigger","TooltipContent"],"mappings":";;;;;;AAuBA,MAAMA,IAAyBC;AAAA,EAC7B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,WAAW;AAAA,QACT,UAAU;AAAA,QACV,UAAU;AAAA,QACV,SAAS;AAAA,MAAA;AAAA,MAEX,MAAM;AAAA,QACJ,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,SAAS;AAAA,QACP,QAAQ;AAAA,QACR,OAAO;AAAA,MAAA;AAAA,IACT;AAAA;AAAA,IAGF,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,MAEb;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,MAEb;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,IACb;AAAA,IAEF,iBAAiB;AAAA,MACf,WAAW;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ,GAKMC,IAAiB;AAAA,EACrB,IAAIC;AAAA,EACJ,MAAMC;AAAA,EACN,MAAMC;AACR,GA4BMC,IAAiBC,EAAM;AAAA,EAC3B,CACE;AAAA,IACE,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,MAAAC;AAAA,IACA,SAAAC;AAAA,IACA,OAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,WAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAMC,IAAOlB,EAAeO,CAAS,GAC/BY,IAAaN,KAAW,MAExBO,IACJ,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,kBAAgBd;AAAA,QAChB,kBAAgBC,KAAa;AAAA,QAC7B,WAAWc;AAAA,UACTxB,EAAuB,EAAE,WAAAU,GAAW,MAAAC,GAAM,SAAAC,GAAS;AAAA,UACnDJ;AAAA,QAAA;AAAA,QAKD,GAAIS,IAAY,EAAE,MAAM,OAAO,cAAcA,EAAA,IAAc,CAAA;AAAA,QAG5D,UAAUI,IAAa,IAAI;AAAA,QAC1B,GAAGH;AAAA,QAEH,UAAA;AAAA,UAAAF,KAAY,gBAAAS,EAACL,GAAA,EAAK,eAAW,IAAC,WAAU,oBAAmB;AAAA,UAC3DP,KAAS,QAAQ,gBAAAY,EAAC,QAAA,EAAK,WAAU,gBAAgB,UAAAZ,GAAM;AAAA,UACvDC,KAAmB,QAClB,gBAAAW,EAAC,QAAA,EAAK,WAAU,8CACb,UAAAX,EAAA,CACH;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAKN,WAAKO,sBAKFK,GAAA,EAGC,UAAA;AAAA,MAAA,gBAAAD,EAACE,GAAA,EAAe,KAAAR,GAA0C,QAAQG,EAAA,CAAM;AAAA,MACxE,gBAAAG,EAACG,KAAgB,UAAAb,EAAA,CAAQ;AAAA,IAAA,GAC3B,IATOR,EAAM,aAAae,GAAM,EAAE,KAAAH,GAAK;AAAA,EAW3C;AACF;AACAb,EAAe,cAAc;"}