@acronis-platform/ui-react 0.54.0 → 0.56.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 (300) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -2
  3. package/dist/components/ui/accordion/accordion.js +0 -53
  4. package/dist/components/ui/accordion/accordion.js.map +0 -1
  5. package/dist/components/ui/alert/alert.js +0 -99
  6. package/dist/components/ui/alert/alert.js.map +0 -1
  7. package/dist/components/ui/app-shell/app-shell.js +0 -75
  8. package/dist/components/ui/app-shell/app-shell.js.map +0 -1
  9. package/dist/components/ui/auth-layout/auth-layout.js +0 -56
  10. package/dist/components/ui/auth-layout/auth-layout.js.map +0 -1
  11. package/dist/components/ui/avatar/avatar.js +0 -70
  12. package/dist/components/ui/avatar/avatar.js.map +0 -1
  13. package/dist/components/ui/breadcrumb/breadcrumb.js +0 -116
  14. package/dist/components/ui/breadcrumb/breadcrumb.js.map +0 -1
  15. package/dist/components/ui/button/button.js +0 -50
  16. package/dist/components/ui/button/button.js.map +0 -1
  17. package/dist/components/ui/button-icon/button-icon.js +0 -35
  18. package/dist/components/ui/button-icon/button-icon.js.map +0 -1
  19. package/dist/components/ui/button-menu/button-menu.js +0 -52
  20. package/dist/components/ui/button-menu/button-menu.js.map +0 -1
  21. package/dist/components/ui/card/card.js +0 -92
  22. package/dist/components/ui/card/card.js.map +0 -1
  23. package/dist/components/ui/card-filter/card-filter.js +0 -63
  24. package/dist/components/ui/card-filter/card-filter.js.map +0 -1
  25. package/dist/components/ui/chart/chart.js +0 -213
  26. package/dist/components/ui/chart/chart.js.map +0 -1
  27. package/dist/components/ui/checkbox/checkbox.js +0 -70
  28. package/dist/components/ui/checkbox/checkbox.js.map +0 -1
  29. package/dist/components/ui/chip/chip.js +0 -70
  30. package/dist/components/ui/chip/chip.js.map +0 -1
  31. package/dist/components/ui/collapsible/collapsible.js +0 -22
  32. package/dist/components/ui/collapsible/collapsible.js.map +0 -1
  33. package/dist/components/ui/combobox/combobox.js +0 -149
  34. package/dist/components/ui/combobox/combobox.js.map +0 -1
  35. package/dist/components/ui/data-table/data-table-column-header.js +0 -36
  36. package/dist/components/ui/data-table/data-table-column-header.js.map +0 -1
  37. package/dist/components/ui/data-table/data-table-pagination.js +0 -89
  38. package/dist/components/ui/data-table/data-table-pagination.js.map +0 -1
  39. package/dist/components/ui/data-table/data-table-toolbar.js +0 -46
  40. package/dist/components/ui/data-table/data-table-toolbar.js.map +0 -1
  41. package/dist/components/ui/data-table/data-table-view-options.js +0 -40
  42. package/dist/components/ui/data-table/data-table-view-options.js.map +0 -1
  43. package/dist/components/ui/data-table/data-table.js +0 -89
  44. package/dist/components/ui/data-table/data-table.js.map +0 -1
  45. package/dist/components/ui/description-list/description-list.js +0 -54
  46. package/dist/components/ui/description-list/description-list.js.map +0 -1
  47. package/dist/components/ui/dialog/dialog.js +0 -140
  48. package/dist/components/ui/dialog/dialog.js.map +0 -1
  49. package/dist/components/ui/dropdown-menu/dropdown-menu.js +0 -159
  50. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +0 -1
  51. package/dist/components/ui/empty/empty.js +0 -78
  52. package/dist/components/ui/empty/empty.js.map +0 -1
  53. package/dist/components/ui/field/field.js +0 -189
  54. package/dist/components/ui/field/field.js.map +0 -1
  55. package/dist/components/ui/form/form.js +0 -16
  56. package/dist/components/ui/form/form.js.map +0 -1
  57. package/dist/components/ui/grid/grid.js +0 -69
  58. package/dist/components/ui/grid/grid.js.map +0 -1
  59. package/dist/components/ui/input/input.js +0 -22
  60. package/dist/components/ui/input/input.js.map +0 -1
  61. package/dist/components/ui/input-date-picker/input-date-picker.js +0 -104
  62. package/dist/components/ui/input-date-picker/input-date-picker.js.map +0 -1
  63. package/dist/components/ui/input-search/input-search.js +0 -57
  64. package/dist/components/ui/input-search/input-search.js.map +0 -1
  65. package/dist/components/ui/input-select/input-select.js +0 -265
  66. package/dist/components/ui/input-select/input-select.js.map +0 -1
  67. package/dist/components/ui/input-text/input-text.js +0 -87
  68. package/dist/components/ui/input-text/input-text.js.map +0 -1
  69. package/dist/components/ui/input-text-area/input-text-area.js +0 -77
  70. package/dist/components/ui/input-text-area/input-text-area.js.map +0 -1
  71. package/dist/components/ui/label/label.js +0 -12
  72. package/dist/components/ui/label/label.js.map +0 -1
  73. package/dist/components/ui/link/link.js +0 -39
  74. package/dist/components/ui/link/link.js.map +0 -1
  75. package/dist/components/ui/number-field/number-field.js +0 -61
  76. package/dist/components/ui/number-field/number-field.js.map +0 -1
  77. package/dist/components/ui/page-content/page-content.js +0 -19
  78. package/dist/components/ui/page-content/page-content.js.map +0 -1
  79. package/dist/components/ui/page-header/page-header.js +0 -74
  80. package/dist/components/ui/page-header/page-header.js.map +0 -1
  81. package/dist/components/ui/pagination/pagination.js +0 -87
  82. package/dist/components/ui/pagination/pagination.js.map +0 -1
  83. package/dist/components/ui/popover/popover.js +0 -48
  84. package/dist/components/ui/popover/popover.js.map +0 -1
  85. package/dist/components/ui/progress/progress.js +0 -30
  86. package/dist/components/ui/progress/progress.js.map +0 -1
  87. package/dist/components/ui/progress-circle/progress-circle.js +0 -115
  88. package/dist/components/ui/progress-circle/progress-circle.js.map +0 -1
  89. package/dist/components/ui/radio/radio.js +0 -44
  90. package/dist/components/ui/radio/radio.js.map +0 -1
  91. package/dist/components/ui/resizable/resizable.js +0 -52
  92. package/dist/components/ui/resizable/resizable.js.map +0 -1
  93. package/dist/components/ui/scroll-area/scroll-area.js +0 -61
  94. package/dist/components/ui/scroll-area/scroll-area.js.map +0 -1
  95. package/dist/components/ui/search/search.js +0 -93
  96. package/dist/components/ui/search/search.js.map +0 -1
  97. package/dist/components/ui/search-global/search-global.js +0 -60
  98. package/dist/components/ui/search-global/search-global.js.map +0 -1
  99. package/dist/components/ui/section/section.js +0 -37
  100. package/dist/components/ui/section/section.js.map +0 -1
  101. package/dist/components/ui/separator/separator.js +0 -22
  102. package/dist/components/ui/separator/separator.js.map +0 -1
  103. package/dist/components/ui/sheet/sheet-details.js +0 -80
  104. package/dist/components/ui/sheet/sheet-details.js.map +0 -1
  105. package/dist/components/ui/sheet/sheet.js +0 -138
  106. package/dist/components/ui/sheet/sheet.js.map +0 -1
  107. package/dist/components/ui/sidebar-primary/sidebar-primary.js +0 -252
  108. package/dist/components/ui/sidebar-primary/sidebar-primary.js.map +0 -1
  109. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js +0 -470
  110. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js.map +0 -1
  111. package/dist/components/ui/skeleton/skeleton.js +0 -22
  112. package/dist/components/ui/skeleton/skeleton.js.map +0 -1
  113. package/dist/components/ui/slider/slider.js +0 -42
  114. package/dist/components/ui/slider/slider.js.map +0 -1
  115. package/dist/components/ui/spinner/spinner.js +0 -38
  116. package/dist/components/ui/spinner/spinner.js.map +0 -1
  117. package/dist/components/ui/stack/stack.js +0 -61
  118. package/dist/components/ui/stack/stack.js.map +0 -1
  119. package/dist/components/ui/switch/switch.js +0 -41
  120. package/dist/components/ui/switch/switch.js.map +0 -1
  121. package/dist/components/ui/table/table.js +0 -118
  122. package/dist/components/ui/table/table.js.map +0 -1
  123. package/dist/components/ui/tabs/tabs.js +0 -44
  124. package/dist/components/ui/tabs/tabs.js.map +0 -1
  125. package/dist/components/ui/tag/tag.js +0 -47
  126. package/dist/components/ui/tag/tag.js.map +0 -1
  127. package/dist/components/ui/toast/toast.js +0 -83
  128. package/dist/components/ui/toast/toast.js.map +0 -1
  129. package/dist/components/ui/toggle-group/toggle-group.js +0 -47
  130. package/dist/components/ui/toggle-group/toggle-group.js.map +0 -1
  131. package/dist/components/ui/tooltip/tooltip.js +0 -49
  132. package/dist/components/ui/tooltip/tooltip.js.map +0 -1
  133. package/dist/components/ui/widget-placeholder/widget-placeholder.js +0 -106
  134. package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +0 -1
  135. package/dist/index.d.ts +0 -2
  136. package/dist/index.js +0 -360
  137. package/dist/index.js.map +0 -1
  138. package/dist/lib/utils.js +0 -9
  139. package/dist/lib/utils.js.map +0 -1
  140. 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 +0 -104
  141. 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 +0 -1
  142. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +0 -1900
  143. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +0 -1
  144. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +0 -36
  145. package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +0 -1
  146. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -17
  147. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
  148. 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 +0 -2093
  149. 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 +0 -1
  150. package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2996
  151. package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
  152. package/dist/react.d.ts +0 -2
  153. package/dist/react.js +0 -360
  154. package/dist/react.js.map +0 -1
  155. package/dist/src/components/ui/accordion/accordion.d.ts +0 -7
  156. package/dist/src/components/ui/accordion/index.d.ts +0 -1
  157. package/dist/src/components/ui/alert/alert.d.ts +0 -14
  158. package/dist/src/components/ui/alert/index.d.ts +0 -2
  159. package/dist/src/components/ui/app-shell/app-shell.d.ts +0 -8
  160. package/dist/src/components/ui/app-shell/index.d.ts +0 -1
  161. package/dist/src/components/ui/auth-layout/auth-layout.d.ts +0 -6
  162. package/dist/src/components/ui/auth-layout/index.d.ts +0 -1
  163. package/dist/src/components/ui/avatar/avatar.d.ts +0 -27
  164. package/dist/src/components/ui/avatar/index.d.ts +0 -1
  165. package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +0 -30
  166. package/dist/src/components/ui/breadcrumb/index.d.ts +0 -1
  167. package/dist/src/components/ui/button/button.d.ts +0 -16
  168. package/dist/src/components/ui/button/index.d.ts +0 -1
  169. package/dist/src/components/ui/button-icon/button-icon.d.ts +0 -20
  170. package/dist/src/components/ui/button-icon/index.d.ts +0 -1
  171. package/dist/src/components/ui/button-menu/button-menu.d.ts +0 -29
  172. package/dist/src/components/ui/button-menu/index.d.ts +0 -1
  173. package/dist/src/components/ui/card/card.d.ts +0 -17
  174. package/dist/src/components/ui/card/index.d.ts +0 -1
  175. package/dist/src/components/ui/card-filter/card-filter.d.ts +0 -27
  176. package/dist/src/components/ui/card-filter/index.d.ts +0 -1
  177. package/dist/src/components/ui/chart/chart.d.ts +0 -55
  178. package/dist/src/components/ui/chart/index.d.ts +0 -2
  179. package/dist/src/components/ui/checkbox/checkbox.d.ts +0 -10
  180. package/dist/src/components/ui/checkbox/index.d.ts +0 -1
  181. package/dist/src/components/ui/chip/chip.d.ts +0 -20
  182. package/dist/src/components/ui/chip/index.d.ts +0 -1
  183. package/dist/src/components/ui/collapsible/collapsible.d.ts +0 -5
  184. package/dist/src/components/ui/collapsible/index.d.ts +0 -1
  185. package/dist/src/components/ui/combobox/combobox.d.ts +0 -28
  186. package/dist/src/components/ui/combobox/index.d.ts +0 -2
  187. package/dist/src/components/ui/data-table/data-table-column-header.d.ts +0 -8
  188. package/dist/src/components/ui/data-table/data-table-pagination.d.ts +0 -8
  189. package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +0 -9
  190. package/dist/src/components/ui/data-table/data-table-view-options.d.ts +0 -6
  191. package/dist/src/components/ui/data-table/data-table.d.ts +0 -24
  192. package/dist/src/components/ui/data-table/data-table.docs.d.ts +0 -22
  193. package/dist/src/components/ui/data-table/index.d.ts +0 -5
  194. package/dist/src/components/ui/description-list/description-list.d.ts +0 -8
  195. package/dist/src/components/ui/description-list/index.d.ts +0 -1
  196. package/dist/src/components/ui/dialog/dialog.d.ts +0 -39
  197. package/dist/src/components/ui/dialog/dialog.docs.d.ts +0 -24
  198. package/dist/src/components/ui/dialog/index.d.ts +0 -1
  199. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -39
  200. package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +0 -25
  201. package/dist/src/components/ui/dropdown-menu/index.d.ts +0 -1
  202. package/dist/src/components/ui/empty/empty.d.ts +0 -9
  203. package/dist/src/components/ui/empty/index.d.ts +0 -1
  204. package/dist/src/components/ui/field/field.d.ts +0 -39
  205. package/dist/src/components/ui/field/field.docs.d.ts +0 -27
  206. package/dist/src/components/ui/field/index.d.ts +0 -2
  207. package/dist/src/components/ui/form/form.d.ts +0 -6
  208. package/dist/src/components/ui/form/index.d.ts +0 -1
  209. package/dist/src/components/ui/grid/grid.d.ts +0 -15
  210. package/dist/src/components/ui/grid/index.d.ts +0 -1
  211. package/dist/src/components/ui/input/index.d.ts +0 -1
  212. package/dist/src/components/ui/input/input.d.ts +0 -4
  213. package/dist/src/components/ui/input-date-picker/index.d.ts +0 -1
  214. package/dist/src/components/ui/input-date-picker/input-date-picker.d.ts +0 -27
  215. package/dist/src/components/ui/input-search/index.d.ts +0 -1
  216. package/dist/src/components/ui/input-search/input-search.d.ts +0 -10
  217. package/dist/src/components/ui/input-select/index.d.ts +0 -1
  218. package/dist/src/components/ui/input-select/input-select.d.ts +0 -46
  219. package/dist/src/components/ui/input-text/index.d.ts +0 -1
  220. package/dist/src/components/ui/input-text/input-text.d.ts +0 -20
  221. package/dist/src/components/ui/input-text-area/index.d.ts +0 -1
  222. package/dist/src/components/ui/input-text-area/input-text-area.d.ts +0 -16
  223. package/dist/src/components/ui/label/index.d.ts +0 -1
  224. package/dist/src/components/ui/label/label.d.ts +0 -5
  225. package/dist/src/components/ui/label/label.docs.d.ts +0 -10
  226. package/dist/src/components/ui/link/index.d.ts +0 -1
  227. package/dist/src/components/ui/link/link.d.ts +0 -15
  228. package/dist/src/components/ui/number-field/index.d.ts +0 -1
  229. package/dist/src/components/ui/number-field/number-field.d.ts +0 -7
  230. package/dist/src/components/ui/page-content/index.d.ts +0 -1
  231. package/dist/src/components/ui/page-content/page-content.d.ts +0 -4
  232. package/dist/src/components/ui/page-header/index.d.ts +0 -1
  233. package/dist/src/components/ui/page-header/page-header.d.ts +0 -8
  234. package/dist/src/components/ui/pagination/index.d.ts +0 -2
  235. package/dist/src/components/ui/pagination/pagination.d.ts +0 -25
  236. package/dist/src/components/ui/popover/index.d.ts +0 -1
  237. package/dist/src/components/ui/popover/popover.d.ts +0 -27
  238. package/dist/src/components/ui/popover/popover.docs.d.ts +0 -25
  239. package/dist/src/components/ui/progress/index.d.ts +0 -1
  240. package/dist/src/components/ui/progress/progress.d.ts +0 -9
  241. package/dist/src/components/ui/progress/progress.docs.d.ts +0 -16
  242. package/dist/src/components/ui/progress-circle/index.d.ts +0 -1
  243. package/dist/src/components/ui/progress-circle/progress-circle.d.ts +0 -47
  244. package/dist/src/components/ui/progress-circle/progress-circle.docs.d.ts +0 -21
  245. package/dist/src/components/ui/radio/index.d.ts +0 -1
  246. package/dist/src/components/ui/radio/radio.d.ts +0 -8
  247. package/dist/src/components/ui/resizable/index.d.ts +0 -1
  248. package/dist/src/components/ui/resizable/resizable.d.ts +0 -9
  249. package/dist/src/components/ui/scroll-area/index.d.ts +0 -1
  250. package/dist/src/components/ui/scroll-area/scroll-area.d.ts +0 -10
  251. package/dist/src/components/ui/search/index.d.ts +0 -1
  252. package/dist/src/components/ui/search/search.d.ts +0 -7
  253. package/dist/src/components/ui/search-global/index.d.ts +0 -1
  254. package/dist/src/components/ui/search-global/search-global.d.ts +0 -7
  255. package/dist/src/components/ui/section/index.d.ts +0 -1
  256. package/dist/src/components/ui/section/section.d.ts +0 -7
  257. package/dist/src/components/ui/select/index.d.ts +0 -1
  258. package/dist/src/components/ui/select/select.d.ts +0 -1
  259. package/dist/src/components/ui/separator/index.d.ts +0 -1
  260. package/dist/src/components/ui/separator/separator.d.ts +0 -3
  261. package/dist/src/components/ui/sheet/index.d.ts +0 -3
  262. package/dist/src/components/ui/sheet/sheet-details.d.ts +0 -42
  263. package/dist/src/components/ui/sheet/sheet.d.ts +0 -36
  264. package/dist/src/components/ui/sheet/sheet.docs.d.ts +0 -21
  265. package/dist/src/components/ui/sidebar-primary/index.d.ts +0 -1
  266. package/dist/src/components/ui/sidebar-primary/sidebar-primary.d.ts +0 -54
  267. package/dist/src/components/ui/sidebar-secondary/index.d.ts +0 -1
  268. package/dist/src/components/ui/sidebar-secondary/sidebar-secondary.d.ts +0 -112
  269. package/dist/src/components/ui/skeleton/index.d.ts +0 -1
  270. package/dist/src/components/ui/skeleton/skeleton.d.ts +0 -4
  271. package/dist/src/components/ui/slider/index.d.ts +0 -1
  272. package/dist/src/components/ui/slider/slider.d.ts +0 -7
  273. package/dist/src/components/ui/spinner/index.d.ts +0 -1
  274. package/dist/src/components/ui/spinner/spinner.d.ts +0 -9
  275. package/dist/src/components/ui/stack/index.d.ts +0 -1
  276. package/dist/src/components/ui/stack/stack.d.ts +0 -13
  277. package/dist/src/components/ui/switch/index.d.ts +0 -1
  278. package/dist/src/components/ui/switch/switch.d.ts +0 -8
  279. package/dist/src/components/ui/table/index.d.ts +0 -1
  280. package/dist/src/components/ui/table/table.d.ts +0 -23
  281. package/dist/src/components/ui/tabs/index.d.ts +0 -1
  282. package/dist/src/components/ui/tabs/tabs.d.ts +0 -6
  283. package/dist/src/components/ui/tabs/tabs.docs.d.ts +0 -25
  284. package/dist/src/components/ui/tag/index.d.ts +0 -1
  285. package/dist/src/components/ui/tag/tag.d.ts +0 -12
  286. package/dist/src/components/ui/toast/index.d.ts +0 -1
  287. package/dist/src/components/ui/toast/toast.d.ts +0 -48
  288. package/dist/src/components/ui/toast/toast.docs.d.ts +0 -12
  289. package/dist/src/components/ui/toggle-group/index.d.ts +0 -1
  290. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +0 -7
  291. package/dist/src/components/ui/tooltip/index.d.ts +0 -1
  292. package/dist/src/components/ui/tooltip/tooltip.d.ts +0 -13
  293. package/dist/src/components/ui/widget-placeholder/index.d.ts +0 -1
  294. package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +0 -18
  295. package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +0 -14
  296. package/dist/src/index.d.ts +0 -66
  297. package/dist/src/lib/utils.d.ts +0 -2
  298. package/dist/src/react.d.ts +0 -1
  299. package/dist/styles.d.ts +0 -1
  300. package/dist/ui-react.css +0 -1
@@ -1,54 +0,0 @@
1
- import { useRender } from '@base-ui/react/use-render';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as React from 'react';
4
- export interface SidebarPrimaryProps extends React.ComponentPropsWithoutRef<'nav'> {
5
- /** Controlled expanded (rail width) state. */
6
- expanded?: boolean;
7
- /** Uncontrolled initial expanded state. Defaults to `true` (full width). */
8
- defaultExpanded?: boolean;
9
- /** Fires when the expanded state changes (e.g. a consumer toggle). */
10
- onExpandedChange?: (expanded: boolean) => void;
11
- /**
12
- * Replace the rendered `<nav>` with another element or component
13
- * (Base UI composition). Accepts a React element or a render function.
14
- */
15
- render?: useRender.RenderProp;
16
- }
17
- declare const SidebarPrimary: React.ForwardRefExoticComponent<SidebarPrimaryProps & React.RefAttributes<HTMLElement>>;
18
- declare const SidebarPrimaryHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const SidebarPrimaryContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
- declare const SidebarPrimaryFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
21
- declare const SidebarPrimarySection: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
22
- declare const SidebarPrimaryMenu: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
23
- declare const sidebarPrimaryMenuItemVariants: (props?: ({
24
- variant?: "selected" | "unselected" | null | undefined;
25
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
26
- export interface SidebarPrimaryMenuItemProps extends Omit<React.ComponentPropsWithoutRef<'a'>, 'children'>, Omit<VariantProps<typeof sidebarPrimaryMenuItemVariants>, 'variant'> {
27
- /** Marks the current route: sets the `selected` variant + `aria-current="page"`. */
28
- selected?: boolean;
29
- /** Leading 16px icon (from `@acronis-platform/icons-react`). */
30
- icon?: React.ReactNode;
31
- children?: React.ReactNode;
32
- /**
33
- * Replace the rendered `<a>` with another element or component (e.g. a router
34
- * `Link` or a `<button>`) via Base UI composition.
35
- */
36
- render?: useRender.RenderProp;
37
- }
38
- declare const SidebarPrimaryMenuItem: React.ForwardRefExoticComponent<SidebarPrimaryMenuItemProps & React.RefAttributes<HTMLAnchorElement>>;
39
- export interface SidebarPrimaryMenuItemExtrasProps extends React.ComponentPropsWithoutRef<'span'> {
40
- /** Which trailing affordance to render. */
41
- variant: 'tag' | 'externalLink' | 'shortcut' | 'tag-externalLink';
42
- /** Shortcut text (e.g. "⌘H") for the `shortcut` variant. */
43
- shortcut?: string;
44
- /** Tag content for the `tag` / `tag-externalLink` variants. */
45
- tag?: React.ReactNode;
46
- }
47
- declare const SidebarPrimaryMenuItemExtras: React.ForwardRefExoticComponent<SidebarPrimaryMenuItemExtrasProps & React.RefAttributes<HTMLSpanElement>>;
48
- export interface SidebarPrimaryCollapseTriggerProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'children'> {
49
- /** Leading 16px icon (e.g. a panel-left glyph). */
50
- icon?: React.ReactNode;
51
- children?: React.ReactNode;
52
- }
53
- declare const SidebarPrimaryCollapseTrigger: React.ForwardRefExoticComponent<SidebarPrimaryCollapseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
54
- export { SidebarPrimary, SidebarPrimaryHeader, SidebarPrimaryContent, SidebarPrimaryFooter, SidebarPrimarySection, SidebarPrimaryMenu, SidebarPrimaryMenuItem, SidebarPrimaryMenuItemExtras, SidebarPrimaryCollapseTrigger, sidebarPrimaryMenuItemVariants, };
@@ -1 +0,0 @@
1
- export { SidebarSecondary, SidebarSecondaryHeader, SidebarSecondaryContent, SidebarSecondaryCollapsedBreadcrumb, SidebarSecondaryFooter, SidebarSecondarySection, SidebarSecondarySectionLabel, SidebarSecondaryMenu, SidebarSecondaryMenuItem, SidebarSecondaryMenuSub, SidebarSecondaryMenuSubTrigger, SidebarSecondaryMenuSubContent, SidebarSecondaryMenuSubItem, SidebarSecondaryMenuItemExtras, SidebarSecondaryCollapseTrigger, sidebarSecondaryMenuItemVariants, type SidebarSecondaryProps, type SidebarSecondaryHeaderProps, type SidebarSecondaryCollapsedBreadcrumbProps, type SidebarSecondaryMenuItemProps, type SidebarSecondaryMenuSubProps, type SidebarSecondaryMenuSubTriggerProps, type SidebarSecondaryMenuSubContentProps, type SidebarSecondaryMenuSubItemProps, type SidebarSecondaryMenuItemExtrasProps, type SidebarSecondaryCollapseTriggerProps, } from './sidebar-secondary';
@@ -1,112 +0,0 @@
1
- import { useRender } from '@base-ui/react/use-render';
2
- import { Collapsible } from '@base-ui/react/collapsible';
3
- import { VariantProps } from 'class-variance-authority';
4
- import * as React from 'react';
5
- export interface SidebarSecondaryProps extends React.ComponentPropsWithoutRef<'nav'> {
6
- /** Controlled expanded (rail width) state. */
7
- expanded?: boolean;
8
- /** Uncontrolled initial expanded state. Defaults to `true` (full width). */
9
- defaultExpanded?: boolean;
10
- /** Fires when the expanded state changes (e.g. a consumer toggle). */
11
- onExpandedChange?: (expanded: boolean) => void;
12
- /**
13
- * Replace the rendered `<nav>` with another element or component
14
- * (Base UI composition). Accepts a React element or a render function.
15
- */
16
- render?: useRender.RenderProp;
17
- }
18
- declare const SidebarSecondary: React.ForwardRefExoticComponent<SidebarSecondaryProps & React.RefAttributes<HTMLElement>>;
19
- export interface SidebarSecondaryHeaderProps extends React.ComponentPropsWithoutRef<'div'> {
20
- /** Heading text (or pass as children). */
21
- label?: React.ReactNode;
22
- }
23
- declare const SidebarSecondaryHeader: React.ForwardRefExoticComponent<SidebarSecondaryHeaderProps & React.RefAttributes<HTMLDivElement>>;
24
- declare const SidebarSecondaryContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
- export interface SidebarSecondaryCollapsedBreadcrumbProps extends React.ComponentPropsWithoutRef<'div'> {
26
- /** The parent section label (breadcrumbLabel). */
27
- parentLabel: React.ReactNode;
28
- /** The current page label (labelCurrentPage). */
29
- currentLabel: React.ReactNode;
30
- /** Separator between the two; defaults to a 16px ChevronRightIcon (R6). */
31
- separator?: React.ReactNode;
32
- }
33
- declare const SidebarSecondaryCollapsedBreadcrumb: React.ForwardRefExoticComponent<SidebarSecondaryCollapsedBreadcrumbProps & React.RefAttributes<HTMLDivElement>>;
34
- declare const SidebarSecondaryFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
35
- export interface SidebarSecondarySectionProps extends React.ComponentPropsWithoutRef<'div'> {
36
- /**
37
- * Make the section a collapsible disclosure: the `SidebarSecondarySectionLabel`
38
- * becomes a chevron toggle and the `SidebarSecondaryMenu` becomes its panel.
39
- */
40
- expandable?: boolean;
41
- /** Controlled open state (expandable sections only). */
42
- open?: boolean;
43
- /** Uncontrolled initial open state (expandable sections only). Defaults to open. */
44
- defaultOpen?: boolean;
45
- /** Fires with the next open value when an expandable section toggles. */
46
- onOpenChange?: (open: boolean) => void;
47
- }
48
- declare const SidebarSecondarySection: React.ForwardRefExoticComponent<SidebarSecondarySectionProps & React.RefAttributes<HTMLDivElement>>;
49
- export interface SidebarSecondarySectionLabelProps extends React.ComponentPropsWithoutRef<'div'> {
50
- /** Trailing header actions (e.g. a ghost `ButtonIcon`). Rendered outside the toggle. */
51
- actions?: React.ReactNode;
52
- /**
53
- * A rollup badge (e.g. a `Tag` with an unread count) shown in the header only
54
- * when an expandable section is collapsed. Ignored for static sections.
55
- */
56
- unreadRollup?: React.ReactNode;
57
- }
58
- declare const SidebarSecondarySectionLabel: React.ForwardRefExoticComponent<SidebarSecondarySectionLabelProps & React.RefAttributes<HTMLDivElement>>;
59
- declare const SidebarSecondaryMenu: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
60
- declare const sidebarSecondaryMenuItemVariants: (props?: ({
61
- variant?: "selected" | "unselected" | null | undefined;
62
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
63
- export interface SidebarSecondaryMenuItemProps extends Omit<React.ComponentPropsWithoutRef<'a'>, 'children'>, Omit<VariantProps<typeof sidebarSecondaryMenuItemVariants>, 'variant'> {
64
- /** Marks the current route: sets the `selected` variant + `aria-current="page"`. */
65
- selected?: boolean;
66
- /** Optional leading 16px icon (Level-1 only; `hasIcon` in Figma). */
67
- icon?: React.ReactNode;
68
- children?: React.ReactNode;
69
- /** Replace the rendered `<a>` (e.g. a router `Link` or a `<button>`). */
70
- render?: useRender.RenderProp;
71
- }
72
- declare const SidebarSecondaryMenuItem: React.ForwardRefExoticComponent<SidebarSecondaryMenuItemProps & React.RefAttributes<HTMLAnchorElement>>;
73
- export type SidebarSecondaryMenuSubProps = React.ComponentPropsWithoutRef<typeof Collapsible.Root>;
74
- declare const SidebarSecondaryMenuSub: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').CollapsibleRootProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
75
- export interface SidebarSecondaryMenuSubTriggerProps extends React.ComponentPropsWithoutRef<typeof Collapsible.Trigger> {
76
- /** Marks the parent row as selected. */
77
- selected?: boolean;
78
- /** Optional leading 16px icon. */
79
- icon?: React.ReactNode;
80
- }
81
- declare const SidebarSecondaryMenuSubTrigger: React.ForwardRefExoticComponent<SidebarSecondaryMenuSubTriggerProps & React.RefAttributes<HTMLButtonElement>>;
82
- export type SidebarSecondaryMenuSubContentProps = React.ComponentPropsWithoutRef<typeof Collapsible.Panel>;
83
- declare const SidebarSecondaryMenuSubContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').CollapsiblePanelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
84
- export interface SidebarSecondaryMenuSubItemProps extends Omit<React.ComponentPropsWithoutRef<'a'>, 'children'> {
85
- /** Marks the current route (Level-2 — no icon). */
86
- selected?: boolean;
87
- children?: React.ReactNode;
88
- /** Replace the rendered `<a>` (e.g. a router `Link`). */
89
- render?: useRender.RenderProp;
90
- }
91
- declare const SidebarSecondaryMenuSubItem: React.ForwardRefExoticComponent<SidebarSecondaryMenuSubItemProps & React.RefAttributes<HTMLAnchorElement>>;
92
- export interface SidebarSecondaryMenuItemExtrasProps extends React.ComponentPropsWithoutRef<'span'> {
93
- /** Which trailing affordance to render. */
94
- variant: 'tag' | 'externalLink' | 'shortcut' | 'tag-externalLink';
95
- /** Shortcut text for the `shortcut` variant. */
96
- shortcut?: string;
97
- /** Tag content for the `tag` / `tag-externalLink` variants. */
98
- tag?: React.ReactNode;
99
- }
100
- declare const SidebarSecondaryMenuItemExtras: React.ForwardRefExoticComponent<SidebarSecondaryMenuItemExtrasProps & React.RefAttributes<HTMLSpanElement>>;
101
- export interface SidebarSecondaryCollapseTriggerProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'children'> {
102
- /** Leading 16px icon (e.g. a panel-left glyph). */
103
- icon?: React.ReactNode;
104
- /**
105
- * Optional trailing keyboard-shortcut hint (e.g. `⌘J`), right-aligned and
106
- * hidden alongside the label in collapsed mode.
107
- */
108
- shortcut?: React.ReactNode;
109
- children?: React.ReactNode;
110
- }
111
- declare const SidebarSecondaryCollapseTrigger: React.ForwardRefExoticComponent<SidebarSecondaryCollapseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
112
- export { SidebarSecondary, SidebarSecondaryHeader, SidebarSecondaryContent, SidebarSecondaryCollapsedBreadcrumb, SidebarSecondaryFooter, SidebarSecondarySection, SidebarSecondarySectionLabel, SidebarSecondaryMenu, SidebarSecondaryMenuItem, SidebarSecondaryMenuSub, SidebarSecondaryMenuSubTrigger, SidebarSecondaryMenuSubContent, SidebarSecondaryMenuSubItem, SidebarSecondaryMenuItemExtras, SidebarSecondaryCollapseTrigger, sidebarSecondaryMenuItemVariants, };
@@ -1 +0,0 @@
1
- export { Skeleton, type SkeletonProps } from './skeleton';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- export type SkeletonProps = React.HTMLAttributes<HTMLDivElement>;
3
- declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
4
- export { Skeleton };
@@ -1 +0,0 @@
1
- export { Slider, type SliderProps } from './slider';
@@ -1,7 +0,0 @@
1
- import { Slider as SliderPrimitive } from '@base-ui/react/slider';
2
- import * as React from 'react';
3
- export type SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
4
- declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.Root.Props<number | readonly number[]> & {
5
- ref?: React.Ref<HTMLDivElement> | undefined;
6
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { Slider };
@@ -1 +0,0 @@
1
- export { Spinner, spinnerVariants, type SpinnerProps } from './spinner';
@@ -1,9 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const spinnerVariants: (props?: ({
4
- size?: "sm" | "md" | "lg" | "xl" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- export interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
7
- }
8
- declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
9
- export { Spinner, spinnerVariants };
@@ -1 +0,0 @@
1
- export { Stack, stackVariants, type StackProps } from './stack';
@@ -1,13 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const stackVariants: (props?: ({
4
- direction?: "horizontal" | "vertical" | null | undefined;
5
- gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
6
- align?: "center" | "end" | "start" | "stretch" | null | undefined;
7
- justify?: "center" | "end" | "start" | "between" | null | undefined;
8
- wrap?: boolean | null | undefined;
9
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
- export interface StackProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof stackVariants> {
11
- }
12
- declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
13
- export { Stack, stackVariants };
@@ -1 +0,0 @@
1
- export { Switch, type SwitchProps } from './switch';
@@ -1,8 +0,0 @@
1
- import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
2
- import * as React from 'react';
3
- export interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> {
4
- /** Optional label rendered beside the toggle; names the control. */
5
- label?: React.ReactNode;
6
- }
7
- declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLElement>>;
8
- export { Switch };
@@ -1 +0,0 @@
1
- export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, type TableRowProps, type TableHeadProps, } from './table';
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
3
- declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
4
- declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
5
- declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
6
- export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
7
- /** Mark the row as selected — applies the active row token + `data-state`. */
8
- selected?: boolean;
9
- }
10
- declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
11
- type SortDirection = 'asc' | 'desc' | false;
12
- export interface TableHeadProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
13
- /** Render the column as sortable — adds a sort affordance and `aria-sort`. */
14
- sortable?: boolean;
15
- /** Current sort direction for this column (`false` = sortable but unsorted). */
16
- sortDirection?: SortDirection;
17
- /** Invoked when the user activates a sortable header (click / Enter / Space). */
18
- onSort?: () => void;
19
- }
20
- declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
21
- declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
22
- declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
23
- export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
@@ -1 +0,0 @@
1
- export { Tabs, TabsList, TabsTrigger, TabsContent } from './tabs';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- declare const Tabs: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').TabsRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
- declare const TabsList: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').TabsListProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').TabsTabProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
5
- declare const TabsContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').TabsPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,25 +0,0 @@
1
- import type * as React from 'react';
2
- /** Props for `Tabs` (the root). */
3
- export interface TabsProps {
4
- /** Controlled selected-tab value. Pair with `onValueChange`. */
5
- value?: string | number;
6
- /** Initially selected tab value (uncontrolled). */
7
- defaultValue?: string | number;
8
- /** Fired with the newly selected tab value. */
9
- onValueChange?: (value: string | number, eventDetails: unknown) => void;
10
- /** Layout and arrow-key navigation orientation. Defaults to `horizontal`. */
11
- orientation?: 'horizontal' | 'vertical';
12
- /** A `TabsList` of `TabsTrigger`s plus matching `TabsContent` panels. */
13
- children?: React.ReactNode;
14
- }
15
- /** Props shared by `TabsTrigger` and `TabsContent`. */
16
- export interface TabsPartProps {
17
- /**
18
- * Identifies the tab: a `TabsTrigger` and the `TabsContent` it controls share
19
- * the same `value`.
20
- */
21
- value: string | number;
22
- /** On `TabsTrigger` — disables selecting that tab. */
23
- disabled?: boolean;
24
- children?: React.ReactNode;
25
- }
@@ -1 +0,0 @@
1
- export { Tag, tagVariants, type TagProps } from './tag';
@@ -1,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- declare const tagVariants: (props?: ({
4
- variant?: "info" | "success" | "warning" | "critical" | "ai" | "neutral" | "danger" | null | undefined;
5
- size?: "default" | "sm" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- export interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
8
- /** Optional leading icon, rendered at 16px before the label. */
9
- icon?: React.ReactNode;
10
- }
11
- declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
12
- export { Tag, tagVariants };
@@ -1 +0,0 @@
1
- export { toast, Toaster, type ToasterProps, type ToastType, type ToastOptions, } from './toast';
@@ -1,48 +0,0 @@
1
- import { Toast as ToastPrimitive } from '@base-ui/react/toast';
2
- import * as React from 'react';
3
- export type ToastType = 'success' | 'info' | 'warning' | 'error' | 'loading';
4
- export interface ToastOptions {
5
- /** Secondary line under the title. */
6
- description?: React.ReactNode;
7
- /** Auto-dismiss delay in ms; `0` keeps the toast until dismissed. */
8
- timeout?: number;
9
- /** A single inline action button (e.g. Undo). */
10
- action?: {
11
- label: React.ReactNode;
12
- onClick?: () => void;
13
- };
14
- /** Stable id — re-adding with the same id updates the toast in place. */
15
- id?: string;
16
- }
17
- /**
18
- * Imperative toast API. `toast(title, options)` shows a neutral toast;
19
- * `toast.success` / `info` / `warning` / `error` / `loading` set the variant.
20
- * `toast.dismiss(id?)` closes one (or all) and `toast.promise` ties a toast to a
21
- * promise's lifecycle.
22
- */
23
- declare const toast: ((title: React.ReactNode, options?: ToastOptions) => string) & {
24
- success: (title: React.ReactNode, options?: ToastOptions) => string;
25
- info: (title: React.ReactNode, options?: ToastOptions) => string;
26
- warning: (title: React.ReactNode, options?: ToastOptions) => string;
27
- error: (title: React.ReactNode, options?: ToastOptions) => string;
28
- loading: (title: React.ReactNode, options?: ToastOptions) => string;
29
- dismiss: (id?: string) => void;
30
- promise: <Value, T extends any = any>(promiseValue: Promise<Value>, options: import('@base-ui/react').ToastManagerPromiseOptions<Value, T>) => Promise<Value>;
31
- };
32
- export interface ToasterProps {
33
- /** Default auto-dismiss delay in ms for toasts that don't set one. */
34
- timeout?: number;
35
- /** Max toasts shown at once; the oldest is dropped past the limit. */
36
- limit?: number;
37
- /**
38
- * Portal container for the toast stack. Pass a shadow-root mount for
39
- * isolated-style previews (the docs demos do this via `useShadowMount`).
40
- */
41
- portalContainer?: ToastPrimitive.Portal.Props['container'];
42
- }
43
- /**
44
- * The toast region. Render once near the app root; it portals a bottom-right
45
- * stack and renders every queued toast. Trigger toasts with the `toast` API.
46
- */
47
- declare function Toaster({ timeout, limit, portalContainer }: ToasterProps): import("react/jsx-runtime").JSX.Element;
48
- export { toast, Toaster };
@@ -1,12 +0,0 @@
1
- /** Props for `<Toaster>` — the toast region rendered once near the app root. */
2
- export interface ToasterProps {
3
- /** Default auto-dismiss delay in ms for toasts that don't set one (default 5000). */
4
- timeout?: number;
5
- /** Max toasts shown at once; the oldest is dropped past the limit (default 3). */
6
- limit?: number;
7
- /**
8
- * Portal container for the toast stack. Pass a shadow-root mount for
9
- * isolated-style previews (the docs demos do this via `useShadowMount`).
10
- */
11
- portalContainer?: HTMLElement | null;
12
- }
@@ -1 +0,0 @@
1
- export { Toggle, ToggleGroup, ToggleGroupItem } from './toggle-group';
@@ -1,7 +0,0 @@
1
- import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
2
- import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
3
- import * as React from 'react';
4
- declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.Props<string> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
- declare const ToggleGroup: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.Props<string> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<TogglePrimitive.Props<string> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
- export { Toggle, ToggleGroup, ToggleGroupItem };
@@ -1 +0,0 @@
1
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, } from './tooltip';
@@ -1,13 +0,0 @@
1
- import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
2
- import * as React from 'react';
3
- declare const TooltipProvider: React.FC<import('@base-ui/react').TooltipProviderProps>;
4
- declare const Tooltip: <Payload>(props: TooltipPrimitive.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
5
- declare const TooltipTrigger: TooltipPrimitive.Trigger;
6
- declare const TooltipContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').TooltipPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
7
- sideOffset?: number;
8
- side?: TooltipPrimitive.Positioner.Props["side"];
9
- align?: TooltipPrimitive.Positioner.Props["align"];
10
- portalContainer?: TooltipPrimitive.Portal.Props["container"];
11
- keepMounted?: TooltipPrimitive.Portal.Props["keepMounted"];
12
- } & React.RefAttributes<HTMLDivElement>>;
13
- export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1 +0,0 @@
1
- export { WidgetPlaceholder, WidgetPlaceholderHeader, WidgetPlaceholderTitle, WidgetPlaceholderIcon, WidgetPlaceholderContent, WidgetPlaceholderImage, WidgetPlaceholderText, WidgetPlaceholderAction, WidgetPlaceholderFooter, type WidgetPlaceholderProps, } from './widget-placeholder';
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- export interface WidgetPlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {
3
- /**
4
- * Make the whole widget focusable and clickable (hover/active surface + focus
5
- * ring). Wire the behavior via `onClick`.
6
- */
7
- interactive?: boolean;
8
- }
9
- declare const WidgetPlaceholder: React.ForwardRefExoticComponent<WidgetPlaceholderProps & React.RefAttributes<HTMLDivElement>>;
10
- declare const WidgetPlaceholderHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
11
- declare const WidgetPlaceholderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
12
- declare const WidgetPlaceholderIcon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
13
- declare const WidgetPlaceholderContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
14
- declare const WidgetPlaceholderImage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
- declare const WidgetPlaceholderText: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
- declare const WidgetPlaceholderAction: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
17
- declare const WidgetPlaceholderFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
18
- export { WidgetPlaceholder, WidgetPlaceholderHeader, WidgetPlaceholderTitle, WidgetPlaceholderIcon, WidgetPlaceholderContent, WidgetPlaceholderImage, WidgetPlaceholderText, WidgetPlaceholderAction, WidgetPlaceholderFooter, };
@@ -1,14 +0,0 @@
1
- import type * as React from 'react';
2
- /** Props for `WidgetPlaceholder` — the root widget card. */
3
- export interface WidgetPlaceholderProps {
4
- /**
5
- * Make the whole widget focusable (`tabindex=0`) and clickable — adds
6
- * hover/active surface tints and a focus ring. Wire the behavior with
7
- * `onClick`.
8
- */
9
- interactive?: boolean;
10
- /** Extra classes merged onto the root. */
11
- className?: string;
12
- /** The composed parts (header / content / footer). */
13
- children?: React.ReactNode;
14
- }
@@ -1,66 +0,0 @@
1
- export { cn } from './lib/utils';
2
- export * from './components/ui/accordion';
3
- export * from './components/ui/alert';
4
- export * from './components/ui/app-shell';
5
- export * from './components/ui/auth-layout';
6
- export * from './components/ui/avatar';
7
- export * from './components/ui/breadcrumb';
8
- export * from './components/ui/button';
9
- export * from './components/ui/button-menu';
10
- export * from './components/ui/card';
11
- export * from './components/ui/card-filter';
12
- export * from './components/ui/chart';
13
- export * from './components/ui/checkbox';
14
- export * from './components/ui/chip';
15
- export * from './components/ui/collapsible';
16
- export * from './components/ui/combobox';
17
- export * from './components/ui/data-table';
18
- export * from './components/ui/description-list';
19
- export * from './components/ui/dialog';
20
- export * from './components/ui/dropdown-menu';
21
- export * from './components/ui/empty';
22
- export * from './components/ui/field';
23
- export * from './components/ui/grid';
24
- export * from './components/ui/form';
25
- export * from './components/ui/radio';
26
- export * from './components/ui/input';
27
- export * from './components/ui/input-date-picker';
28
- export * from './components/ui/input-search';
29
- export * from './components/ui/input-select';
30
- export * from './components/ui/input-text';
31
- export * from './components/ui/input-text-area';
32
- export * from './components/ui/label';
33
- export * from './components/ui/link';
34
- export * from './components/ui/number-field';
35
- export * from './components/ui/page-content';
36
- export * from './components/ui/page-header';
37
- export * from './components/ui/pagination';
38
- export * from './components/ui/popover';
39
- export * from './components/ui/progress';
40
- export * from './components/ui/progress-circle';
41
- export * from './components/ui/scroll-area';
42
- export * from './components/ui/search-global';
43
- export { InputText as Input, type InputTextProps as InputProps, } from './components/ui/input-text';
44
- export { InputSearch as Search, type InputSearchProps as SearchProps, } from './components/ui/input-search';
45
- export { InputTextArea as Textarea, type InputTextAreaProps as TextareaProps, } from './components/ui/input-text-area';
46
- export * from './components/ui/section';
47
- export * from './components/ui/select';
48
- export * from './components/ui/separator';
49
- export * from './components/ui/sheet';
50
- export * from './components/ui/skeleton';
51
- export * from './components/ui/slider';
52
- export * from './components/ui/spinner';
53
- export * from './components/ui/stack';
54
- export * from './components/ui/resizable';
55
- export * from './components/ui/sidebar-primary';
56
- export * from './components/ui/sidebar-secondary';
57
- export * from './components/ui/button-icon';
58
- export * from './components/ui/switch';
59
- export * from './components/ui/table';
60
- export * from './components/ui/tabs';
61
- export * from './components/ui/toast';
62
- export * from './components/ui/toggle-group';
63
- export * from './components/ui/tooltip';
64
- export * from './components/ui/tag';
65
- export { Tag as Badge, type TagProps as BadgeProps, } from './components/ui/tag';
66
- export * from './components/ui/widget-placeholder';
@@ -1,2 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
- export declare function cn(...inputs: ClassValue[]): string;
@@ -1 +0,0 @@
1
- export * from './index';
package/dist/styles.d.ts DELETED
@@ -1 +0,0 @@
1
- export {}