@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.
- package/README.md +6 -0
- package/assets/Appearance/dark/mode/darkMode.module.css +1 -1
- package/assets/Appearance/default/mode/defaultMode.module.css +1 -1
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +1 -1
- package/es/Accordion/Accordion.js +7 -6
- package/es/Accordion/AccordionItem.js +6 -6
- package/es/Animation/Animation.js +9 -8
- package/es/AppContainer/AppContainer.js +7 -6
- package/es/Avatar/Avatar.js +9 -9
- package/es/AvatarTeam/AvatarTeam.js +8 -7
- package/es/Button/Button.js +7 -6
- package/es/Buttongroup/Buttongroup.js +15 -12
- package/es/Card/Card.js +10 -8
- package/es/CheckBox/CheckBox.js +7 -6
- package/es/DateTime/DateWidget.js +17 -12
- package/es/DateTime/props/propTypes.js +3 -1
- package/es/DropBox/DropBox.js +8 -8
- package/es/DropDown/DropDown.js +8 -6
- package/es/DropDown/DropDownHeading.js +7 -6
- package/es/Heading/Heading.js +7 -6
- package/es/Label/Label.js +7 -6
- package/es/ListItem/ListContainer.js +7 -6
- package/es/ListItem/ListItem.js +7 -6
- package/es/ListItem/ListItemWithAvatar.js +6 -6
- package/es/ListItem/ListItemWithCheckBox.js +6 -6
- package/es/ListItem/ListItemWithIcon.js +7 -6
- package/es/ListItem/ListItemWithRadio.js +7 -6
- package/es/Modal/Modal.js +9 -8
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -6
- package/es/MultiSelect/AdvancedMultiSelect.js +10 -8
- package/es/MultiSelect/MultiSelect.js +7 -6
- package/es/MultiSelect/MultiSelectWithAvatar.js +10 -8
- package/es/PopOver/PopOver.js +8 -8
- package/es/Radio/Radio.js +6 -6
- package/es/Ribbon/Ribbon.js +14 -12
- package/es/RippleEffect/RippleEffect.js +7 -6
- package/es/Select/GroupSelect.js +9 -8
- package/es/Select/Select.js +11 -10
- package/es/Select/SelectWithAvatar.js +10 -8
- package/es/Select/SelectWithIcon.js +7 -6
- package/es/Stencils/Stencils.js +9 -8
- package/es/Switch/Switch.js +7 -6
- package/es/Tab/Tab.js +7 -6
- package/es/Tag/Tag.js +6 -6
- package/es/TextBox/TextBox.js +9 -8
- package/es/TextBoxIcon/TextBoxIcon.js +8 -8
- package/es/Textarea/Textarea.js +9 -8
- package/es/Tooltip/Tooltip.js +9 -8
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -5
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +6 -5
- package/es/deprecated/PortalLayer/PortalLayer.js +7 -6
- package/es/semantic/Button/Button.js +6 -6
- package/install.md +10 -0
- package/lib/Accordion/Accordion.js +7 -6
- package/lib/Accordion/AccordionItem.js +6 -6
- package/lib/Animation/Animation.js +9 -8
- package/lib/AppContainer/AppContainer.js +7 -6
- package/lib/Avatar/Avatar.js +9 -9
- package/lib/AvatarTeam/AvatarTeam.js +8 -7
- package/lib/Button/Button.js +7 -6
- package/lib/Buttongroup/Buttongroup.js +15 -12
- package/lib/Card/Card.js +9 -8
- package/lib/CheckBox/CheckBox.js +7 -6
- package/lib/DateTime/DateWidget.js +16 -12
- package/lib/DateTime/props/propTypes.js +3 -1
- package/lib/DropBox/DropBox.js +8 -8
- package/lib/DropDown/DropDown.js +7 -6
- package/lib/DropDown/DropDownHeading.js +7 -6
- package/lib/Heading/Heading.js +7 -6
- package/lib/Label/Label.js +7 -6
- package/lib/ListItem/ListContainer.js +7 -8
- package/lib/ListItem/ListItem.js +7 -6
- package/lib/ListItem/ListItemWithAvatar.js +6 -6
- package/lib/ListItem/ListItemWithCheckBox.js +6 -6
- package/lib/ListItem/ListItemWithIcon.js +7 -6
- package/lib/ListItem/ListItemWithRadio.js +7 -6
- package/lib/Modal/Modal.js +9 -8
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -6
- package/lib/MultiSelect/AdvancedMultiSelect.js +9 -8
- package/lib/MultiSelect/MultiSelect.js +7 -6
- package/lib/MultiSelect/MultiSelectWithAvatar.js +9 -8
- package/lib/PopOver/PopOver.js +8 -8
- package/lib/Radio/Radio.js +6 -6
- package/lib/Ribbon/Ribbon.js +14 -12
- package/lib/RippleEffect/RippleEffect.js +7 -6
- package/lib/Select/GroupSelect.js +9 -10
- package/lib/Select/Select.js +11 -12
- package/lib/Select/SelectWithAvatar.js +9 -8
- package/lib/Select/SelectWithIcon.js +7 -6
- package/lib/Stencils/Stencils.js +9 -8
- package/lib/Switch/Switch.js +7 -6
- package/lib/Tab/Tab.js +7 -6
- package/lib/Tag/Tag.js +6 -6
- package/lib/TextBox/TextBox.js +9 -8
- package/lib/TextBoxIcon/TextBoxIcon.js +8 -8
- package/lib/Textarea/Textarea.js +9 -8
- package/lib/Tooltip/Tooltip.js +9 -8
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -5
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +6 -5
- package/lib/deprecated/PortalLayer/PortalLayer.js +7 -6
- package/lib/semantic/Button/Button.js +6 -6
- package/package.json +9 -4
- 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(--
|
|
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(--
|
|
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:
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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 (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
107
|
+
|
|
108
|
+
// if (__DOCS__) {
|
|
109
|
+
// AppContainer.docs = {
|
|
110
|
+
// componentGroup: 'Template',
|
|
111
|
+
// folderName: 'Style Guide'
|
|
112
|
+
// };
|
|
113
|
+
// }
|
package/es/Avatar/Avatar.js
CHANGED
|
@@ -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 &&
|
|
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 (
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
68
|
+
|
|
69
|
+
// if (__DOCS__) {
|
|
70
|
+
// AvatarTeam.docs = {
|
|
71
|
+
// componentGroup: 'Avatar Group',
|
|
72
|
+
// folderName: 'Style Guide',
|
|
73
|
+
// external: true
|
|
74
|
+
// };
|
|
75
|
+
// }
|
package/es/Button/Button.js
CHANGED
|
@@ -56,9 +56,10 @@ export default class Button extends React.Component {
|
|
|
56
56
|
}
|
|
57
57
|
Button.defaultProps = defaultProps;
|
|
58
58
|
Button.propTypes = propTypes;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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 {
|
package/es/CheckBox/CheckBox.js
CHANGED
|
@@ -148,9 +148,10 @@ export default class CheckBox extends React.Component {
|
|
|
148
148
|
}
|
|
149
149
|
CheckBox.defaultProps = defaultProps;
|
|
150
150
|
CheckBox.propTypes = propTypes;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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 (
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
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,
|
package/es/DropBox/DropBox.js
CHANGED
|
@@ -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 (
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
240
|
+
// if (__DOCS__) {
|
|
241
|
+
// DropBox.docs = {
|
|
242
|
+
// componentGroup: 'Atom',
|
|
243
|
+
// folderName: 'Style Guide',
|
|
244
|
+
// external: true,
|
|
245
|
+
// description: ' '
|
|
246
|
+
// };
|
|
247
|
+
// }
|
package/es/DropDown/DropDown.js
CHANGED
|
@@ -15,12 +15,14 @@ export default class DropDown extends React.Component {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
DropDown.propTypes = DropDown_propTypes;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
34
|
+
|
|
35
|
+
// if (__DOCS__) {
|
|
36
|
+
// DropDownHeading.docs = {
|
|
37
|
+
// componentGroup: 'Form Elements',
|
|
38
|
+
// folderName: 'Style Guide'
|
|
39
|
+
// };
|
|
40
|
+
// }
|
package/es/Heading/Heading.js
CHANGED
|
@@ -26,9 +26,10 @@ export default class Heading extends React.Component {
|
|
|
26
26
|
}
|
|
27
27
|
Heading.propTypes = propTypes;
|
|
28
28
|
Heading.defaultProps = defaultProps;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
88
|
+
|
|
89
|
+
// if (__DOCS__) {
|
|
90
|
+
// ListContainer.docs = {
|
|
91
|
+
// componentGroup: 'Molecule',
|
|
92
|
+
// folderName: 'Style Guide'
|
|
93
|
+
// };
|
|
94
|
+
// }
|
package/es/ListItem/ListItem.js
CHANGED
|
@@ -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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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 (
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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 (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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 (
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
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
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
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
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
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
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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;
|