@zohodesk/components 1.0.0-temp-190.2 → 1.0.0-temp-191
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/.cli/PropLessFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +12 -5
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +2 -29
- package/assets/Appearance/light/mode/Component_LightMode.module.css +2 -29
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +2 -29
- package/es/AppContainer/AppContainer.js +10 -9
- package/es/AppContainer/AppContainer.module.css +2 -2
- package/es/Avatar/Avatar.js +4 -5
- package/es/Avatar/Avatar.module.css +22 -52
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +74 -66
- package/es/Button/Button.js +5 -6
- package/es/Button/css/Button.module.css +100 -162
- package/es/Buttongroup/Buttongroup.module.css +17 -52
- package/es/CheckBox/CheckBox.js +18 -8
- package/es/CheckBox/CheckBox.module.css +60 -37
- package/es/CheckBox/props/propTypes.js +1 -0
- package/es/DateTime/DateTime.module.css +57 -86
- package/es/DateTime/DateWidget.module.css +7 -11
- package/es/DateTime/YearView.module.css +21 -34
- package/es/DropBox/DropBox.js +10 -11
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +79 -105
- package/es/DropBox/css/DropBox.module.css +6 -24
- package/es/DropDown/DropDown.js +2 -1
- package/es/DropDown/DropDown.module.css +2 -2
- package/es/DropDown/DropDownHeading.module.css +13 -19
- package/es/DropDown/DropDownItem.module.css +22 -43
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/DropDown/DropDownSeparator.module.css +2 -2
- package/es/Heading/Heading.module.css +2 -2
- package/es/Label/Label.module.css +23 -12
- package/es/Label/LabelColors.module.css +7 -1
- package/es/Layout/Layout.module.css +15 -15
- package/es/ListItem/ListContainer.js +6 -5
- package/es/ListItem/ListItem.js +4 -5
- package/es/ListItem/ListItem.module.css +87 -90
- package/es/ListItem/ListItemWithAvatar.js +4 -5
- package/es/ListItem/ListItemWithCheckBox.js +4 -5
- package/es/ListItem/ListItemWithIcon.js +4 -5
- package/es/ListItem/ListItemWithRadio.js +4 -5
- package/es/Modal/Modal.js +4 -5
- package/es/MultiSelect/AdvancedMultiSelect.js +8 -9
- package/es/MultiSelect/MobileHeader/MobileHeader.module.css +19 -16
- package/es/MultiSelect/MultiSelect.module.css +69 -55
- package/es/MultiSelect/MultiSelectWithAvatar.js +4 -5
- package/es/MultiSelect/SelectedOptions.js +6 -8
- package/es/MultiSelect/SelectedOptions.module.css +5 -11
- package/es/MultiSelect/Suggestions.js +6 -8
- package/es/PopOver/PopOver.module.css +4 -4
- package/es/Popup/Popup.js +3 -4
- package/es/Radio/Radio.js +25 -6
- package/es/Radio/Radio.module.css +40 -23
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
- package/es/Radio/props/defaultProps.js +1 -0
- package/es/Radio/props/propTypes.js +7 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +2 -4
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
- package/es/Ribbon/Ribbon.module.css +64 -147
- package/es/RippleEffect/RippleEffect.module.css +27 -9
- package/es/Select/Select.js +4 -5
- package/es/Select/Select.module.css +22 -33
- package/es/Stencils/Stencils.module.css +14 -32
- package/es/Switch/Switch.js +8 -8
- package/es/Switch/Switch.module.css +35 -32
- package/es/Tab/Tab.js +4 -5
- package/es/Tab/Tab.module.css +39 -28
- package/es/Tab/TabContentWrapper.js +4 -5
- package/es/Tab/TabWrapper.js +2 -4
- package/es/Tab/Tabs.js +16 -16
- package/es/Tab/Tabs.module.css +29 -51
- package/es/Tag/Tag.module.css +91 -66
- package/es/TextBox/TextBox.js +5 -5
- package/es/TextBox/TextBox.module.css +20 -36
- package/es/TextBoxIcon/TextBoxIcon.js +2 -4
- package/es/TextBoxIcon/TextBoxIcon.module.css +6 -18
- package/es/Textarea/Textarea.js +4 -6
- package/es/Textarea/Textarea.module.css +60 -36
- package/es/Tooltip/Tooltip.module.css +13 -12
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -5
- package/es/common/animation.module.css +29 -227
- package/es/common/avatarsizes.module.css +16 -16
- package/es/common/basicReset.module.css +15 -5
- package/es/common/common.module.css +36 -82
- package/es/common/customscroll.module.css +32 -29
- package/es/common/transition.module.css +10 -50
- package/es/deprecated/PortalLayer/PortalLayer.js +8 -6
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/es/v1/Animation/Animation.js +1 -1
- package/es/v1/AppContainer/AppContainer.js +10 -9
- package/es/v1/Avatar/Avatar.js +4 -5
- package/es/v1/AvatarTeam/AvatarTeam.js +7 -7
- package/es/v1/Button/Button.js +5 -6
- package/es/v1/Card/Card.js +1 -1
- package/es/v1/CheckBox/CheckBox.js +15 -9
- package/es/v1/CheckBox/props/propTypes.js +1 -0
- package/es/v1/DropBox/DropBox.js +10 -11
- package/es/v1/DropBox/utils/isMobilePopover.js +1 -1
- package/es/v1/DropDown/DropDown.js +2 -1
- package/es/v1/ListItem/ListContainer.js +7 -6
- package/es/v1/ListItem/ListItem.js +4 -5
- package/es/v1/ListItem/ListItemWithAvatar.js +4 -5
- package/es/v1/ListItem/ListItemWithCheckBox.js +4 -5
- package/es/v1/ListItem/ListItemWithIcon.js +4 -5
- package/es/v1/ListItem/ListItemWithRadio.js +4 -5
- package/es/v1/Modal/Modal.js +4 -5
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +9 -10
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +5 -6
- package/es/v1/MultiSelect/SelectedOptions.js +6 -8
- package/es/v1/MultiSelect/Suggestions.js +6 -8
- package/es/v1/MultiSelect/props/defaultProps.js +1 -1
- package/es/v1/Popup/Popup.js +3 -4
- package/es/v1/Radio/Radio.js +21 -6
- package/es/v1/Radio/props/defaultProps.js +1 -0
- package/es/v1/Radio/props/propTypes.js +7 -0
- package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +3 -5
- package/es/v1/Select/GroupSelect.js +1 -1
- package/es/v1/Select/Select.js +5 -6
- package/es/v1/Select/SelectWithAvatar.js +5 -7
- package/es/v1/Select/SelectWithIcon.js +1 -1
- package/es/v1/Select/props/defaultProps.js +1 -1
- package/es/v1/Select/props/propTypes.js +1 -3
- package/es/v1/Switch/Switch.js +8 -8
- package/es/v1/Tab/Tab.js +4 -5
- package/es/v1/Tab/TabContentWrapper.js +4 -5
- package/es/v1/Tab/TabWrapper.js +2 -4
- package/es/v1/Tab/Tabs.js +18 -18
- package/es/v1/Tab/v1Tab.module.css +39 -28
- package/es/v1/Tab/v1Tabs.module.css +29 -51
- package/es/v1/TextBox/TextBox.js +5 -5
- package/es/v1/TextBoxIcon/TextBoxIcon.js +2 -4
- package/es/v1/Textarea/Textarea.js +4 -6
- package/es/v1/Tooltip/Tooltip.js +1 -1
- package/es/v1/Typography/css/Typography.module.css +33 -39
- package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -5
- package/lib/AppContainer/AppContainer.module.css +2 -2
- package/lib/Avatar/Avatar.module.css +22 -52
- package/lib/AvatarTeam/AvatarTeam.module.css +74 -66
- package/lib/Button/css/Button.module.css +100 -162
- package/lib/Buttongroup/Buttongroup.module.css +17 -52
- package/lib/CheckBox/CheckBox.js +34 -24
- package/lib/CheckBox/CheckBox.module.css +60 -37
- package/lib/CheckBox/props/propTypes.js +1 -0
- package/lib/DateTime/DateTime.module.css +57 -86
- package/lib/DateTime/DateWidget.module.css +7 -11
- package/lib/DateTime/YearView.module.css +21 -34
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +79 -105
- package/lib/DropBox/css/DropBox.module.css +6 -24
- package/lib/DropDown/DropDown.module.css +2 -2
- package/lib/DropDown/DropDownHeading.module.css +13 -19
- package/lib/DropDown/DropDownItem.module.css +22 -43
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/DropDown/DropDownSeparator.module.css +2 -2
- package/lib/Heading/Heading.module.css +2 -2
- package/lib/Label/Label.module.css +23 -12
- package/lib/Label/LabelColors.module.css +7 -1
- package/lib/Layout/Layout.module.css +15 -15
- package/lib/ListItem/ListItem.module.css +87 -90
- package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +19 -16
- package/lib/MultiSelect/MultiSelect.module.css +69 -55
- package/lib/MultiSelect/SelectedOptions.module.css +5 -11
- package/lib/PopOver/PopOver.module.css +4 -4
- package/lib/Radio/Radio.js +45 -26
- package/lib/Radio/Radio.module.css +40 -23
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
- package/lib/Radio/props/defaultProps.js +1 -0
- package/lib/Radio/props/propTypes.js +7 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
- package/lib/Ribbon/Ribbon.module.css +64 -147
- package/lib/RippleEffect/RippleEffect.module.css +27 -9
- package/lib/Select/Select.module.css +22 -33
- package/lib/Stencils/Stencils.module.css +14 -32
- package/lib/Switch/Switch.module.css +35 -32
- package/lib/Tab/Tab.module.css +39 -28
- package/lib/Tab/Tabs.module.css +29 -51
- package/lib/Tag/Tag.module.css +91 -66
- package/lib/TextBox/TextBox.module.css +20 -36
- package/lib/TextBoxIcon/TextBoxIcon.module.css +6 -18
- package/lib/Textarea/Textarea.module.css +60 -36
- package/lib/Tooltip/Tooltip.module.css +13 -12
- package/lib/common/animation.module.css +29 -227
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/common/basicReset.module.css +15 -5
- package/lib/common/common.module.css +36 -82
- package/lib/common/customscroll.module.css +32 -29
- package/lib/common/transition.module.css +10 -50
- package/lib/semantic/Button/semanticButton.module.css +3 -3
- package/lib/v1/Animation/Animation.js +1 -1
- package/lib/v1/Card/Card.js +1 -1
- package/lib/v1/CheckBox/CheckBox.js +7 -1
- package/lib/v1/CheckBox/props/propTypes.js +1 -0
- package/lib/v1/DropBox/utils/isMobilePopover.js +1 -1
- package/lib/v1/ListItem/ListContainer.js +1 -1
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -1
- package/lib/v1/MultiSelect/props/defaultProps.js +1 -1
- package/lib/v1/Radio/Radio.js +22 -7
- package/lib/v1/Radio/props/defaultProps.js +1 -0
- package/lib/v1/Radio/props/propTypes.js +7 -0
- package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/lib/v1/Select/GroupSelect.js +1 -1
- package/lib/v1/Select/Select.js +1 -1
- package/lib/v1/Select/SelectWithAvatar.js +4 -6
- package/lib/v1/Select/SelectWithIcon.js +1 -1
- package/lib/v1/Select/props/defaultProps.js +1 -1
- package/lib/v1/Select/props/propTypes.js +1 -3
- package/lib/v1/Tab/Tabs.js +2 -2
- package/lib/v1/Tab/v1Tab.module.css +39 -28
- package/lib/v1/Tab/v1Tabs.module.css +29 -51
- package/lib/v1/Tooltip/Tooltip.js +1 -1
- package/lib/v1/Typography/css/Typography.module.css +33 -39
- package/package.json +10 -10
- package/es/v1/Provider/AvatarSize.js +0 -13
- package/es/v1/Provider/Config.js +0 -18
- package/es/v1/Provider/CssProvider.js +0 -16
- package/es/v1/Provider/IdProvider.js +0 -66
- package/es/v1/Provider/LibraryContext.js +0 -37
- package/es/v1/Provider/LibraryContextInit.js +0 -3
- package/es/v1/Provider/NumberGenerator/NumberGenerator.js +0 -136
- package/es/v1/Provider/ZindexProvider.js +0 -57
- package/es/v1/Provider/index.js +0 -4
- package/es/v1/Responsive/CustomResponsive.js +0 -195
- package/es/v1/Responsive/RefWrapper.js +0 -39
- package/es/v1/Responsive/ResizeComponent.js +0 -197
- package/es/v1/Responsive/ResizeObserver.js +0 -140
- package/es/v1/Responsive/Responsive.js +0 -194
- package/es/v1/Responsive/index.js +0 -9
- package/es/v1/Responsive/props/defaultProps.js +0 -13
- package/es/v1/Responsive/props/propTypes.js +0 -25
- package/lib/v1/Provider/AvatarSize.js +0 -24
- package/lib/v1/Provider/Config.js +0 -27
- package/lib/v1/Provider/CssProvider.js +0 -27
- package/lib/v1/Provider/IdProvider.js +0 -79
- package/lib/v1/Provider/LibraryContext.js +0 -76
- package/lib/v1/Provider/LibraryContextInit.js +0 -15
- package/lib/v1/Provider/NumberGenerator/NumberGenerator.js +0 -174
- package/lib/v1/Provider/ZindexProvider.js +0 -69
- package/lib/v1/Provider/index.js +0 -81
- package/lib/v1/Responsive/CustomResponsive.js +0 -242
- package/lib/v1/Responsive/RefWrapper.js +0 -57
- package/lib/v1/Responsive/ResizeComponent.js +0 -268
- package/lib/v1/Responsive/ResizeObserver.js +0 -168
- package/lib/v1/Responsive/Responsive.js +0 -274
- package/lib/v1/Responsive/index.js +0 -55
- package/lib/v1/Responsive/props/defaultProps.js +0 -23
- package/lib/v1/Responsive/props/propTypes.js +0 -39
- package/result.json +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*Avatar common Sizes*/
|
|
2
2
|
.varClass {
|
|
3
3
|
/* avatar size default variables */
|
|
4
|
-
--avatar_width:
|
|
5
|
-
--avatar_height:
|
|
4
|
+
--avatar_width: 34px;
|
|
5
|
+
--avatar_height: 34px;
|
|
6
6
|
}
|
|
7
7
|
.small,
|
|
8
8
|
.xsmall,
|
|
@@ -16,34 +16,34 @@
|
|
|
16
16
|
height: var(--avatar_height);
|
|
17
17
|
}
|
|
18
18
|
.small {
|
|
19
|
-
--avatar_height:
|
|
20
|
-
--avatar_width:
|
|
19
|
+
--avatar_height: 22px;
|
|
20
|
+
--avatar_width: 22px;
|
|
21
21
|
}
|
|
22
22
|
.xxsmall {
|
|
23
|
-
--avatar_height:
|
|
24
|
-
--avatar_width:
|
|
23
|
+
--avatar_height: 18px;
|
|
24
|
+
--avatar_width: 18px;
|
|
25
25
|
}
|
|
26
26
|
.xsmall {
|
|
27
|
-
--avatar_height:
|
|
28
|
-
--avatar_width:
|
|
27
|
+
--avatar_height: 30px;
|
|
28
|
+
--avatar_width: 30px;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.medium {
|
|
32
|
-
--avatar_height:
|
|
33
|
-
--avatar_width:
|
|
32
|
+
--avatar_height: 34px;
|
|
33
|
+
--avatar_width: 34px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.xmedium {
|
|
37
|
-
--avatar_height:
|
|
38
|
-
--avatar_width:
|
|
37
|
+
--avatar_height: 40px;
|
|
38
|
+
--avatar_width: 40px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.large {
|
|
42
|
-
--avatar_height:
|
|
43
|
-
--avatar_width:
|
|
42
|
+
--avatar_height: 60px;
|
|
43
|
+
--avatar_width: 60px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.xlarge {
|
|
47
|
-
--avatar_height:
|
|
48
|
-
--avatar_width:
|
|
47
|
+
--avatar_height: 80px;
|
|
48
|
+
--avatar_width: 80px;
|
|
49
49
|
}
|
|
@@ -3,11 +3,17 @@ a {
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
button {
|
|
6
|
-
padding: 0
|
|
6
|
+
padding: 0;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
p,
|
|
10
|
-
|
|
9
|
+
p,
|
|
10
|
+
h1,
|
|
11
|
+
h2,
|
|
12
|
+
h3,
|
|
13
|
+
h4,
|
|
14
|
+
h5,
|
|
15
|
+
h6 {
|
|
16
|
+
margin: 0;
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
iframe {
|
|
@@ -16,7 +22,7 @@ iframe {
|
|
|
16
22
|
|
|
17
23
|
body {
|
|
18
24
|
text-rendering: optimizeSpeed;
|
|
19
|
-
margin: 0
|
|
25
|
+
margin: 0;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
body,
|
|
@@ -30,7 +36,11 @@ textarea {
|
|
|
30
36
|
font-family: var(--zd_regular);
|
|
31
37
|
}
|
|
32
38
|
|
|
33
|
-
label,
|
|
39
|
+
label,
|
|
40
|
+
input[type='button'],
|
|
41
|
+
input[type='submit'],
|
|
42
|
+
input[type='file'],
|
|
43
|
+
button {
|
|
34
44
|
cursor: pointer;
|
|
35
45
|
}
|
|
36
46
|
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
|
|
52
52
|
.cboth::after {
|
|
53
53
|
content: '.';
|
|
54
|
+
clear: both;
|
|
54
55
|
display: block;
|
|
55
|
-
font-size: 0
|
|
56
|
-
height: 0
|
|
56
|
+
font-size: 0;
|
|
57
|
+
height: 0;
|
|
57
58
|
line-height: 0;
|
|
58
59
|
visibility: hidden;
|
|
59
|
-
clear: both;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.blockEvent {
|
|
@@ -81,47 +81,34 @@
|
|
|
81
81
|
.disabled::after,
|
|
82
82
|
.readonly::after {
|
|
83
83
|
position: absolute;
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
left: 0;
|
|
85
|
+
top: 0;
|
|
86
|
+
right: 0;
|
|
87
|
+
bottom: 0;
|
|
86
88
|
z-index: 2;
|
|
87
89
|
content: '';
|
|
88
90
|
user-select: none;
|
|
89
91
|
}
|
|
90
92
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
right: 0 ;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
[dir=rtl] .disable::after, [dir=rtl] .disabled::after, [dir=rtl] .readonly::after {
|
|
97
|
-
right: 0 ;
|
|
98
|
-
left: 0 ;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.disabled, .readonly {
|
|
93
|
+
.disabled,
|
|
94
|
+
.readonly {
|
|
102
95
|
cursor: not-allowed;
|
|
103
96
|
}
|
|
104
97
|
|
|
105
|
-
.disabled::after,
|
|
98
|
+
.disabled::after,
|
|
99
|
+
.readonly::after {
|
|
106
100
|
cursor: not-allowed;
|
|
107
101
|
}
|
|
108
102
|
|
|
109
103
|
/* --Float Props-- */
|
|
110
|
-
|
|
104
|
+
.fleft {
|
|
111
105
|
float: left;
|
|
112
106
|
}
|
|
113
|
-
[dir=rtl] .fleft {
|
|
114
|
-
float: right;
|
|
115
|
-
}
|
|
116
107
|
|
|
117
|
-
|
|
108
|
+
.fright {
|
|
118
109
|
float: right;
|
|
119
110
|
}
|
|
120
111
|
|
|
121
|
-
[dir=rtl] .fright {
|
|
122
|
-
float: left;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
112
|
.fnone {
|
|
126
113
|
float: none;
|
|
127
114
|
}
|
|
@@ -201,8 +188,8 @@
|
|
|
201
188
|
-webkit-box-flex: 1;
|
|
202
189
|
-ms-flex-positive: 1;
|
|
203
190
|
flex-grow: 1;
|
|
204
|
-
min-height: 0
|
|
205
|
-
min-width: 0
|
|
191
|
+
min-height: 0;
|
|
192
|
+
min-width: 0;
|
|
206
193
|
}
|
|
207
194
|
|
|
208
195
|
.flexshrink {
|
|
@@ -213,7 +200,7 @@
|
|
|
213
200
|
}
|
|
214
201
|
|
|
215
202
|
.flexbasis {
|
|
216
|
-
flex-basis: 0
|
|
203
|
+
flex-basis: 0%;
|
|
217
204
|
-webkit-flex-basis: 0%;
|
|
218
205
|
-moz-flex-basis: 0%;
|
|
219
206
|
-ms-flex-basis: 0%;
|
|
@@ -331,18 +318,18 @@
|
|
|
331
318
|
|
|
332
319
|
/* --Width Props-- */
|
|
333
320
|
.w100 {
|
|
334
|
-
width: 100
|
|
321
|
+
width: 100%;
|
|
335
322
|
}
|
|
336
323
|
|
|
337
324
|
.h100 {
|
|
338
|
-
height: 100
|
|
325
|
+
height: 100%;
|
|
339
326
|
}
|
|
340
327
|
|
|
341
328
|
.rounded {
|
|
329
|
+
border-radius: 50%;
|
|
342
330
|
-moz-border-radius: 50%;
|
|
343
331
|
-webkit-border-radius: 50%;
|
|
344
332
|
-ms-border-radius: 50%;
|
|
345
|
-
border-radius: 50%;
|
|
346
333
|
}
|
|
347
334
|
|
|
348
335
|
.noradius {
|
|
@@ -353,22 +340,14 @@
|
|
|
353
340
|
text-align: center;
|
|
354
341
|
}
|
|
355
342
|
|
|
356
|
-
|
|
343
|
+
.tleft {
|
|
357
344
|
text-align: left;
|
|
358
345
|
}
|
|
359
346
|
|
|
360
|
-
|
|
347
|
+
.tright {
|
|
361
348
|
text-align: right;
|
|
362
349
|
}
|
|
363
350
|
|
|
364
|
-
[dir=ltr] .tright {
|
|
365
|
-
text-align: right;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
[dir=rtl] .tright {
|
|
369
|
-
text-align: left;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
351
|
.textCap {
|
|
373
352
|
text-transform: uppercase;
|
|
374
353
|
}
|
|
@@ -378,49 +357,31 @@
|
|
|
378
357
|
}
|
|
379
358
|
|
|
380
359
|
.t50 {
|
|
381
|
-
top: 50
|
|
360
|
+
top: 50%;
|
|
382
361
|
}
|
|
383
362
|
|
|
384
|
-
|
|
385
|
-
left: 50
|
|
363
|
+
.l50 {
|
|
364
|
+
left: 50%;
|
|
386
365
|
}
|
|
387
366
|
|
|
388
|
-
|
|
389
|
-
right: 50% ;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
[dir=ltr] .middle {
|
|
367
|
+
.middle {
|
|
393
368
|
transform: translate(-50%, -50%) translateZ(0);
|
|
394
369
|
-webkit-transform: translate(-50%, -50%) translateZ(0);
|
|
395
370
|
-moz-transform: translate(-50%, -50%) translateZ(0);
|
|
396
371
|
-ms-transform: translate(-50%, -50%) translateZ(0);
|
|
397
372
|
}
|
|
398
373
|
|
|
399
|
-
[dir=rtl] .middle {
|
|
400
|
-
transform: translate(50%, -50%) translateZ(0);
|
|
401
|
-
-webkit-transform: translate(50%, -50%) translateZ(0);
|
|
402
|
-
-moz-transform: translate(50%, -50%) translateZ(0);
|
|
403
|
-
-ms-transform: translate(50%, -50%) translateZ(0);
|
|
404
|
-
}
|
|
405
|
-
|
|
406
374
|
.middleBoth {
|
|
407
375
|
composes: middle;
|
|
408
|
-
top: 50
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
[dir=ltr] .middleBoth {
|
|
412
|
-
left: 50% ;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
[dir=rtl] .middleBoth {
|
|
416
|
-
right: 50% ;
|
|
376
|
+
top: 50%;
|
|
377
|
+
left: 50%;
|
|
417
378
|
}
|
|
418
379
|
|
|
419
380
|
.middleY {
|
|
381
|
+
transform: translateY(-50%);
|
|
420
382
|
-webkit-transform: translateY(-50%);
|
|
421
383
|
-moz-transform: translateY(-50%);
|
|
422
384
|
-ms-transform: translateY(-50%);
|
|
423
|
-
transform: translateY(-50%);
|
|
424
385
|
}
|
|
425
386
|
|
|
426
387
|
.yMiddle {
|
|
@@ -428,30 +389,23 @@
|
|
|
428
389
|
composes: t50;
|
|
429
390
|
}
|
|
430
391
|
|
|
431
|
-
|
|
392
|
+
.middleX {
|
|
432
393
|
transform: translateX(-50%);
|
|
433
394
|
-webkit-transform: translateX(-50%);
|
|
434
395
|
-moz-transform: translateX(-50%);
|
|
435
396
|
-ms-transform: translateX(-50%);
|
|
436
397
|
}
|
|
437
398
|
|
|
438
|
-
[dir=rtl] .middleX {
|
|
439
|
-
transform: translateX(50%);
|
|
440
|
-
-webkit-transform: translateX(50%);
|
|
441
|
-
-moz-transform: translateX(50%);
|
|
442
|
-
-ms-transform: translateX(50%);
|
|
443
|
-
}
|
|
444
|
-
|
|
445
399
|
.xMiddle {
|
|
446
400
|
composes: middleX;
|
|
447
401
|
composes: l50;
|
|
448
402
|
}
|
|
449
403
|
|
|
450
404
|
.transZ {
|
|
405
|
+
transform: translateZ(0);
|
|
451
406
|
-moz-transform: translateZ(0);
|
|
452
407
|
-webkit-transform: translateZ(0);
|
|
453
408
|
-ms-transform: translateZ(0);
|
|
454
|
-
transform: translateZ(0);
|
|
455
409
|
}
|
|
456
410
|
|
|
457
411
|
.vishidden {
|
|
@@ -466,7 +420,7 @@
|
|
|
466
420
|
content: '';
|
|
467
421
|
vertical-align: middle;
|
|
468
422
|
display: inline-block;
|
|
469
|
-
height: 100
|
|
423
|
+
height: 100%;
|
|
470
424
|
}
|
|
471
425
|
|
|
472
426
|
.wbreak {
|
|
@@ -475,9 +429,9 @@
|
|
|
475
429
|
|
|
476
430
|
.notrans {
|
|
477
431
|
transition: none;
|
|
432
|
+
-webkit-transition: none;
|
|
478
433
|
-moz-transition: none;
|
|
479
434
|
-ms-transition: none;
|
|
480
|
-
-webkit-transition: none;
|
|
481
435
|
}
|
|
482
436
|
|
|
483
437
|
.dotted {
|
|
@@ -515,11 +469,11 @@
|
|
|
515
469
|
}
|
|
516
470
|
|
|
517
471
|
.fitContWidth {
|
|
518
|
-
width: fit-content
|
|
519
|
-
width: -moz-fit-content
|
|
472
|
+
width: fit-content;
|
|
473
|
+
width: -moz-fit-content;
|
|
520
474
|
}
|
|
521
475
|
|
|
522
476
|
.fitContHeight {
|
|
523
|
-
height: fit-content
|
|
524
|
-
height: -moz-fit-content
|
|
477
|
+
height: fit-content;
|
|
478
|
+
height: -moz-fit-content;
|
|
525
479
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--zd-scroll-thump-hoverbg: var(--zdt_customscroll_thump_hover_bg);
|
|
10
10
|
--zd-scroll-border: var(--zdt_customscroll_border);
|
|
11
11
|
}
|
|
12
|
+
|
|
12
13
|
.scroll[data-scroll-palette='dark'],
|
|
13
14
|
.scroll [data-scroll-palette='dark'] {
|
|
14
15
|
--zd-scroll-bg: var(--zdt_customscroll_dark_bg);
|
|
@@ -16,92 +17,94 @@
|
|
|
16
17
|
--zd-scroll-thump-hoverbg: var(--zdt_customscroll_thump_dark_hover_bg);
|
|
17
18
|
--zd-scroll-border: var(--zdt_customscroll_dark_border);
|
|
18
19
|
}
|
|
20
|
+
|
|
19
21
|
.scroll,
|
|
20
22
|
.scroll * {
|
|
23
|
+
/* css:theme-validation:ignore */
|
|
21
24
|
scrollbar-color: var(--zd-scroll-thump) var(--zd-scroll-bg);
|
|
22
25
|
scrollbar-width: thin;
|
|
26
|
+
/* css:theme-validation:ignore */
|
|
23
27
|
-ms-scrollbar-highlight-color: var(--zd-scroll-bg);
|
|
28
|
+
/* css:theme-validation:ignore */
|
|
24
29
|
-ms-scrollbar-face-color: var(--zd-scroll-thump);
|
|
25
30
|
}
|
|
31
|
+
|
|
26
32
|
.scroll::-webkit-scrollbar,
|
|
27
33
|
.scroll ::-webkit-scrollbar {
|
|
28
34
|
/* css:theme-validation:ignore */
|
|
29
|
-
}
|
|
30
|
-
.scroll::-webkit-scrollbar, .scroll ::-webkit-scrollbar {
|
|
31
35
|
background: var(--zd-scroll-corner-bg);
|
|
32
36
|
}
|
|
37
|
+
|
|
33
38
|
.scroll::-webkit-scrollbar:hover,
|
|
34
39
|
.scroll ::-webkit-scrollbar:hover {
|
|
35
40
|
/* css:theme-validation:ignore */
|
|
36
|
-
}
|
|
37
|
-
.scroll::-webkit-scrollbar:hover, .scroll ::-webkit-scrollbar:hover {
|
|
38
41
|
background: var(--zd-scroll-bg);
|
|
39
42
|
}
|
|
43
|
+
|
|
40
44
|
.scroll::-webkit-scrollbar:horizontal,
|
|
41
45
|
.scroll ::-webkit-scrollbar:horizontal {
|
|
42
46
|
height: var(--zd-scroll-height);
|
|
43
47
|
}
|
|
48
|
+
|
|
44
49
|
.scroll::-webkit-scrollbar:vertical,
|
|
45
50
|
.scroll ::-webkit-scrollbar:vertical {
|
|
46
51
|
width: var(--zd-scroll-width);
|
|
47
52
|
}
|
|
53
|
+
|
|
48
54
|
.scroll::-webkit-scrollbar-button,
|
|
49
55
|
.scroll ::-webkit-scrollbar-button {
|
|
50
56
|
display: none;
|
|
51
|
-
width: 0
|
|
52
|
-
height: 0
|
|
57
|
+
width: 0;
|
|
58
|
+
height: 0;
|
|
53
59
|
}
|
|
54
|
-
|
|
60
|
+
|
|
61
|
+
.scroll::-webkit-scrollbar-track:vertical,
|
|
62
|
+
.scroll ::-webkit-scrollbar-track:vertical {
|
|
55
63
|
border-left: 1px solid transparent;
|
|
56
64
|
border-right: 1px solid transparent;
|
|
57
65
|
}
|
|
58
|
-
|
|
59
|
-
border-right: 1px solid transparent;
|
|
60
|
-
border-left: 1px solid transparent;
|
|
61
|
-
}
|
|
66
|
+
|
|
62
67
|
.scroll::-webkit-scrollbar-track:vertical:hover,
|
|
63
68
|
.scroll ::-webkit-scrollbar-track:vertical:hover {
|
|
64
69
|
/* css:theme-validation:ignore */
|
|
65
|
-
}
|
|
66
|
-
.scroll::-webkit-scrollbar-track:vertical:hover, .scroll ::-webkit-scrollbar-track:vertical:hover {
|
|
67
70
|
border-color: var(--zd-scroll-border);
|
|
68
71
|
}
|
|
69
|
-
|
|
72
|
+
|
|
73
|
+
.scroll::-webkit-scrollbar-track:horizontal,
|
|
74
|
+
.scroll ::-webkit-scrollbar-track:horizontal {
|
|
70
75
|
border-top: 1px solid transparent;
|
|
71
76
|
border-bottom: 1px solid transparent;
|
|
72
77
|
}
|
|
78
|
+
|
|
73
79
|
.scroll::-webkit-scrollbar-track:horizontal:hover,
|
|
74
80
|
.scroll ::-webkit-scrollbar-track:horizontal:hover {
|
|
75
81
|
/* css:theme-validation:ignore */
|
|
76
|
-
}
|
|
77
|
-
.scroll::-webkit-scrollbar-track:horizontal:hover, .scroll ::-webkit-scrollbar-track:horizontal:hover {
|
|
78
82
|
border-color: var(--zd-scroll-border);
|
|
79
83
|
}
|
|
80
|
-
|
|
84
|
+
|
|
85
|
+
.scroll::-webkit-scrollbar-track-piece,
|
|
86
|
+
.scroll ::-webkit-scrollbar-track-piece {
|
|
81
87
|
background: inherit;
|
|
82
88
|
}
|
|
89
|
+
|
|
83
90
|
.scroll::-webkit-scrollbar-thumb,
|
|
84
91
|
.scroll ::-webkit-scrollbar-thumb {
|
|
85
|
-
/* css:theme-validation:ignore */
|
|
86
|
-
/* css:theme-validation:ignore */
|
|
87
|
-
/* display: none; */
|
|
88
|
-
}
|
|
89
|
-
.scroll::-webkit-scrollbar-thumb, .scroll ::-webkit-scrollbar-thumb {
|
|
90
92
|
border-radius: 10px;
|
|
93
|
+
/* css:theme-validation:ignore */
|
|
91
94
|
background: var(--zd-scroll-thump);
|
|
92
95
|
background-clip: padding-box;
|
|
93
96
|
border: 3px solid transparent;
|
|
97
|
+
/* display: none; */
|
|
94
98
|
}
|
|
99
|
+
|
|
95
100
|
.scroll::-webkit-scrollbar-thumb:hover,
|
|
96
101
|
.scroll ::-webkit-scrollbar-thumb:hover {
|
|
97
102
|
/* css:theme-validation:ignore */
|
|
98
|
-
/* css:theme-validation:ignore */
|
|
99
|
-
}
|
|
100
|
-
.scroll::-webkit-scrollbar-thumb:hover, .scroll ::-webkit-scrollbar-thumb:hover {
|
|
101
103
|
background: var(--zd-scroll-thump-hoverbg);
|
|
102
104
|
background-clip: padding-box;
|
|
103
105
|
border: 3px solid transparent;
|
|
104
106
|
}
|
|
107
|
+
|
|
105
108
|
/* .scroll:hover > ::-webkit-scrollbar-thumb,
|
|
106
109
|
.scroll *:hover > ::-webkit-scrollbar-thumb {
|
|
107
110
|
display: block;
|
|
@@ -109,10 +112,10 @@
|
|
|
109
112
|
.scroll::-webkit-scrollbar-corner,
|
|
110
113
|
.scroll ::-webkit-scrollbar-corner {
|
|
111
114
|
/* css:theme-validation:ignore */
|
|
112
|
-
}
|
|
113
|
-
.scroll::-webkit-scrollbar-corner, .scroll ::-webkit-scrollbar-corner {
|
|
114
115
|
background: var(--zd-scroll-corner-bg);
|
|
115
116
|
}
|
|
116
|
-
|
|
117
|
+
|
|
118
|
+
.scroll::-webkit-resizer,
|
|
119
|
+
.scroll ::-webkit-resizer {
|
|
117
120
|
background: inherit;
|
|
118
|
-
}
|
|
121
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.zoomInEnter,
|
|
2
2
|
.zoomInLeave.zoomInLeaveActive {
|
|
3
3
|
opacity: 0;
|
|
4
|
-
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
5
4
|
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
6
5
|
transition-duration: var(--zd_transition3);
|
|
7
6
|
transition-property: all;
|
|
@@ -9,8 +8,6 @@
|
|
|
9
8
|
.zoomInEnter.zoomInEnterActive,
|
|
10
9
|
.zoomInLeave {
|
|
11
10
|
opacity: 1;
|
|
12
|
-
}
|
|
13
|
-
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
14
11
|
transform: perspective(1px) scale(1) translateZ(0);
|
|
15
12
|
transition-duration: var(--zd_transition3);
|
|
16
13
|
transition-property: all;
|
|
@@ -18,20 +15,15 @@
|
|
|
18
15
|
|
|
19
16
|
.scaleInEnter,
|
|
20
17
|
.scaleInLeave.scaleInLeaveActive {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
18
|
transform: scale(0);
|
|
19
|
+
opacity: 0;
|
|
26
20
|
transition-duration: var(--zd_transition3);
|
|
27
21
|
transition-property: all;
|
|
28
22
|
}
|
|
29
23
|
.scaleInEnter.scaleInEnterActive,
|
|
30
24
|
.scaleInLeave {
|
|
31
|
-
opacity: 1;
|
|
32
|
-
}
|
|
33
|
-
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
25
|
transform: scale(1);
|
|
26
|
+
opacity: 1;
|
|
35
27
|
transition-duration: var(--zd_transition3);
|
|
36
28
|
transition-property: all;
|
|
37
29
|
}
|
|
@@ -39,9 +31,6 @@
|
|
|
39
31
|
.fadeInEnter,
|
|
40
32
|
.fadeInLeave.fadeInLeaveActive {
|
|
41
33
|
opacity: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
45
34
|
transition-duration: var(--zd_transition3);
|
|
46
35
|
transition-property: all;
|
|
47
36
|
}
|
|
@@ -49,9 +38,6 @@
|
|
|
49
38
|
.fadeInEnter.fadeInEnterActive,
|
|
50
39
|
.fadeInLeave {
|
|
51
40
|
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
55
41
|
transition-duration: var(--zd_transition3);
|
|
56
42
|
transition-property: all;
|
|
57
43
|
}
|
|
@@ -59,27 +45,14 @@
|
|
|
59
45
|
.slideLeftEnter,
|
|
60
46
|
.slideLeftLeave.slideLeftLeaveActive {
|
|
61
47
|
opacity: 0;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
48
|
+
transform: translateX(110%);
|
|
65
49
|
transition-duration: var(--zd_transition3);
|
|
66
50
|
transition-property: all;
|
|
67
51
|
}
|
|
68
52
|
|
|
69
|
-
[dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
|
|
70
|
-
transform: translateX(110%);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
[dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
|
|
74
|
-
transform: translateX(-110%);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
53
|
.slideLeftEnter.slideLeftEnterActive,
|
|
78
54
|
.slideLeftLeave {
|
|
79
55
|
opacity: 1;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
83
56
|
transform: translateX(0%);
|
|
84
57
|
transition-duration: var(--zd_transition3);
|
|
85
58
|
transition-property: all;
|
|
@@ -88,9 +61,6 @@
|
|
|
88
61
|
.slideDownEnter,
|
|
89
62
|
.slideDownLeave.slideDownLeaveActive {
|
|
90
63
|
opacity: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
94
64
|
transform: translateY(-100%);
|
|
95
65
|
transition-duration: var(--zd_transition3);
|
|
96
66
|
transition-property: all;
|
|
@@ -99,9 +69,6 @@
|
|
|
99
69
|
.slideDownEnter.slideDownEnterActive,
|
|
100
70
|
.slideDownLeave {
|
|
101
71
|
opacity: 1;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
105
72
|
transform: translateY(0%);
|
|
106
73
|
transition-duration: var(--zd_transition3);
|
|
107
74
|
transition-property: all;
|
|
@@ -110,27 +77,14 @@
|
|
|
110
77
|
.skewInEnter,
|
|
111
78
|
.skewInLeave.skewInLeaveActive {
|
|
112
79
|
opacity: 0;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
80
|
+
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
116
81
|
transition-duration: var(--zd_transition3);
|
|
117
82
|
transition-property: all;
|
|
118
83
|
}
|
|
119
84
|
|
|
120
|
-
[dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
|
|
121
|
-
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
[dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
|
|
125
|
-
transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
85
|
.skewInEnter.skewInEnterActive,
|
|
129
86
|
.skewInLeave {
|
|
130
87
|
opacity: 1;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
134
88
|
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
135
89
|
transition-duration: var(--zd_transition3);
|
|
136
90
|
transition-property: all;
|
|
@@ -144,3 +98,9 @@
|
|
|
144
98
|
.defaultLeave {
|
|
145
99
|
display: block;
|
|
146
100
|
}
|
|
101
|
+
|
|
102
|
+
.noneEnter,
|
|
103
|
+
.noneEnter.noneEnterActive,
|
|
104
|
+
.noneLeave,
|
|
105
|
+
.noneLeave.noneLeaveActive {
|
|
106
|
+
}
|
|
@@ -32,7 +32,7 @@ function Animation(props) {
|
|
|
32
32
|
delayClassName = _props$delayClassName === void 0 ? null : _props$delayClassName;
|
|
33
33
|
var newClassNames = delayClassName ? Object.assign({}, _utils.animationStyle[name], {
|
|
34
34
|
exit: "".concat(delayClassName, " ").concat(_utils.animationStyle[name].exit)
|
|
35
|
-
}) :
|
|
35
|
+
}) : _utils.animationStyle[name];
|
|
36
36
|
return /*#__PURE__*/_react["default"].createElement(_reactTransitionGroup.CSSTransition, {
|
|
37
37
|
classNames: newClassNames && newClassNames,
|
|
38
38
|
"in": isActive,
|
package/lib/v1/Card/Card.js
CHANGED
|
@@ -20,7 +20,7 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
20
20
|
|
|
21
21
|
var _Layout = require("../Layout");
|
|
22
22
|
|
|
23
|
-
var _Config = require("
|
|
23
|
+
var _Config = require("../../Provider/Config");
|
|
24
24
|
|
|
25
25
|
var _CardModule = _interopRequireDefault(require("../../Card/Card.module.css"));
|
|
26
26
|
|