@zohodesk/components 1.0.0-temp-44 → 1.0.0-temp-45
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 -0
- package/es/Animation/docs/Animation__default.docs.js +2 -2
- package/es/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/es/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/es/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/es/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/es/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/es/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/es/Appearance/dark/mode/darkMode.module.css +69 -69
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +2 -2
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +2 -2
- package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +1 -1
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +2 -2
- package/es/Appearance/default/mode/defaultMode.module.css +158 -158
- package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +28 -28
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +5 -5
- package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +4 -4
- package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +4 -4
- package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +4 -4
- package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +4 -4
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +1 -1
- package/es/Card/Card.module.css +3 -3
- package/es/Card/docs/Card__Default.docs.js +4 -4
- package/es/Card/docs/Card__Scroll.docs.js +4 -4
- package/es/Layout/docs/Layout__Hidden.docs.js +1 -1
- package/es/Layout/docs/Layout__four_Column.docs.js +1 -1
- package/es/Layout/docs/Layout__three_Column.docs.js +1 -1
- package/es/MultiSelect/MultiSelect.js +8 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +8 -8
- package/es/Select/Select.js +14 -0
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/es/common/docStyle.module.css +9 -9
- package/package.json +4 -4
- package/preprocess/componentAppearanceColors.js +1 -1
- package/preprocess/json/componentAppearanceVariableJson.js +250 -250
- package/preprocess/json/componentThemeVariableJson.js +33 -33
- package/preprocess/json/ctaThemeVariableJson.js +38 -38
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
--zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
|
|
26
26
|
--zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
|
|
27
27
|
--zdt_multiselect_darkmsg_text: #d0d0d4;
|
|
28
|
-
--zdt_multiselect_darkdelete_hover_text: var(--
|
|
28
|
+
--zdt_multiselect_darkdelete_hover_text: var(--dot_white);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
31
|
--zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
|
|
32
|
-
--zdt_avatar_white_text: var(--
|
|
32
|
+
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
35
35
|
--zdt_label_dark_text: #d0d0d4;
|
|
36
36
|
|
|
37
37
|
/* textbox */
|
|
38
|
-
--zdt_textbox_light_text: var(--
|
|
38
|
+
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text: var(--
|
|
41
|
+
--zdt_dropdown_darkheading_text: var(--dot_white);
|
|
42
42
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--zdt_cta_primary_light_hover_bg: #f8d7d7;
|
|
12
12
|
--zdt_cta_primary_light_border: #f8d7d7;
|
|
13
13
|
--zdt_cta_secondary_bg: #de3535;
|
|
14
|
-
--zdt_cta_secondary_text: var(--
|
|
14
|
+
--zdt_cta_secondary_text: var(--dot_white);
|
|
15
15
|
--zdt_cta_secondary_border: #e55d5d;
|
|
16
16
|
--zdt_cta_secondary_light_border: #f8d7d7;
|
|
17
17
|
--zdt_cta_alpha_text: #de3535;
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
--zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
|
|
26
26
|
--zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
|
|
27
27
|
--zdt_multiselect_darkmsg_text: #d0d0d4;
|
|
28
|
-
--zdt_multiselect_darkdelete_hover_text: var(--
|
|
28
|
+
--zdt_multiselect_darkdelete_hover_text: var(--dot_white);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
31
|
--zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
|
|
32
|
-
--zdt_avatar_white_text: var(--
|
|
32
|
+
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
35
35
|
--zdt_label_dark_text: #d0d0d4;
|
|
36
36
|
|
|
37
37
|
/* textbox */
|
|
38
|
-
--zdt_textbox_light_text: var(--
|
|
38
|
+
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text: var(--
|
|
41
|
+
--zdt_dropdown_darkheading_text: var(--dot_white);
|
|
42
42
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--zdt_cta_primary_light_hover_bg: #f8eabd;
|
|
12
12
|
--zdt_cta_primary_light_border: #f8eabd;
|
|
13
13
|
--zdt_cta_secondary_bg: #e8b923;
|
|
14
|
-
--zdt_cta_secondary_text: var(--
|
|
14
|
+
--zdt_cta_secondary_text: var(--dot_black);
|
|
15
15
|
--zdt_cta_secondary_border: rgba(255, 255, 255, 0.2);
|
|
16
16
|
--zdt_cta_secondary_light_border: #f6e3a7;
|
|
17
17
|
--zdt_cta_alpha_text: #b68c07;
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
--zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
|
|
26
26
|
--zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
|
|
27
27
|
--zdt_multiselect_darkmsg_text: #d0d0d4;
|
|
28
|
-
--zdt_multiselect_darkdelete_hover_text: var(--
|
|
28
|
+
--zdt_multiselect_darkdelete_hover_text: var(--dot_white);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
31
|
--zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
|
|
32
|
-
--zdt_avatar_white_text: var(--
|
|
32
|
+
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
35
35
|
--zdt_label_dark_text: #d0d0d4;
|
|
36
36
|
|
|
37
37
|
/* textbox */
|
|
38
|
-
--zdt_textbox_light_text: var(--
|
|
38
|
+
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text: var(--
|
|
41
|
+
--zdt_dropdown_darkheading_text: var(--dot_white);
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ export default class AvatarTeam__palette extends React.Component {
|
|
|
6
6
|
render() {
|
|
7
7
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
8
8
|
style: {
|
|
9
|
-
background: 'var(--
|
|
9
|
+
background: 'var(--dot_black)',
|
|
10
10
|
display: 'inline-block'
|
|
11
11
|
}
|
|
12
12
|
}, /*#__PURE__*/React.createElement("span", {
|
package/es/Card/Card.module.css
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
4
|
.scroll {
|
|
5
|
-
/* background: var(--
|
|
5
|
+
/* background: var(--dot_white);
|
|
6
6
|
position: relative; */
|
|
7
7
|
}
|
|
8
|
-
/*
|
|
8
|
+
/*
|
|
9
9
|
.scroll::after {
|
|
10
|
-
box-shadow: 0 0 6px var(--
|
|
10
|
+
box-shadow: 0 0 6px var(--zd_dark10);
|
|
11
11
|
border-radius: 100px / 10px;
|
|
12
12
|
content: '';
|
|
13
13
|
left: var(--zd_size50);
|
|
@@ -12,15 +12,15 @@ export default class Card__Default extends Component {
|
|
|
12
12
|
isScrollAttribute: true
|
|
13
13
|
}, /*#__PURE__*/React.createElement(CardHeader, null, /*#__PURE__*/React.createElement(Box, {
|
|
14
14
|
style: {
|
|
15
|
-
color: 'var(--
|
|
16
|
-
background: 'var(--
|
|
15
|
+
color: 'var(--dot_white)',
|
|
16
|
+
background: 'var(--dot_black)'
|
|
17
17
|
}
|
|
18
18
|
}, "Header")), /*#__PURE__*/React.createElement(CardContent, {
|
|
19
19
|
isScrollAttribute: true
|
|
20
20
|
}, /*#__PURE__*/React.createElement(Box, null, "What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32. What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32. What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.")), /*#__PURE__*/React.createElement(CardFooter, null, /*#__PURE__*/React.createElement(Box, {
|
|
21
21
|
style: {
|
|
22
|
-
color: 'var(--
|
|
23
|
-
background: 'var(--
|
|
22
|
+
color: 'var(--dot_white)',
|
|
23
|
+
background: 'var(--dot_black)'
|
|
24
24
|
}
|
|
25
25
|
}, "Footer")))));
|
|
26
26
|
}
|
|
@@ -30,8 +30,8 @@ export default class Card__Scroll extends Component {
|
|
|
30
30
|
fetchData: this.fetchData
|
|
31
31
|
}, /*#__PURE__*/React.createElement(CardHeader, null, /*#__PURE__*/React.createElement(Box, {
|
|
32
32
|
style: {
|
|
33
|
-
color: 'var(--
|
|
34
|
-
background: 'var(--
|
|
33
|
+
color: 'var(--dot_white)',
|
|
34
|
+
background: 'var(--dot_black)'
|
|
35
35
|
}
|
|
36
36
|
}, "Header")), /*#__PURE__*/React.createElement(CardContent, null, data.map((val, index) => /*#__PURE__*/React.createElement("div", {
|
|
37
37
|
key: index,
|
|
@@ -41,8 +41,8 @@ export default class Card__Scroll extends Component {
|
|
|
41
41
|
}
|
|
42
42
|
}, val))), /*#__PURE__*/React.createElement(CardFooter, null, /*#__PURE__*/React.createElement(Box, {
|
|
43
43
|
style: {
|
|
44
|
-
color: 'var(--
|
|
45
|
-
background: 'var(--
|
|
44
|
+
color: 'var(--dot_white)',
|
|
45
|
+
background: 'var(--dot_black)'
|
|
46
46
|
}
|
|
47
47
|
}, "Footer"))));
|
|
48
48
|
}
|
|
@@ -40,7 +40,7 @@ export default class Layout__three_Column extends React.Component {
|
|
|
40
40
|
hidden: ['xs']
|
|
41
41
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42
42
|
style: {
|
|
43
|
-
background: 'var(--
|
|
43
|
+
background: 'var(--dot_black)',
|
|
44
44
|
width: '220px',
|
|
45
45
|
height: '100%'
|
|
46
46
|
}
|
|
@@ -292,7 +292,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
292
292
|
} = this.props;
|
|
293
293
|
const highLightedSelectOptionsLen = highLightedSelectOptions.length;
|
|
294
294
|
|
|
295
|
-
if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27)) {
|
|
295
|
+
if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27 || keyCode === 9)) {
|
|
296
296
|
suggestions = this.handleFilterSuggestions();
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -420,6 +420,13 @@ export class MultiSelectComponent extends React.Component {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
} else if (keyCode === 27) {// this.handlePopupClose(e);
|
|
423
|
+
} else if (keyCode === 9) {
|
|
424
|
+
const selectedOption = suggestions[hoverOption] || {};
|
|
425
|
+
const {
|
|
426
|
+
id
|
|
427
|
+
} = selectedOption;
|
|
428
|
+
isPopupOpen && !getIsEmptyValue(id) && this.handleSelectOption(id, e);
|
|
429
|
+
this.handlePopupClose(e);
|
|
423
430
|
}
|
|
424
431
|
}
|
|
425
432
|
|
|
@@ -86,7 +86,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
86
86
|
fontSize: '13px',
|
|
87
87
|
padding: '4px 9px 7px',
|
|
88
88
|
cursor: 'pointer',
|
|
89
|
-
color: 'var(--
|
|
89
|
+
color: 'var(--dot_strongGreen)'
|
|
90
90
|
}
|
|
91
91
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
92
92
|
style: {
|
|
@@ -100,7 +100,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
100
100
|
fontSize: '13px',
|
|
101
101
|
padding: '4px 9px 7px',
|
|
102
102
|
cursor: 'pointer',
|
|
103
|
-
color: 'var(--
|
|
103
|
+
color: 'var(--dot_brightRed)'
|
|
104
104
|
}
|
|
105
105
|
}, "Danger")))), /*#__PURE__*/React.createElement("div", {
|
|
106
106
|
style: boxStyle
|
|
@@ -162,7 +162,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
162
162
|
fontSize: '13px',
|
|
163
163
|
padding: '4px 9px 7px',
|
|
164
164
|
cursor: 'pointer',
|
|
165
|
-
color: 'var(--
|
|
165
|
+
color: 'var(--dot_strongGreen)'
|
|
166
166
|
}
|
|
167
167
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
168
168
|
style: {
|
|
@@ -177,7 +177,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
177
177
|
fontSize: '13px',
|
|
178
178
|
padding: '4px 9px 7px',
|
|
179
179
|
cursor: 'pointer',
|
|
180
|
-
color: 'var(--
|
|
180
|
+
color: 'var(--dot_brightRed)'
|
|
181
181
|
}
|
|
182
182
|
}, "Danger")))), /*#__PURE__*/React.createElement("div", {
|
|
183
183
|
style: boxStyle
|
|
@@ -223,7 +223,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
223
223
|
fontSize: '13px',
|
|
224
224
|
padding: '4px 9px 7px',
|
|
225
225
|
cursor: 'pointer',
|
|
226
|
-
color: 'var(--
|
|
226
|
+
color: 'var(--dot_strongGreen)'
|
|
227
227
|
}
|
|
228
228
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
229
229
|
style: {
|
|
@@ -238,7 +238,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
238
238
|
fontSize: '13px',
|
|
239
239
|
padding: '4px 9px 7px',
|
|
240
240
|
cursor: 'pointer',
|
|
241
|
-
color: 'var(--
|
|
241
|
+
color: 'var(--dot_brightRed)'
|
|
242
242
|
}
|
|
243
243
|
}, "Danger"))), /*#__PURE__*/React.createElement("div", {
|
|
244
244
|
style: {
|
|
@@ -328,7 +328,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
328
328
|
style: {
|
|
329
329
|
fontSize: '13px',
|
|
330
330
|
padding: '4px 9px 7px',
|
|
331
|
-
color: 'var(--
|
|
331
|
+
color: 'var(--dot_strongGreen)'
|
|
332
332
|
}
|
|
333
333
|
}, "Green")))), /*#__PURE__*/React.createElement("div", {
|
|
334
334
|
style: boxStyle
|
|
@@ -405,7 +405,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
405
405
|
fontSize: '13px',
|
|
406
406
|
padding: '4px 9px 7px',
|
|
407
407
|
cursor: 'pointer',
|
|
408
|
-
color: 'var(--
|
|
408
|
+
color: 'var(--dot_strongGreen)'
|
|
409
409
|
}
|
|
410
410
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
411
411
|
style: {
|
package/es/Select/Select.js
CHANGED
|
@@ -346,6 +346,20 @@ export class SelectComponent extends Component {
|
|
|
346
346
|
this.valueInput && this.valueInput.focus({
|
|
347
347
|
preventScroll: true
|
|
348
348
|
}); //this.handlePopupClose(e);
|
|
349
|
+
} else if (keyCode === 9) {
|
|
350
|
+
let option = options[hoverIndex];
|
|
351
|
+
let {
|
|
352
|
+
id
|
|
353
|
+
} = option || {};
|
|
354
|
+
|
|
355
|
+
if (isPopupOpen && !getIsEmptyValue(id)) {
|
|
356
|
+
onChange && onChange(id, optionsNormalize[id]);
|
|
357
|
+
needCloseOnSelect && this.handlePopupClose(e);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (!isPopupOpen && isPopupOpenOnEnter) {
|
|
361
|
+
this.togglePopup(e);
|
|
362
|
+
}
|
|
349
363
|
}
|
|
350
364
|
}
|
|
351
365
|
|
|
@@ -56,9 +56,9 @@ export default class VelocityAnimation__demo extends React.Component {
|
|
|
56
56
|
let animate = {
|
|
57
57
|
width: '200px',
|
|
58
58
|
height: '100px',
|
|
59
|
-
background: 'var(--
|
|
59
|
+
background: 'var(--dot_black)',
|
|
60
60
|
textAlign: 'center',
|
|
61
|
-
color: 'var(--
|
|
61
|
+
color: 'var(--dot_white)',
|
|
62
62
|
lineHeight: '100px'
|
|
63
63
|
};
|
|
64
64
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js
CHANGED
|
@@ -76,9 +76,9 @@ export default class VelocityAnimationGroup__demo extends React.Component {
|
|
|
76
76
|
let animate = {
|
|
77
77
|
width: '200px',
|
|
78
78
|
height: '100px',
|
|
79
|
-
background: 'var(--
|
|
79
|
+
background: 'var(--dot_black)',
|
|
80
80
|
textAlign: 'center',
|
|
81
|
-
color: 'var(--
|
|
81
|
+
color: 'var(--dot_white)',
|
|
82
82
|
lineHeight: '100px'
|
|
83
83
|
},
|
|
84
84
|
field = {
|
|
@@ -86,16 +86,16 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.blue {
|
|
89
|
-
color: var(--
|
|
89
|
+
color: var(--zd_prime);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.dark {
|
|
93
|
-
background-color: var(--
|
|
93
|
+
background-color: var(--dot_black);
|
|
94
94
|
composes: p10;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.table {
|
|
98
|
-
border: 1px solid var(--
|
|
98
|
+
border: 1px solid var(--zd_smoke84);
|
|
99
99
|
border-radius: 3px;
|
|
100
100
|
composes: p10;
|
|
101
101
|
composes: cboth;
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
.tableheading {
|
|
110
110
|
composes: blue;
|
|
111
|
-
background:
|
|
111
|
+
background:var(--zd_smoke1);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.palette {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
composes: p10;
|
|
118
118
|
composes: m10;
|
|
119
119
|
width: 200px;
|
|
120
|
-
border: 1px solid var(--
|
|
120
|
+
border: 1px solid var(--zd_smoke83);
|
|
121
121
|
border-radius: 3px;
|
|
122
122
|
composes: tcenter;
|
|
123
123
|
font-weight: bold;
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
|
|
126
126
|
.palette .palettecard {
|
|
127
127
|
height: 80px;
|
|
128
|
-
border: 1px solid var(--
|
|
128
|
+
border: 1px solid var(--zd_smoke83);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.palette span {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
|
|
137
137
|
.fontlist {
|
|
138
138
|
composes: tcenter;
|
|
139
|
-
border: 1px solid var(--
|
|
139
|
+
border: 1px solid var(--zd_smoke83);
|
|
140
140
|
border-radius: 3px;
|
|
141
141
|
composes: p10;
|
|
142
142
|
composes: m10;
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.cover {
|
|
151
|
-
border: 1px solid var(--
|
|
151
|
+
border: 1px solid var(--zd_smoke1);
|
|
152
152
|
composes: p10;
|
|
153
153
|
composes: m10;
|
|
154
154
|
border-radius: 5px;
|
|
@@ -712,4 +712,4 @@
|
|
|
712
712
|
--textarea_border_color: hsl(var(--hue), 100%, 80%);
|
|
713
713
|
--textarea_text_color: hsl(var(--hue), 100%, 80%);
|
|
714
714
|
--textarea_padding: 2px 10px;
|
|
715
|
-
}
|
|
715
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-45",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"jsnext:main": "es/index.js",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
37
|
-
"@zohodesk/variables": "1.0.0-beta.
|
|
37
|
+
"@zohodesk/variables": "1.0.0-beta.26",
|
|
38
38
|
"@zohodesk/icons": "1.0.0-beta.85",
|
|
39
39
|
"@zohodesk/virtualizer": "1.0.3",
|
|
40
40
|
"velocity-react": "^1.4.1",
|
|
41
41
|
"react-sortable-hoc": "^0.8.3",
|
|
42
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
42
|
+
"@zohodesk/svg": "1.0.0-beta.38"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"hoist-non-react-statics": "3.0.1",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@zohodesk/icons": "^1.0.0-beta.85",
|
|
52
|
-
"@zohodesk/variables": "^1.0.0-beta.
|
|
52
|
+
"@zohodesk/variables": "^1.0.0-beta.26",
|
|
53
53
|
"@zohodesk/svg": "^1.0.0-beta.37",
|
|
54
54
|
"@zohodesk/virtualizer": "^1.0.3",
|
|
55
55
|
"velocity-react": "^1.4.1",
|