@zohodesk/components 1.0.0-alpha-232 → 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.
- package/README.md +14 -0
- package/es/AppContainer/AppContainer.js +1 -1
- package/es/Avatar/Avatar.module.css +9 -11
- package/es/AvatarTeam/AvatarTeam.module.css +7 -21
- package/es/Button/Button.module.css +24 -97
- package/es/Buttongroup/Buttongroup.module.css +8 -37
- package/es/CheckBox/CheckBox.module.css +11 -17
- package/es/DateTime/DateTime.module.css +12 -39
- package/es/DateTime/DateWidget.module.css +5 -9
- package/es/DateTime/YearView.module.css +6 -16
- package/es/DropBox/DropBox.module.css +11 -47
- package/es/DropDown/DropDownHeading.module.css +3 -7
- package/es/DropDown/DropDownItem.module.css +6 -32
- package/es/ListItem/ListItem.module.css +25 -57
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -22
- package/es/MultiSelect/MultiSelect.js +0 -5
- package/es/MultiSelect/MultiSelect.module.css +10 -27
- package/es/MultiSelect/SelectedOptions.module.css +2 -8
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Provider/Config.js +3 -1
- package/es/Radio/Radio.module.css +4 -10
- package/es/Ribbon/Ribbon.module.css +28 -93
- package/es/RippleEffect/RippleEffect.module.css +44 -15
- package/es/Select/GroupSelect.js +1 -1
- package/es/Select/Select.module.css +2 -12
- package/es/Stencils/Stencils.module.css +3 -21
- package/es/Switch/Switch.module.css +7 -6
- package/es/Tab/Tab.module.css +7 -16
- package/es/Tab/Tabs.module.css +8 -41
- package/es/Tag/Tag.module.css +14 -36
- package/es/TextBox/TextBox.module.css +11 -7
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
- package/es/Textarea/Textarea.module.css +7 -6
- package/es/Tooltip/Tooltip.js +14 -8
- package/es/Tooltip/Tooltip.module.css +14 -10
- package/es/beta/FocusRing/FocusRing.module.css +26 -51
- package/es/common/animation.module.css +21 -219
- package/es/common/basicReset.module.css +12 -2
- package/es/common/common.module.css +18 -62
- package/es/common/customscroll.module.css +21 -17
- package/es/common/docStyle.module.css +31 -78
- package/es/common/transition.module.css +10 -50
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/DropBox/DropBox.js +1 -1
- package/lib/ListItem/ListContainer.js +4 -7
- package/lib/ListItem/ListItem.js +1 -1
- package/lib/ListItem/ListItem.module.css +10 -5
- 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/package.json +12 -10
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.cboth::after {
|
|
2
2
|
content: '.';
|
|
3
|
+
clear: both;
|
|
3
4
|
display: block;
|
|
4
5
|
font-size: 0;
|
|
5
6
|
height: 0;
|
|
6
7
|
line-height: 0;
|
|
7
8
|
visibility: hidden;
|
|
8
|
-
clear: both;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.m10 {
|
|
@@ -16,14 +16,10 @@
|
|
|
16
16
|
margin: 50px;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
.pl10 {
|
|
20
20
|
padding-left: 10px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
[dir=rtl] .pl10 {
|
|
24
|
-
padding-right: 10px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
23
|
.p10 {
|
|
28
24
|
padding: 10px;
|
|
29
25
|
}
|
|
@@ -65,14 +61,10 @@
|
|
|
65
61
|
margin-bottom: 20px;
|
|
66
62
|
}
|
|
67
63
|
|
|
68
|
-
|
|
64
|
+
.mr20 {
|
|
69
65
|
margin-right: 20px;
|
|
70
66
|
}
|
|
71
67
|
|
|
72
|
-
[dir=rtl] .mr20 {
|
|
73
|
-
margin-left: 20px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
68
|
.w60 {
|
|
77
69
|
width: 60%;
|
|
78
70
|
}
|
|
@@ -98,25 +90,22 @@
|
|
|
98
90
|
}
|
|
99
91
|
|
|
100
92
|
.dark {
|
|
101
|
-
composes: p10;
|
|
102
93
|
background-color: var(--dot_black);
|
|
94
|
+
composes: p10;
|
|
103
95
|
}
|
|
104
96
|
|
|
105
97
|
.table {
|
|
106
|
-
composes: p10;
|
|
107
|
-
composes: cboth;
|
|
108
98
|
border: 1px solid var(--zd_smoke84);
|
|
109
99
|
border-radius: 3px;
|
|
100
|
+
composes: p10;
|
|
101
|
+
composes: cboth;
|
|
110
102
|
}
|
|
111
103
|
|
|
112
|
-
|
|
104
|
+
.table .w60,
|
|
105
|
+
.table .w40 {
|
|
113
106
|
float: left;
|
|
114
107
|
}
|
|
115
108
|
|
|
116
|
-
[dir=rtl] .table .w60, [dir=rtl] .table .w40 {
|
|
117
|
-
float: right;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
109
|
.tableheading {
|
|
121
110
|
composes: blue;
|
|
122
111
|
background:var(--zd_smoke1);
|
|
@@ -128,10 +117,10 @@
|
|
|
128
117
|
composes: p10;
|
|
129
118
|
composes: m10;
|
|
130
119
|
width: 200px;
|
|
131
|
-
composes: tcenter;
|
|
132
|
-
font-weight: bold;
|
|
133
120
|
border: 1px solid var(--zd_smoke83);
|
|
134
121
|
border-radius: 3px;
|
|
122
|
+
composes: tcenter;
|
|
123
|
+
font-weight: bold;
|
|
135
124
|
}
|
|
136
125
|
|
|
137
126
|
.palette .palettecard {
|
|
@@ -147,10 +136,10 @@
|
|
|
147
136
|
|
|
148
137
|
.fontlist {
|
|
149
138
|
composes: tcenter;
|
|
150
|
-
composes: p10;
|
|
151
|
-
composes: m10;
|
|
152
139
|
border: 1px solid var(--zd_smoke83);
|
|
153
140
|
border-radius: 3px;
|
|
141
|
+
composes: p10;
|
|
142
|
+
composes: m10;
|
|
154
143
|
}
|
|
155
144
|
|
|
156
145
|
.fontlist span {
|
|
@@ -159,9 +148,9 @@
|
|
|
159
148
|
}
|
|
160
149
|
|
|
161
150
|
.cover {
|
|
151
|
+
border: 1px solid var(--zd_smoke1);
|
|
162
152
|
composes: p10;
|
|
163
153
|
composes: m10;
|
|
164
|
-
border: 1px solid var(--zd_smoke1);
|
|
165
154
|
border-radius: 5px;
|
|
166
155
|
}
|
|
167
156
|
|
|
@@ -205,7 +194,8 @@
|
|
|
205
194
|
background-color: #e2e4e6;
|
|
206
195
|
padding: 5px;
|
|
207
196
|
}
|
|
208
|
-
.content,
|
|
197
|
+
.content,
|
|
198
|
+
.trow {
|
|
209
199
|
padding: 5px;
|
|
210
200
|
}
|
|
211
201
|
.trow {
|
|
@@ -215,19 +205,14 @@
|
|
|
215
205
|
background-color: #f6f6f6;
|
|
216
206
|
}
|
|
217
207
|
.colorvalue {
|
|
218
|
-
font-size: 13px;
|
|
219
|
-
color: #000;
|
|
220
208
|
background-color: #e2e4e6;
|
|
221
209
|
padding: 3px;
|
|
210
|
+
margin-right: 3px;
|
|
222
211
|
border-radius: 5px;
|
|
212
|
+
font-size: 13px;
|
|
213
|
+
color: #000;
|
|
223
214
|
cursor: pointer;
|
|
224
215
|
}
|
|
225
|
-
[dir=ltr] .colorvalue {
|
|
226
|
-
margin-right: 3px;
|
|
227
|
-
}
|
|
228
|
-
[dir=rtl] .colorvalue {
|
|
229
|
-
margin-left: 3px;
|
|
230
|
-
}
|
|
231
216
|
.rect {
|
|
232
217
|
width: 40px;
|
|
233
218
|
height: 40px;
|
|
@@ -243,25 +228,20 @@
|
|
|
243
228
|
flex-direction: column;
|
|
244
229
|
border: 1px dotted #ccc;
|
|
245
230
|
padding: 4px 6px;
|
|
246
|
-
}
|
|
247
|
-
[dir=ltr] .nestedDiv {
|
|
248
231
|
margin-right: 5px;
|
|
249
232
|
}
|
|
250
|
-
[dir=rtl] .nestedDiv {
|
|
251
|
-
margin-left: 5px;
|
|
252
|
-
}
|
|
253
233
|
.para {
|
|
254
234
|
font-size: 13px;
|
|
255
235
|
margin-bottom: 5px;
|
|
256
236
|
}
|
|
257
237
|
|
|
258
238
|
[data-mode='default'] {
|
|
259
|
-
color: #000;
|
|
260
239
|
background: #fff;
|
|
240
|
+
color: #000;
|
|
261
241
|
}
|
|
262
242
|
[data-mode='dark'] {
|
|
263
|
-
color: #E2E4E6;
|
|
264
243
|
background: #232B38;
|
|
244
|
+
color: #E2E4E6;
|
|
265
245
|
}
|
|
266
246
|
|
|
267
247
|
.baseHue {
|
|
@@ -275,13 +255,8 @@
|
|
|
275
255
|
--avatar_bg_color: hsl(var(--hue), 100%, 90%);
|
|
276
256
|
--avatar_border_color: hsl(var(--hue), 100%, 60%);
|
|
277
257
|
--avatar_text_color: hsl(var(--hue), 100%, 40%);
|
|
278
|
-
}
|
|
279
|
-
[dir=ltr] .customAvatar {
|
|
280
258
|
--avatar_border_radius: 0 12px/*rtl: 12px 0*/;
|
|
281
259
|
}
|
|
282
|
-
[dir=rtl] .customAvatar {
|
|
283
|
-
--avatar_border_radius: 12px 0;
|
|
284
|
-
}
|
|
285
260
|
.customAvatar:hover {
|
|
286
261
|
--avatar_border_width: 2px;
|
|
287
262
|
--avatar_bg_color: hsl(var(--hue), 100%, 85%);
|
|
@@ -416,15 +391,10 @@
|
|
|
416
391
|
.customDropbox {
|
|
417
392
|
composes: baseHue;
|
|
418
393
|
--dropbox_bg_color: hsl(var(--hue), 100%, 98%);
|
|
394
|
+
--dropbox_border_radius: 30px 0/*rtl:0 30px*/;
|
|
419
395
|
--dropbox_box_shadow: 0 0 10px hsl(var(--hue), 100%, 90%);
|
|
420
396
|
--dropbox_arrow_box_shadow_color: hsl(var(--hue), 100%, 90%);
|
|
421
397
|
}
|
|
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
|
-
}
|
|
428
398
|
.customDropbox:hover {
|
|
429
399
|
--dropbox_box_shadow: 0 0 10px hsl(var(--hue), 100%, 80%);
|
|
430
400
|
--dropbox_arrow_box_shadow_color: hsl(var(--hue), 100%, 80%);
|
|
@@ -628,39 +598,24 @@
|
|
|
628
598
|
}
|
|
629
599
|
.flagRibbon {
|
|
630
600
|
composes: ribbon;
|
|
631
|
-
}
|
|
632
|
-
[dir=ltr] .flagRibbon {
|
|
633
601
|
--ribbon_padding: 10px 20px/*rtl: 10px 20px*/;
|
|
634
602
|
--ribbon_flag_border_width: 20px 10px 20px 0/*rtl: 20px 0 20px 10px*/;
|
|
635
603
|
}
|
|
636
|
-
[dir=rtl] .flagRibbon {
|
|
637
|
-
--ribbon_padding: 10px 20px;
|
|
638
|
-
--ribbon_flag_border_width: 20px 0 20px 10px;
|
|
639
|
-
}
|
|
640
604
|
.tagRibbon {
|
|
641
605
|
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*/;
|
|
642
611
|
height: 56px;
|
|
643
612
|
--ribbon_tag_before_width: 40px;
|
|
644
613
|
--ribbon_tag_before_height: 40px;
|
|
614
|
+
--ribbon_tag_before_border_width: 2px 0 0 2px/*rtl: 2px 2px 0 0*/;
|
|
645
615
|
--ribbon_tag_before_border_color: hsl(var(--hue), 100%, 50%);
|
|
646
616
|
--ribbon_tag_before_left: -20px;
|
|
647
617
|
--ribbon_tag_before_top: 6px;
|
|
648
618
|
--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;
|
|
664
619
|
}
|
|
665
620
|
.boxRibbon {
|
|
666
621
|
composes: ribbon;
|
|
@@ -695,10 +650,10 @@
|
|
|
695
650
|
/* custom textboxicon css */
|
|
696
651
|
.customTboxwrap {
|
|
697
652
|
composes: baseHue;
|
|
698
|
-
--textboxicon_icon_margin: 4px 10px;
|
|
699
|
-
--textboxicon_icon_color: hsl(var(--hue), 100%, 50%);
|
|
700
653
|
background-color: hsl(var(--hue), 100%, 90%);
|
|
701
654
|
margin: 5px 0;
|
|
655
|
+
--textboxicon_icon_margin: 4px 10px;
|
|
656
|
+
--textboxicon_icon_color: hsl(var(--hue), 100%, 50%);
|
|
702
657
|
}
|
|
703
658
|
.customTbox {
|
|
704
659
|
--textbox_text_color: hsl(var(--hue), 100%, 50%);
|
|
@@ -725,8 +680,6 @@
|
|
|
725
680
|
.tBoxIconRead,
|
|
726
681
|
.tBoxIconDisable {
|
|
727
682
|
composes: baseHue;
|
|
728
|
-
}
|
|
729
|
-
.tBoxIconRead, .tBoxIconDisable {
|
|
730
683
|
background-color: hsl(var(--hue), 100%, 90%);
|
|
731
684
|
margin: 5px 0;
|
|
732
685
|
}
|
|
@@ -740,11 +693,11 @@
|
|
|
740
693
|
/* custom textarea css */
|
|
741
694
|
.customTextarea {
|
|
742
695
|
composes: baseHue;
|
|
696
|
+
background-color: hsl(var(--hue), 100%, 97%);
|
|
743
697
|
--textarea_border_width: 1px;
|
|
744
698
|
--textarea_border_color: hsl(var(--hue), 100%, 50%);
|
|
745
699
|
--textarea_text_color: hsl(var(--hue), 100%, 50%);
|
|
746
700
|
--textarea_padding: 2px 10px;
|
|
747
|
-
background-color: hsl(var(--hue), 100%, 97%);
|
|
748
701
|
}
|
|
749
702
|
.customTextarea:hover {
|
|
750
703
|
--textarea_border_color: hsl(var(--hue), 100%, 40%);
|
|
@@ -754,9 +707,9 @@
|
|
|
754
707
|
}
|
|
755
708
|
.disabledTarea {
|
|
756
709
|
composes: baseHue;
|
|
710
|
+
background-color: hsl(var(--hue), 100%, 97%);
|
|
757
711
|
--textarea_border_width: 1px;
|
|
758
712
|
--textarea_border_color: hsl(var(--hue), 100%, 80%);
|
|
759
713
|
--textarea_text_color: hsl(var(--hue), 100%, 80%);
|
|
760
714
|
--textarea_padding: 2px 10px;
|
|
761
|
-
background-color: hsl(var(--hue), 100%, 97%);
|
|
762
715
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.zoomInEnter,
|
|
2
2
|
.zoomInLeave.zoomInLeaveActive {
|
|
3
3
|
opacity: 0;
|
|
4
|
-
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
5
4
|
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
6
5
|
transition-duration: var(--zd_transition3);
|
|
7
6
|
transition-property: all;
|
|
@@ -9,8 +8,6 @@
|
|
|
9
8
|
.zoomInEnter.zoomInEnterActive,
|
|
10
9
|
.zoomInLeave {
|
|
11
10
|
opacity: 1;
|
|
12
|
-
}
|
|
13
|
-
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
14
11
|
transform: perspective(1px) scale(1) translateZ(0);
|
|
15
12
|
transition-duration: var(--zd_transition3);
|
|
16
13
|
transition-property: all;
|
|
@@ -18,20 +15,15 @@
|
|
|
18
15
|
|
|
19
16
|
.scaleInEnter,
|
|
20
17
|
.scaleInLeave.scaleInLeaveActive {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
18
|
transform: scale(0);
|
|
19
|
+
opacity: 0;
|
|
26
20
|
transition-duration: var(--zd_transition3);
|
|
27
21
|
transition-property: all;
|
|
28
22
|
}
|
|
29
23
|
.scaleInEnter.scaleInEnterActive,
|
|
30
24
|
.scaleInLeave {
|
|
31
|
-
opacity: 1;
|
|
32
|
-
}
|
|
33
|
-
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
25
|
transform: scale(1);
|
|
26
|
+
opacity: 1;
|
|
35
27
|
transition-duration: var(--zd_transition3);
|
|
36
28
|
transition-property: all;
|
|
37
29
|
}
|
|
@@ -39,9 +31,6 @@
|
|
|
39
31
|
.fadeInEnter,
|
|
40
32
|
.fadeInLeave.fadeInLeaveActive {
|
|
41
33
|
opacity: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
45
34
|
transition-duration: var(--zd_transition3);
|
|
46
35
|
transition-property: all;
|
|
47
36
|
}
|
|
@@ -49,9 +38,6 @@
|
|
|
49
38
|
.fadeInEnter.fadeInEnterActive,
|
|
50
39
|
.fadeInLeave {
|
|
51
40
|
opacity: 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
55
41
|
transition-duration: var(--zd_transition3);
|
|
56
42
|
transition-property: all;
|
|
57
43
|
}
|
|
@@ -59,27 +45,14 @@
|
|
|
59
45
|
.slideLeftEnter,
|
|
60
46
|
.slideLeftLeave.slideLeftLeaveActive {
|
|
61
47
|
opacity: 0;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
48
|
+
transform: translateX(110%);
|
|
65
49
|
transition-duration: var(--zd_transition3);
|
|
66
50
|
transition-property: all;
|
|
67
51
|
}
|
|
68
52
|
|
|
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
|
-
|
|
77
53
|
.slideLeftEnter.slideLeftEnterActive,
|
|
78
54
|
.slideLeftLeave {
|
|
79
55
|
opacity: 1;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
83
56
|
transform: translateX(0%);
|
|
84
57
|
transition-duration: var(--zd_transition3);
|
|
85
58
|
transition-property: all;
|
|
@@ -88,9 +61,6 @@
|
|
|
88
61
|
.slideDownEnter,
|
|
89
62
|
.slideDownLeave.slideDownLeaveActive {
|
|
90
63
|
opacity: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
94
64
|
transform: translateY(-100%);
|
|
95
65
|
transition-duration: var(--zd_transition3);
|
|
96
66
|
transition-property: all;
|
|
@@ -99,9 +69,6 @@
|
|
|
99
69
|
.slideDownEnter.slideDownEnterActive,
|
|
100
70
|
.slideDownLeave {
|
|
101
71
|
opacity: 1;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
105
72
|
transform: translateY(0%);
|
|
106
73
|
transition-duration: var(--zd_transition3);
|
|
107
74
|
transition-property: all;
|
|
@@ -110,27 +77,14 @@
|
|
|
110
77
|
.skewInEnter,
|
|
111
78
|
.skewInLeave.skewInLeaveActive {
|
|
112
79
|
opacity: 0;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
80
|
+
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
116
81
|
transition-duration: var(--zd_transition3);
|
|
117
82
|
transition-property: all;
|
|
118
83
|
}
|
|
119
84
|
|
|
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
|
-
|
|
128
85
|
.skewInEnter.skewInEnterActive,
|
|
129
86
|
.skewInLeave {
|
|
130
87
|
opacity: 1;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
134
88
|
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
135
89
|
transition-duration: var(--zd_transition3);
|
|
136
90
|
transition-property: all;
|
|
@@ -144,3 +98,9 @@
|
|
|
144
98
|
.defaultLeave {
|
|
145
99
|
display: block;
|
|
146
100
|
}
|
|
101
|
+
|
|
102
|
+
.noneEnter,
|
|
103
|
+
.noneEnter.noneEnterActive,
|
|
104
|
+
.noneLeave,
|
|
105
|
+
.noneLeave.noneLeaveActive {
|
|
106
|
+
}
|
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
|
|
174
|
+
boxPosition = boxPosition ? boxPosition : 'bottomCenter';
|
|
175
175
|
var boxDirection = _DropBoxPositionMapping.positionMapping[boxPosition].direction;
|
|
176
176
|
/*getting box direction*/
|
|
177
177
|
|
|
@@ -51,19 +51,16 @@ 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
|
|
55
|
-
isTouchDevice = _ref.isTouchDevice;
|
|
54
|
+
var mediaQueryOR = _ref.mediaQueryOR;
|
|
56
55
|
return {
|
|
57
56
|
mobileToTab: mediaQueryOR([{
|
|
58
57
|
maxWidth: 700
|
|
59
|
-
}])
|
|
60
|
-
isTouchDevice: isTouchDevice
|
|
58
|
+
}])
|
|
61
59
|
};
|
|
62
60
|
}, []);
|
|
63
61
|
|
|
64
62
|
var _useResponsiveReceive = (0, _CustomResponsive.useResponsiveReceiver)('Helmet', responsiveFunc),
|
|
65
|
-
mobileToTab = _useResponsiveReceive.mobileToTab
|
|
66
|
-
isTouchDevice = _useResponsiveReceive.isTouchDevice;
|
|
63
|
+
mobileToTab = _useResponsiveReceive.mobileToTab;
|
|
67
64
|
|
|
68
65
|
var role = a11y.role,
|
|
69
66
|
ariaSelected = a11y.ariaSelected;
|
|
@@ -88,7 +85,7 @@ var ListContainer = function ListContainer(props) {
|
|
|
88
85
|
isCover: false,
|
|
89
86
|
align: "vertical",
|
|
90
87
|
alignBox: "row",
|
|
91
|
-
className: "".concat(_ListItemModule["default"].list, "
|
|
88
|
+
className: "".concat(_ListItemModule["default"].list, " ").concat(mobileToTab ? _ListItemModule["default"].responsiveHeight : '', " ").concat(_ListItemModule["default"][size], " ").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),
|
|
92
89
|
dataId: dataId,
|
|
93
90
|
onClick: !isDisabled && onClick,
|
|
94
91
|
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: customListItem,
|
|
138
|
+
customClass: "".concat(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_size30)*/;
|
|
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_size30);
|
|
191
191
|
}
|
|
192
192
|
[dir=ltr] .largewithTick {
|
|
193
193
|
--listitem_padding: var(--zd_size10) var(--zd_size39) var(--zd_size10)
|
|
@@ -199,7 +199,12 @@
|
|
|
199
199
|
}
|
|
200
200
|
.responsiveHeight {
|
|
201
201
|
--listitem_height: var(--zd_size45);
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
}
|
|
203
|
+
[dir=ltr] .responsiveHeight {
|
|
204
|
+
--listitem_padding: var(--zd_size10) var(--zd_size3) var(--zd_size10)
|
|
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);
|
|
205
210
|
}
|
|
@@ -147,7 +147,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
147
147
|
autoHover: autoHover,
|
|
148
148
|
needTick: needTick,
|
|
149
149
|
needBorder: needBorder,
|
|
150
|
-
customClass: customListItem,
|
|
150
|
+
customClass: "".concat(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: customListItem,
|
|
128
|
+
customClass: "".concat(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: customClass,
|
|
135
|
+
customClass: "".concat(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: customListItem,
|
|
129
|
+
customClass: "".concat(customListItem),
|
|
130
130
|
dataId: dataId,
|
|
131
131
|
onClick: this.onClick,
|
|
132
132
|
onMouseOver: this.onHover,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-alpha-
|
|
3
|
+
"version": "1.0.0-alpha-235",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"jsnext:main": "es/index.js",
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
"docs": "npm run dubCheck && react-cli docs",
|
|
21
21
|
"build": " react-cli build:component:cmjs",
|
|
22
22
|
"buildlocal": " react-cli build:component:cmjs && npm run rtl",
|
|
23
|
-
"build:dev": "npm run build:es --module:mode=dev -- -w",
|
|
23
|
+
"build:dev": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
24
24
|
"build:es": "react-cli build:library:es",
|
|
25
|
+
"rtl:watch": "react-cli rtl ./src ./es -w",
|
|
25
26
|
"build:css:umd": "npm run clean && npm run init && react-cli build:css:umd",
|
|
26
27
|
"coverage": "react-cli coverage",
|
|
27
28
|
"prepare": "react-cli clean assets && npm run init && npm run build && npm run build:es && npm run rtl",
|
|
@@ -35,11 +36,11 @@
|
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
37
38
|
"@zohodesk/variables": "1.0.0-beta.29",
|
|
38
|
-
"@zohodesk/icons": "1.0.0-beta.
|
|
39
|
+
"@zohodesk/icons": "1.0.0-beta.98",
|
|
39
40
|
"@zohodesk/virtualizer": "1.0.3",
|
|
40
|
-
"velocity-react": "
|
|
41
|
+
"velocity-react": "1.4.3",
|
|
41
42
|
"react-sortable-hoc": "^0.8.3",
|
|
42
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
43
|
+
"@zohodesk/svg": "1.0.0-beta.42"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"hoist-non-react-statics": "3.0.1",
|
|
@@ -48,11 +49,11 @@
|
|
|
48
49
|
"selectn": "1.1.2"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
|
-
"@zohodesk/icons": "
|
|
52
|
-
"@zohodesk/variables": "
|
|
53
|
-
"@zohodesk/svg": "
|
|
54
|
-
"@zohodesk/virtualizer": "
|
|
55
|
-
"velocity-react": "
|
|
52
|
+
"@zohodesk/icons": "1.0.0-beta.98",
|
|
53
|
+
"@zohodesk/variables": "1.0.0-beta.29",
|
|
54
|
+
"@zohodesk/svg": "1.0.0-beta.42",
|
|
55
|
+
"@zohodesk/virtualizer": "1.0.3",
|
|
56
|
+
"velocity-react": "1.4.3",
|
|
56
57
|
"react-sortable-hoc": "^0.8.3"
|
|
57
58
|
},
|
|
58
59
|
"react-cli": {
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"runner": "preprocess/index.js"
|
|
61
62
|
},
|
|
62
63
|
"docs": {
|
|
64
|
+
"disableES5Transpile": true,
|
|
63
65
|
"componentFolder": "./src",
|
|
64
66
|
"cssUniqueness": "false",
|
|
65
67
|
"rtlExclude": [
|