@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.
- package/.cli/PropUnificationExcludeFilesArray.js +230 -230
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +9 -0
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/es/Button/Button.js +4 -4
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/DateTime/DateWidget.js +2 -1
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/__tests__/DateTime.spec.js +1 -1
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownSearch.js +5 -2
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
- package/es/DropDown/props/defaultProps.js +2 -1
- package/es/DropDown/props/propTypes.js +2 -1
- package/es/Heading/Heading.module.css +4 -4
- package/es/Label/Label.js +2 -2
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/Layout/Layout.module.css +335 -335
- package/es/ListItem/ListItemWithCheckBox.js +2 -1
- package/es/ListItem/ListItemWithRadio.js +2 -1
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/es/MultiSelect/AdvancedMultiSelect.js +6 -2
- package/es/MultiSelect/MultiSelect.js +4 -2
- package/es/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/es/MultiSelect/SelectedOptions.js +8 -4
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
- package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
- package/es/MultiSelect/props/defaultProps.js +2 -1
- package/es/MultiSelect/props/propTypes.js +2 -1
- package/es/Popup/PositionMapping.json +73 -73
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/Select.module.css +134 -134
- package/es/Select/SelectWithAvatar.js +5 -2
- package/es/Select/SelectWithIcon.js +2 -1
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +21 -19
- package/es/Tag/Tag.js +8 -8
- package/es/Tooltip/Tooltip.js +2 -47
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/v1/Avatar/Avatar.js +5 -5
- package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/es/v1/Button/Button.js +4 -4
- package/es/v1/DateTime/DateWidget.js +2 -1
- package/es/v1/DropDown/DropDownSearch.js +5 -2
- package/es/v1/DropDown/props/defaultProps.js +2 -1
- package/es/v1/DropDown/props/propTypes.js +2 -1
- package/es/v1/ListItem/ListItemWithCheckBox.js +2 -1
- package/es/v1/ListItem/ListItemWithRadio.js +2 -1
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +6 -2
- package/es/v1/MultiSelect/MultiSelect.js +9 -7
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/es/v1/MultiSelect/SelectedOptions.js +8 -4
- package/es/v1/MultiSelect/props/defaultProps.js +2 -1
- package/es/v1/MultiSelect/props/propTypes.js +2 -1
- package/es/v1/Select/SelectWithAvatar.js +5 -2
- package/es/v1/Select/SelectWithIcon.js +2 -1
- package/es/v1/Tab/Tabs.js +4 -2
- package/es/v1/Tab/v1TabContent.module.css +4 -4
- package/es/v1/Tag/Tag.js +8 -8
- package/es/v1/Typography/css/Typography.module.css +380 -380
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/lib/Button/Button.js +4 -4
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/DateTime/DateWidget.js +2 -1
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownSearch.js +5 -2
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
- package/lib/DropDown/props/defaultProps.js +2 -1
- package/lib/DropDown/props/propTypes.js +1 -1
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/ListItem/ListItemWithCheckBox.js +2 -1
- package/lib/ListItem/ListItemWithRadio.js +2 -1
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/lib/MultiSelect/AdvancedMultiSelect.js +8 -4
- package/lib/MultiSelect/MultiSelect.js +4 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/lib/MultiSelect/SelectedOptions.js +8 -4
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
- package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
- package/lib/MultiSelect/props/defaultProps.js +2 -1
- package/lib/MultiSelect/props/propTypes.js +2 -1
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/Select.module.css +134 -134
- package/lib/Select/SelectWithAvatar.js +5 -2
- package/lib/Select/SelectWithIcon.js +2 -1
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +15 -13
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tooltip/Tooltip.js +16 -61
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/v1/Avatar/Avatar.js +5 -5
- package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/lib/v1/Button/Button.js +4 -4
- package/lib/v1/DateTime/DateWidget.js +2 -1
- package/lib/v1/DropDown/DropDownSearch.js +5 -2
- package/lib/v1/DropDown/props/defaultProps.js +2 -1
- package/lib/v1/DropDown/props/propTypes.js +1 -1
- package/lib/v1/ListItem/ListItemWithCheckBox.js +2 -1
- package/lib/v1/ListItem/ListItemWithRadio.js +2 -1
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +8 -4
- package/lib/v1/MultiSelect/MultiSelect.js +9 -7
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/lib/v1/MultiSelect/SelectedOptions.js +8 -4
- package/lib/v1/MultiSelect/props/defaultProps.js +2 -1
- package/lib/v1/MultiSelect/props/propTypes.js +2 -1
- package/lib/v1/Select/SelectWithAvatar.js +5 -2
- package/lib/v1/Select/SelectWithIcon.js +2 -1
- package/lib/v1/Tab/Tabs.js +4 -2
- package/lib/v1/Tab/v1TabContent.module.css +4 -4
- package/lib/v1/Tag/Tag.js +8 -8
- package/lib/v1/Typography/css/Typography.module.css +380 -380
- package/package.json +4 -4
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/propValidationArg.json +11 -11
- package/react-cli.config.js +23 -23
- package/result.json +1 -1
|
@@ -28,10 +28,10 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
28
28
|
>
|
|
29
29
|
<h2
|
|
30
30
|
class="reset thMonYear"
|
|
31
|
-
data-title="July
|
|
31
|
+
data-title="July 2023"
|
|
32
32
|
tabindex="0"
|
|
33
33
|
>
|
|
34
|
-
July
|
|
34
|
+
July 2023
|
|
35
35
|
</h2>
|
|
36
36
|
<span>
|
|
37
37
|
<i
|
|
@@ -177,11 +177,56 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
177
177
|
data-test-id="containerComponent"
|
|
178
178
|
>
|
|
179
179
|
<div
|
|
180
|
-
aria-label="
|
|
180
|
+
aria-label="25"
|
|
181
181
|
class="datesStr grid sunday invalidDate shrinkOff"
|
|
182
182
|
data-id="dateTime_invalidDate"
|
|
183
183
|
data-selector-id="box"
|
|
184
184
|
data-test-id="dateTime_invalidDate"
|
|
185
|
+
>
|
|
186
|
+
25
|
|
187
|
+
</div>
|
|
188
|
+
<div
|
|
189
|
+
aria-label="26"
|
|
190
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
191
|
+
data-id="dateTime_invalidDate"
|
|
192
|
+
data-selector-id="box"
|
|
193
|
+
data-test-id="dateTime_invalidDate"
|
|
194
|
+
>
|
|
195
|
+
26
|
|
196
|
+
</div>
|
|
197
|
+
<div
|
|
198
|
+
aria-label="27"
|
|
199
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
200
|
+
data-id="dateTime_invalidDate"
|
|
201
|
+
data-selector-id="box"
|
|
202
|
+
data-test-id="dateTime_invalidDate"
|
|
203
|
+
>
|
|
204
|
+
27
|
|
205
|
+
</div>
|
|
206
|
+
<div
|
|
207
|
+
aria-label="28"
|
|
208
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
209
|
+
data-id="dateTime_invalidDate"
|
|
210
|
+
data-selector-id="box"
|
|
211
|
+
data-test-id="dateTime_invalidDate"
|
|
212
|
+
>
|
|
213
|
+
28
|
|
214
|
+
</div>
|
|
215
|
+
<div
|
|
216
|
+
aria-label="29"
|
|
217
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
218
|
+
data-id="dateTime_invalidDate"
|
|
219
|
+
data-selector-id="box"
|
|
220
|
+
data-test-id="dateTime_invalidDate"
|
|
221
|
+
>
|
|
222
|
+
29
|
|
223
|
+
</div>
|
|
224
|
+
<div
|
|
225
|
+
aria-label="30"
|
|
226
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
227
|
+
data-id="dateTime_invalidDate"
|
|
228
|
+
data-selector-id="box"
|
|
229
|
+
data-test-id="dateTime_invalidDate"
|
|
185
230
|
>
|
|
186
231
|
30
|
|
187
232
|
</div>
|
|
@@ -194,9 +239,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
194
239
|
>
|
|
195
240
|
1
|
|
196
241
|
</div>
|
|
242
|
+
</div>
|
|
243
|
+
<div
|
|
244
|
+
class="dateRow flex rowdir"
|
|
245
|
+
data-id="containerComponent"
|
|
246
|
+
data-selector-id="container"
|
|
247
|
+
data-test-id="containerComponent"
|
|
248
|
+
>
|
|
197
249
|
<div
|
|
198
250
|
aria-label="2"
|
|
199
|
-
class="datesStr grid shrinkOff"
|
|
251
|
+
class="datesStr grid sunday shrinkOff"
|
|
200
252
|
data-id="dateTime_date"
|
|
201
253
|
data-selector-id="box"
|
|
202
254
|
data-test-id="dateTime_date"
|
|
@@ -239,16 +291,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
239
291
|
>
|
|
240
292
|
6
|
|
241
293
|
</div>
|
|
242
|
-
</div>
|
|
243
|
-
<div
|
|
244
|
-
class="dateRow flex rowdir"
|
|
245
|
-
data-id="containerComponent"
|
|
246
|
-
data-selector-id="container"
|
|
247
|
-
data-test-id="containerComponent"
|
|
248
|
-
>
|
|
249
294
|
<div
|
|
250
295
|
aria-label="7"
|
|
251
|
-
class="datesStr grid
|
|
296
|
+
class="datesStr grid shrinkOff"
|
|
252
297
|
data-id="dateTime_date"
|
|
253
298
|
data-selector-id="box"
|
|
254
299
|
data-test-id="dateTime_date"
|
|
@@ -264,9 +309,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
264
309
|
>
|
|
265
310
|
8
|
|
266
311
|
</div>
|
|
312
|
+
</div>
|
|
313
|
+
<div
|
|
314
|
+
class="dateRow flex rowdir"
|
|
315
|
+
data-id="containerComponent"
|
|
316
|
+
data-selector-id="container"
|
|
317
|
+
data-test-id="containerComponent"
|
|
318
|
+
>
|
|
267
319
|
<div
|
|
268
320
|
aria-label="9"
|
|
269
|
-
class="datesStr grid shrinkOff"
|
|
321
|
+
class="datesStr grid sunday shrinkOff"
|
|
270
322
|
data-id="dateTime_date"
|
|
271
323
|
data-selector-id="box"
|
|
272
324
|
data-test-id="dateTime_date"
|
|
@@ -309,16 +361,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
309
361
|
>
|
|
310
362
|
13
|
|
311
363
|
</div>
|
|
312
|
-
</div>
|
|
313
|
-
<div
|
|
314
|
-
class="dateRow flex rowdir"
|
|
315
|
-
data-id="containerComponent"
|
|
316
|
-
data-selector-id="container"
|
|
317
|
-
data-test-id="containerComponent"
|
|
318
|
-
>
|
|
319
364
|
<div
|
|
320
365
|
aria-label="14"
|
|
321
|
-
class="datesStr grid
|
|
366
|
+
class="datesStr grid shrinkOff"
|
|
322
367
|
data-id="dateTime_date"
|
|
323
368
|
data-selector-id="box"
|
|
324
369
|
data-test-id="dateTime_date"
|
|
@@ -334,9 +379,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
334
379
|
>
|
|
335
380
|
15
|
|
336
381
|
</div>
|
|
382
|
+
</div>
|
|
383
|
+
<div
|
|
384
|
+
class="dateRow flex rowdir"
|
|
385
|
+
data-id="containerComponent"
|
|
386
|
+
data-selector-id="container"
|
|
387
|
+
data-test-id="containerComponent"
|
|
388
|
+
>
|
|
337
389
|
<div
|
|
338
390
|
aria-label="16"
|
|
339
|
-
class="datesStr grid shrinkOff"
|
|
391
|
+
class="datesStr grid sunday shrinkOff"
|
|
340
392
|
data-id="dateTime_date"
|
|
341
393
|
data-selector-id="box"
|
|
342
394
|
data-test-id="dateTime_date"
|
|
@@ -379,16 +431,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
379
431
|
>
|
|
380
432
|
20
|
|
381
433
|
</div>
|
|
382
|
-
</div>
|
|
383
|
-
<div
|
|
384
|
-
class="dateRow flex rowdir"
|
|
385
|
-
data-id="containerComponent"
|
|
386
|
-
data-selector-id="container"
|
|
387
|
-
data-test-id="containerComponent"
|
|
388
|
-
>
|
|
389
434
|
<div
|
|
390
435
|
aria-label="21"
|
|
391
|
-
class="datesStr grid
|
|
436
|
+
class="datesStr grid shrinkOff"
|
|
392
437
|
data-id="dateTime_date"
|
|
393
438
|
data-selector-id="box"
|
|
394
439
|
data-test-id="dateTime_date"
|
|
@@ -404,9 +449,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
404
449
|
>
|
|
405
450
|
22
|
|
406
451
|
</div>
|
|
452
|
+
</div>
|
|
453
|
+
<div
|
|
454
|
+
class="dateRow flex rowdir"
|
|
455
|
+
data-id="containerComponent"
|
|
456
|
+
data-selector-id="container"
|
|
457
|
+
data-test-id="containerComponent"
|
|
458
|
+
>
|
|
407
459
|
<div
|
|
408
460
|
aria-label="23"
|
|
409
|
-
class="datesStr grid shrinkOff"
|
|
461
|
+
class="datesStr grid sunday shrinkOff"
|
|
410
462
|
data-id="dateTime_date"
|
|
411
463
|
data-selector-id="box"
|
|
412
464
|
data-test-id="dateTime_date"
|
|
@@ -449,16 +501,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
449
501
|
>
|
|
450
502
|
27
|
|
451
503
|
</div>
|
|
452
|
-
</div>
|
|
453
|
-
<div
|
|
454
|
-
class="dateRow flex rowdir"
|
|
455
|
-
data-id="containerComponent"
|
|
456
|
-
data-selector-id="container"
|
|
457
|
-
data-test-id="containerComponent"
|
|
458
|
-
>
|
|
459
504
|
<div
|
|
460
505
|
aria-label="28"
|
|
461
|
-
class="datesStr grid
|
|
506
|
+
class="datesStr grid shrinkOff"
|
|
462
507
|
data-id="dateTime_date"
|
|
463
508
|
data-selector-id="box"
|
|
464
509
|
data-test-id="dateTime_date"
|
|
@@ -474,9 +519,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
474
519
|
>
|
|
475
520
|
29
|
|
476
521
|
</div>
|
|
522
|
+
</div>
|
|
523
|
+
<div
|
|
524
|
+
class="dateRow flex rowdir"
|
|
525
|
+
data-id="containerComponent"
|
|
526
|
+
data-selector-id="container"
|
|
527
|
+
data-test-id="containerComponent"
|
|
528
|
+
>
|
|
477
529
|
<div
|
|
478
530
|
aria-label="30"
|
|
479
|
-
class="datesStr grid shrinkOff"
|
|
531
|
+
class="datesStr grid sunday shrinkOff"
|
|
480
532
|
data-id="dateTime_date"
|
|
481
533
|
data-selector-id="box"
|
|
482
534
|
data-test-id="dateTime_date"
|
|
@@ -519,16 +571,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
519
571
|
>
|
|
520
572
|
3
|
|
521
573
|
</div>
|
|
522
|
-
</div>
|
|
523
|
-
<div
|
|
524
|
-
class="dateRow flex rowdir"
|
|
525
|
-
data-id="containerComponent"
|
|
526
|
-
data-selector-id="container"
|
|
527
|
-
data-test-id="containerComponent"
|
|
528
|
-
>
|
|
529
574
|
<div
|
|
530
575
|
aria-label="4"
|
|
531
|
-
class="datesStr grid
|
|
576
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
532
577
|
data-id="dateTime_invalidDate"
|
|
533
578
|
data-selector-id="box"
|
|
534
579
|
data-test-id="dateTime_invalidDate"
|
|
@@ -544,51 +589,6 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
544
589
|
>
|
|
545
590
|
5
|
|
546
591
|
</div>
|
|
547
|
-
<div
|
|
548
|
-
aria-label="6"
|
|
549
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
550
|
-
data-id="dateTime_invalidDate"
|
|
551
|
-
data-selector-id="box"
|
|
552
|
-
data-test-id="dateTime_invalidDate"
|
|
553
|
-
>
|
|
554
|
-
6
|
|
555
|
-
</div>
|
|
556
|
-
<div
|
|
557
|
-
aria-label="7"
|
|
558
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
559
|
-
data-id="dateTime_invalidDate"
|
|
560
|
-
data-selector-id="box"
|
|
561
|
-
data-test-id="dateTime_invalidDate"
|
|
562
|
-
>
|
|
563
|
-
7
|
|
564
|
-
</div>
|
|
565
|
-
<div
|
|
566
|
-
aria-label="8"
|
|
567
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
568
|
-
data-id="dateTime_invalidDate"
|
|
569
|
-
data-selector-id="box"
|
|
570
|
-
data-test-id="dateTime_invalidDate"
|
|
571
|
-
>
|
|
572
|
-
8
|
|
573
|
-
</div>
|
|
574
|
-
<div
|
|
575
|
-
aria-label="9"
|
|
576
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
577
|
-
data-id="dateTime_invalidDate"
|
|
578
|
-
data-selector-id="box"
|
|
579
|
-
data-test-id="dateTime_invalidDate"
|
|
580
|
-
>
|
|
581
|
-
9
|
|
582
|
-
</div>
|
|
583
|
-
<div
|
|
584
|
-
aria-label="10"
|
|
585
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
586
|
-
data-id="dateTime_invalidDate"
|
|
587
|
-
data-selector-id="box"
|
|
588
|
-
data-test-id="dateTime_invalidDate"
|
|
589
|
-
>
|
|
590
|
-
10
|
|
591
|
-
</div>
|
|
592
592
|
</div>
|
|
593
593
|
</div>
|
|
594
594
|
<span
|
|
@@ -53,9 +53,9 @@ exports[`DateWidget rendering the defult props 1`] = `
|
|
|
53
53
|
>
|
|
54
54
|
<div
|
|
55
55
|
class="flex cover coldir both"
|
|
56
|
-
data-id="
|
|
56
|
+
data-id="dateWidget_datePicker"
|
|
57
57
|
data-selector-id="container"
|
|
58
|
-
data-test-id="
|
|
58
|
+
data-test-id="dateWidget_datePicker"
|
|
59
59
|
>
|
|
60
60
|
<i
|
|
61
61
|
aria-hidden="true"
|
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
{
|
|
2
|
-
"positionMapping": {
|
|
3
|
-
"bottomCenter": {
|
|
4
|
-
"direction": "bottom",
|
|
5
|
-
"arrowPosition": "mid",
|
|
6
|
-
"positionStyle": "bottomMid"
|
|
7
|
-
},
|
|
8
|
-
"bottomLeftToRight": {
|
|
9
|
-
"direction": "bottom",
|
|
10
|
-
"arrowPosition": "start",
|
|
11
|
-
"positionStyle": "bottomEnd"
|
|
12
|
-
},
|
|
13
|
-
"bottomCenterToRight": {
|
|
14
|
-
"direction": "bottom",
|
|
15
|
-
"arrowPosition": "start",
|
|
16
|
-
"positionStyle": "bottomEnd"
|
|
17
|
-
},
|
|
18
|
-
"bottomRightToLeft": {
|
|
19
|
-
"direction": "bottom",
|
|
20
|
-
"arrowPosition": "end",
|
|
21
|
-
"positionStyle": "bottomStart"
|
|
22
|
-
},
|
|
23
|
-
"bottomCenterToLeft": {
|
|
24
|
-
"direction": "bottom",
|
|
25
|
-
"arrowPosition": "end",
|
|
26
|
-
"positionStyle": "bottomStart"
|
|
27
|
-
},
|
|
28
|
-
"topCenter": {
|
|
29
|
-
"direction": "top",
|
|
30
|
-
"arrowPosition": "mid",
|
|
31
|
-
"positionStyle": "topMid"
|
|
32
|
-
},
|
|
33
|
-
"topLeftToRight": {
|
|
34
|
-
"direction": "top",
|
|
35
|
-
"arrowPosition": "start",
|
|
36
|
-
"positionStyle": "topEnd"
|
|
37
|
-
},
|
|
38
|
-
"topCenterToRight": {
|
|
39
|
-
"direction": "top",
|
|
40
|
-
"arrowPosition": "start",
|
|
41
|
-
"positionStyle": "topEnd"
|
|
42
|
-
},
|
|
43
|
-
"topRightToLeft": {
|
|
44
|
-
"direction": "top",
|
|
45
|
-
"arrowPosition": "end",
|
|
46
|
-
"positionStyle": "topStart"
|
|
47
|
-
},
|
|
48
|
-
"topCenterToLeft": {
|
|
49
|
-
"direction": "top",
|
|
50
|
-
"arrowPosition": "end",
|
|
51
|
-
"positionStyle": "topStart"
|
|
52
|
-
},
|
|
53
|
-
"rightCenter": {
|
|
54
|
-
"direction": "right",
|
|
55
|
-
"arrowPosition": "mid",
|
|
56
|
-
"positionStyle": "rightMid"
|
|
57
|
-
},
|
|
58
|
-
"rightTopToBottom": {
|
|
59
|
-
"direction": "right",
|
|
60
|
-
"arrowPosition": "start",
|
|
61
|
-
"positionStyle": "rightEnd"
|
|
62
|
-
},
|
|
63
|
-
"rightCenterToBottom": {
|
|
64
|
-
"direction": "right",
|
|
65
|
-
"arrowPosition": "start",
|
|
66
|
-
"positionStyle": "rightEnd"
|
|
67
|
-
},
|
|
68
|
-
"rightBottomToTop": {
|
|
69
|
-
"direction": "right",
|
|
70
|
-
"arrowPosition": "end",
|
|
71
|
-
"positionStyle": "rightStart"
|
|
72
|
-
},
|
|
73
|
-
"rightCenterToTop": {
|
|
74
|
-
"direction": "right",
|
|
75
|
-
"arrowPosition": "end",
|
|
76
|
-
"positionStyle": "rightStart"
|
|
77
|
-
},
|
|
78
|
-
"leftCenter": {
|
|
79
|
-
"direction": "left",
|
|
80
|
-
"arrowPosition": "mid",
|
|
81
|
-
"positionStyle": "leftMid"
|
|
82
|
-
},
|
|
83
|
-
"leftTopToBottom": {
|
|
84
|
-
"direction": "left",
|
|
85
|
-
"arrowPosition": "start",
|
|
86
|
-
"positionStyle": "leftEnd"
|
|
87
|
-
},
|
|
88
|
-
"leftCenterToBottom": {
|
|
89
|
-
"direction": "left",
|
|
90
|
-
"arrowPosition": "start",
|
|
91
|
-
"positionStyle": "leftEnd"
|
|
92
|
-
},
|
|
93
|
-
"leftBottomToTop": {
|
|
94
|
-
"direction": "left",
|
|
95
|
-
"arrowPosition": "end",
|
|
96
|
-
"positionStyle": "leftStart"
|
|
97
|
-
},
|
|
98
|
-
"leftCenterToTop": {
|
|
99
|
-
"direction": "left",
|
|
100
|
-
"arrowPosition": "end",
|
|
101
|
-
"positionStyle": "leftStart"
|
|
102
|
-
},
|
|
103
|
-
"bottomRight": {
|
|
104
|
-
"direction": "bottom",
|
|
105
|
-
"arrowPosition": "start",
|
|
106
|
-
"positionStyle": "bottomEnd"
|
|
107
|
-
},
|
|
108
|
-
"bottomLeft": {
|
|
109
|
-
"direction": "bottom",
|
|
110
|
-
"arrowPosition": "end",
|
|
111
|
-
"positionStyle": "bottomStart"
|
|
112
|
-
},
|
|
113
|
-
"topRight": {
|
|
114
|
-
"direction": "top",
|
|
115
|
-
"arrowPosition": "start",
|
|
116
|
-
"positionStyle": "topEnd"
|
|
117
|
-
},
|
|
118
|
-
"topLeft": {
|
|
119
|
-
"direction": "top",
|
|
120
|
-
"arrowPosition": "end",
|
|
121
|
-
"positionStyle": "topStart"
|
|
122
|
-
},
|
|
123
|
-
"rightBottom": {
|
|
124
|
-
"direction": "right",
|
|
125
|
-
"arrowPosition": "start",
|
|
126
|
-
"positionStyle": "rightEnd"
|
|
127
|
-
},
|
|
128
|
-
"rightTop": {
|
|
129
|
-
"direction": "right",
|
|
130
|
-
"arrowPosition": "end",
|
|
131
|
-
"positionStyle": "rightStart"
|
|
132
|
-
},
|
|
133
|
-
"leftBottom": {
|
|
134
|
-
"direction": "left",
|
|
135
|
-
"arrowPosition": "start",
|
|
136
|
-
"positionStyle": "leftEnd"
|
|
137
|
-
},
|
|
138
|
-
"leftTop": {
|
|
139
|
-
"direction": "left",
|
|
140
|
-
"arrowPosition": "end",
|
|
141
|
-
"positionStyle": "leftStart"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"positionMapping": {
|
|
3
|
+
"bottomCenter": {
|
|
4
|
+
"direction": "bottom",
|
|
5
|
+
"arrowPosition": "mid",
|
|
6
|
+
"positionStyle": "bottomMid"
|
|
7
|
+
},
|
|
8
|
+
"bottomLeftToRight": {
|
|
9
|
+
"direction": "bottom",
|
|
10
|
+
"arrowPosition": "start",
|
|
11
|
+
"positionStyle": "bottomEnd"
|
|
12
|
+
},
|
|
13
|
+
"bottomCenterToRight": {
|
|
14
|
+
"direction": "bottom",
|
|
15
|
+
"arrowPosition": "start",
|
|
16
|
+
"positionStyle": "bottomEnd"
|
|
17
|
+
},
|
|
18
|
+
"bottomRightToLeft": {
|
|
19
|
+
"direction": "bottom",
|
|
20
|
+
"arrowPosition": "end",
|
|
21
|
+
"positionStyle": "bottomStart"
|
|
22
|
+
},
|
|
23
|
+
"bottomCenterToLeft": {
|
|
24
|
+
"direction": "bottom",
|
|
25
|
+
"arrowPosition": "end",
|
|
26
|
+
"positionStyle": "bottomStart"
|
|
27
|
+
},
|
|
28
|
+
"topCenter": {
|
|
29
|
+
"direction": "top",
|
|
30
|
+
"arrowPosition": "mid",
|
|
31
|
+
"positionStyle": "topMid"
|
|
32
|
+
},
|
|
33
|
+
"topLeftToRight": {
|
|
34
|
+
"direction": "top",
|
|
35
|
+
"arrowPosition": "start",
|
|
36
|
+
"positionStyle": "topEnd"
|
|
37
|
+
},
|
|
38
|
+
"topCenterToRight": {
|
|
39
|
+
"direction": "top",
|
|
40
|
+
"arrowPosition": "start",
|
|
41
|
+
"positionStyle": "topEnd"
|
|
42
|
+
},
|
|
43
|
+
"topRightToLeft": {
|
|
44
|
+
"direction": "top",
|
|
45
|
+
"arrowPosition": "end",
|
|
46
|
+
"positionStyle": "topStart"
|
|
47
|
+
},
|
|
48
|
+
"topCenterToLeft": {
|
|
49
|
+
"direction": "top",
|
|
50
|
+
"arrowPosition": "end",
|
|
51
|
+
"positionStyle": "topStart"
|
|
52
|
+
},
|
|
53
|
+
"rightCenter": {
|
|
54
|
+
"direction": "right",
|
|
55
|
+
"arrowPosition": "mid",
|
|
56
|
+
"positionStyle": "rightMid"
|
|
57
|
+
},
|
|
58
|
+
"rightTopToBottom": {
|
|
59
|
+
"direction": "right",
|
|
60
|
+
"arrowPosition": "start",
|
|
61
|
+
"positionStyle": "rightEnd"
|
|
62
|
+
},
|
|
63
|
+
"rightCenterToBottom": {
|
|
64
|
+
"direction": "right",
|
|
65
|
+
"arrowPosition": "start",
|
|
66
|
+
"positionStyle": "rightEnd"
|
|
67
|
+
},
|
|
68
|
+
"rightBottomToTop": {
|
|
69
|
+
"direction": "right",
|
|
70
|
+
"arrowPosition": "end",
|
|
71
|
+
"positionStyle": "rightStart"
|
|
72
|
+
},
|
|
73
|
+
"rightCenterToTop": {
|
|
74
|
+
"direction": "right",
|
|
75
|
+
"arrowPosition": "end",
|
|
76
|
+
"positionStyle": "rightStart"
|
|
77
|
+
},
|
|
78
|
+
"leftCenter": {
|
|
79
|
+
"direction": "left",
|
|
80
|
+
"arrowPosition": "mid",
|
|
81
|
+
"positionStyle": "leftMid"
|
|
82
|
+
},
|
|
83
|
+
"leftTopToBottom": {
|
|
84
|
+
"direction": "left",
|
|
85
|
+
"arrowPosition": "start",
|
|
86
|
+
"positionStyle": "leftEnd"
|
|
87
|
+
},
|
|
88
|
+
"leftCenterToBottom": {
|
|
89
|
+
"direction": "left",
|
|
90
|
+
"arrowPosition": "start",
|
|
91
|
+
"positionStyle": "leftEnd"
|
|
92
|
+
},
|
|
93
|
+
"leftBottomToTop": {
|
|
94
|
+
"direction": "left",
|
|
95
|
+
"arrowPosition": "end",
|
|
96
|
+
"positionStyle": "leftStart"
|
|
97
|
+
},
|
|
98
|
+
"leftCenterToTop": {
|
|
99
|
+
"direction": "left",
|
|
100
|
+
"arrowPosition": "end",
|
|
101
|
+
"positionStyle": "leftStart"
|
|
102
|
+
},
|
|
103
|
+
"bottomRight": {
|
|
104
|
+
"direction": "bottom",
|
|
105
|
+
"arrowPosition": "start",
|
|
106
|
+
"positionStyle": "bottomEnd"
|
|
107
|
+
},
|
|
108
|
+
"bottomLeft": {
|
|
109
|
+
"direction": "bottom",
|
|
110
|
+
"arrowPosition": "end",
|
|
111
|
+
"positionStyle": "bottomStart"
|
|
112
|
+
},
|
|
113
|
+
"topRight": {
|
|
114
|
+
"direction": "top",
|
|
115
|
+
"arrowPosition": "start",
|
|
116
|
+
"positionStyle": "topEnd"
|
|
117
|
+
},
|
|
118
|
+
"topLeft": {
|
|
119
|
+
"direction": "top",
|
|
120
|
+
"arrowPosition": "end",
|
|
121
|
+
"positionStyle": "topStart"
|
|
122
|
+
},
|
|
123
|
+
"rightBottom": {
|
|
124
|
+
"direction": "right",
|
|
125
|
+
"arrowPosition": "start",
|
|
126
|
+
"positionStyle": "rightEnd"
|
|
127
|
+
},
|
|
128
|
+
"rightTop": {
|
|
129
|
+
"direction": "right",
|
|
130
|
+
"arrowPosition": "end",
|
|
131
|
+
"positionStyle": "rightStart"
|
|
132
|
+
},
|
|
133
|
+
"leftBottom": {
|
|
134
|
+
"direction": "left",
|
|
135
|
+
"arrowPosition": "start",
|
|
136
|
+
"positionStyle": "leftEnd"
|
|
137
|
+
},
|
|
138
|
+
"leftTop": {
|
|
139
|
+
"direction": "left",
|
|
140
|
+
"arrowPosition": "end",
|
|
141
|
+
"positionStyle": "leftStart"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
145
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.listGroup {
|
|
2
|
-
max-height: var(--zd_size220) ;
|
|
3
|
-
composes: oflowy from '../common/common.module.css';
|
|
4
|
-
margin: var(--zd_size8) 0 var(--zd_size4) ;
|
|
5
|
-
}
|
|
1
|
+
.listGroup {
|
|
2
|
+
max-height: var(--zd_size220) ;
|
|
3
|
+
composes: oflowy from '../common/common.module.css';
|
|
4
|
+
margin: var(--zd_size8) 0 var(--zd_size4) ;
|
|
5
|
+
}
|
|
@@ -37,14 +37,17 @@ export default class DropDownSearch extends React.Component {
|
|
|
37
37
|
size,
|
|
38
38
|
textBoxSize,
|
|
39
39
|
placeHolder,
|
|
40
|
-
customClass
|
|
40
|
+
customClass,
|
|
41
|
+
dataId
|
|
41
42
|
} = this.props;
|
|
42
43
|
let {
|
|
43
44
|
searchClass = '',
|
|
44
45
|
customTextBox = ''
|
|
45
46
|
} = customClass;
|
|
46
47
|
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
-
className: `${style.search} ${style[`${size}Search`]} ${searchClass}
|
|
48
|
+
className: `${style.search} ${style[`${size}Search`]} ${searchClass}`,
|
|
49
|
+
"data-id": dataId,
|
|
50
|
+
"data-test-id": dataId
|
|
48
51
|
}, /*#__PURE__*/React.createElement(TextBox, {
|
|
49
52
|
id: id,
|
|
50
53
|
inputRef: this.getRef,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
/* dropdownsearch default variables */
|
|
3
|
-
--dropdownsearch-padding: 0 var(--zd_size15) 0;
|
|
4
|
-
}
|
|
5
|
-
.search {
|
|
6
|
-
composes: varClass;
|
|
7
|
-
padding: var(--dropdownsearch-padding);
|
|
8
|
-
}
|
|
9
|
-
.smallSearch {
|
|
10
|
-
--dropdownsearch-padding: 0 var(--zd_size5) 0;
|
|
11
|
-
}
|
|
12
|
-
.mediumSearch {
|
|
13
|
-
--dropdownsearch-padding: 0 var(--zd_size15) 0;
|
|
14
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
/* dropdownsearch default variables */
|
|
3
|
+
--dropdownsearch-padding: 0 var(--zd_size15) 0;
|
|
4
|
+
}
|
|
5
|
+
.search {
|
|
6
|
+
composes: varClass;
|
|
7
|
+
padding: var(--dropdownsearch-padding);
|
|
8
|
+
}
|
|
9
|
+
.smallSearch {
|
|
10
|
+
--dropdownsearch-padding: 0 var(--zd_size5) 0;
|
|
11
|
+
}
|
|
12
|
+
.mediumSearch {
|
|
13
|
+
--dropdownsearch-padding: 0 var(--zd_size15) 0;
|
|
14
|
+
}
|