@hirobius/design-system 0.15.0 → 0.17.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 (96) hide show
  1. package/README.md +26 -70
  2. package/dist/chunks/LanguageContext-CH_bwzCq.js +83 -0
  3. package/dist/chunks/TokenDisplayContext-evZi_214.js +18 -0
  4. package/dist/chunks/activity-feed-C8_e-Btq.js +19955 -0
  5. package/dist/contexts.js +17 -16
  6. package/dist/hirobius-ui.js +3590 -21800
  7. package/dist/manifest.js +11 -11
  8. package/dist/patterns.js +423 -0
  9. package/dist/static.css +4 -4
  10. package/dist/styles.css +1 -1
  11. package/dist/tokens.css +1 -1
  12. package/dist/tokens.js +74 -35
  13. package/dist/types/src/app/components/activity-feed.d.ts +6 -4
  14. package/dist/types/src/app/components/app-shell.d.ts +6 -4
  15. package/dist/types/src/app/components/asset-img.d.ts +3 -1
  16. package/dist/types/src/app/components/avatar-group.d.ts +3 -3
  17. package/dist/types/src/app/components/avatar.d.ts +3 -3
  18. package/dist/types/src/app/components/badge.d.ts +3 -3
  19. package/dist/types/src/app/components/blockquote.d.ts +3 -3
  20. package/dist/types/src/app/components/breadcrumb.d.ts +3 -3
  21. package/dist/types/src/app/components/button-group.d.ts +3 -3
  22. package/dist/types/src/app/components/button.d.ts +6 -6
  23. package/dist/types/src/app/components/calendar.d.ts +3 -1
  24. package/dist/types/src/app/components/callout.d.ts +4 -4
  25. package/dist/types/src/app/components/card.d.ts +5 -5
  26. package/dist/types/src/app/components/carousel.d.ts +6 -4
  27. package/dist/types/src/app/components/checkbox.d.ts +3 -3
  28. package/dist/types/src/app/components/cinematic-link.d.ts +7 -1
  29. package/dist/types/src/app/components/circular-progress.d.ts +3 -3
  30. package/dist/types/src/app/components/code-block.d.ts +20 -18
  31. package/dist/types/src/app/components/command-palette.d.ts +9 -9
  32. package/dist/types/src/app/components/component-instance-matrix.d.ts +8 -2
  33. package/dist/types/src/app/components/disclosure.d.ts +3 -3
  34. package/dist/types/src/app/components/divider.d.ts +4 -4
  35. package/dist/types/src/app/components/doc-link-card.d.ts +6 -4
  36. package/dist/types/src/app/components/error-pattern.d.ts +3 -1
  37. package/dist/types/src/app/components/field.d.ts +4 -4
  38. package/dist/types/src/app/components/file-input.d.ts +7 -5
  39. package/dist/types/src/app/components/foundation-swatch.d.ts +6 -0
  40. package/dist/types/src/app/components/hds-tooltip.d.ts +11 -11
  41. package/dist/types/src/app/components/heading-stack.d.ts +6 -6
  42. package/dist/types/src/app/components/hover-card.d.ts +1 -1
  43. package/dist/types/src/app/components/image-lightbox.d.ts +2 -0
  44. package/dist/types/src/app/components/inline-code.d.ts +3 -3
  45. package/dist/types/src/app/components/input-group.d.ts +3 -3
  46. package/dist/types/src/app/components/input.d.ts +5 -5
  47. package/dist/types/src/app/components/kbd.d.ts +3 -3
  48. package/dist/types/src/app/components/metadata-list.d.ts +3 -3
  49. package/dist/types/src/app/components/nav-group.d.ts +3 -3
  50. package/dist/types/src/app/components/nav-item.d.ts +10 -8
  51. package/dist/types/src/app/components/overflow-list.d.ts +3 -1
  52. package/dist/types/src/app/components/page.d.ts +3 -1
  53. package/dist/types/src/app/components/progress.d.ts +3 -3
  54. package/dist/types/src/app/components/radio.d.ts +3 -3
  55. package/dist/types/src/app/components/reveal.d.ts +3 -1
  56. package/dist/types/src/app/components/segmented-control.d.ts +31 -31
  57. package/dist/types/src/app/components/select.d.ts +29 -0
  58. package/dist/types/src/app/components/selectable-card.d.ts +3 -3
  59. package/dist/types/src/app/components/side-nav.d.ts +6 -4
  60. package/dist/types/src/app/components/skeleton.d.ts +3 -3
  61. package/dist/types/src/app/components/sketch.d.ts +6 -0
  62. package/dist/types/src/app/components/slider.d.ts +3 -3
  63. package/dist/types/src/app/components/spinner.d.ts +3 -3
  64. package/dist/types/src/app/components/stacked-card-rail.d.ts +32 -0
  65. package/dist/types/src/app/components/stat.d.ts +3 -3
  66. package/dist/types/src/app/components/status-dot.d.ts +4 -4
  67. package/dist/types/src/app/components/status-list-item.d.ts +3 -3
  68. package/dist/types/src/app/components/stepper.d.ts +6 -4
  69. package/dist/types/src/app/components/surface.d.ts +4 -4
  70. package/dist/types/src/app/components/table.d.ts +22 -11
  71. package/dist/types/src/app/components/tag.d.ts +4 -4
  72. package/dist/types/src/app/components/text.d.ts +3 -3
  73. package/dist/types/src/app/components/textarea.d.ts +4 -4
  74. package/dist/types/src/app/components/time-input.d.ts +3 -3
  75. package/dist/types/src/app/components/toast.d.ts +3 -3
  76. package/dist/types/src/app/components/toggle-button.d.ts +4 -4
  77. package/dist/types/src/app/components/toggle.d.ts +3 -3
  78. package/dist/types/src/app/components/token.d.ts +23 -17
  79. package/dist/types/src/app/components/toolbar.d.ts +1 -1
  80. package/dist/types/src/app/components/tooltip.d.ts +2 -2
  81. package/dist/types/src/app/components/top-nav.d.ts +3 -1
  82. package/dist/types/src/app/components/tree-list.d.ts +3 -1
  83. package/dist/types/src/app/design-system/generated-token-refs.d.ts +39 -6
  84. package/dist/types/src/app/design-system/generated-token-values.d.ts +12 -16
  85. package/dist/types/src/app/design-system/tokens.d.ts +16 -5
  86. package/dist/types/src/app/layouts/DocLayout.d.ts +0 -2
  87. package/dist/types/src/app/layouts/HdsDocsShell.d.ts +72 -0
  88. package/dist/types/src/app/layouts/HdsSystemDocLayout.d.ts +8 -1
  89. package/dist/types/src/index.d.ts +216 -39
  90. package/dist/types/src/patterns.d.ts +37 -0
  91. package/dist/variables.css +100 -28
  92. package/hirobius.tokens.json +199 -88
  93. package/package.json +43 -28
  94. package/public/hds-manifest.json +1916 -601
  95. package/dist/chunks/TokenDisplayContext-B3gxyQN7.js +0 -96
  96. /package/dist/types/src/app/components/{lab/tokenUtils.d.ts → tokenUtils.d.ts} +0 -0
package/dist/tokens.js CHANGED
@@ -125,23 +125,20 @@ const a = {
125
125
  mono: ["Geist Mono", "Courier New", "monospace"]
126
126
  },
127
127
  size: {
128
- "2xs": "10px",
129
- xs: "13px",
130
- sm: "15px",
131
- base: "17px",
132
- lg: "20px",
133
- xl: "24px",
134
- "2xl": "30px",
135
- "3xl": "36px",
136
- "4xl": "48px",
137
- "5xl": "72px",
138
- "6xl": "80px"
128
+ xs: "12px",
129
+ sm: "14px",
130
+ base: "16px",
131
+ lg: "18px",
132
+ xl: "20px",
133
+ "2xl": "24px",
134
+ "3xl": "30px",
135
+ "4xl": "36px",
136
+ "5xl": "48px",
137
+ "6xl": "60px"
139
138
  },
140
139
  weight: {
141
- light: "300",
142
140
  regular: "400",
143
141
  medium: "500",
144
- semibold: "600",
145
142
  bold: "700"
146
143
  },
147
144
  lineHeight: {
@@ -153,11 +150,8 @@ const a = {
153
150
  relaxed: "1.625"
154
151
  },
155
152
  letterSpacing: {
156
- tighter: "-0.02em",
157
153
  tight: "-0.01em",
158
154
  normal: "0em",
159
- wide: "0.01em",
160
- wider: "0.02em",
161
155
  caps: "0.06em"
162
156
  }
163
157
  },
@@ -197,10 +191,12 @@ const a = {
197
191
  80: "80px",
198
192
  96: "96px",
199
193
  interactive: {
200
- min: "44px"
194
+ min: "44px",
195
+ minCompact: "24px"
201
196
  },
202
197
  width: {
203
198
  96: "96px",
199
+ 280: "280px",
204
200
  760: "760px",
205
201
  1200: "1200px",
206
202
  "50ch": "50ch"
@@ -399,8 +395,14 @@ const o = "var(--primitive-typography-family-primary)", n = "var(--primitive-typ
399
395
  brandRGB: "30,46,253",
400
396
  white: "var(--primitive-color-neutral-white)",
401
397
  surface: {
402
- page: { dark: "var(--semantic-color-surface-page)", light: "var(--semantic-color-surface-page)" },
403
- raised: { dark: "var(--semantic-color-surface-raised)", light: "var(--semantic-color-surface-raised)" }
398
+ page: {
399
+ dark: "var(--semantic-color-surface-page)",
400
+ light: "var(--semantic-color-surface-page)"
401
+ },
402
+ raised: {
403
+ dark: "var(--semantic-color-surface-raised)",
404
+ light: "var(--semantic-color-surface-raised)"
405
+ }
404
406
  },
405
407
  blue: {
406
408
  50: "var(--primitive-color-blue-50)",
@@ -416,17 +418,28 @@ const o = "var(--primitive-typography-family-primary)", n = "var(--primitive-typ
416
418
  900: "var(--primitive-color-blue-900)"
417
419
  },
418
420
  feedback: {
419
- success: { dark: a.primitive.color.green[400], light: a.primitive.color.green[700] },
420
- warning: { dark: a.primitive.color.amber[400], light: a.primitive.color.amber[800] },
421
- error: { dark: a.primitive.color.red[400], light: a.primitive.color.red[700] },
422
- info: { dark: a.primitive.color.blue[300], light: a.primitive.color.blue[500] }
421
+ success: {
422
+ dark: a.primitive.color.green[400],
423
+ light: a.primitive.color.green[700]
424
+ },
425
+ warning: {
426
+ dark: a.primitive.color.amber[400],
427
+ light: a.primitive.color.amber[800]
428
+ },
429
+ error: {
430
+ dark: a.primitive.color.red[400],
431
+ light: a.primitive.color.red[700]
432
+ },
433
+ info: {
434
+ dark: a.primitive.color.blue[300],
435
+ light: a.primitive.color.blue[500]
436
+ }
423
437
  }
424
438
  },
425
439
  // ── Typography ───────────────────────────────────────────────────────────────
426
440
  fontFamily: o,
427
441
  monoFamily: n,
428
442
  fontSize: {
429
- "2xs": "var(--primitive-typography-size-2xs)",
430
443
  xs: "var(--primitive-typography-size-xs)",
431
444
  sm: "var(--primitive-typography-size-sm)",
432
445
  base: "var(--primitive-typography-size-base)",
@@ -440,7 +453,6 @@ const o = "var(--primitive-typography-family-primary)", n = "var(--primitive-typ
440
453
  fontWeight: {
441
454
  regular: "var(--primitive-typography-weight-regular)",
442
455
  medium: "var(--primitive-typography-weight-medium)",
443
- semibold: "var(--primitive-typography-weight-semibold)",
444
456
  bold: "var(--primitive-typography-weight-bold)"
445
457
  },
446
458
  lineHeight: {
@@ -452,11 +464,8 @@ const o = "var(--primitive-typography-family-primary)", n = "var(--primitive-typ
452
464
  relaxed: "var(--primitive-typography-lineHeight-relaxed)"
453
465
  },
454
466
  letterSpacing: {
455
- tighter: "var(--primitive-typography-letterSpacing-tighter)",
456
467
  tight: "var(--primitive-typography-letterSpacing-tight)",
457
- normal: "var(--primitive-typography-letterSpacing-normal)",
458
- wide: "var(--primitive-typography-letterSpacing-wide)",
459
- wider: "var(--primitive-typography-letterSpacing-wider)"
468
+ normal: "var(--primitive-typography-letterSpacing-normal)"
460
469
  },
461
470
  semantic: {
462
471
  color: {
@@ -469,20 +478,41 @@ const o = "var(--primitive-typography-family-primary)", n = "var(--primitive-typ
469
478
  }
470
479
  },
471
480
  space: {
481
+ // hds#206 — canonical t-shirt spacing scale (slice 1: #297). Prefer this
482
+ // over the deprecated `component`/`layout` aliases below for new code.
483
+ scale: {
484
+ xs: "var(--semantic-space-scale-xs)",
485
+ sm: "var(--semantic-space-scale-sm)",
486
+ md: "var(--semantic-space-scale-md)",
487
+ lg: "var(--semantic-space-scale-lg)",
488
+ xl: "var(--semantic-space-scale-xl)"
489
+ },
490
+ // hds#206 slice 3 — the overridable roles. Default scale.md (24px);
491
+ // tenants.css overrides surface.padding per brand/density and theme.css
492
+ // sets region.gutter responsively (scale.lg / scale.sm).
493
+ surface: {
494
+ padding: "var(--semantic-space-surface-padding)"
495
+ },
496
+ region: {
497
+ gutter: "var(--semantic-space-region-gutter)"
498
+ },
472
499
  subgrid: {
473
500
  gap: "var(--semantic-space-subgrid-gap)",
474
501
  hairline: "var(--semantic-space-subgrid-hairline)",
475
502
  xs: "var(--semantic-space-subgrid-xs)"
476
503
  },
477
504
  component: {
478
- padding: "var(--semantic-space-component-padding)",
479
- gap: "var(--semantic-space-component-gap)"
505
+ /** @deprecated hds#206 — use `semantic.space.surface.padding`. */
506
+ padding: "var(--semantic-space-surface-padding)",
507
+ /** @deprecated hds#206 — use `semantic.space.scale.xs`. */
508
+ gap: "var(--semantic-space-scale-xs)"
480
509
  },
481
510
  stack: {
482
511
  gap: "var(--semantic-space-section-stack)"
483
512
  },
484
513
  layout: {
485
- gutter: "var(--semantic-space-layout-gutter)",
514
+ /** @deprecated hds#206 — use `semantic.space.region.gutter`. */
515
+ gutter: "var(--semantic-space-region-gutter)",
486
516
  gap: "var(--semantic-space-layout-gap)",
487
517
  section: "var(--semantic-layout-section-paddingY)"
488
518
  },
@@ -547,12 +577,21 @@ const o = "var(--primitive-typography-family-primary)", n = "var(--primitive-typ
547
577
  labelTechnical: i.semantic.typography.mono
548
578
  },
549
579
  // ── Icons ────────────────────────────────────────────────────────────────────
580
+ // Sized off primitive.size, NOT the type ramp. An icon is geometry: it sits
581
+ // beside text, it does not scale with it. These were pointed at
582
+ // typography.size.base/lg/xl, which happened to read 16/20/24 — so the
583
+ // coupling was invisible until the ramp moved. Rescaling the ramp (hds#283)
584
+ // would have silently shrunk every medium icon 20→18 and every large 24→20,
585
+ // for no typographic reason, and no gate would have said a word.
586
+ //
587
+ // component.button.size.*.iconSize already referenced primitive.size; this
588
+ // brings the global bridge in line with what the component tokens do.
550
589
  iconSize: {
551
- small: "var(--primitive-typography-size-base)",
590
+ small: "var(--primitive-size-16)",
552
591
  // 16px — default icon size
553
- medium: "var(--primitive-typography-size-lg)",
592
+ medium: "var(--primitive-size-20)",
554
593
  // 20px — prominent icons
555
- large: "var(--primitive-typography-size-xl)"
594
+ large: "var(--primitive-size-24)"
556
595
  // 24px — hero / large empty states
557
596
  },
558
597
  // ── Density-aware spacing ────────────────────────────────────────────────────
@@ -60,12 +60,14 @@ export interface ActivityEvent {
60
60
  export interface ActivityFeedProps {
61
61
  events: ActivityEvent[];
62
62
  }
63
- declare const activityToneVariants: (props?: {
64
- tone?: "success" | "danger" | "warning" | "info" | "neutral";
65
- } & import("class-variance-authority/dist/types").ClassProp) => string;
66
- declare const activityAvatarVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
63
+ declare const activityToneVariants: (props?: ({
64
+ tone?: "success" | "danger" | "warning" | "info" | "neutral" | null | undefined;
65
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
66
+ declare const activityAvatarVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
67
67
  /** @internal — demo placeholder data; supply your own ActivityEvent[] via the events prop. */
68
68
  export declare const defaultActivityEvents: ActivityEvent[];
69
+ /**
70
+ */
69
71
  export declare function ActivityFeed({ events }: ActivityFeedProps): import("react/jsx-runtime").JSX.Element;
70
72
  /** @internal — CVA variant helpers; compose via ActivityFeed/ActivityEvent props instead. */
71
73
  export { activityToneVariants, activityAvatarVariants };
@@ -17,9 +17,9 @@
17
17
  */
18
18
  import * as React from 'react';
19
19
  import { type VariantProps } from 'class-variance-authority';
20
- declare const appShellVariants: (props?: {
21
- sidebarWidth?: "sm" | "md" | "lg";
22
- } & import("class-variance-authority/dist/types").ClassProp) => string;
20
+ declare const appShellVariants: (props?: ({
21
+ sidebarWidth?: "sm" | "md" | "lg" | null | undefined;
22
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
23
23
  type AppShellVariantProps = VariantProps<typeof appShellVariants>;
24
24
  /** @public */
25
25
  export interface AppShellProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
@@ -32,7 +32,9 @@ export interface AppShellProps extends Omit<React.HTMLAttributes<HTMLDivElement>
32
32
  /** Sidebar width token: sm (224px) / md (256px) / lg (288px). Defaults to 'md'. */
33
33
  sidebarWidth?: NonNullable<AppShellVariantProps['sidebarWidth']>;
34
34
  }
35
- /** Renders a header/sidebar/main application frame, e.g. `<AppShell sidebar={<Nav />}>...</AppShell>`. */
35
+ /**
36
+ * Renders a header/sidebar/main application frame, e.g. `<AppShell sidebar={<Nav />}>...</AppShell>`.
37
+ */
36
38
  export declare const AppShell: React.ForwardRefExoticComponent<AppShellProps & React.RefAttributes<HTMLDivElement>>;
37
39
  /** @internal — CVA variant helper; compose via AppShell props instead. */
38
40
  export { appShellVariants };
@@ -49,6 +49,8 @@ export interface AssetImgProps {
49
49
  * Display asset frame with fallback placeholder handling.
50
50
  * @category Display
51
51
  */
52
- /** @public */
52
+ /**
53
+ * @public
54
+ */
53
55
  export declare function AssetImg({ src, alt, title, style, className, draggable, isDark: _isDark, naturalWidth, naturalHeight, onClick, onMouseDown, onMouseMove, onMouseUp, onMouseLeave, expandable, expandLabel, context, loading, }: AssetImgProps): import("react/jsx-runtime").JSX.Element;
54
56
  export {};
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import * as React from 'react';
7
7
  import { type VariantProps } from 'class-variance-authority';
8
- declare const overflowBubbleVariants: (props?: {
9
- size?: "sm" | "md" | "lg";
10
- } & import("class-variance-authority/dist/types").ClassProp) => string;
8
+ declare const overflowBubbleVariants: (props?: ({
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  type OverflowBubbleVariantProps = VariantProps<typeof overflowBubbleVariants>;
12
12
  /** @public */
13
13
  export interface AvatarGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, OverflowBubbleVariantProps {
@@ -6,9 +6,9 @@
6
6
  */
7
7
  import * as React from 'react';
8
8
  import { type VariantProps } from 'class-variance-authority';
9
- declare const avatarVariants: (props?: {
10
- size?: "sm" | "md" | "lg";
11
- } & import("class-variance-authority/dist/types").ClassProp) => string;
9
+ declare const avatarVariants: (props?: ({
10
+ size?: "sm" | "md" | "lg" | null | undefined;
11
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  type AvatarVariantProps = VariantProps<typeof avatarVariants>;
13
13
  /** @public */
14
14
  export interface AvatarProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'>, AvatarVariantProps {
@@ -6,9 +6,9 @@
6
6
  */
7
7
  import * as React from 'react';
8
8
  import { type VariantProps } from 'class-variance-authority';
9
- declare const badgeVariants: (props?: {
10
- tone?: "success" | "danger" | "warning" | "info" | "neutral" | "inProgress";
11
- } & import("class-variance-authority/dist/types").ClassProp) => string;
9
+ declare const badgeVariants: (props?: ({
10
+ tone?: "success" | "danger" | "warning" | "info" | "neutral" | "inProgress" | null | undefined;
11
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  type BadgeVariantProps = VariantProps<typeof badgeVariants>;
13
13
  /** @public */
14
14
  export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'style'>, BadgeVariantProps {
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import * as React from 'react';
7
7
  import { type VariantProps } from 'class-variance-authority';
8
- declare const blockquoteVariants: (props?: {
9
- size?: "sm" | "md" | "lg";
10
- } & import("class-variance-authority/dist/types").ClassProp) => string;
8
+ declare const blockquoteVariants: (props?: ({
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  type BlockquoteVariantProps = VariantProps<typeof blockquoteVariants>;
12
12
  /** @public */
13
13
  export interface BlockquoteProps extends React.BlockquoteHTMLAttributes<HTMLQuoteElement>, BlockquoteVariantProps {
@@ -5,9 +5,9 @@
5
5
  * @figma https://www.figma.com/design/c8MaVgwxOlxm4wr8wnH0Z4/HDS-Tokens-Components?node-id=86-159
6
6
  */
7
7
  import * as React from 'react';
8
- declare const crumbLabelVariants: (props?: {
9
- current?: boolean;
10
- } & import("class-variance-authority/dist/types").ClassProp) => string;
8
+ declare const crumbLabelVariants: (props?: ({
9
+ current?: boolean | null | undefined;
10
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  /** @public */
12
12
  export interface BreadcrumbItem {
13
13
  /** Visible label for the crumb. */
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import * as React from 'react';
7
7
  import { type VariantProps } from 'class-variance-authority';
8
- declare const buttonGroupVariants: (props?: {
9
- orientation?: "horizontal" | "vertical";
10
- } & import("class-variance-authority/dist/types").ClassProp) => string;
8
+ declare const buttonGroupVariants: (props?: ({
9
+ orientation?: "horizontal" | "vertical" | null | undefined;
10
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  type ButtonGroupVariantProps = VariantProps<typeof buttonGroupVariants>;
12
12
  /** @public */
13
13
  export interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement>, ButtonGroupVariantProps {
@@ -7,12 +7,12 @@
7
7
  */
8
8
  import * as React from 'react';
9
9
  import { type VariantProps } from 'class-variance-authority';
10
- declare const buttonVariants: (props?: {
11
- variant?: "primary" | "secondary" | "tertiary";
12
- tone?: "success" | "danger" | "warning" | "info" | "neutral";
13
- size?: "sm" | "md" | "lg";
14
- iconOnly?: boolean;
15
- } & import("class-variance-authority/dist/types").ClassProp) => string;
10
+ declare const buttonVariants: (props?: ({
11
+ variant?: "primary" | "secondary" | "tertiary" | null | undefined;
12
+ tone?: "success" | "danger" | "warning" | "info" | "neutral" | null | undefined;
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ iconOnly?: boolean | null | undefined;
15
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
16
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
17
17
  /** @public */
18
18
  export interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, Omit<ButtonVariantProps, 'iconOnly'> {
@@ -16,5 +16,7 @@ import * as React from 'react';
16
16
  import { DayPicker } from 'react-day-picker';
17
17
  /** @public */
18
18
  export type CalendarProps = React.ComponentProps<typeof DayPicker>;
19
- /** Renders an accessible month grid; compose it inside a Popover for the date inputs. */
19
+ /**
20
+ * Renders an accessible month grid; compose it inside a Popover for the date inputs.
21
+ */
20
22
  export declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
@@ -6,10 +6,10 @@
6
6
  import * as React from 'react';
7
7
  import { type VariantProps } from 'class-variance-authority';
8
8
  type CalloutTone = 'accent' | 'info' | 'success' | 'warning' | 'danger';
9
- declare const calloutVariants: (props?: {
10
- tone?: "success" | "danger" | "warning" | "info" | "accent";
11
- italic?: boolean;
12
- } & import("class-variance-authority/dist/types").ClassProp) => string;
9
+ declare const calloutVariants: (props?: ({
10
+ tone?: "success" | "danger" | "warning" | "info" | "accent" | null | undefined;
11
+ italic?: boolean | null | undefined;
12
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  type CalloutVariantProps = VariantProps<typeof calloutVariants>;
14
14
  export interface CalloutProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'>, Omit<CalloutVariantProps, 'italic'> {
15
15
  /** Tone — drives the left rule color and bg tint. */
@@ -51,11 +51,11 @@ type GapOption = 'tight' | 'normal' | 'inset' | 'spacious' | keyof typeof hds.sp
51
51
  export type CardVariant = 'default' | 'accent';
52
52
  /** @public */
53
53
  export type CardTone = 'neutral' | 'danger' | 'success' | 'warning' | 'info';
54
- declare const cardVariants: (props?: {
55
- variant?: "default" | "accent";
56
- tone?: "success" | "danger" | "warning" | "info" | "neutral";
57
- bordered?: boolean;
58
- } & import("class-variance-authority/dist/types").ClassProp) => string;
54
+ declare const cardVariants: (props?: ({
55
+ variant?: "default" | "accent" | null | undefined;
56
+ tone?: "success" | "danger" | "warning" | "info" | "neutral" | null | undefined;
57
+ bordered?: boolean | null | undefined;
58
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
59
59
  /** @public */
60
60
  export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
61
61
  /** Render-as element for the root wrapper. */
@@ -6,9 +6,9 @@
6
6
  * @public
7
7
  */
8
8
  import * as React from 'react';
9
- declare const carouselControlVariants: (props?: {
10
- variant?: "next" | "prev";
11
- } & import("class-variance-authority/dist/types").ClassProp) => string;
9
+ declare const carouselControlVariants: (props?: ({
10
+ variant?: "next" | "prev" | null | undefined;
11
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  /** @public */
13
13
  export interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
14
14
  /** Slides rendered inside the scroll-snap track. */
@@ -18,7 +18,9 @@ export interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
18
18
  /** Show the Prev/Next scroll affordance buttons. Defaults to true. */
19
19
  showControls?: boolean;
20
20
  }
21
- /** Renders children as a snap-scrolling track with Prev/Next scroll buttons. */
21
+ /**
22
+ * Renders children as a snap-scrolling track with Prev/Next scroll buttons.
23
+ */
22
24
  export declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLElement>>;
23
25
  /** @internal — CVA variant helper; compose via Carousel instead. */
24
26
  export { carouselControlVariants };
@@ -1,11 +1,11 @@
1
1
  /**
2
- * HdsCheckbox — custom-drawn checkbox with check / indeterminate glyph.
2
+ * Checkbox — custom-drawn checkbox with check / indeterminate glyph.
3
3
  * @category Inputs
4
4
  * @tier primitive
5
5
  * @figma https://www.figma.com/design/c8MaVgwxOlxm4wr8wnH0Z4/HDS-Tokens-Components?node-id=35-29
6
6
  */
7
7
  import type { InputHTMLAttributes } from 'react';
8
- /** HdsCheckbox — custom-drawn checkbox with check / indeterminate glyph. */
8
+ /** Checkbox — custom-drawn checkbox with check / indeterminate glyph. */
9
9
  export type HdsCheckboxDemoState = 'rest' | 'hover' | 'focused' | 'pressed' | 'disabled';
10
10
  export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'onChange'> {
11
11
  /** Checkbox label displayed next to the control. */
@@ -17,4 +17,4 @@ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement
17
17
  /** Mixed state — visually a dash; supersedes the check glyph. */
18
18
  indeterminate?: boolean;
19
19
  }
20
- export declare const HdsCheckbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
20
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -8,5 +8,11 @@ export interface CinematicLinkProps extends Omit<React.AnchorHTMLAttributes<HTML
8
8
  href: string;
9
9
  children: string;
10
10
  }
11
- /** @public */
11
+ /**
12
+ * CinematicLink - cinematic editorial link treatment for portfolio surfaces.
13
+ *
14
+ * @public
15
+ * @deprecated CinematicLink is an HDS docs/lab internal (editorial link treatment for portfolio/case-study specimen surfaces), not a consumer-facing HDS surface. It will be retiered to `utility` (dropped from the published barrel) at the named major.
16
+ * @removeIn 1.0.0
17
+ */
12
18
  export declare function CinematicLink({ href, children, style, className, ...rest }: CinematicLinkProps): import("react/jsx-runtime").JSX.Element;
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import * as React from 'react';
7
7
  import { type VariantProps } from 'class-variance-authority';
8
- declare const circularProgressVariants: (props?: {
9
- tone?: "success" | "danger" | "warning" | "info" | "neutral";
10
- } & import("class-variance-authority/dist/types").ClassProp) => string;
8
+ declare const circularProgressVariants: (props?: ({
9
+ tone?: "success" | "danger" | "warning" | "info" | "neutral" | null | undefined;
10
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  type CircularProgressVariantProps = VariantProps<typeof circularProgressVariants>;
12
12
  /** @public */
13
13
  export interface CircularProgressProps extends React.HTMLAttributes<HTMLSpanElement>, CircularProgressVariantProps {
@@ -4,23 +4,23 @@
4
4
  * @tier primitive
5
5
  * @figma https://www.figma.com/design/c8MaVgwxOlxm4wr8wnH0Z4/HDS-Tokens-Components?node-id=89-154
6
6
  */
7
- declare const blockContainerVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
8
- declare const inlineWrapperVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
9
- declare const blockHeaderVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
10
- declare const collapsibleToggleVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
11
- declare const chevronVariants: (props?: {
12
- expanded?: boolean;
13
- } & import("class-variance-authority/dist/types").ClassProp) => string;
14
- declare const copyButtonVariants: (props?: {
15
- variant?: "block" | "inline";
16
- } & import("class-variance-authority/dist/types").ClassProp) => string;
17
- declare const inlineCodeTextVariants: (props?: {
18
- truncateFromStart?: boolean;
19
- } & import("class-variance-authority/dist/types").ClassProp) => string;
20
- declare const blockCodeTextVariants: (props?: import("class-variance-authority/dist/types").ClassProp) => string;
21
- declare const prePanelVariants: (props?: {
22
- panelBackground?: boolean;
23
- } & import("class-variance-authority/dist/types").ClassProp) => string;
7
+ declare const blockContainerVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
8
+ declare const inlineWrapperVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
9
+ declare const blockHeaderVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
10
+ declare const collapsibleToggleVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
11
+ declare const chevronVariants: (props?: ({
12
+ expanded?: boolean | null | undefined;
13
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
+ declare const copyButtonVariants: (props?: ({
15
+ variant?: "block" | "inline" | null | undefined;
16
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
17
+ declare const inlineCodeTextVariants: (props?: ({
18
+ truncateFromStart?: boolean | null | undefined;
19
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
20
+ declare const blockCodeTextVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
21
+ declare const prePanelVariants: (props?: ({
22
+ panelBackground?: boolean | null | undefined;
23
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
24
24
  export interface CodeBlockProps {
25
25
  /** Code string displayed in the block. */
26
26
  code: string;
@@ -42,7 +42,9 @@ export interface CodeBlockProps {
42
42
  /** Optional class hook for layout-specific styling. */
43
43
  className?: string;
44
44
  }
45
- /** @public */
45
+ /**
46
+ * @public
47
+ */
46
48
  export declare function CodeBlock({ code, variant, truncateFromStart, language, filename, collapsible, defaultExpanded, className, }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
47
49
  /** @internal — CVA variant helpers; compose via CodeBlock props instead. */
48
50
  export { blockContainerVariants, inlineWrapperVariants, blockHeaderVariants, collapsibleToggleVariants, copyButtonVariants, inlineCodeTextVariants, blockCodeTextVariants, prePanelVariants, chevronVariants, };
@@ -22,15 +22,15 @@
22
22
  * stripped before render.
23
23
  */
24
24
  import * as React from 'react';
25
- declare const cmdkRowVariants: (props?: {
26
- active?: boolean;
27
- } & import("class-variance-authority/dist/types").ClassProp) => string;
28
- declare const cmdkKindBadgeVariants: (props?: {
29
- active?: boolean;
30
- } & import("class-variance-authority/dist/types").ClassProp) => string;
31
- declare const cmdkDescriptionVariants: (props?: {
32
- active?: boolean;
33
- } & import("class-variance-authority/dist/types").ClassProp) => string;
25
+ declare const cmdkRowVariants: (props?: ({
26
+ active?: boolean | null | undefined;
27
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
28
+ declare const cmdkKindBadgeVariants: (props?: ({
29
+ active?: boolean | null | undefined;
30
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
31
+ declare const cmdkDescriptionVariants: (props?: ({
32
+ active?: boolean | null | undefined;
33
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
34
34
  export interface CommandPaletteProps {
35
35
  /** Optional className for the trigger button. */
36
36
  className?: string;
@@ -6,7 +6,13 @@
6
6
  * @doc-exempt: specimen matrix helper used by docs pages, not a consumer-facing HDS surface.
7
7
  */
8
8
  import React from 'react';
9
- /** @public */
9
+ /**
10
+ * ComponentInstanceMatrix — responsive specimen matrix for variant and state parity.
11
+ *
12
+ * @public
13
+ * @deprecated ComponentInstanceMatrix is an HDS docs/lab internal (specimen matrix helper for the component doc pages), not a consumer-facing HDS surface. It will be retiered to `utility` (dropped from the published barrel) at the named major.
14
+ * @removeIn 1.0.0
15
+ */
10
16
  export declare function ComponentInstanceMatrix({ componentName, dimensionX, dimensionY, title, isMobile: _isMobile, rowLabelWidth: _rowLabelWidth, rowLabelTone, freezeRowState, renderInstance, }: {
11
17
  componentName: string;
12
18
  dimensionX: string;
@@ -18,4 +24,4 @@ export declare function ComponentInstanceMatrix({ componentName, dimensionX, dim
18
24
  /** Wrap each row's rendered instance in FreezeState so the visual state is frozen. */
19
25
  freezeRowState?: boolean;
20
26
  renderInstance: (rowKey: string, columnKey: string) => React.ReactNode;
21
- }): import("react/jsx-runtime").JSX.Element;
27
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -6,9 +6,9 @@
6
6
  */
7
7
  import React, { type CSSProperties, type ReactNode } from 'react';
8
8
  type DisclosureVariant = 'panel' | 'nav' | 'card';
9
- declare const disclosureTriggerVariants: (props?: {
10
- variant?: "nav" | "panel" | "card";
11
- } & import("class-variance-authority/dist/types").ClassProp) => string;
9
+ declare const disclosureTriggerVariants: (props?: ({
10
+ variant?: "nav" | "panel" | "card" | null | undefined;
11
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  export type DisclosureProps = {
13
13
  /** Summary label rendered in the disclosure trigger. Accepts a string or ReactNode for icon+label combos. */
14
14
  label: ReactNode;
@@ -6,10 +6,10 @@
6
6
  */
7
7
  import * as React from 'react';
8
8
  import { type VariantProps } from 'class-variance-authority';
9
- declare const dividerVariants: (props?: {
10
- orientation?: "horizontal" | "vertical";
11
- variant?: "default" | "strong";
12
- } & import("class-variance-authority/dist/types").ClassProp) => string;
9
+ declare const dividerVariants: (props?: ({
10
+ orientation?: "horizontal" | "vertical" | null | undefined;
11
+ variant?: "default" | "strong" | null | undefined;
12
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  type DividerVariantProps = VariantProps<typeof dividerVariants>;
14
14
  /** @public */
15
15
  export interface DividerProps extends Omit<React.HTMLAttributes<HTMLHRElement>, 'children'>, DividerVariantProps {
@@ -21,10 +21,12 @@ export interface DocLinkCardProps {
21
21
  /** Directional affordance for the header icon. */
22
22
  affordance?: 'up-right' | 'right' | 'left';
23
23
  }
24
- declare const docLinkCardVariants: (props?: {
25
- variant?: "feature" | "pager";
26
- } & import("class-variance-authority/dist/types").ClassProp) => string;
27
- /** @public */
24
+ declare const docLinkCardVariants: (props?: ({
25
+ variant?: "feature" | "pager" | null | undefined;
26
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
27
+ /**
28
+ * @public
29
+ */
28
30
  export declare function DocLinkCard({ title, description, href, icon: CardIcon, meta, metaStyle, accent, variant, disabled, affordance, }: DocLinkCardProps): import("react/jsx-runtime").JSX.Element;
29
31
  /** @internal — CVA variant helper; compose via DocLinkCard props instead. */
30
32
  export { docLinkCardVariants };