@zohodesk/components 1.0.0-temp-224.4 → 1.0.0-temp-226
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/propValidation_report.html +1 -1
- package/README.md +5 -31
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +9 -5
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +5 -0
- package/assets/Appearance/light/mode/Component_LightMode.module.css +9 -5
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +5 -0
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +9 -5
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +5 -0
- package/es/Button/Button.js +0 -2
- package/es/Button/__tests__/Button.spec.js +134 -1
- package/es/Button/css/Button.module.css +50 -14
- package/es/Button/css/cssJSLogic.js +10 -1
- package/es/DateTime/__tests__/YearView.spec.js +1 -2
- package/es/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +8 -1
- package/es/Provider/IdProvider.js +1 -1
- package/es/Provider/LibraryContext.js +3 -1
- package/es/Select/__tests__/Select.spec.js +1130 -4
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +9621 -1
- package/es/Stencils/Stencils.js +2 -3
- package/es/Stencils/Stencils.module.css +8 -31
- package/es/Stencils/props/defaultProps.js +1 -2
- package/es/Stencils/props/propTypes.js +1 -2
- package/es/Tab/TabWrapper.js +2 -3
- package/es/Tag/__tests__/Tag.spec.js +8 -1
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +40 -3
- package/es/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +4 -1
- package/lib/Button/Button.js +0 -2
- package/lib/Button/__tests__/Button.spec.js +140 -0
- package/lib/Button/css/Button.module.css +50 -14
- package/lib/Button/css/cssJSLogic.js +15 -2
- package/lib/DateTime/__tests__/YearView.spec.js +1 -2
- package/lib/MultiSelect/__tests__/AdvancedMultiSelect.spec.js +8 -0
- package/lib/Provider/IdProvider.js +1 -0
- package/lib/Provider/LibraryContext.js +3 -1
- package/lib/Select/__tests__/Select.spec.js +1364 -3
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +9621 -1
- package/lib/Stencils/Stencils.js +2 -3
- package/lib/Stencils/Stencils.module.css +8 -31
- package/lib/Stencils/props/defaultProps.js +1 -2
- package/lib/Stencils/props/propTypes.js +1 -2
- package/lib/Tab/TabWrapper.js +2 -3
- package/lib/Tag/__tests__/Tag.spec.js +10 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +80 -26
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +4 -1
- package/package.json +2 -2
- package/result.json +1 -1
- package/es/DateTime/__tests__/__snapshots__/YearView.spec.js.snap +0 -61
- package/lib/DateTime/__tests__/__snapshots__/YearView.spec.js.snap +0 -61
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`YearView rendering the defult props 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
class="container virtualizer"
|
|
7
|
-
dataid="yearList"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
style="order: 0; height: 0px; width: 1px; flex-grow: 0; flex-shrink: 0;"
|
|
11
|
-
/>
|
|
12
|
-
<div
|
|
13
|
-
class="yearBox flex coldir"
|
|
14
|
-
data-id="containerComponent"
|
|
15
|
-
data-selector-id="container"
|
|
16
|
-
data-test-id="containerComponent"
|
|
17
|
-
style="order: 0;"
|
|
18
|
-
>
|
|
19
|
-
<div
|
|
20
|
-
class="year shrinkOff"
|
|
21
|
-
data-id="year_1850"
|
|
22
|
-
data-selector-id="box"
|
|
23
|
-
data-test-id="year_1850"
|
|
24
|
-
>
|
|
25
|
-
<div
|
|
26
|
-
class="flex cover rowdir vCenter"
|
|
27
|
-
data-id="containerComponent"
|
|
28
|
-
data-selector-id="container"
|
|
29
|
-
data-test-id="containerComponent"
|
|
30
|
-
>
|
|
31
|
-
<div
|
|
32
|
-
class="grow basis shrinkOff"
|
|
33
|
-
data-id="boxComponent"
|
|
34
|
-
data-selector-id="box"
|
|
35
|
-
data-test-id="boxComponent"
|
|
36
|
-
>
|
|
37
|
-
<h4
|
|
38
|
-
class="reset yearText"
|
|
39
|
-
data-title="1850"
|
|
40
|
-
tabindex="0"
|
|
41
|
-
>
|
|
42
|
-
1850
|
|
43
|
-
</h4>
|
|
44
|
-
</div>
|
|
45
|
-
<i
|
|
46
|
-
aria-hidden="true"
|
|
47
|
-
class="zd_font_icons basic icon-arrow-down-single fbold arrow "
|
|
48
|
-
data-id="fontIcon"
|
|
49
|
-
data-selector-id="fontIcon"
|
|
50
|
-
data-test-id="fontIcon"
|
|
51
|
-
style="--zd-iconfont-size: var(--zd_font_size7);"
|
|
52
|
-
/>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div
|
|
57
|
-
style="order: 8150; height: 8149px; width: 1px; flex-grow: 0; flex-shrink: 0;"
|
|
58
|
-
/>
|
|
59
|
-
</div>
|
|
60
|
-
</DocumentFragment>
|
|
61
|
-
`;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`YearView rendering the defult props 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
class="container virtualizer"
|
|
7
|
-
dataid="yearList"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
style="order: 0; height: 0px; width: 1px; flex-grow: 0; flex-shrink: 0;"
|
|
11
|
-
/>
|
|
12
|
-
<div
|
|
13
|
-
class="yearBox flex coldir"
|
|
14
|
-
data-id="containerComponent"
|
|
15
|
-
data-selector-id="container"
|
|
16
|
-
data-test-id="containerComponent"
|
|
17
|
-
style="order: 0;"
|
|
18
|
-
>
|
|
19
|
-
<div
|
|
20
|
-
class="year shrinkOff"
|
|
21
|
-
data-id="year_1850"
|
|
22
|
-
data-selector-id="box"
|
|
23
|
-
data-test-id="year_1850"
|
|
24
|
-
>
|
|
25
|
-
<div
|
|
26
|
-
class="flex cover rowdir vCenter"
|
|
27
|
-
data-id="containerComponent"
|
|
28
|
-
data-selector-id="container"
|
|
29
|
-
data-test-id="containerComponent"
|
|
30
|
-
>
|
|
31
|
-
<div
|
|
32
|
-
class="grow basis shrinkOff"
|
|
33
|
-
data-id="boxComponent"
|
|
34
|
-
data-selector-id="box"
|
|
35
|
-
data-test-id="boxComponent"
|
|
36
|
-
>
|
|
37
|
-
<h4
|
|
38
|
-
class="reset yearText"
|
|
39
|
-
data-title="1850"
|
|
40
|
-
tabindex="0"
|
|
41
|
-
>
|
|
42
|
-
1850
|
|
43
|
-
</h4>
|
|
44
|
-
</div>
|
|
45
|
-
<i
|
|
46
|
-
aria-hidden="true"
|
|
47
|
-
class="zd_font_icons basic icon-arrow-down-single fbold arrow "
|
|
48
|
-
data-id="fontIcon"
|
|
49
|
-
data-selector-id="fontIcon"
|
|
50
|
-
data-test-id="fontIcon"
|
|
51
|
-
style="--zd-iconfont-size: var(--zd_font_size7);"
|
|
52
|
-
/>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div
|
|
57
|
-
style="order: 8150; height: 8149px; width: 1px; flex-grow: 0; flex-shrink: 0;"
|
|
58
|
-
/>
|
|
59
|
-
</div>
|
|
60
|
-
</DocumentFragment>
|
|
61
|
-
`;
|