@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
+ }
@@ -49,11 +49,11 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
49
49
 
50
50
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
51
51
 
52
- /*
53
- 1. need to change name into firstName lastName
54
- 2. pattern support via context as well as props
55
- 3. prop high priority to arrange firstName lastName
56
- 4. team pass name as lastName and pass pattern via prop
52
+ /*
53
+ 1. need to change name into firstName lastName
54
+ 2. pattern support via context as well as props
55
+ 3. prop high priority to arrange firstName lastName
56
+ 4. team pass name as lastName and pass pattern via prop
57
57
  */
58
58
  function Avatar(props) {
59
59
  var src = props.src,
@@ -19,10 +19,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
19
19
 
20
20
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
- /* once avatar support firstname lastname and pattern
23
- pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
24
-
25
- Not going to export to external then can kept inside supportapp
22
+ /* once avatar support firstname lastname and pattern
23
+ pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
24
+
25
+ Not going to export to external then can kept inside supportapp
26
26
  */
27
27
  function AvatarTeam(props) {
28
28
  var src = props.src,
@@ -21,10 +21,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
21
21
 
22
22
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
23
 
24
- /*
25
- Button text and children props?
26
- use children for both cases
27
- toLowerCase check needed?
24
+ /*
25
+ Button text and children props?
26
+ use children for both cases
27
+ toLowerCase check needed?
28
28
  */
29
29
  function Button(props) {
30
30
  var text = props.text,
@@ -1093,7 +1093,8 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
1093
1093
  customProps: TextBoxProps
1094
1094
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
1095
1095
  align: "both",
1096
- onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick
1096
+ onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick,
1097
+ dataId: "".concat(dataId, "_datePicker")
1097
1098
  }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
1098
1099
  name: "ZD-datepicker",
1099
1100
  size: "12"
@@ -35,7 +35,8 @@ function DropDownSearch(props) {
35
35
  textBoxSize = props.textBoxSize,
36
36
  placeHolder = props.placeHolder,
37
37
  customClass = props.customClass,
38
- getRef = props.getRef;
38
+ getRef = props.getRef,
39
+ dataId = props.dataId;
39
40
  var _customClass$searchCl = customClass.searchClass,
40
41
  searchClass = _customClass$searchCl === void 0 ? '' : _customClass$searchCl,
41
42
  _customClass$customTe = customClass.customTextBox,
@@ -54,7 +55,9 @@ function DropDownSearch(props) {
54
55
  }
55
56
 
56
57
  return /*#__PURE__*/_react["default"].createElement("div", {
57
- className: "".concat(_DropDownSearchModule["default"].search, " ").concat(_DropDownSearchModule["default"]["".concat(size, "Search")], " ").concat(searchClass)
58
+ className: "".concat(_DropDownSearchModule["default"].search, " ").concat(_DropDownSearchModule["default"]["".concat(size, "Search")], " ").concat(searchClass),
59
+ "data-id": dataId,
60
+ "data-test-id": dataId
58
61
  }, /*#__PURE__*/_react["default"].createElement(_TextBox["default"], {
59
62
  id: id,
60
63
  inputRef: getReference,
@@ -25,6 +25,7 @@ exports.DropDownItem_defaultProps = DropDownItem_defaultProps;
25
25
  var DropDownSearch_defaultProps = {
26
26
  size: 'medium',
27
27
  textBoxSize: 'medium',
28
- customClass: {}
28
+ customClass: {},
29
+ dataId: 'DropDownSearch'
29
30
  };
30
31
  exports.DropDownSearch_defaultProps = DropDownSearch_defaultProps;
@@ -79,7 +79,7 @@ var DropDownSearch_propTypes = (_DropDownSearch_propT = {
79
79
  }, _defineProperty(_DropDownSearch_propT, "placeHolder", _propTypes["default"].string), _defineProperty(_DropDownSearch_propT, "size", _propTypes["default"].oneOf(['small', 'medium'])), _defineProperty(_DropDownSearch_propT, "textBoxSize", _propTypes["default"].string), _defineProperty(_DropDownSearch_propT, "value", _propTypes["default"].string), _defineProperty(_DropDownSearch_propT, "customClass", _propTypes["default"].shape({
80
80
  searchClass: _propTypes["default"].string,
81
81
  customTextBox: _propTypes["default"].string
82
- })), _DropDownSearch_propT);
82
+ })), _defineProperty(_DropDownSearch_propT, "dataId", _propTypes["default"].string), _DropDownSearch_propT);
83
83
  exports.DropDownSearch_propTypes = DropDownSearch_propTypes;
84
84
  var DropDownSeparator_propTypes = {
85
85
  customClass: _propTypes["default"].string
@@ -96,7 +96,8 @@ var ListItemWithCheckBox = function ListItemWithCheckBox(props) {
96
96
  title: null,
97
97
  customProps: ListItemProps
98
98
  }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
99
- className: _ListItemModule["default"].iconBox
99
+ className: _ListItemModule["default"].iconBox,
100
+ dataId: "".concat(dataId ? dataId : value, "_checkBox")
100
101
  }, /*#__PURE__*/_react["default"].createElement(_CheckBox["default"], {
101
102
  checked: checked,
102
103
  a11y: {
@@ -96,7 +96,8 @@ var ListItemWithRadio = function ListItemWithRadio(props) {
96
96
  title: null,
97
97
  customProps: ListItemProps
98
98
  }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
99
- className: _ListItemModule["default"].iconBox
99
+ className: _ListItemModule["default"].iconBox,
100
+ dataId: "".concat(dataId, "_radio")
100
101
  }, /*#__PURE__*/_react["default"].createElement(_Radio["default"], {
101
102
  checked: checked,
102
103
  id: id,
@@ -1014,7 +1014,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
1014
1014
  getRef: this.selectedOptionRef,
1015
1015
  onRemove: this.handleRemoveOption,
1016
1016
  onSelect: this.handleClickSelectedOption,
1017
- isGroupSelect: true
1017
+ isGroupSelect: true,
1018
+ dataId: "".concat(dataId, "_selectedOptions")
1018
1019
  }), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
1019
1020
  flexible: true,
1020
1021
  className: _MultiSelectModule["default"].wrapper,
@@ -1085,7 +1086,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
1085
1086
  role: 'listbox',
1086
1087
  ariaMultiselectable: true
1087
1088
  },
1088
- alignBox: "row"
1089
+ alignBox: "row",
1090
+ dataId: "".concat(dataId, "_dropbox")
1089
1091
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
1090
1092
  flexible: true
1091
1093
  }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
@@ -1128,7 +1130,8 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
1128
1130
  listItemSize: listItemSize,
1129
1131
  a11y: {
1130
1132
  role: 'option'
1131
- }
1133
+ },
1134
+ dataId: "".concat(dataId, "_Options")
1132
1135
  }));
1133
1136
  }) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
1134
1137
  options: revampedGroups,
@@ -494,7 +494,8 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
494
494
  isReadOnly: isReadOnly,
495
495
  getRef: this.selectedOptionRef,
496
496
  onRemove: this.handleRemoveOption,
497
- onSelect: this.handleClickSelectedOption
497
+ onSelect: this.handleClickSelectedOption,
498
+ dataId: "".concat(dataIdMultiSelectComp, "_selectedOptions")
498
499
  }), moreCount > 0 ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
499
500
  className: _MultiSelectModule["default"].more,
500
501
  onClick: this.handleMoreClick,
@@ -503,7 +504,8 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
503
504
  flexible: true,
504
505
  className: _MultiSelectModule["default"].wrapper,
505
506
  adjust: true,
506
- shrink: true
507
+ shrink: true,
508
+ dataId: "".concat(dataIdMultiSelectComp, "_textBox")
507
509
  }, /*#__PURE__*/_react["default"].createElement("span", {
508
510
  className: " ".concat(_MultiSelectModule["default"].custmSpan, " ").concat(textBoxSize === 'xmedium' ? _MultiSelectModule["default"].custmSpanXmedium : _MultiSelectModule["default"].custmSpanMedium, " ").concat(isShowClearIcon ? _MultiSelectModule["default"].clearIconSpace : '', "\n ")
509
511
  }, searchStr), /*#__PURE__*/_react["default"].createElement(_TextBoxIcon["default"], {
@@ -566,7 +568,8 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
566
568
  a11y: {
567
569
  role: 'listbox',
568
570
  ariaMultiselectable: true
569
- }
571
+ },
572
+ dataId: "".concat(dataIdMultiSelectComp, "_dropbox")
570
573
  }, DropBoxProps, {
571
574
  alignBox: "row",
572
575
  isResponsivePadding: getFooter ? false : true
@@ -598,7 +601,8 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
598
601
  listItemSize: listItemSize,
599
602
  a11y: {
600
603
  role: 'option'
601
- }
604
+ },
605
+ dataId: "".concat(dataIdMultiSelectComp, "_Options")
602
606
  }, SuggestionsProps)) : /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], {
603
607
  isLoading: isFetchingOptions,
604
608
  options: options,
@@ -402,8 +402,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
402
402
  if (suggestionsLen && isPopupOpen && keyCode === 38) {
403
403
  //up arrow
404
404
 
405
- /*if (hoverOption === 0) { //disable first to last option higlight
406
- !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
405
+ /*if (hoverOption === 0) { //disable first to last option higlight
406
+ !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
407
407
  }*/
408
408
  if (hoverOption) {
409
409
  this.setState({
@@ -413,9 +413,9 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
413
413
  } else if (suggestionsLen && isPopupOpen && keyCode === 40) {
414
414
  //down arrow
415
415
 
416
- /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
417
- //disable last to first option higlight
418
- !isNextOptions && this.setState({ hoverOption: 0 });
416
+ /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
417
+ //disable last to first option higlight
418
+ !isNextOptions && this.setState({ hoverOption: 0 });
419
419
  }*/
420
420
  if (isNextOptions && suggestionsLen >= 5 && hoverOption === suggestionsLen - 3) {
421
421
  getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
@@ -981,7 +981,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
981
981
  onRemove: this.handleRemoveOption,
982
982
  onSelect: this.handleClickSelectedOption,
983
983
  size: size,
984
- palette: palette
984
+ palette: palette,
985
+ dataId: "".concat(dataId, "_selectedOptions")
985
986
  }), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
986
987
  flexible: true,
987
988
  className: _MultiSelectModule["default"].wrapper,
@@ -1117,7 +1118,8 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
1117
1118
  },
1118
1119
  size: boxSize,
1119
1120
  alignBox: "row",
1120
- isResponsivePadding: getFooter ? false : true
1121
+ isResponsivePadding: getFooter ? false : true,
1122
+ dataId: "".concat(dataId, "_dropbox")
1121
1123
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
1122
1124
  flexible: true
1123
1125
  }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
@@ -186,7 +186,8 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
186
186
  role: 'listbox'
187
187
  },
188
188
  isResponsivePadding: true,
189
- alignBox: "row"
189
+ alignBox: "row",
190
+ dataId: "".concat(dataId, "_dropbox")
190
191
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
191
192
  flexible: true
192
193
  }, /*#__PURE__*/_react["default"].createElement(_Card["default"], {
@@ -66,7 +66,8 @@ var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
66
66
  onRemove = _this$props.onRemove,
67
67
  onSelect = _this$props.onSelect,
68
68
  size = _this$props.size,
69
- palette = _this$props.palette;
69
+ palette = _this$props.palette,
70
+ dataId = _this$props.dataId;
70
71
  var isDarkPalette = palette === 'dark' ? 'dark' : 'danger';
71
72
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, selectedOptions.map(function (option) {
72
73
  var id = option.id,
@@ -91,7 +92,8 @@ var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
91
92
  if (optionType === 'avatar') {
92
93
  return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
93
94
  className: "".concat(_SelectedOptionsModule["default"].tag, " ").concat(_SelectedOptionsModule["default"][size]),
94
- key: "".concat(id, "photoTag")
95
+ key: "".concat(id, "photoTag"),
96
+ dataId: dataId
95
97
  }, /*#__PURE__*/_react["default"].createElement(_Tag["default"], _extends({}, commonProps, {
96
98
  active: highLightedSelectOptions.indexOf(id) >= 0,
97
99
  hasAvatar: true,
@@ -100,7 +102,8 @@ var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
100
102
  } else if (optionType === 'icon') {
101
103
  return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
102
104
  className: "".concat(_SelectedOptionsModule["default"].tag, " ").concat(_SelectedOptionsModule["default"][size]),
103
- key: "".concat(id, "iconTag")
105
+ key: "".concat(id, "iconTag"),
106
+ dataId: dataId
104
107
  }, /*#__PURE__*/_react["default"].createElement(_Tag["default"], _extends({}, commonProps, {
105
108
  active: highLightedSelectOptions.indexOf(id) >= 0,
106
109
  iconName: icon,
@@ -110,7 +113,8 @@ var SelectedOptions = /*#__PURE__*/function (_React$PureComponent) {
110
113
 
111
114
  return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
112
115
  className: "".concat(_SelectedOptionsModule["default"].tag, " ").concat(_SelectedOptionsModule["default"][size]),
113
- key: "".concat(id, "tag")
116
+ key: "".concat(id, "tag"),
117
+ dataId: dataId
114
118
  }, /*#__PURE__*/_react["default"].createElement(_Tag["default"], _extends({}, commonProps, {
115
119
  active: highLightedSelectOptions.indexOf(id) >= 0
116
120
  })));
@@ -163,7 +163,8 @@ var MultiSelectWithAvatar_defaultProps = {
163
163
  };
164
164
  exports.MultiSelectWithAvatar_defaultProps = MultiSelectWithAvatar_defaultProps;
165
165
  var SelectedOptions_defaultProps = {
166
- size: 'medium'
166
+ size: 'medium',
167
+ dataId: 'selectedOptions'
167
168
  };
168
169
  exports.SelectedOptions_defaultProps = SelectedOptions_defaultProps;
169
170
  var Suggestions_defaultProps = {
@@ -160,7 +160,8 @@ var SelectedOptions_propTypes = {
160
160
  optionType: _propTypes["default"].string
161
161
  })),
162
162
  size: _propTypes["default"].oneOf(['medium', 'xmedium']),
163
- palette: _propTypes["default"].string
163
+ palette: _propTypes["default"].string,
164
+ dataId: _propTypes["default"].string
164
165
  };
165
166
  exports.SelectedOptions_propTypes = SelectedOptions_propTypes;
166
167
  var Suggestions_propTypes = {