@behavioral-agentic-design-system/core 0.45.0 → 0.48.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 (240) hide show
  1. package/package.json +17 -3
  2. package/scripts/a11y-lint.cjs +78 -15
  3. package/scripts/bads-sync.mjs +1 -1
  4. package/scripts/build-tokens.cjs +122 -7
  5. package/scripts/check-dark-contrast.mjs +204 -0
  6. package/scripts/check-flush-edges.mjs +245 -0
  7. package/scripts/design-system-advisory/README.md +239 -0
  8. package/scripts/design-system-advisory/check-copy-punctuation.mjs +44 -0
  9. package/scripts/design-system-advisory/check-even-padding.mjs +35 -0
  10. package/scripts/design-system-advisory/check-hand-built-button.mjs +46 -0
  11. package/scripts/design-system-advisory/check-html-nesting.mjs +51 -0
  12. package/scripts/design-system-advisory/check-icon-sizing.mjs +79 -0
  13. package/scripts/design-system-advisory/check-label-case.mjs +92 -0
  14. package/scripts/design-system-advisory/check-native-form-controls.mjs +53 -0
  15. package/scripts/design-system-advisory/check-radius.mjs +56 -0
  16. package/scripts/design-system-advisory/check-raw-values.mjs +61 -0
  17. package/scripts/design-system-advisory/check-small-text.mjs +72 -0
  18. package/scripts/design-system-advisory/check-tap-target.mjs +70 -0
  19. package/scripts/design-system-advisory/defaults.mjs +90 -0
  20. package/scripts/design-system-advisory/fixtures/clean.tsx.fixture +12 -0
  21. package/scripts/design-system-advisory/fixtures/violations.tsx.fixture +19 -0
  22. package/scripts/design-system-advisory/lib.mjs +255 -0
  23. package/scripts/design-system-advisory/run.mjs +189 -0
  24. package/scripts/design-system-advisory/workflow.yml +82 -0
  25. package/scripts/lib/copy-strings.mjs +146 -0
  26. package/scripts/lib/dark-contrast.mjs +120 -0
  27. package/scripts/lib/flush-edges.mjs +294 -0
  28. package/scripts/lib/lab-lint.mjs +62 -0
  29. package/scripts/lib/mount-page.mjs +25 -0
  30. package/scripts/lib/source-scan.mjs +173 -0
  31. package/scripts/lib/tells.mjs +240 -2
  32. package/scripts/lint-arbitrary-tokens.mjs +47 -0
  33. package/scripts/lint-component-token-refs.mjs +63 -0
  34. package/scripts/lint-content-hierarchy.mjs +114 -0
  35. package/scripts/lint-control-baseline.mjs +72 -0
  36. package/scripts/lint-copy-punctuation.mjs +60 -0
  37. package/scripts/lint-even-padding.mjs +58 -0
  38. package/scripts/lint-label-case.mjs +219 -0
  39. package/scripts/lint-microanimation.mjs +2 -2
  40. package/scripts/lint-proximity.mjs +181 -0
  41. package/scripts/lint-slop.mjs +1 -1
  42. package/scripts/lint-spacing-scale.mjs +78 -0
  43. package/scripts/lint-target-size.cjs +132 -0
  44. package/scripts/lint-token-primitives.mjs +307 -0
  45. package/scripts/size-audit.cjs +2 -2
  46. package/scripts/ux-tells.mjs +8 -6
  47. package/scripts/wcag-audit.cjs +25 -4
  48. package/src/api/layers/file.ts +2 -0
  49. package/src/api/site-auth.ts +14 -2
  50. package/src/app/preview/components/page.tsx +183 -14
  51. package/src/app/preview/sticker-sheet/page.tsx +329 -0
  52. package/src/app/preview/sticker-sheet/specimens.tsx +296 -0
  53. package/src/app/shell.tsx +4 -3
  54. package/src/components/Foundations/Colors.stories.tsx +119 -8
  55. package/src/components/home-tab.tsx +6 -1
  56. package/src/components/onboarding-wizard.tsx +1 -1
  57. package/src/components/ui/avatar.tsx +4 -0
  58. package/src/components/ui/chart.tsx +134 -42
  59. package/src/components/ui/checkbox-group.tsx +1 -1
  60. package/src/components/ui/checkbox.tsx +1 -1
  61. package/src/components/ui/combobox.tsx +1 -0
  62. package/src/components/ui/command.tsx +1 -1
  63. package/src/components/ui/date-picker.tsx +2 -0
  64. package/src/components/ui/date-range-picker.tsx +4 -0
  65. package/src/components/ui/file-upload.tsx +21 -2
  66. package/src/components/ui/heatmap.tsx +3 -1
  67. package/src/components/ui/input-group.tsx +5 -2
  68. package/src/components/ui/multi-select.tsx +1 -0
  69. package/src/components/ui/number-field.tsx +390 -0
  70. package/src/components/ui/radio-group.tsx +2 -2
  71. package/src/components/ui/sparkline.tsx +33 -4
  72. package/src/components/ui/spinner.tsx +23 -4
  73. package/src/components/ui/table.tsx +9 -0
  74. package/src/components/ui/week-picker.tsx +0 -12
  75. package/src/data/component-added.json +12 -0
  76. package/src/data/docs-index.ts +22 -1
  77. package/src/data/history.json +162 -162
  78. package/src/data/sticker-sheet.json +9297 -0
  79. package/src/docs-trace-globs.json +1 -0
  80. package/src/lib/chart-motion.ts +41 -0
  81. package/src/lib/get-icon-color.ts +1 -1
  82. package/src/stories/Accordion.stories.tsx +7 -0
  83. package/src/stories/ActionBar.stories.tsx +5 -0
  84. package/src/stories/Affix.stories.tsx +4 -0
  85. package/src/stories/AiBadge.stories.tsx +9 -7
  86. package/src/stories/Alert.stories.tsx +13 -0
  87. package/src/stories/AlertDialog.stories.tsx +4 -0
  88. package/src/stories/Anchor.stories.tsx +5 -0
  89. package/src/stories/AngleSlider.stories.tsx +6 -3
  90. package/src/stories/AspectRatio.stories.tsx +4 -0
  91. package/src/stories/Autocomplete.stories.tsx +6 -0
  92. package/src/stories/Avatar.stories.tsx +10 -0
  93. package/src/stories/Badge.stories.tsx +14 -6
  94. package/src/stories/Blockquote.stories.tsx +6 -0
  95. package/src/stories/BottomNavigation.stories.tsx +4 -0
  96. package/src/stories/Breadcrumb.stories.tsx +3 -0
  97. package/src/stories/Burger.stories.tsx +1 -0
  98. package/src/stories/Button.stories.tsx +24 -0
  99. package/src/stories/ButtonGroup.stories.tsx +9 -0
  100. package/src/stories/Calendar.stories.tsx +3 -0
  101. package/src/stories/Card.stories.tsx +4 -0
  102. package/src/stories/Carousel.stories.tsx +6 -0
  103. package/src/stories/Cascader.stories.tsx +4 -0
  104. package/src/stories/Chart.stories.tsx +46 -1
  105. package/src/stories/ChatBubble.stories.tsx +8 -2
  106. package/src/stories/ChatMarker.stories.tsx +1 -0
  107. package/src/stories/Checkbox.stories.tsx +40 -0
  108. package/src/stories/CheckboxCard.stories.tsx +8 -0
  109. package/src/stories/CheckboxGroup.stories.tsx +20 -0
  110. package/src/stories/Chip.stories.tsx +10 -19
  111. package/src/stories/CircularProgress.stories.tsx +13 -27
  112. package/src/stories/Clipboard.stories.tsx +6 -0
  113. package/src/stories/CloseButton.stories.tsx +6 -4
  114. package/src/stories/Code.stories.tsx +8 -1
  115. package/src/stories/Collapsible.stories.tsx +2 -0
  116. package/src/stories/ColorPicker.stories.tsx +6 -0
  117. package/src/stories/ColorSwatch.stories.tsx +1 -0
  118. package/src/stories/Combobox.stories.tsx +9 -0
  119. package/src/stories/Command.stories.tsx +2 -0
  120. package/src/stories/Container.stories.tsx +8 -0
  121. package/src/stories/ContextMenu.stories.tsx +9 -0
  122. package/src/stories/CopyButton.stories.tsx +12 -36
  123. package/src/stories/DataList.stories.tsx +8 -0
  124. package/src/stories/DataTable.stories.tsx +9 -0
  125. package/src/stories/DateField.stories.tsx +7 -0
  126. package/src/stories/DatePicker.stories.tsx +34 -0
  127. package/src/stories/DateRangePicker.stories.tsx +32 -0
  128. package/src/stories/Dialog.stories.tsx +8 -0
  129. package/src/stories/Drawer.stories.tsx +6 -0
  130. package/src/stories/DropdownMenu.stories.tsx +2 -0
  131. package/src/stories/Editable.stories.tsx +10 -0
  132. package/src/stories/EmptyState.stories.tsx +9 -0
  133. package/src/stories/Field.stories.tsx +7 -0
  134. package/src/stories/Fieldset.stories.tsx +8 -0
  135. package/src/stories/FileButton.stories.tsx +4 -0
  136. package/src/stories/FileUpload.stories.tsx +16 -17
  137. package/src/stories/FloatLabel.stories.tsx +3 -8
  138. package/src/stories/FloatingActionButton.stories.tsx +10 -0
  139. package/src/stories/FloatingIndicator.stories.tsx +4 -0
  140. package/src/stories/FloatingPanel.stories.tsx +6 -0
  141. package/src/stories/FocusTrap.stories.tsx +5 -0
  142. package/src/stories/FormatByte.stories.tsx +6 -0
  143. package/src/stories/FormatDate.stories.tsx +8 -0
  144. package/src/stories/FormatNumber.stories.tsx +9 -0
  145. package/src/stories/Heatmap.stories.tsx +11 -0
  146. package/src/stories/Highlight.stories.tsx +6 -0
  147. package/src/stories/HoverCard.stories.tsx +4 -0
  148. package/src/stories/Image.stories.tsx +9 -0
  149. package/src/stories/Indicator.stories.tsx +19 -0
  150. package/src/stories/Input.stories.tsx +7 -0
  151. package/src/stories/InputClearButton.stories.tsx +3 -0
  152. package/src/stories/InputGroup.stories.tsx +40 -0
  153. package/src/stories/Kbd.stories.tsx +7 -1
  154. package/src/stories/KeyboardShortcut.stories.tsx +2 -0
  155. package/src/stories/Label.stories.tsx +2 -0
  156. package/src/stories/Link.stories.tsx +9 -0
  157. package/src/stories/List.stories.tsx +8 -0
  158. package/src/stories/Listbox.stories.tsx +1 -0
  159. package/src/stories/LoadingDots.stories.tsx +5 -3
  160. package/src/stories/LoadingOverlay.stories.tsx +5 -1
  161. package/src/stories/Mark.stories.tsx +5 -0
  162. package/src/stories/Marquee.stories.tsx +4 -0
  163. package/src/stories/Masonry.stories.tsx +5 -0
  164. package/src/stories/Menubar.stories.tsx +3 -0
  165. package/src/stories/Meter.stories.tsx +11 -17
  166. package/src/stories/MonthPicker.stories.tsx +5 -1
  167. package/src/stories/MotionToggle.stories.tsx +1 -0
  168. package/src/stories/MultiSelect.stories.tsx +9 -0
  169. package/src/stories/NativeSelect.stories.tsx +1 -0
  170. package/src/stories/NavLink.stories.tsx +7 -0
  171. package/src/stories/NavigationMenu.stories.tsx +5 -0
  172. package/src/stories/NavigationRail.stories.tsx +10 -0
  173. package/src/stories/Notification.stories.tsx +13 -34
  174. package/src/stories/NumberField.stories.tsx +214 -0
  175. package/src/stories/NumberInput.stories.tsx +8 -1
  176. package/src/stories/Overlay.stories.tsx +5 -1
  177. package/src/stories/Pagination.stories.tsx +8 -0
  178. package/src/stories/PasswordInput.stories.tsx +2 -0
  179. package/src/stories/PinInput.stories.tsx +9 -2
  180. package/src/stories/Popover.stories.tsx +2 -0
  181. package/src/stories/Progress.stories.tsx +6 -1
  182. package/src/stories/Prose.stories.tsx +8 -0
  183. package/src/stories/QrCode.stories.tsx +2 -0
  184. package/src/stories/Questionnaire.stories.tsx +7 -0
  185. package/src/stories/RadioGroup.stories.tsx +40 -0
  186. package/src/stories/RatingGroup.stories.tsx +8 -4
  187. package/src/stories/Resizable.stories.tsx +4 -2
  188. package/src/stories/Result.stories.tsx +3 -0
  189. package/src/stories/Reveal.stories.tsx +2 -0
  190. package/src/stories/RollingNumber.stories.tsx +5 -0
  191. package/src/stories/ScrollArea.stories.tsx +3 -1
  192. package/src/stories/SearchInput.stories.tsx +8 -6
  193. package/src/stories/SegmentedControl.stories.tsx +11 -0
  194. package/src/stories/Select.stories.tsx +7 -0
  195. package/src/stories/Separator.stories.tsx +6 -0
  196. package/src/stories/Sheet.stories.tsx +5 -0
  197. package/src/stories/Sidebar.stories.tsx +40 -1
  198. package/src/stories/SimpleGrid.stories.tsx +5 -0
  199. package/src/stories/Skeleton.stories.tsx +8 -0
  200. package/src/stories/SkeletonTable.stories.tsx +6 -5
  201. package/src/stories/SkipLink.stories.tsx +3 -0
  202. package/src/stories/Slider.stories.tsx +2 -1
  203. package/src/stories/Sonner.stories.tsx +7 -0
  204. package/src/stories/Sparkline.stories.tsx +14 -1
  205. package/src/stories/Spinner.stories.tsx +20 -10
  206. package/src/stories/Spoiler.stories.tsx +5 -0
  207. package/src/stories/Squircle.stories.tsx +7 -0
  208. package/src/stories/Stack.stories.tsx +7 -0
  209. package/src/stories/StatusBadge.stories.tsx +12 -6
  210. package/src/stories/Stepper.stories.tsx +5 -0
  211. package/src/stories/Switch.stories.tsx +4 -0
  212. package/src/stories/Table.stories.tsx +10 -1
  213. package/src/stories/Tabs.stories.tsx +8 -0
  214. package/src/stories/Tag.stories.tsx +13 -5
  215. package/src/stories/TagsInput.stories.tsx +13 -0
  216. package/src/stories/Text.stories.tsx +12 -0
  217. package/src/stories/Textarea.stories.tsx +9 -0
  218. package/src/stories/ThemeIcon.stories.tsx +6 -3
  219. package/src/stories/TimePicker.stories.tsx +2 -0
  220. package/src/stories/Timeline.stories.tsx +12 -0
  221. package/src/stories/Timer.stories.tsx +4 -0
  222. package/src/stories/Toggle.stories.tsx +7 -5
  223. package/src/stories/ToggleGroup.stories.tsx +5 -0
  224. package/src/stories/ToggleTip.stories.tsx +4 -0
  225. package/src/stories/Toolbar.stories.tsx +6 -0
  226. package/src/stories/Tooltip.stories.tsx +3 -0
  227. package/src/stories/Tour.stories.tsx +3 -0
  228. package/src/stories/TransferList.stories.tsx +3 -0
  229. package/src/stories/TreeSelect.stories.tsx +4 -0
  230. package/src/stories/TreeView.stories.tsx +5 -0
  231. package/src/stories/TypingIndicator.stories.tsx +4 -0
  232. package/src/stories/VisuallyHidden.stories.tsx +3 -0
  233. package/src/stories/Watermark.stories.tsx +6 -0
  234. package/src/stories/WeekPicker.stories.tsx +4 -1
  235. package/src/stories/WordRotate.stories.tsx +5 -0
  236. package/src/stories/YearPicker.stories.tsx +5 -11
  237. package/src/stories/story-groups.json +2 -1
  238. package/src/styles.css +50 -2
  239. package/src/tokens.json +4 -4
  240. package/LICENSE +0 -21
@@ -15,6 +15,7 @@ export default meta;
15
15
  type Story = StoryObj<typeof meta>;
16
16
 
17
17
  export const Default: Story = {
18
+ parameters: { controls: { disable: true } },
18
19
  render: () => (
19
20
  <div className="flex flex-col gap-2 w-[320px]">
20
21
  <Label htmlFor="msg">Message</Label>
@@ -28,6 +29,7 @@ export const Disabled: Story = {
28
29
  };
29
30
 
30
31
  export const ShowCount: Story = {
32
+ parameters: { controls: { disable: true } },
31
33
  render: () => (
32
34
  <div className="flex flex-col gap-2 w-[320px]">
33
35
  <Label htmlFor="msg-count">Bio</Label>
@@ -37,6 +39,7 @@ export const ShowCount: Story = {
37
39
  };
38
40
 
39
41
  export const ShowCountWithMax: Story = {
42
+ parameters: { controls: { disable: true } },
40
43
  render: () => (
41
44
  <div className="flex flex-col gap-2 w-[320px]">
42
45
  <Label htmlFor="msg-max">Bio</Label>
@@ -52,6 +55,7 @@ export const ShowCountWithMax: Story = {
52
55
  };
53
56
 
54
57
  export const ShowCountAtLimit: Story = {
58
+ parameters: { controls: { disable: true } },
55
59
  render: () => (
56
60
  <div className="flex flex-col gap-2 w-[320px]">
57
61
  <Label htmlFor="msg-limit">Bio</Label>
@@ -67,6 +71,7 @@ export const ShowCountAtLimit: Story = {
67
71
  };
68
72
 
69
73
  export const Size_Sm: Story = {
74
+ parameters: { controls: { disable: true } },
70
75
  render: () => (
71
76
  <div className="flex flex-col gap-2 w-[320px]">
72
77
  <Label htmlFor="msg-sm">Notes (sm)</Label>
@@ -76,6 +81,7 @@ export const Size_Sm: Story = {
76
81
  };
77
82
 
78
83
  export const Size_Default: Story = {
84
+ parameters: { controls: { disable: true } },
79
85
  render: () => (
80
86
  <div className="flex flex-col gap-2 w-[320px]">
81
87
  <Label htmlFor="msg-default">Message (default)</Label>
@@ -85,6 +91,7 @@ export const Size_Default: Story = {
85
91
  };
86
92
 
87
93
  export const Size_Lg: Story = {
94
+ parameters: { controls: { disable: true } },
88
95
  render: () => (
89
96
  <div className="flex flex-col gap-2 w-[320px]">
90
97
  <Label htmlFor="msg-lg">Description (lg)</Label>
@@ -94,6 +101,7 @@ export const Size_Lg: Story = {
94
101
  };
95
102
 
96
103
  export const Size_Xl: Story = {
104
+ parameters: { controls: { disable: true } },
97
105
  render: () => (
98
106
  <div className="flex flex-col gap-2 w-[320px]">
99
107
  <Label htmlFor="msg-xl">Long-form content (xl)</Label>
@@ -103,6 +111,7 @@ export const Size_Xl: Story = {
103
111
  };
104
112
 
105
113
  export const RealisticUse: Story = {
114
+ parameters: { controls: { disable: true } },
106
115
  render: () => (
107
116
  <div className="flex flex-col gap-2 w-[320px]">
108
117
  <Label htmlFor="bio">Short bio</Label>
@@ -23,18 +23,19 @@ export default meta;
23
23
  type Story = StoryObj<typeof meta>;
24
24
 
25
25
  export const Default: Story = {
26
- render: () => <ThemeIcon />,
26
+ args: { },
27
27
  };
28
28
 
29
29
  export const Size_Small: Story = {
30
- render: () => <ThemeIcon size={12} />,
30
+ args: { size: 12 },
31
31
  };
32
32
 
33
33
  export const Size_Large: Story = {
34
- render: () => <ThemeIcon size={24} />,
34
+ args: { size: 24 },
35
35
  };
36
36
 
37
37
  export const WithCustomIcons: Story = {
38
+ parameters: { controls: { disable: true } },
38
39
  render: () => (
39
40
  <ThemeIcon
40
41
  size={24}
@@ -50,6 +51,7 @@ export const WithCustomIcons: Story = {
50
51
  * swaps, e.g. for a "follows system" row where the mode is not a choice.
51
52
  */
52
53
  export const Static: Story = {
54
+ parameters: { controls: { disable: true } },
53
55
  render: () => (
54
56
  <ThemeIcon
55
57
  size={24}
@@ -93,5 +95,6 @@ function ThemeToggleDemo() {
93
95
  }
94
96
 
95
97
  export const RealisticUse: Story = {
98
+ parameters: { controls: { disable: true } },
96
99
  render: () => <ThemeToggleDemo />,
97
100
  };
@@ -23,6 +23,7 @@ export const WithSeconds: Story = {
23
23
  }
24
24
 
25
25
  export const Sizes: Story = {
26
+ parameters: { controls: { disable: true } },
26
27
  render: () => (
27
28
  <div className="flex flex-col gap-3 w-64">
28
29
  <TimePicker value="08:00" size="sm" />
@@ -41,6 +42,7 @@ export const Disabled: Story = {
41
42
  }
42
43
 
43
44
  export const RealisticUse: Story = {
45
+ parameters: { controls: { disable: true } },
44
46
  render: () => {
45
47
  const [time, setTime] = React.useState<string | undefined>("09:00")
46
48
  return (
@@ -23,6 +23,7 @@ export default meta;
23
23
  type Story = StoryObj<typeof Timeline>;
24
24
 
25
25
  export const Default: Story = {
26
+ parameters: { controls: { disable: true } },
26
27
  render: () => (
27
28
  <div className="w-80">
28
29
  <Timeline>
@@ -44,6 +45,7 @@ export const Default: Story = {
44
45
  */
45
46
  export const AllStatuses: Story = {
46
47
  tags: ["!manifest"],
48
+ parameters: { controls: { disable: true } },
47
49
  render: () => (
48
50
  <div className="w-80">
49
51
  <Timeline>
@@ -77,6 +79,7 @@ export const AllStatuses: Story = {
77
79
  };
78
80
 
79
81
  export const WithIcons: Story = {
82
+ parameters: { controls: { disable: true } },
80
83
  render: () => (
81
84
  <div className="w-80">
82
85
  <Timeline>
@@ -114,6 +117,7 @@ export const WithIcons: Story = {
114
117
  };
115
118
 
116
119
  export const WithDescriptions: Story = {
120
+ parameters: { controls: { disable: true } },
117
121
  render: () => (
118
122
  <div className="w-96">
119
123
  <Timeline>
@@ -147,6 +151,7 @@ export const WithDescriptions: Story = {
147
151
  };
148
152
 
149
153
  export const WithCustomContent: Story = {
154
+ parameters: { controls: { disable: true } },
150
155
  render: () => (
151
156
  <div className="w-80">
152
157
  <Timeline>
@@ -172,6 +177,7 @@ export const WithCustomContent: Story = {
172
177
  };
173
178
 
174
179
  export const SingleItem: Story = {
180
+ parameters: { controls: { disable: true } },
175
181
  render: () => (
176
182
  <div className="w-80">
177
183
  <Timeline>
@@ -187,6 +193,7 @@ export const SingleItem: Story = {
187
193
  };
188
194
 
189
195
  export const ActivityFeed: Story = {
196
+ parameters: { controls: { disable: true } },
190
197
  render: () => (
191
198
  <div className="w-80">
192
199
  <Timeline>
@@ -225,6 +232,7 @@ export const ActivityFeed: Story = {
225
232
  // Alternate orientation: centered spine, items alternate sides at md+.
226
233
  // Below md this falls back to the standard left-aligned vertical layout.
227
234
  export const Variant_Alternate: Story = {
235
+ parameters: { controls: { disable: true } },
228
236
  render: () => (
229
237
  <div className="w-[640px] max-w-full">
230
238
  <Timeline orientation="alternate">
@@ -268,6 +276,7 @@ export const Variant_Alternate: Story = {
268
276
 
269
277
  // Alternate orientation with custom icons — same icon slot, both sides.
270
278
  export const Variant_AlternateWithIcons: Story = {
279
+ parameters: { controls: { disable: true } },
271
280
  render: () => (
272
281
  <div className="w-[640px] max-w-full">
273
282
  <Timeline orientation="alternate">
@@ -307,6 +316,7 @@ export const Variant_AlternateWithIcons: Story = {
307
316
  // Horizontal orientation: step-progress row, dots above content.
308
317
  // Connector line runs through all dot centers; last item's connector hidden.
309
318
  export const Variant_Horizontal: Story = {
319
+ parameters: { controls: { disable: true } },
310
320
  render: () => (
311
321
  <div className="w-full max-w-2xl">
312
322
  <Timeline orientation="horizontal">
@@ -341,6 +351,7 @@ export const Variant_Horizontal: Story = {
341
351
 
342
352
  // Horizontal with icons — same step-indicator pattern, custom dot icons.
343
353
  export const Variant_HorizontalWithIcons: Story = {
354
+ parameters: { controls: { disable: true } },
344
355
  render: () => (
345
356
  <div className="w-full max-w-2xl">
346
357
  <Timeline orientation="horizontal">
@@ -375,6 +386,7 @@ export const Variant_HorizontalWithIcons: Story = {
375
386
 
376
387
  // Realistic use: BADS Design System, v2.4.0 release journey
377
388
  export const RealisticUse: Story = {
389
+ parameters: { controls: { disable: true } },
378
390
  render: () => (
379
391
  <div className="w-96 rounded-lg border border-border bg-card p-5">
380
392
  <div className="mb-4 space-y-1">
@@ -29,6 +29,7 @@ export default meta;
29
29
  type Story = StoryObj<typeof meta>;
30
30
 
31
31
  export const Default: Story = {
32
+ parameters: { controls: { disable: true } },
32
33
  render: () => (
33
34
  <div className="flex flex-col items-center gap-2">
34
35
  <Timer mode="countdown" startMs={5 * 60 * 1000} className="text-2xl" />
@@ -40,6 +41,7 @@ export const Default: Story = {
40
41
  };
41
42
 
42
43
  export const CountUp: Story = {
44
+ parameters: { controls: { disable: true } },
43
45
  render: () => (
44
46
  <div className="flex flex-col items-center gap-2">
45
47
  <Timer mode="countup" format="HH:MM:SS" className="text-2xl" />
@@ -80,6 +82,7 @@ export const PausedInitially: Story = {
80
82
  };
81
83
 
82
84
  export const CustomFormat: Story = {
85
+ parameters: { controls: { disable: true } },
83
86
  render: () => (
84
87
  <div className="flex flex-col items-center gap-2">
85
88
  <Timer
@@ -100,6 +103,7 @@ export const CustomFormat: Story = {
100
103
  };
101
104
 
102
105
  export const FormatMM_SS: Story = {
106
+ parameters: { controls: { disable: true } },
103
107
  render: () => (
104
108
  <div className="flex flex-col items-center gap-2">
105
109
  <Timer
@@ -13,27 +13,28 @@ export default meta;
13
13
  type Story = StoryObj<typeof meta>;
14
14
 
15
15
  export const Default: Story = {
16
+ parameters: { controls: { disable: true } },
16
17
  render: () => (<Toggle aria-label="Toggle bold"><Bold className="h-4 w-4" /></Toggle>),
17
18
  };
18
19
 
19
20
  export const Variant_Default: Story = {
20
- render: () => <Toggle variant="default">Default</Toggle>,
21
+ args: { variant: "default", children: "Default" },
21
22
  };
22
23
 
23
24
  export const Variant_Outline: Story = {
24
- render: () => <Toggle variant="outline">Outline</Toggle>,
25
+ args: { variant: "outline", children: "Outline" },
25
26
  };
26
27
 
27
28
  export const Size_Default: Story = {
28
- render: () => <Toggle size="default">Default</Toggle>,
29
+ args: { size: "default", children: "Default" },
29
30
  };
30
31
 
31
32
  export const Size_Sm: Story = {
32
- render: () => <Toggle size="sm">Sm</Toggle>,
33
+ args: { size: "sm", children: "Sm" },
33
34
  };
34
35
 
35
36
  export const Size_Lg: Story = {
36
- render: () => <Toggle size="lg">Lg</Toggle>,
37
+ args: { size: "lg", children: "Lg" },
37
38
  };
38
39
 
39
40
  export const Disabled: Story = {
@@ -41,5 +42,6 @@ export const Disabled: Story = {
41
42
  };
42
43
 
43
44
  export const RealisticUse: Story = {
45
+ parameters: { controls: { disable: true } },
44
46
  render: () => (<Toggle aria-label="Toggle bold"><Bold className="h-4 w-4" /></Toggle>),
45
47
  };
@@ -13,6 +13,7 @@ export default meta;
13
13
  type Story = StoryObj<typeof meta>;
14
14
 
15
15
  export const Default: Story = {
16
+ parameters: { controls: { disable: true } },
16
17
  render: () => (<ToggleGroup type="multiple">
17
18
  <ToggleGroupItem value="bold" aria-label="Bold"><Bold className="h-4 w-4" /></ToggleGroupItem>
18
19
  <ToggleGroupItem value="italic" aria-label="Italic"><Italic className="h-4 w-4" /></ToggleGroupItem>
@@ -21,6 +22,7 @@ export const Default: Story = {
21
22
  };
22
23
 
23
24
  export const Orientation_Vertical: Story = {
25
+ parameters: { controls: { disable: true } },
24
26
  render: () => (
25
27
  <ToggleGroup type="single" orientation="vertical" variant="outline">
26
28
  <ToggleGroupItem value="bold" aria-label="Bold"><Bold className="h-4 w-4" /></ToggleGroupItem>
@@ -31,6 +33,7 @@ export const Orientation_Vertical: Story = {
31
33
  };
32
34
 
33
35
  export const Orientation_Vertical_Spaced: Story = {
36
+ parameters: { controls: { disable: true } },
34
37
  render: () => (
35
38
  <ToggleGroup type="single" orientation="vertical" spacing={1}>
36
39
  <ToggleGroupItem value="bold" aria-label="Bold"><Bold className="h-4 w-4" /></ToggleGroupItem>
@@ -41,6 +44,7 @@ export const Orientation_Vertical_Spaced: Story = {
41
44
  };
42
45
 
43
46
  export const Disabled: Story = {
47
+ parameters: { controls: { disable: true } },
44
48
  render: () => (
45
49
  <ToggleGroup type="multiple" disabled>
46
50
  <ToggleGroupItem value="bold" aria-label="Bold"><Bold className="h-4 w-4" /></ToggleGroupItem>
@@ -51,6 +55,7 @@ export const Disabled: Story = {
51
55
  };
52
56
 
53
57
  export const RealisticUse: Story = {
58
+ parameters: { controls: { disable: true } },
54
59
  render: () => (<ToggleGroup type="multiple">
55
60
  <ToggleGroupItem value="bold" aria-label="Bold"><Bold className="h-4 w-4" /></ToggleGroupItem>
56
61
  <ToggleGroupItem value="italic" aria-label="Italic"><Italic className="h-4 w-4" /></ToggleGroupItem>
@@ -16,6 +16,7 @@ const meta: Meta<typeof ToggleTip> = {
16
16
  export default meta;
17
17
 
18
18
  export const Default: StoryObj = {
19
+ parameters: { controls: { disable: true } },
19
20
  render: () => (
20
21
  <ToggleTip content="Semantic tokens alias primitives, so one brand change propagates everywhere.">
21
22
  <Button variant="ghost" size="icon" aria-label="More about semantic tokens">
@@ -26,6 +27,7 @@ export const Default: StoryObj = {
26
27
  };
27
28
 
28
29
  export const Disabled: StoryObj = {
30
+ parameters: { controls: { disable: true } },
29
31
  render: () => (
30
32
  <ToggleTip
31
33
  disabled
@@ -39,6 +41,7 @@ export const Disabled: StoryObj = {
39
41
  };
40
42
 
41
43
  export const WithFormLabel: StoryObj = {
44
+ parameters: { controls: { disable: true } },
42
45
  render: () => (
43
46
  <div className="w-80 space-y-3">
44
47
  <div className="flex items-center gap-1">
@@ -62,6 +65,7 @@ export const WithFormLabel: StoryObj = {
62
65
  };
63
66
 
64
67
  export const RealisticUse: StoryObj = {
68
+ parameters: { controls: { disable: true } },
65
69
  render: () => (
66
70
  <div className="w-96 space-y-4 rounded-lg border border-border bg-card p-4">
67
71
  <p className="text-sm font-medium text-foreground">Fork settings</p>
@@ -33,6 +33,7 @@ export default meta;
33
33
  type Story = StoryObj<typeof meta>;
34
34
 
35
35
  export const Default: Story = {
36
+ parameters: { controls: { disable: true } },
36
37
  render: () => (
37
38
  <Toolbar aria-label="Text formatting">
38
39
  <ToolbarButton aria-label="Bold">
@@ -49,6 +50,7 @@ export const Default: Story = {
49
50
  };
50
51
 
51
52
  export const WithSeparator: Story = {
53
+ parameters: { controls: { disable: true } },
52
54
  render: () => (
53
55
  <Toolbar aria-label="Rich text editor toolbar">
54
56
  <ToolbarButton aria-label="Bold">
@@ -82,6 +84,7 @@ export const WithSeparator: Story = {
82
84
  };
83
85
 
84
86
  export const WithActiveState: Story = {
87
+ parameters: { controls: { disable: true } },
85
88
  render: () => {
86
89
  const [bold, setBold] = React.useState(true);
87
90
  const [italic, setItalic] = React.useState(false);
@@ -139,6 +142,7 @@ export const WithActiveState: Story = {
139
142
  };
140
143
 
141
144
  export const Vertical: Story = {
145
+ parameters: { controls: { disable: true } },
142
146
  render: () => (
143
147
  <Toolbar orientation="vertical" aria-label="Document actions">
144
148
  <ToolbarButton aria-label="Undo">
@@ -159,6 +163,7 @@ export const Vertical: Story = {
159
163
  };
160
164
 
161
165
  export const Disabled: Story = {
166
+ parameters: { controls: { disable: true } },
162
167
  render: () => (
163
168
  <Toolbar aria-label="Disabled toolbar">
164
169
  <ToolbarButton aria-label="Bold" disabled>
@@ -182,6 +187,7 @@ export const RealisticUse: Story = {
182
187
  </div>
183
188
  ),
184
189
  ],
190
+ parameters: { controls: { disable: true } },
185
191
  render: () => {
186
192
  const [bold, setBold] = React.useState(false);
187
193
  const [italic, setItalic] = React.useState(false);
@@ -19,6 +19,7 @@ export default meta;
19
19
  type Story = StoryObj<typeof meta>;
20
20
 
21
21
  export const Default: Story = {
22
+ parameters: { controls: { disable: true } },
22
23
  render: () => (<TooltipProvider>
23
24
  <Tooltip>
24
25
  <TooltipTrigger asChild><Button variant="outline">Hover me</Button></TooltipTrigger>
@@ -28,6 +29,7 @@ export const Default: Story = {
28
29
  };
29
30
 
30
31
  export const RealisticUse: Story = {
32
+ parameters: { controls: { disable: true } },
31
33
  render: () => (<TooltipProvider>
32
34
  <Tooltip>
33
35
  <TooltipTrigger asChild><Button variant="outline">Hover me</Button></TooltipTrigger>
@@ -43,6 +45,7 @@ export const RealisticUse: Story = {
43
45
  // is the canonical demonstration of the correct pattern; see tooltip.tsx's
44
46
  // inverted-surface note and the Tooltip registry antiPattern.
45
47
  export const DeEmphasizedText: Story = {
48
+ parameters: { controls: { disable: true } },
46
49
  render: () => (<TooltipProvider>
47
50
  <Tooltip>
48
51
  <TooltipTrigger asChild><Button variant="outline">Contrast ratio</Button></TooltipTrigger>
@@ -74,6 +74,7 @@ function TourDemo({
74
74
  }
75
75
 
76
76
  export const Default: Story = {
77
+ parameters: { controls: { disable: true } },
77
78
  render: () => (
78
79
  <TourDemo
79
80
  idPrefix="tour-default"
@@ -102,6 +103,7 @@ export const Default: Story = {
102
103
  };
103
104
 
104
105
  export const Placement_TopAndLeft: Story = {
106
+ parameters: { controls: { disable: true } },
105
107
  render: () => (
106
108
  <TourDemo
107
109
  idPrefix="tour-placement"
@@ -125,6 +127,7 @@ export const Placement_TopAndLeft: Story = {
125
127
  };
126
128
 
127
129
  export const Centered_WelcomeStep: Story = {
130
+ parameters: { controls: { disable: true } },
128
131
  render: () => (
129
132
  <TourDemo
130
133
  idPrefix="tour-centered"
@@ -53,6 +53,7 @@ function ControlledTransferList(
53
53
  // ────────────────────────────────────────────────────────────────────────────
54
54
 
55
55
  export const Default: Story = {
56
+ parameters: { controls: { disable: true } },
56
57
  render: () => (
57
58
  // Right panel starts empty — "No items" placeholder renders with role="option"
58
59
  // aria-disabled="true" to satisfy listbox's aria-required-children contract.
@@ -68,6 +69,7 @@ export const Default: Story = {
68
69
  // FacetedFilter's popover, these rows render directly, so initialSelected
69
70
  // below already puts real checked Checkbox primitives in front of Chromatic.
70
71
  export const WithSearch: Story = {
72
+ parameters: { controls: { disable: true } },
71
73
  render: () => (
72
74
  <ControlledTransferList
73
75
  searchable
@@ -136,6 +138,7 @@ export const Controlled: Story = {
136
138
  // → move active item (aria-activedescendant), Space/Enter → toggle, Tab → move
137
139
  // to transfer buttons. Items are NOT individually tabbable (no nested-interactive).
138
140
  export const KeyboardNav: Story = {
141
+ parameters: { controls: { disable: true } },
139
142
  render: () => (
140
143
  <div className="space-y-2">
141
144
  <p className="text-xs text-muted-foreground max-w-sm">
@@ -114,6 +114,7 @@ const docsTree: TreeSelectNode[] = [
114
114
  ];
115
115
 
116
116
  export const Default: Story = {
117
+ parameters: { controls: { disable: true } },
117
118
  render: () => {
118
119
  const [value, setValue] = React.useState<string | string[]>("");
119
120
  return (
@@ -135,6 +136,7 @@ export const Default: Story = {
135
136
  };
136
137
 
137
138
  export const Multiple: Story = {
139
+ parameters: { controls: { disable: true } },
138
140
  render: () => {
139
141
  const [value, setValue] = React.useState<string | string[]>([
140
142
  "jordan-reeves",
@@ -162,6 +164,7 @@ export const Multiple: Story = {
162
164
  };
163
165
 
164
166
  export const Disabled: Story = {
167
+ parameters: { controls: { disable: true } },
165
168
  render: () => (
166
169
  <div className="w-80">
167
170
  <TreeSelect
@@ -176,6 +179,7 @@ export const Disabled: Story = {
176
179
  };
177
180
 
178
181
  export const RealisticUse: Story = {
182
+ parameters: { controls: { disable: true } },
179
183
  render: () => {
180
184
  const [destination, setDestination] = React.useState<string | string[]>("");
181
185
  const [reviewerValues, setReviewerValues] = React.useState<string | string[]>(
@@ -27,6 +27,7 @@ export default meta;
27
27
  type Story = StoryObj<typeof Tree>;
28
28
 
29
29
  export const Default: Story = {
30
+ parameters: { controls: { disable: true } },
30
31
  render: () => (
31
32
  <div className="w-64">
32
33
  <Tree defaultExpanded={["docs"]}>
@@ -71,6 +72,7 @@ export const Default: Story = {
71
72
  };
72
73
 
73
74
  export const WithIcons: Story = {
75
+ parameters: { controls: { disable: true } },
74
76
  render: () => (
75
77
  <div className="w-72">
76
78
  <Tree defaultExpanded={["project", "assets"]}>
@@ -110,6 +112,7 @@ export const WithIcons: Story = {
110
112
  };
111
113
 
112
114
  export const Flat: Story = {
115
+ parameters: { controls: { disable: true } },
113
116
  render: () => (
114
117
  <div className="w-56">
115
118
  <Tree>
@@ -131,6 +134,7 @@ export const Flat: Story = {
131
134
  };
132
135
 
133
136
  export const DeepNesting: Story = {
137
+ parameters: { controls: { disable: true } },
134
138
  render: () => (
135
139
  <div className="w-72">
136
140
  <Tree defaultExpanded={["l1", "l2", "l3"]}>
@@ -213,6 +217,7 @@ export const Controlled: Story = {
213
217
  };
214
218
 
215
219
  export const RealisticUse: Story = {
220
+ parameters: { controls: { disable: true } },
216
221
  render: () => (
217
222
  <div className="w-72 rounded-lg border border-border bg-card p-3">
218
223
  <p className="mb-2 px-2 text-xs font-semibold uppercase tracking-wider text-muted-foreground">
@@ -30,6 +30,7 @@ export default meta;
30
30
  type Story = StoryObj<typeof meta>;
31
31
 
32
32
  export const Default: Story = {
33
+ parameters: { controls: { disable: true } },
33
34
  render: () => (
34
35
  <div className="flex flex-col items-start gap-2">
35
36
  <TypingIndicator />
@@ -41,6 +42,7 @@ export const Default: Story = {
41
42
  };
42
43
 
43
44
  export const Size_sm: Story = {
45
+ parameters: { controls: { disable: true } },
44
46
  render: () => (
45
47
  <div className="flex flex-col items-start gap-2">
46
48
  <TypingIndicator size="sm" />
@@ -52,6 +54,7 @@ export const Size_sm: Story = {
52
54
  };
53
55
 
54
56
  export const Size_lg: Story = {
57
+ parameters: { controls: { disable: true } },
55
58
  render: () => (
56
59
  <div className="flex flex-col items-start gap-2">
57
60
  <TypingIndicator size="lg" />
@@ -63,6 +66,7 @@ export const Size_lg: Story = {
63
66
  };
64
67
 
65
68
  export const CustomLabel: Story = {
69
+ parameters: { controls: { disable: true } },
66
70
  render: () => (
67
71
  <div className="flex flex-col items-start gap-2">
68
72
  <TypingIndicator label="BADS assistant is thinking…" />
@@ -27,6 +27,7 @@ type Story = StoryObj<typeof VisuallyHidden>;
27
27
  // (or run a screen reader) to confirm the hidden content is present.
28
28
 
29
29
  export const Default: Story = {
30
+ parameters: { controls: { disable: true } },
30
31
  render: () => (
31
32
  <div className="max-w-sm space-y-2">
32
33
  <p className="text-sm text-foreground">
@@ -46,6 +47,7 @@ export const Default: Story = {
46
47
  };
47
48
 
48
49
  export const WithAsChild: Story = {
50
+ parameters: { controls: { disable: true } },
49
51
  render: () => (
50
52
  <div className="max-w-sm space-y-2">
51
53
  <p className="text-sm text-foreground">
@@ -64,6 +66,7 @@ export const WithAsChild: Story = {
64
66
  };
65
67
 
66
68
  export const RealisticUse: Story = {
69
+ parameters: { controls: { disable: true } },
67
70
  render: () => (
68
71
  <Card className="w-80">
69
72
  <CardContent className="space-y-4 p-4">
@@ -43,6 +43,7 @@ const MARK_SVG =
43
43
  )
44
44
 
45
45
  export const Default: Story = {
46
+ parameters: { controls: { disable: true } },
46
47
  render: () => (
47
48
  <Watermark content="Internal review — do not distribute">
48
49
  <Card className="w-[28rem]">
@@ -69,6 +70,7 @@ export const Default: Story = {
69
70
  }
70
71
 
71
72
  export const Size_Sm: Story = {
73
+ parameters: { controls: { disable: true } },
72
74
  render: () => (
73
75
  <Watermark
74
76
  content="seoyun_park · 2026-05-26"
@@ -93,6 +95,7 @@ export const Size_Sm: Story = {
93
95
  }
94
96
 
95
97
  export const Size_Lg: Story = {
98
+ parameters: { controls: { disable: true } },
96
99
  render: () => (
97
100
  <Watermark
98
101
  content="DRAFT"
@@ -125,6 +128,7 @@ export const Size_Lg: Story = {
125
128
  }
126
129
 
127
130
  export const WithImage: Story = {
131
+ parameters: { controls: { disable: true } },
128
132
  render: () => (
129
133
  <Watermark image={MARK_SVG} gap={[110, 90]} opacity={0.1}>
130
134
  <Card className="w-[28rem]">
@@ -146,6 +150,7 @@ export const WithImage: Story = {
146
150
  }
147
151
 
148
152
  export const MultiLine: Story = {
153
+ parameters: { controls: { disable: true } },
149
154
  render: () => (
150
155
  <Watermark
151
156
  content={["Confidential", "anika.patel@stripe.com"]}
@@ -169,6 +174,7 @@ export const MultiLine: Story = {
169
174
  }
170
175
 
171
176
  export const RealisticUse: Story = {
177
+ parameters: { controls: { disable: true } },
172
178
  render: () => (
173
179
  <Watermark content="CONFIDENTIAL — internal pricing" rotate={-30}>
174
180
  <Card className="w-[30rem]">
@@ -21,10 +21,11 @@ export default meta
21
21
  type Story = StoryObj<typeof meta>
22
22
 
23
23
  export const Default: Story = {
24
- render: () => <WeekPicker className="rounded-md border" />,
24
+ args: { className: "rounded-md border" },
25
25
  }
26
26
 
27
27
  export const WithValue: Story = {
28
+ parameters: { controls: { disable: true } },
28
29
  render: () => {
29
30
  // Sprint start — week of 2026-09-07 (persona pool dates, bads.json).
30
31
  const [week, setWeek] = React.useState<Date>(new Date(2026, 8, 7))
@@ -39,6 +40,7 @@ export const WithValue: Story = {
39
40
  }
40
41
 
41
42
  export const Disabled: Story = {
43
+ parameters: { controls: { disable: true } },
42
44
  render: () => (
43
45
  <WeekPicker
44
46
  disabled
@@ -49,6 +51,7 @@ export const Disabled: Story = {
49
51
  }
50
52
 
51
53
  export const RealisticUse: Story = {
54
+ parameters: { controls: { disable: true } },
52
55
  render: () => {
53
56
  const [sprintWeek, setSprintWeek] = React.useState<Date | undefined>(
54
57
  undefined