@zohodesk/components 1.0.0-alpha-243 → 1.0.0-alpha-246
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 +11 -0
- package/assets/Appearance/dark/mode/darkMode.module.css +1 -17
- package/assets/Appearance/default/mode/defaultMode.module.css +1 -17
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +3 -19
- package/es/CheckBox/CheckBox.module.css +12 -8
- package/es/LightNightMode/Colors.json +496 -397
- package/es/LightNightMode/docs/AlternativeColors.docs.js +21 -1
- package/es/ListItem/ListItem.module.css +12 -8
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +14 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +19 -7
- package/es/MultiSelect/MultiSelect.module.css +9 -1
- package/es/Radio/Radio.module.css +8 -6
- package/es/RippleEffect/RippleEffect.module.css +37 -15
- package/es/Switch/Switch.module.css +3 -2
- package/es/css.js +0 -1
- package/es/{MultiSelect → deprecated}/AdvancedMultiSelect.module.css +1 -1
- package/es/deprecated/advancedMultiSelectVariableJson.js +80 -0
- package/lib/CheckBox/CheckBox.module.css +12 -8
- package/lib/LightNightMode/Colors.json +496 -397
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +23 -1
- package/lib/ListItem/ListItem.module.css +12 -8
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +13 -7
- package/lib/MultiSelect/AdvancedMultiSelect.js +23 -12
- package/lib/MultiSelect/MultiSelect.module.css +9 -1
- package/lib/Radio/Radio.module.css +8 -6
- package/lib/RippleEffect/RippleEffect.module.css +37 -15
- package/lib/Switch/Switch.module.css +3 -2
- package/lib/css.js +0 -2
- package/lib/{MultiSelect → deprecated}/AdvancedMultiSelect.module.css +1 -1
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/package.json +2 -2
|
@@ -24,7 +24,10 @@ export default class AlternativeColors extends React.Component {
|
|
|
24
24
|
}, "Light Mode Colors"), /*#__PURE__*/React.createElement(Box, {
|
|
25
25
|
flexible: true,
|
|
26
26
|
className: style.rgt
|
|
27
|
-
}, "Alternate Night Mode Colors")
|
|
27
|
+
}, "Alternate Night Mode Colors"), /*#__PURE__*/React.createElement(Box, {
|
|
28
|
+
flexible: true,
|
|
29
|
+
className: style.rgt
|
|
30
|
+
}, "Alternate Pure Dark Mode Colors")), /*#__PURE__*/React.createElement(Container, {
|
|
28
31
|
alignBox: "row",
|
|
29
32
|
className: style.content
|
|
30
33
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -62,6 +65,23 @@ export default class AlternativeColors extends React.Component {
|
|
|
62
65
|
onClick: () => navigator.clipboard.writeText(clrValue),
|
|
63
66
|
"data-title": `Copy ${clrValue}`
|
|
64
67
|
}, clrValue));
|
|
68
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
69
|
+
flexible: true,
|
|
70
|
+
className: style.rgt
|
|
71
|
+
}, index.equalPureDarkColors.toString().split(", ").map((clrValue, j) => {
|
|
72
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
73
|
+
className: style.nestedDiv,
|
|
74
|
+
key: j
|
|
75
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
76
|
+
style: {
|
|
77
|
+
backgroundColor: `${clrValue}`
|
|
78
|
+
},
|
|
79
|
+
className: `${style.rect} ${style.gold}`
|
|
80
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
81
|
+
className: style.colorvalue,
|
|
82
|
+
onClick: () => navigator.clipboard.writeText(clrValue),
|
|
83
|
+
"data-title": `Copy ${clrValue}`
|
|
84
|
+
}, clrValue));
|
|
65
85
|
}))))))));
|
|
66
86
|
}
|
|
67
87
|
|
|
@@ -106,26 +106,30 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.defaultHover,
|
|
109
|
-
.defaultEffect:hover
|
|
110
|
-
.defaultEffect:focus
|
|
109
|
+
.defaultEffect:hover
|
|
110
|
+
/* .defaultEffect:focus */
|
|
111
|
+
{
|
|
111
112
|
--listitem_bg_color: var(--zdt_listitem_highlight_bg);
|
|
112
113
|
}
|
|
113
114
|
.primaryHover,
|
|
114
|
-
.primaryEffect:hover
|
|
115
|
-
.primaryEffect:focus
|
|
115
|
+
.primaryEffect:hover
|
|
116
|
+
/* .primaryEffect:focus */
|
|
117
|
+
{
|
|
116
118
|
--listitem_bg_color: var(--zdt_listitem_primary_bg);
|
|
117
119
|
--listitem_highlight_bg_color: var(--zdt_listitem_primary_bg);
|
|
118
120
|
}
|
|
119
121
|
.secondaryHover,
|
|
120
|
-
.secondaryEffect:hover
|
|
121
|
-
.secondaryEffect:focus
|
|
122
|
+
.secondaryEffect:hover
|
|
123
|
+
/* .secondaryEffect:focus */
|
|
124
|
+
{
|
|
122
125
|
--listitem_bg_color: var(--zdt_listitem_secondary_bg);
|
|
123
126
|
--listitem_highlight_bg_color: var(--zdt_listitem_secondary_bg);
|
|
124
127
|
--listitem_text_color: var(--zdt_listitem_secondary_text);
|
|
125
128
|
}
|
|
126
129
|
.darkHover,
|
|
127
|
-
.darkEffect:hover
|
|
128
|
-
.darkEffect:focus
|
|
130
|
+
.darkEffect:hover
|
|
131
|
+
/* .darkEffect:focus */
|
|
132
|
+
{
|
|
129
133
|
--listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
130
134
|
--listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
|
|
131
135
|
}
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
|
|
5
5
|
import Loader from '@zohodesk/svg/lib/svg/Loader';
|
|
6
6
|
import Popup from '../Popup/Popup';
|
|
7
|
-
import
|
|
7
|
+
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
8
8
|
import { Container, Box } from '../Layout';
|
|
9
9
|
import DropDownHeading from '../DropDown/DropDownHeading';
|
|
10
10
|
import MultiSelectHeader from '../MultiSelect/MultiSelectHeader';
|
|
@@ -897,6 +897,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
897
897
|
} = this.handleFilterSuggestions();
|
|
898
898
|
let setAriaId = this.getNextAriaId();
|
|
899
899
|
let ariaErrorId = this.getNextAriaId();
|
|
900
|
+
const isShowClearIcon = !isReadOnly && !isDisabled && selectedGroupOptions.length > 1;
|
|
900
901
|
return /*#__PURE__*/React.createElement("div", {
|
|
901
902
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
902
903
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
@@ -927,8 +928,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
927
928
|
adjust: true,
|
|
928
929
|
shrink: true
|
|
929
930
|
}, /*#__PURE__*/React.createElement("span", {
|
|
930
|
-
className: ` ${style.custmSpan} ${textBoxSize
|
|
931
|
-
|
|
931
|
+
className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
|
|
932
|
+
`
|
|
933
|
+
}, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
932
934
|
isDisabled: isDisabled,
|
|
933
935
|
inputRef: this.searchInputRef,
|
|
934
936
|
needBorder: false,
|
|
@@ -943,7 +945,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
943
945
|
variant: variant,
|
|
944
946
|
dataId: `${dataId}_textBox`,
|
|
945
947
|
isReadOnly: isReadOnly,
|
|
946
|
-
customClass:
|
|
948
|
+
customClass: {
|
|
949
|
+
customTBoxWrap: style.custmInputWrapper
|
|
950
|
+
},
|
|
947
951
|
tabindex: isDisabled && '-1',
|
|
948
952
|
htmlId: htmlId,
|
|
949
953
|
a11y: {
|
|
@@ -955,8 +959,11 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
955
959
|
ariaDescribedby: ariaErrorId
|
|
956
960
|
},
|
|
957
961
|
autoComplete: autoComplete
|
|
958
|
-
}
|
|
959
|
-
|
|
962
|
+
}, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
|
|
963
|
+
alignBox: "row",
|
|
964
|
+
align: "vertical"
|
|
965
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
966
|
+
className: `${style.delete} ${style[`${palette}Delete`]}`,
|
|
960
967
|
dataId: `${dataId}_clearIcon`,
|
|
961
968
|
"data-title": clearText,
|
|
962
969
|
onClick: this.handleDeselectAll,
|
|
@@ -965,7 +972,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
965
972
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
966
973
|
name: "ZD-delete",
|
|
967
974
|
size: "15"
|
|
968
|
-
})) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
975
|
+
}))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
969
976
|
query: this.responsiveFunc,
|
|
970
977
|
responsiveId: "Helmet"
|
|
971
978
|
}, _ref2 => {
|
|
@@ -11,7 +11,7 @@ import Suggestions from './Suggestions';
|
|
|
11
11
|
import EmptyState from './EmptyState';
|
|
12
12
|
import MultiSelectHeader from './MultiSelectHeader';
|
|
13
13
|
import Popup from '../Popup/Popup';
|
|
14
|
-
import
|
|
14
|
+
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
15
15
|
import { Container, Box } from '../Layout';
|
|
16
16
|
import Card, { CardContent, CardHeader, CardFooter } from '../Card/Card';
|
|
17
17
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
@@ -20,7 +20,7 @@ import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
|
|
|
20
20
|
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
21
21
|
/**** CSS ****/
|
|
22
22
|
|
|
23
|
-
import style from './
|
|
23
|
+
import style from './MultiSelect.module.css';
|
|
24
24
|
/**** Methods ****/
|
|
25
25
|
|
|
26
26
|
import { getIsEmptyValue, getSearchString } from '../utils/Common.js';
|
|
@@ -428,8 +428,14 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
428
428
|
onClick: this.handleMoreClick,
|
|
429
429
|
tagName: "button"
|
|
430
430
|
}, `+ ${moreCount} More`) : null, /*#__PURE__*/React.createElement(Box, {
|
|
431
|
-
flexible: true
|
|
432
|
-
|
|
431
|
+
flexible: true,
|
|
432
|
+
className: style.wrapper,
|
|
433
|
+
adjust: true,
|
|
434
|
+
shrink: true
|
|
435
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
436
|
+
className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
|
|
437
|
+
`
|
|
438
|
+
}, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
433
439
|
isDisabled: isDisabled,
|
|
434
440
|
inputRef: this.searchInputRef,
|
|
435
441
|
needBorder: false,
|
|
@@ -444,6 +450,9 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
444
450
|
variant: variant,
|
|
445
451
|
isReadOnly: isReadOnly,
|
|
446
452
|
tabindex: isDisabled && '-1',
|
|
453
|
+
customClass: {
|
|
454
|
+
customTBoxWrap: style.custmInputWrapper
|
|
455
|
+
},
|
|
447
456
|
htmlId: htmlId,
|
|
448
457
|
a11y: {
|
|
449
458
|
role: 'combobox',
|
|
@@ -454,8 +463,11 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
454
463
|
ariaDescribedby: ariaErrorId
|
|
455
464
|
},
|
|
456
465
|
autoComplete: false
|
|
457
|
-
}
|
|
458
|
-
|
|
466
|
+
}, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
|
|
467
|
+
alignBox: "row",
|
|
468
|
+
align: "vertical"
|
|
469
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
470
|
+
className: `${style.delete}`,
|
|
459
471
|
dataId: dataIdClearIcon,
|
|
460
472
|
"data-title": clearText,
|
|
461
473
|
onClick: this.handleDeselectAll,
|
|
@@ -464,7 +476,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
464
476
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
465
477
|
name: "ZD-delete",
|
|
466
478
|
size: "15"
|
|
467
|
-
})) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
479
|
+
}))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
468
480
|
query: this.responsiveFunc,
|
|
469
481
|
responsiveId: "Helmet"
|
|
470
482
|
}, _ref2 => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
|
|
5
4
|
.disabled, .readOnly {
|
|
6
5
|
cursor: not-allowed;
|
|
7
6
|
}
|
|
@@ -195,4 +194,13 @@
|
|
|
195
194
|
}
|
|
196
195
|
.search{
|
|
197
196
|
padding: 0px 20px;
|
|
197
|
+
}
|
|
198
|
+
.more {
|
|
199
|
+
font-size: var(--zd_font_size14);
|
|
200
|
+
color: var(--zdt_multiselect_more_text);
|
|
201
|
+
font-family: inherit;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
margin-top: var(--zd_size5);
|
|
204
|
+
background-color: var(--zdt_multiselect_delete_bg);
|
|
205
|
+
border: 0;
|
|
198
206
|
}
|
|
@@ -67,14 +67,16 @@
|
|
|
67
67
|
animation: circleAnimate var(--zd_transition3) ease forwards;
|
|
68
68
|
}
|
|
69
69
|
.rdBoxprimary,
|
|
70
|
-
.hoverEfffect:hover .hoverprimary
|
|
71
|
-
.hoverEfffect:focus .hoverprimary
|
|
70
|
+
.hoverEfffect:hover .hoverprimary
|
|
71
|
+
/* .hoverEfffect:focus .hoverprimary */
|
|
72
|
+
{
|
|
72
73
|
--radio_stroke_color: var(--zdt_radio_primary_stroke);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.rdBoxdanger,
|
|
76
|
-
.hoverEfffect:hover .hoverdanger
|
|
77
|
-
.hoverEfffect:focus .hoverdanger
|
|
77
|
+
.hoverEfffect:hover .hoverdanger
|
|
78
|
+
/* .hoverEfffect:focus .hoverdanger */
|
|
79
|
+
{
|
|
78
80
|
--radio_stroke_color: var(--zdt_radio_danger_stroke);
|
|
79
81
|
}
|
|
80
82
|
|
|
@@ -86,13 +88,13 @@
|
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
.active:hover .primaryLabel,
|
|
89
|
-
.active:focus .primaryLabel,
|
|
91
|
+
/* .active:focus .primaryLabel, */
|
|
90
92
|
.primarycheckedActive {
|
|
91
93
|
--label_text_color: var(--zdt_radio_label_primary_text);
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
.active:hover .dangerLabel,
|
|
95
|
-
.active:focus .dangerLabel,
|
|
97
|
+
/* .active:focus .dangerLabel, */
|
|
96
98
|
.dangercheckedActive {
|
|
97
99
|
--label_text_color: var(--zdt_radio_label_danger_text);
|
|
98
100
|
}
|
|
@@ -8,43 +8,61 @@
|
|
|
8
8
|
.default.defaultHover {
|
|
9
9
|
border-color: var(--zdt_rippleeffect_hover_border);
|
|
10
10
|
}
|
|
11
|
-
.hoverEffect:hover.primary.defaultHover, .hoverEffect:
|
|
11
|
+
.hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
|
|
12
|
+
/* .hoverEffect:focus.primary.borderHover */
|
|
13
|
+
{
|
|
12
14
|
border-color: var(--zdt_rippleeffect_primary_border);
|
|
13
15
|
}
|
|
14
|
-
.primary.defaultHover, .hoverEffect:hover.primary.active.border
|
|
16
|
+
.primary.defaultHover, .hoverEffect:hover.primary.active.border
|
|
17
|
+
/* .hoverEffect:focus.primary.active.border */
|
|
18
|
+
{
|
|
15
19
|
border-color: var(--zdt_rippleeffect_primary_active_border);
|
|
16
20
|
}
|
|
17
|
-
.primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
|
|
21
|
+
.primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
|
|
22
|
+
/* .hoverEffect:focus.primaryLight.borderHover */
|
|
23
|
+
{
|
|
18
24
|
border-color: var(--zdt_rippleeffect_primary_light_border);
|
|
19
25
|
}
|
|
20
|
-
.green.defaultHover, .hoverEffect:hover.green.borderHover
|
|
26
|
+
.green.defaultHover, .hoverEffect:hover.green.borderHover
|
|
27
|
+
/* .hoverEffect:focus.green.borderHover */
|
|
28
|
+
{
|
|
21
29
|
border-color: var(--zdt_rippleeffect_green_border);
|
|
22
30
|
}
|
|
23
|
-
.hoverEffect:hover.default.defaultHover
|
|
31
|
+
.hoverEffect:hover.default.defaultHover
|
|
32
|
+
/* .hoverEffect:focus.default.defaultHover */
|
|
33
|
+
{
|
|
24
34
|
border-color: var(--zdt_rippleeffect_slate_border);
|
|
25
35
|
}
|
|
26
|
-
.hoverEffect:hover.default.borderHover
|
|
36
|
+
.hoverEffect:hover.default.borderHover
|
|
37
|
+
/* .hoverEffect:focus.default.borderHover */
|
|
38
|
+
{
|
|
27
39
|
border-color: var(--zdt_rippleeffect_navy_border);
|
|
28
40
|
}
|
|
29
|
-
.hoverEffect:hover.default.bgHover
|
|
41
|
+
.hoverEffect:hover.default.bgHover
|
|
42
|
+
/* .hoverEffect:focus.default.bgHover */
|
|
43
|
+
{
|
|
30
44
|
background-color: var(--zdt_rippleeffect_hover_bg);
|
|
31
45
|
}
|
|
32
|
-
.hoverEffect:hover.primaryLight.bgHover
|
|
46
|
+
.hoverEffect:hover.primaryLight.bgHover
|
|
47
|
+
/* .hoverEffect:focus.primaryLight.bgHover */
|
|
48
|
+
{
|
|
33
49
|
background-color: var(--zdt_rippleeffect_primary_light_bg);
|
|
34
50
|
}
|
|
35
51
|
.primaryFilled {
|
|
36
52
|
background-color: var(--zdt_rippleeffect_primary_bg);
|
|
37
53
|
}
|
|
38
|
-
.hoverEffect:hover.primaryFilled, .
|
|
54
|
+
.hoverEffect:hover.primaryFilled, .primaryFilled.active {
|
|
39
55
|
background-color: var(--zdt_rippleeffect_primaryfilled_bg);
|
|
40
56
|
}
|
|
41
|
-
.hoverEffect:hover.green.bgHover
|
|
57
|
+
.hoverEffect:hover.green.bgHover
|
|
58
|
+
/* .hoverEffect:focus.green.bgHover */
|
|
59
|
+
{
|
|
42
60
|
background-color: var(--zdt_rippleeffect_green_bg);
|
|
43
61
|
}
|
|
44
|
-
.default.active, .hoverEffect:hover.default.active, .
|
|
62
|
+
.default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
|
|
45
63
|
background-color: var(--zdt_rippleeffect_primary_light_bg);
|
|
46
64
|
}
|
|
47
|
-
.default.active.border, .hoverEffect:hover.default.active.border, .
|
|
65
|
+
.default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
|
|
48
66
|
border-color: var(--zdt_rippleeffect_primary_light_border);
|
|
49
67
|
}
|
|
50
68
|
.green.active {
|
|
@@ -56,13 +74,17 @@
|
|
|
56
74
|
.primary.active {
|
|
57
75
|
background-color: var(--zdt_rippleeffect_primary_bg);
|
|
58
76
|
}
|
|
59
|
-
.danger.defaultHover, .hoverEffect:hover.danger.borderHover
|
|
77
|
+
.danger.defaultHover, .hoverEffect:hover.danger.borderHover
|
|
78
|
+
/* .hoverEffect:focus.danger.borderHover */
|
|
79
|
+
{
|
|
60
80
|
border-color: var(--zdt_rippleeffect_danger_border);
|
|
61
81
|
}
|
|
62
|
-
.hoverEffect:hover.danger.bgHover, .
|
|
82
|
+
.hoverEffect:hover.danger.bgHover, .danger.active {
|
|
63
83
|
background-color: var(--zdt_rippleeffect_danger_bg);
|
|
64
84
|
}
|
|
65
|
-
.hoverEffect:hover.primaryDark.bgHover
|
|
85
|
+
.hoverEffect:hover.primaryDark.bgHover
|
|
86
|
+
/* .hoverEffect:focus.primaryDark.bgHover */
|
|
87
|
+
{
|
|
66
88
|
background-color: var(--zdt_rippleeffect_primary_dark_bg);
|
|
67
89
|
}
|
|
68
90
|
.notAllowed {
|
package/es/css.js
CHANGED
|
@@ -25,7 +25,6 @@ import './Tab/TabContent.module.css';
|
|
|
25
25
|
import './TextBoxIcon/TextBoxIcon.module.css';
|
|
26
26
|
import './Ribbon/Ribbon.module.css';
|
|
27
27
|
import './MultiSelect/MultiSelect.module.css';
|
|
28
|
-
import './MultiSelect/AdvancedMultiSelect.module.css';
|
|
29
28
|
import './Select/Select.module.css';
|
|
30
29
|
import './ListItem/ListItem.module.css';
|
|
31
30
|
import './Tag/Tag.module.css';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const componentAppearanceVariables = [{
|
|
2
|
+
"comment": "advanced multiselect",
|
|
3
|
+
"data": {
|
|
4
|
+
"zdt_advancedmultiselect_default_border": {
|
|
5
|
+
'light': ['var(--dot_inputLine)'],
|
|
6
|
+
'dark': ['var(--dot_inputLine)'],
|
|
7
|
+
'pureDark': ['var(--dot_inputLine)']
|
|
8
|
+
},
|
|
9
|
+
"zdt_advancedmultiselect_transparent_border": {
|
|
10
|
+
'light': ['var(--dot_mirror)'],
|
|
11
|
+
'dark': ['var(--dot_mirror)'],
|
|
12
|
+
'pureDark': ['var(--dot_mirror)']
|
|
13
|
+
},
|
|
14
|
+
"zdt_advancedmultiselect_dark_border": {
|
|
15
|
+
'light': ['var(--dot_mulledwine)'],
|
|
16
|
+
'dark': ['var(--dot_mulledwine)'],
|
|
17
|
+
'pureDark': ['var(--dot_mulledwine)']
|
|
18
|
+
},
|
|
19
|
+
"zdt_advancedmultiselect_default_hover_border": {
|
|
20
|
+
'light': ['var(--dot_inputLineHover)'],
|
|
21
|
+
'dark': ['var(--dot_inputLineHover)'],
|
|
22
|
+
'pureDark': ['var(--dot_inputLineHover)']
|
|
23
|
+
},
|
|
24
|
+
"zdt_advancedmultiselect_transparent_hover_border": {
|
|
25
|
+
'light': ['var(--dot_inputLineHover)'],
|
|
26
|
+
'dark': ['var(--dot_inputLineHover)'],
|
|
27
|
+
'pureDark': ['var(--dot_inputLineHover)']
|
|
28
|
+
},
|
|
29
|
+
"zdt_advancedmultiselect_dark_hover_border": {
|
|
30
|
+
'light': ['var(--dot_stardust)'],
|
|
31
|
+
'dark': ['var(--dot_stardust)'],
|
|
32
|
+
'pureDark': ['var(--dot_stardust)']
|
|
33
|
+
},
|
|
34
|
+
"zdt_advancedmultiselect_default_active_border": {
|
|
35
|
+
'light': ['var(--dot_inputLineFocus)'],
|
|
36
|
+
'dark': ['var(--dot_inputLineFocus)'],
|
|
37
|
+
'pureDark': ['var(--dot_inputLineFocus)']
|
|
38
|
+
},
|
|
39
|
+
"zdt_advancedmultiselect_transparent_active_border": {
|
|
40
|
+
'light': ['var(--dot_inputLineFocus)'],
|
|
41
|
+
'dark': ['var(--dot_inputLineFocus)'],
|
|
42
|
+
'pureDark': ['var(--dot_inputLineFocus)']
|
|
43
|
+
},
|
|
44
|
+
"zdt_advancedmultiselect_dark_active_border": {
|
|
45
|
+
'light': ['var(--dot_stardust)'],
|
|
46
|
+
'dark': ['var(--dot_stardust)'],
|
|
47
|
+
'pureDark': ['var(--dot_stardust)']
|
|
48
|
+
},
|
|
49
|
+
"zdt_advancedmultiselect_delete_text": {
|
|
50
|
+
'light': ['var(--dot_shuttleGrey)'],
|
|
51
|
+
'dark': ['var(--dot_cadetblue)'],
|
|
52
|
+
'pureDark': ['#999']
|
|
53
|
+
},
|
|
54
|
+
"zdt_advancedmultiselect_delete_hover_text": {
|
|
55
|
+
'light': ['var(--dot_black)'],
|
|
56
|
+
'dark': ['var(--dot_platinum)'],
|
|
57
|
+
'pureDark': ['var(--dot_platinum)']
|
|
58
|
+
},
|
|
59
|
+
"zdt_advancedmultiselect_delete_bg": {
|
|
60
|
+
'light': ['var(--dot_mirror)'],
|
|
61
|
+
'dark': ['var(--dot_mirror)'],
|
|
62
|
+
'pureDark': ['var(--dot_mirror)']
|
|
63
|
+
},
|
|
64
|
+
"zdt_advancedmultiselect_box_bg": {
|
|
65
|
+
'light': ['var(--dot_white)'],
|
|
66
|
+
'dark': ['var(--dot_ebonyclay)'],
|
|
67
|
+
'pureDark': ['#212121']
|
|
68
|
+
},
|
|
69
|
+
"zdt_advancedmultiselect_droppopup_text": {
|
|
70
|
+
'light': ['var(--dot_slateGrey)'],
|
|
71
|
+
'dark': ['var(--dot_oslogrey)'],
|
|
72
|
+
'pureDark': ['var(--dot_oslogrey)']
|
|
73
|
+
},
|
|
74
|
+
"zdt_advancedmultiselect_more_text": {
|
|
75
|
+
'light': ['var(--zdt_cta_primary_text)'],
|
|
76
|
+
'dark': ['var(--zdt_cta_primary_text)'],
|
|
77
|
+
'pureDark': ['var(--zdt_cta_primary_text)']
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}];
|
|
@@ -101,15 +101,17 @@
|
|
|
101
101
|
.checkeddanger {
|
|
102
102
|
stroke: var(--checkbox_checked_stroke_color);
|
|
103
103
|
}
|
|
104
|
-
.primary:hover
|
|
105
|
-
.primary:focus
|
|
104
|
+
.primary:hover
|
|
105
|
+
/* .primary:focus */
|
|
106
|
+
{
|
|
106
107
|
--checkbox_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
107
108
|
}
|
|
108
109
|
.checkedprimary {
|
|
109
110
|
--checkbox_checked_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
110
111
|
}
|
|
111
|
-
.danger:hover
|
|
112
|
-
.danger:focus
|
|
112
|
+
.danger:hover
|
|
113
|
+
/* .danger:focus */
|
|
114
|
+
{
|
|
113
115
|
--checkbox_stroke_color: var(--zdt_checkbox_danger_stroke_border);
|
|
114
116
|
}
|
|
115
117
|
.checkeddanger {
|
|
@@ -120,15 +122,17 @@
|
|
|
120
122
|
.checkeddangerLabel {
|
|
121
123
|
color: var(--checkbox_checked_active_color);
|
|
122
124
|
}
|
|
123
|
-
.activeprimaryLabel:hover
|
|
124
|
-
.activeprimaryLabel:focus
|
|
125
|
+
.activeprimaryLabel:hover
|
|
126
|
+
/* .activeprimaryLabel:focus */
|
|
127
|
+
{
|
|
125
128
|
--label_text_color: var(--zdt_checkbox_label_primary_text);
|
|
126
129
|
}
|
|
127
130
|
.checkedprimaryLabel {
|
|
128
131
|
--checkbox_checked_active_color: var(--zdt_checkbox_primary_stroke_border);
|
|
129
132
|
}
|
|
130
|
-
.activedangerLabel:hover
|
|
131
|
-
.activedangerLabel:focus
|
|
133
|
+
.activedangerLabel:hover
|
|
134
|
+
/* .activedangerLabel:focus */
|
|
135
|
+
{
|
|
132
136
|
--label_text_color: var(--zdt_checkbox_label_danger_text);
|
|
133
137
|
}
|
|
134
138
|
.checkeddangerLabel {
|