@leitware/composables 1.3.2 → 1.4.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 (84) hide show
  1. package/README.md +41 -4
  2. package/dist/presets/brutalist.css +6 -2
  3. package/dist/presets/default.css +5 -1
  4. package/dist/presets/signal-pop.css +5 -1
  5. package/dist/styles.css +1 -1
  6. package/dist/tailwind.css +8 -0
  7. package/package.json +2 -1
  8. package/rules/composables.md +9 -7
  9. package/skills/use-composables/references/optional-dependencies.md +1 -1
  10. package/skills/use-composables/references/public-api.md +7 -2
  11. package/skills/use-composables/references/semantic-utilities.md +2 -0
  12. package/src/_internal/ai-elements/chain-of-thought.tsx +1 -1
  13. package/src/_internal/ai-elements/code-block.tsx +1 -1
  14. package/src/_internal/badge.tsx +2 -2
  15. package/src/_internal/bubble.tsx +1 -1
  16. package/src/_internal/button.tsx +1 -1
  17. package/src/_internal/calendar.tsx +1 -1
  18. package/src/_internal/checkbox.tsx +1 -1
  19. package/src/_internal/combobox.tsx +3 -3
  20. package/src/_internal/command.tsx +3 -3
  21. package/src/_internal/dropdown-menu.tsx +2 -2
  22. package/src/_internal/dropzone.tsx +3 -3
  23. package/src/_internal/field.tsx +2 -2
  24. package/src/_internal/grid-overlay.tsx +3 -3
  25. package/src/_internal/input-group.tsx +1 -1
  26. package/src/_internal/input.tsx +1 -1
  27. package/src/_internal/layout-bento.tsx +12 -12
  28. package/src/_internal/layout.tsx +11 -11
  29. package/src/_internal/marker.tsx +1 -1
  30. package/src/_internal/radio-group.tsx +2 -2
  31. package/src/_internal/resizable.tsx +1 -1
  32. package/src/_internal/select.tsx +5 -2
  33. package/src/_internal/sidebar.tsx +2 -2
  34. package/src/_internal/switch.tsx +1 -1
  35. package/src/_internal/tabs.tsx +2 -2
  36. package/src/_internal/textarea.tsx +1 -1
  37. package/src/_internal/tooltip.tsx +1 -1
  38. package/src/index.ts +5 -1
  39. package/src/lib/utils.ts +2 -2
  40. package/src/opinionated/alert.tsx +5 -5
  41. package/src/opinionated/blocks/content.tsx +247 -0
  42. package/src/opinionated/blocks/features.tsx +242 -0
  43. package/src/opinionated/blocks/heroes.tsx +711 -0
  44. package/src/opinionated/blocks/index.ts +4 -0
  45. package/src/opinionated/blocks/shared.tsx +185 -0
  46. package/src/opinionated/button.tsx +3 -1
  47. package/src/opinionated/collapsible.tsx +1 -1
  48. package/src/opinionated/form-calendar-popover.tsx +1 -1
  49. package/src/opinionated/form-checkbox.tsx +1 -1
  50. package/src/opinionated/form-combobox.tsx +1 -1
  51. package/src/opinionated/form-date-of-birth.tsx +1 -1
  52. package/src/opinionated/form-dropzone.tsx +1 -1
  53. package/src/opinionated/form-input-group.tsx +1 -1
  54. package/src/opinionated/form-input.tsx +1 -1
  55. package/src/opinionated/form-multi-combobox.tsx +1 -1
  56. package/src/opinionated/form-multi-dropzone.tsx +1 -1
  57. package/src/opinionated/form-radiogroup.tsx +1 -1
  58. package/src/opinionated/form-select.tsx +1 -1
  59. package/src/opinionated/form-slider.tsx +1 -1
  60. package/src/opinionated/form-switch.tsx +1 -1
  61. package/src/opinionated/form-textarea.tsx +1 -1
  62. package/src/opinionated/theme-injector.tsx +2 -2
  63. package/src/opinionated/token-config-panel/color-editor.tsx +1 -1
  64. package/src/opinionated/token-config-panel/json-import-export.tsx +1 -1
  65. package/src/opinionated/token-config-panel/spacing-editor.tsx +1 -1
  66. package/src/opinionated/token-config-panel/types.ts +1 -1
  67. package/src/opinionated/token-config-panel/typography-editor.tsx +1 -1
  68. package/src/opinionated/window-frame.tsx +57 -0
  69. package/src/styles/composable.css +10 -10
  70. package/src/styles/presets/brutalist.css +6 -2
  71. package/src/styles/presets/default.css +5 -1
  72. package/src/styles/presets/signal-pop.css +5 -1
  73. package/src/styles/presets-data/brutalist.ts +13 -9
  74. package/src/styles/presets-data/default.ts +7 -3
  75. package/src/styles/presets-data/signal-pop.ts +4 -0
  76. package/src/styles/tokens/base.css +1 -1
  77. package/src/styles/tokens/components.css +1 -0
  78. package/src/styles/tokens/palette.css +2 -2
  79. package/src/styles/tokens/registry.ts +15 -1
  80. package/src/styles/tokens/semantic-utilities.css +8 -0
  81. package/src/styles/tokens/semantic.css +6 -2
  82. package/src/styles/tokens/tailwind-color-adapter.css +3 -1
  83. package/src/styles/tokens/tailwind-public-utilities.css +8 -0
  84. package/src/styles/tokens/tailwind-theme.css +7 -7
package/dist/tailwind.css CHANGED
@@ -31,6 +31,10 @@
31
31
  background-color: var(--bg-surface-accent);
32
32
  }
33
33
 
34
+ @utility bg-surface-field {
35
+ background-color: var(--bg-surface-field);
36
+ }
37
+
34
38
  @utility bg-surface-info {
35
39
  background-color: var(--bg-surface-info);
36
40
  }
@@ -171,6 +175,10 @@
171
175
  color: var(--text-on-fill-primary);
172
176
  }
173
177
 
178
+ @utility text-on-fill-brand {
179
+ color: var(--text-on-fill-brand);
180
+ }
181
+
174
182
  @utility text-on-fill-secondary {
175
183
  color: var(--text-on-fill-secondary);
176
184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leitware/composables",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,6 +18,7 @@
18
18
  "exports": {
19
19
  ".": "./src/index.ts",
20
20
  "./ai": "./src/opinionated/ai/index.ts",
21
+ "./blocks": "./src/opinionated/blocks/index.ts",
21
22
  "./styles.css": "./dist/styles.css",
22
23
  "./tailwind.css": "./dist/tailwind.css",
23
24
  "./presets/*": "./dist/presets/*"
@@ -28,13 +28,14 @@ Tailwind v4 consumers that need state or responsive variants of exact public sem
28
28
 
29
29
  ## Entrypoints
30
30
 
31
- | Import | Source |
32
- | ------------------------------------ | ------------------------------- |
33
- | `@leitware/composables` | `./src/index.ts` |
34
- | `@leitware/composables/ai` | `./src/opinionated/ai/index.ts` |
35
- | `@leitware/composables/styles.css` | `./dist/styles.css` |
36
- | `@leitware/composables/tailwind.css` | `./dist/tailwind.css` |
37
- | `@leitware/composables/presets/*` | `./dist/presets/*` |
31
+ | Import | Source |
32
+ | ------------------------------------ | ----------------------------------- |
33
+ | `@leitware/composables` | `./src/index.ts` |
34
+ | `@leitware/composables/ai` | `./src/opinionated/ai/index.ts` |
35
+ | `@leitware/composables/blocks` | `./src/opinionated/blocks/index.ts` |
36
+ | `@leitware/composables/styles.css` | `./dist/styles.css` |
37
+ | `@leitware/composables/tailwind.css` | `./dist/tailwind.css` |
38
+ | `@leitware/composables/presets/*` | `./dist/presets/*` |
38
39
 
39
40
  ## Optional Dependencies
40
41
 
@@ -185,6 +186,7 @@ Use this catalog to choose public exports. The `Source module` column is for mai
185
186
  | `input` | `./opinionated/input` | `@leitware/composables` | `Input` | - | Public export not listed in the README component catalog. |
186
187
  | `label` | `./opinionated/label` | `@leitware/composables` | `Label` | - | Public export not listed in the README component catalog. |
187
188
  | `textarea` | `./opinionated/textarea` | `@leitware/composables` | `Textarea` | - | Public export not listed in the README component catalog. |
189
+ | `window-frame` | `./opinionated/window-frame` | `@leitware/composables` | `WindowFrame` | `WindowFrameProps` | Public export not listed in the README component catalog. |
188
190
 
189
191
  ## AI Entrypoint Catalog
190
192
 
@@ -4,7 +4,7 @@ Use this reference before adding AI components, loading preset fonts, or resolvi
4
4
 
5
5
  ## Component dependencies
6
6
 
7
- All non-AI components—including Calendar, Carousel, DropZone, Resizable, Toaster, ThemeInjector, and TokenConfigPanel—are imported from `@leitware/composables`. Their runtime integrations are installed with the package and require no feature subpath or separate peer installation.
7
+ All non-AI components, including Calendar, Carousel, DropZone, Resizable, Toaster, ThemeInjector, and TokenConfigPanel, are imported from `@leitware/composables`. Their runtime integrations are installed with the package and require no feature subpath or separate peer installation.
8
8
 
9
9
  AI components are the deliberate exception. Import them from `@leitware/composables/ai` and install the optional peers required by that entrypoint: `ai`, `shiki`, `streamdown`, `@streamdown/cjk`, `@streamdown/code`, `@streamdown/math`, `@streamdown/mermaid`, `use-stick-to-bottom`, `nanoid`, `@radix-ui/react-use-controllable-state`, `cmdk`, and `motion`. Do not install this dependency set in applications that do not import AI components.
10
10
 
@@ -6,14 +6,19 @@ This is the exact installed-package entrypoint and export-name contract. Import
6
6
 
7
7
  ## `@leitware/composables`
8
8
 
9
- - Values (325): `ACCEPT_PRESETS`, `Accordion`, `AccordionContent`, `AccordionItem`, `AccordionTrigger`, `Alert`, `AlertAction`, `AlertDescription`, `AlertDialog`, `AlertDialogAction`, `AlertDialogCancel`, `AlertDialogContent`, `AlertDialogDescription`, `AlertDialogFooter`, `AlertDialogHeader`, `AlertDialogMedia`, `AlertDialogOverlay`, `AlertDialogPortal`, `AlertDialogTitle`, `AlertDialogTrigger`, `AlertTitle`, `AspectRatio`, `Avatar`, `AvatarFallback`, `AvatarImage`, `avatarVariants`, `Badge`, `BentoCell`, `BentoGrid`, `BentoLeader`, `BentoQuad`, `BentoSplit`, `BentoTriple`, `Breadcrumb`, `BreadcrumbEllipsis`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbList`, `BreadcrumbPage`, `BreadcrumbSeparator`, `Bubble`, `BubbleContent`, `BubbleGroup`, `BubbleReactions`, `bubbleReactionsVariants`, `bubbleVariants`, `Button`, `Calendar`, `CalendarDayButton`, `Card`, `CardAction`, `CardContent`, `CardDescription`, `CardFooter`, `CardHeader`, `CardTitle`, `Carousel`, `CarouselContent`, `CarouselItem`, `CarouselNext`, `CarouselPrevious`, `CellGrid`, `CellRow`, `Checkbox`, `cn`, `CodeBlock`, `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger`, `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue`, `Container`, `containerVariants`, `DEFAULT_ACCEPT`, `DEFAULT_MAX_SIZE`, `Dialog`, `DialogClose`, `DialogContent`, `DialogDescription`, `DialogFooter`, `DialogHeader`, `DialogOverlay`, `DialogPortal`, `DialogTitle`, `DialogTrigger`, `DirectionProvider`, `DISABLED_OPACITY`, `Divider`, `dividerVariants`, `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuPortal`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger`, `Dropzone`, `DropZone`, `DropZoneArea`, `DropzoneContent`, `DropZoneContent`, `DropZoneFile`, `DropZoneFileList`, `DropzoneInput`, `DropZoneInput`, `DropzoneLabel`, `Empty`, `EmptyContent`, `EmptyDescription`, `EmptyHeader`, `EmptyMedia`, `EmptyTableState`, `EmptyTitle`, `Field`, `FieldContent`, `FieldDescription`, `FieldError`, `FieldGroup`, `FieldLabel`, `FieldLegend`, `FieldSeparator`, `FieldSet`, `FieldTitle`, `FlexSpacer`, `FOCUS_RING`, `FOCUS_RING_DESTRUCTIVE`, `formatFileSize`, `formatNumericValue`, `FormCalendarPopover`, `FormCheckbox`, `FormCombobox`, `FormDateOfBirth`, `FormDropZone`, `FormInput`, `FormInputGroup`, `FormMultiCombobox`, `FormMultiDropZone`, `FormRadioGroup`, `FormSelect`, `FormSlider`, `FormSwitch`, `FormTextarea`, `getAcceptDescription`, `getRejectionMessage`, `Grid`, `GridOverlay`, `gridVariants`, `HoverCard`, `HoverCardContent`, `HoverCardTrigger`, `Icon`, `iconVariants`, `Input`, `InputGroup`, `InputGroupAddon`, `InputGroupButton`, `InputGroupInput`, `InputGroupTextarea`, `Item`, `ItemActions`, `ItemContent`, `ItemDescription`, `ItemFooter`, `ItemGroup`, `ItemHeader`, `ItemMedia`, `ItemSeparator`, `ItemTitle`, `Kbd`, `KbdGroup`, `Label`, `leftPad`, `List`, `ListArrowItem`, `ListBulletItem`, `Marker`, `MarkerContent`, `MarkerIcon`, `markerVariants`, `Message`, `MessageAvatar`, `MessageContent`, `MessageFooter`, `MessageGroup`, `MessageHeader`, `NativeSelect`, `NativeSelectOptGroup`, `NativeSelectOption`, `NewspaperCell`, `NewspaperGrid`, `newspaperGridVariants`, `Pagination`, `PaginationContent`, `PaginationEllipsis`, `PaginationItem`, `PaginationLink`, `PaginationNext`, `PaginationPrevious`, `parseNumericValue`, `Popover`, `PopoverContent`, `PopoverDescription`, `PopoverHeader`, `PopoverTitle`, `PopoverTrigger`, `Progress`, `ProgressIndicator`, `ProgressLabel`, `ProgressTrack`, `ProgressValue`, `RadioGroup`, `RadioGroupItem`, `ResizableHandle`, `ResizablePanel`, `ResizablePanelGroup`, `sanitizeNumericInput`, `ScrollArea`, `ScrollBar`, `Section`, `sectionVariants`, `Select`, `SelectContent`, `SelectGroup`, `SelectItem`, `SelectLabel`, `SelectScrollDownButton`, `SelectScrollUpButton`, `SelectSeparator`, `SelectTrigger`, `SelectValue`, `Separator`, `Sheet`, `SheetClose`, `SheetContent`, `SheetDescription`, `SheetFooter`, `SheetHeader`, `SheetTitle`, `SheetTrigger`, `Sidebar`, `SidebarContent`, `SidebarFooter`, `SidebarGroup`, `SidebarGroupAction`, `SidebarGroupContent`, `SidebarGroupLabel`, `SidebarHeader`, `SidebarInput`, `SidebarInset`, `SidebarMenu`, `SidebarMenuAction`, `SidebarMenuBadge`, `SidebarMenuButton`, `SidebarMenuItem`, `SidebarMenuSkeleton`, `SidebarMenuSub`, `SidebarMenuSubButton`, `SidebarMenuSubItem`, `SidebarProvider`, `SidebarRail`, `SidebarSeparator`, `SidebarTrigger`, `Skeleton`, `SkeletonAvatar`, `SkeletonButton`, `SkeletonCard`, `SkeletonInput`, `SkeletonTableRow`, `SkeletonText`, `Slider`, `Spacer`, `spacerVariants`, `Stack`, `stackVariants`, `StatCell`, `Switch`, `Table`, `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader`, `TableRow`, `Tabs`, `TabsContent`, `Textarea`, `ThemeInjector`, `Toaster`, `Toggle`, `ToggleGroup`, `ToggleGroupItem`, `TokenConfigPanel`, `Tooltip`, `TooltipContent`, `TooltipTrigger`, `Typography`, `typographyVariants`, `useComboboxAnchor`, `useDirection`, `useDropZoneContext`, `useIsMobile`, `useNumericInput`, `useSidebar`
10
- - Types (91): `Accept`, `AccordionItemData`, `AccordionProps`, `AccordionVariant`, `AlertDialogProps`, `AlertProps`, `AlertType`, `AlertVariant`, `AvatarProps`, `BadgeProps`, `BreadcrumbItemData`, `BreadcrumbProps`, `BubbleProps`, `ButtonProps`, `CardProps`, `CarouselProps`, `CodeBlockProps`, `CollapsibleProps`, `ComboboxOption`, `ComboboxProps`, `ContainerProps`, `DateOfBirthValue`, `DialogProps`, `DirectionProviderProps`, `DividerProps`, `DropdownMenuItemData`, `DropdownMenuProps`, `DropZoneFileProps`, `DropZoneProps`, `EmptyProps`, `EmptyTableStateProps`, `FileRejection`, `FormCalendarPopoverProps`, `FormCheckboxProps`, `FormComboboxOption`, `FormComboboxProps`, `FormDateOfBirthProps`, `FormDropZoneProps`, `FormInputGroupInputProps`, `FormInputGroupProps`, `FormInputProps`, `FormMultiComboboxOption`, `FormMultiComboboxProps`, `FormMultiDropZoneProps`, `FormRadioGroupOption`, `FormRadioGroupProps`, `FormSelectOption`, `FormSelectProps`, `FormSliderProps`, `FormSwitchProps`, `FormTextareaProps`, `GridOverlayProps`, `GridProps`, `HoverCardProps`, `ItemProps`, `ItemVariants`, `KbdGroupProps`, `KbdProps`, `ListItemData`, `ListProps`, `ListVariant`, `MarkerProps`, `NativeSelectOptionData`, `NativeSelectProps`, `NewspaperCellProps`, `NewspaperGridProps`, `NumericInputOptions`, `NumericMode`, `PaginationProps`, `PopoverProps`, `ProgressProps`, `ScrollAreaProps`, `SectionProps`, `SelectOption`, `SelectProps`, `SheetProps`, `SkeletonProps`, `SpacerProps`, `StackProps`, `TabItem`, `TabsProps`, `TabsVariant`, `TextDirection`, `ToggleGroupOption`, `ToggleGroupProps`, `ToggleProps`, `TooltipProps`, `TypographyProps`, `TypographyVariant`, `UseNumericInputOptions`, `UseNumericInputReturn`
9
+ - Values (352): `ACCEPT_PRESETS`, `Accordion`, `AccordionContent`, `AccordionItem`, `AccordionTrigger`, `Alert`, `AlertAction`, `AlertDescription`, `AlertDialog`, `AlertDialogAction`, `AlertDialogCancel`, `AlertDialogContent`, `AlertDialogDescription`, `AlertDialogFooter`, `AlertDialogHeader`, `AlertDialogMedia`, `AlertDialogOverlay`, `AlertDialogPortal`, `AlertDialogTitle`, `AlertDialogTrigger`, `AlertTitle`, `AspectRatio`, `Avatar`, `AvatarFallback`, `AvatarImage`, `avatarVariants`, `Badge`, `BentoCell`, `BentoGrid`, `BentoGrids01`, `BentoLeader`, `BentoQuad`, `BentoSplit`, `BentoTriple`, `Breadcrumb`, `BreadcrumbEllipsis`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbList`, `BreadcrumbPage`, `BreadcrumbSeparator`, `Bubble`, `BubbleContent`, `BubbleGroup`, `BubbleReactions`, `bubbleReactionsVariants`, `bubbleVariants`, `Button`, `Calendar`, `CalendarDayButton`, `Card`, `CardAction`, `CardContent`, `CardDescription`, `CardFooter`, `CardHeader`, `CardTitle`, `Carousel`, `CarouselContent`, `CarouselItem`, `CarouselNext`, `CarouselPrevious`, `CellGrid`, `CellRow`, `Checkbox`, `cn`, `CodeBlock`, `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger`, `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue`, `Container`, `containerVariants`, `Content02`, `Content04`, `Content06`, `Content07`, `Content09`, `Content11`, `Cta01`, `DEFAULT_ACCEPT`, `DEFAULT_MAX_SIZE`, `Dialog`, `DialogClose`, `DialogContent`, `DialogDescription`, `DialogFooter`, `DialogHeader`, `DialogOverlay`, `DialogPortal`, `DialogTitle`, `DialogTrigger`, `DirectionProvider`, `DISABLED_OPACITY`, `Divider`, `dividerVariants`, `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuPortal`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger`, `Dropzone`, `DropZone`, `DropZoneArea`, `DropzoneContent`, `DropZoneContent`, `DropZoneFile`, `DropZoneFileList`, `DropzoneInput`, `DropZoneInput`, `DropzoneLabel`, `Empty`, `EmptyContent`, `EmptyDescription`, `EmptyHeader`, `EmptyMedia`, `EmptyTableState`, `EmptyTitle`, `Feature01`, `Feature02`, `Feature03`, `Field`, `FieldContent`, `FieldDescription`, `FieldError`, `FieldGroup`, `FieldLabel`, `FieldLegend`, `FieldSeparator`, `FieldSet`, `FieldTitle`, `FlexSpacer`, `FOCUS_RING`, `FOCUS_RING_DESTRUCTIVE`, `formatFileSize`, `formatNumericValue`, `FormCalendarPopover`, `FormCheckbox`, `FormCombobox`, `FormDateOfBirth`, `FormDropZone`, `FormInput`, `FormInputGroup`, `FormMultiCombobox`, `FormMultiDropZone`, `FormRadioGroup`, `FormSelect`, `FormSlider`, `FormSwitch`, `FormTextarea`, `getAcceptDescription`, `getRejectionMessage`, `Grid`, `GridOverlay`, `gridVariants`, `Hero01`, `Hero02`, `Hero03`, `Hero04`, `Hero05`, `Hero06`, `Hero07`, `Hero08`, `Hero09`, `Hero10`, `Hero11`, `Hero12`, `Hero13`, `Hero14`, `HoverCard`, `HoverCardContent`, `HoverCardTrigger`, `Icon`, `iconVariants`, `Input`, `InputGroup`, `InputGroupAddon`, `InputGroupButton`, `InputGroupInput`, `InputGroupTextarea`, `Item`, `ItemActions`, `ItemContent`, `ItemDescription`, `ItemFooter`, `ItemGroup`, `ItemHeader`, `ItemMedia`, `ItemSeparator`, `ItemTitle`, `Kbd`, `KbdGroup`, `Label`, `leftPad`, `List`, `ListArrowItem`, `ListBulletItem`, `Marker`, `MarkerContent`, `MarkerIcon`, `markerVariants`, `Message`, `MessageAvatar`, `MessageContent`, `MessageFooter`, `MessageGroup`, `MessageHeader`, `NativeSelect`, `NativeSelectOptGroup`, `NativeSelectOption`, `NewspaperCell`, `NewspaperGrid`, `newspaperGridVariants`, `Pagination`, `PaginationContent`, `PaginationEllipsis`, `PaginationItem`, `PaginationLink`, `PaginationNext`, `PaginationPrevious`, `parseNumericValue`, `Popover`, `PopoverContent`, `PopoverDescription`, `PopoverHeader`, `PopoverTitle`, `PopoverTrigger`, `Progress`, `ProgressIndicator`, `ProgressLabel`, `ProgressTrack`, `ProgressValue`, `RadioGroup`, `RadioGroupItem`, `ResizableHandle`, `ResizablePanel`, `ResizablePanelGroup`, `sanitizeNumericInput`, `ScrollArea`, `ScrollBar`, `Section`, `sectionVariants`, `Select`, `SelectContent`, `SelectGroup`, `SelectItem`, `SelectLabel`, `SelectScrollDownButton`, `SelectScrollUpButton`, `SelectSeparator`, `SelectTrigger`, `SelectValue`, `Separator`, `Sheet`, `SheetClose`, `SheetContent`, `SheetDescription`, `SheetFooter`, `SheetHeader`, `SheetTitle`, `SheetTrigger`, `Sidebar`, `SidebarContent`, `SidebarFooter`, `SidebarGroup`, `SidebarGroupAction`, `SidebarGroupContent`, `SidebarGroupLabel`, `SidebarHeader`, `SidebarInput`, `SidebarInset`, `SidebarMenu`, `SidebarMenuAction`, `SidebarMenuBadge`, `SidebarMenuButton`, `SidebarMenuItem`, `SidebarMenuSkeleton`, `SidebarMenuSub`, `SidebarMenuSubButton`, `SidebarMenuSubItem`, `SidebarProvider`, `SidebarRail`, `SidebarSeparator`, `SidebarTrigger`, `Skeleton`, `SkeletonAvatar`, `SkeletonButton`, `SkeletonCard`, `SkeletonInput`, `SkeletonTableRow`, `SkeletonText`, `Slider`, `Spacer`, `spacerVariants`, `Stack`, `stackVariants`, `StatCell`, `Switch`, `Table`, `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader`, `TableRow`, `Tabs`, `TabsContent`, `Testimonials01`, `Textarea`, `ThemeInjector`, `Toaster`, `Toggle`, `ToggleGroup`, `ToggleGroupItem`, `TokenConfigPanel`, `Tooltip`, `TooltipContent`, `TooltipTrigger`, `Typography`, `typographyVariants`, `useComboboxAnchor`, `useDirection`, `useDropZoneContext`, `useIsMobile`, `useNumericInput`, `useSidebar`, `WindowFrame`
10
+ - Types (123): `Accept`, `AccordionItemData`, `AccordionProps`, `AccordionVariant`, `AlertDialogProps`, `AlertProps`, `AlertType`, `AlertVariant`, `AvatarProps`, `BadgeProps`, `BentoGrids01Props`, `BlockAnimation`, `BlockBaseProps`, `BlockCTA`, `BlockMedia`, `BlockVariant`, `BreadcrumbItemData`, `BreadcrumbProps`, `BubbleProps`, `ButtonProps`, `CardProps`, `CarouselProps`, `CodeBlockProps`, `CollapsibleProps`, `ComboboxOption`, `ComboboxProps`, `ContainerProps`, `Content02Props`, `Content04Props`, `Content06Props`, `Content07Props`, `Content09Props`, `Content11Props`, `Cta01Props`, `DateOfBirthValue`, `DialogProps`, `DirectionProviderProps`, `DividerProps`, `DropdownMenuItemData`, `DropdownMenuProps`, `DropZoneFileProps`, `DropZoneProps`, `EmptyProps`, `EmptyTableStateProps`, `Feature01Props`, `Feature02Props`, `Feature03Props`, `FileRejection`, `FormCalendarPopoverProps`, `FormCheckboxProps`, `FormComboboxOption`, `FormComboboxProps`, `FormDateOfBirthProps`, `FormDropZoneProps`, `FormInputGroupInputProps`, `FormInputGroupProps`, `FormInputProps`, `FormMultiComboboxOption`, `FormMultiComboboxProps`, `FormMultiDropZoneProps`, `FormRadioGroupOption`, `FormRadioGroupProps`, `FormSelectOption`, `FormSelectProps`, `FormSliderProps`, `FormSwitchProps`, `FormTextareaProps`, `GridOverlayProps`, `GridProps`, `Hero01Props`, `Hero02Props`, `Hero03Props`, `Hero04Props`, `Hero05Props`, `Hero06Props`, `Hero07Props`, `Hero08Props`, `Hero09Props`, `Hero10Props`, `Hero11Props`, `Hero12Props`, `Hero13Props`, `Hero14Props`, `HoverCardProps`, `ItemProps`, `ItemVariants`, `KbdGroupProps`, `KbdProps`, `ListItemData`, `ListProps`, `ListVariant`, `MarkerProps`, `NativeSelectOptionData`, `NativeSelectProps`, `NewspaperCellProps`, `NewspaperGridProps`, `NumericInputOptions`, `NumericMode`, `PaginationProps`, `PopoverProps`, `ProgressProps`, `ScrollAreaProps`, `SectionProps`, `SelectOption`, `SelectProps`, `SheetProps`, `SkeletonProps`, `SpacerProps`, `StackProps`, `TabItem`, `TabsProps`, `TabsVariant`, `Testimonials01Props`, `TextDirection`, `ToggleGroupOption`, `ToggleGroupProps`, `ToggleProps`, `TooltipProps`, `TypographyProps`, `TypographyVariant`, `UseNumericInputOptions`, `UseNumericInputReturn`, `WindowFrameProps`
11
11
 
12
12
  ## `@leitware/composables/ai`
13
13
 
14
14
  - Values (127): `AIAttachment`, `AIAttachmentEmpty`, `AIAttachmentHoverCard`, `AIAttachmentHoverCardContent`, `AIAttachmentHoverCardTrigger`, `AIAttachmentInfo`, `AIAttachmentPreview`, `AIAttachmentRemove`, `AIAttachments`, `AIChainOfThought`, `AIChainOfThoughtContent`, `AIChainOfThoughtHeader`, `AIChainOfThoughtImage`, `AIChainOfThoughtSearchResult`, `AIChainOfThoughtSearchResults`, `AIChainOfThoughtStep`, `AICodeBlock`, `AICodeBlockActions`, `AICodeBlockContainer`, `AICodeBlockContent`, `AICodeBlockCopyButton`, `AICodeBlockFilename`, `AICodeBlockHeader`, `AICodeBlockLanguageSelector`, `AICodeBlockLanguageSelectorContent`, `AICodeBlockLanguageSelectorItem`, `AICodeBlockLanguageSelectorTrigger`, `AICodeBlockLanguageSelectorValue`, `AICodeBlockTitle`, `AIConfirmation`, `AIConfirmationAccepted`, `AIConfirmationAction`, `AIConfirmationActions`, `AIConfirmationRejected`, `AIConfirmationRequest`, `AIConfirmationTitle`, `AIConversation`, `AIConversationContent`, `AIConversationDownload`, `AIConversationEmptyState`, `AIConversationScrollButton`, `AIInlineCitation`, `AIInlineCitationCard`, `AIInlineCitationCardBody`, `AIInlineCitationCardTrigger`, `AIInlineCitationCarousel`, `AIInlineCitationCarouselContent`, `AIInlineCitationCarouselHeader`, `AIInlineCitationCarouselIndex`, `AIInlineCitationCarouselItem`, `AIInlineCitationCarouselNext`, `AIInlineCitationCarouselPrev`, `AIInlineCitationQuote`, `AIInlineCitationSource`, `AIInlineCitationText`, `AIMessage`, `AIMessageAction`, `AIMessageActions`, `AIMessageBranch`, `AIMessageBranchContent`, `AIMessageBranchNext`, `AIMessageBranchPage`, `AIMessageBranchPrevious`, `AIMessageBranchSelector`, `AIMessageContent`, `AIMessageResponse`, `AIMessageToolbar`, `AIPlan`, `AIPlanAction`, `AIPlanContent`, `AIPlanDescription`, `AIPlanFooter`, `AIPlanHeader`, `AIPlanTitle`, `AIPlanTrigger`, `AIPromptInput`, `AIPromptInputActionAddAttachments`, `AIPromptInputActionAddScreenshot`, `AIPromptInputActionMenu`, `AIPromptInputActionMenuContent`, `AIPromptInputActionMenuItem`, `AIPromptInputActionMenuTrigger`, `AIPromptInputBody`, `AIPromptInputButton`, `AIPromptInputFooter`, `AIPromptInputHeader`, `AIPromptInputProvider`, `AIPromptInputSelect`, `AIPromptInputSelectContent`, `AIPromptInputSelectItem`, `AIPromptInputSelectTrigger`, `AIPromptInputSelectValue`, `AIPromptInputSubmit`, `AIPromptInputTextarea`, `AIPromptInputTools`, `AIReasoning`, `AIReasoningContent`, `AIReasoningTrigger`, `AIShimmer`, `AISource`, `AISources`, `AISourcesContent`, `AISourcesTrigger`, `AISuggestion`, `AISuggestions`, `AITask`, `AITaskContent`, `AITaskItem`, `AITaskItemFile`, `AITaskTrigger`, `AITool`, `AIToolContent`, `AIToolHeader`, `AIToolInput`, `AIToolOutput`, `getAttachmentLabel`, `getMediaCategory`, `getStatusBadge`, `highlightCode`, `messagesToMarkdown`, `useAttachmentContext`, `useAttachmentsContext`, `usePromptInputAttachments`, `usePromptInputController`, `usePromptInputReferencedSources`, `useProviderAttachments`, `useReasoning`
15
15
  - Types (95): `AIAttachmentEmptyProps`, `AIAttachmentHoverCardContentProps`, `AIAttachmentHoverCardProps`, `AIAttachmentHoverCardTriggerProps`, `AIAttachmentInfoProps`, `AIAttachmentPreviewProps`, `AIAttachmentProps`, `AIAttachmentRemoveProps`, `AIAttachmentsProps`, `AIChainOfThoughtContentProps`, `AIChainOfThoughtHeaderProps`, `AIChainOfThoughtImageProps`, `AIChainOfThoughtProps`, `AIChainOfThoughtSearchResultProps`, `AIChainOfThoughtSearchResultsProps`, `AIChainOfThoughtStepProps`, `AICodeBlockCopyButtonProps`, `AICodeBlockLanguageSelectorContentProps`, `AICodeBlockLanguageSelectorItemProps`, `AICodeBlockLanguageSelectorProps`, `AICodeBlockLanguageSelectorTriggerProps`, `AICodeBlockLanguageSelectorValueProps`, `AIConfirmationAcceptedProps`, `AIConfirmationActionProps`, `AIConfirmationActionsProps`, `AIConfirmationProps`, `AIConfirmationRejectedProps`, `AIConfirmationRequestProps`, `AIConfirmationTitleProps`, `AIConversationContentProps`, `AIConversationDownloadProps`, `AIConversationEmptyStateProps`, `AIConversationProps`, `AIConversationScrollButtonProps`, `AIInlineCitationCardBodyProps`, `AIInlineCitationCardProps`, `AIInlineCitationCardTriggerProps`, `AIInlineCitationCarouselContentProps`, `AIInlineCitationCarouselHeaderProps`, `AIInlineCitationCarouselIndexProps`, `AIInlineCitationCarouselItemProps`, `AIInlineCitationCarouselNextProps`, `AIInlineCitationCarouselPrevProps`, `AIInlineCitationCarouselProps`, `AIInlineCitationProps`, `AIInlineCitationQuoteProps`, `AIInlineCitationSourceProps`, `AIInlineCitationTextProps`, `AIMessageActionProps`, `AIMessageActionsProps`, `AIMessageBranchContentProps`, `AIMessageBranchNextProps`, `AIMessageBranchPageProps`, `AIMessageBranchPreviousProps`, `AIMessageBranchProps`, `AIMessageBranchSelectorProps`, `AIMessageContentProps`, `AIMessageProps`, `AIMessageResponseProps`, `AIMessageToolbarProps`, `AIPlanActionProps`, `AIPlanContentProps`, `AIPlanDescriptionProps`, `AIPlanFooterProps`, `AIPlanHeaderProps`, `AIPlanProps`, `AIPlanTitleProps`, `AIPlanTriggerProps`, `AIPromptInputProps`, `AIPromptInputSubmitProps`, `AIReasoningContentProps`, `AIReasoningProps`, `AIReasoningTriggerProps`, `AIShimmerProps`, `AISourceProps`, `AISourcesContentProps`, `AISourcesProps`, `AISourcesTriggerProps`, `AISuggestionProps`, `AISuggestionsProps`, `AITaskContentProps`, `AITaskItemFileProps`, `AITaskItemProps`, `AITaskProps`, `AITaskTriggerProps`, `AIToolContentProps`, `AIToolHeaderProps`, `AIToolInputProps`, `AIToolOutputProps`, `AIToolProps`, `AttachmentData`, `AttachmentMediaCategory`, `AttachmentVariant`, `PromptInputMessage`, `ToolPart`
16
16
 
17
+ ## `@leitware/composables/blocks`
18
+
19
+ - Values (26): `BentoGrids01`, `Content02`, `Content04`, `Content06`, `Content07`, `Content09`, `Content11`, `Cta01`, `Feature01`, `Feature02`, `Feature03`, `Hero01`, `Hero02`, `Hero03`, `Hero04`, `Hero05`, `Hero06`, `Hero07`, `Hero08`, `Hero09`, `Hero10`, `Hero11`, `Hero12`, `Hero13`, `Hero14`, `Testimonials01`
20
+ - Types (31): `BentoGrids01Props`, `BlockAnimation`, `BlockBaseProps`, `BlockCTA`, `BlockMedia`, `BlockVariant`, `Content02Props`, `Content04Props`, `Content06Props`, `Content07Props`, `Content09Props`, `Content11Props`, `Cta01Props`, `Feature01Props`, `Feature02Props`, `Feature03Props`, `Hero01Props`, `Hero02Props`, `Hero03Props`, `Hero04Props`, `Hero05Props`, `Hero06Props`, `Hero07Props`, `Hero08Props`, `Hero09Props`, `Hero10Props`, `Hero11Props`, `Hero12Props`, `Hero13Props`, `Hero14Props`, `Testimonials01Props`
21
+
17
22
  ## CSS entrypoints
18
23
 
19
24
  | Import | Package target |
@@ -12,6 +12,7 @@ This is the exact allowlist of framework-independent semantic colour classes shi
12
12
  | `bg-surface-default` | bg | `--bg-surface-default` | `background-color: var(--bg-surface-default)` |
13
13
  | `bg-surface-popover` | bg | `--bg-surface-popover` | `background-color: var(--bg-surface-popover)` |
14
14
  | `bg-surface-accent` | bg | `--bg-surface-accent` | `background-color: var(--bg-surface-accent)` |
15
+ | `bg-surface-field` | bg | `--bg-surface-field` | `background-color: var(--bg-surface-field)` |
15
16
  | `bg-surface-info` | bg | `--bg-surface-info` | `background-color: var(--bg-surface-info)` |
16
17
  | `bg-surface-success` | bg | `--bg-surface-success` | `background-color: var(--bg-surface-success)` |
17
18
  | `bg-surface-warning` | bg | `--bg-surface-warning` | `background-color: var(--bg-surface-warning)` |
@@ -47,6 +48,7 @@ This is the exact allowlist of framework-independent semantic colour classes shi
47
48
  | `text-disabled` | text | `--text-disabled` | `color: var(--text-disabled)` |
48
49
  | `text-inverse` | text | `--text-inverse` | `color: var(--text-inverse)` |
49
50
  | `text-on-fill-primary` | text | `--text-on-fill-primary` | `color: var(--text-on-fill-primary)` |
51
+ | `text-on-fill-brand` | text | `--text-on-fill-brand` | `color: var(--text-on-fill-brand)` |
50
52
  | `text-on-fill-secondary` | text | `--text-on-fill-secondary` | `color: var(--text-on-fill-secondary)` |
51
53
  | `text-on-surface-accent` | text | `--text-on-surface-accent` | `color: var(--text-on-surface-accent)` |
52
54
  | `text-info` | text | `--text-info` | `color: var(--text-info)` |
@@ -117,7 +117,7 @@ export const ChainOfThoughtStep = memo(
117
117
  >
118
118
  <div className="relative mt-0.5">
119
119
  <Icon className="size-4" />
120
- <div className="absolute top-7 bottom-0 left-1/2 -mx-px w-px bg-border" />
120
+ <div className="absolute top-7 bottom-0 left-1/2 w-(--border-width-base) -translate-x-1/2 bg-border" />
121
121
  </div>
122
122
  <div className="flex-1 space-y-2 overflow-hidden">
123
123
  <div>{label}</div>
@@ -360,7 +360,7 @@ export const CodeBlockContent = ({
360
360
  // Memoized raw tokens for immediate display
361
361
  const rawTokens = useMemo(() => createRawTokens(code), [code])
362
362
 
363
- // Synchronous cache lookup — avoids setState in effect for cached results
363
+ // Synchronous cache lookup - avoids setState in effect for cached results
364
364
  const syncTokens = useMemo(
365
365
  () => highlightCode(code, language) ?? rawTokens,
366
366
  [code, language, rawTokens],
@@ -14,8 +14,8 @@ const badgeVariants = cva(
14
14
  variant: {
15
15
  default: `bg-primary text-primary-foreground ${BADGE_LINK_HOVER}`,
16
16
  secondary: `bg-secondary text-secondary-foreground ${BADGE_LINK_HOVER}`,
17
- destructive: `bg-surface-critical ${BADGE_LINK_HOVER} ${FOCUS_RING_DESTRUCTIVE} text-danger border-stroke-critical`,
18
- outline: `border-stroke text-foreground ${BADGE_LINK_HOVER} bg-field/20 dark:bg-field/30`,
17
+ destructive: `bg-surface-critical ${BADGE_LINK_HOVER} ${FOCUS_RING_DESTRUCTIVE} text-critical border-stroke-critical`,
18
+ outline: `border-stroke text-foreground ${BADGE_LINK_HOVER} bg-surface-field/20 dark:bg-surface-field/30`,
19
19
  ghost: `${HOVER_RING} hover:text-muted-foreground`,
20
20
  success: 'bg-surface-success text-success border-stroke-success',
21
21
  warning: 'bg-surface-warning text-warning border-stroke-warning',
@@ -29,7 +29,7 @@ const bubbleVariants = cva(
29
29
  'border-none *:data-[slot=bubble-content]:rounded-none *:data-[slot=bubble-content]:bg-transparent *:data-[slot=bubble-content]:p-0',
30
30
  destructive:
31
31
  '*:data-[slot=bubble-content]:bg-surface-critical *:data-[slot=bubble-content]:text-critical *:data-[slot=bubble-content]:border-stroke-critical',
32
- /** @deprecated Use `destructive` — kept for backwards compatibility. */
32
+ /** @deprecated Use `destructive` - kept for backwards compatibility. */
33
33
  critical:
34
34
  '*:data-[slot=bubble-content]:bg-surface-critical *:data-[slot=bubble-content]:text-critical *:data-[slot=bubble-content]:border-stroke-critical',
35
35
  success:
@@ -17,7 +17,7 @@ const buttonVariants = cva(
17
17
  secondary:
18
18
  'bg-secondary text-secondary-foreground aria-expanded:bg-secondary aria-expanded:text-secondary-foreground',
19
19
  ghost: 'hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground',
20
- destructive: `bg-surface-critical ${FOCUS_RING_DESTRUCTIVE} text-danger border-stroke-critical`,
20
+ destructive: `bg-surface-critical ${FOCUS_RING_DESTRUCTIVE} text-critical border-stroke-critical`,
21
21
  success: 'bg-surface-success text-success border-stroke-success',
22
22
  warning: 'bg-surface-warning text-warning border-stroke-warning',
23
23
  info: 'bg-surface-info text-info border-stroke-info',
@@ -103,7 +103,7 @@ function Calendar({
103
103
  'text-muted-foreground aria-selected:text-muted-foreground',
104
104
  defaultClassNames.outside,
105
105
  ),
106
- disabled: cn('text-muted-foreground opacity-50', defaultClassNames.disabled),
106
+ disabled: cn('text-muted-foreground opacity-disabled', defaultClassNames.disabled),
107
107
  hidden: cn('invisible', defaultClassNames.hidden),
108
108
  ...classNames,
109
109
  }}
@@ -9,7 +9,7 @@ function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {
9
9
  className={cn(
10
10
  FOCUS_RING,
11
11
  HOVER_RING,
12
- 'border-field dark:bg-field/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary flex size-4 items-center justify-center rounded-sm border transition-shadow group-has-disabled/field:opacity-disabled peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-disabled',
12
+ 'border-field dark:bg-surface-field/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary flex size-4 items-center justify-center rounded-sm border transition-shadow group-has-disabled/field:opacity-disabled peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-disabled',
13
13
  className,
14
14
  )}
15
15
  {...props}
@@ -96,7 +96,7 @@ function ComboboxContent({
96
96
  data-slot="combobox-content"
97
97
  data-chips={!!anchor}
98
98
  className={cn(
99
- 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 *:data-[slot=input-group]:bg-field/20 dark:bg-popover max-h-72 min-w-32 overflow-hidden rounded-lg shadow-md ring-[length:var(--border-width)] duration-fast *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-7 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:shadow-none group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width)',
99
+ 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 *:data-[slot=input-group]:bg-surface-field/20 dark:bg-popover max-h-72 min-w-32 overflow-hidden rounded-lg shadow-md ring-[length:var(--border-width)] duration-fast *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-7 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:shadow-none group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width)',
100
100
  className,
101
101
  )}
102
102
  {...props}
@@ -177,7 +177,7 @@ function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.
177
177
  return (
178
178
  <ComboboxPrimitive.Separator
179
179
  data-slot="combobox-separator"
180
- className={cn('bg-stroke/50 -mx-1 my-1 h-px', className)}
180
+ className={cn('bg-stroke/50 -mx-1 my-1 h-(--border-width-base)', className)}
181
181
  {...props}
182
182
  />
183
183
  )
@@ -193,7 +193,7 @@ function ComboboxChips({
193
193
  className={cn(
194
194
  GROUP_FOCUS_RING,
195
195
  HOVER_RING,
196
- 'bg-field/20 dark:bg-field/30 border-field flex min-h-(--input-height) flex-wrap items-center gap-1 rounded-(--input-radius) border bg-clip-padding px-2 py-0.5 text-xs/relaxed has-data-[slot=combobox-chip]:px-1',
196
+ 'bg-surface-field/20 dark:bg-surface-field/30 border-field flex min-h-(--input-height) flex-wrap items-center gap-1 rounded-(--input-radius) border bg-clip-padding px-2 py-0.5 text-xs/relaxed has-data-[slot=combobox-chip]:px-1',
197
197
  className,
198
198
  )}
199
199
  {...props}
@@ -61,7 +61,7 @@ function CommandInput({
61
61
  <CommandPrimitive.Input
62
62
  data-slot="command-input"
63
63
  className={cn(
64
- 'flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50',
64
+ 'flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled',
65
65
  className,
66
66
  )}
67
67
  {...props}
@@ -113,7 +113,7 @@ function CommandSeparator({
113
113
  return (
114
114
  <CommandPrimitive.Separator
115
115
  data-slot="command-separator"
116
- className={cn('-mx-1 h-px bg-border', className)}
116
+ className={cn('-mx-1 h-(--border-width-base) bg-border', className)}
117
117
  {...props}
118
118
  />
119
119
  )
@@ -124,7 +124,7 @@ function CommandItem({ className, ...props }: React.ComponentProps<typeof Comman
124
124
  <CommandPrimitive.Item
125
125
  data-slot="command-item"
126
126
  className={cn(
127
- "relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-muted data-[selected=true]:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
127
+ "relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-disabled data-[selected=true]:bg-muted data-[selected=true]:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
128
128
  className,
129
129
  )}
130
130
  {...props}
@@ -85,7 +85,7 @@ function DropdownMenuItem({
85
85
  data-inset={inset}
86
86
  data-variant={variant}
87
87
  className={cn(
88
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-danger data-[variant=destructive]:focus:bg-surface-critical data-[variant=destructive]:focus:text-danger data-[variant=destructive]:*:[svg]:text-danger not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-default items-center outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-disabled data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
88
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-critical data-[variant=destructive]:focus:bg-surface-critical data-[variant=destructive]:focus:text-critical data-[variant=destructive]:*:[svg]:text-icon-critical not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-default items-center outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-disabled data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
89
89
  FOCUS_RING,
90
90
  className,
91
91
  )}
@@ -209,7 +209,7 @@ function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.
209
209
  return (
210
210
  <MenuPrimitive.Separator
211
211
  data-slot="dropdown-menu-separator"
212
- className={cn('bg-stroke/50 -mx-1 my-1 h-px', className)}
212
+ className={cn('bg-stroke/50 -mx-1 my-1 h-(--border-width-base)', className)}
213
213
  {...props}
214
214
  />
215
215
  )
@@ -344,7 +344,7 @@ function DropZoneArea({ children, className }: DropZoneAreaProps) {
344
344
  className={cn(
345
345
  'rounded-xl border p-8 transition-[opacity,box-shadow] focus-visible:outline-none',
346
346
  FOCUS_RING,
347
- disabled ? 'cursor-not-allowed opacity-50' : 'cursor-pointer',
347
+ disabled ? 'cursor-not-allowed opacity-disabled' : 'cursor-pointer',
348
348
  isDragActive && 'border-primary bg-accent',
349
349
  isDragReject && 'border-stroke-critical bg-surface-critical',
350
350
  hasError && 'border-stroke-critical',
@@ -388,13 +388,13 @@ function DropZoneContent({ title = 'Upload files', description, className }: Dro
388
388
  className={cn(
389
389
  'text-muted-foreground mb-3 flex size-10 items-center justify-center rounded-lg border transition-[opacity,box-shadow]',
390
390
  isDragAccept && 'border-primary text-primary',
391
- isDragReject && 'border-stroke-critical text-danger',
391
+ isDragReject && 'border-stroke-critical text-icon-critical',
392
392
  )}
393
393
  >
394
394
  <UploadIcon className="size-5" />
395
395
  </div>
396
396
  <span className="text-sm font-medium">{title}</span>
397
- <span className={cn('text-muted-foreground text-xs', isDragReject && 'text-danger')}>
397
+ <span className={cn('text-muted-foreground text-xs', isDragReject && 'text-critical')}>
398
398
  {getDragMessage()}
399
399
  </span>
400
400
  <span className="text-muted-foreground mt-0.5 text-xs">
@@ -48,7 +48,7 @@ function FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {
48
48
  )
49
49
  }
50
50
 
51
- const fieldVariants = cva('data-[invalid=true]:text-danger gap-2 group/field flex w-full', {
51
+ const fieldVariants = cva('data-[invalid=true]:text-critical gap-2 group/field flex w-full', {
52
52
  variants: {
53
53
  orientation: {
54
54
  vertical: 'flex-col [&>*]:w-full [&>.sr-only]:w-auto',
@@ -199,7 +199,7 @@ function FieldError({
199
199
  <div
200
200
  role="alert"
201
201
  data-slot="field-error"
202
- className={cn('text-danger text-xs/relaxed font-normal break-all', className)}
202
+ className={cn('text-critical text-xs/relaxed font-normal break-all', className)}
203
203
  {...props}
204
204
  >
205
205
  {content}
@@ -3,12 +3,12 @@ import * as React from 'react'
3
3
  import { cn } from '../lib/utils'
4
4
 
5
5
  interface GridOverlayProps extends React.ComponentProps<'div'> {
6
- /** Grid line color. Defaults to a subtle black/white depending on context. */
6
+ /** Grid line color. Defaults to the theme's grid overlay token. */
7
7
  color?: string
8
8
  }
9
9
 
10
10
  /**
11
- * GridOverlay — renders a full-viewport grid background aligned to the
11
+ * GridOverlay - renders a full-viewport grid background aligned to the
12
12
  * spacing system. Grid cells are `calc(var(--spacing) * 12)` wide/tall
13
13
  * and the pattern is horizontally centered so that containers whose
14
14
  * widths are multiples of 96 px snap exactly to the lines.
@@ -23,7 +23,7 @@ interface GridOverlayProps extends React.ComponentProps<'div'> {
23
23
  * ```
24
24
  */
25
25
  function GridOverlay({ color, className, style, ...props }: GridOverlayProps) {
26
- const lineColor = color ?? 'var(--grid-overlay-color, rgba(0, 0, 0, 0.06))'
26
+ const lineColor = color ?? 'var(--grid-overlay-color)'
27
27
 
28
28
  return (
29
29
  <div
@@ -13,7 +13,7 @@ function InputGroup({ className, ...props }: React.ComponentProps<'div'>) {
13
13
  className={cn(
14
14
  GROUP_FOCUS_RING,
15
15
  HOVER_RING,
16
- 'border-field bg-field/20 dark:bg-field/30 h-(--input-height) rounded-(--input-radius) border overflow-hidden bg-clip-padding has-data-[align=block-end]:rounded-(--input-radius) has-data-[align=block-start]:rounded-(--input-radius) has-[textarea]:rounded-(--input-radius) has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',
16
+ 'border-field bg-surface-field/20 dark:bg-surface-field/30 h-(--input-height) rounded-(--input-radius) border overflow-hidden bg-clip-padding has-data-[align=block-end]:rounded-(--input-radius) has-data-[align=block-start]:rounded-(--input-radius) has-[textarea]:rounded-(--input-radius) has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto',
17
17
  className,
18
18
  )}
19
19
  {...props}
@@ -11,7 +11,7 @@ function Input({ className, type, ...props }: React.ComponentProps<'input'>) {
11
11
  className={cn(
12
12
  FOCUS_RING,
13
13
  HOVER_RING,
14
- 'bg-field/20 dark:bg-field/30 border-field h-(--input-height) rounded-(--input-radius) border px-2 py-0.5 text-sm file:h-6 file:text-xs/relaxed file:font-medium md:text-xs/relaxed file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-disabled',
14
+ 'bg-surface-field/20 dark:bg-surface-field/30 border-field h-(--input-height) rounded-(--input-radius) border px-2 py-0.5 text-sm file:h-6 file:text-xs/relaxed file:font-medium md:text-xs/relaxed file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-disabled',
15
15
  className,
16
16
  )}
17
17
  {...props}
@@ -16,8 +16,8 @@
16
16
  *
17
17
  * Layout philosophy:
18
18
  * • Container background IS the border color
19
- * • Gap exposes it as 1px lines — cells are never individually bordered
20
- * • "Borders never stack" — each grid line is drawn exactly once
19
+ * • Gap exposes it as 1px lines - cells are never individually bordered
20
+ * • "Borders never stack" - each grid line is drawn exactly once
21
21
  * • Mobile: single-column stack; Desktop: the designed layout
22
22
  * • All sizing is responsive, all colors through semantic tokens
23
23
  *
@@ -34,16 +34,16 @@ import { cn } from '../lib/utils'
34
34
 
35
35
  // ─── INTERNAL CONSTANTS ───────────────────────────────────────────────────────
36
36
 
37
- /** Background IS the border color — gap exposes it as lines. */
37
+ /** Background IS the border color - gap exposes it as lines. */
38
38
  const BENTO_CONTAINER =
39
39
  'min-w-0 bg-stroke gap-[var(--bento-gap,var(--border-width,1px))] p-[var(--bento-gap,var(--border-width,1px))] rounded-lg'
40
40
 
41
- /** Every direct cell child gets card background — it sits on top of the border bg. */
41
+ /** Every direct cell child gets card background - it sits on top of the border bg. */
42
42
  const BENTO_CELL = 'min-w-0 bg-card rounded-lg overflow-hidden'
43
43
 
44
44
  // ─── STAT CELL ────────────────────────────────────────────────────────────────
45
45
  //
46
- // Compact metric cell. Participates in the gap-border system — add it as a
46
+ // Compact metric cell. Participates in the gap-border system - add it as a
47
47
  // direct child of BentoGrid, CellGrid, or the stats slot of any Bento layout.
48
48
  // Padding is internal; the outer gap provides the grid line.
49
49
 
@@ -129,7 +129,7 @@ function BentoCell({ colSpan = 1, rowSpan = 1, className, ...props }: BentoCellP
129
129
  // A 2-area layout: icon panel (fixed 200px on desktop, spans both rows) |
130
130
  // content area + stats area stacked in the second column.
131
131
  //
132
- // Mobile: single column — icon, then content, then stats.
132
+ // Mobile: single column - icon, then content, then stats.
133
133
  // Desktop: [200px icon (row-span-2)] | [content / stats]
134
134
 
135
135
  interface BentoSplitProps extends Omit<React.ComponentProps<'div'>, 'content'> {
@@ -149,18 +149,18 @@ function BentoSplit({ icon, content, stats, className, ...props }: BentoSplitPro
149
149
  )}
150
150
  {...props}
151
151
  >
152
- {/* Icon — spans both rows on desktop */}
152
+ {/* Icon - spans both rows on desktop */}
153
153
  <div
154
154
  data-slot="bento-split-icon"
155
155
  className={cn(BENTO_CELL, 'flex items-center justify-center p-10 lg:row-span-2')}
156
156
  >
157
157
  {icon}
158
158
  </div>
159
- {/* Content — auto-places into col 2, row 1 */}
159
+ {/* Content - auto-places into col 2, row 1 */}
160
160
  <div data-slot="bento-split-content" className={cn(BENTO_CELL, 'p-4')}>
161
161
  {content}
162
162
  </div>
163
- {/* Stats — auto-places into col 2, row 2 */}
163
+ {/* Stats - auto-places into col 2, row 2 */}
164
164
  <div data-slot="bento-split-stats" className={cn(BENTO_CELL, 'p-4')}>
165
165
  {stats}
166
166
  </div>
@@ -286,14 +286,14 @@ function BentoTriple({ header, aside, body, footer, className, ...props }: Bento
286
286
  <div data-slot="bento-triple-header" className={cn(BENTO_CELL, 'lg:[grid-column:1/-1]')}>
287
287
  {header}
288
288
  </div>
289
- {/* Aside — col 1, row 2 */}
289
+ {/* Aside - col 1, row 2 */}
290
290
  <div
291
291
  data-slot="bento-triple-aside"
292
292
  className={cn(BENTO_CELL, 'flex items-center justify-center')}
293
293
  >
294
294
  {aside}
295
295
  </div>
296
- {/* Body — col 2, row 2 */}
296
+ {/* Body - col 2, row 2 */}
297
297
  <div data-slot="bento-triple-body" className={BENTO_CELL}>
298
298
  {body}
299
299
  </div>
@@ -334,7 +334,7 @@ function CellGrid({ cols, subtle = false, className, ...props }: CellGridProps)
334
334
  CELL_GRID_COLS[cols],
335
335
  'gap-[var(--bento-gap,var(--border-width,1px))]',
336
336
  'min-w-0',
337
- subtle ? 'bg-field' : 'bg-stroke',
337
+ subtle ? 'bg-stroke/50' : 'bg-stroke',
338
338
  className,
339
339
  )}
340
340
  {...props}
@@ -5,7 +5,7 @@
5
5
  * Enforces the spacing and border system.
6
6
  *
7
7
  * BORDERS NEVER STACK RULES:
8
- * • Stack/Row gaps use margin (not padding) — items never double-border.
8
+ * • Stack/Row gaps use margin (not padding) - items never double-border.
9
9
  * • NewspaperGrid: container holds border-t + border-l.
10
10
  * NewspaperCell adds border-b + border-r → each edge drawn exactly once.
11
11
  * • Use `border-[length:var(--border-width)]` throughout, never hardcoded 1px.
@@ -33,7 +33,7 @@ import { cn } from '../lib/utils'
33
33
  // ─── SECTION ──────────────────────────────────────────────────────────────────
34
34
  //
35
35
  // Page-level section wrapper with macro spacing tokens.
36
- // Spacing drives py (vertical padding) — sm=spacing*6, md=spacing*12, lg=spacing*24.
36
+ // Spacing drives py (vertical padding) - sm=spacing*6, md=spacing*12, lg=spacing*24.
37
37
 
38
38
  const sectionVariants = cva('w-full', {
39
39
  variants: {
@@ -63,7 +63,7 @@ function Section({ className, spacing, ...props }: SectionProps) {
63
63
  // ─── SPACER ───────────────────────────────────────────────────────────────────
64
64
  //
65
65
  // Flex-grow spacer for pushing content apart inside flex containers.
66
- // aria-hidden: decorative — not meaningful to assistive tech.
66
+ // aria-hidden: decorative - not meaningful to assistive tech.
67
67
 
68
68
  function FlexSpacer({ className, ...props }: React.ComponentProps<'div'>) {
69
69
  return (
@@ -82,12 +82,12 @@ function FlexSpacer({ className, ...props }: React.ComponentProps<'div'>) {
82
82
  // (Named NewspaperGrid to distinguish from layout-bento's BentoGrid, which uses
83
83
  // gap-as-border rather than this edge-sharing approach.)
84
84
  //
85
- // Border rule — "each edge drawn exactly once":
86
- // Container: border-t + border-l (outer frame — top and left)
87
- // NewspaperCell: border-b + border-r (completes each cell — bottom and right)
85
+ // Border rule - "each edge drawn exactly once":
86
+ // Container: border-t + border-l (outer frame - top and left)
87
+ // NewspaperCell: border-b + border-r (completes each cell - bottom and right)
88
88
  //
89
89
  // Result: every grid line is a single border, never doubled.
90
- // Use `border-[length:var(--border-width)]` throughout — never hardcoded px.
90
+ // Use `border-[length:var(--border-width)]` throughout - never hardcoded px.
91
91
 
92
92
  const newspaperGridVariants = cva(
93
93
  [
@@ -127,10 +127,10 @@ function NewspaperGrid({ className, cols, ...props }: NewspaperGridProps) {
127
127
  // ─── NEWSPAPER CELL ───────────────────────────────────────────────────────────
128
128
  //
129
129
  // A single cell within NewspaperGrid. Provides the bottom + right border edges
130
- // (newspaper rule — completes the grid line each container started).
130
+ // (newspaper rule - completes the grid line each container started).
131
131
  //
132
- // span — column span (1–4)
133
- // rowSpan — row span (1–3)
132
+ // span - column span (1–4)
133
+ // rowSpan - row span (1–3)
134
134
 
135
135
  const COL_SPANS: Record<1 | 2 | 3 | 4, string> = {
136
136
  1: 'col-span-1',
@@ -145,7 +145,7 @@ const ROW_SPANS: Record<1 | 2 | 3, string> = {
145
145
  3: 'row-span-3',
146
146
  }
147
147
 
148
- // Cell border classes — bottom + right complete the newspaper grid rule
148
+ // Cell border classes - bottom + right complete the newspaper grid rule
149
149
  const CELL_BORDERS = [
150
150
  'border-b-[length:var(--border-width,var(--border-width-base,0.0625rem))]',
151
151
  'border-r-[length:var(--border-width,var(--border-width-base,0.0625rem))]',
@@ -11,7 +11,7 @@ const markerVariants = cva(
11
11
  variant: {
12
12
  default: '',
13
13
  separator:
14
- 'before:bg-stroke after:bg-stroke before:mr-1 before:h-px before:min-w-0 before:flex-1 after:ml-1 after:h-px after:min-w-0 after:flex-1',
14
+ 'before:bg-stroke after:bg-stroke before:mr-1 before:h-(--border-width-base) before:min-w-0 before:flex-1 after:ml-1 after:h-(--border-width-base) after:min-w-0 after:flex-1',
15
15
  border: 'border-b border-stroke pb-2',
16
16
  },
17
17
  },
@@ -19,7 +19,7 @@ function RadioGroupItem({ className, ...props }: RadioPrimitive.Root.Props) {
19
19
  className={cn(
20
20
  FOCUS_RING,
21
21
  HOVER_RING,
22
- 'border-field dark:bg-field/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary flex size-4 rounded-[var(--radius)] transition-shadow group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-disabled',
22
+ 'border-field dark:bg-surface-field/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary flex size-4 rounded-[var(--radius)] transition-shadow group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-disabled',
23
23
  className,
24
24
  )}
25
25
  {...props}
@@ -28,7 +28,7 @@ function RadioGroupItem({ className, ...props }: RadioPrimitive.Root.Props) {
28
28
  data-slot="radio-group-indicator"
29
29
  className="flex size-4 items-center justify-center"
30
30
  >
31
- <div className="absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-[var(--radius)] bg-current group-aria-invalid/radio-group-item:bg-danger" />
31
+ <div className="absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-[var(--radius)] bg-current group-aria-invalid/radio-group-item:bg-fill-critical" />
32
32
  </RadioPrimitive.Indicator>
33
33
  </RadioPrimitive.Root>
34
34
  )
@@ -31,7 +31,7 @@ function ResizableHandle({
31
31
  <ResizablePrimitive.Separator
32
32
  data-slot="resizable-handle"
33
33
  className={cn(
34
- 'bg-stroke focus-visible:ring-[color:var(--focus-ring-color)]/30 relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-[length:var(--focus-ring-width)] focus-visible:ring-offset-1 focus-visible:outline-hidden data-[orientation=vertical]:h-px data-[orientation=vertical]:w-full data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:h-1 data-[orientation=vertical]:after:w-full data-[orientation=vertical]:after:translate-x-0 data-[orientation=vertical]:after:-translate-y-1/2 [&[data-orientation=vertical]>div]:rotate-90',
34
+ 'bg-stroke focus-visible:ring-[color:var(--focus-ring-color)]/30 relative flex w-[max(1px,var(--border-width-base))] items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-[length:var(--focus-ring-width)] focus-visible:ring-offset-1 focus-visible:outline-hidden data-[orientation=vertical]:h-[max(1px,var(--border-width-base))] data-[orientation=vertical]:w-full data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:h-1 data-[orientation=vertical]:after:w-full data-[orientation=vertical]:after:translate-x-0 data-[orientation=vertical]:after:-translate-y-1/2 [&[data-orientation=vertical]>div]:rotate-90',
35
35
  className,
36
36
  )}
37
37
  {...props}