@optiaxiom/react 0.1.0-next.14 → 0.1.0-next.15
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/dist/{PopoverContent-DIhLXmjU.d.ts → PopoverContent-DHQm-nPQ.d.ts} +17 -7
- package/dist/accordion-trigger/AccordionTrigger-css.js +1 -1
- package/dist/alert/Alert-css.js +1 -1
- package/dist/alert-dialog/AlertDialog.js +16 -15
- package/dist/alert-dialog-action/AlertDialogAction.js +1 -3
- package/dist/alert-dialog-content/AlertDialogContent-css.js +8 -0
- package/dist/alert-dialog-content/AlertDialogContent.js +20 -0
- package/dist/alert-dialog-footer/AlertDialogFooter-css.js +1 -1
- package/dist/alert-dialog-title/AlertDialogTitle.js +2 -3
- package/dist/alert-dialog-trigger/AlertDialogTrigger.js +14 -0
- package/dist/animate-presence/AnimatePresence.js +4 -3
- package/dist/assets/src/{alert-dialog/AlertDialog.css.ts.vanilla-CpKGfNgS.css → alert-dialog-content/AlertDialogContent.css.ts.vanilla-CLM10r0f.css} +5 -5
- package/dist/assets/src/{dialog/Dialog.css.ts.vanilla-BlNHlzx8.css → dialog-content/DialogContent.css.ts.vanilla-B-pX7DR_.css} +6 -6
- package/dist/assets/src/{menu-content/MenuContent.css.ts.vanilla-BVK7SB5f.css → dropdown-menu-content/DropdownMenuContent.css.ts.vanilla-EXOZ-w-n.css} +1 -1
- package/dist/assets/src/dropdown-menu-item/DropdownMenuItem.css.ts.vanilla-iU0t5wQu.css +30 -0
- package/dist/assets/src/input-base/{InputBase.css.ts.vanilla-By5uGeYP.css → InputBase.css.ts.vanilla-CXpyZISC.css} +1 -0
- package/dist/assets/src/{search/Search.css.ts.vanilla-8Mi7WZBC.css → search-input/SearchInput.css.ts.vanilla-BTRVQpev.css} +1 -1
- package/dist/assets/src/styles/{theme.css.ts.vanilla-D9K5B5ZA.css → theme.css.ts.vanilla-BZP-0Wgr.css} +2 -2
- package/dist/avatar/Avatar-css.js +1 -1
- package/dist/axiom-provider/AxiomProvider.js +3 -1
- package/dist/badge/Badge-css.js +1 -1
- package/dist/box/Box-css.js +1 -1
- package/dist/{breadcrumbs/Breadcrumbs.js → breadcrumb/Breadcrumb.js} +5 -7
- package/dist/breadcrumb-ellipsis/BreadcrumbEllipsis.js +10 -0
- package/dist/breadcrumb-item/BreadcrumbItem.js +11 -4
- package/dist/breadcrumb-link/BreadcrumbLink.js +12 -0
- package/dist/breadcrumb-page/BreadcrumbPage.js +12 -0
- package/dist/breadcrumb-separator/BreadcrumbSeparator.js +14 -0
- package/dist/button/Button-css.js +1 -1
- package/dist/checkbox/Checkbox-css.js +1 -1
- package/dist/combobox/Combobox.js +3 -3
- package/dist/combobox-content/ComboboxContent.js +2 -2
- package/dist/command-item/CommandItem-css.js +1 -1
- package/dist/control-base/ControlBase-css.js +2 -2
- package/dist/control-base/ControlBase.js +9 -1
- package/dist/dialog/Dialog.js +27 -39
- package/dist/dialog-body/DialogBody-css.js +1 -1
- package/dist/{menu-trigger/MenuTrigger.js → dialog-close/DialogClose.js} +5 -6
- package/dist/{dialog/Dialog-css.js → dialog-content/DialogContent-css.js} +4 -4
- package/dist/dialog-content/DialogContent.js +38 -0
- package/dist/dialog-context/DialogContext.js +5 -0
- package/dist/dialog-description/DialogDescription.js +23 -0
- package/dist/dialog-title/DialogTitle.js +15 -11
- package/dist/dialog-trigger/DialogTrigger.js +16 -0
- package/dist/{menu/Menu.js → dropdown-menu/DropdownMenu.js} +7 -7
- package/dist/{menu-content/MenuContent-css.js → dropdown-menu-content/DropdownMenuContent-css.js} +2 -2
- package/dist/{menu-content/MenuContent.js → dropdown-menu-content/DropdownMenuContent.js} +6 -6
- package/dist/dropdown-menu-context/DropdownMenuContext.js +5 -0
- package/dist/dropdown-menu-item/DropdownMenuItem-css.js +8 -0
- package/dist/{menu-item/MenuItem.js → dropdown-menu-item/DropdownMenuItem.js} +4 -4
- package/dist/{menu-label/MenuLabel.js → dropdown-menu-label/DropdownMenuLabel.js} +3 -3
- package/dist/dropdown-menu-separator/DropdownMenuSeparator.js +9 -0
- package/dist/dropdown-menu-trigger/DropdownMenuTrigger.js +15 -0
- package/dist/hover-card/HoverCard.js +3 -3
- package/dist/index.d.ts +197 -175
- package/dist/index.js +13 -9
- package/dist/input-base/InputBase-css.js +3 -3
- package/dist/link/Link-css.js +1 -1
- package/dist/pagination/Pagination-css.js +1 -1
- package/dist/pill/Pill-css.js +1 -1
- package/dist/popover/Popover.js +3 -3
- package/dist/radio-group/RadioGroup.js +26 -8
- package/dist/radio-group-item/RadioGroupItem-css.js +1 -1
- package/dist/search-input/SearchInput-css.js +8 -0
- package/dist/{search/Search.js → search-input/SearchInput.js} +4 -4
- package/dist/sprinkles/sprinkles-css.js +1 -1
- package/dist/styles/theme-css.js +1 -1
- package/dist/switch/Switch-css.js +1 -1
- package/dist/table-cell/TableCell-css.js +1 -1
- package/dist/tabs-list/TabsList-css.js +1 -1
- package/dist/tabs-trigger/TabsTrigger-css.js +1 -1
- package/dist/toast/Toast-css.js +1 -1
- package/dist/transition/Transition.js +1 -1
- package/dist/unstable.d.ts +69 -25
- package/dist/unstable.js +6 -0
- package/package.json +7 -7
- package/dist/alert-dialog/AlertDialog-css.js +0 -8
- package/dist/assets/src/menu-item/MenuItem.css.ts.vanilla-BjEdkhqZ.css +0 -30
- package/dist/breadcrumbs/useBreadcrumbItems.js +0 -35
- package/dist/menu-context/MenuContext.js +0 -5
- package/dist/menu-item/MenuItem-css.js +0 -8
- package/dist/menu-separator/MenuSeparator.js +0 -11
- package/dist/search/Search-css.js +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ReactNode,
|
|
2
|
+
import { ReactNode, ComponentPropsWithoutRef, ReactElement, ElementType, ComponentPropsWithRef } from 'react';
|
|
3
3
|
import * as RadixAccordion from '@radix-ui/react-accordion';
|
|
4
|
-
import { S as Sprinkles, B as BoxProps, E as ExtendProps } from './PopoverContent-
|
|
5
|
-
export { a as Box, P as Popover, b as PopoverContent, m as mapResponsiveValue, s as sprinkles } from './PopoverContent-
|
|
6
|
-
import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
|
|
4
|
+
import { S as Sprinkles, B as BoxProps, E as ExtendProps } from './PopoverContent-DHQm-nPQ.js';
|
|
5
|
+
export { a as Box, L as Link, P as Popover, b as PopoverContent, m as mapResponsiveValue, s as sprinkles } from './PopoverContent-DHQm-nPQ.js';
|
|
7
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
|
|
8
8
|
import * as RadixTooltip from '@radix-ui/react-tooltip';
|
|
9
9
|
import * as RadixCheckbox from '@radix-ui/react-checkbox';
|
|
10
10
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
11
|
-
import * as RadixHoverCard from '@radix-ui/react-hover-card';
|
|
12
11
|
import * as RadixMenu from '@radix-ui/react-dropdown-menu';
|
|
12
|
+
import * as RadixHoverCard from '@radix-ui/react-hover-card';
|
|
13
13
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
14
14
|
import * as RadixRadio from '@radix-ui/react-radio-group';
|
|
15
15
|
import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
|
|
@@ -20,6 +20,7 @@ import TextareaAutosize from 'react-textarea-autosize';
|
|
|
20
20
|
import * as RadixToast from '@radix-ui/react-toast';
|
|
21
21
|
import { Portal } from '@radix-ui/react-portal';
|
|
22
22
|
import * as jotai from 'jotai';
|
|
23
|
+
import { getDefaultStore } from 'jotai';
|
|
23
24
|
import * as RadixToggle from '@radix-ui/react-toggle';
|
|
24
25
|
import '@radix-ui/react-popover';
|
|
25
26
|
|
|
@@ -70,6 +71,50 @@ declare const AlertDescription: react.ForwardRefExoticComponent<Omit<Omit<Omit<O
|
|
|
70
71
|
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
71
72
|
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
72
73
|
|
|
74
|
+
type AlertDialogProps = ComponentPropsWithoutRef<typeof RadixAlertDialog.Root>;
|
|
75
|
+
declare function AlertDialog({ children, defaultOpen, onOpenChange, open: openProp, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
76
|
+
declare namespace AlertDialog {
|
|
77
|
+
var displayName: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare const AlertDialogAction: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogActionProps & react.RefAttributes<HTMLButtonElement>, "ref">, "children" | "color" | "asChild" | "className" | "disabled"> & Omit<{
|
|
81
|
+
asChild?: boolean;
|
|
82
|
+
className?: string;
|
|
83
|
+
} & Sprinkles, "size"> & Omit<{
|
|
84
|
+
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
85
|
+
children?: react.ReactNode;
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
endDecorator?: react.ReactNode;
|
|
88
|
+
icon?: react.ReactNode;
|
|
89
|
+
iconPosition?: "end" | "start";
|
|
90
|
+
loading?: boolean;
|
|
91
|
+
startDecorator?: react.ReactNode;
|
|
92
|
+
} & Omit<{
|
|
93
|
+
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
94
|
+
iconOnly?: boolean | undefined;
|
|
95
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
96
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
97
|
+
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
98
|
+
|
|
99
|
+
declare const AlertDialogCancel: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogCancelProps & react.RefAttributes<HTMLButtonElement>, "ref">, "children" | "color" | "asChild" | "className" | "disabled"> & Omit<{
|
|
100
|
+
asChild?: boolean;
|
|
101
|
+
className?: string;
|
|
102
|
+
} & Sprinkles, "size"> & Omit<{
|
|
103
|
+
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
104
|
+
children?: react.ReactNode;
|
|
105
|
+
disabled?: boolean;
|
|
106
|
+
endDecorator?: react.ReactNode;
|
|
107
|
+
icon?: react.ReactNode;
|
|
108
|
+
iconPosition?: "end" | "start";
|
|
109
|
+
loading?: boolean;
|
|
110
|
+
startDecorator?: react.ReactNode;
|
|
111
|
+
} & Omit<{
|
|
112
|
+
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
113
|
+
iconOnly?: boolean | undefined;
|
|
114
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
115
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
116
|
+
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
117
|
+
|
|
73
118
|
declare const tokens: {
|
|
74
119
|
readonly borderRadius: {
|
|
75
120
|
readonly xs: "2px";
|
|
@@ -858,33 +903,29 @@ declare const content$2: (props?: {
|
|
|
858
903
|
};
|
|
859
904
|
type DialogVariants$1 = RecipeVariants<typeof content$2>;
|
|
860
905
|
|
|
861
|
-
type
|
|
862
|
-
|
|
863
|
-
children: ReactNode;
|
|
864
|
-
open?: boolean;
|
|
865
|
-
} & DialogVariants$1>;
|
|
866
|
-
declare const AlertDialog: react.ForwardRefExoticComponent<Omit<AlertDialogProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
906
|
+
type AlertDialogContentProps = BoxProps<typeof RadixAlertDialog.Content, NonNullable<DialogVariants$1>>;
|
|
907
|
+
declare const AlertDialogContent: react.ForwardRefExoticComponent<Omit<AlertDialogContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
867
908
|
|
|
868
|
-
declare const
|
|
909
|
+
declare const AlertDialogDescription: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
869
910
|
asChild?: boolean;
|
|
870
911
|
className?: string;
|
|
871
|
-
} & Sprinkles,
|
|
872
|
-
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
873
|
-
children?: react.ReactNode;
|
|
874
|
-
disabled?: boolean;
|
|
875
|
-
endDecorator?: react.ReactNode;
|
|
876
|
-
icon?: react.ReactNode;
|
|
877
|
-
iconPosition?: "end" | "start";
|
|
878
|
-
loading?: boolean;
|
|
879
|
-
startDecorator?: react.ReactNode;
|
|
880
|
-
} & Omit<{
|
|
881
|
-
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
882
|
-
iconOnly?: boolean | undefined;
|
|
883
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
884
|
-
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
885
|
-
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
912
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLParagraphElement>>;
|
|
886
913
|
|
|
887
|
-
declare const
|
|
914
|
+
declare const AlertDialogFooter: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & Omit<{
|
|
915
|
+
asChild?: boolean;
|
|
916
|
+
className?: string;
|
|
917
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
918
|
+
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
919
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
920
|
+
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
921
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
922
|
+
|
|
923
|
+
declare const AlertDialogTitle: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
924
|
+
asChild?: boolean;
|
|
925
|
+
className?: string;
|
|
926
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLHeadingElement>>;
|
|
927
|
+
|
|
928
|
+
declare const AlertDialogTrigger: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref">, "children" | "color" | "asChild" | "className" | "disabled"> & Omit<{
|
|
888
929
|
asChild?: boolean;
|
|
889
930
|
className?: string;
|
|
890
931
|
} & Sprinkles, "size"> & Omit<{
|
|
@@ -903,25 +944,6 @@ declare const AlertDialogCancel: react.ForwardRefExoticComponent<Omit<Omit<Radix
|
|
|
903
944
|
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
904
945
|
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
905
946
|
|
|
906
|
-
declare const AlertDialogDescription: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
907
|
-
asChild?: boolean;
|
|
908
|
-
className?: string;
|
|
909
|
-
} & Sprinkles, never> & react.RefAttributes<HTMLParagraphElement>>;
|
|
910
|
-
|
|
911
|
-
declare const AlertDialogFooter: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & Omit<{
|
|
912
|
-
asChild?: boolean;
|
|
913
|
-
className?: string;
|
|
914
|
-
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
915
|
-
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
916
|
-
}, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
917
|
-
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
918
|
-
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
919
|
-
|
|
920
|
-
declare const AlertDialogTitle: react.ForwardRefExoticComponent<Omit<Omit<RadixAlertDialog.AlertDialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
921
|
-
asChild?: boolean;
|
|
922
|
-
className?: string;
|
|
923
|
-
} & Sprinkles, never> & react.RefAttributes<HTMLHeadingElement>>;
|
|
924
|
-
|
|
925
947
|
declare const AlertTitle: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & Omit<{
|
|
926
948
|
asChild?: boolean;
|
|
927
949
|
className?: string;
|
|
@@ -929,9 +951,12 @@ declare const AlertTitle: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<re
|
|
|
929
951
|
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
930
952
|
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
931
953
|
|
|
932
|
-
declare
|
|
954
|
+
declare function AnimatePresence({ children, }: {
|
|
933
955
|
children?: ReactElement | false;
|
|
934
|
-
})
|
|
956
|
+
}): react_jsx_runtime.JSX.Element;
|
|
957
|
+
declare namespace AnimatePresence {
|
|
958
|
+
var displayName: string;
|
|
959
|
+
}
|
|
935
960
|
|
|
936
961
|
declare const usePresence: () => readonly [false, () => void] | readonly [true];
|
|
937
962
|
|
|
@@ -963,10 +988,10 @@ type AxiomProviderProps = {
|
|
|
963
988
|
*/
|
|
964
989
|
tooltip?: Omit<ComponentPropsWithoutRef<typeof RadixTooltip.Provider>, "children">;
|
|
965
990
|
};
|
|
966
|
-
declare
|
|
967
|
-
|
|
968
|
-
displayName: string;
|
|
969
|
-
}
|
|
991
|
+
declare function AxiomProvider({ children, tooltip }: AxiomProviderProps): react_jsx_runtime.JSX.Element;
|
|
992
|
+
declare namespace AxiomProvider {
|
|
993
|
+
var displayName: string;
|
|
994
|
+
}
|
|
970
995
|
|
|
971
996
|
declare const Badge: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "color" | "className"> & Omit<{
|
|
972
997
|
asChild?: boolean;
|
|
@@ -981,31 +1006,6 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
981
1006
|
variant?: "solid" | "light" | undefined;
|
|
982
1007
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
983
1008
|
|
|
984
|
-
declare const Link: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">, "color" | "className"> & Omit<{
|
|
985
|
-
asChild?: boolean;
|
|
986
|
-
className?: string;
|
|
987
|
-
} & Sprinkles, never> & {
|
|
988
|
-
disabled?: boolean;
|
|
989
|
-
external?: boolean;
|
|
990
|
-
} & {
|
|
991
|
-
colorScheme?: "primary" | "secondary" | "neutral" | undefined;
|
|
992
|
-
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
993
|
-
|
|
994
|
-
type BreadcrumbItemProps = ComponentPropsWithoutRef<typeof Link>;
|
|
995
|
-
declare const BreadcrumbItem: ({ children, ...props }: BreadcrumbItemProps) => react_jsx_runtime.JSX.Element;
|
|
996
|
-
|
|
997
|
-
type BreadcrumbsProps = BoxProps<"nav", {
|
|
998
|
-
maxItems?: number;
|
|
999
|
-
separator?: ReactNode;
|
|
1000
|
-
}>;
|
|
1001
|
-
declare const Breadcrumbs: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "color" | "className"> & Omit<{
|
|
1002
|
-
asChild?: boolean;
|
|
1003
|
-
className?: string;
|
|
1004
|
-
} & Sprinkles, never> & {
|
|
1005
|
-
maxItems?: number;
|
|
1006
|
-
separator?: ReactNode;
|
|
1007
|
-
} & react.RefAttributes<HTMLElement>>;
|
|
1008
|
-
|
|
1009
1009
|
declare const button: (props?: {
|
|
1010
1010
|
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
1011
1011
|
iconOnly?: boolean | undefined;
|
|
@@ -1091,6 +1091,38 @@ declare const Code: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTML
|
|
|
1091
1091
|
className?: string;
|
|
1092
1092
|
} & Sprinkles, never> & react.RefAttributes<HTMLElement>>;
|
|
1093
1093
|
|
|
1094
|
+
type DialogProps = ComponentPropsWithoutRef<typeof RadixDialog.Root>;
|
|
1095
|
+
declare function Dialog({ children, defaultOpen, modal, onOpenChange, open: openProp, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
|
|
1096
|
+
declare namespace Dialog {
|
|
1097
|
+
var displayName: string;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
declare const DialogBody: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & Omit<{
|
|
1101
|
+
asChild?: boolean;
|
|
1102
|
+
className?: string;
|
|
1103
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1104
|
+
ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
1105
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1106
|
+
|
|
1107
|
+
declare const DialogClose: react.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>, "ref">, "children" | "color" | "asChild" | "className" | "disabled"> & Omit<{
|
|
1108
|
+
asChild?: boolean;
|
|
1109
|
+
className?: string;
|
|
1110
|
+
} & Sprinkles, "size"> & Omit<{
|
|
1111
|
+
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
1112
|
+
children?: react.ReactNode;
|
|
1113
|
+
disabled?: boolean;
|
|
1114
|
+
endDecorator?: react.ReactNode;
|
|
1115
|
+
icon?: react.ReactNode;
|
|
1116
|
+
iconPosition?: "end" | "start";
|
|
1117
|
+
loading?: boolean;
|
|
1118
|
+
startDecorator?: react.ReactNode;
|
|
1119
|
+
} & Omit<{
|
|
1120
|
+
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
1121
|
+
iconOnly?: boolean | undefined;
|
|
1122
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
1123
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
1124
|
+
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
1125
|
+
|
|
1094
1126
|
declare const content$1: (props?: {
|
|
1095
1127
|
size?: "sm" | "md" | "lg" | undefined;
|
|
1096
1128
|
} | undefined, className?: string) => {
|
|
@@ -1098,21 +1130,17 @@ declare const content$1: (props?: {
|
|
|
1098
1130
|
};
|
|
1099
1131
|
type DialogVariants = RecipeVariants<typeof content$1>;
|
|
1100
1132
|
|
|
1101
|
-
type
|
|
1102
|
-
children: ReactNode;
|
|
1103
|
-
modal?: boolean;
|
|
1104
|
-
onClose: () => void;
|
|
1105
|
-
open?: boolean;
|
|
1133
|
+
type DialogContentProps = BoxProps<typeof RadixDialog.Content, {
|
|
1106
1134
|
withCloseButton?: boolean;
|
|
1107
1135
|
} & DialogVariants>;
|
|
1108
|
-
declare const
|
|
1136
|
+
declare const DialogContent: react.ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1109
1137
|
|
|
1110
|
-
declare const
|
|
1138
|
+
declare const DialogDescription: react.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1111
1139
|
asChild?: boolean;
|
|
1112
1140
|
className?: string;
|
|
1113
|
-
} & Sprinkles, never> &
|
|
1114
|
-
|
|
1115
|
-
}
|
|
1141
|
+
} & Sprinkles, never> & {
|
|
1142
|
+
description?: string;
|
|
1143
|
+
} & react.RefAttributes<HTMLParagraphElement>>;
|
|
1116
1144
|
|
|
1117
1145
|
declare const DialogFooter: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "color" | "className"> & Omit<{
|
|
1118
1146
|
asChild?: boolean;
|
|
@@ -1126,9 +1154,26 @@ declare const DialogFooter: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
|
1126
1154
|
declare const DialogTitle: react.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1127
1155
|
asChild?: boolean;
|
|
1128
1156
|
className?: string;
|
|
1129
|
-
} & Sprinkles, never> &
|
|
1130
|
-
|
|
1131
|
-
|
|
1157
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLHeadingElement>>;
|
|
1158
|
+
|
|
1159
|
+
declare const DialogTrigger: react.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref">, "children" | "color" | "asChild" | "className" | "disabled"> & Omit<{
|
|
1160
|
+
asChild?: boolean;
|
|
1161
|
+
className?: string;
|
|
1162
|
+
} & Sprinkles, "size"> & Omit<{
|
|
1163
|
+
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
1164
|
+
children?: react.ReactNode;
|
|
1165
|
+
disabled?: boolean;
|
|
1166
|
+
endDecorator?: react.ReactNode;
|
|
1167
|
+
icon?: react.ReactNode;
|
|
1168
|
+
iconPosition?: "end" | "start";
|
|
1169
|
+
loading?: boolean;
|
|
1170
|
+
startDecorator?: react.ReactNode;
|
|
1171
|
+
} & Omit<{
|
|
1172
|
+
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
1173
|
+
iconOnly?: boolean | undefined;
|
|
1174
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
1175
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
1176
|
+
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
1132
1177
|
|
|
1133
1178
|
declare const content: (props?: {
|
|
1134
1179
|
position?: "left" | "right" | "bottom" | undefined;
|
|
@@ -1169,6 +1214,56 @@ declare const DrawerTitle: react.ForwardRefExoticComponent<Omit<Omit<RadixDialog
|
|
|
1169
1214
|
description?: string;
|
|
1170
1215
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1171
1216
|
|
|
1217
|
+
type MenuProps = ComponentPropsWithoutRef<typeof RadixMenu.Root>;
|
|
1218
|
+
declare function DropdownMenu({ children, defaultOpen, onOpenChange, open: openProp, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
1219
|
+
declare namespace DropdownMenu {
|
|
1220
|
+
var displayName: string;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
declare const DropdownMenuContent: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1224
|
+
asChild?: boolean;
|
|
1225
|
+
className?: string;
|
|
1226
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>>;
|
|
1227
|
+
|
|
1228
|
+
declare const DropdownMenuItem: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1229
|
+
asChild?: boolean;
|
|
1230
|
+
className?: string;
|
|
1231
|
+
} & Sprinkles, never> & {
|
|
1232
|
+
endDecorator?: ReactNode;
|
|
1233
|
+
startDecorator?: ReactNode;
|
|
1234
|
+
} & {
|
|
1235
|
+
colorScheme?: "danger" | "neutral" | undefined;
|
|
1236
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1237
|
+
|
|
1238
|
+
declare const DropdownMenuLabel: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1239
|
+
asChild?: boolean;
|
|
1240
|
+
className?: string;
|
|
1241
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>>;
|
|
1242
|
+
|
|
1243
|
+
declare const DropdownMenuSeparator: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1244
|
+
asChild?: boolean;
|
|
1245
|
+
className?: string;
|
|
1246
|
+
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>>;
|
|
1247
|
+
|
|
1248
|
+
declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<Omit<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children" | "color" | "className" | "disabled"> & Omit<{
|
|
1249
|
+
asChild?: boolean;
|
|
1250
|
+
className?: string;
|
|
1251
|
+
} & Sprinkles, "size"> & Omit<{
|
|
1252
|
+
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
1253
|
+
children?: react.ReactNode;
|
|
1254
|
+
disabled?: boolean;
|
|
1255
|
+
endDecorator?: react.ReactNode;
|
|
1256
|
+
icon?: react.ReactNode;
|
|
1257
|
+
iconPosition?: "end" | "start";
|
|
1258
|
+
loading?: boolean;
|
|
1259
|
+
startDecorator?: react.ReactNode;
|
|
1260
|
+
} & Omit<{
|
|
1261
|
+
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
1262
|
+
iconOnly?: boolean | undefined;
|
|
1263
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
1264
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
1265
|
+
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1266
|
+
|
|
1172
1267
|
declare const Field: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children" | "color" | "className" | "id"> & Omit<{
|
|
1173
1268
|
asChild?: boolean;
|
|
1174
1269
|
className?: string;
|
|
@@ -1234,10 +1329,10 @@ declare const Heading: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedH
|
|
|
1234
1329
|
type HoverCardProps = BoxProps<typeof RadixHoverCard.Root, {
|
|
1235
1330
|
keepOpenOnActivation?: boolean;
|
|
1236
1331
|
}>;
|
|
1237
|
-
declare
|
|
1238
|
-
|
|
1239
|
-
displayName: string;
|
|
1240
|
-
}
|
|
1332
|
+
declare function HoverCard({ children, defaultOpen, keepOpenOnActivation, onOpenChange, open: openProp, openDelay, ...props }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
1333
|
+
declare namespace HoverCard {
|
|
1334
|
+
var displayName: string;
|
|
1335
|
+
}
|
|
1241
1336
|
|
|
1242
1337
|
declare const HoverCardContent: react.ForwardRefExoticComponent<Omit<Omit<RadixHoverCard.HoverCardContentProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1243
1338
|
asChild?: boolean;
|
|
@@ -1282,7 +1377,7 @@ declare const Input: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
1282
1377
|
error?: boolean;
|
|
1283
1378
|
startDecorator?: react.ReactNode;
|
|
1284
1379
|
} & {
|
|
1285
|
-
size?: "
|
|
1380
|
+
size?: "md" | "lg" | undefined;
|
|
1286
1381
|
}, "children"> & {
|
|
1287
1382
|
children?: never;
|
|
1288
1383
|
} & {
|
|
@@ -1313,56 +1408,6 @@ declare const Kbd: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLP
|
|
|
1313
1408
|
variant?: "outline" | "subtle" | undefined;
|
|
1314
1409
|
} & react.RefAttributes<HTMLElement>>;
|
|
1315
1410
|
|
|
1316
|
-
type MenuProps = ComponentPropsWithoutRef<typeof RadixMenu.Root>;
|
|
1317
|
-
declare const Menu: {
|
|
1318
|
-
({ children, defaultOpen, onOpenChange, open: openProp, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
|
|
1319
|
-
displayName: string;
|
|
1320
|
-
};
|
|
1321
|
-
|
|
1322
|
-
declare const MenuContent: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1323
|
-
asChild?: boolean;
|
|
1324
|
-
className?: string;
|
|
1325
|
-
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>>;
|
|
1326
|
-
|
|
1327
|
-
declare const MenuItem: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1328
|
-
asChild?: boolean;
|
|
1329
|
-
className?: string;
|
|
1330
|
-
} & Sprinkles, never> & {
|
|
1331
|
-
endDecorator?: ReactNode;
|
|
1332
|
-
startDecorator?: ReactNode;
|
|
1333
|
-
} & {
|
|
1334
|
-
colorScheme?: "danger" | "neutral" | undefined;
|
|
1335
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
1336
|
-
|
|
1337
|
-
declare const MenuLabel: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1338
|
-
asChild?: boolean;
|
|
1339
|
-
className?: string;
|
|
1340
|
-
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>>;
|
|
1341
|
-
|
|
1342
|
-
declare const MenuSeparator: react.ForwardRefExoticComponent<Omit<Omit<RadixMenu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref">, "color" | "asChild" | "className"> & Omit<{
|
|
1343
|
-
asChild?: boolean;
|
|
1344
|
-
className?: string;
|
|
1345
|
-
} & Sprinkles, never> & react.RefAttributes<HTMLDivElement>>;
|
|
1346
|
-
|
|
1347
|
-
declare const MenuTrigger: react.ForwardRefExoticComponent<Omit<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children" | "color" | "className" | "disabled"> & Omit<{
|
|
1348
|
-
asChild?: boolean;
|
|
1349
|
-
className?: string;
|
|
1350
|
-
} & Sprinkles, "size"> & Omit<{
|
|
1351
|
-
appearance?: "primary" | "secondary" | "default" | "inverse" | "danger" | "danger-outline";
|
|
1352
|
-
children?: react.ReactNode;
|
|
1353
|
-
disabled?: boolean;
|
|
1354
|
-
endDecorator?: react.ReactNode;
|
|
1355
|
-
icon?: react.ReactNode;
|
|
1356
|
-
iconPosition?: "end" | "start";
|
|
1357
|
-
loading?: boolean;
|
|
1358
|
-
startDecorator?: react.ReactNode;
|
|
1359
|
-
} & Omit<{
|
|
1360
|
-
colorScheme?: "primary" | "danger" | "neutral" | undefined;
|
|
1361
|
-
iconOnly?: boolean | undefined;
|
|
1362
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
1363
|
-
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
1364
|
-
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1365
|
-
|
|
1366
1411
|
type PaginationProps = BoxProps<"nav", {
|
|
1367
1412
|
boundaries?: number;
|
|
1368
1413
|
defaultPage?: number;
|
|
@@ -1421,7 +1466,7 @@ declare const RadioGroupItem: react.ForwardRefExoticComponent<Omit<Omit<RadixRad
|
|
|
1421
1466
|
endDecorator?: ReactNode;
|
|
1422
1467
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1423
1468
|
|
|
1424
|
-
declare const
|
|
1469
|
+
declare const SearchInput: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children" | "size" | "color" | "className" | "disabled"> & Omit<{
|
|
1425
1470
|
asChild?: boolean;
|
|
1426
1471
|
className?: string;
|
|
1427
1472
|
} & Sprinkles, "size" | "asChild"> & Omit<{
|
|
@@ -1433,7 +1478,7 @@ declare const Search: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<react.
|
|
|
1433
1478
|
error?: boolean;
|
|
1434
1479
|
startDecorator?: react.ReactNode;
|
|
1435
1480
|
} & {
|
|
1436
|
-
size?: "
|
|
1481
|
+
size?: "md" | "lg" | undefined;
|
|
1437
1482
|
}, "children"> & {
|
|
1438
1483
|
children?: never;
|
|
1439
1484
|
} & {
|
|
@@ -1946,7 +1991,7 @@ declare const Text: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTML
|
|
|
1946
1991
|
}, never> & react.RefAttributes<HTMLParagraphElement>>;
|
|
1947
1992
|
|
|
1948
1993
|
declare const input: (props?: {
|
|
1949
|
-
size?: "
|
|
1994
|
+
size?: "md" | "lg" | undefined;
|
|
1950
1995
|
} | undefined, className?: string) => {
|
|
1951
1996
|
className: string;
|
|
1952
1997
|
};
|
|
@@ -2007,31 +2052,8 @@ declare const ToastAction: react.ForwardRefExoticComponent<Omit<Omit<RadixToast.
|
|
|
2007
2052
|
}, "colorScheme" | "iconOnly" | "variant">, never> & react.RefAttributes<HTMLButtonElement>>;
|
|
2008
2053
|
|
|
2009
2054
|
type ToastElement = ReactElement<ComponentPropsWithoutRef<typeof Toast>>;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
set: <Value, Args extends unknown[], Result>(atom: jotai.WritableAtom<Value, Args, Result>, ...args: Args) => Result;
|
|
2013
|
-
sub: (atom: jotai.Atom<unknown>, listener: () => void) => () => void;
|
|
2014
|
-
} | ({
|
|
2015
|
-
get: <Value>(atom: jotai.Atom<Value>) => Value;
|
|
2016
|
-
set: <Value, Args extends unknown[], Result>(atom: jotai.WritableAtom<Value, Args, Result>, ...args: Args) => Result;
|
|
2017
|
-
sub: (atom: jotai.Atom<unknown>, listener: () => void) => () => void;
|
|
2018
|
-
} & {
|
|
2019
|
-
dev4_get_internal_weak_map: () => WeakMap<jotai.Atom<unknown>, {
|
|
2020
|
-
readonly d: Map<jotai.Atom<unknown>, number>;
|
|
2021
|
-
readonly p: Set<jotai.Atom<unknown>>;
|
|
2022
|
-
n: number;
|
|
2023
|
-
m?: {
|
|
2024
|
-
readonly l: Set<() => void>;
|
|
2025
|
-
readonly d: Set<jotai.Atom<unknown>>;
|
|
2026
|
-
readonly t: Set<jotai.Atom<unknown>>;
|
|
2027
|
-
u?: () => void;
|
|
2028
|
-
};
|
|
2029
|
-
v?: unknown;
|
|
2030
|
-
e?: unknown;
|
|
2031
|
-
}>;
|
|
2032
|
-
dev4_get_mounted_atoms: () => Set<jotai.Atom<unknown>>;
|
|
2033
|
-
dev4_restore_atoms: (values: Iterable<readonly [jotai.Atom<unknown>, unknown]>) => void;
|
|
2034
|
-
})) => {
|
|
2055
|
+
type Store = ReturnType<typeof getDefaultStore>;
|
|
2056
|
+
declare const createToaster: (store?: Store) => {
|
|
2035
2057
|
atom: jotai.PrimitiveAtom<{
|
|
2036
2058
|
id: string;
|
|
2037
2059
|
open: boolean;
|
|
@@ -2113,4 +2135,4 @@ declare const Transition: react.ForwardRefExoticComponent<{
|
|
|
2113
2135
|
type?: "pop" | "fade" | undefined;
|
|
2114
2136
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
2115
2137
|
|
|
2116
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogDescription, AlertDialogFooter, AlertDialogTitle, AlertTitle, AnimatePresence, Avatar, AvatarGroup, AxiomProvider, Badge, BoxProps,
|
|
2138
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatePresence, Avatar, AvatarGroup, AxiomProvider, Badge, BoxProps, Button, ButtonGroup, type ButtonProps, Checkbox, Code, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerFooter, DrawerTitle, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Field, Flex, Grid, Heading, HoverCard, HoverCardContent, HoverCardTrigger, Indicator, Input, Kbd, Pagination, type PaginationProps, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, SearchInput, Separator, Skeleton, Spinner, Sprinkles, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Text, type TextProps, Textarea, Toast, ToastAction, ToastProvider, ToastTitle, Toggle, Tooltip, Transition, createToaster, extractSprinkles, layers_css as layers, theme, tokens, tokensDark, usePresence };
|
package/dist/index.js
CHANGED
|
@@ -7,9 +7,11 @@ export { AlertDescription } from './alert-description/AlertDescription.js';
|
|
|
7
7
|
export { AlertDialog } from './alert-dialog/AlertDialog.js';
|
|
8
8
|
export { AlertDialogAction } from './alert-dialog-action/AlertDialogAction.js';
|
|
9
9
|
export { AlertDialogCancel } from './alert-dialog-cancel/AlertDialogCancel.js';
|
|
10
|
+
export { AlertDialogContent } from './alert-dialog-content/AlertDialogContent.js';
|
|
10
11
|
export { AlertDialogDescription } from './alert-dialog-description/AlertDialogDescription.js';
|
|
11
12
|
export { AlertDialogFooter } from './alert-dialog-footer/AlertDialogFooter.js';
|
|
12
13
|
export { AlertDialogTitle } from './alert-dialog-title/AlertDialogTitle.js';
|
|
14
|
+
export { AlertDialogTrigger } from './alert-dialog-trigger/AlertDialogTrigger.js';
|
|
13
15
|
export { AlertTitle } from './alert-title/AlertTitle.js';
|
|
14
16
|
export { AnimatePresence } from './animate-presence/AnimatePresence.js';
|
|
15
17
|
export { usePresence } from './animate-presence/usePresence.js';
|
|
@@ -18,20 +20,28 @@ export { AvatarGroup } from './avatar-group/AvatarGroup.js';
|
|
|
18
20
|
export { AxiomProvider } from './axiom-provider/AxiomProvider.js';
|
|
19
21
|
export { Badge } from './badge/Badge.js';
|
|
20
22
|
export { Box } from './box/Box.js';
|
|
21
|
-
export { BreadcrumbItem } from './breadcrumb-item/BreadcrumbItem.js';
|
|
22
|
-
export { Breadcrumbs } from './breadcrumbs/Breadcrumbs.js';
|
|
23
23
|
export { Button } from './button/Button.js';
|
|
24
24
|
export { ButtonGroup } from './button-group/ButtonGroup.js';
|
|
25
25
|
export { Checkbox } from './checkbox/Checkbox.js';
|
|
26
26
|
export { Code } from './code/Code.js';
|
|
27
27
|
export { Dialog } from './dialog/Dialog.js';
|
|
28
28
|
export { DialogBody } from './dialog-body/DialogBody.js';
|
|
29
|
+
export { DialogClose } from './dialog-close/DialogClose.js';
|
|
30
|
+
export { DialogContent } from './dialog-content/DialogContent.js';
|
|
31
|
+
export { DialogDescription } from './dialog-description/DialogDescription.js';
|
|
29
32
|
export { DialogFooter } from './dialog-footer/DialogFooter.js';
|
|
30
33
|
export { DialogTitle } from './dialog-title/DialogTitle.js';
|
|
34
|
+
export { DialogTrigger } from './dialog-trigger/DialogTrigger.js';
|
|
31
35
|
export { Drawer } from './drawer/Drawer.js';
|
|
32
36
|
export { DrawerBody } from './drawer-body/DrawerBody.js';
|
|
33
37
|
export { DrawerFooter } from './drawer-footer/DrawerFooter.js';
|
|
34
38
|
export { DrawerTitle } from './drawer-title/DrawerTitle.js';
|
|
39
|
+
export { DropdownMenu } from './dropdown-menu/DropdownMenu.js';
|
|
40
|
+
export { DropdownMenuContent } from './dropdown-menu-content/DropdownMenuContent.js';
|
|
41
|
+
export { DropdownMenuItem } from './dropdown-menu-item/DropdownMenuItem.js';
|
|
42
|
+
export { DropdownMenuLabel } from './dropdown-menu-label/DropdownMenuLabel.js';
|
|
43
|
+
export { DropdownMenuSeparator } from './dropdown-menu-separator/DropdownMenuSeparator.js';
|
|
44
|
+
export { DropdownMenuTrigger } from './dropdown-menu-trigger/DropdownMenuTrigger.js';
|
|
35
45
|
export { Field } from './field/Field.js';
|
|
36
46
|
export { Flex } from './flex/Flex.js';
|
|
37
47
|
export { Grid } from './grid/Grid.js';
|
|
@@ -43,12 +53,6 @@ export { Indicator } from './indicator/Indicator.js';
|
|
|
43
53
|
export { Input } from './input/Input.js';
|
|
44
54
|
export { Kbd } from './kbd/Kbd.js';
|
|
45
55
|
export { Link } from './link/Link.js';
|
|
46
|
-
export { Menu } from './menu/Menu.js';
|
|
47
|
-
export { MenuContent } from './menu-content/MenuContent.js';
|
|
48
|
-
export { MenuItem } from './menu-item/MenuItem.js';
|
|
49
|
-
export { MenuLabel } from './menu-label/MenuLabel.js';
|
|
50
|
-
export { MenuSeparator } from './menu-separator/MenuSeparator.js';
|
|
51
|
-
export { MenuTrigger } from './menu-trigger/MenuTrigger.js';
|
|
52
56
|
export { Pagination } from './pagination/Pagination.js';
|
|
53
57
|
export { Popover } from './popover/Popover.js';
|
|
54
58
|
export { PopoverContent } from './popover-content/PopoverContent.js';
|
|
@@ -56,7 +60,7 @@ export { PopoverTrigger } from './popover-trigger/PopoverTrigger.js';
|
|
|
56
60
|
export { Progress } from './progress/Progress.js';
|
|
57
61
|
export { RadioGroup } from './radio-group/RadioGroup.js';
|
|
58
62
|
export { RadioGroupItem } from './radio-group-item/RadioGroupItem.js';
|
|
59
|
-
export {
|
|
63
|
+
export { SearchInput } from './search-input/SearchInput.js';
|
|
60
64
|
export { Separator } from './separator/Separator.js';
|
|
61
65
|
export { Skeleton } from './skeleton/Skeleton.js';
|
|
62
66
|
export { Spinner } from './spinner/Spinner.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
|
|
2
|
-
import './../assets/src/styles/theme.css.ts.vanilla-
|
|
3
|
-
import './../assets/src/input-base/InputBase.css.ts.vanilla-
|
|
2
|
+
import './../assets/src/styles/theme.css.ts.vanilla-BZP-0Wgr.css';
|
|
3
|
+
import './../assets/src/input-base/InputBase.css.ts.vanilla-CXpyZISC.css';
|
|
4
4
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
5
5
|
|
|
6
|
-
var input = recipeRuntime({base:['_4nrdl00',{bg:'transparent',flex:'auto'},'_4nrdl02','_4nrdl03'],variants:{size:{
|
|
6
|
+
var input = recipeRuntime({base:['_4nrdl00',{bg:'transparent',flex:'auto',w:'full'},'_4nrdl02','_4nrdl03'],variants:{size:{md:{px:'8',py:'4'},lg:{p:'8'}}}});
|
|
7
7
|
var wrapper = recipeRuntime({base:[{border:'1',flexDirection:'row',gap:'0',rounded:'md'},'_4nrdl01']});
|
|
8
8
|
|
|
9
9
|
export { input, wrapper };
|
package/dist/link/Link-css.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
|
|
2
|
-
import './../assets/src/styles/theme.css.ts.vanilla-
|
|
2
|
+
import './../assets/src/styles/theme.css.ts.vanilla-BZP-0Wgr.css';
|
|
3
3
|
import './../assets/src/link/Link.css.ts.vanilla-PjwC2Bar.css';
|
|
4
4
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
|
|
2
|
-
import './../assets/src/styles/theme.css.ts.vanilla-
|
|
2
|
+
import './../assets/src/styles/theme.css.ts.vanilla-BZP-0Wgr.css';
|
|
3
3
|
import './../assets/src/pagination/Pagination.css.ts.vanilla-CP7Jjsxf.css';
|
|
4
4
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
5
5
|
|
package/dist/pill/Pill-css.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './../assets/src/styles/layers.css.ts.vanilla-D5zCXZwe.css';
|
|
2
|
-
import './../assets/src/styles/theme.css.ts.vanilla-
|
|
2
|
+
import './../assets/src/styles/theme.css.ts.vanilla-BZP-0Wgr.css';
|
|
3
3
|
import './../assets/src/pill/Pill.css.ts.vanilla-CMi1obNV.css';
|
|
4
4
|
import { recipeRuntime } from '../vanilla-extract/recipeRuntime.js';
|
|
5
5
|
|