@zohodesk/components 1.0.0-alpha-272 → 1.0.0-alpha-274
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 +9 -0
- package/es/Accordion/Accordion.js +1 -0
- package/es/Accordion/AccordionItem.js +1 -0
- package/es/AppContainer/AppContainer.js +15 -6
- package/es/AppContainer/AppContainer.module.css +2 -2
- package/es/AppContainer/props/defaultProps.js +2 -1
- package/es/AppContainer/props/propTypes.js +1 -0
- package/es/Avatar/Avatar.js +3 -0
- package/es/Avatar/Avatar.module.css +18 -18
- package/es/AvatarTeam/AvatarTeam.js +1 -0
- package/es/AvatarTeam/AvatarTeam.module.css +35 -35
- package/es/Button/Button.js +1 -0
- package/es/Button/css/Button.module.css +70 -70
- package/es/Buttongroup/Buttongroup.js +1 -0
- package/es/Buttongroup/Buttongroup.module.css +14 -15
- package/es/CheckBox/CheckBox.module.css +15 -15
- package/es/DateTime/CalendarView.js +1 -0
- package/es/DateTime/DateTime.js +3 -1
- package/es/DateTime/DateTime.module.css +39 -39
- package/es/DateTime/DateWidget.js +2 -0
- package/es/DateTime/DateWidget.module.css +5 -5
- package/es/DateTime/YearView.module.css +15 -15
- package/es/DropBox/DropBoxElement/DropBoxElement.js +3 -0
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +76 -76
- package/es/DropBox/css/DropBox.module.css +6 -6
- package/es/DropDown/DropDown.js +2 -1
- package/es/DropDown/DropDown.module.css +2 -2
- package/es/DropDown/DropDownHeading.js +1 -0
- package/es/DropDown/DropDownHeading.module.css +6 -6
- package/es/DropDown/DropDownItem.js +2 -1
- package/es/DropDown/DropDownItem.module.css +12 -12
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/DropDown/DropDownSeparator.module.css +2 -2
- package/es/Heading/Heading.js +1 -0
- package/es/Heading/Heading.module.css +2 -2
- package/es/Label/Label.js +1 -0
- package/es/Label/Label.module.css +5 -5
- package/es/Layout/Box.js +4 -3
- package/es/Layout/Container.js +4 -3
- package/es/Layout/Layout.module.css +15 -15
- package/es/Layout/props/defaultProps.js +2 -0
- package/es/Layout/props/propTypes.js +2 -0
- package/es/Layout/utils.js +5 -1
- package/es/ListItem/ListItem.module.css +38 -38
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +1 -0
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -0
- package/es/MultiSelect/EmptyState.js +4 -0
- package/es/MultiSelect/MultiSelect.js +1 -0
- package/es/MultiSelect/MultiSelect.module.css +31 -31
- package/es/MultiSelect/MultiSelectWithAvatar.js +1 -0
- package/es/MultiSelect/SelectedOptions.module.css +5 -5
- package/es/Popup/Popup.js +1 -4
- package/es/Radio/Radio.module.css +9 -9
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
- package/es/Ribbon/Ribbon.js +1 -0
- package/es/Ribbon/Ribbon.module.css +46 -48
- package/es/Select/GroupSelect.js +1 -0
- package/es/Select/Select.js +2 -1
- package/es/Select/Select.module.css +23 -23
- package/es/Select/SelectWithAvatar.js +2 -0
- package/es/Select/SelectWithIcon.js +2 -1
- package/es/Stencils/Stencils.module.css +11 -11
- package/es/Switch/Switch.js +1 -0
- package/es/Switch/Switch.module.css +23 -23
- package/es/Tab/Tab.module.css +14 -14
- package/es/Tab/Tabs.js +2 -1
- package/es/Tab/Tabs.module.css +22 -22
- package/es/Tag/Tag.js +1 -0
- package/es/Tag/Tag.module.css +25 -25
- package/es/TextBox/TextBox.js +1 -0
- package/es/TextBox/TextBox.module.css +9 -9
- package/es/TextBoxIcon/TextBoxIcon.module.css +7 -7
- package/es/Textarea/Textarea.js +1 -0
- package/es/Textarea/Textarea.module.css +21 -21
- package/es/Tooltip/Tooltip.js +2 -1
- package/es/Tooltip/Tooltip.module.css +5 -5
- package/es/common/animation.module.css +8 -8
- package/es/common/avatarsizes.module.css +16 -16
- package/es/common/basicReset.module.css +3 -3
- package/es/common/common.module.css +24 -24
- package/es/common/customscroll.module.css +2 -2
- package/es/deprecated/AdvancedMultiSelect.module.css +18 -18
- package/es/semantic/Button/Button.js +1 -0
- package/es/semantic/Button/semanticButton.module.css +1 -1
- package/lib/Accordion/Accordion.js +1 -0
- package/lib/Accordion/AccordionItem.js +1 -0
- package/lib/AppContainer/AppContainer.js +11 -6
- package/lib/AppContainer/AppContainer.module.css +2 -2
- package/lib/AppContainer/props/defaultProps.js +2 -1
- package/lib/AppContainer/props/propTypes.js +1 -0
- package/lib/Avatar/Avatar.js +3 -0
- package/lib/Avatar/Avatar.module.css +18 -18
- package/lib/AvatarTeam/AvatarTeam.js +1 -0
- package/lib/AvatarTeam/AvatarTeam.module.css +35 -35
- package/lib/Button/Button.js +1 -0
- package/lib/Button/css/Button.module.css +70 -70
- package/lib/Buttongroup/Buttongroup.js +1 -0
- package/lib/Buttongroup/Buttongroup.module.css +14 -15
- package/lib/CheckBox/CheckBox.module.css +15 -15
- package/lib/DateTime/CalendarView.js +1 -0
- package/lib/DateTime/DateTime.js +3 -1
- package/lib/DateTime/DateTime.module.css +39 -39
- package/lib/DateTime/DateWidget.js +2 -0
- package/lib/DateTime/DateWidget.module.css +5 -5
- package/lib/DateTime/YearView.module.css +15 -15
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +3 -0
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +76 -76
- package/lib/DropBox/css/DropBox.module.css +6 -6
- package/lib/DropDown/DropDown.js +2 -1
- package/lib/DropDown/DropDown.module.css +2 -2
- package/lib/DropDown/DropDownHeading.js +1 -0
- package/lib/DropDown/DropDownHeading.module.css +6 -6
- package/lib/DropDown/DropDownItem.js +2 -1
- package/lib/DropDown/DropDownItem.module.css +12 -12
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/DropDown/DropDownSeparator.module.css +2 -2
- package/lib/Heading/Heading.js +2 -1
- package/lib/Heading/Heading.module.css +2 -2
- package/lib/Label/Label.js +1 -0
- package/lib/Label/Label.module.css +5 -5
- package/lib/Layout/Box.js +8 -4
- package/lib/Layout/Container.js +8 -4
- package/lib/Layout/Layout.module.css +15 -15
- package/lib/Layout/props/defaultProps.js +2 -0
- package/lib/Layout/props/propTypes.js +2 -0
- package/lib/Layout/utils.js +5 -1
- package/lib/ListItem/ListItem.module.css +38 -38
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1 -0
- package/lib/MultiSelect/AdvancedMultiSelect.js +1 -0
- package/lib/MultiSelect/EmptyState.js +4 -0
- package/lib/MultiSelect/MultiSelect.js +1 -0
- package/lib/MultiSelect/MultiSelect.module.css +31 -31
- package/lib/MultiSelect/MultiSelectWithAvatar.js +1 -0
- package/lib/MultiSelect/SelectedOptions.module.css +5 -5
- package/lib/Popup/Popup.js +1 -4
- package/lib/Radio/Radio.module.css +9 -9
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
- package/lib/Ribbon/Ribbon.js +1 -0
- package/lib/Ribbon/Ribbon.module.css +46 -48
- package/lib/Select/GroupSelect.js +1 -0
- package/lib/Select/Select.js +2 -1
- package/lib/Select/Select.module.css +23 -23
- package/lib/Select/SelectWithAvatar.js +2 -0
- package/lib/Select/SelectWithIcon.js +2 -1
- package/lib/Stencils/Stencils.module.css +11 -11
- package/lib/Switch/Switch.js +1 -0
- package/lib/Switch/Switch.module.css +23 -23
- package/lib/Tab/Tab.module.css +14 -14
- package/lib/Tab/Tabs.js +2 -1
- package/lib/Tab/Tabs.module.css +22 -22
- package/lib/Tag/Tag.js +1 -0
- package/lib/Tag/Tag.module.css +25 -25
- package/lib/TextBox/TextBox.js +1 -0
- package/lib/TextBox/TextBox.module.css +9 -9
- package/lib/TextBoxIcon/TextBoxIcon.module.css +7 -7
- package/lib/Textarea/Textarea.js +1 -0
- package/lib/Textarea/Textarea.module.css +21 -21
- package/lib/Tooltip/Tooltip.js +2 -1
- package/lib/Tooltip/Tooltip.module.css +5 -5
- package/lib/common/animation.module.css +8 -8
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/common/basicReset.module.css +3 -3
- package/lib/common/common.module.css +24 -24
- package/lib/common/customscroll.module.css +2 -2
- package/lib/deprecated/AdvancedMultiSelect.module.css +18 -18
- package/lib/semantic/Button/Button.js +1 -0
- package/lib/semantic/Button/semanticButton.module.css +1 -1
- package/package.json +10 -19
package/README.md
CHANGED
|
@@ -32,6 +32,15 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
32
32
|
- TextBoxIcon
|
|
33
33
|
- Tooltip
|
|
34
34
|
|
|
35
|
+
# 1.0.0-alpha-274
|
|
36
|
+
|
|
37
|
+
- **AppContainer** - needTooltip prop added
|
|
38
|
+
- data-test-id attribute added for all element which having data-id attribute to separate customization and automation
|
|
39
|
+
|
|
40
|
+
# 1.0.0-alpha-273
|
|
41
|
+
|
|
42
|
+
- Variable Replacer Issue Resolved
|
|
43
|
+
|
|
35
44
|
# 1.0.0-alpha-272
|
|
36
45
|
|
|
37
46
|
- **DateTime** - customDateFormat prop supported
|
|
@@ -38,6 +38,7 @@ export default class AccordionItem extends React.Component {
|
|
|
38
38
|
return /*#__PURE__*/React.createElement("div", {
|
|
39
39
|
className: className ? className : '',
|
|
40
40
|
"data-id": dataId,
|
|
41
|
+
"data-test-id": dataId,
|
|
41
42
|
role: role,
|
|
42
43
|
"data-selector-id": dataSelectorId
|
|
43
44
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -65,7 +65,11 @@ export default class AppContainer extends React.Component {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
componentDidMount() {
|
|
68
|
-
|
|
68
|
+
let {
|
|
69
|
+
needTooltip
|
|
70
|
+
} = this.props;
|
|
71
|
+
|
|
72
|
+
if (this.containerElement && needTooltip) {
|
|
69
73
|
this.containerElement.addEventListener('mouseover', this.handleOver, false);
|
|
70
74
|
this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
|
|
71
75
|
this.tooltipRef.observeElement();
|
|
@@ -73,7 +77,11 @@ export default class AppContainer extends React.Component {
|
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
componentWillUnmount() {
|
|
76
|
-
|
|
80
|
+
let {
|
|
81
|
+
needTooltip
|
|
82
|
+
} = this.props;
|
|
83
|
+
|
|
84
|
+
if (this.containerElement && needTooltip) {
|
|
77
85
|
this.containerElement.removeEventListener('mouseover', this.handleOver, false);
|
|
78
86
|
this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
|
|
79
87
|
this.tooltipRef.unObserveElement();
|
|
@@ -89,6 +97,7 @@ export default class AppContainer extends React.Component {
|
|
|
89
97
|
dataSelectorId,
|
|
90
98
|
tooltipClass,
|
|
91
99
|
tooltipParentClass,
|
|
100
|
+
needTooltip,
|
|
92
101
|
customProps
|
|
93
102
|
} = this.props;
|
|
94
103
|
let {
|
|
@@ -97,22 +106,22 @@ export default class AppContainer extends React.Component {
|
|
|
97
106
|
ExtraProps = {}
|
|
98
107
|
} = customProps;
|
|
99
108
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, _extends({
|
|
100
|
-
className: `${style.container} ${className}
|
|
101
|
-
,
|
|
109
|
+
className: `${style.container} ${className}`,
|
|
102
110
|
dataId: dataId,
|
|
103
111
|
dataSelectorId: dataSelectorId,
|
|
104
112
|
tagName: tagName,
|
|
105
113
|
eleRef: this.getContainerRef
|
|
106
114
|
}, ContainerProps, ExtraProps), /*#__PURE__*/React.createElement(Box, {
|
|
107
115
|
flexible: true
|
|
108
|
-
}, children)), /*#__PURE__*/React.createElement("div", _extends({}, ExtraProps, {
|
|
116
|
+
}, children)), needTooltip ? /*#__PURE__*/React.createElement("div", _extends({}, ExtraProps, {
|
|
109
117
|
className: `${style.container} ${style.tooltip} ${tooltipParentClass}`,
|
|
110
118
|
"data-id": `${dataId}_tooltip`,
|
|
119
|
+
"data-test-id": `${dataId}_tooltip`,
|
|
111
120
|
"data-selector-id": `${dataSelectorId}_tooltip`
|
|
112
121
|
}), /*#__PURE__*/React.createElement(Tooltip, _extends({
|
|
113
122
|
ref: this.setTooltipRef,
|
|
114
123
|
customClass: tooltipClass
|
|
115
|
-
}, TooltipProps))));
|
|
124
|
+
}, TooltipProps))) : null);
|
|
116
125
|
}
|
|
117
126
|
|
|
118
127
|
}
|
package/es/Avatar/Avatar.js
CHANGED
|
@@ -160,15 +160,18 @@ export default class Avatar extends React.Component {
|
|
|
160
160
|
className: `${style.avatar} ${style[size]} ${AvatarSize(size)} ${style[shapeStyle]} ${style[palette]} ${textStyle} ${borderStyle} ${customClass ? customClass : ''}`,
|
|
161
161
|
"data-title": needTitle ? title ? title : name : null,
|
|
162
162
|
"data-id": dataId,
|
|
163
|
+
"data-test-id": dataId,
|
|
163
164
|
onClick: onClick,
|
|
164
165
|
"data-selector-id": dataSelectorId
|
|
165
166
|
}, AvatarProps), showInitial && !showAlternateAvatar && /*#__PURE__*/React.createElement("span", {
|
|
166
167
|
className: `${style.initial}`,
|
|
167
168
|
"data-id": `${dataId}_AvatarInitial`,
|
|
169
|
+
"data-test-id": `${dataId}_AvatarInitial`,
|
|
168
170
|
"data-selector-id": `${dataSelectorId}_AvatarInitial`
|
|
169
171
|
}, initial), (showAvatar || showAlternateAvatar) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("img", {
|
|
170
172
|
className: `${style.image} ${isAnimate ? style.animate : ''} ${needInnerBorder ? style.innerBorder : ''}`,
|
|
171
173
|
"data-id": `${dataId}_AvatarImg`,
|
|
174
|
+
"data-test-id": `${dataId}_AvatarImg`,
|
|
172
175
|
"data-selector-id": `${dataSelectorId}_AvatarImg`,
|
|
173
176
|
name: name,
|
|
174
177
|
onError: this.putInvalidImageURLJSON,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* avatar default variables */
|
|
3
3
|
--avatar_text_color: var(--zdt_avatar_default_text);
|
|
4
|
-
--avatar_font_size:
|
|
4
|
+
--avatar_font_size: var(--zd_font_size14);
|
|
5
5
|
--avatar_bg_color: var(--zdt_avatar_default_bg);
|
|
6
6
|
--avatar_border_radius: 50%;
|
|
7
7
|
--avatar_border_width: 0;
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
|
|
38
38
|
.shadow {
|
|
39
39
|
position: absolute;
|
|
40
|
-
height: 100
|
|
41
|
-
width: 100
|
|
42
|
-
top: 0;
|
|
40
|
+
height: 100% ;
|
|
41
|
+
width: 100% ;
|
|
42
|
+
top: 0 ;
|
|
43
43
|
pointer-events: none;
|
|
44
44
|
border-radius: var(--avatar_border_radius);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[dir=ltr] .shadow {
|
|
48
|
-
left: 0;
|
|
48
|
+
left: 0 ;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[dir=rtl] .shadow {
|
|
52
|
-
right: 0;
|
|
52
|
+
right: 0 ;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.shadow.black {
|
|
@@ -69,20 +69,20 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.image {
|
|
72
|
-
width: 100
|
|
73
|
-
height: 100
|
|
72
|
+
width: 100% ;
|
|
73
|
+
height: 100% ;
|
|
74
74
|
position: absolute;
|
|
75
|
-
top: 0;
|
|
75
|
+
top: 0 ;
|
|
76
76
|
z-index: 0;
|
|
77
77
|
border-radius: var(--avatar_border_radius);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
[dir=ltr] .image {
|
|
81
|
-
left: 0;
|
|
81
|
+
left: 0 ;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
[dir=rtl] .image {
|
|
85
|
-
right: 0;
|
|
85
|
+
right: 0 ;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.animate {
|
|
@@ -141,31 +141,31 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.xxsmall {
|
|
144
|
-
--avatar_font_size:
|
|
144
|
+
--avatar_font_size: var(--zd_font_size8);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.small {
|
|
148
|
-
--avatar_font_size:
|
|
148
|
+
--avatar_font_size: var(--zd_font_size9);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.xsmall {
|
|
152
|
-
--avatar_font_size:
|
|
152
|
+
--avatar_font_size: var(--zd_font_size12);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.medium {
|
|
156
|
-
--avatar_font_size:
|
|
156
|
+
--avatar_font_size: var(--zd_font_size14);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.xmedium {
|
|
160
|
-
--avatar_font_size:
|
|
160
|
+
--avatar_font_size: var(--zd_font_size14);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.large {
|
|
164
|
-
--avatar_font_size:
|
|
164
|
+
--avatar_font_size: var(--zd_font_size18);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.xlarge {
|
|
168
|
-
--avatar_font_size:
|
|
168
|
+
--avatar_font_size: var(--zd_font_size28);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.white {
|
|
@@ -50,6 +50,7 @@ export default class AvatarTeam extends React.Component {
|
|
|
50
50
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
51
51
|
className: `${style.container} ${borderOnActive ? style.borderOnActive : border ? style.borderOnHover : ''} `,
|
|
52
52
|
"data-id": dataId,
|
|
53
|
+
"data-test-id": dataId,
|
|
53
54
|
"data-selector-id": dataSelectorId
|
|
54
55
|
}, AvatarTeamProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
55
56
|
name: name,
|
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
--avatarteam_outline_style: solid;
|
|
8
8
|
--avatarteam_outline_color: var(--zdt_avatarteam_innerCircle);
|
|
9
9
|
--avatarteam_bg_color: var(--zdt_avatarteam_default_bg);
|
|
10
|
-
--avatarteam_width:
|
|
11
|
-
--avatarteam_height:
|
|
10
|
+
--avatarteam_width: var(--zd_size5);
|
|
11
|
+
--avatarteam_height: var(--zd_size5);
|
|
12
12
|
--avatarteam_border_radius: 50%;
|
|
13
13
|
--avatarteam_bottom_top: initial;
|
|
14
14
|
--avatarteam_bottom_left: initial;
|
|
15
15
|
--avatarteam_bottom_right: initial;
|
|
16
|
-
--avatarteam_top_top:
|
|
16
|
+
--avatarteam_top_top: var(--zd_size1);
|
|
17
17
|
}
|
|
18
18
|
.container {
|
|
19
19
|
position: relative;
|
|
20
20
|
display: inline-block;
|
|
21
|
-
font-size: 0;
|
|
21
|
+
font-size: 0 ;
|
|
22
22
|
vertical-align: middle;
|
|
23
23
|
}
|
|
24
24
|
.team {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
}
|
|
39
39
|
[dir=ltr] .team {
|
|
40
40
|
transform: translate(-50%, -50%);
|
|
41
|
-
left: 50
|
|
41
|
+
left: 50% ;
|
|
42
42
|
}
|
|
43
43
|
[dir=rtl] .team {
|
|
44
44
|
transform: translate(50%, -50%);
|
|
45
|
-
right: 50
|
|
45
|
+
right: 50% ;
|
|
46
46
|
}
|
|
47
47
|
.nofill {
|
|
48
48
|
--avatarteam_border_color: var(--zdt_avatarteam_nofill_hover_border);
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
.team:before {
|
|
69
69
|
position: absolute;
|
|
70
70
|
content: '';
|
|
71
|
-
height: inherit;
|
|
72
|
-
width: inherit;
|
|
71
|
+
height: inherit ;
|
|
72
|
+
width: inherit ;
|
|
73
73
|
top: var(--avatarteam_bottom_top);
|
|
74
74
|
outline-width: var(--avatarteam_outline_width);
|
|
75
75
|
outline-style: var(--avatarteam_outline_style);
|
|
@@ -92,18 +92,18 @@
|
|
|
92
92
|
.smallteam,
|
|
93
93
|
.xsmallteam,
|
|
94
94
|
.xxsmallteam {
|
|
95
|
-
--avatarteam_height:
|
|
96
|
-
--avatarteam_width:
|
|
95
|
+
--avatarteam_height: var(--zd_size3);
|
|
96
|
+
--avatarteam_width: var(--zd_size3);
|
|
97
97
|
}
|
|
98
98
|
.mediumteam,
|
|
99
99
|
.xmediumteam {
|
|
100
|
-
--avatarteam_height:
|
|
101
|
-
--avatarteam_width:
|
|
100
|
+
--avatarteam_height: var(--zd_size5);
|
|
101
|
+
--avatarteam_width: var(--zd_size5);
|
|
102
102
|
}
|
|
103
103
|
.largeteam,
|
|
104
104
|
.xlargeteam {
|
|
105
|
-
--avatarteam_height:
|
|
106
|
-
--avatarteam_width:
|
|
105
|
+
--avatarteam_height: var(--zd_size7);
|
|
106
|
+
--avatarteam_width: var(--zd_size7);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.xxsmallteam {
|
|
@@ -112,78 +112,78 @@
|
|
|
112
112
|
}
|
|
113
113
|
.xxsmallteam::after,
|
|
114
114
|
.xxsmallteam:before {
|
|
115
|
-
--avatarteam_bottom_top:
|
|
115
|
+
--avatarteam_bottom_top: var(--zd_size13);
|
|
116
116
|
}
|
|
117
117
|
.xxsmallteam:after {
|
|
118
|
-
--avatarteam_bottom_left: -
|
|
118
|
+
--avatarteam_bottom_left: calc( var(--zd_size8) * -1 );
|
|
119
119
|
}
|
|
120
120
|
.xxsmallteam:before {
|
|
121
|
-
--avatarteam_bottom_right: -
|
|
121
|
+
--avatarteam_bottom_right: calc( var(--zd_size8) * -1 );
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
.smallteam::after,
|
|
126
126
|
.smallteam:before {
|
|
127
|
-
--avatarteam_bottom_top:
|
|
127
|
+
--avatarteam_bottom_top: var(--zd_size17);
|
|
128
128
|
}
|
|
129
129
|
.smallteam:after {
|
|
130
|
-
--avatarteam_bottom_left: -
|
|
130
|
+
--avatarteam_bottom_left: calc( var(--zd_size8) * -1 );
|
|
131
131
|
}
|
|
132
132
|
.smallteam:before {
|
|
133
|
-
--avatarteam_bottom_right: -
|
|
133
|
+
--avatarteam_bottom_right: calc( var(--zd_size8) * -1 );
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.xsmallteam::after,
|
|
137
137
|
.xsmallteam:before {
|
|
138
|
-
--avatarteam_bottom_top:
|
|
138
|
+
--avatarteam_bottom_top: var(--zd_size24);
|
|
139
139
|
}
|
|
140
140
|
.xsmallteam:after {
|
|
141
|
-
--avatarteam_bottom_left: -
|
|
141
|
+
--avatarteam_bottom_left: calc( var(--zd_size10) * -1 );
|
|
142
142
|
}
|
|
143
143
|
.xsmallteam:before {
|
|
144
|
-
--avatarteam_bottom_right: -
|
|
144
|
+
--avatarteam_bottom_right: calc( var(--zd_size10) * -1 );
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.mediumteam::after,
|
|
148
148
|
.mediumteam:before {
|
|
149
|
-
--avatarteam_bottom_top:
|
|
149
|
+
--avatarteam_bottom_top: var(--zd_size26);
|
|
150
150
|
}
|
|
151
151
|
.mediumteam:after {
|
|
152
|
-
--avatarteam_bottom_left: -
|
|
152
|
+
--avatarteam_bottom_left: calc( var(--zd_size13) * -1 );
|
|
153
153
|
}
|
|
154
154
|
.mediumteam:before {
|
|
155
|
-
--avatarteam_bottom_right: -
|
|
155
|
+
--avatarteam_bottom_right: calc( var(--zd_size13) * -1 );
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.xmediumteam::after,
|
|
159
159
|
.xmediumteam:before {
|
|
160
|
-
--avatarteam_bottom_top:
|
|
160
|
+
--avatarteam_bottom_top: var(--zd_size30);
|
|
161
161
|
}
|
|
162
162
|
.xmediumteam:after {
|
|
163
|
-
--avatarteam_bottom_left: -
|
|
163
|
+
--avatarteam_bottom_left: calc( var(--zd_size16) * -1 );
|
|
164
164
|
}
|
|
165
165
|
.xmediumteam:before {
|
|
166
|
-
--avatarteam_bottom_right: -
|
|
166
|
+
--avatarteam_bottom_right: calc( var(--zd_size16) * -1 );
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.largeteam::after,
|
|
170
170
|
.largeteam:before {
|
|
171
|
-
--avatarteam_bottom_top:
|
|
171
|
+
--avatarteam_bottom_top: var(--zd_size46);
|
|
172
172
|
}
|
|
173
173
|
.largeteam:after {
|
|
174
|
-
--avatarteam_bottom_left: -
|
|
174
|
+
--avatarteam_bottom_left: calc( var(--zd_size24) * -1 );
|
|
175
175
|
}
|
|
176
176
|
.largeteam:before {
|
|
177
|
-
--avatarteam_bottom_right: -
|
|
177
|
+
--avatarteam_bottom_right: calc( var(--zd_size24) * -1 );
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.xlargeteam::after,
|
|
181
181
|
.xlargeteam:before {
|
|
182
|
-
--avatarteam_bottom_top:
|
|
182
|
+
--avatarteam_bottom_top: var(--zd_size65);
|
|
183
183
|
}
|
|
184
184
|
.xlargeteam:after {
|
|
185
|
-
--avatarteam_bottom_left: -
|
|
185
|
+
--avatarteam_bottom_left: calc( var(--zd_size29) * -1 );
|
|
186
186
|
}
|
|
187
187
|
.xlargeteam:before {
|
|
188
|
-
--avatarteam_bottom_right: -
|
|
188
|
+
--avatarteam_bottom_right: calc( var(--zd_size29) * -1 );
|
|
189
189
|
}
|
package/es/Button/Button.js
CHANGED
|
@@ -42,6 +42,7 @@ export default function Button(props) {
|
|
|
42
42
|
return /*#__PURE__*/React.createElement("button", _extends({
|
|
43
43
|
className: buttonClass,
|
|
44
44
|
"data-id": disabled ? `${dataId}_disabled` : dataId,
|
|
45
|
+
"data-test-id": disabled ? `${dataId}_disabled` : dataId,
|
|
45
46
|
disabled: disabled || statusLower === 'loading',
|
|
46
47
|
onClick: onClick,
|
|
47
48
|
"data-title": title,
|