@ctlyst.id/internal-ui 2.1.11-canary.1 → 2.1.11-canary.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +686 -3185
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +132 -2652
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/components/accordion/__stories__/accordion.stories.d.ts +0 -9
- package/dist/components/accordion/components/accordion-indicator.d.ts +0 -1
- package/dist/components/accordion/components/index.d.ts +0 -2
- package/dist/components/accordion/index.d.ts +0 -1
- package/dist/components/alert/__stories__/alert.stories.d.ts +0 -11
- package/dist/components/alert/components/alert-action.d.ts +0 -6
- package/dist/components/alert/components/alert-close.d.ts +0 -6
- package/dist/components/alert/components/alert-context.d.ts +0 -33
- package/dist/components/alert/components/alert-description.d.ts +0 -3
- package/dist/components/alert/components/alert-icon.d.ts +0 -6
- package/dist/components/alert/components/alert-title.d.ts +0 -3
- package/dist/components/alert/components/alert.d.ts +0 -25
- package/dist/components/alert/components/icons.d.ts +0 -3
- package/dist/components/alert/components/index.d.ts +0 -14
- package/dist/components/alert/index.d.ts +0 -1
- package/dist/components/anchor/__stories__/anchor.stories.d.ts +0 -9
- package/dist/components/anchor/components/anchor.d.ts +0 -20
- package/dist/components/anchor/components/index.d.ts +0 -1
- package/dist/components/anchor/index.d.ts +0 -1
- package/dist/components/badge/__stories__/badge.stories.d.ts +0 -15
- package/dist/components/badge/components/badge.d.ts +0 -11
- package/dist/components/badge/components/index.d.ts +0 -1
- package/dist/components/badge/index.d.ts +0 -1
- package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -8
- package/dist/components/breadcrumb/components/bread-crumb.d.ts +0 -18
- package/dist/components/breadcrumb/index.d.ts +0 -2
- package/dist/components/button/__stories__/button.stories.d.ts +0 -12
- package/dist/components/button/components/button.d.ts +0 -4
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/card/__stories__/card.stories.d.ts +0 -8
- package/dist/components/card/components/card.d.ts +0 -8
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -13
- package/dist/components/checkbox/components/checkbox-group.d.ts +0 -18
- package/dist/components/checkbox/components/checkbox.d.ts +0 -10
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/chips/__stories__/chips.stories.d.ts +0 -9
- package/dist/components/chips/components/chips.d.ts +0 -19
- package/dist/components/chips/index.d.ts +0 -2
- package/dist/components/collapse/__stories__/collapse.stories.d.ts +0 -7
- package/dist/components/counter/__stories__/counter.stories.d.ts +0 -10
- package/dist/components/counter/components/counter.d.ts +0 -15
- package/dist/components/counter/index.d.ts +0 -1
- package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -22
- package/dist/components/data-table/components/data-table.d.ts +0 -36
- package/dist/components/data-table/index.d.ts +0 -2
- package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -13
- package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker-month/index.d.ts +0 -4
- package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker.d.ts +0 -17
- package/dist/components/datepicker/components/styles.d.ts +0 -2
- package/dist/components/datepicker/components/time-input.d.ts +0 -9
- package/dist/components/datepicker/index.d.ts +0 -3
- package/dist/components/dialog/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/dialog/components/dialog.d.ts +0 -12
- package/dist/components/dialog/index.d.ts +0 -1
- package/dist/components/empty-state/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/field/__stories__/field.stories.d.ts +0 -7
- package/dist/components/field/components/field.d.ts +0 -15
- package/dist/components/field/index.d.ts +0 -2
- package/dist/components/form/__stories__/input.stories.d.ts +0 -15
- package/dist/components/form/__stories__/textarea.stories.d.ts +0 -7
- package/dist/components/form/components/input-addon.d.ts +0 -7
- package/dist/components/form/components/input-element.d.ts +0 -2
- package/dist/components/form/components/input-field.d.ts +0 -13
- package/dist/components/form/components/textarea.d.ts +0 -8
- package/dist/components/form/index.d.ts +0 -7
- package/dist/components/form/styles/input-field.d.ts +0 -4
- package/dist/components/header/__stories__/header.stories.d.ts +0 -9
- package/dist/components/header/components/header.d.ts +0 -19
- package/dist/components/header/components/logo.d.ts +0 -10
- package/dist/components/header/components/profile.d.ts +0 -11
- package/dist/components/header/components/switch-mode.d.ts +0 -3
- package/dist/components/header/components/version.d.ts +0 -10
- package/dist/components/header/index.d.ts +0 -3
- package/dist/components/header/types.d.ts +0 -10
- package/dist/components/header/utils/formatter.d.ts +0 -2
- package/dist/components/image/__stories__/image.stories.d.ts +0 -9
- package/dist/components/image/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -34
- package/dist/components/layouting/index.d.ts +0 -1
- package/dist/components/list/index.d.ts +0 -1
- package/dist/components/loader/__stories__/loader.stories.d.ts +0 -9
- package/dist/components/loader/components/loader.d.ts +0 -10
- package/dist/components/loader/index.d.ts +0 -3
- package/dist/components/modal/__stories__/modal.stories.d.ts +0 -7
- package/dist/components/modal/components/modal-body.d.ts +0 -4
- package/dist/components/modal/components/modal-close-button.d.ts +0 -4
- package/dist/components/modal/components/modal-footer.d.ts +0 -4
- package/dist/components/modal/components/modal-header.d.ts +0 -4
- package/dist/components/modal/index.d.ts +0 -5
- package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -8
- package/dist/components/navigation/components/customer-icon.d.ts +0 -2
- package/dist/components/navigation/components/mapping-icon.d.ts +0 -2
- package/dist/components/navigation/components/navigation-bar.d.ts +0 -12
- package/dist/components/navigation/components/navigation.d.ts +0 -11
- package/dist/components/navigation/index.d.ts +0 -4
- package/dist/components/navigation/types.d.ts +0 -24
- package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button-trigger.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button.d.ts +0 -6
- package/dist/components/pagination/components/pagination-detail.d.ts +0 -10
- package/dist/components/pagination/components/pagination-filter.d.ts +0 -13
- package/dist/components/pagination/components/pagination.d.ts +0 -16
- package/dist/components/pagination/index.d.ts +0 -6
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/radio/__stories__/radio.stories.d.ts +0 -13
- package/dist/components/radio/components/radio-group.d.ts +0 -18
- package/dist/components/radio/components/radio.d.ts +0 -17
- package/dist/components/radio/index.d.ts +0 -3
- package/dist/components/rating/__stories__/rating.stories.d.ts +0 -7
- package/dist/components/rating/components/rating.d.ts +0 -6
- package/dist/components/rating/index.d.ts +0 -2
- package/dist/components/select/__stories__/select.stories.d.ts +0 -10
- package/dist/components/select/components/select-async-creatable.d.ts +0 -5
- package/dist/components/select/components/select-async.d.ts +0 -6
- package/dist/components/select/components/select-creatable.d.ts +0 -5
- package/dist/components/select/components/select-wrapper.d.ts +0 -6
- package/dist/components/select/components/select.d.ts +0 -5
- package/dist/components/select/components/types/select.types.d.ts +0 -3
- package/dist/components/select/components/utils.d.ts +0 -26
- package/dist/components/select/index.d.ts +0 -8
- package/dist/components/switch/__stories__/switch.stories.d.ts +0 -10
- package/dist/components/switch/components/switch.d.ts +0 -18
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -8
- package/dist/components/tabs/components/tab.d.ts +0 -12
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/text/index.d.ts +0 -1
- package/dist/components/toast/__stories__/toast.stories.d.ts +0 -12
- package/dist/components/toast/components/toast.d.ts +0 -21
- package/dist/components/toast/index.d.ts +0 -1
- package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -7
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -9
- package/dist/components/uploader/components/uploader.d.ts +0 -12
- package/dist/components/uploader/constants.d.ts +0 -8
- package/dist/components/uploader/index.d.ts +0 -2
- package/dist/config/__stories__/foundations.stories.d.ts +0 -15
- package/dist/config/__stories__/globals.stories.d.ts +0 -10
- package/dist/config/index.d.ts +0 -1
- package/dist/config/theme/components/accordion.d.ts +0 -53
- package/dist/config/theme/components/alert.d.ts +0 -69
- package/dist/config/theme/components/badge.d.ts +0 -3
- package/dist/config/theme/components/button.d.ts +0 -3
- package/dist/config/theme/components/card.d.ts +0 -18
- package/dist/config/theme/components/checkbox.d.ts +0 -101
- package/dist/config/theme/components/chips.d.ts +0 -34
- package/dist/config/theme/components/form-label.d.ts +0 -20
- package/dist/config/theme/components/index.d.ts +0 -16
- package/dist/config/theme/components/input.d.ts +0 -101
- package/dist/config/theme/components/loader.d.ts +0 -85
- package/dist/config/theme/components/popover.d.ts +0 -3
- package/dist/config/theme/components/radio.d.ts +0 -102
- package/dist/config/theme/components/switch.d.ts +0 -75
- package/dist/config/theme/components/table.d.ts +0 -197
- package/dist/config/theme/components/tabs.d.ts +0 -30
- package/dist/config/theme/components/textarea.d.ts +0 -55
- package/dist/config/theme/foundations/index.d.ts +0 -5
- package/dist/config/theme/foundations/radius.d.ts +0 -8
- package/dist/config/theme/foundations/shadows.d.ts +0 -15
- package/dist/config/theme/foundations/sizes.d.ts +0 -66
- package/dist/config/theme/foundations/spacing.d.ts +0 -42
- package/dist/config/theme/foundations/typography.d.ts +0 -191
- package/dist/config/theme/index.d.ts +0 -1
- package/dist/config/theme/themeConfiguration.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useFetcher.d.ts +0 -4
- package/dist/interfaces/common.d.ts +0 -17
- package/dist/internal-ui.cjs.development.js +0 -6217
- package/dist/internal-ui.cjs.development.js.map +0 -1
- package/dist/internal-ui.cjs.production.min.js +0 -38
- package/dist/internal-ui.cjs.production.min.js.map +0 -1
- package/dist/internal-ui.esm.js +0 -5179
- package/dist/internal-ui.esm.js.map +0 -1
- package/dist/provider/__stories__/provider.stories.d.ts +0 -13
- package/dist/provider/components/provider.d.ts +0 -7
- package/dist/provider/index.d.ts +0 -3
- package/dist/provider/types.d.ts +0 -14
@@ -1,101 +0,0 @@
|
|
1
|
-
declare const Input: {
|
2
|
-
baseStyle?: {
|
3
|
-
field: {
|
4
|
-
width: string;
|
5
|
-
minWidth: number;
|
6
|
-
outline: number;
|
7
|
-
px: number;
|
8
|
-
py: number;
|
9
|
-
paddingInlineStart: number;
|
10
|
-
paddingInlineEnd: number;
|
11
|
-
position: string;
|
12
|
-
appearance: string;
|
13
|
-
color: string;
|
14
|
-
_disabled: {
|
15
|
-
bg: string;
|
16
|
-
border: number;
|
17
|
-
cursor: string;
|
18
|
-
opacity: number;
|
19
|
-
boxShadow: string;
|
20
|
-
color: string;
|
21
|
-
};
|
22
|
-
_placeholder: {
|
23
|
-
color: string;
|
24
|
-
};
|
25
|
-
};
|
26
|
-
} | undefined;
|
27
|
-
sizes?: {
|
28
|
-
lg: {
|
29
|
-
field: {
|
30
|
-
fontSize: string;
|
31
|
-
h: number;
|
32
|
-
borderRadius: string;
|
33
|
-
};
|
34
|
-
addon: {
|
35
|
-
fontSize: string;
|
36
|
-
h: number;
|
37
|
-
borderRadius: string;
|
38
|
-
};
|
39
|
-
};
|
40
|
-
md: {
|
41
|
-
field: {
|
42
|
-
fontSize: string;
|
43
|
-
h: number;
|
44
|
-
borderRadius: string;
|
45
|
-
};
|
46
|
-
addon: {
|
47
|
-
fontSize: string;
|
48
|
-
h: number;
|
49
|
-
borderRadius: string;
|
50
|
-
};
|
51
|
-
};
|
52
|
-
sm: {
|
53
|
-
field: {
|
54
|
-
fontSize: string;
|
55
|
-
h: number;
|
56
|
-
borderRadius: string;
|
57
|
-
};
|
58
|
-
addon: {
|
59
|
-
fontSize: string;
|
60
|
-
h: number;
|
61
|
-
borderRadius: string;
|
62
|
-
};
|
63
|
-
};
|
64
|
-
} | undefined;
|
65
|
-
variants?: {
|
66
|
-
outline: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
67
|
-
field: {
|
68
|
-
border: number;
|
69
|
-
outline: number;
|
70
|
-
bg: string;
|
71
|
-
color: string;
|
72
|
-
_invalid: {
|
73
|
-
boxShadow: string;
|
74
|
-
};
|
75
|
-
_focusVisible: {
|
76
|
-
zIndex: number;
|
77
|
-
boxShadow: string;
|
78
|
-
};
|
79
|
-
};
|
80
|
-
};
|
81
|
-
unstyled: {
|
82
|
-
field: {
|
83
|
-
bg: string;
|
84
|
-
px: string;
|
85
|
-
height: string;
|
86
|
-
};
|
87
|
-
addon: {
|
88
|
-
bg: string;
|
89
|
-
px: string;
|
90
|
-
height: string;
|
91
|
-
};
|
92
|
-
};
|
93
|
-
} | undefined;
|
94
|
-
defaultProps?: {
|
95
|
-
size?: "sm" | "md" | "lg" | undefined;
|
96
|
-
variant?: "outline" | "unstyled" | undefined;
|
97
|
-
colorScheme?: string | undefined;
|
98
|
-
} | undefined;
|
99
|
-
parts: ("addon" | "field" | "element")[];
|
100
|
-
};
|
101
|
-
export default Input;
|
@@ -1,85 +0,0 @@
|
|
1
|
-
declare const LoaderStyle: {
|
2
|
-
baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
3
|
-
borderRadius: string;
|
4
|
-
display: string;
|
5
|
-
justifyContent: string;
|
6
|
-
alignItems: string;
|
7
|
-
animation: string;
|
8
|
-
background: string;
|
9
|
-
':before': {
|
10
|
-
content: string;
|
11
|
-
display: string;
|
12
|
-
borderRadius: string;
|
13
|
-
width: string;
|
14
|
-
height: string;
|
15
|
-
position: string;
|
16
|
-
bottom: number;
|
17
|
-
background: string;
|
18
|
-
};
|
19
|
-
}) | undefined;
|
20
|
-
sizes?: {
|
21
|
-
xs: {
|
22
|
-
width: string;
|
23
|
-
height: string;
|
24
|
-
WebkitMask: string;
|
25
|
-
':before': {
|
26
|
-
width: string;
|
27
|
-
height: string;
|
28
|
-
};
|
29
|
-
};
|
30
|
-
sm: {
|
31
|
-
width: string;
|
32
|
-
height: string;
|
33
|
-
WebkitMask: string;
|
34
|
-
':before': {
|
35
|
-
width: string;
|
36
|
-
height: string;
|
37
|
-
};
|
38
|
-
};
|
39
|
-
md: {
|
40
|
-
width: string;
|
41
|
-
height: string;
|
42
|
-
WebkitMask: string;
|
43
|
-
':before': {
|
44
|
-
width: string;
|
45
|
-
height: string;
|
46
|
-
};
|
47
|
-
};
|
48
|
-
lg: {
|
49
|
-
width: string;
|
50
|
-
height: string;
|
51
|
-
WebkitMask: string;
|
52
|
-
':before': {
|
53
|
-
width: string;
|
54
|
-
height: string;
|
55
|
-
};
|
56
|
-
};
|
57
|
-
xl: {
|
58
|
-
width: string;
|
59
|
-
height: string;
|
60
|
-
WebkitMask: string;
|
61
|
-
':before': {
|
62
|
-
width: string;
|
63
|
-
height: string;
|
64
|
-
};
|
65
|
-
};
|
66
|
-
xxl: {
|
67
|
-
width: string;
|
68
|
-
height: string;
|
69
|
-
WebkitMask: string;
|
70
|
-
':before': {
|
71
|
-
width: string;
|
72
|
-
height: string;
|
73
|
-
};
|
74
|
-
};
|
75
|
-
} | undefined;
|
76
|
-
variants?: {
|
77
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
78
|
-
} | undefined;
|
79
|
-
defaultProps?: {
|
80
|
-
size?: "sm" | "md" | "lg" | "xl" | "xs" | "xxl" | undefined;
|
81
|
-
variant?: string | number | undefined;
|
82
|
-
colorScheme?: string | undefined;
|
83
|
-
} | undefined;
|
84
|
-
};
|
85
|
-
export default LoaderStyle;
|
@@ -1,102 +0,0 @@
|
|
1
|
-
declare const Radio: {
|
2
|
-
baseStyle?: {
|
3
|
-
control: {
|
4
|
-
border: string;
|
5
|
-
width: string;
|
6
|
-
height: string;
|
7
|
-
};
|
8
|
-
label: {
|
9
|
-
marginLeft: string;
|
10
|
-
textStyle: string;
|
11
|
-
color: string;
|
12
|
-
_disabled: {
|
13
|
-
opacity: number;
|
14
|
-
color: string;
|
15
|
-
};
|
16
|
-
};
|
17
|
-
} | undefined;
|
18
|
-
sizes?: {
|
19
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
20
|
-
keys: ("container" | "label" | "control")[];
|
21
|
-
}>;
|
22
|
-
} | undefined;
|
23
|
-
variants?: {
|
24
|
-
errors: {
|
25
|
-
control: {
|
26
|
-
borderColor: string;
|
27
|
-
_checked: {
|
28
|
-
borderColor: string;
|
29
|
-
bg: string;
|
30
|
-
_before: {
|
31
|
-
h: string;
|
32
|
-
w: string;
|
33
|
-
bg: string;
|
34
|
-
};
|
35
|
-
_hover: {
|
36
|
-
borderColor: string;
|
37
|
-
bg: string;
|
38
|
-
};
|
39
|
-
_disabled: {
|
40
|
-
borderColor: string;
|
41
|
-
bg: string;
|
42
|
-
_before: {
|
43
|
-
h: string;
|
44
|
-
w: string;
|
45
|
-
bg: string;
|
46
|
-
opacity: number;
|
47
|
-
};
|
48
|
-
};
|
49
|
-
};
|
50
|
-
_disabled: {
|
51
|
-
borderColor: string;
|
52
|
-
bg: string;
|
53
|
-
};
|
54
|
-
};
|
55
|
-
label: {
|
56
|
-
fontSize: string;
|
57
|
-
};
|
58
|
-
};
|
59
|
-
unstyled: {
|
60
|
-
control: {
|
61
|
-
borderColor: string;
|
62
|
-
_checked: {
|
63
|
-
borderColor: string;
|
64
|
-
bg: string;
|
65
|
-
_before: {
|
66
|
-
h: string;
|
67
|
-
w: string;
|
68
|
-
bg: string;
|
69
|
-
};
|
70
|
-
_hover: {
|
71
|
-
borderColor: string;
|
72
|
-
bg: string;
|
73
|
-
};
|
74
|
-
_disabled: {
|
75
|
-
borderColor: string;
|
76
|
-
bg: string;
|
77
|
-
opacity: number;
|
78
|
-
_before: {
|
79
|
-
h: string;
|
80
|
-
w: string;
|
81
|
-
bg: string;
|
82
|
-
};
|
83
|
-
};
|
84
|
-
};
|
85
|
-
_disabled: {
|
86
|
-
borderColor: string;
|
87
|
-
bg: string;
|
88
|
-
};
|
89
|
-
};
|
90
|
-
label: {
|
91
|
-
fontSize: string;
|
92
|
-
};
|
93
|
-
};
|
94
|
-
} | undefined;
|
95
|
-
defaultProps?: {
|
96
|
-
size?: string | number | undefined;
|
97
|
-
variant?: "unstyled" | "errors" | undefined;
|
98
|
-
colorScheme?: string | undefined;
|
99
|
-
} | undefined;
|
100
|
-
parts: ("container" | "label" | "control")[];
|
101
|
-
};
|
102
|
-
export default Radio;
|
@@ -1,75 +0,0 @@
|
|
1
|
-
declare const Switch: {
|
2
|
-
baseStyle?: (() => {
|
3
|
-
container: {
|
4
|
-
[x: string]: string | {
|
5
|
-
[x: string]: string;
|
6
|
-
};
|
7
|
-
_rtl: {
|
8
|
-
[x: string]: string;
|
9
|
-
};
|
10
|
-
};
|
11
|
-
track: {
|
12
|
-
bg: string;
|
13
|
-
p: number;
|
14
|
-
_checked: {
|
15
|
-
bg: string;
|
16
|
-
_disabled: {
|
17
|
-
bg: string;
|
18
|
-
};
|
19
|
-
};
|
20
|
-
_disabled: {
|
21
|
-
bg: string;
|
22
|
-
opacity: string;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
thumb: {
|
26
|
-
bg: string;
|
27
|
-
transitionProperty: string;
|
28
|
-
transitionDuration: string;
|
29
|
-
borderRadius: string;
|
30
|
-
width: string[];
|
31
|
-
height: string[];
|
32
|
-
_checked: {
|
33
|
-
transform: string;
|
34
|
-
};
|
35
|
-
};
|
36
|
-
}) | undefined;
|
37
|
-
sizes?: {
|
38
|
-
sm: {
|
39
|
-
container: {
|
40
|
-
[x: string]: string;
|
41
|
-
};
|
42
|
-
thumb: {
|
43
|
-
[x: string]: string;
|
44
|
-
};
|
45
|
-
};
|
46
|
-
md: {
|
47
|
-
container: {
|
48
|
-
[x: string]: string;
|
49
|
-
};
|
50
|
-
thumb: {
|
51
|
-
[x: string]: string;
|
52
|
-
};
|
53
|
-
};
|
54
|
-
lg: {
|
55
|
-
container: {
|
56
|
-
[x: string]: string;
|
57
|
-
};
|
58
|
-
thumb: {
|
59
|
-
[x: string]: string;
|
60
|
-
};
|
61
|
-
};
|
62
|
-
} | undefined;
|
63
|
-
variants?: {
|
64
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
65
|
-
keys: ("container" | "track" | "thumb")[];
|
66
|
-
}>;
|
67
|
-
} | undefined;
|
68
|
-
defaultProps?: {
|
69
|
-
size?: "sm" | "md" | "lg" | undefined;
|
70
|
-
variant?: string | number | undefined;
|
71
|
-
colorScheme?: string | undefined;
|
72
|
-
} | undefined;
|
73
|
-
parts: ("container" | "track" | "thumb")[];
|
74
|
-
};
|
75
|
-
export default Switch;
|
@@ -1,197 +0,0 @@
|
|
1
|
-
declare const tableTheme: {
|
2
|
-
baseStyle?: {
|
3
|
-
table: {
|
4
|
-
fontVariantNumeric: string;
|
5
|
-
borderCollapse: string;
|
6
|
-
width: string;
|
7
|
-
tableLayout: string;
|
8
|
-
};
|
9
|
-
th: {
|
10
|
-
fontFamily: string;
|
11
|
-
fontWeight: string;
|
12
|
-
textTransform: string;
|
13
|
-
letterSpacing: string;
|
14
|
-
textAlign: string;
|
15
|
-
height: string;
|
16
|
-
color: (props: Record<string, any> | import("@chakra-ui/styled-system").StyleFunctionProps) => string;
|
17
|
-
fontSize: string;
|
18
|
-
lineHeight: string;
|
19
|
-
backgroundColor: string;
|
20
|
-
'&:first-of-type': {
|
21
|
-
pl: number;
|
22
|
-
};
|
23
|
-
'&:last-of-type': {
|
24
|
-
pr: number;
|
25
|
-
};
|
26
|
-
};
|
27
|
-
tbody: {
|
28
|
-
tr: {
|
29
|
-
cursor: string;
|
30
|
-
_hover: {
|
31
|
-
backgroundColor: string;
|
32
|
-
};
|
33
|
-
'&[data-active="true"]': {
|
34
|
-
backgroundColor: string;
|
35
|
-
};
|
36
|
-
};
|
37
|
-
};
|
38
|
-
td: {
|
39
|
-
backgroundColor: string;
|
40
|
-
textAlign: string;
|
41
|
-
height: string;
|
42
|
-
'&:first-of-type': {
|
43
|
-
pl: number;
|
44
|
-
};
|
45
|
-
'&:last-of-type': {
|
46
|
-
pr: number;
|
47
|
-
};
|
48
|
-
_disabled: {
|
49
|
-
opacity: number;
|
50
|
-
};
|
51
|
-
};
|
52
|
-
caption: {
|
53
|
-
mt: number;
|
54
|
-
fontFamily: string;
|
55
|
-
textAlign: string;
|
56
|
-
fontWeight: string;
|
57
|
-
};
|
58
|
-
} | undefined;
|
59
|
-
sizes?: {
|
60
|
-
sm: {
|
61
|
-
th: {
|
62
|
-
px: string;
|
63
|
-
py: string;
|
64
|
-
lineHeight: string;
|
65
|
-
fontSize: string;
|
66
|
-
};
|
67
|
-
td: {
|
68
|
-
px: string;
|
69
|
-
py: string;
|
70
|
-
fontSize: string;
|
71
|
-
lineHeight: string;
|
72
|
-
};
|
73
|
-
caption: {
|
74
|
-
px: string;
|
75
|
-
py: string;
|
76
|
-
fontSize: string;
|
77
|
-
};
|
78
|
-
};
|
79
|
-
md: {
|
80
|
-
th: {
|
81
|
-
px: string;
|
82
|
-
py: string;
|
83
|
-
lineHeight: string;
|
84
|
-
fontSize: string;
|
85
|
-
};
|
86
|
-
td: {
|
87
|
-
px: string;
|
88
|
-
py: string;
|
89
|
-
lineHeight: string;
|
90
|
-
};
|
91
|
-
caption: {
|
92
|
-
px: string;
|
93
|
-
py: string;
|
94
|
-
fontSize: string;
|
95
|
-
};
|
96
|
-
};
|
97
|
-
lg: {
|
98
|
-
th: {
|
99
|
-
px: string;
|
100
|
-
py: string;
|
101
|
-
lineHeight: string;
|
102
|
-
fontSize: string;
|
103
|
-
};
|
104
|
-
td: {
|
105
|
-
px: string;
|
106
|
-
py: string;
|
107
|
-
lineHeight: string;
|
108
|
-
};
|
109
|
-
caption: {
|
110
|
-
px: string;
|
111
|
-
py: string;
|
112
|
-
fontSize: string;
|
113
|
-
};
|
114
|
-
};
|
115
|
-
} | undefined;
|
116
|
-
variants?: {
|
117
|
-
simple: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
118
|
-
th: {
|
119
|
-
'&[data-is-numeric=true]': {
|
120
|
-
textAlign: string;
|
121
|
-
};
|
122
|
-
color: string;
|
123
|
-
borderBottom: string;
|
124
|
-
borderColor: string;
|
125
|
-
};
|
126
|
-
td: {
|
127
|
-
'&[data-is-numeric=true]': {
|
128
|
-
textAlign: string;
|
129
|
-
};
|
130
|
-
borderBottom: string;
|
131
|
-
borderColor: string;
|
132
|
-
};
|
133
|
-
caption: {
|
134
|
-
color: string;
|
135
|
-
};
|
136
|
-
tfoot: {
|
137
|
-
tr: {
|
138
|
-
'&:last-of-type': {
|
139
|
-
th: {
|
140
|
-
borderBottomWidth: number;
|
141
|
-
};
|
142
|
-
};
|
143
|
-
};
|
144
|
-
};
|
145
|
-
};
|
146
|
-
striped: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
147
|
-
th: {
|
148
|
-
'&[data-is-numeric=true]': {
|
149
|
-
textAlign: string;
|
150
|
-
};
|
151
|
-
color: string;
|
152
|
-
borderBottom: string;
|
153
|
-
borderColor: string;
|
154
|
-
};
|
155
|
-
td: {
|
156
|
-
'&[data-is-numeric=true]': {
|
157
|
-
textAlign: string;
|
158
|
-
};
|
159
|
-
borderBottom: string;
|
160
|
-
borderColor: string;
|
161
|
-
};
|
162
|
-
caption: {
|
163
|
-
color: string;
|
164
|
-
};
|
165
|
-
tbody: {
|
166
|
-
tr: {
|
167
|
-
'&:nth-of-type(odd)': {
|
168
|
-
'th, td': {
|
169
|
-
borderBottomWidth: string;
|
170
|
-
borderColor: string;
|
171
|
-
};
|
172
|
-
td: {
|
173
|
-
background: string;
|
174
|
-
};
|
175
|
-
};
|
176
|
-
};
|
177
|
-
};
|
178
|
-
tfoot: {
|
179
|
-
tr: {
|
180
|
-
'&:last-of-type': {
|
181
|
-
th: {
|
182
|
-
borderBottomWidth: number;
|
183
|
-
};
|
184
|
-
};
|
185
|
-
};
|
186
|
-
};
|
187
|
-
};
|
188
|
-
unstyled: {};
|
189
|
-
} | undefined;
|
190
|
-
defaultProps?: {
|
191
|
-
size?: "sm" | "md" | "lg" | undefined;
|
192
|
-
variant?: "simple" | "striped" | "unstyled" | undefined;
|
193
|
-
colorScheme?: string | undefined;
|
194
|
-
} | undefined;
|
195
|
-
parts: ("table" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot" | "caption")[];
|
196
|
-
};
|
197
|
-
export default tableTheme;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
declare const tabsTheme: {
|
2
|
-
baseStyle?: Partial<Record<"root" | "tab" | "tablist" | "tabpanel" | "tabpanels" | "indicator", import("@chakra-ui/styled-system").RecursiveCSSObject<import("@chakra-ui/styled-system").CSSWithMultiValues>>> | import("@chakra-ui/styled-system").PartsStyleFunction<{
|
3
|
-
keys: ("root" | "tab" | "tablist" | "tabpanel" | "tabpanels" | "indicator")[];
|
4
|
-
}> | undefined;
|
5
|
-
sizes?: {
|
6
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
7
|
-
keys: ("root" | "tab" | "tablist" | "tabpanel" | "tabpanels" | "indicator")[];
|
8
|
-
}>;
|
9
|
-
} | undefined;
|
10
|
-
variants?: {
|
11
|
-
line: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
12
|
-
tablist: {
|
13
|
-
[x: string]: string;
|
14
|
-
borderColor: string;
|
15
|
-
};
|
16
|
-
tab: {
|
17
|
-
[x: string]: string;
|
18
|
-
borderColor: string;
|
19
|
-
};
|
20
|
-
};
|
21
|
-
unstyled: {};
|
22
|
-
} | undefined;
|
23
|
-
defaultProps?: {
|
24
|
-
size?: string | number | undefined;
|
25
|
-
variant?: "line" | "unstyled" | undefined;
|
26
|
-
colorScheme?: string | undefined;
|
27
|
-
} | undefined;
|
28
|
-
parts: ("root" | "tab" | "tablist" | "tabpanel" | "tabpanels" | "indicator")[];
|
29
|
-
};
|
30
|
-
export default tabsTheme;
|
@@ -1,55 +0,0 @@
|
|
1
|
-
export declare const Textarea: {
|
2
|
-
baseStyle?: import("@chakra-ui/styled-system").CSSWithMultiValues | (import("@chakra-ui/styled-system").CSSWithMultiValues & import("@chakra-ui/styled-system").RecursivePseudo<import("@chakra-ui/styled-system").CSSWithMultiValues>) | (import("@chakra-ui/styled-system").CSSWithMultiValues & import("@chakra-ui/styled-system").RecursiveCSSSelector<import("@chakra-ui/styled-system").CSSWithMultiValues>) | import("@chakra-ui/styled-system").SystemStyleFunction | undefined;
|
3
|
-
sizes?: {
|
4
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
5
|
-
} | undefined;
|
6
|
-
variants?: {
|
7
|
-
outline: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
8
|
-
background: string;
|
9
|
-
color: string;
|
10
|
-
borderColor: string;
|
11
|
-
fontSize: string;
|
12
|
-
padding: number;
|
13
|
-
borderRadius: string;
|
14
|
-
borderWidth: string;
|
15
|
-
outline: string;
|
16
|
-
_disabled: {
|
17
|
-
opacity: number;
|
18
|
-
color: string;
|
19
|
-
background: string;
|
20
|
-
};
|
21
|
-
_placeholder: {
|
22
|
-
color: string;
|
23
|
-
};
|
24
|
-
_hover: {
|
25
|
-
borderColor: string;
|
26
|
-
};
|
27
|
-
_focus: {
|
28
|
-
outline: string;
|
29
|
-
borderColor: string;
|
30
|
-
boxShadow: string;
|
31
|
-
};
|
32
|
-
_focusVisible: {
|
33
|
-
outline: string;
|
34
|
-
borderColor: string;
|
35
|
-
boxShadow: string;
|
36
|
-
};
|
37
|
-
_focusWithin: {
|
38
|
-
outline: string;
|
39
|
-
borderColor: string;
|
40
|
-
boxShadow: string;
|
41
|
-
};
|
42
|
-
_invalid: {
|
43
|
-
outline: string;
|
44
|
-
borderColor: string;
|
45
|
-
boxShadow: string;
|
46
|
-
};
|
47
|
-
};
|
48
|
-
} | undefined;
|
49
|
-
defaultProps?: {
|
50
|
-
size?: string | number | undefined;
|
51
|
-
variant?: "outline" | undefined;
|
52
|
-
colorScheme?: string | undefined;
|
53
|
-
} | undefined;
|
54
|
-
};
|
55
|
-
export default Textarea;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export { default as radii } from './radius';
|
2
|
-
export { default as shadows } from './shadows';
|
3
|
-
export { default as sizes } from './sizes';
|
4
|
-
export { default as space } from './spacing';
|
5
|
-
export { fonts, fontSizes, letterSpacings, lineHeights, textStyles } from './typography';
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare const shadows: {
|
2
|
-
raised: string;
|
3
|
-
xs: string;
|
4
|
-
sm: string;
|
5
|
-
base: string;
|
6
|
-
md: string;
|
7
|
-
lg: string;
|
8
|
-
xl: string;
|
9
|
-
"2xl": string;
|
10
|
-
outline: string;
|
11
|
-
inner: string;
|
12
|
-
none: string;
|
13
|
-
"dark-lg": string;
|
14
|
-
};
|
15
|
-
export default shadows;
|