@thesage/ui 1.1.0 → 1.3.1
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/.claude/CLAUDE.md +3 -3
- package/LICENSE +21 -0
- package/README.md +3 -4
- package/dist/dates.js +15 -5
- package/dist/dates.js.map +1 -1
- package/dist/dates.mjs +15 -5
- package/dist/dates.mjs.map +1 -1
- package/dist/{fontThemes-Cum0S1DI.d.mts → fontThemes-Dh8mtXES.d.mts} +27 -1
- package/dist/{fontThemes-Cum0S1DI.d.ts → fontThemes-Dh8mtXES.d.ts} +27 -1
- package/dist/forms.js +1 -1
- package/dist/forms.js.map +1 -1
- package/dist/forms.mjs +1 -1
- package/dist/forms.mjs.map +1 -1
- package/dist/{hooks-CobTQpCg.d.mts → hooks-1b8WaQf1.d.mts} +2 -2
- package/dist/{hooks-DHPlUx3T.d.ts → hooks-CKW8vE9H.d.ts} +2 -2
- package/dist/hooks.d.mts +2 -2
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +3 -375
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +3 -375
- package/dist/hooks.mjs.map +1 -1
- package/dist/index-DscTIrZ2.d.mts +29 -0
- package/dist/index-DscTIrZ2.d.ts +29 -0
- package/dist/index.d.mts +62 -36
- package/dist/index.d.ts +62 -36
- package/dist/index.js +617 -331
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +634 -348
- package/dist/index.mjs.map +1 -1
- package/dist/providers-aJW1AKg6.d.mts +30 -0
- package/dist/providers-qfyBVcPW.d.ts +30 -0
- package/dist/providers.d.mts +2 -1
- package/dist/providers.d.ts +2 -1
- package/dist/providers.js +226 -375
- package/dist/providers.js.map +1 -1
- package/dist/providers.mjs +226 -375
- package/dist/providers.mjs.map +1 -1
- package/dist/tables.js +5 -5
- package/dist/tables.js.map +1 -1
- package/dist/tables.mjs +5 -5
- package/dist/tables.mjs.map +1 -1
- package/dist/tokens.d.mts +165 -3
- package/dist/tokens.d.ts +165 -3
- package/dist/tokens.js +219 -1
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +217 -1
- package/dist/tokens.mjs.map +1 -1
- package/dist/{utils-xrpHqxXR.d.ts → utils-CIIM7dAC.d.ts} +1 -1
- package/dist/{utils-DlJKRVzQ.d.mts → utils-Cs04sxth.d.mts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +22 -10
- package/dist/index-L8R3gyuQ.d.mts +0 -23
- package/dist/index-L8R3gyuQ.d.ts +0 -23
- package/dist/providers-Dv3LFGtJ.d.mts +0 -17
- package/dist/providers-Dv3LFGtJ.d.ts +0 -17
package/dist/index.d.mts
CHANGED
|
@@ -12,12 +12,12 @@ import { OTPInput } from 'input-otp';
|
|
|
12
12
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
13
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
14
14
|
import * as _radix_ui_react_select from '@radix-ui/react-select';
|
|
15
|
-
import {
|
|
15
|
+
import { Content, Item, Label as Label$1, ScrollDownButton, ScrollUpButton, Separator as Separator$1, Trigger } from '@radix-ui/react-select';
|
|
16
16
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
17
17
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
18
18
|
import { Accept, FileRejection } from 'react-dropzone';
|
|
19
|
-
import { S as SyntaxType, a as SyntaxToken, B as BreadcrumbItemLegacy, b as Breadcrumbs, c as BreadcrumbsProps } from './utils-
|
|
20
|
-
export {
|
|
19
|
+
import { S as SyntaxType, a as SyntaxToken, B as BreadcrumbItemLegacy, b as Breadcrumbs, c as BreadcrumbsProps } from './utils-Cs04sxth.mjs';
|
|
20
|
+
export { L as Language, R as RouteConfig, T as Transition, V as Variant, d as Variants, e as adjustLightness, f as adjustOpacity, g as adjustSaturation, h as cn, i as collapseVariants, j as colorTokens, k as colorUtils, l as createAnimation, m as detectLanguage, n as drawerVariants, o as durations, p as easings, q as fadeVariants, r as generateBreadcrumbs, s as generateColorScale, t as getCSSVariable, u as getContrastRatio, v as getForegroundColor, w as getLuminance, x as getOptimalForeground, y as getSemanticColorPair, z as hexToHSL, A as hexToRgb, C as hslToHex, D as listVariants, E as meetsContrastRequirements, F as modalVariants, G as parseCode, H as presets, I as rotateHue, J as rotateVariants, K as scaleDuration, M as scaleVariants, N as semanticColors, O as setCSSVariable, P as slideVariants, Q as tokenize, U as transitions } from './utils-Cs04sxth.mjs';
|
|
21
21
|
import { Command as Command$1 } from 'cmdk';
|
|
22
22
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
23
23
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
@@ -40,16 +40,16 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
40
40
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
41
41
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
42
42
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
43
|
-
import {
|
|
43
|
+
import { T as ThemeName$1, C as ColorMode$1 } from './index-DscTIrZ2.mjs';
|
|
44
|
+
import { Separator as Separator$2, Panel, Group } from 'react-resizable-panels';
|
|
44
45
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
45
46
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
46
|
-
export { p as Providers, T as ThemeProvider } from './providers-
|
|
47
|
-
export { h as Hooks, M as MotionPreference, T as ThemeHook, U as UseFormOptions,
|
|
47
|
+
export { p as Providers, T as ThemeProvider, a as ThemeProviderProps } from './providers-aJW1AKg6.mjs';
|
|
48
|
+
export { h as Hooks, M as MotionPreference, T as ThemeHook, U as UseFormOptions, a as UseFormReturn, u as useForm, b as useMotionPreference, c as useTheme } from './hooks-1b8WaQf1.mjs';
|
|
48
49
|
import * as zustand_middleware from 'zustand/middleware';
|
|
49
50
|
import * as zustand from 'zustand';
|
|
50
|
-
import {
|
|
51
|
-
|
|
52
|
-
export { m as typographySystem } from './fontThemes-Cum0S1DI.mjs';
|
|
51
|
+
import { a as FontTheme } from './fontThemes-Dh8mtXES.mjs';
|
|
52
|
+
export { C as typographySystem } from './fontThemes-Dh8mtXES.mjs';
|
|
53
53
|
export { F as FieldValidation, a as FormErrors, V as ValidationRule, h as hasErrors, p as patterns, r as rules, v as validateField, b as validateForm } from './validation-Bj1ye-v_.mjs';
|
|
54
54
|
import '@dnd-kit/sortable';
|
|
55
55
|
import 'react-hook-form';
|
|
@@ -185,7 +185,7 @@ declare const FilterButton: ({ ref, active, count, children, shape, className, .
|
|
|
185
185
|
|
|
186
186
|
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
187
187
|
}
|
|
188
|
-
declare const Input: ({ ref, className, type, ...props }: InputProps & {
|
|
188
|
+
declare const Input: ({ ref, className, type, style, ...props }: InputProps & {
|
|
189
189
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
190
190
|
}) => react_jsx_runtime.JSX.Element;
|
|
191
191
|
|
|
@@ -324,8 +324,12 @@ declare const SearchBar: ({ ref, onSearch, debounceMs, showClearButton, onClear,
|
|
|
324
324
|
declare const Select: React$1.FC<_radix_ui_react_select.SelectProps>;
|
|
325
325
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<_radix_ui_react_select.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
326
|
declare const SelectValue: React$1.ForwardRefExoticComponent<_radix_ui_react_select.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
327
|
-
declare const SelectTrigger: ({ ref, className, children, ...props }: ComponentPropsWithoutRef<typeof Trigger> & {
|
|
327
|
+
declare const SelectTrigger: ({ ref, className, children, style, label, labelClassName, ...props }: ComponentPropsWithoutRef<typeof Trigger> & {
|
|
328
328
|
ref?: React$1.Ref<ElementRef<typeof Trigger>>;
|
|
329
|
+
/** Optional text label rendered above the trigger. */
|
|
330
|
+
label?: string;
|
|
331
|
+
/** Override classes on the label. */
|
|
332
|
+
labelClassName?: string;
|
|
329
333
|
}) => react_jsx_runtime.JSX.Element;
|
|
330
334
|
declare const SelectScrollUpButton: ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof ScrollUpButton> & {
|
|
331
335
|
ref?: React$1.Ref<ElementRef<typeof ScrollUpButton>>;
|
|
@@ -333,7 +337,7 @@ declare const SelectScrollUpButton: ({ ref, className, ...props }: ComponentProp
|
|
|
333
337
|
declare const SelectScrollDownButton: ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof ScrollDownButton> & {
|
|
334
338
|
ref?: React$1.Ref<ElementRef<typeof ScrollDownButton>>;
|
|
335
339
|
}) => react_jsx_runtime.JSX.Element;
|
|
336
|
-
declare const SelectContent: ({ ref, className, children, position, ...props }: ComponentPropsWithoutRef<typeof Content> & {
|
|
340
|
+
declare const SelectContent: ({ ref, className, children, position, style, ...props }: ComponentPropsWithoutRef<typeof Content> & {
|
|
337
341
|
ref?: React$1.Ref<ElementRef<typeof Content>>;
|
|
338
342
|
}) => react_jsx_runtime.JSX.Element;
|
|
339
343
|
declare const SelectLabel: ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof Label$1> & {
|
|
@@ -508,8 +512,8 @@ declare function Dialog({ ...props }: React$1.ComponentProps<typeof SheetPrimiti
|
|
|
508
512
|
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
509
513
|
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
510
514
|
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
511
|
-
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
512
|
-
declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
515
|
+
declare function DialogOverlay({ className, style, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
516
|
+
declare function DialogContent({ className, children, showCloseButton, style, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
513
517
|
showCloseButton?: boolean;
|
|
514
518
|
}): react_jsx_runtime.JSX.Element;
|
|
515
519
|
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -555,7 +559,7 @@ declare const Menubar: ({ ref, className, ...props }: React$1.ComponentPropsWith
|
|
|
555
559
|
declare const MenubarTrigger: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & {
|
|
556
560
|
ref?: React$1.Ref<React$1.ElementRef<typeof MenubarPrimitive.Trigger>>;
|
|
557
561
|
}) => react_jsx_runtime.JSX.Element;
|
|
558
|
-
declare const MenubarContent: ({ ref, className, align, alignOffset, sideOffset, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & {
|
|
562
|
+
declare const MenubarContent: ({ ref, className, align, alignOffset, sideOffset, style, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & {
|
|
559
563
|
ref?: React$1.Ref<React$1.ElementRef<typeof MenubarPrimitive.Content>>;
|
|
560
564
|
}) => react_jsx_runtime.JSX.Element;
|
|
561
565
|
declare const MenubarItem: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {
|
|
@@ -735,10 +739,10 @@ declare const TertiaryNav: ({ ref, items, activeId, onItemChange, mode, top, cla
|
|
|
735
739
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
736
740
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
737
741
|
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
738
|
-
declare const AlertDialogOverlay: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay> & {
|
|
742
|
+
declare const AlertDialogOverlay: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay> & {
|
|
739
743
|
ref?: React$1.Ref<React$1.ElementRef<typeof AlertDialogPrimitive.Overlay>>;
|
|
740
744
|
}) => react_jsx_runtime.JSX.Element;
|
|
741
|
-
declare const AlertDialogContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {
|
|
745
|
+
declare const AlertDialogContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {
|
|
742
746
|
ref?: React$1.Ref<React$1.ElementRef<typeof AlertDialogPrimitive.Content>>;
|
|
743
747
|
}) => react_jsx_runtime.JSX.Element;
|
|
744
748
|
declare const AlertDialogHeader: {
|
|
@@ -773,10 +777,10 @@ declare const ContextMenuSubTrigger: ({ ref, className, inset, children, ...prop
|
|
|
773
777
|
} & {
|
|
774
778
|
ref?: React$1.Ref<React$1.ElementRef<typeof ContextMenuPrimitive.SubTrigger>>;
|
|
775
779
|
}) => react_jsx_runtime.JSX.Element;
|
|
776
|
-
declare const ContextMenuSubContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent> & {
|
|
780
|
+
declare const ContextMenuSubContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent> & {
|
|
777
781
|
ref?: React$1.Ref<React$1.ElementRef<typeof ContextMenuPrimitive.SubContent>>;
|
|
778
782
|
}) => react_jsx_runtime.JSX.Element;
|
|
779
|
-
declare const ContextMenuContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content> & {
|
|
783
|
+
declare const ContextMenuContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content> & {
|
|
780
784
|
ref?: React$1.Ref<React$1.ElementRef<typeof ContextMenuPrimitive.Content>>;
|
|
781
785
|
}) => react_jsx_runtime.JSX.Element;
|
|
782
786
|
declare const ContextMenuItem: ({ ref, className, inset, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {
|
|
@@ -807,10 +811,10 @@ declare const Drawer: typeof Drawer$1.Root;
|
|
|
807
811
|
declare const DrawerTrigger: typeof Drawer$1.Trigger;
|
|
808
812
|
declare const DrawerPortal: typeof Drawer$1.Portal;
|
|
809
813
|
declare const DrawerClose: typeof Drawer$1.Close;
|
|
810
|
-
declare const DrawerOverlay: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Overlay> & {
|
|
814
|
+
declare const DrawerOverlay: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Overlay> & {
|
|
811
815
|
ref?: React$1.Ref<React$1.ElementRef<typeof Drawer$1.Overlay>>;
|
|
812
816
|
}) => react_jsx_runtime.JSX.Element;
|
|
813
|
-
declare const DrawerContent: ({ ref, className, children, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Content> & {
|
|
817
|
+
declare const DrawerContent: ({ ref, className, children, style, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Content> & {
|
|
814
818
|
ref?: React$1.Ref<React$1.ElementRef<typeof Drawer$1.Content>>;
|
|
815
819
|
}) => react_jsx_runtime.JSX.Element;
|
|
816
820
|
declare const DrawerHeader: {
|
|
@@ -899,10 +903,10 @@ declare const DropdownMenuSubTrigger: ({ ref, className, inset, children, ...pro
|
|
|
899
903
|
} & {
|
|
900
904
|
ref?: React$1.Ref<React$1.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>>;
|
|
901
905
|
}) => react_jsx_runtime.JSX.Element;
|
|
902
|
-
declare const DropdownMenuSubContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
|
|
906
|
+
declare const DropdownMenuSubContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
|
|
903
907
|
ref?: React$1.Ref<React$1.ElementRef<typeof DropdownMenuPrimitive.SubContent>>;
|
|
904
908
|
}) => react_jsx_runtime.JSX.Element;
|
|
905
|
-
declare const DropdownMenuContent: ({ ref, className, sideOffset, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
|
909
|
+
declare const DropdownMenuContent: ({ ref, className, sideOffset, style, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
|
906
910
|
ref?: React$1.Ref<React$1.ElementRef<typeof DropdownMenuPrimitive.Content>>;
|
|
907
911
|
}) => react_jsx_runtime.JSX.Element;
|
|
908
912
|
declare const DropdownMenuItem: ({ ref, className, inset, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
|
|
@@ -1013,7 +1017,7 @@ declare const Modal: React__default.FC<ModalProps>;
|
|
|
1013
1017
|
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1014
1018
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1015
1019
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1016
|
-
declare const PopoverContent: ({ ref, className, align, sideOffset, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
|
|
1020
|
+
declare const PopoverContent: ({ ref, className, align, sideOffset, style, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
|
|
1017
1021
|
ref?: React$1.Ref<React$1.ElementRef<typeof PopoverPrimitive.Content>>;
|
|
1018
1022
|
}) => react_jsx_runtime.JSX.Element;
|
|
1019
1023
|
|
|
@@ -1021,7 +1025,7 @@ declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
|
1021
1025
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1022
1026
|
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1023
1027
|
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
1024
|
-
declare const SheetOverlay: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay> & {
|
|
1028
|
+
declare const SheetOverlay: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay> & {
|
|
1025
1029
|
ref?: React$1.Ref<React$1.ElementRef<typeof SheetPrimitive.Overlay>>;
|
|
1026
1030
|
}) => react_jsx_runtime.JSX.Element;
|
|
1027
1031
|
declare const sheetVariants: (props?: ({
|
|
@@ -1029,7 +1033,7 @@ declare const sheetVariants: (props?: ({
|
|
|
1029
1033
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1030
1034
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1031
1035
|
}
|
|
1032
|
-
declare const SheetContent: ({ ref, side, className, children, ...props }: SheetContentProps & {
|
|
1036
|
+
declare const SheetContent: ({ ref, side, className, children, style, ...props }: SheetContentProps & {
|
|
1033
1037
|
ref?: React$1.Ref<React$1.ElementRef<typeof SheetPrimitive.Content>>;
|
|
1034
1038
|
}) => react_jsx_runtime.JSX.Element;
|
|
1035
1039
|
declare const SheetHeader: {
|
|
@@ -1372,7 +1376,9 @@ declare const badgeVariants: (props?: ({
|
|
|
1372
1376
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
1373
1377
|
dot?: boolean;
|
|
1374
1378
|
}
|
|
1375
|
-
declare function Badge({ className, variant, size, dot, children, ...props }: BadgeProps
|
|
1379
|
+
declare function Badge({ className, variant, size, dot, children, style, ...props }: BadgeProps & {
|
|
1380
|
+
style?: React$1.CSSProperties;
|
|
1381
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1376
1382
|
|
|
1377
1383
|
interface BrandProps {
|
|
1378
1384
|
/**
|
|
@@ -1724,12 +1730,9 @@ interface TextProps {
|
|
|
1724
1730
|
* <Text as="label">Form label</Text>
|
|
1725
1731
|
* ```
|
|
1726
1732
|
*/
|
|
1727
|
-
declare const Text:
|
|
1733
|
+
declare const Text: React__default.FC<TextProps & {
|
|
1728
1734
|
ref?: React__default.Ref<HTMLElement>;
|
|
1729
|
-
}
|
|
1730
|
-
ref: React__default.Ref<HTMLElement> | undefined;
|
|
1731
|
-
className: string;
|
|
1732
|
-
}, HTMLElement>;
|
|
1735
|
+
}>;
|
|
1733
1736
|
|
|
1734
1737
|
interface VariableWeightTextProps extends Omit<HTMLMotionProps<'div'>, 'children'> {
|
|
1735
1738
|
/**
|
|
@@ -2030,8 +2033,15 @@ interface CustomizerPanelProps {
|
|
|
2030
2033
|
* @default false
|
|
2031
2034
|
*/
|
|
2032
2035
|
showMotionIntensity?: boolean;
|
|
2036
|
+
/**
|
|
2037
|
+
* Which themes to show in the selector.
|
|
2038
|
+
* Defaults to public themes only (studio, terra, volt).
|
|
2039
|
+
* Pass ['speedboat'] to lock to Speedboat, or include it
|
|
2040
|
+
* explicitly to make it visible alongside other themes.
|
|
2041
|
+
*/
|
|
2042
|
+
themes?: ThemeName$1[];
|
|
2033
2043
|
}
|
|
2034
|
-
declare const CustomizerPanel: ({ mode, showMotionIntensity }: CustomizerPanelProps) => react_jsx_runtime.JSX.Element | null;
|
|
2044
|
+
declare const CustomizerPanel: ({ mode, showMotionIntensity, themes }: CustomizerPanelProps) => react_jsx_runtime.JSX.Element | null;
|
|
2035
2045
|
|
|
2036
2046
|
interface FooterLink {
|
|
2037
2047
|
label: string;
|
|
@@ -2614,7 +2624,7 @@ declare const useThemeStore: zustand.UseBoundStore<Omit<zustand.StoreApi<ThemeSt
|
|
|
2614
2624
|
setState(state: ThemeState | ((state: ThemeState) => ThemeState), replace: true): unknown;
|
|
2615
2625
|
persist: {
|
|
2616
2626
|
setOptions: (options: Partial<zustand_middleware.PersistOptions<ThemeState, {
|
|
2617
|
-
theme: "studio" | "terra" | "volt";
|
|
2627
|
+
theme: "studio" | "terra" | "volt" | "speedboat";
|
|
2618
2628
|
mode: "light" | "dark";
|
|
2619
2629
|
}, unknown>>) => void;
|
|
2620
2630
|
clearStorage: () => void;
|
|
@@ -2623,7 +2633,7 @@ declare const useThemeStore: zustand.UseBoundStore<Omit<zustand.StoreApi<ThemeSt
|
|
|
2623
2633
|
onHydrate: (fn: (state: ThemeState) => void) => () => void;
|
|
2624
2634
|
onFinishHydration: (fn: (state: ThemeState) => void) => () => void;
|
|
2625
2635
|
getOptions: () => Partial<zustand_middleware.PersistOptions<ThemeState, {
|
|
2626
|
-
theme: "studio" | "terra" | "volt";
|
|
2636
|
+
theme: "studio" | "terra" | "volt" | "speedboat";
|
|
2627
2637
|
mode: "light" | "dark";
|
|
2628
2638
|
}, unknown>>;
|
|
2629
2639
|
};
|
|
@@ -2663,7 +2673,7 @@ interface SavedFontTheme extends FontTheme {
|
|
|
2663
2673
|
createdAt: number;
|
|
2664
2674
|
category: 'custom';
|
|
2665
2675
|
}
|
|
2666
|
-
type ThemeName = 'studio' | 'terra' | 'volt';
|
|
2676
|
+
type ThemeName = 'studio' | 'terra' | 'volt' | 'speedboat';
|
|
2667
2677
|
type ColorMode = 'light' | 'dark';
|
|
2668
2678
|
interface CustomizerState {
|
|
2669
2679
|
motion: number;
|
|
@@ -2733,6 +2743,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2733
2743
|
light?: ColorPalette | undefined;
|
|
2734
2744
|
dark?: ColorPalette | undefined;
|
|
2735
2745
|
} | undefined;
|
|
2746
|
+
speedboat?: {
|
|
2747
|
+
light?: ColorPalette | undefined;
|
|
2748
|
+
dark?: ColorPalette | undefined;
|
|
2749
|
+
} | undefined;
|
|
2736
2750
|
};
|
|
2737
2751
|
savedPalettes: SavedPalette[];
|
|
2738
2752
|
customFontThemes: {
|
|
@@ -2748,6 +2762,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2748
2762
|
light?: FontTheme | undefined;
|
|
2749
2763
|
dark?: FontTheme | undefined;
|
|
2750
2764
|
} | undefined;
|
|
2765
|
+
speedboat?: {
|
|
2766
|
+
light?: FontTheme | undefined;
|
|
2767
|
+
dark?: FontTheme | undefined;
|
|
2768
|
+
} | undefined;
|
|
2751
2769
|
};
|
|
2752
2770
|
savedFontThemes: SavedFontTheme[];
|
|
2753
2771
|
}, unknown>>) => void;
|
|
@@ -2773,6 +2791,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2773
2791
|
light?: ColorPalette | undefined;
|
|
2774
2792
|
dark?: ColorPalette | undefined;
|
|
2775
2793
|
} | undefined;
|
|
2794
|
+
speedboat?: {
|
|
2795
|
+
light?: ColorPalette | undefined;
|
|
2796
|
+
dark?: ColorPalette | undefined;
|
|
2797
|
+
} | undefined;
|
|
2776
2798
|
};
|
|
2777
2799
|
savedPalettes: SavedPalette[];
|
|
2778
2800
|
customFontThemes: {
|
|
@@ -2788,6 +2810,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2788
2810
|
light?: FontTheme | undefined;
|
|
2789
2811
|
dark?: FontTheme | undefined;
|
|
2790
2812
|
} | undefined;
|
|
2813
|
+
speedboat?: {
|
|
2814
|
+
light?: FontTheme | undefined;
|
|
2815
|
+
dark?: FontTheme | undefined;
|
|
2816
|
+
} | undefined;
|
|
2791
2817
|
};
|
|
2792
2818
|
savedFontThemes: SavedFontTheme[];
|
|
2793
2819
|
}, unknown>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ import { OTPInput } from 'input-otp';
|
|
|
12
12
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
13
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
14
14
|
import * as _radix_ui_react_select from '@radix-ui/react-select';
|
|
15
|
-
import {
|
|
15
|
+
import { Content, Item, Label as Label$1, ScrollDownButton, ScrollUpButton, Separator as Separator$1, Trigger } from '@radix-ui/react-select';
|
|
16
16
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
17
17
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
18
18
|
import { Accept, FileRejection } from 'react-dropzone';
|
|
19
|
-
import { S as SyntaxType, a as SyntaxToken, B as BreadcrumbItemLegacy, b as Breadcrumbs, c as BreadcrumbsProps } from './utils-
|
|
20
|
-
export {
|
|
19
|
+
import { S as SyntaxType, a as SyntaxToken, B as BreadcrumbItemLegacy, b as Breadcrumbs, c as BreadcrumbsProps } from './utils-CIIM7dAC.js';
|
|
20
|
+
export { L as Language, R as RouteConfig, T as Transition, V as Variant, d as Variants, e as adjustLightness, f as adjustOpacity, g as adjustSaturation, h as cn, i as collapseVariants, j as colorTokens, k as colorUtils, l as createAnimation, m as detectLanguage, n as drawerVariants, o as durations, p as easings, q as fadeVariants, r as generateBreadcrumbs, s as generateColorScale, t as getCSSVariable, u as getContrastRatio, v as getForegroundColor, w as getLuminance, x as getOptimalForeground, y as getSemanticColorPair, z as hexToHSL, A as hexToRgb, C as hslToHex, D as listVariants, E as meetsContrastRequirements, F as modalVariants, G as parseCode, H as presets, I as rotateHue, J as rotateVariants, K as scaleDuration, M as scaleVariants, N as semanticColors, O as setCSSVariable, P as slideVariants, Q as tokenize, U as transitions } from './utils-CIIM7dAC.js';
|
|
21
21
|
import { Command as Command$1 } from 'cmdk';
|
|
22
22
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
23
23
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
@@ -40,16 +40,16 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
40
40
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
41
41
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
42
42
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
43
|
-
import {
|
|
43
|
+
import { T as ThemeName$1, C as ColorMode$1 } from './index-DscTIrZ2.js';
|
|
44
|
+
import { Separator as Separator$2, Panel, Group } from 'react-resizable-panels';
|
|
44
45
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
45
46
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
46
|
-
export { p as Providers, T as ThemeProvider } from './providers-
|
|
47
|
-
export { h as Hooks, M as MotionPreference, T as ThemeHook, U as UseFormOptions,
|
|
47
|
+
export { p as Providers, T as ThemeProvider, a as ThemeProviderProps } from './providers-qfyBVcPW.js';
|
|
48
|
+
export { h as Hooks, M as MotionPreference, T as ThemeHook, U as UseFormOptions, a as UseFormReturn, u as useForm, b as useMotionPreference, c as useTheme } from './hooks-CKW8vE9H.js';
|
|
48
49
|
import * as zustand_middleware from 'zustand/middleware';
|
|
49
50
|
import * as zustand from 'zustand';
|
|
50
|
-
import {
|
|
51
|
-
|
|
52
|
-
export { m as typographySystem } from './fontThemes-Cum0S1DI.js';
|
|
51
|
+
import { a as FontTheme } from './fontThemes-Dh8mtXES.js';
|
|
52
|
+
export { C as typographySystem } from './fontThemes-Dh8mtXES.js';
|
|
53
53
|
export { F as FieldValidation, a as FormErrors, V as ValidationRule, h as hasErrors, p as patterns, r as rules, v as validateField, b as validateForm } from './validation-Bj1ye-v_.js';
|
|
54
54
|
import '@dnd-kit/sortable';
|
|
55
55
|
import 'react-hook-form';
|
|
@@ -185,7 +185,7 @@ declare const FilterButton: ({ ref, active, count, children, shape, className, .
|
|
|
185
185
|
|
|
186
186
|
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
187
187
|
}
|
|
188
|
-
declare const Input: ({ ref, className, type, ...props }: InputProps & {
|
|
188
|
+
declare const Input: ({ ref, className, type, style, ...props }: InputProps & {
|
|
189
189
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
190
190
|
}) => react_jsx_runtime.JSX.Element;
|
|
191
191
|
|
|
@@ -324,8 +324,12 @@ declare const SearchBar: ({ ref, onSearch, debounceMs, showClearButton, onClear,
|
|
|
324
324
|
declare const Select: React$1.FC<_radix_ui_react_select.SelectProps>;
|
|
325
325
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<_radix_ui_react_select.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
326
326
|
declare const SelectValue: React$1.ForwardRefExoticComponent<_radix_ui_react_select.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
327
|
-
declare const SelectTrigger: ({ ref, className, children, ...props }: ComponentPropsWithoutRef<typeof Trigger> & {
|
|
327
|
+
declare const SelectTrigger: ({ ref, className, children, style, label, labelClassName, ...props }: ComponentPropsWithoutRef<typeof Trigger> & {
|
|
328
328
|
ref?: React$1.Ref<ElementRef<typeof Trigger>>;
|
|
329
|
+
/** Optional text label rendered above the trigger. */
|
|
330
|
+
label?: string;
|
|
331
|
+
/** Override classes on the label. */
|
|
332
|
+
labelClassName?: string;
|
|
329
333
|
}) => react_jsx_runtime.JSX.Element;
|
|
330
334
|
declare const SelectScrollUpButton: ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof ScrollUpButton> & {
|
|
331
335
|
ref?: React$1.Ref<ElementRef<typeof ScrollUpButton>>;
|
|
@@ -333,7 +337,7 @@ declare const SelectScrollUpButton: ({ ref, className, ...props }: ComponentProp
|
|
|
333
337
|
declare const SelectScrollDownButton: ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof ScrollDownButton> & {
|
|
334
338
|
ref?: React$1.Ref<ElementRef<typeof ScrollDownButton>>;
|
|
335
339
|
}) => react_jsx_runtime.JSX.Element;
|
|
336
|
-
declare const SelectContent: ({ ref, className, children, position, ...props }: ComponentPropsWithoutRef<typeof Content> & {
|
|
340
|
+
declare const SelectContent: ({ ref, className, children, position, style, ...props }: ComponentPropsWithoutRef<typeof Content> & {
|
|
337
341
|
ref?: React$1.Ref<ElementRef<typeof Content>>;
|
|
338
342
|
}) => react_jsx_runtime.JSX.Element;
|
|
339
343
|
declare const SelectLabel: ({ ref, className, ...props }: ComponentPropsWithoutRef<typeof Label$1> & {
|
|
@@ -508,8 +512,8 @@ declare function Dialog({ ...props }: React$1.ComponentProps<typeof SheetPrimiti
|
|
|
508
512
|
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
509
513
|
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
510
514
|
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
511
|
-
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
512
|
-
declare function DialogContent({ className, children, showCloseButton, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
515
|
+
declare function DialogOverlay({ className, style, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
516
|
+
declare function DialogContent({ className, children, showCloseButton, style, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
513
517
|
showCloseButton?: boolean;
|
|
514
518
|
}): react_jsx_runtime.JSX.Element;
|
|
515
519
|
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -555,7 +559,7 @@ declare const Menubar: ({ ref, className, ...props }: React$1.ComponentPropsWith
|
|
|
555
559
|
declare const MenubarTrigger: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger> & {
|
|
556
560
|
ref?: React$1.Ref<React$1.ElementRef<typeof MenubarPrimitive.Trigger>>;
|
|
557
561
|
}) => react_jsx_runtime.JSX.Element;
|
|
558
|
-
declare const MenubarContent: ({ ref, className, align, alignOffset, sideOffset, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & {
|
|
562
|
+
declare const MenubarContent: ({ ref, className, align, alignOffset, sideOffset, style, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content> & {
|
|
559
563
|
ref?: React$1.Ref<React$1.ElementRef<typeof MenubarPrimitive.Content>>;
|
|
560
564
|
}) => react_jsx_runtime.JSX.Element;
|
|
561
565
|
declare const MenubarItem: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {
|
|
@@ -735,10 +739,10 @@ declare const TertiaryNav: ({ ref, items, activeId, onItemChange, mode, top, cla
|
|
|
735
739
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
736
740
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
737
741
|
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
738
|
-
declare const AlertDialogOverlay: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay> & {
|
|
742
|
+
declare const AlertDialogOverlay: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay> & {
|
|
739
743
|
ref?: React$1.Ref<React$1.ElementRef<typeof AlertDialogPrimitive.Overlay>>;
|
|
740
744
|
}) => react_jsx_runtime.JSX.Element;
|
|
741
|
-
declare const AlertDialogContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {
|
|
745
|
+
declare const AlertDialogContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & {
|
|
742
746
|
ref?: React$1.Ref<React$1.ElementRef<typeof AlertDialogPrimitive.Content>>;
|
|
743
747
|
}) => react_jsx_runtime.JSX.Element;
|
|
744
748
|
declare const AlertDialogHeader: {
|
|
@@ -773,10 +777,10 @@ declare const ContextMenuSubTrigger: ({ ref, className, inset, children, ...prop
|
|
|
773
777
|
} & {
|
|
774
778
|
ref?: React$1.Ref<React$1.ElementRef<typeof ContextMenuPrimitive.SubTrigger>>;
|
|
775
779
|
}) => react_jsx_runtime.JSX.Element;
|
|
776
|
-
declare const ContextMenuSubContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent> & {
|
|
780
|
+
declare const ContextMenuSubContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent> & {
|
|
777
781
|
ref?: React$1.Ref<React$1.ElementRef<typeof ContextMenuPrimitive.SubContent>>;
|
|
778
782
|
}) => react_jsx_runtime.JSX.Element;
|
|
779
|
-
declare const ContextMenuContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content> & {
|
|
783
|
+
declare const ContextMenuContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content> & {
|
|
780
784
|
ref?: React$1.Ref<React$1.ElementRef<typeof ContextMenuPrimitive.Content>>;
|
|
781
785
|
}) => react_jsx_runtime.JSX.Element;
|
|
782
786
|
declare const ContextMenuItem: ({ ref, className, inset, ...props }: React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {
|
|
@@ -807,10 +811,10 @@ declare const Drawer: typeof Drawer$1.Root;
|
|
|
807
811
|
declare const DrawerTrigger: typeof Drawer$1.Trigger;
|
|
808
812
|
declare const DrawerPortal: typeof Drawer$1.Portal;
|
|
809
813
|
declare const DrawerClose: typeof Drawer$1.Close;
|
|
810
|
-
declare const DrawerOverlay: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Overlay> & {
|
|
814
|
+
declare const DrawerOverlay: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Overlay> & {
|
|
811
815
|
ref?: React$1.Ref<React$1.ElementRef<typeof Drawer$1.Overlay>>;
|
|
812
816
|
}) => react_jsx_runtime.JSX.Element;
|
|
813
|
-
declare const DrawerContent: ({ ref, className, children, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Content> & {
|
|
817
|
+
declare const DrawerContent: ({ ref, className, children, style, ...props }: React$1.ComponentPropsWithoutRef<typeof Drawer$1.Content> & {
|
|
814
818
|
ref?: React$1.Ref<React$1.ElementRef<typeof Drawer$1.Content>>;
|
|
815
819
|
}) => react_jsx_runtime.JSX.Element;
|
|
816
820
|
declare const DrawerHeader: {
|
|
@@ -899,10 +903,10 @@ declare const DropdownMenuSubTrigger: ({ ref, className, inset, children, ...pro
|
|
|
899
903
|
} & {
|
|
900
904
|
ref?: React$1.Ref<React$1.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>>;
|
|
901
905
|
}) => react_jsx_runtime.JSX.Element;
|
|
902
|
-
declare const DropdownMenuSubContent: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
|
|
906
|
+
declare const DropdownMenuSubContent: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> & {
|
|
903
907
|
ref?: React$1.Ref<React$1.ElementRef<typeof DropdownMenuPrimitive.SubContent>>;
|
|
904
908
|
}) => react_jsx_runtime.JSX.Element;
|
|
905
|
-
declare const DropdownMenuContent: ({ ref, className, sideOffset, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
|
909
|
+
declare const DropdownMenuContent: ({ ref, className, sideOffset, style, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
|
906
910
|
ref?: React$1.Ref<React$1.ElementRef<typeof DropdownMenuPrimitive.Content>>;
|
|
907
911
|
}) => react_jsx_runtime.JSX.Element;
|
|
908
912
|
declare const DropdownMenuItem: ({ ref, className, inset, ...props }: React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
|
|
@@ -1013,7 +1017,7 @@ declare const Modal: React__default.FC<ModalProps>;
|
|
|
1013
1017
|
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1014
1018
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1015
1019
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1016
|
-
declare const PopoverContent: ({ ref, className, align, sideOffset, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
|
|
1020
|
+
declare const PopoverContent: ({ ref, className, align, sideOffset, style, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
|
|
1017
1021
|
ref?: React$1.Ref<React$1.ElementRef<typeof PopoverPrimitive.Content>>;
|
|
1018
1022
|
}) => react_jsx_runtime.JSX.Element;
|
|
1019
1023
|
|
|
@@ -1021,7 +1025,7 @@ declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
|
1021
1025
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1022
1026
|
declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1023
1027
|
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
1024
|
-
declare const SheetOverlay: ({ ref, className, ...props }: React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay> & {
|
|
1028
|
+
declare const SheetOverlay: ({ ref, className, style, ...props }: React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay> & {
|
|
1025
1029
|
ref?: React$1.Ref<React$1.ElementRef<typeof SheetPrimitive.Overlay>>;
|
|
1026
1030
|
}) => react_jsx_runtime.JSX.Element;
|
|
1027
1031
|
declare const sheetVariants: (props?: ({
|
|
@@ -1029,7 +1033,7 @@ declare const sheetVariants: (props?: ({
|
|
|
1029
1033
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1030
1034
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1031
1035
|
}
|
|
1032
|
-
declare const SheetContent: ({ ref, side, className, children, ...props }: SheetContentProps & {
|
|
1036
|
+
declare const SheetContent: ({ ref, side, className, children, style, ...props }: SheetContentProps & {
|
|
1033
1037
|
ref?: React$1.Ref<React$1.ElementRef<typeof SheetPrimitive.Content>>;
|
|
1034
1038
|
}) => react_jsx_runtime.JSX.Element;
|
|
1035
1039
|
declare const SheetHeader: {
|
|
@@ -1372,7 +1376,9 @@ declare const badgeVariants: (props?: ({
|
|
|
1372
1376
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
1373
1377
|
dot?: boolean;
|
|
1374
1378
|
}
|
|
1375
|
-
declare function Badge({ className, variant, size, dot, children, ...props }: BadgeProps
|
|
1379
|
+
declare function Badge({ className, variant, size, dot, children, style, ...props }: BadgeProps & {
|
|
1380
|
+
style?: React$1.CSSProperties;
|
|
1381
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1376
1382
|
|
|
1377
1383
|
interface BrandProps {
|
|
1378
1384
|
/**
|
|
@@ -1724,12 +1730,9 @@ interface TextProps {
|
|
|
1724
1730
|
* <Text as="label">Form label</Text>
|
|
1725
1731
|
* ```
|
|
1726
1732
|
*/
|
|
1727
|
-
declare const Text:
|
|
1733
|
+
declare const Text: React__default.FC<TextProps & {
|
|
1728
1734
|
ref?: React__default.Ref<HTMLElement>;
|
|
1729
|
-
}
|
|
1730
|
-
ref: React__default.Ref<HTMLElement> | undefined;
|
|
1731
|
-
className: string;
|
|
1732
|
-
}, HTMLElement>;
|
|
1735
|
+
}>;
|
|
1733
1736
|
|
|
1734
1737
|
interface VariableWeightTextProps extends Omit<HTMLMotionProps<'div'>, 'children'> {
|
|
1735
1738
|
/**
|
|
@@ -2030,8 +2033,15 @@ interface CustomizerPanelProps {
|
|
|
2030
2033
|
* @default false
|
|
2031
2034
|
*/
|
|
2032
2035
|
showMotionIntensity?: boolean;
|
|
2036
|
+
/**
|
|
2037
|
+
* Which themes to show in the selector.
|
|
2038
|
+
* Defaults to public themes only (studio, terra, volt).
|
|
2039
|
+
* Pass ['speedboat'] to lock to Speedboat, or include it
|
|
2040
|
+
* explicitly to make it visible alongside other themes.
|
|
2041
|
+
*/
|
|
2042
|
+
themes?: ThemeName$1[];
|
|
2033
2043
|
}
|
|
2034
|
-
declare const CustomizerPanel: ({ mode, showMotionIntensity }: CustomizerPanelProps) => react_jsx_runtime.JSX.Element | null;
|
|
2044
|
+
declare const CustomizerPanel: ({ mode, showMotionIntensity, themes }: CustomizerPanelProps) => react_jsx_runtime.JSX.Element | null;
|
|
2035
2045
|
|
|
2036
2046
|
interface FooterLink {
|
|
2037
2047
|
label: string;
|
|
@@ -2614,7 +2624,7 @@ declare const useThemeStore: zustand.UseBoundStore<Omit<zustand.StoreApi<ThemeSt
|
|
|
2614
2624
|
setState(state: ThemeState | ((state: ThemeState) => ThemeState), replace: true): unknown;
|
|
2615
2625
|
persist: {
|
|
2616
2626
|
setOptions: (options: Partial<zustand_middleware.PersistOptions<ThemeState, {
|
|
2617
|
-
theme: "studio" | "terra" | "volt";
|
|
2627
|
+
theme: "studio" | "terra" | "volt" | "speedboat";
|
|
2618
2628
|
mode: "light" | "dark";
|
|
2619
2629
|
}, unknown>>) => void;
|
|
2620
2630
|
clearStorage: () => void;
|
|
@@ -2623,7 +2633,7 @@ declare const useThemeStore: zustand.UseBoundStore<Omit<zustand.StoreApi<ThemeSt
|
|
|
2623
2633
|
onHydrate: (fn: (state: ThemeState) => void) => () => void;
|
|
2624
2634
|
onFinishHydration: (fn: (state: ThemeState) => void) => () => void;
|
|
2625
2635
|
getOptions: () => Partial<zustand_middleware.PersistOptions<ThemeState, {
|
|
2626
|
-
theme: "studio" | "terra" | "volt";
|
|
2636
|
+
theme: "studio" | "terra" | "volt" | "speedboat";
|
|
2627
2637
|
mode: "light" | "dark";
|
|
2628
2638
|
}, unknown>>;
|
|
2629
2639
|
};
|
|
@@ -2663,7 +2673,7 @@ interface SavedFontTheme extends FontTheme {
|
|
|
2663
2673
|
createdAt: number;
|
|
2664
2674
|
category: 'custom';
|
|
2665
2675
|
}
|
|
2666
|
-
type ThemeName = 'studio' | 'terra' | 'volt';
|
|
2676
|
+
type ThemeName = 'studio' | 'terra' | 'volt' | 'speedboat';
|
|
2667
2677
|
type ColorMode = 'light' | 'dark';
|
|
2668
2678
|
interface CustomizerState {
|
|
2669
2679
|
motion: number;
|
|
@@ -2733,6 +2743,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2733
2743
|
light?: ColorPalette | undefined;
|
|
2734
2744
|
dark?: ColorPalette | undefined;
|
|
2735
2745
|
} | undefined;
|
|
2746
|
+
speedboat?: {
|
|
2747
|
+
light?: ColorPalette | undefined;
|
|
2748
|
+
dark?: ColorPalette | undefined;
|
|
2749
|
+
} | undefined;
|
|
2736
2750
|
};
|
|
2737
2751
|
savedPalettes: SavedPalette[];
|
|
2738
2752
|
customFontThemes: {
|
|
@@ -2748,6 +2762,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2748
2762
|
light?: FontTheme | undefined;
|
|
2749
2763
|
dark?: FontTheme | undefined;
|
|
2750
2764
|
} | undefined;
|
|
2765
|
+
speedboat?: {
|
|
2766
|
+
light?: FontTheme | undefined;
|
|
2767
|
+
dark?: FontTheme | undefined;
|
|
2768
|
+
} | undefined;
|
|
2751
2769
|
};
|
|
2752
2770
|
savedFontThemes: SavedFontTheme[];
|
|
2753
2771
|
}, unknown>>) => void;
|
|
@@ -2773,6 +2791,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2773
2791
|
light?: ColorPalette | undefined;
|
|
2774
2792
|
dark?: ColorPalette | undefined;
|
|
2775
2793
|
} | undefined;
|
|
2794
|
+
speedboat?: {
|
|
2795
|
+
light?: ColorPalette | undefined;
|
|
2796
|
+
dark?: ColorPalette | undefined;
|
|
2797
|
+
} | undefined;
|
|
2776
2798
|
};
|
|
2777
2799
|
savedPalettes: SavedPalette[];
|
|
2778
2800
|
customFontThemes: {
|
|
@@ -2788,6 +2810,10 @@ declare const useCustomizer: zustand.UseBoundStore<Omit<zustand.StoreApi<Customi
|
|
|
2788
2810
|
light?: FontTheme | undefined;
|
|
2789
2811
|
dark?: FontTheme | undefined;
|
|
2790
2812
|
} | undefined;
|
|
2813
|
+
speedboat?: {
|
|
2814
|
+
light?: FontTheme | undefined;
|
|
2815
|
+
dark?: FontTheme | undefined;
|
|
2816
|
+
} | undefined;
|
|
2791
2817
|
};
|
|
2792
2818
|
savedFontThemes: SavedFontTheme[];
|
|
2793
2819
|
}, unknown>>;
|