@zohodesk/components 1.0.0-temp-202 → 1.0.0-temp-203

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 (187) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +230 -230
  2. package/.cli/PropValidationExcludeFilesArray.js +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +9 -0
  5. package/css_error.log +1 -1
  6. package/es/AppContainer/AppContainer.module.css +18 -18
  7. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  8. package/es/AvatarTeam/AvatarTeam.js +7 -7
  9. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  10. package/es/Button/Button.js +4 -4
  11. package/es/Buttongroup/Buttongroup.js +1 -1
  12. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  13. package/es/Card/Card.js +4 -4
  14. package/es/Card/Card.module.css +20 -20
  15. package/es/DateTime/DateWidget.js +2 -1
  16. package/es/DateTime/DateWidget.module.css +38 -38
  17. package/es/DateTime/__tests__/DateTime.spec.js +1 -1
  18. package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
  19. package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
  20. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  21. package/es/DropDown/DropDown.module.css +5 -5
  22. package/es/DropDown/DropDownSearch.js +5 -2
  23. package/es/DropDown/DropDownSearch.module.css +14 -14
  24. package/es/DropDown/DropDownSeparator.module.css +7 -7
  25. package/es/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
  26. package/es/DropDown/props/defaultProps.js +2 -1
  27. package/es/DropDown/props/propTypes.js +2 -1
  28. package/es/Heading/Heading.module.css +4 -4
  29. package/es/Label/Label.js +2 -2
  30. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  31. package/es/Layout/Layout.module.css +335 -335
  32. package/es/ListItem/ListItemWithCheckBox.js +2 -1
  33. package/es/ListItem/ListItemWithRadio.js +2 -1
  34. package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
  35. package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
  36. package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  37. package/es/MultiSelect/AdvancedMultiSelect.js +6 -2
  38. package/es/MultiSelect/MultiSelect.js +4 -2
  39. package/es/MultiSelect/MultiSelectWithAvatar.js +2 -1
  40. package/es/MultiSelect/SelectedOptions.js +8 -4
  41. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  42. package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
  43. package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
  44. package/es/MultiSelect/props/defaultProps.js +2 -1
  45. package/es/MultiSelect/props/propTypes.js +2 -1
  46. package/es/Popup/PositionMapping.json +73 -73
  47. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  48. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  49. package/es/RippleEffect/RippleEffect.module.css +92 -92
  50. package/es/Select/Select.module.css +134 -134
  51. package/es/Select/SelectWithAvatar.js +5 -2
  52. package/es/Select/SelectWithIcon.js +2 -1
  53. package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
  54. package/es/Stencils/Stencils.module.css +96 -96
  55. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  56. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  57. package/es/Tab/TabContent.module.css +4 -4
  58. package/es/Tab/Tabs.js +21 -19
  59. package/es/Tag/Tag.js +8 -8
  60. package/es/Tooltip/Tooltip.js +2 -47
  61. package/es/Tooltip/Tooltip.module.css +140 -140
  62. package/es/common/a11y.module.css +3 -3
  63. package/es/common/animation.module.css +624 -624
  64. package/es/common/avatarsizes.module.css +48 -48
  65. package/es/common/basic.module.css +33 -33
  66. package/es/common/basicReset.module.css +40 -40
  67. package/es/common/boxShadow.module.css +33 -33
  68. package/es/common/common.module.css +524 -524
  69. package/es/common/reset.module.css +13 -13
  70. package/es/common/transition.module.css +146 -146
  71. package/es/semantic/Button/semanticButton.module.css +9 -9
  72. package/es/v1/Avatar/Avatar.js +5 -5
  73. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  74. package/es/v1/Button/Button.js +4 -4
  75. package/es/v1/DateTime/DateWidget.js +2 -1
  76. package/es/v1/DropDown/DropDownSearch.js +5 -2
  77. package/es/v1/DropDown/props/defaultProps.js +2 -1
  78. package/es/v1/DropDown/props/propTypes.js +2 -1
  79. package/es/v1/ListItem/ListItemWithCheckBox.js +2 -1
  80. package/es/v1/ListItem/ListItemWithRadio.js +2 -1
  81. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  82. package/es/v1/MultiSelect/AdvancedMultiSelect.js +6 -2
  83. package/es/v1/MultiSelect/MultiSelect.js +9 -7
  84. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
  85. package/es/v1/MultiSelect/SelectedOptions.js +8 -4
  86. package/es/v1/MultiSelect/props/defaultProps.js +2 -1
  87. package/es/v1/MultiSelect/props/propTypes.js +2 -1
  88. package/es/v1/Select/SelectWithAvatar.js +5 -2
  89. package/es/v1/Select/SelectWithIcon.js +2 -1
  90. package/es/v1/Tab/Tabs.js +4 -2
  91. package/es/v1/Tab/v1TabContent.module.css +4 -4
  92. package/es/v1/Tag/Tag.js +8 -8
  93. package/es/v1/Typography/css/Typography.module.css +380 -380
  94. package/install.md +10 -10
  95. package/lib/AppContainer/AppContainer.module.css +18 -18
  96. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  97. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  98. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  99. package/lib/Button/Button.js +4 -4
  100. package/lib/Buttongroup/Buttongroup.js +1 -1
  101. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  102. package/lib/Card/Card.js +4 -4
  103. package/lib/Card/Card.module.css +20 -20
  104. package/lib/DateTime/DateWidget.js +2 -1
  105. package/lib/DateTime/DateWidget.module.css +38 -38
  106. package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
  107. package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
  108. package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
  109. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  110. package/lib/DropDown/DropDown.module.css +5 -5
  111. package/lib/DropDown/DropDownSearch.js +5 -2
  112. package/lib/DropDown/DropDownSearch.module.css +14 -14
  113. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  114. package/lib/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
  115. package/lib/DropDown/props/defaultProps.js +2 -1
  116. package/lib/DropDown/props/propTypes.js +1 -1
  117. package/lib/Heading/Heading.module.css +4 -4
  118. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  119. package/lib/Layout/Layout.module.css +335 -335
  120. package/lib/ListItem/ListItemWithCheckBox.js +2 -1
  121. package/lib/ListItem/ListItemWithRadio.js +2 -1
  122. package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
  123. package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
  124. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  125. package/lib/MultiSelect/AdvancedMultiSelect.js +8 -4
  126. package/lib/MultiSelect/MultiSelect.js +4 -2
  127. package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -1
  128. package/lib/MultiSelect/SelectedOptions.js +8 -4
  129. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  130. package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
  131. package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
  132. package/lib/MultiSelect/props/defaultProps.js +2 -1
  133. package/lib/MultiSelect/props/propTypes.js +2 -1
  134. package/lib/Popup/PositionMapping.json +73 -73
  135. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  136. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  137. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  138. package/lib/Select/Select.module.css +134 -134
  139. package/lib/Select/SelectWithAvatar.js +5 -2
  140. package/lib/Select/SelectWithIcon.js +2 -1
  141. package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
  142. package/lib/Stencils/Stencils.module.css +96 -96
  143. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  144. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  145. package/lib/Tab/TabContent.module.css +4 -4
  146. package/lib/Tab/Tabs.js +15 -13
  147. package/lib/Tag/Tag.js +8 -8
  148. package/lib/Tooltip/Tooltip.js +16 -61
  149. package/lib/Tooltip/Tooltip.module.css +140 -140
  150. package/lib/common/a11y.module.css +3 -3
  151. package/lib/common/animation.module.css +624 -624
  152. package/lib/common/avatarsizes.module.css +48 -48
  153. package/lib/common/basic.module.css +33 -33
  154. package/lib/common/basicReset.module.css +40 -40
  155. package/lib/common/boxShadow.module.css +33 -33
  156. package/lib/common/common.module.css +524 -524
  157. package/lib/common/reset.module.css +13 -13
  158. package/lib/common/transition.module.css +146 -146
  159. package/lib/semantic/Button/semanticButton.module.css +9 -9
  160. package/lib/v1/Avatar/Avatar.js +5 -5
  161. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  162. package/lib/v1/Button/Button.js +4 -4
  163. package/lib/v1/DateTime/DateWidget.js +2 -1
  164. package/lib/v1/DropDown/DropDownSearch.js +5 -2
  165. package/lib/v1/DropDown/props/defaultProps.js +2 -1
  166. package/lib/v1/DropDown/props/propTypes.js +1 -1
  167. package/lib/v1/ListItem/ListItemWithCheckBox.js +2 -1
  168. package/lib/v1/ListItem/ListItemWithRadio.js +2 -1
  169. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  170. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +8 -4
  171. package/lib/v1/MultiSelect/MultiSelect.js +9 -7
  172. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
  173. package/lib/v1/MultiSelect/SelectedOptions.js +8 -4
  174. package/lib/v1/MultiSelect/props/defaultProps.js +2 -1
  175. package/lib/v1/MultiSelect/props/propTypes.js +2 -1
  176. package/lib/v1/Select/SelectWithAvatar.js +5 -2
  177. package/lib/v1/Select/SelectWithIcon.js +2 -1
  178. package/lib/v1/Tab/Tabs.js +4 -2
  179. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  180. package/lib/v1/Tag/Tag.js +8 -8
  181. package/lib/v1/Typography/css/Typography.module.css +380 -380
  182. package/package.json +4 -4
  183. package/postPublish.js +8 -8
  184. package/prePublish.js +70 -70
  185. package/propValidationArg.json +11 -11
  186. package/react-cli.config.js +23 -23
  187. package/result.json +1 -1
@@ -1,13 +1,13 @@
1
- *,
2
- :after,
3
- :before {
4
- outline: 0;
5
- box-sizing: border-box;
6
- -webkit-box-sizing: border-box;
7
- -moz-box-sizing: border-box;
8
- -ms-box-sizing: border-box;
9
- }
10
- html {
11
- /* Variable:Ignore */
12
- font-size: 16px;
13
- }
1
+ *,
2
+ :after,
3
+ :before {
4
+ outline: 0;
5
+ box-sizing: border-box;
6
+ -webkit-box-sizing: border-box;
7
+ -moz-box-sizing: border-box;
8
+ -ms-box-sizing: border-box;
9
+ }
10
+ html {
11
+ /* Variable:Ignore */
12
+ font-size: 16px;
13
+ }
@@ -1,146 +1,146 @@
1
- .zoomInEnter,
2
- .zoomInLeave.zoomInLeaveActive {
3
- opacity: 0;
4
- }.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
5
- transform: perspective(1px) scale(1.5) translateZ(0);
6
- transition-duration: var(--zd_transition3);
7
- transition-property: all;
8
- }
9
- .zoomInEnter.zoomInEnterActive,
10
- .zoomInLeave {
11
- opacity: 1;
12
- }
13
- .zoomInEnter.zoomInEnterActive, .zoomInLeave {
14
- transform: perspective(1px) scale(1) translateZ(0);
15
- transition-duration: var(--zd_transition3);
16
- transition-property: all;
17
- }
18
-
19
- .scaleInEnter,
20
- .scaleInLeave.scaleInLeaveActive {
21
- opacity: 0;
22
- }
23
-
24
- .scaleInEnter, .scaleInLeave.scaleInLeaveActive {
25
- transform: scale(0);
26
- transition-duration: var(--zd_transition3);
27
- transition-property: all;
28
- }
29
- .scaleInEnter.scaleInEnterActive,
30
- .scaleInLeave {
31
- opacity: 1;
32
- }
33
- .scaleInEnter.scaleInEnterActive, .scaleInLeave {
34
- transform: scale(1);
35
- transition-duration: var(--zd_transition3);
36
- transition-property: all;
37
- }
38
-
39
- .fadeInEnter,
40
- .fadeInLeave.fadeInLeaveActive {
41
- opacity: 0;
42
- }
43
-
44
- .fadeInEnter, .fadeInLeave.fadeInLeaveActive {
45
- transition-duration: var(--zd_transition3);
46
- transition-property: all;
47
- }
48
-
49
- .fadeInEnter.fadeInEnterActive,
50
- .fadeInLeave {
51
- opacity: 1;
52
- }
53
-
54
- .fadeInEnter.fadeInEnterActive, .fadeInLeave {
55
- transition-duration: var(--zd_transition3);
56
- transition-property: all;
57
- }
58
-
59
- .slideLeftEnter,
60
- .slideLeftLeave.slideLeftLeaveActive {
61
- opacity: 0;
62
- }
63
-
64
- .slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
65
- transition-duration: var(--zd_transition3);
66
- transition-property: all;
67
- }
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
-
77
- .slideLeftEnter.slideLeftEnterActive,
78
- .slideLeftLeave {
79
- opacity: 1;
80
- }
81
-
82
- .slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
83
- transform: translateX(0%);
84
- transition-duration: var(--zd_transition3);
85
- transition-property: all;
86
- }
87
-
88
- .slideDownEnter,
89
- .slideDownLeave.slideDownLeaveActive {
90
- opacity: 0;
91
- }
92
-
93
- .slideDownEnter, .slideDownLeave.slideDownLeaveActive {
94
- transform: translateY(-100%);
95
- transition-duration: var(--zd_transition3);
96
- transition-property: all;
97
- }
98
-
99
- .slideDownEnter.slideDownEnterActive,
100
- .slideDownLeave {
101
- opacity: 1;
102
- }
103
-
104
- .slideDownEnter.slideDownEnterActive, .slideDownLeave {
105
- transform: translateY(0%);
106
- transition-duration: var(--zd_transition3);
107
- transition-property: all;
108
- }
109
-
110
- .skewInEnter,
111
- .skewInLeave.skewInLeaveActive {
112
- opacity: 0;
113
- }
114
-
115
- .skewInEnter, .skewInLeave.skewInLeaveActive {
116
- transition-duration: var(--zd_transition3);
117
- transition-property: all;
118
- }
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
-
128
- .skewInEnter.skewInEnterActive,
129
- .skewInLeave {
130
- opacity: 1;
131
- }
132
-
133
- .skewInEnter.skewInEnterActive, .skewInLeave {
134
- transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
135
- transition-duration: var(--zd_transition3);
136
- transition-property: all;
137
- }
138
-
139
- .defaultEnter,
140
- .defaultLeave.defaultLeaveActive {
141
- display: none;
142
- }
143
- .defaultEnter.defaultEnterActive,
144
- .defaultLeave {
145
- display: block;
146
- }
1
+ .zoomInEnter,
2
+ .zoomInLeave.zoomInLeaveActive {
3
+ opacity: 0;
4
+ }.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
5
+ transform: perspective(1px) scale(1.5) translateZ(0);
6
+ transition-duration: var(--zd_transition3);
7
+ transition-property: all;
8
+ }
9
+ .zoomInEnter.zoomInEnterActive,
10
+ .zoomInLeave {
11
+ opacity: 1;
12
+ }
13
+ .zoomInEnter.zoomInEnterActive, .zoomInLeave {
14
+ transform: perspective(1px) scale(1) translateZ(0);
15
+ transition-duration: var(--zd_transition3);
16
+ transition-property: all;
17
+ }
18
+
19
+ .scaleInEnter,
20
+ .scaleInLeave.scaleInLeaveActive {
21
+ opacity: 0;
22
+ }
23
+
24
+ .scaleInEnter, .scaleInLeave.scaleInLeaveActive {
25
+ transform: scale(0);
26
+ transition-duration: var(--zd_transition3);
27
+ transition-property: all;
28
+ }
29
+ .scaleInEnter.scaleInEnterActive,
30
+ .scaleInLeave {
31
+ opacity: 1;
32
+ }
33
+ .scaleInEnter.scaleInEnterActive, .scaleInLeave {
34
+ transform: scale(1);
35
+ transition-duration: var(--zd_transition3);
36
+ transition-property: all;
37
+ }
38
+
39
+ .fadeInEnter,
40
+ .fadeInLeave.fadeInLeaveActive {
41
+ opacity: 0;
42
+ }
43
+
44
+ .fadeInEnter, .fadeInLeave.fadeInLeaveActive {
45
+ transition-duration: var(--zd_transition3);
46
+ transition-property: all;
47
+ }
48
+
49
+ .fadeInEnter.fadeInEnterActive,
50
+ .fadeInLeave {
51
+ opacity: 1;
52
+ }
53
+
54
+ .fadeInEnter.fadeInEnterActive, .fadeInLeave {
55
+ transition-duration: var(--zd_transition3);
56
+ transition-property: all;
57
+ }
58
+
59
+ .slideLeftEnter,
60
+ .slideLeftLeave.slideLeftLeaveActive {
61
+ opacity: 0;
62
+ }
63
+
64
+ .slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
65
+ transition-duration: var(--zd_transition3);
66
+ transition-property: all;
67
+ }
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
+
77
+ .slideLeftEnter.slideLeftEnterActive,
78
+ .slideLeftLeave {
79
+ opacity: 1;
80
+ }
81
+
82
+ .slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
83
+ transform: translateX(0%);
84
+ transition-duration: var(--zd_transition3);
85
+ transition-property: all;
86
+ }
87
+
88
+ .slideDownEnter,
89
+ .slideDownLeave.slideDownLeaveActive {
90
+ opacity: 0;
91
+ }
92
+
93
+ .slideDownEnter, .slideDownLeave.slideDownLeaveActive {
94
+ transform: translateY(-100%);
95
+ transition-duration: var(--zd_transition3);
96
+ transition-property: all;
97
+ }
98
+
99
+ .slideDownEnter.slideDownEnterActive,
100
+ .slideDownLeave {
101
+ opacity: 1;
102
+ }
103
+
104
+ .slideDownEnter.slideDownEnterActive, .slideDownLeave {
105
+ transform: translateY(0%);
106
+ transition-duration: var(--zd_transition3);
107
+ transition-property: all;
108
+ }
109
+
110
+ .skewInEnter,
111
+ .skewInLeave.skewInLeaveActive {
112
+ opacity: 0;
113
+ }
114
+
115
+ .skewInEnter, .skewInLeave.skewInLeaveActive {
116
+ transition-duration: var(--zd_transition3);
117
+ transition-property: all;
118
+ }
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
+
128
+ .skewInEnter.skewInEnterActive,
129
+ .skewInLeave {
130
+ opacity: 1;
131
+ }
132
+
133
+ .skewInEnter.skewInEnterActive, .skewInLeave {
134
+ transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
135
+ transition-duration: var(--zd_transition3);
136
+ transition-property: all;
137
+ }
138
+
139
+ .defaultEnter,
140
+ .defaultLeave.defaultLeaveActive {
141
+ display: none;
142
+ }
143
+ .defaultEnter.defaultEnterActive,
144
+ .defaultLeave {
145
+ display: block;
146
+ }
@@ -1,9 +1,9 @@
1
- .buttonReset {
2
- outline: 0;
3
- font: inherit;
4
- color: inherit;
5
- border: inherit;
6
- background-color: inherit;
7
- padding: 0 ;
8
- text-align: inherit;
9
- }
1
+ .buttonReset {
2
+ outline: 0;
3
+ font: inherit;
4
+ color: inherit;
5
+ border: inherit;
6
+ background-color: inherit;
7
+ padding: 0 ;
8
+ text-align: inherit;
9
+ }
@@ -5,11 +5,11 @@ import { propTypes } from './props/propTypes';
5
5
  import { getInitial } from '../../utils/getInitial';
6
6
  import AvatarSize from '../../Provider/AvatarSize';
7
7
  import style from '../../Avatar/Avatar.module.css';
8
- /*
9
- 1. need to change name into firstName lastName
10
- 2. pattern support via context as well as props
11
- 3. prop high priority to arrange firstName lastName
12
- 4. team pass name as lastName and pass pattern via prop
8
+ /*
9
+ 1. need to change name into firstName lastName
10
+ 2. pattern support via context as well as props
11
+ 3. prop high priority to arrange firstName lastName
12
+ 4. team pass name as lastName and pass pattern via prop
13
13
  */
14
14
 
15
15
  function Avatar(props) {
@@ -3,10 +3,10 @@ import { defaultProps } from './props/defaultProps';
3
3
  import { propTypes } from './props/propTypes';
4
4
  import Avatar from '../Avatar/Avatar';
5
5
  import style from '../../AvatarTeam/AvatarTeam.module.css';
6
- /* once avatar support firstname lastname and pattern
7
- pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
8
-
9
- Not going to export to external then can kept inside supportapp
6
+ /* once avatar support firstname lastname and pattern
7
+ pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
8
+
9
+ Not going to export to external then can kept inside supportapp
10
10
  */
11
11
 
12
12
  export default function AvatarTeam(props) {
@@ -4,10 +4,10 @@ import { propTypes } from './props/propTypes';
4
4
  import cssJSLogic from '../../Button/css/cssJSLogic';
5
5
  import { mergeStyle } from '@zohodesk/utils';
6
6
  import style from '../../Button/css/Button.module.css';
7
- /*
8
- Button text and children props?
9
- use children for both cases
10
- toLowerCase check needed?
7
+ /*
8
+ Button text and children props?
9
+ use children for both cases
10
+ toLowerCase check needed?
11
11
  */
12
12
 
13
13
  export default function Button(props) {
@@ -1067,7 +1067,8 @@ class DateWidgetComponent extends React.Component {
1067
1067
  customProps: TextBoxProps
1068
1068
  }, /*#__PURE__*/React.createElement(Container, {
1069
1069
  align: "both",
1070
- onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick
1070
+ onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick,
1071
+ dataId: `${dataId}_datePicker`
1071
1072
  }, /*#__PURE__*/React.createElement(Icon, {
1072
1073
  name: "ZD-datepicker",
1073
1074
  size: "12"
@@ -16,7 +16,8 @@ export default function DropDownSearch(props) {
16
16
  textBoxSize,
17
17
  placeHolder,
18
18
  customClass,
19
- getRef
19
+ getRef,
20
+ dataId
20
21
  } = props;
21
22
  let {
22
23
  searchClass = '',
@@ -36,7 +37,9 @@ export default function DropDownSearch(props) {
36
37
  }
37
38
 
38
39
  return /*#__PURE__*/React.createElement("div", {
39
- className: `${style.search} ${style[`${size}Search`]} ${searchClass}`
40
+ className: `${style.search} ${style[`${size}Search`]} ${searchClass}`,
41
+ "data-id": dataId,
42
+ "data-test-id": dataId
40
43
  }, /*#__PURE__*/React.createElement(TextBox, {
41
44
  id: id,
42
45
  inputRef: getReference,
@@ -16,5 +16,6 @@ export const DropDownItem_defaultProps = {
16
16
  export const DropDownSearch_defaultProps = {
17
17
  size: 'medium',
18
18
  textBoxSize: 'medium',
19
- customClass: {}
19
+ customClass: {},
20
+ dataId: 'DropDownSearch'
20
21
  };
@@ -58,7 +58,8 @@ export const DropDownSearch_propTypes = {
58
58
  customClass: PropTypes.shape({
59
59
  searchClass: PropTypes.string,
60
60
  customTextBox: PropTypes.string
61
- })
61
+ }),
62
+ dataId: PropTypes.string
62
63
  };
63
64
  export const DropDownSeparator_propTypes = {
64
65
  customClass: PropTypes.string
@@ -75,7 +75,8 @@ const ListItemWithCheckBox = props => {
75
75
  customProps: ListItemProps,
76
76
  ...ContainerProps
77
77
  }, /*#__PURE__*/React.createElement(Box, {
78
- className: style.iconBox
78
+ className: style.iconBox,
79
+ dataId: `${dataId ? dataId : value}_checkBox`
79
80
  }, /*#__PURE__*/React.createElement(CheckBox, {
80
81
  checked: checked,
81
82
  a11y: {
@@ -75,7 +75,8 @@ const ListItemWithRadio = props => {
75
75
  customProps: ListItemProps,
76
76
  ...ContainerProps
77
77
  }, /*#__PURE__*/React.createElement(Box, {
78
- className: style.iconBox
78
+ className: style.iconBox,
79
+ dataId: `${dataId}_radio`
79
80
  }, /*#__PURE__*/React.createElement(Radio, {
80
81
  checked: checked,
81
82
  id: id,
@@ -925,7 +925,8 @@ class AdvancedGroupMultiSelect extends React.Component {
925
925
  getRef: this.selectedOptionRef,
926
926
  onRemove: this.handleRemoveOption,
927
927
  onSelect: this.handleClickSelectedOption,
928
- isGroupSelect: true
928
+ isGroupSelect: true,
929
+ dataId: `${dataId}_selectedOptions`
929
930
  }), /*#__PURE__*/React.createElement(Box, {
930
931
  flexible: true,
931
932
  className: style.wrapper,
@@ -999,7 +1000,8 @@ class AdvancedGroupMultiSelect extends React.Component {
999
1000
  role: 'listbox',
1000
1001
  ariaMultiselectable: true
1001
1002
  },
1002
- alignBox: "row"
1003
+ alignBox: "row",
1004
+ dataId: `${dataId}_dropbox`
1003
1005
  }, /*#__PURE__*/React.createElement(Box, {
1004
1006
  flexible: true
1005
1007
  }, /*#__PURE__*/React.createElement(Card, {
@@ -1043,7 +1045,8 @@ class AdvancedGroupMultiSelect extends React.Component {
1043
1045
  listItemSize: listItemSize,
1044
1046
  a11y: {
1045
1047
  role: 'option'
1046
- }
1048
+ },
1049
+ dataId: `${dataId}_Options`
1047
1050
  }));
1048
1051
  }) : /*#__PURE__*/React.createElement(EmptyState, {
1049
1052
  options: revampedGroups,
@@ -429,7 +429,8 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
429
429
  isReadOnly: isReadOnly,
430
430
  getRef: this.selectedOptionRef,
431
431
  onRemove: this.handleRemoveOption,
432
- onSelect: this.handleClickSelectedOption
432
+ onSelect: this.handleClickSelectedOption,
433
+ dataId: `${dataIdMultiSelectComp}_selectedOptions`
433
434
  }), moreCount > 0 ? /*#__PURE__*/React.createElement(Box, {
434
435
  className: style.more,
435
436
  onClick: this.handleMoreClick,
@@ -438,7 +439,8 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
438
439
  flexible: true,
439
440
  className: style.wrapper,
440
441
  adjust: true,
441
- shrink: true
442
+ shrink: true,
443
+ dataId: `${dataIdMultiSelectComp}_textBox`
442
444
  }, /*#__PURE__*/React.createElement("span", {
443
445
  className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
444
446
  `
@@ -505,6 +507,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
505
507
  role: 'listbox',
506
508
  ariaMultiselectable: true
507
509
  },
510
+ dataId: `${dataIdMultiSelectComp}_dropbox`,
508
511
  ...DropBoxProps,
509
512
  alignBox: "row",
510
513
  isResponsivePadding: getFooter ? false : true
@@ -537,6 +540,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
537
540
  a11y: {
538
541
  role: 'option'
539
542
  },
543
+ dataId: `${dataIdMultiSelectComp}_Options`,
540
544
  ...SuggestionsProps
541
545
  }) : /*#__PURE__*/React.createElement(EmptyState, {
542
546
  isLoading: isFetchingOptions,
@@ -321,8 +321,8 @@ export class MultiSelectComponent extends React.Component {
321
321
  if (suggestionsLen && isPopupOpen && keyCode === 38) {
322
322
  //up arrow
323
323
 
324
- /*if (hoverOption === 0) { //disable first to last option higlight
325
- !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
324
+ /*if (hoverOption === 0) { //disable first to last option higlight
325
+ !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
326
326
  }*/
327
327
  if (hoverOption) {
328
328
  this.setState({
@@ -332,9 +332,9 @@ export class MultiSelectComponent extends React.Component {
332
332
  } else if (suggestionsLen && isPopupOpen && keyCode === 40) {
333
333
  //down arrow
334
334
 
335
- /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
336
- //disable last to first option higlight
337
- !isNextOptions && this.setState({ hoverOption: 0 });
335
+ /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
336
+ //disable last to first option higlight
337
+ !isNextOptions && this.setState({ hoverOption: 0 });
338
338
  }*/
339
339
  if (isNextOptions && suggestionsLen >= 5 && hoverOption === suggestionsLen - 3) {
340
340
  getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
@@ -901,7 +901,8 @@ export class MultiSelectComponent extends React.Component {
901
901
  onRemove: this.handleRemoveOption,
902
902
  onSelect: this.handleClickSelectedOption,
903
903
  size: size,
904
- palette: palette
904
+ palette: palette,
905
+ dataId: `${dataId}_selectedOptions`
905
906
  }), /*#__PURE__*/React.createElement(Box, {
906
907
  flexible: true,
907
908
  className: style.wrapper,
@@ -1039,7 +1040,8 @@ export class MultiSelectComponent extends React.Component {
1039
1040
  },
1040
1041
  size: boxSize,
1041
1042
  alignBox: "row",
1042
- isResponsivePadding: getFooter ? false : true
1043
+ isResponsivePadding: getFooter ? false : true,
1044
+ dataId: `${dataId}_dropbox`
1043
1045
  }, /*#__PURE__*/React.createElement(Box, {
1044
1046
  flexible: true
1045
1047
  }, /*#__PURE__*/React.createElement(Card, {
@@ -134,7 +134,8 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
134
134
  role: 'listbox'
135
135
  },
136
136
  isResponsivePadding: true,
137
- alignBox: "row"
137
+ alignBox: "row",
138
+ dataId: `${dataId}_dropbox`
138
139
  }, /*#__PURE__*/React.createElement(Box, {
139
140
  flexible: true
140
141
  }, /*#__PURE__*/React.createElement(Card, {
@@ -21,7 +21,8 @@ export default class SelectedOptions extends React.PureComponent {
21
21
  onRemove,
22
22
  onSelect,
23
23
  size,
24
- palette
24
+ palette,
25
+ dataId
25
26
  } = this.props;
26
27
  const isDarkPalette = palette === 'dark' ? 'dark' : 'danger';
27
28
  return /*#__PURE__*/React.createElement(React.Fragment, null, selectedOptions.map(option => {
@@ -49,7 +50,8 @@ export default class SelectedOptions extends React.PureComponent {
49
50
  if (optionType === 'avatar') {
50
51
  return /*#__PURE__*/React.createElement(Box, {
51
52
  className: `${style.tag} ${style[size]}`,
52
- key: `${id}photoTag`
53
+ key: `${id}photoTag`,
54
+ dataId: dataId
53
55
  }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
54
56
  active: highLightedSelectOptions.indexOf(id) >= 0,
55
57
  hasAvatar: true,
@@ -58,7 +60,8 @@ export default class SelectedOptions extends React.PureComponent {
58
60
  } else if (optionType === 'icon') {
59
61
  return /*#__PURE__*/React.createElement(Box, {
60
62
  className: `${style.tag} ${style[size]}`,
61
- key: `${id}iconTag`
63
+ key: `${id}iconTag`,
64
+ dataId: dataId
62
65
  }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
63
66
  active: highLightedSelectOptions.indexOf(id) >= 0,
64
67
  iconName: icon,
@@ -68,7 +71,8 @@ export default class SelectedOptions extends React.PureComponent {
68
71
 
69
72
  return /*#__PURE__*/React.createElement(Box, {
70
73
  className: `${style.tag} ${style[size]}`,
71
- key: `${id}tag`
74
+ key: `${id}tag`,
75
+ dataId: dataId
72
76
  }, /*#__PURE__*/React.createElement(Tag, { ...commonProps,
73
77
  active: highLightedSelectOptions.indexOf(id) >= 0
74
78
  }));
@@ -149,7 +149,8 @@ export const MultiSelectWithAvatar_defaultProps = {
149
149
  needResponsive: true
150
150
  };
151
151
  export const SelectedOptions_defaultProps = {
152
- size: 'medium'
152
+ size: 'medium',
153
+ dataId: 'selectedOptions'
153
154
  };
154
155
  export const Suggestions_defaultProps = {
155
156
  a11y: {}
@@ -139,7 +139,8 @@ export const SelectedOptions_propTypes = {
139
139
  optionType: PropTypes.string
140
140
  })),
141
141
  size: PropTypes.oneOf(['medium', 'xmedium']),
142
- palette: PropTypes.string
142
+ palette: PropTypes.string,
143
+ dataId: PropTypes.string
143
144
  };
144
145
  export const Suggestions_propTypes = {
145
146
  a11y: PropTypes.shape({