gd-design-library 0.0.1
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/README.md +201 -0
- package/assets/icons/arrow-forward.d.ts +6 -0
- package/assets/icons/check.d.ts +6 -0
- package/assets/icons/chevron-right.d.ts +6 -0
- package/assets/icons/cross.d.ts +6 -0
- package/assets/icons/dot.d.ts +6 -0
- package/assets/icons/home.d.ts +6 -0
- package/assets/icons/slash.d.ts +6 -0
- package/assets/icons/star.d.ts +5 -0
- package/assets/icons/toast_error.d.ts +5 -0
- package/assets/icons/toast_info.d.ts +5 -0
- package/assets/icons/toast_success.d.ts +5 -0
- package/assets/icons/toast_warning.d.ts +5 -0
- package/assets/index.d.ts +83 -0
- package/components/core/Breadcrumbs/Breadcrumbs.d.ts +2 -0
- package/components/core/Breadcrumbs/Breadcrumbs.types.d.ts +14 -0
- package/components/core/Breadcrumbs/StyledBreadcrumbs.d.ts +6 -0
- package/components/core/Breadcrumbs/constants.d.ts +1 -0
- package/components/core/Breadcrumbs/index.d.ts +2 -0
- package/components/core/Button/Button.d.ts +5 -0
- package/components/core/Button/Button.types.d.ts +52 -0
- package/components/core/Button/StyledButton.d.ts +5 -0
- package/components/core/Button/constants.d.ts +1 -0
- package/components/core/Button/index.d.ts +2 -0
- package/components/core/Form/Form.d.ts +5 -0
- package/components/core/Form/Form.types.d.ts +24 -0
- package/components/core/Form/StyledForm.d.ts +2 -0
- package/components/core/Form/constants.d.ts +1 -0
- package/components/core/Form/index.d.ts +2 -0
- package/components/core/Form/utils.d.ts +3 -0
- package/components/core/Icon/Icon.d.ts +5 -0
- package/components/core/Icon/Icon.types.d.ts +8 -0
- package/components/core/Icon/constants.d.ts +1 -0
- package/components/core/Icon/index.d.ts +2 -0
- package/components/core/Input/Input.d.ts +3 -0
- package/components/core/Input/Input.types.d.ts +68 -0
- package/components/core/Input/StyledInput.d.ts +3 -0
- package/components/core/Input/constants.d.ts +1 -0
- package/components/core/Input/index.d.ts +2 -0
- package/components/core/Label/Label.d.ts +5 -0
- package/components/core/Label/Label.types.d.ts +23 -0
- package/components/core/Label/StyledLabel.d.ts +2 -0
- package/components/core/Label/constants.d.ts +1 -0
- package/components/core/Label/index.d.ts +2 -0
- package/components/core/Link/Link.d.ts +4 -0
- package/components/core/Link/Link.types.d.ts +35 -0
- package/components/core/Link/StyledLink.d.ts +2 -0
- package/components/core/Link/constants.d.ts +1 -0
- package/components/core/Link/index.d.ts +2 -0
- package/components/core/List/List.d.ts +3 -0
- package/components/core/List/List.types.d.ts +12 -0
- package/components/core/List/StyledList.d.ts +3 -0
- package/components/core/List/constants.d.ts +1 -0
- package/components/core/List/index.d.ts +2 -0
- package/components/core/Loader/Loader.d.ts +4 -0
- package/components/core/Loader/Loader.types.d.ts +13 -0
- package/components/core/Loader/StyledLoader.d.ts +2 -0
- package/components/core/Loader/constants.d.ts +2 -0
- package/components/core/Loader/index.d.ts +2 -0
- package/components/core/Modal/Modal.d.ts +2 -0
- package/components/core/Modal/Modal.types.d.ts +12 -0
- package/components/core/Modal/StyledModal.d.ts +7 -0
- package/components/core/Modal/constants.d.ts +1 -0
- package/components/core/Modal/index.d.ts +2 -0
- package/components/core/Portal/Portal.d.ts +4 -0
- package/components/core/Portal/Portal.types.d.ts +7 -0
- package/components/core/Portal/constants.d.ts +1 -0
- package/components/core/Portal/index.d.ts +2 -0
- package/components/core/Skeleton/Skeleton.d.ts +4 -0
- package/components/core/Skeleton/Skeleton.types.d.ts +19 -0
- package/components/core/Skeleton/StyledSkeleton.d.ts +2 -0
- package/components/core/Skeleton/constants.d.ts +2 -0
- package/components/core/Skeleton/index.d.ts +2 -0
- package/components/core/Snackbar/Snackbar.d.ts +2 -0
- package/components/core/Snackbar/Snackbar.types.d.ts +41 -0
- package/components/core/Snackbar/SnackbarManager.d.ts +3 -0
- package/components/core/Snackbar/StyledSnackbar.d.ts +13 -0
- package/components/core/Snackbar/constants.d.ts +8 -0
- package/components/core/Snackbar/index.d.ts +4 -0
- package/components/core/Switch/StyledSwitch.d.ts +2 -0
- package/components/core/Switch/Switch.d.ts +2 -0
- package/components/core/Switch/constants.d.ts +1 -0
- package/components/core/Switch/index.d.ts +2 -0
- package/components/core/Switch/types.d.ts +18 -0
- package/components/core/Textarea/StyledTextarea.d.ts +3 -0
- package/components/core/Textarea/Textarea.d.ts +3 -0
- package/components/core/Textarea/Textarea.types.d.ts +42 -0
- package/components/core/Textarea/TextareaWidget.d.ts +3 -0
- package/components/core/Textarea/constants.d.ts +1 -0
- package/components/core/Textarea/hooks/index.d.ts +2 -0
- package/components/core/Textarea/hooks/useDynamicHeightAdjustment.d.ts +2 -0
- package/components/core/Textarea/hooks/useResizeObserver.d.ts +2 -0
- package/components/core/Textarea/index.d.ts +3 -0
- package/components/core/Tooltip/StyledTooltip.d.ts +3 -0
- package/components/core/Tooltip/Tooltip.d.ts +3 -0
- package/components/core/Tooltip/Tooltip.types.d.ts +17 -0
- package/components/core/Tooltip/constants.d.ts +3 -0
- package/components/core/Tooltip/index.d.ts +1 -0
- package/components/core/Tooltip/utils.d.ts +22 -0
- package/components/core/Typography/StyledTypography.d.ts +2 -0
- package/components/core/Typography/Typography.d.ts +3 -0
- package/components/core/Typography/Typography.types.d.ts +58 -0
- package/components/core/Typography/constants.d.ts +3 -0
- package/components/core/Typography/index.d.ts +2 -0
- package/components/core/Typography/utils.d.ts +2 -0
- package/components/core/Wrapper/StyledWrapper.d.ts +2 -0
- package/components/core/Wrapper/Wrapper.d.ts +5 -0
- package/components/core/Wrapper/Wrapper.types.d.ts +8 -0
- package/components/core/Wrapper/constants.d.ts +1 -0
- package/components/core/Wrapper/index.d.ts +2 -0
- package/components/core/index.d.ts +19 -0
- package/components/core/types/common.types.d.ts +24 -0
- package/components/core/types/cursors.types.d.ts +14 -0
- package/components/core/types/index.types.d.ts +3 -0
- package/components/core/types/roles.types.d.ts +3 -0
- package/components/domainSpecific/Stepper/Stepper.d.ts +2 -0
- package/components/domainSpecific/Stepper/Stepper.types.d.ts +39 -0
- package/components/domainSpecific/Stepper/StyledStepper.d.ts +6 -0
- package/components/domainSpecific/Stepper/constants.d.ts +1 -0
- package/components/domainSpecific/Stepper/index.d.ts +2 -0
- package/components/domainSpecific/Stepper/utils.d.ts +2 -0
- package/components/domainSpecific/Tabs/StyledTabs.d.ts +7 -0
- package/components/domainSpecific/Tabs/Tabs.d.ts +2 -0
- package/components/domainSpecific/Tabs/Tabs.types.d.ts +19 -0
- package/components/domainSpecific/Tabs/constants.d.ts +6 -0
- package/components/domainSpecific/Tabs/index.d.ts +2 -0
- package/components/domainSpecific/index.d.ts +2 -0
- package/components/index.d.ts +4 -0
- package/components/index.types.d.ts +37 -0
- package/components/layout/Column/Column.d.ts +4 -0
- package/components/layout/Column/Column.types.d.ts +5 -0
- package/components/layout/Column/StyledColumn.d.ts +2 -0
- package/components/layout/Column/constants.d.ts +1 -0
- package/components/layout/Column/index.d.ts +1 -0
- package/components/layout/FlexContainer/FlexContainer.d.ts +5 -0
- package/components/layout/FlexContainer/FlexContainer.types.d.ts +9 -0
- package/components/layout/FlexContainer/StyledFlexContainer.d.ts +2 -0
- package/components/layout/FlexContainer/constants.d.ts +1 -0
- package/components/layout/FlexContainer/index.d.ts +2 -0
- package/components/layout/FlexContainer/utils.d.ts +2 -0
- package/components/layout/Row/Row.d.ts +5 -0
- package/components/layout/Row/Row.types.d.ts +5 -0
- package/components/layout/Row/StyledRow.d.ts +2 -0
- package/components/layout/Row/constants.d.ts +1 -0
- package/components/layout/Row/index.d.ts +1 -0
- package/components/layout/index.d.ts +4 -0
- package/components/layout/index.types.d.ts +1 -0
- package/components/layout/utils.d.ts +4 -0
- package/constants/index.d.ts +2 -0
- package/constants/keyboard.d.ts +3 -0
- package/constants/positioning.d.ts +6 -0
- package/constants/timers.d.ts +2 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/useAutoFocus/index.d.ts +1 -0
- package/hooks/useAutoFocus/useAutoFocus.d.ts +2 -0
- package/hooks/useTheme/index.d.ts +3 -0
- package/hooks/useTheme/useTheme.d.ts +4 -0
- package/hooks/useTheme/useTheme.types.d.ts +14 -0
- package/index.d.ts +3 -0
- package/index.js +124 -0
- package/index.mjs +8627 -0
- package/package.json +14 -0
- package/style.css +1 -0
- package/tokens/animations.d.ts +41 -0
- package/tokens/borders.d.ts +8 -0
- package/tokens/breadcrumbs.d.ts +23 -0
- package/tokens/button.d.ts +109 -0
- package/tokens/colors.d.ts +150 -0
- package/tokens/column.d.ts +5 -0
- package/tokens/cursors.d.ts +16 -0
- package/tokens/defaultTheme.d.ts +1425 -0
- package/tokens/display.d.ts +15 -0
- package/tokens/flexContainer.d.ts +7 -0
- package/tokens/font.d.ts +47 -0
- package/tokens/form.d.ts +3 -0
- package/tokens/icon.d.ts +28 -0
- package/tokens/index.d.ts +1339 -0
- package/tokens/input.d.ts +66 -0
- package/tokens/label.d.ts +18 -0
- package/tokens/link.d.ts +64 -0
- package/tokens/list.d.ts +76 -0
- package/tokens/loader.d.ts +42 -0
- package/tokens/modal.d.ts +59 -0
- package/tokens/radius.d.ts +10 -0
- package/tokens/reset.d.ts +1 -0
- package/tokens/row.d.ts +5 -0
- package/tokens/shadow.d.ts +10 -0
- package/tokens/skeleton.d.ts +24 -0
- package/tokens/snackbar.d.ts +198 -0
- package/tokens/spacing.d.ts +9 -0
- package/tokens/stepper.d.ts +110 -0
- package/tokens/switch.d.ts +8 -0
- package/tokens/tabs.d.ts +76 -0
- package/tokens/textarea.d.ts +55 -0
- package/tokens/tooltip.d.ts +54 -0
- package/tokens/types/index.types.d.ts +8 -0
- package/tokens/typography.d.ts +116 -0
- package/tokens/utils.d.ts +17 -0
- package/tokens/values.d.ts +28 -0
- package/tokens/wrapper.d.ts +29 -0
- package/types/accesability.d.ts +5 -0
- package/types/index.d.ts +2 -0
- package/types/misc.d.ts +6 -0
- package/utils/getCharCount.d.ts +3 -0
- package/utils/index.d.ts +2 -0
- package/utils/uniqueKeys.d.ts +1 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const input: {
|
|
2
|
+
base: {
|
|
3
|
+
display: string;
|
|
4
|
+
boxSizing: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
border: string;
|
|
7
|
+
lineHeight: string;
|
|
8
|
+
paddingLeft: string;
|
|
9
|
+
paddingRight: string;
|
|
10
|
+
outline: string;
|
|
11
|
+
position: string;
|
|
12
|
+
borderColor: string;
|
|
13
|
+
'&[type="text"], &[type="password"]': {
|
|
14
|
+
height: string;
|
|
15
|
+
};
|
|
16
|
+
'&[type="text"].input--error': {
|
|
17
|
+
borderColor: string;
|
|
18
|
+
};
|
|
19
|
+
'&[type="text"].input--success': {
|
|
20
|
+
borderColor: string;
|
|
21
|
+
};
|
|
22
|
+
'&[readonly], &:disabled': {
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
cursor: string;
|
|
25
|
+
};
|
|
26
|
+
'&[type="checkbox"]': {
|
|
27
|
+
appearance: string;
|
|
28
|
+
height: string;
|
|
29
|
+
width: string;
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
border: string;
|
|
32
|
+
backgroundImage: string;
|
|
33
|
+
};
|
|
34
|
+
'&[type="checkbox"]:checked': {
|
|
35
|
+
backgroundRepeat: string;
|
|
36
|
+
backgroundPosition: string;
|
|
37
|
+
backgroundSize: string;
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
border: string;
|
|
40
|
+
backgroundImage: string;
|
|
41
|
+
'&[readonly], &:disabled': {
|
|
42
|
+
backgroundImage: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
'&[type="radio"]': {
|
|
46
|
+
appearance: string;
|
|
47
|
+
height: string;
|
|
48
|
+
width: string;
|
|
49
|
+
border: string;
|
|
50
|
+
backgroundImage: string;
|
|
51
|
+
};
|
|
52
|
+
'&[type="radio"]:checked': {
|
|
53
|
+
backgroundImage: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
error: {
|
|
57
|
+
'&[type="text"]': {
|
|
58
|
+
borderColor: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
success: {
|
|
62
|
+
'&[type="text"]': {
|
|
63
|
+
borderColor: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const label: {
|
|
2
|
+
default: {};
|
|
3
|
+
variants: {
|
|
4
|
+
default: {};
|
|
5
|
+
text: {
|
|
6
|
+
'&:hover': {};
|
|
7
|
+
'&:disabled': {};
|
|
8
|
+
primary: {
|
|
9
|
+
'&:hover': {};
|
|
10
|
+
'&:disabled': {};
|
|
11
|
+
};
|
|
12
|
+
error: {
|
|
13
|
+
'&:hover': {};
|
|
14
|
+
'&:disabled': {};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
package/tokens/link.d.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Cursors } from '../components/core/types/cursors.types';
|
|
2
|
+
export declare const link: {
|
|
3
|
+
default: {
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
fontSize: string;
|
|
6
|
+
fontWeight: string;
|
|
7
|
+
lineHeight: string;
|
|
8
|
+
color: string;
|
|
9
|
+
position: string;
|
|
10
|
+
'&:visited': {
|
|
11
|
+
color: string;
|
|
12
|
+
'&::after': {
|
|
13
|
+
borderBottom: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
'&:focus, &:active, &:focus-visible': {
|
|
17
|
+
outline: string;
|
|
18
|
+
};
|
|
19
|
+
"&.Link--disabled": {
|
|
20
|
+
color: string;
|
|
21
|
+
cursor: Cursors;
|
|
22
|
+
textDecoration: string;
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
'&::after': {
|
|
25
|
+
borderBottomColor: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
primary: {
|
|
30
|
+
'&::after': {
|
|
31
|
+
content: string;
|
|
32
|
+
position: string;
|
|
33
|
+
right: string;
|
|
34
|
+
bottom: string;
|
|
35
|
+
left: string;
|
|
36
|
+
borderBottom: string;
|
|
37
|
+
};
|
|
38
|
+
'&:hover': {
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
'&::after': {
|
|
41
|
+
borderBottomColor: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
secondary: {
|
|
46
|
+
'&::after': {
|
|
47
|
+
content: string;
|
|
48
|
+
position: string;
|
|
49
|
+
right: string;
|
|
50
|
+
bottom: string;
|
|
51
|
+
left: string;
|
|
52
|
+
borderBottom: string;
|
|
53
|
+
};
|
|
54
|
+
'&:hover': {
|
|
55
|
+
backgroundColor: string;
|
|
56
|
+
'&::after': {
|
|
57
|
+
borderBottomColor: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
inherit: {
|
|
62
|
+
color: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
package/tokens/list.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const list: {
|
|
2
|
+
wrapper: {
|
|
3
|
+
base: {
|
|
4
|
+
listStyle: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
margin: string;
|
|
7
|
+
};
|
|
8
|
+
"ordered-circle": {
|
|
9
|
+
counterReset: string;
|
|
10
|
+
paddingLeft: string;
|
|
11
|
+
};
|
|
12
|
+
"ordered-square": {
|
|
13
|
+
counterReset: string;
|
|
14
|
+
paddingLeft: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
item: {
|
|
18
|
+
base: {
|
|
19
|
+
display: string;
|
|
20
|
+
alignItems: string;
|
|
21
|
+
flexDirection: string;
|
|
22
|
+
margin: string;
|
|
23
|
+
};
|
|
24
|
+
"ordered-circle": {
|
|
25
|
+
'&::before': {
|
|
26
|
+
content: string;
|
|
27
|
+
counterIncrement: string;
|
|
28
|
+
background: string;
|
|
29
|
+
fontFamily: string;
|
|
30
|
+
fontSize: string;
|
|
31
|
+
fontWeight: number;
|
|
32
|
+
width: string;
|
|
33
|
+
height: string;
|
|
34
|
+
color: string;
|
|
35
|
+
display: string;
|
|
36
|
+
alignItems: string;
|
|
37
|
+
justifyContent: string;
|
|
38
|
+
marginRight: string;
|
|
39
|
+
borderRadius: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
"ordered-square": {
|
|
43
|
+
'&::before': {
|
|
44
|
+
content: string;
|
|
45
|
+
counterIncrement: string;
|
|
46
|
+
background: string;
|
|
47
|
+
fontFamily: string;
|
|
48
|
+
fontSize: string;
|
|
49
|
+
fontWeight: number;
|
|
50
|
+
width: string;
|
|
51
|
+
height: string;
|
|
52
|
+
color: string;
|
|
53
|
+
display: string;
|
|
54
|
+
alignItems: string;
|
|
55
|
+
justifyContent: string;
|
|
56
|
+
marginRight: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
"unordered-check": {
|
|
60
|
+
counterReset: string;
|
|
61
|
+
paddingLeft: string;
|
|
62
|
+
"& .List__bulletPoint": {
|
|
63
|
+
marginRight: string;
|
|
64
|
+
color: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
"unordered-dot": {
|
|
68
|
+
counterReset: string;
|
|
69
|
+
paddingLeft: string;
|
|
70
|
+
"& .List__bulletPoint": {
|
|
71
|
+
marginRight: string;
|
|
72
|
+
color: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const loader: {
|
|
2
|
+
default: {
|
|
3
|
+
border: string;
|
|
4
|
+
borderTop: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
};
|
|
7
|
+
xs: {
|
|
8
|
+
borderWidth: string;
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
minWidth: string;
|
|
12
|
+
minHeight: string;
|
|
13
|
+
};
|
|
14
|
+
sm: {
|
|
15
|
+
borderWidth: string;
|
|
16
|
+
width: string;
|
|
17
|
+
height: string;
|
|
18
|
+
maxWidth: string;
|
|
19
|
+
maxHeight: string;
|
|
20
|
+
};
|
|
21
|
+
md: {
|
|
22
|
+
borderWidth: string;
|
|
23
|
+
width: string;
|
|
24
|
+
height: string;
|
|
25
|
+
maxWidth: string;
|
|
26
|
+
maxHeight: string;
|
|
27
|
+
};
|
|
28
|
+
lg: {
|
|
29
|
+
borderWidth: string;
|
|
30
|
+
width: string;
|
|
31
|
+
height: string;
|
|
32
|
+
maxWidth: string;
|
|
33
|
+
maxHeight: string;
|
|
34
|
+
};
|
|
35
|
+
xl: {
|
|
36
|
+
borderWidth: string;
|
|
37
|
+
width: string;
|
|
38
|
+
height: string;
|
|
39
|
+
maxWidth: string;
|
|
40
|
+
maxHeight: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const BORDER_COLOR = "#e0e0e0";
|
|
2
|
+
export declare const modal: {
|
|
3
|
+
header: {
|
|
4
|
+
display: string;
|
|
5
|
+
alignItems: string;
|
|
6
|
+
justifyContent: string;
|
|
7
|
+
padding: string;
|
|
8
|
+
fontSize: string;
|
|
9
|
+
fontWeight: string;
|
|
10
|
+
borderBottom: string;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
display: string;
|
|
14
|
+
alignItems: string;
|
|
15
|
+
padding: string;
|
|
16
|
+
margin: string;
|
|
17
|
+
};
|
|
18
|
+
body: {
|
|
19
|
+
padding: string;
|
|
20
|
+
fontSize: string;
|
|
21
|
+
color: string;
|
|
22
|
+
};
|
|
23
|
+
content: {
|
|
24
|
+
background: string;
|
|
25
|
+
padding: string;
|
|
26
|
+
borderRadius: string;
|
|
27
|
+
maxWidth: string;
|
|
28
|
+
width: string;
|
|
29
|
+
boxShadow: string;
|
|
30
|
+
position: string;
|
|
31
|
+
display: string;
|
|
32
|
+
flexDirection: string;
|
|
33
|
+
};
|
|
34
|
+
footer: {
|
|
35
|
+
display: string;
|
|
36
|
+
justifyContent: string;
|
|
37
|
+
gap: string;
|
|
38
|
+
padding: string;
|
|
39
|
+
borderTop: string;
|
|
40
|
+
};
|
|
41
|
+
closeButton: {
|
|
42
|
+
background: string;
|
|
43
|
+
border: string;
|
|
44
|
+
cursor: string;
|
|
45
|
+
padding: string;
|
|
46
|
+
};
|
|
47
|
+
overlay: {
|
|
48
|
+
position: string;
|
|
49
|
+
top: number;
|
|
50
|
+
left: number;
|
|
51
|
+
width: string;
|
|
52
|
+
height: string;
|
|
53
|
+
background: string;
|
|
54
|
+
display: string;
|
|
55
|
+
alignItems: string;
|
|
56
|
+
justifyContent: string;
|
|
57
|
+
zIndex: number;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const reset: {};
|
package/tokens/row.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const skeleton: {
|
|
2
|
+
default: {
|
|
3
|
+
display: string;
|
|
4
|
+
position: string;
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
alignItems: string;
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
width: string;
|
|
9
|
+
height: string;
|
|
10
|
+
overflow: string;
|
|
11
|
+
'&:empty::before': {
|
|
12
|
+
content: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
rounded: {
|
|
16
|
+
borderRadius: string;
|
|
17
|
+
};
|
|
18
|
+
rectangular: {
|
|
19
|
+
borderRadius: string;
|
|
20
|
+
};
|
|
21
|
+
circular: {
|
|
22
|
+
borderRadius: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
export declare const DEFAULT_SNACKBAR_WIDTH = "302px";
|
|
2
|
+
export declare const snackbar: {
|
|
3
|
+
zIndex: number;
|
|
4
|
+
backgroundColor: {
|
|
5
|
+
success: string;
|
|
6
|
+
error: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
info: string;
|
|
9
|
+
};
|
|
10
|
+
spacing: {
|
|
11
|
+
body: string;
|
|
12
|
+
};
|
|
13
|
+
closeIcon: {
|
|
14
|
+
name: string;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
container: {
|
|
19
|
+
position: string;
|
|
20
|
+
display: string;
|
|
21
|
+
flexDirection: string;
|
|
22
|
+
gap: string;
|
|
23
|
+
padding: string;
|
|
24
|
+
boxSizing: string;
|
|
25
|
+
maxHeight: string;
|
|
26
|
+
overflowY: string;
|
|
27
|
+
overflowX: string;
|
|
28
|
+
scrollbarWidth: string;
|
|
29
|
+
scrollbarColor: string;
|
|
30
|
+
zIndex: number;
|
|
31
|
+
'&::-webkit-scrollbar': {
|
|
32
|
+
width: string;
|
|
33
|
+
background: string;
|
|
34
|
+
};
|
|
35
|
+
'&::-webkit-scrollbar-thumb': {
|
|
36
|
+
background: string;
|
|
37
|
+
borderRadius: string;
|
|
38
|
+
};
|
|
39
|
+
'&::-webkit-scrollbar-track': {
|
|
40
|
+
background: string;
|
|
41
|
+
};
|
|
42
|
+
'&:hover::-webkit-scrollbar-thumb': {
|
|
43
|
+
background: string;
|
|
44
|
+
};
|
|
45
|
+
'&.scrolling::-webkit-scrollbar-thumb': {
|
|
46
|
+
background: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
snackbar: {
|
|
50
|
+
base: {
|
|
51
|
+
position: "relative";
|
|
52
|
+
boxShadow: string;
|
|
53
|
+
width: string;
|
|
54
|
+
fontFamily: "\"Fira Sans\", sans-serif";
|
|
55
|
+
fontSize: string;
|
|
56
|
+
display: "flex";
|
|
57
|
+
flexDirection: "column";
|
|
58
|
+
gap: string;
|
|
59
|
+
color: string;
|
|
60
|
+
'& .content': {
|
|
61
|
+
display: "flex";
|
|
62
|
+
alignItems: "flex-start";
|
|
63
|
+
gap: string;
|
|
64
|
+
};
|
|
65
|
+
'& .title': {
|
|
66
|
+
fontWeight: number;
|
|
67
|
+
margin: number;
|
|
68
|
+
};
|
|
69
|
+
'& .description': {
|
|
70
|
+
fontWeight: number;
|
|
71
|
+
margin: number;
|
|
72
|
+
color: string;
|
|
73
|
+
};
|
|
74
|
+
'& .actions': {
|
|
75
|
+
display: "flex";
|
|
76
|
+
justifyContent: "flex-start";
|
|
77
|
+
gap: string;
|
|
78
|
+
paddingTop: string;
|
|
79
|
+
marginLeft: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
background: {
|
|
83
|
+
default: string;
|
|
84
|
+
variants: {
|
|
85
|
+
success: string;
|
|
86
|
+
error: string;
|
|
87
|
+
warning: string;
|
|
88
|
+
info: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
spacing: {
|
|
92
|
+
body: string;
|
|
93
|
+
};
|
|
94
|
+
animation: {
|
|
95
|
+
duration: string;
|
|
96
|
+
timing: "ease-out";
|
|
97
|
+
};
|
|
98
|
+
content: {
|
|
99
|
+
display: "flex";
|
|
100
|
+
alignItems: "flex-start";
|
|
101
|
+
gap: string;
|
|
102
|
+
};
|
|
103
|
+
title: {
|
|
104
|
+
fontWeight: number;
|
|
105
|
+
margin: number;
|
|
106
|
+
};
|
|
107
|
+
description: {
|
|
108
|
+
fontWeight: number;
|
|
109
|
+
margin: number;
|
|
110
|
+
color: string;
|
|
111
|
+
};
|
|
112
|
+
actions: {
|
|
113
|
+
display: "flex";
|
|
114
|
+
justifyContent: "flex-start";
|
|
115
|
+
gap: string;
|
|
116
|
+
paddingTop: string;
|
|
117
|
+
marginLeft: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
scrollbar: {
|
|
121
|
+
width: string;
|
|
122
|
+
background: string;
|
|
123
|
+
thumb: {
|
|
124
|
+
background: string;
|
|
125
|
+
borderRadius: string;
|
|
126
|
+
};
|
|
127
|
+
track: {
|
|
128
|
+
background: string;
|
|
129
|
+
};
|
|
130
|
+
hoverThumb: {
|
|
131
|
+
background: string;
|
|
132
|
+
};
|
|
133
|
+
scrollingThumb: {
|
|
134
|
+
background: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
positions: {
|
|
138
|
+
"top-left": {
|
|
139
|
+
top: number;
|
|
140
|
+
left: number;
|
|
141
|
+
alignItems: string;
|
|
142
|
+
};
|
|
143
|
+
"top-center": {
|
|
144
|
+
top: string;
|
|
145
|
+
left: string;
|
|
146
|
+
transform: string;
|
|
147
|
+
alignItems: string;
|
|
148
|
+
};
|
|
149
|
+
"top-right": {
|
|
150
|
+
top: string;
|
|
151
|
+
right: string;
|
|
152
|
+
alignItems: string;
|
|
153
|
+
};
|
|
154
|
+
"bottom-left": {
|
|
155
|
+
bottom: string;
|
|
156
|
+
left: string;
|
|
157
|
+
alignItems: string;
|
|
158
|
+
flexDirection: string;
|
|
159
|
+
};
|
|
160
|
+
"bottom-center": {
|
|
161
|
+
bottom: string;
|
|
162
|
+
left: string;
|
|
163
|
+
transform: string;
|
|
164
|
+
alignItems: string;
|
|
165
|
+
flexDirection: string;
|
|
166
|
+
};
|
|
167
|
+
"bottom-right": {
|
|
168
|
+
bottom: string;
|
|
169
|
+
right: string;
|
|
170
|
+
alignItems: string;
|
|
171
|
+
flexDirection: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
defaultPosition: {
|
|
175
|
+
bottom: string;
|
|
176
|
+
right: string;
|
|
177
|
+
alignItems: string;
|
|
178
|
+
flexDirection: string;
|
|
179
|
+
};
|
|
180
|
+
actionButton: {
|
|
181
|
+
base: {
|
|
182
|
+
padding: string;
|
|
183
|
+
borderRadius: string;
|
|
184
|
+
cursor: string;
|
|
185
|
+
fontSize: string;
|
|
186
|
+
transition: "background 0.2s";
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
closeButton: {
|
|
190
|
+
position: "absolute";
|
|
191
|
+
top: string;
|
|
192
|
+
right: string;
|
|
193
|
+
background: string;
|
|
194
|
+
border: string;
|
|
195
|
+
cursor: string;
|
|
196
|
+
padding: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Cursors } from '../components/core/types/cursors.types';
|
|
2
|
+
export declare const stepper: {
|
|
3
|
+
default: {
|
|
4
|
+
display: string;
|
|
5
|
+
flexDirection: string;
|
|
6
|
+
justifyContent: string;
|
|
7
|
+
width: string;
|
|
8
|
+
};
|
|
9
|
+
separator: {
|
|
10
|
+
default: {
|
|
11
|
+
width: string;
|
|
12
|
+
position: string;
|
|
13
|
+
zIndex: number;
|
|
14
|
+
top: string;
|
|
15
|
+
marginLeft: string;
|
|
16
|
+
marginRight: string;
|
|
17
|
+
transition: string;
|
|
18
|
+
borderTop: string;
|
|
19
|
+
};
|
|
20
|
+
active: {};
|
|
21
|
+
complete: {
|
|
22
|
+
borderTopColor: string;
|
|
23
|
+
};
|
|
24
|
+
inactive: {};
|
|
25
|
+
};
|
|
26
|
+
step: {
|
|
27
|
+
default: {
|
|
28
|
+
display: string;
|
|
29
|
+
flexDirection: string;
|
|
30
|
+
alignItems: string;
|
|
31
|
+
justifyContent: string;
|
|
32
|
+
minWidth: string;
|
|
33
|
+
};
|
|
34
|
+
active: {};
|
|
35
|
+
inactive: {};
|
|
36
|
+
complete: {
|
|
37
|
+
cursor: Cursors;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
stepIcon: {
|
|
41
|
+
default: {
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
display: string;
|
|
45
|
+
alignItems: string;
|
|
46
|
+
justifyContent: string;
|
|
47
|
+
borderRadius: string;
|
|
48
|
+
border: string;
|
|
49
|
+
fontSize: {
|
|
50
|
+
fontSize: string;
|
|
51
|
+
fontWeight: number;
|
|
52
|
+
lineHeight: string;
|
|
53
|
+
marginTop: string;
|
|
54
|
+
marginBottom: string;
|
|
55
|
+
};
|
|
56
|
+
transition: string;
|
|
57
|
+
colors: string;
|
|
58
|
+
};
|
|
59
|
+
active: {
|
|
60
|
+
default: {
|
|
61
|
+
backgroundColor: string;
|
|
62
|
+
borderColor: string;
|
|
63
|
+
};
|
|
64
|
+
success: {};
|
|
65
|
+
error: {
|
|
66
|
+
backgroundColor: string;
|
|
67
|
+
borderColor: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
inactive: {
|
|
71
|
+
default: {
|
|
72
|
+
backgroundColor: string;
|
|
73
|
+
};
|
|
74
|
+
success: {};
|
|
75
|
+
error: {};
|
|
76
|
+
};
|
|
77
|
+
complete: {
|
|
78
|
+
default: {
|
|
79
|
+
fontWeight: number;
|
|
80
|
+
backgroundColor: string;
|
|
81
|
+
};
|
|
82
|
+
success: {};
|
|
83
|
+
error: {
|
|
84
|
+
backgroundColor: string;
|
|
85
|
+
borderColor: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
success: {
|
|
89
|
+
default: {};
|
|
90
|
+
success: {};
|
|
91
|
+
error: {};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
stepLabel: {
|
|
95
|
+
default: {
|
|
96
|
+
marginTop: string;
|
|
97
|
+
fontSize: {
|
|
98
|
+
fontSize: string;
|
|
99
|
+
fontWeight: number;
|
|
100
|
+
lineHeight: string;
|
|
101
|
+
};
|
|
102
|
+
colors: string;
|
|
103
|
+
};
|
|
104
|
+
active: {};
|
|
105
|
+
inactive: {};
|
|
106
|
+
complete: {};
|
|
107
|
+
error: {};
|
|
108
|
+
success: {};
|
|
109
|
+
};
|
|
110
|
+
};
|