@leitware/composables 1.3.1 → 1.3.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leitware/composables",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,43 +65,43 @@ Use this catalog to choose public exports. The `Source module` column is for mai
65
65
 
66
66
  ### Layout
67
67
 
68
- | Module | Source module | Import from | Public values | Public types | Description |
69
- | -------------- | ---------------------------- | ----------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------- |
70
- | `stack` | `./opinionated/stack` | `@leitware/composables` | `Stack` | `StackProps` | Flex-based vertical or horizontal stack layout |
71
- | `grid` | `./opinionated/grid` | `@leitware/composables` | `Grid` | `GridProps` | Responsive CSS grid layout component |
72
- | `container` | `./opinionated/container` | `@leitware/composables` | `Container` | `ContainerProps` | Centered max-width content wrapper |
73
- | `spacer` | `./opinionated/spacer` | `@leitware/composables` | `Spacer` | `SpacerProps` | Flexible whitespace component for spacing |
74
- | `separator` | `./opinionated/separator` | `@leitware/composables` | `Separator` | - | Visual divider line between content sections |
75
- | `layout` | `./opinionated/layout` | `@leitware/composables` | `NewspaperCell`, `NewspaperGrid`, `Section` | `NewspaperCellProps`, `NewspaperGridProps`, `SectionProps` | Rigid layout primitives: Section, FlexSpacer, NewspaperGrid |
76
- | `layout-bento` | `./opinionated/layout-bento` | `@leitware/composables` | `BentoCell`, `BentoGrid` | - | Bento grid layout with BentoGrid, BentoCell, and composites |
77
- | `resizable` | `./opinionated/resizable` | `@leitware/composables` | `ResizableHandle`, `ResizablePanel`, `ResizablePanelGroup` | - | Resizable split pane panels |
78
- | `scroll-area` | `./opinionated/scroll-area` | `@leitware/composables` | `ScrollArea`, `ScrollBar` | `ScrollAreaProps` | Custom scrollbar container with overflow handling |
68
+ | Module | Source module | Import from | Public values | Public types | Description |
69
+ | -------------- | ---------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------- |
70
+ | `stack` | `./opinionated/stack` | `@leitware/composables` | `Stack`, `stackVariants` | `StackProps` | Flex-based vertical or horizontal stack layout |
71
+ | `grid` | `./opinionated/grid` | `@leitware/composables` | `Grid`, `gridVariants` | `GridProps` | Responsive CSS grid layout component |
72
+ | `container` | `./opinionated/container` | `@leitware/composables` | `Container`, `containerVariants` | `ContainerProps` | Centered max-width content wrapper |
73
+ | `spacer` | `./opinionated/spacer` | `@leitware/composables` | `Spacer`, `spacerVariants` | `SpacerProps` | Flexible whitespace component for spacing |
74
+ | `separator` | `./opinionated/separator` | `@leitware/composables` | `Separator` | - | Visual divider line between content sections |
75
+ | `layout` | `./opinionated/layout` | `@leitware/composables` | `FlexSpacer`, `NewspaperCell`, `NewspaperGrid`, `newspaperGridVariants`, `Section`, `sectionVariants` | `NewspaperCellProps`, `NewspaperGridProps`, `SectionProps` | Rigid layout primitives: Section, FlexSpacer, NewspaperGrid |
76
+ | `layout-bento` | `./opinionated/layout-bento` | `@leitware/composables` | `BentoCell`, `BentoGrid`, `BentoLeader`, `BentoQuad`, `BentoSplit`, `BentoTriple`, `CellGrid`, `CellRow`, `StatCell` | - | Bento grid layout with BentoGrid, BentoCell, and composites |
77
+ | `resizable` | `./opinionated/resizable` | `@leitware/composables` | `ResizableHandle`, `ResizablePanel`, `ResizablePanelGroup` | - | Resizable split pane panels |
78
+ | `scroll-area` | `./opinionated/scroll-area` | `@leitware/composables` | `ScrollArea`, `ScrollBar` | `ScrollAreaProps` | Custom scrollbar container with overflow handling |
79
79
 
80
80
  ### Typography & Display
81
81
 
82
- | Module | Source module | Import from | Public values | Public types | Description |
83
- | ------------ | -------------------------- | ----------------------- | ---------------------------------------------------------------------------------- | -------------------------------------- | ------------------------------------------------------------------- |
84
- | `typography` | `./opinionated/typography` | `@leitware/composables` | `Typography` | `TypographyProps`, `TypographyVariant` | Polymorphic text component with typographic scale variants |
85
- | `badge` | `./opinionated/badge` | `@leitware/composables` | `Badge` | `BadgeProps` | Small status label with color variants |
86
- | `avatar` | `./opinionated/avatar` | `@leitware/composables` | `Avatar`, `AvatarFallback`, `AvatarImage` | `AvatarProps` | Circular image element with automatic initials fallback |
87
- | `icon` | `./opinionated/icon` | `@leitware/composables` | `Icon` | - | Icon wrapper with size and color variants |
88
- | `kbd` | `./opinionated/kbd` | `@leitware/composables` | `Kbd`, `KbdGroup` | `KbdGroupProps`, `KbdProps` | Keyboard shortcut key and key group display |
89
- | `skeleton` | `./opinionated/skeleton` | `@leitware/composables` | `Skeleton`, `SkeletonAvatar`, `SkeletonButton`, `SkeletonInput`, `SkeletonText` | `SkeletonProps` | Animated placeholder for loading content |
90
- | `progress` | `./opinionated/progress` | `@leitware/composables` | `Progress`, `ProgressIndicator`, `ProgressLabel`, `ProgressTrack`, `ProgressValue` | `ProgressProps` | Horizontal progress bar indicator |
91
- | `divider` | `./opinionated/divider` | `@leitware/composables` | `Divider` | `DividerProps` | Horizontal or vertical divider with solid, dots, and pills variants |
82
+ | Module | Source module | Import from | Public values | Public types | Description |
83
+ | ------------ | -------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | ------------------------------------------------------------------- |
84
+ | `typography` | `./opinionated/typography` | `@leitware/composables` | `Typography`, `typographyVariants` | `TypographyProps`, `TypographyVariant` | Polymorphic text component with typographic scale variants |
85
+ | `badge` | `./opinionated/badge` | `@leitware/composables` | `Badge` | `BadgeProps` | Small status label with color variants |
86
+ | `avatar` | `./opinionated/avatar` | `@leitware/composables` | `Avatar`, `AvatarFallback`, `AvatarImage`, `avatarVariants` | `AvatarProps` | Circular image element with automatic initials fallback |
87
+ | `icon` | `./opinionated/icon` | `@leitware/composables` | `Icon`, `iconVariants` | - | Icon wrapper with size and color variants |
88
+ | `kbd` | `./opinionated/kbd` | `@leitware/composables` | `Kbd`, `KbdGroup` | `KbdGroupProps`, `KbdProps` | Keyboard shortcut key and key group display |
89
+ | `skeleton` | `./opinionated/skeleton` | `@leitware/composables` | `Skeleton`, `SkeletonAvatar`, `SkeletonButton`, `SkeletonCard`, `SkeletonInput`, `SkeletonTableRow`, `SkeletonText` | `SkeletonProps` | Animated placeholder for loading content |
90
+ | `progress` | `./opinionated/progress` | `@leitware/composables` | `Progress`, `ProgressIndicator`, `ProgressLabel`, `ProgressTrack`, `ProgressValue` | `ProgressProps` | Horizontal progress bar indicator |
91
+ | `divider` | `./opinionated/divider` | `@leitware/composables` | `Divider`, `dividerVariants` | `DividerProps` | Horizontal or vertical divider with solid, dots, and pills variants |
92
92
 
93
93
  ### Feedback & Overlay
94
94
 
95
- | Module | Source module | Import from | Public values | Public types | Description |
96
- | -------------- | ---------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------- |
97
- | `alert` | `./opinionated/alert` | `@leitware/composables` | `Alert`, `AlertAction`, `AlertDescription`, `AlertTitle` | `AlertProps`, `AlertType`, `AlertVariant` | Contextual feedback messages with type-based icon mapping |
98
- | `dialog` | `./opinionated/dialog` | `@leitware/composables` | `Dialog`, `DialogClose`, `DialogContent`, `DialogDescription`, `DialogFooter`, `DialogHeader`, `DialogTitle`, `DialogTrigger` | `DialogProps` | Modal dialog overlay with trigger, title, and footer props |
99
- | `alert-dialog` | `./opinionated/alert-dialog` | `@leitware/composables` | `AlertDialog`, `AlertDialogAction`, `AlertDialogCancel`, `AlertDialogContent`, `AlertDialogDescription`, `AlertDialogTitle`, `AlertDialogTrigger` | `AlertDialogProps` | Modal dialog for important confirmations |
100
- | `sheet` | `./opinionated/sheet` | `@leitware/composables` | `Sheet`, `SheetClose`, `SheetContent`, `SheetDescription`, `SheetFooter`, `SheetHeader`, `SheetTitle`, `SheetTrigger` | `SheetProps` | Slide-out panel from screen edge |
101
- | `popover` | `./opinionated/popover` | `@leitware/composables` | `Popover`, `PopoverContent`, `PopoverDescription`, `PopoverHeader`, `PopoverTitle`, `PopoverTrigger` | `PopoverProps` | Floating content panel anchored to a trigger |
102
- | `tooltip` | `./opinionated/tooltip` | `@leitware/composables` | `Tooltip`, `TooltipContent`, `TooltipTrigger` | `TooltipProps` | Informational popup on hover or focus |
103
- | `hover-card` | `./opinionated/hover-card` | `@leitware/composables` | `HoverCard`, `HoverCardContent`, `HoverCardTrigger` | `HoverCardProps` | Preview card shown on hover |
104
- | `sonner` | `./opinionated/sonner` | `@leitware/composables` | `Toaster` | - | Toast notification system powered by Sonner |
95
+ | Module | Source module | Import from | Public values | Public types | Description |
96
+ | -------------- | ---------------------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------- |
97
+ | `alert` | `./opinionated/alert` | `@leitware/composables` | `Alert`, `AlertAction`, `AlertDescription`, `AlertTitle` | `AlertProps`, `AlertType`, `AlertVariant` | Contextual feedback messages with type-based icon mapping |
98
+ | `dialog` | `./opinionated/dialog` | `@leitware/composables` | `Dialog`, `DialogClose`, `DialogContent`, `DialogDescription`, `DialogFooter`, `DialogHeader`, `DialogOverlay`, `DialogPortal`, `DialogTitle`, `DialogTrigger` | `DialogProps` | Modal dialog overlay with trigger, title, and footer props |
99
+ | `alert-dialog` | `./opinionated/alert-dialog` | `@leitware/composables` | `AlertDialog`, `AlertDialogAction`, `AlertDialogCancel`, `AlertDialogContent`, `AlertDialogDescription`, `AlertDialogFooter`, `AlertDialogHeader`, `AlertDialogMedia`, `AlertDialogOverlay`, `AlertDialogPortal`, `AlertDialogTitle`, `AlertDialogTrigger` | `AlertDialogProps` | Modal dialog for important confirmations |
100
+ | `sheet` | `./opinionated/sheet` | `@leitware/composables` | `Sheet`, `SheetClose`, `SheetContent`, `SheetDescription`, `SheetFooter`, `SheetHeader`, `SheetTitle`, `SheetTrigger` | `SheetProps` | Slide-out panel from screen edge |
101
+ | `popover` | `./opinionated/popover` | `@leitware/composables` | `Popover`, `PopoverContent`, `PopoverDescription`, `PopoverHeader`, `PopoverTitle`, `PopoverTrigger` | `PopoverProps` | Floating content panel anchored to a trigger |
102
+ | `tooltip` | `./opinionated/tooltip` | `@leitware/composables` | `Tooltip`, `TooltipContent`, `TooltipTrigger` | `TooltipProps` | Informational popup on hover or focus |
103
+ | `hover-card` | `./opinionated/hover-card` | `@leitware/composables` | `HoverCard`, `HoverCardContent`, `HoverCardTrigger` | `HoverCardProps` | Preview card shown on hover |
104
+ | `sonner` | `./opinionated/sonner` | `@leitware/composables` | `Toaster` | - | Toast notification system powered by Sonner |
105
105
 
106
106
  ### Navigation
107
107
 
@@ -111,7 +111,7 @@ Use this catalog to choose public exports. The `Source module` column is for mai
111
111
  | `breadcrumb` | `./opinionated/breadcrumb` | `@leitware/composables` | `Breadcrumb`, `BreadcrumbEllipsis`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbList`, `BreadcrumbPage`, `BreadcrumbSeparator` | `BreadcrumbItemData`, `BreadcrumbProps` | Navigation trail with items array API |
112
112
  | `pagination` | `./opinionated/pagination` | `@leitware/composables` | `Pagination`, `PaginationContent`, `PaginationEllipsis`, `PaginationItem`, `PaginationLink`, `PaginationNext`, `PaginationPrevious` | `PaginationProps` | Page navigation with currentPage and totalPages API |
113
113
  | `sidebar` | `./opinionated/sidebar` | `@leitware/composables` | `Sidebar`, `SidebarContent`, `SidebarFooter`, `SidebarGroup`, `SidebarGroupAction`, `SidebarGroupContent`, `SidebarGroupLabel`, `SidebarHeader`, `SidebarInput`, `SidebarInset`, `SidebarMenu`, `SidebarMenuAction`, `SidebarMenuBadge`, `SidebarMenuButton`, `SidebarMenuItem`, `SidebarMenuSkeleton`, `SidebarMenuSub`, `SidebarMenuSubButton`, `SidebarMenuSubItem`, `SidebarProvider`, `SidebarRail`, `SidebarSeparator`, `SidebarTrigger`, `useSidebar` | - | Application sidebar with collapsible navigation groups |
114
- | `dropdown-menu` | `./opinionated/dropdown-menu` | `@leitware/composables` | `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger` | `DropdownMenuItemData`, `DropdownMenuProps` | Contextual menu triggered by a button |
114
+ | `dropdown-menu` | `./opinionated/dropdown-menu` | `@leitware/composables` | `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuPortal`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger` | `DropdownMenuItemData`, `DropdownMenuProps` | Contextual menu triggered by a button |
115
115
 
116
116
  ### Data Display
117
117
 
@@ -123,8 +123,8 @@ Use this catalog to choose public exports. The `Source module` column is for mai
123
123
  | `collapsible` | `./opinionated/collapsible` | `@leitware/composables` | `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger` | `CollapsibleProps` | Expandable and collapsible content panel with trigger prop |
124
124
  | `item` | `./opinionated/item` | `@leitware/composables` | `Item`, `ItemActions`, `ItemContent`, `ItemDescription`, `ItemFooter`, `ItemGroup`, `ItemHeader`, `ItemMedia`, `ItemSeparator`, `ItemTitle` | `ItemProps`, `ItemVariants` | Flexible list item with title, description, icon, and actions |
125
125
  | `message` | `./opinionated/message` | `@leitware/composables` | `Message`, `MessageAvatar`, `MessageContent`, `MessageFooter`, `MessageGroup`, `MessageHeader` | - | Message row primitives for chat, activity, and assistant UIs |
126
- | `bubble` | `./opinionated/bubble` | `@leitware/composables` | `Bubble`, `BubbleContent`, `BubbleGroup`, `BubbleReactions` | `BubbleProps` | Message bubble primitives with semantic variants |
127
- | `marker` | `./opinionated/marker` | `@leitware/composables` | `Marker`, `MarkerContent`, `MarkerIcon` | `MarkerProps` | Inline metadata marker with icon, separator, and border variants |
126
+ | `bubble` | `./opinionated/bubble` | `@leitware/composables` | `Bubble`, `BubbleContent`, `BubbleGroup`, `BubbleReactions`, `bubbleReactionsVariants`, `bubbleVariants` | `BubbleProps` | Message bubble primitives with semantic variants |
127
+ | `marker` | `./opinionated/marker` | `@leitware/composables` | `Marker`, `MarkerContent`, `MarkerIcon`, `markerVariants` | `MarkerProps` | Inline metadata marker with icon, separator, and border variants |
128
128
  | `empty` | `./opinionated/empty` | `@leitware/composables` | `Empty`, `EmptyContent`, `EmptyDescription`, `EmptyHeader`, `EmptyMedia`, `EmptyTableState`, `EmptyTitle` | `EmptyProps`, `EmptyTableStateProps` | Empty state placeholder with icon, title, and description |
129
129
  | `carousel` | `./opinionated/carousel` | `@leitware/composables` | `Carousel`, `CarouselContent`, `CarouselItem`, `CarouselNext`, `CarouselPrevious` | `CarouselProps` | Horizontally scrollable content slider with items array API |
130
130
  | `code-block` | `./opinionated/code-block` | `@leitware/composables` | `CodeBlock` | `CodeBlockProps` | Monospace code display with line numbers |
@@ -152,19 +152,19 @@ Use this catalog to choose public exports. The `Source module` column is for mai
152
152
 
153
153
  ### Interactive
154
154
 
155
- | Module | Source module | Import from | Public values | Public types | Description |
156
- | -------------- | ---------------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------- |
157
- | `button` | `./opinionated/button` | `@leitware/composables` | `Button` | `ButtonProps` | Clickable button with loading spinner support |
158
- | `toggle` | `./opinionated/toggle` | `@leitware/composables` | `Toggle` | `ToggleProps` | Pressable toggle button with left and right icon slots |
159
- | `toggle-group` | `./opinionated/toggle-group` | `@leitware/composables` | `ToggleGroup`, `ToggleGroupItem` | `ToggleGroupOption`, `ToggleGroupProps` | Grouped toggle buttons for single or multiple selection |
160
- | `switch` | `./opinionated/switch` | `@leitware/composables` | `Switch` | - | Toggle switch for on/off states |
161
- | `slider` | `./opinionated/slider` | `@leitware/composables` | `Slider` | - | Draggable range slider input |
162
- | `checkbox` | `./opinionated/checkbox` | `@leitware/composables` | `Checkbox` | - | Toggle checkbox input with checked state |
163
- | `radio-group` | `./opinionated/radio-group` | `@leitware/composables` | `RadioGroup`, `RadioGroupItem` | - | Group of mutually exclusive radio options |
164
- | `combobox` | `./opinionated/combobox` | `@leitware/composables` | `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue` | `ComboboxOption`, `ComboboxProps` | Searchable select dropdown with autocomplete |
165
- | `select` | `./opinionated/select` | `@leitware/composables` | `Select`, `SelectContent`, `SelectGroup`, `SelectItem`, `SelectLabel`, `SelectTrigger`, `SelectValue` | `SelectOption`, `SelectProps` | Dropdown select menu with scrollable options |
166
- | `calendar` | `./opinionated/calendar` | `@leitware/composables` | `Calendar`, `CalendarDayButton` | - | Date picker calendar powered by react-day-picker |
167
- | `dropzone` | `./opinionated/dropzone` | `@leitware/composables` | `ACCEPT_PRESETS`, `DropZone`, `DropZoneFile` | `Accept`, `DropZoneFileProps`, `DropZoneProps`, `FileRejection` | Drag-and-drop file upload area |
155
+ | Module | Source module | Import from | Public values | Public types | Description |
156
+ | -------------- | ---------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------- | ------------------------------------------------------- |
157
+ | `button` | `./opinionated/button` | `@leitware/composables` | `Button` | `ButtonProps` | Clickable button with loading spinner support |
158
+ | `toggle` | `./opinionated/toggle` | `@leitware/composables` | `Toggle` | `ToggleProps` | Pressable toggle button with left and right icon slots |
159
+ | `toggle-group` | `./opinionated/toggle-group` | `@leitware/composables` | `ToggleGroup`, `ToggleGroupItem` | `ToggleGroupOption`, `ToggleGroupProps` | Grouped toggle buttons for single or multiple selection |
160
+ | `switch` | `./opinionated/switch` | `@leitware/composables` | `Switch` | - | Toggle switch for on/off states |
161
+ | `slider` | `./opinionated/slider` | `@leitware/composables` | `Slider` | - | Draggable range slider input |
162
+ | `checkbox` | `./opinionated/checkbox` | `@leitware/composables` | `Checkbox` | - | Toggle checkbox input with checked state |
163
+ | `radio-group` | `./opinionated/radio-group` | `@leitware/composables` | `RadioGroup`, `RadioGroupItem` | - | Group of mutually exclusive radio options |
164
+ | `combobox` | `./opinionated/combobox` | `@leitware/composables` | `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue`, `useComboboxAnchor` | `ComboboxOption`, `ComboboxProps` | Searchable select dropdown with autocomplete |
165
+ | `select` | `./opinionated/select` | `@leitware/composables` | `Select`, `SelectContent`, `SelectGroup`, `SelectItem`, `SelectLabel`, `SelectScrollDownButton`, `SelectScrollUpButton`, `SelectSeparator`, `SelectTrigger`, `SelectValue` | `SelectOption`, `SelectProps` | Dropdown select menu with scrollable options |
166
+ | `calendar` | `./opinionated/calendar` | `@leitware/composables` | `Calendar`, `CalendarDayButton` | - | Date picker calendar powered by react-day-picker |
167
+ | `dropzone` | `./opinionated/dropzone` | `@leitware/composables` | `ACCEPT_PRESETS`, `DEFAULT_ACCEPT`, `DEFAULT_MAX_SIZE`, `Dropzone`, `DropZone`, `DropZoneArea`, `DropzoneContent`, `DropZoneContent`, `DropZoneFile`, `DropZoneFileList`, `DropzoneInput`, `DropZoneInput`, `DropzoneLabel`, `formatFileSize`, `getAcceptDescription`, `getRejectionMessage`, `useDropZoneContext` | `Accept`, `DropZoneFileProps`, `DropZoneProps`, `FileRejection` | Drag-and-drop file upload area |
168
168
 
169
169
  ### Tooling Components
170
170
 
@@ -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,7 +6,7 @@ This is the exact installed-package entrypoint and export-name contract. Import
6
6
 
7
7
  ## `@leitware/composables`
8
8
 
9
- - Values (275): `ACCEPT_PRESETS`, `Accordion`, `AccordionContent`, `AccordionItem`, `AccordionTrigger`, `Alert`, `AlertAction`, `AlertDescription`, `AlertDialog`, `AlertDialogAction`, `AlertDialogCancel`, `AlertDialogContent`, `AlertDialogDescription`, `AlertDialogTitle`, `AlertDialogTrigger`, `AlertTitle`, `AspectRatio`, `Avatar`, `AvatarFallback`, `AvatarImage`, `Badge`, `BentoCell`, `BentoGrid`, `Breadcrumb`, `BreadcrumbEllipsis`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbList`, `BreadcrumbPage`, `BreadcrumbSeparator`, `Bubble`, `BubbleContent`, `BubbleGroup`, `BubbleReactions`, `Button`, `Calendar`, `CalendarDayButton`, `Card`, `CardAction`, `CardContent`, `CardDescription`, `CardFooter`, `CardHeader`, `CardTitle`, `Carousel`, `CarouselContent`, `CarouselItem`, `CarouselNext`, `CarouselPrevious`, `Checkbox`, `cn`, `CodeBlock`, `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger`, `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue`, `Container`, `Dialog`, `DialogClose`, `DialogContent`, `DialogDescription`, `DialogFooter`, `DialogHeader`, `DialogTitle`, `DialogTrigger`, `DirectionProvider`, `DISABLED_OPACITY`, `Divider`, `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger`, `DropZone`, `DropZoneFile`, `Empty`, `EmptyContent`, `EmptyDescription`, `EmptyHeader`, `EmptyMedia`, `EmptyTableState`, `EmptyTitle`, `Field`, `FieldContent`, `FieldDescription`, `FieldError`, `FieldGroup`, `FieldLabel`, `FieldLegend`, `FieldSeparator`, `FieldSet`, `FieldTitle`, `FOCUS_RING`, `FOCUS_RING_DESTRUCTIVE`, `formatNumericValue`, `FormCalendarPopover`, `FormCheckbox`, `FormCombobox`, `FormDateOfBirth`, `FormDropZone`, `FormInput`, `FormInputGroup`, `FormMultiCombobox`, `FormMultiDropZone`, `FormRadioGroup`, `FormSelect`, `FormSlider`, `FormSwitch`, `FormTextarea`, `Grid`, `GridOverlay`, `HoverCard`, `HoverCardContent`, `HoverCardTrigger`, `Icon`, `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`, `Message`, `MessageAvatar`, `MessageContent`, `MessageFooter`, `MessageGroup`, `MessageHeader`, `NativeSelect`, `NativeSelectOptGroup`, `NativeSelectOption`, `NewspaperCell`, `NewspaperGrid`, `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`, `Select`, `SelectContent`, `SelectGroup`, `SelectItem`, `SelectLabel`, `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`, `SkeletonInput`, `SkeletonText`, `Slider`, `Spacer`, `Stack`, `Switch`, `Table`, `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader`, `TableRow`, `Tabs`, `TabsContent`, `Textarea`, `ThemeInjector`, `Toaster`, `Toggle`, `ToggleGroup`, `ToggleGroupItem`, `TokenConfigPanel`, `Tooltip`, `TooltipContent`, `TooltipTrigger`, `Typography`, `useDirection`, `useIsMobile`, `useNumericInput`, `useSidebar`
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
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`
11
11
 
12
12
  ## `@leitware/composables/ai`
@@ -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],
@@ -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:
@@ -8,7 +8,7 @@ interface GridOverlayProps extends React.ComponentProps<'div'> {
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.
@@ -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>
@@ -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))]',
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // ============================================================================
2
- // @leitware/composables — barrel exports
2
+ // @leitware/composables - barrel exports
3
3
  // ============================================================================
4
4
 
5
5
  // ── Utilities ───────────────────────────────────────────────────────────────
@@ -420,6 +420,8 @@ export {
420
420
  SkeletonAvatar,
421
421
  SkeletonButton,
422
422
  SkeletonInput,
423
+ SkeletonCard,
424
+ SkeletonTableRow,
423
425
  type SkeletonProps,
424
426
  } from './opinionated/skeleton'
425
427
 
@@ -464,3 +466,56 @@ export { Typography, type TypographyProps, type TypographyVariant } from './opin
464
466
 
465
467
  // Token config panel (advanced)
466
468
  export { TokenConfigPanel } from './opinionated/token-config-panel'
469
+
470
+ // ── Supplementary exports ───────────────────────────────────────────────────
471
+ // Everything publicly exported by an opinionated module is reachable from the
472
+ // root barrel. (v3 subpath imports exposed whole modules; the root entrypoint
473
+ // must offer the same surface.)
474
+
475
+ export {
476
+ AlertDialogFooter,
477
+ AlertDialogHeader,
478
+ AlertDialogMedia,
479
+ AlertDialogOverlay,
480
+ AlertDialogPortal,
481
+ } from './opinionated/alert-dialog'
482
+ export { avatarVariants } from './opinionated/avatar'
483
+ export { bubbleReactionsVariants, bubbleVariants } from './opinionated/bubble'
484
+ export { useComboboxAnchor } from './opinionated/combobox'
485
+ export { containerVariants } from './opinionated/container'
486
+ export { DialogOverlay, DialogPortal } from './opinionated/dialog'
487
+ export { dividerVariants } from './opinionated/divider'
488
+ export { DropdownMenuPortal, DropdownMenuShortcut } from './opinionated/dropdown-menu'
489
+ export {
490
+ DEFAULT_ACCEPT,
491
+ DEFAULT_MAX_SIZE,
492
+ DropZoneArea,
493
+ DropZoneContent,
494
+ DropZoneFileList,
495
+ DropZoneInput,
496
+ Dropzone,
497
+ DropzoneContent,
498
+ DropzoneInput,
499
+ DropzoneLabel,
500
+ formatFileSize,
501
+ getAcceptDescription,
502
+ getRejectionMessage,
503
+ useDropZoneContext,
504
+ } from './opinionated/dropzone'
505
+ export { gridVariants } from './opinionated/grid'
506
+ export { iconVariants } from './opinionated/icon'
507
+ export {
508
+ BentoLeader,
509
+ BentoQuad,
510
+ BentoSplit,
511
+ BentoTriple,
512
+ CellGrid,
513
+ CellRow,
514
+ StatCell,
515
+ } from './opinionated/layout-bento'
516
+ export { FlexSpacer, newspaperGridVariants, sectionVariants } from './opinionated/layout'
517
+ export { markerVariants } from './opinionated/marker'
518
+ export { SelectScrollDownButton, SelectScrollUpButton, SelectSeparator } from './opinionated/select'
519
+ export { spacerVariants } from './opinionated/spacer'
520
+ export { stackVariants } from './opinionated/stack'
521
+ export { typographyVariants } from './opinionated/typography'
package/src/lib/utils.ts CHANGED
@@ -27,11 +27,11 @@ export const HOVER_RING =
27
27
  export const GROUP_FOCUS_RING =
28
28
  'has-[:focus-visible]:border-[var(--focus-ring-color)] has-[:focus-visible]:ring-[color:var(--focus-ring-color)]/30 has-[:focus-visible]:ring-[length:var(--focus-ring-width)] has-aria-invalid:ring-stroke-critical/20 dark:has-aria-invalid:ring-stroke-critical/40 has-aria-invalid:border-stroke-critical dark:has-aria-invalid:border-stroke-critical/50 has-aria-invalid:ring-[length:var(--focus-ring-width)]'
29
29
 
30
- /** Destructive-variant focus override – layer on top of FOCUS_RING. */
30
+ /** Destructive-variant focus override layered on top of FOCUS_RING. */
31
31
  export const FOCUS_RING_DESTRUCTIVE =
32
32
  'focus-visible:ring-stroke-critical/20 dark:focus-visible:ring-stroke-critical/40 focus-visible:border-stroke-critical/40'
33
33
 
34
- /** Disabled state opacity — single source of truth for all disabled elements. */
34
+ /** Disabled state opacity - single source of truth for all disabled elements. */
35
35
  export const DISABLED_OPACITY = 'disabled:opacity-disabled'
36
36
 
37
37
  /**
@@ -35,11 +35,11 @@ export type AlertVariant = NonNullable<VariantProps<typeof alertVariants>['varia
35
35
  export interface AlertProps extends Omit<React.ComponentProps<typeof AlertPrimitive>, 'title'> {
36
36
  /**
37
37
  * Semantic type that controls the icon and colour variant.
38
- * - `default` — no icon, neutral styling
39
- * - `notice` — info icon (ℹ), neutral styling
40
- * - `positive` — check icon, green styling
41
- * - `warning` — triangle icon, amber styling
42
- * - `negative` — alert triangle icon, red/destructive styling
38
+ * - `default` - no icon, neutral styling
39
+ * - `notice` - info icon (ℹ), neutral styling
40
+ * - `positive` - check icon, green styling
41
+ * - `warning` - triangle icon, amber styling
42
+ * - `negative` - alert triangle icon, red/destructive styling
43
43
  * @default 'default'
44
44
  */
45
45
  type?: AlertType
@@ -20,7 +20,7 @@ export interface ButtonProps extends Omit<React.ComponentProps<'button'>, 'size'
20
20
  variant?: VariantProps<typeof buttonVariants>['variant']
21
21
  /** Size variant. @default 'default' */
22
22
  size?: VariantProps<typeof buttonVariants>['size']
23
- /** Corner shape. 'pill' is fully rounded — circular for icon sizes. @default 'default' */
23
+ /** Corner shape. 'pill' is fully rounded - circular for icon sizes. @default 'default' */
24
24
  shape?: VariantProps<typeof buttonVariants>['shape']
25
25
  className?: string
26
26
  /** Disables the button and prevents interaction. @default false */
@@ -1,11 +1,11 @@
1
1
  import { TokenConfigPanel } from './token-config-panel'
2
2
 
3
3
  /**
4
- * ThemeInjector — drop this anywhere in your app to get a floating theme
4
+ * ThemeInjector - drop this anywhere in your app to get a floating theme
5
5
  * control panel. It renders a fixed palette button in the top-right corner
6
6
  * of the viewport that opens the full token config sheet.
7
7
  *
8
- * Works on any page without modifying your layout — the button lives outside
8
+ * Works on any page without modifying your layout - the button lives outside
9
9
  * normal document flow via `position: fixed`.
10
10
  *
11
11
  * Usage:
@@ -351,7 +351,7 @@ export function DimensionSliderRow({
351
351
  }
352
352
 
353
353
  /* ------------------------------------------------------------------ */
354
- /* FactorSliderRow — edits calc(var(base) * factor) component tokens */
354
+ /* FactorSliderRow - edits calc(var(base) * factor) component tokens */
355
355
  /* ------------------------------------------------------------------ */
356
356
 
357
357
  export function FactorSliderRow({
@@ -22,7 +22,7 @@ export interface DimensionToken {
22
22
  export interface FactorToken {
23
23
  cssVar: string
24
24
  label: string
25
- /** Base token the factor multiplies — the override is written as calc(var(base) * factor). */
25
+ /** Base token the factor multiplies - the override is written as calc(var(base) * factor). */
26
26
  base: '--radius' | '--spacing'
27
27
  defaultFactor: number
28
28
  min: number
@@ -6,7 +6,7 @@ import type { FontGroup } from './types'
6
6
  import { getResolvedDimension } from './helpers'
7
7
 
8
8
  /* ------------------------------------------------------------------ */
9
- /* Google Fonts — grouped by style */
9
+ /* Google Fonts - grouped by style */
10
10
  /* ------------------------------------------------------------------ */
11
11
 
12
12
  const FONT_GROUPS: FontGroup[] = [