@zohodesk/components 1.0.0-temp-204 → 1.0.0-temp-205

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 (122) 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 +4 -0
  5. package/css_error.log +1 -1
  6. package/es/AppContainer/AppContainer.js +0 -1
  7. package/es/Avatar/Avatar.js +9 -9
  8. package/es/Avatar/Avatar.module.css +2 -2
  9. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  10. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  11. package/es/Button/css/Button.module.css +22 -6
  12. package/es/Buttongroup/Buttongroup.module.css +1 -1
  13. package/es/DateTime/DateTime.module.css +11 -8
  14. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +24 -9
  15. package/es/DropBox/css/DropBox.module.css +1 -1
  16. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  17. package/es/ListItem/ListItemWithAvatar.js +5 -9
  18. package/es/ListItem/props/defaultProps.js +0 -1
  19. package/es/ListItem/props/propTypes.js +1 -4
  20. package/es/MultiSelect/Suggestions.js +0 -2
  21. package/es/MultiSelect/props/propTypes.js +0 -1
  22. package/es/Radio/Radio.js +3 -2
  23. package/es/Radio/Radio.module.css +2 -1
  24. package/es/Radio/props/propTypes.js +2 -1
  25. package/es/Ribbon/Ribbon.module.css +6 -6
  26. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  27. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  28. package/es/Switch/Switch.module.css +2 -1
  29. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  30. package/es/Tab/Tabs.js +20 -124
  31. package/es/Tab/Tabs.module.css +1 -32
  32. package/es/Tab/props/defaultProps.js +1 -3
  33. package/es/Tab/props/propTypes.js +1 -6
  34. package/es/Tooltip/Tooltip.module.css +3 -0
  35. package/es/v1/AppContainer/AppContainer.js +0 -1
  36. package/es/v1/Avatar/Avatar.js +5 -5
  37. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  38. package/es/v1/Button/Button.js +4 -4
  39. package/es/v1/Card/Card.js +4 -4
  40. package/es/v1/ListItem/ListItemWithAvatar.js +5 -9
  41. package/es/v1/ListItem/props/defaultProps.js +0 -1
  42. package/es/v1/ListItem/props/propTypes.js +1 -4
  43. package/es/v1/MultiSelect/Suggestions.js +0 -2
  44. package/es/v1/MultiSelect/props/propTypes.js +0 -1
  45. package/es/v1/Tab/v1Tabs.module.css +3 -3
  46. package/lib/AppContainer/AppContainer.js +0 -2
  47. package/lib/Avatar/Avatar.js +9 -9
  48. package/lib/Avatar/Avatar.module.css +2 -2
  49. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  50. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  51. package/lib/Button/css/Button.module.css +22 -6
  52. package/lib/Buttongroup/Buttongroup.module.css +1 -1
  53. package/lib/DateTime/DateTime.module.css +11 -8
  54. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +24 -9
  55. package/lib/DropBox/css/DropBox.module.css +1 -1
  56. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  57. package/lib/ListItem/ListItemWithAvatar.js +5 -9
  58. package/lib/ListItem/props/defaultProps.js +0 -1
  59. package/lib/ListItem/props/propTypes.js +2 -4
  60. package/lib/MultiSelect/Suggestions.js +0 -2
  61. package/lib/MultiSelect/props/propTypes.js +0 -1
  62. package/lib/Radio/Radio.js +3 -2
  63. package/lib/Radio/Radio.module.css +2 -1
  64. package/lib/Radio/props/propTypes.js +2 -1
  65. package/lib/Ribbon/Ribbon.module.css +6 -6
  66. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  67. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  68. package/lib/Switch/Switch.module.css +2 -1
  69. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  70. package/lib/Tab/Tabs.js +27 -125
  71. package/lib/Tab/Tabs.module.css +1 -32
  72. package/lib/Tab/props/defaultProps.js +1 -3
  73. package/lib/Tab/props/propTypes.js +1 -6
  74. package/lib/Tooltip/Tooltip.module.css +3 -0
  75. package/lib/v1/AppContainer/AppContainer.js +0 -2
  76. package/lib/v1/Avatar/Avatar.js +5 -5
  77. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  78. package/lib/v1/Button/Button.js +4 -4
  79. package/lib/v1/Card/Card.js +4 -4
  80. package/lib/v1/ListItem/ListItemWithAvatar.js +5 -9
  81. package/lib/v1/ListItem/props/defaultProps.js +0 -1
  82. package/lib/v1/ListItem/props/propTypes.js +2 -4
  83. package/lib/v1/MultiSelect/Suggestions.js +0 -2
  84. package/lib/v1/MultiSelect/props/propTypes.js +0 -1
  85. package/lib/v1/Tab/v1Tabs.module.css +3 -3
  86. package/package.json +17 -13
  87. package/propValidationArg.json +11 -11
  88. package/result.json +1 -1
  89. /package/es/{select → Select}/GroupSelect.js +0 -0
  90. /package/es/{select → Select}/Select.js +0 -0
  91. /package/es/{select → Select}/Select.module.css +0 -0
  92. /package/es/{select → Select}/SelectWithAvatar.js +0 -0
  93. /package/es/{select → Select}/SelectWithIcon.js +0 -0
  94. /package/es/{select → Select}/__tests__/GroupSelect.spec.js +0 -0
  95. /package/es/{select → Select}/__tests__/Select.spec.js +0 -0
  96. /package/es/{select → Select}/__tests__/SelectWithAvatar.spec.js +0 -0
  97. /package/es/{select → Select}/__tests__/SelectWithIcon.spec.js +0 -0
  98. /package/es/{select → Select}/__tests__/__snapshots__/GroupSelect.spec.js.snap +0 -0
  99. /package/es/{select → Select}/__tests__/__snapshots__/Select.spec.js.snap +0 -0
  100. /package/es/{select → Select}/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +0 -0
  101. /package/es/{select → Select}/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +0 -0
  102. /package/es/{select → Select}/index.js +0 -0
  103. /package/es/{select → Select}/props/defaultProps.js +0 -0
  104. /package/es/{select → Select}/props/propTypes.js +0 -0
  105. /package/es/{common → deprecated}/boxShadow.module.css +0 -0
  106. /package/lib/{select → Select}/GroupSelect.js +0 -0
  107. /package/lib/{select → Select}/Select.js +0 -0
  108. /package/lib/{select → Select}/Select.module.css +0 -0
  109. /package/lib/{select → Select}/SelectWithAvatar.js +0 -0
  110. /package/lib/{select → Select}/SelectWithIcon.js +0 -0
  111. /package/lib/{select → Select}/__tests__/GroupSelect.spec.js +0 -0
  112. /package/lib/{select → Select}/__tests__/Select.spec.js +0 -0
  113. /package/lib/{select → Select}/__tests__/SelectWithAvatar.spec.js +0 -0
  114. /package/lib/{select → Select}/__tests__/SelectWithIcon.spec.js +0 -0
  115. /package/lib/{select → Select}/__tests__/__snapshots__/GroupSelect.spec.js.snap +0 -0
  116. /package/lib/{select → Select}/__tests__/__snapshots__/Select.spec.js.snap +0 -0
  117. /package/lib/{select → Select}/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +0 -0
  118. /package/lib/{select → Select}/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +0 -0
  119. /package/lib/{select → Select}/index.js +0 -0
  120. /package/lib/{select → Select}/props/defaultProps.js +0 -0
  121. /package/lib/{select → Select}/props/propTypes.js +0 -0
  122. /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(--zd_bs_switch_default);
9
+ --switch_cricle_box_shadow: 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