@zohodesk/components 1.0.0-temp-187 → 1.0.0-temp-188
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/.DS_Store +0 -0
- package/.cli/AppearanceThemeValidationExcludeFiles.js +1 -0
- package/.cli/propValidation_report.html +1 -1
- package/README.md +10 -0
- package/es/Animation/Animation.js +4 -86
- package/es/Animation/utils.js +83 -0
- package/es/CheckBox/CheckBox.module.css +34 -5
- package/es/ListItem/props/defaultProps.js +1 -1
- package/es/Tag/Tag.module.css +74 -16
- package/es/TextBox/TextBox.module.css +1 -0
- package/es/Textarea/Textarea.module.css +30 -1
- package/es/v1/Animation/Animation.js +4 -86
- package/es/v1/Animation/utils.js +83 -0
- package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +2 -1
- package/es/v1/Select/Select.js +1 -1
- package/es/v1/Tab/TabContentWrapper.js +8 -4
- package/es/v1/Tab/props/defaultProps.js +2 -1
- package/es/v1/Tab/props/propTypes.js +3 -1
- package/lib/Animation/Animation.js +4 -86
- package/lib/Animation/utils.js +91 -0
- package/lib/CheckBox/CheckBox.module.css +34 -5
- package/lib/ListItem/props/defaultProps.js +1 -1
- package/lib/Tag/Tag.module.css +74 -16
- package/lib/TextBox/TextBox.module.css +1 -0
- package/lib/Textarea/Textarea.module.css +30 -1
- package/lib/v1/Animation/Animation.js +4 -86
- package/lib/v1/Animation/utils.js +91 -0
- package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +2 -1
- package/lib/v1/Select/Select.js +1 -1
- package/lib/v1/Tab/TabContentWrapper.js +8 -4
- package/lib/v1/Tab/props/defaultProps.js +2 -1
- package/lib/v1/Tab/props/propTypes.js +3 -1
- package/package.json +3 -3
- package/result.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,16 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
32
32
|
- TextBoxIcon
|
|
33
33
|
- Tooltip
|
|
34
34
|
|
|
35
|
+
# 1.2.24
|
|
36
|
+
|
|
37
|
+
- **Animation** - style object moved to utils.
|
|
38
|
+
|
|
39
|
+
# 1.2.23
|
|
40
|
+
|
|
41
|
+
- **DropBoxElement** - A dropdown has been incorporated as one of the main focus areas, utilizing the `data-a11y-focus-main-area` attribute.
|
|
42
|
+
|
|
43
|
+
- **Select, Tab, TabContentWrapper** - A11y changes.
|
|
44
|
+
|
|
35
45
|
# 1.2.22
|
|
36
46
|
|
|
37
47
|
- **Tags,TextArea, Textbox, Checkbox** - Cursor css changes for variable autoconversion
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { CSSTransition } from 'react-transition-group';
|
|
5
|
-
import
|
|
5
|
+
import { animationStyle } from './utils';
|
|
6
6
|
export default class Animation extends React.Component {
|
|
7
7
|
constructor(props) {
|
|
8
8
|
super(props);
|
|
@@ -19,91 +19,9 @@ export default class Animation extends React.Component {
|
|
|
19
19
|
onExit = () => {},
|
|
20
20
|
delayClassName = null
|
|
21
21
|
} = this.props;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
enterActive: style.zoomInEnterActive,
|
|
26
|
-
enterDone: style.zoomInEnterActive,
|
|
27
|
-
exit: style.zoomInLeave,
|
|
28
|
-
exitActive: style.zoomInLeaveActive,
|
|
29
|
-
exitDone: style.zoomInLeaveActive,
|
|
30
|
-
appear: style.zoomInEnter,
|
|
31
|
-
appearActive: style.zoomInEnterActive
|
|
32
|
-
},
|
|
33
|
-
scaleIn: {
|
|
34
|
-
enter: style.scaleInEnter,
|
|
35
|
-
enterActive: style.scaleInEnterActive,
|
|
36
|
-
enterDone: style.scaleInEnterActive,
|
|
37
|
-
exit: style.scaleInLeave,
|
|
38
|
-
exitActive: style.scaleInLeaveActive,
|
|
39
|
-
exitDone: style.scaleInLeaveActive,
|
|
40
|
-
appear: style.scaleInEnter,
|
|
41
|
-
appearActive: style.scaleInEnterActive
|
|
42
|
-
},
|
|
43
|
-
fadeIn: {
|
|
44
|
-
enter: style.fadeInEnter,
|
|
45
|
-
enterActive: style.fadeInEnterActive,
|
|
46
|
-
enterDone: style.fadeInEnterActive,
|
|
47
|
-
exit: style.fadeInLeave,
|
|
48
|
-
exitActive: style.fadeInLeaveActive,
|
|
49
|
-
exitDone: style.fadeInLeaveActive,
|
|
50
|
-
appear: style.fadeInEnter,
|
|
51
|
-
appearActive: style.fadeInEnterActive
|
|
52
|
-
},
|
|
53
|
-
slideLeft: {
|
|
54
|
-
enter: style.slideLeftEnter,
|
|
55
|
-
enterActive: style.slideLeftEnterActive,
|
|
56
|
-
enterDone: style.slideLeftEnterActive,
|
|
57
|
-
exit: style.slideLeftLeave,
|
|
58
|
-
exitActive: style.slideLeftLeaveActive,
|
|
59
|
-
exitDone: style.slideLeftLeaveActive,
|
|
60
|
-
appear: style.slideLeftEnter,
|
|
61
|
-
appearActive: style.slideLeftEnterActive
|
|
62
|
-
},
|
|
63
|
-
slideDown: {
|
|
64
|
-
enter: style.slideDownEnter,
|
|
65
|
-
enterActive: style.slideDownEnterActive,
|
|
66
|
-
enterDone: style.slideDownEnterActive,
|
|
67
|
-
exit: style.slideDownLeave,
|
|
68
|
-
exitActive: style.slideDownLeaveActive,
|
|
69
|
-
exitDone: style.slideDownLeaveActive,
|
|
70
|
-
appear: style.slideDownEnter,
|
|
71
|
-
appearActive: style.slideDownEnterActive
|
|
72
|
-
},
|
|
73
|
-
skewIn: {
|
|
74
|
-
enter: style.skewInEnter,
|
|
75
|
-
enterActive: style.skewInEnterActive,
|
|
76
|
-
enterDone: style.skewInEnterActive,
|
|
77
|
-
exit: style.skewInLeave,
|
|
78
|
-
exitActive: style.skewInLeaveActive,
|
|
79
|
-
exitDone: style.skewInLeaveActive,
|
|
80
|
-
appear: style.skewInEnter,
|
|
81
|
-
appearActive: style.skewInEnterActive
|
|
82
|
-
},
|
|
83
|
-
none: {
|
|
84
|
-
enter: style.noneEnter,
|
|
85
|
-
enterActive: style.noneEnterActive,
|
|
86
|
-
enterDone: style.noneEnterActive,
|
|
87
|
-
exit: style.noneLeave,
|
|
88
|
-
exitActive: style.noneLeaveActive,
|
|
89
|
-
exitDone: style.noneLeaveActive,
|
|
90
|
-
appear: style.noneEnter,
|
|
91
|
-
appearActive: style.noneEnterActive
|
|
92
|
-
},
|
|
93
|
-
default: {
|
|
94
|
-
enter: style.defaultEnter,
|
|
95
|
-
enterActive: style.defaultEnterActive,
|
|
96
|
-
enterDone: style.defaultEnterActive,
|
|
97
|
-
exit: style.defaultLeave,
|
|
98
|
-
exitActive: style.defaultLeaveActive,
|
|
99
|
-
exitDone: style.defaultLeaveActive,
|
|
100
|
-
appear: style.defaultEnter,
|
|
101
|
-
appearActive: style.defaultEnterActive
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
let newClassNames = delayClassName ? Object.assign({}, animation[name], {
|
|
105
|
-
exit: `${delayClassName} ${animation[name].exit}`
|
|
106
|
-
}) : animation[name];
|
|
22
|
+
let newClassNames = delayClassName ? Object.assign({}, animationStyle[name], {
|
|
23
|
+
exit: `${delayClassName} ${animationStyle[name].exit}`
|
|
24
|
+
}) : animationStyle[name];
|
|
107
25
|
return /*#__PURE__*/React.createElement(CSSTransition, {
|
|
108
26
|
classNames: newClassNames && newClassNames,
|
|
109
27
|
in: isActive,
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import style from '../common/transition.module.css';
|
|
2
|
+
export const animationStyle = {
|
|
3
|
+
zoomIn: {
|
|
4
|
+
enter: style.zoomInEnter,
|
|
5
|
+
enterActive: style.zoomInEnterActive,
|
|
6
|
+
enterDone: style.zoomInEnterActive,
|
|
7
|
+
exit: style.zoomInLeave,
|
|
8
|
+
exitActive: style.zoomInLeaveActive,
|
|
9
|
+
exitDone: style.zoomInLeaveActive,
|
|
10
|
+
appear: style.zoomInEnter,
|
|
11
|
+
appearActive: style.zoomInEnterActive
|
|
12
|
+
},
|
|
13
|
+
scaleIn: {
|
|
14
|
+
enter: style.scaleInEnter,
|
|
15
|
+
enterActive: style.scaleInEnterActive,
|
|
16
|
+
enterDone: style.scaleInEnterActive,
|
|
17
|
+
exit: style.scaleInLeave,
|
|
18
|
+
exitActive: style.scaleInLeaveActive,
|
|
19
|
+
exitDone: style.scaleInLeaveActive,
|
|
20
|
+
appear: style.scaleInEnter,
|
|
21
|
+
appearActive: style.scaleInEnterActive
|
|
22
|
+
},
|
|
23
|
+
fadeIn: {
|
|
24
|
+
enter: style.fadeInEnter,
|
|
25
|
+
enterActive: style.fadeInEnterActive,
|
|
26
|
+
enterDone: style.fadeInEnterActive,
|
|
27
|
+
exit: style.fadeInLeave,
|
|
28
|
+
exitActive: style.fadeInLeaveActive,
|
|
29
|
+
exitDone: style.fadeInLeaveActive,
|
|
30
|
+
appear: style.fadeInEnter,
|
|
31
|
+
appearActive: style.fadeInEnterActive
|
|
32
|
+
},
|
|
33
|
+
slideLeft: {
|
|
34
|
+
enter: style.slideLeftEnter,
|
|
35
|
+
enterActive: style.slideLeftEnterActive,
|
|
36
|
+
enterDone: style.slideLeftEnterActive,
|
|
37
|
+
exit: style.slideLeftLeave,
|
|
38
|
+
exitActive: style.slideLeftLeaveActive,
|
|
39
|
+
exitDone: style.slideLeftLeaveActive,
|
|
40
|
+
appear: style.slideLeftEnter,
|
|
41
|
+
appearActive: style.slideLeftEnterActive
|
|
42
|
+
},
|
|
43
|
+
slideDown: {
|
|
44
|
+
enter: style.slideDownEnter,
|
|
45
|
+
enterActive: style.slideDownEnterActive,
|
|
46
|
+
enterDone: style.slideDownEnterActive,
|
|
47
|
+
exit: style.slideDownLeave,
|
|
48
|
+
exitActive: style.slideDownLeaveActive,
|
|
49
|
+
exitDone: style.slideDownLeaveActive,
|
|
50
|
+
appear: style.slideDownEnter,
|
|
51
|
+
appearActive: style.slideDownEnterActive
|
|
52
|
+
},
|
|
53
|
+
skewIn: {
|
|
54
|
+
enter: style.skewInEnter,
|
|
55
|
+
enterActive: style.skewInEnterActive,
|
|
56
|
+
enterDone: style.skewInEnterActive,
|
|
57
|
+
exit: style.skewInLeave,
|
|
58
|
+
exitActive: style.skewInLeaveActive,
|
|
59
|
+
exitDone: style.skewInLeaveActive,
|
|
60
|
+
appear: style.skewInEnter,
|
|
61
|
+
appearActive: style.skewInEnterActive
|
|
62
|
+
},
|
|
63
|
+
none: {
|
|
64
|
+
enter: style.noneEnter,
|
|
65
|
+
enterActive: style.noneEnterActive,
|
|
66
|
+
enterDone: style.noneEnterActive,
|
|
67
|
+
exit: style.noneLeave,
|
|
68
|
+
exitActive: style.noneLeaveActive,
|
|
69
|
+
exitDone: style.noneLeaveActive,
|
|
70
|
+
appear: style.noneEnter,
|
|
71
|
+
appearActive: style.noneEnterActive
|
|
72
|
+
},
|
|
73
|
+
default: {
|
|
74
|
+
enter: style.defaultEnter,
|
|
75
|
+
enterActive: style.defaultEnterActive,
|
|
76
|
+
enterDone: style.defaultEnterActive,
|
|
77
|
+
exit: style.defaultLeave,
|
|
78
|
+
exitActive: style.defaultLeaveActive,
|
|
79
|
+
exitDone: style.defaultLeaveActive,
|
|
80
|
+
appear: style.defaultEnter,
|
|
81
|
+
appearActive: style.defaultEnterActive
|
|
82
|
+
}
|
|
83
|
+
};
|
|
@@ -9,42 +9,52 @@
|
|
|
9
9
|
--checkbox_checked_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
10
10
|
--checkbox_checked_active_color: var(--zdt_checkbox_primary_stroke_border);
|
|
11
11
|
}
|
|
12
|
+
|
|
12
13
|
.container {
|
|
13
14
|
composes: varClass;
|
|
14
15
|
stroke: var(--checkbox_stroke_color);
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
.container, .pointer, .readonly {
|
|
17
19
|
cursor: var(--checkbox_cursor);
|
|
18
20
|
}
|
|
21
|
+
|
|
19
22
|
.pointer {
|
|
20
23
|
--checkbox_cursor: pointer;
|
|
21
24
|
}
|
|
25
|
+
|
|
22
26
|
.readonly {
|
|
23
27
|
--checkbox_cursor: default;
|
|
24
28
|
}
|
|
29
|
+
|
|
25
30
|
.cbBox {
|
|
26
31
|
fill: none;
|
|
27
32
|
stroke-width: var(--checkbox_stroke_width);
|
|
28
33
|
stroke-linecap: round;
|
|
29
34
|
stroke: inherit;
|
|
30
35
|
}
|
|
36
|
+
|
|
31
37
|
.tickPath {
|
|
32
38
|
composes: cbBox;
|
|
33
39
|
stroke-dasharray: 40;
|
|
34
40
|
}
|
|
41
|
+
|
|
35
42
|
.boxContainer {
|
|
36
43
|
composes: offSelection from '../common/common.module.css';
|
|
37
44
|
/* css:theme-validation:ignore */
|
|
38
45
|
border-radius: 2px;
|
|
39
46
|
background-color: var(--checkbox_bg_color);
|
|
40
47
|
}
|
|
48
|
+
|
|
41
49
|
.filled {
|
|
42
50
|
--checkbox_bg_color: inherit;
|
|
43
51
|
}
|
|
52
|
+
|
|
44
53
|
.medium {
|
|
45
54
|
width: 16px;
|
|
46
55
|
height: 16px;
|
|
47
56
|
}
|
|
57
|
+
|
|
48
58
|
.small {
|
|
49
59
|
width: 13px;
|
|
50
60
|
height: 13px;
|
|
@@ -82,18 +92,23 @@
|
|
|
82
92
|
[dir=rtl] .checkedtickPath {
|
|
83
93
|
animation: tickAnimate var(--zd_transition3) ease forwards;
|
|
84
94
|
}
|
|
95
|
+
|
|
85
96
|
.linePath {
|
|
86
97
|
transform-origin: center;
|
|
87
98
|
}
|
|
99
|
+
|
|
88
100
|
[dir=ltr] .linePath {
|
|
89
101
|
animation: lineAnimate var(--zd_transition3) ease forwards;
|
|
90
102
|
}
|
|
103
|
+
|
|
91
104
|
[dir=rtl] .linePath {
|
|
92
105
|
animation: lineAnimate var(--zd_transition3) ease forwards;
|
|
93
106
|
}
|
|
107
|
+
|
|
94
108
|
[dir=ltr] .text {
|
|
95
109
|
margin-left: 6px;
|
|
96
110
|
}
|
|
111
|
+
|
|
97
112
|
[dir=rtl] .text {
|
|
98
113
|
margin-right: 6px;
|
|
99
114
|
}
|
|
@@ -102,19 +117,25 @@
|
|
|
102
117
|
.checkeddanger {
|
|
103
118
|
stroke: var(--checkbox_checked_stroke_color);
|
|
104
119
|
}
|
|
120
|
+
|
|
105
121
|
.primary:hover
|
|
122
|
+
|
|
106
123
|
/* .primary:focus */
|
|
107
|
-
{
|
|
124
|
+
{
|
|
108
125
|
--checkbox_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
109
126
|
}
|
|
127
|
+
|
|
110
128
|
.checkedprimary {
|
|
111
129
|
--checkbox_checked_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
112
130
|
}
|
|
131
|
+
|
|
113
132
|
.danger:hover
|
|
133
|
+
|
|
114
134
|
/* .danger:focus */
|
|
115
|
-
|
|
135
|
+
{
|
|
116
136
|
--checkbox_stroke_color: var(--zdt_checkbox_danger_stroke_border);
|
|
117
137
|
}
|
|
138
|
+
|
|
118
139
|
.checkeddanger {
|
|
119
140
|
--checkbox_checked_stroke_color: var(--zdt_checkbox_danger_stroke_border);
|
|
120
141
|
}
|
|
@@ -124,19 +145,25 @@
|
|
|
124
145
|
/* css:theme-validation:ignore */
|
|
125
146
|
color: var(--checkbox_checked_active_color);
|
|
126
147
|
}
|
|
148
|
+
|
|
127
149
|
.activeprimaryLabel:hover
|
|
150
|
+
|
|
128
151
|
/* .activeprimaryLabel:focus */
|
|
129
|
-
{
|
|
152
|
+
{
|
|
130
153
|
--label_text_color: var(--zdt_checkbox_label_primary_text);
|
|
131
154
|
}
|
|
155
|
+
|
|
132
156
|
.checkedprimaryLabel {
|
|
133
157
|
--checkbox_checked_active_color: var(--zdt_checkbox_primary_stroke_border);
|
|
134
158
|
}
|
|
159
|
+
|
|
135
160
|
.activedangerLabel:hover
|
|
161
|
+
|
|
136
162
|
/* .activedangerLabel:focus */
|
|
137
|
-
{
|
|
163
|
+
{
|
|
138
164
|
--label_text_color: var(--zdt_checkbox_label_danger_text);
|
|
139
165
|
}
|
|
166
|
+
|
|
140
167
|
.checkeddangerLabel {
|
|
141
168
|
--checkbox_checked_active_color: var(--zdt_checkbox_danger_stroke_border);
|
|
142
169
|
}
|
|
@@ -144,6 +171,7 @@
|
|
|
144
171
|
0% {
|
|
145
172
|
stroke-dashoffset: 40;
|
|
146
173
|
}
|
|
174
|
+
|
|
147
175
|
100% {
|
|
148
176
|
stroke-dashoffset: 0;
|
|
149
177
|
}
|
|
@@ -153,7 +181,8 @@
|
|
|
153
181
|
0% {
|
|
154
182
|
transform: scaleX(0);
|
|
155
183
|
}
|
|
184
|
+
|
|
156
185
|
100% {
|
|
157
186
|
transform: scaleX(1);
|
|
158
187
|
}
|
|
159
|
-
}
|
|
188
|
+
}
|
package/es/Tag/Tag.module.css
CHANGED
|
@@ -21,15 +21,21 @@
|
|
|
21
21
|
/* tag normal icon default variables */
|
|
22
22
|
--tag_icon_bg_color: var(--zdt_tag_icon_bg);
|
|
23
23
|
}[dir=ltr] .varClass {
|
|
24
|
-
--tag_closeicon_border_radius: 0 12px 12px 0
|
|
24
|
+
--tag_closeicon_border_radius: 0 12px 12px 0
|
|
25
|
+
/*rtl: 12px 0 0 12px*/
|
|
26
|
+
;
|
|
25
27
|
--tag_closeicon_padding: 0 7px 0 6px
|
|
26
|
-
/*rtl: 0 6px 0 7px
|
|
27
|
-
|
|
28
|
+
/*rtl: 0 6px 0 7px*/
|
|
29
|
+
;
|
|
30
|
+
--tag_icon_margin: 0 0 0 5px
|
|
31
|
+
/*rtl: 0 5px 0 0*/
|
|
32
|
+
;
|
|
28
33
|
}[dir=rtl] .varClass {
|
|
29
|
-
--tag_closeicon_border_radius: 12px
|
|
30
|
-
--tag_closeicon_padding: 0
|
|
31
|
-
--tag_icon_margin: 0
|
|
34
|
+
--tag_closeicon_border_radius: 0 12px 12px 0 ;
|
|
35
|
+
--tag_closeicon_padding: 0 7px 0 6px ;
|
|
36
|
+
--tag_icon_margin: 0 0 0 5px ;
|
|
32
37
|
}
|
|
38
|
+
|
|
33
39
|
.container {
|
|
34
40
|
composes: varClass;
|
|
35
41
|
composes: dInflex alignVertical flexrow from '../common/common.module.css';
|
|
@@ -51,49 +57,62 @@
|
|
|
51
57
|
padding: var(--tag_padding);
|
|
52
58
|
cursor: var(--tag_cursor);
|
|
53
59
|
}
|
|
60
|
+
|
|
54
61
|
.disabled {
|
|
55
62
|
pointer-events: none;
|
|
56
63
|
--tag_text_color: var(--zdt_tag_disabled_text);
|
|
57
64
|
}
|
|
65
|
+
|
|
58
66
|
.readonly,
|
|
59
67
|
.disabled {
|
|
60
68
|
--tag_cursor: not-allowed;
|
|
61
69
|
}
|
|
70
|
+
|
|
62
71
|
.pointer {
|
|
63
72
|
--tag_cursor: pointer;
|
|
64
73
|
}
|
|
74
|
+
|
|
65
75
|
.lgRadius {
|
|
66
76
|
--tag_border_radius: 25px;
|
|
67
77
|
}
|
|
78
|
+
|
|
68
79
|
.smRadius {
|
|
69
80
|
--tag_border_radius: 3px;
|
|
70
81
|
}
|
|
82
|
+
|
|
71
83
|
.text {
|
|
72
84
|
composes: dotted flexgrow from '../common/common.module.css';
|
|
73
85
|
}
|
|
86
|
+
|
|
74
87
|
.smalltext,
|
|
75
88
|
.mediumtext {
|
|
76
89
|
font-size: var(--tag_font_size);
|
|
77
90
|
}
|
|
91
|
+
|
|
78
92
|
.smalltext, .mediumtext {
|
|
79
93
|
padding: var(--tag_inner_text_padding);
|
|
80
94
|
}
|
|
95
|
+
|
|
81
96
|
.small {
|
|
82
97
|
--tag_height: 20px;
|
|
83
98
|
--tag_padding: 1px;
|
|
84
99
|
--tag_inner_text_padding: 0 7px;
|
|
85
100
|
}
|
|
101
|
+
|
|
86
102
|
[dir=ltr] .small .avatar {
|
|
87
103
|
transform: scale(0.8) translateX(-2px);
|
|
88
104
|
margin-right: -8px;
|
|
89
105
|
}
|
|
106
|
+
|
|
90
107
|
[dir=rtl] .small .avatar {
|
|
91
108
|
transform: scale(0.8) translateX(2px);
|
|
92
109
|
margin-left: -8px;
|
|
93
110
|
}
|
|
111
|
+
|
|
94
112
|
.smalltext {
|
|
95
113
|
--tag_font_size: 12px;
|
|
96
114
|
}
|
|
115
|
+
|
|
97
116
|
.activesmallEffect {
|
|
98
117
|
--tag_inner_text_padding: 0 25px 0 7px;
|
|
99
118
|
}
|
|
@@ -103,9 +122,11 @@
|
|
|
103
122
|
--tag_padding: 2px;
|
|
104
123
|
--tag_inner_text_padding: 0 6px;
|
|
105
124
|
}
|
|
125
|
+
|
|
106
126
|
.mediumtext {
|
|
107
127
|
--tag_font_size: 13px;
|
|
108
128
|
}
|
|
129
|
+
|
|
109
130
|
.activemediumEffect {
|
|
110
131
|
--tag_inner_text_padding: 0 25px 0 6px;
|
|
111
132
|
}
|
|
@@ -113,10 +134,12 @@
|
|
|
113
134
|
.selected .close {
|
|
114
135
|
display: block;
|
|
115
136
|
}
|
|
137
|
+
|
|
116
138
|
.activedanger,
|
|
117
139
|
.closedanger:hover {
|
|
118
140
|
--tag_closeicon_bg_color: var(--zdt_tag_danger_bg);
|
|
119
141
|
}
|
|
142
|
+
|
|
120
143
|
.activeprimary,
|
|
121
144
|
.closeprimary:hover {
|
|
122
145
|
--tag_closeicon_bg_color: var(--zdt_tag_primary_hover_bg);
|
|
@@ -125,6 +148,7 @@
|
|
|
125
148
|
.container:hover .close {
|
|
126
149
|
display: block;
|
|
127
150
|
}
|
|
151
|
+
|
|
128
152
|
.close {
|
|
129
153
|
/* css:theme-validation:ignore */
|
|
130
154
|
color: var(--tag_closeicon_color);
|
|
@@ -138,41 +162,58 @@
|
|
|
138
162
|
border-radius: var(--tag_closeicon_border_radius);
|
|
139
163
|
background: var(--tag_closeicon_bg_color);
|
|
140
164
|
}
|
|
165
|
+
|
|
141
166
|
[dir=ltr] .close {
|
|
142
167
|
right: 0;
|
|
143
168
|
}
|
|
169
|
+
|
|
144
170
|
[dir=rtl] .close {
|
|
145
171
|
left: 0;
|
|
146
172
|
}
|
|
173
|
+
|
|
147
174
|
[dir=ltr] .lgRadiusClose {
|
|
148
|
-
--tag_closeicon_border_radius: 0 12px 12px 0
|
|
175
|
+
--tag_closeicon_border_radius: 0 12px 12px 0
|
|
176
|
+
/*rtl: 12px 0 0 12px*/
|
|
177
|
+
;
|
|
149
178
|
}
|
|
179
|
+
|
|
150
180
|
[dir=rtl] .lgRadiusClose {
|
|
151
|
-
--tag_closeicon_border_radius: 12px
|
|
181
|
+
--tag_closeicon_border_radius: 0 12px 12px 0 ;
|
|
152
182
|
}
|
|
183
|
+
|
|
153
184
|
[dir=ltr] .smRadiusClose {
|
|
154
|
-
--tag_closeicon_border_radius: 0 3px 3px 0
|
|
185
|
+
--tag_closeicon_border_radius: 0 3px 3px 0
|
|
186
|
+
/*rtl: 3px 0 0 3px*/
|
|
187
|
+
;
|
|
155
188
|
}
|
|
189
|
+
|
|
156
190
|
[dir=rtl] .smRadiusClose {
|
|
157
|
-
--tag_closeicon_border_radius: 3px
|
|
191
|
+
--tag_closeicon_border_radius: 0 3px 3px 0 ;
|
|
158
192
|
}
|
|
193
|
+
|
|
159
194
|
.closedanger {
|
|
160
195
|
--tag_closeicon_bg_color: var(--zdt_tag_closedanger_bg);
|
|
161
196
|
}
|
|
197
|
+
|
|
162
198
|
.closeprimary {
|
|
163
199
|
--tag_closeicon_bg_color: var(--zdt_tag_closeprimary_bg);
|
|
164
200
|
}
|
|
201
|
+
|
|
165
202
|
.default,
|
|
166
|
-
.danger
|
|
203
|
+
.danger,
|
|
204
|
+
.defaultLink {
|
|
167
205
|
--tag_bg_color: var(--zdt_tag_default_danger_bg);
|
|
168
206
|
}
|
|
207
|
+
|
|
169
208
|
.effect.default:hover {
|
|
170
209
|
--tag_bg_color: var(--zdt_tag_default_hover_bg);
|
|
171
210
|
}
|
|
211
|
+
|
|
172
212
|
.activedefault,
|
|
173
213
|
.effect.activedefault:hover {
|
|
174
214
|
--tag_bg_color: var(--zdt_tag_active_default_bg);
|
|
175
215
|
}
|
|
216
|
+
|
|
176
217
|
.activeprimaryClose,
|
|
177
218
|
.activeprimaryClose:hover {
|
|
178
219
|
--tag_closeicon_bg_color: var(--zdt_tag_primary_bg);
|
|
@@ -181,37 +222,46 @@
|
|
|
181
222
|
.effect.danger:hover {
|
|
182
223
|
--tag_bg_color: var(--zdt_tag_danger_hover_bg);
|
|
183
224
|
}
|
|
225
|
+
|
|
184
226
|
.activedanger,
|
|
185
227
|
.effect.activedanger:hover {
|
|
186
228
|
--tag_bg_color: var(--zdt_tag_danger_hover_bg);
|
|
187
229
|
}
|
|
230
|
+
|
|
188
231
|
.activedangerClose,
|
|
189
232
|
.activedangerClose:hover {
|
|
190
233
|
--tag_closeicon_bg_color: var(--zdt_tag_danger_bg);
|
|
191
234
|
}
|
|
235
|
+
|
|
192
236
|
.secondary {
|
|
193
237
|
--tag_bg_color: var(--zdt_tag_secondary_bg);
|
|
194
238
|
--tag_text_color: var(--zdt_tag_secondary_text);
|
|
195
239
|
}
|
|
240
|
+
|
|
196
241
|
.activesecondary,
|
|
197
242
|
.effect.secondary:hover {
|
|
198
243
|
--tag_bg_color: var(--zdt_tag_secondary_hover_bg);
|
|
199
244
|
}
|
|
245
|
+
|
|
200
246
|
.activedefaultLink,
|
|
201
|
-
.effect.defaultLink:hover{
|
|
202
|
-
--tag_bg_color: var(--zdt_tag_defaultLink_hover_bg);
|
|
203
|
-
--tag_text_color: var(--zdt_tag_defaultLink_hover_text);
|
|
204
|
-
}
|
|
247
|
+
.effect.defaultLink:hover {
|
|
248
|
+
--tag_bg_color: var(--zdt_tag_defaultLink_hover_bg);
|
|
249
|
+
--tag_text_color: var(--zdt_tag_defaultLink_hover_text);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
;
|
|
205
253
|
|
|
206
254
|
.pureDotted {
|
|
207
255
|
--tag_bg_color: var(--zdt_tag_pure_bg);
|
|
208
256
|
--tag_border_width: 1px;
|
|
209
257
|
--tag_border_color: var(--zdt_tag_pure_border);
|
|
210
258
|
}
|
|
259
|
+
|
|
211
260
|
.effect.pureDotted:hover {
|
|
212
261
|
--tag_bg_color: var(--zdt_tag_pure_hover_bg);
|
|
213
262
|
--tag_border_color: var(--zdt_tag_pure_hover_border);
|
|
214
263
|
}
|
|
264
|
+
|
|
215
265
|
.activepureDotted,
|
|
216
266
|
.effect.activepureDotted:hover {
|
|
217
267
|
--tag_bg_color: var(--zdt_tag_pure_bg);
|
|
@@ -222,6 +272,7 @@
|
|
|
222
272
|
--tag_border_width: 1px;
|
|
223
273
|
--tag_border_color: var(--zdt_tag_primary_border);
|
|
224
274
|
}
|
|
275
|
+
|
|
225
276
|
.effect.primaryDotted:hover,
|
|
226
277
|
.activeprimaryDotted,
|
|
227
278
|
.primary,
|
|
@@ -234,28 +285,35 @@
|
|
|
234
285
|
margin: var(--tag_icon_margin);
|
|
235
286
|
background-color: var(--tag_icon_bg_color);
|
|
236
287
|
}
|
|
237
|
-
|
|
288
|
+
|
|
289
|
+
.icon>i {
|
|
238
290
|
display: block;
|
|
239
291
|
}
|
|
292
|
+
|
|
240
293
|
.dark {
|
|
241
294
|
--tag_bg_color: var(--zdt_tag_dark_bg);
|
|
242
295
|
--tag_text_color: var(--zdt_tag_dark_text);
|
|
243
296
|
}
|
|
297
|
+
|
|
244
298
|
.effect.dark:hover {
|
|
245
299
|
--tag_bg_color: var(--zdt_tag_dark_hover_bg);
|
|
246
300
|
--tag_text_color: var(--zdt_tag_dark_hover_text);
|
|
247
301
|
}
|
|
302
|
+
|
|
248
303
|
.darkTagClose {
|
|
249
304
|
--tag_closeicon_bg_color: var(--zdt_tag_dark_close_bg);
|
|
250
305
|
--tag_closeicon_color: var(--zdt_tag_dark_close_text);
|
|
251
306
|
}
|
|
307
|
+
|
|
252
308
|
.darkTagClose:hover {
|
|
253
309
|
--tag_closeicon_bg_color: var(--zdt_tag_dark_close_hover_bg);
|
|
254
310
|
--tag_closeicon_color: var(--zdt_tag_secondary_text);
|
|
255
311
|
}
|
|
312
|
+
|
|
256
313
|
.pureDarkDotted {
|
|
257
314
|
composes: dark pureDotted;
|
|
258
315
|
}
|
|
316
|
+
|
|
259
317
|
.darkPrimaryDotted {
|
|
260
318
|
composes: dark primaryDotted;
|
|
261
319
|
}
|