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

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 (83) hide show
  1. package/README.md +18 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +1 -1
  3. package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +1 -1
  4. package/assets/Appearance/default/mode/defaultMode.module.css +1 -1
  5. package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +1 -1
  6. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +358 -0
  7. package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +34 -0
  8. package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +42 -0
  9. package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +34 -0
  10. package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +42 -0
  11. package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +34 -0
  12. package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +42 -0
  13. package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +34 -0
  14. package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +42 -0
  15. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +34 -0
  16. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +42 -0
  17. package/es/AppContainer/AppContainer.js +6 -1
  18. package/es/Avatar/Avatar.module.css +11 -9
  19. package/es/AvatarTeam/AvatarTeam.module.css +21 -7
  20. package/es/Button/Button.module.css +97 -24
  21. package/es/Buttongroup/Buttongroup.module.css +37 -8
  22. package/es/CheckBox/CheckBox.js +2 -1
  23. package/es/CheckBox/CheckBox.module.css +17 -11
  24. package/es/DateTime/DateTime.module.css +39 -12
  25. package/es/DateTime/DateWidget.module.css +9 -5
  26. package/es/DateTime/YearView.module.css +16 -6
  27. package/es/DropBox/DropBox.module.css +47 -11
  28. package/es/DropDown/DropDownHeading.module.css +7 -3
  29. package/es/DropDown/DropDownItem.module.css +32 -6
  30. package/es/ListItem/ListItem.module.css +58 -26
  31. package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  32. package/es/MultiSelect/AdvancedMultiSelect.module.css +22 -8
  33. package/es/MultiSelect/MultiSelect.js +6 -2
  34. package/es/MultiSelect/MultiSelect.module.css +27 -10
  35. package/es/MultiSelect/SelectedOptions.module.css +8 -2
  36. package/es/PopOver/PopOver.module.css +1 -1
  37. package/es/Provider/Config.js +2 -2
  38. package/es/Provider.js +72 -35
  39. package/es/Radio/Radio.module.css +10 -4
  40. package/es/Responsive/Responsive.js +1 -0
  41. package/es/Ribbon/Ribbon.module.css +93 -28
  42. package/es/RippleEffect/RippleEffect.module.css +15 -44
  43. package/es/Select/Select.js +8 -4
  44. package/es/Select/Select.module.css +12 -2
  45. package/es/Select/SelectWithIcon.js +1 -0
  46. package/es/Stencils/Stencils.module.css +21 -3
  47. package/es/Switch/Switch.module.css +6 -7
  48. package/es/Tab/Tab.module.css +16 -7
  49. package/es/Tab/Tabs.module.css +41 -8
  50. package/es/Tag/Tag.module.css +36 -14
  51. package/es/TextBox/TextBox.module.css +7 -11
  52. package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
  53. package/es/Textarea/Textarea.module.css +6 -7
  54. package/es/Tooltip/Tooltip.js +40 -2
  55. package/es/Tooltip/Tooltip.module.css +9 -8
  56. package/es/beta/FocusRing/FocusRing.module.css +51 -26
  57. package/es/common/animation.module.css +219 -21
  58. package/es/common/basicReset.module.css +2 -12
  59. package/es/common/common.module.css +62 -18
  60. package/es/common/customscroll.module.css +17 -21
  61. package/es/common/docStyle.module.css +83 -32
  62. package/es/common/transition.module.css +50 -10
  63. package/es/semantic/Button/semanticButton.module.css +3 -3
  64. package/lib/AppContainer/AppContainer.js +8 -1
  65. package/lib/CheckBox/CheckBox.js +2 -1
  66. package/lib/DropBox/DropBox.js +1 -1
  67. package/lib/ListItem/ListContainer.js +7 -4
  68. package/lib/ListItem/ListItem.js +1 -1
  69. package/lib/ListItem/ListItem.module.css +6 -11
  70. package/lib/ListItem/ListItemWithAvatar.js +1 -1
  71. package/lib/ListItem/ListItemWithCheckBox.js +1 -1
  72. package/lib/ListItem/ListItemWithIcon.js +1 -1
  73. package/lib/ListItem/ListItemWithRadio.js +1 -1
  74. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  75. package/lib/MultiSelect/MultiSelect.js +7 -6
  76. package/lib/Provider/Config.js +3 -1
  77. package/lib/Provider.js +88 -37
  78. package/lib/Select/GroupSelect.js +1 -1
  79. package/lib/Select/Select.js +9 -4
  80. package/lib/Tooltip/Tooltip.js +60 -8
  81. package/lib/Tooltip/Tooltip.module.css +6 -1
  82. package/lib/common/docStyle.module.css +6 -2
  83. package/package.json +7 -6
@@ -13,9 +13,7 @@
13
13
  composes: varClass;
14
14
  stroke: var(--checkbox_stroke_color);
15
15
  }
16
- .container,
17
- .pointer,
18
- .readonly {
16
+ .container, .pointer, .readonly {
19
17
  cursor: var(--checkbox_cursor);
20
18
  }
21
19
  .pointer {
@@ -56,37 +54,48 @@
56
54
  font-size: 0;
57
55
  display: block;
58
56
  }
59
- /*rtl:begin:ignore*/
60
57
  .tick {
61
58
  position: absolute;
62
59
  left: 0;
63
60
  }
64
- /*rtl:end:ignore*/
65
61
  .mediumtick {
66
62
  top: calc(var(--zd_size2) * -1);
67
63
  height: var(--zd_size20);
68
64
  width: var(--zd_size20);
69
65
  }
70
- /*rtl:begin:ignore*/
71
66
  .smalltick {
72
67
  top: calc(var(--zd_size3) * -1);
73
68
  height: var(--zd_size18);
74
69
  width: var(--zd_size18);
75
70
  left: calc(var(--zd_size1) * -1);
76
71
  }
77
- /*rtl:end:ignore*/
78
72
 
79
73
  .checkedtickPath {
80
74
  stroke-dashoffset: 40;
75
+ }
76
+
77
+ [dir=ltr] .checkedtickPath {
78
+ animation: tickAnimate var(--zd_transition3) ease forwards;
79
+ }
80
+
81
+ [dir=rtl] .checkedtickPath {
81
82
  animation: tickAnimate var(--zd_transition3) ease forwards;
82
83
  }
83
84
  .linePath {
84
85
  transform-origin: center;
86
+ }
87
+ [dir=ltr] .linePath {
88
+ animation: lineAnimate var(--zd_transition3) ease forwards;
89
+ }
90
+ [dir=rtl] .linePath {
85
91
  animation: lineAnimate var(--zd_transition3) ease forwards;
86
92
  }
87
- .text {
93
+ [dir=ltr] .text {
88
94
  margin-left: var(--zd_size6);
89
95
  }
96
+ [dir=rtl] .text {
97
+ margin-right: var(--zd_size6);
98
+ }
90
99
 
91
100
  .checkedprimary,
92
101
  .checkeddanger {
@@ -125,8 +134,6 @@
125
134
  .checkeddangerLabel {
126
135
  --checkbox_checked_active_color: var(--zdt_checkbox_danger_stroke_border);
127
136
  }
128
-
129
- /*rtl:begin:ignore*/
130
137
  @keyframes tickAnimate {
131
138
  0% {
132
139
  stroke-dashoffset: 40;
@@ -144,4 +151,3 @@
144
151
  transform: scaleX(1);
145
152
  }
146
153
  }
147
- /*rtl:end:ignore*/
@@ -1,23 +1,27 @@
1
1
  .semibold {
2
2
  font-family: var(--zd_semibold);
3
3
  }
4
- .boxPadding {
4
+ [dir=ltr] .boxPadding {
5
5
  padding-right: var(--zd_size19);
6
6
  padding-left: var(--zd_size19);
7
7
  }
8
+ [dir=rtl] .boxPadding {
9
+ padding-left: var(--zd_size19);
10
+ padding-right: var(--zd_size19);
11
+ }
8
12
  .container {
9
- border-radius: 3px;
10
- background-color: var(--zdt_datetime_default_bg);
11
13
  font-size: var(--zd_font_size16);
12
14
  composes: offSelection from '../common/common.module.css';
15
+ border-radius: 3px;
16
+ background-color: var(--zdt_datetime_default_bg);
13
17
  }
14
18
  .header {
15
19
  min-height: var(--zd_size36);
20
+ composes: boxPadding;
16
21
  text-align: center;
17
22
  background-color: var(--zdt_datetime_header_bg);
18
23
  border-radius: 0 0 2px 2px;
19
24
  border-bottom: 1px solid var(--zdt_datetime_header_border);
20
- composes: boxPadding;
21
25
  }
22
26
 
23
27
  .datesStr {
@@ -35,17 +39,25 @@
35
39
  .thArrow,
36
40
  .datesStr {
37
41
  font-size: var(--zd_font_size13);
42
+ }
43
+ .thArrow, .datesStr {
38
44
  cursor: pointer;
39
45
  }
40
46
  .thArrow:hover,
41
47
  .datesStr:hover {
42
48
  color: var(--zdt_datetime_datestr_text);
49
+ }
50
+ .thArrow:hover, .datesStr:hover {
43
51
  background: var(--zdt_datetime_datestr_hover_bg);
44
52
  }
45
53
 
46
- .navigation {
54
+ [dir=ltr] .navigation {
47
55
  margin-left: var(--zd_size2);
48
56
  }
57
+
58
+ [dir=rtl] .navigation {
59
+ margin-right: var(--zd_size2);
60
+ }
49
61
  .thMonYear {
50
62
  font-size: var(--zd_font_size13);
51
63
  line-height: var(--zd_size24);
@@ -61,9 +73,9 @@
61
73
  }
62
74
  .days {
63
75
  min-height: var(--zd_size36);
64
- padding-top: var(--zd_size7);
65
76
  composes: boxPadding;
66
77
  composes: alignBetween from '../common/common.module.css';
78
+ padding-top: var(--zd_size7);
67
79
  }
68
80
  .daysStr {
69
81
  font-size: var(--zd_font_size10);
@@ -73,8 +85,8 @@
73
85
  }
74
86
  .dateRow {
75
87
  height: var(--zd_size28);
76
- margin: var(--zd_size1) 0 var(--zd_size5);
77
88
  composes: alignBetween from '../common/common.module.css';
89
+ margin: var(--zd_size1) 0 var(--zd_size5);
78
90
  }
79
91
  .dateRow:last-child {
80
92
  margin-bottom: 0;
@@ -93,8 +105,11 @@
93
105
 
94
106
  .today,
95
107
  .today:hover {
96
- background-color: var(--zdt_datetime_today_bg);
97
108
  color: var(--zdt_datetime_today_text);
109
+ }
110
+
111
+ .today, .today:hover {
112
+ background-color: var(--zdt_datetime_today_bg);
98
113
  border-radius: 50%;
99
114
  }
100
115
 
@@ -108,8 +123,8 @@
108
123
  .dropDown {
109
124
  width: var(--zd_size60);
110
125
  display: inline-block;
111
- margin: 0 var(--zd_size4);
112
126
  position: relative;
127
+ margin: 0 var(--zd_size4);
113
128
  }
114
129
  .footer {
115
130
  margin-top: var(--zd_size10);
@@ -125,9 +140,16 @@
125
140
  }
126
141
 
127
142
  .downArrow {
128
- margin-left: var(--zd_size2);
129
143
  color: var(--zdt_datetime_daystr_text);
130
144
  }
145
+
146
+ [dir=ltr] .downArrow {
147
+ margin-left: var(--zd_size2);
148
+ }
149
+
150
+ [dir=rtl] .downArrow {
151
+ margin-right: var(--zd_size2);
152
+ }
131
153
  .dateText {
132
154
  cursor: pointer;
133
155
  }
@@ -139,17 +161,22 @@
139
161
  font-size: var(--zd_font_size11);
140
162
  text-transform: uppercase;
141
163
  color: var(--zdt_datetime_text);
142
- margin-top: var(--zd_size14);
143
164
  composes: semibold;
144
165
  display: block;
166
+ margin-top: var(--zd_size14);
145
167
  }
146
168
  .yearContainer {
147
169
  position: absolute;
148
170
  top: 0;
149
- left: 0;
150
171
  width: 100%;
151
172
  height: 100%;
152
173
  }
174
+ [dir=ltr] .yearContainer {
175
+ left: 0;
176
+ }
177
+ [dir=rtl] .yearContainer {
178
+ right: 0;
179
+ }
153
180
  .subContainer {
154
181
  position: relative;
155
182
  }
@@ -3,9 +3,7 @@
3
3
  position: relative;
4
4
  composes: offSelection from '../common/common.module.css';
5
5
  }
6
- .readOnly,
7
- .readOnly > input,
8
- .disabled {
6
+ .readOnly, .readOnly > input, .disabled {
9
7
  cursor: not-allowed;
10
8
  }
11
9
  .enabled {
@@ -17,10 +15,16 @@
17
15
  .inputLine {
18
16
  position: absolute;
19
17
  bottom: 0;
18
+ transition: border var(--zd_transition2) linear 0s;
19
+ border-bottom: 1px solid var(--zdt_datewidget_input_border);
20
+ }
21
+ [dir=ltr] .inputLine {
20
22
  left: 0;
21
23
  right: 0;
22
- border-bottom: 1px solid var(--zdt_datewidget_input_border);
23
- transition: border var(--zd_transition2) linear 0s;
24
+ }
25
+ [dir=rtl] .inputLine {
26
+ right: 0;
27
+ left: 0;
24
28
  }
25
29
  .enabled:hover .inputLine {
26
30
  border-bottom-color: var(--zdt_datewidget_enabled_border);
@@ -1,26 +1,31 @@
1
- .boxPadding {
1
+ [dir=ltr] .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);
4
7
  }
5
8
  .month {
6
9
  width: 30.333%;
10
+ font-size: var(--zd_font_size12);
11
+ line-height: var(--zd_size26);
12
+ height: var(--zd_size26);
7
13
  text-align: center;
8
14
  margin: 0 0 var(--zd_size1);
9
15
  cursor: pointer;
10
16
  background-color: var(--zdt_yearview_month_bg);
11
17
  border-radius: 20px;
12
- font-size: var(--zd_font_size12);
13
- line-height: var(--zd_size26);
14
- height: var(--zd_size26);
15
18
  }
16
19
  .month:hover {
17
20
  background-color: var(--zdt_yearview_month_hover_bg);
18
21
  }
19
22
  .currentMonth,
20
23
  .currentMonth:hover {
21
- background-color: var(--zdt_yearview_currentmonth_bg);
22
24
  color: var(--zdt_yearview_currentmonth_text);
23
25
  }
26
+ .currentMonth, .currentMonth:hover {
27
+ background-color: var(--zdt_yearview_currentmonth_bg);
28
+ }
24
29
  .yearBox {
25
30
  border-bottom: 1px dotted var(--zdt_yearview_yearbox_border);
26
31
  }
@@ -48,9 +53,14 @@
48
53
  color: var(--zdt_yearview_year_hover_text);
49
54
  }
50
55
  .arrowActive {
51
- transform: rotate(180deg);
52
56
  color: var(--zdt_yearview_year_hover_text);
53
57
  }
58
+ [dir=ltr] .arrowActive {
59
+ transform: rotate(180deg);
60
+ }
61
+ [dir=rtl] .arrowActive {
62
+ transform: rotate(-180deg);
63
+ }
54
64
  .container {
55
65
  height: 100%;
56
66
  overflow-y: auto;
@@ -28,8 +28,7 @@
28
28
  padding: var(--dropbox_padding);
29
29
  box-shadow: var(--dropbox_box_shadow);
30
30
  }
31
- .defaultPalette,
32
- .darkPalette {
31
+ .defaultPalette, .darkPalette {
33
32
  background-color: var(--dropbox_bg_color);
34
33
  }
35
34
  .radius {
@@ -84,11 +83,13 @@
84
83
  .bottom_shadow {
85
84
  --dropbox_box_shadow: 0 3px 30px var(--zdt_dropbox_default_box_shadow);
86
85
  }
87
- .defaultShadow {
86
+ [dir=ltr] .defaultShadow {
88
87
  box-shadow: 4px 3px 30px var(--zdt_dropbox_default_box_shadow);
89
88
  }
89
+ [dir=rtl] .defaultShadow {
90
+ box-shadow: -4px 3px 30px var(--zdt_dropbox_default_box_shadow);
91
+ }
90
92
  /* box direction styles */
91
- /*rtl:begin:ignore*/
92
93
  .topStart {
93
94
  bottom: 100%;
94
95
  right: 0;
@@ -272,7 +273,6 @@
272
273
  bottom: var(--zd_size28);
273
274
  transform: rotate(-90deg) translateX(-50%);
274
275
  }
275
- /*rtl:end:ignore*/
276
276
  .hidden {
277
277
  visibility: hidden;
278
278
  opacity: 0;
@@ -282,7 +282,10 @@
282
282
  .hidden .subContainer {
283
283
  box-shadow: none;
284
284
  }
285
- .animationBasic {
285
+ [dir=ltr] .animationBasic {
286
+ animation-duration: var(--zd_transition2);
287
+ }
288
+ [dir=rtl] .animationBasic {
286
289
  animation-duration: var(--zd_transition2);
287
290
  }
288
291
  .fadeIn {
@@ -291,11 +294,24 @@
291
294
  }
292
295
  .bounce {
293
296
  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 {
294
303
  animation-name: animation;
295
304
  animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
296
305
  }
297
306
  .slideUp {
298
307
  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 {
299
315
  animation-duration: var(--zd_transition3);
300
316
  animation-name: slideUp;
301
317
  animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1);
@@ -325,16 +341,23 @@
325
341
  .responsive {
326
342
  position: absolute;
327
343
  bottom: 0;
328
- left: 0;
329
344
  width: 100%;
330
345
  max-height: 90%;
331
346
  }
332
347
 
348
+ [dir=ltr] .responsive {
349
+ left: 0;
350
+ }
351
+
352
+ [dir=rtl] .responsive {
353
+ right: 0;
354
+ }
355
+
333
356
  .closeBar {
334
357
  height: 6px;
358
+ width: 20%;
335
359
  border-radius: 5px;
336
360
  background-color: var(--dropbox_mob_close_bg_color);
337
- width: 20%;
338
361
  cursor: pointer;
339
362
  margin: 0 auto var(--zd_size10);
340
363
  }
@@ -346,19 +369,32 @@
346
369
  }
347
370
  .activateInDelay {
348
371
  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 {
349
380
  animation-duration: var(--zd_transition1);
350
381
  animation-delay: var(--zd_transition2);
351
- pointer-events: none;
352
382
  animation-name: activateInDelay;
353
383
  }
354
384
  .freezeLayer {
355
385
  position: absolute;
356
386
  top: 0;
357
- left: 0;
358
387
  bottom: 0;
359
- right: 0;
360
388
  composes: activateInDelay;
361
389
  }
390
+ [dir=ltr] .freezeLayer {
391
+ left: 0;
392
+ right: 0;
393
+ }
394
+ [dir=rtl] .freezeLayer {
395
+ right: 0;
396
+ left: 0;
397
+ }
362
398
  .freeze {
363
399
  composes: varClass;
364
400
  background: var(--dropbox_mob_bg_color);
@@ -33,11 +33,15 @@
33
33
  .light {
34
34
  composes: default;
35
35
  }
36
- .light::after,
37
- .dark::after {
38
- left: var(--dropdownheading_underline_left);
36
+ .light::after, .dark::after {
39
37
  background-color: var(--dropdownheading_underline_bg_color);
40
38
  }
39
+ [dir=ltr] .light::after, [dir=ltr] .dark::after {
40
+ left: var(--dropdownheading_underline_left);
41
+ }
42
+ [dir=rtl] .light::after, [dir=rtl] .dark::after {
43
+ right: var(--dropdownheading_underline_left);
44
+ }
41
45
 
42
46
  .dark {
43
47
  composes: default;
@@ -6,24 +6,32 @@
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*/;
10
9
  --dropdownitem-user-border-style: solid;
11
10
  --dropdownitem-user-border-color: var(--zdt_dropdown_user_default_border);
12
11
  --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;
13
16
  }
14
17
  .list {
15
18
  composes: varClass;
16
19
  composes: dflex alignVertical from '../common/common.module.css';
17
20
  position: relative;
18
- padding: var(--dropdownitem-padding);
19
21
  color: var(--zdt_dropdown_default_text);
20
22
  font-size: var(--zd_font_size13);
21
- border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
23
+ padding: var(--dropdownitem-padding);
22
24
  border-style: solid;
23
25
  border-color: var(--dropdownitem-border-color);
24
26
  cursor: pointer;
25
27
  background-color: var(--dropdownitem-bg-color);
26
28
  }
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
+ }
27
35
 
28
36
  .listActive {
29
37
  --dropdownitem-border-color: var(--zdt_dropdown_listactive_border);
@@ -33,16 +41,27 @@
33
41
  --dropdownitem-bg-color: var(--zdt_dropdown_listhover_bg);
34
42
  }
35
43
 
36
- .padding {
44
+ [dir=ltr] .padding {
37
45
  --dropdownitem-padding: 0 var(--zd_size50) 0 0/*rtl: 0 0 0 var(--zd_size50)*/;
38
46
  }
39
47
 
48
+ [dir=rtl] .padding {
49
+ --dropdownitem-padding: 0 0 0 var(--zd_size50);
50
+ }
51
+
40
52
  .children {
41
- margin-right: var(--zd_size10);
42
53
  display: inline-block;
43
54
  font-size: 0;
44
55
  }
45
56
 
57
+ [dir=ltr] .children {
58
+ margin-right: var(--zd_size10);
59
+ }
60
+
61
+ [dir=rtl] .children {
62
+ margin-left: var(--zd_size10);
63
+ }
64
+
46
65
  .value {
47
66
  composes: dotted flexgrow from '../common/common.module.css';
48
67
  }
@@ -51,7 +70,6 @@
51
70
  composes: dflex alignVertical alignHorizontal from '../common/common.module.css';
52
71
  position: absolute;
53
72
  top: 0;
54
- right: 0;
55
73
  bottom: 0;
56
74
  opacity: 0;
57
75
  visibility: hidden;
@@ -62,6 +80,14 @@
62
80
  cursor: var(--dropdownitem-user-cursor);
63
81
  }
64
82
 
83
+ [dir=ltr] .user {
84
+ right: 0;
85
+ }
86
+
87
+ [dir=rtl] .user {
88
+ left: 0;
89
+ }
90
+
65
91
  .list:hover .user {
66
92
  opacity: 1;
67
93
  visibility: visible;