@lets-events/react 11.6.4 → 11.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +2 -2
- package/.turbo/turbo-build.log +18 -20
- package/CHANGELOG.md +12 -0
- package/dist/index.css +171 -0
- package/dist/index.d.mts +65 -435
- package/dist/index.d.ts +65 -435
- package/dist/index.js +364 -269
- package/dist/index.mjs +365 -264
- package/package.json +1 -2
- package/src/components/Alert.tsx +303 -303
- package/src/components/Avatar.tsx +55 -55
- package/src/components/Badge.tsx +125 -125
- package/src/components/Box.tsx +3 -3
- package/src/components/Button/index.tsx +16 -16
- package/src/components/Button/styledComponents.ts +287 -287
- package/src/components/ButtonGroup.tsx +484 -484
- package/src/components/Calendar/index.tsx +136 -136
- package/src/components/Calendar/styledComponents.ts +209 -209
- package/src/components/Card.tsx +48 -48
- package/src/components/CheckboxGroup.tsx +176 -176
- package/src/components/Container.tsx +39 -39
- package/src/components/Drawer/index.tsx +48 -48
- package/src/components/Drawer/styledComponents.ts +46 -46
- package/src/components/Dropdown.tsx +302 -194
- package/src/components/Filter.tsx +164 -164
- package/src/components/Flex.tsx +118 -118
- package/src/components/FormFields/AddressFormFields/CityFormField.tsx +111 -111
- package/src/components/FormFields/AddressFormFields/CountryFormField.tsx +33 -33
- package/src/components/FormFields/AddressFormFields/PostalCodeFormField.tsx +39 -45
- package/src/components/FormFields/AddressFormFields/StateFormField.tsx +32 -32
- package/src/components/FormFields/AddressFormFields/index.tsx +141 -139
- package/src/components/FormFields/BirthDateFormField.tsx +85 -87
- package/src/components/FormFields/CNPJFormField.tsx +87 -89
- package/src/components/FormFields/CPFFormField.tsx +77 -79
- package/src/components/FormFields/CheckboxGroupFormField.tsx +90 -90
- package/src/components/FormFields/Form.tsx +28 -29
- package/src/components/FormFields/IdentityDocumentNumberFormField.tsx +40 -42
- package/src/components/FormFields/MultiSelectFormField.tsx +55 -59
- package/src/components/FormFields/PhoneFormField.tsx +40 -130
- package/src/components/FormFields/RadioGroupFormField.tsx +84 -84
- package/src/components/FormFields/SelectFormField.tsx +93 -93
- package/src/components/FormFields/TextAreaFormField.tsx +48 -48
- package/src/components/FormFields/TextFormField.tsx +107 -76
- package/src/components/FormFields/{ErrorFormMessage.tsx → subComponents/ErrorFormMessage.tsx} +36 -36
- package/src/components/FormFields/{FormLabel.tsx → subComponents/FormLabel.tsx} +29 -29
- package/src/components/FormFields/utils/validation.ts +20 -0
- package/src/components/Grid.tsx +137 -137
- package/src/components/Icon.tsx +47 -47
- package/src/components/MenuDropdown/index.tsx +30 -30
- package/src/components/MenuDropdown/styledComponents.ts +31 -31
- package/src/components/Modal.tsx +90 -90
- package/src/components/MultiSelect.tsx +218 -218
- package/src/components/RadioGroup.tsx +210 -210
- package/src/components/Section.tsx +33 -33
- package/src/components/Step.tsx +164 -164
- package/src/components/Switch.tsx +108 -108
- package/src/components/Text.tsx +38 -38
- package/src/components/TextField.tsx +316 -312
- package/src/components/TextareaField.tsx +128 -128
- package/src/components/TimePicker.tsx +298 -298
- package/src/components/Toast/components/ToastItem.tsx +41 -41
- package/src/components/Toast/components/ToastProvider.tsx +63 -63
- package/src/components/Toast/hooks/useToast.ts +12 -12
- package/src/components/Toast/index.tsx +5 -5
- package/src/components/Toast/styles/index.ts +135 -135
- package/src/components/Toast/types/index.ts +46 -46
- package/src/components/Tooltip/index.tsx +66 -66
- package/src/components/Tooltip/styles.ts +77 -77
- package/src/hooks/useCountries.ts +41 -41
- package/src/hooks/useOnClickOutside.tsx +20 -20
- package/src/index.tsx +54 -54
- package/src/styles/index.ts +38 -38
- package/src/types/typographyValues.ts +178 -178
- package/src/utils/getNestedValue.ts +3 -3
- package/src/utils/states.ts +29 -29
- package/tsconfig.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
6
6
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
7
|
-
import * as
|
|
8
|
-
import
|
|
7
|
+
import * as React$1 from 'react';
|
|
8
|
+
import React__default, { ComponentProps, ElementType, ReactNode, MouseEvent, JSX } from 'react';
|
|
9
9
|
import * as _radix_ui_themes from '@radix-ui/themes';
|
|
10
10
|
import { TextField as TextField$1, RadioGroup as RadioGroup$1, CheckboxGroup as CheckboxGroup$1, DropdownMenu as DropdownMenu$1, AlertDialog, Switch as Switch$1 } from '@radix-ui/themes';
|
|
11
11
|
import { Colors } from '@lets-events/tokens';
|
|
@@ -31,7 +31,7 @@ declare const Icon: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
declare const TextStyle: _stitches_react_types_styled_component.StyledComponent<
|
|
34
|
+
declare const TextStyle: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.TextProps & React$1.RefAttributes<HTMLSpanElement>>, {
|
|
35
35
|
typography?: "tooltip" | "displayLarge" | "displayMedium" | "displaySmall" | "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headline7" | "headline8" | "bodyXL" | "bodyL" | "bodyM" | "bodyS" | "bodyXS" | "bodyXXS" | "badgeLarge" | "badgeMedium" | "badgeSmall" | "badgeExtraSmall" | "popoversRegular" | "captionLarge" | "captionMedium" | "captionSmall" | "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
36
36
|
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
37
37
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
@@ -411,7 +411,7 @@ type TextProps = Omit<ComponentProps<typeof TextStyle>, "color"> & {
|
|
|
411
411
|
};
|
|
412
412
|
declare function Text({ color, ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
413
413
|
|
|
414
|
-
declare const ButtonStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
414
|
+
declare const ButtonStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.ButtonProps & React$1.RefAttributes<HTMLButtonElement>>, {
|
|
415
415
|
color?: "info" | "warning" | "purple" | "white" | "brand" | "error" | "success" | "neutral" | undefined;
|
|
416
416
|
size?: "medium" | "small" | "large" | "extraSmall" | undefined;
|
|
417
417
|
variant?: "text" | "contained" | "outlined" | "menuDropdownItem" | undefined;
|
|
@@ -795,7 +795,7 @@ interface ButtonProps extends ComponentProps<typeof ButtonStyled>, ButtonVariant
|
|
|
795
795
|
}
|
|
796
796
|
declare function Button({ asChild, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
797
797
|
|
|
798
|
-
declare const ButtonItemStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
798
|
+
declare const ButtonItemStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.ButtonProps & React$1.RefAttributes<HTMLButtonElement>>, {
|
|
799
799
|
active?: boolean | "true" | undefined;
|
|
800
800
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
801
801
|
colors: {
|
|
@@ -1167,7 +1167,7 @@ declare const ButtonItemStyled: _stitches_react_types_styled_component.StyledCom
|
|
|
1167
1167
|
transition: "transitions";
|
|
1168
1168
|
zIndex: "zIndices";
|
|
1169
1169
|
}, {}>>;
|
|
1170
|
-
declare const ButtonGroupStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
1170
|
+
declare const ButtonGroupStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.FlexProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
1171
1171
|
color?: "blue" | "green" | "purple" | "red" | "brand" | "neutral" | undefined;
|
|
1172
1172
|
variant?: "text" | "contained" | "outlined" | undefined;
|
|
1173
1173
|
typography?: "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | undefined;
|
|
@@ -1548,7 +1548,7 @@ type ButtonGroupProps = ComponentProps<typeof ButtonGroupStyled>;
|
|
|
1548
1548
|
declare function ButtonItem({ children, active, ...props }: ButtonItemProps): react_jsx_runtime.JSX.Element;
|
|
1549
1549
|
declare function ButtonGroup({ children, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
1550
1550
|
|
|
1551
|
-
declare const AvatarStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
1551
|
+
declare const AvatarStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.AvatarProps & React$1.RefAttributes<HTMLImageElement>>, {
|
|
1552
1552
|
size?: "xs" | "sm" | "md" | "xl" | "lg" | undefined;
|
|
1553
1553
|
radii?: "full" | undefined;
|
|
1554
1554
|
variant?: "without-image" | "with-image" | undefined;
|
|
@@ -1929,7 +1929,7 @@ type AvatarProps = ComponentProps<typeof AvatarStyled> & {
|
|
|
1929
1929
|
};
|
|
1930
1930
|
declare function Avatar({ asChild, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
1931
1931
|
|
|
1932
|
-
declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
1932
|
+
declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComponent<React__default.ForwardRefExoticComponent<TextField$1.RootProps & React__default.RefAttributes<HTMLInputElement>>, {
|
|
1933
1933
|
color?: "default" | "error" | undefined;
|
|
1934
1934
|
typography?: "tooltip" | "displayLarge" | "displayMedium" | "displaySmall" | "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headline7" | "headline8" | "bodyXL" | "bodyL" | "bodyM" | "bodyS" | "bodyXS" | "bodyXXS" | "badgeLarge" | "badgeMedium" | "badgeSmall" | "badgeExtraSmall" | "popoversRegular" | "captionLarge" | "captionMedium" | "captionSmall" | "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
1935
1935
|
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
@@ -2305,7 +2305,7 @@ declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComp
|
|
|
2305
2305
|
transition: "transitions";
|
|
2306
2306
|
zIndex: "zIndices";
|
|
2307
2307
|
}, {}>>;
|
|
2308
|
-
declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
2308
|
+
declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<React__default.ForwardRefExoticComponent<TextField$1.SlotProps & React__default.RefAttributes<HTMLDivElement>>, {
|
|
2309
2309
|
typography?: "tooltip" | "displayLarge" | "displayMedium" | "displaySmall" | "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headline7" | "headline8" | "bodyXL" | "bodyL" | "bodyM" | "bodyS" | "bodyXS" | "bodyXXS" | "badgeLarge" | "badgeMedium" | "badgeSmall" | "badgeExtraSmall" | "popoversRegular" | "captionLarge" | "captionMedium" | "captionSmall" | "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
2310
2310
|
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
2311
2311
|
textAlign?: "left" | "right" | "center" | undefined;
|
|
@@ -2682,7 +2682,7 @@ declare const TextFieldSlotStyled: _stitches_react_types_styled_component.Styled
|
|
|
2682
2682
|
type TextFieldProps = ComponentProps<typeof TextFieldStyled> & {
|
|
2683
2683
|
addon?: ReactNode;
|
|
2684
2684
|
placeholder?: string;
|
|
2685
|
-
children?:
|
|
2685
|
+
children?: React__default.ReactNode;
|
|
2686
2686
|
isValid?: boolean;
|
|
2687
2687
|
name?: string;
|
|
2688
2688
|
typography?: string;
|
|
@@ -2692,7 +2692,7 @@ type TextFieldProps = ComponentProps<typeof TextFieldStyled> & {
|
|
|
2692
2692
|
};
|
|
2693
2693
|
type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, "color"> & {
|
|
2694
2694
|
placeholder?: string;
|
|
2695
|
-
children?:
|
|
2695
|
+
children?: React__default.ReactNode;
|
|
2696
2696
|
position?: "flex-start" | "flex-end";
|
|
2697
2697
|
onClick?: () => void;
|
|
2698
2698
|
color?: "error" | "success" | undefined;
|
|
@@ -2702,10 +2702,10 @@ type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, "color">
|
|
|
2702
2702
|
};
|
|
2703
2703
|
declare const maskFormat: typeof format;
|
|
2704
2704
|
declare const maskUnformat: typeof unformat;
|
|
2705
|
-
declare const TextField:
|
|
2705
|
+
declare const TextField: React__default.ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
2706
2706
|
declare function TextFieldSlot({ children, position, onClick, typography, fontWeight, textAlign, ...props }: TextFieldSlotProps): react_jsx_runtime.JSX.Element;
|
|
2707
2707
|
|
|
2708
|
-
declare const RadioGroupStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
2708
|
+
declare const RadioGroupStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<RadioGroup$1.RootProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
2709
2709
|
color?: "blue" | "error" | "success" | undefined;
|
|
2710
2710
|
disabled?: boolean | "false" | "true" | undefined;
|
|
2711
2711
|
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
@@ -3095,7 +3095,7 @@ type RadioItemProps = {
|
|
|
3095
3095
|
declare function RadioGroup({ children, disabled, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
3096
3096
|
declare function RadioItem({ children, ...props }: RadioItemProps): react_jsx_runtime.JSX.Element;
|
|
3097
3097
|
|
|
3098
|
-
declare const CheckboxGroupStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
3098
|
+
declare const CheckboxGroupStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<CheckboxGroup$1.RootProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
3099
3099
|
color?: "blue" | "error" | "success" | undefined;
|
|
3100
3100
|
disabled?: boolean | "false" | "true" | undefined;
|
|
3101
3101
|
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
@@ -3470,7 +3470,7 @@ declare const CheckboxGroupStyled: _stitches_react_types_styled_component.Styled
|
|
|
3470
3470
|
transition: "transitions";
|
|
3471
3471
|
zIndex: "zIndices";
|
|
3472
3472
|
}, {}>>;
|
|
3473
|
-
declare const StyledItem: _stitches_react_types_styled_component.StyledComponent<
|
|
3473
|
+
declare const StyledItem: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<CheckboxGroup$1.ItemProps & React$1.RefAttributes<HTMLButtonElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3474
3474
|
colors: {
|
|
3475
3475
|
brand50: string;
|
|
3476
3476
|
brand100: string;
|
|
@@ -3869,397 +3869,30 @@ type FilterItemProps = ComponentProps<typeof CheckboxItem> & {
|
|
|
3869
3869
|
declare function Filter({ children, placeholder, typography, fontWeight, ...props }: FilterProps): react_jsx_runtime.JSX.Element;
|
|
3870
3870
|
declare function FilterItem({ children, ...props }: FilterItemProps): react_jsx_runtime.JSX.Element;
|
|
3871
3871
|
|
|
3872
|
-
|
|
3873
|
-
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
3874
|
-
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3875
|
-
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3876
|
-
colors: {
|
|
3877
|
-
brand50: string;
|
|
3878
|
-
brand100: string;
|
|
3879
|
-
brand200: string;
|
|
3880
|
-
brand300: string;
|
|
3881
|
-
brand400: string;
|
|
3882
|
-
brand500: string;
|
|
3883
|
-
brand600: string;
|
|
3884
|
-
brand700: string;
|
|
3885
|
-
brand800: string;
|
|
3886
|
-
brand900: string;
|
|
3887
|
-
brand950: string;
|
|
3888
|
-
blue50: string;
|
|
3889
|
-
blue100: string;
|
|
3890
|
-
blue200: string;
|
|
3891
|
-
blue300: string;
|
|
3892
|
-
blue400: string;
|
|
3893
|
-
blue500: string;
|
|
3894
|
-
blue600: string;
|
|
3895
|
-
blue700: string;
|
|
3896
|
-
blue800: string;
|
|
3897
|
-
blue900: string;
|
|
3898
|
-
blue950: string;
|
|
3899
|
-
red50: string;
|
|
3900
|
-
red100: string;
|
|
3901
|
-
red200: string;
|
|
3902
|
-
red300: string;
|
|
3903
|
-
red400: string;
|
|
3904
|
-
red500: string;
|
|
3905
|
-
red600: string;
|
|
3906
|
-
red700: string;
|
|
3907
|
-
red800: string;
|
|
3908
|
-
red900: string;
|
|
3909
|
-
red950: string;
|
|
3910
|
-
purple50: string;
|
|
3911
|
-
purple100: string;
|
|
3912
|
-
purple200: string;
|
|
3913
|
-
purple300: string;
|
|
3914
|
-
purple400: string;
|
|
3915
|
-
purple500: string;
|
|
3916
|
-
purple600: string;
|
|
3917
|
-
purple700: string;
|
|
3918
|
-
purple800: string;
|
|
3919
|
-
purple900: string;
|
|
3920
|
-
purple950: string;
|
|
3921
|
-
yellow50: string;
|
|
3922
|
-
yellow100: string;
|
|
3923
|
-
yellow200: string;
|
|
3924
|
-
yellow300: string;
|
|
3925
|
-
yellow400: string;
|
|
3926
|
-
yellow500: string;
|
|
3927
|
-
yellow600: string;
|
|
3928
|
-
yellow700: string;
|
|
3929
|
-
yellow800: string;
|
|
3930
|
-
yellow900: string;
|
|
3931
|
-
yellow950: string;
|
|
3932
|
-
dark50: string;
|
|
3933
|
-
dark100: string;
|
|
3934
|
-
dark200: string;
|
|
3935
|
-
dark300: string;
|
|
3936
|
-
dark400: string;
|
|
3937
|
-
dark500: string;
|
|
3938
|
-
dark600: string;
|
|
3939
|
-
dark700: string;
|
|
3940
|
-
dark800: string;
|
|
3941
|
-
dark900: string;
|
|
3942
|
-
dark950: string;
|
|
3943
|
-
neutral50: string;
|
|
3944
|
-
neutral100: string;
|
|
3945
|
-
neutral200: string;
|
|
3946
|
-
neutral300: string;
|
|
3947
|
-
neutral400: string;
|
|
3948
|
-
neutral500: string;
|
|
3949
|
-
neutral600: string;
|
|
3950
|
-
neutral700: string;
|
|
3951
|
-
neutral800: string;
|
|
3952
|
-
neutral900: string;
|
|
3953
|
-
neutral950: string;
|
|
3954
|
-
green50: string;
|
|
3955
|
-
green100: string;
|
|
3956
|
-
green200: string;
|
|
3957
|
-
green300: string;
|
|
3958
|
-
green400: string;
|
|
3959
|
-
green500: string;
|
|
3960
|
-
green600: string;
|
|
3961
|
-
green700: string;
|
|
3962
|
-
green800: string;
|
|
3963
|
-
green900: string;
|
|
3964
|
-
green950: string;
|
|
3965
|
-
grey50: string;
|
|
3966
|
-
grey100: string;
|
|
3967
|
-
grey200: string;
|
|
3968
|
-
grey300: string;
|
|
3969
|
-
grey400: string;
|
|
3970
|
-
grey500: string;
|
|
3971
|
-
grey600: string;
|
|
3972
|
-
grey700: string;
|
|
3973
|
-
grey800: string;
|
|
3974
|
-
grey900: string;
|
|
3975
|
-
grey950: string;
|
|
3976
|
-
error50: string;
|
|
3977
|
-
error100: string;
|
|
3978
|
-
error200: string;
|
|
3979
|
-
error300: string;
|
|
3980
|
-
error400: string;
|
|
3981
|
-
error500: string;
|
|
3982
|
-
error600: string;
|
|
3983
|
-
error700: string;
|
|
3984
|
-
error800: string;
|
|
3985
|
-
error900: string;
|
|
3986
|
-
error950: string;
|
|
3987
|
-
success50: string;
|
|
3988
|
-
success100: string;
|
|
3989
|
-
success200: string;
|
|
3990
|
-
success300: string;
|
|
3991
|
-
success400: string;
|
|
3992
|
-
success500: string;
|
|
3993
|
-
success600: string;
|
|
3994
|
-
success700: string;
|
|
3995
|
-
success800: string;
|
|
3996
|
-
success900: string;
|
|
3997
|
-
success950: string;
|
|
3998
|
-
warning50: string;
|
|
3999
|
-
warning100: string;
|
|
4000
|
-
warning200: string;
|
|
4001
|
-
warning300: string;
|
|
4002
|
-
warning400: string;
|
|
4003
|
-
warning500: string;
|
|
4004
|
-
warning600: string;
|
|
4005
|
-
warning700: string;
|
|
4006
|
-
warning800: string;
|
|
4007
|
-
warning900: string;
|
|
4008
|
-
warning950: string;
|
|
4009
|
-
info50: string;
|
|
4010
|
-
info100: string;
|
|
4011
|
-
info200: string;
|
|
4012
|
-
info300: string;
|
|
4013
|
-
info400: string;
|
|
4014
|
-
info500: string;
|
|
4015
|
-
info600: string;
|
|
4016
|
-
info700: string;
|
|
4017
|
-
info800: string;
|
|
4018
|
-
info900: string;
|
|
4019
|
-
info950: string;
|
|
4020
|
-
};
|
|
4021
|
-
fontSizes: {
|
|
4022
|
-
2: string;
|
|
4023
|
-
4: string;
|
|
4024
|
-
6: string;
|
|
4025
|
-
8: string;
|
|
4026
|
-
10: string;
|
|
4027
|
-
12: string;
|
|
4028
|
-
13: string;
|
|
4029
|
-
14: string;
|
|
4030
|
-
16: string;
|
|
4031
|
-
18: string;
|
|
4032
|
-
20: string;
|
|
4033
|
-
22: string;
|
|
4034
|
-
24: string;
|
|
4035
|
-
32: string;
|
|
4036
|
-
36: string;
|
|
4037
|
-
40: string;
|
|
4038
|
-
48: string;
|
|
4039
|
-
56: string;
|
|
4040
|
-
64: string;
|
|
4041
|
-
72: string;
|
|
4042
|
-
80: string;
|
|
4043
|
-
xs: string;
|
|
4044
|
-
sm: string;
|
|
4045
|
-
md: string;
|
|
4046
|
-
lg: string;
|
|
4047
|
-
'2xl': string;
|
|
4048
|
-
'3xl': string;
|
|
4049
|
-
'4xl': string;
|
|
4050
|
-
full: string;
|
|
4051
|
-
};
|
|
4052
|
-
fonts: {
|
|
4053
|
-
default: string;
|
|
4054
|
-
};
|
|
4055
|
-
fontWeights: {
|
|
4056
|
-
regular: string;
|
|
4057
|
-
medium: string;
|
|
4058
|
-
semibold: string;
|
|
4059
|
-
bold: string;
|
|
4060
|
-
};
|
|
4061
|
-
lineHeights: {
|
|
4062
|
-
smaller: string;
|
|
4063
|
-
shorter: string;
|
|
4064
|
-
short: string;
|
|
4065
|
-
base: string;
|
|
4066
|
-
tall: string;
|
|
4067
|
-
};
|
|
4068
|
-
radii: {
|
|
4069
|
-
'3xs': string;
|
|
4070
|
-
'2xs': string;
|
|
4071
|
-
xs: string;
|
|
4072
|
-
sm: string;
|
|
4073
|
-
md: string;
|
|
4074
|
-
lg: string;
|
|
4075
|
-
xl: string;
|
|
4076
|
-
'2xl': string;
|
|
4077
|
-
'3xl': string;
|
|
4078
|
-
'4xl': string;
|
|
4079
|
-
'5xl': string;
|
|
4080
|
-
'6xl': string;
|
|
4081
|
-
'7xl': string;
|
|
4082
|
-
'8xl': string;
|
|
4083
|
-
'9xl': string;
|
|
4084
|
-
'10xl': string;
|
|
4085
|
-
'11xl': string;
|
|
4086
|
-
'12xl': string;
|
|
4087
|
-
'13xl': string;
|
|
4088
|
-
'14xl': string;
|
|
4089
|
-
full: string;
|
|
4090
|
-
};
|
|
4091
|
-
space: {
|
|
4092
|
-
2: string;
|
|
4093
|
-
4: string;
|
|
4094
|
-
6: string;
|
|
4095
|
-
8: string;
|
|
4096
|
-
10: string;
|
|
4097
|
-
12: string;
|
|
4098
|
-
13: string;
|
|
4099
|
-
14: string;
|
|
4100
|
-
16: string;
|
|
4101
|
-
18: string;
|
|
4102
|
-
20: string;
|
|
4103
|
-
22: string;
|
|
4104
|
-
24: string;
|
|
4105
|
-
32: string;
|
|
4106
|
-
36: string;
|
|
4107
|
-
40: string;
|
|
4108
|
-
48: string;
|
|
4109
|
-
56: string;
|
|
4110
|
-
64: string;
|
|
4111
|
-
72: string;
|
|
4112
|
-
80: string;
|
|
4113
|
-
full: string;
|
|
4114
|
-
};
|
|
4115
|
-
}, {
|
|
4116
|
-
height: "space";
|
|
4117
|
-
width: "space";
|
|
4118
|
-
gap: "space";
|
|
4119
|
-
gridGap: "space";
|
|
4120
|
-
columnGap: "space";
|
|
4121
|
-
gridColumnGap: "space";
|
|
4122
|
-
rowGap: "space";
|
|
4123
|
-
gridRowGap: "space";
|
|
4124
|
-
inset: "space";
|
|
4125
|
-
insetBlock: "space";
|
|
4126
|
-
insetBlockEnd: "space";
|
|
4127
|
-
insetBlockStart: "space";
|
|
4128
|
-
insetInline: "space";
|
|
4129
|
-
insetInlineEnd: "space";
|
|
4130
|
-
insetInlineStart: "space";
|
|
4131
|
-
margin: "space";
|
|
4132
|
-
marginTop: "space";
|
|
4133
|
-
marginRight: "space";
|
|
4134
|
-
marginBottom: "space";
|
|
4135
|
-
marginLeft: "space";
|
|
4136
|
-
marginBlock: "space";
|
|
4137
|
-
marginBlockEnd: "space";
|
|
4138
|
-
marginBlockStart: "space";
|
|
4139
|
-
marginInline: "space";
|
|
4140
|
-
marginInlineEnd: "space";
|
|
4141
|
-
marginInlineStart: "space";
|
|
4142
|
-
padding: "space";
|
|
4143
|
-
paddingTop: "space";
|
|
4144
|
-
paddingRight: "space";
|
|
4145
|
-
paddingBottom: "space";
|
|
4146
|
-
paddingLeft: "space";
|
|
4147
|
-
paddingBlock: "space";
|
|
4148
|
-
paddingBlockEnd: "space";
|
|
4149
|
-
paddingBlockStart: "space";
|
|
4150
|
-
paddingInline: "space";
|
|
4151
|
-
paddingInlineEnd: "space";
|
|
4152
|
-
paddingInlineStart: "space";
|
|
4153
|
-
scrollMargin: "space";
|
|
4154
|
-
scrollMarginTop: "space";
|
|
4155
|
-
scrollMarginRight: "space";
|
|
4156
|
-
scrollMarginBottom: "space";
|
|
4157
|
-
scrollMarginLeft: "space";
|
|
4158
|
-
scrollMarginBlock: "space";
|
|
4159
|
-
scrollMarginBlockEnd: "space";
|
|
4160
|
-
scrollMarginBlockStart: "space";
|
|
4161
|
-
scrollMarginInline: "space";
|
|
4162
|
-
scrollMarginInlineEnd: "space";
|
|
4163
|
-
scrollMarginInlineStart: "space";
|
|
4164
|
-
scrollPadding: "space";
|
|
4165
|
-
scrollPaddingTop: "space";
|
|
4166
|
-
scrollPaddingRight: "space";
|
|
4167
|
-
scrollPaddingBottom: "space";
|
|
4168
|
-
scrollPaddingLeft: "space";
|
|
4169
|
-
scrollPaddingBlock: "space";
|
|
4170
|
-
scrollPaddingBlockEnd: "space";
|
|
4171
|
-
scrollPaddingBlockStart: "space";
|
|
4172
|
-
scrollPaddingInline: "space";
|
|
4173
|
-
scrollPaddingInlineEnd: "space";
|
|
4174
|
-
scrollPaddingInlineStart: "space";
|
|
4175
|
-
top: "space";
|
|
4176
|
-
right: "space";
|
|
4177
|
-
bottom: "space";
|
|
4178
|
-
left: "space";
|
|
4179
|
-
fontSize: "fontSizes";
|
|
4180
|
-
background: "colors";
|
|
4181
|
-
backgroundColor: "colors";
|
|
4182
|
-
backgroundImage: "colors";
|
|
4183
|
-
borderImage: "colors";
|
|
4184
|
-
border: "colors";
|
|
4185
|
-
borderBlock: "colors";
|
|
4186
|
-
borderBlockEnd: "colors";
|
|
4187
|
-
borderBlockStart: "colors";
|
|
4188
|
-
borderBottom: "colors";
|
|
4189
|
-
borderBottomColor: "colors";
|
|
4190
|
-
borderColor: "colors";
|
|
4191
|
-
borderInline: "colors";
|
|
4192
|
-
borderInlineEnd: "colors";
|
|
4193
|
-
borderInlineStart: "colors";
|
|
4194
|
-
borderLeft: "colors";
|
|
4195
|
-
borderLeftColor: "colors";
|
|
4196
|
-
borderRight: "colors";
|
|
4197
|
-
borderRightColor: "colors";
|
|
4198
|
-
borderTop: "colors";
|
|
4199
|
-
borderTopColor: "colors";
|
|
4200
|
-
caretColor: "colors";
|
|
4201
|
-
color: "colors";
|
|
4202
|
-
columnRuleColor: "colors";
|
|
4203
|
-
outline: "colors";
|
|
4204
|
-
outlineColor: "colors";
|
|
4205
|
-
fill: "colors";
|
|
4206
|
-
stroke: "colors";
|
|
4207
|
-
textDecorationColor: "colors";
|
|
4208
|
-
fontFamily: "fonts";
|
|
4209
|
-
fontWeight: "fontWeights";
|
|
4210
|
-
lineHeight: "lineHeights";
|
|
4211
|
-
letterSpacing: "letterSpacings";
|
|
4212
|
-
blockSize: "sizes";
|
|
4213
|
-
minBlockSize: "sizes";
|
|
4214
|
-
maxBlockSize: "sizes";
|
|
4215
|
-
inlineSize: "sizes";
|
|
4216
|
-
minInlineSize: "sizes";
|
|
4217
|
-
maxInlineSize: "sizes";
|
|
4218
|
-
minWidth: "sizes";
|
|
4219
|
-
maxWidth: "sizes";
|
|
4220
|
-
minHeight: "sizes";
|
|
4221
|
-
maxHeight: "sizes";
|
|
4222
|
-
flexBasis: "sizes";
|
|
4223
|
-
gridTemplateColumns: "sizes";
|
|
4224
|
-
gridTemplateRows: "sizes";
|
|
4225
|
-
borderWidth: "borderWidths";
|
|
4226
|
-
borderTopWidth: "borderWidths";
|
|
4227
|
-
borderLeftWidth: "borderWidths";
|
|
4228
|
-
borderRightWidth: "borderWidths";
|
|
4229
|
-
borderBottomWidth: "borderWidths";
|
|
4230
|
-
borderStyle: "borderStyles";
|
|
4231
|
-
borderTopStyle: "borderStyles";
|
|
4232
|
-
borderLeftStyle: "borderStyles";
|
|
4233
|
-
borderRightStyle: "borderStyles";
|
|
4234
|
-
borderBottomStyle: "borderStyles";
|
|
4235
|
-
borderRadius: "radii";
|
|
4236
|
-
borderTopLeftRadius: "radii";
|
|
4237
|
-
borderTopRightRadius: "radii";
|
|
4238
|
-
borderBottomRightRadius: "radii";
|
|
4239
|
-
borderBottomLeftRadius: "radii";
|
|
4240
|
-
boxShadow: "shadows";
|
|
4241
|
-
textShadow: "shadows";
|
|
4242
|
-
transition: "transitions";
|
|
4243
|
-
zIndex: "zIndices";
|
|
4244
|
-
}, {}>>;
|
|
4245
|
-
type DropdownMenuProps = ComponentProps<typeof DropdownMenu$1.Root> & {
|
|
3872
|
+
type DropdownMenuProps = {
|
|
4246
3873
|
as?: ElementType;
|
|
4247
3874
|
placeholder?: string;
|
|
4248
3875
|
fontWeight: "regular" | "medium" | "semibold" | "bold";
|
|
4249
3876
|
typography: "labelExtraSmall" | "labelSmall" | "labelMedium" | "labelLarge";
|
|
4250
|
-
children:
|
|
3877
|
+
children: ReactNode;
|
|
4251
3878
|
color?: "default" | "error";
|
|
3879
|
+
open?: boolean;
|
|
3880
|
+
onOpenChange?: (open: boolean) => void;
|
|
3881
|
+
defaultOpen?: boolean;
|
|
4252
3882
|
};
|
|
4253
|
-
type DropdownMenuItemProps =
|
|
3883
|
+
type DropdownMenuItemProps = {
|
|
4254
3884
|
as?: ElementType;
|
|
4255
3885
|
value: string;
|
|
4256
3886
|
typography: DropdownMenuProps["typography"];
|
|
4257
3887
|
fontWeight: DropdownMenuProps["fontWeight"];
|
|
3888
|
+
children: ReactNode;
|
|
3889
|
+
onSelect?: (value: string) => void;
|
|
3890
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
4258
3891
|
};
|
|
4259
|
-
declare function DropdownMenu({ children, placeholder, typography, color, fontWeight, ...props }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
4260
|
-
declare function DropdownMenuItem({ children, typography, fontWeight, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
3892
|
+
declare function DropdownMenu({ children, placeholder, typography, color, fontWeight, open: controlledOpen, onOpenChange, defaultOpen, ...props }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
3893
|
+
declare function DropdownMenuItem({ children, typography, fontWeight, value, onSelect, onClick, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
4261
3894
|
|
|
4262
|
-
declare const BadgeStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
3895
|
+
declare const BadgeStyled: _stitches_react_types_styled_component.StyledComponent<React__default.ForwardRefExoticComponent<_radix_ui_themes.BadgeProps & React__default.RefAttributes<HTMLSpanElement>>, {
|
|
4263
3896
|
color?: "blue" | "green" | "grey" | "orange" | "pink" | "purple" | "red" | "yellow" | "dark" | "light" | "primary" | "disable" | undefined;
|
|
4264
3897
|
size?: "xs" | "sm" | "md" | "xl" | undefined;
|
|
4265
3898
|
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
@@ -4637,7 +4270,7 @@ declare const BadgeStyled: _stitches_react_types_styled_component.StyledComponen
|
|
|
4637
4270
|
type BadgeProps = ComponentProps<typeof BadgeStyled> & {
|
|
4638
4271
|
as?: ElementType;
|
|
4639
4272
|
icon?: boolean;
|
|
4640
|
-
children:
|
|
4273
|
+
children: React__default.ReactNode;
|
|
4641
4274
|
};
|
|
4642
4275
|
declare function Badge({ asChild, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
4643
4276
|
|
|
@@ -5398,7 +5031,7 @@ declare const CalendarStyled: _stitches_react_types_styled_component.StyledCompo
|
|
|
5398
5031
|
type CalendarProps = ComponentProps<typeof CalendarStyled> & {
|
|
5399
5032
|
calendarLayout?: "label" | "dropdown" | "dropdown-months" | "dropdown-years";
|
|
5400
5033
|
selected: Date | undefined;
|
|
5401
|
-
setSelected:
|
|
5034
|
+
setSelected: React__default.Dispatch<React__default.SetStateAction<Date | undefined>>;
|
|
5402
5035
|
position?: "top" | "bottom";
|
|
5403
5036
|
action?: boolean;
|
|
5404
5037
|
actionText?: string;
|
|
@@ -8008,12 +7641,12 @@ declare const TimePickerButtonStyled: _stitches_react_types_styled_component.Sty
|
|
|
8008
7641
|
}, {}>>;
|
|
8009
7642
|
type TimePickerProps = {
|
|
8010
7643
|
selected: string | undefined;
|
|
8011
|
-
setSelected:
|
|
7644
|
+
setSelected: React__default.Dispatch<React__default.SetStateAction<string | undefined>>;
|
|
8012
7645
|
position?: "bottom" | "top";
|
|
8013
7646
|
};
|
|
8014
7647
|
declare function TimePicker({ selected, setSelected, position, }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
8015
7648
|
|
|
8016
|
-
declare const AlertDialogSimpleStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
7649
|
+
declare const AlertDialogSimpleStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<AlertDialog.ContentProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
8017
7650
|
color?: "info" | "warning" | "error" | "success" | undefined;
|
|
8018
7651
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
8019
7652
|
colors: {
|
|
@@ -8385,7 +8018,7 @@ declare const AlertDialogSimpleStyled: _stitches_react_types_styled_component.St
|
|
|
8385
8018
|
transition: "transitions";
|
|
8386
8019
|
zIndex: "zIndices";
|
|
8387
8020
|
}, {}>>;
|
|
8388
|
-
declare const AlertDialogCompleteStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
8021
|
+
declare const AlertDialogCompleteStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<AlertDialog.ContentProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
8389
8022
|
color?: undefined;
|
|
8390
8023
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
8391
8024
|
colors: {
|
|
@@ -8757,7 +8390,7 @@ declare const AlertDialogCompleteStyled: _stitches_react_types_styled_component.
|
|
|
8757
8390
|
transition: "transitions";
|
|
8758
8391
|
zIndex: "zIndices";
|
|
8759
8392
|
}, {}>>;
|
|
8760
|
-
declare const AlertDialogDescriptionStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
8393
|
+
declare const AlertDialogDescriptionStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<AlertDialog.DescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
8761
8394
|
colors: {
|
|
8762
8395
|
brand50: string;
|
|
8763
8396
|
brand100: string;
|
|
@@ -9127,7 +8760,7 @@ declare const AlertDialogDescriptionStyled: _stitches_react_types_styled_compone
|
|
|
9127
8760
|
transition: "transitions";
|
|
9128
8761
|
zIndex: "zIndices";
|
|
9129
8762
|
}, {}>>;
|
|
9130
|
-
declare const AlertDialogTitleStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
8763
|
+
declare const AlertDialogTitleStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<AlertDialog.TitleProps & React$1.RefAttributes<HTMLHeadingElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
9131
8764
|
colors: {
|
|
9132
8765
|
brand50: string;
|
|
9133
8766
|
brand100: string;
|
|
@@ -10626,7 +10259,7 @@ type AlertProps = {
|
|
|
10626
10259
|
};
|
|
10627
10260
|
declare function Alert({ color, trigger, completAlert, simpleAlert, ...props }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
10628
10261
|
|
|
10629
|
-
declare const SwitchStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
10262
|
+
declare const SwitchStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.SwitchProps & React$1.RefAttributes<HTMLButtonElement>>, {
|
|
10630
10263
|
color?: "brand" | undefined;
|
|
10631
10264
|
size?: "sm" | "md" | "lg" | undefined;
|
|
10632
10265
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
@@ -11376,29 +11009,29 @@ declare const StepStyled: _stitches_react_types_styled_component.StyledComponent
|
|
|
11376
11009
|
zIndex: "zIndices";
|
|
11377
11010
|
}, {}>>;
|
|
11378
11011
|
type StepProps = ComponentProps<typeof StepStyled> & {
|
|
11379
|
-
children:
|
|
11012
|
+
children: React__default.ReactNode;
|
|
11380
11013
|
defaultValue: number;
|
|
11381
11014
|
};
|
|
11382
11015
|
declare function Step({ children, defaultValue, ...props }: StepProps): react_jsx_runtime.JSX.Element;
|
|
11383
11016
|
declare function StepTrigger({ value, children, currentStep, ...props }: {
|
|
11384
11017
|
value: number;
|
|
11385
|
-
children:
|
|
11018
|
+
children: React__default.ReactNode | string;
|
|
11386
11019
|
currentStep?: number;
|
|
11387
11020
|
onClick: () => void;
|
|
11388
11021
|
}): react_jsx_runtime.JSX.Element;
|
|
11389
11022
|
declare function StepContent({ value, children, ...props }: {
|
|
11390
11023
|
value: number;
|
|
11391
|
-
children:
|
|
11024
|
+
children: React__default.ReactNode;
|
|
11392
11025
|
}): react_jsx_runtime.JSX.Element;
|
|
11393
11026
|
declare function StepList({ children, currentStep, ...props }: {
|
|
11394
|
-
children:
|
|
11027
|
+
children: React__default.ReactNode;
|
|
11395
11028
|
currentStep: number;
|
|
11396
11029
|
}): react_jsx_runtime.JSX.Element;
|
|
11397
11030
|
declare function StepWrapper({ children, ...props }: {
|
|
11398
|
-
children:
|
|
11031
|
+
children: React__default.ReactNode;
|
|
11399
11032
|
}): react_jsx_runtime.JSX.Element;
|
|
11400
11033
|
|
|
11401
|
-
declare const CardStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
11034
|
+
declare const CardStyled: _stitches_react_types_styled_component.StyledComponent<React__default.ForwardRefExoticComponent<_radix_ui_themes.CardProps & React__default.RefAttributes<HTMLDivElement>>, {
|
|
11402
11035
|
color?: "error" | "primary" | "disable" | undefined;
|
|
11403
11036
|
boxShadow?: boolean | "false" | "true" | undefined;
|
|
11404
11037
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
@@ -11772,12 +11405,12 @@ declare const CardStyled: _stitches_react_types_styled_component.StyledComponent
|
|
|
11772
11405
|
zIndex: "zIndices";
|
|
11773
11406
|
}, {}>>;
|
|
11774
11407
|
type CardProps = ComponentProps<typeof CardStyled> & {
|
|
11775
|
-
children:
|
|
11408
|
+
children: React__default.ReactNode;
|
|
11776
11409
|
as?: ElementType;
|
|
11777
11410
|
};
|
|
11778
11411
|
declare function Card({ asChild, children, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
11779
11412
|
|
|
11780
|
-
declare const TextareaFieldStyle: _stitches_react_types_styled_component.StyledComponent<
|
|
11413
|
+
declare const TextareaFieldStyle: _stitches_react_types_styled_component.StyledComponent<React__default.ForwardRefExoticComponent<_radix_ui_themes.TextAreaProps & React__default.RefAttributes<HTMLTextAreaElement>>, {
|
|
11781
11414
|
typography?: "tooltip" | "displayLarge" | "displayMedium" | "displaySmall" | "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "headline6" | "headline7" | "headline8" | "bodyXL" | "bodyL" | "bodyM" | "bodyS" | "bodyXS" | "bodyXXS" | "badgeLarge" | "badgeMedium" | "badgeSmall" | "badgeExtraSmall" | "popoversRegular" | "captionLarge" | "captionMedium" | "captionSmall" | "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
11782
11415
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
11783
11416
|
colors: {
|
|
@@ -12522,7 +12155,7 @@ declare const TextareaContainer: _stitches_react_types_styled_component.StyledCo
|
|
|
12522
12155
|
zIndex: "zIndices";
|
|
12523
12156
|
}, {}>>;
|
|
12524
12157
|
type TextareaFieldProps = Omit<ComponentProps<typeof TextareaFieldStyle>, "color"> & ComponentProps<typeof TextareaContainer>;
|
|
12525
|
-
declare const TextareaField:
|
|
12158
|
+
declare const TextareaField: React__default.ForwardRefExoticComponent<Omit<TextareaFieldProps, "ref"> & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
12526
12159
|
|
|
12527
12160
|
type ToastType = 'success' | 'error' | 'warning' | 'info';
|
|
12528
12161
|
interface ToastConfig {
|
|
@@ -12567,10 +12200,10 @@ declare function ToastProvider({ children, defaultDuration, maxToasts, swipeDire
|
|
|
12567
12200
|
|
|
12568
12201
|
declare const useToast: () => ToastContextType;
|
|
12569
12202
|
|
|
12570
|
-
declare const TooltipProvider:
|
|
12571
|
-
declare const TooltipRoot:
|
|
12572
|
-
declare const TooltipTrigger:
|
|
12573
|
-
declare const TooltipContent: _stitches_react_types_styled_component.StyledComponent<
|
|
12203
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
12204
|
+
declare const TooltipRoot: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
12205
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
12206
|
+
declare const TooltipContent: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
12574
12207
|
colors: {
|
|
12575
12208
|
brand50: string;
|
|
12576
12209
|
brand100: string;
|
|
@@ -12941,8 +12574,8 @@ declare const TooltipContent: _stitches_react_types_styled_component.StyledCompo
|
|
|
12941
12574
|
zIndex: "zIndices";
|
|
12942
12575
|
}, {}>>;
|
|
12943
12576
|
interface TooltipProps {
|
|
12944
|
-
children:
|
|
12945
|
-
content:
|
|
12577
|
+
children: React$1.ReactNode;
|
|
12578
|
+
content: React$1.ReactNode;
|
|
12946
12579
|
delayDuration?: number;
|
|
12947
12580
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
12948
12581
|
}
|
|
@@ -13331,9 +12964,9 @@ type MultiSelectProps = ComponentProps<typeof StyledTrigger> & {
|
|
|
13331
12964
|
width?: string;
|
|
13332
12965
|
zIndex?: string;
|
|
13333
12966
|
};
|
|
13334
|
-
declare const MultiSelect:
|
|
12967
|
+
declare const MultiSelect: React__default.ForwardRefExoticComponent<Omit<MultiSelectProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
13335
12968
|
|
|
13336
|
-
declare const FlexStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
12969
|
+
declare const FlexStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.FlexProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
13337
12970
|
display?: "flex" | "inline-flex" | undefined;
|
|
13338
12971
|
align?: "end" | "stretch" | "center" | "start" | "baseline" | undefined;
|
|
13339
12972
|
justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | undefined;
|
|
@@ -13717,9 +13350,9 @@ type FlexProps = ComponentProps<typeof FlexStyled> & {
|
|
|
13717
13350
|
};
|
|
13718
13351
|
declare function Flex({ children, ...props }: FlexProps): react_jsx_runtime.JSX.Element;
|
|
13719
13352
|
|
|
13720
|
-
declare const Box:
|
|
13353
|
+
declare const Box: React$1.ForwardRefExoticComponent<_radix_ui_themes.BoxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
13721
13354
|
|
|
13722
|
-
declare const GridStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
13355
|
+
declare const GridStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.GridProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
13723
13356
|
display?: "grid" | "inline-grid" | undefined;
|
|
13724
13357
|
align?: "end" | "stretch" | "center" | "start" | undefined;
|
|
13725
13358
|
justify?: "end" | "center" | "start" | "between" | undefined;
|
|
@@ -14106,7 +13739,7 @@ type GridProps = ComponentProps<typeof GridStyled> & {
|
|
|
14106
13739
|
};
|
|
14107
13740
|
declare function Grid({ children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
14108
13741
|
|
|
14109
|
-
declare const ContainerStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
13742
|
+
declare const ContainerStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.ContainerProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
14110
13743
|
size?: "xs" | "sm" | "md" | "xl" | "lg" | "xxl" | "responsive" | undefined;
|
|
14111
13744
|
display?: "initial" | "none" | undefined;
|
|
14112
13745
|
align?: "left" | "right" | "center" | undefined;
|
|
@@ -14486,7 +14119,7 @@ type ContainerProps = ComponentProps<typeof ContainerStyled> & {
|
|
|
14486
14119
|
};
|
|
14487
14120
|
declare function Container({ children, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
14488
14121
|
|
|
14489
|
-
declare const SectionStyled: _stitches_react_types_styled_component.StyledComponent<
|
|
14122
|
+
declare const SectionStyled: _stitches_react_types_styled_component.StyledComponent<React$1.ForwardRefExoticComponent<_radix_ui_themes.SectionProps & React$1.RefAttributes<HTMLDivElement>>, {
|
|
14490
14123
|
size?: "xs" | "sm" | "md" | "xl" | "lg" | "xxl" | "responsive" | undefined;
|
|
14491
14124
|
display?: "initial" | "none" | undefined;
|
|
14492
14125
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
@@ -14886,28 +14519,26 @@ type TextAreaFormFieldProps = TextareaFieldProps & {
|
|
|
14886
14519
|
};
|
|
14887
14520
|
declare const TextAreaFormField: ({ name, label, required, placeholder, ...props }: TextAreaFormFieldProps) => react_jsx_runtime.JSX.Element;
|
|
14888
14521
|
|
|
14889
|
-
type TextFormFieldProps = {
|
|
14522
|
+
type TextFormFieldProps = TextFieldProps & {
|
|
14890
14523
|
name: string;
|
|
14891
14524
|
label?: string;
|
|
14892
14525
|
required?: boolean;
|
|
14893
|
-
placeholder?: string;
|
|
14894
14526
|
mask?: MaskOptions;
|
|
14895
|
-
|
|
14896
|
-
validate?: (value: string) => boolean | string;
|
|
14897
|
-
};
|
|
14527
|
+
validate?: (value: string) => boolean | string;
|
|
14898
14528
|
validationErrorMessage?: string;
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14529
|
+
valueFormatter?: {
|
|
14530
|
+
format: (v: string) => string;
|
|
14531
|
+
unformat: (v: string) => string;
|
|
14532
|
+
};
|
|
14902
14533
|
};
|
|
14903
|
-
declare const TextFormField: ({ name, label, required,
|
|
14534
|
+
declare const TextFormField: ({ name, label, required, mask, validate, validationErrorMessage, onChange, valueFormatter, ...inputProps }: TextFormFieldProps) => react_jsx_runtime.JSX.Element;
|
|
14904
14535
|
|
|
14905
14536
|
type FormProps<T extends FieldValues = FieldValues> = UseFormProps<T> & {
|
|
14906
14537
|
onSubmit: SubmitHandler<T>;
|
|
14907
14538
|
children: JSX.Element;
|
|
14908
14539
|
methods?: ReturnType<typeof useForm<T>>;
|
|
14909
14540
|
};
|
|
14910
|
-
declare const Form: <T extends FieldValues = FieldValues>({ onSubmit, children,
|
|
14541
|
+
declare const Form: <T extends FieldValues = FieldValues>({ onSubmit, children, ...props }: FormProps<T>) => react_jsx_runtime.JSX.Element;
|
|
14911
14542
|
|
|
14912
14543
|
type MultiSelectFormFieldProps = MultiSelectProps & {
|
|
14913
14544
|
name: string;
|
|
@@ -14920,9 +14551,8 @@ type PhoneFormFieldProps = {
|
|
|
14920
14551
|
name: string;
|
|
14921
14552
|
label?: string;
|
|
14922
14553
|
required?: boolean;
|
|
14923
|
-
defaultCountry?: string;
|
|
14924
14554
|
};
|
|
14925
|
-
declare const PhoneFormField: ({ name, label, required,
|
|
14555
|
+
declare const PhoneFormField: ({ name, label, required, }: PhoneFormFieldProps) => react_jsx_runtime.JSX.Element;
|
|
14926
14556
|
|
|
14927
14557
|
type CPFFormFieldProps = {
|
|
14928
14558
|
name: string;
|