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
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gd-design-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"main": "./index.js",
|
|
5
6
|
"types": "./index.d.ts",
|
|
6
7
|
"exports": {
|
|
@@ -9,6 +10,12 @@
|
|
|
9
10
|
"require": "./index.js"
|
|
10
11
|
}
|
|
11
12
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"react": "^18.3.1",
|
|
15
|
+
"react-dom": "^18.3.1"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"styled-components": "^6.1.15"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {}
|
|
14
21
|
}
|
package/tokens/borders.d.ts
CHANGED
package/tokens/button.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export declare const button: {
|
|
2
2
|
default: {
|
|
3
|
-
border:
|
|
4
|
-
outline:
|
|
3
|
+
border: number;
|
|
4
|
+
outline: number;
|
|
5
5
|
padding: string;
|
|
6
6
|
display: string;
|
|
7
7
|
alignItems: string;
|
|
8
8
|
gap: string;
|
|
9
9
|
transition: string;
|
|
10
10
|
cursor: string;
|
|
11
|
+
borderColor: string;
|
|
11
12
|
'&:focus-visible': {
|
|
12
13
|
position: string;
|
|
13
14
|
'&::after': {
|
|
@@ -28,7 +29,9 @@ export declare const button: {
|
|
|
28
29
|
icon: {
|
|
29
30
|
padding: string;
|
|
30
31
|
};
|
|
31
|
-
content: {
|
|
32
|
+
content: {
|
|
33
|
+
width: string;
|
|
34
|
+
};
|
|
32
35
|
startIcon: {};
|
|
33
36
|
endIcon: {};
|
|
34
37
|
contained: {
|
package/tokens/defaultTheme.d.ts
CHANGED
|
@@ -119,14 +119,15 @@ export declare const defaultTheme: {
|
|
|
119
119
|
};
|
|
120
120
|
button: {
|
|
121
121
|
default: {
|
|
122
|
-
border:
|
|
123
|
-
outline:
|
|
122
|
+
border: number;
|
|
123
|
+
outline: number;
|
|
124
124
|
padding: string;
|
|
125
125
|
display: string;
|
|
126
126
|
alignItems: string;
|
|
127
127
|
gap: string;
|
|
128
128
|
transition: string;
|
|
129
129
|
cursor: string;
|
|
130
|
+
borderColor: string;
|
|
130
131
|
'&:focus-visible': {
|
|
131
132
|
position: string;
|
|
132
133
|
'&::after': {
|
|
@@ -147,7 +148,9 @@ export declare const defaultTheme: {
|
|
|
147
148
|
icon: {
|
|
148
149
|
padding: string;
|
|
149
150
|
};
|
|
150
|
-
content: {
|
|
151
|
+
content: {
|
|
152
|
+
width: string;
|
|
153
|
+
};
|
|
151
154
|
startIcon: {};
|
|
152
155
|
endIcon: {};
|
|
153
156
|
contained: {
|
|
@@ -230,7 +233,7 @@ export declare const defaultTheme: {
|
|
|
230
233
|
base: {
|
|
231
234
|
display: string;
|
|
232
235
|
boxSizing: string;
|
|
233
|
-
borderRadius:
|
|
236
|
+
borderRadius: number;
|
|
234
237
|
border: string;
|
|
235
238
|
lineHeight: string;
|
|
236
239
|
paddingLeft: string;
|
|
@@ -259,6 +262,11 @@ export declare const defaultTheme: {
|
|
|
259
262
|
border: string;
|
|
260
263
|
backgroundImage: string;
|
|
261
264
|
};
|
|
265
|
+
'&[type="checkbox"]:not(:checked)': {
|
|
266
|
+
'&[readonly], &:disabled': {
|
|
267
|
+
opacity: number;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
262
270
|
'&[type="checkbox"]:checked': {
|
|
263
271
|
backgroundRepeat: string;
|
|
264
272
|
backgroundPosition: string;
|
|
@@ -276,6 +284,9 @@ export declare const defaultTheme: {
|
|
|
276
284
|
width: string;
|
|
277
285
|
border: string;
|
|
278
286
|
backgroundImage: string;
|
|
287
|
+
'&[readonly], &:disabled': {
|
|
288
|
+
opacity: number;
|
|
289
|
+
};
|
|
279
290
|
};
|
|
280
291
|
'&[type="radio"]:checked': {
|
|
281
292
|
backgroundImage: string;
|
|
@@ -299,6 +310,10 @@ export declare const defaultTheme: {
|
|
|
299
310
|
text: {
|
|
300
311
|
'&:hover': {};
|
|
301
312
|
'&:disabled': {};
|
|
313
|
+
'& input': {
|
|
314
|
+
verticalAlign: string;
|
|
315
|
+
marginRight: string;
|
|
316
|
+
};
|
|
302
317
|
primary: {
|
|
303
318
|
'&:hover': {};
|
|
304
319
|
'&:disabled': {};
|
|
@@ -315,6 +330,7 @@ export declare const defaultTheme: {
|
|
|
315
330
|
display: string;
|
|
316
331
|
width: string;
|
|
317
332
|
margin: string;
|
|
333
|
+
flexDirection: string;
|
|
318
334
|
};
|
|
319
335
|
};
|
|
320
336
|
link: {
|
|
@@ -376,6 +392,22 @@ export declare const defaultTheme: {
|
|
|
376
392
|
};
|
|
377
393
|
};
|
|
378
394
|
};
|
|
395
|
+
inverted: {
|
|
396
|
+
'&::after': {
|
|
397
|
+
content: string;
|
|
398
|
+
position: string;
|
|
399
|
+
right: string;
|
|
400
|
+
bottom: string;
|
|
401
|
+
left: string;
|
|
402
|
+
borderBottom: string;
|
|
403
|
+
};
|
|
404
|
+
'&:hover': {
|
|
405
|
+
backgroundColor: string;
|
|
406
|
+
'&::after': {
|
|
407
|
+
borderBottomColor: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
};
|
|
379
411
|
inherit: {
|
|
380
412
|
color: string;
|
|
381
413
|
};
|
|
@@ -482,7 +514,7 @@ export declare const defaultTheme: {
|
|
|
482
514
|
borderThin: string;
|
|
483
515
|
borderMedium: string;
|
|
484
516
|
borderThick: string;
|
|
485
|
-
borderNone:
|
|
517
|
+
borderNone: number;
|
|
486
518
|
border: {
|
|
487
519
|
radius: {
|
|
488
520
|
none: string;
|
|
@@ -504,6 +536,9 @@ export declare const defaultTheme: {
|
|
|
504
536
|
separator: string;
|
|
505
537
|
stepIcon: string;
|
|
506
538
|
};
|
|
539
|
+
rating: {
|
|
540
|
+
label: string;
|
|
541
|
+
};
|
|
507
542
|
};
|
|
508
543
|
};
|
|
509
544
|
flexAlignItems: {
|
|
@@ -568,6 +603,36 @@ export declare const defaultTheme: {
|
|
|
568
603
|
};
|
|
569
604
|
};
|
|
570
605
|
};
|
|
606
|
+
image: {
|
|
607
|
+
default: {
|
|
608
|
+
width: string;
|
|
609
|
+
height: string;
|
|
610
|
+
transition: string;
|
|
611
|
+
};
|
|
612
|
+
wrapper: {
|
|
613
|
+
position: "relative";
|
|
614
|
+
display: string;
|
|
615
|
+
flexDirection: import('..').FlexDirection;
|
|
616
|
+
alignItems: string;
|
|
617
|
+
};
|
|
618
|
+
placeholder: {
|
|
619
|
+
position: "absolute";
|
|
620
|
+
top: number;
|
|
621
|
+
left: number;
|
|
622
|
+
width: string;
|
|
623
|
+
height: string;
|
|
624
|
+
display: string;
|
|
625
|
+
alignItems: string;
|
|
626
|
+
justifyContent: string;
|
|
627
|
+
background: string;
|
|
628
|
+
};
|
|
629
|
+
caption: {
|
|
630
|
+
marginTop: string;
|
|
631
|
+
fontSize: string;
|
|
632
|
+
color: string;
|
|
633
|
+
textAlign: import("..").TextAlign.Center;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
571
636
|
row: {
|
|
572
637
|
default: {
|
|
573
638
|
display: string;
|
|
@@ -639,6 +704,10 @@ export declare const defaultTheme: {
|
|
|
639
704
|
};
|
|
640
705
|
};
|
|
641
706
|
};
|
|
707
|
+
wrapper: {
|
|
708
|
+
display: string;
|
|
709
|
+
position: string;
|
|
710
|
+
};
|
|
642
711
|
};
|
|
643
712
|
animations: {
|
|
644
713
|
spinKeyframes: {
|
|
@@ -722,7 +791,7 @@ export declare const defaultTheme: {
|
|
|
722
791
|
};
|
|
723
792
|
closeButton: {
|
|
724
793
|
background: string;
|
|
725
|
-
border:
|
|
794
|
+
border: number;
|
|
726
795
|
cursor: string;
|
|
727
796
|
padding: string;
|
|
728
797
|
};
|
|
@@ -738,6 +807,11 @@ export declare const defaultTheme: {
|
|
|
738
807
|
justifyContent: string;
|
|
739
808
|
zIndex: number;
|
|
740
809
|
};
|
|
810
|
+
icons: {
|
|
811
|
+
close: {
|
|
812
|
+
name: string;
|
|
813
|
+
};
|
|
814
|
+
};
|
|
741
815
|
};
|
|
742
816
|
snackbar: {
|
|
743
817
|
zIndex: number;
|
|
@@ -750,11 +824,6 @@ export declare const defaultTheme: {
|
|
|
750
824
|
spacing: {
|
|
751
825
|
body: string;
|
|
752
826
|
};
|
|
753
|
-
closeIcon: {
|
|
754
|
-
name: string;
|
|
755
|
-
width: number;
|
|
756
|
-
height: number;
|
|
757
|
-
};
|
|
758
827
|
container: {
|
|
759
828
|
position: string;
|
|
760
829
|
display: string;
|
|
@@ -931,10 +1000,29 @@ export declare const defaultTheme: {
|
|
|
931
1000
|
top: string;
|
|
932
1001
|
right: string;
|
|
933
1002
|
background: string;
|
|
934
|
-
border:
|
|
1003
|
+
border: number;
|
|
935
1004
|
cursor: string;
|
|
936
1005
|
padding: string;
|
|
937
1006
|
};
|
|
1007
|
+
icons: {
|
|
1008
|
+
close: {
|
|
1009
|
+
name: string;
|
|
1010
|
+
width: number;
|
|
1011
|
+
height: number;
|
|
1012
|
+
};
|
|
1013
|
+
success: {
|
|
1014
|
+
name: string;
|
|
1015
|
+
};
|
|
1016
|
+
error: {
|
|
1017
|
+
name: string;
|
|
1018
|
+
};
|
|
1019
|
+
warning: {
|
|
1020
|
+
name: string;
|
|
1021
|
+
};
|
|
1022
|
+
info: {
|
|
1023
|
+
name: string;
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
938
1026
|
};
|
|
939
1027
|
skeleton: {
|
|
940
1028
|
default: {
|
|
@@ -959,6 +1047,50 @@ export declare const defaultTheme: {
|
|
|
959
1047
|
circular: {
|
|
960
1048
|
borderRadius: string;
|
|
961
1049
|
};
|
|
1050
|
+
cards: {
|
|
1051
|
+
search: {
|
|
1052
|
+
base: {};
|
|
1053
|
+
container: {
|
|
1054
|
+
padding: string;
|
|
1055
|
+
boxSizing: string;
|
|
1056
|
+
flexWrap: string;
|
|
1057
|
+
flexDirection: string;
|
|
1058
|
+
};
|
|
1059
|
+
header: {
|
|
1060
|
+
width: string;
|
|
1061
|
+
marginBottom: string;
|
|
1062
|
+
};
|
|
1063
|
+
row: {
|
|
1064
|
+
width: string;
|
|
1065
|
+
marginBottom: string;
|
|
1066
|
+
gap: string;
|
|
1067
|
+
};
|
|
1068
|
+
columnImage: {
|
|
1069
|
+
base: {
|
|
1070
|
+
flex: number;
|
|
1071
|
+
};
|
|
1072
|
+
image: {
|
|
1073
|
+
width: string;
|
|
1074
|
+
height: string;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
columnText: {
|
|
1078
|
+
base: {
|
|
1079
|
+
flex: number;
|
|
1080
|
+
};
|
|
1081
|
+
description: {
|
|
1082
|
+
width: string;
|
|
1083
|
+
height: string;
|
|
1084
|
+
marginBottom: string;
|
|
1085
|
+
};
|
|
1086
|
+
price: {
|
|
1087
|
+
width: string;
|
|
1088
|
+
height: string;
|
|
1089
|
+
marginBottom: string;
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
962
1094
|
};
|
|
963
1095
|
list: {
|
|
964
1096
|
wrapper: {
|
|
@@ -1035,6 +1167,106 @@ export declare const defaultTheme: {
|
|
|
1035
1167
|
};
|
|
1036
1168
|
};
|
|
1037
1169
|
};
|
|
1170
|
+
icons: {
|
|
1171
|
+
bulletDot: {
|
|
1172
|
+
name: string;
|
|
1173
|
+
width: number;
|
|
1174
|
+
height: number;
|
|
1175
|
+
};
|
|
1176
|
+
bulletCheck: {
|
|
1177
|
+
name: string;
|
|
1178
|
+
};
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
select: {
|
|
1182
|
+
base: {
|
|
1183
|
+
position: string;
|
|
1184
|
+
display: string;
|
|
1185
|
+
};
|
|
1186
|
+
dropdown: {
|
|
1187
|
+
position: string;
|
|
1188
|
+
textAlign: string;
|
|
1189
|
+
top: string;
|
|
1190
|
+
left: string;
|
|
1191
|
+
width: string;
|
|
1192
|
+
background: string;
|
|
1193
|
+
boxShadow: string;
|
|
1194
|
+
fontFamily: string;
|
|
1195
|
+
fontSize: string;
|
|
1196
|
+
fontWeight: number;
|
|
1197
|
+
listStyleType: string;
|
|
1198
|
+
margin: string;
|
|
1199
|
+
padding: string;
|
|
1200
|
+
zIndex: number;
|
|
1201
|
+
};
|
|
1202
|
+
button: {
|
|
1203
|
+
borderColor: string;
|
|
1204
|
+
padding: string;
|
|
1205
|
+
width: string;
|
|
1206
|
+
display: string;
|
|
1207
|
+
flexDirection: string;
|
|
1208
|
+
justifyContent: string;
|
|
1209
|
+
alignItems: string;
|
|
1210
|
+
};
|
|
1211
|
+
item: {
|
|
1212
|
+
base: {
|
|
1213
|
+
cursor: string;
|
|
1214
|
+
padding: string;
|
|
1215
|
+
'&:hover, &.active': {
|
|
1216
|
+
backgroundColor: string;
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
arrowIconWrapper: {
|
|
1221
|
+
transform: {
|
|
1222
|
+
open: string;
|
|
1223
|
+
close: string;
|
|
1224
|
+
transition: string;
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
arrowIcon: {
|
|
1228
|
+
name: string;
|
|
1229
|
+
fill: string;
|
|
1230
|
+
width: number;
|
|
1231
|
+
height: number;
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
search: {
|
|
1235
|
+
base: {};
|
|
1236
|
+
input: {
|
|
1237
|
+
width: string;
|
|
1238
|
+
boxSizing: "border-box";
|
|
1239
|
+
};
|
|
1240
|
+
dropdownHeader: {
|
|
1241
|
+
row: {};
|
|
1242
|
+
link: {
|
|
1243
|
+
base: {};
|
|
1244
|
+
typography: {};
|
|
1245
|
+
};
|
|
1246
|
+
icon: {};
|
|
1247
|
+
};
|
|
1248
|
+
renderer: {
|
|
1249
|
+
row: {
|
|
1250
|
+
width: string;
|
|
1251
|
+
padding: string;
|
|
1252
|
+
};
|
|
1253
|
+
link: {
|
|
1254
|
+
display: string;
|
|
1255
|
+
alignItems: string;
|
|
1256
|
+
'&:after': {
|
|
1257
|
+
borderBottom: string;
|
|
1258
|
+
};
|
|
1259
|
+
'& svg': {
|
|
1260
|
+
marginLeft: string;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
linkIcon: {
|
|
1264
|
+
fill: string;
|
|
1265
|
+
name: string;
|
|
1266
|
+
width: number;
|
|
1267
|
+
height: number;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1038
1270
|
};
|
|
1039
1271
|
breadcrumbs: {
|
|
1040
1272
|
wrapper: {
|
|
@@ -1113,6 +1345,7 @@ export declare const defaultTheme: {
|
|
|
1113
1345
|
color: string;
|
|
1114
1346
|
transition: string;
|
|
1115
1347
|
borderBottom: string;
|
|
1348
|
+
flex: number;
|
|
1116
1349
|
'&:hover': {
|
|
1117
1350
|
".Tabs__noticeCounter": {
|
|
1118
1351
|
backgroundColor: string;
|
|
@@ -1162,6 +1395,9 @@ export declare const defaultTheme: {
|
|
|
1162
1395
|
backgroundColor: string;
|
|
1163
1396
|
};
|
|
1164
1397
|
};
|
|
1398
|
+
tabButton: {
|
|
1399
|
+
width: string;
|
|
1400
|
+
};
|
|
1165
1401
|
};
|
|
1166
1402
|
stepper: {
|
|
1167
1403
|
default: {
|
|
@@ -1271,6 +1507,38 @@ export declare const defaultTheme: {
|
|
|
1271
1507
|
error: {};
|
|
1272
1508
|
success: {};
|
|
1273
1509
|
};
|
|
1510
|
+
icons: {
|
|
1511
|
+
active: {
|
|
1512
|
+
width?: number | undefined;
|
|
1513
|
+
height?: number | undefined;
|
|
1514
|
+
name: string;
|
|
1515
|
+
fill: string;
|
|
1516
|
+
};
|
|
1517
|
+
inactive: {
|
|
1518
|
+
width?: number | undefined;
|
|
1519
|
+
height?: number | undefined;
|
|
1520
|
+
name: string;
|
|
1521
|
+
fill: string;
|
|
1522
|
+
};
|
|
1523
|
+
complete: {
|
|
1524
|
+
width?: number | undefined;
|
|
1525
|
+
height?: number | undefined;
|
|
1526
|
+
name: string;
|
|
1527
|
+
fill: string;
|
|
1528
|
+
};
|
|
1529
|
+
error: {
|
|
1530
|
+
width?: number | undefined;
|
|
1531
|
+
height?: number | undefined;
|
|
1532
|
+
name: string;
|
|
1533
|
+
fill: string;
|
|
1534
|
+
};
|
|
1535
|
+
errorActive: {
|
|
1536
|
+
width?: number | undefined;
|
|
1537
|
+
height?: number | undefined;
|
|
1538
|
+
name: string;
|
|
1539
|
+
fill: string;
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1274
1542
|
};
|
|
1275
1543
|
colors: {
|
|
1276
1544
|
transparent: string;
|
|
@@ -1422,4 +1690,187 @@ export declare const defaultTheme: {
|
|
|
1422
1690
|
error: string;
|
|
1423
1691
|
};
|
|
1424
1692
|
};
|
|
1693
|
+
price: {
|
|
1694
|
+
default: {
|
|
1695
|
+
display: string;
|
|
1696
|
+
alignItems: string;
|
|
1697
|
+
gap: string;
|
|
1698
|
+
};
|
|
1699
|
+
currentPrice: {
|
|
1700
|
+
fontSize: string;
|
|
1701
|
+
fontWeight: number;
|
|
1702
|
+
lineHeight: string;
|
|
1703
|
+
color: string;
|
|
1704
|
+
};
|
|
1705
|
+
oldPrice: {
|
|
1706
|
+
fontSize: string;
|
|
1707
|
+
fontWeight: number;
|
|
1708
|
+
lineHeight: string;
|
|
1709
|
+
color: string;
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1712
|
+
header: {
|
|
1713
|
+
container: {
|
|
1714
|
+
fontFamily: string;
|
|
1715
|
+
alignItems: string;
|
|
1716
|
+
backgroundColor: string;
|
|
1717
|
+
maxWidth: string;
|
|
1718
|
+
};
|
|
1719
|
+
topBannerRow: {
|
|
1720
|
+
width: string;
|
|
1721
|
+
backgroundColor: string;
|
|
1722
|
+
color: string;
|
|
1723
|
+
};
|
|
1724
|
+
searchColumn: {
|
|
1725
|
+
base: {
|
|
1726
|
+
flexDirection: string;
|
|
1727
|
+
justifyContent: string;
|
|
1728
|
+
'& a': {
|
|
1729
|
+
margin: string;
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
navigationRow: {
|
|
1734
|
+
base: {
|
|
1735
|
+
width: string;
|
|
1736
|
+
padding: string;
|
|
1737
|
+
alignItems: string;
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
actionsColumn: {
|
|
1741
|
+
base: {
|
|
1742
|
+
flexDirection: string;
|
|
1743
|
+
'& button': {
|
|
1744
|
+
margin: string;
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
menuRow: {
|
|
1749
|
+
base: {
|
|
1750
|
+
width: string;
|
|
1751
|
+
justifyContent: string;
|
|
1752
|
+
};
|
|
1753
|
+
column: {
|
|
1754
|
+
flexDirection: string;
|
|
1755
|
+
'& a': {
|
|
1756
|
+
margin: string;
|
|
1757
|
+
};
|
|
1758
|
+
};
|
|
1759
|
+
};
|
|
1760
|
+
children: {
|
|
1761
|
+
base: {
|
|
1762
|
+
margin: string;
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
mobile: {
|
|
1766
|
+
openedDropdownWrapper: {
|
|
1767
|
+
position: string;
|
|
1768
|
+
top: string;
|
|
1769
|
+
left: string;
|
|
1770
|
+
zIndex: number;
|
|
1771
|
+
background: string;
|
|
1772
|
+
width: string;
|
|
1773
|
+
height: string;
|
|
1774
|
+
padding: string;
|
|
1775
|
+
overflowY: string;
|
|
1776
|
+
};
|
|
1777
|
+
closeMenuIconWrapper: {
|
|
1778
|
+
width: string;
|
|
1779
|
+
height: string;
|
|
1780
|
+
display: string;
|
|
1781
|
+
justifyContent: string;
|
|
1782
|
+
alignItems: string;
|
|
1783
|
+
};
|
|
1784
|
+
openMenuIconWrapper: {
|
|
1785
|
+
width: string;
|
|
1786
|
+
height: string;
|
|
1787
|
+
display: string;
|
|
1788
|
+
justifyContent: string;
|
|
1789
|
+
alignItems: string;
|
|
1790
|
+
};
|
|
1791
|
+
menuWrapper: {
|
|
1792
|
+
margin: string;
|
|
1793
|
+
borderTop: string;
|
|
1794
|
+
};
|
|
1795
|
+
menuItemWrapper: {
|
|
1796
|
+
padding: string;
|
|
1797
|
+
borderBottom: string;
|
|
1798
|
+
cursor: string;
|
|
1799
|
+
};
|
|
1800
|
+
};
|
|
1801
|
+
icons: {
|
|
1802
|
+
close: {
|
|
1803
|
+
name: string;
|
|
1804
|
+
width: number;
|
|
1805
|
+
height: number;
|
|
1806
|
+
};
|
|
1807
|
+
right: {
|
|
1808
|
+
name: string;
|
|
1809
|
+
width: number;
|
|
1810
|
+
height: number;
|
|
1811
|
+
};
|
|
1812
|
+
menu: {
|
|
1813
|
+
name: string;
|
|
1814
|
+
width: number;
|
|
1815
|
+
height: number;
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
rating: {
|
|
1820
|
+
default: {
|
|
1821
|
+
display: string;
|
|
1822
|
+
gap: number;
|
|
1823
|
+
position: string;
|
|
1824
|
+
overflow: string;
|
|
1825
|
+
};
|
|
1826
|
+
progress: {
|
|
1827
|
+
position: string;
|
|
1828
|
+
display: string;
|
|
1829
|
+
overflow: string;
|
|
1830
|
+
left: number;
|
|
1831
|
+
svg: {
|
|
1832
|
+
flexShrink: number;
|
|
1833
|
+
flexGrow: number;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
radioInput: {
|
|
1837
|
+
display: string;
|
|
1838
|
+
};
|
|
1839
|
+
label: {
|
|
1840
|
+
default: {
|
|
1841
|
+
cursor: string;
|
|
1842
|
+
};
|
|
1843
|
+
active: {
|
|
1844
|
+
'&:hover': {
|
|
1845
|
+
transform: string;
|
|
1846
|
+
transition: string;
|
|
1847
|
+
};
|
|
1848
|
+
};
|
|
1849
|
+
readOnly: {
|
|
1850
|
+
cursor: string;
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
size: {
|
|
1854
|
+
sm: {
|
|
1855
|
+
width: number;
|
|
1856
|
+
height: number;
|
|
1857
|
+
};
|
|
1858
|
+
md: {
|
|
1859
|
+
width: number;
|
|
1860
|
+
height: number;
|
|
1861
|
+
};
|
|
1862
|
+
lg: {
|
|
1863
|
+
width: number;
|
|
1864
|
+
height: number;
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
icons: {
|
|
1868
|
+
rateActive: {
|
|
1869
|
+
name: string;
|
|
1870
|
+
};
|
|
1871
|
+
rateInactive: {
|
|
1872
|
+
name: string;
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1425
1876
|
};
|