@zohodesk/components 1.0.0-temp-118 → 1.0.0-temp-119

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 (99) hide show
  1. package/README.md +4 -0
  2. package/assets/Appearance/dark/mode/darkMode.module.css +1 -1
  3. package/assets/Appearance/default/mode/defaultMode.module.css +1 -1
  4. package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +1 -1
  5. package/es/Accordion/Accordion.js +7 -6
  6. package/es/Accordion/AccordionItem.js +6 -6
  7. package/es/Animation/Animation.js +9 -8
  8. package/es/AppContainer/AppContainer.js +7 -6
  9. package/es/Avatar/Avatar.js +9 -9
  10. package/es/AvatarTeam/AvatarTeam.js +8 -7
  11. package/es/Button/Button.js +7 -6
  12. package/es/Buttongroup/Buttongroup.js +15 -12
  13. package/es/Card/Card.js +10 -8
  14. package/es/CheckBox/CheckBox.js +7 -6
  15. package/es/DateTime/DateWidget.js +11 -10
  16. package/es/DropBox/DropBox.js +8 -8
  17. package/es/DropDown/DropDown.js +8 -6
  18. package/es/DropDown/DropDownHeading.js +7 -6
  19. package/es/Heading/Heading.js +7 -6
  20. package/es/Label/Label.js +7 -6
  21. package/es/ListItem/ListContainer.js +7 -6
  22. package/es/ListItem/ListItem.js +7 -6
  23. package/es/ListItem/ListItemWithAvatar.js +6 -6
  24. package/es/ListItem/ListItemWithCheckBox.js +6 -6
  25. package/es/ListItem/ListItemWithIcon.js +7 -6
  26. package/es/ListItem/ListItemWithRadio.js +7 -6
  27. package/es/Modal/Modal.js +9 -8
  28. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -6
  29. package/es/MultiSelect/AdvancedMultiSelect.js +10 -8
  30. package/es/MultiSelect/MultiSelect.js +7 -6
  31. package/es/MultiSelect/MultiSelectWithAvatar.js +10 -8
  32. package/es/PopOver/PopOver.js +8 -8
  33. package/es/Radio/Radio.js +6 -6
  34. package/es/Ribbon/Ribbon.js +14 -12
  35. package/es/RippleEffect/RippleEffect.js +7 -6
  36. package/es/Select/GroupSelect.js +9 -8
  37. package/es/Select/Select.js +11 -10
  38. package/es/Select/SelectWithAvatar.js +10 -8
  39. package/es/Select/SelectWithIcon.js +7 -6
  40. package/es/Stencils/Stencils.js +9 -8
  41. package/es/Switch/Switch.js +7 -6
  42. package/es/Tab/Tab.js +7 -6
  43. package/es/Tag/Tag.js +6 -6
  44. package/es/TextBox/TextBox.js +9 -8
  45. package/es/TextBoxIcon/TextBoxIcon.js +8 -8
  46. package/es/Textarea/Textarea.js +9 -8
  47. package/es/Tooltip/Tooltip.js +9 -8
  48. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -5
  49. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +6 -5
  50. package/es/deprecated/PortalLayer/PortalLayer.js +7 -6
  51. package/es/semantic/Button/Button.js +6 -6
  52. package/lib/Accordion/Accordion.js +7 -6
  53. package/lib/Accordion/AccordionItem.js +6 -6
  54. package/lib/Animation/Animation.js +9 -8
  55. package/lib/AppContainer/AppContainer.js +7 -6
  56. package/lib/Avatar/Avatar.js +9 -9
  57. package/lib/AvatarTeam/AvatarTeam.js +8 -7
  58. package/lib/Button/Button.js +7 -6
  59. package/lib/Buttongroup/Buttongroup.js +15 -12
  60. package/lib/Card/Card.js +9 -8
  61. package/lib/CheckBox/CheckBox.js +7 -6
  62. package/lib/DateTime/DateWidget.js +10 -10
  63. package/lib/DropBox/DropBox.js +8 -8
  64. package/lib/DropDown/DropDown.js +7 -6
  65. package/lib/DropDown/DropDownHeading.js +7 -6
  66. package/lib/Heading/Heading.js +7 -6
  67. package/lib/Label/Label.js +7 -6
  68. package/lib/ListItem/ListContainer.js +7 -8
  69. package/lib/ListItem/ListItem.js +7 -6
  70. package/lib/ListItem/ListItemWithAvatar.js +6 -6
  71. package/lib/ListItem/ListItemWithCheckBox.js +6 -6
  72. package/lib/ListItem/ListItemWithIcon.js +7 -6
  73. package/lib/ListItem/ListItemWithRadio.js +7 -6
  74. package/lib/Modal/Modal.js +9 -8
  75. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -6
  76. package/lib/MultiSelect/AdvancedMultiSelect.js +9 -8
  77. package/lib/MultiSelect/MultiSelect.js +7 -6
  78. package/lib/MultiSelect/MultiSelectWithAvatar.js +9 -8
  79. package/lib/PopOver/PopOver.js +8 -8
  80. package/lib/Radio/Radio.js +6 -6
  81. package/lib/Ribbon/Ribbon.js +14 -12
  82. package/lib/RippleEffect/RippleEffect.js +7 -6
  83. package/lib/Select/GroupSelect.js +9 -10
  84. package/lib/Select/Select.js +11 -12
  85. package/lib/Select/SelectWithAvatar.js +9 -8
  86. package/lib/Select/SelectWithIcon.js +7 -6
  87. package/lib/Stencils/Stencils.js +9 -8
  88. package/lib/Switch/Switch.js +7 -6
  89. package/lib/Tab/Tab.js +7 -6
  90. package/lib/Tag/Tag.js +6 -6
  91. package/lib/TextBox/TextBox.js +9 -8
  92. package/lib/TextBoxIcon/TextBoxIcon.js +8 -8
  93. package/lib/Textarea/Textarea.js +9 -8
  94. package/lib/Tooltip/Tooltip.js +9 -8
  95. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -5
  96. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +6 -5
  97. package/lib/deprecated/PortalLayer/PortalLayer.js +7 -6
  98. package/lib/semantic/Button/Button.js +6 -6
  99. package/package.json +1 -1
package/es/Radio/Radio.js CHANGED
@@ -111,9 +111,9 @@ export default class Radio extends React.Component {
111
111
  }
112
112
  Radio.defaultProps = defaultProps;
113
113
  Radio.propTypes = propTypes;
114
- if (false) {
115
- Radio.docs = {
116
- componentGroup: 'Form Elements',
117
- folderName: 'Style Guide'
118
- };
119
- }
114
+ // if (__DOCS__) {
115
+ // Radio.docs = {
116
+ // componentGroup: 'Form Elements',
117
+ // folderName: 'Style Guide'
118
+ // };
119
+ // }
@@ -31,15 +31,17 @@ export default class Ribbon extends React.Component {
31
31
  }
32
32
  Ribbon.propTypes = propTypes;
33
33
  Ribbon.defaultProps = defaultProps;
34
- if (false) {
35
- Ribbon.docs = {
36
- componentGroup: 'Atom',
37
- folderName: 'Style Guide',
38
- external: true,
39
- description: ' ',
40
- images: [{
41
- view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/Ribbon/v1/Ribbon.png',
42
- psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/Ribbon/v1/Ribbon.psd'
43
- }]
44
- };
45
- }
34
+ // if (__DOCS__) {
35
+ // Ribbon.docs = {
36
+ // componentGroup: 'Atom',
37
+ // folderName: 'Style Guide',
38
+ // external: true,
39
+ // description: ' ',
40
+ // images: [
41
+ // {
42
+ // view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/Ribbon/v1/Ribbon.png',
43
+ // psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/Ribbon/v1/Ribbon.psd'
44
+ // }
45
+ // ]
46
+ // };
47
+ // }
@@ -22,9 +22,10 @@ export default function RippleEffect(props) {
22
22
  }
23
23
  RippleEffect.defaultProps = defaultProps;
24
24
  RippleEffect.propTypes = propTypes;
25
- if (false) {
26
- RippleEffect.docs = {
27
- componentGroup: 'RippleEffect',
28
- folderName: 'Style Guide'
29
- };
30
- }
25
+
26
+ // if (__DOCS__) {
27
+ // RippleEffect.docs = {
28
+ // componentGroup: 'RippleEffect',
29
+ // folderName: 'Style Guide'
30
+ // };
31
+ // }
@@ -742,11 +742,12 @@ GroupSelectComponent.displayName = 'GroupSelect';
742
742
  let GroupSelect = Popup(GroupSelectComponent);
743
743
  GroupSelect.defaultProps = GroupSelectComponent.defaultProps;
744
744
  export default GroupSelect;
745
- if (false) {
746
- GroupSelect.docs = {
747
- componentGroup: 'Form Elements',
748
- folderName: 'Style Guide'
749
- };
750
- // eslint-disable-next-line react/forbid-foreign-prop-types
751
- GroupSelect.propTypes = GroupSelectComponent.propTypes;
752
- }
745
+
746
+ // if (__DOCS__) {
747
+ // GroupSelect.docs = {
748
+ // componentGroup: 'Form Elements',
749
+ // folderName: 'Style Guide'
750
+ // };
751
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
752
+ // GroupSelect.propTypes = GroupSelectComponent.propTypes;
753
+ // }
@@ -893,13 +893,14 @@ SelectComponent.displayName = 'Select';
893
893
  let Select = Popup(SelectComponent);
894
894
  Select.defaultProps = SelectComponent.defaultProps;
895
895
  export default Select;
896
- if (false) {
897
- Select.docs = {
898
- componentGroup: 'Form Elements',
899
- folderName: 'Style Guide',
900
- external: true,
901
- description: ' '
902
- };
903
- // eslint-disable-next-line react/forbid-foreign-prop-types
904
- Select.propTypes = SelectComponent.propTypes;
905
- }
896
+
897
+ // if (__DOCS__) {
898
+ // Select.docs = {
899
+ // componentGroup: 'Form Elements',
900
+ // folderName: 'Style Guide',
901
+ // external: true,
902
+ // description: ' '
903
+ // };
904
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
905
+ // Select.propTypes = SelectComponent.propTypes;
906
+ // }
@@ -313,12 +313,14 @@ SelectWithAvatarComponent.defaultProps = SelectWithAvatar_defaultProps;
313
313
  SelectWithAvatarComponent.displayName = 'SelectWithAvatar';
314
314
  let SelectWithAvatar = Popup(SelectWithAvatarComponent);
315
315
  SelectWithAvatar.defaultProps = SelectWithAvatarComponent.defaultProps;
316
- if (false) {
317
- SelectWithAvatar.docs = {
318
- componentGroup: 'Form Elements',
319
- folderName: 'Style Guide'
320
- };
321
- // eslint-disable-next-line react/forbid-foreign-prop-types
322
- SelectWithAvatar.propTypes = SelectWithAvatarComponent.propTypes;
323
- }
316
+
317
+ // if (__DOCS__) {
318
+ // SelectWithAvatar.docs = {
319
+ // componentGroup: 'Form Elements',
320
+ // folderName: 'Style Guide'
321
+ // };
322
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
323
+ // SelectWithAvatar.propTypes = SelectWithAvatarComponent.propTypes;
324
+ // }
325
+
324
326
  export default SelectWithAvatar;
@@ -476,10 +476,11 @@ class SelectWithIcon extends Component {
476
476
  }
477
477
  SelectWithIcon.propTypes = SelectWithIcon_propTypes;
478
478
  SelectWithIcon.defaultProps = SelectWithIcon_defaultProps;
479
- if (false) {
480
- SelectWithIcon.docs = {
481
- componentGroup: 'Form Elements',
482
- folderName: 'Style Guide'
483
- };
484
- }
479
+
480
+ // if (__DOCS__) {
481
+ // SelectWithIcon.docs = {
482
+ // componentGroup: 'Form Elements',
483
+ // folderName: 'Style Guide'
484
+ // };
485
+ // }
485
486
  export default Popup(SelectWithIcon);
@@ -20,11 +20,12 @@ export default class Stencils extends React.PureComponent {
20
20
  }
21
21
  Stencils.propTypes = propTypes;
22
22
  Stencils.defaultProps = defaultProps;
23
- if (false) {
24
- Stencils.docs = {
25
- componentGroup: 'Atom',
26
- folderName: 'Style Guide',
27
- description: ' ',
28
- external: true
29
- };
30
- }
23
+
24
+ // if (__DOCS__) {
25
+ // Stencils.docs = {
26
+ // componentGroup: 'Atom',
27
+ // folderName: 'Style Guide',
28
+ // description: ' ',
29
+ // external: true
30
+ // };
31
+ // }
@@ -85,9 +85,10 @@ export default class Switch extends React.Component {
85
85
  }
86
86
  Switch.defaultProps = defaultProps;
87
87
  Switch.propTypes = propTypes;
88
- if (false) {
89
- Switch.docs = {
90
- componentGroup: 'Form Elements',
91
- folderName: 'Style Guide'
92
- };
93
- }
88
+
89
+ // if (__DOCS__) {
90
+ // Switch.docs = {
91
+ // componentGroup: 'Form Elements',
92
+ // folderName: 'Style Guide'
93
+ // };
94
+ // }
package/es/Tab/Tab.js CHANGED
@@ -99,9 +99,10 @@ export default function Tab(_ref) {
99
99
  }
100
100
  Tab.defaultProps = Tab_defaultProps;
101
101
  Tab.propTypes = Tab_propTypes;
102
- if (false) {
103
- Tab.docs = {
104
- componentGroup: 'Tab',
105
- folderName: 'Style Guide'
106
- };
107
- }
102
+
103
+ // if (__DOCS__) {
104
+ // Tab.docs = {
105
+ // componentGroup: 'Tab',
106
+ // folderName: 'Style Guide'
107
+ // };
108
+ // }
package/es/Tag/Tag.js CHANGED
@@ -140,9 +140,9 @@ export default class Tag extends PureComponent {
140
140
  }
141
141
  Tag.defaultProps = defaultProps;
142
142
  Tag.propTypes = propTypes;
143
- if (false) {
144
- Tag.docs = {
145
- componentGroup: 'Molecule',
146
- folderName: 'Style Guide'
147
- };
148
- }
143
+ // if (__DOCS__) {
144
+ // Tag.docs = {
145
+ // componentGroup: 'Molecule',
146
+ // folderName: 'Style Guide'
147
+ // };
148
+ // }
@@ -156,11 +156,12 @@ export default class Textbox extends React.PureComponent {
156
156
  }
157
157
  Textbox.defaultProps = defaultProps;
158
158
  Textbox.propTypes = propTypes;
159
- if (false) {
160
- Textbox.docs = {
161
- componentGroup: 'Form Elements',
162
- folderName: 'Style Guide',
163
- external: true,
164
- description: ' '
165
- };
166
- }
159
+
160
+ // if (__DOCS__) {
161
+ // Textbox.docs = {
162
+ // componentGroup: 'Form Elements',
163
+ // folderName: 'Style Guide',
164
+ // external: true,
165
+ // description: ' '
166
+ // };
167
+ // }
@@ -153,11 +153,11 @@ export default class TextBoxIcon extends React.Component {
153
153
  }
154
154
  TextBoxIcon.defaultProps = defaultProps;
155
155
  TextBoxIcon.propTypes = propTypes;
156
- if (false) {
157
- TextBoxIcon.docs = {
158
- componentGroup: 'Form Elements',
159
- folderName: 'Style Guide',
160
- external: true,
161
- description: ' '
162
- };
163
- }
156
+ // if (__DOCS__) {
157
+ // TextBoxIcon.docs = {
158
+ // componentGroup: 'Form Elements',
159
+ // folderName: 'Style Guide',
160
+ // external: true,
161
+ // description: ' '
162
+ // };
163
+ // }
@@ -96,11 +96,12 @@ export default class Textarea extends React.Component {
96
96
  }
97
97
  Textarea.defaultProps = defaultProps;
98
98
  Textarea.propTypes = propTypes;
99
- if (false) {
100
- Textarea.docs = {
101
- componentGroup: 'Form Elements',
102
- folderName: 'Style Guide',
103
- external: true,
104
- description: ' '
105
- };
106
- }
99
+
100
+ // if (__DOCS__) {
101
+ // Textarea.docs = {
102
+ // componentGroup: 'Form Elements',
103
+ // folderName: 'Style Guide',
104
+ // external: true,
105
+ // description: ' '
106
+ // };
107
+ // }
@@ -462,11 +462,12 @@ export default class Tooltip extends React.Component {
462
462
  }
463
463
  Tooltip.propTypes = propTypes;
464
464
  Tooltip.defaultProps = defaultProps;
465
- if (false) {
466
- Tooltip.docs = {
467
- componentGroup: 'Atom',
468
- folderName: 'Style Guide',
469
- description: ' ',
470
- external: true
471
- };
472
- }
465
+
466
+ // if (__DOCS__) {
467
+ // Tooltip.docs = {
468
+ // componentGroup: 'Atom',
469
+ // folderName: 'Style Guide',
470
+ // description: ' ',
471
+ // external: true
472
+ // };
473
+ // }
@@ -69,8 +69,8 @@ export default class VelocityAnimation extends React.Component {
69
69
  VelocityAnimation.defaultProps = defaultProps;
70
70
  VelocityAnimation.propTypes = propTypes;
71
71
  VelocityAnimation.contextType = LibraryContext;
72
- if (false) {
73
- VelocityAnimation.docs = {
74
- componentGroup: 'Animation'
75
- };
76
- }
72
+ // if (__DOCS__) {
73
+ // VelocityAnimation.docs = {
74
+ // componentGroup: 'Animation'
75
+ // };
76
+ // }
@@ -98,8 +98,9 @@ VelocityAnimationGroup.defaultProps = {
98
98
  };
99
99
  VelocityAnimationGroup.propTypes = propTypes;
100
100
  VelocityAnimationGroup.contextType = LibraryContext;
101
- if (false) {
102
- VelocityAnimationGroup.docs = {
103
- componentGroup: 'Animation'
104
- };
105
- }
101
+
102
+ // if (__DOCS__) {
103
+ // VelocityAnimationGroup.docs = {
104
+ // componentGroup: 'Animation'
105
+ // };
106
+ // }
@@ -91,9 +91,10 @@ export default class PortalLayer extends React.Component {
91
91
  }
92
92
  PortalLayer.defaultProps = defaultProps;
93
93
  PortalLayer.propTypes = propTypes;
94
- if (false) {
95
- PortalLayer.docs = {
96
- componentGroup: 'Atom',
97
- folderName: 'Style Guide'
98
- };
99
- }
94
+
95
+ // if (__DOCS__) {
96
+ // PortalLayer.docs = {
97
+ // componentGroup: 'Atom',
98
+ // folderName: 'Style Guide'
99
+ // };
100
+ // }
@@ -50,9 +50,9 @@ export default class Button extends React.Component {
50
50
  }
51
51
  Button.defaultProps = defaultProps;
52
52
  Button.propTypes = propTypes;
53
- if (false) {
54
- Button.docs = {
55
- componentGroup: 'semantic',
56
- folderName: 'DefaultComponents'
57
- };
58
- }
53
+ // if (__DOCS__) {
54
+ // Button.docs = {
55
+ // componentGroup: 'semantic',
56
+ // folderName: 'DefaultComponents'
57
+ // };
58
+ // }
@@ -94,9 +94,10 @@ var Accordion = /*#__PURE__*/function (_React$Component) {
94
94
  exports["default"] = Accordion;
95
95
  Accordion.propTypes = _propTypes.Accordion_propTypes;
96
96
  Accordion.defaultProps = _defaultProps.Accordion_defaultProps;
97
- if (false) {
98
- Accordion.docs = {
99
- componentGroup: 'Animation',
100
- folderName: 'Style Guide'
101
- };
102
- }
97
+
98
+ // if (__DOCS__) {
99
+ // Accordion.docs = {
100
+ // componentGroup: 'Animation',
101
+ // folderName: 'Style Guide'
102
+ // };
103
+ // }
@@ -76,9 +76,9 @@ var AccordionItem = /*#__PURE__*/function (_React$Component) {
76
76
  exports["default"] = AccordionItem;
77
77
  AccordionItem.propTypes = _propTypes.AccordionItem_propTypes;
78
78
  AccordionItem.defaultProps = _defaultProps.AccordionItem_defaultProps;
79
- if (false) {
80
- AccordionItem.docs = {
81
- componentGroup: 'Animation',
82
- folderName: 'Style Guide'
83
- };
84
- }
79
+ // if (__DOCS__) {
80
+ // AccordionItem.docs = {
81
+ // componentGroup: 'Animation',
82
+ // folderName: 'Style Guide'
83
+ // };
84
+ // }
@@ -151,11 +151,12 @@ var Animation = /*#__PURE__*/function (_React$Component) {
151
151
  exports["default"] = Animation;
152
152
  Animation.propTypes = _propTypes.propTypes;
153
153
  Animation.defaultProps = _defaultProps.defaultProps;
154
- if (false) {
155
- Animation.docs = {
156
- componentGroup: 'Animation',
157
- folderName: 'Style Guide',
158
- external: true,
159
- description: ' '
160
- };
161
- }
154
+
155
+ // if (__DOCS__) {
156
+ // Animation.docs = {
157
+ // componentGroup: 'Animation',
158
+ // folderName: 'Style Guide',
159
+ // external: true,
160
+ // description: ' '
161
+ // };
162
+ // }
@@ -149,9 +149,10 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
149
149
  exports["default"] = AppContainer;
150
150
  AppContainer.propTypes = _propTypes.propTypes;
151
151
  AppContainer.defaultProps = _defaultProps.defaultProps;
152
- if (false) {
153
- AppContainer.docs = {
154
- componentGroup: 'Template',
155
- folderName: 'Style Guide'
156
- };
157
- }
152
+
153
+ // if (__DOCS__) {
154
+ // AppContainer.docs = {
155
+ // componentGroup: 'Template',
156
+ // folderName: 'Style Guide'
157
+ // };
158
+ // }
@@ -158,11 +158,11 @@ var Avatar = /*#__PURE__*/function (_React$Component) {
158
158
  initial = initial || this.getInitialByFullName(name);
159
159
  var isInvalidImageList = Avatar.invalidImageURLs.indexOf(src) !== -1;
160
160
  var isValidImageList = Avatar.validImageURLs.indexOf(src) !== -1;
161
- var border = borderOnHover || onClick;
162
- var borderStyle = (!src || src && isInvalidImageList || !isValidImageList) && needBorder ? "".concat(_AvatarModule["default"].border, " ").concat(borderOnActive ? _AvatarModule["default"].borderOnActive : border ? _AvatarModule["default"].borderOnHover : '', " ") : '';
163
161
  var showAvatar = src && !isInvalidImageList;
164
- var showInitial = !showAvatar || showAvatar && !isValidImageList;
162
+ var showInitial = !showAvatar || showAvatar && isInvalidImageList;
165
163
  var showAlternateAvatar = alternateSrc ? showInitial : false;
164
+ var border = borderOnHover || onClick;
165
+ var borderStyle = (!src || !showAvatar || showInitial) && needBorder ? "".concat(_AvatarModule["default"].border, " ").concat(borderOnActive ? _AvatarModule["default"].borderOnActive : border ? _AvatarModule["default"].borderOnHover : '', " ") : '';
166
166
  borderStyle = showAlternateAvatar ? '' : borderStyle;
167
167
  return /*#__PURE__*/_react["default"].createElement("div", _extends({
168
168
  className: "".concat(_AvatarModule["default"].avatar, " ").concat(_AvatarModule["default"][size], " ").concat((0, _AvatarSize["default"])(size), " ").concat(_AvatarModule["default"][shapeStyle], " ").concat(_AvatarModule["default"][palette], " ").concat(textStyle, " ").concat(borderStyle, " ").concat(customClass ? customClass : ''),
@@ -192,9 +192,9 @@ Avatar.defaultProps = _defaultProps.defaultProps;
192
192
  Avatar.propTypes = _propTypes.propTypes;
193
193
  Avatar.invalidImageURLs = [];
194
194
  Avatar.validImageURLs = [];
195
- if (false) {
196
- Avatar.docs = {
197
- componentGroup: 'Avatar Group',
198
- folderName: 'Style Guide'
199
- };
200
- }
195
+ // if (__DOCS__) {
196
+ // Avatar.docs = {
197
+ // componentGroup: 'Avatar Group',
198
+ // folderName: 'Style Guide'
199
+ // };
200
+ // }
@@ -90,10 +90,11 @@ var AvatarTeam = /*#__PURE__*/function (_React$Component) {
90
90
  exports["default"] = AvatarTeam;
91
91
  AvatarTeam.defaultProps = _defaultProps.defaultProps;
92
92
  AvatarTeam.propTypes = _propTypes.propTypes;
93
- if (false) {
94
- AvatarTeam.docs = {
95
- componentGroup: 'Avatar Group',
96
- folderName: 'Style Guide',
97
- external: true
98
- };
99
- }
93
+
94
+ // if (__DOCS__) {
95
+ // AvatarTeam.docs = {
96
+ // componentGroup: 'Avatar Group',
97
+ // folderName: 'Style Guide',
98
+ // external: true
99
+ // };
100
+ // }
@@ -84,9 +84,10 @@ var Button = /*#__PURE__*/function (_React$Component) {
84
84
  exports["default"] = Button;
85
85
  Button.defaultProps = _defaultProps.defaultProps;
86
86
  Button.propTypes = _propTypes.propTypes;
87
- if (false) {
88
- Button.docs = {
89
- componentGroup: 'Form Elements',
90
- folderName: 'Style Guide'
91
- };
92
- }
87
+
88
+ // if (__DOCS__) {
89
+ // Button.docs = {
90
+ // componentGroup: 'Form Elements',
91
+ // folderName: 'Style Guide'
92
+ // };
93
+ // }
@@ -55,15 +55,18 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
55
55
  exports["default"] = Buttongroup;
56
56
  Buttongroup.defaultProps = _defaultProps.defaultProps;
57
57
  Buttongroup.propTypes = _propTypes.propTypes;
58
- if (false) {
59
- Buttongroup.docs = {
60
- componentGroup: 'Molecule',
61
- folderName: 'Style Guide',
62
- external: false,
63
- description: ' ',
64
- images: [{
65
- view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.png',
66
- psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.psd'
67
- }]
68
- };
69
- }
58
+
59
+ // if (__DOCS__) {
60
+ // Buttongroup.docs = {
61
+ // componentGroup: 'Molecule',
62
+ // folderName: 'Style Guide',
63
+ // external: false,
64
+ // description: ' ',
65
+ // images: [
66
+ // {
67
+ // view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.png',
68
+ // psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.psd'
69
+ // }
70
+ // ]
71
+ // };
72
+ // }
package/lib/Card/Card.js CHANGED
@@ -265,14 +265,15 @@ var Card = /*#__PURE__*/function (_Component3) {
265
265
  exports["default"] = Card;
266
266
  Card.propTypes = _propTypes.Card_propTypes;
267
267
  Card.defaultProps = _defaultProps.Card_defaultProps;
268
- if (false) {
269
- Card.docs = {
270
- componentGroup: 'Template',
271
- folderName: 'Style Guide',
272
- external: true,
273
- description: ' '
274
- };
275
- }
268
+
269
+ // if (__DOCS__) {
270
+ // Card.docs = {
271
+ // componentGroup: 'Template',
272
+ // folderName: 'Style Guide',
273
+ // external: true,
274
+ // description: ' '
275
+ // };
276
+ // }
276
277
  var CardFooter = /*#__PURE__*/function (_Component4) {
277
278
  _inherits(CardFooter, _Component4);
278
279
  var _super4 = _createSuper(CardFooter);
@@ -175,9 +175,10 @@ var CheckBox = /*#__PURE__*/function (_React$Component) {
175
175
  exports["default"] = CheckBox;
176
176
  CheckBox.defaultProps = _defaultProps.defaultProps;
177
177
  CheckBox.propTypes = _propTypes.propTypes;
178
- if (false) {
179
- CheckBox.docs = {
180
- componentGroup: 'Form Elements',
181
- folderName: 'Style Guide'
182
- };
183
- }
178
+
179
+ // if (__DOCS__) {
180
+ // CheckBox.docs = {
181
+ // componentGroup: 'Form Elements',
182
+ // folderName: 'Style Guide'
183
+ // };
184
+ // }
@@ -1005,15 +1005,15 @@ var DateWidget = (0, _Popup["default"])(DateWidgetComponent);
1005
1005
  DateWidget.defaultProps = DateWidgetComponent.defaultProps;
1006
1006
 
1007
1007
  // eslint-disable-next-line no-undef
1008
- if (false) {
1009
- DateWidgetComponent.docs = {
1010
- componentGroup: 'Form Elements',
1011
- folderName: 'Style Guide',
1012
- external: true,
1013
- description: ' '
1014
- };
1015
- // eslint-disable-next-line react/forbid-foreign-prop-types
1016
- DateWidget.propTypes = DateWidgetComponent.propTypes;
1017
- }
1008
+ // if (__DOCS__) {
1009
+ // DateWidgetComponent.docs = {
1010
+ // componentGroup: 'Form Elements',
1011
+ // folderName: 'Style Guide',
1012
+ // external: true,
1013
+ // description: ' '
1014
+ // };
1015
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
1016
+ // DateWidget.propTypes = DateWidgetComponent.propTypes;
1017
+ // }
1018
1018
  var _default = DateWidget;
1019
1019
  exports["default"] = _default;