@zohodesk/components 1.0.0-temp-168 → 1.0.0-temp-169

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 (280) hide show
  1. package/.cli/PropLessFiles.html +1 -1
  2. package/.cli/PropValidationExcludeFilesArray.js +13 -3
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +48 -0
  5. package/assets/Appearance/dark/mode/Component_DarkMode.module.css +1 -0
  6. package/assets/Appearance/light/mode/Component_LightMode.module.css +1 -0
  7. package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +1 -0
  8. package/coverage/Button/Button.js.html +1 -1
  9. package/coverage/Button/css/Button.module.css.html +1 -1
  10. package/coverage/Button/css/cssJSLogic.js.html +1 -1
  11. package/coverage/Button/css/index.html +1 -1
  12. package/coverage/Button/index.html +1 -1
  13. package/coverage/Button/props/defaultProps.js.html +3 -6
  14. package/coverage/Button/props/index.html +1 -1
  15. package/coverage/Button/props/propTypes.js.html +9 -3
  16. package/coverage/Buttongroup/Buttongroup.js.html +1 -1
  17. package/coverage/Buttongroup/Buttongroup.module.css.html +1 -1
  18. package/coverage/Buttongroup/index.html +1 -1
  19. package/coverage/Buttongroup/props/defaultProps.js.html +1 -1
  20. package/coverage/Buttongroup/props/index.html +1 -1
  21. package/coverage/Buttongroup/props/propTypes.js.html +1 -1
  22. package/coverage/coverage-final.json +10 -10
  23. package/coverage/coverage-summary.json +10 -10
  24. package/coverage/index.html +1 -1
  25. package/coverage/utils/dummyFunction.js.html +1 -1
  26. package/coverage/utils/index.html +1 -1
  27. package/es/AppContainer/AppContainer.js +3 -0
  28. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +0 -28
  29. package/es/Button/props/defaultProps.js +1 -2
  30. package/es/Button/props/propTypes.js +3 -1
  31. package/es/DateTime/DateTime.module.css +2 -0
  32. package/es/DateTime/DateWidget.js +2 -1
  33. package/es/DateTime/dateFormatUtils/dayChange.js +2 -1
  34. package/es/DateTime/dateFormatUtils/index.js +1 -1
  35. package/es/DateTime/dateFormatUtils/monthChange.js +2 -1
  36. package/es/DateTime/dateFormatUtils/timeChange.js +4 -4
  37. package/es/DateTime/dateFormatUtils/yearChange.js +2 -1
  38. package/es/DropBox/DropBox.js +10 -10
  39. package/es/DropDown/DropDown.js +1 -7
  40. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -5
  41. package/es/MultiSelect/AdvancedMultiSelect.js +4 -4
  42. package/es/MultiSelect/MobileHeader/MobileHeader.js +50 -0
  43. package/es/MultiSelect/MobileHeader/MobileHeader.module.css +16 -0
  44. package/es/MultiSelect/MobileHeader/props/defaultProps.js +7 -0
  45. package/es/MultiSelect/MobileHeader/props/propTypes.js +7 -0
  46. package/es/MultiSelect/MultiSelect.js +112 -91
  47. package/es/MultiSelect/MultiSelect.module.css +2 -5
  48. package/es/MultiSelect/MultiSelectHeader.js +1 -2
  49. package/es/MultiSelect/MultiSelectWithAvatar.js +15 -112
  50. package/es/MultiSelect/props/defaultProps.js +3 -1
  51. package/es/MultiSelect/props/propTypes.js +9 -57
  52. package/es/Responsive/RefWrapper.js +2 -1
  53. package/es/Select/GroupSelect.js +3 -5
  54. package/es/Select/Select.js +2 -5
  55. package/es/Select/SelectWithAvatar.js +2 -1
  56. package/es/Select/SelectWithIcon.js +5 -2
  57. package/es/TextBox/TextBox.js +3 -3
  58. package/es/TextBox/TextBox.module.css +5 -4
  59. package/es/Textarea/Textarea.module.css +3 -4
  60. package/es/deprecated/PortalLayer/props/propTypes.js +3 -1
  61. package/es/index.js +2 -1
  62. package/es/utils/Common.js +3 -0
  63. package/es/v1/Accordion/Accordion.js +66 -0
  64. package/es/v1/Accordion/AccordionItem.js +57 -0
  65. package/es/v1/Accordion/index.js +2 -0
  66. package/es/v1/Animation/Animation.js +127 -0
  67. package/es/v1/AppContainer/AppContainer.js +137 -0
  68. package/es/v1/Avatar/Avatar.js +139 -0
  69. package/es/v1/AvatarTeam/AvatarTeam.js +70 -0
  70. package/es/v1/Button/Button.js +68 -0
  71. package/es/v1/Buttongroup/Buttongroup.js +31 -0
  72. package/es/v1/Card/Card.js +271 -0
  73. package/es/v1/CheckBox/CheckBox.js +155 -0
  74. package/es/v1/DateTime/CalendarView.js +218 -0
  75. package/es/v1/DateTime/DateTime.js +783 -0
  76. package/es/v1/DateTime/DateTimePopupFooter.js +47 -0
  77. package/es/v1/DateTime/DateTimePopupHeader.js +105 -0
  78. package/es/v1/DateTime/DateWidget.js +1098 -0
  79. package/es/v1/DateTime/DaysRow.js +31 -0
  80. package/es/v1/DateTime/Time.js +166 -0
  81. package/es/v1/DateTime/YearView.js +264 -0
  82. package/es/v1/DateTime/index.js +1 -0
  83. package/es/v1/DropBox/DropBox.js +91 -0
  84. package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +132 -0
  85. package/es/v1/DropDown/DropDown.js +73 -0
  86. package/es/v1/DropDown/DropDownHeading.js +44 -0
  87. package/es/v1/DropDown/DropDownItem.js +76 -0
  88. package/es/v1/DropDown/DropDownSearch.js +63 -0
  89. package/es/v1/DropDown/DropDownSeparator.js +15 -0
  90. package/es/v1/Heading/Heading.js +32 -0
  91. package/es/v1/Label/Label.js +40 -0
  92. package/es/v1/Layout/Box.js +115 -0
  93. package/es/v1/Layout/Container.js +132 -0
  94. package/es/v1/Layout/index.js +2 -0
  95. package/es/v1/ListItem/ListContainer.js +102 -0
  96. package/es/v1/ListItem/ListItem.js +124 -0
  97. package/es/v1/ListItem/ListItemWithAvatar.js +145 -0
  98. package/es/v1/ListItem/ListItemWithCheckBox.js +104 -0
  99. package/es/v1/ListItem/ListItemWithIcon.js +127 -0
  100. package/es/v1/ListItem/ListItemWithRadio.js +105 -0
  101. package/es/v1/ListItem/index.js +6 -0
  102. package/es/v1/Modal/Modal.js +154 -0
  103. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +1079 -0
  104. package/es/v1/MultiSelect/AdvancedMultiSelect.js +568 -0
  105. package/es/v1/MultiSelect/EmptyState.js +64 -0
  106. package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +50 -0
  107. package/es/v1/MultiSelect/MultiSelect.js +1120 -0
  108. package/es/v1/MultiSelect/MultiSelectHeader.js +32 -0
  109. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +216 -0
  110. package/es/v1/MultiSelect/SelectedOptions.js +82 -0
  111. package/es/v1/MultiSelect/Suggestions.js +142 -0
  112. package/es/v1/MultiSelect/index.js +4 -0
  113. package/es/v1/PopOver/PopOver.js +176 -0
  114. package/es/v1/Popup/Popup.js +645 -0
  115. package/es/v1/Radio/Radio.js +115 -0
  116. package/es/v1/Responsive/CustomResponsive.js +195 -0
  117. package/es/v1/Responsive/RefWrapper.js +39 -0
  118. package/es/v1/Responsive/ResizeComponent.js +197 -0
  119. package/es/v1/Responsive/ResizeObserver.js +140 -0
  120. package/es/v1/Responsive/Responsive.js +194 -0
  121. package/es/v1/Responsive/index.js +9 -0
  122. package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +58 -0
  123. package/es/v1/Ribbon/Ribbon.js +33 -0
  124. package/es/v1/RippleEffect/RippleEffect.js +24 -0
  125. package/es/v1/Select/GroupSelect.js +800 -0
  126. package/es/v1/Select/Select.js +966 -0
  127. package/es/v1/Select/SelectWithAvatar.js +344 -0
  128. package/es/v1/Select/SelectWithIcon.js +535 -0
  129. package/es/v1/Select/index.js +4 -0
  130. package/es/v1/Stencils/Stencils.js +26 -0
  131. package/es/v1/Switch/Switch.js +94 -0
  132. package/es/v1/Tab/Tab.js +108 -0
  133. package/es/v1/Tab/TabContent.js +30 -0
  134. package/es/v1/Tab/TabContentWrapper.js +29 -0
  135. package/es/v1/Tab/TabWrapper.js +57 -0
  136. package/es/v1/Tab/Tabs.js +612 -0
  137. package/es/v1/Tab/index.js +5 -0
  138. package/es/v1/Tag/Tag.js +134 -0
  139. package/es/v1/TextBox/TextBox.js +154 -0
  140. package/es/v1/TextBoxIcon/TextBoxIcon.js +158 -0
  141. package/es/v1/Textarea/Textarea.js +102 -0
  142. package/es/v1/Tooltip/Tooltip.js +518 -0
  143. package/es/v1/Typography/Typography.js +38 -0
  144. package/es/v1/Typography/css/Typography.module.css +376 -0
  145. package/es/v1/Typography/css/cssJSLogic.js +46 -0
  146. package/es/v1/Typography/css/letterSpacingMap.js +12 -0
  147. package/es/v1/Typography/props/defaultProps.js +8 -0
  148. package/es/v1/Typography/props/propTypes.js +24 -0
  149. package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +69 -0
  150. package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +100 -0
  151. package/es/v1/semantic/Button/Button.js +53 -0
  152. package/es/v1/semantic/index.js +1 -0
  153. package/lib/AppContainer/AppContainer.js +5 -0
  154. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +0 -28
  155. package/lib/Button/props/defaultProps.js +1 -2
  156. package/lib/Button/props/propTypes.js +3 -1
  157. package/lib/DateTime/DateTime.module.css +2 -0
  158. package/lib/DateTime/DateWidget.js +2 -1
  159. package/lib/DateTime/dateFormatUtils/dayChange.js +3 -1
  160. package/lib/DateTime/dateFormatUtils/index.js +1 -1
  161. package/lib/DateTime/dateFormatUtils/monthChange.js +3 -1
  162. package/lib/DateTime/dateFormatUtils/timeChange.js +3 -3
  163. package/lib/DateTime/dateFormatUtils/yearChange.js +3 -1
  164. package/lib/DropBox/DropBox.js +15 -15
  165. package/lib/DropDown/DropDown.js +1 -6
  166. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -6
  167. package/lib/MultiSelect/AdvancedMultiSelect.js +4 -4
  168. package/lib/MultiSelect/MobileHeader/MobileHeader.js +62 -0
  169. package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +16 -0
  170. package/lib/MultiSelect/MobileHeader/props/defaultProps.js +14 -0
  171. package/lib/MultiSelect/MobileHeader/props/propTypes.js +18 -0
  172. package/lib/MultiSelect/MultiSelect.js +116 -96
  173. package/lib/MultiSelect/MultiSelect.module.css +2 -5
  174. package/lib/MultiSelect/MultiSelectHeader.js +1 -2
  175. package/lib/MultiSelect/MultiSelectWithAvatar.js +18 -113
  176. package/lib/MultiSelect/props/defaultProps.js +3 -1
  177. package/lib/MultiSelect/props/propTypes.js +19 -60
  178. package/lib/Responsive/RefWrapper.js +2 -1
  179. package/lib/Select/GroupSelect.js +2 -2
  180. package/lib/Select/Select.js +1 -2
  181. package/lib/Select/SelectWithAvatar.js +2 -1
  182. package/lib/Select/SelectWithIcon.js +5 -3
  183. package/lib/TextBox/TextBox.js +10 -10
  184. package/lib/TextBox/TextBox.module.css +5 -4
  185. package/lib/Textarea/Textarea.module.css +3 -4
  186. package/lib/deprecated/PortalLayer/props/propTypes.js +3 -1
  187. package/lib/index.js +10 -1
  188. package/lib/utils/Common.js +5 -0
  189. package/lib/v1/Accordion/Accordion.js +98 -0
  190. package/lib/v1/Accordion/AccordionItem.js +68 -0
  191. package/lib/v1/Accordion/index.js +23 -0
  192. package/lib/v1/Animation/Animation.js +143 -0
  193. package/lib/v1/AppContainer/AppContainer.js +209 -0
  194. package/lib/v1/Avatar/Avatar.js +190 -0
  195. package/lib/v1/AvatarTeam/AvatarTeam.js +81 -0
  196. package/lib/v1/Button/Button.js +82 -0
  197. package/lib/v1/Buttongroup/Buttongroup.js +44 -0
  198. package/lib/v1/Card/Card.js +365 -0
  199. package/lib/v1/CheckBox/CheckBox.js +166 -0
  200. package/lib/v1/DateTime/CalendarView.js +285 -0
  201. package/lib/v1/DateTime/DateTime.js +872 -0
  202. package/lib/v1/DateTime/DateTimePopupFooter.js +96 -0
  203. package/lib/v1/DateTime/DateTimePopupHeader.js +166 -0
  204. package/lib/v1/DateTime/DateWidget.js +1125 -0
  205. package/lib/v1/DateTime/DaysRow.js +80 -0
  206. package/lib/v1/DateTime/Time.js +254 -0
  207. package/lib/v1/DateTime/YearView.js +325 -0
  208. package/lib/v1/DateTime/index.js +15 -0
  209. package/lib/v1/DropBox/DropBox.js +119 -0
  210. package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +145 -0
  211. package/lib/v1/DropDown/DropDown.js +170 -0
  212. package/lib/v1/DropDown/DropDownHeading.js +93 -0
  213. package/lib/v1/DropDown/DropDownItem.js +127 -0
  214. package/lib/v1/DropDown/DropDownSearch.js +113 -0
  215. package/lib/v1/DropDown/DropDownSeparator.js +64 -0
  216. package/lib/v1/Heading/Heading.js +49 -0
  217. package/lib/v1/Label/Label.js +51 -0
  218. package/lib/v1/Layout/Box.js +128 -0
  219. package/lib/v1/Layout/Container.js +145 -0
  220. package/lib/v1/Layout/index.js +23 -0
  221. package/lib/v1/ListItem/ListContainer.js +120 -0
  222. package/lib/v1/ListItem/ListItem.js +138 -0
  223. package/lib/v1/ListItem/ListItemWithAvatar.js +162 -0
  224. package/lib/v1/ListItem/ListItemWithCheckBox.js +125 -0
  225. package/lib/v1/ListItem/ListItemWithIcon.js +143 -0
  226. package/lib/v1/ListItem/ListItemWithRadio.js +126 -0
  227. package/lib/v1/ListItem/index.js +55 -0
  228. package/lib/v1/Modal/Modal.js +212 -0
  229. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +1167 -0
  230. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +634 -0
  231. package/lib/v1/MultiSelect/EmptyState.js +112 -0
  232. package/lib/v1/MultiSelect/MobileHeader/MobileHeader.js +62 -0
  233. package/lib/v1/MultiSelect/MultiSelect.js +1201 -0
  234. package/lib/v1/MultiSelect/MultiSelectHeader.js +78 -0
  235. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +270 -0
  236. package/lib/v1/MultiSelect/SelectedOptions.js +126 -0
  237. package/lib/v1/MultiSelect/Suggestions.js +195 -0
  238. package/lib/v1/MultiSelect/index.js +39 -0
  239. package/lib/v1/PopOver/PopOver.js +197 -0
  240. package/lib/v1/Popup/Popup.js +715 -0
  241. package/lib/v1/Radio/Radio.js +126 -0
  242. package/lib/v1/Responsive/CustomResponsive.js +242 -0
  243. package/lib/v1/Responsive/RefWrapper.js +57 -0
  244. package/lib/v1/Responsive/ResizeComponent.js +268 -0
  245. package/lib/v1/Responsive/ResizeObserver.js +168 -0
  246. package/lib/v1/Responsive/Responsive.js +274 -0
  247. package/lib/v1/Responsive/index.js +55 -0
  248. package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +79 -0
  249. package/lib/v1/Ribbon/Ribbon.js +44 -0
  250. package/lib/v1/RippleEffect/RippleEffect.js +39 -0
  251. package/lib/v1/Select/GroupSelect.js +876 -0
  252. package/lib/v1/Select/Select.js +1012 -0
  253. package/lib/v1/Select/SelectWithAvatar.js +394 -0
  254. package/lib/v1/Select/SelectWithIcon.js +597 -0
  255. package/lib/v1/Select/index.js +39 -0
  256. package/lib/v1/Stencils/Stencils.js +43 -0
  257. package/lib/v1/Switch/Switch.js +108 -0
  258. package/lib/v1/Tab/Tab.js +132 -0
  259. package/lib/v1/Tab/TabContent.js +42 -0
  260. package/lib/v1/Tab/TabContentWrapper.js +42 -0
  261. package/lib/v1/Tab/TabWrapper.js +89 -0
  262. package/lib/v1/Tab/Tabs.js +680 -0
  263. package/lib/v1/Tab/index.js +47 -0
  264. package/lib/v1/Tag/Tag.js +154 -0
  265. package/lib/v1/TextBox/TextBox.js +168 -0
  266. package/lib/v1/TextBoxIcon/TextBoxIcon.js +196 -0
  267. package/lib/v1/Textarea/Textarea.js +118 -0
  268. package/lib/v1/Tooltip/Tooltip.js +586 -0
  269. package/lib/v1/Typography/Typography.js +56 -0
  270. package/lib/v1/Typography/css/Typography.module.css +376 -0
  271. package/lib/v1/Typography/css/cssJSLogic.js +41 -0
  272. package/lib/v1/Typography/css/letterSpacingMap.js +20 -0
  273. package/lib/v1/Typography/props/defaultProps.js +15 -0
  274. package/lib/v1/Typography/props/propTypes.js +35 -0
  275. package/lib/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +90 -0
  276. package/lib/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +126 -0
  277. package/lib/v1/semantic/Button/Button.js +63 -0
  278. package/lib/v1/semantic/index.js +15 -0
  279. package/package.json +10 -10
  280. package/result.json +1 -1
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = VelocityAnimationGroup;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _defaultProps = require("../../../VelocityAnimation/VelocityAnimationGroup/props/defaultProps");
13
+
14
+ var _propTypes = require("../../../VelocityAnimation/VelocityAnimationGroup/props/propTypes");
15
+
16
+ var _velocityReact = require("velocity-react");
17
+
18
+ require("velocity-animate/velocity.ui");
19
+
20
+ var _LibraryContextInit = _interopRequireDefault(require("../../../Provider/LibraryContextInit"));
21
+
22
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
+
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
+
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
+
28
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
29
+
30
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
31
+
32
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
+
34
+ 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); }
35
+
36
+ function clearProps(props) {
37
+ var newProps = Object.assign({}, props);
38
+ Object.keys(VelocityAnimationGroup.propTypes).forEach(function (key) {
39
+ delete newProps[key];
40
+ });
41
+ return newProps;
42
+ }
43
+
44
+ function VelocityAnimationGroup(props) {
45
+ var children = props.children,
46
+ enterName = props.enterName,
47
+ exitName = props.exitName,
48
+ enterDuration = props.enterDuration,
49
+ exitDuration = props.exitDuration,
50
+ isActive = props.isActive,
51
+ component = props.component,
52
+ runOnMount = props.runOnMount,
53
+ enterShowStyle = props.enterShowStyle,
54
+ enterHideStyle = props.enterHideStyle,
55
+ exitDelay = props.exitDelay,
56
+ isFlex = props.isFlex,
57
+ enterDelay = props.enterDelay,
58
+ isCustomized = props.isCustomized,
59
+ name = props.name,
60
+ needUIPack = props.needUIPack;
61
+
62
+ var _ref = (0, _react.useContext)(_LibraryContextInit["default"]) || {},
63
+ direction = _ref.direction,
64
+ isReducedMotion = _ref.isReducedMotion;
65
+
66
+ var childProps = clearProps(props);
67
+ var enterAnimationObj = {
68
+ fade: 'transition.fadeIn',
69
+ slideDown: 'slideDown',
70
+ flyDown: {
71
+ translateY: '0%'
72
+ },
73
+ slideRight: {
74
+ translateX: '0%'
75
+ },
76
+ slideLeft: {
77
+ translateX: '0%'
78
+ },
79
+ shrink: 'transition.shrinkIn',
80
+ expand: 'transition.expandIn'
81
+ };
82
+ var exitAnimationObj = {
83
+ fade: 'transition.fadeOut',
84
+ slideDown: 'slideUp',
85
+ flyDown: {
86
+ translateY: '-100%'
87
+ },
88
+ slideRight: {
89
+ translateX: direction == 'rtl' ? '-100%' : '100%'
90
+ },
91
+ slideLeft: {
92
+ translateX: direction == 'rtl' ? '100%' : '-100%'
93
+ },
94
+ shrink: 'transition.shrinkOut',
95
+ expand: 'transition.expandOut'
96
+ };
97
+ var enterAnimation = {
98
+ animation: isCustomized ? enterAnimationObj[name] : needUIPack ? "transition.".concat(enterName, "In") : enterName,
99
+ duration: !isReducedMotion ? enterDuration : 0,
100
+ delay: enterDelay ? enterDelay : 0,
101
+ display: isFlex ? 'flex' : ''
102
+ };
103
+ var exitAnimation = {
104
+ animation: isCustomized ? exitAnimationObj[name] : needUIPack ? "transition.".concat(exitName ? exitName : enterName, "Out") : exitName ? exitName : enterName,
105
+ duration: !isReducedMotion ? exitDuration : 0,
106
+ delay: exitDelay ? exitDelay : 0,
107
+ display: 'none'
108
+ };
109
+ return /*#__PURE__*/_react["default"].createElement(_velocityReact.VelocityTransitionGroup, _extends({
110
+ enter: enterAnimation,
111
+ leave: exitAnimation,
112
+ component: component && component,
113
+ runOnMount: runOnMount,
114
+ enterHideStyle: enterHideStyle,
115
+ enterShowStyle: enterShowStyle
116
+ }, childProps), isActive ? children : null);
117
+ }
118
+
119
+ VelocityAnimationGroup.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.defaultProps), {}, {
120
+ component: _react["default"].Fragment
121
+ });
122
+ VelocityAnimationGroup.propTypes = _propTypes.propTypes; // if (__DOCS__) {
123
+ // VelocityAnimationGroup.docs = {
124
+ // componentGroup: 'Animation'
125
+ // };
126
+ // }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = Button;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _defaultProps = require("../../../semantic/Button/props/defaultProps");
11
+
12
+ var _propTypes = require("../../../semantic/Button/props/propTypes");
13
+
14
+ var _semanticButtonModule = _interopRequireDefault(require("../../../semantic/Button/semanticButton.module.css"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ function Button(props) {
19
+ var value = props.value,
20
+ type = props.type,
21
+ text = props.text,
22
+ title = props.title,
23
+ name = props.name,
24
+ autoFocus = props.autoFocus,
25
+ disabled = props.disabled,
26
+ ref = props.ref,
27
+ dataId = props.dataId,
28
+ onClick = props.onClick,
29
+ children = props.children,
30
+ customClass = props.customClass,
31
+ a11y = props.a11y;
32
+ var ariaLabel = a11y.ariaLabel,
33
+ ariaHaspopup = a11y.ariaHaspopup,
34
+ ariaExpanded = a11y.ariaExpanded,
35
+ ariaControls = a11y.ariaControls,
36
+ ariaLabelledby = a11y.ariaLabelledby;
37
+ return /*#__PURE__*/_react["default"].createElement("button", {
38
+ className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(customClass),
39
+ "aria-label": ariaLabel,
40
+ "aria-haspopup": ariaHaspopup,
41
+ "aria-expanded": ariaExpanded,
42
+ "aria-controls": ariaControls,
43
+ "aria-labelledby": ariaLabelledby,
44
+ type: type,
45
+ value: value,
46
+ name: name,
47
+ autoFocus: autoFocus,
48
+ disabled: disabled,
49
+ ref: ref,
50
+ "data-id": dataId,
51
+ "data-test-id": dataId,
52
+ onClick: onClick,
53
+ "data-title": title
54
+ }, children ? children : text);
55
+ }
56
+
57
+ Button.defaultProps = _defaultProps.defaultProps;
58
+ Button.propTypes = _propTypes.propTypes; // if (__DOCS__) {
59
+ // Button.docs = {
60
+ // componentGroup: 'semantic',
61
+ // folderName: 'DefaultComponents'
62
+ // };
63
+ // }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "SemanticButton", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Button["default"];
10
+ }
11
+ });
12
+
13
+ var _Button = _interopRequireDefault(require("./Button/Button"));
14
+
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-168",
3
+ "version": "1.0.0-temp-169",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -51,7 +51,7 @@
51
51
  "variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
52
52
  "variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
53
53
  "variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
54
- "review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js ./src/ ./.cli ./.cli devMode "
54
+ "review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js ./src/ ./.cli ./.cli "
55
55
  },
56
56
  "devDependencies": {
57
57
  "@testing-library/jest-dom": "^5.11.9",
@@ -59,19 +59,19 @@
59
59
  "@testing-library/react-hooks": "^7.0.2",
60
60
  "@testing-library/user-event": "^13.0.10",
61
61
  "@zohodesk-private/color-variable-preprocessor": "1.0.6",
62
- "@zohodesk-private/react-prop-validator": "0.0.6",
63
62
  "@zohodesk-private/css-variable-migrator": "^1.0.7",
64
- "@zohodesk/a11y": "2.0.0",
65
63
  "@zohodesk-private/node-plugins": "^1.0.0",
64
+ "@zohodesk-private/react-prop-validator": "^0.1.1",
65
+ "@zohodesk/a11y": "2.1.0",
66
66
  "@zohodesk/docstool": "1.0.0-alpha-2",
67
- "@zohodesk/icons": "1.0.0",
67
+ "@zohodesk/hooks": "2.0.1",
68
+ "@zohodesk/icons": "1.0.2",
68
69
  "@zohodesk/svg": "1.1.1",
70
+ "@zohodesk/utils": "1.3.13",
69
71
  "@zohodesk/variables": "1.0.0",
70
72
  "@zohodesk/virtualizer": "1.0.3",
71
73
  "react-sortable-hoc": "^0.8.3",
72
- "velocity-react": "1.4.3",
73
- "@zohodesk/hooks": "2.0.1",
74
- "@zohodesk/utils": "1.3.13"
74
+ "velocity-react": "1.4.3"
75
75
  },
76
76
  "dependencies": {
77
77
  "hoist-non-react-statics": "3.0.1",
@@ -80,7 +80,7 @@
80
80
  "selectn": "1.1.2"
81
81
  },
82
82
  "peerDependencies": {
83
- "@zohodesk/icons": "1.0.0",
83
+ "@zohodesk/icons": "1.0.2",
84
84
  "@zohodesk/variables": "1.0.0",
85
85
  "@zohodesk/svg": "1.1.1",
86
86
  "@zohodesk/virtualizer": "1.0.3",
@@ -88,6 +88,6 @@
88
88
  "react-sortable-hoc": "^0.8.3",
89
89
  "@zohodesk/hooks": "2.0.1",
90
90
  "@zohodesk/utils": "1.3.13",
91
- "@zohodesk/a11y": "1.3.7"
91
+ "@zohodesk/a11y": "2.1.0"
92
92
  }
93
93
  }
package/result.json CHANGED
@@ -1 +1 @@
1
- {"jobDetails":{"isRunByLocal":true,"hostName":"selva-zt91","platForm":"Darwin","branchName":"Selva_Accessibility_Desk_Library"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":2,"endTime":1691651682232,"startTime":1691651677889,"coverageDetail":{"codeCoveragePercentage":98.86,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/selva-zt91/git/Selva_Accessibility_Desk_Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}}]}}}
1
+ {"jobDetails":{"isRunByLocal":true,"hostName":"lakshmi-zt257","platForm":"Darwin","branchName":"LibraryNavigation"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":2,"endTime":1694697554528,"startTime":1694697550604,"coverageDetail":{"codeCoveragePercentage":98.86,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Buttongroup/__tests__/Buttongroup.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the \"buttonPosition\" to - left","rendering the \"buttonPosition\" to - right","rendering the \"buttonPosition\" to - center","Checking the \"customclass\"","rendering the \"type\" - footer","rendering the \"type\" - header","rendering the \"type\" - tab"],"failedCaseList":[]}},{"fileName":"/Users/lakshmi-zt257/Documents/Git/Library/jsapps/dot/components/src/Button/__tests__/Button.spec.js","CaseList":{"passedCaseList":["Should be render with the basic set of default props","Should render palette of buttons - plainPrimary","Should render palette of buttons - plainSecondary","Should render palette of buttons - primary","Should render palette of buttons - primaryFilled","Should render palette of buttons - dangerFilled","Should render palette of buttons - secondary","Should render palette of buttons - secondaryFilled","Should render palette of buttons - successFilled","Should render palette of buttons - info","Should render palette of buttons - tertiaryFilled","Should render Sizes of buttons - small","Should render Sizes of buttons - medium","Should render Sizes of buttons - large","Should render Sizes of buttons - xlarge","Should render Status of buttons - loading","Should render Status of buttons - success","Should render Status of buttons - none","Should render CustomStatusclassname of buttons - loading","Should render CustomStatusclassname of buttons - success","Should be render with the basic set of default props with disabled is true","Should be render with the basic set of default props with isBold is false","Should be render with the basic set of default props with rounded is true","Should be render with the basic set of default props with needAppearance is false","Should be render with the basic set customButtonclass with buttonClass ","Should be render with the basic set customstatusSize props with buttonClass ","Should be render with the basic set customstyle ","Should be render with the customstyle with medium "],"failedCaseList":[]}}]}}}