@zohodesk/components 1.0.0-temp-197 → 1.0.0-temp-199

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 (140) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/es/AppContainer/AppContainer.js +1 -0
  3. package/es/AppContainer/AppContainer.module.css +18 -18
  4. package/es/Avatar/Avatar.js +9 -9
  5. package/es/Avatar/Avatar.module.css +2 -2
  6. package/es/AvatarTeam/AvatarTeam.js +7 -7
  7. package/es/Button/Button.js +4 -4
  8. package/es/Button/css/Button.module.css +6 -22
  9. package/es/Buttongroup/Buttongroup.js +1 -1
  10. package/es/Buttongroup/Buttongroup.module.css +1 -1
  11. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  12. package/es/Card/Card.js +4 -4
  13. package/es/Card/Card.module.css +20 -20
  14. package/es/DateTime/DateTime.module.css +8 -11
  15. package/es/DateTime/DateWidget.module.css +38 -38
  16. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
  17. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  18. package/es/DropBox/css/DropBox.module.css +1 -1
  19. package/es/DropDown/DropDown.module.css +5 -5
  20. package/es/DropDown/DropDownSearch.module.css +14 -14
  21. package/es/DropDown/DropDownSeparator.module.css +7 -7
  22. package/es/Heading/Heading.module.css +4 -4
  23. package/es/Label/Label.js +2 -2
  24. package/es/Layout/Layout.module.css +335 -335
  25. package/es/ListItem/ListItem.js +2 -2
  26. package/es/ListItem/ListItem.module.css +85 -18
  27. package/es/ListItem/ListItemWithAvatar.js +3 -3
  28. package/es/ListItem/ListItemWithIcon.js +2 -2
  29. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -2
  30. package/es/MultiSelect/AdvancedMultiSelect.js +2 -1
  31. package/es/MultiSelect/MultiSelect.js +12 -7
  32. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  33. package/es/MultiSelect/Suggestions.js +8 -4
  34. package/es/MultiSelect/props/defaultProps.js +8 -5
  35. package/es/MultiSelect/props/propTypes.js +6 -3
  36. package/es/Popup/PositionMapping.json +73 -73
  37. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  38. package/es/Ribbon/Ribbon.module.css +6 -6
  39. package/es/RippleEffect/RippleEffect.module.css +92 -92
  40. package/es/Select/GroupSelect.js +7 -2
  41. package/es/Select/Select.module.css +134 -134
  42. package/es/Select/SelectWithAvatar.js +7 -2
  43. package/es/Select/SelectWithIcon.js +7 -2
  44. package/es/Select/props/defaultProps.js +6 -3
  45. package/es/Select/props/propTypes.js +6 -3
  46. package/es/Stencils/Stencils.module.css +96 -96
  47. package/es/Switch/Switch.module.css +1 -2
  48. package/es/Tab/TabContent.module.css +4 -4
  49. package/es/Tab/Tabs.js +17 -17
  50. package/es/Tab/Tabs.module.css +3 -3
  51. package/es/Tooltip/Tooltip.module.css +140 -143
  52. package/es/common/a11y.module.css +3 -3
  53. package/es/common/animation.module.css +624 -624
  54. package/es/common/avatarsizes.module.css +48 -48
  55. package/es/common/basic.module.css +33 -33
  56. package/es/common/basicReset.module.css +40 -40
  57. package/es/{deprecated → common}/boxShadow.module.css +33 -33
  58. package/es/common/common.module.css +524 -524
  59. package/es/common/reset.module.css +13 -13
  60. package/es/common/transition.module.css +146 -146
  61. package/es/semantic/Button/semanticButton.module.css +9 -9
  62. package/es/v1/AppContainer/AppContainer.js +1 -0
  63. package/es/v1/Card/Card.js +4 -4
  64. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  65. package/es/v1/Tab/Tabs.js +11 -11
  66. package/es/v1/Tab/v1TabContent.module.css +4 -4
  67. package/es/v1/Tab/v1Tabs.module.css +3 -3
  68. package/es/v1/Typography/css/Typography.module.css +380 -380
  69. package/install.md +10 -10
  70. package/lib/AppContainer/AppContainer.js +2 -0
  71. package/lib/AppContainer/AppContainer.module.css +18 -18
  72. package/lib/Avatar/Avatar.js +9 -9
  73. package/lib/Avatar/Avatar.module.css +2 -2
  74. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  75. package/lib/Button/Button.js +4 -4
  76. package/lib/Button/css/Button.module.css +6 -22
  77. package/lib/Buttongroup/Buttongroup.js +1 -1
  78. package/lib/Buttongroup/Buttongroup.module.css +1 -1
  79. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  80. package/lib/Card/Card.js +4 -4
  81. package/lib/Card/Card.module.css +20 -20
  82. package/lib/DateTime/DateTime.module.css +8 -11
  83. package/lib/DateTime/DateWidget.module.css +38 -38
  84. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
  85. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  86. package/lib/DropBox/css/DropBox.module.css +1 -1
  87. package/lib/DropDown/DropDown.module.css +5 -5
  88. package/lib/DropDown/DropDownSearch.module.css +14 -14
  89. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  90. package/lib/Heading/Heading.module.css +4 -4
  91. package/lib/Layout/Layout.module.css +335 -335
  92. package/lib/ListItem/ListItem.js +2 -2
  93. package/lib/ListItem/ListItem.module.css +85 -18
  94. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  95. package/lib/ListItem/ListItemWithIcon.js +2 -2
  96. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  97. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -1
  98. package/lib/MultiSelect/MultiSelect.js +13 -8
  99. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  100. package/lib/MultiSelect/Suggestions.js +8 -4
  101. package/lib/MultiSelect/props/defaultProps.js +8 -5
  102. package/lib/MultiSelect/props/propTypes.js +8 -6
  103. package/lib/Popup/PositionMapping.json +73 -73
  104. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  105. package/lib/Ribbon/Ribbon.module.css +6 -6
  106. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  107. package/lib/Select/GroupSelect.js +8 -3
  108. package/lib/Select/Select.module.css +134 -134
  109. package/lib/Select/SelectWithAvatar.js +8 -3
  110. package/lib/Select/SelectWithIcon.js +8 -3
  111. package/lib/Select/props/defaultProps.js +5 -3
  112. package/lib/Select/props/propTypes.js +6 -3
  113. package/lib/Stencils/Stencils.module.css +96 -96
  114. package/lib/Switch/Switch.module.css +1 -2
  115. package/lib/Tab/TabContent.module.css +4 -4
  116. package/lib/Tab/Tabs.js +11 -11
  117. package/lib/Tab/Tabs.module.css +3 -3
  118. package/lib/Tooltip/Tooltip.module.css +140 -143
  119. package/lib/common/a11y.module.css +3 -3
  120. package/lib/common/animation.module.css +624 -624
  121. package/lib/common/avatarsizes.module.css +48 -48
  122. package/lib/common/basic.module.css +33 -33
  123. package/lib/common/basicReset.module.css +40 -40
  124. package/lib/{deprecated → common}/boxShadow.module.css +33 -33
  125. package/lib/common/common.module.css +524 -524
  126. package/lib/common/reset.module.css +13 -13
  127. package/lib/common/transition.module.css +146 -146
  128. package/lib/semantic/Button/semanticButton.module.css +9 -9
  129. package/lib/v1/AppContainer/AppContainer.js +2 -0
  130. package/lib/v1/Card/Card.js +4 -4
  131. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  132. package/lib/v1/Tab/Tabs.js +11 -11
  133. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  134. package/lib/v1/Tab/v1Tabs.module.css +3 -3
  135. package/lib/v1/Typography/css/Typography.module.css +380 -380
  136. package/package.json +7 -11
  137. package/postPublish.js +8 -8
  138. package/prePublish.js +70 -70
  139. package/react-cli.config.js +23 -23
  140. package/result.json +1 -1
@@ -1,18 +1,18 @@
1
- .container,
2
- .container *,
3
- .container ::after,
4
- .container ::before {
5
- outline: 0;
6
- box-sizing: border-box;
7
- -webkit-box-sizing: border-box;
8
- -moz-box-sizing: border-box;
9
- -ms-box-sizing: border-box;
10
- }
11
- .container {
12
- font-family: var(--zd_regular);
13
- }
14
- .tooltip {
15
- height: 0 ;
16
- font-size: 0 ;
17
- /* contain:strict */
18
- }
1
+ .container,
2
+ .container *,
3
+ .container ::after,
4
+ .container ::before {
5
+ outline: 0;
6
+ box-sizing: border-box;
7
+ -webkit-box-sizing: border-box;
8
+ -moz-box-sizing: border-box;
9
+ -ms-box-sizing: border-box;
10
+ }
11
+ .container {
12
+ font-family: var(--zd_regular);
13
+ }
14
+ .tooltip {
15
+ height: 0 ;
16
+ font-size: 0 ;
17
+ /* contain:strict */
18
+ }
@@ -4,17 +4,17 @@ import { propTypes } from './props/propTypes';
4
4
  import { getInitial } from '../utils/getInitial';
5
5
  import AvatarSize from '../Provider/AvatarSize';
6
6
  import style from './Avatar.module.css';
7
- /*
8
- 1. need to change name into firstName lastName
9
- 2. pattern support via context as well as props
10
- 3. prop high priority to arrange firstName lastName
11
- 4. team pass name as lastName and pass pattern via prop
7
+ /*
8
+ 1. need to change name into firstName lastName
9
+ 2. pattern support via context as well as props
10
+ 3. prop high priority to arrange firstName lastName
11
+ 4. team pass name as lastName and pass pattern via prop
12
12
  */
13
13
 
14
- /*
15
- eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
16
- 'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
17
- "info","default"] }]
14
+ /*
15
+ eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
16
+ 'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
17
+ "info","default"] }]
18
18
  */
19
19
 
20
20
  export default class Avatar extends React.Component {
@@ -53,11 +53,11 @@
53
53
  }
54
54
 
55
55
  .shadow.black {
56
- box-shadow: var(--zd_bs_contrast_outline, inset 0px 0px 5px var(--avatar_boxshadow));
56
+ box-shadow: var(--zd_bs_avatar_black);
57
57
  }
58
58
 
59
59
  .shadow.white {
60
- box-shadow: var(--zd_bs_contrast_outline, inset 0px 0px 11px var(--avatar_boxshadow));
60
+ box-shadow: var(--zd_bs_avatar_white);
61
61
  }
62
62
 
63
63
  .avatar, .circle {
@@ -3,15 +3,15 @@ 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.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
- /*
13
- eslint css-modules/no-unused-class: [2, { markAsUsed: ["primary", "secondary",
14
- "small", "xsmall", "medium", "xmedium", "large", "xlarge"] }]
12
+ /*
13
+ eslint css-modules/no-unused-class: [2, { markAsUsed: ["primary", "secondary",
14
+ "small", "xsmall", "medium", "xmedium", "large", "xlarge"] }]
15
15
  */
16
16
 
17
17
  export default class AvatarTeam extends React.Component {
@@ -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'] }] */
@@ -25,7 +25,6 @@
25
25
  /* button success status default variable */
26
26
  --button_success_border_color: var(--zdt_button_success_default_border);
27
27
  }
28
-
29
28
  .native {
30
29
  composes: varClass;
31
30
  /* transition: all var(--zd_transition2) ease 0s; */
@@ -112,14 +111,14 @@
112
111
  .smallBtnprimaryfilled,
113
112
  .mediumBtnprimary,
114
113
  .mediumBtnprimaryfilled {
115
- --button_box_shadow: var(--zd_bs_contrast_outline, 0 3px 10px var(--zdt_button_primary_box_shadow));
114
+ --button_box_shadow: var(--zd_bs_button_primary);
116
115
  }
117
116
 
118
117
  .smallBtndanger,
119
118
  .smallBtndangerfilled,
120
119
  .mediumBtndanger,
121
120
  .mediumBtndangerfilled {
122
- --button_box_shadow: var(--zd_bs_contrast_outline, 0 3px 10px var(--zdt_button_danger_box_shadow));
121
+ --button_box_shadow: var(--zd_bs_button_danger);
123
122
  }
124
123
 
125
124
  .small,
@@ -137,7 +136,6 @@
137
136
  --button_min_width: initial;
138
137
  --button_bg_color: var(--zdt_button_default_bg);
139
138
  }
140
-
141
139
  .plainprimary:hover {
142
140
  --button_text_color: var(--zdt_button_plainprimary_hover_text);
143
141
  }
@@ -148,7 +146,6 @@
148
146
  --button_min_width: initial;
149
147
  --button_bg_color: var(--zdt_button_default_bg);
150
148
  }
151
-
152
149
  .plainsecondary:hover {
153
150
  --button_text_color: var(--zdt_button_secondary_hover_text);
154
151
  }
@@ -163,7 +160,6 @@
163
160
  .tertiaryfilled {
164
161
  --button_border_width: 1px;
165
162
  }
166
-
167
163
  .primary:hover {
168
164
  --button_border_color: var(--zdt_button_primary_hover_border);
169
165
  --button_text_color: var(--zdt_button_primary_hover_text);
@@ -174,7 +170,6 @@
174
170
  --button_bg_color: var(--zdt_button_primaryfill_bg);
175
171
  --button_text_color: var(--zdt_button_primaryfill_text);
176
172
  }
177
-
178
173
  .primaryfilled:hover {
179
174
  --button_bg_color: var(--zdt_button_primaryfill_hover_bg);
180
175
  }
@@ -184,7 +179,6 @@
184
179
  --button_bg_color: var(--zdt_button_default_bg);
185
180
  --button_text_color: var(--zdt_button_danger_text);
186
181
  }
187
-
188
182
  .danger:hover {
189
183
  --button_border_color: var(--zdt_button_danger_hover_border);
190
184
  --button_text_color: var(--zdt_button_danger_hover_text);
@@ -195,7 +189,6 @@
195
189
  --button_bg_color: var(--zdt_button_dangerfill_bg);
196
190
  --button_text_color: var(--zdt_button_dangerfill_text);
197
191
  }
198
-
199
192
  .dangerfilled:hover {
200
193
  --button_bg_color: var(--zdt_button_dangerfill_hover_bg);
201
194
  }
@@ -205,7 +198,6 @@
205
198
  --button_bg_color: var(--zdt_button_default_bg);
206
199
  --button_text_color: var(--zdt_button_secondary_text);
207
200
  }
208
-
209
201
  .secondary:hover {
210
202
  --button_border_color: var(--zdt_button_secondary_hover_border);
211
203
  --button_text_color: var(--zdt_button_secondary_hover_text);
@@ -216,7 +208,6 @@
216
208
  --button_bg_color: var(--zdt_button_secondaryfill_bg);
217
209
  --button_text_color: var(--zdt_button_secondary_text);
218
210
  }
219
-
220
211
  .secondaryfilled:hover {
221
212
  --button_text_color: var(--zdt_button_secondary_hover_text);
222
213
  }
@@ -226,7 +217,6 @@
226
217
  --button_bg_color: var(--zdt_button_successfill_bg);
227
218
  --button_text_color: var(--zdt_button_dangerfill_text);
228
219
  }
229
-
230
220
  .successfilled:hover {
231
221
  --button_border_color: var(--zdt_button_successfill_hover_border);
232
222
  --button_bg_color: var(--zdt_button_successfill_hover_bg);
@@ -237,7 +227,6 @@
237
227
  --button_bg_color: var(--zdt_button_tertiaryfill_bg);
238
228
  --button_text_color: var(--zdt_button_dangerfill_text);
239
229
  }
240
-
241
230
  .tertiaryfilled:hover {
242
231
  --button_bg_color: var(--zdt_button_tertiaryfill_hover_bg);
243
232
  }
@@ -337,23 +326,18 @@
337
326
  .loadingelement {
338
327
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
339
328
  }
340
-
341
329
  .primaryelement {
342
330
  --button_loading_bg_color: var(--zdt_button_loading_default_bg);
343
331
  }
344
-
345
332
  .primaryfilledelement {
346
333
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
347
334
  }
348
-
349
335
  .dangerelement {
350
336
  --button_loading_bg_color: var(--zdt_button_loading_default_bg);
351
337
  }
352
-
353
338
  .dangerfilledelement {
354
339
  --button_loading_bg_color: var(--zdt_button_dangerfill_bg);
355
340
  }
356
-
357
341
  .loadingelement:after,
358
342
  .primaryelement:after,
359
343
  .primaryfilledelement:after,
@@ -382,13 +366,13 @@
382
366
 
383
367
  .primaryelement:before {
384
368
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
385
- --zdt_button_loading_linear_gradient: var(--zdt_button_loading_primary_linear_gradient);
369
+ --zdt_button_loading_linear_gradient:var(--zdt_button_loading_primary_linear_gradient);
386
370
  transform: rotateX(180deg);
387
371
  }
388
372
 
389
373
  .dangerelement:before {
390
374
  --button_loading_bg_color: var(--zdt_button_dangerfill_bg);
391
- --zdt_button_loading_linear_gradient: var(--zdt_button_loading_danger_linear_gradient);
375
+ --zdt_button_loading_linear_gradient:var(--zdt_button_loading_danger_linear_gradient);
392
376
  transform: rotateX(180deg);
393
377
  }
394
378
 
@@ -539,6 +523,6 @@
539
523
  }
540
524
  }
541
525
 
542
- .loader {
543
- color: var(--dot_mirror)
526
+ .loader{
527
+ color:var(--dot_mirror)
544
528
  }
@@ -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 {
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  .footer {
23
- --buttongroup_box_shadow: var(--zd_bs_contrast_outline, 0 -4px 5px -3px var(--zdt_buttongroup_footer_box_shadow));
23
+ --buttongroup_box_shadow: var(--zd_bs_buttongroup_footer);
24
24
  }
25
25
 
26
26
  [dir=ltr] .footer {
@@ -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 */