@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
@@ -4,10 +4,10 @@ import { propTypes } from './props/propTypes';
4
4
  import cssJSLogic from './css/cssJSLogic';
5
5
  import { mergeStyle } from '@zohodesk/utils';
6
6
  import style from './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
  /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small','medium','large','xlarge','button_medium','button_small','primary','primaryfilled','danger','dangerfilled','plainprimary', 'plainsecondary', 'secondary', 'secondaryfilled', 'successFilled','tertiaryFilled'] }] */
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { defaultProps } from './props/defaultProps';
3
3
  import { propTypes } from './props/propTypes';
4
4
  import style from './Buttongroup.module.css';
5
- /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['footer','header',
5
+ /* eslint css-modules/no-unused-class: [2, { markAsUsed: ['footer','header',
6
6
  'tab','alignleft','alignright','aligncenter' ] }] */
7
7
 
8
8
  export default class Buttongroup extends React.Component {
@@ -1,191 +1,191 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Buttongrop - Checking the "customclass" 1`] = `
4
- <DocumentFragment>
5
- <div
6
- class="buttonGroup undefined customClassButtonGroup"
7
- data-id="ButtonGroup"
8
- data-selector-id="buttonGroup"
9
- data-test-id="ButtonGroup"
10
- >
11
- <div
12
- class="alignleft"
13
- >
14
- <span>
15
- Element 1
16
- </span>
17
- <span>
18
- Element 2
19
- </span>
20
- <span>
21
- Element 3
22
- </span>
23
- </div>
24
- </div>
25
- </DocumentFragment>
26
- `;
27
-
28
- exports[`Buttongrop - rendering the "buttonPosition" to - center 1`] = `
29
- <DocumentFragment>
30
- <div
31
- class="buttonGroup undefined "
32
- data-id="ButtonGroup"
33
- data-selector-id="buttonGroup"
34
- data-test-id="ButtonGroup"
35
- >
36
- <div
37
- class="aligncenter"
38
- >
39
- <span>
40
- Element 1
41
- </span>
42
- <span>
43
- Element 2
44
- </span>
45
- <span>
46
- Element 3
47
- </span>
48
- </div>
49
- </div>
50
- </DocumentFragment>
51
- `;
52
-
53
- exports[`Buttongrop - rendering the "buttonPosition" to - left 1`] = `
54
- <DocumentFragment>
55
- <div
56
- class="buttonGroup undefined "
57
- data-id="ButtonGroup"
58
- data-selector-id="buttonGroup"
59
- data-test-id="ButtonGroup"
60
- >
61
- <div
62
- class="alignleft"
63
- >
64
- <span>
65
- Element 1
66
- </span>
67
- <span>
68
- Element 2
69
- </span>
70
- <span>
71
- Element 3
72
- </span>
73
- </div>
74
- </div>
75
- </DocumentFragment>
76
- `;
77
-
78
- exports[`Buttongrop - rendering the "buttonPosition" to - right 1`] = `
79
- <DocumentFragment>
80
- <div
81
- class="buttonGroup undefined "
82
- data-id="ButtonGroup"
83
- data-selector-id="buttonGroup"
84
- data-test-id="ButtonGroup"
85
- >
86
- <div
87
- class="alignright"
88
- >
89
- <span>
90
- Element 1
91
- </span>
92
- <span>
93
- Element 2
94
- </span>
95
- <span>
96
- Element 3
97
- </span>
98
- </div>
99
- </div>
100
- </DocumentFragment>
101
- `;
102
-
103
- exports[`Buttongrop - rendering the "type" - footer 1`] = `
104
- <DocumentFragment>
105
- <div
106
- class="buttonGroup footer "
107
- data-id="ButtonGroup"
108
- data-selector-id="buttonGroup"
109
- data-test-id="ButtonGroup"
110
- >
111
- <div
112
- class="alignleft"
113
- >
114
- <span>
115
- Element 1
116
- </span>
117
- <span>
118
- Element 2
119
- </span>
120
- <span>
121
- Element 3
122
- </span>
123
- </div>
124
- </div>
125
- </DocumentFragment>
126
- `;
127
-
128
- exports[`Buttongrop - rendering the "type" - header 1`] = `
129
- <DocumentFragment>
130
- <div
131
- class="buttonGroup header "
132
- data-id="ButtonGroup"
133
- data-selector-id="buttonGroup"
134
- data-test-id="ButtonGroup"
135
- >
136
- <div
137
- class="alignleft"
138
- >
139
- <span>
140
- Element 1
141
- </span>
142
- <span>
143
- Element 2
144
- </span>
145
- <span>
146
- Element 3
147
- </span>
148
- </div>
149
- </div>
150
- </DocumentFragment>
151
- `;
152
-
153
- exports[`Buttongrop - rendering the "type" - tab 1`] = `
154
- <DocumentFragment>
155
- <div
156
- class="buttonGroup tab "
157
- data-id="ButtonGroup"
158
- data-selector-id="buttonGroup"
159
- data-test-id="ButtonGroup"
160
- >
161
- <div
162
- class="alignleft"
163
- >
164
- <span>
165
- Element 1
166
- </span>
167
- <span>
168
- Element 2
169
- </span>
170
- <span>
171
- Element 3
172
- </span>
173
- </div>
174
- </div>
175
- </DocumentFragment>
176
- `;
177
-
178
- exports[`Buttongrop - rendering the default props 1`] = `
179
- <DocumentFragment>
180
- <div
181
- class="buttonGroup undefined "
182
- data-id="ButtonGroup"
183
- data-selector-id="buttonGroup"
184
- data-test-id="ButtonGroup"
185
- >
186
- <div
187
- class="alignleft"
188
- />
189
- </div>
190
- </DocumentFragment>
191
- `;
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Buttongrop - Checking the "customclass" 1`] = `
4
+ <DocumentFragment>
5
+ <div
6
+ class="buttonGroup undefined customClassButtonGroup"
7
+ data-id="ButtonGroup"
8
+ data-selector-id="buttonGroup"
9
+ data-test-id="ButtonGroup"
10
+ >
11
+ <div
12
+ class="alignleft"
13
+ >
14
+ <span>
15
+ Element 1
16
+ </span>
17
+ <span>
18
+ Element 2
19
+ </span>
20
+ <span>
21
+ Element 3
22
+ </span>
23
+ </div>
24
+ </div>
25
+ </DocumentFragment>
26
+ `;
27
+
28
+ exports[`Buttongrop - rendering the "buttonPosition" to - center 1`] = `
29
+ <DocumentFragment>
30
+ <div
31
+ class="buttonGroup undefined "
32
+ data-id="ButtonGroup"
33
+ data-selector-id="buttonGroup"
34
+ data-test-id="ButtonGroup"
35
+ >
36
+ <div
37
+ class="aligncenter"
38
+ >
39
+ <span>
40
+ Element 1
41
+ </span>
42
+ <span>
43
+ Element 2
44
+ </span>
45
+ <span>
46
+ Element 3
47
+ </span>
48
+ </div>
49
+ </div>
50
+ </DocumentFragment>
51
+ `;
52
+
53
+ exports[`Buttongrop - rendering the "buttonPosition" to - left 1`] = `
54
+ <DocumentFragment>
55
+ <div
56
+ class="buttonGroup undefined "
57
+ data-id="ButtonGroup"
58
+ data-selector-id="buttonGroup"
59
+ data-test-id="ButtonGroup"
60
+ >
61
+ <div
62
+ class="alignleft"
63
+ >
64
+ <span>
65
+ Element 1
66
+ </span>
67
+ <span>
68
+ Element 2
69
+ </span>
70
+ <span>
71
+ Element 3
72
+ </span>
73
+ </div>
74
+ </div>
75
+ </DocumentFragment>
76
+ `;
77
+
78
+ exports[`Buttongrop - rendering the "buttonPosition" to - right 1`] = `
79
+ <DocumentFragment>
80
+ <div
81
+ class="buttonGroup undefined "
82
+ data-id="ButtonGroup"
83
+ data-selector-id="buttonGroup"
84
+ data-test-id="ButtonGroup"
85
+ >
86
+ <div
87
+ class="alignright"
88
+ >
89
+ <span>
90
+ Element 1
91
+ </span>
92
+ <span>
93
+ Element 2
94
+ </span>
95
+ <span>
96
+ Element 3
97
+ </span>
98
+ </div>
99
+ </div>
100
+ </DocumentFragment>
101
+ `;
102
+
103
+ exports[`Buttongrop - rendering the "type" - footer 1`] = `
104
+ <DocumentFragment>
105
+ <div
106
+ class="buttonGroup footer "
107
+ data-id="ButtonGroup"
108
+ data-selector-id="buttonGroup"
109
+ data-test-id="ButtonGroup"
110
+ >
111
+ <div
112
+ class="alignleft"
113
+ >
114
+ <span>
115
+ Element 1
116
+ </span>
117
+ <span>
118
+ Element 2
119
+ </span>
120
+ <span>
121
+ Element 3
122
+ </span>
123
+ </div>
124
+ </div>
125
+ </DocumentFragment>
126
+ `;
127
+
128
+ exports[`Buttongrop - rendering the "type" - header 1`] = `
129
+ <DocumentFragment>
130
+ <div
131
+ class="buttonGroup header "
132
+ data-id="ButtonGroup"
133
+ data-selector-id="buttonGroup"
134
+ data-test-id="ButtonGroup"
135
+ >
136
+ <div
137
+ class="alignleft"
138
+ >
139
+ <span>
140
+ Element 1
141
+ </span>
142
+ <span>
143
+ Element 2
144
+ </span>
145
+ <span>
146
+ Element 3
147
+ </span>
148
+ </div>
149
+ </div>
150
+ </DocumentFragment>
151
+ `;
152
+
153
+ exports[`Buttongrop - rendering the "type" - tab 1`] = `
154
+ <DocumentFragment>
155
+ <div
156
+ class="buttonGroup tab "
157
+ data-id="ButtonGroup"
158
+ data-selector-id="buttonGroup"
159
+ data-test-id="ButtonGroup"
160
+ >
161
+ <div
162
+ class="alignleft"
163
+ >
164
+ <span>
165
+ Element 1
166
+ </span>
167
+ <span>
168
+ Element 2
169
+ </span>
170
+ <span>
171
+ Element 3
172
+ </span>
173
+ </div>
174
+ </div>
175
+ </DocumentFragment>
176
+ `;
177
+
178
+ exports[`Buttongrop - rendering the default props 1`] = `
179
+ <DocumentFragment>
180
+ <div
181
+ class="buttonGroup undefined "
182
+ data-id="ButtonGroup"
183
+ data-selector-id="buttonGroup"
184
+ data-test-id="ButtonGroup"
185
+ >
186
+ <div
187
+ class="alignleft"
188
+ />
189
+ </div>
190
+ </DocumentFragment>
191
+ `;
package/es/Card/Card.js CHANGED
@@ -6,10 +6,10 @@ import { getLibraryConfig } from '../Provider/Config';
6
6
  import style from './Card.module.css';
7
7
  /* eslint-disable react/forbid-component-props */
8
8
 
9
- /*
10
- isscroll header border change use ref
11
- scroll logic remove from here
12
- scroll logic move to virtualizer list
9
+ /*
10
+ isscroll header border change use ref
11
+ scroll logic remove from here
12
+ scroll logic move to virtualizer list
13
13
  */
14
14
 
15
15
  /* performance handling pending in card component moving to ref instead of setState */
@@ -1,20 +1,20 @@
1
- .notScroll {
2
- position: relative;
3
- }
4
- .scroll {
5
- /* background: var(--dot_white);
6
- position: relative; */
7
- }
8
- /*
9
- .scroll::after {
10
- box-shadow: 0 0 6px var(--zd_dark10);
11
- border-radius: 100px / 10px;
12
- content: '';
13
- left: var(--zd_size50);
14
- position: absolute;
15
- right: var(--zd_size50);
16
- display: block;
17
- z-index: -1;
18
- height: var(--zd_size1);
19
- bottom: 0;
20
- } */
1
+ .notScroll {
2
+ position: relative;
3
+ }
4
+ .scroll {
5
+ /* background: var(--dot_white);
6
+ position: relative; */
7
+ }
8
+ /*
9
+ .scroll::after {
10
+ box-shadow: 0 0 6px var(--zd_dark10);
11
+ border-radius: 100px / 10px;
12
+ content: '';
13
+ left: var(--zd_size50);
14
+ position: absolute;
15
+ right: var(--zd_size50);
16
+ display: block;
17
+ z-index: -1;
18
+ height: var(--zd_size1);
19
+ bottom: 0;
20
+ } */
@@ -1065,7 +1065,8 @@ class DateWidgetComponent extends React.Component {
1065
1065
  customProps: TextBoxProps
1066
1066
  }, /*#__PURE__*/React.createElement(Container, {
1067
1067
  align: "both",
1068
- onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick
1068
+ onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick,
1069
+ dataId: `${dataId}_datePicker`
1069
1070
  }, /*#__PURE__*/React.createElement(Icon, {
1070
1071
  name: "ZD-datepicker",
1071
1072
  size: "12"
@@ -1,38 +1,38 @@
1
- /* $Id */
2
- .container {
3
- position: relative;
4
- composes: offSelection from '../common/common.module.css';
5
- }
6
- .readOnly, .readOnly > input, .disabled {
7
- cursor: not-allowed;
8
- }
9
- .enabled {
10
- cursor: pointer;
11
- }
12
- .textBox {
13
- position: relative;
14
- }
15
- .inputLine {
16
- position: absolute;
17
- bottom: 0 ;
18
- transition: border var(--zd_transition2) linear 0s;
19
- border-bottom: 1px solid var(--zdt_datewidget_input_border);
20
- }
21
- [dir=ltr] .inputLine {
22
- left: 0 ;
23
- right: 0 ;
24
- }
25
- [dir=rtl] .inputLine {
26
- right: 0 ;
27
- left: 0 ;
28
- }
29
- .enabled:hover .inputLine {
30
- border-bottom-color: var(--zdt_datewidget_enabled_border);
31
- }
32
- .textBoxFocus .inputLine {
33
- border-bottom-color: var(--zdt_datewidget_textboxfocus_border);
34
- }
35
-
36
- .placeHolder input {
37
- color: var(--zdt_datewidget_placeholder_text);
38
- }
1
+ /* $Id */
2
+ .container {
3
+ position: relative;
4
+ composes: offSelection from '../common/common.module.css';
5
+ }
6
+ .readOnly, .readOnly > input, .disabled {
7
+ cursor: not-allowed;
8
+ }
9
+ .enabled {
10
+ cursor: pointer;
11
+ }
12
+ .textBox {
13
+ position: relative;
14
+ }
15
+ .inputLine {
16
+ position: absolute;
17
+ bottom: 0 ;
18
+ transition: border var(--zd_transition2) linear 0s;
19
+ border-bottom: 1px solid var(--zdt_datewidget_input_border);
20
+ }
21
+ [dir=ltr] .inputLine {
22
+ left: 0 ;
23
+ right: 0 ;
24
+ }
25
+ [dir=rtl] .inputLine {
26
+ right: 0 ;
27
+ left: 0 ;
28
+ }
29
+ .enabled:hover .inputLine {
30
+ border-bottom-color: var(--zdt_datewidget_enabled_border);
31
+ }
32
+ .textBoxFocus .inputLine {
33
+ border-bottom-color: var(--zdt_datewidget_textboxfocus_border);
34
+ }
35
+
36
+ .placeHolder input {
37
+ color: var(--zdt_datewidget_placeholder_text);
38
+ }
@@ -14,7 +14,7 @@ describe('DateTime', () => {
14
14
  } = render( /*#__PURE__*/React.createElement(DateTime, {
15
15
  isActive: true,
16
16
  isDefaultPosition: true,
17
- value: "2024-07-29T20:20:20.000"
17
+ value: "2023-07-29T20:20:20.000"
18
18
  }));
19
19
  expect(asFragment()).toMatchSnapshot();
20
20
  });