@behavioral-agentic-design-system/core 0.38.0 → 0.39.1

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 (187) hide show
  1. package/package.json +2 -2
  2. package/scripts/a11y-lint.cjs +47 -34
  3. package/scripts/a11y-ratchet.mjs +10 -23
  4. package/scripts/build-tokens.cjs +42 -5
  5. package/scripts/health-report.mjs +52 -10
  6. package/scripts/lib/scan-roots.cjs +143 -0
  7. package/scripts/lint-slop.mjs +21 -28
  8. package/scripts/lint-token-intent.mjs +10 -16
  9. package/scripts/size-audit.cjs +15 -27
  10. package/src/api/layers/file.ts +1 -0
  11. package/src/app/preview/components/page.tsx +366 -0
  12. package/src/app/preview/health/page.tsx +8 -5
  13. package/src/app/preview/history/page.tsx +11 -0
  14. package/src/app/shell.tsx +262 -86
  15. package/src/components/Foundations/Typography.stories.tsx +82 -21
  16. package/src/components/customize/discipline-section.tsx +94 -0
  17. package/src/components/customize-tab.tsx +2 -0
  18. package/src/components/ui/accordion.tsx +67 -5
  19. package/src/components/ui/alert.tsx +20 -7
  20. package/src/components/ui/avatar.tsx +18 -4
  21. package/src/components/ui/breadcrumb.tsx +47 -0
  22. package/src/components/ui/checkbox-card.tsx +48 -8
  23. package/src/components/ui/checkbox.tsx +17 -8
  24. package/src/components/ui/format-date.tsx +107 -0
  25. package/src/components/ui/progress.tsx +6 -5
  26. package/src/components/ui/sparkline.tsx +210 -0
  27. package/src/components/ui/tag.tsx +17 -1
  28. package/src/components/ui/tags-input.tsx +84 -11
  29. package/src/components/ui/toggle-group.tsx +13 -0
  30. package/src/components/ui/week-picker.tsx +463 -0
  31. package/src/data/docs-index.ts +11 -0
  32. package/src/data/history.json +269 -0
  33. package/src/stories/Accordion.stories.tsx +59 -1
  34. package/src/stories/ActionBar.stories.tsx +1 -1
  35. package/src/stories/Affix.stories.tsx +1 -1
  36. package/src/stories/AiBadge.stories.tsx +1 -1
  37. package/src/stories/Alert.stories.tsx +36 -1
  38. package/src/stories/AlertDialog.stories.tsx +1 -1
  39. package/src/stories/Anchor.stories.tsx +1 -1
  40. package/src/stories/AngleSlider.stories.tsx +1 -1
  41. package/src/stories/AspectRatio.stories.tsx +1 -1
  42. package/src/stories/Autocomplete.stories.tsx +1 -1
  43. package/src/stories/Avatar.stories.tsx +41 -1
  44. package/src/stories/Badge.stories.tsx +1 -1
  45. package/src/stories/Blockquote.stories.tsx +1 -1
  46. package/src/stories/BottomNavigation.stories.tsx +1 -1
  47. package/src/stories/Breadcrumb.stories.tsx +38 -5
  48. package/src/stories/Burger.stories.tsx +1 -1
  49. package/src/stories/Button.stories.tsx +9 -1
  50. package/src/stories/ButtonGroup.stories.tsx +1 -1
  51. package/src/stories/Calendar.stories.tsx +1 -1
  52. package/src/stories/Card.stories.tsx +1 -1
  53. package/src/stories/Carousel.stories.tsx +1 -1
  54. package/src/stories/Cascader.stories.tsx +1 -1
  55. package/src/stories/Chart.stories.tsx +1 -1
  56. package/src/stories/ChatBubble.stories.tsx +1 -1
  57. package/src/stories/ChatMarker.stories.tsx +1 -1
  58. package/src/stories/Checkbox.stories.tsx +36 -5
  59. package/src/stories/CheckboxCard.stories.tsx +37 -2
  60. package/src/stories/CheckboxGroup.stories.tsx +1 -1
  61. package/src/stories/Chip.stories.tsx +1 -1
  62. package/src/stories/CircularProgress.stories.tsx +17 -1
  63. package/src/stories/Clipboard.stories.tsx +1 -1
  64. package/src/stories/CloseButton.stories.tsx +1 -1
  65. package/src/stories/Code.stories.tsx +1 -1
  66. package/src/stories/Collapsible.stories.tsx +1 -1
  67. package/src/stories/ColorPicker.stories.tsx +1 -1
  68. package/src/stories/ColorSwatch.stories.tsx +1 -1
  69. package/src/stories/Combobox.stories.tsx +1 -1
  70. package/src/stories/Command.stories.tsx +1 -1
  71. package/src/stories/Container.stories.tsx +1 -1
  72. package/src/stories/ContextMenu.stories.tsx +1 -1
  73. package/src/stories/CopyButton.stories.tsx +9 -1
  74. package/src/stories/DataList.stories.tsx +1 -1
  75. package/src/stories/DataTable.stories.tsx +1 -1
  76. package/src/stories/DateField.stories.tsx +1 -1
  77. package/src/stories/DatePicker.stories.tsx +1 -1
  78. package/src/stories/DateRangePicker.stories.tsx +1 -1
  79. package/src/stories/Dialog.stories.tsx +1 -1
  80. package/src/stories/Drawer.stories.tsx +1 -1
  81. package/src/stories/DropdownMenu.stories.tsx +1 -1
  82. package/src/stories/Editable.stories.tsx +1 -1
  83. package/src/stories/EmptyState.stories.tsx +1 -1
  84. package/src/stories/Field.stories.tsx +1 -1
  85. package/src/stories/Fieldset.stories.tsx +1 -1
  86. package/src/stories/FileButton.stories.tsx +1 -1
  87. package/src/stories/FileUpload.stories.tsx +1 -1
  88. package/src/stories/FloatLabel.stories.tsx +1 -1
  89. package/src/stories/FloatingActionButton.stories.tsx +1 -1
  90. package/src/stories/FloatingIndicator.stories.tsx +1 -1
  91. package/src/stories/FloatingPanel.stories.tsx +9 -1
  92. package/src/stories/FocusTrap.stories.tsx +1 -1
  93. package/src/stories/FormatByte.stories.tsx +1 -1
  94. package/src/stories/FormatDate.stories.tsx +174 -0
  95. package/src/stories/FormatNumber.stories.tsx +1 -1
  96. package/src/stories/Highlight.stories.tsx +1 -1
  97. package/src/stories/HoverCard.stories.tsx +1 -1
  98. package/src/stories/Image.stories.tsx +1 -1
  99. package/src/stories/Indicator.stories.tsx +17 -1
  100. package/src/stories/Input.stories.tsx +1 -1
  101. package/src/stories/InputClearButton.stories.tsx +1 -1
  102. package/src/stories/InputGroup.stories.tsx +1 -1
  103. package/src/stories/Kbd.stories.tsx +1 -1
  104. package/src/stories/KeyboardShortcut.stories.tsx +1 -1
  105. package/src/stories/Label.stories.tsx +1 -1
  106. package/src/stories/Link.stories.tsx +1 -1
  107. package/src/stories/List.stories.tsx +1 -1
  108. package/src/stories/Listbox.stories.tsx +1 -1
  109. package/src/stories/LoadingDots.stories.tsx +1 -1
  110. package/src/stories/LoadingOverlay.stories.tsx +1 -1
  111. package/src/stories/Mark.stories.tsx +1 -1
  112. package/src/stories/Marquee.stories.tsx +1 -1
  113. package/src/stories/Masonry.stories.tsx +1 -1
  114. package/src/stories/Menubar.stories.tsx +1 -1
  115. package/src/stories/Meter.stories.tsx +1 -1
  116. package/src/stories/MonthPicker.stories.tsx +1 -1
  117. package/src/stories/MotionToggle.stories.tsx +1 -1
  118. package/src/stories/MultiSelect.stories.tsx +1 -1
  119. package/src/stories/NativeSelect.stories.tsx +1 -1
  120. package/src/stories/NavLink.stories.tsx +1 -1
  121. package/src/stories/NavigationMenu.stories.tsx +1 -1
  122. package/src/stories/NavigationRail.stories.tsx +9 -1
  123. package/src/stories/Notification.stories.tsx +1 -1
  124. package/src/stories/NumberInput.stories.tsx +1 -1
  125. package/src/stories/Overlay.stories.tsx +1 -1
  126. package/src/stories/Pagination.stories.tsx +1 -1
  127. package/src/stories/PasswordInput.stories.tsx +1 -1
  128. package/src/stories/PinInput.stories.tsx +1 -1
  129. package/src/stories/Popover.stories.tsx +1 -1
  130. package/src/stories/Progress.stories.tsx +11 -1
  131. package/src/stories/Prose.stories.tsx +1 -1
  132. package/src/stories/QrCode.stories.tsx +1 -1
  133. package/src/stories/Questionnaire.stories.tsx +1 -1
  134. package/src/stories/RadioGroup.stories.tsx +1 -1
  135. package/src/stories/RatingGroup.stories.tsx +1 -1
  136. package/src/stories/Resizable.stories.tsx +1 -1
  137. package/src/stories/Result.stories.tsx +1 -1
  138. package/src/stories/Reveal.stories.tsx +1 -1
  139. package/src/stories/RollingNumber.stories.tsx +1 -1
  140. package/src/stories/ScrollArea.stories.tsx +1 -1
  141. package/src/stories/SearchInput.stories.tsx +1 -1
  142. package/src/stories/SegmentedControl.stories.tsx +1 -1
  143. package/src/stories/Select.stories.tsx +1 -1
  144. package/src/stories/Separator.stories.tsx +1 -1
  145. package/src/stories/Sheet.stories.tsx +10 -4
  146. package/src/stories/Sidebar.stories.tsx +1 -1
  147. package/src/stories/SignaturePad.stories.tsx +1 -1
  148. package/src/stories/SimpleGrid.stories.tsx +1 -1
  149. package/src/stories/Skeleton.stories.tsx +1 -1
  150. package/src/stories/SkeletonTable.stories.tsx +1 -1
  151. package/src/stories/SkipLink.stories.tsx +1 -1
  152. package/src/stories/Slider.stories.tsx +1 -1
  153. package/src/stories/Sonner.stories.tsx +1 -1
  154. package/src/stories/Sparkline.stories.tsx +244 -0
  155. package/src/stories/Spinner.stories.tsx +9 -1
  156. package/src/stories/Spoiler.stories.tsx +1 -1
  157. package/src/stories/Squircle.stories.tsx +1 -1
  158. package/src/stories/Stack.stories.tsx +1 -1
  159. package/src/stories/StatusBadge.stories.tsx +1 -1
  160. package/src/stories/Stepper.stories.tsx +1 -1
  161. package/src/stories/Switch.stories.tsx +1 -1
  162. package/src/stories/Table.stories.tsx +1 -1
  163. package/src/stories/Tabs.stories.tsx +1 -1
  164. package/src/stories/Tag.stories.tsx +23 -1
  165. package/src/stories/TagsInput.stories.tsx +46 -1
  166. package/src/stories/Text.stories.tsx +1 -1
  167. package/src/stories/Textarea.stories.tsx +1 -1
  168. package/src/stories/ThemeIcon.stories.tsx +1 -1
  169. package/src/stories/TimePicker.stories.tsx +1 -1
  170. package/src/stories/Timeline.stories.tsx +9 -1
  171. package/src/stories/Timer.stories.tsx +1 -1
  172. package/src/stories/Toggle.stories.tsx +1 -1
  173. package/src/stories/ToggleGroup.stories.tsx +21 -1
  174. package/src/stories/ToggleTip.stories.tsx +1 -1
  175. package/src/stories/Toolbar.stories.tsx +1 -1
  176. package/src/stories/Tooltip.stories.tsx +1 -1
  177. package/src/stories/Tour.stories.tsx +1 -1
  178. package/src/stories/TransferList.stories.tsx +1 -1
  179. package/src/stories/TreeSelect.stories.tsx +1 -1
  180. package/src/stories/TreeView.stories.tsx +1 -1
  181. package/src/stories/TypingIndicator.stories.tsx +1 -1
  182. package/src/stories/VisuallyHidden.stories.tsx +1 -1
  183. package/src/stories/Watermark.stories.tsx +1 -1
  184. package/src/stories/WeekPicker.stories.tsx +90 -0
  185. package/src/stories/WordRotate.stories.tsx +1 -1
  186. package/src/stories/YearPicker.stories.tsx +1 -1
  187. package/src/stories/story-groups.json +199 -0
@@ -0,0 +1,174 @@
1
+ import * as React from "react"
2
+ import type { Meta, StoryObj } from "@storybook/react"
3
+ import { FormatDate } from "@behavioral-agentic-design-system/core/components/ui/format-date"
4
+ import {
5
+ Card,
6
+ CardContent,
7
+ CardDescription,
8
+ CardHeader,
9
+ CardTitle,
10
+ } from "@behavioral-agentic-design-system/core/components/ui/card"
11
+
12
+ const meta: Meta<typeof FormatDate> = {
13
+ title: "Components/Content and data/FormatDate",
14
+ component: FormatDate,
15
+ parameters: { layout: "centered" },
16
+ tags: ["autodocs"],
17
+ argTypes: {
18
+ locale: { control: "text" },
19
+ dateStyle: {
20
+ control: "select",
21
+ options: ["full", "long", "medium", "short"],
22
+ },
23
+ timeStyle: {
24
+ control: "select",
25
+ options: [undefined, "full", "long", "medium", "short"],
26
+ },
27
+ },
28
+ }
29
+
30
+ export default meta
31
+ type Story = StoryObj<typeof meta>
32
+
33
+ // All dates come from content/personas/bads.json → primary.dates
34
+ // (real-content rule). Default locale is the explicit constant "en-US",
35
+ // never navigator.language, so SSR and client render identical markup.
36
+
37
+ // Engagement kickoff date used throughout these stories.
38
+ const KICKOFF = new Date(2026, 0, 15) // 2026-01-15
39
+
40
+ export const Default: Story = {
41
+ render: () => (
42
+ <p className="text-sm text-foreground">
43
+ Engagement start:{" "}
44
+ <FormatDate value={KICKOFF} className="font-medium" />
45
+ </p>
46
+ ),
47
+ }
48
+
49
+ export const DateStyle_Full: Story = {
50
+ render: () => (
51
+ <p className="text-sm text-foreground">
52
+ <FormatDate value={KICKOFF} dateStyle="full" className="font-medium" />
53
+ </p>
54
+ ),
55
+ }
56
+
57
+ export const DateStyle_Long: Story = {
58
+ render: () => (
59
+ <p className="text-sm text-foreground">
60
+ <FormatDate value={KICKOFF} dateStyle="long" className="font-medium" />
61
+ </p>
62
+ ),
63
+ }
64
+
65
+ export const DateStyle_Short: Story = {
66
+ render: () => (
67
+ <p className="text-sm text-foreground">
68
+ <FormatDate value={KICKOFF} dateStyle="short" className="font-medium" />
69
+ </p>
70
+ ),
71
+ }
72
+
73
+ export const WithTime: Story = {
74
+ render: () => (
75
+ <p className="text-sm text-foreground">
76
+ Report generated:{" "}
77
+ <FormatDate
78
+ value={new Date(2026, 5, 16, 14, 30, 0)}
79
+ dateStyle="long"
80
+ timeStyle="short"
81
+ className="font-medium"
82
+ />
83
+ </p>
84
+ ),
85
+ }
86
+
87
+ export const WithTimeStyle_Short: Story = {
88
+ render: () => (
89
+ <div className="space-y-2 text-sm text-foreground">
90
+ <p>
91
+ Full time:{" "}
92
+ <FormatDate
93
+ value={new Date(2026, 5, 16, 14, 30, 0)}
94
+ dateStyle="medium"
95
+ timeStyle="full"
96
+ className="font-medium"
97
+ />
98
+ </p>
99
+ <p>
100
+ Short time:{" "}
101
+ <FormatDate
102
+ value={new Date(2026, 5, 16, 14, 30, 0)}
103
+ dateStyle="medium"
104
+ timeStyle="short"
105
+ className="font-medium"
106
+ />
107
+ </p>
108
+ </div>
109
+ ),
110
+ }
111
+
112
+ export const RelativeFallback: Story = {
113
+ render: () => (
114
+ <div className="space-y-2 text-sm">
115
+ <p className="text-foreground">
116
+ With a value:{" "}
117
+ <FormatDate value={KICKOFF} className="font-medium" />
118
+ </p>
119
+ <p className="text-muted-foreground">
120
+ With undefined value (empty span, no error):{" "}
121
+ <FormatDate value={undefined} className="font-medium" />
122
+ <span className="italic"> ← nothing rendered</span>
123
+ </p>
124
+ <p className="text-xs text-muted-foreground">
125
+ When value is undefined or null, FormatDate renders an empty span
126
+ rather than throwing — useful for async / optional dates.
127
+ </p>
128
+ </div>
129
+ ),
130
+ }
131
+
132
+ export const RealisticUse: Story = {
133
+ render: () => (
134
+ <Card className="w-96">
135
+ <CardHeader>
136
+ <CardTitle>ROI report</CardTitle>
137
+ <CardDescription>
138
+ Austin design systems team — quarterly summary
139
+ </CardDescription>
140
+ </CardHeader>
141
+ <CardContent>
142
+ <article className="space-y-3 text-sm text-foreground">
143
+ <p className="text-xs text-muted-foreground font-medium uppercase tracking-wide">
144
+ Published{" "}
145
+ <FormatDate
146
+ value={new Date(2026, 8, 9)}
147
+ dateStyle="long"
148
+ className="normal-case"
149
+ />
150
+ </p>
151
+ <p>
152
+ The engagement ran from{" "}
153
+ <FormatDate value={KICKOFF} dateStyle="long" className="font-medium" />{" "}
154
+ through{" "}
155
+ <FormatDate
156
+ value={new Date(2026, 5, 30)}
157
+ dateStyle="long"
158
+ className="font-medium"
159
+ />
160
+ , delivering 88 components, 1,432 build-hours avoided, and
161
+ $182,450 in documented client savings.
162
+ </p>
163
+ <p className="text-xs text-muted-foreground">
164
+ Next review:{" "}
165
+ <FormatDate
166
+ value={new Date(2026, 11, 1)}
167
+ dateStyle="medium"
168
+ />
169
+ </p>
170
+ </article>
171
+ </CardContent>
172
+ </Card>
173
+ ),
174
+ }
@@ -16,7 +16,7 @@ import {
16
16
  } from "@behavioral-agentic-design-system/core/components/ui/card"
17
17
 
18
18
  const meta: Meta<typeof FormatNumber> = {
19
- title: "Components/FormatNumber",
19
+ title: "Components/Content and data/FormatNumber",
20
20
  component: FormatNumber,
21
21
  parameters: { layout: "centered" },
22
22
  tags: ["autodocs"],
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react"
3
3
  import { Highlight } from "@behavioral-agentic-design-system/core/components/ui/highlight"
4
4
 
5
5
  const meta: Meta<typeof Highlight> = {
6
- title: "Components/Highlight",
6
+ title: "Components/Content and data/Highlight",
7
7
  component: Highlight,
8
8
  parameters: { layout: "centered" },
9
9
  tags: ["autodocs"],
@@ -13,7 +13,7 @@ import { Button } from "@behavioral-agentic-design-system/core/components/ui/but
13
13
  import { Separator } from "@behavioral-agentic-design-system/core/components/ui/separator";
14
14
 
15
15
  const meta: Meta<typeof HoverCard> = {
16
- title: "Components/HoverCard",
16
+ title: "Components/Overlays/HoverCard",
17
17
  component: HoverCard,
18
18
  parameters: { layout: "centered" },
19
19
  tags: ["autodocs"],
@@ -17,7 +17,7 @@ import {
17
17
  * Not a lightbox, and not a next/image substitute.
18
18
  */
19
19
  const meta: Meta<typeof Image> = {
20
- title: "Components/Image",
20
+ title: "Components/Content and data/Image",
21
21
  component: Image,
22
22
  parameters: { layout: "centered" },
23
23
  tags: ["autodocs"],
@@ -6,7 +6,7 @@ import { Avatar, AvatarFallback } from "@behavioral-agentic-design-system/core/c
6
6
  import { Button } from "@behavioral-agentic-design-system/core/components/ui/button"
7
7
 
8
8
  const meta: Meta<typeof Indicator> = {
9
- title: "Components/Indicator",
9
+ title: "Components/Badges and avatars/Indicator",
10
10
  component: Indicator,
11
11
  parameters: {
12
12
  layout: "centered",
@@ -191,7 +191,15 @@ export const Disabled: Story = {
191
191
  ),
192
192
  }
193
193
 
194
+ /**
195
+ * Every option at once, for a person comparing them side by side.
196
+ *
197
+ * Tagged out of the machine-readable manifest: an assistant reading this as an
198
+ * example learns to render a gallery of variants where a screen was asked for.
199
+ * It stays visible in the sidebar, where a human reads it as the reference it is.
200
+ */
194
201
  export const AllPositions: Story = {
202
+ tags: ["!manifest"],
195
203
  render: () => (
196
204
  <div className="grid grid-cols-3 gap-8 p-4">
197
205
  {(["top-left", "top-right", "middle-left", "middle-right", "bottom-left", "bottom-right"] as const).map((pos) => (
@@ -240,7 +248,15 @@ export const RealisticUse: Story = {
240
248
  ),
241
249
  }
242
250
 
251
+ /**
252
+ * Every option at once, for a person comparing them side by side.
253
+ *
254
+ * Tagged out of the machine-readable manifest: an assistant reading this as an
255
+ * example learns to render a gallery of variants where a screen was asked for.
256
+ * It stays visible in the sidebar, where a human reads it as the reference it is.
257
+ */
243
258
  export const AllVariants: Story = {
259
+ tags: ["!manifest"],
244
260
  render: () => (
245
261
  <div className="flex flex-wrap items-center gap-6">
246
262
  {(["default", "secondary", "destructive", "success", "warning"] as const).map((v) => (
@@ -7,7 +7,7 @@ import { CalendarIcon, MailIcon, SearchIcon } from "lucide-react";
7
7
  import { Input } from "@behavioral-agentic-design-system/core/components/ui/input";
8
8
 
9
9
  const meta: Meta<typeof Input> = {
10
- title: "Components/Input",
10
+ title: "Components/Forms/Input",
11
11
  component: Input,
12
12
  parameters: {
13
13
  layout: "centered",
@@ -9,7 +9,7 @@ import { Input } from "@behavioral-agentic-design-system/core/components/ui/inpu
9
9
  import { Label } from "@behavioral-agentic-design-system/core/components/ui/label";
10
10
 
11
11
  const meta: Meta<typeof InputClearButton> = {
12
- title: "Components/InputClearButton",
12
+ title: "Components/Forms/InputClearButton",
13
13
  component: InputClearButton,
14
14
  parameters: { layout: "centered" },
15
15
  tags: ["autodocs"],
@@ -11,7 +11,7 @@ import { CopyButton } from "@behavioral-agentic-design-system/core/components/ui
11
11
  import { Search, Link2 } from "lucide-react";
12
12
 
13
13
  const meta: Meta<typeof InputGroup> = {
14
- title: "Components/InputGroup",
14
+ title: "Components/Forms/InputGroup",
15
15
  component: InputGroup,
16
16
  parameters: {
17
17
  layout: "centered",
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react";
3
3
  import { Kbd } from "@behavioral-agentic-design-system/core/components/ui/kbd";
4
4
 
5
5
  const meta: Meta<typeof Kbd> = {
6
- title: "Components/Kbd",
6
+ title: "Components/Badges and avatars/Kbd",
7
7
  component: Kbd,
8
8
  parameters: { layout: "centered" },
9
9
  tags: ["autodocs"],
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react"
3
3
  import { KeyboardShortcut } from "../components/ui/keyboard-shortcut"
4
4
 
5
5
  const meta: Meta<typeof KeyboardShortcut> = {
6
- title: "UI/KeyboardShortcut",
6
+ title: "Components/Badges and avatars/KeyboardShortcut",
7
7
  component: KeyboardShortcut,
8
8
  tags: ["autodocs"],
9
9
  parameters: {
@@ -3,7 +3,7 @@ import { Label } from "@behavioral-agentic-design-system/core/components/ui/labe
3
3
  import { Input } from "@behavioral-agentic-design-system/core/components/ui/input";
4
4
 
5
5
  const meta: Meta<typeof Label> = {
6
- title: "Components/Label",
6
+ title: "Components/Forms/Label",
7
7
  component: Label,
8
8
  parameters: { layout: "centered" },
9
9
  tags: ["autodocs"],
@@ -11,7 +11,7 @@ import {
11
11
  import { Separator } from "@behavioral-agentic-design-system/core/components/ui/separator"
12
12
 
13
13
  const meta: Meta<typeof Link> = {
14
- title: "Components/Link",
14
+ title: "Components/Navigation/Link",
15
15
  component: Link,
16
16
  parameters: { layout: "centered" },
17
17
  tags: ["autodocs"],
@@ -12,7 +12,7 @@ import {
12
12
  import { List, ListItem } from "@behavioral-agentic-design-system/core/components/ui/list"
13
13
 
14
14
  const meta: Meta<typeof List> = {
15
- title: "Components/List",
15
+ title: "Components/Content and data/List",
16
16
  component: List,
17
17
  parameters: {
18
18
  layout: "centered",
@@ -23,7 +23,7 @@ import { Label } from "@behavioral-agentic-design-system/core/components/ui/labe
23
23
  * (use Select, Combobox, DropdownMenu).
24
24
  */
25
25
  const meta: Meta<typeof ListboxRoot> = {
26
- title: "Components/Listbox",
26
+ title: "Components/Selection/Listbox",
27
27
  component: ListboxRoot,
28
28
  parameters: {
29
29
  layout: "centered",
@@ -4,7 +4,7 @@ import { LoadingDots } from "../components/ui/loading-dots"
4
4
  import { Button } from "../components/ui/button"
5
5
 
6
6
  const meta: Meta<typeof LoadingDots> = {
7
- title: "UI/LoadingDots",
7
+ title: "Components/Feedback/LoadingDots",
8
8
  component: LoadingDots,
9
9
  tags: ["autodocs"],
10
10
  parameters: {
@@ -17,7 +17,7 @@ import {
17
17
  } from "@behavioral-agentic-design-system/core/components/ui/data-list";
18
18
 
19
19
  const meta: Meta<typeof LoadingOverlay> = {
20
- title: "Components/LoadingOverlay",
20
+ title: "Components/Feedback/LoadingOverlay",
21
21
  component: LoadingOverlay,
22
22
  parameters: {
23
23
  layout: "centered",
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react";
3
3
  import { Mark } from "@behavioral-agentic-design-system/core/components/ui/mark";
4
4
 
5
5
  const meta: Meta<typeof Mark> = {
6
- title: "Components/Mark",
6
+ title: "Components/Content and data/Mark",
7
7
  component: Mark,
8
8
  parameters: { layout: "centered" },
9
9
  tags: ["autodocs"],
@@ -11,7 +11,7 @@ import {
11
11
  } from "@behavioral-agentic-design-system/core/components/ui/card";
12
12
 
13
13
  const meta: Meta<typeof Marquee> = {
14
- title: "Components/Marquee",
14
+ title: "Components/Content and data/Marquee",
15
15
  component: Marquee,
16
16
  parameters: { layout: "padded" },
17
17
  tags: ["autodocs"],
@@ -15,7 +15,7 @@ import {
15
15
  } from "@behavioral-agentic-design-system/core/components/ui/avatar";
16
16
 
17
17
  const meta: Meta<typeof Masonry> = {
18
- title: "Components/Masonry",
18
+ title: "Components/Layout/Masonry",
19
19
  component: Masonry,
20
20
  parameters: { layout: "padded" },
21
21
  tags: ["autodocs"],
@@ -18,7 +18,7 @@ import {
18
18
  } from "@behavioral-agentic-design-system/core/components/ui/menubar";
19
19
 
20
20
  const meta: Meta<typeof Menubar> = {
21
- title: "Components/Menubar",
21
+ title: "Components/Navigation/Menubar",
22
22
  component: Menubar,
23
23
  parameters: { layout: "centered" },
24
24
  tags: ["autodocs"],
@@ -3,7 +3,7 @@ import * as React from "react"
3
3
  import { Meter } from "@behavioral-agentic-design-system/core/components/ui/meter"
4
4
 
5
5
  const meta: Meta<typeof Meter> = {
6
- title: "Components/Meter",
6
+ title: "Components/Feedback/Meter",
7
7
  component: Meter,
8
8
  parameters: {
9
9
  layout: "centered",
@@ -11,7 +11,7 @@ import {
11
11
  import { Label } from "@behavioral-agentic-design-system/core/components/ui/label";
12
12
 
13
13
  const meta: Meta<typeof MonthPicker> = {
14
- title: "Components/MonthPicker",
14
+ title: "Components/Dates and time/MonthPicker",
15
15
  component: MonthPicker,
16
16
  parameters: { layout: "centered" },
17
17
  tags: ["autodocs"],
@@ -4,7 +4,7 @@ import { userEvent, within, expect, waitFor } from "storybook/test";
4
4
  import { MotionToggle } from "@behavioral-agentic-design-system/core/components/ui/motion-toggle";
5
5
 
6
6
  const meta: Meta<typeof MotionToggle> = {
7
- title: "Components/MotionToggle",
7
+ title: "Components/Actions/MotionToggle",
8
8
  component: MotionToggle,
9
9
  parameters: { layout: "centered" },
10
10
  tags: ["autodocs"],
@@ -14,7 +14,7 @@ const FRAMEWORKS = [
14
14
  ]
15
15
 
16
16
  const meta: Meta<typeof MultiSelect> = {
17
- title: "Components/MultiSelect",
17
+ title: "Components/Selection/MultiSelect",
18
18
  component: MultiSelect,
19
19
  parameters: {
20
20
  layout: "centered",
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from "@storybook/react";
2
2
  import { NativeSelect } from "@behavioral-agentic-design-system/core/components/ui/native-select";
3
3
 
4
4
  const meta: Meta<typeof NativeSelect> = {
5
- title: "Components/NativeSelect",
5
+ title: "Components/Selection/NativeSelect",
6
6
  component: NativeSelect,
7
7
  parameters: {
8
8
  layout: "centered",
@@ -11,7 +11,7 @@ import { NavLink } from "@behavioral-agentic-design-system/core/components/ui/na
11
11
  import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badge";
12
12
 
13
13
  const meta: Meta<typeof NavLink> = {
14
- title: "Components/NavLink",
14
+ title: "Components/Navigation/NavLink",
15
15
  component: NavLink,
16
16
  parameters: { layout: "centered" },
17
17
  tags: ["autodocs"],
@@ -12,7 +12,7 @@ import {
12
12
  import { cn } from "@behavioral-agentic-design-system/core/lib/utils";
13
13
 
14
14
  const meta: Meta<typeof NavigationMenu> = {
15
- title: "Components/NavigationMenu",
15
+ title: "Components/Navigation/NavigationMenu",
16
16
  component: NavigationMenu,
17
17
  parameters: {
18
18
  layout: "centered",
@@ -27,7 +27,7 @@ import {
27
27
  import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badge";
28
28
 
29
29
  const meta: Meta<typeof NavigationRail> = {
30
- title: "Components/NavigationRail",
30
+ title: "Components/Navigation/NavigationRail",
31
31
  component: NavigationRail,
32
32
  parameters: { layout: "centered" },
33
33
  tags: ["autodocs"],
@@ -257,7 +257,15 @@ export const ActiveItem: Story = {
257
257
  ),
258
258
  };
259
259
 
260
+ /**
261
+ * Every option at once, for a person comparing them side by side.
262
+ *
263
+ * Tagged out of the machine-readable manifest: an assistant reading this as an
264
+ * example learns to render a gallery of variants where a screen was asked for.
265
+ * It stays visible in the sidebar, where a human reads it as the reference it is.
266
+ */
260
267
  export const AllVariants: Story = {
268
+ tags: ["!manifest"],
261
269
  render: () => (
262
270
  <div className="flex items-start gap-6">
263
271
  <div className="space-y-2">
@@ -18,7 +18,7 @@ import {
18
18
  } from "@behavioral-agentic-design-system/core/components/ui/avatar";
19
19
 
20
20
  const meta: Meta<typeof Notification> = {
21
- title: "Components/Notification",
21
+ title: "Components/Feedback/Notification",
22
22
  component: Notification,
23
23
  parameters: { layout: "centered" },
24
24
  tags: ["autodocs"],
@@ -5,7 +5,7 @@ import { Label } from "@behavioral-agentic-design-system/core/components/ui/labe
5
5
  import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
6
6
 
7
7
  const meta: Meta<typeof NumberInput> = {
8
- title: "Components/NumberInput",
8
+ title: "Components/Forms/NumberInput",
9
9
  component: NumberInput,
10
10
  parameters: { layout: "centered" },
11
11
  tags: ["autodocs"],
@@ -13,7 +13,7 @@ import {
13
13
  } from "@behavioral-agentic-design-system/core/components/ui/card";
14
14
 
15
15
  const meta: Meta<typeof Overlay> = {
16
- title: "Components/Overlay",
16
+ title: "Components/Layout/Overlay",
17
17
  component: Overlay,
18
18
  parameters: {
19
19
  layout: "centered",
@@ -18,7 +18,7 @@ import {
18
18
  } from "@behavioral-agentic-design-system/core/components/ui/table";
19
19
 
20
20
  const meta: Meta<typeof Pagination> = {
21
- title: "Components/Pagination",
21
+ title: "Components/Navigation/Pagination",
22
22
  component: Pagination,
23
23
  parameters: { layout: "centered" },
24
24
  tags: ["autodocs"],
@@ -3,7 +3,7 @@ import { PasswordInput } from "@behavioral-agentic-design-system/core/components
3
3
  import { Label } from "@behavioral-agentic-design-system/core/components/ui/label";
4
4
 
5
5
  const meta: Meta<typeof PasswordInput> = {
6
- title: "Components/PasswordInput",
6
+ title: "Components/Forms/PasswordInput",
7
7
  component: PasswordInput,
8
8
  parameters: { layout: "centered" },
9
9
  args: { placeholder: "Enter password" },
@@ -5,7 +5,7 @@ import { Label } from "@behavioral-agentic-design-system/core/components/ui/labe
5
5
  import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
6
6
 
7
7
  const meta: Meta<typeof PinInput> = {
8
- title: "Components/PinInput",
8
+ title: "Components/Forms/PinInput",
9
9
  component: PinInput,
10
10
  parameters: { layout: "centered" },
11
11
  tags: ["autodocs"],
@@ -9,7 +9,7 @@ import { Popover, PopoverContent, PopoverTrigger } from "@behavioral-agentic-des
9
9
  import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
10
10
 
11
11
  const meta: Meta<typeof Popover> = {
12
- title: "Components/Popover",
12
+ title: "Components/Overlays/Popover",
13
13
  component: Popover,
14
14
  parameters: { layout: "centered" },
15
15
  tags: ["autodocs"],
@@ -15,7 +15,7 @@ import { Progress } from "@behavioral-agentic-design-system/core/components/ui/p
15
15
  * (`getValueLabel`), so the visible and announced values cannot diverge.
16
16
  */
17
17
  const meta: Meta<typeof Progress> = {
18
- title: "Components/Progress",
18
+ title: "Components/Feedback/Progress",
19
19
  component: Progress,
20
20
  parameters: {
21
21
  layout: "centered",
@@ -113,12 +113,22 @@ export const Size_Lg: Story = {
113
113
  ),
114
114
  };
115
115
 
116
+ export const Size_Xl: Story = {
117
+ args: { value: 62, size: "xl", label: "Storage used", showValue: true },
118
+ render: (args) => (
119
+ <div className="w-72">
120
+ <Progress {...args} />
121
+ </div>
122
+ ),
123
+ };
124
+
116
125
  export const Sizes: Story = {
117
126
  render: () => (
118
127
  <div className="w-72 space-y-6">
119
128
  <Progress value={45} size="sm" aria-label="Small progress" />
120
129
  <Progress value={45} aria-label="Default progress" />
121
130
  <Progress value={45} size="lg" aria-label="Large progress" />
131
+ <Progress value={45} size="xl" aria-label="XL progress" />
122
132
  </div>
123
133
  ),
124
134
  };
@@ -7,7 +7,7 @@ import {
7
7
  } from "@behavioral-agentic-design-system/core/components/ui/card"
8
8
 
9
9
  const meta: Meta<typeof Prose> = {
10
- title: "Components/Prose",
10
+ title: "Components/Content and data/Prose",
11
11
  component: Prose,
12
12
  parameters: { layout: "centered" },
13
13
  tags: ["autodocs"],
@@ -12,7 +12,7 @@ import {
12
12
  import { Separator } from "@behavioral-agentic-design-system/core/components/ui/separator";
13
13
 
14
14
  const meta: Meta<typeof QRCode> = {
15
- title: "Components/QRCode",
15
+ title: "Components/Content and data/QRCode",
16
16
  component: QRCode,
17
17
  parameters: {
18
18
  layout: "centered",
@@ -6,7 +6,7 @@ import {
6
6
  } from "@behavioral-agentic-design-system/core/components/ui/questionnaire"
7
7
 
8
8
  const meta: Meta<typeof Questionnaire> = {
9
- title: "Components/Questionnaire",
9
+ title: "Components/Forms/Questionnaire",
10
10
  component: Questionnaire,
11
11
  parameters: {
12
12
  layout: "centered",
@@ -3,7 +3,7 @@ import { RadioGroup, RadioGroupItem } from "@behavioral-agentic-design-system/co
3
3
  import { Label } from "@behavioral-agentic-design-system/core/components/ui/label";
4
4
 
5
5
  const meta: Meta<typeof RadioGroup> = {
6
- title: "Components/RadioGroup",
6
+ title: "Components/Selection/RadioGroup",
7
7
  component: RadioGroup,
8
8
  parameters: { layout: "centered" },
9
9
  tags: ["autodocs"],