@zohodesk/components 1.0.0-alpha-256 → 1.0.0-alpha-258
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 +11 -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 +13 -8
- package/es/Accordion/AccordionItem.js +9 -7
- package/es/Accordion/props/defaultProps.js +6 -2
- package/es/Accordion/props/propTypes.js +3 -0
- package/es/Animation/Animation.js +9 -8
- package/es/AppContainer/AppContainer.js +11 -7
- package/es/AppContainer/props/defaultProps.js +2 -1
- package/es/AppContainer/props/propTypes.js +1 -0
- package/es/Avatar/Avatar.js +15 -11
- package/es/Avatar/props/defaultProps.js +2 -1
- package/es/Avatar/props/propTypes.js +1 -0
- package/es/AvatarTeam/AvatarTeam.js +11 -8
- package/es/AvatarTeam/props/defaultProps.js +1 -0
- package/es/AvatarTeam/props/propTypes.js +1 -0
- package/es/Button/Button.js +10 -7
- package/es/Button/props/defaultProps.js +1 -0
- package/es/Button/props/propTypes.js +1 -0
- package/es/Buttongroup/Buttongroup.js +21 -14
- package/es/Buttongroup/props/defaultProps.js +3 -1
- package/es/Buttongroup/props/propTypes.js +3 -1
- package/es/Card/Card.js +29 -18
- package/es/Card/props/defaultProps.js +12 -1
- package/es/CheckBox/CheckBox.js +10 -8
- package/es/CheckBox/props/propTypes.js +1 -0
- package/es/DateTime/DateWidget.js +17 -12
- package/es/DateTime/props/propTypes.js +3 -1
- package/es/DropBox/DropBox.js +13 -9
- package/es/DropBox/props/defaultProps.js +1 -0
- package/es/DropBox/props/propTypes.js +1 -0
- package/es/DropDown/DropDown.js +8 -6
- package/es/DropDown/DropDownHeading.js +13 -8
- package/es/DropDown/props/defaultProps.js +3 -1
- package/es/Heading/Heading.js +7 -6
- package/es/Label/Label.js +9 -6
- package/es/Label/props/defaultProps.js +2 -1
- package/es/Label/props/propTypes.js +1 -0
- package/es/Layout/Box.js +2 -1
- package/es/Layout/Container.js +2 -1
- package/es/Layout/props/defaultProps.js +4 -2
- package/es/Layout/props/propTypes.js +2 -0
- package/es/ListItem/ListContainer.js +9 -6
- package/es/ListItem/ListItem.js +11 -7
- package/es/ListItem/ListItemWithAvatar.js +10 -7
- package/es/ListItem/ListItemWithCheckBox.js +8 -6
- package/es/ListItem/ListItemWithIcon.js +11 -7
- package/es/ListItem/ListItemWithRadio.js +9 -6
- package/es/ListItem/props/defaultProps.js +12 -6
- package/es/ListItem/props/propTypes.js +6 -0
- package/es/Modal/Modal.js +9 -8
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +10 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +14 -10
- package/es/MultiSelect/MultiSelect.js +10 -7
- package/es/MultiSelect/MultiSelectWithAvatar.js +13 -9
- package/es/MultiSelect/props/defaultProps.js +8 -4
- package/es/MultiSelect/props/propTypes.js +8 -4
- package/es/PopOver/PopOver.js +8 -8
- package/es/Radio/Radio.js +6 -6
- package/es/Ribbon/Ribbon.js +18 -14
- package/es/Ribbon/props/defaultProps.js +2 -1
- package/es/Ribbon/props/propTypes.js +2 -1
- package/es/RippleEffect/RippleEffect.js +7 -6
- package/es/Select/GroupSelect.js +13 -10
- package/es/Select/Select.js +15 -12
- package/es/Select/SelectWithAvatar.js +14 -10
- package/es/Select/SelectWithIcon.js +11 -8
- package/es/Select/props/defaultProps.js +4 -0
- package/es/Select/props/propTypes.js +8 -4
- package/es/Stencils/Stencils.js +9 -8
- package/es/Switch/Switch.js +10 -7
- package/es/Switch/props/defaultProps.js +2 -1
- package/es/Switch/props/propTypes.js +1 -0
- package/es/Tab/Tab.js +10 -7
- package/es/Tab/TabContent.js +4 -2
- package/es/Tab/TabContentWrapper.js +4 -2
- package/es/Tab/TabWrapper.js +4 -2
- package/es/Tab/Tabs.js +8 -4
- package/es/Tab/props/defaultProps.js +10 -5
- package/es/Tab/props/propTypes.js +10 -5
- package/es/Tag/Tag.js +9 -7
- package/es/Tag/props/defaultProps.js +2 -1
- package/es/Tag/props/propTypes.js +2 -1
- package/es/TextBox/TextBox.js +12 -9
- package/es/TextBox/props/defaultProps.js +2 -1
- package/es/TextBox/props/propTypes.js +2 -1
- package/es/TextBoxIcon/TextBoxIcon.js +10 -8
- package/es/TextBoxIcon/props/defaultProps.js +2 -1
- package/es/TextBoxIcon/props/propTypes.js +1 -0
- package/es/Textarea/Textarea.js +12 -9
- package/es/Textarea/props/defaultProps.js +2 -1
- package/es/Textarea/props/propTypes.js +1 -0
- 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 +16 -9
- package/lib/Accordion/AccordionItem.js +12 -8
- package/lib/Accordion/props/defaultProps.js +6 -2
- package/lib/Accordion/props/propTypes.js +3 -0
- package/lib/Animation/Animation.js +12 -9
- package/lib/AppContainer/AppContainer.js +14 -8
- package/lib/AppContainer/props/defaultProps.js +2 -1
- package/lib/AppContainer/props/propTypes.js +1 -0
- package/lib/Avatar/Avatar.js +19 -13
- package/lib/Avatar/props/defaultProps.js +2 -1
- package/lib/Avatar/props/propTypes.js +1 -0
- package/lib/AvatarTeam/AvatarTeam.js +14 -9
- package/lib/AvatarTeam/props/defaultProps.js +1 -0
- package/lib/AvatarTeam/props/propTypes.js +1 -0
- package/lib/Button/Button.js +13 -8
- package/lib/Button/props/defaultProps.js +1 -0
- package/lib/Button/props/propTypes.js +1 -0
- package/lib/Buttongroup/Buttongroup.js +26 -16
- package/lib/Buttongroup/props/defaultProps.js +3 -1
- package/lib/Buttongroup/props/propTypes.js +3 -1
- package/lib/Card/Card.js +30 -22
- package/lib/Card/props/defaultProps.js +16 -3
- package/lib/CheckBox/CheckBox.js +13 -9
- package/lib/CheckBox/props/propTypes.js +1 -0
- package/lib/DateTime/CalendarView.js +5 -2
- package/lib/DateTime/DateTime.js +5 -3
- package/lib/DateTime/DateTimePopupFooter.js +3 -1
- package/lib/DateTime/DateTimePopupHeader.js +3 -1
- package/lib/DateTime/DateWidget.js +19 -13
- package/lib/DateTime/DaysRow.js +3 -1
- package/lib/DateTime/Time.js +3 -1
- package/lib/DateTime/YearView.js +3 -1
- package/lib/DateTime/dateFormatUtils/timeChange.js +2 -2
- package/lib/DateTime/props/propTypes.js +3 -1
- package/lib/DateTime/validator.js +3 -3
- package/lib/DropBox/DropBox.js +16 -10
- package/lib/DropBox/props/defaultProps.js +1 -0
- package/lib/DropBox/props/propTypes.js +1 -0
- package/lib/DropDown/DropDown.js +12 -8
- package/lib/DropDown/DropDownHeading.js +16 -9
- package/lib/DropDown/DropDownItem.js +3 -1
- package/lib/DropDown/DropDownSearch.js +5 -2
- package/lib/DropDown/DropDownSeparator.js +3 -1
- package/lib/DropDown/props/defaultProps.js +3 -1
- package/lib/DropDown/props/propTypes.js +4 -1
- package/lib/Heading/Heading.js +11 -8
- package/lib/Label/Label.js +12 -7
- package/lib/Label/props/defaultProps.js +2 -1
- package/lib/Label/props/propTypes.js +1 -0
- package/lib/Layout/Box.js +2 -1
- package/lib/Layout/Container.js +2 -1
- package/lib/Layout/props/defaultProps.js +4 -2
- package/lib/Layout/props/propTypes.js +2 -0
- package/lib/ListItem/ListContainer.js +9 -8
- package/lib/ListItem/ListItem.js +14 -8
- package/lib/ListItem/ListItemWithAvatar.js +13 -8
- package/lib/ListItem/ListItemWithCheckBox.js +11 -7
- package/lib/ListItem/ListItemWithIcon.js +14 -8
- package/lib/ListItem/ListItemWithRadio.js +12 -7
- package/lib/ListItem/props/defaultProps.js +12 -6
- package/lib/ListItem/props/propTypes.js +10 -2
- package/lib/Modal/Modal.js +12 -9
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +15 -11
- package/lib/MultiSelect/AdvancedMultiSelect.js +17 -12
- package/lib/MultiSelect/EmptyState.js +3 -1
- package/lib/MultiSelect/MultiSelect.js +15 -10
- package/lib/MultiSelect/MultiSelectHeader.js +3 -1
- package/lib/MultiSelect/MultiSelectWithAvatar.js +15 -10
- package/lib/MultiSelect/SelectedOptions.js +5 -2
- package/lib/MultiSelect/Suggestions.js +4 -2
- package/lib/MultiSelect/props/defaultProps.js +8 -4
- package/lib/MultiSelect/props/propTypes.js +8 -4
- package/lib/PopOver/PopOver.js +11 -9
- package/lib/Popup/Popup.js +4 -2
- package/lib/Popup/__tests__/Popup.spec.js +3 -1
- package/lib/Provider/LibraryContext.js +5 -3
- package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
- package/lib/Radio/Radio.js +9 -7
- package/lib/Responsive/CustomResponsive.js +6 -4
- package/lib/Responsive/RefWrapper.js +4 -2
- package/lib/Responsive/ResizeComponent.js +9 -4
- package/lib/Responsive/ResizeObserver.js +4 -1
- package/lib/Responsive/Responsive.js +6 -4
- package/lib/Responsive/sizeObservers.js +4 -2
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +3 -1
- package/lib/Ribbon/Ribbon.js +21 -15
- package/lib/Ribbon/props/defaultProps.js +2 -1
- package/lib/Ribbon/props/propTypes.js +2 -1
- package/lib/RippleEffect/RippleEffect.js +7 -6
- package/lib/Select/GroupSelect.js +18 -15
- package/lib/Select/Select.js +18 -15
- package/lib/Select/SelectWithAvatar.js +16 -11
- package/lib/Select/SelectWithIcon.js +14 -9
- package/lib/Select/__tests__/Select.spec.js +2 -2
- package/lib/Select/props/defaultProps.js +8 -2
- package/lib/Select/props/propTypes.js +8 -4
- package/lib/Stencils/Stencils.js +12 -9
- package/lib/Switch/Switch.js +13 -8
- package/lib/Switch/props/defaultProps.js +2 -1
- package/lib/Switch/props/propTypes.js +1 -0
- package/lib/Tab/Tab.js +10 -7
- package/lib/Tab/TabContent.js +4 -2
- package/lib/Tab/TabContentWrapper.js +4 -2
- package/lib/Tab/TabWrapper.js +6 -4
- package/lib/Tab/Tabs.js +12 -6
- package/lib/Tab/props/defaultProps.js +10 -5
- package/lib/Tab/props/propTypes.js +10 -5
- package/lib/Tag/Tag.js +12 -8
- package/lib/Tag/props/defaultProps.js +2 -1
- package/lib/Tag/props/propTypes.js +2 -1
- package/lib/TextBox/TextBox.js +15 -10
- package/lib/TextBox/props/defaultProps.js +2 -1
- package/lib/TextBox/props/propTypes.js +5 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +15 -10
- package/lib/TextBoxIcon/props/defaultProps.js +2 -1
- package/lib/TextBoxIcon/props/propTypes.js +1 -0
- package/lib/Textarea/Textarea.js +15 -10
- package/lib/Textarea/props/defaultProps.js +2 -1
- package/lib/Textarea/props/propTypes.js +1 -0
- package/lib/Tooltip/Tooltip.js +12 -9
- package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -1
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +8 -6
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +10 -7
- package/lib/deprecated/PortalLayer/PortalLayer.js +10 -7
- package/lib/semantic/Button/Button.js +9 -7
- package/lib/utils/constructFullName.js +2 -2
- package/lib/utils/dropDownUtils.js +5 -3
- package/package.json +11 -6
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
|
+
// }
|
|
@@ -763,6 +763,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
763
763
|
selectedGroupOptions,
|
|
764
764
|
placeHolder,
|
|
765
765
|
dataId,
|
|
766
|
+
dataSelectorId,
|
|
766
767
|
isReadOnly,
|
|
767
768
|
isDisabled,
|
|
768
769
|
isPopupOpen,
|
|
@@ -827,7 +828,8 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
827
828
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
828
829
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
829
830
|
"data-title": isDisabled ? title : null,
|
|
830
|
-
onClick: this.handleInputFocus
|
|
831
|
+
onClick: this.handleInputFocus,
|
|
832
|
+
"data-selector-id": dataSelectorId
|
|
831
833
|
}, children ? /*#__PURE__*/React.createElement(Container, {
|
|
832
834
|
align: "vertical",
|
|
833
835
|
alignBox: "row",
|
|
@@ -987,10 +989,11 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
987
989
|
}
|
|
988
990
|
AdvancedGroupMultiSelect.defaultProps = AdvancedGroupMultiSelect_defaultProps;
|
|
989
991
|
AdvancedGroupMultiSelect.propTypes = AdvancedGroupMultiSelect_propTypes;
|
|
990
|
-
if (
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
}
|
|
992
|
+
// if (__DOCS__) {
|
|
993
|
+
// AdvancedGroupMultiSelect.docs = {
|
|
994
|
+
// componentGroup: 'Form Elements',
|
|
995
|
+
// folderName: 'Style Guide'
|
|
996
|
+
// };
|
|
997
|
+
// }
|
|
998
|
+
|
|
996
999
|
export default Popup(AdvancedGroupMultiSelect);
|
|
@@ -346,7 +346,8 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
346
346
|
customProps,
|
|
347
347
|
needEffect,
|
|
348
348
|
disabledOptions,
|
|
349
|
-
isLoading
|
|
349
|
+
isLoading,
|
|
350
|
+
dataSelectorId
|
|
350
351
|
} = this.props;
|
|
351
352
|
let {
|
|
352
353
|
SuggestionsProps = {},
|
|
@@ -389,7 +390,8 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
389
390
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
390
391
|
"data-id": dataIdMultiSelectComp,
|
|
391
392
|
"data-title": isDisabled ? title : null,
|
|
392
|
-
onClick: this.handleInputFocus
|
|
393
|
+
onClick: this.handleInputFocus,
|
|
394
|
+
"data-selector-id": dataSelectorId
|
|
393
395
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
394
396
|
align: "vertical",
|
|
395
397
|
alignBox: "row",
|
|
@@ -531,12 +533,14 @@ AdvancedMultiSelectComponent.defaultProps = AdvancedMultiSelect_defaultProps;
|
|
|
531
533
|
AdvancedMultiSelectComponent.displayName = 'AdvancedMultiSelect';
|
|
532
534
|
const AdvancedMultiSelect = Popup(AdvancedMultiSelectComponent);
|
|
533
535
|
AdvancedMultiSelect.defaultProps = AdvancedMultiSelectComponent.defaultProps;
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
536
|
+
|
|
537
|
+
// if (__DOCS__) {
|
|
538
|
+
// AdvancedMultiSelectComponent.docs = {
|
|
539
|
+
// componentGroup: 'Form Elements',
|
|
540
|
+
// folderName: 'Style Guide'
|
|
541
|
+
// };
|
|
542
|
+
// // eslint-disable-next-line react/forbid-foreign-prop-types
|
|
543
|
+
// AdvancedMultiSelect.propTypes = AdvancedMultiSelectComponent.propTypes;
|
|
544
|
+
// }
|
|
545
|
+
|
|
542
546
|
export default AdvancedMultiSelect;
|
|
@@ -800,6 +800,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
800
800
|
title,
|
|
801
801
|
needResponsive,
|
|
802
802
|
dataId,
|
|
803
|
+
dataSelectorId,
|
|
803
804
|
isSearching,
|
|
804
805
|
borderColor,
|
|
805
806
|
textBoxClass,
|
|
@@ -856,7 +857,8 @@ export class MultiSelectComponent extends React.Component {
|
|
|
856
857
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${isReadOnly ? style.readOnly : ''} ${disableAction ? CssProvider('isBlock') : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
857
858
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
858
859
|
"data-title": isDisabled ? title : null,
|
|
859
|
-
onClick: this.handleInputFocus
|
|
860
|
+
onClick: this.handleInputFocus,
|
|
861
|
+
"data-selector-id": dataSelectorId
|
|
860
862
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
861
863
|
align: "vertical",
|
|
862
864
|
alignBox: "row",
|
|
@@ -1004,12 +1006,13 @@ export class MultiSelectComponent extends React.Component {
|
|
|
1004
1006
|
}
|
|
1005
1007
|
MultiSelectComponent.propTypes = MultiSelect_propTypes;
|
|
1006
1008
|
MultiSelectComponent.defaultProps = MultiSelect_defaultProps;
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
}
|
|
1009
|
+
|
|
1010
|
+
// if (__DOCS__) {
|
|
1011
|
+
// MultiSelectComponent.docs = {
|
|
1012
|
+
// componentGroup: 'Form Elements',
|
|
1013
|
+
// folderName: 'Style Guide'
|
|
1014
|
+
// };
|
|
1015
|
+
// }
|
|
1013
1016
|
MultiSelectComponent.displayName = 'MultiSelect';
|
|
1014
1017
|
const MultiSelect = Popup(MultiSelectComponent);
|
|
1015
1018
|
MultiSelect.propTypes = MultiSelectComponent.propTypes;
|
|
@@ -85,6 +85,7 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
|
|
|
85
85
|
isDisabled,
|
|
86
86
|
title,
|
|
87
87
|
dataId,
|
|
88
|
+
dataSelectorId,
|
|
88
89
|
needResponsive,
|
|
89
90
|
borderColor,
|
|
90
91
|
textBoxClass,
|
|
@@ -129,7 +130,8 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
|
|
|
129
130
|
className: ` ${style.wrapper} ${isDisabled ? style.disabled : ''} ${isReadOnly ? style.readOnly : ''} ${disableAction ? CssProvider('isBlock') : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
130
131
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
131
132
|
"data-title": isDisabled ? title : null,
|
|
132
|
-
onClick: this.handleInputFocus
|
|
133
|
+
onClick: this.handleInputFocus,
|
|
134
|
+
"data-selector-id": dataSelectorId
|
|
133
135
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
134
136
|
align: "vertical",
|
|
135
137
|
alignBox: "row",
|
|
@@ -276,12 +278,14 @@ MultiSelectWithAvatarComponent.defaultProps = MultiSelectWithAvatar_defaultProps
|
|
|
276
278
|
MultiSelectWithAvatarComponent.displayName = 'MultiSelectWithAvatar';
|
|
277
279
|
const MultiSelectWithAvatar = Popup(MultiSelectWithAvatarComponent);
|
|
278
280
|
MultiSelectWithAvatar.defaultProps = MultiSelectWithAvatarComponent.defaultProps;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
281
|
+
|
|
282
|
+
// if (__DOCS__) {
|
|
283
|
+
// MultiSelectWithAvatarComponent.docs = {
|
|
284
|
+
// componentGroup: 'Form Elements',
|
|
285
|
+
// folderName: 'Style Guide'
|
|
286
|
+
// };
|
|
287
|
+
// // eslint-disable-next-line react/forbid-foreign-prop-types
|
|
288
|
+
// MultiSelectWithAvatar.propTypes = MultiSelectWithAvatarComponent.propTypes;
|
|
289
|
+
// }
|
|
290
|
+
|
|
287
291
|
export default MultiSelectWithAvatar;
|
|
@@ -34,7 +34,8 @@ export const AdvancedGroupMultiSelect_defaultProps = {
|
|
|
34
34
|
isSearchClearOnSelect: true,
|
|
35
35
|
needEffect: true,
|
|
36
36
|
palette: 'default',
|
|
37
|
-
isLoading: false
|
|
37
|
+
isLoading: false,
|
|
38
|
+
dataSelectorId: 'advancedGroupMultiSelect'
|
|
38
39
|
};
|
|
39
40
|
export const AdvancedMultiSelect_defaultProps = {
|
|
40
41
|
animationStyle: 'bounce',
|
|
@@ -64,7 +65,8 @@ export const AdvancedMultiSelect_defaultProps = {
|
|
|
64
65
|
isSearchClearOnSelect: true,
|
|
65
66
|
customProps: {},
|
|
66
67
|
needEffect: true,
|
|
67
|
-
isLoading: false
|
|
68
|
+
isLoading: false,
|
|
69
|
+
dataSelectorId: 'advancedMultiSelect'
|
|
68
70
|
};
|
|
69
71
|
export const EmptyState_defaultProps = {
|
|
70
72
|
dataId: 'empty',
|
|
@@ -103,7 +105,8 @@ export const MultiSelect_defaultProps = {
|
|
|
103
105
|
isSearchClearOnSelect: true,
|
|
104
106
|
needEffect: true,
|
|
105
107
|
boxSize: 'default',
|
|
106
|
-
isLoading: false
|
|
108
|
+
isLoading: false,
|
|
109
|
+
dataSelectorId: 'multiSelect'
|
|
107
110
|
};
|
|
108
111
|
export const MultiSelectHeader_defaultProps = {
|
|
109
112
|
dataId: 'MultiSelectHeader'
|
|
@@ -134,7 +137,8 @@ export const MultiSelectWithAvatar_defaultProps = {
|
|
|
134
137
|
isBoxPaddingNeed: true,
|
|
135
138
|
isSearchClearOnSelect: true,
|
|
136
139
|
needEffect: true,
|
|
137
|
-
isLoading: false
|
|
140
|
+
isLoading: false,
|
|
141
|
+
dataSelectorId: 'multiSelectWithAvatar'
|
|
138
142
|
};
|
|
139
143
|
export const SelectedOptions_defaultProps = {
|
|
140
144
|
size: 'medium'
|
|
@@ -50,7 +50,8 @@ export const AdvancedGroupMultiSelect_propTypes = {
|
|
|
50
50
|
isSearchClearOnSelect: PropTypes.bool,
|
|
51
51
|
palette: PropTypes.oneOf(['default', 'dark']),
|
|
52
52
|
needEffect: true,
|
|
53
|
-
isLoading: PropTypes.bool
|
|
53
|
+
isLoading: PropTypes.bool,
|
|
54
|
+
dataSelectorId: PropTypes.string
|
|
54
55
|
};
|
|
55
56
|
export const AdvancedMultiSelect_propTypes = {
|
|
56
57
|
id: PropTypes.string.isRequired,
|
|
@@ -133,7 +134,8 @@ export const AdvancedMultiSelect_propTypes = {
|
|
|
133
134
|
SuggestionsProps: PropTypes.object,
|
|
134
135
|
DropBoxProps: PropTypes.object
|
|
135
136
|
}),
|
|
136
|
-
isLoading: PropTypes.bool
|
|
137
|
+
isLoading: PropTypes.bool,
|
|
138
|
+
dataSelectorId: PropTypes.string
|
|
137
139
|
};
|
|
138
140
|
export const EmptyState_propTypes = {
|
|
139
141
|
dataId: PropTypes.string,
|
|
@@ -236,7 +238,8 @@ export const MultiSelect_propTypes = {
|
|
|
236
238
|
getFooter: PropTypes.func,
|
|
237
239
|
needEffect: PropTypes.bool,
|
|
238
240
|
boxSize: PropTypes.string,
|
|
239
|
-
isLoading: PropTypes.bool
|
|
241
|
+
isLoading: PropTypes.bool,
|
|
242
|
+
dataSelectorId: PropTypes.string
|
|
240
243
|
};
|
|
241
244
|
export const MultiSelectHeader_propTypes = {
|
|
242
245
|
dataId: PropTypes.string,
|
|
@@ -314,7 +317,8 @@ export const MultiSelectWithAvatar_propTypes = {
|
|
|
314
317
|
customChildrenClass: PropTypes.string,
|
|
315
318
|
isSearchClearOnSelect: PropTypes.bool,
|
|
316
319
|
disabledOptions: PropTypes.arrayOf(PropTypes.string),
|
|
317
|
-
isLoading: PropTypes.bool
|
|
320
|
+
isLoading: PropTypes.bool,
|
|
321
|
+
dataSelectorId: PropTypes.string
|
|
318
322
|
};
|
|
319
323
|
export const SelectedOptions_propTypes = {
|
|
320
324
|
getRef: PropTypes.func,
|
package/es/PopOver/PopOver.js
CHANGED
|
@@ -101,14 +101,14 @@ class PopOver extends React.Component {
|
|
|
101
101
|
}
|
|
102
102
|
PopOver.defaultProps = PopOver_defaultProps;
|
|
103
103
|
PopOver.propTypes = PopOver_propTypes;
|
|
104
|
-
if (
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
104
|
+
// if (__DOCS__) {
|
|
105
|
+
// PopOver.docs = {
|
|
106
|
+
// componentGroup: 'Form Elements',
|
|
107
|
+
// folderName: 'Style Guide',
|
|
108
|
+
// description: ' ',
|
|
109
|
+
// external: true
|
|
110
|
+
// };
|
|
111
|
+
// }
|
|
112
112
|
export default Popup(PopOver);
|
|
113
113
|
export class PopOverTarget extends React.Component {
|
|
114
114
|
constructor(props) {
|
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 (
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
114
|
+
// if (__DOCS__) {
|
|
115
|
+
// Radio.docs = {
|
|
116
|
+
// componentGroup: 'Form Elements',
|
|
117
|
+
// folderName: 'Style Guide'
|
|
118
|
+
// };
|
|
119
|
+
// }
|
package/es/Ribbon/Ribbon.js
CHANGED
|
@@ -12,12 +12,14 @@ export default class Ribbon extends React.Component {
|
|
|
12
12
|
palette,
|
|
13
13
|
size,
|
|
14
14
|
dataId,
|
|
15
|
-
customClass
|
|
15
|
+
customClass,
|
|
16
|
+
dataSelectorId
|
|
16
17
|
} = this.props;
|
|
17
18
|
return /*#__PURE__*/React.createElement("span", {
|
|
18
19
|
className: `${style.basic} ${customClass} ${type !== 'tag' ? type === 'plain' || type === 'box' || type === 'stamp' ? `${style[`plain_${palette}`]}
|
|
19
20
|
${type === 'box' ? style[`box_${palette}`] : ''} ${type === 'stamp' ? style[`stamp_${palette}`] : ''}` : `${style[`palette_${palette}`]} ${type === 'default' ? style[`default_${palette}`] : ''}` : ''} ${style[size]} ${style[type]}`,
|
|
20
|
-
"data-id": dataId
|
|
21
|
+
"data-id": dataId,
|
|
22
|
+
"data-selector-id": dataSelectorId
|
|
21
23
|
}, type === 'sticker' ? /*#__PURE__*/React.createElement("span", {
|
|
22
24
|
className: style.after
|
|
23
25
|
}) : null, children ? /*#__PURE__*/React.createElement("span", {
|
|
@@ -31,15 +33,17 @@ export default class Ribbon extends React.Component {
|
|
|
31
33
|
}
|
|
32
34
|
Ribbon.propTypes = propTypes;
|
|
33
35
|
Ribbon.defaultProps = defaultProps;
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
// if (__DOCS__) {
|
|
37
|
+
// Ribbon.docs = {
|
|
38
|
+
// componentGroup: 'Atom',
|
|
39
|
+
// folderName: 'Style Guide',
|
|
40
|
+
// external: true,
|
|
41
|
+
// description: ' ',
|
|
42
|
+
// images: [
|
|
43
|
+
// {
|
|
44
|
+
// view: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/Ribbon/v1/Ribbon.png',
|
|
45
|
+
// psd: 'http://zsupport-tech-1.tsi.zohocorpin.com:8080/ui/general/Ribbon/v1/Ribbon.psd'
|
|
46
|
+
// }
|
|
47
|
+
// ]
|
|
48
|
+
// };
|
|
49
|
+
// }
|
|
@@ -6,5 +6,6 @@ export const propTypes = {
|
|
|
6
6
|
size: PropTypes.oneOf(['small', 'medium', 'large', 'xlarge']),
|
|
7
7
|
text: PropTypes.string,
|
|
8
8
|
type: PropTypes.oneOf(['default', 'flag', 'plain', 'ribbon', 'box', 'stamp', 'sticker', 'tag']),
|
|
9
|
-
customClass: PropTypes.string
|
|
9
|
+
customClass: PropTypes.string,
|
|
10
|
+
dataSelectorId: PropTypes.string
|
|
10
11
|
};
|
|
@@ -22,9 +22,10 @@ export default function RippleEffect(props) {
|
|
|
22
22
|
}
|
|
23
23
|
RippleEffect.defaultProps = defaultProps;
|
|
24
24
|
RippleEffect.propTypes = propTypes;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
25
|
+
|
|
26
|
+
// if (__DOCS__) {
|
|
27
|
+
// RippleEffect.docs = {
|
|
28
|
+
// componentGroup: 'RippleEffect',
|
|
29
|
+
// folderName: 'Style Guide'
|
|
30
|
+
// };
|
|
31
|
+
// }
|
package/es/Select/GroupSelect.js
CHANGED
|
@@ -541,7 +541,8 @@ export class GroupSelectComponent extends PureComponent {
|
|
|
541
541
|
i18nKeys,
|
|
542
542
|
htmlId,
|
|
543
543
|
iconOnHover,
|
|
544
|
-
isLoading
|
|
544
|
+
isLoading,
|
|
545
|
+
dataSelectorId
|
|
545
546
|
} = this.props;
|
|
546
547
|
i18nKeys = Object.assign({}, i18nKeys, {
|
|
547
548
|
emptyText: i18nKeys.emptyText || emptyMessage,
|
|
@@ -569,7 +570,8 @@ export class GroupSelectComponent extends PureComponent {
|
|
|
569
570
|
return /*#__PURE__*/React.createElement("div", {
|
|
570
571
|
className: `${style.container} ${style[`box_${size}`]} ${isReadOnly ? style.readonly : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${iconOnHover && (isReadOnly || isDisabled) ? style.iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? style.iconOnHoverStyle : ''}`,
|
|
571
572
|
"data-id": dataIdSlctComp,
|
|
572
|
-
"data-title": isDisabled ? title : null
|
|
573
|
+
"data-title": isDisabled ? title : null,
|
|
574
|
+
"data-selector-id": dataSelectorId
|
|
573
575
|
}, /*#__PURE__*/React.createElement("div", {
|
|
574
576
|
className: `${className ? className : ''}`,
|
|
575
577
|
onClick: isDisabled || isReadOnly ? null : this.togglePopup,
|
|
@@ -742,11 +744,12 @@ GroupSelectComponent.displayName = 'GroupSelect';
|
|
|
742
744
|
let GroupSelect = Popup(GroupSelectComponent);
|
|
743
745
|
GroupSelect.defaultProps = GroupSelectComponent.defaultProps;
|
|
744
746
|
export default GroupSelect;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
747
|
+
|
|
748
|
+
// if (__DOCS__) {
|
|
749
|
+
// GroupSelect.docs = {
|
|
750
|
+
// componentGroup: 'Form Elements',
|
|
751
|
+
// folderName: 'Style Guide'
|
|
752
|
+
// };
|
|
753
|
+
// // eslint-disable-next-line react/forbid-foreign-prop-types
|
|
754
|
+
// GroupSelect.propTypes = GroupSelectComponent.propTypes;
|
|
755
|
+
// }
|
package/es/Select/Select.js
CHANGED
|
@@ -677,7 +677,8 @@ export class SelectComponent extends Component {
|
|
|
677
677
|
customProps,
|
|
678
678
|
autoComplete,
|
|
679
679
|
ariaLabelledby,
|
|
680
|
-
isLoading
|
|
680
|
+
isLoading,
|
|
681
|
+
dataSelectorId
|
|
681
682
|
} = this.props;
|
|
682
683
|
let {
|
|
683
684
|
TextBoxIcon_i18n,
|
|
@@ -705,7 +706,8 @@ export class SelectComponent extends Component {
|
|
|
705
706
|
} = customProps;
|
|
706
707
|
return /*#__PURE__*/React.createElement("div", {
|
|
707
708
|
className: `${isParentBased || isReadOnly || isDisabled ? style.container : ''} ${style[`box_${size}`]} ${isReadOnly ? style.readonly : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''} ${iconOnHover && (isReadOnly || isDisabled) ? style.iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? style.iconOnHoverStyle : ''}`,
|
|
708
|
-
"data-title": isDisabled ? title : null
|
|
709
|
+
"data-title": isDisabled ? title : null,
|
|
710
|
+
"data-selector-id": dataSelectorId
|
|
709
711
|
}, /*#__PURE__*/React.createElement("div", {
|
|
710
712
|
className: `${className ? className : ''}`,
|
|
711
713
|
onClick: isDisabled || isReadOnly ? null : this.togglePopup,
|
|
@@ -893,13 +895,14 @@ SelectComponent.displayName = 'Select';
|
|
|
893
895
|
let Select = Popup(SelectComponent);
|
|
894
896
|
Select.defaultProps = SelectComponent.defaultProps;
|
|
895
897
|
export default Select;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
898
|
+
|
|
899
|
+
// if (__DOCS__) {
|
|
900
|
+
// Select.docs = {
|
|
901
|
+
// componentGroup: 'Form Elements',
|
|
902
|
+
// folderName: 'Style Guide',
|
|
903
|
+
// external: true,
|
|
904
|
+
// description: ' '
|
|
905
|
+
// };
|
|
906
|
+
// // eslint-disable-next-line react/forbid-foreign-prop-types
|
|
907
|
+
// Select.propTypes = SelectComponent.propTypes;
|
|
908
|
+
// }
|
|
@@ -144,7 +144,8 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
144
144
|
i18nKeys,
|
|
145
145
|
htmlId,
|
|
146
146
|
needEffect,
|
|
147
|
-
isLoading
|
|
147
|
+
isLoading,
|
|
148
|
+
dataSelectorId
|
|
148
149
|
} = this.props;
|
|
149
150
|
i18nKeys = Object.assign({}, i18nKeys, {
|
|
150
151
|
emptyText: i18nKeys.emptyText || emptyMessage,
|
|
@@ -169,7 +170,8 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
169
170
|
return /*#__PURE__*/React.createElement("div", {
|
|
170
171
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${isReadOnly ? style.readOnly : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''} ${className ? className : ''}`,
|
|
171
172
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
172
|
-
"data-title": isDisabled ? title : null
|
|
173
|
+
"data-title": isDisabled ? title : null,
|
|
174
|
+
"data-selector-id": dataSelectorId
|
|
173
175
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
174
176
|
align: "vertical",
|
|
175
177
|
alignBox: "row",
|
|
@@ -313,12 +315,14 @@ SelectWithAvatarComponent.defaultProps = SelectWithAvatar_defaultProps;
|
|
|
313
315
|
SelectWithAvatarComponent.displayName = 'SelectWithAvatar';
|
|
314
316
|
let SelectWithAvatar = Popup(SelectWithAvatarComponent);
|
|
315
317
|
SelectWithAvatar.defaultProps = SelectWithAvatarComponent.defaultProps;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
318
|
+
|
|
319
|
+
// if (__DOCS__) {
|
|
320
|
+
// SelectWithAvatar.docs = {
|
|
321
|
+
// componentGroup: 'Form Elements',
|
|
322
|
+
// folderName: 'Style Guide'
|
|
323
|
+
// };
|
|
324
|
+
// // eslint-disable-next-line react/forbid-foreign-prop-types
|
|
325
|
+
// SelectWithAvatar.propTypes = SelectWithAvatarComponent.propTypes;
|
|
326
|
+
// }
|
|
327
|
+
|
|
324
328
|
export default SelectWithAvatar;
|
|
@@ -304,7 +304,8 @@ class SelectWithIcon extends Component {
|
|
|
304
304
|
iconClass,
|
|
305
305
|
i18nKeys,
|
|
306
306
|
htmlId,
|
|
307
|
-
isLoading
|
|
307
|
+
isLoading,
|
|
308
|
+
dataSelectorId
|
|
308
309
|
} = this.props;
|
|
309
310
|
i18nKeys = Object.assign({}, i18nKeys, {
|
|
310
311
|
emptyText: i18nKeys.emptyText || emptyMessage,
|
|
@@ -320,7 +321,8 @@ class SelectWithIcon extends Component {
|
|
|
320
321
|
let ariaErrorId = this.getNextAriaId();
|
|
321
322
|
return /*#__PURE__*/React.createElement("div", {
|
|
322
323
|
className: `${style.container} ${style[`box_${size}`]} ${isReadOnly ? style.readonly : ''} ${borderColor === 'transparent' ? style.transparentContainer : ''}`,
|
|
323
|
-
"data-title": isDisabled ? title : null
|
|
324
|
+
"data-title": isDisabled ? title : null,
|
|
325
|
+
"data-selector-id": dataSelectorId
|
|
324
326
|
}, /*#__PURE__*/React.createElement("div", {
|
|
325
327
|
className: `${className ? className : ''}`,
|
|
326
328
|
onClick: isDisabled || isReadOnly ? null : this.togglePopup,
|
|
@@ -476,10 +478,11 @@ class SelectWithIcon extends Component {
|
|
|
476
478
|
}
|
|
477
479
|
SelectWithIcon.propTypes = SelectWithIcon_propTypes;
|
|
478
480
|
SelectWithIcon.defaultProps = SelectWithIcon_defaultProps;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
481
|
+
|
|
482
|
+
// if (__DOCS__) {
|
|
483
|
+
// SelectWithIcon.docs = {
|
|
484
|
+
// componentGroup: 'Form Elements',
|
|
485
|
+
// folderName: 'Style Guide'
|
|
486
|
+
// };
|
|
487
|
+
// }
|
|
485
488
|
export default Popup(SelectWithIcon);
|
|
@@ -4,6 +4,7 @@ export const Select_defaultProps = {
|
|
|
4
4
|
autoComplete: getLibraryConfig('autoComplete'),
|
|
5
5
|
autoSelectOnType: true,
|
|
6
6
|
dataId: 'selectComponent',
|
|
7
|
+
dataSelectorId: 'select',
|
|
7
8
|
dropBoxSize: 'small',
|
|
8
9
|
isDefaultSelectValue: true,
|
|
9
10
|
isDisabled: false,
|
|
@@ -37,6 +38,7 @@ export const GroupSelect_defaultProps = {
|
|
|
37
38
|
animationStyle: 'bounce',
|
|
38
39
|
defaultDropBoxPosition: 'bottom',
|
|
39
40
|
dropBoxSize: 'small',
|
|
41
|
+
dataSelectorId: 'groupSelect',
|
|
40
42
|
isDefaultSelectValue: true,
|
|
41
43
|
isDisabled: false,
|
|
42
44
|
isReadOnly: false,
|
|
@@ -82,6 +84,7 @@ export const SelectWithAvatar_defaultProps = {
|
|
|
82
84
|
textField: 'text',
|
|
83
85
|
valueField: 'id',
|
|
84
86
|
dataId: 'selectWithAvatar',
|
|
87
|
+
dataSelectorId: 'selectWithAvatar',
|
|
85
88
|
borderColor: 'default',
|
|
86
89
|
isSearchClearOnClose: true,
|
|
87
90
|
i18nKeys: {},
|
|
@@ -106,6 +109,7 @@ export const SelectWithIcon_defaultProps = {
|
|
|
106
109
|
textBoxSize: 'medium',
|
|
107
110
|
textBoxVariant: 'default',
|
|
108
111
|
dataId: 'selectWithIcon',
|
|
112
|
+
dataSelectorId: 'selectWithIcon',
|
|
109
113
|
dropBoxSize: 'small',
|
|
110
114
|
needIcon: true,
|
|
111
115
|
iconSize: '14',
|
|
@@ -84,7 +84,8 @@ export const Select_propTypes = {
|
|
|
84
84
|
listItemProps: PropTypes.object,
|
|
85
85
|
SuggestionsProps: PropTypes.object
|
|
86
86
|
}),
|
|
87
|
-
isLoading: PropTypes.bool
|
|
87
|
+
isLoading: PropTypes.bool,
|
|
88
|
+
dataSelectorId: PropTypes.string
|
|
88
89
|
};
|
|
89
90
|
export const GroupSelect_propTypes = {
|
|
90
91
|
groupedOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -161,7 +162,8 @@ export const GroupSelect_propTypes = {
|
|
|
161
162
|
noMoreText: PropTypes.string,
|
|
162
163
|
searchEmptyText: PropTypes.string
|
|
163
164
|
}),
|
|
164
|
-
isLoading: PropTypes.bool
|
|
165
|
+
isLoading: PropTypes.bool,
|
|
166
|
+
dataSelectorId: PropTypes.string
|
|
165
167
|
};
|
|
166
168
|
export const SelectWithAvatar_propTypes = {
|
|
167
169
|
animationStyle: PropTypes.string,
|
|
@@ -219,7 +221,8 @@ export const SelectWithAvatar_propTypes = {
|
|
|
219
221
|
valueField: PropTypes.string,
|
|
220
222
|
htmlId: PropTypes.string,
|
|
221
223
|
needEffect: PropTypes.bool,
|
|
222
|
-
isLoading: PropTypes.bool
|
|
224
|
+
isLoading: PropTypes.bool,
|
|
225
|
+
dataSelectorId: PropTypes.string
|
|
223
226
|
};
|
|
224
227
|
export const SelectWithIcon_propTypes = {
|
|
225
228
|
animationStyle: PropTypes.oneOf(['default', 'bounce']),
|
|
@@ -265,5 +268,6 @@ export const SelectWithIcon_propTypes = {
|
|
|
265
268
|
togglePopup: PropTypes.func,
|
|
266
269
|
valueKey: PropTypes.string,
|
|
267
270
|
htmlId: PropTypes.string,
|
|
268
|
-
isLoading: PropTypes.bool
|
|
271
|
+
isLoading: PropTypes.bool,
|
|
272
|
+
dataSelectorId: PropTypes.string
|
|
269
273
|
};
|
package/es/Stencils/Stencils.js
CHANGED
|
@@ -20,11 +20,12 @@ export default class Stencils extends React.PureComponent {
|
|
|
20
20
|
}
|
|
21
21
|
Stencils.propTypes = propTypes;
|
|
22
22
|
Stencils.defaultProps = defaultProps;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
23
|
+
|
|
24
|
+
// if (__DOCS__) {
|
|
25
|
+
// Stencils.docs = {
|
|
26
|
+
// componentGroup: 'Atom',
|
|
27
|
+
// folderName: 'Style Guide',
|
|
28
|
+
// description: ' ',
|
|
29
|
+
// external: true
|
|
30
|
+
// };
|
|
31
|
+
// }
|