@behavioral-agentic-design-system/core 0.49.0 → 0.49.1-beta-20261119021055
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 +2 -1
- package/scripts/bads.mjs +247 -0
- package/scripts/lib/connect/check.mjs +102 -0
- package/scripts/lib/connect/connect.mjs +411 -0
- package/scripts/lib/connect/edits.mjs +361 -0
- package/scripts/lib/connect/tools.mjs +170 -0
- package/scripts/lib/connect/update-check.mjs +29 -0
- package/scripts/lint-ethics-contract.mjs +19 -1
- package/src/components/customize-tab.tsx +0 -4
- package/src/components/ui/date-picker.tsx +1 -8
- package/src/components/ui/date-range-picker.tsx +1 -8
- package/src/components/ui/json-input.tsx +0 -1
- package/src/components/ui/navigation-progress.tsx +5 -8
- package/src/components/ui/segmented-control.tsx +1 -5
- package/src/components/ui/sortable-list.tsx +1 -1
- package/src/components/ui/tree-view.tsx +0 -2
- package/src/data/component-stories.json +2 -2
- package/src/data/docs-index.ts +3 -0
- package/src/data/history.json +8 -8
- package/src/lib/component-contract.ts +148 -0
- package/src/lib/format-date.ts +7 -0
- package/src/stories/JsonInput.stories.tsx +1 -1
- package/src/stories/SegmentedControl.stories.tsx +1 -1
- package/src/stories/SortableList.stories.tsx +1 -0
- package/src/stories/TreeView.stories.tsx +1 -0
|
@@ -4,6 +4,7 @@ import * as React from "react"
|
|
|
4
4
|
import { ArrowRightIcon, CalendarIcon, XIcon } from "lucide-react"
|
|
5
5
|
import type { DateRange } from "react-day-picker"
|
|
6
6
|
import { cn } from "../../lib/utils"
|
|
7
|
+
import { formatDate } from "../../lib/format-date"
|
|
7
8
|
import { Calendar } from "./calendar"
|
|
8
9
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover"
|
|
9
10
|
|
|
@@ -28,14 +29,6 @@ const sizeMap = {
|
|
|
28
29
|
lg: { height: "h-10", px: "px-4", text: "text-base", gap: "gap-2", icon: 16 },
|
|
29
30
|
} as const
|
|
30
31
|
|
|
31
|
-
function formatDate(date: Date): string {
|
|
32
|
-
return date.toLocaleDateString("en-US", {
|
|
33
|
-
month: "short",
|
|
34
|
-
day: "numeric",
|
|
35
|
-
year: "numeric",
|
|
36
|
-
})
|
|
37
|
-
}
|
|
38
|
-
|
|
39
32
|
function DateRangePicker({
|
|
40
33
|
value,
|
|
41
34
|
onValueChange,
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
// server component. See the note in button.tsx on why the simpler primitives
|
|
5
5
|
// that only forward callbacks can stay server-renderable.
|
|
6
6
|
import * as React from "react"
|
|
7
|
-
import { cva, type VariantProps } from "class-variance-authority"
|
|
8
7
|
import { AlertCircle, CheckCircle2, WrapText } from "lucide-react"
|
|
9
8
|
|
|
10
9
|
import { cn } from "../../lib/utils"
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import * as React from "react"
|
|
4
4
|
|
|
5
5
|
import { cn } from "../../lib/utils"
|
|
6
|
+
import { clamp } from "../../lib/clamp"
|
|
6
7
|
|
|
7
8
|
// NavigationProgress — the thin bar at the top of the viewport that fills
|
|
8
9
|
// while a route change or a long request is in flight. The YouTube / GitHub /
|
|
@@ -79,10 +80,6 @@ function getServerSnapshot() {
|
|
|
79
80
|
return SERVER_SNAPSHOT
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
function clamp(value: number) {
|
|
83
|
-
return Math.min(100, Math.max(0, value))
|
|
84
|
-
}
|
|
85
|
-
|
|
86
83
|
function clearTrickle() {
|
|
87
84
|
if (trickleTimer) clearInterval(trickleTimer)
|
|
88
85
|
trickleTimer = null
|
|
@@ -133,7 +130,7 @@ const navigationProgress = {
|
|
|
133
130
|
clearSettle()
|
|
134
131
|
emit({
|
|
135
132
|
active: true,
|
|
136
|
-
progress: Math.max(state.progress, clamp(settings.initialProgress)),
|
|
133
|
+
progress: Math.max(state.progress, clamp(settings.initialProgress, 0, 100)),
|
|
137
134
|
})
|
|
138
135
|
trickleTimer = setInterval(() => {
|
|
139
136
|
emit({ progress: trickleStep(state.progress) })
|
|
@@ -141,13 +138,13 @@ const navigationProgress = {
|
|
|
141
138
|
},
|
|
142
139
|
/** Jump to a value (0–100) without changing visibility. */
|
|
143
140
|
set(value: number) {
|
|
144
|
-
emit({ progress: clamp(value) })
|
|
141
|
+
emit({ progress: clamp(value, 0, 100) })
|
|
145
142
|
},
|
|
146
143
|
increment(by = 5) {
|
|
147
|
-
emit({ progress: clamp(state.progress + by) })
|
|
144
|
+
emit({ progress: clamp(state.progress + by, 0, 100) })
|
|
148
145
|
},
|
|
149
146
|
decrement(by = 5) {
|
|
150
|
-
emit({ progress: clamp(state.progress - by) })
|
|
147
|
+
emit({ progress: clamp(state.progress - by, 0, 100) })
|
|
151
148
|
},
|
|
152
149
|
/** Pause the trickle; the bar stays where it is. `start()` resumes. */
|
|
153
150
|
stop() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import { cva
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
5
|
import { cn } from "../../lib/utils";
|
|
6
6
|
|
|
7
7
|
// ─── Context ──────────────────────────────────────────────────────────────────
|
|
@@ -120,10 +120,6 @@ export function SegmentedControl({
|
|
|
120
120
|
}
|
|
121
121
|
e.preventDefault();
|
|
122
122
|
buttons[next]?.focus();
|
|
123
|
-
const nextValue = items.find((_, i) => {
|
|
124
|
-
const enabledItems = items.filter((item) => !item.props.disabled);
|
|
125
|
-
return enabledItems[next] === items[i];
|
|
126
|
-
});
|
|
127
123
|
const targetItem = items.filter((item) => !item.props.disabled)[next];
|
|
128
124
|
if (targetItem) onValueChange(targetItem.props.value);
|
|
129
125
|
},
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "@dnd-kit/sortable";
|
|
24
24
|
import { CSS } from "@dnd-kit/utilities";
|
|
25
25
|
import { cva, type VariantProps } from "class-variance-authority";
|
|
26
|
-
import { GripVertical
|
|
26
|
+
import { GripVertical } from "lucide-react";
|
|
27
27
|
import { cn } from "../../lib/utils";
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -96,8 +96,6 @@ function Tree({
|
|
|
96
96
|
|
|
97
97
|
const triggerRegistry = React.useRef<Map<string, HTMLButtonElement>>(new Map());
|
|
98
98
|
const treeRef = React.useRef<HTMLUListElement>(null);
|
|
99
|
-
const lastFocusedIdRef = React.useRef<string | undefined>(undefined);
|
|
100
|
-
|
|
101
99
|
const registerTrigger = React.useCallback(
|
|
102
100
|
(id: string, el: HTMLButtonElement | null) => {
|
|
103
101
|
if (el) triggerRegistry.current.set(id, el);
|
|
@@ -1147,8 +1147,8 @@
|
|
|
1147
1147
|
"title": "Components/Forms & Inputs/TreeSelect"
|
|
1148
1148
|
},
|
|
1149
1149
|
"TreeView": {
|
|
1150
|
-
"id": "components-navigation-treeview--
|
|
1151
|
-
"kind": "
|
|
1150
|
+
"id": "components-navigation-treeview--docs",
|
|
1151
|
+
"kind": "docs",
|
|
1152
1152
|
"title": "Components/Navigation/TreeView"
|
|
1153
1153
|
},
|
|
1154
1154
|
"TwoFactorCard": {
|
package/src/data/docs-index.ts
CHANGED
|
@@ -56,6 +56,7 @@ export const DOCS_INDEX: DocGroup[] = [
|
|
|
56
56
|
{ title: "Layer 3 — Primitive tokens", path: "layer-3-primitive-tokens/README.md" },
|
|
57
57
|
{ title: "Layer 4 — Semantic tokens", path: "layer-4-semantic-tokens/README.md" },
|
|
58
58
|
{ title: "Layer 5 — Component registry", path: "layer-5-component-registry/README.md" },
|
|
59
|
+
{ title: "Component contracts", path: "layer-5-component-registry/contracts.md", summary: "The three contracts every component carries (accessibility, ethics, usage) in one fixed shape. Null is a gap, never a guess. pnpm lint:contracts enforces it, and the MCP get_contract and validate_usage tools serve it." },
|
|
59
60
|
{ title: "Component decision records", path: "layer-5-component-registry/decisions/README.md", summary: "One record per component: why it exists, decided edge cases, and every option ruled out. Read before changing a component; MCP get_decisions serves it." },
|
|
60
61
|
{ title: "Product decision record", path: "docs/product-decision-record.md", summary: "A markdown record for a decision a prototype forces: question, two or more options, facts labeled Observed/Requirement/Assumption/Unknown, a human owner, sign-off, and revisit triggers. A lint enforces it; agents draft but never own or sign. Includes a worked example." },
|
|
61
62
|
{ title: "Decision velocity brief evaluation", path: "docs/decision-velocity-brief-evaluation.md", summary: "Evaluation note (partly adopted): a ChatGPT brief for a decision-review product. Adopted the markdown record and lint; set aside the app, permissions, concurrency, AI summaries and measurement pilot until a client needs them." },
|
|
@@ -94,6 +95,7 @@ export const DOCS_INDEX: DocGroup[] = [
|
|
|
94
95
|
{ title: "AGENTS.md", path: "AGENTS.md", summary: "The tool-neutral agent contract: always-on rules plus a generated index of the task-specific rule files." },
|
|
95
96
|
{ title: "GEMINI.md", path: "GEMINI.md", summary: "Gemini CLI entry point. Imports AGENTS.md so Gemini reads the same rules." },
|
|
96
97
|
{ title: "CLAUDE.md", path: "CLAUDE.md", summary: "Claude Code specifics (skills, hooks, MCP). Imports AGENTS.md." },
|
|
98
|
+
{ title: "Connect agent tools (bads connect)", path: "docs/connect.md", summary: "One command wires the BADS MCP server and a rules block into Claude Code, Cursor, Codex, Windsurf, Copilot, Gemini CLI, VS Code and Claude Desktop. Project-only by default, dry run, merge and backup, exact undo, and a --check that calls the server." },
|
|
97
99
|
{ title: "BADS plugin for Claude Code", path: "docs/plugin.md", summary: "One-install bundle of the portable skills, MCP lookups and decision-record hook for prototype repos and forks." },
|
|
98
100
|
{ title: "Agent rules (lazy-loaded)", path: "docs/agent-rules/manifest.json", summary: "29 task-specific rule files moved out of CLAUDE.md. Each loads when its trigger keywords match the task." },
|
|
99
101
|
{ title: "AGENTS.md", path: "AGENTS.md", summary: "Loading precedence + escalation rules." },
|
|
@@ -147,6 +149,7 @@ export const DOCS_INDEX: DocGroup[] = [
|
|
|
147
149
|
{ title: "Prompt — color ramp", path: "prompts/color-ramp.md", summary: "Build a 9-shade ramp from the single brand hex a client hands you: place 500, find the edges, fill inward, and move with hue rotation (capped 20-30°) rather than lightness alone so dark shades don't go grey. Adapted to BADS's AAA floor, which is stricter than the source and pushes the dark end further than it looks." },
|
|
148
150
|
{ title: "Prompt — plan & spec", path: "prompts/plan-and-spec.md", summary: "Lightweight per-feature convention: a matched plan (how you'll build it) + spec (the durable contract, in RFC-2119 language) under docs/plans/ and docs/specs/, dated and slugged the same. The trail that lets the next agent — or the client's team after the engagement — reconstruct why. Adapted from web-common's superpowers/plans + specs." },
|
|
149
151
|
{ title: "Plan template — executable", path: "docs/plans/executable-plan.template.md", summary: "A plan a cheaper model or a fresh session can follow with no other context: inlined current state, a verification command on every step, out-of-scope list, STOP conditions, and the commit it was planned against." },
|
|
152
|
+
{ title: "Release channels", path: "docs/release-channels.md", summary: "Stable (main, npm latest, production site, what forks follow) and beta (the beta branch, the beta npm tag, its own site): where work lands, what a push to beta publishes, and how beta is promoted to stable." },
|
|
150
153
|
{ title: "Prompt — macrostructures", path: "prompts/macrostructures.md", summary: "Named menu of ~16 structural paradigms (the positive counterpart to the anti-defaults) with when-it-fits / what-it-costs each, plus a diversification rule so a fork's screens don't converge on one shape. Consumed at design-exploration step 3.7. Adapted BADS-native from Nutlope's Hallmark." },
|
|
151
154
|
{ title: "Prompt — design critique", path: "prompts/design-critique.md" },
|
|
152
155
|
{ title: "Prompt — design DNA", path: "prompts/design-dna.md", summary: "Extract a single admired reference's DNA along three axes (macrostructure + type-pairing + colour anchor), refuse templates/marketplaces, and seed it into the fork's exemplars as a portable visual target. The single-reference counterpart to art-direction's gallery sweep. Adapted BADS-native from Hallmark's study verb." },
|
package/src/data/history.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "GENERATED by scripts/build-history.mjs — do not edit. Regenerate with `pnpm build:history`.",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-18",
|
|
4
4
|
"stats": [
|
|
5
5
|
{
|
|
6
6
|
"label": "commits",
|
|
7
|
-
"value":
|
|
7
|
+
"value": 1816
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"label": "components",
|
|
@@ -25,6 +25,12 @@
|
|
|
25
25
|
"subject": "Initial commit: BADS template v0.1.0"
|
|
26
26
|
},
|
|
27
27
|
"milestones": [
|
|
28
|
+
{
|
|
29
|
+
"sha": "2187fced",
|
|
30
|
+
"date": "2026-11-16",
|
|
31
|
+
"scope": "comments",
|
|
32
|
+
"title": "record what a comment was pinned on and pass it to @claude"
|
|
33
|
+
},
|
|
28
34
|
{
|
|
29
35
|
"sha": "ef21205f",
|
|
30
36
|
"date": "2026-11-12",
|
|
@@ -258,12 +264,6 @@
|
|
|
258
264
|
"date": "2026-10-21",
|
|
259
265
|
"scope": "registry",
|
|
260
266
|
"title": "check that listed props exist in source, fix the drift it found"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"sha": "864c3476",
|
|
264
|
-
"date": "2026-10-20",
|
|
265
|
-
"scope": "skills",
|
|
266
|
-
"title": "/next always ends with an outstanding item (#690)"
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
269
|
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The unified component contract, as TypeScript types.
|
|
3
|
+
*
|
|
4
|
+
* Every entry in layer-5-component-registry/component-registry.json carries three contracts with one fixed shape:
|
|
5
|
+
* `a11yContract`, `ethicsContract` and `usageContract`. The JSON Schema in
|
|
6
|
+
* layer-5-component-registry/contract.schema.json is the source of truth; these types mirror it so code that reads
|
|
7
|
+
* the registry (Storybook blocks, the MCP server, fork tooling) gets the same keys an agent does.
|
|
8
|
+
*
|
|
9
|
+
* A `null` field is a fact the repository cannot answer yet. `pnpm lint:contracts` reports it as a gap. An explicit
|
|
10
|
+
* empty value (`[]`, `{}`) is a decision, not a gap.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/** draft: derived by scripts/migrate-contracts.mjs and not yet read by a person. reviewed: a person checked it. */
|
|
14
|
+
export type ContractReview = "draft" | "reviewed";
|
|
15
|
+
|
|
16
|
+
/** States from docs/component-build-spec.md section 8 plus the layer-6 data states. */
|
|
17
|
+
export type ComponentState =
|
|
18
|
+
| "default"
|
|
19
|
+
| "hover"
|
|
20
|
+
| "focus"
|
|
21
|
+
| "active"
|
|
22
|
+
| "disabled"
|
|
23
|
+
| "loading"
|
|
24
|
+
| "empty"
|
|
25
|
+
| "error"
|
|
26
|
+
| "readOnly"
|
|
27
|
+
| "selected"
|
|
28
|
+
| "open";
|
|
29
|
+
|
|
30
|
+
export interface KeyAction {
|
|
31
|
+
key: string;
|
|
32
|
+
action: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface A11yContract {
|
|
36
|
+
role: string | null;
|
|
37
|
+
keyboard: string | Array<string | KeyAction> | null;
|
|
38
|
+
focusManagement: string | null;
|
|
39
|
+
targetSize: string | null;
|
|
40
|
+
screenReader: string | null;
|
|
41
|
+
liveRegion: string | null;
|
|
42
|
+
reducedMotion: string | null;
|
|
43
|
+
forcedColors: string | null;
|
|
44
|
+
nonColorState: string | null;
|
|
45
|
+
requiredAria: string[] | null;
|
|
46
|
+
/** Every other accessibility fact, keyed by the name it was written under before the 2026-11 migration. */
|
|
47
|
+
notes: Record<string, unknown> | null;
|
|
48
|
+
knownGaps: string[];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface EthicsContractNotApplicable {
|
|
52
|
+
notApplicable: true;
|
|
53
|
+
reason: string;
|
|
54
|
+
review?: ContractReview;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface EthicsContractApplicable {
|
|
58
|
+
darkPatternRisk?: "none" | "low" | "medium" | "high";
|
|
59
|
+
dataCollected: string[];
|
|
60
|
+
dataRetention?: string;
|
|
61
|
+
consentRequired?: boolean;
|
|
62
|
+
aiDisclosure?: string;
|
|
63
|
+
kidsAffordance?: string;
|
|
64
|
+
notes?: string;
|
|
65
|
+
signedOffBy?: string;
|
|
66
|
+
review?: ContractReview;
|
|
67
|
+
[legacy: string]: unknown;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type EthicsContract = EthicsContractNotApplicable | EthicsContractApplicable;
|
|
71
|
+
|
|
72
|
+
export interface WhenNotToUse {
|
|
73
|
+
when: string;
|
|
74
|
+
/** The registry component to use instead. Null when the source names no alternative. */
|
|
75
|
+
instead: string | null;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface ForbiddenComposition {
|
|
79
|
+
component: string;
|
|
80
|
+
relation: "parent" | "child";
|
|
81
|
+
reason: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type UsageField =
|
|
85
|
+
| "intent"
|
|
86
|
+
| "whenToUse"
|
|
87
|
+
| "whenNotToUse"
|
|
88
|
+
| "patterns"
|
|
89
|
+
| "composition"
|
|
90
|
+
| "content"
|
|
91
|
+
| "requiredStates"
|
|
92
|
+
| "implementedStates"
|
|
93
|
+
| "stateExemptions"
|
|
94
|
+
| "dataExtremes"
|
|
95
|
+
| "lifecycle"
|
|
96
|
+
| "links";
|
|
97
|
+
|
|
98
|
+
export interface UsageContract {
|
|
99
|
+
intent: { purpose: string | null };
|
|
100
|
+
whenToUse: string[];
|
|
101
|
+
whenNotToUse: WhenNotToUse[];
|
|
102
|
+
/** Layer-6 pattern ids from layer-6-patterns-and-rules/patterns.json. */
|
|
103
|
+
patterns: string[];
|
|
104
|
+
composition: {
|
|
105
|
+
/** Null means any parent. */
|
|
106
|
+
allowedParents: string[] | null;
|
|
107
|
+
/** Null means any child. */
|
|
108
|
+
allowedChildren: string[] | null;
|
|
109
|
+
forbidden: ForbiddenComposition[];
|
|
110
|
+
};
|
|
111
|
+
content: {
|
|
112
|
+
/** Dotted keys of layer-1-foundation/microcopy.json. */
|
|
113
|
+
microcopyKeys: string[];
|
|
114
|
+
maxLengths: Record<string, number> | null;
|
|
115
|
+
};
|
|
116
|
+
requiredStates: ComponentState[] | null;
|
|
117
|
+
implementedStates: ComponentState[] | null;
|
|
118
|
+
/** A required state the component does not implement, with the reason. */
|
|
119
|
+
stateExemptions: Partial<Record<ComponentState, string>>;
|
|
120
|
+
dataExtremes: {
|
|
121
|
+
longLabel: string | null;
|
|
122
|
+
zeroItems: string | null;
|
|
123
|
+
manyItems: string | null;
|
|
124
|
+
rtl: string | null;
|
|
125
|
+
};
|
|
126
|
+
lifecycle: {
|
|
127
|
+
status: "proposed" | "building" | "shipped" | "stable" | "deprecated" | null;
|
|
128
|
+
maturity: "alpha" | "beta" | "stable" | null;
|
|
129
|
+
since: string | null;
|
|
130
|
+
replacedBy: string | null;
|
|
131
|
+
};
|
|
132
|
+
links: {
|
|
133
|
+
decisionRecord: string | null;
|
|
134
|
+
stories: string[];
|
|
135
|
+
};
|
|
136
|
+
review: Partial<Record<UsageField, ContractReview>>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface ComponentContracts {
|
|
140
|
+
a11yContract: A11yContract;
|
|
141
|
+
ethicsContract: EthicsContract;
|
|
142
|
+
usageContract: UsageContract;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** True when an ethics contract is the explicit not-applicable form. */
|
|
146
|
+
export function isEthicsNotApplicable(c: EthicsContract): c is EthicsContractNotApplicable {
|
|
147
|
+
return (c as EthicsContractNotApplicable).notApplicable === true;
|
|
148
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "@behavioral-agentic-design-system/core/components/ui/field"
|
|
9
9
|
|
|
10
10
|
// Real content from content/personas/bads.json — names/orgs, never Lorem/Acme.
|
|
11
|
-
// Storybook 8 + autodocs.
|
|
11
|
+
// Storybook 8 + autodocs. Refactored: removed unused cva/VariantProps import (2026-11-14).
|
|
12
12
|
|
|
13
13
|
const meta: Meta<typeof JsonInput> = {
|
|
14
14
|
title: "Components/Forms & Inputs/JsonInput",
|
|
@@ -16,7 +16,7 @@ const meta: Meta<typeof SegmentedControl> = {
|
|
|
16
16
|
title: "Components/Forms & Inputs/SegmentedControl",
|
|
17
17
|
component: SegmentedControl,
|
|
18
18
|
parameters: { layout: "centered" },
|
|
19
|
-
tags: ["autodocs"],
|
|
19
|
+
tags: ["autodocs", "refactored"],
|
|
20
20
|
argTypes: {
|
|
21
21
|
size: { control: "select", options: ["sm", "default", "lg"] },
|
|
22
22
|
disabled: { control: "boolean" },
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import { Badge } from "@behavioral-agentic-design-system/core/components/ui/badge"
|
|
10
10
|
|
|
11
11
|
// ─── Meta ─────────────────────────────────────────────────────────────────────
|
|
12
|
+
// Refactored: removed unused GripHorizontal import (2026-11-14).
|
|
12
13
|
|
|
13
14
|
const meta = {
|
|
14
15
|
title: "Components/Foundations/SortableList",
|