@slipstream-ui/core 0.7.0 → 0.9.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 (383) hide show
  1. package/dist/index.d.mts +317 -21
  2. package/dist/index.d.ts +317 -21
  3. package/dist/index.js +2004 -1069
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1998 -1068
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +8 -2
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -1
  13. package/dist/manifests/auth-layout.manifest.json +19 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +13 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +130 -0
  19. package/dist/manifests/breadcrumb.manifest.json +1 -1
  20. package/dist/manifests/button-group.manifest.json +1 -1
  21. package/dist/manifests/button.manifest.json +1 -1
  22. package/dist/manifests/calendar.manifest.json +175 -0
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/contact-strip.manifest.json +1 -1
  28. package/dist/manifests/container.manifest.json +1 -1
  29. package/dist/manifests/cta-section.manifest.json +1 -1
  30. package/dist/manifests/data-table.manifest.json +8 -1
  31. package/dist/manifests/date-picker-popover.manifest.json +202 -0
  32. package/dist/manifests/date-picker.manifest.json +1 -1
  33. package/dist/manifests/date-range-picker.manifest.json +1 -1
  34. package/dist/manifests/deal-card.manifest.json +1 -1
  35. package/dist/manifests/dialog.manifest.json +1 -1
  36. package/dist/manifests/document-card.manifest.json +1 -1
  37. package/dist/manifests/drawer.manifest.json +48 -2
  38. package/dist/manifests/empty-state.manifest.json +1 -1
  39. package/dist/manifests/entity-card.manifest.json +1 -1
  40. package/dist/manifests/feature-grid.manifest.json +1 -1
  41. package/dist/manifests/feature-row.manifest.json +1 -1
  42. package/dist/manifests/fieldset.manifest.json +1 -1
  43. package/dist/manifests/file-upload.manifest.json +1 -1
  44. package/dist/manifests/filter-bar.manifest.json +1 -1
  45. package/dist/manifests/filter-chips.manifest.json +1 -1
  46. package/dist/manifests/filter-panel.manifest.json +1 -1
  47. package/dist/manifests/flex.manifest.json +1 -1
  48. package/dist/manifests/form-field.manifest.json +1 -1
  49. package/dist/manifests/form-layout.manifest.json +1 -1
  50. package/dist/manifests/form.manifest.json +1 -1
  51. package/dist/manifests/grid.manifest.json +1 -1
  52. package/dist/manifests/heading.manifest.json +1 -1
  53. package/dist/manifests/hero.manifest.json +1 -1
  54. package/dist/manifests/image.manifest.json +142 -0
  55. package/dist/manifests/input-group.manifest.json +1 -1
  56. package/dist/manifests/input.manifest.json +1 -1
  57. package/dist/manifests/label.manifest.json +1 -1
  58. package/dist/manifests/link-tabs.manifest.json +1 -1
  59. package/dist/manifests/link.manifest.json +1 -1
  60. package/dist/manifests/list.manifest.json +1 -1
  61. package/dist/manifests/load-more.manifest.json +1 -1
  62. package/dist/manifests/logo-cloud.manifest.json +1 -1
  63. package/dist/manifests/menu.manifest.json +1 -1
  64. package/dist/manifests/metric-card.manifest.json +36 -4
  65. package/dist/manifests/multi-select.manifest.json +1 -1
  66. package/dist/manifests/newsletter.manifest.json +1 -1
  67. package/dist/manifests/page-header.manifest.json +7 -1
  68. package/dist/manifests/pagination.manifest.json +1 -1
  69. package/dist/manifests/password-input.manifest.json +1 -1
  70. package/dist/manifests/popover.manifest.json +86 -4
  71. package/dist/manifests/process-steps.manifest.json +1 -1
  72. package/dist/manifests/progress.manifest.json +1 -1
  73. package/dist/manifests/prose.manifest.json +1 -1
  74. package/dist/manifests/radio.manifest.json +1 -1
  75. package/dist/manifests/range-slider.manifest.json +1 -1
  76. package/dist/manifests/search.manifest.json +1 -1
  77. package/dist/manifests/section-heading.manifest.json +1 -1
  78. package/dist/manifests/section.manifest.json +1 -1
  79. package/dist/manifests/segmented-control.manifest.json +1 -1
  80. package/dist/manifests/select-menu.manifest.json +1 -1
  81. package/dist/manifests/select.manifest.json +1 -1
  82. package/dist/manifests/separator.manifest.json +1 -1
  83. package/dist/manifests/site-footer.manifest.json +1 -1
  84. package/dist/manifests/site-header.manifest.json +13 -3
  85. package/dist/manifests/skeleton.manifest.json +1 -1
  86. package/dist/manifests/spinner.manifest.json +1 -1
  87. package/dist/manifests/stat-band.manifest.json +1 -1
  88. package/dist/manifests/stepper.manifest.json +7 -1
  89. package/dist/manifests/switch.manifest.json +1 -1
  90. package/dist/manifests/table-card.manifest.json +1 -1
  91. package/dist/manifests/table-of-contents.manifest.json +1 -1
  92. package/dist/manifests/table.manifest.json +1 -1
  93. package/dist/manifests/tabs.manifest.json +1 -1
  94. package/dist/manifests/testimonial.manifest.json +1 -1
  95. package/dist/manifests/text.manifest.json +1 -1
  96. package/dist/manifests/textarea.manifest.json +1 -1
  97. package/dist/manifests/theme-toggle.manifest.json +1 -1
  98. package/dist/manifests/time-picker.manifest.json +1 -1
  99. package/dist/manifests/timeline.manifest.json +1 -1
  100. package/dist/manifests/toast.manifest.json +1 -1
  101. package/dist/manifests/tombstone-card.manifest.json +1 -1
  102. package/dist/manifests/tooltip.manifest.json +1 -1
  103. package/dist/src/components/accordion/Accordion.d.ts +17 -1
  104. package/dist/src/components/accordion/Accordion.js +5 -1
  105. package/dist/src/components/accordion/Accordion.js.map +1 -1
  106. package/dist/src/components/accordion/Accordion.mjs +5 -1
  107. package/dist/src/components/accordion/Accordion.mjs.map +1 -1
  108. package/dist/src/components/alert/Alert.js +1 -1
  109. package/dist/src/components/alert/Alert.js.map +1 -1
  110. package/dist/src/components/alert/Alert.mjs +1 -1
  111. package/dist/src/components/alert/Alert.mjs.map +1 -1
  112. package/dist/src/components/app-shell/AppShell.js +1 -1
  113. package/dist/src/components/app-shell/AppShell.js.map +1 -1
  114. package/dist/src/components/app-shell/AppShell.mjs +1 -1
  115. package/dist/src/components/app-shell/AppShell.mjs.map +1 -1
  116. package/dist/src/components/article-card/ArticleCard.js +2 -2
  117. package/dist/src/components/article-card/ArticleCard.js.map +1 -1
  118. package/dist/src/components/article-card/ArticleCard.mjs +2 -2
  119. package/dist/src/components/article-card/ArticleCard.mjs.map +1 -1
  120. package/dist/src/components/auth-layout/AuthLayout.d.ts +14 -2
  121. package/dist/src/components/auth-layout/AuthLayout.js +10 -2
  122. package/dist/src/components/auth-layout/AuthLayout.js.map +1 -1
  123. package/dist/src/components/auth-layout/AuthLayout.mjs +10 -2
  124. package/dist/src/components/auth-layout/AuthLayout.mjs.map +1 -1
  125. package/dist/src/components/badge/Badge.d.ts +2 -0
  126. package/dist/src/components/badge/Badge.js +9 -3
  127. package/dist/src/components/badge/Badge.js.map +1 -1
  128. package/dist/src/components/badge/Badge.mjs +9 -3
  129. package/dist/src/components/badge/Badge.mjs.map +1 -1
  130. package/dist/src/components/bottom-nav/BottomNav.d.ts +36 -0
  131. package/dist/src/components/bottom-nav/BottomNav.js +90 -0
  132. package/dist/src/components/bottom-nav/BottomNav.js.map +1 -0
  133. package/dist/src/components/bottom-nav/BottomNav.mjs +66 -0
  134. package/dist/src/components/bottom-nav/BottomNav.mjs.map +1 -0
  135. package/dist/src/components/bottom-nav/index.d.ts +1 -0
  136. package/dist/src/components/bottom-nav/index.js +23 -0
  137. package/dist/src/components/bottom-nav/index.js.map +1 -0
  138. package/dist/src/components/bottom-nav/index.mjs +2 -0
  139. package/dist/src/components/bottom-nav/index.mjs.map +1 -0
  140. package/dist/src/components/calendar/Calendar.d.ts +34 -0
  141. package/dist/src/components/calendar/Calendar.js +233 -0
  142. package/dist/src/components/calendar/Calendar.js.map +1 -0
  143. package/dist/src/components/calendar/Calendar.mjs +208 -0
  144. package/dist/src/components/calendar/Calendar.mjs.map +1 -0
  145. package/dist/src/components/calendar/index.d.ts +1 -0
  146. package/dist/src/components/calendar/index.js +23 -0
  147. package/dist/src/components/calendar/index.js.map +1 -0
  148. package/dist/src/components/calendar/index.mjs +2 -0
  149. package/dist/src/components/calendar/index.mjs.map +1 -0
  150. package/dist/src/components/comparison-table/ComparisonTable.js +1 -1
  151. package/dist/src/components/comparison-table/ComparisonTable.js.map +1 -1
  152. package/dist/src/components/comparison-table/ComparisonTable.mjs +1 -1
  153. package/dist/src/components/comparison-table/ComparisonTable.mjs.map +1 -1
  154. package/dist/src/components/cta-section/CTASection.js +1 -1
  155. package/dist/src/components/cta-section/CTASection.js.map +1 -1
  156. package/dist/src/components/cta-section/CTASection.mjs +1 -1
  157. package/dist/src/components/cta-section/CTASection.mjs.map +1 -1
  158. package/dist/src/components/data-table/DataTable.d.ts +3 -1
  159. package/dist/src/components/data-table/DataTable.js +2 -4
  160. package/dist/src/components/data-table/DataTable.js.map +1 -1
  161. package/dist/src/components/data-table/DataTable.mjs +2 -4
  162. package/dist/src/components/data-table/DataTable.mjs.map +1 -1
  163. package/dist/src/components/date-picker-popover/DatePickerPopover.d.ts +33 -0
  164. package/dist/src/components/date-picker-popover/DatePickerPopover.js +117 -0
  165. package/dist/src/components/date-picker-popover/DatePickerPopover.js.map +1 -0
  166. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs +83 -0
  167. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs.map +1 -0
  168. package/dist/src/components/date-picker-popover/index.d.ts +1 -0
  169. package/dist/src/components/date-picker-popover/index.js +23 -0
  170. package/dist/src/components/date-picker-popover/index.js.map +1 -0
  171. package/dist/src/components/date-picker-popover/index.mjs +2 -0
  172. package/dist/src/components/date-picker-popover/index.mjs.map +1 -0
  173. package/dist/src/components/drawer/Drawer.d.ts +25 -2
  174. package/dist/src/components/drawer/Drawer.js +97 -6
  175. package/dist/src/components/drawer/Drawer.js.map +1 -1
  176. package/dist/src/components/drawer/Drawer.mjs +97 -6
  177. package/dist/src/components/drawer/Drawer.mjs.map +1 -1
  178. package/dist/src/components/empty-state/EmptyState.d.ts +13 -4
  179. package/dist/src/components/empty-state/EmptyState.js +13 -1
  180. package/dist/src/components/empty-state/EmptyState.js.map +1 -1
  181. package/dist/src/components/empty-state/EmptyState.mjs +13 -1
  182. package/dist/src/components/empty-state/EmptyState.mjs.map +1 -1
  183. package/dist/src/components/image/Image.d.ts +34 -0
  184. package/dist/src/components/image/Image.js +75 -0
  185. package/dist/src/components/image/Image.js.map +1 -0
  186. package/dist/src/components/image/Image.mjs +41 -0
  187. package/dist/src/components/image/Image.mjs.map +1 -0
  188. package/dist/src/components/image/index.d.ts +1 -0
  189. package/dist/src/components/image/index.js +29 -0
  190. package/dist/src/components/image/index.js.map +1 -0
  191. package/dist/src/components/image/index.mjs +5 -0
  192. package/dist/src/components/image/index.mjs.map +1 -0
  193. package/dist/src/components/link/Link.js +4 -4
  194. package/dist/src/components/link/Link.js.map +1 -1
  195. package/dist/src/components/link/Link.mjs +4 -4
  196. package/dist/src/components/link/Link.mjs.map +1 -1
  197. package/dist/src/components/metric-card/MetricCard.d.ts +23 -4
  198. package/dist/src/components/metric-card/MetricCard.js +32 -5
  199. package/dist/src/components/metric-card/MetricCard.js.map +1 -1
  200. package/dist/src/components/metric-card/MetricCard.mjs +32 -5
  201. package/dist/src/components/metric-card/MetricCard.mjs.map +1 -1
  202. package/dist/src/components/page-header/PageHeader.d.ts +4 -0
  203. package/dist/src/components/page-header/PageHeader.js +4 -3
  204. package/dist/src/components/page-header/PageHeader.js.map +1 -1
  205. package/dist/src/components/page-header/PageHeader.mjs +4 -3
  206. package/dist/src/components/page-header/PageHeader.mjs.map +1 -1
  207. package/dist/src/components/popover/Popover.d.ts +36 -3
  208. package/dist/src/components/popover/Popover.js +118 -22
  209. package/dist/src/components/popover/Popover.js.map +1 -1
  210. package/dist/src/components/popover/Popover.mjs +117 -22
  211. package/dist/src/components/popover/Popover.mjs.map +1 -1
  212. package/dist/src/components/section-heading/SectionHeading.js +1 -1
  213. package/dist/src/components/section-heading/SectionHeading.js.map +1 -1
  214. package/dist/src/components/section-heading/SectionHeading.mjs +1 -1
  215. package/dist/src/components/section-heading/SectionHeading.mjs.map +1 -1
  216. package/dist/src/components/separator/Separator.d.ts +3 -3
  217. package/dist/src/components/site-header/SiteHeader.d.ts +25 -3
  218. package/dist/src/components/site-header/SiteHeader.js +141 -6
  219. package/dist/src/components/site-header/SiteHeader.js.map +1 -1
  220. package/dist/src/components/site-header/SiteHeader.mjs +141 -6
  221. package/dist/src/components/site-header/SiteHeader.mjs.map +1 -1
  222. package/dist/src/components/stepper/Stepper.d.ts +18 -0
  223. package/dist/src/components/stepper/Stepper.js +2 -1
  224. package/dist/src/components/stepper/Stepper.js.map +1 -1
  225. package/dist/src/components/stepper/Stepper.mjs +2 -1
  226. package/dist/src/components/stepper/Stepper.mjs.map +1 -1
  227. package/dist/src/index.d.ts +4 -0
  228. package/dist/src/utils/date.d.ts +32 -0
  229. package/dist/src/utils/date.js +171 -0
  230. package/dist/src/utils/date.js.map +1 -0
  231. package/dist/src/utils/date.mjs +134 -0
  232. package/dist/src/utils/date.mjs.map +1 -0
  233. package/dist/src/utils/position.d.ts +42 -0
  234. package/dist/src/utils/position.js +91 -0
  235. package/dist/src/utils/position.js.map +1 -0
  236. package/dist/src/utils/position.mjs +67 -0
  237. package/dist/src/utils/position.mjs.map +1 -0
  238. package/dist/styles-full.css +1 -1
  239. package/dist/styles.css +1 -1
  240. package/package.json +3 -3
  241. package/src/components/accordion/Accordion.test.tsx +31 -0
  242. package/src/components/accordion/Accordion.tsx +27 -2
  243. package/src/components/alert/Alert.tsx +1 -1
  244. package/src/components/app-shell/AppShell.tsx +1 -1
  245. package/src/components/article-card/ArticleCard.tsx +2 -2
  246. package/src/components/auth-layout/AuthLayout.test.tsx +36 -0
  247. package/src/components/auth-layout/AuthLayout.tsx +20 -3
  248. package/src/components/badge/Badge.test.tsx +7 -0
  249. package/src/components/badge/Badge.tsx +8 -2
  250. package/src/components/bottom-nav/BottomNav.test.tsx +48 -0
  251. package/src/components/bottom-nav/BottomNav.tsx +117 -0
  252. package/src/components/bottom-nav/index.ts +1 -0
  253. package/src/components/calendar/Calendar.test.tsx +277 -0
  254. package/src/components/calendar/Calendar.tsx +273 -0
  255. package/src/components/calendar/index.ts +1 -0
  256. package/src/components/comparison-table/ComparisonTable.tsx +1 -1
  257. package/src/components/cta-section/CTASection.tsx +1 -1
  258. package/src/components/data-table/DataTable.test.tsx +21 -0
  259. package/src/components/data-table/DataTable.tsx +4 -1
  260. package/src/components/date-picker-popover/DatePickerPopover.test.tsx +223 -0
  261. package/src/components/date-picker-popover/DatePickerPopover.tsx +117 -0
  262. package/src/components/date-picker-popover/index.ts +1 -0
  263. package/src/components/drawer/Drawer.test.tsx +86 -1
  264. package/src/components/drawer/Drawer.tsx +135 -7
  265. package/src/components/empty-state/EmptyState.test.tsx +26 -1
  266. package/src/components/empty-state/EmptyState.tsx +40 -3
  267. package/src/components/image/Image.test.tsx +94 -0
  268. package/src/components/image/Image.tsx +71 -0
  269. package/src/components/image/index.ts +1 -0
  270. package/src/components/link/Link.test.tsx +2 -1
  271. package/src/components/link/Link.tsx +4 -4
  272. package/src/components/metric-card/MetricCard.test.tsx +32 -0
  273. package/src/components/metric-card/MetricCard.tsx +45 -7
  274. package/src/components/page-header/PageHeader.test.tsx +13 -0
  275. package/src/components/page-header/PageHeader.tsx +6 -3
  276. package/src/components/popover/Popover.test.tsx +307 -3
  277. package/src/components/popover/Popover.tsx +228 -91
  278. package/src/components/section-heading/SectionHeading.tsx +1 -1
  279. package/src/components/site-header/SiteHeader.test.tsx +103 -1
  280. package/src/components/site-header/SiteHeader.tsx +220 -16
  281. package/src/components/stepper/Stepper.test.tsx +12 -0
  282. package/src/components/stepper/Stepper.tsx +15 -1
  283. package/src/index.ts +4 -0
  284. package/src/manifests/accordion.manifest.json +8 -2
  285. package/src/manifests/alert.manifest.json +1 -1
  286. package/src/manifests/announcement-bar.manifest.json +1 -1
  287. package/src/manifests/app-shell.manifest.json +1 -1
  288. package/src/manifests/applied-filters.manifest.json +1 -1
  289. package/src/manifests/article-card.manifest.json +1 -1
  290. package/src/manifests/auth-layout.manifest.json +19 -1
  291. package/src/manifests/autocomplete.manifest.json +1 -1
  292. package/src/manifests/avatar.manifest.json +1 -1
  293. package/src/manifests/badge.manifest.json +13 -1
  294. package/src/manifests/block.manifest.json +1 -1
  295. package/src/manifests/bottom-nav.manifest.json +130 -0
  296. package/src/manifests/breadcrumb.manifest.json +1 -1
  297. package/src/manifests/button-group.manifest.json +1 -1
  298. package/src/manifests/button.manifest.json +1 -1
  299. package/src/manifests/calendar.manifest.json +175 -0
  300. package/src/manifests/card.manifest.json +1 -1
  301. package/src/manifests/checkbox.manifest.json +1 -1
  302. package/src/manifests/comparison-table.manifest.json +1 -1
  303. package/src/manifests/confirm-dialog.manifest.json +1 -1
  304. package/src/manifests/contact-strip.manifest.json +1 -1
  305. package/src/manifests/container.manifest.json +1 -1
  306. package/src/manifests/cta-section.manifest.json +1 -1
  307. package/src/manifests/data-table.manifest.json +8 -1
  308. package/src/manifests/date-picker-popover.manifest.json +202 -0
  309. package/src/manifests/date-picker.manifest.json +1 -1
  310. package/src/manifests/date-range-picker.manifest.json +1 -1
  311. package/src/manifests/deal-card.manifest.json +1 -1
  312. package/src/manifests/dialog.manifest.json +1 -1
  313. package/src/manifests/document-card.manifest.json +1 -1
  314. package/src/manifests/drawer.manifest.json +48 -2
  315. package/src/manifests/empty-state.manifest.json +1 -1
  316. package/src/manifests/entity-card.manifest.json +1 -1
  317. package/src/manifests/feature-grid.manifest.json +1 -1
  318. package/src/manifests/feature-row.manifest.json +1 -1
  319. package/src/manifests/fieldset.manifest.json +1 -1
  320. package/src/manifests/file-upload.manifest.json +1 -1
  321. package/src/manifests/filter-bar.manifest.json +1 -1
  322. package/src/manifests/filter-chips.manifest.json +1 -1
  323. package/src/manifests/filter-panel.manifest.json +1 -1
  324. package/src/manifests/flex.manifest.json +1 -1
  325. package/src/manifests/form-field.manifest.json +1 -1
  326. package/src/manifests/form-layout.manifest.json +1 -1
  327. package/src/manifests/form.manifest.json +1 -1
  328. package/src/manifests/grid.manifest.json +1 -1
  329. package/src/manifests/heading.manifest.json +1 -1
  330. package/src/manifests/hero.manifest.json +1 -1
  331. package/src/manifests/image.manifest.json +142 -0
  332. package/src/manifests/input-group.manifest.json +1 -1
  333. package/src/manifests/input.manifest.json +1 -1
  334. package/src/manifests/label.manifest.json +1 -1
  335. package/src/manifests/link-tabs.manifest.json +1 -1
  336. package/src/manifests/link.manifest.json +1 -1
  337. package/src/manifests/list.manifest.json +1 -1
  338. package/src/manifests/load-more.manifest.json +1 -1
  339. package/src/manifests/logo-cloud.manifest.json +1 -1
  340. package/src/manifests/menu.manifest.json +1 -1
  341. package/src/manifests/metric-card.manifest.json +36 -4
  342. package/src/manifests/multi-select.manifest.json +1 -1
  343. package/src/manifests/newsletter.manifest.json +1 -1
  344. package/src/manifests/page-header.manifest.json +7 -1
  345. package/src/manifests/pagination.manifest.json +1 -1
  346. package/src/manifests/password-input.manifest.json +1 -1
  347. package/src/manifests/popover.manifest.json +86 -4
  348. package/src/manifests/process-steps.manifest.json +1 -1
  349. package/src/manifests/progress.manifest.json +1 -1
  350. package/src/manifests/prose.manifest.json +1 -1
  351. package/src/manifests/radio.manifest.json +1 -1
  352. package/src/manifests/range-slider.manifest.json +1 -1
  353. package/src/manifests/search.manifest.json +1 -1
  354. package/src/manifests/section-heading.manifest.json +1 -1
  355. package/src/manifests/section.manifest.json +1 -1
  356. package/src/manifests/segmented-control.manifest.json +1 -1
  357. package/src/manifests/select-menu.manifest.json +1 -1
  358. package/src/manifests/select.manifest.json +1 -1
  359. package/src/manifests/separator.manifest.json +1 -1
  360. package/src/manifests/site-footer.manifest.json +1 -1
  361. package/src/manifests/site-header.manifest.json +13 -3
  362. package/src/manifests/skeleton.manifest.json +1 -1
  363. package/src/manifests/spinner.manifest.json +1 -1
  364. package/src/manifests/stat-band.manifest.json +1 -1
  365. package/src/manifests/stepper.manifest.json +7 -1
  366. package/src/manifests/switch.manifest.json +1 -1
  367. package/src/manifests/table-card.manifest.json +1 -1
  368. package/src/manifests/table-of-contents.manifest.json +1 -1
  369. package/src/manifests/table.manifest.json +1 -1
  370. package/src/manifests/tabs.manifest.json +1 -1
  371. package/src/manifests/testimonial.manifest.json +1 -1
  372. package/src/manifests/text.manifest.json +1 -1
  373. package/src/manifests/textarea.manifest.json +1 -1
  374. package/src/manifests/theme-toggle.manifest.json +1 -1
  375. package/src/manifests/time-picker.manifest.json +1 -1
  376. package/src/manifests/timeline.manifest.json +1 -1
  377. package/src/manifests/toast.manifest.json +1 -1
  378. package/src/manifests/tombstone-card.manifest.json +1 -1
  379. package/src/manifests/tooltip.manifest.json +1 -1
  380. package/src/utils/date.test.ts +190 -0
  381. package/src/utils/date.ts +162 -0
  382. package/src/utils/position.test.ts +227 -0
  383. package/src/utils/position.ts +129 -0
package/dist/index.d.ts CHANGED
@@ -300,6 +300,7 @@ declare const InputGroupAddon: React.ForwardRefExoticComponent<React.HTMLAttribu
300
300
 
301
301
  declare const badgeVariants: (props?: ({
302
302
  variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
303
+ size?: "sm" | "lg" | "md" | null | undefined;
303
304
  } & class_variance_authority_types.ClassProp) | undefined) => string;
304
305
  type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
305
306
  /** Render the child element (e.g. a router Link) with badge styling. */
@@ -307,11 +308,48 @@ type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof ba
307
308
  };
308
309
  declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
309
310
  variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
311
+ size?: "sm" | "lg" | "md" | null | undefined;
310
312
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
311
313
  /** Render the child element (e.g. a router Link) with badge styling. */
312
314
  asChild?: boolean;
313
315
  } & React.RefAttributes<HTMLSpanElement>>;
314
316
 
317
+ type BottomNavItem = {
318
+ /** Destination URL for the tab. */
319
+ href: string;
320
+ /** Visible tab label. */
321
+ label: string;
322
+ /** Icon shown above the label; always rendered aria-hidden. */
323
+ icon?: React.ReactNode;
324
+ /** Marks the current tab and sets aria-current="page". */
325
+ active?: boolean;
326
+ /** Small count or dot shown in the tab's top corner. */
327
+ badge?: React.ReactNode;
328
+ /** Renders the tab as non-interactive. */
329
+ disabled?: boolean;
330
+ };
331
+ type BottomNavProps = React.HTMLAttributes<HTMLElement> & {
332
+ /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */
333
+ items: BottomNavItem[];
334
+ /** Router link component (Next Link, react-router Link). */
335
+ linkComponent?: React.ElementType;
336
+ /** Prop used to pass the destination to `linkComponent`. */
337
+ linkHrefProp?: 'href' | 'to';
338
+ /** Landmark label. Default "Primary". */
339
+ label?: string;
340
+ /** Pin the bar to the bottom edge with safe-area padding (default true). */
341
+ fixed?: boolean;
342
+ /** Hide the bar from the md breakpoint up (default true). */
343
+ mobileOnly?: boolean;
344
+ };
345
+ /**
346
+ * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.
347
+ * A nav landmark with aria-current="page" on the active tab, 44px minimum
348
+ * targets, an optional count badge and safe-area padding so the bar clears
349
+ * the iOS home indicator.
350
+ */
351
+ declare function BottomNav({ items, linkComponent, linkHrefProp, label, fixed, mobileOnly, className, ...props }: BottomNavProps): React.JSX.Element;
352
+
315
353
  declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
316
354
  declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
317
355
  declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
@@ -471,7 +509,14 @@ type DrawerSide = 'left' | 'right' | 'top' | 'bottom';
471
509
  type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
472
510
  type DrawerProps = {
473
511
  open: boolean;
474
- onOpenChange: (open: boolean) => void;
512
+ /** Called with the next open state. Alias: onClose (close requests only). */
513
+ onOpenChange?: (open: boolean) => void;
514
+ /**
515
+ * Called when the drawer asks to close: Escape, backdrop click or the close
516
+ * button. Alias for `onOpenChange(false)`, used when only a close handler is
517
+ * passed.
518
+ */
519
+ onClose?: () => void;
475
520
  title: string;
476
521
  description?: string;
477
522
  children?: React.ReactNode;
@@ -489,6 +534,22 @@ type DrawerProps = {
489
534
  * ("60vh"). Overrides `size`.
490
535
  */
491
536
  height?: number | string;
537
+ /**
538
+ * Drag the inner edge to resize a left/right drawer. Keyboard: Arrow keys
539
+ * nudge 16px, Shift+Arrow 64px, Home/End jump to the bounds. Ignored for
540
+ * top/bottom drawers.
541
+ */
542
+ resizable?: boolean;
543
+ /** Lower bound in pixels while resizable (default 240). */
544
+ minWidth?: number;
545
+ /** Upper bound in pixels while resizable (default 960). */
546
+ maxWidth?: number;
547
+ /** Initial width in pixels while resizable; defaults to the `size` preset. */
548
+ defaultWidth?: number;
549
+ /** Fired with the next width in pixels when a resize commits. */
550
+ onWidthChange?: (width: number) => void;
551
+ /** Accessible label for the resize handle (default "Resize drawer"). */
552
+ resizeLabel?: string;
492
553
  /** Clicking the backdrop closes (default true). */
493
554
  closeOnBackdrop?: boolean;
494
555
  /** Hide the close (✕) button in the header (default true). */
@@ -513,7 +574,7 @@ type DrawerProps = {
513
574
  * restoration on close. Renders fixed to the chosen edge with a border
514
575
  * against the backdrop.
515
576
  */
516
- declare function Drawer({ open, onOpenChange, title, description, children, side, size, width, height, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
577
+ declare function Drawer({ open, onOpenChange, onClose, title, description, children, side, size, width, height, resizable, minWidth, maxWidth, defaultWidth, onWidthChange, resizeLabel, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
517
578
 
518
579
  type SelectOption = {
519
580
  value: string;
@@ -1366,6 +1427,39 @@ type TooltipProps = {
1366
1427
  */
1367
1428
  declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
1368
1429
 
1430
+ type CalendarProps = {
1431
+ /** Controlled ISO date key (`YYYY-MM-DD`). */
1432
+ value?: string;
1433
+ /** Uncontrolled initial date key. */
1434
+ defaultValue?: string;
1435
+ /** Called with the ISO key when a day is chosen. */
1436
+ onValueChange?: (value: string) => void;
1437
+ /** Earliest selectable day, inclusive. */
1438
+ min?: string;
1439
+ /** Latest selectable day, inclusive. */
1440
+ max?: string;
1441
+ /** Override "today" (testing and server-rendered determinism). */
1442
+ today?: string;
1443
+ /** BCP-47 locale for month and weekday labels. */
1444
+ locale?: string;
1445
+ /** 0 starts the week on Sunday, 1 on Monday. */
1446
+ weekStartsOn?: 0 | 1;
1447
+ /** Block individual days beyond min/max. */
1448
+ isDateDisabled?: (value: string) => boolean;
1449
+ /** Show leading/trailing days from the neighbouring months. */
1450
+ showOutsideDays?: boolean;
1451
+ /** Focus the active day when the calendar mounts or opens. */
1452
+ autoFocus?: boolean;
1453
+ disabled?: boolean;
1454
+ className?: string;
1455
+ 'aria-label'?: string;
1456
+ };
1457
+ /**
1458
+ * Month grid with ISO date keys and full keyboard support. Controlled via
1459
+ * `value`/`onValueChange`, or uncontrolled with `defaultValue`.
1460
+ */
1461
+ declare const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
1462
+
1369
1463
  type CardProps = React.HTMLAttributes<HTMLDivElement> & {
1370
1464
  /** Render the child element (e.g. a router Link) with card styling. */
1371
1465
  asChild?: boolean;
@@ -1512,11 +1606,32 @@ type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
1512
1606
  */
1513
1607
  declare function SiteFooter({ brand, tagline, columns, legal, linkComponent, linkHrefProp, activeHref, match, className, ...props }: SiteFooterProps): React.JSX.Element;
1514
1608
 
1515
- type SiteNavItem = {
1609
+ /** A single destination in the header or inside a mega panel. */
1610
+ type SiteNavLink = {
1516
1611
  href: string;
1517
1612
  label: string;
1518
1613
  /** Render with target=_blank + rel=noopener. */
1519
1614
  external?: boolean;
1615
+ /** Optional second line shown in a desktop mega panel. */
1616
+ description?: string;
1617
+ };
1618
+ /** One column inside a mega panel: a heading and its links. */
1619
+ type SiteNavColumn = {
1620
+ heading?: string;
1621
+ items: SiteNavLink[];
1622
+ };
1623
+ type SiteNavItem = (SiteNavLink & {
1624
+ columns?: undefined;
1625
+ }) | {
1626
+ href?: string;
1627
+ label: string;
1628
+ external?: boolean;
1629
+ description?: string;
1630
+ /**
1631
+ * Nested navigation. Present items render as a disclosure trigger with
1632
+ * a desktop panel and a mobile <details> group instead of a link.
1633
+ */
1634
+ columns: SiteNavColumn[];
1520
1635
  };
1521
1636
  type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
1522
1637
  /** Brand slot - logo/lockup or wordmark. Wrapped in a link to "/". */
@@ -1561,11 +1676,22 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
1561
1676
  };
1562
1677
  /**
1563
1678
  * Marketing/site header: sticky bar with brand, horizontal navigation with
1564
- * prefix-aware active states, right-aligned actions and a mobile drawer.
1565
- * Router-agnostic through `linkComponent` + `linkHrefProp`.
1679
+ * prefix-aware active states, optional nested mega panels, right-aligned
1680
+ * actions and a mobile drawer. Router-agnostic through `linkComponent` +
1681
+ * `linkHrefProp`.
1566
1682
  */
1567
1683
  declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
1568
1684
 
1685
+ type AccordionSection = {
1686
+ /** Unique id linking the trigger to its panel. */
1687
+ id: string;
1688
+ /** Trigger label. */
1689
+ title: React.ReactNode;
1690
+ /** Panel content. */
1691
+ content: React.ReactNode;
1692
+ /** Disables the trigger for this section. */
1693
+ disabled?: boolean;
1694
+ };
1569
1695
  type AccordionProps = {
1570
1696
  /** Controlled open item ids. */
1571
1697
  value?: string[];
@@ -1579,9 +1705,15 @@ type AccordionProps = {
1579
1705
  variant?: 'default' | 'borderless';
1580
1706
  /** Token gap ('lg') or exact pixels (16) between items. */
1581
1707
  gap?: GapValue;
1708
+ /**
1709
+ * Declarative sections. When provided, Accordion renders an
1710
+ * AccordionItem/AccordionTrigger/AccordionContent per entry instead of
1711
+ * reading `children`.
1712
+ */
1713
+ items?: AccordionSection[];
1582
1714
  className?: string;
1583
1715
  style?: React.CSSProperties;
1584
- children: React.ReactNode;
1716
+ children?: React.ReactNode;
1585
1717
  };
1586
1718
  /**
1587
1719
  * Collapsible content sections with proper ARIA accordion semantics.
@@ -1703,6 +1835,8 @@ type DataTableProps<T> = {
1703
1835
  emptyMessage?: string;
1704
1836
  /** Accessible label for the select-all checkbox (default "Select all rows"). */
1705
1837
  selectAllLabel?: string;
1838
+ /** Selection summary template above the table; `{count}` is replaced (default "{count} selected"). */
1839
+ selectedLabel?: string;
1706
1840
  /** Pin the header while the body scrolls (needs a max-height on the wrapper via className). */
1707
1841
  stickyHeader?: boolean;
1708
1842
  /** Compact row density. */
@@ -1725,7 +1859,7 @@ type DataTableProps<T> = {
1725
1859
  * aria-sort, cursor pagination when `pageSize` is set, and a friendly empty
1726
1860
  * state — so most tables never need hand-rolled table code.
1727
1861
  */
1728
- declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, stickyHeader, density, zebra, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
1862
+ declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, selectedLabel, stickyHeader, density, zebra, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
1729
1863
 
1730
1864
  type ListProps = React.HTMLAttributes<HTMLUListElement> & {
1731
1865
  /** Hairline dividers between rows. */
@@ -1817,6 +1951,40 @@ declare const Link: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<H
1817
1951
  } & React.RefAttributes<HTMLAnchorElement>>;
1818
1952
  type LinkVariant = NonNullable<VariantProps<typeof linkVariants>['variant']>;
1819
1953
 
1954
+ type ImageProps = {
1955
+ /** Primary image URL. Hotlinked sources are expected. */
1956
+ src: string;
1957
+ /** Required: describes the image, not the component. */
1958
+ alt: string;
1959
+ /** Second chance before the fallback node (e.g. generated placeholder art). */
1960
+ fallbackSrc?: string;
1961
+ /** Rendered when every URL has failed (icon, initials, empty panel). */
1962
+ fallback?: React.ReactNode;
1963
+ /** Load eagerly and fetch at high priority for the LCP image. */
1964
+ priority?: boolean;
1965
+ /** Intrinsic width; always emitted so the browser reserves space. */
1966
+ width?: number;
1967
+ /** Intrinsic height; always emitted so the browser reserves space. */
1968
+ height?: number;
1969
+ /** Classes for the image; merged with imgClassName. */
1970
+ className?: string;
1971
+ /** Classes for the image when a consumer wants to keep them separate. */
1972
+ imgClassName?: string;
1973
+ style?: React.CSSProperties;
1974
+ };
1975
+ /**
1976
+ * Resilient image: `src` -> `fallbackSrc` -> `fallback` node.
1977
+ *
1978
+ * Organizer images are hotlinked and occasionally 403, move, or die. Cards
1979
+ * must never show a broken-image box or shift layout when that happens, so
1980
+ * intrinsic dimensions are always rendered and only the priority image is
1981
+ * eager.
1982
+ */
1983
+ declare function Image({ src, alt, fallbackSrc, fallback, priority, width, height, className, imgClassName, style, }: ImageProps): React.JSX.Element;
1984
+ declare namespace Image {
1985
+ var displayName: string;
1986
+ }
1987
+
1820
1988
  declare const sizeClasses$1: {
1821
1989
  readonly xs: "text-xs";
1822
1990
  readonly sm: "text-sm";
@@ -1887,13 +2055,21 @@ declare const Heading: React.ForwardRefExoticComponent<React.HTMLAttributes<HTML
1887
2055
  muted?: boolean;
1888
2056
  } & React.RefAttributes<HTMLHeadingElement>>;
1889
2057
 
2058
+ /** Object form of `action`: EmptyState renders the button/link for you. */
2059
+ type EmptyStateAction = {
2060
+ label: React.ReactNode;
2061
+ onClick?: () => void;
2062
+ /** Renders an anchor (styled as a button) instead of a button. */
2063
+ href?: string;
2064
+ variant?: ButtonProps['variant'];
2065
+ };
1890
2066
  type EmptyStateProps = React.HTMLAttributes<HTMLDivElement> & {
1891
2067
  /** Icon or illustration shown above the title. */
1892
2068
  icon?: React.ReactNode;
1893
2069
  title: string;
1894
2070
  description?: string;
1895
- /** Primary action (button/link). */
1896
- action?: React.ReactNode;
2071
+ /** Primary action: a rendered node, or an action object. */
2072
+ action?: React.ReactNode | EmptyStateAction;
1897
2073
  /** Alias for `action` for codebases that pass a list of actions. */
1898
2074
  actions?: React.ReactNode;
1899
2075
  /** Secondary action shown beside the primary one. */
@@ -1913,8 +2089,8 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
1913
2089
  icon?: React.ReactNode;
1914
2090
  title: string;
1915
2091
  description?: string;
1916
- /** Primary action (button/link). */
1917
- action?: React.ReactNode;
2092
+ /** Primary action: a rendered node, or an action object. */
2093
+ action?: React.ReactNode | EmptyStateAction;
1918
2094
  /** Alias for `action` for codebases that pass a list of actions. */
1919
2095
  actions?: React.ReactNode;
1920
2096
  /** Secondary action shown beside the primary one. */
@@ -1928,6 +2104,8 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
1928
2104
  type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
1929
2105
  title: string;
1930
2106
  description?: string;
2107
+ /** Alias for `description` (migration-friendly). */
2108
+ subtitle?: string;
1931
2109
  /** Breadcrumbs/eyebrow above the title. */
1932
2110
  breadcrumbs?: React.ReactNode;
1933
2111
  /** Right-aligned actions (buttons, menus). */
@@ -1955,6 +2133,8 @@ type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
1955
2133
  declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
1956
2134
  title: string;
1957
2135
  description?: string;
2136
+ /** Alias for `description` (migration-friendly). */
2137
+ subtitle?: string;
1958
2138
  /** Breadcrumbs/eyebrow above the title. */
1959
2139
  breadcrumbs?: React.ReactNode;
1960
2140
  /** Right-aligned actions (buttons, menus). */
@@ -2044,15 +2224,25 @@ declare const SectionHeading: React.ForwardRefExoticComponent<React.HTMLAttribut
2044
2224
  } & React.RefAttributes<HTMLDivElement>>;
2045
2225
 
2046
2226
  type MetricTrend = 'up' | 'down' | 'flat';
2227
+ type MetricTone = 'default' | 'success' | 'warning' | 'destructive';
2047
2228
  type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
2048
- label: string;
2229
+ /** Metric name. Alias: title. */
2230
+ label?: string;
2049
2231
  value: string | number;
2050
- /** Secondary line under the value. */
2232
+ /** Secondary line under the value. Alias: description. */
2051
2233
  hint?: React.ReactNode;
2234
+ /** Alias for `label` (migration-friendly). */
2235
+ title?: string;
2236
+ /** Alias for `hint` (migration-friendly). */
2237
+ description?: React.ReactNode;
2052
2238
  /** Signed change, e.g. "+12.4%" or "-3". */
2053
2239
  delta?: string;
2054
2240
  /** Direction colors the delta (green up / red down / muted flat). */
2055
2241
  trend?: MetricTrend;
2242
+ /** Semantic color for the value (not the delta). */
2243
+ tone?: MetricTone;
2244
+ /** Renders a skeleton instead of the value; sets aria-busy while true. */
2245
+ loading?: boolean;
2056
2246
  icon?: React.ReactNode;
2057
2247
  };
2058
2248
  /**
@@ -2061,14 +2251,23 @@ type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
2061
2251
  * never communicated by color alone.
2062
2252
  */
2063
2253
  declare const MetricCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "title"> & {
2064
- label: string;
2254
+ /** Metric name. Alias: title. */
2255
+ label?: string;
2065
2256
  value: string | number;
2066
- /** Secondary line under the value. */
2257
+ /** Secondary line under the value. Alias: description. */
2067
2258
  hint?: React.ReactNode;
2259
+ /** Alias for `label` (migration-friendly). */
2260
+ title?: string;
2261
+ /** Alias for `hint` (migration-friendly). */
2262
+ description?: React.ReactNode;
2068
2263
  /** Signed change, e.g. "+12.4%" or "-3". */
2069
2264
  delta?: string;
2070
2265
  /** Direction colors the delta (green up / red down / muted flat). */
2071
2266
  trend?: MetricTrend;
2267
+ /** Semantic color for the value (not the delta). */
2268
+ tone?: MetricTone;
2269
+ /** Renders a skeleton instead of the value; sets aria-busy while true. */
2270
+ loading?: boolean;
2072
2271
  icon?: React.ReactNode;
2073
2272
  } & React.RefAttributes<HTMLDivElement>>;
2074
2273
 
@@ -2091,8 +2290,12 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "t
2091
2290
  type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
2092
2291
  title: string;
2093
2292
  description?: string;
2094
- /** Brand/mark above the card. */
2293
+ /** Alias for `description` (migration-friendly). */
2294
+ subtitle?: string;
2295
+ /** Brand/mark above the card. Alias: logo. */
2095
2296
  brand?: React.ReactNode;
2297
+ /** Alias for `brand` (migration-friendly). */
2298
+ logo?: React.ReactNode;
2096
2299
  /** Links or legal copy under the card. */
2097
2300
  footer?: React.ReactNode;
2098
2301
  /** Rendered inside the card under the heading. */
@@ -2106,6 +2309,8 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
2106
2309
  * the centered variant; omitting it makes the split variant fall back.
2107
2310
  */
2108
2311
  aside?: React.ReactNode;
2312
+ /** Overrides the card width: pixels (420) or any CSS width ("26rem"). */
2313
+ maxWidth?: number | string;
2109
2314
  };
2110
2315
  /**
2111
2316
  * Auth surface: brand mark, title/description, the form card and a footer
@@ -2117,8 +2322,12 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
2117
2322
  declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
2118
2323
  title: string;
2119
2324
  description?: string;
2120
- /** Brand/mark above the card. */
2325
+ /** Alias for `description` (migration-friendly). */
2326
+ subtitle?: string;
2327
+ /** Brand/mark above the card. Alias: logo. */
2121
2328
  brand?: React.ReactNode;
2329
+ /** Alias for `brand` (migration-friendly). */
2330
+ logo?: React.ReactNode;
2122
2331
  /** Links or legal copy under the card. */
2123
2332
  footer?: React.ReactNode;
2124
2333
  /** Rendered inside the card under the heading. */
@@ -2132,6 +2341,8 @@ declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<H
2132
2341
  * the centered variant; omitting it makes the split variant fall back.
2133
2342
  */
2134
2343
  aside?: React.ReactNode;
2344
+ /** Overrides the card width: pixels (420) or any CSS width ("26rem"). */
2345
+ maxWidth?: number | string;
2135
2346
  } & React.RefAttributes<HTMLDivElement>>;
2136
2347
 
2137
2348
  type FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {
@@ -2214,6 +2425,38 @@ declare const DatePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type
2214
2425
  clearLabel?: string;
2215
2426
  } & React.RefAttributes<HTMLInputElement>>;
2216
2427
 
2428
+ type DatePickerPopoverProps = {
2429
+ /** Selected date as an ISO key (`YYYY-MM-DD`). */
2430
+ value?: string;
2431
+ /** Called with the ISO key when a day is chosen. */
2432
+ onValueChange?: (value: string) => void;
2433
+ /** Earliest selectable day, inclusive. */
2434
+ min?: string;
2435
+ /** Latest selectable day, inclusive. */
2436
+ max?: string;
2437
+ /** Override "today" for deterministic rendering. */
2438
+ today?: string;
2439
+ locale?: string;
2440
+ weekStartsOn?: 0 | 1;
2441
+ /** Text shown before a date is chosen. */
2442
+ placeholder?: string;
2443
+ /** Renders a hidden input so the value posts with a native form. */
2444
+ name?: string;
2445
+ required?: boolean;
2446
+ disabled?: boolean;
2447
+ /** Preferred side of the field; flips when it cannot fit. */
2448
+ side?: 'top' | 'right' | 'bottom' | 'left';
2449
+ align?: 'start' | 'center' | 'end';
2450
+ id?: string;
2451
+ className?: string;
2452
+ 'aria-label'?: string;
2453
+ };
2454
+ /**
2455
+ * Date field with a month-grid panel. Values stay ISO `YYYY-MM-DD` strings, so
2456
+ * a browser in a different zone cannot shift the chosen day.
2457
+ */
2458
+ declare const DatePickerPopover: React.ForwardRefExoticComponent<DatePickerPopoverProps & React.RefAttributes<HTMLButtonElement>>;
2459
+
2217
2460
  type TimePickerProps = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
2218
2461
  /** "HH:MM" (24h) — controlled. */
2219
2462
  value?: string;
@@ -2269,6 +2512,15 @@ type StepperProps = Omit<React.OlHTMLAttributes<HTMLOListElement>, 'onClick'> &
2269
2512
  alignTitles?: 'start' | 'center';
2270
2513
  /** Makes completed/upcoming steps clickable. */
2271
2514
  onStepClick?: (index: number) => void;
2515
+ /**
2516
+ * Screen-reader state suffixes for each step. Override for localization;
2517
+ * defaults keep the English copy.
2518
+ */
2519
+ labels?: {
2520
+ completed?: string;
2521
+ current?: string;
2522
+ upcoming?: string;
2523
+ };
2272
2524
  };
2273
2525
  /**
2274
2526
  * Progress through a multi-step flow with proper semantics: an ordered list
@@ -2302,6 +2554,15 @@ declare const Stepper: React.ForwardRefExoticComponent<Omit<React.OlHTMLAttribut
2302
2554
  alignTitles?: "start" | "center";
2303
2555
  /** Makes completed/upcoming steps clickable. */
2304
2556
  onStepClick?: (index: number) => void;
2557
+ /**
2558
+ * Screen-reader state suffixes for each step. Override for localization;
2559
+ * defaults keep the English copy.
2560
+ */
2561
+ labels?: {
2562
+ completed?: string;
2563
+ current?: string;
2564
+ upcoming?: string;
2565
+ };
2305
2566
  } & React.RefAttributes<HTMLOListElement>>;
2306
2567
 
2307
2568
  type FileUploadProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange'> & {
@@ -3837,6 +4098,9 @@ type AlertDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
3837
4098
  /** Description text inside an Alert. */
3838
4099
  declare const AlertDescription: React.ForwardRefExoticComponent<AlertDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
3839
4100
 
4101
+ type Side = 'top' | 'right' | 'bottom' | 'left';
4102
+ type Align = 'start' | 'center' | 'end';
4103
+
3840
4104
  type PopoverProps = {
3841
4105
  /** Controlled open state. */
3842
4106
  open?: boolean;
@@ -3854,9 +4118,41 @@ declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefA
3854
4118
  type PopoverTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
3855
4119
  /** The button that toggles the popover. */
3856
4120
  declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
3857
- type PopoverContentProps = React.HTMLAttributes<HTMLDivElement>;
4121
+ type PopoverAnchorProps = React.HTMLAttributes<HTMLSpanElement>;
4122
+ /**
4123
+ * Anchors the panel to this element instead of the trigger. Useful when the
4124
+ * panel belongs to a field that is not itself the button opening it.
4125
+ */
4126
+ declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLSpanElement>>;
4127
+ type PopoverContentProps = React.HTMLAttributes<HTMLDivElement> & {
4128
+ /** Preferred side of the anchor. Flips when it cannot fit. */
4129
+ side?: Side;
4130
+ /** Cross-axis alignment against the anchor. */
4131
+ align?: Align;
4132
+ /** Gap between anchor and panel. */
4133
+ sideOffset?: number;
4134
+ /** Nudge along the cross axis. */
4135
+ alignOffset?: number;
4136
+ /** Minimum distance kept from the viewport edges. */
4137
+ collisionPadding?: number;
4138
+ /** Match the panel width to the anchor width (select-like panels). */
4139
+ matchTriggerWidth?: boolean;
4140
+ };
3858
4141
  /** The floating panel with interactive content. */
3859
- declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
4142
+ declare const PopoverContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
4143
+ /** Preferred side of the anchor. Flips when it cannot fit. */
4144
+ side?: Side;
4145
+ /** Cross-axis alignment against the anchor. */
4146
+ align?: Align;
4147
+ /** Gap between anchor and panel. */
4148
+ sideOffset?: number;
4149
+ /** Nudge along the cross axis. */
4150
+ alignOffset?: number;
4151
+ /** Minimum distance kept from the viewport edges. */
4152
+ collisionPadding?: number;
4153
+ /** Match the panel width to the anchor width (select-like panels). */
4154
+ matchTriggerWidth?: boolean;
4155
+ } & React.RefAttributes<HTMLDivElement>>;
3860
4156
 
3861
4157
  type BreadcrumbItem = {
3862
4158
  /** Display label. */
@@ -4038,5 +4334,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
4038
4334
  };
4039
4335
  } & React.RefAttributes<HTMLElement>>;
4040
4336
 
4041
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, Breadcrumb, Button, ButtonGroup, CTASection, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
4042
- export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavItem, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };
4337
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, BottomNav, Breadcrumb, Button, ButtonGroup, CTASection, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DatePickerPopover, DateRangePicker, DealCard, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, DocumentCard, Drawer, EmptyState, EntityCard, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Image, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LoadMore, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, ProcessSteps, ProfileCard, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, TombstoneCard, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
4338
+ export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionSection, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BottomNavItem, BottomNavProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CalendarProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerPopoverProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DealCardProps, DealMetric, DealStatus, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentCardProps, DocumentHead, DocumentHeadInput, DocumentStatus, DrawerProps, DrawerSide, DrawerSize, EmptyStateAction, EmptyStateProps, EntityCardProps, EntityStat, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, ImageProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LoadMoreProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTone, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverAnchorProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProfileCardProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavColumn, SiteNavItem, SiteNavLink, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TombstoneCardProps, TombstoneStatus, TooltipProps, UsageExample };