@slipstream-ui/core 0.11.4 → 0.11.7

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 (253) hide show
  1. package/dist/index.d.mts +107 -4
  2. package/dist/index.d.ts +107 -4
  3. package/dist/index.js +594 -442
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +489 -338
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +1 -1
  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 +1 -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 +1 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +1 -1
  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 +1 -1
  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/cover-image.manifest.json +151 -0
  30. package/dist/manifests/cta-section.manifest.json +1 -1
  31. package/dist/manifests/data-table.manifest.json +1 -1
  32. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  33. package/dist/manifests/date-picker.manifest.json +1 -1
  34. package/dist/manifests/date-range-picker.manifest.json +1 -1
  35. package/dist/manifests/deal-card.manifest.json +1 -1
  36. package/dist/manifests/dialog.manifest.json +1 -1
  37. package/dist/manifests/document-card.manifest.json +1 -1
  38. package/dist/manifests/drawer.manifest.json +1 -1
  39. package/dist/manifests/empty-state.manifest.json +45 -1
  40. package/dist/manifests/entity-card.manifest.json +1 -1
  41. package/dist/manifests/feature-grid.manifest.json +1 -1
  42. package/dist/manifests/feature-row.manifest.json +1 -1
  43. package/dist/manifests/fieldset.manifest.json +1 -1
  44. package/dist/manifests/file-upload.manifest.json +1 -1
  45. package/dist/manifests/filter-bar.manifest.json +1 -1
  46. package/dist/manifests/filter-chips.manifest.json +1 -1
  47. package/dist/manifests/filter-panel.manifest.json +1 -1
  48. package/dist/manifests/flex.manifest.json +1 -1
  49. package/dist/manifests/form-field.manifest.json +1 -1
  50. package/dist/manifests/form-layout.manifest.json +1 -1
  51. package/dist/manifests/form.manifest.json +1 -1
  52. package/dist/manifests/grid.manifest.json +1 -1
  53. package/dist/manifests/heading.manifest.json +1 -1
  54. package/dist/manifests/hero.manifest.json +1 -1
  55. package/dist/manifests/image.manifest.json +7 -1
  56. package/dist/manifests/input-group.manifest.json +1 -1
  57. package/dist/manifests/input.manifest.json +1 -1
  58. package/dist/manifests/label.manifest.json +1 -1
  59. package/dist/manifests/link-tabs.manifest.json +1 -1
  60. package/dist/manifests/link.manifest.json +1 -1
  61. package/dist/manifests/list.manifest.json +1 -1
  62. package/dist/manifests/load-more.manifest.json +1 -1
  63. package/dist/manifests/logo-cloud.manifest.json +1 -1
  64. package/dist/manifests/menu.manifest.json +1 -1
  65. package/dist/manifests/metric-card.manifest.json +1 -1
  66. package/dist/manifests/multi-select.manifest.json +1 -1
  67. package/dist/manifests/newsletter.manifest.json +1 -1
  68. package/dist/manifests/page-header.manifest.json +1 -1
  69. package/dist/manifests/pagination.manifest.json +1 -1
  70. package/dist/manifests/password-input.manifest.json +1 -1
  71. package/dist/manifests/popover.manifest.json +1 -1
  72. package/dist/manifests/process-steps.manifest.json +1 -1
  73. package/dist/manifests/progress.manifest.json +1 -1
  74. package/dist/manifests/prose.manifest.json +1 -1
  75. package/dist/manifests/radio.manifest.json +1 -1
  76. package/dist/manifests/range-slider.manifest.json +1 -1
  77. package/dist/manifests/search.manifest.json +1 -1
  78. package/dist/manifests/section-heading.manifest.json +1 -1
  79. package/dist/manifests/section.manifest.json +1 -1
  80. package/dist/manifests/segmented-control.manifest.json +29 -2
  81. package/dist/manifests/select-menu.manifest.json +1 -1
  82. package/dist/manifests/select.manifest.json +1 -1
  83. package/dist/manifests/separator.manifest.json +1 -1
  84. package/dist/manifests/site-footer.manifest.json +1 -1
  85. package/dist/manifests/site-header.manifest.json +22 -1
  86. package/dist/manifests/skeleton.manifest.json +1 -1
  87. package/dist/manifests/spinner.manifest.json +1 -1
  88. package/dist/manifests/stat-band.manifest.json +23 -1
  89. package/dist/manifests/stepper.manifest.json +1 -1
  90. package/dist/manifests/switch.manifest.json +1 -1
  91. package/dist/manifests/table-card.manifest.json +1 -1
  92. package/dist/manifests/table-of-contents.manifest.json +1 -1
  93. package/dist/manifests/table.manifest.json +1 -1
  94. package/dist/manifests/tabs.manifest.json +1 -1
  95. package/dist/manifests/testimonial.manifest.json +1 -1
  96. package/dist/manifests/text.manifest.json +1 -1
  97. package/dist/manifests/textarea.manifest.json +1 -1
  98. package/dist/manifests/theme-toggle.manifest.json +1 -1
  99. package/dist/manifests/time-picker.manifest.json +1 -1
  100. package/dist/manifests/timeline.manifest.json +1 -1
  101. package/dist/manifests/toast.manifest.json +1 -1
  102. package/dist/manifests/tombstone-card.manifest.json +1 -1
  103. package/dist/manifests/tooltip.manifest.json +1 -1
  104. package/dist/src/components/cover-image/CoverImage.d.ts +34 -0
  105. package/dist/src/components/cover-image/CoverImage.js +94 -0
  106. package/dist/src/components/cover-image/CoverImage.js.map +1 -0
  107. package/dist/src/components/cover-image/CoverImage.mjs +70 -0
  108. package/dist/src/components/cover-image/CoverImage.mjs.map +1 -0
  109. package/dist/src/components/cover-image/index.d.ts +1 -0
  110. package/dist/src/components/cover-image/index.js +29 -0
  111. package/dist/src/components/cover-image/index.js.map +1 -0
  112. package/dist/src/components/cover-image/index.mjs +5 -0
  113. package/dist/src/components/cover-image/index.mjs.map +1 -0
  114. package/dist/src/components/empty-state/EmptyState.d.ts +24 -0
  115. package/dist/src/components/empty-state/EmptyState.js +16 -6
  116. package/dist/src/components/empty-state/EmptyState.js.map +1 -1
  117. package/dist/src/components/empty-state/EmptyState.mjs +16 -6
  118. package/dist/src/components/empty-state/EmptyState.mjs.map +1 -1
  119. package/dist/src/components/image/Image.d.ts +3 -1
  120. package/dist/src/components/image/Image.js +2 -0
  121. package/dist/src/components/image/Image.js.map +1 -1
  122. package/dist/src/components/image/Image.mjs +2 -0
  123. package/dist/src/components/image/Image.mjs.map +1 -1
  124. package/dist/src/components/segmented-control/SegmentedControl.d.ts +21 -0
  125. package/dist/src/components/segmented-control/SegmentedControl.js +47 -16
  126. package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -1
  127. package/dist/src/components/segmented-control/SegmentedControl.mjs +48 -17
  128. package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -1
  129. package/dist/src/components/site-header/SiteHeader.d.ts +7 -1
  130. package/dist/src/components/site-header/SiteHeader.js +5 -1
  131. package/dist/src/components/site-header/SiteHeader.js.map +1 -1
  132. package/dist/src/components/site-header/SiteHeader.mjs +5 -1
  133. package/dist/src/components/site-header/SiteHeader.mjs.map +1 -1
  134. package/dist/src/components/stat-band/StatBand.d.ts +16 -0
  135. package/dist/src/components/stat-band/StatBand.js +46 -9
  136. package/dist/src/components/stat-band/StatBand.js.map +1 -1
  137. package/dist/src/components/stat-band/StatBand.mjs +46 -9
  138. package/dist/src/components/stat-band/StatBand.mjs.map +1 -1
  139. package/dist/src/index.d.ts +1 -0
  140. package/dist/styles-full.css +1 -1
  141. package/dist/styles.css +1 -1
  142. package/package.json +2 -2
  143. package/src/components/cover-image/CoverImage.test.tsx +88 -0
  144. package/src/components/cover-image/CoverImage.tsx +109 -0
  145. package/src/components/cover-image/index.ts +1 -0
  146. package/src/components/empty-state/EmptyState.test.tsx +33 -0
  147. package/src/components/empty-state/EmptyState.tsx +34 -6
  148. package/src/components/image/Image.tsx +4 -0
  149. package/src/components/segmented-control/SegmentedControl.test.tsx +64 -0
  150. package/src/components/segmented-control/SegmentedControl.tsx +69 -15
  151. package/src/components/site-header/SiteHeader.test.tsx +18 -0
  152. package/src/components/site-header/SiteHeader.tsx +11 -1
  153. package/src/components/stat-band/StatBand.test.tsx +26 -0
  154. package/src/components/stat-band/StatBand.tsx +52 -7
  155. package/src/index.ts +1 -0
  156. package/src/manifests/accordion.manifest.json +1 -1
  157. package/src/manifests/alert.manifest.json +1 -1
  158. package/src/manifests/announcement-bar.manifest.json +1 -1
  159. package/src/manifests/app-shell.manifest.json +1 -1
  160. package/src/manifests/applied-filters.manifest.json +1 -1
  161. package/src/manifests/article-card.manifest.json +1 -1
  162. package/src/manifests/auth-layout.manifest.json +1 -1
  163. package/src/manifests/autocomplete.manifest.json +1 -1
  164. package/src/manifests/avatar.manifest.json +1 -1
  165. package/src/manifests/badge.manifest.json +1 -1
  166. package/src/manifests/block.manifest.json +1 -1
  167. package/src/manifests/bottom-nav.manifest.json +1 -1
  168. package/src/manifests/breadcrumb.manifest.json +1 -1
  169. package/src/manifests/button-group.manifest.json +1 -1
  170. package/src/manifests/button.manifest.json +1 -1
  171. package/src/manifests/calendar.manifest.json +1 -1
  172. package/src/manifests/card.manifest.json +1 -1
  173. package/src/manifests/checkbox.manifest.json +1 -1
  174. package/src/manifests/comparison-table.manifest.json +1 -1
  175. package/src/manifests/confirm-dialog.manifest.json +1 -1
  176. package/src/manifests/contact-strip.manifest.json +1 -1
  177. package/src/manifests/container.manifest.json +1 -1
  178. package/src/manifests/cover-image.manifest.json +151 -0
  179. package/src/manifests/cta-section.manifest.json +1 -1
  180. package/src/manifests/data-table.manifest.json +1 -1
  181. package/src/manifests/date-picker-popover.manifest.json +1 -1
  182. package/src/manifests/date-picker.manifest.json +1 -1
  183. package/src/manifests/date-range-picker.manifest.json +1 -1
  184. package/src/manifests/deal-card.manifest.json +1 -1
  185. package/src/manifests/dialog.manifest.json +1 -1
  186. package/src/manifests/document-card.manifest.json +1 -1
  187. package/src/manifests/drawer.manifest.json +1 -1
  188. package/src/manifests/empty-state.manifest.json +45 -1
  189. package/src/manifests/entity-card.manifest.json +1 -1
  190. package/src/manifests/feature-grid.manifest.json +1 -1
  191. package/src/manifests/feature-row.manifest.json +1 -1
  192. package/src/manifests/fieldset.manifest.json +1 -1
  193. package/src/manifests/file-upload.manifest.json +1 -1
  194. package/src/manifests/filter-bar.manifest.json +1 -1
  195. package/src/manifests/filter-chips.manifest.json +1 -1
  196. package/src/manifests/filter-panel.manifest.json +1 -1
  197. package/src/manifests/flex.manifest.json +1 -1
  198. package/src/manifests/form-field.manifest.json +1 -1
  199. package/src/manifests/form-layout.manifest.json +1 -1
  200. package/src/manifests/form.manifest.json +1 -1
  201. package/src/manifests/grid.manifest.json +1 -1
  202. package/src/manifests/heading.manifest.json +1 -1
  203. package/src/manifests/hero.manifest.json +1 -1
  204. package/src/manifests/image.manifest.json +7 -1
  205. package/src/manifests/input-group.manifest.json +1 -1
  206. package/src/manifests/input.manifest.json +1 -1
  207. package/src/manifests/label.manifest.json +1 -1
  208. package/src/manifests/link-tabs.manifest.json +1 -1
  209. package/src/manifests/link.manifest.json +1 -1
  210. package/src/manifests/list.manifest.json +1 -1
  211. package/src/manifests/load-more.manifest.json +1 -1
  212. package/src/manifests/logo-cloud.manifest.json +1 -1
  213. package/src/manifests/menu.manifest.json +1 -1
  214. package/src/manifests/metric-card.manifest.json +1 -1
  215. package/src/manifests/multi-select.manifest.json +1 -1
  216. package/src/manifests/newsletter.manifest.json +1 -1
  217. package/src/manifests/page-header.manifest.json +1 -1
  218. package/src/manifests/pagination.manifest.json +1 -1
  219. package/src/manifests/password-input.manifest.json +1 -1
  220. package/src/manifests/popover.manifest.json +1 -1
  221. package/src/manifests/process-steps.manifest.json +1 -1
  222. package/src/manifests/progress.manifest.json +1 -1
  223. package/src/manifests/prose.manifest.json +1 -1
  224. package/src/manifests/radio.manifest.json +1 -1
  225. package/src/manifests/range-slider.manifest.json +1 -1
  226. package/src/manifests/search.manifest.json +1 -1
  227. package/src/manifests/section-heading.manifest.json +1 -1
  228. package/src/manifests/section.manifest.json +1 -1
  229. package/src/manifests/segmented-control.manifest.json +29 -2
  230. package/src/manifests/select-menu.manifest.json +1 -1
  231. package/src/manifests/select.manifest.json +1 -1
  232. package/src/manifests/separator.manifest.json +1 -1
  233. package/src/manifests/site-footer.manifest.json +1 -1
  234. package/src/manifests/site-header.manifest.json +22 -1
  235. package/src/manifests/skeleton.manifest.json +1 -1
  236. package/src/manifests/spinner.manifest.json +1 -1
  237. package/src/manifests/stat-band.manifest.json +23 -1
  238. package/src/manifests/stepper.manifest.json +1 -1
  239. package/src/manifests/switch.manifest.json +1 -1
  240. package/src/manifests/table-card.manifest.json +1 -1
  241. package/src/manifests/table-of-contents.manifest.json +1 -1
  242. package/src/manifests/table.manifest.json +1 -1
  243. package/src/manifests/tabs.manifest.json +1 -1
  244. package/src/manifests/testimonial.manifest.json +1 -1
  245. package/src/manifests/text.manifest.json +1 -1
  246. package/src/manifests/textarea.manifest.json +1 -1
  247. package/src/manifests/theme-toggle.manifest.json +1 -1
  248. package/src/manifests/time-picker.manifest.json +1 -1
  249. package/src/manifests/timeline.manifest.json +1 -1
  250. package/src/manifests/toast.manifest.json +1 -1
  251. package/src/manifests/tombstone-card.manifest.json +1 -1
  252. package/src/manifests/tooltip.manifest.json +1 -1
  253. package/src/styles.css +5 -0
package/dist/index.d.mts CHANGED
@@ -1714,6 +1714,12 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
1714
1714
  sticky?: boolean;
1715
1715
  /** Title of the mobile navigation drawer. Default 'Menu'. */
1716
1716
  mobileLabel?: string;
1717
+ /** Accessible name for the mobile menu trigger when closed (default "Open menu"). */
1718
+ mobileMenuOpenLabel?: string;
1719
+ /** Accessible name for the mobile menu trigger when open (default "Close menu"). */
1720
+ mobileMenuCloseLabel?: string;
1721
+ /** Accessible name for the mobile drawer close button (default "Close drawer"). */
1722
+ mobileDrawerCloseLabel?: string;
1717
1723
  /** Render the built-in mobile trigger and drawer (default true). Set false when the host owns mobile navigation. */
1718
1724
  showMobileTrigger?: boolean;
1719
1725
  /** Breakpoint where the horizontal navigation appears (default 'md'). */
@@ -1727,7 +1733,7 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
1727
1733
  * actions and a mobile drawer. Router-agnostic through `linkComponent` +
1728
1734
  * `linkHrefProp`.
1729
1735
  */
1730
- 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;
1736
+ declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, mobileMenuOpenLabel, mobileMenuCloseLabel, mobileDrawerCloseLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
1731
1737
 
1732
1738
  type AccordionSection = {
1733
1739
  /** Unique id linking the trigger to its panel. */
@@ -2017,6 +2023,8 @@ type ImageProps = {
2017
2023
  className?: string;
2018
2024
  /** Classes for the image when a consumer wants to keep them separate. */
2019
2025
  imgClassName?: string;
2026
+ /** Responsive `sizes` hint for the browser's source selection. */
2027
+ sizes?: string;
2020
2028
  style?: React.CSSProperties;
2021
2029
  };
2022
2030
  /**
@@ -2027,11 +2035,45 @@ type ImageProps = {
2027
2035
  * intrinsic dimensions are always rendered and only the priority image is
2028
2036
  * eager.
2029
2037
  */
2030
- declare function Image({ src, alt, fallbackSrc, fallback, priority, width, height, className, imgClassName, style, }: ImageProps): React.JSX.Element;
2038
+ declare function Image({ src, alt, fallbackSrc, fallback, priority, width, height, className, imgClassName, sizes, style, }: ImageProps): React.JSX.Element;
2031
2039
  declare namespace Image {
2032
2040
  var displayName: string;
2033
2041
  }
2034
2042
 
2043
+ type CoverImageProps = {
2044
+ /** Cover URL. When absent or broken, the seeded fallback renders instead. */
2045
+ src?: string | null;
2046
+ /** Required: describes the image for assistive tech. */
2047
+ alt: string;
2048
+ /**
2049
+ * Aspect ratio: 'video' (16:9), 'square' (1:1), 'wide' (2:1), or any CSS
2050
+ * aspect-ratio value such as '16/9' or '4/3'.
2051
+ */
2052
+ aspect?: 'video' | 'square' | 'wide' | string;
2053
+ /** Stable key selecting the fallback gradient (e.g. entity slug). */
2054
+ seed?: string;
2055
+ /** Load eagerly and fetch at high priority for the LCP image. */
2056
+ priority?: boolean;
2057
+ /** Responsive `sizes` hint forwarded to the image. */
2058
+ sizes?: string;
2059
+ /** Custom fallback content; defaults to the seed-derived gradient. */
2060
+ fallback?: React.ReactNode;
2061
+ /** Optional mark centered on the default gradient (icon, monogram). */
2062
+ mark?: React.ReactNode;
2063
+ className?: string;
2064
+ };
2065
+ /**
2066
+ * Media cover with a deterministic placeholder: a fixed-aspect box that shows
2067
+ * the image when present and a seed-derived token gradient (plus optional
2068
+ * mark) when the entity has no art. Broken images degrade to the same
2069
+ * gradient through Image's fallback chain, so imageless grids still look
2070
+ * intentional.
2071
+ */
2072
+ declare function CoverImage({ src, alt, aspect, seed, priority, sizes, fallback, mark, className, }: CoverImageProps): React.JSX.Element;
2073
+ declare namespace CoverImage {
2074
+ var displayName: string;
2075
+ }
2076
+
2035
2077
  declare const sizeClasses$1: {
2036
2078
  readonly xs: "text-xs";
2037
2079
  readonly sm: "text-sm";
@@ -2125,6 +2167,18 @@ type EmptyStateProps = React.HTMLAttributes<HTMLDivElement> & {
2125
2167
  titleAs?: 'p' | 'h2' | 'h3' | 'h4';
2126
2168
  /** Compact padding for use inside panels and table bodies. */
2127
2169
  size?: 'sm' | 'md';
2170
+ /** Horizontal alignment of content and actions. Default 'center'. */
2171
+ align?: 'center' | 'start';
2172
+ /**
2173
+ * Surface treatment. 'panel' renders a tinted, solid-bordered surface for
2174
+ * content pages (typically paired with align="start"); 'plain' keeps the
2175
+ * default dashed outline. Default 'plain'.
2176
+ */
2177
+ tone?: 'plain' | 'panel';
2178
+ /** Custom link element for action hrefs (Next Link, react-router Link). */
2179
+ linkComponent?: React.ElementType;
2180
+ /** Prop used to pass the destination to `linkComponent`. */
2181
+ linkHrefProp?: 'href' | 'to';
2128
2182
  };
2129
2183
  /**
2130
2184
  * Placeholder for empty collections, zero-result searches and unconfigured
@@ -2146,6 +2200,18 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
2146
2200
  titleAs?: "p" | "h2" | "h3" | "h4";
2147
2201
  /** Compact padding for use inside panels and table bodies. */
2148
2202
  size?: "sm" | "md";
2203
+ /** Horizontal alignment of content and actions. Default 'center'. */
2204
+ align?: "center" | "start";
2205
+ /**
2206
+ * Surface treatment. 'panel' renders a tinted, solid-bordered surface for
2207
+ * content pages (typically paired with align="start"); 'plain' keeps the
2208
+ * default dashed outline. Default 'plain'.
2209
+ */
2210
+ tone?: "plain" | "panel";
2211
+ /** Custom link element for action hrefs (Next Link, react-router Link). */
2212
+ linkComponent?: React.ElementType;
2213
+ /** Prop used to pass the destination to `linkComponent`. */
2214
+ linkHrefProp?: "href" | "to";
2149
2215
  } & React.RefAttributes<HTMLDivElement>>;
2150
2216
 
2151
2217
  type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
@@ -3014,6 +3080,14 @@ type StatBandProps = React.HTMLAttributes<HTMLDListElement> & {
3014
3080
  size?: 'sm' | 'md' | 'lg';
3015
3081
  /** Draw dividers between stats at sm and up. Default true. */
3016
3082
  divided?: boolean;
3083
+ /**
3084
+ * Surface treatment. 'panel' renders a bordered strip of hairline-separated
3085
+ * cells with denser type for data pages; 'plain' is the marketing band.
3086
+ * Default 'plain'.
3087
+ */
3088
+ variant?: 'plain' | 'panel';
3089
+ /** Extra classes for the value element (e.g. font-mono for tabular numerals). */
3090
+ valueClassName?: string;
3017
3091
  };
3018
3092
  /**
3019
3093
  * Marketing stat band: a semantic description list of headline numbers with
@@ -3031,6 +3105,14 @@ declare const StatBand: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
3031
3105
  size?: "sm" | "md" | "lg";
3032
3106
  /** Draw dividers between stats at sm and up. Default true. */
3033
3107
  divided?: boolean;
3108
+ /**
3109
+ * Surface treatment. 'panel' renders a bordered strip of hairline-separated
3110
+ * cells with denser type for data pages; 'plain' is the marketing band.
3111
+ * Default 'plain'.
3112
+ */
3113
+ variant?: "plain" | "panel";
3114
+ /** Extra classes for the value element (e.g. font-mono for tabular numerals). */
3115
+ valueClassName?: string;
3034
3116
  } & React.RefAttributes<HTMLDListElement>>;
3035
3117
 
3036
3118
  type CTASectionTone = Extract<SectionTone, 'default' | 'muted' | 'brand' | 'inverse'>;
@@ -3795,6 +3877,13 @@ type SegmentedOption = {
3795
3877
  /** Optional leading icon. */
3796
3878
  icon?: React.ReactNode;
3797
3879
  disabled?: boolean;
3880
+ /**
3881
+ * Destination URL. When set the segment renders as a link instead of a
3882
+ * button - use this for view switches that must survive refresh and work
3883
+ * without JavaScript. The active segment renders as a non-link
3884
+ * `aria-current="page"` marker.
3885
+ */
3886
+ href?: string;
3798
3887
  };
3799
3888
  type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
3800
3889
  /** Options rendered as segments. */
@@ -3811,12 +3900,22 @@ type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChang
3811
3900
  size?: 'sm' | 'md' | 'lg';
3812
3901
  /** Stretch segments to fill the container width. */
3813
3902
  fullWidth?: boolean;
3903
+ /** Custom link element for routers (Next Link, react-router Link). */
3904
+ linkComponent?: React.ElementType;
3905
+ /** Prop used to pass the destination to `linkComponent`. */
3906
+ linkHrefProp?: 'href' | 'to';
3814
3907
  };
3815
3908
  /**
3816
3909
  * Segmented control for switching a view or filter. Single-select uses radio
3817
3910
  * semantics and arrow-key navigation; multiple-select uses pressed buttons.
3818
3911
  * Use it for filters such as All / Investors / Advisors, not for tab panels
3819
3912
  * (use Tabs when each segment owns a tabpanel).
3913
+ *
3914
+ * Give an option an `href` to render it as a real link - the pattern for
3915
+ * view switches that must survive refresh, work without JavaScript, and stay
3916
+ * cacheable. The active segment then renders as a non-link
3917
+ * `aria-current="page"` marker and link segments use normal tab navigation
3918
+ * instead of roving tabindex. Link mode is intended for single-select.
3820
3919
  */
3821
3920
  declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & {
3822
3921
  /** Options rendered as segments. */
@@ -3833,6 +3932,10 @@ declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLA
3833
3932
  size?: "sm" | "md" | "lg";
3834
3933
  /** Stretch segments to fill the container width. */
3835
3934
  fullWidth?: boolean;
3935
+ /** Custom link element for routers (Next Link, react-router Link). */
3936
+ linkComponent?: React.ElementType;
3937
+ /** Prop used to pass the destination to `linkComponent`. */
3938
+ linkHrefProp?: "href" | "to";
3836
3939
  } & React.RefAttributes<HTMLDivElement>>;
3837
3940
 
3838
3941
  type RangeSliderProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> & {
@@ -4429,5 +4532,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
4429
4532
  };
4430
4533
  } & React.RefAttributes<HTMLElement>>;
4431
4534
 
4432
- 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 };
4433
- 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, FormLayoutColumns, 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 };
4535
+ 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, CoverImage, 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 };
4536
+ 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, CoverImageProps, 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, FormLayoutColumns, 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 };
package/dist/index.d.ts CHANGED
@@ -1714,6 +1714,12 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
1714
1714
  sticky?: boolean;
1715
1715
  /** Title of the mobile navigation drawer. Default 'Menu'. */
1716
1716
  mobileLabel?: string;
1717
+ /** Accessible name for the mobile menu trigger when closed (default "Open menu"). */
1718
+ mobileMenuOpenLabel?: string;
1719
+ /** Accessible name for the mobile menu trigger when open (default "Close menu"). */
1720
+ mobileMenuCloseLabel?: string;
1721
+ /** Accessible name for the mobile drawer close button (default "Close drawer"). */
1722
+ mobileDrawerCloseLabel?: string;
1717
1723
  /** Render the built-in mobile trigger and drawer (default true). Set false when the host owns mobile navigation. */
1718
1724
  showMobileTrigger?: boolean;
1719
1725
  /** Breakpoint where the horizontal navigation appears (default 'md'). */
@@ -1727,7 +1733,7 @@ type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
1727
1733
  * actions and a mobile drawer. Router-agnostic through `linkComponent` +
1728
1734
  * `linkHrefProp`.
1729
1735
  */
1730
- 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;
1736
+ declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, mobileMenuOpenLabel, mobileMenuCloseLabel, mobileDrawerCloseLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
1731
1737
 
1732
1738
  type AccordionSection = {
1733
1739
  /** Unique id linking the trigger to its panel. */
@@ -2017,6 +2023,8 @@ type ImageProps = {
2017
2023
  className?: string;
2018
2024
  /** Classes for the image when a consumer wants to keep them separate. */
2019
2025
  imgClassName?: string;
2026
+ /** Responsive `sizes` hint for the browser's source selection. */
2027
+ sizes?: string;
2020
2028
  style?: React.CSSProperties;
2021
2029
  };
2022
2030
  /**
@@ -2027,11 +2035,45 @@ type ImageProps = {
2027
2035
  * intrinsic dimensions are always rendered and only the priority image is
2028
2036
  * eager.
2029
2037
  */
2030
- declare function Image({ src, alt, fallbackSrc, fallback, priority, width, height, className, imgClassName, style, }: ImageProps): React.JSX.Element;
2038
+ declare function Image({ src, alt, fallbackSrc, fallback, priority, width, height, className, imgClassName, sizes, style, }: ImageProps): React.JSX.Element;
2031
2039
  declare namespace Image {
2032
2040
  var displayName: string;
2033
2041
  }
2034
2042
 
2043
+ type CoverImageProps = {
2044
+ /** Cover URL. When absent or broken, the seeded fallback renders instead. */
2045
+ src?: string | null;
2046
+ /** Required: describes the image for assistive tech. */
2047
+ alt: string;
2048
+ /**
2049
+ * Aspect ratio: 'video' (16:9), 'square' (1:1), 'wide' (2:1), or any CSS
2050
+ * aspect-ratio value such as '16/9' or '4/3'.
2051
+ */
2052
+ aspect?: 'video' | 'square' | 'wide' | string;
2053
+ /** Stable key selecting the fallback gradient (e.g. entity slug). */
2054
+ seed?: string;
2055
+ /** Load eagerly and fetch at high priority for the LCP image. */
2056
+ priority?: boolean;
2057
+ /** Responsive `sizes` hint forwarded to the image. */
2058
+ sizes?: string;
2059
+ /** Custom fallback content; defaults to the seed-derived gradient. */
2060
+ fallback?: React.ReactNode;
2061
+ /** Optional mark centered on the default gradient (icon, monogram). */
2062
+ mark?: React.ReactNode;
2063
+ className?: string;
2064
+ };
2065
+ /**
2066
+ * Media cover with a deterministic placeholder: a fixed-aspect box that shows
2067
+ * the image when present and a seed-derived token gradient (plus optional
2068
+ * mark) when the entity has no art. Broken images degrade to the same
2069
+ * gradient through Image's fallback chain, so imageless grids still look
2070
+ * intentional.
2071
+ */
2072
+ declare function CoverImage({ src, alt, aspect, seed, priority, sizes, fallback, mark, className, }: CoverImageProps): React.JSX.Element;
2073
+ declare namespace CoverImage {
2074
+ var displayName: string;
2075
+ }
2076
+
2035
2077
  declare const sizeClasses$1: {
2036
2078
  readonly xs: "text-xs";
2037
2079
  readonly sm: "text-sm";
@@ -2125,6 +2167,18 @@ type EmptyStateProps = React.HTMLAttributes<HTMLDivElement> & {
2125
2167
  titleAs?: 'p' | 'h2' | 'h3' | 'h4';
2126
2168
  /** Compact padding for use inside panels and table bodies. */
2127
2169
  size?: 'sm' | 'md';
2170
+ /** Horizontal alignment of content and actions. Default 'center'. */
2171
+ align?: 'center' | 'start';
2172
+ /**
2173
+ * Surface treatment. 'panel' renders a tinted, solid-bordered surface for
2174
+ * content pages (typically paired with align="start"); 'plain' keeps the
2175
+ * default dashed outline. Default 'plain'.
2176
+ */
2177
+ tone?: 'plain' | 'panel';
2178
+ /** Custom link element for action hrefs (Next Link, react-router Link). */
2179
+ linkComponent?: React.ElementType;
2180
+ /** Prop used to pass the destination to `linkComponent`. */
2181
+ linkHrefProp?: 'href' | 'to';
2128
2182
  };
2129
2183
  /**
2130
2184
  * Placeholder for empty collections, zero-result searches and unconfigured
@@ -2146,6 +2200,18 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
2146
2200
  titleAs?: "p" | "h2" | "h3" | "h4";
2147
2201
  /** Compact padding for use inside panels and table bodies. */
2148
2202
  size?: "sm" | "md";
2203
+ /** Horizontal alignment of content and actions. Default 'center'. */
2204
+ align?: "center" | "start";
2205
+ /**
2206
+ * Surface treatment. 'panel' renders a tinted, solid-bordered surface for
2207
+ * content pages (typically paired with align="start"); 'plain' keeps the
2208
+ * default dashed outline. Default 'plain'.
2209
+ */
2210
+ tone?: "plain" | "panel";
2211
+ /** Custom link element for action hrefs (Next Link, react-router Link). */
2212
+ linkComponent?: React.ElementType;
2213
+ /** Prop used to pass the destination to `linkComponent`. */
2214
+ linkHrefProp?: "href" | "to";
2149
2215
  } & React.RefAttributes<HTMLDivElement>>;
2150
2216
 
2151
2217
  type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
@@ -3014,6 +3080,14 @@ type StatBandProps = React.HTMLAttributes<HTMLDListElement> & {
3014
3080
  size?: 'sm' | 'md' | 'lg';
3015
3081
  /** Draw dividers between stats at sm and up. Default true. */
3016
3082
  divided?: boolean;
3083
+ /**
3084
+ * Surface treatment. 'panel' renders a bordered strip of hairline-separated
3085
+ * cells with denser type for data pages; 'plain' is the marketing band.
3086
+ * Default 'plain'.
3087
+ */
3088
+ variant?: 'plain' | 'panel';
3089
+ /** Extra classes for the value element (e.g. font-mono for tabular numerals). */
3090
+ valueClassName?: string;
3017
3091
  };
3018
3092
  /**
3019
3093
  * Marketing stat band: a semantic description list of headline numbers with
@@ -3031,6 +3105,14 @@ declare const StatBand: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
3031
3105
  size?: "sm" | "md" | "lg";
3032
3106
  /** Draw dividers between stats at sm and up. Default true. */
3033
3107
  divided?: boolean;
3108
+ /**
3109
+ * Surface treatment. 'panel' renders a bordered strip of hairline-separated
3110
+ * cells with denser type for data pages; 'plain' is the marketing band.
3111
+ * Default 'plain'.
3112
+ */
3113
+ variant?: "plain" | "panel";
3114
+ /** Extra classes for the value element (e.g. font-mono for tabular numerals). */
3115
+ valueClassName?: string;
3034
3116
  } & React.RefAttributes<HTMLDListElement>>;
3035
3117
 
3036
3118
  type CTASectionTone = Extract<SectionTone, 'default' | 'muted' | 'brand' | 'inverse'>;
@@ -3795,6 +3877,13 @@ type SegmentedOption = {
3795
3877
  /** Optional leading icon. */
3796
3878
  icon?: React.ReactNode;
3797
3879
  disabled?: boolean;
3880
+ /**
3881
+ * Destination URL. When set the segment renders as a link instead of a
3882
+ * button - use this for view switches that must survive refresh and work
3883
+ * without JavaScript. The active segment renders as a non-link
3884
+ * `aria-current="page"` marker.
3885
+ */
3886
+ href?: string;
3798
3887
  };
3799
3888
  type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
3800
3889
  /** Options rendered as segments. */
@@ -3811,12 +3900,22 @@ type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChang
3811
3900
  size?: 'sm' | 'md' | 'lg';
3812
3901
  /** Stretch segments to fill the container width. */
3813
3902
  fullWidth?: boolean;
3903
+ /** Custom link element for routers (Next Link, react-router Link). */
3904
+ linkComponent?: React.ElementType;
3905
+ /** Prop used to pass the destination to `linkComponent`. */
3906
+ linkHrefProp?: 'href' | 'to';
3814
3907
  };
3815
3908
  /**
3816
3909
  * Segmented control for switching a view or filter. Single-select uses radio
3817
3910
  * semantics and arrow-key navigation; multiple-select uses pressed buttons.
3818
3911
  * Use it for filters such as All / Investors / Advisors, not for tab panels
3819
3912
  * (use Tabs when each segment owns a tabpanel).
3913
+ *
3914
+ * Give an option an `href` to render it as a real link - the pattern for
3915
+ * view switches that must survive refresh, work without JavaScript, and stay
3916
+ * cacheable. The active segment then renders as a non-link
3917
+ * `aria-current="page"` marker and link segments use normal tab navigation
3918
+ * instead of roving tabindex. Link mode is intended for single-select.
3820
3919
  */
3821
3920
  declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & {
3822
3921
  /** Options rendered as segments. */
@@ -3833,6 +3932,10 @@ declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLA
3833
3932
  size?: "sm" | "md" | "lg";
3834
3933
  /** Stretch segments to fill the container width. */
3835
3934
  fullWidth?: boolean;
3935
+ /** Custom link element for routers (Next Link, react-router Link). */
3936
+ linkComponent?: React.ElementType;
3937
+ /** Prop used to pass the destination to `linkComponent`. */
3938
+ linkHrefProp?: "href" | "to";
3836
3939
  } & React.RefAttributes<HTMLDivElement>>;
3837
3940
 
3838
3941
  type RangeSliderProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> & {
@@ -4429,5 +4532,5 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
4429
4532
  };
4430
4533
  } & React.RefAttributes<HTMLElement>>;
4431
4534
 
4432
- 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 };
4433
- 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, FormLayoutColumns, 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 };
4535
+ 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, CoverImage, 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 };
4536
+ 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, CoverImageProps, 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, FormLayoutColumns, 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 };