@zohodesk/components 1.0.0-alpha-235 → 1.0.0-alpha-236
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/Avatar/Avatar.module.css +11 -9
- package/es/AvatarTeam/AvatarTeam.module.css +21 -7
- package/es/Button/Button.module.css +97 -24
- package/es/Buttongroup/Buttongroup.module.css +37 -8
- package/es/CheckBox/CheckBox.module.css +17 -11
- package/es/DateTime/DateTime.module.css +39 -12
- package/es/DateTime/DateWidget.module.css +9 -5
- package/es/DateTime/YearView.module.css +16 -6
- package/es/DropBox/DropBox.module.css +47 -11
- package/es/DropDown/DropDownHeading.module.css +7 -3
- package/es/DropDown/DropDownItem.module.css +32 -6
- package/es/ListItem/ListItem.module.css +57 -25
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/es/MultiSelect/AdvancedMultiSelect.module.css +22 -8
- package/es/MultiSelect/MultiSelect.js +6 -2
- package/es/MultiSelect/MultiSelect.module.css +27 -10
- package/es/MultiSelect/SelectedOptions.module.css +8 -2
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Provider/Config.js +3 -2
- package/es/Radio/Radio.module.css +10 -4
- package/es/Ribbon/Ribbon.module.css +93 -28
- package/es/RippleEffect/RippleEffect.module.css +15 -44
- package/es/Select/Select.js +8 -4
- package/es/Select/Select.module.css +12 -2
- package/es/Stencils/Stencils.module.css +21 -3
- package/es/Switch/Switch.module.css +6 -7
- package/es/Tab/Tab.module.css +16 -7
- package/es/Tab/Tabs.module.css +41 -8
- package/es/Tag/Tag.module.css +36 -14
- package/es/TextBox/TextBox.module.css +7 -11
- package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
- package/es/Textarea/Textarea.module.css +6 -7
- package/es/Tooltip/Tooltip.module.css +9 -8
- package/es/beta/FocusRing/FocusRing.module.css +51 -26
- package/es/common/animation.module.css +219 -21
- package/es/common/basicReset.module.css +2 -12
- package/es/common/common.module.css +62 -18
- package/es/common/customscroll.module.css +17 -21
- package/es/common/docStyle.module.css +78 -31
- package/es/common/transition.module.css +50 -10
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/AppContainer/AppContainer.js +1 -1
- package/lib/DropBox/DropBox.js +1 -1
- package/lib/ListItem/ListContainer.js +7 -4
- package/lib/ListItem/ListItem.js +1 -1
- package/lib/ListItem/ListItem.module.css +5 -10
- package/lib/ListItem/ListItemWithAvatar.js +1 -1
- package/lib/ListItem/ListItemWithCheckBox.js +1 -1
- package/lib/ListItem/ListItemWithIcon.js +1 -1
- package/lib/ListItem/ListItemWithRadio.js +1 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
- package/lib/MultiSelect/MultiSelect.js +7 -6
- package/lib/Provider/Config.js +4 -1
- package/lib/Select/GroupSelect.js +1 -1
- package/lib/Select/Select.js +9 -4
- package/lib/Tooltip/Tooltip.js +15 -8
- package/lib/Tooltip/Tooltip.module.css +6 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.cboth::after {
|
|
2
2
|
content: '.';
|
|
3
|
-
clear: both;
|
|
4
3
|
display: block;
|
|
5
4
|
font-size: 0;
|
|
6
5
|
height: 0;
|
|
7
6
|
line-height: 0;
|
|
8
7
|
visibility: hidden;
|
|
8
|
+
clear: both;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.m10 {
|
|
@@ -16,10 +16,14 @@
|
|
|
16
16
|
margin: 50px;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.pl10 {
|
|
19
|
+
[dir=ltr] .pl10 {
|
|
20
20
|
padding-left: 10px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
[dir=rtl] .pl10 {
|
|
24
|
+
padding-right: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
23
27
|
.p10 {
|
|
24
28
|
padding: 10px;
|
|
25
29
|
}
|
|
@@ -61,10 +65,14 @@
|
|
|
61
65
|
margin-bottom: 20px;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
|
-
.mr20 {
|
|
68
|
+
[dir=ltr] .mr20 {
|
|
65
69
|
margin-right: 20px;
|
|
66
70
|
}
|
|
67
71
|
|
|
72
|
+
[dir=rtl] .mr20 {
|
|
73
|
+
margin-left: 20px;
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
.w60 {
|
|
69
77
|
width: 60%;
|
|
70
78
|
}
|
|
@@ -90,22 +98,25 @@
|
|
|
90
98
|
}
|
|
91
99
|
|
|
92
100
|
.dark {
|
|
93
|
-
background-color: var(--dot_black);
|
|
94
101
|
composes: p10;
|
|
102
|
+
background-color: var(--dot_black);
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
.table {
|
|
98
|
-
border: 1px solid var(--zd_smoke84);
|
|
99
|
-
border-radius: 3px;
|
|
100
106
|
composes: p10;
|
|
101
107
|
composes: cboth;
|
|
108
|
+
border: 1px solid var(--zd_smoke84);
|
|
109
|
+
border-radius: 3px;
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
.table .w60,
|
|
105
|
-
.table .w40 {
|
|
112
|
+
[dir=ltr] .table .w60, [dir=ltr] .table .w40 {
|
|
106
113
|
float: left;
|
|
107
114
|
}
|
|
108
115
|
|
|
116
|
+
[dir=rtl] .table .w60, [dir=rtl] .table .w40 {
|
|
117
|
+
float: right;
|
|
118
|
+
}
|
|
119
|
+
|
|
109
120
|
.tableheading {
|
|
110
121
|
composes: blue;
|
|
111
122
|
background:var(--zd_smoke1);
|
|
@@ -117,10 +128,10 @@
|
|
|
117
128
|
composes: p10;
|
|
118
129
|
composes: m10;
|
|
119
130
|
width: 200px;
|
|
120
|
-
border: 1px solid var(--zd_smoke83);
|
|
121
|
-
border-radius: 3px;
|
|
122
131
|
composes: tcenter;
|
|
123
132
|
font-weight: bold;
|
|
133
|
+
border: 1px solid var(--zd_smoke83);
|
|
134
|
+
border-radius: 3px;
|
|
124
135
|
}
|
|
125
136
|
|
|
126
137
|
.palette .palettecard {
|
|
@@ -136,10 +147,10 @@
|
|
|
136
147
|
|
|
137
148
|
.fontlist {
|
|
138
149
|
composes: tcenter;
|
|
139
|
-
border: 1px solid var(--zd_smoke83);
|
|
140
|
-
border-radius: 3px;
|
|
141
150
|
composes: p10;
|
|
142
151
|
composes: m10;
|
|
152
|
+
border: 1px solid var(--zd_smoke83);
|
|
153
|
+
border-radius: 3px;
|
|
143
154
|
}
|
|
144
155
|
|
|
145
156
|
.fontlist span {
|
|
@@ -148,9 +159,9 @@
|
|
|
148
159
|
}
|
|
149
160
|
|
|
150
161
|
.cover {
|
|
151
|
-
border: 1px solid var(--zd_smoke1);
|
|
152
162
|
composes: p10;
|
|
153
163
|
composes: m10;
|
|
164
|
+
border: 1px solid var(--zd_smoke1);
|
|
154
165
|
border-radius: 5px;
|
|
155
166
|
}
|
|
156
167
|
|
|
@@ -194,8 +205,7 @@
|
|
|
194
205
|
background-color: #e2e4e6;
|
|
195
206
|
padding: 5px;
|
|
196
207
|
}
|
|
197
|
-
.content,
|
|
198
|
-
.trow {
|
|
208
|
+
.content, .trow {
|
|
199
209
|
padding: 5px;
|
|
200
210
|
}
|
|
201
211
|
.trow {
|
|
@@ -205,14 +215,19 @@
|
|
|
205
215
|
background-color: #f6f6f6;
|
|
206
216
|
}
|
|
207
217
|
.colorvalue {
|
|
218
|
+
font-size: 13px;
|
|
219
|
+
color: #000;
|
|
208
220
|
background-color: #e2e4e6;
|
|
209
221
|
padding: 3px;
|
|
210
|
-
margin-right: 3px;
|
|
211
222
|
border-radius: 5px;
|
|
212
|
-
font-size: 13px;
|
|
213
|
-
color: #000;
|
|
214
223
|
cursor: pointer;
|
|
215
224
|
}
|
|
225
|
+
[dir=ltr] .colorvalue {
|
|
226
|
+
margin-right: 3px;
|
|
227
|
+
}
|
|
228
|
+
[dir=rtl] .colorvalue {
|
|
229
|
+
margin-left: 3px;
|
|
230
|
+
}
|
|
216
231
|
.rect {
|
|
217
232
|
width: 40px;
|
|
218
233
|
height: 40px;
|
|
@@ -228,20 +243,25 @@
|
|
|
228
243
|
flex-direction: column;
|
|
229
244
|
border: 1px dotted #ccc;
|
|
230
245
|
padding: 4px 6px;
|
|
246
|
+
}
|
|
247
|
+
[dir=ltr] .nestedDiv {
|
|
231
248
|
margin-right: 5px;
|
|
232
249
|
}
|
|
250
|
+
[dir=rtl] .nestedDiv {
|
|
251
|
+
margin-left: 5px;
|
|
252
|
+
}
|
|
233
253
|
.para {
|
|
234
254
|
font-size: 13px;
|
|
235
255
|
margin-bottom: 5px;
|
|
236
256
|
}
|
|
237
257
|
|
|
238
258
|
[data-mode='default'] {
|
|
239
|
-
background: #fff;
|
|
240
259
|
color: #000;
|
|
260
|
+
background: #fff;
|
|
241
261
|
}
|
|
242
262
|
[data-mode='dark'] {
|
|
243
|
-
background: #232B38;
|
|
244
263
|
color: #E2E4E6;
|
|
264
|
+
background: #232B38;
|
|
245
265
|
}
|
|
246
266
|
|
|
247
267
|
.baseHue {
|
|
@@ -255,8 +275,13 @@
|
|
|
255
275
|
--avatar_bg_color: hsl(var(--hue), 100%, 90%);
|
|
256
276
|
--avatar_border_color: hsl(var(--hue), 100%, 60%);
|
|
257
277
|
--avatar_text_color: hsl(var(--hue), 100%, 40%);
|
|
278
|
+
}
|
|
279
|
+
[dir=ltr] .customAvatar {
|
|
258
280
|
--avatar_border_radius: 0 12px/*rtl: 12px 0*/;
|
|
259
281
|
}
|
|
282
|
+
[dir=rtl] .customAvatar {
|
|
283
|
+
--avatar_border_radius: 12px 0;
|
|
284
|
+
}
|
|
260
285
|
.customAvatar:hover {
|
|
261
286
|
--avatar_border_width: 2px;
|
|
262
287
|
--avatar_bg_color: hsl(var(--hue), 100%, 85%);
|
|
@@ -391,10 +416,15 @@
|
|
|
391
416
|
.customDropbox {
|
|
392
417
|
composes: baseHue;
|
|
393
418
|
--dropbox_bg_color: hsl(var(--hue), 100%, 98%);
|
|
394
|
-
--dropbox_border_radius: 30px 0/*rtl:0 30px*/;
|
|
395
419
|
--dropbox_box_shadow: 0 0 10px hsl(var(--hue), 100%, 90%);
|
|
396
420
|
--dropbox_arrow_box_shadow_color: hsl(var(--hue), 100%, 90%);
|
|
397
421
|
}
|
|
422
|
+
[dir=ltr] .customDropbox {
|
|
423
|
+
--dropbox_border_radius: 30px 0/*rtl:0 30px*/;
|
|
424
|
+
}
|
|
425
|
+
[dir=rtl] .customDropbox {
|
|
426
|
+
--dropbox_border_radius: 0 30px;
|
|
427
|
+
}
|
|
398
428
|
.customDropbox:hover {
|
|
399
429
|
--dropbox_box_shadow: 0 0 10px hsl(var(--hue), 100%, 80%);
|
|
400
430
|
--dropbox_arrow_box_shadow_color: hsl(var(--hue), 100%, 80%);
|
|
@@ -598,24 +628,39 @@
|
|
|
598
628
|
}
|
|
599
629
|
.flagRibbon {
|
|
600
630
|
composes: ribbon;
|
|
631
|
+
}
|
|
632
|
+
[dir=ltr] .flagRibbon {
|
|
601
633
|
--ribbon_padding: 10px 20px/*rtl: 10px 20px*/;
|
|
602
634
|
--ribbon_flag_border_width: 20px 10px 20px 0/*rtl: 20px 0 20px 10px*/;
|
|
603
635
|
}
|
|
636
|
+
[dir=rtl] .flagRibbon {
|
|
637
|
+
--ribbon_padding: 10px 20px;
|
|
638
|
+
--ribbon_flag_border_width: 20px 0 20px 10px;
|
|
639
|
+
}
|
|
604
640
|
.tagRibbon {
|
|
605
641
|
composes: ribbon;
|
|
606
|
-
border-width: 2px 2px 2px 0/*rtl: 2px 0 2px 2px*/;
|
|
607
|
-
border-color: hsl(var(--hue), 100%, 50%);
|
|
608
|
-
border-radius: 0 6px 6px 0/*rtl: 6px 0 0 6px*/;
|
|
609
|
-
margin-left: 30px;
|
|
610
|
-
padding: 18px 30px/*rtl: 18px 30px*/;
|
|
611
642
|
height: 56px;
|
|
612
643
|
--ribbon_tag_before_width: 40px;
|
|
613
644
|
--ribbon_tag_before_height: 40px;
|
|
614
|
-
--ribbon_tag_before_border_width: 2px 0 0 2px/*rtl: 2px 2px 0 0*/;
|
|
615
645
|
--ribbon_tag_before_border_color: hsl(var(--hue), 100%, 50%);
|
|
616
646
|
--ribbon_tag_before_left: -20px;
|
|
617
647
|
--ribbon_tag_before_top: 6px;
|
|
618
648
|
--ribbon_tag_before_border_radius: 0;
|
|
649
|
+
border-color: hsl(var(--hue), 100%, 50%);
|
|
650
|
+
}
|
|
651
|
+
[dir=ltr] .tagRibbon {
|
|
652
|
+
border-width: 2px 2px 2px 0/*rtl: 2px 0 2px 2px*/;
|
|
653
|
+
border-radius: 0 6px 6px 0/*rtl: 6px 0 0 6px*/;
|
|
654
|
+
margin-left: 30px;
|
|
655
|
+
padding: 18px 30px/*rtl: 18px 30px*/;
|
|
656
|
+
--ribbon_tag_before_border_width: 2px 0 0 2px/*rtl: 2px 2px 0 0*/;
|
|
657
|
+
}
|
|
658
|
+
[dir=rtl] .tagRibbon {
|
|
659
|
+
border-width: 2px 0 2px 2px;
|
|
660
|
+
border-radius: 6px 0 0 6px;
|
|
661
|
+
margin-right: 30px;
|
|
662
|
+
padding: 18px 30px;
|
|
663
|
+
--ribbon_tag_before_border_width: 2px 2px 0 0;
|
|
619
664
|
}
|
|
620
665
|
.boxRibbon {
|
|
621
666
|
composes: ribbon;
|
|
@@ -650,10 +695,10 @@
|
|
|
650
695
|
/* custom textboxicon css */
|
|
651
696
|
.customTboxwrap {
|
|
652
697
|
composes: baseHue;
|
|
653
|
-
background-color: hsl(var(--hue), 100%, 90%);
|
|
654
|
-
margin: 5px 0;
|
|
655
698
|
--textboxicon_icon_margin: 4px 10px;
|
|
656
699
|
--textboxicon_icon_color: hsl(var(--hue), 100%, 50%);
|
|
700
|
+
background-color: hsl(var(--hue), 100%, 90%);
|
|
701
|
+
margin: 5px 0;
|
|
657
702
|
}
|
|
658
703
|
.customTbox {
|
|
659
704
|
--textbox_text_color: hsl(var(--hue), 100%, 50%);
|
|
@@ -680,6 +725,8 @@
|
|
|
680
725
|
.tBoxIconRead,
|
|
681
726
|
.tBoxIconDisable {
|
|
682
727
|
composes: baseHue;
|
|
728
|
+
}
|
|
729
|
+
.tBoxIconRead, .tBoxIconDisable {
|
|
683
730
|
background-color: hsl(var(--hue), 100%, 90%);
|
|
684
731
|
margin: 5px 0;
|
|
685
732
|
}
|
|
@@ -693,11 +740,11 @@
|
|
|
693
740
|
/* custom textarea css */
|
|
694
741
|
.customTextarea {
|
|
695
742
|
composes: baseHue;
|
|
696
|
-
background-color: hsl(var(--hue), 100%, 97%);
|
|
697
743
|
--textarea_border_width: 1px;
|
|
698
744
|
--textarea_border_color: hsl(var(--hue), 100%, 50%);
|
|
699
745
|
--textarea_text_color: hsl(var(--hue), 100%, 50%);
|
|
700
746
|
--textarea_padding: 2px 10px;
|
|
747
|
+
background-color: hsl(var(--hue), 100%, 97%);
|
|
701
748
|
}
|
|
702
749
|
.customTextarea:hover {
|
|
703
750
|
--textarea_border_color: hsl(var(--hue), 100%, 40%);
|
|
@@ -707,9 +754,9 @@
|
|
|
707
754
|
}
|
|
708
755
|
.disabledTarea {
|
|
709
756
|
composes: baseHue;
|
|
710
|
-
background-color: hsl(var(--hue), 100%, 97%);
|
|
711
757
|
--textarea_border_width: 1px;
|
|
712
758
|
--textarea_border_color: hsl(var(--hue), 100%, 80%);
|
|
713
759
|
--textarea_text_color: hsl(var(--hue), 100%, 80%);
|
|
714
760
|
--textarea_padding: 2px 10px;
|
|
761
|
+
background-color: hsl(var(--hue), 100%, 97%);
|
|
715
762
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.zoomInEnter,
|
|
2
2
|
.zoomInLeave.zoomInLeaveActive {
|
|
3
3
|
opacity: 0;
|
|
4
|
+
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
4
5
|
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
5
6
|
transition-duration: var(--zd_transition3);
|
|
6
7
|
transition-property: all;
|
|
@@ -8,6 +9,8 @@
|
|
|
8
9
|
.zoomInEnter.zoomInEnterActive,
|
|
9
10
|
.zoomInLeave {
|
|
10
11
|
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
11
14
|
transform: perspective(1px) scale(1) translateZ(0);
|
|
12
15
|
transition-duration: var(--zd_transition3);
|
|
13
16
|
transition-property: all;
|
|
@@ -15,15 +18,20 @@
|
|
|
15
18
|
|
|
16
19
|
.scaleInEnter,
|
|
17
20
|
.scaleInLeave.scaleInLeaveActive {
|
|
18
|
-
transform: scale(0);
|
|
19
21
|
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
|
+
transform: scale(0);
|
|
20
26
|
transition-duration: var(--zd_transition3);
|
|
21
27
|
transition-property: all;
|
|
22
28
|
}
|
|
23
29
|
.scaleInEnter.scaleInEnterActive,
|
|
24
30
|
.scaleInLeave {
|
|
25
|
-
transform: scale(1);
|
|
26
31
|
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
|
+
transform: scale(1);
|
|
27
35
|
transition-duration: var(--zd_transition3);
|
|
28
36
|
transition-property: all;
|
|
29
37
|
}
|
|
@@ -31,6 +39,9 @@
|
|
|
31
39
|
.fadeInEnter,
|
|
32
40
|
.fadeInLeave.fadeInLeaveActive {
|
|
33
41
|
opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
34
45
|
transition-duration: var(--zd_transition3);
|
|
35
46
|
transition-property: all;
|
|
36
47
|
}
|
|
@@ -38,6 +49,9 @@
|
|
|
38
49
|
.fadeInEnter.fadeInEnterActive,
|
|
39
50
|
.fadeInLeave {
|
|
40
51
|
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
41
55
|
transition-duration: var(--zd_transition3);
|
|
42
56
|
transition-property: all;
|
|
43
57
|
}
|
|
@@ -45,14 +59,27 @@
|
|
|
45
59
|
.slideLeftEnter,
|
|
46
60
|
.slideLeftLeave.slideLeftLeaveActive {
|
|
47
61
|
opacity: 0;
|
|
48
|
-
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
49
65
|
transition-duration: var(--zd_transition3);
|
|
50
66
|
transition-property: all;
|
|
51
67
|
}
|
|
52
68
|
|
|
69
|
+
[dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
|
|
70
|
+
transform: translateX(110%);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
|
|
74
|
+
transform: translateX(-110%);
|
|
75
|
+
}
|
|
76
|
+
|
|
53
77
|
.slideLeftEnter.slideLeftEnterActive,
|
|
54
78
|
.slideLeftLeave {
|
|
55
79
|
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
56
83
|
transform: translateX(0%);
|
|
57
84
|
transition-duration: var(--zd_transition3);
|
|
58
85
|
transition-property: all;
|
|
@@ -61,6 +88,9 @@
|
|
|
61
88
|
.slideDownEnter,
|
|
62
89
|
.slideDownLeave.slideDownLeaveActive {
|
|
63
90
|
opacity: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
64
94
|
transform: translateY(-100%);
|
|
65
95
|
transition-duration: var(--zd_transition3);
|
|
66
96
|
transition-property: all;
|
|
@@ -69,6 +99,9 @@
|
|
|
69
99
|
.slideDownEnter.slideDownEnterActive,
|
|
70
100
|
.slideDownLeave {
|
|
71
101
|
opacity: 1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
72
105
|
transform: translateY(0%);
|
|
73
106
|
transition-duration: var(--zd_transition3);
|
|
74
107
|
transition-property: all;
|
|
@@ -77,14 +110,27 @@
|
|
|
77
110
|
.skewInEnter,
|
|
78
111
|
.skewInLeave.skewInLeaveActive {
|
|
79
112
|
opacity: 0;
|
|
80
|
-
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
81
116
|
transition-duration: var(--zd_transition3);
|
|
82
117
|
transition-property: all;
|
|
83
118
|
}
|
|
84
119
|
|
|
120
|
+
[dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
|
|
121
|
+
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
|
|
125
|
+
transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
|
|
126
|
+
}
|
|
127
|
+
|
|
85
128
|
.skewInEnter.skewInEnterActive,
|
|
86
129
|
.skewInLeave {
|
|
87
130
|
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
88
134
|
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
89
135
|
transition-duration: var(--zd_transition3);
|
|
90
136
|
transition-property: all;
|
|
@@ -98,9 +144,3 @@
|
|
|
98
144
|
.defaultLeave {
|
|
99
145
|
display: block;
|
|
100
146
|
}
|
|
101
|
-
|
|
102
|
-
.noneEnter,
|
|
103
|
-
.noneEnter.noneEnterActive,
|
|
104
|
-
.noneLeave,
|
|
105
|
-
.noneLeave.noneLeaveActive {
|
|
106
|
-
}
|
|
@@ -84,7 +84,7 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
84
84
|
key: "mouseOverDispatch",
|
|
85
85
|
value: function mouseOverDispatch(e) {
|
|
86
86
|
if (this.tooltipRef) {
|
|
87
|
-
this.tooltipRef.handleOver(e);
|
|
87
|
+
this.tooltipRef.handleOver(e, this.containerElement);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}, {
|
package/lib/DropBox/DropBox.js
CHANGED
|
@@ -171,7 +171,7 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
|
|
|
171
171
|
} : {};
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
boxPosition = boxPosition ? boxPosition : 'bottomCenter';
|
|
174
|
+
boxPosition = boxPosition && boxPosition != 'undefined' ? boxPosition : 'bottomCenter';
|
|
175
175
|
var boxDirection = _DropBoxPositionMapping.positionMapping[boxPosition].direction;
|
|
176
176
|
/*getting box direction*/
|
|
177
177
|
|
|
@@ -51,16 +51,19 @@ var ListContainer = function ListContainer(props) {
|
|
|
51
51
|
onMouseOver = props.onMouseOver,
|
|
52
52
|
eleRef = props.eleRef;
|
|
53
53
|
var responsiveFunc = (0, _react.useCallback)(function (_ref) {
|
|
54
|
-
var mediaQueryOR = _ref.mediaQueryOR
|
|
54
|
+
var mediaQueryOR = _ref.mediaQueryOR,
|
|
55
|
+
isTouchDevice = _ref.isTouchDevice;
|
|
55
56
|
return {
|
|
56
57
|
mobileToTab: mediaQueryOR([{
|
|
57
58
|
maxWidth: 700
|
|
58
|
-
}])
|
|
59
|
+
}]),
|
|
60
|
+
isTouchDevice: isTouchDevice
|
|
59
61
|
};
|
|
60
62
|
}, []);
|
|
61
63
|
|
|
62
64
|
var _useResponsiveReceive = (0, _CustomResponsive.useResponsiveReceiver)('Helmet', responsiveFunc),
|
|
63
|
-
mobileToTab = _useResponsiveReceive.mobileToTab
|
|
65
|
+
mobileToTab = _useResponsiveReceive.mobileToTab,
|
|
66
|
+
isTouchDevice = _useResponsiveReceive.isTouchDevice;
|
|
64
67
|
|
|
65
68
|
var role = a11y.role,
|
|
66
69
|
ariaSelected = a11y.ariaSelected;
|
|
@@ -85,7 +88,7 @@ var ListContainer = function ListContainer(props) {
|
|
|
85
88
|
isCover: false,
|
|
86
89
|
align: "vertical",
|
|
87
90
|
alignBox: "row",
|
|
88
|
-
className: "".concat(_ListItemModule["default"].list, "
|
|
91
|
+
className: "".concat(_ListItemModule["default"].list, " ").concat(_ListItemModule["default"][size], " ").concat(mobileToTab && isTouchDevice ? _ListItemModule["default"].responsiveHeight : '', " ").concat(_ListItemModule["default"][palette], " ").concat(active ? _ListItemModule["default"]["active".concat(palette)] : highlight && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Hover")] : '', " ").concat(autoHover && !isDisabled ? _ListItemModule["default"]["".concat(palette, "Effect")] : '', " ").concat(needTick ? _ListItemModule["default"]["".concat(size, "withTick")] : '', " ").concat(isDisabled ? (0, _CssProvider["default"])('isDisable') : '', " ").concat(needBorder ? active ? _ListItemModule["default"].activewithBorder : _ListItemModule["default"].withBorder : '', " ").concat(customClass),
|
|
89
92
|
dataId: dataId,
|
|
90
93
|
onClick: !isDisabled && onClick,
|
|
91
94
|
onMouseEnter: onMouseEnter,
|
package/lib/ListItem/ListItem.js
CHANGED
|
@@ -135,7 +135,7 @@ var ListItem = /*#__PURE__*/function (_React$Component) {
|
|
|
135
135
|
autoHover: autoHover,
|
|
136
136
|
needTick: needTick,
|
|
137
137
|
needBorder: needBorder,
|
|
138
|
-
customClass:
|
|
138
|
+
customClass: customListItem,
|
|
139
139
|
dataId: dataIdString,
|
|
140
140
|
isLink: isLink,
|
|
141
141
|
href: href,
|
|
@@ -184,10 +184,10 @@
|
|
|
184
184
|
[dir=ltr] .mediumwithTick {
|
|
185
185
|
--listitem_padding: var(--zd_size9) var(--zd_size39) var(--zd_size9)
|
|
186
186
|
var(--zd_size20)
|
|
187
|
-
/*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--
|
|
187
|
+
/*rtl: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39)*/;
|
|
188
188
|
}
|
|
189
189
|
[dir=rtl] .mediumwithTick {
|
|
190
|
-
--listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--
|
|
190
|
+
--listitem_padding: var(--zd_size9) var(--zd_size20) var(--zd_size9) var(--zd_size39);
|
|
191
191
|
}
|
|
192
192
|
[dir=ltr] .largewithTick {
|
|
193
193
|
--listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
|
|
@@ -199,12 +199,7 @@
|
|
|
199
199
|
}
|
|
200
200
|
.responsiveHeight {
|
|
201
201
|
--listitem_height: var(--zd_size45);
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
var(--zd_size20)
|
|
206
|
-
/*rtl: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3)*/;
|
|
207
|
-
}
|
|
208
|
-
[dir=rtl] .responsiveHeight {
|
|
209
|
-
--listitem_padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
202
|
+
font-size: var(--zd_font_size15);
|
|
203
|
+
padding-top: var(--zd_size10);
|
|
204
|
+
padding-bottom: var(--zd_size10);
|
|
210
205
|
}
|
|
@@ -147,7 +147,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
147
147
|
autoHover: autoHover,
|
|
148
148
|
needTick: needTick,
|
|
149
149
|
needBorder: needBorder,
|
|
150
|
-
customClass:
|
|
150
|
+
customClass: customListItem,
|
|
151
151
|
dataId: "".concat(dataIdString, "_ListItemWithAvatar"),
|
|
152
152
|
onClick: this.handleClick,
|
|
153
153
|
onMouseEnter: this.handleMouseEnter,
|
|
@@ -125,7 +125,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
|
|
|
125
125
|
isDisabled: isDisabled,
|
|
126
126
|
active: active,
|
|
127
127
|
autoHover: autoHover,
|
|
128
|
-
customClass:
|
|
128
|
+
customClass: customListItem,
|
|
129
129
|
dataId: "".concat(dataId ? dataId : value, "_ListItemWithCheckBox"),
|
|
130
130
|
onClick: this.onClick,
|
|
131
131
|
onMouseOver: this.onHover,
|
|
@@ -132,7 +132,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
132
132
|
autoHover: autoHover,
|
|
133
133
|
needTick: needTick,
|
|
134
134
|
needBorder: needBorder,
|
|
135
|
-
customClass:
|
|
135
|
+
customClass: customClass,
|
|
136
136
|
dataId: dataIdString,
|
|
137
137
|
isLink: isLink,
|
|
138
138
|
href: href,
|
|
@@ -126,7 +126,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
|
|
|
126
126
|
isDisabled: isDisabled,
|
|
127
127
|
active: active,
|
|
128
128
|
autoHover: autoHover,
|
|
129
|
-
customClass:
|
|
129
|
+
customClass: customListItem,
|
|
130
130
|
dataId: dataId,
|
|
131
131
|
onClick: this.onClick,
|
|
132
132
|
onMouseOver: this.onHover,
|
|
@@ -43,6 +43,8 @@ var _Common = require("../utils/Common.js");
|
|
|
43
43
|
|
|
44
44
|
var _dropDownUtils = require("../utils/dropDownUtils");
|
|
45
45
|
|
|
46
|
+
var _Config = require("../Provider/Config");
|
|
47
|
+
|
|
46
48
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
47
49
|
|
|
48
50
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -944,9 +946,9 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
944
946
|
htmlId = _this$props8.htmlId,
|
|
945
947
|
i18nKeys = _this$props8.i18nKeys,
|
|
946
948
|
a11y = _this$props8.a11y,
|
|
947
|
-
isSearchClearOnSelect = _this$props8.isSearchClearOnSelect,
|
|
948
949
|
palette = _this$props8.palette,
|
|
949
|
-
needEffect = _this$props8.needEffect
|
|
950
|
+
needEffect = _this$props8.needEffect,
|
|
951
|
+
autoComplete = _this$props8.autoComplete;
|
|
950
952
|
var _i18nKeys = i18nKeys,
|
|
951
953
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
952
954
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText;
|
|
@@ -1030,7 +1032,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1030
1032
|
ariaOwns: setAriaId,
|
|
1031
1033
|
ariaDescribedby: ariaErrorId
|
|
1032
1034
|
},
|
|
1033
|
-
autoComplete:
|
|
1035
|
+
autoComplete: autoComplete
|
|
1034
1036
|
})), !isReadOnly && !isDisabled && selectedGroupOptions.length > 1 ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
1035
1037
|
className: _MultiSelectModule["default"]["delete"],
|
|
1036
1038
|
dataId: "".concat(dataId, "_clearIcon"),
|
|
@@ -1122,6 +1124,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1122
1124
|
|
|
1123
1125
|
AdvancedGroupMultiSelect.defaultProps = {
|
|
1124
1126
|
animationStyle: 'bounce',
|
|
1127
|
+
autoComplete: (0, _Config.getLibraryConfig)('autoComplete'),
|
|
1125
1128
|
dataId: 'multiSelect',
|
|
1126
1129
|
defaultDropBoxPosition: 'bottom',
|
|
1127
1130
|
dropBoxSize: 'small',
|
|
@@ -1156,6 +1159,7 @@ AdvancedGroupMultiSelect.defaultProps = {
|
|
|
1156
1159
|
};
|
|
1157
1160
|
AdvancedGroupMultiSelect.propTypes = {
|
|
1158
1161
|
animationStyle: _propTypes["default"].string,
|
|
1162
|
+
autoComplete: _propTypes["default"].bool,
|
|
1159
1163
|
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
1160
1164
|
customClass: _propTypes["default"].string,
|
|
1161
1165
|
dataId: _propTypes["default"].string,
|
|
@@ -41,6 +41,8 @@ var _Common = require("../utils/Common.js");
|
|
|
41
41
|
|
|
42
42
|
var _dropDownUtils = require("../utils/dropDownUtils");
|
|
43
43
|
|
|
44
|
+
var _Config = require("../Provider/Config");
|
|
45
|
+
|
|
44
46
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
45
47
|
|
|
46
48
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -512,10 +514,6 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
512
514
|
}
|
|
513
515
|
} else if (keyCode === 27) {// this.handlePopupClose(e);
|
|
514
516
|
} else if (keyCode === 9) {
|
|
515
|
-
var _selectedOption = suggestions[hoverOption] || {};
|
|
516
|
-
|
|
517
|
-
var _id = _selectedOption.id;
|
|
518
|
-
isPopupOpen && !(0, _Common.getIsEmptyValue)(_id) && this.handleSelectOption(_id, e);
|
|
519
517
|
this.handlePopupClose(e);
|
|
520
518
|
}
|
|
521
519
|
}
|
|
@@ -946,7 +944,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
946
944
|
getFooter = _this$props13.getFooter,
|
|
947
945
|
needEffect = _this$props13.needEffect,
|
|
948
946
|
disabledOptions = _this$props13.disabledOptions,
|
|
949
|
-
boxSize = _this$props13.boxSize
|
|
947
|
+
boxSize = _this$props13.boxSize,
|
|
948
|
+
autoComplete = _this$props13.autoComplete;
|
|
950
949
|
var _i18nKeys = i18nKeys,
|
|
951
950
|
_i18nKeys$clearText = _i18nKeys.clearText,
|
|
952
951
|
clearText = _i18nKeys$clearText === void 0 ? 'Clear all' : _i18nKeys$clearText,
|
|
@@ -1035,7 +1034,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1035
1034
|
ariaRequired: true,
|
|
1036
1035
|
ariaDescribedby: ariaErrorId
|
|
1037
1036
|
},
|
|
1038
|
-
autoComplete:
|
|
1037
|
+
autoComplete: autoComplete
|
|
1039
1038
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
1040
1039
|
alignBox: "row",
|
|
1041
1040
|
align: "vertical"
|
|
@@ -1114,6 +1113,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1114
1113
|
exports.MultiSelectComponent = MultiSelectComponent;
|
|
1115
1114
|
MultiSelectComponent.propTypes = {
|
|
1116
1115
|
animationStyle: _propTypes["default"].string,
|
|
1116
|
+
autoComplete: _propTypes["default"].bool,
|
|
1117
1117
|
borderColor: _propTypes["default"].oneOf(['transparent', 'default', 'dark']),
|
|
1118
1118
|
closePopupOnly: _propTypes["default"].func,
|
|
1119
1119
|
dataId: _propTypes["default"].string,
|
|
@@ -1193,6 +1193,7 @@ MultiSelectComponent.propTypes = {
|
|
|
1193
1193
|
};
|
|
1194
1194
|
MultiSelectComponent.defaultProps = {
|
|
1195
1195
|
animationStyle: 'bounce',
|
|
1196
|
+
autoComplete: (0, _Config.getLibraryConfig)('autoComplete'),
|
|
1196
1197
|
dataId: 'multiSelect',
|
|
1197
1198
|
dropBoxSize: 'small',
|
|
1198
1199
|
isAnimate: true,
|