diff --git a/.changeset/wise-crabs-heal.md b/.changeset/wise-crabs-heal.md new file mode 100644 index 0000000..f63db99 --- /dev/null +++ b/.changeset/wise-crabs-heal.md @@ -0,0 +1,5 @@ +--- +"@ai-ui/ui": minor +--- + +Add Accordion, Breadcrumb, ContextMenu, and a single-date DatePicker to round out workflow and navigation primitives. diff --git a/apps/docs/src/components/accordion.stories.tsx b/apps/docs/src/components/accordion.stories.tsx new file mode 100644 index 0000000..0e8e0f6 --- /dev/null +++ b/apps/docs/src/components/accordion.stories.tsx @@ -0,0 +1,147 @@ +import type { Meta, StoryObj } from "@storybook/react"; + +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, + Badge, + Button +} from "@ai-ui/ui"; + +function AccordionPlayground() { + return ( +
+ Stage a 10% wave, keep rollback thresholds visible, and hold broader rollout until + the support digest is approved. +
+Legal footnote still needs one sentence tightened before public launch.
+Customer support messaging is approved but waiting on the rollout window.
++ Run detail path +
++ Environment drill-down +
++ Mixed actions +
+release-plan.md
++ Right click to open contextual actions. +
++ This menu mirrors the richer rows from DropdownMenu, but the trigger is a context + surface instead of a button. +
++ Use a context menu when table rows need denser actions than an inline action column can + comfortably show. +
++ Right click this row to route the issue, open the thread, or escalate the blocker. +
+{monthLabel}
+ +