@everlywell/ui-kit 1.11.4 → 1.11.6
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/index.d.mts +42 -0
- package/index.d.ts +42 -0
- package/index.js +111 -0
- package/index.mjs +4203 -0
- package/lib/components/Fonts/Fonts.d.ts +2 -0
- package/lib/components/Fonts/index.d.ts +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +5 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/theme/accessibility/VisuallyHidden/VisuallyHidden.d.ts +2 -0
- package/lib/theme/actions/Button/Button.config.d.ts +106 -0
- package/lib/theme/actions/Button/Button.d.ts +3 -0
- package/lib/theme/actions/Checkbox/Checkbox.config.d.ts +74 -0
- package/lib/theme/actions/Checkbox/Checkbox.d.ts +6 -0
- package/lib/theme/actions/FormControl/FormControl.config.d.ts +91 -0
- package/lib/theme/actions/FormControl/FormControl.d.ts +4 -0
- package/lib/theme/actions/FormControl/FormError.config.d.ts +31 -0
- package/lib/theme/actions/FormControl/FormLabel.config.d.ts +24 -0
- package/lib/theme/actions/IconButton/IconButton.config.d.ts +0 -0
- package/lib/theme/actions/IconButton/IconButton.d.ts +3 -0
- package/lib/theme/actions/Input/Input.config.d.ts +49 -0
- package/lib/theme/actions/Input/Input.d.ts +4 -0
- package/lib/theme/actions/Menu/Menu.config.d.ts +98 -0
- package/lib/theme/actions/Menu/Menu.d.ts +3 -0
- package/lib/theme/actions/Radio/Radio.d.ts +10 -0
- package/lib/theme/actions/Select/Select.config.d.ts +61 -0
- package/lib/theme/actions/Select/Select.d.ts +3 -0
- package/lib/theme/actions/Slider/Slider.config.d.ts +19 -0
- package/lib/theme/actions/Slider/Slider.d.ts +3 -0
- package/lib/theme/data-display/Accordion/Accordion.config.d.ts +57 -0
- package/lib/theme/data-display/Accordion/Accordion.d.ts +3 -0
- package/lib/theme/data-display/List/List.d.ts +4 -0
- package/lib/theme/data-display/Table/Table.config.d.ts +57 -0
- package/lib/theme/data-display/Table/Table.d.ts +3 -0
- package/lib/theme/data-display/Tabs/Tabs.config.d.ts +68 -0
- package/lib/theme/data-display/Tabs/Tabs.d.ts +3 -0
- package/lib/theme/data-display/Tag/Tag.config.d.ts +491 -0
- package/lib/theme/data-display/Tag/Tag.d.ts +3 -0
- package/lib/theme/data-display/index.d.ts +2 -0
- package/lib/theme/feedback/Progress/Progress.config.d.ts +51 -0
- package/lib/theme/feedback/Progress/Progress.d.ts +11 -0
- package/lib/theme/feedback/Progress/Progress.utils.d.ts +8 -0
- package/lib/theme/feedback/Skeleton/Skeleton.config.d.ts +15 -0
- package/lib/theme/feedback/Skeleton/Skeleton.d.ts +4 -0
- package/lib/theme/feedback/Spinner/Spinner.config.d.ts +27 -0
- package/lib/theme/feedback/Spinner/Spinner.d.ts +3 -0
- package/lib/theme/foundations/colors.d.ts +213 -0
- package/lib/theme/hooks/UseMediaQuery/UseMediaQuery.d.ts +3 -0
- package/lib/theme/hooks/UseRadioGroup/UseRadioGroup.d.ts +3 -0
- package/lib/theme/index.d.ts +3946 -0
- package/lib/theme/layout/Box/Box.d.ts +3 -0
- package/lib/theme/layout/Container/Container.config.d.ts +33 -0
- package/lib/theme/layout/Container/Container.d.ts +3 -0
- package/lib/theme/layout/Flex/Flex.d.ts +1 -0
- package/lib/theme/layout/Grid/Grid.d.ts +49 -0
- package/lib/theme/layout/Grid/GridItem.d.ts +5 -0
- package/lib/theme/layout/Grid/index.d.ts +2 -0
- package/lib/theme/layout/Show-Hide/Show-Hide.config.d.ts +11 -0
- package/lib/theme/layout/Show-Hide/Show-Hide.d.ts +5 -0
- package/lib/theme/layout/Stack/Stack.d.ts +1 -0
- package/lib/theme/media/Icon/Icon.config.d.ts +21 -0
- package/lib/theme/media/Icon/Icon.d.ts +3 -0
- package/lib/theme/media/Image/Image.d.ts +3 -0
- package/lib/theme/navigation/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/lib/theme/navigation/Link/Link.config.d.ts +31 -0
- package/lib/theme/navigation/Link/Link.d.ts +3 -0
- package/lib/theme/navigation/Stepper/Stepper.config.d.ts +26 -0
- package/lib/theme/navigation/Stepper/Stepper.d.ts +4 -0
- package/lib/theme/overlay/Drawer/Drawer.config.d.ts +72 -0
- package/lib/theme/overlay/Drawer/Drawer.d.ts +3 -0
- package/lib/theme/overlay/Drawer/index.d.ts +2 -0
- package/lib/theme/overlay/Modal/Modal.config.d.ts +106 -0
- package/lib/theme/overlay/Modal/Modal.d.ts +3 -0
- package/lib/theme/overlay/Tooltip/Tooltip.config.d.ts +17 -0
- package/lib/theme/overlay/Tooltip/Tooltip.d.ts +3 -0
- package/lib/theme/typography/Heading/Heading.config.d.ts +48 -0
- package/lib/theme/typography/Heading/Heading.d.ts +3 -0
- package/lib/theme/typography/Text/Text.config.d.ts +37 -0
- package/lib/theme/typography/Text/Text.d.ts +3 -0
- package/lib/utils/utils.storybook.d.ts +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Fonts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ThemeProvider';
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { StyleFunctionProps } from '@chakra-ui/react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
baseStyle?: {
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
fontWeight: string;
|
|
6
|
+
lineHeight: string;
|
|
7
|
+
letterSpacing: string;
|
|
8
|
+
borderRadius: string;
|
|
9
|
+
border: string;
|
|
10
|
+
_disabled: {
|
|
11
|
+
_hover: {
|
|
12
|
+
cursor: string;
|
|
13
|
+
};
|
|
14
|
+
span: {
|
|
15
|
+
display: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
_focusVisible: {
|
|
19
|
+
outlineColor: string;
|
|
20
|
+
outlineWidth: string;
|
|
21
|
+
outlineStyle: string;
|
|
22
|
+
outlineOffset: string;
|
|
23
|
+
};
|
|
24
|
+
} | undefined;
|
|
25
|
+
sizes?: {
|
|
26
|
+
sm: {
|
|
27
|
+
fontSize: ("md" | "lg")[];
|
|
28
|
+
px: number[];
|
|
29
|
+
py: number[];
|
|
30
|
+
'&:has(> svg:only-child)': {
|
|
31
|
+
px: number;
|
|
32
|
+
py: number;
|
|
33
|
+
svg: {
|
|
34
|
+
fontSize: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
svg: {
|
|
38
|
+
fontSize: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
md: {
|
|
42
|
+
fontSize: ("lg" | "xl")[];
|
|
43
|
+
px: number[];
|
|
44
|
+
py: number[];
|
|
45
|
+
'&:has(> svg:only-child)': {
|
|
46
|
+
px: number[];
|
|
47
|
+
py: number[];
|
|
48
|
+
};
|
|
49
|
+
svg: {
|
|
50
|
+
fontSize: ("1.5rem" | "1.25rem")[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
wide: {
|
|
54
|
+
fontSize: string;
|
|
55
|
+
px: number;
|
|
56
|
+
py: number;
|
|
57
|
+
width: string;
|
|
58
|
+
'&:has(> svg:only-child)': {
|
|
59
|
+
px: number;
|
|
60
|
+
py: number;
|
|
61
|
+
};
|
|
62
|
+
svg: {
|
|
63
|
+
fontSize: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
} | undefined;
|
|
67
|
+
variants?: {
|
|
68
|
+
primary: (props: StyleFunctionProps) => {
|
|
69
|
+
bg: string;
|
|
70
|
+
color: string;
|
|
71
|
+
':hover, &.hover': {
|
|
72
|
+
bg: string;
|
|
73
|
+
};
|
|
74
|
+
':active, &.active': {
|
|
75
|
+
bg: string;
|
|
76
|
+
};
|
|
77
|
+
':disabled': {
|
|
78
|
+
bg: string;
|
|
79
|
+
color: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
secondary: (props: StyleFunctionProps) => {
|
|
83
|
+
color: string;
|
|
84
|
+
boxShadow: (theme: Record<string, any>) => string;
|
|
85
|
+
':hover, &.hover': {
|
|
86
|
+
color: string;
|
|
87
|
+
boxShadow: (theme: Record<string, any>) => string;
|
|
88
|
+
};
|
|
89
|
+
':active, &.active': {
|
|
90
|
+
color: string;
|
|
91
|
+
boxShadow: (theme: Record<string, any>) => string;
|
|
92
|
+
};
|
|
93
|
+
':disabled': {
|
|
94
|
+
color: string;
|
|
95
|
+
boxShadow: (theme: Record<string, any>) => string;
|
|
96
|
+
opacity: number;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
} | undefined;
|
|
100
|
+
defaultProps?: {
|
|
101
|
+
size?: "wide" | "sm" | "md" | undefined;
|
|
102
|
+
variant?: "primary" | "secondary" | undefined;
|
|
103
|
+
colorScheme?: string | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
};
|
|
106
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
container: {};
|
|
4
|
+
control: {
|
|
5
|
+
boxSize: number;
|
|
6
|
+
padding: number;
|
|
7
|
+
borderRadius: string;
|
|
8
|
+
borderStyle: string;
|
|
9
|
+
borderWidth: number;
|
|
10
|
+
borderColor: string;
|
|
11
|
+
color: string;
|
|
12
|
+
fontSize: string;
|
|
13
|
+
bg: string;
|
|
14
|
+
_focusVisible: {
|
|
15
|
+
outlineColor: string;
|
|
16
|
+
outlineWidth: string;
|
|
17
|
+
outlineStyle: string;
|
|
18
|
+
outlineOffset: string;
|
|
19
|
+
};
|
|
20
|
+
_checked: {
|
|
21
|
+
borderColor: string;
|
|
22
|
+
bg: string;
|
|
23
|
+
color: string;
|
|
24
|
+
_hover: {
|
|
25
|
+
borderColor: string;
|
|
26
|
+
bg: string;
|
|
27
|
+
};
|
|
28
|
+
_disabled: {
|
|
29
|
+
borderColor: string;
|
|
30
|
+
bg: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
_hover: {
|
|
34
|
+
borderColor: string;
|
|
35
|
+
bg: string;
|
|
36
|
+
};
|
|
37
|
+
_disabled: {
|
|
38
|
+
borderColor: string;
|
|
39
|
+
bg: string;
|
|
40
|
+
cursor: string;
|
|
41
|
+
};
|
|
42
|
+
_invalid: {
|
|
43
|
+
borderColor: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
icon: {
|
|
47
|
+
boxSize: string;
|
|
48
|
+
};
|
|
49
|
+
label: {
|
|
50
|
+
fontSize: ("sm" | "md")[];
|
|
51
|
+
color: string;
|
|
52
|
+
};
|
|
53
|
+
} | undefined;
|
|
54
|
+
sizes?: {
|
|
55
|
+
sm: {
|
|
56
|
+
control: {
|
|
57
|
+
boxSize: number;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
md: {
|
|
61
|
+
control: {
|
|
62
|
+
boxSize: number;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
} | undefined;
|
|
66
|
+
variants?: {} | undefined;
|
|
67
|
+
defaultProps?: {
|
|
68
|
+
size?: "sm" | "md" | undefined;
|
|
69
|
+
variant?: undefined;
|
|
70
|
+
colorScheme?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
parts: ("container" | "icon" | "label" | "control")[];
|
|
73
|
+
};
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CheckboxProps } from '@chakra-ui/react';
|
|
2
|
+
export { CheckboxGroup, type CheckboxProps, type CheckboxGroupProps, } from '@chakra-ui/react';
|
|
3
|
+
export declare const Checkbox: {
|
|
4
|
+
(props: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
container: {
|
|
4
|
+
width: string;
|
|
5
|
+
position: string;
|
|
6
|
+
display: string;
|
|
7
|
+
flexDirection: string;
|
|
8
|
+
gap: number;
|
|
9
|
+
};
|
|
10
|
+
requiredIndicator: {
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
helperText: {
|
|
14
|
+
_dark: {};
|
|
15
|
+
color: string;
|
|
16
|
+
fontSize: ("sm" | "md")[];
|
|
17
|
+
};
|
|
18
|
+
} | undefined;
|
|
19
|
+
sizes?: {} | undefined;
|
|
20
|
+
variants?: {
|
|
21
|
+
floating: {
|
|
22
|
+
container: {
|
|
23
|
+
_focusWithin: {
|
|
24
|
+
'*:not(.chakra-select__wrapper) + label': {
|
|
25
|
+
transform: string[];
|
|
26
|
+
fontSize: string;
|
|
27
|
+
top: string[];
|
|
28
|
+
color: string;
|
|
29
|
+
_invalid: {
|
|
30
|
+
color: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'input:not(:placeholder-shown) + label, .chakra-input__group:has(input:not(:placeholder-shown)) + label, .chakra-select__wrapper:not(:has(option[value=""]:checked)) + label, textarea:not(:placeholder-shown) ~ label': {
|
|
35
|
+
transform: string[];
|
|
36
|
+
fontSize: string;
|
|
37
|
+
top: string[];
|
|
38
|
+
color: string;
|
|
39
|
+
_invalid: {
|
|
40
|
+
color: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'.chakra-select__wrapper:has(option[value=""]:checked) select': {
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
label: {
|
|
47
|
+
transition: string;
|
|
48
|
+
transformOrigin: string;
|
|
49
|
+
position: string;
|
|
50
|
+
pointerEvents: string;
|
|
51
|
+
zIndex: number;
|
|
52
|
+
ml: number;
|
|
53
|
+
mr: number;
|
|
54
|
+
top: (number | "16px")[];
|
|
55
|
+
fontSize: ("md" | "lg")[];
|
|
56
|
+
color: string;
|
|
57
|
+
fontWeight: string;
|
|
58
|
+
};
|
|
59
|
+
':has(.chakra-input__left-element) label': {
|
|
60
|
+
ml: string[];
|
|
61
|
+
};
|
|
62
|
+
input: {
|
|
63
|
+
pt: number;
|
|
64
|
+
h: string[];
|
|
65
|
+
_placeholder: {
|
|
66
|
+
color: string;
|
|
67
|
+
visibility: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
select: {
|
|
71
|
+
pt: number;
|
|
72
|
+
h: string[];
|
|
73
|
+
};
|
|
74
|
+
':has(.chakra-input__left-element) input, :has(.chakra-input__left-element) select': {
|
|
75
|
+
pl: string[];
|
|
76
|
+
};
|
|
77
|
+
'.chakra-input__right-element, .chakra-input__left-element': {
|
|
78
|
+
w: string[];
|
|
79
|
+
h: string[];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | undefined;
|
|
84
|
+
defaultProps?: {
|
|
85
|
+
size?: undefined;
|
|
86
|
+
variant?: "floating" | undefined;
|
|
87
|
+
colorScheme?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
parts: ("container" | "requiredIndicator" | "helperText")[];
|
|
90
|
+
};
|
|
91
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormControl } from '@chakra-ui/react';
|
|
2
|
+
export { FormControl, FormLabel, FormErrorMessage, FormHelperText, } from '@chakra-ui/react';
|
|
3
|
+
export type { FormControlProps, FormLabelProps, FormErrorMessageProps, FormHelperTextProps, } from '@chakra-ui/react';
|
|
4
|
+
export default FormControl;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
text: {
|
|
4
|
+
color: string;
|
|
5
|
+
fontSize: ("sm" | "md")[];
|
|
6
|
+
};
|
|
7
|
+
icon: {
|
|
8
|
+
color: string;
|
|
9
|
+
height: string;
|
|
10
|
+
width: string;
|
|
11
|
+
mr: number;
|
|
12
|
+
};
|
|
13
|
+
} | undefined;
|
|
14
|
+
sizes?: {
|
|
15
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
16
|
+
keys: ("text" | "icon")[];
|
|
17
|
+
}>;
|
|
18
|
+
} | undefined;
|
|
19
|
+
variants?: {
|
|
20
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
21
|
+
keys: ("text" | "icon")[];
|
|
22
|
+
}>;
|
|
23
|
+
} | undefined;
|
|
24
|
+
defaultProps?: {
|
|
25
|
+
size?: string | number | undefined;
|
|
26
|
+
variant?: string | number | undefined;
|
|
27
|
+
colorScheme?: string | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
parts: ("text" | "icon")[];
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
fontSize: ("sm" | "md")[];
|
|
4
|
+
color: string;
|
|
5
|
+
transitionProperty: string;
|
|
6
|
+
transitionDuration: string;
|
|
7
|
+
opacity: number;
|
|
8
|
+
_disabled: {
|
|
9
|
+
opacity: number;
|
|
10
|
+
};
|
|
11
|
+
} | undefined;
|
|
12
|
+
sizes?: {
|
|
13
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
14
|
+
} | undefined;
|
|
15
|
+
variants?: {
|
|
16
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
17
|
+
} | undefined;
|
|
18
|
+
defaultProps?: {
|
|
19
|
+
size?: string | number | undefined;
|
|
20
|
+
variant?: string | number | undefined;
|
|
21
|
+
colorScheme?: string | undefined;
|
|
22
|
+
} | undefined;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
field: {
|
|
4
|
+
fontWeight: string;
|
|
5
|
+
fontSize: ("md" | "lg")[];
|
|
6
|
+
bg: string;
|
|
7
|
+
color: string;
|
|
8
|
+
px: number;
|
|
9
|
+
borderStyle: string;
|
|
10
|
+
borderWidth: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
w: string;
|
|
14
|
+
h: ("52px" | "44px")[];
|
|
15
|
+
':focus, &.focus': {
|
|
16
|
+
borderColor: string;
|
|
17
|
+
outline: string;
|
|
18
|
+
};
|
|
19
|
+
':disabled': {
|
|
20
|
+
borderColor: string;
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
':read-only': {
|
|
24
|
+
borderColor: string;
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
_placeholder: {
|
|
28
|
+
color: string;
|
|
29
|
+
};
|
|
30
|
+
_invalid: {
|
|
31
|
+
borderColor: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
element: {
|
|
35
|
+
px: number;
|
|
36
|
+
py: number;
|
|
37
|
+
color: string;
|
|
38
|
+
};
|
|
39
|
+
} | undefined;
|
|
40
|
+
sizes?: {} | undefined;
|
|
41
|
+
variants?: {} | undefined;
|
|
42
|
+
defaultProps?: {
|
|
43
|
+
size?: undefined;
|
|
44
|
+
variant?: undefined;
|
|
45
|
+
colorScheme?: string | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
parts: ("element" | "addon" | "field")[];
|
|
48
|
+
};
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Input as ChakraInput, InputProps as ChakraInputProps, InputGroup, InputLeftElement, InputRightElement, InputGroupProps, InputLeftElementProps, InputRightElementProps } from '@chakra-ui/react';
|
|
2
|
+
export type InputProps = ChakraInputProps;
|
|
3
|
+
export { InputGroup, InputLeftElement, InputRightElement, type InputGroupProps, type InputLeftElementProps, type InputRightElementProps, };
|
|
4
|
+
export default ChakraInput;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
button: {};
|
|
4
|
+
list: {
|
|
5
|
+
boxShadow: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
border: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
};
|
|
11
|
+
item: {
|
|
12
|
+
fontWeight: string;
|
|
13
|
+
lineHeight: string;
|
|
14
|
+
color: string;
|
|
15
|
+
_hover: {
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
};
|
|
18
|
+
_active: {
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
};
|
|
21
|
+
_focus: {
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
};
|
|
24
|
+
_disabled: {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
color: string;
|
|
27
|
+
cursor: string;
|
|
28
|
+
};
|
|
29
|
+
_first: {
|
|
30
|
+
borderTopRadius: string;
|
|
31
|
+
};
|
|
32
|
+
_last: {
|
|
33
|
+
borderBottomRadius: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
groupTitle: {
|
|
37
|
+
color: string;
|
|
38
|
+
letterSpacing: string;
|
|
39
|
+
};
|
|
40
|
+
command: {
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
divider: {
|
|
44
|
+
borderColor: string;
|
|
45
|
+
borderBottom: string;
|
|
46
|
+
};
|
|
47
|
+
} | undefined;
|
|
48
|
+
sizes?: {
|
|
49
|
+
sm: {
|
|
50
|
+
button: {};
|
|
51
|
+
item: {
|
|
52
|
+
fontSize: ("sm" | "2xs")[];
|
|
53
|
+
paddingX: string;
|
|
54
|
+
paddingY: string;
|
|
55
|
+
};
|
|
56
|
+
groupTitle: {
|
|
57
|
+
fontSize: ("md" | "lg")[];
|
|
58
|
+
paddingX: string;
|
|
59
|
+
paddingY: string;
|
|
60
|
+
};
|
|
61
|
+
divider: {
|
|
62
|
+
marginY: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
md: {
|
|
66
|
+
item: {
|
|
67
|
+
fontSize: ("lg" | "3xs")[];
|
|
68
|
+
paddingX: string;
|
|
69
|
+
paddingY: string;
|
|
70
|
+
};
|
|
71
|
+
groupTitle: {
|
|
72
|
+
fontSize: ("lg" | "xl")[];
|
|
73
|
+
paddingX: string;
|
|
74
|
+
paddingY: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
lg: {
|
|
78
|
+
item: {
|
|
79
|
+
fontSize: ("xl" | "2xl")[];
|
|
80
|
+
paddingX: string;
|
|
81
|
+
paddingY: string;
|
|
82
|
+
};
|
|
83
|
+
groupTitle: {
|
|
84
|
+
fontSize: ("3xl" | "4xl")[];
|
|
85
|
+
paddingX: string;
|
|
86
|
+
paddingY: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
} | undefined;
|
|
90
|
+
variants?: {} | undefined;
|
|
91
|
+
defaultProps?: {
|
|
92
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
93
|
+
variant?: undefined;
|
|
94
|
+
colorScheme?: string | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
parts: ("button" | "list" | "item" | "groupTitle" | "command" | "divider")[];
|
|
97
|
+
};
|
|
98
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Menu } from '@chakra-ui/react';
|
|
2
|
+
export { Menu, type MenuProps, MenuCommand, type MenuCommandProps, MenuButton, type MenuButtonProps, MenuList, type MenuListProps, MenuItem, type MenuItemProps, MenuItemOption, type MenuItemOptionProps, MenuGroup, type MenuGroupProps, MenuOptionGroup, type MenuOptionGroupProps, MenuDivider, type MenuDividerProps, } from '@chakra-ui/react';
|
|
3
|
+
export default Menu;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useRadio, useRadioGroup, UseRadioProps, RadioGroup, RadioGroupProps } from '@chakra-ui/react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
interface RadioProps extends UseRadioProps {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
removeCircle?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const Radio: import("@chakra-ui/react").ComponentWithAs<"input", RadioProps>;
|
|
8
|
+
export default Radio;
|
|
9
|
+
export { RadioGroup, useRadio, useRadioGroup };
|
|
10
|
+
export type { RadioProps, UseRadioProps, RadioGroupProps };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
field: {
|
|
4
|
+
':has(option[value=""]:checked)': {
|
|
5
|
+
color?: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
':read-only': undefined;
|
|
8
|
+
WebkitAppearance: string;
|
|
9
|
+
MozAppearance: string;
|
|
10
|
+
fontWeight?: string | undefined;
|
|
11
|
+
fontSize?: ("md" | "lg")[] | undefined;
|
|
12
|
+
bg?: string | undefined;
|
|
13
|
+
color?: string | undefined;
|
|
14
|
+
px?: number | undefined;
|
|
15
|
+
borderStyle?: string | undefined;
|
|
16
|
+
borderWidth?: string | undefined;
|
|
17
|
+
borderColor?: string | undefined;
|
|
18
|
+
borderRadius?: string | undefined;
|
|
19
|
+
w?: string | undefined;
|
|
20
|
+
h?: ("52px" | "44px")[] | undefined;
|
|
21
|
+
':focus, &.focus'?: {
|
|
22
|
+
borderColor: string;
|
|
23
|
+
outline: string;
|
|
24
|
+
} | undefined;
|
|
25
|
+
':disabled'?: {
|
|
26
|
+
borderColor: string;
|
|
27
|
+
color: string;
|
|
28
|
+
} | undefined;
|
|
29
|
+
_placeholder?: {
|
|
30
|
+
color: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
_invalid?: {
|
|
33
|
+
borderColor: string;
|
|
34
|
+
} | undefined;
|
|
35
|
+
};
|
|
36
|
+
icon: {
|
|
37
|
+
color: string;
|
|
38
|
+
right: number;
|
|
39
|
+
_disabled: {
|
|
40
|
+
color: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | undefined;
|
|
44
|
+
sizes?: {
|
|
45
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
46
|
+
keys: ("icon" | "field")[];
|
|
47
|
+
}>;
|
|
48
|
+
} | undefined;
|
|
49
|
+
variants?: {
|
|
50
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
51
|
+
keys: ("icon" | "field")[];
|
|
52
|
+
}>;
|
|
53
|
+
} | undefined;
|
|
54
|
+
defaultProps?: {
|
|
55
|
+
size?: string | number | undefined;
|
|
56
|
+
variant?: string | number | undefined;
|
|
57
|
+
colorScheme?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
parts: ("icon" | "field")[];
|
|
60
|
+
};
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
thumb: {
|
|
4
|
+
cursor: string;
|
|
5
|
+
boxShadow: string;
|
|
6
|
+
};
|
|
7
|
+
track: {
|
|
8
|
+
h: string;
|
|
9
|
+
};
|
|
10
|
+
} | undefined;
|
|
11
|
+
sizes?: {} | undefined;
|
|
12
|
+
variants?: {} | undefined;
|
|
13
|
+
defaultProps?: {
|
|
14
|
+
size?: undefined;
|
|
15
|
+
variant?: undefined;
|
|
16
|
+
colorScheme?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Slider } from '@chakra-ui/react';
|
|
2
|
+
export { Slider, type SliderProps, SliderTrack, type SliderTrackProps, SliderFilledTrack, type SliderInnerTrackProps, SliderThumb, type SliderThumbProps, SliderMark, type SliderMarkProps, } from '@chakra-ui/react';
|
|
3
|
+
export default Slider;
|