@helixds/react 0.1.0 → 0.2.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 (114) hide show
  1. package/AGENTS.md +4 -1
  2. package/dist/archetypes/actions-navigation.md +62 -0
  3. package/dist/archetypes/data-display.md +68 -0
  4. package/dist/archetypes/feedback-status.md +54 -0
  5. package/dist/archetypes/form-selection.md +61 -0
  6. package/dist/archetypes/foundation.md +56 -0
  7. package/dist/archetypes/layout.md +53 -0
  8. package/dist/archetypes/overlays.md +54 -0
  9. package/dist/archetypes/text-input.md +58 -0
  10. package/dist/components/Badge/Badge.types.d.ts +1 -1
  11. package/dist/components/Combobox/Combobox.d.ts +17 -0
  12. package/dist/components/Combobox/Combobox.doc.d.ts +4 -0
  13. package/dist/components/Combobox/Combobox.doc.js +41 -0
  14. package/dist/components/Combobox/Combobox.js +141 -0
  15. package/dist/components/Combobox/Combobox.types.d.ts +31 -0
  16. package/dist/components/Combobox/Combobox.types.js +2 -0
  17. package/dist/components/Combobox/index.d.ts +9 -0
  18. package/dist/components/Combobox/index.js +2 -0
  19. package/dist/components/Icon/Icon.doc.js +2 -2
  20. package/dist/components/Icon/Icon.js +1 -1
  21. package/dist/components/Icon/Icon.types.d.ts +1 -1
  22. package/dist/components/Icon/iconStroke.d.ts +1 -1
  23. package/dist/components/Icon/iconStroke.js +1 -1
  24. package/dist/components/Menu/Menu.doc.js +4 -4
  25. package/dist/components/Menu/Menu.js +3 -3
  26. package/dist/components/Menu/Menu.types.d.ts +1 -1
  27. package/dist/components/Modal/Modal.doc.js +1 -1
  28. package/dist/components/Modal/Modal.types.d.ts +1 -1
  29. package/dist/components/MultiSelect/MultiSelect.d.ts +2 -2
  30. package/dist/components/MultiSelect/MultiSelect.doc.js +1 -1
  31. package/dist/components/MultiSelect/MultiSelect.js +4 -4
  32. package/dist/components/Popover/Popover.d.ts +14 -0
  33. package/dist/components/Popover/Popover.doc.d.ts +4 -0
  34. package/dist/components/Popover/Popover.doc.js +47 -0
  35. package/dist/components/Popover/Popover.js +157 -0
  36. package/dist/components/Popover/Popover.types.d.ts +27 -0
  37. package/dist/components/Popover/Popover.types.js +2 -0
  38. package/dist/components/Popover/index.d.ts +9 -0
  39. package/dist/components/Popover/index.js +2 -0
  40. package/dist/components/SegmentedControl/SegmentedControl.doc.js +2 -2
  41. package/dist/components/SegmentedControl/SegmentedControl.js +1 -1
  42. package/dist/components/Select/Select.doc.js +2 -2
  43. package/dist/components/Select/Select.js +1 -1
  44. package/dist/components/SidePanel/SidePanel.doc.js +1 -1
  45. package/dist/components/SidePanel/SidePanel.types.d.ts +1 -1
  46. package/dist/components/Tabs/Tabs.d.ts +13 -0
  47. package/dist/components/Tabs/Tabs.doc.d.ts +4 -0
  48. package/dist/components/Tabs/Tabs.doc.js +47 -0
  49. package/dist/components/Tabs/Tabs.js +61 -0
  50. package/dist/components/Tabs/Tabs.types.d.ts +33 -0
  51. package/dist/components/Tabs/Tabs.types.js +2 -0
  52. package/dist/components/Tabs/index.d.ts +9 -0
  53. package/dist/components/Tabs/index.js +2 -0
  54. package/dist/components/Toast/Toast.doc.js +1 -1
  55. package/dist/components/Toast/Toast.js +2 -2
  56. package/dist/components/Toast/toastStore.d.ts +1 -1
  57. package/dist/components/Tooltip/Tooltip.doc.js +1 -1
  58. package/dist/components/Tooltip/Tooltip.js +5 -5
  59. package/dist/components/Tooltip/Tooltip.types.d.ts +1 -1
  60. package/dist/contracts/Accordion.json +5 -4
  61. package/dist/contracts/AppShell.json +111 -28
  62. package/dist/contracts/Avatar.json +3 -2
  63. package/dist/contracts/AvatarGroup.json +1 -0
  64. package/dist/contracts/Badge.json +2 -1
  65. package/dist/contracts/Button.json +2 -1
  66. package/dist/contracts/Card.json +3 -2
  67. package/dist/contracts/Chart.json +2 -1
  68. package/dist/contracts/Checkbox.json +1 -0
  69. package/dist/contracts/CheckboxGroup.json +1 -0
  70. package/dist/contracts/Chip.json +3 -2
  71. package/dist/contracts/ChipGroup.json +1 -0
  72. package/dist/contracts/Combobox.json +431 -0
  73. package/dist/contracts/FAB.json +3 -2
  74. package/dist/contracts/Icon.json +10 -9
  75. package/dist/contracts/IconButton.json +2 -1
  76. package/dist/contracts/Input.json +2 -1
  77. package/dist/contracts/Menu.json +7 -6
  78. package/dist/contracts/Modal.json +5 -4
  79. package/dist/contracts/MultiSelect.json +6 -5
  80. package/dist/contracts/NavItem.json +2 -1
  81. package/dist/contracts/PageHeader.json +1 -0
  82. package/dist/contracts/Popover.json +322 -0
  83. package/dist/contracts/RadioButton.json +1 -0
  84. package/dist/contracts/RadioGroup.json +1 -0
  85. package/dist/contracts/SegmentedControl.json +4 -3
  86. package/dist/contracts/Select.json +9 -9
  87. package/dist/contracts/SideNav.json +2 -1
  88. package/dist/contracts/SidePanel.json +5 -4
  89. package/dist/contracts/Switch.json +1 -0
  90. package/dist/contracts/Table.json +1 -0
  91. package/dist/contracts/Tabs.json +353 -0
  92. package/dist/contracts/Textarea.json +2 -1
  93. package/dist/contracts/Toast.json +6 -5
  94. package/dist/contracts/Tooltip.json +4 -3
  95. package/dist/contracts/TopBar.json +2 -0
  96. package/dist/contracts/manifest.json +1539 -44
  97. package/dist/index.d.ts +9 -0
  98. package/dist/index.js +6 -0
  99. package/dist/layout/AppShell/AppShell.d.ts +1 -1
  100. package/dist/layout/AppShell/AppShell.doc.js +5 -0
  101. package/dist/layout/AppShell/AppShell.js +109 -2
  102. package/dist/layout/AppShell/AppShell.types.d.ts +6 -0
  103. package/dist/layout/AppShell/AppShellContext.d.ts +17 -0
  104. package/dist/layout/AppShell/AppShellContext.js +4 -0
  105. package/dist/layout/SideNav/SideNav.doc.js +1 -0
  106. package/dist/layout/TopBar/TopBar.js +7 -1
  107. package/dist/lib/useDialogTransition.d.ts +1 -1
  108. package/dist/lib/useDialogTransition.js +1 -1
  109. package/dist/lib/useDisclosureTransition.d.ts +1 -1
  110. package/dist/lib/useDisclosureTransition.js +1 -1
  111. package/dist/patterns/expand-collapse-chevron.md +1 -1
  112. package/dist/patterns/motion-effects.md +2 -4
  113. package/package.json +26 -4
  114. package/src/globals.css +338 -22
@@ -1,19 +1,16 @@
1
1
  {
2
2
  "$schema": "../component.schema.json",
3
- "name": "AppShell",
3
+ "name": "AppShell",
4
4
  "version": "1.0.0",
5
- "status": "stable",
6
-
5
+ "status": "stable",
7
6
  "purpose": "The top-level page shell — composes a SideNav, a TopBar, and the scrollable main content into one consistent full-height layout. Never write `display: flex; min-height: 100vh` by hand again.",
8
7
  "import": "import { AppShell } from '@helixds/react';",
9
-
8
+ "archetype": "layout",
10
9
  "neverUseFor": [
11
10
  "A single content section inside an already-shelled page — AppShell is used once, at the page root",
12
11
  "Auth/marketing pages with no persistent nav — a page with no SideNav should just render its content directly, not force an empty shell"
13
12
  ],
14
-
15
13
  "rationale": "AppShell exists so no page hand-writes `display: flex; min-height: 100vh` again: it fixes one composition of SideNav, TopBar and a single scrollable <main>, which guarantees exactly one main landmark per page (WCAG 2.4.1 Bypass Blocks) and a consistent scroll container across every product screen.",
16
-
17
14
  "governance": {
18
15
  "mayExtendLocally": [
19
16
  "Choose which SideNav entries and TopBar actions a product renders",
@@ -23,36 +20,104 @@
23
20
  "mustEscalateToDS": [
24
21
  "Adding new shell regions (e.g. a right rail or a footer bar)",
25
22
  "Changing which element scrolls or rendering more than one <main>",
26
- "Nesting AppShell inside another layout or page"
23
+ "Nesting AppShell inside another layout or page",
24
+ "Changing the 768px collapse breakpoint or how the collapsed SideNav opens"
27
25
  ]
28
26
  },
29
-
30
27
  "states": {
31
28
  "intrinsic": [],
32
- "authored": []
29
+ "authored": [
30
+ {
31
+ "name": "sidenavExpanded",
32
+ "description": "Below primitive.breakpoint.tablet (768px of the shell's own width) the SideNav collapses out of view and the TopBar shows a menu IconButton (IconMenu2) that opens it over the content. Uncontrolled via `defaultSidenavExpanded`, or controlled via `sidenavExpanded`/`onSidenavExpandedChange` — same pattern as Accordion's `expanded`. At 768px and wider the SideNav is always shown and this state has no visible effect.",
33
+ "aria": "aria-expanded + aria-controls (the app-shell-nav id) on the TopBar's menu button"
34
+ }
35
+ ]
33
36
  },
34
-
35
37
  "anatomy": [
36
- { "part": "app-shell-root", "element": "div", "description": "Root — full-viewport-height flex row." },
37
- { "part": "app-shell-content", "element": "div", "description": "Flex column beside the sidenav — wraps the topbar and main." },
38
- { "part": "app-shell-main", "element": "main", "description": "Scrollable main content region." }
38
+ {
39
+ "part": "app-shell-root",
40
+ "element": "div",
41
+ "description": "Root — full-viewport-height flex row, and the size container (`app-shell`) the collapse responds to."
42
+ },
43
+ {
44
+ "part": "app-shell-nav",
45
+ "element": "div",
46
+ "description": "Wraps the sidenav slot. Below 768px it's taken out of the flow and slides in over the content, under the TopBar, when sidenavExpanded is true; hidden (visibility) when collapsed so its links aren't tabbable.",
47
+ "optional": true
48
+ },
49
+ {
50
+ "part": "app-shell-content",
51
+ "element": "div",
52
+ "description": "Flex column beside the sidenav — wraps the topbar and main."
53
+ },
54
+ {
55
+ "part": "app-shell-main",
56
+ "element": "main",
57
+ "description": "Scrollable main content region."
58
+ }
39
59
  ],
40
-
41
60
  "props": [
42
- { "name": "sidenav", "type": "React.ReactNode | undefined", "description": "A SideNav instance, rendered to the left." },
43
- { "name": "topbar", "type": "React.ReactNode | undefined", "description": "A TopBar instance, rendered above the main content." },
44
- { "name": "children", "type": "React.ReactNode", "required": true, "description": "The page's main content." },
45
- { "name": "className", "type": "string | undefined", "description": "Additional className for the root." }
61
+ {
62
+ "name": "sidenav",
63
+ "type": "React.ReactNode | undefined",
64
+ "description": "A SideNav instance, rendered to the left."
65
+ },
66
+ {
67
+ "name": "topbar",
68
+ "type": "React.ReactNode | undefined",
69
+ "description": "A TopBar instance, rendered above the main content."
70
+ },
71
+ {
72
+ "name": "children",
73
+ "type": "React.ReactNode",
74
+ "required": true,
75
+ "description": "The page's main content."
76
+ },
77
+ {
78
+ "name": "sidenavExpanded",
79
+ "type": "boolean | undefined",
80
+ "description": "Controlled: whether the collapsed SideNav is open (below 768px only). Leave unset for uncontrolled (see `defaultSidenavExpanded`)."
81
+ },
82
+ {
83
+ "name": "defaultSidenavExpanded",
84
+ "type": "boolean",
85
+ "default": "false",
86
+ "description": "Initial open state of the collapsed SideNav, for uncontrolled usage."
87
+ },
88
+ {
89
+ "name": "onSidenavExpandedChange",
90
+ "type": "(expanded: boolean) => void",
91
+ "description": "Fires whenever the collapsed SideNav opens or closes — the menu button, Escape, following a nav link or tabbing out of it."
92
+ },
93
+ {
94
+ "name": "className",
95
+ "type": "string | undefined",
96
+ "description": "Additional className for the root."
97
+ }
46
98
  ],
47
-
48
99
  "tokenPolicy": {
49
- "allowed": ["color.fill"],
50
- "forbidden": ["primitive.color"]
100
+ "allowed": [
101
+ "color.fill"
102
+ ],
103
+ "forbidden": [
104
+ "primitive.color"
105
+ ]
51
106
  },
52
-
53
107
  "a11y": {
54
108
  "role": "main (implicit from <main> on app-shell-main — exactly one per page)",
55
- "wcag": ["1.3.1 Info and Relationships", "2.4.1 Bypass Blocks"],
109
+ "keyboardNav": [
110
+ "Enter / Space on the TopBar's menu button — opens/closes the collapsed SideNav (native <button>); opening moves focus to the nav's current (or first) link",
111
+ "Escape inside the open SideNav or on the menu button — closes it and returns focus to the menu button",
112
+ "Tab past the open SideNav's last link — closes it and lands on the menu button (focus leaving the nav closes it)"
113
+ ],
114
+ "wcag": [
115
+ "1.3.1 Info and Relationships",
116
+ "2.4.1 Bypass Blocks",
117
+ "4.1.2 Name, Role, Value",
118
+ "2.1.1 Keyboard",
119
+ "1.4.10 Reflow"
120
+ ],
56
121
  "applied": {
57
122
  "nativeElement": "div",
58
123
  "innerComponents": [
@@ -102,17 +167,35 @@
102
167
  "ai-visual",
103
168
  "human"
104
169
  ],
105
- "changed": "2026-10-12"
170
+ "changed": "2026-12-05"
106
171
  }
107
172
  },
108
-
109
173
  "figma": {
110
- "childProps": {"sidenav": [{"component": "SideNav", "property": null, "note": "the side navigation"}], "topbar": [{"component": "TopBar", "property": null, "note": "the top bar"}]},
111
- "states": ["default"],
174
+ "childProps": {
175
+ "sidenav": [
176
+ {
177
+ "component": "SideNav",
178
+ "property": null,
179
+ "note": "the side navigation"
180
+ }
181
+ ],
182
+ "topbar": [
183
+ {
184
+ "component": "TopBar",
185
+ "property": null,
186
+ "note": "the top bar"
187
+ }
188
+ ]
189
+ },
190
+ "states": [
191
+ "default"
192
+ ],
112
193
  "properties": [],
113
194
  "structure": "No variants or props of its own — app-shell-root (fill/page) > SideNav instance + app-shell-content (TopBar instance + app-shell-main, 24px padding = spacing/l). Main holds sample content (PageHeader + Card instances).",
114
195
  "stories": {
115
- "Default": "sidenav=true, topbar=true"
196
+ "Default": "sidenav=true, topbar=true",
197
+ "Collapsed": "below 768px — SideNav hidden, menu button in the TopBar, sidenavExpanded=false",
198
+ "Expanded": "below 768px — SideNav open over the content, sidenavExpanded=true"
116
199
  }
117
200
  }
118
201
  }
@@ -6,14 +6,15 @@
6
6
 
7
7
  "purpose": "Represents a person or entity as a small circular image or initials indicator — a table row, a nav footer, a comment author.",
8
8
  "import": "import { Avatar } from '@helixds/react';",
9
+ "archetype": "data-display",
9
10
 
10
11
  "neverUseFor": [
11
12
  "Brand logomarks — use Image or a dedicated Logo component",
12
- "Status indication — use StatusDot/Badge; Avatar communicates identity, not state",
13
+ "Status indication — use Badge; Avatar communicates identity, not state",
13
14
  "Large hero imagery — Avatar is capped at the field/control size scale, never a feature image"
14
15
  ],
15
16
 
16
- "rationale": "Avatar reuses the field scale's semantic.size.{s,m,l} rungs (24/32/40px) instead of a local scale, so it lines up with Inputs, table rows and nav footers without per-use tweaks. It is always a circle and carries identity only — never state — so the accessible name comes from alt/name exactly once and status stays the job of Badge/StatusDot.",
17
+ "rationale": "Avatar reuses the field scale's semantic.size.{s,m,l} rungs (24/32/40px) instead of a local scale, so it lines up with Inputs, table rows and nav footers without per-use tweaks. It is always a circle and carries identity only — never state — so the accessible name comes from alt/name exactly once and status stays the job of Badge.",
17
18
 
18
19
  "governance": {
19
20
  "mayExtendLocally": [
@@ -6,6 +6,7 @@
6
6
 
7
7
  "purpose": "Shows several people or entities associated with the same record as a compact overlapping stack of Avatars, collapsing whatever doesn't fit into a '+N' count.",
8
8
  "import": "import { AvatarGroup } from '@helixds/react';",
9
+ "archetype": "data-display",
9
10
 
10
11
  "neverUseFor": [
11
12
  "A single person — use Avatar directly",
@@ -5,10 +5,11 @@
5
5
  "status": "stable",
6
6
  "purpose": "Communicates status, category labels, or counts in a compact, high-contrast capsule.",
7
7
  "import": "import { Badge } from '@helixds/react';",
8
+ "archetype": "feedback-status",
8
9
  "neverUseFor": [
9
10
  "Decoration or visual interest with no semantic meaning",
10
11
  "Long text — badges truncate at 24 characters",
11
- "Navigation items — use NavItem or Tab instead"
12
+ "Navigation items — use NavItem or Tabs instead"
12
13
  ],
13
14
 
14
15
  "rationale": "Badge uses its own local density model (20/24px) instead of the ADR-004 control ladder because it is a non-interactive label, not a control. Its off-scale 6px side padding is split into 4px + 2px scale tokens across nested boxes so no value is hardcoded, and every tone pairs a tinted fill with a text-* token checked for AA contrast in both themes.",
@@ -6,10 +6,11 @@
6
6
 
7
7
  "purpose": "Triggers an action or navigates to a destination when pressed by the user.",
8
8
  "import": "import { Button } from '@helixds/react';",
9
+ "archetype": "actions-navigation",
9
10
 
10
11
  "neverUseFor": [
11
12
  "Pure navigation between pages — use a plain <a>, styled separately",
12
- "Toggle state that persists — use a Toggle or Checkbox instead",
13
+ "Toggle state that persists — use a Switch or Checkbox instead",
13
14
  "Submitting a form implicitly — always set type='submit' explicitly"
14
15
  ],
15
16
 
@@ -6,10 +6,11 @@
6
6
 
7
7
  "purpose": "Groups related content in a visually distinct, flat surface — a dashboard widget, a settings group, a gallery tile.",
8
8
  "import": "import { Card } from '@helixds/react';",
9
+ "archetype": "data-display",
9
10
 
10
11
  "neverUseFor": [
11
12
  "Dense lists or table rows — never Card-wrap individual list items, use Table or List/Item edge-to-edge instead",
12
- "Modal or dialog surfaces — use Dialog, which needs its own focus-trap/portal behavior",
13
+ "Modal or dialog surfaces — use Modal, which needs its own focus-trap/portal behavior",
13
14
  "Page-level layout structure — use AppShell for the page shell; Card is a content container, not a layout primitive"
14
15
  ],
15
16
 
@@ -33,7 +34,7 @@
33
34
  },
34
35
 
35
36
  "anatomy": [
36
- { "part": "card-root", "element": "div", "description": "Root flat container — fill, border, radius. No shadow — see ADR-005; Helix is a flat design, shadow is reserved for overlay surfaces (Dialog, Tooltip, Popover, Menu)." },
37
+ { "part": "card-root", "element": "div", "description": "Root flat container — fill, border, radius. No shadow — see ADR-005; Helix is a flat design, shadow is reserved for overlay surfaces (Modal, Tooltip, Popover, Menu)." },
37
38
  { "part": "card-header", "element": "div", "description": "Optional header row for a title and trailing actions.", "optional": true },
38
39
  { "part": "card-body", "element": "div", "description": "Wraps the card's main content." }
39
40
  ],
@@ -2,9 +2,10 @@
2
2
  "$schema": "../component.schema.json",
3
3
  "name": "Chart",
4
4
  "version": "1.2.0",
5
- "status": "beta",
5
+ "status": "stable",
6
6
  "purpose": "Visualizes a metric with a token-branded, accessible chart so people can understand trends, comparisons, composition, or events.",
7
7
  "import": "import { Chart } from '@helixds/react';",
8
+ "archetype": "data-display",
8
9
  "neverUseFor": ["Raw ECharts options or a product-specific chart renderer", "Precise audit values without an accompanying Table", "More than six donut categories"],
9
10
 
10
11
  "rationale": "Chart wraps the charting engine behind a token-branded API (ADR-021) so series colors, axes and typography come from --helix-* tokens rather than raw library options, and every chart ships with a labelled data table for 1.1.1 Non-text Content. Consumers describe the metric; Helix owns the rendering, palette and accessibility. The palette is all blue: series 1 is the primary Button's blue and every next series is a blue far from the one before it, never a near tone, and every series meets 3:1 on the page with no outline — dark blues alternate in light mode, light blues in dark mode (ADR-021 amendment). Stacked segments and donut slices are split by a page-colored gap. Charts draw in on load — lines sweep over semantic.duration.draw with each point appearing as the line reaches it, bars and series follow semantic.duration.stagger apart, eased with semantic.easing.gentle — and render finished under prefers-reduced-motion. The area fill fades from component.chart.area-opacity to transparent. A donut whose categories stay the same but whose values change does not draw in again: each slice eases to its new angle over component.chart.duration-update with component.chart.easing-update, the gaps between slices staying even (transitions.dev donut chart).",
@@ -5,6 +5,7 @@
5
5
  "status": "stable",
6
6
  "purpose": "Lets users select one or more independent options from a set, or confirm a single binary choice.",
7
7
  "import": "import { Checkbox } from '@helixds/react';",
8
+ "archetype": "form-selection",
8
9
  "neverUseFor": [
9
10
  "Multiple mutually exclusive choices — use RadioGroup instead",
10
11
  "A single on/off setting applied immediately — use Switch instead",
@@ -6,6 +6,7 @@
6
6
 
7
7
  "purpose": "Lets users choose zero or more options from a small, visible set of independent choices.",
8
8
  "import": "import { CheckboxGroup } from '@helixds/react';",
9
+ "archetype": "form-selection",
9
10
 
10
11
  "neverUseFor": [
11
12
  "A single independent on/off choice — use Checkbox alone instead",
@@ -5,13 +5,14 @@
5
5
  "status": "stable",
6
6
  "purpose": "Represents a compact selectable label for filters, categories, or short choices.",
7
7
  "import": "import { Chip } from '@helixds/react';",
8
+ "archetype": "feedback-status",
8
9
  "neverUseFor": [
9
10
  "Primary page actions — use Button instead",
10
11
  "Long text labels — chips are compact by design",
11
12
  "Destructive confirmation flows — use a Button pair instead"
12
13
  ],
13
14
 
14
- "rationale": "Chip uses a local density model (s 24px / m 32px) instead of the control ladder so a Chip s sits exactly 4px inside a 32px field like MultiSelect (ADR-019). Its off-scale 6px icon gap is split into 4px + 2px scale tokens, and it renders as a real button so Enter/Space activation is native.",
15
+ "rationale": "Chip uses a local density model (s 24px / m 32px) instead of the control ladder so a Chip s sits exactly 4px inside a 32px field like MultiSelect (see MultiSelect's contract rationale). Its off-scale 6px icon gap is split into 4px + 2px scale tokens, and it renders as a real button so Enter/Space activation is native.",
15
16
 
16
17
  "governance": {
17
18
  "mayExtendLocally": [
@@ -142,7 +143,7 @@
142
143
  "m": 32
143
144
  },
144
145
  "unit": "px",
145
- "note": "Chip uses a local density model; this does not redefine the global scale. s = 24px (semantic.size.s, was 28px until 2026-10-01): same height as Badge s and the control ladder's s, and it sits 4px inside a 32px field (MultiSelect, ADR-019)."
146
+ "note": "Chip uses a local density model; this does not redefine the global scale. s = 24px (semantic.size.s, was 28px until 2026-10-01): same height as Badge s and the control ladder's s, and it sits 4px inside a 32px field (MultiSelect, see MultiSelect's contract rationale)."
146
147
  },
147
148
  "width": {
148
149
  "default": "hug",
@@ -5,6 +5,7 @@
5
5
  "status": "stable",
6
6
  "purpose": "Shows a small set of related chips side by side — categories, tags or applied filters — as one labelled group.",
7
7
  "import": "import { ChipGroup } from '@helixds/react';",
8
+ "archetype": "feedback-status",
8
9
  "neverUseFor": [
9
10
  "A single chip — use Chip alone instead",
10
11
  "Choices the user turns on and off — use CheckboxGroup, RadioGroup or SegmentedControl instead",