@leitware/composables 3.1.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leitware/composables",
3
- "version": "3.1.0",
3
+ "version": "3.3.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -187,6 +187,7 @@ Use this catalog to choose public exports. The `Source module` column is for mai
187
187
  | `direction` | `./opinionated/direction` | `@leitware/composables` | `DirectionProvider`, `useDirection` | `DirectionProviderProps`, `TextDirection` | Public export not listed in the README component catalog. |
188
188
  | `field` | `./opinionated/field` | `@leitware/composables` | `Field`, `FieldContent`, `FieldDescription`, `FieldError`, `FieldGroup`, `FieldLabel`, `FieldLegend`, `FieldSeparator`, `FieldSet`, `FieldTitle` | - | Public export not listed in the README component catalog. |
189
189
  | `grid-overlay` | `./opinionated/grid-overlay` | `@leitware/composables` | `GridOverlay` | `GridOverlayProps` | Public export not listed in the README component catalog. |
190
+ | `image` | `./opinionated/image` | `@leitware/composables` | `Image` | `ImageProps` | Public export not listed in the README component catalog. |
190
191
  | `input-group` | `./opinionated/input-group` | `@leitware/composables` | `InputGroup`, `InputGroupAddon`, `InputGroupButton`, `InputGroupInput`, `InputGroupTextarea` | - | Public export not listed in the README component catalog. |
191
192
  | `input` | `./opinionated/input` | `@leitware/composables` | `Input` | - | Public export not listed in the README component catalog. |
192
193
  | `label` | `./opinionated/label` | `@leitware/composables` | `Label` | - | Public export not listed in the README component catalog. |
@@ -6,8 +6,8 @@ This is the exact installed-package entrypoint and export-name contract. Import
6
6
 
7
7
  ## `@leitware/composables`
8
8
 
9
- - Values (359): `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`, `ClipboardText`, `cn`, `CodeBlock`, `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger`, `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue`, `Command`, `CommandDialog`, `CommandEmpty`, `CommandGroup`, `CommandInput`, `CommandItem`, `CommandList`, `CommandSeparator`, `CommandShortcut`, `Container`, `containerVariants`, `DataGrid`, `DataLabel`, `DataRow`, `DataValue`, `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`, `Flow`, `FlowAnchor`, `FlowList`, `FlowNode`, `FlowParallel`, `FlowRoot`, `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`, `LayerCard`, `LayerCardPrimary`, `LayerCardRoot`, `LayerCardSecondary`, `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`, `SelectRoot`, `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`, `SidebarMenuSub`, `SidebarMenuSubButton`, `SidebarMenuSubItem`, `SidebarProvider`, `SidebarRail`, `SidebarSeparator`, `SidebarTrigger`, `Skeleton`, `SkeletonAvatar`, `SkeletonButton`, `SkeletonCard`, `SkeletonInput`, `SkeletonTableRow`, `SkeletonText`, `Slider`, `Spacer`, `spacerVariants`, `Spinner`, `spinnerVariants`, `Stack`, `stackVariants`, `StatCell`, `Switch`, `Table`, `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader`, `TableOfContents`, `TableOfContentsGroup`, `TableOfContentsItem`, `TableOfContentsList`, `TableOfContentsRoot`, `TableOfContentsTitle`, `TableRow`, `Tabs`, `TabsContent`, `Textarea`, `ThemeInjector`, `Toaster`, `Toggle`, `ToggleGroup`, `ToggleGroupItem`, `TokenConfigPanel`, `Tooltip`, `TooltipContent`, `TooltipTrigger`, `Typography`, `typographyVariants`, `useComboboxAnchor`, `useDirection`, `useDropZoneContext`, `useIsMobile`, `useNumericInput`, `useSidebar`, `useTableOfContentsActiveId`, `WindowFrame`
10
- - Types (116): `Accept`, `AccordionItemData`, `AccordionProps`, `AccordionVariant`, `AlertDialogProps`, `AlertProps`, `AlertType`, `AlertVariant`, `AvatarProps`, `BadgeProps`, `BreadcrumbItemData`, `BreadcrumbProps`, `BubbleProps`, `ButtonProps`, `CardProps`, `CarouselProps`, `ClipboardTextProps`, `ClipboardTextSize`, `ClipboardTextStatus`, `CodeBlockProps`, `CollapsibleProps`, `ComboboxOption`, `ComboboxProps`, `ContainerProps`, `DataGridProps`, `DataLabelProps`, `DataRowProps`, `DataValueProps`, `DateOfBirthValue`, `DialogProps`, `DirectionProviderProps`, `DividerProps`, `DropdownMenuItemData`, `DropdownMenuProps`, `DropZoneFileProps`, `DropZoneProps`, `EmptyProps`, `EmptyTableStateProps`, `FileRejection`, `FlowAlign`, `FlowAnchorProps`, `FlowBranch`, `FlowItem`, `FlowNodeProps`, `FlowOrientation`, `FlowProps`, `FlowRootProps`, `FlowStep`, `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`, `LayerCardProps`, `LayerCardRootProps`, `LayerCardSectionProps`, `ListItemData`, `ListProps`, `ListVariant`, `MarkerProps`, `NativeSelectOptionData`, `NativeSelectProps`, `NewspaperCellProps`, `NewspaperGridProps`, `NumericInputOptions`, `NumericMode`, `PaginationProps`, `PopoverProps`, `ProgressProps`, `ScrollAreaProps`, `SectionProps`, `SelectOption`, `SelectProps`, `SheetProps`, `SkeletonProps`, `SpacerProps`, `StackProps`, `TabItem`, `TableOfContentsGroupProps`, `TableOfContentsItemData`, `TableOfContentsItemProps`, `TableOfContentsProps`, `TableOfContentsTrackingOptions`, `TabsProps`, `TabsVariant`, `TextDirection`, `ToggleGroupOption`, `ToggleGroupProps`, `ToggleProps`, `TooltipProps`, `TypographyProps`, `TypographyVariant`, `UseNumericInputOptions`, `UseNumericInputReturn`, `WindowFrameProps`
9
+ - Values (360): `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`, `ClipboardText`, `cn`, `CodeBlock`, `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger`, `Combobox`, `ComboboxChip`, `ComboboxChips`, `ComboboxChipsInput`, `ComboboxCollection`, `ComboboxContent`, `ComboboxEmpty`, `ComboboxGroup`, `ComboboxInput`, `ComboboxItem`, `ComboboxLabel`, `ComboboxList`, `ComboboxSeparator`, `ComboboxTrigger`, `ComboboxValue`, `Command`, `CommandDialog`, `CommandEmpty`, `CommandGroup`, `CommandInput`, `CommandItem`, `CommandList`, `CommandSeparator`, `CommandShortcut`, `Container`, `containerVariants`, `DataGrid`, `DataLabel`, `DataRow`, `DataValue`, `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`, `Flow`, `FlowAnchor`, `FlowList`, `FlowNode`, `FlowParallel`, `FlowRoot`, `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`, `Image`, `Input`, `InputGroup`, `InputGroupAddon`, `InputGroupButton`, `InputGroupInput`, `InputGroupTextarea`, `Item`, `ItemActions`, `ItemContent`, `ItemDescription`, `ItemFooter`, `ItemGroup`, `ItemHeader`, `ItemMedia`, `ItemSeparator`, `ItemTitle`, `Kbd`, `KbdGroup`, `Label`, `LayerCard`, `LayerCardPrimary`, `LayerCardRoot`, `LayerCardSecondary`, `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`, `SelectRoot`, `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`, `SidebarMenuSub`, `SidebarMenuSubButton`, `SidebarMenuSubItem`, `SidebarProvider`, `SidebarRail`, `SidebarSeparator`, `SidebarTrigger`, `Skeleton`, `SkeletonAvatar`, `SkeletonButton`, `SkeletonCard`, `SkeletonInput`, `SkeletonTableRow`, `SkeletonText`, `Slider`, `Spacer`, `spacerVariants`, `Spinner`, `spinnerVariants`, `Stack`, `stackVariants`, `StatCell`, `Switch`, `Table`, `TableBody`, `TableCaption`, `TableCell`, `TableFooter`, `TableHead`, `TableHeader`, `TableOfContents`, `TableOfContentsGroup`, `TableOfContentsItem`, `TableOfContentsList`, `TableOfContentsRoot`, `TableOfContentsTitle`, `TableRow`, `Tabs`, `TabsContent`, `Textarea`, `ThemeInjector`, `Toaster`, `Toggle`, `ToggleGroup`, `ToggleGroupItem`, `TokenConfigPanel`, `Tooltip`, `TooltipContent`, `TooltipTrigger`, `Typography`, `typographyVariants`, `useComboboxAnchor`, `useDirection`, `useDropZoneContext`, `useIsMobile`, `useNumericInput`, `useSidebar`, `useTableOfContentsActiveId`, `WindowFrame`
10
+ - Types (117): `Accept`, `AccordionItemData`, `AccordionProps`, `AccordionVariant`, `AlertDialogProps`, `AlertProps`, `AlertType`, `AlertVariant`, `AvatarProps`, `BadgeProps`, `BreadcrumbItemData`, `BreadcrumbProps`, `BubbleProps`, `ButtonProps`, `CardProps`, `CarouselProps`, `ClipboardTextProps`, `ClipboardTextSize`, `ClipboardTextStatus`, `CodeBlockProps`, `CollapsibleProps`, `ComboboxOption`, `ComboboxProps`, `ContainerProps`, `DataGridProps`, `DataLabelProps`, `DataRowProps`, `DataValueProps`, `DateOfBirthValue`, `DialogProps`, `DirectionProviderProps`, `DividerProps`, `DropdownMenuItemData`, `DropdownMenuProps`, `DropZoneFileProps`, `DropZoneProps`, `EmptyProps`, `EmptyTableStateProps`, `FileRejection`, `FlowAlign`, `FlowAnchorProps`, `FlowBranch`, `FlowItem`, `FlowNodeProps`, `FlowOrientation`, `FlowProps`, `FlowRootProps`, `FlowStep`, `FormCalendarPopoverProps`, `FormCheckboxProps`, `FormComboboxOption`, `FormComboboxProps`, `FormDateOfBirthProps`, `FormDropZoneProps`, `FormInputGroupInputProps`, `FormInputGroupProps`, `FormInputProps`, `FormMultiComboboxOption`, `FormMultiComboboxProps`, `FormMultiDropZoneProps`, `FormRadioGroupOption`, `FormRadioGroupProps`, `FormSelectOption`, `FormSelectProps`, `FormSliderProps`, `FormSwitchProps`, `FormTextareaProps`, `GridOverlayProps`, `GridProps`, `HoverCardProps`, `ImageProps`, `ItemProps`, `ItemVariants`, `KbdGroupProps`, `KbdProps`, `LayerCardProps`, `LayerCardRootProps`, `LayerCardSectionProps`, `ListItemData`, `ListProps`, `ListVariant`, `MarkerProps`, `NativeSelectOptionData`, `NativeSelectProps`, `NewspaperCellProps`, `NewspaperGridProps`, `NumericInputOptions`, `NumericMode`, `PaginationProps`, `PopoverProps`, `ProgressProps`, `ScrollAreaProps`, `SectionProps`, `SelectOption`, `SelectProps`, `SheetProps`, `SkeletonProps`, `SpacerProps`, `StackProps`, `TabItem`, `TableOfContentsGroupProps`, `TableOfContentsItemData`, `TableOfContentsItemProps`, `TableOfContentsProps`, `TableOfContentsTrackingOptions`, `TabsProps`, `TabsVariant`, `TextDirection`, `ToggleGroupOption`, `ToggleGroupProps`, `ToggleProps`, `TooltipProps`, `TypographyProps`, `TypographyVariant`, `UseNumericInputOptions`, `UseNumericInputReturn`, `WindowFrameProps`
11
11
 
12
12
  ## `@leitware/composables/ai`
13
13
 
package/src/index.ts CHANGED
@@ -58,6 +58,8 @@ export {
58
58
 
59
59
  export { AspectRatio } from './opinionated/aspect-ratio'
60
60
 
61
+ export { Image, type ImageProps } from './opinionated/image'
62
+
61
63
  export { Avatar, AvatarFallback, AvatarImage, type AvatarProps } from './opinionated/avatar'
62
64
 
63
65
  export { Badge, type BadgeProps } from './opinionated/badge'
@@ -0,0 +1,69 @@
1
+ import * as React from 'react'
2
+
3
+ import { cn } from '../lib/utils'
4
+
5
+ type ImageLayout =
6
+ | { fill?: false; width: number; height: number }
7
+ | { fill: true; width?: never; height?: never }
8
+
9
+ export type ImageProps = Omit<
10
+ React.ComponentPropsWithoutRef<'img'>,
11
+ 'src' | 'alt' | 'width' | 'height' | 'children'
12
+ > &
13
+ ImageLayout & {
14
+ /** Image URL. Use srcSet and sizes for responsive sources. */
15
+ src: string
16
+ /** Describe meaningful images; explicitly use an empty string for decoration. */
17
+ alt: string
18
+ /** How the image fits its box. @default 'cover' */
19
+ fit?: 'cover' | 'contain'
20
+ /** CSS object-position, e.g. 'center' or '50% 25%'. */
21
+ position?: React.CSSProperties['objectPosition']
22
+ }
23
+
24
+ /**
25
+ * A native image with required alt text and explicit space allocation.
26
+ * Supply intrinsic width/height, or use fill inside a positioned, sized parent.
27
+ * Defaults to lazy loading; use loading="eager" and fetchPriority="high" for a hero.
28
+ * This component does not resize, optimize, or generate image sources.
29
+ */
30
+ const Image = React.forwardRef<HTMLImageElement, ImageProps>(function Image(
31
+ {
32
+ src,
33
+ alt,
34
+ width,
35
+ height,
36
+ fill = false,
37
+ fit = 'cover',
38
+ position,
39
+ loading = 'lazy',
40
+ decoding = 'async',
41
+ className,
42
+ style,
43
+ ...props
44
+ },
45
+ ref,
46
+ ) {
47
+ return (
48
+ <img
49
+ {...props}
50
+ ref={ref}
51
+ data-slot="image"
52
+ src={src}
53
+ alt={alt}
54
+ width={width}
55
+ height={height}
56
+ loading={loading}
57
+ decoding={decoding}
58
+ className={cn(
59
+ 'block rounded-lg bg-muted',
60
+ fill ? 'absolute inset-0 size-full' : 'h-auto max-w-full',
61
+ fit === 'cover' ? 'object-cover' : 'object-contain',
62
+ className,
63
+ )}
64
+ style={{ objectPosition: position, ...style }}
65
+ />
66
+ )
67
+ })
68
+
69
+ export { Image }
@@ -0,0 +1,485 @@
1
+ /* ============================================================================
2
+ @leitware/composables - Oqita Preset
3
+ ============================================================================
4
+ Friendly and soft: expressive type, compact pill controls, quiet surfaces, and cobalt actions.
5
+
6
+ HOW TO USE:
7
+ 1. Copy this file into your project's global CSS (e.g. index.css)
8
+ 2. Or import the preset: @import "@leitware/composables/presets/oqita.css";
9
+ 3. Add class="dark" to <html> for dark mode.
10
+ ============================================================================ */
11
+
12
+ :root {
13
+ --bg-default: #faf8f3;
14
+ --bg-inverse: #202b43;
15
+ --bg-muted: #efebe3;
16
+ --bg-surface-default: #ffffff;
17
+ --bg-surface-popover: #ffffff;
18
+ --bg-surface-accent: #efebe3;
19
+ --bg-surface-field: #ffffff;
20
+ --bg-surface-input: #ffffff;
21
+ --bg-surface-info: #f0f1f3;
22
+ --bg-surface-success: #f0f1f3;
23
+ --bg-surface-warning: #f0f1f3;
24
+ --bg-surface-critical: #f0f1f3;
25
+ --bg-surface-emphasis: #f0f1f3;
26
+ --bg-surface-inverse: #202b43;
27
+ --bg-surface-transparent: #202b430a;
28
+ --bg-overlay: #111a32a6;
29
+ --bg-surface-brand: #f0f1f3;
30
+ --bg-surface-brand-2: #f0f1f3;
31
+ --bg-surface-brand-3: #f0f1f3;
32
+ --bg-surface-brand-4: #f0f1f3;
33
+ --bg-surface-brand-5: #f0f1f3;
34
+ --bg-surface-hover: #e7e2d8;
35
+ --bg-fill-default: #ffffff;
36
+ --bg-fill-primary: #2549e8;
37
+ --bg-fill-primary-hover: #1c3bc4;
38
+ --bg-fill-selected: #2549e8;
39
+ --bg-fill-brand: #ff7518;
40
+ --bg-fill-brand-2: #ffcc00;
41
+ --bg-fill-brand-3: #18b86a;
42
+ --bg-fill-brand-4: #00b7d4;
43
+ --bg-fill-brand-5: #ff6090;
44
+ --bg-fill-info: #137c99;
45
+ --bg-fill-success: #167347;
46
+ --bg-fill-warning: #946100;
47
+ --bg-fill-critical: #b92c37;
48
+ --bg-fill-emphasis: #2549e8;
49
+ --bg-fill-transparent: #202b430a;
50
+ --bg-fill-secondary: #efebe3;
51
+ --bg-fill-secondary-hover: #e3ded3;
52
+ --bg-fill-secondary-inverse: #ffffff;
53
+ --text-default: #202b43;
54
+ --text-secondary: #535b6c;
55
+ --text-muted: #616779;
56
+ --text-disabled: #9296a0;
57
+ --text-inverse: #ffffff;
58
+ --text-on-fill-primary: #ffffff;
59
+ --text-on-fill-selected: #ffffff;
60
+ --text-on-fill-brand: #202b43;
61
+ --text-on-fill-secondary: #202b43;
62
+ --text-on-surface-accent: #202b43;
63
+ --text-info: #103b50;
64
+ --text-success: #103d29;
65
+ --text-warning: #514000;
66
+ --text-critical: #641923;
67
+ --text-emphasis: #103b50;
68
+ --text-brand: #572600;
69
+ --text-brand-2: #514000;
70
+ --text-brand-3: #103d29;
71
+ --text-brand-4: #103b50;
72
+ --text-brand-5: #581a32;
73
+ --text-link: #2549c8;
74
+ --icon-default: #202b43;
75
+ --icon-secondary: #535b6c;
76
+ --icon-disabled: #9296a0;
77
+ --icon-inverse: #ffffff;
78
+ --icon-info: #103b50;
79
+ --icon-success: #103d29;
80
+ --icon-warning: #514000;
81
+ --icon-critical: #641923;
82
+ --icon-emphasis: #103b50;
83
+ --icon-brand: #572600;
84
+ --icon-brand-2: #514000;
85
+ --icon-brand-3: #103d29;
86
+ --icon-brand-4: #103b50;
87
+ --icon-brand-5: #581a32;
88
+ --border-default: #e2e4e8;
89
+ --border-secondary: #e2e4e8;
90
+ --border-input: #b3b9c3;
91
+ --border-tertiary: #cfd3da;
92
+ --border-disabled: #dcd7cd;
93
+ --border-inverse: #535b6c;
94
+ --border-focus: #2549e8;
95
+ --border-brand: #f0f1f3;
96
+ --border-brand-2: #f0f1f3;
97
+ --border-brand-3: #f0f1f3;
98
+ --border-brand-4: #f0f1f3;
99
+ --border-brand-5: #f0f1f3;
100
+ --border-info: #f0f1f3;
101
+ --border-success: #f0f1f3;
102
+ --border-warning: #f0f1f3;
103
+ --border-critical: #f0f1f3;
104
+ --border-emphasis: #f0f1f3;
105
+ --chart-1: #2549e8;
106
+ --chart-2: #ff7518;
107
+ --chart-3: #167347;
108
+ --chart-4: #946100;
109
+ --chart-5: #b92f63;
110
+ --sidebar-background: #202b43;
111
+ --sidebar-foreground: #ffffff;
112
+ --sidebar-primary: #ffcc00;
113
+ --sidebar-primary-foreground: #202b43;
114
+ --sidebar-accent: #34425d;
115
+ --sidebar-accent-foreground: #ffffff;
116
+ --sidebar-border: #303b50;
117
+ --sidebar-ring: #ffcc00;
118
+ --spacing: 0.25rem;
119
+ --border-width-base: 0.0625rem;
120
+ --radius: 0.875rem;
121
+ --font-size-base: 1rem;
122
+ --leading-base: 1.5;
123
+ --letter-spacing-base: 0.01em;
124
+ --opacity-disabled: 0.5;
125
+ --shadow-offset-y: 3px;
126
+ --shadow-blur: 8px;
127
+ --shadow-spread: -1px;
128
+ --shadow-base-color: #242d4512;
129
+ --container-sm: 576px;
130
+ --container-md: 768px;
131
+ --container-lg: 1056px;
132
+ --container-xl: 1248px;
133
+ --container-2xl: 1440px;
134
+ --dropdown-offset: 4;
135
+ --overlay-offset: 4;
136
+ --font-sans: 'DM Sans Variable', ui-sans-serif, system-ui, sans-serif;
137
+ --font-heading: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
138
+ --font-brand: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
139
+ --button-radius: 9999px;
140
+ --card-radius: calc(var(--radius) * 1.6);
141
+ --card-padding: calc(var(--spacing) * 5);
142
+ --input-radius: var(--radius-lg);
143
+ --control-size-md: calc(var(--spacing) * 11);
144
+ --badge-radius: 9999px;
145
+ --motion-duration-fast: 100ms;
146
+ --motion-duration-normal: 200ms;
147
+ --motion-duration-slow: 300ms;
148
+ --motion-duration-color: var(--motion-duration-fast);
149
+ --motion-duration-interaction: var(--motion-duration-fast);
150
+ --motion-duration-disclosure: var(--motion-duration-normal);
151
+ --motion-duration-overlay: var(--motion-duration-fast);
152
+ --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
153
+ --motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
154
+ --motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
155
+ --motion-ease-linear: linear;
156
+ --transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
157
+ --transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
158
+ --transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
159
+ --hover-transform: none;
160
+ --hover-shadow: none;
161
+ --active-scale: 0.98;
162
+ --control-size-sm: calc(var(--spacing) * 10);
163
+ --control-size-lg: calc(var(--spacing) * 12);
164
+ --control-font-size: var(--text-base);
165
+ --button-height: var(--control-size-md);
166
+ --button-height-xs: calc(var(--spacing) * 8);
167
+ --button-height-sm: var(--control-size-sm);
168
+ --button-height-lg: var(--control-size-lg);
169
+ --button-font-size: var(--text-base);
170
+ --button-font-size-xs: var(--text-sm);
171
+ --button-font-size-sm: var(--text-sm);
172
+ --button-gap: calc(var(--spacing) * 2);
173
+ --button-radius-xs: 9999px;
174
+ --button-radius-sm: 9999px;
175
+ --button-min-width-ratio: 2;
176
+ --button-brand-font-weight: 600;
177
+ --button-primary-shadow: 0 4px 0 #142b99, 0 8px 18px #2549e81f;
178
+ --button-primary-hover-shadow: var(--button-primary-shadow);
179
+ --button-primary-border: transparent;
180
+ --button-primary-hover-border: transparent;
181
+ --button-secondary-border: transparent;
182
+ --button-secondary-hover-bg: var(--bg-fill-secondary-hover);
183
+ --button-quiet-hover-bg: var(--bg-surface-hover);
184
+ --button-destructive-bg: #b92c37;
185
+ --button-destructive-text: #ffffff;
186
+ --button-destructive-border: transparent;
187
+ --button-destructive-hover-border: transparent;
188
+ --button-destructive-shadow: 0 4px 0 #7a1822, 0 8px 18px #b92c371f;
189
+ --button-destructive-hover-shadow: var(--button-destructive-shadow);
190
+ --button-destructive-hover-background-image: linear-gradient(#9f202b, #9f202b);
191
+ --label-font-size: var(--text-sm);
192
+ --body-font-size: var(--text-base);
193
+ --body-line-height: var(--text-base--line-height);
194
+ --title-font-size: var(--text-lg);
195
+ --title-line-height: var(--text-lg--line-height);
196
+ --heading-font-size: var(--text-xl);
197
+ --heading-line-height: var(--text-xl--line-height);
198
+ --card-border-width: calc(var(--border-width-base) * 0);
199
+ --alert-border-width: calc(var(--border-width-base) * 0);
200
+ --dialog-radius: calc(var(--radius) * 1.6);
201
+ --checkbox-radius: calc(var(--radius) * 0.4);
202
+ --choice-size: calc(var(--spacing) * 5);
203
+ --choice-border-color: var(--border-input);
204
+ --switch-height: calc(var(--spacing) * 6);
205
+ --slider-size: calc(var(--spacing) * 5);
206
+ --tabs-list-radius: 9999px;
207
+ --tabs-tab-radius: 9999px;
208
+ --tabs-list-padding: calc(var(--spacing) * 0.5);
209
+ --tabs-tab-height: var(--control-size-sm);
210
+ --focus-ring-color: var(--border-focus);
211
+ --focus-ring-width: 3px;
212
+ --focus-ring-offset: 3px;
213
+ --focus-ring-opacity: 100%;
214
+ --hover-ring-width: 0px;
215
+ --hover-ring-color: transparent;
216
+ --button-brand-bg: var(--bg-fill-brand);
217
+ --button-brand-text: var(--text-on-fill-brand);
218
+ --button-brand-border: transparent;
219
+ --button-brand-hover-border: transparent;
220
+ --button-brand-hover-shadow: none;
221
+ --button-brand-2-bg: var(--bg-fill-brand-2);
222
+ --button-brand-2-text: var(--text-on-fill-brand);
223
+ --button-brand-2-border: transparent;
224
+ --button-brand-2-hover-border: transparent;
225
+ --button-brand-2-hover-shadow: none;
226
+ --button-brand-3-bg: var(--bg-fill-brand-3);
227
+ --button-brand-3-text: var(--text-on-fill-brand);
228
+ --button-brand-3-border: transparent;
229
+ --button-brand-3-hover-border: transparent;
230
+ --button-brand-3-hover-shadow: none;
231
+ --button-brand-4-bg: var(--bg-fill-brand-4);
232
+ --button-brand-4-text: var(--text-on-fill-brand);
233
+ --button-brand-4-border: transparent;
234
+ --button-brand-4-hover-border: transparent;
235
+ --button-brand-4-hover-shadow: none;
236
+ --button-brand-5-bg: var(--bg-fill-brand-5);
237
+ --button-brand-5-text: var(--text-on-fill-brand);
238
+ --button-brand-5-border: transparent;
239
+ --button-brand-5-hover-border: transparent;
240
+ --button-brand-5-hover-shadow: none;
241
+ --background: var(--bg-default);
242
+ --foreground: var(--text-default);
243
+ --card: var(--bg-surface-default);
244
+ --card-foreground: var(--text-default);
245
+ --popover: var(--bg-surface-popover);
246
+ --popover-foreground: var(--text-default);
247
+ --primary: var(--bg-fill-primary);
248
+ --primary-foreground: var(--text-on-fill-primary);
249
+ --secondary: var(--bg-fill-secondary);
250
+ --secondary-foreground: var(--text-on-fill-secondary);
251
+ --muted: var(--bg-muted);
252
+ --muted-foreground: var(--text-muted);
253
+ --accent: var(--bg-surface-accent);
254
+ --accent-foreground: var(--text-on-surface-accent);
255
+ --destructive: var(--bg-fill-critical);
256
+ --border: var(--border-default);
257
+ --input: var(--border-input);
258
+ --ring: var(--border-focus);
259
+ }
260
+
261
+ .dark {
262
+ --bg-default: #131c2e;
263
+ --bg-inverse: #faf8f3;
264
+ --bg-muted: #27334a;
265
+ --bg-surface-default: #1d2940;
266
+ --bg-surface-popover: #1d2940;
267
+ --bg-surface-accent: #27334a;
268
+ --bg-surface-field: #131c2e;
269
+ --bg-surface-input: #131c2e;
270
+ --bg-surface-info: #27334a;
271
+ --bg-surface-success: #27334a;
272
+ --bg-surface-warning: #27334a;
273
+ --bg-surface-critical: #27334a;
274
+ --bg-surface-emphasis: #27334a;
275
+ --bg-surface-inverse: #faf8f3;
276
+ --bg-surface-transparent: #ffffff0f;
277
+ --bg-overlay: #070d19c4;
278
+ --bg-surface-brand: #27334a;
279
+ --bg-surface-brand-2: #27334a;
280
+ --bg-surface-brand-3: #27334a;
281
+ --bg-surface-brand-4: #27334a;
282
+ --bg-surface-brand-5: #27334a;
283
+ --bg-surface-hover: #34425d;
284
+ --bg-fill-default: #1d2940;
285
+ --bg-fill-primary: #2549e8;
286
+ --bg-fill-primary-hover: #3155f0;
287
+ --bg-fill-selected: #2549e8;
288
+ --bg-fill-brand: #ff7518;
289
+ --bg-fill-brand-2: #ffcc00;
290
+ --bg-fill-brand-3: #18b86a;
291
+ --bg-fill-brand-4: #00b7d4;
292
+ --bg-fill-brand-5: #ff6090;
293
+ --bg-fill-info: #00b7d4;
294
+ --bg-fill-success: #57d78b;
295
+ --bg-fill-warning: #ffcc00;
296
+ --bg-fill-critical: #ff8590;
297
+ --bg-fill-emphasis: #2549e8;
298
+ --bg-fill-transparent: #ffffff0f;
299
+ --bg-fill-secondary: #34425d;
300
+ --bg-fill-secondary-hover: #42516f;
301
+ --bg-fill-secondary-inverse: #1d2940;
302
+ --text-default: #faf8f3;
303
+ --text-secondary: #bac3d2;
304
+ --text-muted: #a3afc3;
305
+ --text-disabled: #6b7892;
306
+ --text-inverse: #202b43;
307
+ --text-on-fill-primary: #ffffff;
308
+ --text-on-fill-selected: #ffffff;
309
+ --text-on-fill-brand: #202b43;
310
+ --text-on-fill-secondary: #faf8f3;
311
+ --text-on-surface-accent: #faf8f3;
312
+ --text-info: #00b7d4;
313
+ --text-success: #57d78b;
314
+ --text-warning: #ffcc00;
315
+ --text-critical: #ff8590;
316
+ --text-emphasis: #00b7d4;
317
+ --text-brand: #ff9a40;
318
+ --text-brand-2: #ffcc00;
319
+ --text-brand-3: #57d78b;
320
+ --text-brand-4: #00b7d4;
321
+ --text-brand-5: #ff7ba8;
322
+ --text-link: #00b7d4;
323
+ --icon-default: #faf8f3;
324
+ --icon-secondary: #bac3d2;
325
+ --icon-disabled: #6b7892;
326
+ --icon-inverse: #202b43;
327
+ --icon-info: #00b7d4;
328
+ --icon-success: #57d78b;
329
+ --icon-warning: #ffcc00;
330
+ --icon-critical: #ff8590;
331
+ --icon-emphasis: #00b7d4;
332
+ --icon-brand: #ff9a40;
333
+ --icon-brand-2: #ffcc00;
334
+ --icon-brand-3: #57d78b;
335
+ --icon-brand-4: #00b7d4;
336
+ --icon-brand-5: #ff7ba8;
337
+ --border-default: #303b50;
338
+ --border-secondary: #303b50;
339
+ --border-input: #69758b;
340
+ --border-tertiary: #455167;
341
+ --border-disabled: #3d4b65;
342
+ --border-inverse: #cfcac0;
343
+ --border-focus: #ffcc00;
344
+ --border-brand: #27334a;
345
+ --border-brand-2: #27334a;
346
+ --border-brand-3: #27334a;
347
+ --border-brand-4: #27334a;
348
+ --border-brand-5: #27334a;
349
+ --border-info: #27334a;
350
+ --border-success: #27334a;
351
+ --border-warning: #27334a;
352
+ --border-critical: #27334a;
353
+ --border-emphasis: #27334a;
354
+ --chart-1: #00b7d4;
355
+ --chart-2: #ff7518;
356
+ --chart-3: #57d78b;
357
+ --chart-4: #ffcc00;
358
+ --chart-5: #ff7ba8;
359
+ --sidebar-background: #10182a;
360
+ --sidebar-foreground: #faf8f3;
361
+ --sidebar-primary: #ffcc00;
362
+ --sidebar-primary-foreground: #202b43;
363
+ --sidebar-accent: #27334a;
364
+ --sidebar-accent-foreground: #faf8f3;
365
+ --sidebar-border: #27334a;
366
+ --sidebar-ring: #ffcc00;
367
+ --font-sans: 'DM Sans Variable', ui-sans-serif, system-ui, sans-serif;
368
+ --font-heading: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
369
+ --font-brand: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
370
+ --spacing: 0.25rem;
371
+ --font-size-base: 1rem;
372
+ --leading-base: 1.5;
373
+ --letter-spacing-base: 0.01em;
374
+ --radius: 0.875rem;
375
+ --border-width-base: 0.0625rem;
376
+ --control-size-sm: calc(var(--spacing) * 10);
377
+ --control-size-md: calc(var(--spacing) * 11);
378
+ --control-size-lg: calc(var(--spacing) * 12);
379
+ --control-font-size: var(--text-base);
380
+ --button-height: var(--control-size-md);
381
+ --button-height-xs: calc(var(--spacing) * 8);
382
+ --button-height-sm: var(--control-size-sm);
383
+ --button-height-lg: var(--control-size-lg);
384
+ --button-font-size: var(--text-base);
385
+ --button-font-size-xs: var(--text-sm);
386
+ --button-font-size-sm: var(--text-sm);
387
+ --button-gap: calc(var(--spacing) * 2);
388
+ --button-radius: 9999px;
389
+ --button-radius-xs: 9999px;
390
+ --button-radius-sm: 9999px;
391
+ --button-min-width-ratio: 2;
392
+ --button-brand-font-weight: 600;
393
+ --button-primary-shadow: 0 4px 0 #142b99, 0 8px 18px #2549e81f;
394
+ --button-primary-hover-shadow: var(--button-primary-shadow);
395
+ --button-primary-border: transparent;
396
+ --button-primary-hover-border: transparent;
397
+ --button-secondary-border: transparent;
398
+ --button-secondary-hover-bg: var(--bg-fill-secondary-hover);
399
+ --button-quiet-hover-bg: var(--bg-surface-hover);
400
+ --button-destructive-bg: #b92c37;
401
+ --button-destructive-text: #ffffff;
402
+ --button-destructive-border: transparent;
403
+ --button-destructive-hover-border: transparent;
404
+ --button-destructive-shadow: 0 4px 0 #7a1822, 0 8px 18px #b92c371f;
405
+ --button-destructive-hover-shadow: var(--button-destructive-shadow);
406
+ --button-destructive-hover-background-image: linear-gradient(#9f202b, #9f202b);
407
+ --input-radius: var(--radius-lg);
408
+ --label-font-size: var(--text-sm);
409
+ --body-font-size: var(--text-base);
410
+ --body-line-height: var(--text-base--line-height);
411
+ --title-font-size: var(--text-lg);
412
+ --title-line-height: var(--text-lg--line-height);
413
+ --heading-font-size: var(--text-xl);
414
+ --heading-line-height: var(--text-xl--line-height);
415
+ --card-radius: calc(var(--radius) * 1.6);
416
+ --card-padding: calc(var(--spacing) * 5);
417
+ --card-border-width: calc(var(--border-width-base) * 0);
418
+ --alert-border-width: calc(var(--border-width-base) * 0);
419
+ --dialog-radius: calc(var(--radius) * 1.6);
420
+ --badge-radius: 9999px;
421
+ --checkbox-radius: calc(var(--radius) * 0.4);
422
+ --choice-size: calc(var(--spacing) * 5);
423
+ --choice-border-color: var(--border-input);
424
+ --switch-height: calc(var(--spacing) * 6);
425
+ --slider-size: calc(var(--spacing) * 5);
426
+ --tabs-list-radius: 9999px;
427
+ --tabs-tab-radius: 9999px;
428
+ --tabs-list-padding: calc(var(--spacing) * 0.5);
429
+ --tabs-tab-height: var(--control-size-sm);
430
+ --shadow-offset-y: 3px;
431
+ --shadow-blur: 8px;
432
+ --shadow-spread: -1px;
433
+ --shadow-base-color: #00000033;
434
+ --focus-ring-color: var(--border-focus);
435
+ --focus-ring-width: 3px;
436
+ --focus-ring-offset: 3px;
437
+ --focus-ring-opacity: 100%;
438
+ --hover-ring-width: 0px;
439
+ --hover-ring-color: transparent;
440
+ --hover-shadow: none;
441
+ --active-scale: 0.98;
442
+ --button-brand-bg: var(--bg-fill-brand);
443
+ --button-brand-text: var(--text-on-fill-brand);
444
+ --button-brand-border: transparent;
445
+ --button-brand-hover-border: transparent;
446
+ --button-brand-hover-shadow: none;
447
+ --button-brand-2-bg: var(--bg-fill-brand-2);
448
+ --button-brand-2-text: var(--text-on-fill-brand);
449
+ --button-brand-2-border: transparent;
450
+ --button-brand-2-hover-border: transparent;
451
+ --button-brand-2-hover-shadow: none;
452
+ --button-brand-3-bg: var(--bg-fill-brand-3);
453
+ --button-brand-3-text: var(--text-on-fill-brand);
454
+ --button-brand-3-border: transparent;
455
+ --button-brand-3-hover-border: transparent;
456
+ --button-brand-3-hover-shadow: none;
457
+ --button-brand-4-bg: var(--bg-fill-brand-4);
458
+ --button-brand-4-text: var(--text-on-fill-brand);
459
+ --button-brand-4-border: transparent;
460
+ --button-brand-4-hover-border: transparent;
461
+ --button-brand-4-hover-shadow: none;
462
+ --button-brand-5-bg: var(--bg-fill-brand-5);
463
+ --button-brand-5-text: var(--text-on-fill-brand);
464
+ --button-brand-5-border: transparent;
465
+ --button-brand-5-hover-border: transparent;
466
+ --button-brand-5-hover-shadow: none;
467
+ --background: var(--bg-default);
468
+ --foreground: var(--text-default);
469
+ --card: var(--bg-surface-default);
470
+ --card-foreground: var(--text-default);
471
+ --popover: var(--bg-surface-popover);
472
+ --popover-foreground: var(--text-default);
473
+ --primary: var(--bg-fill-primary);
474
+ --primary-foreground: var(--text-on-fill-primary);
475
+ --secondary: var(--bg-fill-secondary);
476
+ --secondary-foreground: var(--text-on-fill-secondary);
477
+ --muted: var(--bg-muted);
478
+ --muted-foreground: var(--text-muted);
479
+ --accent: var(--bg-surface-accent);
480
+ --accent-foreground: var(--text-on-surface-accent);
481
+ --destructive: var(--bg-fill-critical);
482
+ --border: var(--border-default);
483
+ --input: var(--border-input);
484
+ --ring: var(--border-focus);
485
+ }
@@ -3,12 +3,14 @@ import { brutalist, brutalistDark } from './brutalist'
3
3
  import { signalPop, signalPopDark } from './signal-pop'
4
4
  import { editorialGrid, editorialGridDark } from './editorial-grid'
5
5
  import { kumo, kumoDark } from './kumo'
6
+ import { oqita, oqitaDark } from './oqita'
6
7
 
7
8
  export { defaultPreset, defaultPresetDark } from './default'
8
9
  export { brutalist, brutalistDark } from './brutalist'
9
10
  export { signalPop, signalPopDark } from './signal-pop'
10
11
  export { editorialGrid, editorialGridDark } from './editorial-grid'
11
12
  export { kumo, kumoDark } from './kumo'
13
+ export { oqita, oqitaDark } from './oqita'
12
14
 
13
15
  export interface PresetDefinition {
14
16
  name: string
@@ -57,6 +59,14 @@ export const presetDefinitions = [
57
59
  light: kumo,
58
60
  dark: kumoDark,
59
61
  },
62
+ {
63
+ name: 'oqita',
64
+ label: 'Oqita',
65
+ description:
66
+ 'Friendly and soft: expressive type, compact pill controls, quiet surfaces, and cobalt actions.',
67
+ light: oqita,
68
+ dark: oqitaDark,
69
+ },
60
70
  ] satisfies PresetDefinition[]
61
71
 
62
72
  export const presetDefinitionsByName = Object.fromEntries(