@zohodesk/components 1.0.0-temp-190.2 → 1.0.0-temp-191

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 (248) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/propValidation_report.html +1 -1
  3. package/README.md +12 -5
  4. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +2 -29
  5. package/assets/Appearance/light/mode/Component_LightMode.module.css +2 -29
  6. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +2 -29
  7. package/es/AppContainer/AppContainer.js +10 -9
  8. package/es/AppContainer/AppContainer.module.css +2 -2
  9. package/es/Avatar/Avatar.js +4 -5
  10. package/es/Avatar/Avatar.module.css +22 -52
  11. package/es/AvatarTeam/AvatarTeam.js +7 -7
  12. package/es/AvatarTeam/AvatarTeam.module.css +74 -66
  13. package/es/Button/Button.js +5 -6
  14. package/es/Button/css/Button.module.css +100 -162
  15. package/es/Buttongroup/Buttongroup.module.css +17 -52
  16. package/es/CheckBox/CheckBox.js +18 -8
  17. package/es/CheckBox/CheckBox.module.css +60 -37
  18. package/es/CheckBox/props/propTypes.js +1 -0
  19. package/es/DateTime/DateTime.module.css +57 -86
  20. package/es/DateTime/DateWidget.module.css +7 -11
  21. package/es/DateTime/YearView.module.css +21 -34
  22. package/es/DropBox/DropBox.js +10 -11
  23. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +79 -105
  24. package/es/DropBox/css/DropBox.module.css +6 -24
  25. package/es/DropDown/DropDown.js +2 -1
  26. package/es/DropDown/DropDown.module.css +2 -2
  27. package/es/DropDown/DropDownHeading.module.css +13 -19
  28. package/es/DropDown/DropDownItem.module.css +22 -43
  29. package/es/DropDown/DropDownSearch.module.css +3 -3
  30. package/es/DropDown/DropDownSeparator.module.css +2 -2
  31. package/es/Heading/Heading.module.css +2 -2
  32. package/es/Label/Label.module.css +23 -12
  33. package/es/Label/LabelColors.module.css +7 -1
  34. package/es/Layout/Layout.module.css +15 -15
  35. package/es/ListItem/ListContainer.js +6 -5
  36. package/es/ListItem/ListItem.js +4 -5
  37. package/es/ListItem/ListItem.module.css +87 -90
  38. package/es/ListItem/ListItemWithAvatar.js +4 -5
  39. package/es/ListItem/ListItemWithCheckBox.js +4 -5
  40. package/es/ListItem/ListItemWithIcon.js +4 -5
  41. package/es/ListItem/ListItemWithRadio.js +4 -5
  42. package/es/Modal/Modal.js +4 -5
  43. package/es/MultiSelect/AdvancedMultiSelect.js +8 -9
  44. package/es/MultiSelect/MobileHeader/MobileHeader.module.css +19 -16
  45. package/es/MultiSelect/MultiSelect.module.css +69 -55
  46. package/es/MultiSelect/MultiSelectWithAvatar.js +4 -5
  47. package/es/MultiSelect/SelectedOptions.js +6 -8
  48. package/es/MultiSelect/SelectedOptions.module.css +5 -11
  49. package/es/MultiSelect/Suggestions.js +6 -8
  50. package/es/PopOver/PopOver.module.css +4 -4
  51. package/es/Popup/Popup.js +3 -4
  52. package/es/Radio/Radio.js +25 -6
  53. package/es/Radio/Radio.module.css +40 -23
  54. package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
  55. package/es/Radio/props/defaultProps.js +1 -0
  56. package/es/Radio/props/propTypes.js +7 -0
  57. package/es/ResponsiveDropBox/ResponsiveDropBox.js +2 -4
  58. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  59. package/es/Ribbon/Ribbon.module.css +64 -147
  60. package/es/RippleEffect/RippleEffect.module.css +27 -9
  61. package/es/Select/Select.js +4 -5
  62. package/es/Select/Select.module.css +22 -33
  63. package/es/Stencils/Stencils.module.css +14 -32
  64. package/es/Switch/Switch.js +8 -8
  65. package/es/Switch/Switch.module.css +35 -32
  66. package/es/Tab/Tab.js +4 -5
  67. package/es/Tab/Tab.module.css +39 -28
  68. package/es/Tab/TabContentWrapper.js +4 -5
  69. package/es/Tab/TabWrapper.js +2 -4
  70. package/es/Tab/Tabs.js +16 -16
  71. package/es/Tab/Tabs.module.css +29 -51
  72. package/es/Tag/Tag.module.css +91 -66
  73. package/es/TextBox/TextBox.js +5 -5
  74. package/es/TextBox/TextBox.module.css +20 -36
  75. package/es/TextBoxIcon/TextBoxIcon.js +2 -4
  76. package/es/TextBoxIcon/TextBoxIcon.module.css +6 -18
  77. package/es/Textarea/Textarea.js +4 -6
  78. package/es/Textarea/Textarea.module.css +60 -36
  79. package/es/Tooltip/Tooltip.module.css +13 -12
  80. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -5
  81. package/es/common/animation.module.css +29 -227
  82. package/es/common/avatarsizes.module.css +16 -16
  83. package/es/common/basicReset.module.css +15 -5
  84. package/es/common/common.module.css +36 -82
  85. package/es/common/customscroll.module.css +32 -29
  86. package/es/common/transition.module.css +10 -50
  87. package/es/deprecated/PortalLayer/PortalLayer.js +8 -6
  88. package/es/semantic/Button/semanticButton.module.css +3 -3
  89. package/es/v1/Animation/Animation.js +1 -1
  90. package/es/v1/AppContainer/AppContainer.js +10 -9
  91. package/es/v1/Avatar/Avatar.js +4 -5
  92. package/es/v1/AvatarTeam/AvatarTeam.js +7 -7
  93. package/es/v1/Button/Button.js +5 -6
  94. package/es/v1/Card/Card.js +1 -1
  95. package/es/v1/CheckBox/CheckBox.js +15 -9
  96. package/es/v1/CheckBox/props/propTypes.js +1 -0
  97. package/es/v1/DropBox/DropBox.js +10 -11
  98. package/es/v1/DropBox/utils/isMobilePopover.js +1 -1
  99. package/es/v1/DropDown/DropDown.js +2 -1
  100. package/es/v1/ListItem/ListContainer.js +7 -6
  101. package/es/v1/ListItem/ListItem.js +4 -5
  102. package/es/v1/ListItem/ListItemWithAvatar.js +4 -5
  103. package/es/v1/ListItem/ListItemWithCheckBox.js +4 -5
  104. package/es/v1/ListItem/ListItemWithIcon.js +4 -5
  105. package/es/v1/ListItem/ListItemWithRadio.js +4 -5
  106. package/es/v1/Modal/Modal.js +4 -5
  107. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  108. package/es/v1/MultiSelect/AdvancedMultiSelect.js +9 -10
  109. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +5 -6
  110. package/es/v1/MultiSelect/SelectedOptions.js +6 -8
  111. package/es/v1/MultiSelect/Suggestions.js +6 -8
  112. package/es/v1/MultiSelect/props/defaultProps.js +1 -1
  113. package/es/v1/Popup/Popup.js +3 -4
  114. package/es/v1/Radio/Radio.js +21 -6
  115. package/es/v1/Radio/props/defaultProps.js +1 -0
  116. package/es/v1/Radio/props/propTypes.js +7 -0
  117. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +3 -5
  118. package/es/v1/Select/GroupSelect.js +1 -1
  119. package/es/v1/Select/Select.js +5 -6
  120. package/es/v1/Select/SelectWithAvatar.js +5 -7
  121. package/es/v1/Select/SelectWithIcon.js +1 -1
  122. package/es/v1/Select/props/defaultProps.js +1 -1
  123. package/es/v1/Select/props/propTypes.js +1 -3
  124. package/es/v1/Switch/Switch.js +8 -8
  125. package/es/v1/Tab/Tab.js +4 -5
  126. package/es/v1/Tab/TabContentWrapper.js +4 -5
  127. package/es/v1/Tab/TabWrapper.js +2 -4
  128. package/es/v1/Tab/Tabs.js +18 -18
  129. package/es/v1/Tab/v1Tab.module.css +39 -28
  130. package/es/v1/Tab/v1Tabs.module.css +29 -51
  131. package/es/v1/TextBox/TextBox.js +5 -5
  132. package/es/v1/TextBoxIcon/TextBoxIcon.js +2 -4
  133. package/es/v1/Textarea/Textarea.js +4 -6
  134. package/es/v1/Tooltip/Tooltip.js +1 -1
  135. package/es/v1/Typography/css/Typography.module.css +33 -39
  136. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -5
  137. package/lib/AppContainer/AppContainer.module.css +2 -2
  138. package/lib/Avatar/Avatar.module.css +22 -52
  139. package/lib/AvatarTeam/AvatarTeam.module.css +74 -66
  140. package/lib/Button/css/Button.module.css +100 -162
  141. package/lib/Buttongroup/Buttongroup.module.css +17 -52
  142. package/lib/CheckBox/CheckBox.js +34 -24
  143. package/lib/CheckBox/CheckBox.module.css +60 -37
  144. package/lib/CheckBox/props/propTypes.js +1 -0
  145. package/lib/DateTime/DateTime.module.css +57 -86
  146. package/lib/DateTime/DateWidget.module.css +7 -11
  147. package/lib/DateTime/YearView.module.css +21 -34
  148. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +79 -105
  149. package/lib/DropBox/css/DropBox.module.css +6 -24
  150. package/lib/DropDown/DropDown.module.css +2 -2
  151. package/lib/DropDown/DropDownHeading.module.css +13 -19
  152. package/lib/DropDown/DropDownItem.module.css +22 -43
  153. package/lib/DropDown/DropDownSearch.module.css +3 -3
  154. package/lib/DropDown/DropDownSeparator.module.css +2 -2
  155. package/lib/Heading/Heading.module.css +2 -2
  156. package/lib/Label/Label.module.css +23 -12
  157. package/lib/Label/LabelColors.module.css +7 -1
  158. package/lib/Layout/Layout.module.css +15 -15
  159. package/lib/ListItem/ListItem.module.css +87 -90
  160. package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +19 -16
  161. package/lib/MultiSelect/MultiSelect.module.css +69 -55
  162. package/lib/MultiSelect/SelectedOptions.module.css +5 -11
  163. package/lib/PopOver/PopOver.module.css +4 -4
  164. package/lib/Radio/Radio.js +45 -26
  165. package/lib/Radio/Radio.module.css +40 -23
  166. package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +3 -3
  167. package/lib/Radio/props/defaultProps.js +1 -0
  168. package/lib/Radio/props/propTypes.js +7 -0
  169. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  170. package/lib/Ribbon/Ribbon.module.css +64 -147
  171. package/lib/RippleEffect/RippleEffect.module.css +27 -9
  172. package/lib/Select/Select.module.css +22 -33
  173. package/lib/Stencils/Stencils.module.css +14 -32
  174. package/lib/Switch/Switch.module.css +35 -32
  175. package/lib/Tab/Tab.module.css +39 -28
  176. package/lib/Tab/Tabs.module.css +29 -51
  177. package/lib/Tag/Tag.module.css +91 -66
  178. package/lib/TextBox/TextBox.module.css +20 -36
  179. package/lib/TextBoxIcon/TextBoxIcon.module.css +6 -18
  180. package/lib/Textarea/Textarea.module.css +60 -36
  181. package/lib/Tooltip/Tooltip.module.css +13 -12
  182. package/lib/common/animation.module.css +29 -227
  183. package/lib/common/avatarsizes.module.css +16 -16
  184. package/lib/common/basicReset.module.css +15 -5
  185. package/lib/common/common.module.css +36 -82
  186. package/lib/common/customscroll.module.css +32 -29
  187. package/lib/common/transition.module.css +10 -50
  188. package/lib/semantic/Button/semanticButton.module.css +3 -3
  189. package/lib/v1/Animation/Animation.js +1 -1
  190. package/lib/v1/Card/Card.js +1 -1
  191. package/lib/v1/CheckBox/CheckBox.js +7 -1
  192. package/lib/v1/CheckBox/props/propTypes.js +1 -0
  193. package/lib/v1/DropBox/utils/isMobilePopover.js +1 -1
  194. package/lib/v1/ListItem/ListContainer.js +1 -1
  195. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1 -1
  196. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +1 -1
  197. package/lib/v1/MultiSelect/props/defaultProps.js +1 -1
  198. package/lib/v1/Radio/Radio.js +22 -7
  199. package/lib/v1/Radio/props/defaultProps.js +1 -0
  200. package/lib/v1/Radio/props/propTypes.js +7 -0
  201. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
  202. package/lib/v1/Select/GroupSelect.js +1 -1
  203. package/lib/v1/Select/Select.js +1 -1
  204. package/lib/v1/Select/SelectWithAvatar.js +4 -6
  205. package/lib/v1/Select/SelectWithIcon.js +1 -1
  206. package/lib/v1/Select/props/defaultProps.js +1 -1
  207. package/lib/v1/Select/props/propTypes.js +1 -3
  208. package/lib/v1/Tab/Tabs.js +2 -2
  209. package/lib/v1/Tab/v1Tab.module.css +39 -28
  210. package/lib/v1/Tab/v1Tabs.module.css +29 -51
  211. package/lib/v1/Tooltip/Tooltip.js +1 -1
  212. package/lib/v1/Typography/css/Typography.module.css +33 -39
  213. package/package.json +10 -10
  214. package/es/v1/Provider/AvatarSize.js +0 -13
  215. package/es/v1/Provider/Config.js +0 -18
  216. package/es/v1/Provider/CssProvider.js +0 -16
  217. package/es/v1/Provider/IdProvider.js +0 -66
  218. package/es/v1/Provider/LibraryContext.js +0 -37
  219. package/es/v1/Provider/LibraryContextInit.js +0 -3
  220. package/es/v1/Provider/NumberGenerator/NumberGenerator.js +0 -136
  221. package/es/v1/Provider/ZindexProvider.js +0 -57
  222. package/es/v1/Provider/index.js +0 -4
  223. package/es/v1/Responsive/CustomResponsive.js +0 -195
  224. package/es/v1/Responsive/RefWrapper.js +0 -39
  225. package/es/v1/Responsive/ResizeComponent.js +0 -197
  226. package/es/v1/Responsive/ResizeObserver.js +0 -140
  227. package/es/v1/Responsive/Responsive.js +0 -194
  228. package/es/v1/Responsive/index.js +0 -9
  229. package/es/v1/Responsive/props/defaultProps.js +0 -13
  230. package/es/v1/Responsive/props/propTypes.js +0 -25
  231. package/lib/v1/Provider/AvatarSize.js +0 -24
  232. package/lib/v1/Provider/Config.js +0 -27
  233. package/lib/v1/Provider/CssProvider.js +0 -27
  234. package/lib/v1/Provider/IdProvider.js +0 -79
  235. package/lib/v1/Provider/LibraryContext.js +0 -76
  236. package/lib/v1/Provider/LibraryContextInit.js +0 -15
  237. package/lib/v1/Provider/NumberGenerator/NumberGenerator.js +0 -174
  238. package/lib/v1/Provider/ZindexProvider.js +0 -69
  239. package/lib/v1/Provider/index.js +0 -81
  240. package/lib/v1/Responsive/CustomResponsive.js +0 -242
  241. package/lib/v1/Responsive/RefWrapper.js +0 -57
  242. package/lib/v1/Responsive/ResizeComponent.js +0 -268
  243. package/lib/v1/Responsive/ResizeObserver.js +0 -168
  244. package/lib/v1/Responsive/Responsive.js +0 -274
  245. package/lib/v1/Responsive/index.js +0 -55
  246. package/lib/v1/Responsive/props/defaultProps.js +0 -23
  247. package/lib/v1/Responsive/props/propTypes.js +0 -39
  248. package/result.json +0 -1
@@ -3,13 +3,13 @@
3
3
  /* Variable:Ignore */
4
4
  --button_letter_spacing: 0.2px;
5
5
  --button_cursor: pointer;
6
- --button_font_size: var(--zd_font_size13);
6
+ --button_font_size: 13px;
7
7
  --button_text_color: var(--zdt_button_default_text);
8
8
  --button_font_family: var(--zd_regular);
9
9
  --button_text_transform: capitalize;
10
10
  --button_bg_color: var(--zdt_button_default_bg);
11
11
  --button_border_radius: 4px;
12
- --button_min_width: var(--zd_size90);
12
+ --button_min_width: 90px;
13
13
  --button_height: auto;
14
14
  --button_border_width: 0;
15
15
  --button_border_style: solid;
@@ -19,22 +19,23 @@
19
19
  --button_box_shadow: none;
20
20
 
21
21
  /* button loading status default variables */
22
- --button_loading_bg_color: var(--zdt_button_loading_default_bg);
22
+ --button_loading_bg_color: var(--zdt_base_bg);
23
23
  --button_loading_border_radius: 50%;
24
24
 
25
25
  /* button success status default variable */
26
26
  --button_success_border_color: var(--zdt_button_success_default_border);
27
27
  }
28
+
28
29
  .native {
29
30
  composes: varClass;
30
31
  /* transition: all var(--zd_transition2) ease 0s; */
31
- letter-spacing: var(--button_letter_spacing);
32
- opacity: var(--button_opacity);
33
32
  transition-property: background-color, color, border;
34
33
  transition-duration: var(--zd_transition2);
35
34
  transition-timing-function: ease;
36
35
  border: 0;
36
+ letter-spacing: var(--button_letter_spacing);
37
37
  cursor: var(--button_cursor);
38
+ opacity: var(--button_opacity);
38
39
  }
39
40
 
40
41
  .native:disabled {
@@ -48,20 +49,17 @@
48
49
  composes: dotted from '../../common/common.module.css';
49
50
  position: relative;
50
51
  font-size: var(--button_font_size);
51
- /* css:theme-validation:ignore */
52
52
  color: var(--button_text_color);
53
53
  font-family: var(--button_font_family);
54
54
  text-transform: var(--button_text_transform);
55
- /* css:theme-validation:ignore */
56
- min-width: var(--button_min_width);
57
- /* css:theme-validation:ignore */
58
- height: var(--button_height);
59
55
  background-color: var(--button_bg_color);
60
56
  border-radius: var(--button_border_radius);
57
+ min-width: var(--button_min_width);
61
58
  border-width: var(--button_border_width);
62
59
  border-style: var(--button_border_style);
63
60
  border-color: var(--button_border_color);
64
61
  padding: var(--button_padding);
62
+ height: var(--button_height);
65
63
  box-shadow: var(--button_box_shadow);
66
64
  }
67
65
 
@@ -75,39 +73,39 @@
75
73
  }
76
74
 
77
75
  .small {
78
- --button_padding: var(--zd_size4) var(--zd_size7);
79
- --button_min_width: var(--zd_size50);
80
- --button_font_size: var(--zd_font_size10);
76
+ --button_padding: 4px 7px;
77
+ --button_min_width: 50px;
78
+ --button_font_size: 10px;
81
79
  }
82
80
 
83
81
  .medium {
84
- --button_padding: var(--zd_size6) var(--zd_size15);
82
+ --button_padding: 6px 15px;
85
83
  }
86
84
 
87
85
  .large {
88
- --button_padding: var(--zd_size9) var(--zd_size14);
89
- --button_min_width: var(--zd_size80);
90
- --button_font_size: var(--zd_font_size12);
86
+ --button_padding: 9px 14px;
87
+ --button_min_width: 80px;
88
+ --button_font_size: 12px;
91
89
  }
92
90
 
93
91
  .xlarge {
94
- --button_padding: var(--zd_size12) var(--zd_size25);
95
- --button_min_width: var(--zd_size90);
96
- --button_font_size: var(--zd_font_size13);
92
+ --button_padding: 12px 25px;
93
+ --button_min_width: 90px;
94
+ --button_font_size: 13px;
97
95
  }
98
96
 
99
97
  .mediumBtn {
100
- --button_height: var(--zd_size42);
101
- --button_min_width: var(--zd_size42);
102
- --button_font_size: var(--zd_font_size10);
103
98
  text-align: center;
99
+ --button_height: 42px;
100
+ --button_min_width: 42px;
101
+ --button_font_size: 10px;
104
102
  }
105
103
 
106
104
  .smallBtn {
107
- --button_height: var(--zd_size22);
108
- --button_min_width: var(--zd_size22);
109
- --button_font_size: var(--zd_font_size13);
110
105
  text-align: center;
106
+ --button_height: 22px;
107
+ --button_min_width: 22px;
108
+ --button_font_size: 13px;
111
109
  }
112
110
 
113
111
  .smallBtnprimary,
@@ -135,20 +133,22 @@
135
133
 
136
134
  .plainprimary {
137
135
  --button_text_color: var(--zdt_button_default_text);
138
- --button_padding: var(--zd_size5);
136
+ --button_padding: 5px;
139
137
  --button_min_width: initial;
140
138
  --button_bg_color: var(--zdt_button_default_bg);
141
139
  }
140
+
142
141
  .plainprimary:hover {
143
142
  --button_text_color: var(--zdt_button_plainprimary_hover_text);
144
143
  }
145
144
 
146
145
  .plainsecondary {
147
146
  --button_text_color: var(--zdt_button_secondary_text);
148
- --button_padding: var(--zd_size5);
147
+ --button_padding: 5px;
149
148
  --button_min_width: initial;
150
149
  --button_bg_color: var(--zdt_button_default_bg);
151
150
  }
151
+
152
152
  .plainsecondary:hover {
153
153
  --button_text_color: var(--zdt_button_secondary_hover_text);
154
154
  }
@@ -163,6 +163,7 @@
163
163
  .tertiaryfilled {
164
164
  --button_border_width: 1px;
165
165
  }
166
+
166
167
  .primary:hover {
167
168
  --button_border_color: var(--zdt_button_primary_hover_border);
168
169
  --button_text_color: var(--zdt_button_primary_hover_text);
@@ -173,6 +174,7 @@
173
174
  --button_bg_color: var(--zdt_button_primaryfill_bg);
174
175
  --button_text_color: var(--zdt_button_primaryfill_text);
175
176
  }
177
+
176
178
  .primaryfilled:hover {
177
179
  --button_bg_color: var(--zdt_button_primaryfill_hover_bg);
178
180
  }
@@ -182,6 +184,7 @@
182
184
  --button_bg_color: var(--zdt_button_default_bg);
183
185
  --button_text_color: var(--zdt_button_danger_text);
184
186
  }
187
+
185
188
  .danger:hover {
186
189
  --button_border_color: var(--zdt_button_danger_hover_border);
187
190
  --button_text_color: var(--zdt_button_danger_hover_text);
@@ -192,6 +195,7 @@
192
195
  --button_bg_color: var(--zdt_button_dangerfill_bg);
193
196
  --button_text_color: var(--zdt_button_dangerfill_text);
194
197
  }
198
+
195
199
  .dangerfilled:hover {
196
200
  --button_bg_color: var(--zdt_button_dangerfill_hover_bg);
197
201
  }
@@ -201,6 +205,7 @@
201
205
  --button_bg_color: var(--zdt_button_default_bg);
202
206
  --button_text_color: var(--zdt_button_secondary_text);
203
207
  }
208
+
204
209
  .secondary:hover {
205
210
  --button_border_color: var(--zdt_button_secondary_hover_border);
206
211
  --button_text_color: var(--zdt_button_secondary_hover_text);
@@ -211,6 +216,7 @@
211
216
  --button_bg_color: var(--zdt_button_secondaryfill_bg);
212
217
  --button_text_color: var(--zdt_button_secondary_text);
213
218
  }
219
+
214
220
  .secondaryfilled:hover {
215
221
  --button_text_color: var(--zdt_button_secondary_hover_text);
216
222
  }
@@ -220,6 +226,7 @@
220
226
  --button_bg_color: var(--zdt_button_successfill_bg);
221
227
  --button_text_color: var(--zdt_button_dangerfill_text);
222
228
  }
229
+
223
230
  .successfilled:hover {
224
231
  --button_border_color: var(--zdt_button_successfill_hover_border);
225
232
  --button_bg_color: var(--zdt_button_successfill_hover_bg);
@@ -230,118 +237,85 @@
230
237
  --button_bg_color: var(--zdt_button_tertiaryfill_bg);
231
238
  --button_text_color: var(--zdt_button_dangerfill_text);
232
239
  }
240
+
233
241
  .tertiaryfilled:hover {
234
242
  --button_bg_color: var(--zdt_button_tertiaryfill_hover_bg);
235
243
  }
236
244
 
237
245
  .overlay {
238
246
  position: absolute;
239
- top: 0 ;
240
- bottom: 0 ;
247
+ top: 0;
248
+ left: 0;
249
+ right: 0;
250
+ bottom: 0;
241
251
  background: inherit;
242
252
  border-radius: inherit;
243
253
  }
244
254
 
245
- [dir=ltr] .overlay {
246
- left: 0 ;
247
- right: 0 ;
248
- }
249
-
250
- [dir=rtl] .overlay {
251
- right: 0 ;
252
- left: 0 ;
253
- }
254
-
255
255
  .loading {
256
256
  position: absolute;
257
- top: 50% ;
258
- width: var(--zd_size20) ;
259
- height: var(--zd_size20) ;
260
- }
261
-
262
- [dir=ltr] .loading {
263
- left: 50% ;
257
+ left: 50%;
258
+ top: 50%;
264
259
  transform: translate(-50%, -50%);
265
260
  -moz-transform: translate(-50%, -50%);
266
261
  -webkit-transform: translate(-50%, -50%);
267
- }
268
-
269
- [dir=rtl] .loading {
270
- right: 50% ;
271
- transform: translate(50%, -50%);
272
- -moz-transform: translate(50%, -50%);
273
- -webkit-transform: translate(50%, -50%);
262
+ width: 20px;
263
+ height: 20px;
274
264
  }
275
265
 
276
266
  .loadingelement {
277
- height: inherit ;
278
- width: inherit ;
267
+ animation: crlrotate var(--zd_no_transition8) linear infinite;
268
+ -moz-animation: crlrotate var(--zd_no_transition8) linear infinite;
269
+ -webkit-animation: crlrotate var(--zd_no_transition8) linear infinite;
270
+ border-radius: 50%;
271
+ height: inherit;
272
+ width: inherit;
279
273
  position: relative;
280
274
  display: inline-block;
281
- border-radius: 50%;
282
275
  transform-origin: 50%;
283
276
  }
284
277
 
285
- [dir=ltr] .loadingelement {
286
- animation: crlrotate-ltr var(--zd_no_transition8) linear infinite;
287
- -moz-animation: crlrotate-ltr var(--zd_no_transition8) linear infinite;
288
- -webkit-animation: crlrotate-ltr var(--zd_no_transition8) linear infinite;
289
- }
290
-
291
- [dir=rtl] .loadingelement {
292
- animation: crlrotate-rtl var(--zd_no_transition8) linear infinite;
293
- -moz-animation: crlrotate-rtl var(--zd_no_transition8) linear infinite;
294
- -webkit-animation: crlrotate-rtl var(--zd_no_transition8) linear infinite;
295
- }
296
-
297
278
  .loadingelement:before,
298
279
  .loadingelement:after {
299
280
  content: '';
300
281
  position: absolute;
301
- /* css:theme-validation:ignore */
302
- }
303
-
304
- .loadingelement:before, .loadingelement:after {
305
282
  background-color: var(--button_loading_bg_color);
306
283
  border-radius: var(--button_loading_border_radius);
307
284
  }
308
285
 
309
286
  .smallloading,
310
287
  .mediumloading {
311
- height: var(--zd_size10) ;
312
- width: var(--zd_size10) ;
288
+ height: 10px;
289
+ width: 10px;
313
290
  }
314
291
 
315
292
  .loadingelement:after {
316
- top: var(--zd_size1) ;
317
- bottom: var(--zd_size1) ;
318
- }
319
-
320
- [dir=ltr] .loadingelement:after {
321
- left: var(--zd_size1) ;
322
- right: var(--zd_size1) ;
323
- }
324
-
325
- [dir=rtl] .loadingelement:after {
326
- right: var(--zd_size1) ;
327
- left: var(--zd_size1) ;
293
+ top: 1px;
294
+ bottom: 1px;
295
+ left: 1px;
296
+ right: 1px;
328
297
  }
329
298
 
330
299
  .loadingelement {
331
300
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
332
301
  }
302
+
333
303
  .primaryelement {
334
- --button_loading_bg_color: var(--zdt_button_loading_default_bg);
304
+ --button_loading_bg_color: var(--zdt_base_bg);
335
305
  }
306
+
336
307
  .primaryfilledelement {
337
308
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
338
309
  }
310
+
339
311
  .dangerelement {
340
- --button_loading_bg_color: var(--zdt_button_loading_default_bg);
312
+ --button_loading_bg_color: var(--zdt_base_bg);
341
313
  }
314
+
342
315
  .dangerfilledelement {
343
316
  --button_loading_bg_color: var(--zdt_button_dangerfill_bg);
344
317
  }
318
+
345
319
  .loadingelement:after,
346
320
  .primaryelement:after,
347
321
  .primaryfilledelement:after,
@@ -351,33 +325,25 @@
351
325
  }
352
326
 
353
327
  .loadingelement:before {
354
- top: calc( var(--zd_size1) * -1 ) ;
355
- bottom: calc( var(--zd_size1) * -1 ) ;
356
328
  background: var(--zdt_button_loading_linear_gradient);
357
329
  background-repeat: no-repeat;
358
330
  background-size: 50% 50%;
359
- }
360
-
361
- [dir=ltr] .loadingelement:before {
362
- left: calc( var(--zd_size1) * -1 ) ;
363
- right: calc( var(--zd_size1) * -1 ) ;
364
- }
365
-
366
- [dir=rtl] .loadingelement:before {
367
- right: calc( var(--zd_size1) * -1 ) ;
368
- left: calc( var(--zd_size1) * -1 ) ;
331
+ top: -1px;
332
+ bottom: -1px;
333
+ left: -1px;
334
+ right: -1px;
369
335
  }
370
336
 
371
337
  .primaryelement:before {
372
338
  --button_loading_bg_color: var(--zdt_button_primaryfill_bg);
373
- --zdt_button_loading_linear_gradient:var(--zdt_button_loading_primary_linear_gradient);
374
339
  transform: rotateX(180deg);
340
+ --zdt_button_loading_linear_gradient: var(--zdt_button_loading_primary_linear_gradient);
375
341
  }
376
342
 
377
343
  .dangerelement:before {
378
344
  --button_loading_bg_color: var(--zdt_button_dangerfill_bg);
379
- --zdt_button_loading_linear_gradient:var(--zdt_button_loading_danger_linear_gradient);
380
345
  transform: rotateX(180deg);
346
+ --zdt_button_loading_linear_gradient: var(--zdt_button_loading_danger_linear_gradient);
381
347
  }
382
348
 
383
349
  .primarysuccess {
@@ -392,7 +358,7 @@
392
358
  --button_success_border_color: var(--zdt_button_danger_border);
393
359
  }
394
360
 
395
- @keyframes crlrotate-ltr {
361
+ @keyframes crlrotate {
396
362
  0% {
397
363
  transform: scaleX(-1) rotate(0deg);
398
364
  }
@@ -402,17 +368,7 @@
402
368
  }
403
369
  }
404
370
 
405
- @keyframes crlrotate-rtl {
406
- 0% {
407
- transform: scaleX(-1) rotate(0deg);
408
- }
409
-
410
- 100% {
411
- transform: scaleX(-1) rotate(360deg);
412
- }
413
- }
414
-
415
- @-moz-keyframes crlrotate-ltr {
371
+ @-moz-keyframes crlrotate {
416
372
  0% {
417
373
  -moz-transform: scaleX(-1) rotate(0deg);
418
374
  }
@@ -422,17 +378,7 @@
422
378
  }
423
379
  }
424
380
 
425
- @-moz-keyframes crlrotate-rtl {
426
- 0% {
427
- -moz-transform: scaleX(-1) rotate(0deg);
428
- }
429
-
430
- 100% {
431
- -moz-transform: scaleX(-1) rotate(360deg);
432
- }
433
- }
434
-
435
- @-webkit-keyframes crlrotate-ltr {
381
+ @-webkit-keyframes crlrotate {
436
382
  0% {
437
383
  -webkit-transform: scaleX(-1) rotate(0deg);
438
384
  }
@@ -442,19 +388,11 @@
442
388
  }
443
389
  }
444
390
 
445
- @-webkit-keyframes crlrotate-rtl {
446
- 0% {
447
- -webkit-transform: scaleX(-1) rotate(0deg);
448
- }
449
-
450
- 100% {
451
- -webkit-transform: scaleX(-1) rotate(360deg);
452
- }
453
- }
391
+ /*rtl:begin:ignore*/
454
392
  .success {
455
393
  position: absolute;
456
- top: 50% ;
457
- left: 50% ;
394
+ top: 50%;
395
+ left: 50%;
458
396
  transform: translate(-50%, -50%);
459
397
  -moz-transform: translate(-50%, -50%);
460
398
  -webkit-transform: translate(-50%, -50%);
@@ -462,73 +400,73 @@
462
400
  }
463
401
 
464
402
  .successelement {
465
- height: var(--zd_size15) ;
403
+ height: 15px;
466
404
  position: relative;
467
- top: calc( var(--zd_size2) * -1 ) ;
468
- width: var(--zd_size6) ;
405
+ top: -2px;
406
+ width: 6px;
469
407
  transform: scaleX(-1) rotate(135deg);
470
408
  -moz-transform: scaleX(-1) rotate(135deg);
471
409
  -webkit-transform: scaleX(-1) rotate(135deg);
472
410
  transform-origin: center;
473
411
  border-width: 2px 2px 0 0;
474
412
  border-style: solid;
475
- /* css:theme-validation:ignore */
476
413
  border-color: var(--button_success_border_color);
477
414
  animation: tick var(--zd_no_transition3) ease 0s forwards;
478
415
  }
479
416
 
480
417
  @keyframes tick {
481
418
  0% {
482
- height: 0 ;
483
- width: 0 ;
419
+ height: 0;
420
+ width: 0;
484
421
  }
485
422
 
486
423
  50% {
487
- height: 0 ;
488
- width: var(--zd_size6) ;
424
+ height: 0;
425
+ width: 6px;
489
426
  }
490
427
 
491
428
  100% {
492
- height: var(--zd_size15) ;
493
- width: var(--zd_size6) ;
429
+ height: 15px;
430
+ width: 6px;
494
431
  }
495
432
  }
496
433
 
497
434
  @-moz-keyframes tick {
498
435
  0% {
499
- height: 0 ;
500
- width: 0 ;
436
+ height: 0;
437
+ width: 0;
501
438
  }
502
439
 
503
440
  50% {
504
- height: 0 ;
505
- width: var(--zd_size6) ;
441
+ height: 0;
442
+ width: 6px;
506
443
  }
507
444
 
508
445
  100% {
509
- height: var(--zd_size15) ;
510
- width: var(--zd_size6) ;
446
+ height: 15px;
447
+ width: 6px;
511
448
  }
512
449
  }
513
450
 
514
451
  @-webkit-keyframes tick {
515
452
  0% {
516
- height: 0 ;
517
- width: 0 ;
453
+ height: 0;
454
+ width: 0;
518
455
  }
519
456
 
520
457
  50% {
521
- height: 0 ;
522
- width: var(--zd_size6) ;
458
+ height: 0;
459
+ width: 6px;
523
460
  }
524
461
 
525
462
  100% {
526
- height: var(--zd_size15) ;
527
- width: var(--zd_size6) ;
463
+ height: 15px;
464
+ width: 6px;
528
465
  }
529
466
  }
530
467
 
531
- .loader{
532
- /* css:theme-validation:ignore */
533
- color:var(--dot_mirror)
468
+ /*rtl:end:ignore*/
469
+
470
+ .loader {
471
+ color: var(--dot_mirror)
534
472
  }
@@ -1,6 +1,6 @@
1
1
  .varClass {
2
2
  /* button group default variables */
3
- --buttongroup_bg_color: var(--zdt_buttongroup_default_bg);
3
+ --buttongroup_bg_color: var(--zdt_base_bg);
4
4
  --buttongroup_box_shadow: none;
5
5
  --buttongroup_padding: 0;
6
6
  --buttongroup_border_width: 0;
@@ -11,8 +11,6 @@
11
11
  .buttonGroup {
12
12
  composes: varClass;
13
13
  composes: cboth from '../common/common.module.css';
14
- /* css:theme-validation:ignore */
15
- /* css:theme-validation:ignore */
16
14
  background-color: var(--buttongroup_bg_color);
17
15
  box-shadow: var(--buttongroup_box_shadow);
18
16
  padding: var(--buttongroup_padding);
@@ -22,38 +20,25 @@
22
20
  }
23
21
 
24
22
  .footer {
23
+ --buttongroup_padding: 20px 0 20px 60px
24
+ /*rtl: 20px 60px 20px 0*/
25
+ ;
25
26
  --buttongroup_box_shadow: var(--zd_bs_buttongroup_footer);
26
27
  }
27
28
 
28
- [dir=ltr] .footer {
29
- --buttongroup_padding: var(--zd_size20) 0 var(--zd_size20) var(--zd_size60);
30
- }
31
-
32
- [dir=rtl] .footer {
33
- --buttongroup_padding: var(--zd_size20) 0 var(--zd_size20) var(--zd_size60);
34
- }
35
-
36
29
  .header {
37
- --buttongroup_padding: var(--zd_size12) var(--zd_size20);
30
+ --buttongroup_padding: 12px 20px;
38
31
  --buttongroup_border_width: 0 0 1px 0;
39
32
  }
40
33
 
41
- [dir=ltr] .tab>div button:first-child {
34
+ .tab>div button:first-child {
42
35
  border-radius: 5px 0 0 5px;
43
36
  }
44
37
 
45
- [dir=rtl] .tab>div button:first-child {
46
- border-radius: 0 5px 5px 0;
47
- }
48
-
49
- [dir=ltr] .tab>div button:last-child {
38
+ .tab>div button:last-child {
50
39
  border-radius: 0 5px 5px 0;
51
40
  }
52
41
 
53
- [dir=rtl] .tab>div button:last-child {
54
- border-radius: 5px 0 0 5px;
55
- }
56
-
57
42
  .alignleft {
58
43
  composes: fleft from '../common/common.module.css';
59
44
  }
@@ -66,42 +51,22 @@
66
51
  composes: tcenter from '../common/common.module.css';
67
52
  }
68
53
 
69
- [dir=ltr] .alignleft>button:first-child {
70
- margin-left: 0 ;
71
- }
72
-
73
- [dir=rtl] .alignleft>button:first-child {
74
- margin-right: 0 ;
75
- }
76
-
77
- [dir=ltr] .alignleft>button {
78
- margin-left: var(--zd_size15) ;
79
- }
80
-
81
- [dir=rtl] .alignleft>button {
82
- margin-right: var(--zd_size15) ;
83
- }
84
-
85
- [dir=ltr] .alignright>button:last-child {
86
- margin-right: 0 ;
87
- }
88
-
89
- [dir=rtl] .alignright>button:last-child {
90
- margin-left: 0 ;
54
+ .alignleft>button:first-child {
55
+ margin-left: 0;
91
56
  }
92
57
 
93
- [dir=ltr] .alignright>button {
94
- margin-right: var(--zd_size15) ;
58
+ .alignleft>button {
59
+ margin-left: 15px;
95
60
  }
96
61
 
97
- [dir=rtl] .alignright>button {
98
- margin-left: var(--zd_size15) ;
62
+ .alignright>button:last-child {
63
+ margin-right: 0;
99
64
  }
100
65
 
101
- [dir=ltr] .aligncenter>button {
102
- margin-right: var(--zd_size15) ;
66
+ .alignright>button {
67
+ margin-right: 15px;
103
68
  }
104
69
 
105
- [dir=rtl] .aligncenter>button {
106
- margin-left: var(--zd_size15) ;
70
+ .aligncenter>button {
71
+ margin-right: 15px;
107
72
  }