@zohodesk/components 1.0.0-alpha-256 → 1.0.0-alpha-257

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 (103) hide show
  1. package/README.md +6 -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 +17 -12
  16. package/es/DateTime/props/propTypes.js +3 -1
  17. package/es/DropBox/DropBox.js +8 -8
  18. package/es/DropDown/DropDown.js +8 -6
  19. package/es/DropDown/DropDownHeading.js +7 -6
  20. package/es/Heading/Heading.js +7 -6
  21. package/es/Label/Label.js +7 -6
  22. package/es/ListItem/ListContainer.js +7 -6
  23. package/es/ListItem/ListItem.js +7 -6
  24. package/es/ListItem/ListItemWithAvatar.js +6 -6
  25. package/es/ListItem/ListItemWithCheckBox.js +6 -6
  26. package/es/ListItem/ListItemWithIcon.js +7 -6
  27. package/es/ListItem/ListItemWithRadio.js +7 -6
  28. package/es/Modal/Modal.js +9 -8
  29. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -6
  30. package/es/MultiSelect/AdvancedMultiSelect.js +10 -8
  31. package/es/MultiSelect/MultiSelect.js +7 -6
  32. package/es/MultiSelect/MultiSelectWithAvatar.js +10 -8
  33. package/es/PopOver/PopOver.js +8 -8
  34. package/es/Radio/Radio.js +6 -6
  35. package/es/Ribbon/Ribbon.js +14 -12
  36. package/es/RippleEffect/RippleEffect.js +7 -6
  37. package/es/Select/GroupSelect.js +9 -8
  38. package/es/Select/Select.js +11 -10
  39. package/es/Select/SelectWithAvatar.js +10 -8
  40. package/es/Select/SelectWithIcon.js +7 -6
  41. package/es/Stencils/Stencils.js +9 -8
  42. package/es/Switch/Switch.js +7 -6
  43. package/es/Tab/Tab.js +7 -6
  44. package/es/Tag/Tag.js +6 -6
  45. package/es/TextBox/TextBox.js +9 -8
  46. package/es/TextBoxIcon/TextBoxIcon.js +8 -8
  47. package/es/Textarea/Textarea.js +9 -8
  48. package/es/Tooltip/Tooltip.js +9 -8
  49. package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -5
  50. package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +6 -5
  51. package/es/deprecated/PortalLayer/PortalLayer.js +7 -6
  52. package/es/semantic/Button/Button.js +6 -6
  53. package/install.md +10 -0
  54. package/lib/Accordion/Accordion.js +7 -6
  55. package/lib/Accordion/AccordionItem.js +6 -6
  56. package/lib/Animation/Animation.js +9 -8
  57. package/lib/AppContainer/AppContainer.js +7 -6
  58. package/lib/Avatar/Avatar.js +9 -9
  59. package/lib/AvatarTeam/AvatarTeam.js +8 -7
  60. package/lib/Button/Button.js +7 -6
  61. package/lib/Buttongroup/Buttongroup.js +15 -12
  62. package/lib/Card/Card.js +9 -8
  63. package/lib/CheckBox/CheckBox.js +7 -6
  64. package/lib/DateTime/DateWidget.js +16 -12
  65. package/lib/DateTime/props/propTypes.js +3 -1
  66. package/lib/DropBox/DropBox.js +8 -8
  67. package/lib/DropDown/DropDown.js +7 -6
  68. package/lib/DropDown/DropDownHeading.js +7 -6
  69. package/lib/Heading/Heading.js +7 -6
  70. package/lib/Label/Label.js +7 -6
  71. package/lib/ListItem/ListContainer.js +7 -8
  72. package/lib/ListItem/ListItem.js +7 -6
  73. package/lib/ListItem/ListItemWithAvatar.js +6 -6
  74. package/lib/ListItem/ListItemWithCheckBox.js +6 -6
  75. package/lib/ListItem/ListItemWithIcon.js +7 -6
  76. package/lib/ListItem/ListItemWithRadio.js +7 -6
  77. package/lib/Modal/Modal.js +9 -8
  78. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -6
  79. package/lib/MultiSelect/AdvancedMultiSelect.js +9 -8
  80. package/lib/MultiSelect/MultiSelect.js +7 -6
  81. package/lib/MultiSelect/MultiSelectWithAvatar.js +9 -8
  82. package/lib/PopOver/PopOver.js +8 -8
  83. package/lib/Radio/Radio.js +6 -6
  84. package/lib/Ribbon/Ribbon.js +14 -12
  85. package/lib/RippleEffect/RippleEffect.js +7 -6
  86. package/lib/Select/GroupSelect.js +9 -10
  87. package/lib/Select/Select.js +11 -12
  88. package/lib/Select/SelectWithAvatar.js +9 -8
  89. package/lib/Select/SelectWithIcon.js +7 -6
  90. package/lib/Stencils/Stencils.js +9 -8
  91. package/lib/Switch/Switch.js +7 -6
  92. package/lib/Tab/Tab.js +7 -6
  93. package/lib/Tag/Tag.js +6 -6
  94. package/lib/TextBox/TextBox.js +9 -8
  95. package/lib/TextBoxIcon/TextBoxIcon.js +8 -8
  96. package/lib/Textarea/Textarea.js +9 -8
  97. package/lib/Tooltip/Tooltip.js +9 -8
  98. package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -5
  99. package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +6 -5
  100. package/lib/deprecated/PortalLayer/PortalLayer.js +7 -6
  101. package/lib/semantic/Button/Button.js +6 -6
  102. package/package.json +9 -4
  103. package/css_error.log +0 -0
package/README.md CHANGED
@@ -32,6 +32,12 @@ In this Package, we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.0.0-alpha-257
36
+
37
+ - **Avatar** - Avatar initial render issue and image border issue solved
38
+
39
+ - **DateWidget** - `boxSize` and `onError` prop has been added.
40
+
35
41
  # 1.0.0-alpha-256
36
42
 
37
43
  - **Button** - Safari browser focus issue fix and `customProps` validation.
@@ -23,7 +23,7 @@
23
23
  --zdt_avatar_info_bg: var(--dot_mirror);
24
24
 
25
25
  /* avatar team */
26
- --zdt_avatarteam_default_bg: var(--dot_mirror);
26
+ --zdt_avatarteam_default_bg: var(--dot_ebonyclay);
27
27
  --zdt_avatarteam_default_border: var(--dot_mirror);
28
28
  --zdt_avatarteam_primary_bg: var(--zdt_cta_grey_40_bg);
29
29
  --zdt_avatarteam_primary_hover_bg: var(--dot_oslogrey);
@@ -23,7 +23,7 @@
23
23
  --zdt_avatar_info_bg: var(--dot_mirror);
24
24
 
25
25
  /* avatar team */
26
- --zdt_avatarteam_default_bg: var(--dot_mirror);
26
+ --zdt_avatarteam_default_bg: var(--dot_white);
27
27
  --zdt_avatarteam_default_border: var(--dot_mirror);
28
28
  --zdt_avatarteam_primary_bg: var(--zdt_cta_grey_40_bg);
29
29
  --zdt_avatarteam_primary_hover_bg: var(--dot_slateGrey);
@@ -23,7 +23,7 @@
23
23
  --zdt_avatar_info_bg: var(--dot_mirror);
24
24
 
25
25
  /* avatar team */
26
- --zdt_avatarteam_default_bg: var(--dot_mirror);
26
+ --zdt_avatarteam_default_bg: #212121;
27
27
  --zdt_avatarteam_default_border: var(--dot_mirror);
28
28
  --zdt_avatarteam_primary_bg: var(--zdt_cta_grey_40_bg);
29
29
  --zdt_avatarteam_primary_hover_bg: var(--dot_oslogrey);
@@ -67,9 +67,10 @@ export default class Accordion extends React.Component {
67
67
  }
68
68
  Accordion.propTypes = Accordion_propTypes;
69
69
  Accordion.defaultProps = Accordion_defaultProps;
70
- if (false) {
71
- Accordion.docs = {
72
- componentGroup: 'Animation',
73
- folderName: 'Style Guide'
74
- };
75
- }
70
+
71
+ // if (__DOCS__) {
72
+ // Accordion.docs = {
73
+ // componentGroup: 'Animation',
74
+ // folderName: 'Style Guide'
75
+ // };
76
+ // }
@@ -50,9 +50,9 @@ export default class AccordionItem extends React.Component {
50
50
  }
51
51
  AccordionItem.propTypes = AccordionItem_propTypes;
52
52
  AccordionItem.defaultProps = AccordionItem_defaultProps;
53
- if (false) {
54
- AccordionItem.docs = {
55
- componentGroup: 'Animation',
56
- folderName: 'Style Guide'
57
- };
58
- }
53
+ // if (__DOCS__) {
54
+ // AccordionItem.docs = {
55
+ // componentGroup: 'Animation',
56
+ // folderName: 'Style Guide'
57
+ // };
58
+ // }
@@ -123,11 +123,12 @@ export default class Animation extends React.Component {
123
123
  }
124
124
  Animation.propTypes = propTypes;
125
125
  Animation.defaultProps = defaultProps;
126
- if (false) {
127
- Animation.docs = {
128
- componentGroup: 'Animation',
129
- folderName: 'Style Guide',
130
- external: true,
131
- description: ' '
132
- };
133
- }
126
+
127
+ // if (__DOCS__) {
128
+ // Animation.docs = {
129
+ // componentGroup: 'Animation',
130
+ // folderName: 'Style Guide',
131
+ // external: true,
132
+ // description: ' '
133
+ // };
134
+ // }
@@ -104,9 +104,10 @@ export default class AppContainer extends React.Component {
104
104
  }
105
105
  AppContainer.propTypes = propTypes;
106
106
  AppContainer.defaultProps = defaultProps;
107
- if (false) {
108
- AppContainer.docs = {
109
- componentGroup: 'Template',
110
- folderName: 'Style Guide'
111
- };
112
- }
107
+
108
+ // if (__DOCS__) {
109
+ // AppContainer.docs = {
110
+ // componentGroup: 'Template',
111
+ // folderName: 'Style Guide'
112
+ // };
113
+ // }
@@ -134,11 +134,11 @@ export default class Avatar extends React.Component {
134
134
  initial = initial || this.getInitialByFullName(name);
135
135
  let isInvalidImageList = Avatar.invalidImageURLs.indexOf(src) !== -1;
136
136
  let isValidImageList = Avatar.validImageURLs.indexOf(src) !== -1;
137
- let border = borderOnHover || onClick;
138
- let borderStyle = (!src || src && isInvalidImageList || !isValidImageList) && needBorder ? `${style.border} ${borderOnActive ? style.borderOnActive : border ? style.borderOnHover : ''} ` : '';
139
137
  let showAvatar = src && !isInvalidImageList;
140
- let showInitial = !showAvatar || showAvatar && !isValidImageList;
138
+ let showInitial = !showAvatar || showAvatar && isInvalidImageList;
141
139
  const showAlternateAvatar = alternateSrc ? showInitial : false;
140
+ let border = borderOnHover || onClick;
141
+ let borderStyle = (!src || !showAvatar || showInitial) && needBorder ? `${style.border} ${borderOnActive ? style.borderOnActive : border ? style.borderOnHover : ''} ` : '';
142
142
  borderStyle = showAlternateAvatar ? '' : borderStyle;
143
143
  return /*#__PURE__*/React.createElement("div", _extends({
144
144
  className: `${style.avatar} ${style[size]} ${AvatarSize(size)} ${style[shapeStyle]} ${style[palette]} ${textStyle} ${borderStyle} ${customClass ? customClass : ''}`,
@@ -165,9 +165,9 @@ Avatar.defaultProps = defaultProps;
165
165
  Avatar.propTypes = propTypes;
166
166
  Avatar.invalidImageURLs = [];
167
167
  Avatar.validImageURLs = [];
168
- if (false) {
169
- Avatar.docs = {
170
- componentGroup: 'Avatar Group',
171
- folderName: 'Style Guide'
172
- };
173
- }
168
+ // if (__DOCS__) {
169
+ // Avatar.docs = {
170
+ // componentGroup: 'Avatar Group',
171
+ // folderName: 'Style Guide'
172
+ // };
173
+ // }
@@ -65,10 +65,11 @@ export default class AvatarTeam extends React.Component {
65
65
  }
66
66
  AvatarTeam.defaultProps = defaultProps;
67
67
  AvatarTeam.propTypes = propTypes;
68
- if (false) {
69
- AvatarTeam.docs = {
70
- componentGroup: 'Avatar Group',
71
- folderName: 'Style Guide',
72
- external: true
73
- };
74
- }
68
+
69
+ // if (__DOCS__) {
70
+ // AvatarTeam.docs = {
71
+ // componentGroup: 'Avatar Group',
72
+ // folderName: 'Style Guide',
73
+ // external: true
74
+ // };
75
+ // }
@@ -56,9 +56,10 @@ export default class Button extends React.Component {
56
56
  }
57
57
  Button.defaultProps = defaultProps;
58
58
  Button.propTypes = propTypes;
59
- if (false) {
60
- Button.docs = {
61
- componentGroup: 'Form Elements',
62
- folderName: 'Style Guide'
63
- };
64
- }
59
+
60
+ // if (__DOCS__) {
61
+ // Button.docs = {
62
+ // componentGroup: 'Form Elements',
63
+ // folderName: 'Style Guide'
64
+ // };
65
+ // }
@@ -28,15 +28,18 @@ export default class Buttongroup extends React.Component {
28
28
  }
29
29
  Buttongroup.defaultProps = defaultProps;
30
30
  Buttongroup.propTypes = propTypes;
31
- if (false) {
32
- Buttongroup.docs = {
33
- componentGroup: 'Molecule',
34
- folderName: 'Style Guide',
35
- external: false,
36
- description: ' ',
37
- images: [{
38
- view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.png',
39
- psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.psd'
40
- }]
41
- };
42
- }
31
+
32
+ // if (__DOCS__) {
33
+ // Buttongroup.docs = {
34
+ // componentGroup: 'Molecule',
35
+ // folderName: 'Style Guide',
36
+ // external: false,
37
+ // description: ' ',
38
+ // images: [
39
+ // {
40
+ // view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.png',
41
+ // psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/ButtonGroup/v1/ButtonGroup.psd'
42
+ // }
43
+ // ]
44
+ // };
45
+ // }
package/es/Card/Card.js CHANGED
@@ -225,14 +225,16 @@ export default class Card extends Component {
225
225
  }
226
226
  Card.propTypes = Card_propTypes;
227
227
  Card.defaultProps = Card_defaultProps;
228
- if (false) {
229
- Card.docs = {
230
- componentGroup: 'Template',
231
- folderName: 'Style Guide',
232
- external: true,
233
- description: ' '
234
- };
235
- }
228
+
229
+ // if (__DOCS__) {
230
+ // Card.docs = {
231
+ // componentGroup: 'Template',
232
+ // folderName: 'Style Guide',
233
+ // external: true,
234
+ // description: ' '
235
+ // };
236
+ // }
237
+
236
238
  export class CardFooter extends Component {
237
239
  render() {
238
240
  let {
@@ -148,9 +148,10 @@ export default class CheckBox extends React.Component {
148
148
  }
149
149
  CheckBox.defaultProps = defaultProps;
150
150
  CheckBox.propTypes = propTypes;
151
- if (false) {
152
- CheckBox.docs = {
153
- componentGroup: 'Form Elements',
154
- folderName: 'Style Guide'
155
- };
156
- }
151
+
152
+ // if (__DOCS__) {
153
+ // CheckBox.docs = {
154
+ // componentGroup: 'Form Elements',
155
+ // folderName: 'Style Guide'
156
+ // };
157
+ // }
@@ -920,7 +920,9 @@ class DateWidgetComponent extends React.Component {
920
920
  targetOffset,
921
921
  isRestrictScroll,
922
922
  dropBoxPortalId,
923
- a11y
923
+ a11y,
924
+ boxSize,
925
+ onError
924
926
  } = this.props;
925
927
  const {
926
928
  selected: value = '',
@@ -1006,7 +1008,9 @@ class DateWidgetComponent extends React.Component {
1006
1008
  positionsOffset: positionsOffset,
1007
1009
  targetOffset: targetOffset,
1008
1010
  isRestrictScroll: isRestrictScroll,
1009
- dropBoxPortalId: dropBoxPortalId
1011
+ dropBoxPortalId: dropBoxPortalId,
1012
+ boxSize: boxSize,
1013
+ onError: onError
1010
1014
  }));
1011
1015
  }
1012
1016
  }
@@ -1016,14 +1020,15 @@ const DateWidget = Popup(DateWidgetComponent);
1016
1020
  DateWidget.defaultProps = DateWidgetComponent.defaultProps;
1017
1021
 
1018
1022
  // eslint-disable-next-line no-undef
1019
- if (false) {
1020
- DateWidgetComponent.docs = {
1021
- componentGroup: 'Form Elements',
1022
- folderName: 'Style Guide',
1023
- external: true,
1024
- description: ' '
1025
- };
1026
- // eslint-disable-next-line react/forbid-foreign-prop-types
1027
- DateWidget.propTypes = DateWidgetComponent.propTypes;
1028
- }
1023
+ // if (__DOCS__) {
1024
+ // DateWidgetComponent.docs = {
1025
+ // componentGroup: 'Form Elements',
1026
+ // folderName: 'Style Guide',
1027
+ // external: true,
1028
+ // description: ' '
1029
+ // };
1030
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
1031
+ // DateWidget.propTypes = DateWidgetComponent.propTypes;
1032
+ // }
1033
+
1029
1034
  export default DateWidget;
@@ -121,7 +121,9 @@ export const DateWidget_propTypes = {
121
121
  is24Hour: PropTypes.bool,
122
122
  isHideCurrentYear: PropTypes.bool,
123
123
  onFocus: PropTypes.func,
124
- onBlur: PropTypes.func
124
+ onBlur: PropTypes.func,
125
+ boxSize: PropTypes.string,
126
+ onError: PropTypes.func
125
127
  };
126
128
  export const YearView_propTypes = {
127
129
  dataId: PropTypes.string,
@@ -237,11 +237,11 @@ export default class DropBox extends React.Component {
237
237
  DropBox.propTypes = propTypes;
238
238
  DropBox.contextType = LibraryContext;
239
239
  DropBox.defaultProps = defaultProps;
240
- if (false) {
241
- DropBox.docs = {
242
- componentGroup: 'Atom',
243
- folderName: 'Style Guide',
244
- external: true,
245
- description: ' '
246
- };
247
- }
240
+ // if (__DOCS__) {
241
+ // DropBox.docs = {
242
+ // componentGroup: 'Atom',
243
+ // folderName: 'Style Guide',
244
+ // external: true,
245
+ // description: ' '
246
+ // };
247
+ // }
@@ -15,12 +15,14 @@ export default class DropDown extends React.Component {
15
15
  }
16
16
  }
17
17
  DropDown.propTypes = DropDown_propTypes;
18
- if (false) {
19
- DropDown.docs = {
20
- componentGroup: 'Form Elements',
21
- folderName: 'Style Guide'
22
- };
23
- }
18
+
19
+ // if (__DOCS__) {
20
+ // DropDown.docs = {
21
+ // componentGroup: 'Form Elements',
22
+ // folderName: 'Style Guide'
23
+ // };
24
+ // }
25
+
24
26
  export class DropDownTarget extends React.Component {
25
27
  render() {
26
28
  let {
@@ -31,9 +31,10 @@ export default class DropDownHeading extends React.Component {
31
31
  }
32
32
  DropDownHeading.propTypes = DropDownHeading_propTypes;
33
33
  DropDownHeading.defaultProps = DropDownHeading_defaultProps;
34
- if (false) {
35
- DropDownHeading.docs = {
36
- componentGroup: 'Form Elements',
37
- folderName: 'Style Guide'
38
- };
39
- }
34
+
35
+ // if (__DOCS__) {
36
+ // DropDownHeading.docs = {
37
+ // componentGroup: 'Form Elements',
38
+ // folderName: 'Style Guide'
39
+ // };
40
+ // }
@@ -26,9 +26,10 @@ export default class Heading extends React.Component {
26
26
  }
27
27
  Heading.propTypes = propTypes;
28
28
  Heading.defaultProps = defaultProps;
29
- if (false) {
30
- Heading.docs = {
31
- folderName: 'Style Guide',
32
- componentGroup: 'Accessibility'
33
- };
34
- }
29
+
30
+ // if (__DOCS__) {
31
+ // Heading.docs = {
32
+ // folderName: 'Style Guide',
33
+ // componentGroup: 'Accessibility'
34
+ // };
35
+ // }
package/es/Label/Label.js CHANGED
@@ -35,9 +35,10 @@ export default class Label extends React.Component {
35
35
  }
36
36
  Label.defaultProps = defaultProps;
37
37
  Label.propTypes = propTypes;
38
- if (false) {
39
- Label.docs = {
40
- componentGroup: 'Form Elements',
41
- folderName: 'Style Guide'
42
- };
43
- }
38
+
39
+ // if (__DOCS__) {
40
+ // Label.docs = {
41
+ // componentGroup: 'Form Elements',
42
+ // folderName: 'Style Guide'
43
+ // };
44
+ // }
@@ -85,9 +85,10 @@ const ListContainer = props => {
85
85
  ListContainer.defaultProps = ListContainerDefaultProps;
86
86
  ListContainer.propTypes = ListContainer_Props;
87
87
  export default ListContainer;
88
- if (false) {
89
- ListContainer.docs = {
90
- componentGroup: 'Molecule',
91
- folderName: 'Style Guide'
92
- };
93
- }
88
+
89
+ // if (__DOCS__) {
90
+ // ListContainer.docs = {
91
+ // componentGroup: 'Molecule',
92
+ // folderName: 'Style Guide'
93
+ // };
94
+ // }
@@ -119,9 +119,10 @@ export default class ListItem extends React.Component {
119
119
  }
120
120
  ListItem.defaultProps = ListItemDefaultProps;
121
121
  ListItem.propTypes = ListItem_Props;
122
- if (false) {
123
- ListItem.docs = {
124
- componentGroup: 'Molecule',
125
- folderName: 'Style Guide'
126
- };
127
- }
122
+
123
+ // if (__DOCS__) {
124
+ // ListItem.docs = {
125
+ // componentGroup: 'Molecule',
126
+ // folderName: 'Style Guide'
127
+ // };
128
+ // }
@@ -141,9 +141,9 @@ export default class ListItemWithAvatar extends React.PureComponent {
141
141
  }
142
142
  ListItemWithAvatar.defaultProps = ListItemWithAvatarDefaultProps;
143
143
  ListItemWithAvatar.propTypes = ListItemWithAvatar_Props;
144
- if (false) {
145
- ListItemWithAvatar.docs = {
146
- componentGroup: 'Molecule',
147
- folderName: 'Style Guide'
148
- };
149
- }
144
+ // if (__DOCS__) {
145
+ // ListItemWithAvatar.docs = {
146
+ // componentGroup: 'Molecule',
147
+ // folderName: 'Style Guide'
148
+ // };
149
+ // }
@@ -102,9 +102,9 @@ export default class ListItemWithCheckBox extends React.Component {
102
102
  }
103
103
  ListItemWithCheckBox.defaultProps = ListItemWithCheckBoxDefaultProps;
104
104
  ListItemWithCheckBox.propTypes = ListItemWithCheckBox_Props;
105
- if (false) {
106
- ListItemWithCheckBox.docs = {
107
- componentGroup: 'Molecule',
108
- folderName: 'Style Guide'
109
- };
110
- }
105
+ // if (__DOCS__) {
106
+ // ListItemWithCheckBox.docs = {
107
+ // componentGroup: 'Molecule',
108
+ // folderName: 'Style Guide'
109
+ // };
110
+ // }
@@ -123,9 +123,10 @@ export default class ListItemWithIcon extends React.Component {
123
123
  }
124
124
  ListItemWithIcon.defaultProps = ListItemWithIconDefaultProps;
125
125
  ListItemWithIcon.propTypes = ListItemWithIcon_Props;
126
- if (false) {
127
- ListItemWithIcon.docs = {
128
- componentGroup: 'Molecule',
129
- folderName: 'Style Guide'
130
- };
131
- }
126
+
127
+ // if (__DOCS__) {
128
+ // ListItemWithIcon.docs = {
129
+ // componentGroup: 'Molecule',
130
+ // folderName: 'Style Guide'
131
+ // };
132
+ // }
@@ -104,9 +104,10 @@ export default class ListItemWithRadio extends React.Component {
104
104
  }
105
105
  ListItemWithRadio.defaultProps = ListItemWithRadioDefaultProps;
106
106
  ListItemWithRadio.propTypes = ListItemWithRadio_Props;
107
- if (false) {
108
- ListItemWithRadio.docs = {
109
- componentGroup: 'Molecule',
110
- folderName: 'Style Guide'
111
- };
112
- }
107
+
108
+ // if (__DOCS__) {
109
+ // ListItemWithRadio.docs = {
110
+ // componentGroup: 'Molecule',
111
+ // folderName: 'Style Guide'
112
+ // };
113
+ // }
package/es/Modal/Modal.js CHANGED
@@ -126,11 +126,12 @@ export default class Modal extends React.Component {
126
126
  }
127
127
  Modal.defaultProps = defaultProps;
128
128
  Modal.propTypes = propTypes;
129
- if (false) {
130
- Modal.docs = {
131
- componentGroup: 'Atom',
132
- folderName: 'Style Guide',
133
- external: false,
134
- description: ' '
135
- };
136
- }
129
+
130
+ // if (__DOCS__) {
131
+ // Modal.docs = {
132
+ // componentGroup: 'Atom',
133
+ // folderName: 'Style Guide',
134
+ // external: false,
135
+ // description: ' '
136
+ // };
137
+ // }
@@ -987,10 +987,11 @@ class AdvancedGroupMultiSelect extends React.Component {
987
987
  }
988
988
  AdvancedGroupMultiSelect.defaultProps = AdvancedGroupMultiSelect_defaultProps;
989
989
  AdvancedGroupMultiSelect.propTypes = AdvancedGroupMultiSelect_propTypes;
990
- if (false) {
991
- AdvancedGroupMultiSelect.docs = {
992
- componentGroup: 'Form Elements',
993
- folderName: 'Style Guide'
994
- };
995
- }
990
+ // if (__DOCS__) {
991
+ // AdvancedGroupMultiSelect.docs = {
992
+ // componentGroup: 'Form Elements',
993
+ // folderName: 'Style Guide'
994
+ // };
995
+ // }
996
+
996
997
  export default Popup(AdvancedGroupMultiSelect);
@@ -531,12 +531,14 @@ AdvancedMultiSelectComponent.defaultProps = AdvancedMultiSelect_defaultProps;
531
531
  AdvancedMultiSelectComponent.displayName = 'AdvancedMultiSelect';
532
532
  const AdvancedMultiSelect = Popup(AdvancedMultiSelectComponent);
533
533
  AdvancedMultiSelect.defaultProps = AdvancedMultiSelectComponent.defaultProps;
534
- if (false) {
535
- AdvancedMultiSelectComponent.docs = {
536
- componentGroup: 'Form Elements',
537
- folderName: 'Style Guide'
538
- };
539
- // eslint-disable-next-line react/forbid-foreign-prop-types
540
- AdvancedMultiSelect.propTypes = AdvancedMultiSelectComponent.propTypes;
541
- }
534
+
535
+ // if (__DOCS__) {
536
+ // AdvancedMultiSelectComponent.docs = {
537
+ // componentGroup: 'Form Elements',
538
+ // folderName: 'Style Guide'
539
+ // };
540
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
541
+ // AdvancedMultiSelect.propTypes = AdvancedMultiSelectComponent.propTypes;
542
+ // }
543
+
542
544
  export default AdvancedMultiSelect;
@@ -1004,12 +1004,13 @@ export class MultiSelectComponent extends React.Component {
1004
1004
  }
1005
1005
  MultiSelectComponent.propTypes = MultiSelect_propTypes;
1006
1006
  MultiSelectComponent.defaultProps = MultiSelect_defaultProps;
1007
- if (false) {
1008
- MultiSelectComponent.docs = {
1009
- componentGroup: 'Form Elements',
1010
- folderName: 'Style Guide'
1011
- };
1012
- }
1007
+
1008
+ // if (__DOCS__) {
1009
+ // MultiSelectComponent.docs = {
1010
+ // componentGroup: 'Form Elements',
1011
+ // folderName: 'Style Guide'
1012
+ // };
1013
+ // }
1013
1014
  MultiSelectComponent.displayName = 'MultiSelect';
1014
1015
  const MultiSelect = Popup(MultiSelectComponent);
1015
1016
  MultiSelect.propTypes = MultiSelectComponent.propTypes;
@@ -276,12 +276,14 @@ MultiSelectWithAvatarComponent.defaultProps = MultiSelectWithAvatar_defaultProps
276
276
  MultiSelectWithAvatarComponent.displayName = 'MultiSelectWithAvatar';
277
277
  const MultiSelectWithAvatar = Popup(MultiSelectWithAvatarComponent);
278
278
  MultiSelectWithAvatar.defaultProps = MultiSelectWithAvatarComponent.defaultProps;
279
- if (false) {
280
- MultiSelectWithAvatarComponent.docs = {
281
- componentGroup: 'Form Elements',
282
- folderName: 'Style Guide'
283
- };
284
- // eslint-disable-next-line react/forbid-foreign-prop-types
285
- MultiSelectWithAvatar.propTypes = MultiSelectWithAvatarComponent.propTypes;
286
- }
279
+
280
+ // if (__DOCS__) {
281
+ // MultiSelectWithAvatarComponent.docs = {
282
+ // componentGroup: 'Form Elements',
283
+ // folderName: 'Style Guide'
284
+ // };
285
+ // // eslint-disable-next-line react/forbid-foreign-prop-types
286
+ // MultiSelectWithAvatar.propTypes = MultiSelectWithAvatarComponent.propTypes;
287
+ // }
288
+
287
289
  export default MultiSelectWithAvatar;