@behavioral-agentic-design-system/core 0.48.0 → 0.49.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 (212) hide show
  1. package/package.json +1 -1
  2. package/scripts/build-tokens.cjs +24 -3
  3. package/scripts/ux-smoke.mjs +5 -1
  4. package/src/api/save-tokens.ts +170 -24
  5. package/src/app/layout.tsx +12 -1
  6. package/src/app/preview/components/page.tsx +25 -18
  7. package/src/app/preview/global-font-client.tsx +2 -0
  8. package/src/app/providers.tsx +2 -0
  9. package/src/app/shell.tsx +50 -156
  10. package/src/components/customize/brand-mark-section.tsx +65 -95
  11. package/src/components/customize/font-pickers.tsx +25 -2
  12. package/src/components/customize/save-bar.tsx +120 -7
  13. package/src/components/customize/theme-io.tsx +62 -21
  14. package/src/components/customize-tab.tsx +3 -1
  15. package/src/components/home-recent.tsx +58 -25
  16. package/src/components/motion/reveal.tsx +168 -12
  17. package/src/components/studio/control-panel.tsx +98 -19
  18. package/src/components/studio/import-theme-dialog.tsx +167 -0
  19. package/src/components/studio/tokens-panel.tsx +215 -0
  20. package/src/components/studio/types.ts +5 -2
  21. package/src/components/studio/use-studio-tweaks.ts +36 -4
  22. package/src/components/studio/use-token-edits.ts +160 -0
  23. package/src/components/ui/toggle-tip.tsx +38 -29
  24. package/src/data/component-stories.json +1214 -0
  25. package/src/data/docs-index.ts +7 -2
  26. package/src/data/hidden-views.ts +22 -0
  27. package/src/data/history.json +32 -32
  28. package/src/data/sticker-sheet.json +1878 -1821
  29. package/src/fonts/Figtree-OFL.txt +93 -0
  30. package/src/fonts/figtree-latin-ext-wght-normal.woff2 +0 -0
  31. package/src/fonts/figtree-latin-wght-italic.woff2 +0 -0
  32. package/src/fonts/figtree-latin-wght-normal.woff2 +0 -0
  33. package/src/fonts-cdn.css +3 -1
  34. package/src/fonts.css +44 -0
  35. package/src/hooks/use-global-heading-font.ts +104 -0
  36. package/src/hooks/use-global-sans-font.ts +8 -3
  37. package/src/hooks/use-global-theme.ts +2 -2
  38. package/src/hooks/use-token-overrides.ts +62 -14
  39. package/src/lib/css-color.ts +42 -0
  40. package/src/lib/storybook-url.ts +28 -0
  41. package/src/lib/theme-editor.ts +7 -1
  42. package/src/lib/theme-import.ts +99 -0
  43. package/src/lib/theme-transition.ts +93 -0
  44. package/src/lib/token-list.ts +133 -0
  45. package/src/lib/token-value.ts +31 -0
  46. package/src/stories/Accordion.stories.tsx +1 -1
  47. package/src/stories/Affix.stories.tsx +1 -1
  48. package/src/stories/AiBadge.stories.tsx +1 -1
  49. package/src/stories/Alert.stories.tsx +1 -1
  50. package/src/stories/AlertDialog.stories.tsx +1 -1
  51. package/src/stories/AngleSlider.stories.tsx +1 -1
  52. package/src/stories/AnnouncementBar.stories.tsx +2 -2
  53. package/src/stories/AspectRatio.stories.tsx +1 -1
  54. package/src/stories/Attachment.stories.tsx +1 -1
  55. package/src/stories/Autocomplete.stories.tsx +1 -1
  56. package/src/stories/Avatar.stories.tsx +1 -1
  57. package/src/stories/Badge.stories.tsx +1 -1
  58. package/src/stories/Blockquote.stories.tsx +1 -1
  59. package/src/stories/Burger.stories.tsx +1 -1
  60. package/src/stories/Button.stories.tsx +1 -1
  61. package/src/stories/ButtonGroup.stories.tsx +1 -1
  62. package/src/stories/Calendar.stories.tsx +1 -1
  63. package/src/stories/Callout.stories.tsx +1 -1
  64. package/src/stories/Canvas.stories.tsx +1 -1
  65. package/src/stories/Card.stories.tsx +1 -1
  66. package/src/stories/Carousel.stories.tsx +1 -1
  67. package/src/stories/Cascader.stories.tsx +1 -1
  68. package/src/stories/Chart.stories.tsx +1 -1
  69. package/src/stories/ChatBubble.stories.tsx +1 -1
  70. package/src/stories/ChatMarker.stories.tsx +1 -1
  71. package/src/stories/Checkbox.stories.tsx +1 -1
  72. package/src/stories/CheckboxCard.stories.tsx +1 -1
  73. package/src/stories/CheckboxGroup.stories.tsx +1 -1
  74. package/src/stories/Chip.stories.tsx +1 -1
  75. package/src/stories/CircularProgress.stories.tsx +1 -1
  76. package/src/stories/Clipboard.stories.tsx +1 -1
  77. package/src/stories/CloseButton.stories.tsx +1 -1
  78. package/src/stories/Code.stories.tsx +1 -1
  79. package/src/stories/Collapsible.stories.tsx +1 -1
  80. package/src/stories/ColorPicker.stories.tsx +1 -1
  81. package/src/stories/ColorSwatch.stories.tsx +1 -1
  82. package/src/stories/Combobox.stories.tsx +1 -1
  83. package/src/stories/Container.stories.tsx +1 -1
  84. package/src/stories/ContextMenu.stories.tsx +1 -1
  85. package/src/stories/CopyButton.stories.tsx +1 -1
  86. package/src/stories/DataList.stories.tsx +1 -1
  87. package/src/stories/DataTable.stories.tsx +1 -1
  88. package/src/stories/DateField.stories.tsx +1 -1
  89. package/src/stories/DatePicker.stories.tsx +1 -1
  90. package/src/stories/DateRangePicker.stories.tsx +1 -1
  91. package/src/stories/Dialog.stories.tsx +1 -1
  92. package/src/stories/Drawer.stories.tsx +1 -1
  93. package/src/stories/DropdownMenu.stories.tsx +1 -1
  94. package/src/stories/Editable.stories.tsx +1 -1
  95. package/src/stories/EmptyState.stories.tsx +1 -1
  96. package/src/stories/FacetedFilter.stories.tsx +1 -1
  97. package/src/stories/Field.stories.tsx +1 -1
  98. package/src/stories/Fieldset.stories.tsx +1 -1
  99. package/src/stories/FileButton.stories.tsx +1 -1
  100. package/src/stories/FileUpload.stories.tsx +1 -1
  101. package/src/stories/FloatLabel.stories.tsx +1 -1
  102. package/src/stories/FloatingActionButton.stories.tsx +1 -1
  103. package/src/stories/FloatingIndicator.stories.tsx +1 -1
  104. package/src/stories/FloatingPanel.stories.tsx +1 -1
  105. package/src/stories/FocusTrap.stories.tsx +1 -1
  106. package/src/stories/FormatByte.stories.tsx +1 -1
  107. package/src/stories/FormatDate.stories.tsx +1 -1
  108. package/src/stories/FormatNumber.stories.tsx +1 -1
  109. package/src/stories/FormatRelativeTime.stories.tsx +1 -1
  110. package/src/stories/GaugeChart.stories.tsx +1 -1
  111. package/src/stories/Grid.stories.tsx +1 -1
  112. package/src/stories/Heatmap.stories.tsx +1 -1
  113. package/src/stories/Highlight.stories.tsx +1 -1
  114. package/src/stories/HoverCard.stories.tsx +1 -1
  115. package/src/stories/Icon.stories.tsx +1 -1
  116. package/src/stories/Image.stories.tsx +1 -1
  117. package/src/stories/Indicator.stories.tsx +1 -1
  118. package/src/stories/InfiniteScroll.stories.tsx +1 -1
  119. package/src/stories/InlineEdit.stories.tsx +1 -1
  120. package/src/stories/Input.stories.tsx +1 -1
  121. package/src/stories/InputClearButton.stories.tsx +1 -1
  122. package/src/stories/InputGroup.stories.tsx +1 -1
  123. package/src/stories/JsonInput.stories.tsx +1 -1
  124. package/src/stories/Kbd.stories.tsx +1 -1
  125. package/src/stories/KeyboardShortcut.stories.tsx +1 -1
  126. package/src/stories/Label.stories.tsx +1 -1
  127. package/src/stories/List.stories.tsx +1 -1
  128. package/src/stories/Listbox.stories.tsx +1 -1
  129. package/src/stories/LoadingDots.stories.tsx +1 -1
  130. package/src/stories/LoadingOverlay.stories.tsx +1 -1
  131. package/src/stories/Mark.stories.tsx +1 -1
  132. package/src/stories/MarkdownPreview.stories.tsx +1 -1
  133. package/src/stories/Marquee.stories.tsx +1 -1
  134. package/src/stories/Masonry.stories.tsx +1 -1
  135. package/src/stories/Meter.stories.tsx +1 -1
  136. package/src/stories/MonthPicker.stories.tsx +1 -1
  137. package/src/stories/MotionToggle.stories.tsx +1 -1
  138. package/src/stories/MultiSelect.stories.tsx +1 -1
  139. package/src/stories/NativeSelect.stories.tsx +1 -1
  140. package/src/stories/NavigationProgress.stories.tsx +1 -1
  141. package/src/stories/Notification.stories.tsx +1 -1
  142. package/src/stories/NumberField.stories.tsx +1 -1
  143. package/src/stories/NumberInput.stories.tsx +1 -1
  144. package/src/stories/OtpInput.stories.tsx +1 -1
  145. package/src/stories/Overlay.stories.tsx +1 -1
  146. package/src/stories/PageHeader.stories.tsx +1 -1
  147. package/src/stories/PasswordInput.stories.tsx +1 -1
  148. package/src/stories/PasswordStrengthInput.stories.tsx +1 -1
  149. package/src/stories/PhoneInput.stories.tsx +1 -1
  150. package/src/stories/Pill.stories.tsx +1 -1
  151. package/src/stories/PinInput.stories.tsx +1 -1
  152. package/src/stories/Popover.stories.tsx +1 -1
  153. package/src/stories/Portal.stories.tsx +1 -1
  154. package/src/stories/Presence.stories.tsx +1 -1
  155. package/src/stories/Progress.stories.tsx +1 -1
  156. package/src/stories/ProgressStack.stories.tsx +1 -1
  157. package/src/stories/Prose.stories.tsx +1 -1
  158. package/src/stories/QrCode.stories.tsx +1 -1
  159. package/src/stories/Questionnaire.stories.tsx +1 -1
  160. package/src/stories/RadioGroup.stories.tsx +1 -1
  161. package/src/stories/RatingGroup.stories.tsx +1 -1
  162. package/src/stories/Resizable.stories.tsx +1 -1
  163. package/src/stories/Result.stories.tsx +1 -1
  164. package/src/stories/Reveal.stories.tsx +1 -1
  165. package/src/stories/RollingNumber.stories.tsx +1 -1
  166. package/src/stories/ScrollArea.stories.tsx +1 -1
  167. package/src/stories/ScrollProgress.stories.tsx +1 -1
  168. package/src/stories/SearchInput.stories.tsx +1 -1
  169. package/src/stories/SegmentedControl.stories.tsx +1 -1
  170. package/src/stories/Select.stories.tsx +1 -1
  171. package/src/stories/Separator.stories.tsx +1 -1
  172. package/src/stories/Sheet.stories.tsx +1 -1
  173. package/src/stories/SignaturePad.stories.tsx +1 -1
  174. package/src/stories/SimpleGrid.stories.tsx +1 -1
  175. package/src/stories/Skeleton.stories.tsx +1 -1
  176. package/src/stories/SkeletonTable.stories.tsx +1 -1
  177. package/src/stories/Slider.stories.tsx +1 -1
  178. package/src/stories/Snackbar.stories.tsx +1 -1
  179. package/src/stories/Sonner.stories.tsx +1 -1
  180. package/src/stories/SortableList.stories.tsx +1 -1
  181. package/src/stories/Sparkline.stories.tsx +1 -1
  182. package/src/stories/Spinner.stories.tsx +1 -1
  183. package/src/stories/Spoiler.stories.tsx +1 -1
  184. package/src/stories/Squircle.stories.tsx +1 -1
  185. package/src/stories/Stack.stories.tsx +1 -1
  186. package/src/stories/StatusBadge.stories.tsx +1 -1
  187. package/src/stories/Switch.stories.tsx +1 -1
  188. package/src/stories/Table.stories.tsx +1 -1
  189. package/src/stories/Tag.stories.tsx +1 -1
  190. package/src/stories/TagsInput.stories.tsx +1 -1
  191. package/src/stories/Text.stories.tsx +1 -1
  192. package/src/stories/Textarea.stories.tsx +1 -1
  193. package/src/stories/ThemeIcon.stories.tsx +1 -1
  194. package/src/stories/TimePicker.stories.tsx +1 -1
  195. package/src/stories/Timeline.stories.tsx +1 -1
  196. package/src/stories/Timer.stories.tsx +1 -1
  197. package/src/stories/Toggle.stories.tsx +1 -1
  198. package/src/stories/ToggleGroup.stories.tsx +1 -1
  199. package/src/stories/ToggleTip.stories.tsx +106 -1
  200. package/src/stories/Tooltip.stories.tsx +56 -1
  201. package/src/stories/TransferList.stories.tsx +1 -1
  202. package/src/stories/TreeSelect.stories.tsx +1 -1
  203. package/src/stories/TypingIndicator.stories.tsx +1 -1
  204. package/src/stories/VisuallyHidden.stories.tsx +1 -1
  205. package/src/stories/Watermark.stories.tsx +1 -1
  206. package/src/stories/WeekPicker.stories.tsx +1 -1
  207. package/src/stories/WordRotate.stories.tsx +1 -1
  208. package/src/stories/YearPicker.stories.tsx +1 -1
  209. package/src/stories/story-groups.json +216 -224
  210. package/src/styles.css +20 -3
  211. package/src/tokens.default.json +6 -1
  212. package/src/tokens.json +7 -2
@@ -5,9 +5,10 @@ import { ToggleTip } from "@behavioral-agentic-design-system/core/components/ui/
5
5
  import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
6
6
  import { Input } from "@behavioral-agentic-design-system/core/components/ui/input";
7
7
  import { Label } from "@behavioral-agentic-design-system/core/components/ui/label";
8
+ import { userEvent, within, expect, waitFor } from "storybook/test";
8
9
 
9
10
  const meta: Meta<typeof ToggleTip> = {
10
- title: "Components/Feedback/ToggleTip",
11
+ title: "Components/Feedback & Overlays/ToggleTip",
11
12
  component: ToggleTip,
12
13
  parameters: { layout: "centered" },
13
14
  tags: ["autodocs"],
@@ -108,3 +109,107 @@ export const RealisticUse: StoryObj = {
108
109
  </div>
109
110
  ),
110
111
  };
112
+
113
+ const SIDES = ["top", "right", "bottom", "left"] as const;
114
+
115
+ /**
116
+ * The arrow's base must sit 1px inside the panel edge that faces the trigger, and, when the panel is not shifted by a
117
+ * collision, its centre must sit on the trigger's centre line. This is the guard for the placement bug where the
118
+ * arrow floated 5 to 12px off the edge on bottom, left and right.
119
+ */
120
+ async function expectArrowFlush(
121
+ trigger: HTMLElement,
122
+ side: (typeof SIDES)[number],
123
+ opts: { centred?: boolean } = { centred: true },
124
+ ) {
125
+ const panel = await waitFor(() => {
126
+ const el = document.querySelector<HTMLElement>('[data-slot="toggle-tip-content"][data-state="open"]');
127
+ if (!el) throw new Error("tip not open");
128
+ return el;
129
+ });
130
+ const arrow = panel.querySelector<HTMLElement | SVGElement>('[data-slot="toggle-tip-arrow"]');
131
+ if (!arrow) throw new Error("no arrow");
132
+ // Let the open animation and Radix's measure settle before reading geometry.
133
+ await new Promise((r) => setTimeout(r, 400));
134
+ const p = panel.getBoundingClientRect();
135
+ const a = arrow.getBoundingClientRect();
136
+ const t = trigger.getBoundingClientRect();
137
+ const gap = { top: a.top - p.bottom, bottom: p.top - a.bottom, left: a.left - p.right, right: p.left - a.right }[side];
138
+ const along = side === "top" || side === "bottom" ? a.left + a.width / 2 : a.top + a.height / 2;
139
+ const triggerCentre = side === "top" || side === "bottom" ? t.left + t.width / 2 : t.top + t.height / 2;
140
+ // The arrow is drawn 1px into the panel so its fill covers the panel's own 1px border where they join. A gap
141
+ // above -0.75 means the border shows across the base (or the arrow floats off); below -1.25, it is sunk.
142
+ await expect(gap).toBeGreaterThanOrEqual(-1.25);
143
+ await expect(gap).toBeLessThanOrEqual(-0.75);
144
+ // A panel pushed back inside the viewport by a collision keeps its arrow on the edge but no longer centred.
145
+ if (opts.centred !== false) await expect(Math.abs(along - triggerCentre)).toBeLessThanOrEqual(2);
146
+ else await expect(along).toBeGreaterThan(0);
147
+ }
148
+
149
+ /** Every placement, one open at a time. The play function asserts the arrow sits flush against the panel edge on each. */
150
+ export const AllSides: StoryObj = {
151
+ parameters: { controls: { disable: true } },
152
+ render: () => (
153
+ <div className="grid grid-cols-2 gap-x-72 gap-y-40 p-40">
154
+ {SIDES.map((side) => (
155
+ <ToggleTip
156
+ key={side}
157
+ side={side}
158
+ content={`Side ${side}. The arrow tucks against the panel edge facing the trigger.`}
159
+ >
160
+ <Button variant="outline" size="icon" aria-label={`Open the ${side} tip`}>
161
+ <Info strokeWidth={1.5} className="size-4" />
162
+ </Button>
163
+ </ToggleTip>
164
+ ))}
165
+ </div>
166
+ ),
167
+ play: async ({ canvasElement }) => {
168
+ const canvas = within(canvasElement);
169
+ for (const side of SIDES) {
170
+ const trigger = canvas.getByRole("button", { name: `Open the ${side} tip` });
171
+ await userEvent.click(trigger);
172
+ await expectArrowFlush(trigger, side);
173
+ await userEvent.keyboard("{Escape}");
174
+ await waitFor(() => expect(document.querySelector('[data-slot="toggle-tip-content"]')).toBeNull());
175
+ }
176
+ },
177
+ };
178
+
179
+ const EDGE_CASES = [
180
+ { side: "bottom", pos: "left-1 top-1/2" },
181
+ { side: "top", pos: "right-1 top-1/2" },
182
+ { side: "right", pos: "left-1/2 top-1" },
183
+ { side: "left", pos: "left-1/2 bottom-1" },
184
+ ] as const;
185
+
186
+ /** Triggers pinned to the viewport edges so Radix shifts the panel and offsets the arrow. The arrow stays on the panel edge. */
187
+ export const NearEdges: StoryObj = {
188
+ parameters: { controls: { disable: true }, layout: "fullscreen" },
189
+ render: () => (
190
+ <div className="relative h-screen min-h-96 w-full">
191
+ {EDGE_CASES.map(({ side, pos }) => (
192
+ <div key={side} className={`absolute ${pos}`}>
193
+ <ToggleTip
194
+ side={side}
195
+ content={`Pinned to an edge, side ${side}. The panel shifts to stay on screen and the arrow follows the trigger.`}
196
+ >
197
+ <Button variant="outline" size="icon" aria-label={`Open the edge ${side} tip`}>
198
+ <Info strokeWidth={1.5} className="size-4" />
199
+ </Button>
200
+ </ToggleTip>
201
+ </div>
202
+ ))}
203
+ </div>
204
+ ),
205
+ play: async ({ canvasElement }) => {
206
+ const canvas = within(canvasElement);
207
+ for (const { side } of EDGE_CASES) {
208
+ const trigger = canvas.getByRole("button", { name: `Open the edge ${side} tip` });
209
+ await userEvent.click(trigger);
210
+ await expectArrowFlush(trigger, side, { centred: false });
211
+ await userEvent.keyboard("{Escape}");
212
+ await waitFor(() => expect(document.querySelector('[data-slot="toggle-tip-content"]')).toBeNull());
213
+ }
214
+ },
215
+ };
@@ -6,10 +6,11 @@
6
6
  // story added because the demo would duplicate Sheet's.
7
7
  import type { Meta, StoryObj } from "@storybook/react";
8
8
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@behavioral-agentic-design-system/core/components/ui/tooltip";
9
+ import { userEvent, within, expect, waitFor } from "storybook/test";
9
10
  import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
10
11
 
11
12
  const meta: Meta<typeof Tooltip> = {
12
- title: "Components/Overlays/Tooltip",
13
+ title: "Components/Feedback & Overlays/Tooltip",
13
14
  component: Tooltip,
14
15
  parameters: { layout: "centered" },
15
16
  tags: ["autodocs"],
@@ -56,3 +57,57 @@ export const DeEmphasizedText: Story = {
56
57
  </Tooltip>
57
58
  </TooltipProvider>),
58
59
  };
60
+
61
+ const SIDES = ["top", "right", "bottom", "left"] as const;
62
+
63
+ /**
64
+ * Every placement. The play function asserts the arrow's base sits on the panel edge facing the trigger and its
65
+ * centre is on the trigger's centre line. Guards the same left/right/bottom drift ToggleTip had: a rotated square
66
+ * inside Radix's arrow wrapper lands off the edge when the wrapper is rotated for a side.
67
+ */
68
+ export const AllSides: Story = {
69
+ parameters: { controls: { disable: true } },
70
+ render: () => (
71
+ <TooltipProvider delayDuration={0}>
72
+ <div className="grid grid-cols-2 gap-x-72 gap-y-40 p-40">
73
+ {SIDES.map((side) => (
74
+ <Tooltip key={side}>
75
+ <TooltipTrigger asChild>
76
+ <Button variant="outline">{`Hover ${side}`}</Button>
77
+ </TooltipTrigger>
78
+ <TooltipContent side={side}>{`Side ${side}`}</TooltipContent>
79
+ </Tooltip>
80
+ ))}
81
+ </div>
82
+ </TooltipProvider>
83
+ ),
84
+ play: async ({ canvasElement }) => {
85
+ const canvas = within(canvasElement);
86
+ for (const side of SIDES) {
87
+ const trigger = canvas.getByRole("button", { name: `Hover ${side}` });
88
+ await userEvent.hover(trigger);
89
+ const panel = await waitFor(() => {
90
+ const el = document.querySelector<HTMLElement>('[data-slot="tooltip-content"][data-state="delayed-open"], [data-slot="tooltip-content"][data-state="instant-open"]');
91
+ if (!el) throw new Error("tooltip not open");
92
+ return el;
93
+ });
94
+ await new Promise((r) => setTimeout(r, 400));
95
+ const arrow = panel.querySelector("svg");
96
+ if (!arrow) throw new Error("no arrow");
97
+ // The tooltip arrow is a rotated square, so its bbox is the diagonal; the tip points at the trigger and the
98
+ // centre of the square sits on the panel edge. Compare centres, not bounding boxes.
99
+ const p = panel.getBoundingClientRect();
100
+ const a = arrow.getBoundingClientRect();
101
+ const t = trigger.getBoundingClientRect();
102
+ const horizontal = side === "top" || side === "bottom";
103
+ const edge = { top: p.bottom, bottom: p.top, left: p.right, right: p.left }[side];
104
+ const across = horizontal ? a.top + a.height / 2 : a.left + a.width / 2;
105
+ const along = horizontal ? a.left + a.width / 2 : a.top + a.height / 2;
106
+ const triggerCentre = horizontal ? t.left + t.width / 2 : t.top + t.height / 2;
107
+ await expect(Math.abs(across - edge)).toBeLessThanOrEqual(3);
108
+ await expect(Math.abs(along - triggerCentre)).toBeLessThanOrEqual(2);
109
+ await userEvent.unhover(trigger);
110
+ await waitFor(() => expect(document.querySelector('[data-slot="tooltip-content"]')).toBeNull());
111
+ }
112
+ },
113
+ };
@@ -3,7 +3,7 @@ import * as React from "react"
3
3
  import { TransferList } from "@behavioral-agentic-design-system/core/components/ui/transfer-list"
4
4
 
5
5
  const meta: Meta<typeof TransferList> = {
6
- title: "Components/Selection/TransferList",
6
+ title: "Components/Forms & Inputs/TransferList",
7
7
  component: TransferList,
8
8
  parameters: { layout: "centered" },
9
9
  tags: ["autodocs"],
@@ -6,7 +6,7 @@ import {
6
6
  } from "@behavioral-agentic-design-system/core/components/ui/tree-select";
7
7
 
8
8
  const meta: Meta<typeof TreeSelect> = {
9
- title: "Components/Selection/TreeSelect",
9
+ title: "Components/Forms & Inputs/TreeSelect",
10
10
  component: TreeSelect,
11
11
  parameters: { layout: "centered" },
12
12
  tags: ["autodocs"],
@@ -12,7 +12,7 @@ import {
12
12
  } from "@behavioral-agentic-design-system/core/components/ui/card";
13
13
 
14
14
  const meta: Meta<typeof TypingIndicator> = {
15
- title: "Components/Feedback/TypingIndicator",
15
+ title: "Components/Feedback & Overlays/TypingIndicator",
16
16
  component: TypingIndicator,
17
17
  parameters: {
18
18
  layout: "centered",
@@ -10,7 +10,7 @@ import {
10
10
  import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badge";
11
11
 
12
12
  const meta: Meta<typeof VisuallyHidden> = {
13
- title: "Components/Layout/VisuallyHidden",
13
+ title: "Components/Foundations/VisuallyHidden",
14
14
  component: VisuallyHidden,
15
15
  parameters: { layout: "centered" },
16
16
  tags: ["autodocs"],
@@ -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 Watermark> = {
20
- title: "Components/Content and data/Watermark",
20
+ title: "Components/Data Display/Watermark",
21
21
  component: Watermark,
22
22
  parameters: { layout: "centered" },
23
23
  tags: ["autodocs"],
@@ -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 WeekPicker> = {
14
- title: "Components/Dates and time/WeekPicker",
14
+ title: "Components/Forms & Inputs/WeekPicker",
15
15
  component: WeekPicker,
16
16
  parameters: { layout: "centered" },
17
17
  tags: ["autodocs"],
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from "@storybook/react"
3
3
  import { WordRotate } from "@behavioral-agentic-design-system/core/components/ui/word-rotate"
4
4
 
5
5
  const meta: Meta<typeof WordRotate> = {
6
- title: "Components/Content and data/WordRotate",
6
+ title: "Components/Data Display/WordRotate",
7
7
  component: WordRotate,
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 YearPicker> = {
14
- title: "Components/Dates and time/YearPicker",
14
+ title: "Components/Forms & Inputs/YearPicker",
15
15
  component: YearPicker,
16
16
  parameters: { layout: "centered" },
17
17
  tags: ["autodocs"],