@behavioral-agentic-design-system/core 0.47.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.
- package/package.json +1 -1
- package/scripts/build-tokens.cjs +24 -3
- package/scripts/ux-smoke.mjs +5 -1
- package/src/api/save-tokens.ts +170 -24
- package/src/app/layout.tsx +12 -1
- package/src/app/preview/components/page.tsx +114 -18
- package/src/app/preview/global-font-client.tsx +2 -0
- package/src/app/providers.tsx +2 -0
- package/src/app/shell.tsx +50 -156
- package/src/components/customize/brand-mark-section.tsx +65 -95
- package/src/components/customize/font-pickers.tsx +25 -2
- package/src/components/customize/save-bar.tsx +120 -7
- package/src/components/customize/theme-io.tsx +62 -21
- package/src/components/customize-tab.tsx +3 -1
- package/src/components/home-recent.tsx +58 -25
- package/src/components/motion/reveal.tsx +168 -12
- package/src/components/studio/control-panel.tsx +98 -19
- package/src/components/studio/import-theme-dialog.tsx +167 -0
- package/src/components/studio/tokens-panel.tsx +215 -0
- package/src/components/studio/types.ts +5 -2
- package/src/components/studio/use-studio-tweaks.ts +36 -4
- package/src/components/studio/use-token-edits.ts +160 -0
- package/src/components/ui/number-field.tsx +390 -0
- package/src/components/ui/toggle-tip.tsx +38 -29
- package/src/data/component-added.json +4 -0
- package/src/data/component-stories.json +1214 -0
- package/src/data/docs-index.ts +7 -2
- package/src/data/hidden-views.ts +22 -0
- package/src/data/history.json +51 -51
- package/src/data/sticker-sheet.json +1918 -1808
- package/src/fonts/Figtree-OFL.txt +93 -0
- package/src/fonts/figtree-latin-ext-wght-normal.woff2 +0 -0
- package/src/fonts/figtree-latin-wght-italic.woff2 +0 -0
- package/src/fonts/figtree-latin-wght-normal.woff2 +0 -0
- package/src/fonts-cdn.css +3 -1
- package/src/fonts.css +44 -0
- package/src/hooks/use-global-heading-font.ts +104 -0
- package/src/hooks/use-global-sans-font.ts +8 -3
- package/src/hooks/use-global-theme.ts +2 -2
- package/src/hooks/use-token-overrides.ts +62 -14
- package/src/lib/css-color.ts +42 -0
- package/src/lib/storybook-url.ts +28 -0
- package/src/lib/theme-editor.ts +7 -1
- package/src/lib/theme-import.ts +99 -0
- package/src/lib/theme-transition.ts +93 -0
- package/src/lib/token-list.ts +133 -0
- package/src/lib/token-value.ts +31 -0
- package/src/stories/Accordion.stories.tsx +1 -1
- package/src/stories/Affix.stories.tsx +1 -1
- package/src/stories/AiBadge.stories.tsx +1 -1
- package/src/stories/Alert.stories.tsx +1 -1
- package/src/stories/AlertDialog.stories.tsx +1 -1
- package/src/stories/AngleSlider.stories.tsx +1 -1
- package/src/stories/AnnouncementBar.stories.tsx +2 -2
- package/src/stories/AspectRatio.stories.tsx +1 -1
- package/src/stories/Attachment.stories.tsx +1 -1
- package/src/stories/Autocomplete.stories.tsx +1 -1
- package/src/stories/Avatar.stories.tsx +1 -1
- package/src/stories/Badge.stories.tsx +1 -1
- package/src/stories/Blockquote.stories.tsx +1 -1
- package/src/stories/Burger.stories.tsx +1 -1
- package/src/stories/Button.stories.tsx +1 -1
- package/src/stories/ButtonGroup.stories.tsx +1 -1
- package/src/stories/Calendar.stories.tsx +1 -1
- package/src/stories/Callout.stories.tsx +1 -1
- package/src/stories/Canvas.stories.tsx +1 -1
- package/src/stories/Card.stories.tsx +1 -1
- package/src/stories/Carousel.stories.tsx +1 -1
- package/src/stories/Cascader.stories.tsx +1 -1
- package/src/stories/Chart.stories.tsx +1 -1
- package/src/stories/ChatBubble.stories.tsx +1 -1
- package/src/stories/ChatMarker.stories.tsx +1 -1
- package/src/stories/Checkbox.stories.tsx +1 -1
- package/src/stories/CheckboxCard.stories.tsx +1 -1
- package/src/stories/CheckboxGroup.stories.tsx +2 -1
- package/src/stories/Chip.stories.tsx +1 -1
- package/src/stories/CircularProgress.stories.tsx +1 -1
- package/src/stories/Clipboard.stories.tsx +1 -1
- package/src/stories/CloseButton.stories.tsx +1 -1
- package/src/stories/Code.stories.tsx +1 -1
- package/src/stories/Collapsible.stories.tsx +1 -1
- package/src/stories/ColorPicker.stories.tsx +1 -1
- package/src/stories/ColorSwatch.stories.tsx +1 -1
- package/src/stories/Combobox.stories.tsx +1 -1
- package/src/stories/Container.stories.tsx +1 -1
- package/src/stories/ContextMenu.stories.tsx +1 -1
- package/src/stories/CopyButton.stories.tsx +1 -1
- package/src/stories/DataList.stories.tsx +1 -1
- package/src/stories/DataTable.stories.tsx +1 -1
- package/src/stories/DateField.stories.tsx +1 -1
- package/src/stories/DatePicker.stories.tsx +1 -1
- package/src/stories/DateRangePicker.stories.tsx +1 -1
- package/src/stories/Dialog.stories.tsx +1 -1
- package/src/stories/Drawer.stories.tsx +1 -1
- package/src/stories/DropdownMenu.stories.tsx +1 -1
- package/src/stories/Editable.stories.tsx +1 -1
- package/src/stories/EmptyState.stories.tsx +1 -1
- package/src/stories/FacetedFilter.stories.tsx +1 -1
- package/src/stories/Field.stories.tsx +1 -1
- package/src/stories/Fieldset.stories.tsx +1 -1
- package/src/stories/FileButton.stories.tsx +1 -1
- package/src/stories/FileUpload.stories.tsx +1 -1
- package/src/stories/FloatLabel.stories.tsx +1 -1
- package/src/stories/FloatingActionButton.stories.tsx +1 -1
- package/src/stories/FloatingIndicator.stories.tsx +1 -1
- package/src/stories/FloatingPanel.stories.tsx +1 -1
- package/src/stories/FocusTrap.stories.tsx +1 -1
- package/src/stories/FormatByte.stories.tsx +1 -1
- package/src/stories/FormatDate.stories.tsx +1 -1
- package/src/stories/FormatNumber.stories.tsx +1 -1
- package/src/stories/FormatRelativeTime.stories.tsx +1 -1
- package/src/stories/GaugeChart.stories.tsx +1 -1
- package/src/stories/Grid.stories.tsx +1 -1
- package/src/stories/Heatmap.stories.tsx +1 -1
- package/src/stories/Highlight.stories.tsx +1 -1
- package/src/stories/HoverCard.stories.tsx +1 -1
- package/src/stories/Icon.stories.tsx +1 -1
- package/src/stories/Image.stories.tsx +1 -1
- package/src/stories/Indicator.stories.tsx +1 -1
- package/src/stories/InfiniteScroll.stories.tsx +1 -1
- package/src/stories/InlineEdit.stories.tsx +1 -1
- package/src/stories/Input.stories.tsx +1 -1
- package/src/stories/InputClearButton.stories.tsx +1 -1
- package/src/stories/InputGroup.stories.tsx +1 -1
- package/src/stories/JsonInput.stories.tsx +1 -1
- package/src/stories/Kbd.stories.tsx +1 -1
- package/src/stories/KeyboardShortcut.stories.tsx +1 -1
- package/src/stories/Label.stories.tsx +1 -1
- package/src/stories/List.stories.tsx +1 -1
- package/src/stories/Listbox.stories.tsx +1 -1
- package/src/stories/LoadingDots.stories.tsx +1 -1
- package/src/stories/LoadingOverlay.stories.tsx +1 -1
- package/src/stories/Mark.stories.tsx +1 -1
- package/src/stories/MarkdownPreview.stories.tsx +1 -1
- package/src/stories/Marquee.stories.tsx +1 -1
- package/src/stories/Masonry.stories.tsx +1 -1
- package/src/stories/Meter.stories.tsx +1 -1
- package/src/stories/MonthPicker.stories.tsx +1 -1
- package/src/stories/MotionToggle.stories.tsx +1 -1
- package/src/stories/MultiSelect.stories.tsx +1 -1
- package/src/stories/NativeSelect.stories.tsx +1 -1
- package/src/stories/NavigationProgress.stories.tsx +1 -1
- package/src/stories/Notification.stories.tsx +1 -1
- package/src/stories/NumberField.stories.tsx +214 -0
- package/src/stories/NumberInput.stories.tsx +1 -1
- package/src/stories/OtpInput.stories.tsx +1 -1
- package/src/stories/Overlay.stories.tsx +1 -1
- package/src/stories/PageHeader.stories.tsx +1 -1
- package/src/stories/PasswordInput.stories.tsx +1 -1
- package/src/stories/PasswordStrengthInput.stories.tsx +1 -1
- package/src/stories/PhoneInput.stories.tsx +1 -1
- package/src/stories/Pill.stories.tsx +1 -1
- package/src/stories/PinInput.stories.tsx +1 -1
- package/src/stories/Popover.stories.tsx +1 -1
- package/src/stories/Portal.stories.tsx +1 -1
- package/src/stories/Presence.stories.tsx +1 -1
- package/src/stories/Progress.stories.tsx +1 -1
- package/src/stories/ProgressStack.stories.tsx +1 -1
- package/src/stories/Prose.stories.tsx +1 -1
- package/src/stories/QrCode.stories.tsx +1 -1
- package/src/stories/Questionnaire.stories.tsx +1 -1
- package/src/stories/RadioGroup.stories.tsx +1 -1
- package/src/stories/RatingGroup.stories.tsx +1 -1
- package/src/stories/Resizable.stories.tsx +1 -1
- package/src/stories/Result.stories.tsx +1 -1
- package/src/stories/Reveal.stories.tsx +1 -1
- package/src/stories/RollingNumber.stories.tsx +1 -1
- package/src/stories/ScrollArea.stories.tsx +1 -1
- package/src/stories/ScrollProgress.stories.tsx +1 -1
- package/src/stories/SearchInput.stories.tsx +1 -1
- package/src/stories/SegmentedControl.stories.tsx +1 -1
- package/src/stories/Select.stories.tsx +1 -1
- package/src/stories/Separator.stories.tsx +1 -1
- package/src/stories/Sheet.stories.tsx +1 -1
- package/src/stories/SignaturePad.stories.tsx +1 -1
- package/src/stories/SimpleGrid.stories.tsx +1 -1
- package/src/stories/Skeleton.stories.tsx +1 -1
- package/src/stories/SkeletonTable.stories.tsx +1 -1
- package/src/stories/Slider.stories.tsx +1 -1
- package/src/stories/Snackbar.stories.tsx +1 -1
- package/src/stories/Sonner.stories.tsx +1 -1
- package/src/stories/SortableList.stories.tsx +1 -1
- package/src/stories/Sparkline.stories.tsx +1 -1
- package/src/stories/Spinner.stories.tsx +1 -1
- package/src/stories/Spoiler.stories.tsx +1 -1
- package/src/stories/Squircle.stories.tsx +1 -1
- package/src/stories/Stack.stories.tsx +1 -1
- package/src/stories/StatusBadge.stories.tsx +1 -1
- package/src/stories/Switch.stories.tsx +1 -1
- package/src/stories/Table.stories.tsx +1 -1
- package/src/stories/Tag.stories.tsx +1 -1
- package/src/stories/TagsInput.stories.tsx +1 -1
- package/src/stories/Text.stories.tsx +1 -1
- package/src/stories/Textarea.stories.tsx +1 -1
- package/src/stories/ThemeIcon.stories.tsx +1 -1
- package/src/stories/TimePicker.stories.tsx +1 -1
- package/src/stories/Timeline.stories.tsx +1 -1
- package/src/stories/Timer.stories.tsx +1 -1
- package/src/stories/Toggle.stories.tsx +1 -1
- package/src/stories/ToggleGroup.stories.tsx +1 -1
- package/src/stories/ToggleTip.stories.tsx +106 -1
- package/src/stories/Tooltip.stories.tsx +56 -1
- package/src/stories/TransferList.stories.tsx +1 -1
- package/src/stories/TreeSelect.stories.tsx +1 -1
- package/src/stories/TypingIndicator.stories.tsx +1 -1
- package/src/stories/VisuallyHidden.stories.tsx +1 -1
- package/src/stories/Watermark.stories.tsx +1 -1
- package/src/stories/WeekPicker.stories.tsx +1 -1
- package/src/stories/WordRotate.stories.tsx +1 -1
- package/src/stories/YearPicker.stories.tsx +1 -1
- package/src/stories/story-groups.json +216 -223
- package/src/styles.css +20 -3
- package/src/tokens.default.json +6 -1
- package/src/tokens.json +7 -2
|
@@ -10,7 +10,7 @@ import { ColorSwatch } from "@behavioral-agentic-design-system/core/components/u
|
|
|
10
10
|
* (rounded/circle/square). Not interactive — wrap in a Button to make it click.
|
|
11
11
|
*/
|
|
12
12
|
const meta: Meta<typeof ColorSwatch> = {
|
|
13
|
-
title: "Components/
|
|
13
|
+
title: "Components/Forms & Inputs/ColorSwatch",
|
|
14
14
|
component: ColorSwatch,
|
|
15
15
|
parameters: {
|
|
16
16
|
layout: "centered",
|
|
@@ -7,7 +7,7 @@ import { Label } from "@behavioral-agentic-design-system/core/components/ui/labe
|
|
|
7
7
|
// role=combobox is intentionally omitted — ARIA 1.2 requires aria-controls when
|
|
8
8
|
// it's present, which cannot be wired across a portal without a ref handshake.
|
|
9
9
|
const meta: Meta<typeof Combobox> = {
|
|
10
|
-
title: "Components/
|
|
10
|
+
title: "Components/Forms & Inputs/Combobox",
|
|
11
11
|
component: Combobox,
|
|
12
12
|
parameters: { layout: "centered" },
|
|
13
13
|
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 Container> = {
|
|
14
|
-
title: "Components/
|
|
14
|
+
title: "Components/Foundations/Container",
|
|
15
15
|
component: Container,
|
|
16
16
|
parameters: { layout: "fullscreen" },
|
|
17
17
|
tags: ["autodocs"],
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import { useState } from "react";
|
|
19
19
|
|
|
20
20
|
const meta: Meta<typeof ContextMenu> = {
|
|
21
|
-
title: "Components/Overlays/ContextMenu",
|
|
21
|
+
title: "Components/Feedback & Overlays/ContextMenu",
|
|
22
22
|
component: ContextMenu,
|
|
23
23
|
parameters: { layout: "centered" },
|
|
24
24
|
tags: ["autodocs"],
|
|
@@ -6,7 +6,7 @@ import * as React from "react"
|
|
|
6
6
|
import { CopyButton } from "@behavioral-agentic-design-system/core/components/ui/copy-button"
|
|
7
7
|
|
|
8
8
|
const meta: Meta<typeof CopyButton> = {
|
|
9
|
-
title: "Components/Actions/CopyButton",
|
|
9
|
+
title: "Components/Buttons & Actions/CopyButton",
|
|
10
10
|
component: CopyButton,
|
|
11
11
|
parameters: {
|
|
12
12
|
layout: "centered",
|
|
@@ -10,7 +10,7 @@ import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badg
|
|
|
10
10
|
import { Separator } from "@behavioral-agentic-design-system/core/components/ui/separator";
|
|
11
11
|
|
|
12
12
|
const meta: Meta<typeof DataList> = {
|
|
13
|
-
title: "Components/
|
|
13
|
+
title: "Components/Data Display/DataList",
|
|
14
14
|
component: DataList,
|
|
15
15
|
parameters: {
|
|
16
16
|
layout: "centered",
|
|
@@ -11,7 +11,7 @@ import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badg
|
|
|
11
11
|
// ---------------------------------------------------------------------------
|
|
12
12
|
|
|
13
13
|
const meta: Meta<typeof DataTable> = {
|
|
14
|
-
title: "Components/
|
|
14
|
+
title: "Components/Data Display/DataTable",
|
|
15
15
|
component: DataTable,
|
|
16
16
|
parameters: {
|
|
17
17
|
layout: "padded",
|
|
@@ -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 DateField> = {
|
|
14
|
-
title: "Components/
|
|
14
|
+
title: "Components/Forms & Inputs/DateField",
|
|
15
15
|
component: DateField,
|
|
16
16
|
parameters: { layout: "centered" },
|
|
17
17
|
}
|
|
@@ -7,7 +7,7 @@ import { userEvent, within, expect, waitFor } from "storybook/test";
|
|
|
7
7
|
// on DatePicker — they now map to startMonth/endMonth + disabled internally.
|
|
8
8
|
// Story coverage is unchanged; the public API is backward-compatible.
|
|
9
9
|
const meta: Meta<typeof DatePicker> = {
|
|
10
|
-
title: "Components/
|
|
10
|
+
title: "Components/Forms & Inputs/DatePicker",
|
|
11
11
|
component: DatePicker,
|
|
12
12
|
parameters: { layout: "centered" },
|
|
13
13
|
tags: ["autodocs"],
|
|
@@ -10,7 +10,7 @@ import { userEvent, within, expect, waitFor } from "storybook/test"
|
|
|
10
10
|
// on DateRangePicker — they now map to startMonth/endMonth + disabled internally.
|
|
11
11
|
// Story coverage is unchanged; the public API is backward-compatible.
|
|
12
12
|
const meta: Meta<typeof DateRangePicker> = {
|
|
13
|
-
title: "Components/
|
|
13
|
+
title: "Components/Forms & Inputs/DateRangePicker",
|
|
14
14
|
component: DateRangePicker,
|
|
15
15
|
parameters: { layout: "centered" },
|
|
16
16
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
|
|
20
20
|
|
|
21
21
|
const meta: Meta<typeof Dialog> = {
|
|
22
|
-
title: "Components/Overlays/Dialog",
|
|
22
|
+
title: "Components/Feedback & Overlays/Dialog",
|
|
23
23
|
component: Dialog,
|
|
24
24
|
parameters: {
|
|
25
25
|
layout: "centered",
|
|
@@ -14,7 +14,7 @@ import { Textarea } from "@behavioral-agentic-design-system/core/components/ui/t
|
|
|
14
14
|
import { Label } from "@behavioral-agentic-design-system/core/components/ui/label";
|
|
15
15
|
|
|
16
16
|
const meta: Meta<typeof Drawer> = {
|
|
17
|
-
title: "Components/Overlays/Drawer",
|
|
17
|
+
title: "Components/Feedback & Overlays/Drawer",
|
|
18
18
|
component: Drawer,
|
|
19
19
|
parameters: { layout: "centered" },
|
|
20
20
|
tags: ["autodocs"],
|
|
@@ -9,7 +9,7 @@ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel,
|
|
|
9
9
|
import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
|
|
10
10
|
|
|
11
11
|
const meta: Meta<typeof DropdownMenu> = {
|
|
12
|
-
title: "Components/Overlays/DropdownMenu",
|
|
12
|
+
title: "Components/Feedback & Overlays/DropdownMenu",
|
|
13
13
|
component: DropdownMenu,
|
|
14
14
|
parameters: { layout: "centered" },
|
|
15
15
|
tags: ["autodocs"],
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "../components/ui/editable"
|
|
11
11
|
|
|
12
12
|
const meta: Meta<typeof Editable> = {
|
|
13
|
-
title: "Components/Forms/Editable",
|
|
13
|
+
title: "Components/Forms & Inputs/Editable",
|
|
14
14
|
component: Editable,
|
|
15
15
|
parameters: { layout: "centered" },
|
|
16
16
|
tags: ["autodocs"],
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import { Button } from "@behavioral-agentic-design-system/core/components/ui/button"
|
|
21
21
|
|
|
22
22
|
const meta: Meta<typeof EmptyState> = {
|
|
23
|
-
title: "Components/Feedback/EmptyState",
|
|
23
|
+
title: "Components/Feedback & Overlays/EmptyState",
|
|
24
24
|
component: EmptyState,
|
|
25
25
|
parameters: {
|
|
26
26
|
layout: "centered",
|
|
@@ -80,7 +80,7 @@ function ControlledFacetedFilter({
|
|
|
80
80
|
// Meta
|
|
81
81
|
// ---------------------------------------------------------------------------
|
|
82
82
|
const meta: Meta<typeof FacetedFilter> = {
|
|
83
|
-
title: "Components/
|
|
83
|
+
title: "Components/Data Display/FacetedFilter",
|
|
84
84
|
component: FacetedFilter,
|
|
85
85
|
tags: ["autodocs"],
|
|
86
86
|
parameters: {
|
|
@@ -13,7 +13,7 @@ import { Textarea } from "@behavioral-agentic-design-system/core/components/ui/t
|
|
|
13
13
|
import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
|
|
14
14
|
|
|
15
15
|
const meta: Meta<typeof Field> = {
|
|
16
|
-
title: "Components/Forms/Field",
|
|
16
|
+
title: "Components/Forms & Inputs/Field",
|
|
17
17
|
component: Field,
|
|
18
18
|
parameters: { layout: "padded" },
|
|
19
19
|
tags: ["autodocs"],
|
|
@@ -15,7 +15,7 @@ import { Label } from "@behavioral-agentic-design-system/core/components/ui/labe
|
|
|
15
15
|
import { Input } from "@behavioral-agentic-design-system/core/components/ui/input";
|
|
16
16
|
|
|
17
17
|
const meta: Meta<typeof Fieldset> = {
|
|
18
|
-
title: "Components/Forms/Fieldset",
|
|
18
|
+
title: "Components/Forms & Inputs/Fieldset",
|
|
19
19
|
component: Fieldset,
|
|
20
20
|
parameters: {
|
|
21
21
|
layout: "centered",
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "@behavioral-agentic-design-system/core/components/ui/card"
|
|
20
20
|
|
|
21
21
|
const meta: Meta<typeof FileButton> = {
|
|
22
|
-
title: "Components/Actions/FileButton",
|
|
22
|
+
title: "Components/Buttons & Actions/FileButton",
|
|
23
23
|
component: FileButton,
|
|
24
24
|
parameters: {
|
|
25
25
|
layout: "centered",
|
|
@@ -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 FileUpload> = {
|
|
8
|
-
title: "Components/Forms/FileUpload",
|
|
8
|
+
title: "Components/Forms & Inputs/FileUpload",
|
|
9
9
|
component: FileUpload,
|
|
10
10
|
parameters: { layout: "padded" },
|
|
11
11
|
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 FloatLabel> = {
|
|
14
|
-
title: "Components/Forms/FloatLabel",
|
|
14
|
+
title: "Components/Forms & Inputs/FloatLabel",
|
|
15
15
|
component: FloatLabel,
|
|
16
16
|
parameters: {
|
|
17
17
|
layout: "centered",
|
|
@@ -5,7 +5,7 @@ import { FloatingActionButton } from "@behavioral-agentic-design-system/core/com
|
|
|
5
5
|
import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badge";
|
|
6
6
|
|
|
7
7
|
const meta: Meta<typeof FloatingActionButton> = {
|
|
8
|
-
title: "Components/Actions/FloatingActionButton",
|
|
8
|
+
title: "Components/Buttons & Actions/FloatingActionButton",
|
|
9
9
|
component: FloatingActionButton,
|
|
10
10
|
parameters: {
|
|
11
11
|
layout: "centered",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
// ─── Meta ─────────────────────────────────────────────────────────────────────
|
|
21
21
|
|
|
22
22
|
const meta: Meta<typeof FloatingIndicator> = {
|
|
23
|
-
title: "Components/
|
|
23
|
+
title: "Components/Foundations/FloatingIndicator",
|
|
24
24
|
component: FloatingIndicator,
|
|
25
25
|
parameters: {
|
|
26
26
|
layout: "centered",
|
|
@@ -4,7 +4,7 @@ import { FloatingPanel } from "@behavioral-agentic-design-system/core/components
|
|
|
4
4
|
import { Button } from "@behavioral-agentic-design-system/core/components/ui/button";
|
|
5
5
|
|
|
6
6
|
const meta: Meta<typeof FloatingPanel> = {
|
|
7
|
-
title: "Components/
|
|
7
|
+
title: "Components/Foundations/FloatingPanel",
|
|
8
8
|
component: FloatingPanel,
|
|
9
9
|
parameters: {
|
|
10
10
|
layout: "fullscreen",
|
|
@@ -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 FocusTrap> = {
|
|
12
|
-
title: "Components/
|
|
12
|
+
title: "Components/Foundations/FocusTrap",
|
|
13
13
|
component: FocusTrap,
|
|
14
14
|
parameters: { layout: "centered" },
|
|
15
15
|
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 FormatByte> = {
|
|
14
|
-
title: "Components/
|
|
14
|
+
title: "Components/Data Display/FormatByte",
|
|
15
15
|
component: FormatByte,
|
|
16
16
|
parameters: { layout: "centered" },
|
|
17
17
|
tags: ["autodocs"],
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "@behavioral-agentic-design-system/core/components/ui/card"
|
|
11
11
|
|
|
12
12
|
const meta: Meta<typeof FormatDate> = {
|
|
13
|
-
title: "Components/
|
|
13
|
+
title: "Components/Data Display/FormatDate",
|
|
14
14
|
component: FormatDate,
|
|
15
15
|
parameters: { layout: "centered" },
|
|
16
16
|
tags: ["autodocs"],
|
|
@@ -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/
|
|
19
|
+
title: "Components/Data Display/FormatNumber",
|
|
20
20
|
component: FormatNumber,
|
|
21
21
|
parameters: { layout: "centered" },
|
|
22
22
|
tags: ["autodocs"],
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react"
|
|
|
2
2
|
import { FormatRelativeTime } from "@behavioral-agentic-design-system/core/components/ui/format-relative-time"
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof FormatRelativeTime> = {
|
|
5
|
-
title: "Components/
|
|
5
|
+
title: "Components/Data Display/FormatRelativeTime",
|
|
6
6
|
component: FormatRelativeTime,
|
|
7
7
|
parameters: {
|
|
8
8
|
docs: {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "@behavioral-agentic-design-system/core/components/ui/card"
|
|
11
11
|
|
|
12
12
|
const meta: Meta<typeof GaugeChart> = {
|
|
13
|
-
title: "Components/
|
|
13
|
+
title: "Components/Data Display/GaugeChart",
|
|
14
14
|
component: GaugeChart,
|
|
15
15
|
parameters: { layout: "centered" },
|
|
16
16
|
tags: ["autodocs"],
|
|
@@ -36,7 +36,7 @@ const WEEKDAYS = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
|
36
36
|
const weeks = (n: number) => Array.from({ length: n }, (_, i) => `W${i + 1}`);
|
|
37
37
|
|
|
38
38
|
const meta: Meta<typeof Heatmap> = {
|
|
39
|
-
title: "Components/
|
|
39
|
+
title: "Components/Data Display/Heatmap",
|
|
40
40
|
component: Heatmap,
|
|
41
41
|
parameters: { layout: "centered" },
|
|
42
42
|
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/
|
|
6
|
+
title: "Components/Data Display/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/Overlays/HoverCard",
|
|
16
|
+
title: "Components/Feedback & Overlays/HoverCard",
|
|
17
17
|
component: HoverCard,
|
|
18
18
|
parameters: { layout: "centered" },
|
|
19
19
|
tags: ["autodocs"],
|
|
@@ -15,7 +15,7 @@ import { ICON_ROLES } from "@behavioral-agentic-design-system/core/lib/get-icon-
|
|
|
15
15
|
import { Button } from "@behavioral-agentic-design-system/core/components/ui/button"
|
|
16
16
|
|
|
17
17
|
const meta: Meta<typeof Icon> = {
|
|
18
|
-
title: "Components/
|
|
18
|
+
title: "Components/Data Display/Icon",
|
|
19
19
|
component: Icon,
|
|
20
20
|
parameters: { layout: "centered" },
|
|
21
21
|
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/
|
|
20
|
+
title: "Components/Data Display/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/
|
|
9
|
+
title: "Components/Data Display/Indicator",
|
|
10
10
|
component: Indicator,
|
|
11
11
|
parameters: {
|
|
12
12
|
layout: "centered",
|
|
@@ -7,7 +7,7 @@ import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badg
|
|
|
7
7
|
import { Separator } from "@behavioral-agentic-design-system/core/components/ui/separator"
|
|
8
8
|
|
|
9
9
|
const meta: Meta<typeof InfiniteScroll> = {
|
|
10
|
-
title: "Components/
|
|
10
|
+
title: "Components/Foundations/InfiniteScroll",
|
|
11
11
|
component: InfiniteScroll,
|
|
12
12
|
parameters: { layout: "padded" },
|
|
13
13
|
tags: ["autodocs"],
|
|
@@ -3,7 +3,7 @@ import * as React from "react"
|
|
|
3
3
|
import { InlineEdit } from "@behavioral-agentic-design-system/core/components/ui/inline-edit"
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof InlineEdit> = {
|
|
6
|
-
title: "Components/Forms/InlineEdit",
|
|
6
|
+
title: "Components/Forms & Inputs/InlineEdit",
|
|
7
7
|
component: InlineEdit,
|
|
8
8
|
parameters: { layout: "centered" },
|
|
9
9
|
tags: ["autodocs"],
|
|
@@ -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/Forms/Input",
|
|
10
|
+
title: "Components/Forms & Inputs/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/Forms/InputClearButton",
|
|
12
|
+
title: "Components/Forms & Inputs/InputClearButton",
|
|
13
13
|
component: InputClearButton,
|
|
14
14
|
parameters: { layout: "centered" },
|
|
15
15
|
tags: ["autodocs"],
|
|
@@ -12,7 +12,7 @@ import { Search, Link2 } from "lucide-react";
|
|
|
12
12
|
import { userEvent, within, expect } from "storybook/test";
|
|
13
13
|
|
|
14
14
|
const meta: Meta<typeof InputGroup> = {
|
|
15
|
-
title: "Components/Forms/InputGroup",
|
|
15
|
+
title: "Components/Forms & Inputs/InputGroup",
|
|
16
16
|
component: InputGroup,
|
|
17
17
|
parameters: {
|
|
18
18
|
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/
|
|
6
|
+
title: "Components/Data Display/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: "Components/
|
|
6
|
+
title: "Components/Data Display/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/Forms/Label",
|
|
6
|
+
title: "Components/Forms & Inputs/Label",
|
|
7
7
|
component: Label,
|
|
8
8
|
parameters: { layout: "centered" },
|
|
9
9
|
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/
|
|
15
|
+
title: "Components/Data Display/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/
|
|
26
|
+
title: "Components/Forms & Inputs/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: "Components/Feedback/LoadingDots",
|
|
7
|
+
title: "Components/Feedback & Overlays/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/Feedback/LoadingOverlay",
|
|
20
|
+
title: "Components/Feedback & Overlays/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/
|
|
6
|
+
title: "Components/Data Display/Mark",
|
|
7
7
|
component: Mark,
|
|
8
8
|
parameters: { layout: "centered" },
|
|
9
9
|
tags: ["autodocs"],
|
|
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react";
|
|
|
2
2
|
import { MarkdownPreview } from "@behavioral-agentic-design-system/core/components/markdown-preview";
|
|
3
3
|
|
|
4
4
|
const meta: Meta<typeof MarkdownPreview> = {
|
|
5
|
-
title: "Components/
|
|
5
|
+
title: "Components/Data Display/MarkdownPreview",
|
|
6
6
|
component: MarkdownPreview,
|
|
7
7
|
parameters: { layout: "padded" },
|
|
8
8
|
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/
|
|
14
|
+
title: "Components/Data Display/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/
|
|
18
|
+
title: "Components/Foundations/Masonry",
|
|
19
19
|
component: Masonry,
|
|
20
20
|
parameters: { layout: "padded" },
|
|
21
21
|
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/Feedback/Meter",
|
|
6
|
+
title: "Components/Feedback & Overlays/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/
|
|
14
|
+
title: "Components/Forms & Inputs/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/Actions/MotionToggle",
|
|
7
|
+
title: "Components/Buttons & Actions/MotionToggle",
|
|
8
8
|
component: MotionToggle,
|
|
9
9
|
parameters: { layout: "centered" },
|
|
10
10
|
tags: ["autodocs"],
|
|
@@ -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/
|
|
5
|
+
title: "Components/Forms & Inputs/NativeSelect",
|
|
6
6
|
component: NativeSelect,
|
|
7
7
|
parameters: {
|
|
8
8
|
layout: "centered",
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
// below drive the module store.
|
|
19
19
|
|
|
20
20
|
const meta: Meta<typeof NavigationProgress> = {
|
|
21
|
-
title: "Components/Feedback/NavigationProgress",
|
|
21
|
+
title: "Components/Feedback & Overlays/NavigationProgress",
|
|
22
22
|
component: NavigationProgress,
|
|
23
23
|
parameters: { layout: "fullscreen" },
|
|
24
24
|
tags: ["autodocs"],
|