@ctlyst.id/internal-ui 2.1.16 → 2.1.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/accordion/__stories__/accordion.stories.d.ts +9 -0
- package/dist/components/accordion/components/accordion-indicator.d.ts +1 -0
- package/dist/components/accordion/components/index.d.ts +2 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/alert/__stories__/alert.stories.d.ts +11 -0
- package/dist/components/alert/components/alert-action.d.ts +6 -0
- package/dist/components/alert/components/alert-close.d.ts +6 -0
- package/dist/components/alert/components/alert-context.d.ts +33 -0
- package/dist/components/alert/components/alert-description.d.ts +3 -0
- package/dist/components/alert/components/alert-icon.d.ts +6 -0
- package/dist/components/alert/components/alert-title.d.ts +3 -0
- package/dist/components/alert/components/alert.d.ts +25 -0
- package/dist/components/alert/components/icons.d.ts +3 -0
- package/dist/components/alert/components/index.d.ts +14 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/anchor/__stories__/anchor.stories.d.ts +9 -0
- package/dist/components/anchor/components/anchor.d.ts +20 -0
- package/dist/components/anchor/components/index.d.ts +1 -0
- package/dist/components/anchor/index.d.ts +1 -0
- package/dist/components/badge/__stories__/badge.stories.d.ts +15 -0
- package/dist/components/badge/components/badge.d.ts +11 -0
- package/dist/components/badge/components/index.d.ts +1 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +8 -0
- package/dist/components/breadcrumb/components/bread-crumb.d.ts +18 -0
- package/dist/components/breadcrumb/index.d.ts +2 -0
- package/dist/components/button/__stories__/button.stories.d.ts +12 -0
- package/dist/components/button/components/button.d.ts +4 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/card/__stories__/card.stories.d.ts +8 -0
- package/dist/components/card/components/card.d.ts +8 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +13 -0
- package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
- package/dist/components/checkbox/components/checkbox.d.ts +10 -0
- package/dist/components/checkbox/index.d.ts +5 -0
- package/dist/components/chips/__stories__/chips.stories.d.ts +9 -0
- package/dist/components/chips/components/chips.d.ts +19 -0
- package/dist/components/chips/index.d.ts +2 -0
- package/dist/components/collapse/__stories__/collapse.stories.d.ts +7 -0
- package/dist/components/counter/__stories__/counter.stories.d.ts +10 -0
- package/dist/components/counter/components/counter.d.ts +15 -0
- package/dist/components/counter/index.d.ts +1 -0
- package/dist/components/data-table/__stories__/datatable.stories.d.ts +21 -0
- package/dist/components/data-table/components/data-table.d.ts +30 -0
- package/dist/components/data-table/index.d.ts +3 -0
- package/dist/components/data-table/types/table-core.d.ts +1 -0
- package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +13 -0
- package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +9 -0
- package/dist/components/datepicker/components/datepicker-month/index.d.ts +4 -0
- package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +9 -0
- package/dist/components/datepicker/components/datepicker.d.ts +17 -0
- package/dist/components/datepicker/components/styles.d.ts +2 -0
- package/dist/components/datepicker/components/time-input.d.ts +9 -0
- package/dist/components/datepicker/index.d.ts +3 -0
- package/dist/components/dialog/__stories__/dialog.stories.d.ts +7 -0
- package/dist/components/dialog/components/dialog.d.ts +12 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/empty-state/__stories__/dialog.stories.d.ts +7 -0
- package/dist/components/field/__stories__/field.stories.d.ts +7 -0
- package/dist/components/field/components/field.d.ts +15 -0
- package/dist/components/field/index.d.ts +2 -0
- package/dist/components/form/__stories__/input.stories.d.ts +15 -0
- package/dist/components/form/__stories__/textarea.stories.d.ts +7 -0
- package/dist/components/form/components/input-addon.d.ts +7 -0
- package/dist/components/form/components/input-element.d.ts +2 -0
- package/dist/components/form/components/input-field.d.ts +13 -0
- package/dist/components/form/components/textarea.d.ts +8 -0
- package/dist/components/form/index.d.ts +7 -0
- package/dist/components/form/styles/input-field.d.ts +4 -0
- package/dist/components/header/__stories__/header.stories.d.ts +9 -0
- package/dist/components/header/components/header.d.ts +19 -0
- package/dist/components/header/components/logo.d.ts +10 -0
- package/dist/components/header/components/profile.d.ts +11 -0
- package/dist/components/header/components/switch-mode.d.ts +3 -0
- package/dist/components/header/components/version.d.ts +10 -0
- package/dist/components/header/index.d.ts +3 -0
- package/dist/components/header/types.d.ts +10 -0
- package/dist/components/header/utils/formatter.d.ts +2 -0
- package/dist/components/image/__stories__/image.stories.d.ts +9 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/index.d.ts +34 -0
- package/dist/components/layouting/index.d.ts +1 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/loader/__stories__/loader.stories.d.ts +9 -0
- package/dist/components/loader/components/loader.d.ts +10 -0
- package/dist/components/loader/index.d.ts +3 -0
- package/dist/components/modal/__stories__/modal.stories.d.ts +7 -0
- package/dist/components/modal/components/modal-body.d.ts +4 -0
- package/dist/components/modal/components/modal-close-button.d.ts +4 -0
- package/dist/components/modal/components/modal-footer.d.ts +4 -0
- package/dist/components/modal/components/modal-header.d.ts +4 -0
- package/dist/components/modal/index.d.ts +5 -0
- package/dist/components/navigation/__stories__/navigation.stories.d.ts +8 -0
- package/dist/components/navigation/components/customer-icon.d.ts +2 -0
- package/dist/components/navigation/components/mapping-icon.d.ts +2 -0
- package/dist/components/navigation/components/navigation-bar.d.ts +12 -0
- package/dist/components/navigation/components/navigation.d.ts +11 -0
- package/dist/components/navigation/index.d.ts +4 -0
- package/dist/components/navigation/types.d.ts +24 -0
- package/dist/components/pagination/__stories__/pagination.stories.d.ts +10 -0
- package/dist/components/pagination/components/pagination-button-trigger.d.ts +10 -0
- package/dist/components/pagination/components/pagination-button.d.ts +6 -0
- package/dist/components/pagination/components/pagination-detail.d.ts +10 -0
- package/dist/components/pagination/components/pagination-filter.d.ts +13 -0
- package/dist/components/pagination/components/pagination.d.ts +16 -0
- package/dist/components/pagination/index.d.ts +6 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/radio/__stories__/radio.stories.d.ts +13 -0
- package/dist/components/radio/components/radio-group.d.ts +18 -0
- package/dist/components/radio/components/radio.d.ts +17 -0
- package/dist/components/radio/index.d.ts +3 -0
- package/dist/components/rating/__stories__/rating.stories.d.ts +7 -0
- package/dist/components/rating/components/rating.d.ts +6 -0
- package/dist/components/rating/index.d.ts +2 -0
- package/dist/components/select/__stories__/select.stories.d.ts +10 -0
- package/dist/components/select/components/select-async-creatable.d.ts +5 -0
- package/dist/components/select/components/select-async.d.ts +6 -0
- package/dist/components/select/components/select-creatable.d.ts +5 -0
- package/dist/components/select/components/select-wrapper.d.ts +6 -0
- package/dist/components/select/components/select.d.ts +5 -0
- package/dist/components/select/components/types/select.types.d.ts +3 -0
- package/dist/components/select/components/utils.d.ts +26 -0
- package/dist/components/select/index.d.ts +8 -0
- package/dist/components/switch/__stories__/switch.stories.d.ts +10 -0
- package/dist/components/switch/components/switch.d.ts +18 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/tabs/__stories__/tabs.stories.d.ts +8 -0
- package/dist/components/tabs/components/tab.d.ts +12 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/toast/__stories__/toast.stories.d.ts +12 -0
- package/dist/components/toast/components/toast.d.ts +21 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +7 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/uploader/__stories__/uploader.stories.d.ts +9 -0
- package/dist/components/uploader/components/uploader.d.ts +12 -0
- package/dist/components/uploader/constants.d.ts +8 -0
- package/dist/components/uploader/index.d.ts +2 -0
- package/dist/config/__stories__/foundations.stories.d.ts +15 -0
- package/dist/config/__stories__/globals.stories.d.ts +10 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/theme/components/accordion.d.ts +53 -0
- package/dist/config/theme/components/alert.d.ts +69 -0
- package/dist/config/theme/components/badge.d.ts +3 -0
- package/dist/config/theme/components/button.d.ts +3 -0
- package/dist/config/theme/components/card.d.ts +18 -0
- package/dist/config/theme/components/checkbox.d.ts +101 -0
- package/dist/config/theme/components/chips.d.ts +34 -0
- package/dist/config/theme/components/form-label.d.ts +20 -0
- package/dist/config/theme/components/index.d.ts +16 -0
- package/dist/config/theme/components/input.d.ts +101 -0
- package/dist/config/theme/components/loader.d.ts +85 -0
- package/dist/config/theme/components/popover.d.ts +3 -0
- package/dist/config/theme/components/radio.d.ts +102 -0
- package/dist/config/theme/components/switch.d.ts +75 -0
- package/dist/config/theme/components/table.d.ts +180 -0
- package/dist/config/theme/components/tabs.d.ts +30 -0
- package/dist/config/theme/components/textarea.d.ts +55 -0
- package/dist/config/theme/foundations/index.d.ts +5 -0
- package/dist/config/theme/foundations/radius.d.ts +8 -0
- package/dist/config/theme/foundations/shadows.d.ts +15 -0
- package/dist/config/theme/foundations/sizes.d.ts +66 -0
- package/dist/config/theme/foundations/spacing.d.ts +42 -0
- package/dist/config/theme/foundations/typography.d.ts +191 -0
- package/dist/config/theme/index.d.ts +1 -0
- package/dist/config/theme/themeConfiguration.d.ts +6 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/useFetcher.d.ts +4 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +546 -547
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +71 -73
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/common.d.ts +17 -0
- package/dist/internal-ui.cjs.development.js +6119 -0
- package/dist/internal-ui.cjs.development.js.map +1 -0
- package/dist/internal-ui.cjs.production.min.js +38 -0
- package/dist/internal-ui.cjs.production.min.js.map +1 -0
- package/dist/internal-ui.esm.js +5082 -0
- package/dist/internal-ui.esm.js.map +1 -0
- package/dist/provider/__stories__/provider.stories.d.ts +13 -0
- package/dist/provider/components/provider.d.ts +7 -0
- package/dist/provider/index.d.ts +3 -0
- package/dist/provider/types.d.ts +14 -0
- package/package.json +1 -1
@@ -0,0 +1,85 @@
|
|
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;
|
@@ -0,0 +1,102 @@
|
|
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;
|
@@ -0,0 +1,75 @@
|
|
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;
|
@@ -0,0 +1,180 @@
|
|
1
|
+
declare const tableTheme: {
|
2
|
+
baseStyle?: {
|
3
|
+
table: {
|
4
|
+
fontVariantNumeric: string;
|
5
|
+
borderCollapse: string;
|
6
|
+
width: string;
|
7
|
+
};
|
8
|
+
th: {
|
9
|
+
fontFamily: string;
|
10
|
+
fontWeight: string;
|
11
|
+
textTransform: string;
|
12
|
+
letterSpacing: string;
|
13
|
+
textAlign: string;
|
14
|
+
height: string;
|
15
|
+
color: (props: Record<string, any> | import("@chakra-ui/styled-system").StyleFunctionProps) => string;
|
16
|
+
fontSize: string;
|
17
|
+
lineHeight: string;
|
18
|
+
};
|
19
|
+
td: {
|
20
|
+
textAlign: string;
|
21
|
+
height: string;
|
22
|
+
};
|
23
|
+
caption: {
|
24
|
+
mt: number;
|
25
|
+
fontFamily: string;
|
26
|
+
textAlign: string;
|
27
|
+
fontWeight: string;
|
28
|
+
};
|
29
|
+
} | undefined;
|
30
|
+
sizes?: {
|
31
|
+
sm: {
|
32
|
+
th: {
|
33
|
+
px: string;
|
34
|
+
py: string;
|
35
|
+
lineHeight: string;
|
36
|
+
fontSize: string;
|
37
|
+
};
|
38
|
+
td: {
|
39
|
+
px: string;
|
40
|
+
py: string;
|
41
|
+
fontSize: string;
|
42
|
+
lineHeight: string;
|
43
|
+
};
|
44
|
+
caption: {
|
45
|
+
px: string;
|
46
|
+
py: string;
|
47
|
+
fontSize: string;
|
48
|
+
};
|
49
|
+
};
|
50
|
+
md: {
|
51
|
+
th: {
|
52
|
+
px: string;
|
53
|
+
py: string;
|
54
|
+
lineHeight: string;
|
55
|
+
fontSize: string;
|
56
|
+
'&:first-of-type': {
|
57
|
+
pl: number;
|
58
|
+
};
|
59
|
+
'&:last-of-type': {
|
60
|
+
pr: number;
|
61
|
+
};
|
62
|
+
};
|
63
|
+
td: {
|
64
|
+
px: string;
|
65
|
+
py: string;
|
66
|
+
lineHeight: string;
|
67
|
+
'&:first-of-type': {
|
68
|
+
pl: number;
|
69
|
+
};
|
70
|
+
'&:last-of-type': {
|
71
|
+
pr: number;
|
72
|
+
};
|
73
|
+
};
|
74
|
+
caption: {
|
75
|
+
px: string;
|
76
|
+
py: string;
|
77
|
+
fontSize: string;
|
78
|
+
};
|
79
|
+
};
|
80
|
+
lg: {
|
81
|
+
th: {
|
82
|
+
px: string;
|
83
|
+
py: string;
|
84
|
+
lineHeight: string;
|
85
|
+
fontSize: string;
|
86
|
+
};
|
87
|
+
td: {
|
88
|
+
px: string;
|
89
|
+
py: string;
|
90
|
+
lineHeight: string;
|
91
|
+
};
|
92
|
+
caption: {
|
93
|
+
px: string;
|
94
|
+
py: string;
|
95
|
+
fontSize: string;
|
96
|
+
};
|
97
|
+
};
|
98
|
+
} | undefined;
|
99
|
+
variants?: {
|
100
|
+
simple: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
101
|
+
th: {
|
102
|
+
'&[data-is-numeric=true]': {
|
103
|
+
textAlign: string;
|
104
|
+
};
|
105
|
+
color: string;
|
106
|
+
borderBottom: string;
|
107
|
+
borderColor: string;
|
108
|
+
};
|
109
|
+
td: {
|
110
|
+
'&[data-is-numeric=true]': {
|
111
|
+
textAlign: string;
|
112
|
+
};
|
113
|
+
borderBottom: string;
|
114
|
+
borderColor: string;
|
115
|
+
};
|
116
|
+
caption: {
|
117
|
+
color: string;
|
118
|
+
};
|
119
|
+
tfoot: {
|
120
|
+
tr: {
|
121
|
+
'&:last-of-type': {
|
122
|
+
th: {
|
123
|
+
borderBottomWidth: number;
|
124
|
+
};
|
125
|
+
};
|
126
|
+
};
|
127
|
+
};
|
128
|
+
};
|
129
|
+
striped: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
130
|
+
th: {
|
131
|
+
'&[data-is-numeric=true]': {
|
132
|
+
textAlign: string;
|
133
|
+
};
|
134
|
+
color: string;
|
135
|
+
borderBottom: string;
|
136
|
+
borderColor: string;
|
137
|
+
};
|
138
|
+
td: {
|
139
|
+
'&[data-is-numeric=true]': {
|
140
|
+
textAlign: string;
|
141
|
+
};
|
142
|
+
borderBottom: string;
|
143
|
+
borderColor: string;
|
144
|
+
};
|
145
|
+
caption: {
|
146
|
+
color: string;
|
147
|
+
};
|
148
|
+
tbody: {
|
149
|
+
tr: {
|
150
|
+
'&:nth-of-type(odd)': {
|
151
|
+
'th, td': {
|
152
|
+
borderBottomWidth: string;
|
153
|
+
borderColor: string;
|
154
|
+
};
|
155
|
+
td: {
|
156
|
+
background: string;
|
157
|
+
};
|
158
|
+
};
|
159
|
+
};
|
160
|
+
};
|
161
|
+
tfoot: {
|
162
|
+
tr: {
|
163
|
+
'&:last-of-type': {
|
164
|
+
th: {
|
165
|
+
borderBottomWidth: number;
|
166
|
+
};
|
167
|
+
};
|
168
|
+
};
|
169
|
+
};
|
170
|
+
};
|
171
|
+
unstyled: {};
|
172
|
+
} | undefined;
|
173
|
+
defaultProps?: {
|
174
|
+
size?: "sm" | "md" | "lg" | undefined;
|
175
|
+
variant?: "simple" | "striped" | "unstyled" | undefined;
|
176
|
+
colorScheme?: string | undefined;
|
177
|
+
} | undefined;
|
178
|
+
parts: ("table" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot" | "caption")[];
|
179
|
+
};
|
180
|
+
export default tableTheme;
|
@@ -0,0 +1,30 @@
|
|
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;
|
@@ -0,0 +1,55 @@
|
|
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;
|
@@ -0,0 +1,5 @@
|
|
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';
|
@@ -0,0 +1,15 @@
|
|
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;
|
@@ -0,0 +1,66 @@
|
|
1
|
+
declare const sizes: {
|
2
|
+
4.5: string;
|
3
|
+
9.5: string;
|
4
|
+
18: string;
|
5
|
+
22: string;
|
6
|
+
26: string;
|
7
|
+
30: string;
|
8
|
+
container: {
|
9
|
+
sm: string;
|
10
|
+
md: string;
|
11
|
+
lg: string;
|
12
|
+
xl: string;
|
13
|
+
};
|
14
|
+
max: string;
|
15
|
+
min: string;
|
16
|
+
full: string;
|
17
|
+
"3xs": string;
|
18
|
+
"2xs": string;
|
19
|
+
xs: string;
|
20
|
+
sm: string;
|
21
|
+
md: string;
|
22
|
+
lg: string;
|
23
|
+
xl: string;
|
24
|
+
"2xl": string;
|
25
|
+
"3xl": string;
|
26
|
+
"4xl": string;
|
27
|
+
"5xl": string;
|
28
|
+
"6xl": string;
|
29
|
+
"7xl": string;
|
30
|
+
"8xl": string;
|
31
|
+
prose: string;
|
32
|
+
px: string;
|
33
|
+
0.5: string;
|
34
|
+
1: string;
|
35
|
+
1.5: string;
|
36
|
+
2: string;
|
37
|
+
2.5: string;
|
38
|
+
3: string;
|
39
|
+
3.5: string;
|
40
|
+
4: string;
|
41
|
+
5: string;
|
42
|
+
6: string;
|
43
|
+
7: string;
|
44
|
+
8: string;
|
45
|
+
9: string;
|
46
|
+
10: string;
|
47
|
+
12: string;
|
48
|
+
14: string;
|
49
|
+
16: string;
|
50
|
+
20: string;
|
51
|
+
24: string;
|
52
|
+
28: string;
|
53
|
+
32: string;
|
54
|
+
36: string;
|
55
|
+
40: string;
|
56
|
+
44: string;
|
57
|
+
48: string;
|
58
|
+
52: string;
|
59
|
+
56: string;
|
60
|
+
60: string;
|
61
|
+
64: string;
|
62
|
+
72: string;
|
63
|
+
80: string;
|
64
|
+
96: string;
|
65
|
+
};
|
66
|
+
export default sizes;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
declare const spacing: {
|
2
|
+
4.5: string;
|
3
|
+
9.5: string;
|
4
|
+
18: string;
|
5
|
+
22: string;
|
6
|
+
26: string;
|
7
|
+
30: string;
|
8
|
+
px: string;
|
9
|
+
0.5: string;
|
10
|
+
1: string;
|
11
|
+
1.5: string;
|
12
|
+
2: string;
|
13
|
+
2.5: string;
|
14
|
+
3: string;
|
15
|
+
3.5: string;
|
16
|
+
4: string;
|
17
|
+
5: string;
|
18
|
+
6: string;
|
19
|
+
7: string;
|
20
|
+
8: string;
|
21
|
+
9: string;
|
22
|
+
10: string;
|
23
|
+
12: string;
|
24
|
+
14: string;
|
25
|
+
16: string;
|
26
|
+
20: string;
|
27
|
+
24: string;
|
28
|
+
28: string;
|
29
|
+
32: string;
|
30
|
+
36: string;
|
31
|
+
40: string;
|
32
|
+
44: string;
|
33
|
+
48: string;
|
34
|
+
52: string;
|
35
|
+
56: string;
|
36
|
+
60: string;
|
37
|
+
64: string;
|
38
|
+
72: string;
|
39
|
+
80: string;
|
40
|
+
96: string;
|
41
|
+
};
|
42
|
+
export default spacing;
|