gd-design-library 0.0.2 → 0.0.3
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 +4 -4
- package/assets/icons/account_circle.d.ts +7 -0
- package/assets/icons/arrow-down.d.ts +6 -0
- package/assets/icons/arrow-forward.d.ts +2 -1
- package/assets/icons/check.d.ts +2 -1
- package/assets/icons/chevron-right.d.ts +2 -1
- package/assets/icons/cross.d.ts +2 -1
- package/assets/icons/dot.d.ts +2 -1
- package/assets/icons/error_outline.d.ts +6 -0
- package/assets/icons/favorite.d.ts +7 -0
- package/assets/icons/home.d.ts +2 -1
- package/assets/icons/local_shipping.d.ts +7 -0
- package/assets/icons/mobile_menu_button.d.ts +7 -0
- package/assets/icons/shopping_bag.d.ts +7 -0
- package/assets/icons/slash.d.ts +2 -1
- package/assets/icons/star.d.ts +3 -1
- package/assets/icons/starOutlined.d.ts +6 -0
- package/assets/icons/toast_error.d.ts +2 -1
- package/assets/icons/toast_info.d.ts +2 -1
- package/assets/icons/toast_success.d.ts +2 -1
- package/assets/icons/toast_warning.d.ts +2 -1
- package/assets/index.d.ts +11 -83
- package/components/core/Dropdown/Dropdown.d.ts +4 -0
- package/components/core/Dropdown/Dropdown.types.d.ts +12 -0
- package/components/core/Dropdown/StyledDropdown.d.ts +2 -0
- package/components/core/Dropdown/constants.d.ts +1 -0
- package/components/core/Dropdown/hooks/index.d.ts +1 -0
- package/components/core/Dropdown/hooks/useDropdown.d.ts +3 -0
- package/components/core/Dropdown/index.d.ts +2 -0
- package/components/core/DropdownItem/DropdownItem.d.ts +4 -0
- package/components/core/DropdownItem/DropdownItem.types.d.ts +15 -0
- package/components/core/DropdownItem/StyledDropdownItem.d.ts +2 -0
- package/components/core/DropdownItem/constants.d.ts +1 -0
- package/components/core/DropdownItem/index.d.ts +2 -0
- package/components/core/Form/Form.d.ts +1 -1
- package/components/core/Form/utils.d.ts +1 -1
- package/components/core/Icon/Icon.d.ts +1 -4
- package/components/core/Icon/Icon.types.d.ts +1 -2
- package/components/core/Icon/constants.d.ts +74 -0
- package/components/core/Image/Image.d.ts +3 -0
- package/components/core/Image/Image.types.d.ts +27 -0
- package/components/core/Image/StyledImage.d.ts +5 -0
- package/components/core/Image/constants.d.ts +1 -0
- package/components/core/Image/index.d.ts +2 -0
- package/components/core/Input/Input.d.ts +1 -1
- package/components/core/Input/Input.types.d.ts +2 -1
- package/components/core/Input/StyledInput.d.ts +1 -1
- package/components/core/Label/Label.d.ts +1 -1
- package/components/core/Label/StyledLabel.d.ts +1 -1
- package/components/core/Link/Link.types.d.ts +1 -0
- package/components/core/List/StyledList.d.ts +1 -1
- package/components/core/Loader/StyledLoader.d.ts +1 -1
- package/components/core/Portal/Portal.d.ts +4 -3
- package/components/core/Select/Select.d.ts +5 -0
- package/components/core/Select/Select.types.d.ts +45 -0
- package/components/core/Select/StyledSelect.d.ts +24 -0
- package/components/core/Select/constants.d.ts +1 -0
- package/components/core/Select/hooks/index.d.ts +1 -0
- package/components/core/Select/hooks/useSelectContext.d.ts +3 -0
- package/components/core/Select/index.d.ts +2 -0
- package/components/core/Skeleton/StyledSkeleton.d.ts +1 -1
- package/components/core/Snackbar/Snackbar.d.ts +1 -1
- package/components/core/Switch/StyledSwitch.d.ts +1 -1
- package/components/core/Switch/Switch.d.ts +2 -2
- package/components/core/Switch/{types.d.ts → Switch.types.d.ts} +2 -2
- package/components/core/Switch/index.d.ts +1 -1
- package/components/core/Textarea/Textarea.d.ts +0 -1
- package/components/core/Tooltip/StyledTooltip.d.ts +1 -1
- package/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/components/core/Tooltip/Tooltip.types.d.ts +1 -0
- package/components/core/Typography/Typography.d.ts +3 -2
- package/components/core/Typography/Typography.types.d.ts +2 -1
- package/components/core/Typography/utils.d.ts +1 -1
- package/components/core/Wrapper/StyledWrapper.d.ts +1 -1
- package/components/core/Wrapper/Wrapper.d.ts +1 -1
- package/components/core/index.d.ts +4 -0
- package/components/core/types/events.types.d.ts +6 -0
- package/components/domainSpecific/Header/Header.d.ts +4 -0
- package/components/domainSpecific/Header/Header.types.d.ts +23 -0
- package/components/domainSpecific/Header/StyledHeader.d.ts +123 -0
- package/components/domainSpecific/Header/constants.d.ts +1 -0
- package/components/domainSpecific/Header/index.d.ts +2 -0
- package/components/domainSpecific/Price/Price.d.ts +5 -0
- package/components/domainSpecific/Price/Price.types.d.ts +11 -0
- package/components/domainSpecific/Price/StyledPrice.d.ts +9 -0
- package/components/domainSpecific/Price/constants.d.ts +1 -0
- package/components/domainSpecific/Price/index.d.ts +1 -0
- package/components/domainSpecific/Rating/Rating.d.ts +2 -0
- package/components/domainSpecific/Rating/Rating.types.d.ts +19 -0
- package/components/domainSpecific/Rating/StyledRating.d.ts +5 -0
- package/components/domainSpecific/Rating/constants.d.ts +6 -0
- package/components/domainSpecific/Rating/index.d.ts +2 -0
- package/components/domainSpecific/Search/Search.d.ts +4 -0
- package/components/domainSpecific/Search/Search.types.d.ts +24 -0
- package/components/domainSpecific/Search/StyledSearch.d.ts +29 -0
- package/components/domainSpecific/Search/constants.d.ts +6 -0
- package/components/domainSpecific/Search/index.d.ts +2 -0
- package/components/domainSpecific/Search/renderers.d.ts +4 -0
- package/components/domainSpecific/Tabs/StyledTabs.d.ts +14 -0
- package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/SkeletonSearch.d.ts +4 -0
- package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/SkeletonSearch.types.d.ts +5 -0
- package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/StyledSkeletonSearch.d.ts +82 -0
- package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/constants.d.ts +2 -0
- package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/index.d.ts +2 -0
- package/components/domainSpecific/Templates/Cards/Skeleton/index.d.ts +1 -0
- package/components/domainSpecific/Templates/Cards/index.d.ts +1 -0
- package/components/domainSpecific/Templates/index.d.ts +1 -0
- package/components/domainSpecific/index.d.ts +5 -0
- package/components/layout/FlexContainer/FlexContainer.types.d.ts +4 -1
- package/components/layout/index.types.d.ts +6 -0
- package/constants/events.d.ts +5 -0
- package/constants/index.d.ts +1 -0
- package/constants/keyboard.d.ts +3 -0
- package/hooks/index.d.ts +3 -0
- package/hooks/useClickOutside/index.d.ts +1 -0
- package/hooks/useClickOutside/useClickOutside.d.ts +1 -0
- package/hooks/useMediaQuery/index.d.ts +1 -0
- package/hooks/useMediaQuery/useMediaQuery.d.ts +1 -0
- package/hooks/useTheme/useTheme.d.ts +1 -1
- package/index.mjs +6168 -4909
- package/package.json +10 -3
- package/tokens/borders.d.ts +2 -2
- package/tokens/button.d.ts +6 -3
- package/tokens/defaultTheme.d.ts +463 -12
- package/tokens/flexContainer.d.ts +1 -0
- package/tokens/header.d.ts +108 -0
- package/tokens/image.d.ts +32 -0
- package/tokens/index.d.ts +405 -12
- package/tokens/input.d.ts +9 -1
- package/tokens/label.d.ts +4 -0
- package/tokens/link.d.ts +16 -0
- package/tokens/list.d.ts +10 -0
- package/tokens/modal.d.ts +6 -1
- package/tokens/price.d.ts +19 -0
- package/tokens/rating.d.ts +57 -0
- package/tokens/search.d.ts +37 -0
- package/tokens/select.d.ts +53 -0
- package/tokens/shadow.d.ts +4 -0
- package/tokens/skeleton.d.ts +44 -0
- package/tokens/snackbar.d.ts +20 -6
- package/tokens/stepper.d.ts +32 -0
- package/tokens/tabs.d.ts +4 -0
- package/tokens/tooltip.d.ts +4 -0
- package/tokens/utils.d.ts +2 -2
- package/tokens/values.d.ts +4 -1
- package/utils/index.d.ts +1 -0
- package/utils/math.d.ts +6 -0
- package/index.js +0 -124
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export declare const BORDER_COLOR = "#e0e0e0";
|
|
2
|
+
export declare const header: {
|
|
3
|
+
container: {
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
alignItems: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
maxWidth: string;
|
|
8
|
+
};
|
|
9
|
+
topBannerRow: {
|
|
10
|
+
width: string;
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
color: string;
|
|
13
|
+
};
|
|
14
|
+
searchColumn: {
|
|
15
|
+
base: {
|
|
16
|
+
flexDirection: string;
|
|
17
|
+
justifyContent: string;
|
|
18
|
+
'& a': {
|
|
19
|
+
margin: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
navigationRow: {
|
|
24
|
+
base: {
|
|
25
|
+
width: string;
|
|
26
|
+
padding: string;
|
|
27
|
+
alignItems: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
actionsColumn: {
|
|
31
|
+
base: {
|
|
32
|
+
flexDirection: string;
|
|
33
|
+
'& button': {
|
|
34
|
+
margin: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
menuRow: {
|
|
39
|
+
base: {
|
|
40
|
+
width: string;
|
|
41
|
+
justifyContent: string;
|
|
42
|
+
};
|
|
43
|
+
column: {
|
|
44
|
+
flexDirection: string;
|
|
45
|
+
'& a': {
|
|
46
|
+
margin: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
children: {
|
|
51
|
+
base: {
|
|
52
|
+
margin: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
mobile: {
|
|
56
|
+
openedDropdownWrapper: {
|
|
57
|
+
position: string;
|
|
58
|
+
top: string;
|
|
59
|
+
left: string;
|
|
60
|
+
zIndex: number;
|
|
61
|
+
background: string;
|
|
62
|
+
width: string;
|
|
63
|
+
height: string;
|
|
64
|
+
padding: string;
|
|
65
|
+
overflowY: string;
|
|
66
|
+
};
|
|
67
|
+
closeMenuIconWrapper: {
|
|
68
|
+
width: string;
|
|
69
|
+
height: string;
|
|
70
|
+
display: string;
|
|
71
|
+
justifyContent: string;
|
|
72
|
+
alignItems: string;
|
|
73
|
+
};
|
|
74
|
+
openMenuIconWrapper: {
|
|
75
|
+
width: string;
|
|
76
|
+
height: string;
|
|
77
|
+
display: string;
|
|
78
|
+
justifyContent: string;
|
|
79
|
+
alignItems: string;
|
|
80
|
+
};
|
|
81
|
+
menuWrapper: {
|
|
82
|
+
margin: string;
|
|
83
|
+
borderTop: string;
|
|
84
|
+
};
|
|
85
|
+
menuItemWrapper: {
|
|
86
|
+
padding: string;
|
|
87
|
+
borderBottom: string;
|
|
88
|
+
cursor: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
icons: {
|
|
92
|
+
close: {
|
|
93
|
+
name: string;
|
|
94
|
+
width: number;
|
|
95
|
+
height: number;
|
|
96
|
+
};
|
|
97
|
+
right: {
|
|
98
|
+
name: string;
|
|
99
|
+
width: number;
|
|
100
|
+
height: number;
|
|
101
|
+
};
|
|
102
|
+
menu: {
|
|
103
|
+
name: string;
|
|
104
|
+
width: number;
|
|
105
|
+
height: number;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TextAlign } from '../components/core/Typography/Typography.types';
|
|
2
|
+
import { FlexDirection } from '../components/layout';
|
|
3
|
+
export declare const image: {
|
|
4
|
+
default: {
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
transition: string;
|
|
8
|
+
};
|
|
9
|
+
wrapper: {
|
|
10
|
+
position: "relative";
|
|
11
|
+
display: string;
|
|
12
|
+
flexDirection: FlexDirection;
|
|
13
|
+
alignItems: string;
|
|
14
|
+
};
|
|
15
|
+
placeholder: {
|
|
16
|
+
position: "absolute";
|
|
17
|
+
top: number;
|
|
18
|
+
left: number;
|
|
19
|
+
width: string;
|
|
20
|
+
height: string;
|
|
21
|
+
display: string;
|
|
22
|
+
alignItems: string;
|
|
23
|
+
justifyContent: string;
|
|
24
|
+
background: string;
|
|
25
|
+
};
|
|
26
|
+
caption: {
|
|
27
|
+
marginTop: string;
|
|
28
|
+
fontSize: string;
|
|
29
|
+
color: string;
|
|
30
|
+
textAlign: TextAlign.Center;
|
|
31
|
+
};
|
|
32
|
+
};
|
package/tokens/index.d.ts
CHANGED
|
@@ -20,11 +20,15 @@ export * from './skeleton';
|
|
|
20
20
|
export * from './defaultTheme';
|
|
21
21
|
export * from './snackbar';
|
|
22
22
|
export * from './list';
|
|
23
|
+
export * from './select';
|
|
24
|
+
export * from './search';
|
|
23
25
|
export * from './breadcrumbs';
|
|
24
26
|
export * from './icon';
|
|
25
27
|
export * from './reset';
|
|
26
28
|
export * from './tabs';
|
|
27
29
|
export * from './stepper';
|
|
30
|
+
export * from './rating';
|
|
31
|
+
export * from './header';
|
|
28
32
|
export * from './utils';
|
|
29
33
|
export * from './types/index.types';
|
|
30
34
|
export declare const defaultTokens: {
|
|
@@ -235,8 +239,8 @@ export declare const defaultTokens: {
|
|
|
235
239
|
xxl: string;
|
|
236
240
|
};
|
|
237
241
|
borders: {
|
|
238
|
-
none:
|
|
239
|
-
generic: ({ width, color, type }: {
|
|
242
|
+
none: number;
|
|
243
|
+
generic: ({ width, color, type, }: {
|
|
240
244
|
width: string;
|
|
241
245
|
color?: string;
|
|
242
246
|
type?: string;
|
|
@@ -254,14 +258,15 @@ export declare const defaultTokens: {
|
|
|
254
258
|
};
|
|
255
259
|
button: {
|
|
256
260
|
default: {
|
|
257
|
-
border:
|
|
258
|
-
outline:
|
|
261
|
+
border: number;
|
|
262
|
+
outline: number;
|
|
259
263
|
padding: string;
|
|
260
264
|
display: string;
|
|
261
265
|
alignItems: string;
|
|
262
266
|
gap: string;
|
|
263
267
|
transition: string;
|
|
264
268
|
cursor: string;
|
|
269
|
+
borderColor: string;
|
|
265
270
|
'&:focus-visible': {
|
|
266
271
|
position: string;
|
|
267
272
|
'&::after': {
|
|
@@ -282,7 +287,9 @@ export declare const defaultTokens: {
|
|
|
282
287
|
icon: {
|
|
283
288
|
padding: string;
|
|
284
289
|
};
|
|
285
|
-
content: {
|
|
290
|
+
content: {
|
|
291
|
+
width: string;
|
|
292
|
+
};
|
|
286
293
|
startIcon: {};
|
|
287
294
|
endIcon: {};
|
|
288
295
|
contained: {
|
|
@@ -365,7 +372,7 @@ export declare const defaultTokens: {
|
|
|
365
372
|
base: {
|
|
366
373
|
display: string;
|
|
367
374
|
boxSizing: string;
|
|
368
|
-
borderRadius:
|
|
375
|
+
borderRadius: number;
|
|
369
376
|
border: string;
|
|
370
377
|
lineHeight: string;
|
|
371
378
|
paddingLeft: string;
|
|
@@ -394,6 +401,11 @@ export declare const defaultTokens: {
|
|
|
394
401
|
border: string;
|
|
395
402
|
backgroundImage: string;
|
|
396
403
|
};
|
|
404
|
+
'&[type="checkbox"]:not(:checked)': {
|
|
405
|
+
'&[readonly], &:disabled': {
|
|
406
|
+
opacity: number;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
397
409
|
'&[type="checkbox"]:checked': {
|
|
398
410
|
backgroundRepeat: string;
|
|
399
411
|
backgroundPosition: string;
|
|
@@ -411,6 +423,9 @@ export declare const defaultTokens: {
|
|
|
411
423
|
width: string;
|
|
412
424
|
border: string;
|
|
413
425
|
backgroundImage: string;
|
|
426
|
+
'&[readonly], &:disabled': {
|
|
427
|
+
opacity: number;
|
|
428
|
+
};
|
|
414
429
|
};
|
|
415
430
|
'&[type="radio"]:checked': {
|
|
416
431
|
backgroundImage: string;
|
|
@@ -434,6 +449,10 @@ export declare const defaultTokens: {
|
|
|
434
449
|
text: {
|
|
435
450
|
'&:hover': {};
|
|
436
451
|
'&:disabled': {};
|
|
452
|
+
'& input': {
|
|
453
|
+
verticalAlign: string;
|
|
454
|
+
marginRight: string;
|
|
455
|
+
};
|
|
437
456
|
primary: {
|
|
438
457
|
'&:hover': {};
|
|
439
458
|
'&:disabled': {};
|
|
@@ -504,6 +523,22 @@ export declare const defaultTokens: {
|
|
|
504
523
|
};
|
|
505
524
|
};
|
|
506
525
|
};
|
|
526
|
+
inverted: {
|
|
527
|
+
'&::after': {
|
|
528
|
+
content: string;
|
|
529
|
+
position: string;
|
|
530
|
+
right: string;
|
|
531
|
+
bottom: string;
|
|
532
|
+
left: string;
|
|
533
|
+
borderBottom: string;
|
|
534
|
+
};
|
|
535
|
+
'&:hover': {
|
|
536
|
+
backgroundColor: string;
|
|
537
|
+
'&::after': {
|
|
538
|
+
borderBottomColor: string;
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
};
|
|
507
542
|
inherit: {
|
|
508
543
|
color: string;
|
|
509
544
|
};
|
|
@@ -784,6 +819,50 @@ export declare const defaultTokens: {
|
|
|
784
819
|
circular: {
|
|
785
820
|
borderRadius: string;
|
|
786
821
|
};
|
|
822
|
+
cards: {
|
|
823
|
+
search: {
|
|
824
|
+
base: {};
|
|
825
|
+
container: {
|
|
826
|
+
padding: string;
|
|
827
|
+
boxSizing: string;
|
|
828
|
+
flexWrap: string;
|
|
829
|
+
flexDirection: string;
|
|
830
|
+
};
|
|
831
|
+
header: {
|
|
832
|
+
width: string;
|
|
833
|
+
marginBottom: string;
|
|
834
|
+
};
|
|
835
|
+
row: {
|
|
836
|
+
width: string;
|
|
837
|
+
marginBottom: string;
|
|
838
|
+
gap: string;
|
|
839
|
+
};
|
|
840
|
+
columnImage: {
|
|
841
|
+
base: {
|
|
842
|
+
flex: number;
|
|
843
|
+
};
|
|
844
|
+
image: {
|
|
845
|
+
width: string;
|
|
846
|
+
height: string;
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
columnText: {
|
|
850
|
+
base: {
|
|
851
|
+
flex: number;
|
|
852
|
+
};
|
|
853
|
+
description: {
|
|
854
|
+
width: string;
|
|
855
|
+
height: string;
|
|
856
|
+
marginBottom: string;
|
|
857
|
+
};
|
|
858
|
+
price: {
|
|
859
|
+
width: string;
|
|
860
|
+
height: string;
|
|
861
|
+
marginBottom: string;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
};
|
|
787
866
|
};
|
|
788
867
|
animations: {
|
|
789
868
|
spinKeyframes: {
|
|
@@ -837,11 +916,6 @@ export declare const defaultTokens: {
|
|
|
837
916
|
spacing: {
|
|
838
917
|
body: string;
|
|
839
918
|
};
|
|
840
|
-
closeIcon: {
|
|
841
|
-
name: string;
|
|
842
|
-
width: number;
|
|
843
|
-
height: number;
|
|
844
|
-
};
|
|
845
919
|
container: {
|
|
846
920
|
position: string;
|
|
847
921
|
display: string;
|
|
@@ -1018,10 +1092,29 @@ export declare const defaultTokens: {
|
|
|
1018
1092
|
top: string;
|
|
1019
1093
|
right: string;
|
|
1020
1094
|
background: string;
|
|
1021
|
-
border:
|
|
1095
|
+
border: number;
|
|
1022
1096
|
cursor: string;
|
|
1023
1097
|
padding: string;
|
|
1024
1098
|
};
|
|
1099
|
+
icons: {
|
|
1100
|
+
close: {
|
|
1101
|
+
name: string;
|
|
1102
|
+
width: number;
|
|
1103
|
+
height: number;
|
|
1104
|
+
};
|
|
1105
|
+
success: {
|
|
1106
|
+
name: string;
|
|
1107
|
+
};
|
|
1108
|
+
error: {
|
|
1109
|
+
name: string;
|
|
1110
|
+
};
|
|
1111
|
+
warning: {
|
|
1112
|
+
name: string;
|
|
1113
|
+
};
|
|
1114
|
+
info: {
|
|
1115
|
+
name: string;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1025
1118
|
};
|
|
1026
1119
|
list: {
|
|
1027
1120
|
wrapper: {
|
|
@@ -1098,6 +1191,106 @@ export declare const defaultTokens: {
|
|
|
1098
1191
|
};
|
|
1099
1192
|
};
|
|
1100
1193
|
};
|
|
1194
|
+
icons: {
|
|
1195
|
+
bulletDot: {
|
|
1196
|
+
name: string;
|
|
1197
|
+
width: number;
|
|
1198
|
+
height: number;
|
|
1199
|
+
};
|
|
1200
|
+
bulletCheck: {
|
|
1201
|
+
name: string;
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
select: {
|
|
1206
|
+
base: {
|
|
1207
|
+
position: string;
|
|
1208
|
+
display: string;
|
|
1209
|
+
};
|
|
1210
|
+
dropdown: {
|
|
1211
|
+
position: string;
|
|
1212
|
+
textAlign: string;
|
|
1213
|
+
top: string;
|
|
1214
|
+
left: string;
|
|
1215
|
+
width: string;
|
|
1216
|
+
background: string;
|
|
1217
|
+
boxShadow: string;
|
|
1218
|
+
fontFamily: string;
|
|
1219
|
+
fontSize: string;
|
|
1220
|
+
fontWeight: number;
|
|
1221
|
+
listStyleType: string;
|
|
1222
|
+
margin: string;
|
|
1223
|
+
padding: string;
|
|
1224
|
+
zIndex: number;
|
|
1225
|
+
};
|
|
1226
|
+
button: {
|
|
1227
|
+
borderColor: string;
|
|
1228
|
+
padding: string;
|
|
1229
|
+
width: string;
|
|
1230
|
+
display: string;
|
|
1231
|
+
flexDirection: string;
|
|
1232
|
+
justifyContent: string;
|
|
1233
|
+
alignItems: string;
|
|
1234
|
+
};
|
|
1235
|
+
item: {
|
|
1236
|
+
base: {
|
|
1237
|
+
cursor: string;
|
|
1238
|
+
padding: string;
|
|
1239
|
+
'&:hover, &.active': {
|
|
1240
|
+
backgroundColor: string;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
arrowIconWrapper: {
|
|
1245
|
+
transform: {
|
|
1246
|
+
open: string;
|
|
1247
|
+
close: string;
|
|
1248
|
+
transition: string;
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
arrowIcon: {
|
|
1252
|
+
name: string;
|
|
1253
|
+
fill: string;
|
|
1254
|
+
width: number;
|
|
1255
|
+
height: number;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
search: {
|
|
1259
|
+
base: {};
|
|
1260
|
+
input: {
|
|
1261
|
+
width: string;
|
|
1262
|
+
boxSizing: "border-box";
|
|
1263
|
+
};
|
|
1264
|
+
dropdownHeader: {
|
|
1265
|
+
row: {};
|
|
1266
|
+
link: {
|
|
1267
|
+
base: {};
|
|
1268
|
+
typography: {};
|
|
1269
|
+
};
|
|
1270
|
+
icon: {};
|
|
1271
|
+
};
|
|
1272
|
+
renderer: {
|
|
1273
|
+
row: {
|
|
1274
|
+
width: string;
|
|
1275
|
+
padding: string;
|
|
1276
|
+
};
|
|
1277
|
+
link: {
|
|
1278
|
+
display: string;
|
|
1279
|
+
alignItems: string;
|
|
1280
|
+
'&:after': {
|
|
1281
|
+
borderBottom: string;
|
|
1282
|
+
};
|
|
1283
|
+
'& svg': {
|
|
1284
|
+
marginLeft: string;
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
linkIcon: {
|
|
1288
|
+
fill: string;
|
|
1289
|
+
name: string;
|
|
1290
|
+
width: number;
|
|
1291
|
+
height: number;
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1101
1294
|
};
|
|
1102
1295
|
breadcrumbs: {
|
|
1103
1296
|
wrapper: {
|
|
@@ -1177,6 +1370,7 @@ export declare const defaultTokens: {
|
|
|
1177
1370
|
color: string;
|
|
1178
1371
|
transition: string;
|
|
1179
1372
|
borderBottom: string;
|
|
1373
|
+
flex: number;
|
|
1180
1374
|
'&:hover': {
|
|
1181
1375
|
".Tabs__noticeCounter": {
|
|
1182
1376
|
backgroundColor: string;
|
|
@@ -1226,6 +1420,9 @@ export declare const defaultTokens: {
|
|
|
1226
1420
|
backgroundColor: string;
|
|
1227
1421
|
};
|
|
1228
1422
|
};
|
|
1423
|
+
tabButton: {
|
|
1424
|
+
width: string;
|
|
1425
|
+
};
|
|
1229
1426
|
};
|
|
1230
1427
|
stepper: {
|
|
1231
1428
|
default: {
|
|
@@ -1335,5 +1532,201 @@ export declare const defaultTokens: {
|
|
|
1335
1532
|
error: {};
|
|
1336
1533
|
success: {};
|
|
1337
1534
|
};
|
|
1535
|
+
icons: {
|
|
1536
|
+
active: {
|
|
1537
|
+
width?: number | undefined;
|
|
1538
|
+
height?: number | undefined;
|
|
1539
|
+
name: string;
|
|
1540
|
+
fill: string;
|
|
1541
|
+
};
|
|
1542
|
+
inactive: {
|
|
1543
|
+
width?: number | undefined;
|
|
1544
|
+
height?: number | undefined;
|
|
1545
|
+
name: string;
|
|
1546
|
+
fill: string;
|
|
1547
|
+
};
|
|
1548
|
+
complete: {
|
|
1549
|
+
width?: number | undefined;
|
|
1550
|
+
height?: number | undefined;
|
|
1551
|
+
name: string;
|
|
1552
|
+
fill: string;
|
|
1553
|
+
};
|
|
1554
|
+
error: {
|
|
1555
|
+
width?: number | undefined;
|
|
1556
|
+
height?: number | undefined;
|
|
1557
|
+
name: string;
|
|
1558
|
+
fill: string;
|
|
1559
|
+
};
|
|
1560
|
+
errorActive: {
|
|
1561
|
+
width?: number | undefined;
|
|
1562
|
+
height?: number | undefined;
|
|
1563
|
+
name: string;
|
|
1564
|
+
fill: string;
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
rating: {
|
|
1569
|
+
default: {
|
|
1570
|
+
display: string;
|
|
1571
|
+
gap: number;
|
|
1572
|
+
position: string;
|
|
1573
|
+
overflow: string;
|
|
1574
|
+
};
|
|
1575
|
+
progress: {
|
|
1576
|
+
position: string;
|
|
1577
|
+
display: string;
|
|
1578
|
+
overflow: string;
|
|
1579
|
+
left: number;
|
|
1580
|
+
svg: {
|
|
1581
|
+
flexShrink: number;
|
|
1582
|
+
flexGrow: number;
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
radioInput: {
|
|
1586
|
+
display: string;
|
|
1587
|
+
};
|
|
1588
|
+
label: {
|
|
1589
|
+
default: {
|
|
1590
|
+
cursor: string;
|
|
1591
|
+
};
|
|
1592
|
+
active: {
|
|
1593
|
+
'&:hover': {
|
|
1594
|
+
transform: string;
|
|
1595
|
+
transition: string;
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
readOnly: {
|
|
1599
|
+
cursor: string;
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
size: {
|
|
1603
|
+
sm: {
|
|
1604
|
+
width: number;
|
|
1605
|
+
height: number;
|
|
1606
|
+
};
|
|
1607
|
+
md: {
|
|
1608
|
+
width: number;
|
|
1609
|
+
height: number;
|
|
1610
|
+
};
|
|
1611
|
+
lg: {
|
|
1612
|
+
width: number;
|
|
1613
|
+
height: number;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
icons: {
|
|
1617
|
+
rateActive: {
|
|
1618
|
+
name: string;
|
|
1619
|
+
};
|
|
1620
|
+
rateInactive: {
|
|
1621
|
+
name: string;
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1625
|
+
header: {
|
|
1626
|
+
container: {
|
|
1627
|
+
fontFamily: string;
|
|
1628
|
+
alignItems: string;
|
|
1629
|
+
backgroundColor: string;
|
|
1630
|
+
maxWidth: string;
|
|
1631
|
+
};
|
|
1632
|
+
topBannerRow: {
|
|
1633
|
+
width: string;
|
|
1634
|
+
backgroundColor: string;
|
|
1635
|
+
color: string;
|
|
1636
|
+
};
|
|
1637
|
+
searchColumn: {
|
|
1638
|
+
base: {
|
|
1639
|
+
flexDirection: string;
|
|
1640
|
+
justifyContent: string;
|
|
1641
|
+
'& a': {
|
|
1642
|
+
margin: string;
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
navigationRow: {
|
|
1647
|
+
base: {
|
|
1648
|
+
width: string;
|
|
1649
|
+
padding: string;
|
|
1650
|
+
alignItems: string;
|
|
1651
|
+
};
|
|
1652
|
+
};
|
|
1653
|
+
actionsColumn: {
|
|
1654
|
+
base: {
|
|
1655
|
+
flexDirection: string;
|
|
1656
|
+
'& button': {
|
|
1657
|
+
margin: string;
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1661
|
+
menuRow: {
|
|
1662
|
+
base: {
|
|
1663
|
+
width: string;
|
|
1664
|
+
justifyContent: string;
|
|
1665
|
+
};
|
|
1666
|
+
column: {
|
|
1667
|
+
flexDirection: string;
|
|
1668
|
+
'& a': {
|
|
1669
|
+
margin: string;
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
children: {
|
|
1674
|
+
base: {
|
|
1675
|
+
margin: string;
|
|
1676
|
+
};
|
|
1677
|
+
};
|
|
1678
|
+
mobile: {
|
|
1679
|
+
openedDropdownWrapper: {
|
|
1680
|
+
position: string;
|
|
1681
|
+
top: string;
|
|
1682
|
+
left: string;
|
|
1683
|
+
zIndex: number;
|
|
1684
|
+
background: string;
|
|
1685
|
+
width: string;
|
|
1686
|
+
height: string;
|
|
1687
|
+
padding: string;
|
|
1688
|
+
overflowY: string;
|
|
1689
|
+
};
|
|
1690
|
+
closeMenuIconWrapper: {
|
|
1691
|
+
width: string;
|
|
1692
|
+
height: string;
|
|
1693
|
+
display: string;
|
|
1694
|
+
justifyContent: string;
|
|
1695
|
+
alignItems: string;
|
|
1696
|
+
};
|
|
1697
|
+
openMenuIconWrapper: {
|
|
1698
|
+
width: string;
|
|
1699
|
+
height: string;
|
|
1700
|
+
display: string;
|
|
1701
|
+
justifyContent: string;
|
|
1702
|
+
alignItems: string;
|
|
1703
|
+
};
|
|
1704
|
+
menuWrapper: {
|
|
1705
|
+
margin: string;
|
|
1706
|
+
borderTop: string;
|
|
1707
|
+
};
|
|
1708
|
+
menuItemWrapper: {
|
|
1709
|
+
padding: string;
|
|
1710
|
+
borderBottom: string;
|
|
1711
|
+
cursor: string;
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
icons: {
|
|
1715
|
+
close: {
|
|
1716
|
+
name: string;
|
|
1717
|
+
width: number;
|
|
1718
|
+
height: number;
|
|
1719
|
+
};
|
|
1720
|
+
right: {
|
|
1721
|
+
name: string;
|
|
1722
|
+
width: number;
|
|
1723
|
+
height: number;
|
|
1724
|
+
};
|
|
1725
|
+
menu: {
|
|
1726
|
+
name: string;
|
|
1727
|
+
width: number;
|
|
1728
|
+
height: number;
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1338
1731
|
};
|
|
1339
1732
|
};
|
package/tokens/input.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const input: {
|
|
|
2
2
|
base: {
|
|
3
3
|
display: string;
|
|
4
4
|
boxSizing: string;
|
|
5
|
-
borderRadius:
|
|
5
|
+
borderRadius: number;
|
|
6
6
|
border: string;
|
|
7
7
|
lineHeight: string;
|
|
8
8
|
paddingLeft: string;
|
|
@@ -31,6 +31,11 @@ export declare const input: {
|
|
|
31
31
|
border: string;
|
|
32
32
|
backgroundImage: string;
|
|
33
33
|
};
|
|
34
|
+
'&[type="checkbox"]:not(:checked)': {
|
|
35
|
+
'&[readonly], &:disabled': {
|
|
36
|
+
opacity: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
34
39
|
'&[type="checkbox"]:checked': {
|
|
35
40
|
backgroundRepeat: string;
|
|
36
41
|
backgroundPosition: string;
|
|
@@ -48,6 +53,9 @@ export declare const input: {
|
|
|
48
53
|
width: string;
|
|
49
54
|
border: string;
|
|
50
55
|
backgroundImage: string;
|
|
56
|
+
'&[readonly], &:disabled': {
|
|
57
|
+
opacity: number;
|
|
58
|
+
};
|
|
51
59
|
};
|
|
52
60
|
'&[type="radio"]:checked': {
|
|
53
61
|
backgroundImage: string;
|