@lets-events/react 5.0.0 → 6.0.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 +20 -18
- package/CHANGELOG.md +8 -1
- package/dist/index.d.mts +42 -11
- package/dist/index.d.ts +42 -11
- package/dist/index.js +585 -141
- package/dist/index.mjs +589 -145
- package/package.json +1 -1
- package/src/components/Alert.tsx +255 -255
- package/src/components/Avatar.tsx +55 -55
- package/src/components/Badge.tsx +129 -121
- package/src/components/Box.tsx +3 -3
- package/src/components/Button.tsx +328 -342
- package/src/components/ButtonGroup.tsx +484 -477
- package/src/components/CheckboxGroup.tsx +214 -208
- package/src/components/Container.tsx +39 -39
- package/src/components/Dropdown.tsx +167 -109
- package/src/components/Filter.tsx +164 -95
- package/src/components/Flex.tsx +117 -117
- package/src/components/Grid.tsx +137 -137
- package/src/components/Icon.tsx +47 -47
- package/src/components/Modal.tsx +108 -108
- package/src/components/RadioGroup.tsx +210 -203
- package/src/components/Section.tsx +33 -33
- package/src/components/Step.tsx +147 -147
- package/src/components/Switch.tsx +108 -108
- package/src/components/Text.tsx +31 -31
- package/src/components/TextField.tsx +241 -193
- package/src/index.tsx +27 -27
- package/src/styles/index.ts +38 -38
- package/src/types/typographyValues.ts +179 -0
- package/tsconfig.json +3 -3
package/.eslintrc.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@lets-events/eslint-config"
|
|
1
|
+
{
|
|
2
|
+
"extends": "@lets-events/eslint-config"
|
|
3
3
|
}
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[34mCLI[39m
|
|
7
|
-
[34mCLI[39m
|
|
8
|
-
[34mCLI[39m
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[32mESM[39m
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @lets-events/react@6.0.0 build
|
|
4
|
+
> tsup src/index.tsx --format esm,cjs --dts --external react
|
|
5
|
+
|
|
6
|
+
[1G[0K[34mCLI[39m Building entry: src/index.tsx
|
|
7
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
+
[34mCLI[39m tsup v8.4.0
|
|
9
|
+
[34mCLI[39m Target: es6
|
|
10
|
+
[34mESM[39m Build start
|
|
11
|
+
[34mCJS[39m Build start
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m128.33 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 79ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m134.41 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 78ms
|
|
16
|
+
DTS Build start
|
|
17
|
+
DTS ⚡️ Build success in 8631ms
|
|
18
|
+
DTS dist/index.d.mts 268.71 KB
|
|
19
|
+
DTS dist/index.d.ts 268.71 KB
|
|
20
|
+
[1G[0K⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -27,7 +27,8 @@ declare const Icon: {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
declare const TextStyle: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.TextProps & react.RefAttributes<HTMLSpanElement>>, {
|
|
30
|
-
|
|
30
|
+
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;
|
|
31
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
31
32
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
32
33
|
colors: {
|
|
33
34
|
brand50: string;
|
|
@@ -408,7 +409,8 @@ declare function Text({ ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
|
408
409
|
declare const ButtonStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.ButtonProps & react.RefAttributes<HTMLButtonElement>>, {
|
|
409
410
|
color?: "purple" | "brand" | "neutral" | undefined;
|
|
410
411
|
variant?: "text" | "contained" | "outlined" | undefined;
|
|
411
|
-
|
|
412
|
+
typography?: "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | undefined;
|
|
413
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
412
414
|
radii?: "full" | undefined;
|
|
413
415
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
414
416
|
colors: {
|
|
@@ -1160,7 +1162,8 @@ declare const ButtonItemStyled: _stitches_react_types_styled_component.StyledCom
|
|
|
1160
1162
|
declare const ButtonGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.FlexProps & react.RefAttributes<HTMLDivElement>>, {
|
|
1161
1163
|
color?: "blue" | "green" | "purple" | "red" | "brand" | "neutral" | undefined;
|
|
1162
1164
|
variant?: "text" | "contained" | "outlined" | undefined;
|
|
1163
|
-
|
|
1165
|
+
typography?: "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | undefined;
|
|
1166
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
1164
1167
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
1165
1168
|
colors: {
|
|
1166
1169
|
brand50: string;
|
|
@@ -1920,6 +1923,8 @@ declare function Avatar({ asChild, ...props }: AvatarProps): react_jsx_runtime.J
|
|
|
1920
1923
|
|
|
1921
1924
|
declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.RootProps & react.RefAttributes<HTMLInputElement>>, {
|
|
1922
1925
|
color?: "default" | "error" | undefined;
|
|
1926
|
+
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;
|
|
1927
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
1923
1928
|
isValid?: boolean | "false" | "true" | undefined;
|
|
1924
1929
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
1925
1930
|
colors: {
|
|
@@ -2291,7 +2296,10 @@ declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComp
|
|
|
2291
2296
|
transition: "transitions";
|
|
2292
2297
|
zIndex: "zIndices";
|
|
2293
2298
|
}, {}>>;
|
|
2294
|
-
declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.SlotProps & react.RefAttributes<HTMLDivElement>>, {
|
|
2299
|
+
declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.SlotProps & react.RefAttributes<HTMLDivElement>>, {
|
|
2300
|
+
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;
|
|
2301
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
2302
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
2295
2303
|
colors: {
|
|
2296
2304
|
brand50: string;
|
|
2297
2305
|
brand100: string;
|
|
@@ -2666,6 +2674,8 @@ type TextFieldProps = ComponentProps<typeof TextFieldStyled> & {
|
|
|
2666
2674
|
children?: React.ReactNode;
|
|
2667
2675
|
isValid?: boolean;
|
|
2668
2676
|
name?: string;
|
|
2677
|
+
typography?: string;
|
|
2678
|
+
fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
2669
2679
|
};
|
|
2670
2680
|
type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, 'color'> & {
|
|
2671
2681
|
placeholder?: string;
|
|
@@ -2673,13 +2683,17 @@ type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, 'color'>
|
|
|
2673
2683
|
position?: 'flex-start' | 'flex-end';
|
|
2674
2684
|
onClick?: () => void;
|
|
2675
2685
|
color?: "error" | "success" | undefined;
|
|
2686
|
+
typography?: string;
|
|
2687
|
+
fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
2676
2688
|
};
|
|
2677
|
-
declare function TextField({ children, isValid, name, color, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
2678
|
-
declare function TextFieldSlot({ children, position, onClick, ...props }: TextFieldSlotProps): react_jsx_runtime.JSX.Element;
|
|
2689
|
+
declare function TextField({ children, isValid, name, color, typography, fontWeight, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
2690
|
+
declare function TextFieldSlot({ children, position, onClick, typography, fontWeight, ...props }: TextFieldSlotProps): react_jsx_runtime.JSX.Element;
|
|
2679
2691
|
|
|
2680
2692
|
declare const RadioGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup$1.RootProps & react.RefAttributes<HTMLDivElement>>, {
|
|
2681
2693
|
color?: "blue" | "error" | "success" | undefined;
|
|
2682
2694
|
disabled?: boolean | "false" | "true" | undefined;
|
|
2695
|
+
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
2696
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
2683
2697
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
2684
2698
|
colors: {
|
|
2685
2699
|
brand50: string;
|
|
@@ -3055,6 +3069,8 @@ type RadioGroupProps = ComponentProps<typeof RadioGroupStyled> & {
|
|
|
3055
3069
|
children?: React.ReactNode;
|
|
3056
3070
|
color?: string;
|
|
3057
3071
|
disabled?: boolean;
|
|
3072
|
+
typography?: string;
|
|
3073
|
+
fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
3058
3074
|
};
|
|
3059
3075
|
type RadioItemProps = {
|
|
3060
3076
|
children?: React.ReactNode;
|
|
@@ -3066,6 +3082,8 @@ declare function RadioItem({ children, ...props }: RadioItemProps): react_jsx_ru
|
|
|
3066
3082
|
declare const CheckboxGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<CheckboxGroup$1.RootProps & react.RefAttributes<HTMLDivElement>>, {
|
|
3067
3083
|
color?: "blue" | "error" | "success" | undefined;
|
|
3068
3084
|
disabled?: boolean | "false" | "true" | undefined;
|
|
3085
|
+
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
3086
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3069
3087
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3070
3088
|
colors: {
|
|
3071
3089
|
brand50: string;
|
|
@@ -3453,15 +3471,22 @@ declare function CheckboxItem({ children, ...props }: CheckboxItemProps): react_
|
|
|
3453
3471
|
type FilterProps = ComponentProps<typeof DropdownMenu$1.Root> & {
|
|
3454
3472
|
as?: ElementType;
|
|
3455
3473
|
placeholder?: string;
|
|
3474
|
+
fontWeight: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
3475
|
+
typography: 'labelExtraSmall' | 'labelSmall' | 'labelMedium' | 'labelLarge';
|
|
3456
3476
|
};
|
|
3457
3477
|
type FilterItemProps = ComponentProps<typeof CheckboxItem> & {
|
|
3458
3478
|
as?: ElementType;
|
|
3459
3479
|
value: string;
|
|
3480
|
+
typography: FilterProps['typography'];
|
|
3481
|
+
fontWeight: FilterProps['fontWeight'];
|
|
3460
3482
|
};
|
|
3461
|
-
declare function Filter({ children, placeholder, ...props }: FilterProps): react_jsx_runtime.JSX.Element;
|
|
3483
|
+
declare function Filter({ children, placeholder, typography, fontWeight, ...props }: FilterProps): react_jsx_runtime.JSX.Element;
|
|
3462
3484
|
declare function FilterItem({ children, ...props }: FilterItemProps): react_jsx_runtime.JSX.Element;
|
|
3463
3485
|
|
|
3464
|
-
declare const DropdownMenuItemStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<DropdownMenu$1.ItemProps & react.RefAttributes<HTMLDivElement>>, {
|
|
3486
|
+
declare const DropdownMenuItemStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<DropdownMenu$1.ItemProps & react.RefAttributes<HTMLDivElement>>, {
|
|
3487
|
+
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
3488
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3489
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3465
3490
|
colors: {
|
|
3466
3491
|
brand50: string;
|
|
3467
3492
|
brand100: string;
|
|
@@ -3834,17 +3859,23 @@ declare const DropdownMenuItemStyled: _stitches_react_types_styled_component.Sty
|
|
|
3834
3859
|
type DropdownMenuProps = ComponentProps<typeof DropdownMenu$1.Root> & {
|
|
3835
3860
|
as?: ElementType;
|
|
3836
3861
|
placeholder?: string;
|
|
3862
|
+
fontWeight: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
3863
|
+
typography: 'labelExtraSmall' | 'labelSmall' | 'labelMedium' | 'labelLarge';
|
|
3864
|
+
children: React.ReactNode;
|
|
3837
3865
|
};
|
|
3838
3866
|
type DropdownMenuItemProps = ComponentProps<typeof DropdownMenuItemStyled> & {
|
|
3839
3867
|
as?: ElementType;
|
|
3840
3868
|
value: string;
|
|
3869
|
+
typography: DropdownMenuProps['typography'];
|
|
3870
|
+
fontWeight: DropdownMenuProps['fontWeight'];
|
|
3841
3871
|
};
|
|
3842
|
-
declare function DropdownMenu({ children, placeholder, ...props }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
3843
|
-
declare function DropdownMenuItem({ children, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
3872
|
+
declare function DropdownMenu({ children, placeholder, typography, fontWeight, ...props }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
3873
|
+
declare function DropdownMenuItem({ children, typography, fontWeight, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
3844
3874
|
|
|
3845
3875
|
declare const BadgeStyled: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<_radix_ui_themes.BadgeProps & react__default.RefAttributes<HTMLSpanElement>>, {
|
|
3846
3876
|
color?: "blue" | "green" | "grey" | "orange" | "pink" | "purple" | "red" | "yellow" | "dark" | "light" | "primary" | "disable" | undefined;
|
|
3847
3877
|
size?: "xs" | "sm" | "md" | "xl" | undefined;
|
|
3878
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3848
3879
|
radii?: "full" | undefined;
|
|
3849
3880
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3850
3881
|
colors: {
|
|
@@ -9123,7 +9154,7 @@ declare const GridStyled: _stitches_react_types_styled_component.StyledComponent
|
|
|
9123
9154
|
justify?: "end" | "center" | "start" | "between" | undefined;
|
|
9124
9155
|
flow?: "column" | "row" | "row-dense" | "column-dense" | undefined;
|
|
9125
9156
|
columns?: 1 | 2 | "1" | "2" | "3" | "4" | "6" | 4 | 6 | 12 | "12" | 3 | undefined;
|
|
9126
|
-
rows?: 1 | 2 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "auto" | 4 | 6 | 8 | 10 | 12 | "10" | "12" |
|
|
9157
|
+
rows?: 1 | 2 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "auto" | 4 | 6 | 8 | 10 | 12 | "10" | "12" | 9 | 3 | "11" | 5 | 7 | 11 | undefined;
|
|
9127
9158
|
gap?: 2 | "2" | "4" | "6" | "8" | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 22 | 24 | 32 | 36 | 40 | 48 | 56 | 64 | 72 | 80 | "full" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "36" | "40" | "48" | "56" | "64" | "72" | "80" | undefined;
|
|
9128
9159
|
gapX?: 2 | "2" | "4" | "6" | "8" | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 22 | 24 | 32 | 36 | 40 | 48 | 56 | 64 | 72 | 80 | "full" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "36" | "40" | "48" | "56" | "64" | "72" | "80" | undefined;
|
|
9129
9160
|
gapY?: 2 | "2" | "4" | "6" | "8" | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 22 | 24 | 32 | 36 | 40 | 48 | 56 | 64 | 72 | 80 | "full" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "36" | "40" | "48" | "56" | "64" | "72" | "80" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,8 @@ declare const Icon: {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
declare const TextStyle: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.TextProps & react.RefAttributes<HTMLSpanElement>>, {
|
|
30
|
-
|
|
30
|
+
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;
|
|
31
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
31
32
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
32
33
|
colors: {
|
|
33
34
|
brand50: string;
|
|
@@ -408,7 +409,8 @@ declare function Text({ ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
|
408
409
|
declare const ButtonStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.ButtonProps & react.RefAttributes<HTMLButtonElement>>, {
|
|
409
410
|
color?: "purple" | "brand" | "neutral" | undefined;
|
|
410
411
|
variant?: "text" | "contained" | "outlined" | undefined;
|
|
411
|
-
|
|
412
|
+
typography?: "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | undefined;
|
|
413
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
412
414
|
radii?: "full" | undefined;
|
|
413
415
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
414
416
|
colors: {
|
|
@@ -1160,7 +1162,8 @@ declare const ButtonItemStyled: _stitches_react_types_styled_component.StyledCom
|
|
|
1160
1162
|
declare const ButtonGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_themes.FlexProps & react.RefAttributes<HTMLDivElement>>, {
|
|
1161
1163
|
color?: "blue" | "green" | "purple" | "red" | "brand" | "neutral" | undefined;
|
|
1162
1164
|
variant?: "text" | "contained" | "outlined" | undefined;
|
|
1163
|
-
|
|
1165
|
+
typography?: "buttonLarge" | "buttonMedium" | "buttonSmall" | "buttonExtraSmall" | undefined;
|
|
1166
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
1164
1167
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
1165
1168
|
colors: {
|
|
1166
1169
|
brand50: string;
|
|
@@ -1920,6 +1923,8 @@ declare function Avatar({ asChild, ...props }: AvatarProps): react_jsx_runtime.J
|
|
|
1920
1923
|
|
|
1921
1924
|
declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.RootProps & react.RefAttributes<HTMLInputElement>>, {
|
|
1922
1925
|
color?: "default" | "error" | undefined;
|
|
1926
|
+
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;
|
|
1927
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
1923
1928
|
isValid?: boolean | "false" | "true" | undefined;
|
|
1924
1929
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
1925
1930
|
colors: {
|
|
@@ -2291,7 +2296,10 @@ declare const TextFieldStyled: _stitches_react_types_styled_component.StyledComp
|
|
|
2291
2296
|
transition: "transitions";
|
|
2292
2297
|
zIndex: "zIndices";
|
|
2293
2298
|
}, {}>>;
|
|
2294
|
-
declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.SlotProps & react.RefAttributes<HTMLDivElement>>, {
|
|
2299
|
+
declare const TextFieldSlotStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<TextField$1.SlotProps & react.RefAttributes<HTMLDivElement>>, {
|
|
2300
|
+
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;
|
|
2301
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
2302
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
2295
2303
|
colors: {
|
|
2296
2304
|
brand50: string;
|
|
2297
2305
|
brand100: string;
|
|
@@ -2666,6 +2674,8 @@ type TextFieldProps = ComponentProps<typeof TextFieldStyled> & {
|
|
|
2666
2674
|
children?: React.ReactNode;
|
|
2667
2675
|
isValid?: boolean;
|
|
2668
2676
|
name?: string;
|
|
2677
|
+
typography?: string;
|
|
2678
|
+
fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
2669
2679
|
};
|
|
2670
2680
|
type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, 'color'> & {
|
|
2671
2681
|
placeholder?: string;
|
|
@@ -2673,13 +2683,17 @@ type TextFieldSlotProps = Omit<ComponentProps<typeof TextFieldStyled>, 'color'>
|
|
|
2673
2683
|
position?: 'flex-start' | 'flex-end';
|
|
2674
2684
|
onClick?: () => void;
|
|
2675
2685
|
color?: "error" | "success" | undefined;
|
|
2686
|
+
typography?: string;
|
|
2687
|
+
fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
2676
2688
|
};
|
|
2677
|
-
declare function TextField({ children, isValid, name, color, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
2678
|
-
declare function TextFieldSlot({ children, position, onClick, ...props }: TextFieldSlotProps): react_jsx_runtime.JSX.Element;
|
|
2689
|
+
declare function TextField({ children, isValid, name, color, typography, fontWeight, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
2690
|
+
declare function TextFieldSlot({ children, position, onClick, typography, fontWeight, ...props }: TextFieldSlotProps): react_jsx_runtime.JSX.Element;
|
|
2679
2691
|
|
|
2680
2692
|
declare const RadioGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<RadioGroup$1.RootProps & react.RefAttributes<HTMLDivElement>>, {
|
|
2681
2693
|
color?: "blue" | "error" | "success" | undefined;
|
|
2682
2694
|
disabled?: boolean | "false" | "true" | undefined;
|
|
2695
|
+
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
2696
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
2683
2697
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
2684
2698
|
colors: {
|
|
2685
2699
|
brand50: string;
|
|
@@ -3055,6 +3069,8 @@ type RadioGroupProps = ComponentProps<typeof RadioGroupStyled> & {
|
|
|
3055
3069
|
children?: React.ReactNode;
|
|
3056
3070
|
color?: string;
|
|
3057
3071
|
disabled?: boolean;
|
|
3072
|
+
typography?: string;
|
|
3073
|
+
fontWeight?: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
3058
3074
|
};
|
|
3059
3075
|
type RadioItemProps = {
|
|
3060
3076
|
children?: React.ReactNode;
|
|
@@ -3066,6 +3082,8 @@ declare function RadioItem({ children, ...props }: RadioItemProps): react_jsx_ru
|
|
|
3066
3082
|
declare const CheckboxGroupStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<CheckboxGroup$1.RootProps & react.RefAttributes<HTMLDivElement>>, {
|
|
3067
3083
|
color?: "blue" | "error" | "success" | undefined;
|
|
3068
3084
|
disabled?: boolean | "false" | "true" | undefined;
|
|
3085
|
+
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
3086
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3069
3087
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3070
3088
|
colors: {
|
|
3071
3089
|
brand50: string;
|
|
@@ -3453,15 +3471,22 @@ declare function CheckboxItem({ children, ...props }: CheckboxItemProps): react_
|
|
|
3453
3471
|
type FilterProps = ComponentProps<typeof DropdownMenu$1.Root> & {
|
|
3454
3472
|
as?: ElementType;
|
|
3455
3473
|
placeholder?: string;
|
|
3474
|
+
fontWeight: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
3475
|
+
typography: 'labelExtraSmall' | 'labelSmall' | 'labelMedium' | 'labelLarge';
|
|
3456
3476
|
};
|
|
3457
3477
|
type FilterItemProps = ComponentProps<typeof CheckboxItem> & {
|
|
3458
3478
|
as?: ElementType;
|
|
3459
3479
|
value: string;
|
|
3480
|
+
typography: FilterProps['typography'];
|
|
3481
|
+
fontWeight: FilterProps['fontWeight'];
|
|
3460
3482
|
};
|
|
3461
|
-
declare function Filter({ children, placeholder, ...props }: FilterProps): react_jsx_runtime.JSX.Element;
|
|
3483
|
+
declare function Filter({ children, placeholder, typography, fontWeight, ...props }: FilterProps): react_jsx_runtime.JSX.Element;
|
|
3462
3484
|
declare function FilterItem({ children, ...props }: FilterItemProps): react_jsx_runtime.JSX.Element;
|
|
3463
3485
|
|
|
3464
|
-
declare const DropdownMenuItemStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<DropdownMenu$1.ItemProps & react.RefAttributes<HTMLDivElement>>, {
|
|
3486
|
+
declare const DropdownMenuItemStyled: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<DropdownMenu$1.ItemProps & react.RefAttributes<HTMLDivElement>>, {
|
|
3487
|
+
typography?: "labelLarge" | "labelMedium" | "labelSmall" | "labelExtraSmall" | undefined;
|
|
3488
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3489
|
+
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3465
3490
|
colors: {
|
|
3466
3491
|
brand50: string;
|
|
3467
3492
|
brand100: string;
|
|
@@ -3834,17 +3859,23 @@ declare const DropdownMenuItemStyled: _stitches_react_types_styled_component.Sty
|
|
|
3834
3859
|
type DropdownMenuProps = ComponentProps<typeof DropdownMenu$1.Root> & {
|
|
3835
3860
|
as?: ElementType;
|
|
3836
3861
|
placeholder?: string;
|
|
3862
|
+
fontWeight: 'regular' | 'medium' | 'semibold' | 'bold';
|
|
3863
|
+
typography: 'labelExtraSmall' | 'labelSmall' | 'labelMedium' | 'labelLarge';
|
|
3864
|
+
children: React.ReactNode;
|
|
3837
3865
|
};
|
|
3838
3866
|
type DropdownMenuItemProps = ComponentProps<typeof DropdownMenuItemStyled> & {
|
|
3839
3867
|
as?: ElementType;
|
|
3840
3868
|
value: string;
|
|
3869
|
+
typography: DropdownMenuProps['typography'];
|
|
3870
|
+
fontWeight: DropdownMenuProps['fontWeight'];
|
|
3841
3871
|
};
|
|
3842
|
-
declare function DropdownMenu({ children, placeholder, ...props }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
3843
|
-
declare function DropdownMenuItem({ children, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
3872
|
+
declare function DropdownMenu({ children, placeholder, typography, fontWeight, ...props }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
3873
|
+
declare function DropdownMenuItem({ children, typography, fontWeight, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
3844
3874
|
|
|
3845
3875
|
declare const BadgeStyled: _stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<_radix_ui_themes.BadgeProps & react__default.RefAttributes<HTMLSpanElement>>, {
|
|
3846
3876
|
color?: "blue" | "green" | "grey" | "orange" | "pink" | "purple" | "red" | "yellow" | "dark" | "light" | "primary" | "disable" | undefined;
|
|
3847
3877
|
size?: "xs" | "sm" | "md" | "xl" | undefined;
|
|
3878
|
+
fontWeight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
3848
3879
|
radii?: "full" | undefined;
|
|
3849
3880
|
}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
3850
3881
|
colors: {
|
|
@@ -9123,7 +9154,7 @@ declare const GridStyled: _stitches_react_types_styled_component.StyledComponent
|
|
|
9123
9154
|
justify?: "end" | "center" | "start" | "between" | undefined;
|
|
9124
9155
|
flow?: "column" | "row" | "row-dense" | "column-dense" | undefined;
|
|
9125
9156
|
columns?: 1 | 2 | "1" | "2" | "3" | "4" | "6" | 4 | 6 | 12 | "12" | 3 | undefined;
|
|
9126
|
-
rows?: 1 | 2 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "auto" | 4 | 6 | 8 | 10 | 12 | "10" | "12" |
|
|
9157
|
+
rows?: 1 | 2 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "auto" | 4 | 6 | 8 | 10 | 12 | "10" | "12" | 9 | 3 | "11" | 5 | 7 | 11 | undefined;
|
|
9127
9158
|
gap?: 2 | "2" | "4" | "6" | "8" | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 22 | 24 | 32 | 36 | 40 | 48 | 56 | 64 | 72 | 80 | "full" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "36" | "40" | "48" | "56" | "64" | "72" | "80" | undefined;
|
|
9128
9159
|
gapX?: 2 | "2" | "4" | "6" | "8" | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 22 | 24 | 32 | 36 | 40 | 48 | 56 | 64 | 72 | 80 | "full" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "36" | "40" | "48" | "56" | "64" | "72" | "80" | undefined;
|
|
9129
9160
|
gapY?: 2 | "2" | "4" | "6" | "8" | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 20 | 22 | 24 | 32 | 36 | 40 | 48 | 56 | 64 | 72 | 80 | "full" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "36" | "40" | "48" | "56" | "64" | "72" | "80" | undefined;
|