@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
@@ -31,7 +31,7 @@
31
31
  bottom: 0 ;
32
32
  height: var(--zd_size10) ;
33
33
  border-radius: 100px / 5px;
34
- box-shadow: var(--zd_bs_contrast_outline, 0 -2px 9px var(--zdt_tabs_alpha_box_shadow));
34
+ box-shadow: var(--zd_bs_tabs_shadow);
35
35
  }
36
36
 
37
37
  [dir=ltr] .alpha::after {
@@ -123,13 +123,13 @@
123
123
  .bottomRightToLeft,
124
124
  .topRightToLeft,
125
125
  .bottomCenterToLeft {
126
- right: calc(var(--tab_position_gap) * -1);
126
+ right: calc(var(--tab_position_gap) * -1);
127
127
  }
128
128
 
129
129
  .bottomLeftToRight,
130
130
  .topLeftToRight,
131
131
  .bottomCenterToRight {
132
- left: calc(var(--tab_position_gap) * -1);
132
+ left: calc(var(--tab_position_gap) * -1);
133
133
  }
134
134
 
135
135
  .hidden {
@@ -1,144 +1,141 @@
1
- .tooltiptext {
2
- position: fixed;
3
- z-index: 9999999;
4
- /*Hook for editor alert*/
5
- pointer-events: none;
6
- /*css:validation:ignore*/
7
- box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
8
- border-radius: var(--zd_size4);
9
- }[dir=ltr] .tooltiptext {
10
- animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
11
- }[dir=rtl] .tooltiptext {
12
- animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
13
- }
14
-
15
- .tooltipcont {
16
- color: var(--zdt_tooltip_default_text);
17
- font-size: var(--zd_font_size13) ;
18
- font-family: var(--zd_semibold);
19
- word-break: break-word;
20
- max-width: var(--zd_size420) ;
21
- line-height: 1.5385;
22
- min-height: var(--zd_size24) ;
23
- overflow: hidden;
24
- background-color: var(--zdt_tooltip_default_bg);
25
- padding: 0 var(--zd_size10) ;
26
- border-style: solid;
27
- border-color: transparent;
28
- border-radius: var(--zd_size4);
29
- }
30
-
31
- .tooltipWrapCont {
32
- white-space: pre-wrap;
33
- }
34
-
35
- .tooltipNormalCont {
36
- white-space: normal;
37
- }
38
- .tooltiparrow {
39
- content: '';
40
- position: absolute;
41
- top: 0 ;
42
- border-top-left-radius: 3px;
43
- }
44
-
45
- .arrowUp,
46
- .arrowDown {
47
- /* Variable:Ignore */
48
- width: 11px;
49
- /* Variable:Ignore */
50
- height: 11px;
51
- border-top: solid 6px var(--zdt_tooltip_default_bg);
52
- border-left: solid 6px var(--zdt_tooltip_default_bg);
53
- border-right: solid 6px transparent;
54
- border-bottom: solid 6px transparent;
55
- /*css:validation:ignore*/
56
- box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
57
- z-index: -1;
58
- }
59
-
60
- .arrowDown {
61
- /* Variable:Ignore */
62
- margin-top: -4px !important;
63
- /* put important because of '.wms-mainui *' have margin: 0; */
64
- }
65
-
66
- .arrowLeft,
67
- .arrowRight {
68
- /* Variable:Ignore */
69
- width: 11px;
70
- /* Variable:Ignore */
71
- height: 11px;
72
- border-top: solid 6px var(--zdt_tooltip_default_bg);
73
- border-left: solid 6px var(--zdt_tooltip_default_bg);
74
- border-right: solid 6px transparent;
75
- border-bottom: solid 6px transparent;
76
- /*css:validation:ignore*/
77
- box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
78
- z-index: -1;
79
- }
80
-
81
- .arrowRight {
82
- /* Variable:Ignore */
83
- margin-left: -2px;
84
- }
85
-
86
- .arrowLeft {
87
- /* Variable:Ignore */
88
- margin-left: 1px;
89
- }
90
-
91
- .arrowUp {
92
- transform: rotate(45deg);
93
- }
94
-
95
- .arrowDown {
96
- transform: rotate(225deg);
97
- }
98
-
99
- .arrowLeft {
100
- transform: rotate(315deg) translateY(-50%);
101
- }
102
-
103
- .arrowRight {
104
- transform: rotate(135deg) translateY(50%);
105
- }
106
- @keyframes tooltip-grow {
107
- from {
108
- opacity: 0;
109
- }
110
-
111
- to {
112
- opacity: 1;
113
- }
114
- }
115
-
116
- @-webkit-keyframes tooltip-grow {
117
- from {
118
- opacity: 0;
119
- }
120
-
121
- to {
122
- opacity: 1;
123
- }
124
- }
125
-
126
- @-moz-keyframes tooltip-grow {
127
- from {
128
- opacity: 0;
129
- }
130
-
131
- to {
132
- opacity: 1;
133
- }
134
- }
135
-
136
- @-ms-keyframes tooltip-grow {
137
- from {
138
- opacity: 0;
139
- }
140
-
141
- to {
142
- opacity: 1;
143
- }
1
+ .tooltiptext {
2
+ position: fixed;
3
+ z-index: 9999999;
4
+ /*Hook for editor alert*/
5
+ pointer-events: none;
6
+ box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
7
+ border-radius: var(--zd_size4);
8
+ }[dir=ltr] .tooltiptext {
9
+ animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
10
+ }[dir=rtl] .tooltiptext {
11
+ animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
12
+ }
13
+
14
+ .tooltipcont {
15
+ color: var(--zdt_tooltip_default_text);
16
+ font-size: var(--zd_font_size13) ;
17
+ font-family: var(--zd_semibold);
18
+ word-break: break-word;
19
+ max-width: var(--zd_size420) ;
20
+ line-height: 1.5385;
21
+ min-height: var(--zd_size24) ;
22
+ overflow: hidden;
23
+ background-color: var(--zdt_tooltip_default_bg);
24
+ padding: 0 var(--zd_size10) ;
25
+ border-style: solid;
26
+ border-color: transparent;
27
+ border-radius: var(--zd_size4);
28
+ }
29
+
30
+ .tooltipWrapCont {
31
+ white-space: pre-wrap;
32
+ }
33
+
34
+ .tooltipNormalCont {
35
+ white-space: normal;
36
+ }
37
+ .tooltiparrow {
38
+ content: '';
39
+ position: absolute;
40
+ top: 0 ;
41
+ border-top-left-radius: 3px;
42
+ }
43
+
44
+ .arrowUp,
45
+ .arrowDown {
46
+ /* Variable:Ignore */
47
+ width: 11px;
48
+ /* Variable:Ignore */
49
+ height: 11px;
50
+ border-top: solid 6px var(--zdt_tooltip_default_bg);
51
+ border-left: solid 6px var(--zdt_tooltip_default_bg);
52
+ border-right: solid 6px transparent;
53
+ border-bottom: solid 6px transparent;
54
+ box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
55
+ z-index: -1;
56
+ }
57
+
58
+ .arrowDown {
59
+ /* Variable:Ignore */
60
+ margin-top: -4px !important;
61
+ /* put important because of '.wms-mainui *' have margin: 0; */
62
+ }
63
+
64
+ .arrowLeft,
65
+ .arrowRight {
66
+ /* Variable:Ignore */
67
+ width: 11px;
68
+ /* Variable:Ignore */
69
+ height: 11px;
70
+ border-top: solid 6px var(--zdt_tooltip_default_bg);
71
+ border-left: solid 6px var(--zdt_tooltip_default_bg);
72
+ border-right: solid 6px transparent;
73
+ border-bottom: solid 6px transparent;
74
+ box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
75
+ z-index: -1;
76
+ }
77
+
78
+ .arrowRight {
79
+ /* Variable:Ignore */
80
+ margin-left: -2px;
81
+ }
82
+
83
+ .arrowLeft {
84
+ /* Variable:Ignore */
85
+ margin-left: 1px;
86
+ }
87
+
88
+ .arrowUp {
89
+ transform: rotate(45deg);
90
+ }
91
+
92
+ .arrowDown {
93
+ transform: rotate(225deg);
94
+ }
95
+
96
+ .arrowLeft {
97
+ transform: rotate(315deg) translateY(-50%);
98
+ }
99
+
100
+ .arrowRight {
101
+ transform: rotate(135deg) translateY(50%);
102
+ }
103
+ @keyframes tooltip-grow {
104
+ from {
105
+ opacity: 0;
106
+ }
107
+
108
+ to {
109
+ opacity: 1;
110
+ }
111
+ }
112
+
113
+ @-webkit-keyframes tooltip-grow {
114
+ from {
115
+ opacity: 0;
116
+ }
117
+
118
+ to {
119
+ opacity: 1;
120
+ }
121
+ }
122
+
123
+ @-moz-keyframes tooltip-grow {
124
+ from {
125
+ opacity: 0;
126
+ }
127
+
128
+ to {
129
+ opacity: 1;
130
+ }
131
+ }
132
+
133
+ @-ms-keyframes tooltip-grow {
134
+ from {
135
+ opacity: 0;
136
+ }
137
+
138
+ to {
139
+ opacity: 1;
140
+ }
144
141
  }
@@ -1,4 +1,4 @@
1
- :root {
2
- --lib_a11y_focusScope_focus_border: var(--zdt_a11y_focusScope_focus_border);
3
- --lib_a11y_focusScope_focus_bg: var(--zdt_listitem_highlight_bg);
1
+ :root {
2
+ --lib_a11y_focusScope_focus_border: var(--zdt_a11y_focusScope_focus_border);
3
+ --lib_a11y_focusScope_focus_bg: var(--zdt_listitem_highlight_bg);
4
4
  }