@nayhoo/ui 0.4.0 → 0.4.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/README.md +1 -1
- package/dist/index.css +8 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +143 -50
- package/dist/index.d.ts +143 -50
- package/dist/index.js +128 -171
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +127 -171
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,74 @@ declare const pulse: string;
|
|
|
16
16
|
|
|
17
17
|
declare const spin: string;
|
|
18
18
|
|
|
19
|
+
declare const avatarRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
20
|
+
size: {
|
|
21
|
+
"1": {
|
|
22
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
23
|
+
width: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
24
|
+
};
|
|
25
|
+
"2": {
|
|
26
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
27
|
+
width: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
28
|
+
};
|
|
29
|
+
"3": {
|
|
30
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
31
|
+
width: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
32
|
+
};
|
|
33
|
+
"4": {
|
|
34
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
35
|
+
width: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
36
|
+
};
|
|
37
|
+
"5": {
|
|
38
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
39
|
+
width: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
40
|
+
};
|
|
41
|
+
"6": {
|
|
42
|
+
height: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
43
|
+
width: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
shape: {
|
|
47
|
+
square: {
|
|
48
|
+
borderRadius: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
49
|
+
};
|
|
50
|
+
circle: {
|
|
51
|
+
borderRadius: "50%";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
inactive: {
|
|
55
|
+
true: {
|
|
56
|
+
opacity: ".3";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
interactive: {
|
|
60
|
+
true: {
|
|
61
|
+
selectors: {
|
|
62
|
+
"&::after": {
|
|
63
|
+
content: "\"\"";
|
|
64
|
+
position: "absolute";
|
|
65
|
+
top: "0";
|
|
66
|
+
right: "0";
|
|
67
|
+
bottom: "0";
|
|
68
|
+
left: "0";
|
|
69
|
+
backgroundColor: "rgba(0, 0, 0, 0.08)";
|
|
70
|
+
opacity: "0";
|
|
71
|
+
pointerEvents: "none";
|
|
72
|
+
transition: "opacity 100ms linear";
|
|
73
|
+
};
|
|
74
|
+
"&:hover::after": {
|
|
75
|
+
opacity: "1";
|
|
76
|
+
};
|
|
77
|
+
'&[data-state="open"]::after': {
|
|
78
|
+
backgroundColor: "rgba(0, 0, 0, 0.12)";
|
|
79
|
+
opacity: "1";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}>;
|
|
85
|
+
type AvatarVariants = NonNullable<RecipeVariants<typeof avatarRecipe>>;
|
|
86
|
+
|
|
19
87
|
declare const statusRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
20
88
|
size: {
|
|
21
89
|
"1": {
|
|
@@ -47,17 +115,13 @@ declare const statusRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
|
47
115
|
}>;
|
|
48
116
|
type StatusVariants = NonNullable<RecipeVariants<typeof statusRecipe>>;
|
|
49
117
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
shape?: "circle" | "square" | undefined;
|
|
53
|
-
inactive?: boolean | undefined;
|
|
54
|
-
interactive?: boolean | undefined;
|
|
55
|
-
} & {
|
|
56
|
-
alt?: string | undefined;
|
|
118
|
+
type AvatarProps = AvatarPrimitive.AvatarProps & AvatarVariants & {
|
|
119
|
+
alt?: string;
|
|
57
120
|
fallback?: react__default.ReactNode;
|
|
58
|
-
src?: string
|
|
121
|
+
src?: string;
|
|
59
122
|
status?: StatusVariants["variant"];
|
|
60
|
-
}
|
|
123
|
+
};
|
|
124
|
+
declare const Avatar: ({ alt, fallback, src, status, style, ...props }: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
61
125
|
|
|
62
126
|
declare const badgeRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
63
127
|
color: {
|
|
@@ -99,14 +163,14 @@ declare const defaultElement$f = "span";
|
|
|
99
163
|
type BadgeProps = ComponentProps<typeof defaultElement$f, BadgeVariants & {
|
|
100
164
|
label: string;
|
|
101
165
|
}>;
|
|
102
|
-
declare const Badge: ({ asChild,
|
|
166
|
+
declare const Badge: ({ asChild, label, ...props }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
103
167
|
|
|
104
168
|
declare const boxRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
105
169
|
type BoxVariants = NonNullable<RecipeVariants<typeof boxRecipe>>;
|
|
106
170
|
|
|
107
171
|
declare const defaultElement$e = "div";
|
|
108
|
-
type BoxProps
|
|
109
|
-
declare const Box: ({ asChild, ...props }: BoxProps
|
|
172
|
+
type BoxProps = ComponentProps<typeof defaultElement$e, BoxVariants>;
|
|
173
|
+
declare const Box: ({ asChild, ...props }: BoxProps) => react_jsx_runtime.JSX.Element;
|
|
110
174
|
|
|
111
175
|
declare const buttonRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
112
176
|
color: {
|
|
@@ -198,7 +262,7 @@ type ButtonVariants = RecipeVariants<typeof buttonRecipe>;
|
|
|
198
262
|
|
|
199
263
|
declare const defaultElement$d = "button";
|
|
200
264
|
type ButtonProps = ComponentProps<typeof defaultElement$d, ButtonVariants>;
|
|
201
|
-
declare const Button: ({ asChild,
|
|
265
|
+
declare const Button: ({ asChild, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
202
266
|
|
|
203
267
|
declare const cardRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
204
268
|
variant: {
|
|
@@ -217,7 +281,7 @@ type CardVariants = NonNullable<RecipeVariants<typeof cardRecipe>>;
|
|
|
217
281
|
|
|
218
282
|
declare const defaultElement$c = "div";
|
|
219
283
|
type CardProps = ComponentProps<typeof defaultElement$c, CardVariants>;
|
|
220
|
-
declare const Card: ({ asChild,
|
|
284
|
+
declare const Card: ({ asChild, ...props }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
221
285
|
|
|
222
286
|
declare const containerRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
223
287
|
size: {
|
|
@@ -239,18 +303,36 @@ type ContainerVariants = NonNullable<RecipeVariants<typeof containerRecipe>>;
|
|
|
239
303
|
|
|
240
304
|
declare const defaultElement$b = "div";
|
|
241
305
|
type ContainerProps = ComponentProps<typeof defaultElement$b, ContainerVariants>;
|
|
242
|
-
declare const Container: ({ asChild,
|
|
306
|
+
declare const Container: ({ asChild, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
307
|
+
|
|
308
|
+
declare const menuItemRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
309
|
+
type MenuItemVariants = NonNullable<RecipeVariants<typeof menuItemRecipe>>;
|
|
310
|
+
declare const menuLabelRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
311
|
+
type MenuLabelVariants = NonNullable<RecipeVariants<typeof menuLabelRecipe>>;
|
|
312
|
+
declare const menuRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
313
|
+
type MenuVariants = NonNullable<RecipeVariants<typeof menuRecipe>>;
|
|
314
|
+
declare const menuSeparatorRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
315
|
+
type MenuSeparatorVariants = NonNullable<RecipeVariants<typeof menuSeparatorRecipe>>;
|
|
316
|
+
|
|
317
|
+
declare const panelRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
318
|
+
type PanelVariants = NonNullable<RecipeVariants<typeof panelRecipe>>;
|
|
243
319
|
|
|
244
320
|
declare const DropdownMenu: react.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
245
321
|
declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
246
|
-
|
|
247
|
-
declare const
|
|
322
|
+
type DropdownMenuContentProps = DropdownMenuPrimitive.DropdownMenuContentProps & MenuVariants & PanelVariants;
|
|
323
|
+
declare const DropdownMenuContent: ({ ...props }: DropdownMenuContentProps) => react_jsx_runtime.JSX.Element;
|
|
324
|
+
type DropdownMenuItemProps = DropdownMenuPrimitive.DropdownMenuItemProps & MenuItemVariants;
|
|
325
|
+
declare const DropdownMenuItem: ({ ...props }: DropdownMenuItemProps) => react_jsx_runtime.JSX.Element;
|
|
248
326
|
declare const DropdownMenuGroup: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
249
|
-
|
|
250
|
-
declare const
|
|
251
|
-
|
|
327
|
+
type DropdownMenuLabelProps = DropdownMenuPrimitive.DropdownMenuLabelProps & MenuLabelVariants;
|
|
328
|
+
declare const DropdownMenuLabel: ({ ...props }: DropdownMenuLabelProps) => react_jsx_runtime.JSX.Element;
|
|
329
|
+
type DropdownMenuSeparatorProps = DropdownMenuPrimitive.DropdownMenuSeparatorProps & MenuSeparatorVariants;
|
|
330
|
+
declare const DropdownMenuSeparator: ({ ...props }: DropdownMenuSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
331
|
+
type DropdownMenuCheckboxItemProps = DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & MenuItemVariants;
|
|
332
|
+
declare const DropdownMenuCheckboxItem: ({ ...props }: DropdownMenuCheckboxItemProps) => react_jsx_runtime.JSX.Element;
|
|
252
333
|
declare const DropdownMenuRadioGroup: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
253
|
-
|
|
334
|
+
type DropdownMenuRadioItemProps = DropdownMenuPrimitive.DropdownMenuRadioItemProps & MenuItemVariants;
|
|
335
|
+
declare const DropdownMenuRadioItem: ({ children, ...props }: DropdownMenuRadioItemProps) => react_jsx_runtime.JSX.Element;
|
|
254
336
|
|
|
255
337
|
declare const flexRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
256
338
|
align: {
|
|
@@ -343,7 +425,7 @@ type FlexVariants = NonNullable<RecipeVariants<typeof flexRecipe>>;
|
|
|
343
425
|
|
|
344
426
|
declare const defaultElement$a = "div";
|
|
345
427
|
type FlexProps = ComponentProps<typeof defaultElement$a, FlexVariants>;
|
|
346
|
-
declare const Flex: ({ asChild,
|
|
428
|
+
declare const Flex: ({ asChild, ...props }: FlexProps) => react_jsx_runtime.JSX.Element;
|
|
347
429
|
|
|
348
430
|
declare const formFieldRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
349
431
|
type FormFieldVariants = NonNullable<RecipeVariants<typeof formFieldRecipe>>;
|
|
@@ -360,9 +442,12 @@ type FormMessageVariants = NonNullable<RecipeVariants<typeof formMessageRecipe>>
|
|
|
360
442
|
|
|
361
443
|
declare const Form: react.ForwardRefExoticComponent<FormPrimitive.FormProps & react.RefAttributes<HTMLFormElement>>;
|
|
362
444
|
declare const FormControl: react.ForwardRefExoticComponent<FormPrimitive.FormControlProps & react.RefAttributes<HTMLInputElement>>;
|
|
363
|
-
|
|
364
|
-
declare const
|
|
365
|
-
|
|
445
|
+
type FormFieldProps = FormPrimitive.FormFieldProps & FormFieldVariants;
|
|
446
|
+
declare const FormField: ({ ...props }: FormFieldProps) => react_jsx_runtime.JSX.Element;
|
|
447
|
+
type FormLabelProps = FormPrimitive.FormLabelProps & FormLabelVariants;
|
|
448
|
+
declare const FormLabel: ({ ...props }: FormLabelProps) => react_jsx_runtime.JSX.Element;
|
|
449
|
+
type FormMessageProps = FormPrimitive.FormMessageProps & FormMessageVariants;
|
|
450
|
+
declare const FormMessage: ({ ...props }: FormMessageProps) => react_jsx_runtime.JSX.Element;
|
|
366
451
|
declare const FormSubmit: react.ForwardRefExoticComponent<FormPrimitive.FormSubmitProps & react.RefAttributes<HTMLButtonElement>>;
|
|
367
452
|
|
|
368
453
|
declare const gridRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
@@ -570,7 +655,7 @@ type GridVariants = NonNullable<RecipeVariants<typeof gridRecipe>>;
|
|
|
570
655
|
|
|
571
656
|
declare const defaultElement$9 = "div";
|
|
572
657
|
type GridProps = ComponentProps<typeof defaultElement$9, GridVariants>;
|
|
573
|
-
declare const Grid: ({ asChild,
|
|
658
|
+
declare const Grid: ({ asChild, ...props }: GridProps) => react_jsx_runtime.JSX.Element;
|
|
574
659
|
|
|
575
660
|
declare const textRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
576
661
|
color: {
|
|
@@ -688,7 +773,7 @@ type IconButtonVariants = RecipeVariants<typeof iconButtonRecipe>;
|
|
|
688
773
|
|
|
689
774
|
declare const defaultElement$8 = "button";
|
|
690
775
|
type IconButtonProps = ComponentProps<typeof defaultElement$8, IconButtonVariants>;
|
|
691
|
-
declare const IconButton: ({ asChild,
|
|
776
|
+
declare const IconButton: ({ asChild, ...props }: IconButtonProps) => react_jsx_runtime.JSX.Element;
|
|
692
777
|
|
|
693
778
|
declare const linkRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
694
779
|
color: {
|
|
@@ -714,26 +799,30 @@ type LinkVariants = NonNullable<RecipeVariants<typeof linkRecipe>>;
|
|
|
714
799
|
|
|
715
800
|
declare const defaultElement$7 = "a";
|
|
716
801
|
type LinkProps = ComponentProps<typeof defaultElement$7, LinkVariants>;
|
|
717
|
-
declare const Link: ({ asChild,
|
|
802
|
+
declare const Link: ({ asChild, ...props }: LinkProps) => react_jsx_runtime.JSX.Element;
|
|
718
803
|
|
|
719
|
-
|
|
804
|
+
type MenuProps = MenuPrimitive.MenuProps & MenuVariants & {
|
|
720
805
|
className?: string;
|
|
721
|
-
}
|
|
722
|
-
declare const
|
|
723
|
-
|
|
724
|
-
declare const
|
|
725
|
-
|
|
726
|
-
declare const
|
|
727
|
-
|
|
806
|
+
};
|
|
807
|
+
declare const Menu: ({ ...props }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
808
|
+
type MenuContentProps = MenuPrimitive.MenuContentProps & PanelVariants;
|
|
809
|
+
declare const MenuContent: ({ ...props }: MenuContentProps) => react_jsx_runtime.JSX.Element;
|
|
810
|
+
type MenuSeparatorProps = MenuPrimitive.MenuSeparatorProps & MenuSeparatorVariants;
|
|
811
|
+
declare const MenuSeparator: ({ ...props }: MenuSeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
812
|
+
type MenuItemProps = MenuPrimitive.MenuItemProps & MenuItemVariants;
|
|
813
|
+
declare const MenuItem: ({ ...props }: MenuItemProps) => react_jsx_runtime.JSX.Element;
|
|
814
|
+
type MenuRadioItemProps = MenuPrimitive.MenuRadioItemProps & MenuItemVariants;
|
|
815
|
+
declare const MenuRadioItem: ({ ...props }: MenuRadioItemProps) => react_jsx_runtime.JSX.Element;
|
|
816
|
+
type MenuCheckboxItemProps = MenuPrimitive.MenuCheckboxItemProps & MenuItemVariants;
|
|
817
|
+
declare const MenuCheckboxItem: ({ ...props }: MenuCheckboxItemProps) => react_jsx_runtime.JSX.Element;
|
|
818
|
+
type MenuLabelProps = MenuPrimitive.MenuLabelProps & MenuLabelVariants;
|
|
819
|
+
declare const MenuLabel: ({ ...props }: MenuLabelProps) => react_jsx_runtime.JSX.Element;
|
|
728
820
|
declare const MenuRadioGroup: react.ForwardRefExoticComponent<MenuPrimitive.MenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
729
821
|
declare const MenuGroup: react.ForwardRefExoticComponent<MenuPrimitive.MenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
730
822
|
|
|
731
|
-
declare const panelRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
732
|
-
type PanelVariants = NonNullable<RecipeVariants<typeof panelRecipe>>;
|
|
733
|
-
|
|
734
823
|
declare const defaultElement$6 = "div";
|
|
735
|
-
type
|
|
736
|
-
declare const Panel: ({ asChild, ...props }:
|
|
824
|
+
type PanelProps = ComponentProps<typeof defaultElement$6, PanelVariants>;
|
|
825
|
+
declare const Panel: ({ asChild, ...props }: PanelProps) => react_jsx_runtime.JSX.Element;
|
|
737
826
|
|
|
738
827
|
declare const defaultElement$5 = "p";
|
|
739
828
|
type ParagraphSizeVariants = "1" | "2";
|
|
@@ -745,7 +834,8 @@ declare const Paragraph: ({ asChild, color, size, weight, ...props }: ParagraphP
|
|
|
745
834
|
declare const separatorRecipe: _vanilla_extract_recipes.RuntimeFn<{}>;
|
|
746
835
|
type SeparatorVariants = NonNullable<RecipeVariants<typeof separatorRecipe>>;
|
|
747
836
|
|
|
748
|
-
|
|
837
|
+
type SeparatorProps = SeparatorPrimitive.SeparatorProps & SeparatorVariants;
|
|
838
|
+
declare const Separator: ({ ...props }: SeparatorProps) => react_jsx_runtime.JSX.Element;
|
|
749
839
|
|
|
750
840
|
declare const skeletonRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
751
841
|
variant: {
|
|
@@ -799,7 +889,7 @@ type SkeletonVariants = NonNullable<RecipeVariants<typeof skeletonRecipe>>;
|
|
|
799
889
|
|
|
800
890
|
declare const defaultElement$4 = "div";
|
|
801
891
|
type SkeletonProps = ComponentProps<typeof defaultElement$4, SkeletonVariants>;
|
|
802
|
-
declare const Skeleton: ({ asChild,
|
|
892
|
+
declare const Skeleton: ({ asChild, ...props }: SkeletonProps) => react_jsx_runtime.JSX.Element;
|
|
803
893
|
|
|
804
894
|
declare const spinnerRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
805
895
|
size: {
|
|
@@ -845,11 +935,11 @@ type SpinnerVariants = RecipeVariants<typeof spinnerRecipe>;
|
|
|
845
935
|
|
|
846
936
|
declare const defaultElement$3 = "div";
|
|
847
937
|
type SpinnerProps = ComponentProps<typeof defaultElement$3, SpinnerVariants>;
|
|
848
|
-
declare const Spinner: ({ asChild,
|
|
938
|
+
declare const Spinner: ({ asChild, ...props }: SpinnerProps) => react_jsx_runtime.JSX.Element;
|
|
849
939
|
|
|
850
940
|
declare const defaultElement$2 = "div";
|
|
851
|
-
type
|
|
852
|
-
declare const Status: ({ asChild, ...props }:
|
|
941
|
+
type StatusProps = ComponentProps<typeof defaultElement$2, StatusVariants>;
|
|
942
|
+
declare const Status: ({ asChild, ...props }: StatusProps) => react_jsx_runtime.JSX.Element;
|
|
853
943
|
|
|
854
944
|
declare const switchRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
855
945
|
size: {
|
|
@@ -865,7 +955,10 @@ declare const switchRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
|
865
955
|
}>;
|
|
866
956
|
type SwitchVariants = NonNullable<RecipeVariants<typeof switchRecipe>>;
|
|
867
957
|
|
|
868
|
-
|
|
958
|
+
type SwitchThumbProps = SwitchPrimitive.SwitchThumbProps;
|
|
959
|
+
declare const SwitchThumb: ({ ...props }: SwitchThumbProps) => react_jsx_runtime.JSX.Element;
|
|
960
|
+
type SwitchProps = SwitchPrimitive.SwitchProps & SwitchVariants;
|
|
961
|
+
declare const Switch: ({ ...props }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
869
962
|
|
|
870
963
|
declare const textFieldRecipe: _vanilla_extract_recipes.RuntimeFn<{
|
|
871
964
|
size: {
|
|
@@ -940,11 +1033,11 @@ type TextFieldVariants = NonNullable<RecipeVariants<typeof textFieldRecipe>>;
|
|
|
940
1033
|
|
|
941
1034
|
declare const defaultElement$1 = "input";
|
|
942
1035
|
type TextFieldProps = ComponentProps<typeof defaultElement$1, TextFieldVariants>;
|
|
943
|
-
declare const TextField: ({ asChild,
|
|
1036
|
+
declare const TextField: ({ asChild, ...props }: TextFieldProps) => react_jsx_runtime.JSX.Element;
|
|
944
1037
|
|
|
945
1038
|
declare const defaultElement = "span";
|
|
946
1039
|
type TextProps = ComponentProps<typeof defaultElement, TextVariants>;
|
|
947
|
-
declare const Text: ({ asChild,
|
|
1040
|
+
declare const Text: ({ asChild, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
|
|
948
1041
|
|
|
949
1042
|
declare const sprinkles: ((props: {
|
|
950
1043
|
display?: "initial" | "none" | "flex" | "block" | {
|
|
@@ -4835,4 +4928,4 @@ declare const lightTheme: string;
|
|
|
4835
4928
|
|
|
4836
4929
|
declare function mergeClasses(...classes: (string | undefined)[]): string;
|
|
4837
4930
|
|
|
4838
|
-
export { Avatar, Badge, Box, Button, Card, Container, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, Flex, Form, FormControl, FormField, FormLabel, FormMessage, FormSubmit, Grid, Heading, type HeadingProps, IconButton, Link, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSeparator, Panel, Paragraph, Separator, Skeleton, Spinner, type Sprinkles, Status, Switch, Text, TextField, darkTheme, hide, lightTheme, mergeClasses, pulse, spin, sprinkles, theme };
|
|
4931
|
+
export { Avatar, Badge, Box, Button, Card, Container, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, Flex, Form, FormControl, FormField, FormLabel, FormMessage, FormSubmit, Grid, Heading, type HeadingProps, IconButton, Link, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSeparator, Panel, Paragraph, Separator, Skeleton, Spinner, type Sprinkles, Status, Switch, SwitchThumb, Text, TextField, darkTheme, hide, lightTheme, mergeClasses, pulse, spin, sprinkles, theme };
|