@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
@@ -5,16 +5,12 @@
5
5
  }
6
6
 
7
7
  .alpha {
8
- height: var(--zd_size35) ;
9
- background-color: var(--zdt_tabs_alpha_bg);
8
+ height: 35px;
9
+ background-color: var(--zdt_base_bg);
10
10
  }
11
11
 
12
- [dir=ltr] .alpha_padding {
13
- padding-left: var(--zd_size15) ;
14
- }
15
-
16
- [dir=rtl] .alpha_padding {
17
- padding-right: var(--zd_size15) ;
12
+ .alpha_padding {
13
+ padding-left: 15px;
18
14
  }
19
15
 
20
16
  .alpha_border {
@@ -27,50 +23,32 @@
27
23
  content: '';
28
24
  position: absolute;
29
25
  z-index: -2;
30
- width: 76% ;
31
- bottom: 0 ;
32
- height: var(--zd_size10) ;
26
+ width: 76%;
27
+ bottom: 0;
28
+ height: 10px;
29
+ left: 12%;
33
30
  border-radius: 100px / 5px;
34
31
  box-shadow: var(--zd_bs_tabs_shadow);
35
32
  }
36
33
 
37
- [dir=ltr] .alpha::after {
38
- left: 12% ;
39
- }
40
-
41
- [dir=rtl] .alpha::after {
42
- right: 12% ;
43
- }
44
-
45
34
  .alpha:before {
46
35
  content: '';
47
36
  position: absolute;
48
37
  z-index: -1;
49
- width: 100% ;
50
- height: 100% ;
51
- top: 0 ;
38
+ width: 100%;
52
39
  background: inherit;
53
- }
54
-
55
- [dir=ltr] .alpha:before {
56
- left: 0 ;
57
- }
58
-
59
- [dir=rtl] .alpha:before {
60
- right: 0 ;
40
+ height: 100%;
41
+ left: 0;
42
+ top: 0;
61
43
  }
62
44
 
63
45
  .beta {
64
- height: var(--zd_size61) ;
65
- background-color: var(--zdt_tabs_alpha_bg);
66
- }
67
-
68
- [dir=ltr] .beta_padding {
69
- padding-left: var(--zd_size13) ;
46
+ height: 61px;
47
+ background-color: var(--zdt_base_bg);
70
48
  }
71
49
 
72
- [dir=rtl] .beta_padding {
73
- padding-right: var(--zd_size13) ;
50
+ .beta_padding {
51
+ padding-left: 13px;
74
52
  }
75
53
 
76
54
  .beta_border {
@@ -78,16 +56,12 @@
78
56
  }
79
57
 
80
58
  .delta {
81
- height: var(--zd_size35) ;
82
- background-color: var(--zdt_tabs_alpha_bg);
59
+ height: 35px;
60
+ background-color: var(--zdt_base_bg);
83
61
  }
84
62
 
85
- [dir=ltr] .delta_padding {
86
- padding-left: var(--zd_size10) ;
87
- }
88
-
89
- [dir=rtl] .delta_padding {
90
- padding-right: var(--zd_size10) ;
63
+ .delta_padding {
64
+ padding-left: 10px;
91
65
  }
92
66
 
93
67
  .delta_border {
@@ -99,12 +73,12 @@
99
73
  }
100
74
 
101
75
  .maxWidth {
102
- max-width: 100% ;
76
+ max-width: 100%;
103
77
  }
104
78
 
105
79
  .highlight {
106
80
  position: absolute;
107
- bottom: 0 ;
81
+ bottom: 0;
108
82
  border-bottom: 1px solid var(--zdt_tabs_highlight_border);
109
83
  }
110
84
 
@@ -118,20 +92,24 @@
118
92
  }
119
93
 
120
94
  .menuBox {
121
- max-height: var(--zd_size220) ;
95
+ max-height: 220px;
122
96
  }
97
+
98
+ /*rtl:begin:ignore*/
123
99
  .bottomRightToLeft,
124
100
  .topRightToLeft,
125
101
  .bottomCenterToLeft {
126
- right: calc(var(--tab_position_gap) * -1);
102
+ right: calc(var(--tab_position_gap) * -1);
127
103
  }
128
104
 
129
105
  .bottomLeftToRight,
130
106
  .topLeftToRight,
131
107
  .bottomCenterToRight {
132
- left: calc(var(--tab_position_gap) * -1);
108
+ left: calc(var(--tab_position_gap) * -1);
133
109
  }
134
110
 
111
+ /*rtl:end:ignore*/
112
+
135
113
  .hidden {
136
114
  visibility: hidden;
137
115
  }
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React, { memo, useRef, useCallback } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -113,7 +111,7 @@ function TextBox(props) {
113
111
 
114
112
  let classList = needAppearance ? `${style.container} ${style[size]} ${style[variant]} ${needBorder ? style.border : ''} ${isDisabled && !needEffect || isReadOnly && !needEffect ? '' : style.effect} ${isFocus ? style.focus : ''}` : `${style.basic}`;
115
113
  value = value === null || value === undefined ? '' : value;
116
- return /*#__PURE__*/React.createElement("input", _extends({
114
+ return /*#__PURE__*/React.createElement("input", {
117
115
  "aria-label": ariaLabel,
118
116
  "aria-invalid": ariaInvalid,
119
117
  "aria-autocomplete": ariaAutocomplete,
@@ -147,8 +145,10 @@ function TextBox(props) {
147
145
  value: value,
148
146
  onScroll: isScrollPrevent ? handlePreventTextBoxScroll : '',
149
147
  onKeyPress: onKeyPress,
150
- onMouseDown: onMouseDown
151
- }, options.current, customProps));
148
+ onMouseDown: onMouseDown,
149
+ ...options.current,
150
+ ...customProps
151
+ });
152
152
  }
153
153
 
154
154
  TextBox.defaultProps = defaultProps;
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React, { useState, useRef, useCallback } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -98,7 +96,7 @@ export default function TextBoxIcon(props) {
98
96
  "data-title": isDisabled ? title : null
99
97
  }, /*#__PURE__*/React.createElement(Box, {
100
98
  flexible: true
101
- }, /*#__PURE__*/React.createElement(TextBox, _extends({}, props, {
99
+ }, /*#__PURE__*/React.createElement(TextBox, { ...props,
102
100
  dataId: dataId,
103
101
  size: size,
104
102
  variant: variant,
@@ -126,7 +124,7 @@ export default function TextBoxIcon(props) {
126
124
  isScrollPrevent: isScrollPrevent,
127
125
  customClass: customTextBox,
128
126
  customProps: TextBoxProps
129
- }))), /*#__PURE__*/React.createElement(Box, {
127
+ })), /*#__PURE__*/React.createElement(Box, {
130
128
  className: `${style.iconContainer} ${customTBoxIcon}`
131
129
  }, /*#__PURE__*/React.createElement(Container, {
132
130
  alignBox: "row"
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React, { useRef } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -72,12 +70,12 @@ export default function Textarea(props) {
72
70
  }
73
71
 
74
72
  let classList = needAppearance ? `${style.container} ${style[size]} ${style[variant]} ${needBorder ? style.needBorder : style.noBorder} ${resize ? style[resizes.current[resize]] : style[resizes.current.none]} ${animated ? `${style[`${size}animated`]}` : ''} ${isDisabled && !needEffect || isReadOnly && !needEffect ? '' : style.effect}` : `${style.basic}`;
75
- return /*#__PURE__*/React.createElement("textarea", _extends({
73
+ return /*#__PURE__*/React.createElement("textarea", {
76
74
  "aria-label": ariaLabel,
77
75
  "aria-labelledby": ariaLabelledby,
78
76
  className: `${customClass} ${isReadOnly && needReadOnlyStyle ? style.readonly : ''} ${classList} ${style[`borderColor_${borderColor}`]}`,
79
- placeholder: placeHolder
80
- }, options.current, {
77
+ placeholder: placeHolder,
78
+ ...options.current,
81
79
  "data-id": dataId,
82
80
  "data-test-id": dataId,
83
81
  maxLength: maxLength,
@@ -89,7 +87,7 @@ export default function Textarea(props) {
89
87
  value: text,
90
88
  id: htmlId,
91
89
  "data-selector-id": dataSelectorId
92
- }));
90
+ });
93
91
  }
94
92
  Textarea.defaultProps = defaultProps;
95
93
  Textarea.propTypes = propTypes; // if (__DOCS__) {
@@ -3,7 +3,7 @@ import { defaultProps } from './props/defaultProps';
3
3
  import { propTypes } from './props/propTypes';
4
4
  import { getLibraryConfig } from '../../Provider/Config';
5
5
  import style from '../../Tooltip/Tooltip.module.css';
6
- import ResizeObserver from '../Responsive/ResizeObserver';
6
+ import ResizeObserver from '../../Responsive/ResizeObserver';
7
7
  import selectn from 'selectn';
8
8
  export default class Tooltip extends React.Component {
9
9
  constructor(props) {
@@ -1,7 +1,7 @@
1
1
  .reset {
2
2
  font-weight: initial;
3
- margin: initial ;
4
- padding: initial ;
3
+ margin: initial;
4
+ padding: initial;
5
5
  }
6
6
  .dotted{
7
7
  composes: dotted from '../../../common/common.module.css';
@@ -50,18 +50,12 @@
50
50
  .decoration_overline{
51
51
  text-decoration: overline;
52
52
  }
53
- [dir=ltr] .textalign_left{
53
+ .textalign_left{
54
54
  text-align: left;
55
55
  }
56
- [dir=rtl] .textalign_left{
56
+ .textalign_right{
57
57
  text-align: right;
58
58
  }
59
- [dir=ltr] .textalign_right{
60
- text-align: right;
61
- }
62
- [dir=rtl] .textalign_right{
63
- text-align: left;
64
- }
65
59
  .textalign_center{
66
60
  text-align: center;
67
61
  }
@@ -144,91 +138,91 @@
144
138
  /*...............Font Size Start.........*/
145
139
 
146
140
  .size7{
147
- font-size: var(--zd_font_size7) ;
141
+ font-size: 7px;
148
142
  }
149
143
  .size8{
150
- font-size: var(--zd_font_size8) ;
144
+ font-size: 8px;
151
145
  }
152
146
  .size9{
153
- font-size: var(--zd_font_size9) ;
147
+ font-size: 9px;
154
148
  }
155
149
  .size10{
156
- font-size: var(--zd_font_size10) ;
150
+ font-size: 10px;
157
151
  }
158
152
  .size11{
159
- font-size: var(--zd_font_size11) ;
153
+ font-size: 11px;
160
154
  }
161
155
  .size12{
162
- font-size: var(--zd_font_size12) ;
156
+ font-size: 12px;
163
157
  }
164
158
  .size13{
165
- font-size: var(--zd_font_size13) ;
159
+ font-size: 13px;
166
160
  }
167
161
  .size14{
168
- font-size: var(--zd_font_size14) ;
162
+ font-size: 14px;
169
163
  }
170
164
  .size15{
171
- font-size: var(--zd_font_size15) ;
165
+ font-size: 15px;
172
166
  }
173
167
  .size16{
174
- font-size: var(--zd_font_size16) ;
168
+ font-size: 16px;
175
169
  }
176
170
  .size17{
177
- font-size: var(--zd_font_size17) ;
171
+ font-size: 17px;
178
172
  }
179
173
  .size18{
180
- font-size: var(--zd_font_size18) ;
174
+ font-size: 18px;
181
175
  }
182
176
  .size19{
183
- font-size: var(--zd_font_size19) ;
177
+ font-size: 19px;
184
178
  }
185
179
  .size20{
186
- font-size: var(--zd_font_size20) ;
180
+ font-size: 20px;
187
181
  }
188
182
  .size21{
189
- font-size: var(--zd_font_size21) ;
183
+ font-size: 21px;
190
184
  }
191
185
  .size22{
192
- font-size: var(--zd_font_size22) ;
186
+ font-size: 22px;
193
187
  }
194
188
  .size24{
195
- font-size: var(--zd_font_size24) ;
189
+ font-size: 24px;
196
190
  }
197
191
  .size25{
198
- font-size: var(--zd_font_size25) ;
192
+ font-size: 25px;
199
193
  }
200
194
  .size26{
201
- font-size: var(--zd_font_size26) ;
195
+ font-size: 26px;
202
196
  }
203
197
  .size28{
204
- font-size: var(--zd_font_size28) ;
198
+ font-size: 28px;
205
199
  }
206
200
  .size29{
207
- font-size: var(--zd_font_size29) ;
201
+ font-size: 29px;
208
202
  }
209
203
  .size30{
210
- font-size: var(--zd_font_size30) ;
204
+ font-size: 30px;
211
205
  }
212
206
  .size32{
213
- font-size: var(--zd_font_size32) ;
207
+ font-size: 32px;
214
208
  }
215
209
  .size34{
216
- font-size: var(--zd_font_size34) ;
210
+ font-size: 34px;
217
211
  }
218
212
  .size35{
219
- font-size: var(--zd_font_size35) ;
213
+ font-size: 35px;
220
214
  }
221
215
  .size36{
222
- font-size: var(--zd_font_size36) ;
216
+ font-size: 36px;
223
217
  }
224
218
  .size40{
225
- font-size: var(--zd_font_size40) ;
219
+ font-size: 40px;
226
220
  }
227
221
  .size50{
228
- font-size: var(--zd_font_size50) ;
222
+ font-size: 50px;
229
223
  }
230
224
  .sizeinherit{
231
- font-size: inherit ;
225
+ font-size: inherit;
232
226
  }
233
227
 
234
228
  /*...............Font Size End.........*/
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React, { useContext } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -81,14 +79,15 @@ export default function VelocityAnimationGroup(props) {
81
79
  delay: exitDelay ? exitDelay : 0,
82
80
  display: 'none'
83
81
  };
84
- return /*#__PURE__*/React.createElement(VelocityTransitionGroup, _extends({
82
+ return /*#__PURE__*/React.createElement(VelocityTransitionGroup, {
85
83
  enter: enterAnimation,
86
84
  leave: exitAnimation,
87
85
  component: component && component,
88
86
  runOnMount: runOnMount,
89
87
  enterHideStyle: enterHideStyle,
90
- enterShowStyle: enterShowStyle
91
- }, childProps), isActive ? children : null);
88
+ enterShowStyle: enterShowStyle,
89
+ ...childProps
90
+ }, isActive ? children : null);
92
91
  }
93
92
  VelocityAnimationGroup.defaultProps = { ...defaultProps,
94
93
  component: React.Fragment
@@ -12,7 +12,7 @@
12
12
  font-family: var(--zd_regular);
13
13
  }
14
14
  .tooltip {
15
- height: 0 ;
16
- font-size: 0 ;
15
+ height: 0;
16
+ font-size: 0;
17
17
  /* contain:strict */
18
18
  }
@@ -1,8 +1,8 @@
1
1
  .varClass {
2
2
  /* avatar default variables */
3
- --avatar_text_color: var(--zdt_avatar_default_text);
4
- --avatar_font_size: var(--zd_font_size14);
5
- --avatar_bg_color: var(--zdt_avatar_default_bg);
3
+ --avatar_text_color: var(--zdt_base_color);
4
+ --avatar_font_size: 14px;
5
+ --avatar_bg_color: var(--zdt_base_bg);
6
6
  --avatar_border_radius: 50%;
7
7
  --avatar_border_width: 0;
8
8
  --avatar_border_style: solid;
@@ -18,52 +18,35 @@
18
18
  composes: dInflex alignVertical alignHorizontal from '../common/common.module.css';
19
19
  vertical-align: middle;
20
20
  font-size: var(--avatar_font_size);
21
- /* css:theme-validation:ignore */
22
- color: var(--avatar_text_color);
23
21
  border-width: var(--avatar_border_width);
24
22
  border-style: var(--avatar_border_style);
23
+ color: var(--avatar_text_color);
25
24
  }
26
25
 
27
26
  .border {
28
- /* css:theme-validation:ignore */
29
27
  border-color: var(--avatar_border_color);
30
28
  }
31
29
 
32
30
  .borderOnHover:hover,
33
31
  .borderOnActive {
34
- /* css:theme-validation:ignore */
35
- }
36
-
37
- .borderOnHover:hover, .borderOnActive {
38
32
  border-color: var(--avatar_border_hoverColor);
39
33
  }
40
34
 
41
35
  .avatar,
42
36
  .primary {
43
- /* css:theme-validation:ignore */
44
- }
45
-
46
- .avatar, .primary {
47
37
  background-color: var(--avatar_bg_color);
48
38
  }
49
39
 
50
40
  .shadow {
51
41
  position: absolute;
52
- height: 100% ;
53
- width: 100% ;
54
- top: 0 ;
42
+ height: 100%;
43
+ width: 100%;
44
+ top: 0;
45
+ left: 0;
55
46
  pointer-events: none;
56
47
  border-radius: var(--avatar_border_radius);
57
48
  }
58
49
 
59
- [dir=ltr] .shadow {
60
- left: 0 ;
61
- }
62
-
63
- [dir=rtl] .shadow {
64
- right: 0 ;
65
- }
66
-
67
50
  .shadow.black {
68
51
  box-shadow: var(--zd_bs_avatar_black);
69
52
  }
@@ -72,7 +55,8 @@
72
55
  box-shadow: var(--zd_bs_avatar_white);
73
56
  }
74
57
 
75
- .avatar, .circle {
58
+ .avatar,
59
+ .circle {
76
60
  border-radius: var(--avatar_border_radius);
77
61
  }
78
62
 
@@ -81,31 +65,17 @@
81
65
  }
82
66
 
83
67
  .image {
84
- width: 100% ;
85
- height: 100% ;
68
+ border-radius: var(--avatar_border_radius);
69
+ width: 100%;
70
+ height: 100%;
86
71
  position: absolute;
87
- top: 0 ;
72
+ top: 0;
73
+ left: 0;
88
74
  z-index: 0;
89
- border-radius: var(--avatar_border_radius);
90
- }
91
-
92
- [dir=ltr] .image {
93
- left: 0 ;
94
- }
95
-
96
- [dir=rtl] .image {
97
- right: 0 ;
98
75
  }
99
76
 
100
77
  .animate {
101
78
  composes: fadeIn modeForward from './../common/animation.module.css';
102
- }
103
-
104
- [dir=ltr] .animate {
105
- animation-duration: var(--zd_transition2);
106
- }
107
-
108
- [dir=rtl] .animate {
109
79
  animation-duration: var(--zd_transition2);
110
80
  }
111
81
 
@@ -153,31 +123,31 @@
153
123
  }
154
124
 
155
125
  .xxsmall {
156
- --avatar_font_size: var(--zd_font_size8);
126
+ --avatar_font_size: 8px;
157
127
  }
158
128
 
159
129
  .small {
160
- --avatar_font_size: var(--zd_font_size9);
130
+ --avatar_font_size: 9px;
161
131
  }
162
132
 
163
133
  .xsmall {
164
- --avatar_font_size: var(--zd_font_size12);
134
+ --avatar_font_size: 12px;
165
135
  }
166
136
 
167
137
  .medium {
168
- --avatar_font_size: var(--zd_font_size14);
138
+ --avatar_font_size: 14px;
169
139
  }
170
140
 
171
141
  .xmedium {
172
- --avatar_font_size: var(--zd_font_size14);
142
+ --avatar_font_size: 14px;
173
143
  }
174
144
 
175
145
  .large {
176
- --avatar_font_size: var(--zd_font_size18);
146
+ --avatar_font_size: 18px;
177
147
  }
178
148
 
179
149
  .xlarge {
180
- --avatar_font_size: var(--zd_font_size28);
150
+ --avatar_font_size: 28px;
181
151
  }
182
152
 
183
153
  .white {