@xqmsg/ui-core 0.8.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/LICENSE +21 -0
- package/README.md +181 -0
- package/dist/components/banner/Banner.stories.d.ts +5 -0
- package/dist/components/banner/index.d.ts +12 -0
- package/dist/components/breadcrumbs/Breadcrumbs.stories.d.ts +5 -0
- package/dist/components/breadcrumbs/components/icon/index.d.ts +9 -0
- package/dist/components/breadcrumbs/components/label/index.d.ts +8 -0
- package/dist/components/breadcrumbs/index.d.ts +14 -0
- package/dist/components/button/Button.stories.d.ts +5 -0
- package/dist/components/button/google/GoogleButton.stories.d.ts +5 -0
- package/dist/components/button/google/index.d.ts +8 -0
- package/dist/components/button/index.d.ts +20 -0
- package/dist/components/button/spinner/SpinnerButton.stories.d.ts +5 -0
- package/dist/components/button/spinner/index.d.ts +9 -0
- package/dist/components/form/Form.stories.d.ts +8 -0
- package/dist/components/form/FormTypes.d.ts +16 -0
- package/dist/components/form/hooks/useFormHandler.d.ts +10 -0
- package/dist/components/form/index.d.ts +12 -0
- package/dist/components/form/section/FormSection.stories.d.ts +9 -0
- package/dist/components/form/section/index.d.ts +28 -0
- package/dist/components/form/utils/formErrors.d.ts +6 -0
- package/dist/components/input/Input.stories.d.ts +8 -0
- package/dist/components/input/InputTypes.d.ts +27 -0
- package/dist/components/input/StackedCheckbox/StackedCheckboxGroup.d.ts +10 -0
- package/dist/components/input/StackedInput/StackedInput.d.ts +13 -0
- package/dist/components/input/StackedMultiSelect/components/MultiValue/index.d.ts +10 -0
- package/dist/components/input/StackedMultiSelect/index.d.ts +13 -0
- package/dist/components/input/StackedPilledInput/index.d.ts +12 -0
- package/dist/components/input/StackedRadio/StackedRadioGroup.d.ts +11 -0
- package/dist/components/input/StackedSelect/StackedSelect.d.ts +10 -0
- package/dist/components/input/StackedSwitch/index.d.ts +9 -0
- package/dist/components/input/StackedTextarea/StackedTextarea.d.ts +9 -0
- package/dist/components/input/components/InputTag/index.d.ts +7 -0
- package/dist/components/input/index.d.ts +26 -0
- package/dist/components/layout/BorderedBox/index.d.ts +9 -0
- package/dist/components/layout/Layout.stories.d.ts +5 -0
- package/dist/components/layout/index.d.ts +11 -0
- package/dist/components/loading/LoadingIndicator.stories.d.ts +5 -0
- package/dist/components/loading/index.d.ts +12 -0
- package/dist/components/table/Table.stories.d.ts +6 -0
- package/dist/components/table/TableTypes.d.ts +11 -0
- package/dist/components/table/index.d.ts +17 -0
- package/dist/components/table/loading/index.d.ts +10 -0
- package/dist/components/table/utils/generateTableColumns.d.ts +6 -0
- package/dist/components/tabs/TabsWrapper.stories.d.ts +6 -0
- package/dist/components/tabs/index.d.ts +10 -0
- package/dist/components/text/Text.stories.d.ts +5 -0
- package/dist/components/text/index.d.ts +19 -0
- package/dist/hooks/useDeepEffect.d.ts +5 -0
- package/dist/hooks/useDidMountEffect.d.ts +2 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +8 -0
- package/dist/theme/components/alert.d.ts +46 -0
- package/dist/theme/components/badge.d.ts +32 -0
- package/dist/theme/components/button.d.ts +231 -0
- package/dist/theme/components/code.d.ts +27 -0
- package/dist/theme/components/form-error.d.ts +16 -0
- package/dist/theme/components/form-label.d.ts +15 -0
- package/dist/theme/components/form.d.ts +16 -0
- package/dist/theme/components/input.d.ts +182 -0
- package/dist/theme/components/link.d.ts +97 -0
- package/dist/theme/components/menu.d.ts +48 -0
- package/dist/theme/components/modal.d.ts +242 -0
- package/dist/theme/components/select.d.ts +191 -0
- package/dist/theme/components/switch.d.ts +76 -0
- package/dist/theme/components/tabs.d.ts +219 -0
- package/dist/theme/components/text.d.ts +1373 -0
- package/dist/theme/components/textarea.d.ts +137 -0
- package/dist/theme/customXQChakraTheme.d.ts +3 -0
- package/dist/theme/foundations/breakpoints.d.ts +3 -0
- package/dist/theme/foundations/colors.d.ts +126 -0
- package/dist/theme/foundations/shadows.d.ts +17 -0
- package/dist/theme/foundations/typography.d.ts +56 -0
- package/dist/theme/provider/index.d.ts +6 -0
- package/dist/theme/styles.d.ts +20 -0
- package/dist/ui-core.cjs.development.js +3034 -0
- package/dist/ui-core.cjs.development.js.map +1 -0
- package/dist/ui-core.cjs.production.min.js +2 -0
- package/dist/ui-core.cjs.production.min.js.map +1 -0
- package/dist/ui-core.esm.js +3013 -0
- package/dist/ui-core.esm.js.map +1 -0
- package/package.json +113 -0
- package/src/components/banner/Banner.stories.tsx +68 -0
- package/src/components/banner/assets/svg/error.svg +3 -0
- package/src/components/banner/assets/svg/neutral.svg +3 -0
- package/src/components/banner/assets/svg/positive.svg +3 -0
- package/src/components/banner/assets/svg/warning.svg +3 -0
- package/src/components/banner/index.tsx +63 -0
- package/src/components/breadcrumbs/Breadcrumbs.stories.tsx +66 -0
- package/src/components/breadcrumbs/components/icon/index.tsx +40 -0
- package/src/components/breadcrumbs/components/label/index.tsx +20 -0
- package/src/components/breadcrumbs/index.tsx +47 -0
- package/src/components/button/Button.stories.tsx +46 -0
- package/src/components/button/google/GoogleButton.stories.tsx +23 -0
- package/src/components/button/google/assets/GoogleLogo.svg +13 -0
- package/src/components/button/google/index.tsx +32 -0
- package/src/components/button/index.tsx +54 -0
- package/src/components/button/spinner/SpinnerButton.stories.tsx +60 -0
- package/src/components/button/spinner/index.tsx +42 -0
- package/src/components/form/Form.stories.tsx +62 -0
- package/src/components/form/FormTypes.ts +18 -0
- package/src/components/form/hooks/useFormHandler.tsx +74 -0
- package/src/components/form/index.tsx +25 -0
- package/src/components/form/section/FormSection.stories.tsx +109 -0
- package/src/components/form/section/index.tsx +81 -0
- package/src/components/form/utils/formErrors.ts +34 -0
- package/src/components/input/Input.stories.tsx +171 -0
- package/src/components/input/InputTypes.ts +71 -0
- package/src/components/input/StackedCheckbox/StackedCheckboxGroup.tsx +29 -0
- package/src/components/input/StackedInput/StackedInput.tsx +30 -0
- package/src/components/input/StackedMultiSelect/components/MultiValue/index.tsx +21 -0
- package/src/components/input/StackedMultiSelect/index.tsx +145 -0
- package/src/components/input/StackedPilledInput/index.tsx +169 -0
- package/src/components/input/StackedRadio/StackedRadioGroup.tsx +38 -0
- package/src/components/input/StackedSelect/StackedSelect.tsx +33 -0
- package/src/components/input/StackedSwitch/index.tsx +28 -0
- package/src/components/input/StackedTextarea/StackedTextarea.tsx +17 -0
- package/src/components/input/components/InputTag/index.tsx +24 -0
- package/src/components/input/index.tsx +271 -0
- package/src/components/layout/BorderedBox/index.tsx +30 -0
- package/src/components/layout/Layout.stories.tsx +40 -0
- package/src/components/layout/index.tsx +100 -0
- package/src/components/loading/LoadingIndicator.stories.tsx +45 -0
- package/src/components/loading/index.tsx +45 -0
- package/src/components/table/Table.stories.tsx +73 -0
- package/src/components/table/TableTypes.ts +35 -0
- package/src/components/table/index.tsx +88 -0
- package/src/components/table/loading/index.tsx +42 -0
- package/src/components/table/utils/generateTableColumns.ts +9 -0
- package/src/components/tabs/TabsWrapper.stories.tsx +85 -0
- package/src/components/tabs/index.tsx +39 -0
- package/src/components/text/Text.stories.tsx +59 -0
- package/src/components/text/index.tsx +45 -0
- package/src/hooks/useDeepEffect.tsx +22 -0
- package/src/hooks/useDidMountEffect.tsx +13 -0
- package/src/index.tsx +48 -0
- package/src/theme/components/alert.ts +60 -0
- package/src/theme/components/badge.ts +59 -0
- package/src/theme/components/button.ts +211 -0
- package/src/theme/components/code.ts +16 -0
- package/src/theme/components/form-error.ts +32 -0
- package/src/theme/components/form-label.ts +16 -0
- package/src/theme/components/form.ts +32 -0
- package/src/theme/components/input.ts +213 -0
- package/src/theme/components/link.ts +117 -0
- package/src/theme/components/menu.ts +70 -0
- package/src/theme/components/modal.ts +216 -0
- package/src/theme/components/select.ts +41 -0
- package/src/theme/components/switch.ts +89 -0
- package/src/theme/components/tabs.ts +255 -0
- package/src/theme/components/text.ts +46 -0
- package/src/theme/components/textarea.ts +54 -0
- package/src/theme/customXQChakraTheme.ts +52 -0
- package/src/theme/foundations/breakpoints.ts +18 -0
- package/src/theme/foundations/colors.ts +136 -0
- package/src/theme/foundations/shadows.ts +23 -0
- package/src/theme/foundations/typography.ts +62 -0
- package/src/theme/provider/index.tsx +16 -0
- package/src/theme/styles.ts +19 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
declare type Dict = Record<string, any>;
|
|
2
|
+
declare function variantOutline(props: Dict): {
|
|
3
|
+
field: {
|
|
4
|
+
border: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
bg: string;
|
|
7
|
+
_hover: {
|
|
8
|
+
borderColor: string;
|
|
9
|
+
};
|
|
10
|
+
_readOnly: {
|
|
11
|
+
boxShadow: string;
|
|
12
|
+
userSelect: string;
|
|
13
|
+
};
|
|
14
|
+
_disabled: {
|
|
15
|
+
opacity: number;
|
|
16
|
+
cursor: string;
|
|
17
|
+
};
|
|
18
|
+
_focus: {
|
|
19
|
+
zIndex: number;
|
|
20
|
+
borderColor: any;
|
|
21
|
+
boxShadow: string;
|
|
22
|
+
};
|
|
23
|
+
_invalid: {
|
|
24
|
+
borderColor: any;
|
|
25
|
+
boxShadow: string;
|
|
26
|
+
_focus: {
|
|
27
|
+
boxShadow: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
addon: {
|
|
32
|
+
border: string;
|
|
33
|
+
borderColor: string;
|
|
34
|
+
bg: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
declare function variantFilled(props: Dict): {
|
|
38
|
+
field: {
|
|
39
|
+
border: string;
|
|
40
|
+
borderColor: string;
|
|
41
|
+
bg: string;
|
|
42
|
+
_hover: {
|
|
43
|
+
bg: string;
|
|
44
|
+
};
|
|
45
|
+
_readOnly: {
|
|
46
|
+
boxShadow: string;
|
|
47
|
+
userSelect: string;
|
|
48
|
+
};
|
|
49
|
+
_disabled: {
|
|
50
|
+
opacity: number;
|
|
51
|
+
cursor: string;
|
|
52
|
+
};
|
|
53
|
+
_focus: {
|
|
54
|
+
bg: string;
|
|
55
|
+
borderColor: any;
|
|
56
|
+
};
|
|
57
|
+
_invalid: {
|
|
58
|
+
borderColor: any;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
addon: {
|
|
62
|
+
border: string;
|
|
63
|
+
borderColor: string;
|
|
64
|
+
bg: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
declare function variantFlushed(props: Dict): {
|
|
68
|
+
field: {
|
|
69
|
+
borderBottom: string;
|
|
70
|
+
borderRadius: number;
|
|
71
|
+
pl: number;
|
|
72
|
+
pr: number;
|
|
73
|
+
bg: string;
|
|
74
|
+
_readOnly: {
|
|
75
|
+
boxShadow: string;
|
|
76
|
+
userSelect: string;
|
|
77
|
+
};
|
|
78
|
+
_focus: {
|
|
79
|
+
borderColor: any;
|
|
80
|
+
boxShadow: string;
|
|
81
|
+
};
|
|
82
|
+
_invalid: {
|
|
83
|
+
borderColor: any;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
addon: {
|
|
87
|
+
borderBottom: string;
|
|
88
|
+
borderColor: string;
|
|
89
|
+
borderRadius: number;
|
|
90
|
+
paddingX: number;
|
|
91
|
+
bg: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
declare const _default: {
|
|
95
|
+
parts: string[];
|
|
96
|
+
baseStyle: {
|
|
97
|
+
field: {
|
|
98
|
+
width: string;
|
|
99
|
+
outline: number;
|
|
100
|
+
position: string;
|
|
101
|
+
appearance: string;
|
|
102
|
+
transition: string;
|
|
103
|
+
'::placeholder': {
|
|
104
|
+
color: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
sizes: {
|
|
109
|
+
lg: {
|
|
110
|
+
field: {
|
|
111
|
+
fontSize: string;
|
|
112
|
+
pl: number;
|
|
113
|
+
pr: number;
|
|
114
|
+
h: number;
|
|
115
|
+
borderRadius: string;
|
|
116
|
+
};
|
|
117
|
+
addon: {
|
|
118
|
+
fontSize: string;
|
|
119
|
+
pl: number;
|
|
120
|
+
pr: number;
|
|
121
|
+
h: number;
|
|
122
|
+
borderRadius: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
md: {
|
|
126
|
+
field: {
|
|
127
|
+
fontSize: string;
|
|
128
|
+
pl: number;
|
|
129
|
+
pr: number;
|
|
130
|
+
h: number;
|
|
131
|
+
borderRadius: string;
|
|
132
|
+
};
|
|
133
|
+
addon: {
|
|
134
|
+
fontSize: string;
|
|
135
|
+
pl: number;
|
|
136
|
+
pr: number;
|
|
137
|
+
h: number;
|
|
138
|
+
borderRadius: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
sm: {
|
|
142
|
+
field: {
|
|
143
|
+
fontSize: string;
|
|
144
|
+
pl: number;
|
|
145
|
+
pr: number;
|
|
146
|
+
h: number;
|
|
147
|
+
borderRadius: string;
|
|
148
|
+
};
|
|
149
|
+
addon: {
|
|
150
|
+
fontSize: string;
|
|
151
|
+
pl: number;
|
|
152
|
+
pr: number;
|
|
153
|
+
h: number;
|
|
154
|
+
borderRadius: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
variants: {
|
|
159
|
+
outline: typeof variantOutline;
|
|
160
|
+
filled: typeof variantFilled;
|
|
161
|
+
flushed: typeof variantFlushed;
|
|
162
|
+
unstyled: {
|
|
163
|
+
field: {
|
|
164
|
+
bg: string;
|
|
165
|
+
pl: number;
|
|
166
|
+
pr: number;
|
|
167
|
+
height: string;
|
|
168
|
+
};
|
|
169
|
+
addon: {
|
|
170
|
+
bg: string;
|
|
171
|
+
pl: number;
|
|
172
|
+
pr: number;
|
|
173
|
+
height: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
defaultProps: {
|
|
178
|
+
size: string;
|
|
179
|
+
variant: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
export default _default;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare type Dict = Record<string, any>;
|
|
2
|
+
declare function variantSidebar(): {
|
|
3
|
+
display: string;
|
|
4
|
+
alignItems: string;
|
|
5
|
+
pl: number;
|
|
6
|
+
pr: number;
|
|
7
|
+
py: number;
|
|
8
|
+
color: string;
|
|
9
|
+
lineHeight: number;
|
|
10
|
+
outline: string;
|
|
11
|
+
transition: string;
|
|
12
|
+
textDecoration: string;
|
|
13
|
+
_focus: {
|
|
14
|
+
boxShadow: string;
|
|
15
|
+
};
|
|
16
|
+
_hover: {
|
|
17
|
+
color: string;
|
|
18
|
+
textDecoration: string;
|
|
19
|
+
};
|
|
20
|
+
'&.active': {
|
|
21
|
+
color: string;
|
|
22
|
+
fontWeight: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
declare function variantSidebarExact(): {
|
|
26
|
+
'&.active': {};
|
|
27
|
+
display: string;
|
|
28
|
+
alignItems: string;
|
|
29
|
+
pl: number;
|
|
30
|
+
pr: number;
|
|
31
|
+
py: number;
|
|
32
|
+
color: string;
|
|
33
|
+
lineHeight: number;
|
|
34
|
+
outline: string;
|
|
35
|
+
transition: string;
|
|
36
|
+
textDecoration: string;
|
|
37
|
+
_focus: {
|
|
38
|
+
boxShadow: string;
|
|
39
|
+
};
|
|
40
|
+
_hover: {
|
|
41
|
+
color: string;
|
|
42
|
+
textDecoration: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
declare function variantSubNavigation(props: Dict): {
|
|
46
|
+
display: string;
|
|
47
|
+
pl: number;
|
|
48
|
+
mb: number;
|
|
49
|
+
color: string;
|
|
50
|
+
lineHeight: string;
|
|
51
|
+
fontSize: string;
|
|
52
|
+
outline: string;
|
|
53
|
+
transition: string;
|
|
54
|
+
textDecoration: string;
|
|
55
|
+
_focus: {
|
|
56
|
+
boxShadow: string;
|
|
57
|
+
};
|
|
58
|
+
_hover: {
|
|
59
|
+
color: string;
|
|
60
|
+
textDecoration: string;
|
|
61
|
+
};
|
|
62
|
+
'&.active': {
|
|
63
|
+
color: string;
|
|
64
|
+
boxShadow: string;
|
|
65
|
+
fontWeight: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
declare function variantNavlink(props: Dict): {
|
|
69
|
+
color: string;
|
|
70
|
+
fontWeight: string;
|
|
71
|
+
textDecoration: string;
|
|
72
|
+
fontSize: any;
|
|
73
|
+
_hover: {
|
|
74
|
+
color: string;
|
|
75
|
+
textDecoration: string;
|
|
76
|
+
};
|
|
77
|
+
'&.active': {
|
|
78
|
+
color: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
declare const _default: {
|
|
82
|
+
baseStyle: {
|
|
83
|
+
color: string;
|
|
84
|
+
textDecoration: string;
|
|
85
|
+
transition: string;
|
|
86
|
+
_hover: {
|
|
87
|
+
color: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
variants: {
|
|
91
|
+
sidebar: typeof variantSidebar;
|
|
92
|
+
sidebarExact: typeof variantSidebarExact;
|
|
93
|
+
subNavigation: typeof variantSubNavigation;
|
|
94
|
+
navlink: typeof variantNavlink;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: (props: Record<string, any>) => {
|
|
4
|
+
list: {
|
|
5
|
+
bg: string;
|
|
6
|
+
boxShadow: string;
|
|
7
|
+
color: string;
|
|
8
|
+
minW: string;
|
|
9
|
+
py: number;
|
|
10
|
+
zIndex: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
borderWidth: number;
|
|
13
|
+
overflow: string;
|
|
14
|
+
};
|
|
15
|
+
item: {
|
|
16
|
+
fontSize: string;
|
|
17
|
+
py: number;
|
|
18
|
+
px: number;
|
|
19
|
+
transition: string;
|
|
20
|
+
_focus: {
|
|
21
|
+
bg: string;
|
|
22
|
+
};
|
|
23
|
+
_hover: {
|
|
24
|
+
bg: string;
|
|
25
|
+
};
|
|
26
|
+
_active: {
|
|
27
|
+
bg: string;
|
|
28
|
+
};
|
|
29
|
+
_expanded: {
|
|
30
|
+
bg: string;
|
|
31
|
+
};
|
|
32
|
+
_disabled: {
|
|
33
|
+
opacity: number;
|
|
34
|
+
cursor: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
groupTitle: {
|
|
38
|
+
mx: number;
|
|
39
|
+
my: number;
|
|
40
|
+
fontWeight: string;
|
|
41
|
+
fontSize: string;
|
|
42
|
+
};
|
|
43
|
+
command: {
|
|
44
|
+
opacity: number;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
parts: string[];
|
|
3
|
+
baseStyle: (props: Record<string, any>) => {
|
|
4
|
+
overlay: {
|
|
5
|
+
bg: string;
|
|
6
|
+
zIndex: string;
|
|
7
|
+
};
|
|
8
|
+
dialogContainer: {
|
|
9
|
+
display: string;
|
|
10
|
+
zIndex: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
alignItems: string;
|
|
13
|
+
overflow: string;
|
|
14
|
+
WebkitOverflowScrolling: string;
|
|
15
|
+
};
|
|
16
|
+
dialog: {
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
bg: string;
|
|
19
|
+
color: string;
|
|
20
|
+
mt: string | {
|
|
21
|
+
base: number;
|
|
22
|
+
md: string;
|
|
23
|
+
};
|
|
24
|
+
mb: string | {
|
|
25
|
+
base: number;
|
|
26
|
+
md: string;
|
|
27
|
+
};
|
|
28
|
+
mx: number;
|
|
29
|
+
zIndex: string;
|
|
30
|
+
maxH: string | undefined;
|
|
31
|
+
boxShadow: string;
|
|
32
|
+
};
|
|
33
|
+
header: {
|
|
34
|
+
px: number;
|
|
35
|
+
py: number;
|
|
36
|
+
minHeight: number;
|
|
37
|
+
fontSize: string;
|
|
38
|
+
display: string;
|
|
39
|
+
alignItems: string;
|
|
40
|
+
fontWeight: string;
|
|
41
|
+
bg: string;
|
|
42
|
+
color: string;
|
|
43
|
+
userSelect: string;
|
|
44
|
+
};
|
|
45
|
+
closeButton: {
|
|
46
|
+
position: string;
|
|
47
|
+
top: number;
|
|
48
|
+
right: number;
|
|
49
|
+
};
|
|
50
|
+
body: {
|
|
51
|
+
px: (number | null)[];
|
|
52
|
+
py: number;
|
|
53
|
+
flex: number;
|
|
54
|
+
overflow: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
footer: {
|
|
57
|
+
px: (number | null)[];
|
|
58
|
+
pt: number;
|
|
59
|
+
pb: number;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
sizes: {
|
|
63
|
+
xs: {
|
|
64
|
+
content: {
|
|
65
|
+
maxW: string;
|
|
66
|
+
h: string;
|
|
67
|
+
};
|
|
68
|
+
body?: undefined;
|
|
69
|
+
footer?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
content: {
|
|
72
|
+
maxW: string;
|
|
73
|
+
h?: undefined;
|
|
74
|
+
};
|
|
75
|
+
body: any;
|
|
76
|
+
footer: any;
|
|
77
|
+
};
|
|
78
|
+
sm: {
|
|
79
|
+
content: {
|
|
80
|
+
maxW: string;
|
|
81
|
+
h: string;
|
|
82
|
+
};
|
|
83
|
+
body?: undefined;
|
|
84
|
+
footer?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
content: {
|
|
87
|
+
maxW: string;
|
|
88
|
+
h?: undefined;
|
|
89
|
+
};
|
|
90
|
+
body: any;
|
|
91
|
+
footer: any;
|
|
92
|
+
};
|
|
93
|
+
md: {
|
|
94
|
+
content: {
|
|
95
|
+
maxW: string;
|
|
96
|
+
h: string;
|
|
97
|
+
};
|
|
98
|
+
body?: undefined;
|
|
99
|
+
footer?: undefined;
|
|
100
|
+
} | {
|
|
101
|
+
content: {
|
|
102
|
+
maxW: string;
|
|
103
|
+
h?: undefined;
|
|
104
|
+
};
|
|
105
|
+
body: any;
|
|
106
|
+
footer: any;
|
|
107
|
+
};
|
|
108
|
+
lg: {
|
|
109
|
+
content: {
|
|
110
|
+
maxW: string;
|
|
111
|
+
h: string;
|
|
112
|
+
};
|
|
113
|
+
body?: undefined;
|
|
114
|
+
footer?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
content: {
|
|
117
|
+
maxW: string;
|
|
118
|
+
h?: undefined;
|
|
119
|
+
};
|
|
120
|
+
body: any;
|
|
121
|
+
footer: any;
|
|
122
|
+
};
|
|
123
|
+
xl: {
|
|
124
|
+
content: {
|
|
125
|
+
maxW: string;
|
|
126
|
+
h: string;
|
|
127
|
+
};
|
|
128
|
+
body?: undefined;
|
|
129
|
+
footer?: undefined;
|
|
130
|
+
} | {
|
|
131
|
+
content: {
|
|
132
|
+
maxW: string;
|
|
133
|
+
h?: undefined;
|
|
134
|
+
};
|
|
135
|
+
body: any;
|
|
136
|
+
footer: any;
|
|
137
|
+
};
|
|
138
|
+
'2xl': {
|
|
139
|
+
content: {
|
|
140
|
+
maxW: string;
|
|
141
|
+
h: string;
|
|
142
|
+
};
|
|
143
|
+
body?: undefined;
|
|
144
|
+
footer?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
content: {
|
|
147
|
+
maxW: string;
|
|
148
|
+
h?: undefined;
|
|
149
|
+
};
|
|
150
|
+
body: any;
|
|
151
|
+
footer: any;
|
|
152
|
+
};
|
|
153
|
+
'3xl': {
|
|
154
|
+
content: {
|
|
155
|
+
maxW: string;
|
|
156
|
+
h: string;
|
|
157
|
+
};
|
|
158
|
+
body?: undefined;
|
|
159
|
+
footer?: undefined;
|
|
160
|
+
} | {
|
|
161
|
+
content: {
|
|
162
|
+
maxW: string;
|
|
163
|
+
h?: undefined;
|
|
164
|
+
};
|
|
165
|
+
body: any;
|
|
166
|
+
footer: any;
|
|
167
|
+
};
|
|
168
|
+
'4xl': {
|
|
169
|
+
content: {
|
|
170
|
+
maxW: string;
|
|
171
|
+
h: string;
|
|
172
|
+
};
|
|
173
|
+
body?: undefined;
|
|
174
|
+
footer?: undefined;
|
|
175
|
+
} | {
|
|
176
|
+
content: {
|
|
177
|
+
maxW: string;
|
|
178
|
+
h?: undefined;
|
|
179
|
+
};
|
|
180
|
+
body: any;
|
|
181
|
+
footer: any;
|
|
182
|
+
};
|
|
183
|
+
'5xl': {
|
|
184
|
+
content: {
|
|
185
|
+
maxW: string;
|
|
186
|
+
h: string;
|
|
187
|
+
};
|
|
188
|
+
body?: undefined;
|
|
189
|
+
footer?: undefined;
|
|
190
|
+
} | {
|
|
191
|
+
content: {
|
|
192
|
+
maxW: string;
|
|
193
|
+
h?: undefined;
|
|
194
|
+
};
|
|
195
|
+
body: any;
|
|
196
|
+
footer: any;
|
|
197
|
+
};
|
|
198
|
+
'6xl': {
|
|
199
|
+
content: {
|
|
200
|
+
maxW: string;
|
|
201
|
+
h: string;
|
|
202
|
+
};
|
|
203
|
+
body?: undefined;
|
|
204
|
+
footer?: undefined;
|
|
205
|
+
} | {
|
|
206
|
+
content: {
|
|
207
|
+
maxW: string;
|
|
208
|
+
h?: undefined;
|
|
209
|
+
};
|
|
210
|
+
body: any;
|
|
211
|
+
footer: any;
|
|
212
|
+
};
|
|
213
|
+
full: {
|
|
214
|
+
content: {
|
|
215
|
+
maxW: string;
|
|
216
|
+
h: string;
|
|
217
|
+
};
|
|
218
|
+
body?: undefined;
|
|
219
|
+
footer?: undefined;
|
|
220
|
+
} | {
|
|
221
|
+
content: {
|
|
222
|
+
maxW: string;
|
|
223
|
+
h?: undefined;
|
|
224
|
+
};
|
|
225
|
+
body: any;
|
|
226
|
+
footer: any;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
variants: {
|
|
230
|
+
warning: () => {
|
|
231
|
+
header: {
|
|
232
|
+
bg: string;
|
|
233
|
+
color: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
defaultProps: {
|
|
238
|
+
size: string;
|
|
239
|
+
isCentered: boolean;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
export default _default;
|