@zohodesk/components 1.0.0-temp-196 → 1.0.0-temp-197
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 +0 -5
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.js +0 -1
- package/es/Avatar/Avatar.js +9 -9
- package/es/Avatar/Avatar.module.css +2 -2
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/es/Button/css/Button.module.css +22 -6
- package/es/Buttongroup/Buttongroup.module.css +1 -1
- package/es/DateTime/DateTime.module.css +11 -8
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +11 -7
- package/es/DropBox/css/DropBox.module.css +1 -1
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/Provider/LibraryContext.js +3 -15
- package/es/Ribbon/Ribbon.module.css +6 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/Switch.module.css +2 -1
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/es/Tab/Tabs.module.css +3 -3
- package/es/Tag/Tag.js +9 -11
- package/es/Tag/props/defaultProps.js +0 -1
- package/es/Tag/props/propTypes.js +0 -1
- package/es/Tooltip/Tooltip.module.css +3 -0
- package/es/v1/AppContainer/AppContainer.js +0 -1
- 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/Card/Card.js +4 -4
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/v1/MultiSelect/MultiSelect.js +5 -5
- package/es/v1/Tab/Tabs.js +11 -11
- package/es/v1/Tab/v1Tabs.module.css +3 -3
- package/es/v1/Tag/Tag.js +9 -11
- package/es/v1/Tag/props/defaultProps.js +0 -1
- package/es/v1/Tag/props/propTypes.js +0 -1
- package/lib/AppContainer/AppContainer.js +0 -2
- package/lib/Avatar/Avatar.js +9 -9
- package/lib/Avatar/Avatar.module.css +2 -2
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/lib/Button/css/Button.module.css +22 -6
- package/lib/Buttongroup/Buttongroup.module.css +1 -1
- package/lib/DateTime/DateTime.module.css +11 -8
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +11 -7
- package/lib/DropBox/css/DropBox.module.css +1 -1
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/Provider/LibraryContext.js +5 -15
- package/lib/Ribbon/Ribbon.module.css +6 -6
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/Switch.module.css +2 -1
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/lib/Tab/Tabs.module.css +3 -3
- package/lib/Tag/Tag.js +10 -13
- package/lib/Tag/props/defaultProps.js +0 -1
- package/lib/Tag/props/propTypes.js +0 -1
- package/lib/Tooltip/Tooltip.module.css +3 -0
- package/lib/v1/AppContainer/AppContainer.js +0 -2
- 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/Card/Card.js +4 -4
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/v1/MultiSelect/MultiSelect.js +5 -5
- package/lib/v1/Tab/Tabs.js +11 -11
- package/lib/v1/Tab/v1Tabs.module.css +3 -3
- package/lib/v1/Tag/Tag.js +10 -13
- package/lib/v1/Tag/props/defaultProps.js +0 -1
- package/lib/v1/Tag/props/propTypes.js +0 -1
- package/package.json +9 -5
- package/propValidationArg.json +11 -11
- package/result.json +1 -1
- /package/es/{common → deprecated}/boxShadow.module.css +0 -0
- /package/lib/{common → deprecated}/boxShadow.module.css +0 -0
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Stencils rendering the customClass 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
class="container rectangular medium primary StencilsCustomClass"
|
|
7
|
-
/>
|
|
8
|
-
</DocumentFragment>
|
|
9
|
-
`;
|
|
10
|
-
|
|
11
|
-
exports[`Stencils rendering the defult props 1`] = `
|
|
12
|
-
<DocumentFragment>
|
|
13
|
-
<div
|
|
14
|
-
class="container rectangular medium primary "
|
|
15
|
-
/>
|
|
16
|
-
</DocumentFragment>
|
|
17
|
-
`;
|
|
18
|
-
|
|
19
|
-
exports[`Stencils rendering the palette of- dark 1`] = `
|
|
20
|
-
<DocumentFragment>
|
|
21
|
-
<div
|
|
22
|
-
class="container rectangular medium dark "
|
|
23
|
-
/>
|
|
24
|
-
</DocumentFragment>
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
exports[`Stencils rendering the palette of- primary 1`] = `
|
|
28
|
-
<DocumentFragment>
|
|
29
|
-
<div
|
|
30
|
-
class="container rectangular medium primary "
|
|
31
|
-
/>
|
|
32
|
-
</DocumentFragment>
|
|
33
|
-
`;
|
|
34
|
-
|
|
35
|
-
exports[`Stencils rendering the palette of- secondary 1`] = `
|
|
36
|
-
<DocumentFragment>
|
|
37
|
-
<div
|
|
38
|
-
class="container rectangular medium secondary "
|
|
39
|
-
/>
|
|
40
|
-
</DocumentFragment>
|
|
41
|
-
`;
|
|
42
|
-
|
|
43
|
-
exports[`Stencils rendering the shape of- circle 1`] = `
|
|
44
|
-
<DocumentFragment>
|
|
45
|
-
<div
|
|
46
|
-
class="container circle cmedium primary "
|
|
47
|
-
/>
|
|
48
|
-
</DocumentFragment>
|
|
49
|
-
`;
|
|
50
|
-
|
|
51
|
-
exports[`Stencils rendering the shape of- rect 1`] = `
|
|
52
|
-
<DocumentFragment>
|
|
53
|
-
<div
|
|
54
|
-
class="container rectangular medium primary "
|
|
55
|
-
/>
|
|
56
|
-
</DocumentFragment>
|
|
57
|
-
`;
|
|
58
|
-
|
|
59
|
-
exports[`Stencils rendering the size of- default 1`] = `
|
|
60
|
-
<DocumentFragment>
|
|
61
|
-
<div
|
|
62
|
-
class="container rectangular default primary "
|
|
63
|
-
/>
|
|
64
|
-
</DocumentFragment>
|
|
65
|
-
`;
|
|
66
|
-
|
|
67
|
-
exports[`Stencils rendering the size of- large 1`] = `
|
|
68
|
-
<DocumentFragment>
|
|
69
|
-
<div
|
|
70
|
-
class="container rectangular large primary "
|
|
71
|
-
/>
|
|
72
|
-
</DocumentFragment>
|
|
73
|
-
`;
|
|
74
|
-
|
|
75
|
-
exports[`Stencils rendering the size of- medium 1`] = `
|
|
76
|
-
<DocumentFragment>
|
|
77
|
-
<div
|
|
78
|
-
class="container rectangular medium primary "
|
|
79
|
-
/>
|
|
80
|
-
</DocumentFragment>
|
|
81
|
-
`;
|
|
82
|
-
|
|
83
|
-
exports[`Stencils rendering the size of- small 1`] = `
|
|
84
|
-
<DocumentFragment>
|
|
85
|
-
<div
|
|
86
|
-
class="container rectangular small primary "
|
|
87
|
-
/>
|
|
88
|
-
</DocumentFragment>
|
|
89
|
-
`;
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`Stencils rendering the customClass 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<div
|
|
6
|
+
class="container rectangular medium primary StencilsCustomClass"
|
|
7
|
+
/>
|
|
8
|
+
</DocumentFragment>
|
|
9
|
+
`;
|
|
10
|
+
|
|
11
|
+
exports[`Stencils rendering the defult props 1`] = `
|
|
12
|
+
<DocumentFragment>
|
|
13
|
+
<div
|
|
14
|
+
class="container rectangular medium primary "
|
|
15
|
+
/>
|
|
16
|
+
</DocumentFragment>
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
exports[`Stencils rendering the palette of- dark 1`] = `
|
|
20
|
+
<DocumentFragment>
|
|
21
|
+
<div
|
|
22
|
+
class="container rectangular medium dark "
|
|
23
|
+
/>
|
|
24
|
+
</DocumentFragment>
|
|
25
|
+
`;
|
|
26
|
+
|
|
27
|
+
exports[`Stencils rendering the palette of- primary 1`] = `
|
|
28
|
+
<DocumentFragment>
|
|
29
|
+
<div
|
|
30
|
+
class="container rectangular medium primary "
|
|
31
|
+
/>
|
|
32
|
+
</DocumentFragment>
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
exports[`Stencils rendering the palette of- secondary 1`] = `
|
|
36
|
+
<DocumentFragment>
|
|
37
|
+
<div
|
|
38
|
+
class="container rectangular medium secondary "
|
|
39
|
+
/>
|
|
40
|
+
</DocumentFragment>
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
exports[`Stencils rendering the shape of- circle 1`] = `
|
|
44
|
+
<DocumentFragment>
|
|
45
|
+
<div
|
|
46
|
+
class="container circle cmedium primary "
|
|
47
|
+
/>
|
|
48
|
+
</DocumentFragment>
|
|
49
|
+
`;
|
|
50
|
+
|
|
51
|
+
exports[`Stencils rendering the shape of- rect 1`] = `
|
|
52
|
+
<DocumentFragment>
|
|
53
|
+
<div
|
|
54
|
+
class="container rectangular medium primary "
|
|
55
|
+
/>
|
|
56
|
+
</DocumentFragment>
|
|
57
|
+
`;
|
|
58
|
+
|
|
59
|
+
exports[`Stencils rendering the size of- default 1`] = `
|
|
60
|
+
<DocumentFragment>
|
|
61
|
+
<div
|
|
62
|
+
class="container rectangular default primary "
|
|
63
|
+
/>
|
|
64
|
+
</DocumentFragment>
|
|
65
|
+
`;
|
|
66
|
+
|
|
67
|
+
exports[`Stencils rendering the size of- large 1`] = `
|
|
68
|
+
<DocumentFragment>
|
|
69
|
+
<div
|
|
70
|
+
class="container rectangular large primary "
|
|
71
|
+
/>
|
|
72
|
+
</DocumentFragment>
|
|
73
|
+
`;
|
|
74
|
+
|
|
75
|
+
exports[`Stencils rendering the size of- medium 1`] = `
|
|
76
|
+
<DocumentFragment>
|
|
77
|
+
<div
|
|
78
|
+
class="container rectangular medium primary "
|
|
79
|
+
/>
|
|
80
|
+
</DocumentFragment>
|
|
81
|
+
`;
|
|
82
|
+
|
|
83
|
+
exports[`Stencils rendering the size of- small 1`] = `
|
|
84
|
+
<DocumentFragment>
|
|
85
|
+
<div
|
|
86
|
+
class="container rectangular small primary "
|
|
87
|
+
/>
|
|
88
|
+
</DocumentFragment>
|
|
89
|
+
`;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* switch circle default variables */
|
|
7
7
|
--switch_circle_bg_color: var(--zdt_switch_circle_bg);
|
|
8
8
|
--switch_circle_border_radius: 50px;
|
|
9
|
-
--switch_cricle_box_shadow: var(--
|
|
9
|
+
--switch_cricle_box_shadow: var(--zd_bs_contrast_outline, 0 1px 4px 0 var(--zdt_switch_circle_shadow));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.container {
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.checked+.label {
|
|
52
|
+
/* css:validation:ignore */
|
|
52
53
|
box-shadow: inset 0 0 0 var(--zd_size10) var(--switch_on_bg_color);
|
|
53
54
|
}
|
|
54
55
|
|