@zohodesk/components 1.0.0-alpha-234 → 1.0.0-alpha-235

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.
Files changed (52) hide show
  1. package/README.md +6 -0
  2. package/es/AppContainer/AppContainer.js +1 -1
  3. package/es/Avatar/Avatar.module.css +9 -11
  4. package/es/AvatarTeam/AvatarTeam.module.css +7 -21
  5. package/es/Button/Button.module.css +24 -97
  6. package/es/Buttongroup/Buttongroup.module.css +8 -37
  7. package/es/CheckBox/CheckBox.module.css +11 -17
  8. package/es/DateTime/DateTime.module.css +12 -39
  9. package/es/DateTime/DateWidget.module.css +5 -9
  10. package/es/DateTime/YearView.module.css +6 -16
  11. package/es/DropBox/DropBox.module.css +11 -47
  12. package/es/DropDown/DropDownHeading.module.css +3 -7
  13. package/es/DropDown/DropDownItem.module.css +6 -32
  14. package/es/ListItem/ListItem.module.css +25 -57
  15. package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -22
  16. package/es/MultiSelect/MultiSelect.module.css +10 -27
  17. package/es/MultiSelect/SelectedOptions.module.css +2 -8
  18. package/es/PopOver/PopOver.module.css +1 -1
  19. package/es/Provider/Config.js +3 -1
  20. package/es/Radio/Radio.module.css +4 -10
  21. package/es/Ribbon/Ribbon.module.css +28 -93
  22. package/es/RippleEffect/RippleEffect.module.css +44 -15
  23. package/es/Select/Select.module.css +2 -12
  24. package/es/Stencils/Stencils.module.css +3 -21
  25. package/es/Switch/Switch.module.css +7 -6
  26. package/es/Tab/Tab.module.css +7 -16
  27. package/es/Tab/Tabs.module.css +8 -41
  28. package/es/Tag/Tag.module.css +14 -36
  29. package/es/TextBox/TextBox.module.css +11 -7
  30. package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
  31. package/es/Textarea/Textarea.module.css +7 -6
  32. package/es/Tooltip/Tooltip.js +14 -8
  33. package/es/Tooltip/Tooltip.module.css +14 -10
  34. package/es/beta/FocusRing/FocusRing.module.css +26 -51
  35. package/es/common/animation.module.css +21 -219
  36. package/es/common/basicReset.module.css +12 -2
  37. package/es/common/common.module.css +18 -62
  38. package/es/common/customscroll.module.css +21 -17
  39. package/es/common/docStyle.module.css +31 -78
  40. package/es/common/transition.module.css +10 -50
  41. package/es/semantic/Button/semanticButton.module.css +3 -3
  42. package/lib/DropBox/DropBox.js +1 -1
  43. package/lib/ListItem/ListContainer.js +4 -7
  44. package/lib/ListItem/ListItem.js +1 -1
  45. package/lib/ListItem/ListItem.module.css +10 -5
  46. package/lib/ListItem/ListItemWithAvatar.js +1 -1
  47. package/lib/ListItem/ListItemWithCheckBox.js +1 -1
  48. package/lib/ListItem/ListItemWithIcon.js +1 -1
  49. package/lib/ListItem/ListItemWithRadio.js +1 -1
  50. package/lib/MultiSelect/MultiSelect.js +4 -0
  51. package/lib/Select/GroupSelect.js +1 -1
  52. package/package.json +1 -1
@@ -1,30 +1,25 @@
1
- [dir=ltr] .boxPadding {
1
+ .boxPadding {
2
2
  padding-right: var(--zd_size19);
3
3
  padding-left: var(--zd_size19);
4
- }[dir=rtl] .boxPadding {
5
- padding-left: var(--zd_size19);
6
- padding-right: var(--zd_size19);
7
4
  }
8
5
  .month {
9
6
  width: 30.333%;
10
- font-size: var(--zd_font_size12);
11
- line-height: var(--zd_size26);
12
- height: var(--zd_size26);
13
7
  text-align: center;
14
8
  margin: 0 0 var(--zd_size1);
15
9
  cursor: pointer;
16
10
  background-color: var(--zdt_yearview_month_bg);
17
11
  border-radius: 20px;
12
+ font-size: var(--zd_font_size12);
13
+ line-height: var(--zd_size26);
14
+ height: var(--zd_size26);
18
15
  }
19
16
  .month:hover {
20
17
  background-color: var(--zdt_yearview_month_hover_bg);
21
18
  }
22
19
  .currentMonth,
23
20
  .currentMonth:hover {
24
- color: var(--zdt_yearview_currentmonth_text);
25
- }
26
- .currentMonth, .currentMonth:hover {
27
21
  background-color: var(--zdt_yearview_currentmonth_bg);
22
+ color: var(--zdt_yearview_currentmonth_text);
28
23
  }
29
24
  .yearBox {
30
25
  border-bottom: 1px dotted var(--zdt_yearview_yearbox_border);
@@ -53,13 +48,8 @@
53
48
  color: var(--zdt_yearview_year_hover_text);
54
49
  }
55
50
  .arrowActive {
56
- color: var(--zdt_yearview_year_hover_text);
57
- }
58
- [dir=ltr] .arrowActive {
59
51
  transform: rotate(180deg);
60
- }
61
- [dir=rtl] .arrowActive {
62
- transform: rotate(-180deg);
52
+ color: var(--zdt_yearview_year_hover_text);
63
53
  }
64
54
  .container {
65
55
  height: 100%;
@@ -28,7 +28,8 @@
28
28
  padding: var(--dropbox_padding);
29
29
  box-shadow: var(--dropbox_box_shadow);
30
30
  }
31
- .defaultPalette, .darkPalette {
31
+ .defaultPalette,
32
+ .darkPalette {
32
33
  background-color: var(--dropbox_bg_color);
33
34
  }
34
35
  .radius {
@@ -83,13 +84,11 @@
83
84
  .bottom_shadow {
84
85
  --dropbox_box_shadow: 0 3px 30px var(--zdt_dropbox_default_box_shadow);
85
86
  }
86
- [dir=ltr] .defaultShadow {
87
+ .defaultShadow {
87
88
  box-shadow: 4px 3px 30px var(--zdt_dropbox_default_box_shadow);
88
89
  }
89
- [dir=rtl] .defaultShadow {
90
- box-shadow: -4px 3px 30px var(--zdt_dropbox_default_box_shadow);
91
- }
92
90
  /* box direction styles */
91
+ /*rtl:begin:ignore*/
93
92
  .topStart {
94
93
  bottom: 100%;
95
94
  right: 0;
@@ -273,6 +272,7 @@
273
272
  bottom: var(--zd_size28);
274
273
  transform: rotate(-90deg) translateX(-50%);
275
274
  }
275
+ /*rtl:end:ignore*/
276
276
  .hidden {
277
277
  visibility: hidden;
278
278
  opacity: 0;
@@ -282,10 +282,7 @@
282
282
  .hidden .subContainer {
283
283
  box-shadow: none;
284
284
  }
285
- [dir=ltr] .animationBasic {
286
- animation-duration: var(--zd_transition2);
287
- }
288
- [dir=rtl] .animationBasic {
285
+ .animationBasic {
289
286
  animation-duration: var(--zd_transition2);
290
287
  }
291
288
  .fadeIn {
@@ -294,24 +291,11 @@
294
291
  }
295
292
  .bounce {
296
293
  composes: animationBasic;
297
- }
298
- [dir=ltr] .bounce {
299
- animation-name: animation;
300
- animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
301
- }
302
- [dir=rtl] .bounce {
303
294
  animation-name: animation;
304
295
  animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
305
296
  }
306
297
  .slideUp {
307
298
  composes: modeForward from '../common/animation.module.css';
308
- }
309
- [dir=ltr] .slideUp {
310
- animation-duration: var(--zd_transition3);
311
- animation-name: slideUp;
312
- animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1);
313
- }
314
- [dir=rtl] .slideUp {
315
299
  animation-duration: var(--zd_transition3);
316
300
  animation-name: slideUp;
317
301
  animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1);
@@ -341,23 +325,16 @@
341
325
  .responsive {
342
326
  position: absolute;
343
327
  bottom: 0;
328
+ left: 0;
344
329
  width: 100%;
345
330
  max-height: 90%;
346
331
  }
347
332
 
348
- [dir=ltr] .responsive {
349
- left: 0;
350
- }
351
-
352
- [dir=rtl] .responsive {
353
- right: 0;
354
- }
355
-
356
333
  .closeBar {
357
334
  height: 6px;
358
- width: 20%;
359
335
  border-radius: 5px;
360
336
  background-color: var(--dropbox_mob_close_bg_color);
337
+ width: 20%;
361
338
  cursor: pointer;
362
339
  margin: 0 auto var(--zd_size10);
363
340
  }
@@ -369,31 +346,18 @@
369
346
  }
370
347
  .activateInDelay {
371
348
  composes: modeForward from '../common/animation.module.css';
372
- pointer-events: none;
373
- }
374
- [dir=ltr] .activateInDelay {
375
- animation-duration: var(--zd_transition1);
376
- animation-delay: var(--zd_transition2);
377
- animation-name: activateInDelay;
378
- }
379
- [dir=rtl] .activateInDelay {
380
349
  animation-duration: var(--zd_transition1);
381
350
  animation-delay: var(--zd_transition2);
351
+ pointer-events: none;
382
352
  animation-name: activateInDelay;
383
353
  }
384
354
  .freezeLayer {
385
355
  position: absolute;
386
356
  top: 0;
387
- bottom: 0;
388
- composes: activateInDelay;
389
- }
390
- [dir=ltr] .freezeLayer {
391
357
  left: 0;
358
+ bottom: 0;
392
359
  right: 0;
393
- }
394
- [dir=rtl] .freezeLayer {
395
- right: 0;
396
- left: 0;
360
+ composes: activateInDelay;
397
361
  }
398
362
  .freeze {
399
363
  composes: varClass;
@@ -33,14 +33,10 @@
33
33
  .light {
34
34
  composes: default;
35
35
  }
36
- .light::after, .dark::after {
37
- background-color: var(--dropdownheading_underline_bg_color);
38
- }
39
- [dir=ltr] .light::after, [dir=ltr] .dark::after {
36
+ .light::after,
37
+ .dark::after {
40
38
  left: var(--dropdownheading_underline_left);
41
- }
42
- [dir=rtl] .light::after, [dir=rtl] .dark::after {
43
- right: var(--dropdownheading_underline_left);
39
+ background-color: var(--dropdownheading_underline_bg_color);
44
40
  }
45
41
 
46
42
  .dark {
@@ -6,32 +6,24 @@
6
6
 
7
7
  /* dropdownitem user default variables */
8
8
  --dropdownitem-user-width: var(--zd_size42);
9
+ --dropdownitem-user-border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
9
10
  --dropdownitem-user-border-style: solid;
10
11
  --dropdownitem-user-border-color: var(--zdt_dropdown_user_default_border);
11
12
  --dropdownitem-user-cursor: pointer;
12
- }[dir=ltr] .varClass {
13
- --dropdownitem-user-border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
14
- }[dir=rtl] .varClass {
15
- --dropdownitem-user-border-width: 0 1px 0 0;
16
13
  }
17
14
  .list {
18
15
  composes: varClass;
19
16
  composes: dflex alignVertical from '../common/common.module.css';
20
17
  position: relative;
18
+ padding: var(--dropdownitem-padding);
21
19
  color: var(--zdt_dropdown_default_text);
22
20
  font-size: var(--zd_font_size13);
23
- padding: var(--dropdownitem-padding);
21
+ border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
24
22
  border-style: solid;
25
23
  border-color: var(--dropdownitem-border-color);
26
24
  cursor: pointer;
27
25
  background-color: var(--dropdownitem-bg-color);
28
26
  }
29
- [dir=ltr] .list {
30
- border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
31
- }
32
- [dir=rtl] .list {
33
- border-width: 0 1px 0 0;
34
- }
35
27
 
36
28
  .listActive {
37
29
  --dropdownitem-border-color: var(--zdt_dropdown_listactive_border);
@@ -41,27 +33,16 @@
41
33
  --dropdownitem-bg-color: var(--zdt_dropdown_listhover_bg);
42
34
  }
43
35
 
44
- [dir=ltr] .padding {
36
+ .padding {
45
37
  --dropdownitem-padding: 0 var(--zd_size50) 0 0/*rtl: 0 0 0 var(--zd_size50)*/;
46
38
  }
47
39
 
48
- [dir=rtl] .padding {
49
- --dropdownitem-padding: 0 0 0 var(--zd_size50);
50
- }
51
-
52
40
  .children {
41
+ margin-right: var(--zd_size10);
53
42
  display: inline-block;
54
43
  font-size: 0;
55
44
  }
56
45
 
57
- [dir=ltr] .children {
58
- margin-right: var(--zd_size10);
59
- }
60
-
61
- [dir=rtl] .children {
62
- margin-left: var(--zd_size10);
63
- }
64
-
65
46
  .value {
66
47
  composes: dotted flexgrow from '../common/common.module.css';
67
48
  }
@@ -70,6 +51,7 @@
70
51
  composes: dflex alignVertical alignHorizontal from '../common/common.module.css';
71
52
  position: absolute;
72
53
  top: 0;
54
+ right: 0;
73
55
  bottom: 0;
74
56
  opacity: 0;
75
57
  visibility: hidden;
@@ -80,14 +62,6 @@
80
62
  cursor: var(--dropdownitem-user-cursor);
81
63
  }
82
64
 
83
- [dir=ltr] .user {
84
- right: 0;
85
- }
86
-
87
- [dir=rtl] .user {
88
- left: 0;
89
- }
90
-
91
65
  .list:hover .user {
92
66
  opacity: 1;
93
67
  visibility: visible;
@@ -4,6 +4,8 @@
4
4
  --listitem_padding: var(--zd_size9) var(--zd_size20);
5
5
  --listitem_border_width: 0;
6
6
  --listitem_border_color: var(--zdt_listitem_default_border);
7
+ --listitem_avatar_margin: 0 var(--zd_size15) 0 0
8
+ /*rtl: 0 0 0 var(--zd_size15)*/;
7
9
  --listitem_bg_color: var(--zdt_listitem_default_bg);
8
10
  --listitem_active_bg_color: var(--zdt_listitem_primary_bg);
9
11
  --listitem_height: auto;
@@ -14,11 +16,6 @@
14
16
 
15
17
  /* listitem tick icon default variables */
16
18
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
17
- }[dir=ltr] .varClass {
18
- --listitem_avatar_margin: 0 var(--zd_size15) 0 0
19
- /*rtl: 0 0 0 var(--zd_size15)*/;
20
- }[dir=rtl] .varClass {
21
- --listitem_avatar_margin: 0 0 0 var(--zd_size15);
22
19
  }
23
20
  .list {
24
21
  composes: varClass;
@@ -26,49 +23,40 @@
26
23
  list-style: none;
27
24
  color: var(--listitem_text_color);
28
25
  font-size: var(--zd_font_size13);
29
- height: var(--listitem_height);
30
- min-height: var(--listitem_min_height);
31
- text-decoration: none;
32
26
  padding: var(--listitem_padding);
33
27
  border-width: var(--listitem_border_width);
34
28
  border-style: solid;
35
29
  border-color: var(--listitem_border_color);
30
+ height: var(--listitem_height);
31
+ min-height: var(--listitem_min_height);
36
32
  cursor: pointer;
33
+ text-decoration: none;
37
34
  }
38
- .list, .default, .secondary {
35
+ .list,
36
+ .default,
37
+ .secondary {
39
38
  background-color: var(--listitem_bg_color);
40
39
  }
41
- [dir=ltr] .withBorder {
40
+ .withBorder {
42
41
  --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
43
42
  }
44
- [dir=rtl] .withBorder {
45
- --listitem_border_width: 0 1px 0 0;
46
- }
47
43
  .active {
48
44
  --listitem_border_color: var(--zdt_listitem_active_border);
49
45
  }
50
- [dir=ltr] .small {
46
+ .small {
51
47
  --listitem_padding: var(--zd_size9) var(--zd_size3) var(--zd_size9)
52
48
  var(--zd_size5)
53
49
  /*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3)*/;
54
50
  }
55
- [dir=rtl] .small {
56
- --listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
57
- }
58
51
  .medium {
59
52
  --listitem_padding: var(--zd_size9) var(--zd_size20);
60
53
  --listitem_min_height: var(--zd_size35);
61
54
  }
62
55
  .large {
63
- --listitem_height: var(--zd_size48);
64
- }
65
- [dir=ltr] .large {
66
56
  --listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
67
57
  var(--zd_size25)
68
58
  /*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
69
- }
70
- [dir=rtl] .large {
71
- --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
59
+ --listitem_height: var(--zd_size48);
72
60
  }
73
61
  .value,
74
62
  .children {
@@ -76,13 +64,8 @@
76
64
  }
77
65
  .iconBox {
78
66
  width: var(--zd_size20);
79
- text-align: center;
80
- }
81
- [dir=ltr] .iconBox {
82
67
  margin-right: var(--zd_size10);
83
- }
84
- [dir=rtl] .iconBox {
85
- margin-left: var(--zd_size10);
68
+ text-align: center;
86
69
  }
87
70
  .iconBox,
88
71
  .leftAvatar {
@@ -92,17 +75,15 @@
92
75
  margin: var(--listitem_avatar_margin);
93
76
  }
94
77
 
95
- .defaultHover, .primaryHover, .secondaryHover, .darkHover {
78
+ .defaultHover,
79
+ .primaryHover,
80
+ .secondaryHover,
81
+ .darkHover {
96
82
  background-color: var(--listitem_highlight_bg_color);
97
83
  }
98
84
  .activewithBorder {
99
- --listitem_border_color: var(--zdt_listitem_active_border);
100
- }
101
- [dir=ltr] .activewithBorder {
102
85
  --listitem_border_width: 0 0 0 1px /*rtl: 0 1px 0 0*/;
103
- }
104
- [dir=rtl] .activewithBorder {
105
- --listitem_border_width: 0 1px 0 0;
86
+ --listitem_border_color: var(--zdt_listitem_active_border);
106
87
  }
107
88
 
108
89
  .defaultHover,
@@ -129,7 +110,10 @@
129
110
  --listitem_bg_color: var(--zdt_listitem_dark_effect_bg);
130
111
  --listitem_highlight_bg_color: var(--zdt_listitem_dark_effect_bg);
131
112
  }
132
- .activedefault, .activeprimary, .activesecondary, .activedark {
113
+ .activedefault,
114
+ .activeprimary,
115
+ .activesecondary,
116
+ .activedark {
133
117
  background-color: var(--listitem_active_bg_color);
134
118
  }
135
119
  .activedefault,
@@ -155,15 +139,8 @@
155
139
  .darkTick {
156
140
  position: absolute;
157
141
  color: var(--listitem_tickicon_color);
158
- }
159
-
160
- [dir=ltr] .tickIcon, [dir=ltr] .defaultTick, [dir=ltr] .darkTick {
161
142
  right: var(--zd_size20);
162
143
  }
163
-
164
- [dir=rtl] .tickIcon, [dir=rtl] .defaultTick, [dir=rtl] .darkTick {
165
- left: var(--zd_size20);
166
- }
167
144
  .defaultTick {
168
145
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
169
146
  }
@@ -173,33 +150,24 @@
173
150
  .defaultTick > i {
174
151
  display: block;
175
152
  }
176
- [dir=ltr] .smallwithTick {
153
+ .smallwithTick {
177
154
  --listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
178
155
  var(--zd_size5)
179
156
  /*rtl: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39)*/;
180
157
  }
181
- [dir=rtl] .smallwithTick {
182
- --listitem_padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size39);
183
- }
184
- [dir=ltr] .mediumwithTick {
158
+ .mediumwithTick {
185
159
  --listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
186
160
  var(--zd_size20)
187
161
  /*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39)*/;
188
162
  }
189
- [dir=rtl] .mediumwithTick {
190
- --listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39);
191
- }
192
- [dir=ltr] .largewithTick {
163
+ .largewithTick {
193
164
  --listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
194
165
  var(--zd_size25)
195
166
  /*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39)*/;
196
167
  }
197
- [dir=rtl] .largewithTick {
198
- --listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size39);
199
- }
200
168
  .responsiveHeight {
201
169
  --listitem_height: var(--zd_size45);
202
- font-size: var(--zd_font_size15);
203
170
  padding-top: var(--zd_size10);
204
171
  padding-bottom: var(--zd_size10);
172
+ font-size: var(--zd_font_size15);
205
173
  }
@@ -1,7 +1,8 @@
1
1
  .wrapper {
2
2
  position: relative;
3
3
  }
4
- .disabled, .readOnly {
4
+ .disabled,
5
+ .readOnly {
5
6
  cursor: not-allowed;
6
7
  }
7
8
  .container {
@@ -9,9 +10,9 @@
9
10
  composes: oflowy from '../common/common.module.css';
10
11
  }
11
12
  .hasBorder {
12
- transition: border var(--zd_transition2) linear 0s;
13
13
  border-bottom-style: solid;
14
14
  border-bottom-width: 1px;
15
+ transition: border var(--zd_transition2) linear 0s;
15
16
  }
16
17
  .borderColor_transparent {
17
18
  border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
@@ -40,40 +41,25 @@
40
41
  .effect .borderColor_dark.active {
41
42
  border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
42
43
  }
43
- [dir=ltr] .container.medium {
44
+ .container.medium {
44
45
  padding: 0 var(--zd_size34) var(--zd_size7) 0;
45
46
  }
46
- [dir=rtl] .container.medium {
47
- padding: 0 0 var(--zd_size7) var(--zd_size34);
48
- }
49
47
  .container.xmedium {
50
- min-height: var(--zd_size30);
51
- }
52
- [dir=ltr] .container.xmedium {
53
48
  padding: 0 var(--zd_size34) var(--zd_size1) 0;
54
- }
55
- [dir=rtl] .container.xmedium {
56
- padding: 0 0 var(--zd_size1) var(--zd_size34);
49
+ min-height: var(--zd_size30);
57
50
  }
58
51
 
59
52
  .delete {
60
53
  position: absolute;
61
54
  bottom: 0;
62
- color: var(--zdt_advancedmultiselect_delete_text);
55
+ right: var(--zd_size15);
63
56
  padding-bottom: var(--zd_size10);
57
+ color: var(--zdt_advancedmultiselect_delete_text);
64
58
  cursor: pointer;
65
59
  background-color: var(--zdt_advancedmultiselect_delete_bg);
66
60
  border: 0;
67
61
  }
68
62
 
69
- [dir=ltr] .delete {
70
- right: var(--zd_size15);
71
- }
72
-
73
- [dir=rtl] .delete {
74
- left: var(--zd_size15);
75
- }
76
-
77
63
  .delete:hover {
78
64
  color: var(--zdt_advancedmultiselect_delete_hover_text);
79
65
  }
@@ -119,9 +105,9 @@
119
105
  .more {
120
106
  font-size: var(--zd_font_size14);
121
107
  color: var(--zdt_advancedmultiselect_more_text);
122
- font-family: inherit;
123
108
  cursor: pointer;
124
109
  margin-top: var(--zd_size5);
110
+ font-family: inherit;
125
111
  background-color: var(--zdt_advancedmultiselect_delete_bg);
126
112
  border: 0;
127
113
  }
@@ -2,7 +2,8 @@
2
2
  position: relative;
3
3
  }
4
4
 
5
- .disabled, .readOnly {
5
+ .disabled,
6
+ .readOnly {
6
7
  cursor: not-allowed;
7
8
  }
8
9
  .container {
@@ -10,9 +11,9 @@
10
11
  composes: oflowy from '../common/common.module.css';
11
12
  }
12
13
  .hasBorder {
13
- transition: border var(--zd_transition2) linear 0s;
14
14
  border-bottom-style: solid;
15
15
  border-bottom-width: 1px;
16
+ transition: border var(--zd_transition2) linear 0s;
16
17
  }
17
18
  .borderColor_transparent {
18
19
  border-bottom-color: var(--zdt_multiselect_transparent_border);
@@ -47,16 +48,16 @@
47
48
  }
48
49
 
49
50
  .container.xmedium {
50
- min-height: var(--zd_size30);
51
51
  padding-bottom: var(--zd_size3);
52
+ min-height: var(--zd_size30);
52
53
  }
53
54
 
54
55
  .delete {
55
- font: inherit;
56
56
  padding: var(--zd_size2) var(--zd_size6);
57
57
  cursor: pointer;
58
58
  border: 0;
59
59
  background-color: var(--zdt_multiselect_delete_bg);
60
+ font: inherit;
60
61
  }
61
62
  .delete,
62
63
  .defaultDelete {
@@ -86,22 +87,14 @@
86
87
  max-width: 100%;
87
88
  }
88
89
 
89
- [dir=ltr] .container.xmedium .tag {
90
+ .container.xmedium .tag {
90
91
  margin: var(--zd_size2) var(--zd_size10) 0 0;
91
92
  }
92
93
 
93
- [dir=rtl] .container.xmedium .tag {
94
- margin: var(--zd_size2) 0 0 var(--zd_size10);
95
- }
96
-
97
- [dir=ltr] .container.medium .tag {
94
+ .container.medium .tag {
98
95
  margin: var(--zd_size5) var(--zd_size10) 0 0;
99
96
  }
100
97
 
101
- [dir=rtl] .container.medium .tag {
102
- margin: var(--zd_size5) 0 0 var(--zd_size10);
103
- }
104
-
105
98
  .box {
106
99
  background: var(--zdt_multiselect_box_bg);
107
100
  }
@@ -137,10 +130,8 @@
137
130
  }
138
131
  .dark,
139
132
  .darkBox {
140
- color: var(--zdt_multiselect_darkmsg_text);
141
- }
142
- .dark, .darkBox {
143
133
  background: var(--zdt_multiselect_darkmsg_bg);
134
+ color: var(--zdt_multiselect_darkmsg_text);
144
135
  }
145
136
 
146
137
  .hide {
@@ -165,13 +156,8 @@
165
156
  .custmInputWrapper {
166
157
  position: absolute;
167
158
  top: 0;
168
- width: 100%;
169
- }
170
- [dir=ltr] .custmInputWrapper {
171
159
  left: 0;
172
- }
173
- [dir=rtl] .custmInputWrapper {
174
- right: 0;
160
+ width: 100%;
175
161
  }
176
162
  .title {
177
163
  margin-bottom: var(--zd_size6);
@@ -185,9 +171,6 @@
185
171
  .iconContainer {
186
172
  padding-top: var(--zd_size3)
187
173
  }
188
- [dir=ltr] .clearIconSpace {
174
+ .clearIconSpace {
189
175
  padding-right: var(--zd_size37)
190
176
  }
191
- [dir=rtl] .clearIconSpace {
192
- padding-left: var(--zd_size37)
193
- }
@@ -1,15 +1,9 @@
1
1
  .tag {
2
2
  max-width: 100%;
3
3
  }
4
- [dir=ltr] .xmedium {
4
+ .xmedium {
5
5
  margin: 0 var(--zd_size10) var(--zd_size2) 0;
6
6
  }
7
- [dir=rtl] .xmedium {
8
- margin: 0 0 var(--zd_size2) var(--zd_size10);
9
- }
10
- [dir=ltr] .medium {
7
+ .medium {
11
8
  margin: var(--zd_size5) var(--zd_size10) 0 0;
12
9
  }
13
- [dir=rtl] .medium {
14
- margin: var(--zd_size5) 0 0 var(--zd_size10);
15
- }
@@ -3,6 +3,6 @@
3
3
  background-color: var(--dot_white);
4
4
  }
5
5
  .target {
6
- composes: offSelection from '../common/common.module.css';
7
6
  cursor: pointer;
7
+ composes: offSelection from '../common/common.module.css';
8
8
  }
@@ -6,7 +6,9 @@ let id = {
6
6
  scrollFetchLimit: 80,
7
7
  isReducedMotion: false,
8
8
  direction: 'ltr',
9
- tooltipDebounce: 175
9
+ tooltipDebounce: 175,
10
+ tooltipContainer: 'window' // root || window
11
+
10
12
  };
11
13
  export function getLibraryConfig(key) {
12
14
  return id[key];