@zohodesk/components 1.0.0-alpha-248 → 1.0.0-alpha-250
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 +10 -1
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
- package/es/Accordion/Accordion.js +4 -20
- package/es/Accordion/AccordionItem.js +4 -19
- package/es/Accordion/props/defaultProps.js +8 -0
- package/es/Accordion/props/propTypes.js +30 -0
- package/es/Animation/Animation.js +4 -25
- package/es/Animation/props/defaultProps.js +7 -0
- package/es/Animation/props/propTypes.js +12 -0
- package/es/AppContainer/AppContainer.js +4 -23
- package/es/AppContainer/props/defaultProps.js +8 -0
- package/es/AppContainer/props/propTypes.js +15 -0
- package/es/Avatar/Avatar.js +38 -70
- package/es/Avatar/Avatar.module.css +18 -0
- package/es/Avatar/props/defaultProps.js +14 -0
- package/es/Avatar/props/propTypes.js +23 -0
- package/es/AvatarTeam/AvatarTeam.js +4 -36
- package/es/AvatarTeam/props/defaultProps.js +13 -0
- package/es/AvatarTeam/props/propTypes.js +23 -0
- package/es/Button/Button.js +4 -47
- package/es/Button/props/defaultProps.js +15 -0
- package/es/Button/props/propTypes.js +22 -0
- package/es/Buttongroup/Buttongroup.js +4 -11
- package/es/Buttongroup/props/defaultProps.js +4 -0
- package/es/Buttongroup/props/propTypes.js +7 -0
- package/es/Card/Card.js +8 -61
- package/es/Card/props/defaultProps.js +15 -0
- package/es/Card/props/propTypes.js +43 -0
- package/es/CheckBox/CheckBox.js +4 -59
- package/es/CheckBox/props/defaultProps.js +18 -0
- package/es/CheckBox/props/propTypes.js +41 -0
- package/es/DateTime/CalendarView.js +6 -26
- package/es/DateTime/DateTime.js +4 -62
- package/es/DateTime/DateWidget.js +4 -83
- package/es/DateTime/YearView.js +4 -12
- package/es/DateTime/props/defaultProps.js +50 -0
- package/es/DateTime/props/propTypes.js +130 -0
- package/es/DropBox/DropBox.js +4 -71
- package/es/DropBox/props/defaultProps.js +20 -0
- package/es/DropBox/props/propTypes.js +47 -0
- package/es/DropDown/DropDown.js +7 -34
- package/es/DropDown/DropDownHeading.js +4 -19
- package/es/DropDown/DropDownItem.js +4 -18
- package/es/DropDown/DropDownSearch.js +4 -24
- package/es/DropDown/DropDownSeparator.js +2 -4
- package/es/DropDown/props/defaultProps.js +18 -0
- package/es/DropDown/props/propTypes.js +77 -0
- package/es/Heading/Heading.js +36 -0
- package/es/Heading/Heading.module.css +5 -0
- package/es/Heading/docs/Heading__default.docs.js +21 -0
- package/es/Heading/props/defaultProps.js +5 -0
- package/es/Heading/props/propTypes.js +11 -0
- package/es/Label/Label.js +4 -24
- package/es/Label/props/defaultProps.js +10 -0
- package/es/Label/props/propTypes.js +14 -0
- package/es/ListItem/ListContainer.js +4 -41
- package/es/ListItem/ListItem.js +4 -50
- package/es/ListItem/ListItemWithAvatar.js +4 -56
- package/es/ListItem/ListItemWithCheckBox.js +4 -40
- package/es/ListItem/ListItemWithIcon.js +4 -47
- package/es/ListItem/ListItemWithRadio.js +4 -41
- package/es/ListItem/props/defaultProps.js +85 -0
- package/es/ListItem/props/propTypes.js +185 -0
- package/es/Modal/Modal.js +4 -9
- package/es/Modal/props/defaultProps.js +3 -0
- package/es/Modal/props/propTypes.js +6 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +4 -90
- package/es/MultiSelect/AdvancedMultiSelect.js +4 -113
- package/es/MultiSelect/EmptyState.js +4 -29
- package/es/MultiSelect/MultiSelect.js +4 -113
- package/es/MultiSelect/MultiSelectHeader.js +4 -12
- package/es/MultiSelect/MultiSelectWithAvatar.js +4 -99
- package/es/MultiSelect/SelectedOptions.js +4 -19
- package/es/MultiSelect/Suggestions.js +5 -34
- package/es/MultiSelect/props/defaultProps.js +140 -0
- package/es/MultiSelect/props/propTypes.js +360 -0
- package/es/PopOver/PopOver.js +7 -78
- package/es/PopOver/props/defaultProps.js +7 -0
- package/es/PopOver/props/propTypes.js +53 -0
- package/es/Radio/Radio.js +4 -46
- package/es/Radio/props/defaultProps.js +14 -0
- package/es/Radio/props/propTypes.js +32 -0
- package/es/Responsive/CustomResponsive.js +8 -19
- package/es/Responsive/Responsive.js +8 -23
- package/es/Responsive/props/defaultProps.js +13 -0
- package/es/Responsive/props/propTypes.js +25 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +4 -11
- package/es/ResponsiveDropBox/props/defaultProps.js +4 -0
- package/es/ResponsiveDropBox/props/propTypes.js +7 -0
- package/es/Ribbon/Ribbon.js +4 -25
- package/es/Ribbon/props/defaultProps.js +8 -0
- package/es/Ribbon/props/propTypes.js +10 -0
- package/es/RippleEffect/RippleEffect.js +4 -20
- package/es/RippleEffect/props/defaultProps.js +9 -0
- package/es/RippleEffect/props/propTypes.js +11 -0
- package/es/Select/GroupSelect.js +4 -109
- package/es/Select/Select.js +4 -120
- package/es/Select/SelectWithAvatar.js +4 -80
- package/es/Select/SelectWithIcon.js +4 -70
- package/es/Select/props/defaultProps.js +110 -0
- package/es/Select/props/propTypes.js +266 -0
- package/es/Stencils/Stencils.js +4 -17
- package/es/Stencils/props/defaultProps.js +6 -0
- package/es/Stencils/props/propTypes.js +7 -0
- package/es/Switch/Switch.js +4 -37
- package/es/Switch/props/defaultProps.js +10 -0
- package/es/Switch/props/propTypes.js +27 -0
- package/es/Tab/Tab.js +4 -31
- package/es/Tab/TabContent.js +4 -10
- package/es/Tab/TabContentWrapper.js +4 -12
- package/es/Tab/TabWrapper.js +4 -25
- package/es/Tab/Tabs.js +6 -68
- package/es/Tab/props/defaultProps.js +39 -0
- package/es/Tab/props/propTypes.js +102 -0
- package/es/Tag/Tag.js +4 -47
- package/es/Tag/props/defaultProps.js +13 -0
- package/es/Tag/props/propTypes.js +34 -0
- package/es/TextBox/TextBox.js +4 -72
- package/es/TextBox/props/defaultProps.js +19 -0
- package/es/TextBox/props/propTypes.js +53 -0
- package/es/TextBoxIcon/TextBoxIcon.js +4 -70
- package/es/TextBoxIcon/props/defaultProps.js +21 -0
- package/es/TextBoxIcon/props/propTypes.js +49 -0
- package/es/Textarea/Textarea.js +4 -47
- package/es/Textarea/props/defaultProps.js +16 -0
- package/es/Textarea/props/propTypes.js +31 -0
- package/es/Tooltip/Tooltip.js +4 -12
- package/es/Tooltip/props/defaultProps.js +4 -0
- package/es/Tooltip/props/propTypes.js +8 -0
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +4 -23
- package/es/VelocityAnimation/VelocityAnimation/props/defaultProps.js +7 -0
- package/es/VelocityAnimation/VelocityAnimation/props/propTypes.js +12 -0
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +4 -37
- package/es/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +15 -0
- package/es/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +19 -0
- package/es/deprecated/PortalLayer/PortalLayer.js +4 -16
- package/es/deprecated/PortalLayer/props/defaultProps.js +5 -0
- package/es/deprecated/PortalLayer/props/propTypes.js +11 -0
- package/es/index.js +3 -1
- package/es/semantic/Button/Button.js +4 -38
- package/es/semantic/Button/props/defaultProps.js +12 -0
- package/es/semantic/Button/props/propTypes.js +26 -0
- package/lib/Accordion/Accordion.js +5 -20
- package/lib/Accordion/AccordionItem.js +5 -19
- package/lib/Accordion/props/defaultProps.js +16 -0
- package/lib/Accordion/props/propTypes.js +42 -0
- package/lib/Animation/Animation.js +5 -25
- package/lib/Animation/props/defaultProps.js +14 -0
- package/lib/Animation/props/propTypes.js +23 -0
- package/lib/AppContainer/AppContainer.js +5 -23
- package/lib/AppContainer/props/defaultProps.js +15 -0
- package/lib/AppContainer/props/propTypes.js +26 -0
- package/lib/Avatar/Avatar.js +31 -68
- package/lib/Avatar/Avatar.module.css +18 -0
- package/lib/Avatar/props/defaultProps.js +21 -0
- package/lib/Avatar/props/propTypes.js +34 -0
- package/lib/AvatarTeam/AvatarTeam.js +5 -36
- package/lib/AvatarTeam/props/defaultProps.js +20 -0
- package/lib/AvatarTeam/props/propTypes.js +34 -0
- package/lib/Button/Button.js +5 -48
- package/lib/Button/props/defaultProps.js +24 -0
- package/lib/Button/props/propTypes.js +33 -0
- package/lib/Buttongroup/Buttongroup.js +5 -11
- package/lib/Buttongroup/props/defaultProps.js +11 -0
- package/lib/Buttongroup/props/propTypes.js +18 -0
- package/lib/Card/Card.js +9 -61
- package/lib/Card/props/defaultProps.js +23 -0
- package/lib/Card/props/propTypes.js +57 -0
- package/lib/CheckBox/CheckBox.js +5 -59
- package/lib/CheckBox/props/defaultProps.js +25 -0
- package/lib/CheckBox/props/propTypes.js +52 -0
- package/lib/DateTime/CalendarView.js +7 -26
- package/lib/DateTime/DateTime.js +5 -62
- package/lib/DateTime/DateWidget.js +5 -83
- package/lib/DateTime/YearView.js +5 -12
- package/lib/DateTime/props/defaultProps.js +61 -0
- package/lib/DateTime/props/propTypes.js +145 -0
- package/lib/DropBox/DropBox.js +5 -71
- package/lib/DropBox/props/defaultProps.js +27 -0
- package/lib/DropBox/props/propTypes.js +58 -0
- package/lib/DropDown/DropDown.js +8 -34
- package/lib/DropDown/DropDownHeading.js +5 -19
- package/lib/DropDown/DropDownItem.js +5 -18
- package/lib/DropDown/DropDownSearch.js +5 -23
- package/lib/DropDown/DropDownSeparator.js +2 -4
- package/lib/DropDown/props/defaultProps.js +28 -0
- package/lib/DropDown/props/propTypes.js +94 -0
- package/lib/Heading/Heading.js +91 -0
- package/lib/Heading/Heading.module.css +5 -0
- package/lib/Heading/docs/Heading__default.docs.js +74 -0
- package/lib/Heading/props/defaultProps.js +12 -0
- package/lib/Heading/props/propTypes.js +22 -0
- package/lib/Label/Label.js +5 -24
- package/lib/Label/props/defaultProps.js +17 -0
- package/lib/Label/props/propTypes.js +25 -0
- package/lib/ListItem/ListContainer.js +6 -42
- package/lib/ListItem/ListItem.js +6 -51
- package/lib/ListItem/ListItemWithAvatar.js +6 -37
- package/lib/ListItem/ListItemWithCheckBox.js +6 -41
- package/lib/ListItem/ListItemWithIcon.js +6 -48
- package/lib/ListItem/ListItemWithRadio.js +6 -42
- package/lib/ListItem/props/defaultProps.js +97 -0
- package/lib/ListItem/props/propTypes.js +181 -0
- package/lib/Modal/Modal.js +5 -9
- package/lib/Modal/props/defaultProps.js +10 -0
- package/lib/Modal/props/propTypes.js +17 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -91
- package/lib/MultiSelect/AdvancedMultiSelect.js +5 -113
- package/lib/MultiSelect/EmptyState.js +5 -29
- package/lib/MultiSelect/MultiSelect.js +5 -113
- package/lib/MultiSelect/MultiSelectHeader.js +5 -12
- package/lib/MultiSelect/MultiSelectWithAvatar.js +5 -99
- package/lib/MultiSelect/SelectedOptions.js +5 -19
- package/lib/MultiSelect/Suggestions.js +6 -34
- package/lib/MultiSelect/props/defaultProps.js +156 -0
- package/lib/MultiSelect/props/propTypes.js +378 -0
- package/lib/PopOver/PopOver.js +8 -78
- package/lib/PopOver/props/defaultProps.js +15 -0
- package/lib/PopOver/props/propTypes.js +66 -0
- package/lib/Radio/Radio.js +5 -46
- package/lib/Radio/props/defaultProps.js +21 -0
- package/lib/Radio/props/propTypes.js +43 -0
- package/lib/Responsive/CustomResponsive.js +11 -21
- package/lib/Responsive/Responsive.js +17 -24
- package/lib/Responsive/props/defaultProps.js +23 -0
- package/lib/Responsive/props/propTypes.js +39 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +5 -11
- package/lib/ResponsiveDropBox/props/defaultProps.js +11 -0
- package/lib/ResponsiveDropBox/props/propTypes.js +18 -0
- package/lib/Ribbon/Ribbon.js +5 -25
- package/lib/Ribbon/props/defaultProps.js +15 -0
- package/lib/Ribbon/props/propTypes.js +21 -0
- package/lib/RippleEffect/RippleEffect.js +5 -20
- package/lib/RippleEffect/props/defaultProps.js +16 -0
- package/lib/RippleEffect/props/propTypes.js +22 -0
- package/lib/Select/GroupSelect.js +5 -109
- package/lib/Select/Select.js +5 -120
- package/lib/Select/SelectWithAvatar.js +5 -80
- package/lib/Select/SelectWithIcon.js +5 -60
- package/lib/Select/props/defaultProps.js +113 -0
- package/lib/Select/props/propTypes.js +280 -0
- package/lib/Stencils/Stencils.js +5 -17
- package/lib/Stencils/props/defaultProps.js +13 -0
- package/lib/Stencils/props/propTypes.js +18 -0
- package/lib/Switch/Switch.js +5 -37
- package/lib/Switch/props/defaultProps.js +17 -0
- package/lib/Switch/props/propTypes.js +38 -0
- package/lib/Tab/Tab.js +5 -31
- package/lib/Tab/TabContent.js +5 -10
- package/lib/Tab/TabContentWrapper.js +5 -12
- package/lib/Tab/TabWrapper.js +5 -27
- package/lib/Tab/Tabs.js +13 -70
- package/lib/Tab/props/defaultProps.js +50 -0
- package/lib/Tab/props/propTypes.js +117 -0
- package/lib/Tag/Tag.js +5 -47
- package/lib/Tag/props/defaultProps.js +20 -0
- package/lib/Tag/props/propTypes.js +45 -0
- package/lib/TextBox/TextBox.js +5 -70
- package/lib/TextBox/props/defaultProps.js +26 -0
- package/lib/TextBox/props/propTypes.js +62 -0
- package/lib/TextBoxIcon/TextBoxIcon.js +5 -70
- package/lib/TextBoxIcon/props/defaultProps.js +28 -0
- package/lib/TextBoxIcon/props/propTypes.js +60 -0
- package/lib/Textarea/Textarea.js +5 -47
- package/lib/Textarea/props/defaultProps.js +23 -0
- package/lib/Textarea/props/propTypes.js +42 -0
- package/lib/Tooltip/Tooltip.js +5 -12
- package/lib/Tooltip/props/defaultProps.js +11 -0
- package/lib/Tooltip/props/propTypes.js +19 -0
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +5 -23
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +14 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +23 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +12 -38
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +22 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +30 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +5 -16
- package/lib/deprecated/PortalLayer/props/defaultProps.js +12 -0
- package/lib/deprecated/PortalLayer/props/propTypes.js +22 -0
- package/lib/index.js +19 -1
- package/lib/semantic/Button/Button.js +5 -38
- package/lib/semantic/Button/props/defaultProps.js +19 -0
- package/lib/semantic/Button/props/propTypes.js +37 -0
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
3
4
|
import { VelocityComponent } from 'velocity-react';
|
|
4
5
|
import 'velocity-animate/velocity.ui';
|
|
5
6
|
import LibraryContext from '../../Provider/LibraryContextInit';
|
|
@@ -67,28 +68,8 @@ export default class VelocityAnimation extends React.Component {
|
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
}
|
|
70
|
-
VelocityAnimation.defaultProps =
|
|
71
|
-
|
|
72
|
-
isCustomized: true,
|
|
73
|
-
needUIPack: true,
|
|
74
|
-
isFlex: false,
|
|
75
|
-
duration: 300
|
|
76
|
-
};
|
|
77
|
-
VelocityAnimation.propTypes = {
|
|
78
|
-
children: PropTypes.node.isRequired,
|
|
79
|
-
delay: PropTypes.number,
|
|
80
|
-
duration: PropTypes.number,
|
|
81
|
-
isActive: PropTypes.bool.isRequired,
|
|
82
|
-
isCustomized: PropTypes.bool,
|
|
83
|
-
isFlex: PropTypes.bool,
|
|
84
|
-
name: PropTypes.oneOf(['fade', 'slideRight', 'shrink', 'expand', 'slideDown', 'flyDown', 'slideLeft']),
|
|
85
|
-
needUIPack: PropTypes.bool,
|
|
86
|
-
runOnMount: PropTypes.bool
|
|
87
|
-
};
|
|
88
|
-
VelocityAnimation.contextTypes = {
|
|
89
|
-
direction: PropTypes.string,
|
|
90
|
-
isReducedMotion: PropTypes.bool
|
|
91
|
-
};
|
|
71
|
+
VelocityAnimation.defaultProps = defaultProps;
|
|
72
|
+
VelocityAnimation.propTypes = propTypes;
|
|
92
73
|
VelocityAnimation.contextType = LibraryContext;
|
|
93
74
|
|
|
94
75
|
if (false) {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
children: PropTypes.node.isRequired,
|
|
4
|
+
delay: PropTypes.number,
|
|
5
|
+
duration: PropTypes.number,
|
|
6
|
+
isActive: PropTypes.bool.isRequired,
|
|
7
|
+
isCustomized: PropTypes.bool,
|
|
8
|
+
isFlex: PropTypes.bool,
|
|
9
|
+
name: PropTypes.oneOf(['fade', 'slideRight', 'shrink', 'expand', 'slideDown', 'flyDown', 'slideLeft']),
|
|
10
|
+
needUIPack: PropTypes.bool,
|
|
11
|
+
runOnMount: PropTypes.bool
|
|
12
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import
|
|
4
|
+
import { defaultProps } from './props/defaultProps';
|
|
5
|
+
import { propTypes } from './props/propTypes';
|
|
5
6
|
import { VelocityTransitionGroup } from 'velocity-react';
|
|
6
7
|
import 'velocity-animate/velocity.ui';
|
|
7
8
|
import LibraryContext from '../../Provider/LibraryContextInit';
|
|
@@ -96,44 +97,10 @@ export default class VelocityAnimationGroup extends React.Component {
|
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
}
|
|
99
|
-
VelocityAnimationGroup.defaultProps = {
|
|
100
|
-
runOnMount: false,
|
|
101
|
-
enterHideStyle: {
|
|
102
|
-
display: 'none'
|
|
103
|
-
},
|
|
104
|
-
enterShowStyle: {
|
|
105
|
-
display: ''
|
|
106
|
-
},
|
|
107
|
-
isFlex: false,
|
|
108
|
-
enterDuration: 300,
|
|
109
|
-
exitDuration: 300,
|
|
110
|
-
isActive: false,
|
|
111
|
-
isCustomized: true,
|
|
112
|
-
needUIPack: true,
|
|
100
|
+
VelocityAnimationGroup.defaultProps = { ...defaultProps,
|
|
113
101
|
component: React.Fragment
|
|
114
102
|
};
|
|
115
|
-
VelocityAnimationGroup.propTypes =
|
|
116
|
-
children: PropTypes.node.isRequired,
|
|
117
|
-
component: PropTypes.element,
|
|
118
|
-
enterDelay: PropTypes.number,
|
|
119
|
-
enterDuration: PropTypes.number,
|
|
120
|
-
enterHideStyle: PropTypes.object,
|
|
121
|
-
enterName: PropTypes.string,
|
|
122
|
-
enterShowStyle: PropTypes.object,
|
|
123
|
-
exitDelay: PropTypes.number,
|
|
124
|
-
exitDuration: PropTypes.number,
|
|
125
|
-
exitName: PropTypes.string,
|
|
126
|
-
isActive: PropTypes.bool,
|
|
127
|
-
isCustomized: PropTypes.bool,
|
|
128
|
-
isFlex: PropTypes.bool,
|
|
129
|
-
name: PropTypes.oneOf(['fade', 'slideDown', 'flyDown', 'slideRight', 'shrink', 'expand', 'slideLeft']),
|
|
130
|
-
needUIPack: PropTypes.bool,
|
|
131
|
-
runOnMount: PropTypes.bool
|
|
132
|
-
};
|
|
133
|
-
VelocityAnimationGroup.contextTypes = {
|
|
134
|
-
direction: PropTypes.string,
|
|
135
|
-
isReducedMotion: PropTypes.bool
|
|
136
|
-
};
|
|
103
|
+
VelocityAnimationGroup.propTypes = propTypes;
|
|
137
104
|
VelocityAnimationGroup.contextType = LibraryContext;
|
|
138
105
|
|
|
139
106
|
if (false) {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const defaultProps = {
|
|
2
|
+
runOnMount: false,
|
|
3
|
+
enterHideStyle: {
|
|
4
|
+
display: 'none'
|
|
5
|
+
},
|
|
6
|
+
enterShowStyle: {
|
|
7
|
+
display: ''
|
|
8
|
+
},
|
|
9
|
+
isFlex: false,
|
|
10
|
+
enterDuration: 300,
|
|
11
|
+
exitDuration: 300,
|
|
12
|
+
isActive: false,
|
|
13
|
+
isCustomized: true,
|
|
14
|
+
needUIPack: true
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
children: PropTypes.node.isRequired,
|
|
4
|
+
component: PropTypes.element,
|
|
5
|
+
enterDelay: PropTypes.number,
|
|
6
|
+
enterDuration: PropTypes.number,
|
|
7
|
+
enterHideStyle: PropTypes.object,
|
|
8
|
+
enterName: PropTypes.string,
|
|
9
|
+
enterShowStyle: PropTypes.object,
|
|
10
|
+
exitDelay: PropTypes.number,
|
|
11
|
+
exitDuration: PropTypes.number,
|
|
12
|
+
exitName: PropTypes.string,
|
|
13
|
+
isActive: PropTypes.bool,
|
|
14
|
+
isCustomized: PropTypes.bool,
|
|
15
|
+
isFlex: PropTypes.bool,
|
|
16
|
+
name: PropTypes.oneOf(['fade', 'slideDown', 'flyDown', 'slideRight', 'shrink', 'expand', 'slideLeft']),
|
|
17
|
+
needUIPack: PropTypes.bool,
|
|
18
|
+
runOnMount: PropTypes.bool
|
|
19
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { propTypes } from './props/propTypes';
|
|
3
|
+
import { defaultProps } from './props/defaultProps'; //Components
|
|
3
4
|
|
|
4
5
|
import Modal from '../../Modal/Modal';
|
|
5
6
|
let RefElement = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
@@ -95,21 +96,8 @@ export default class PortalLayer extends React.Component {
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
}
|
|
98
|
-
PortalLayer.defaultProps =
|
|
99
|
-
|
|
100
|
-
isChildrenRestrictionNeeded: false,
|
|
101
|
-
portalId: 'portal1'
|
|
102
|
-
};
|
|
103
|
-
PortalLayer.propTypes = {
|
|
104
|
-
autoZIndexNeeded: PropTypes.bool,
|
|
105
|
-
children: PropTypes.element,
|
|
106
|
-
initialState: PropTypes.bool,
|
|
107
|
-
isChildrenRestrictionNeeded: PropTypes.bool,
|
|
108
|
-
portalId: PropTypes.string,
|
|
109
|
-
renderChildren: PropTypes.func,
|
|
110
|
-
saveGetFunction: PropTypes.func,
|
|
111
|
-
saveUpdateFunction: PropTypes.func
|
|
112
|
-
};
|
|
99
|
+
PortalLayer.defaultProps = defaultProps;
|
|
100
|
+
PortalLayer.propTypes = propTypes;
|
|
113
101
|
|
|
114
102
|
if (false) {
|
|
115
103
|
PortalLayer.docs = {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
autoZIndexNeeded: PropTypes.bool,
|
|
4
|
+
children: PropTypes.element,
|
|
5
|
+
initialState: PropTypes.bool,
|
|
6
|
+
isChildrenRestrictionNeeded: PropTypes.bool,
|
|
7
|
+
portalId: PropTypes.string,
|
|
8
|
+
renderChildren: PropTypes.func,
|
|
9
|
+
saveGetFunction: PropTypes.func,
|
|
10
|
+
saveUpdateFunction: PropTypes.func
|
|
11
|
+
};
|
package/es/index.js
CHANGED
|
@@ -150,4 +150,6 @@ export { default as Provider__Zindex_For_FunctionComponent } from './Provider/do
|
|
|
150
150
|
export { default as SemanticButton } from './semantic/Button/Button';
|
|
151
151
|
export { default as SemanticButton__default } from './semantic/Button/docs/Button__default.docs.js';
|
|
152
152
|
export { default as LightNightMode__AlternativeColors } from './LightNightMode/docs/AlternativeColors.docs';
|
|
153
|
-
export { default as ResponsiveDropBox } from './ResponsiveDropBox/ResponsiveDropBox';
|
|
153
|
+
export { default as ResponsiveDropBox } from './ResponsiveDropBox/ResponsiveDropBox';
|
|
154
|
+
export { default as Heading } from './Heading/Heading';
|
|
155
|
+
export { default as Heading__default } from './Heading/docs/Heading__default.docs.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
3
4
|
import style from './semanticButton.module.css';
|
|
4
5
|
export default class Button extends React.Component {
|
|
5
6
|
constructor(props) {
|
|
@@ -49,43 +50,8 @@ export default class Button extends React.Component {
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
}
|
|
52
|
-
Button.defaultProps =
|
|
53
|
-
|
|
54
|
-
autoFocus: false,
|
|
55
|
-
dataId: 'semanticButton',
|
|
56
|
-
disabled: false,
|
|
57
|
-
palette: 'primary',
|
|
58
|
-
text: 'Button',
|
|
59
|
-
type: 'button',
|
|
60
|
-
value: 'text',
|
|
61
|
-
customClass: '',
|
|
62
|
-
a11y: {}
|
|
63
|
-
};
|
|
64
|
-
Button.propTypes = {
|
|
65
|
-
ariaControls: PropTypes.bool,
|
|
66
|
-
ariaExpanded: PropTypes.bool,
|
|
67
|
-
ariaHaspopup: PropTypes.bool,
|
|
68
|
-
ariaLabel: PropTypes.string,
|
|
69
|
-
autofocus: PropTypes.bool,
|
|
70
|
-
children: PropTypes.node,
|
|
71
|
-
customClass: PropTypes.string,
|
|
72
|
-
dataId: PropTypes.string,
|
|
73
|
-
disabled: PropTypes.bool,
|
|
74
|
-
name: PropTypes.string,
|
|
75
|
-
onClick: PropTypes.func,
|
|
76
|
-
ref: PropTypes.func,
|
|
77
|
-
text: PropTypes.string,
|
|
78
|
-
title: PropTypes.string,
|
|
79
|
-
type: PropTypes.oneOf(['submit', 'reset', 'button']),
|
|
80
|
-
value: PropTypes.string,
|
|
81
|
-
a11y: PropTypes.shape({
|
|
82
|
-
ariaLabel: PropTypes.string,
|
|
83
|
-
ariaHaspopup: PropTypes.bool,
|
|
84
|
-
ariaExpanded: PropTypes.bool,
|
|
85
|
-
ariaControls: PropTypes.string,
|
|
86
|
-
ariaLabelledby: PropTypes.string
|
|
87
|
-
})
|
|
88
|
-
};
|
|
53
|
+
Button.defaultProps = defaultProps;
|
|
54
|
+
Button.propTypes = propTypes;
|
|
89
55
|
|
|
90
56
|
if (false) {
|
|
91
57
|
Button.docs = {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
ariaControls: PropTypes.bool,
|
|
4
|
+
ariaExpanded: PropTypes.bool,
|
|
5
|
+
ariaHaspopup: PropTypes.bool,
|
|
6
|
+
ariaLabel: PropTypes.string,
|
|
7
|
+
autofocus: PropTypes.bool,
|
|
8
|
+
children: PropTypes.node,
|
|
9
|
+
customClass: PropTypes.string,
|
|
10
|
+
dataId: PropTypes.string,
|
|
11
|
+
disabled: PropTypes.bool,
|
|
12
|
+
name: PropTypes.string,
|
|
13
|
+
onClick: PropTypes.func,
|
|
14
|
+
ref: PropTypes.func,
|
|
15
|
+
text: PropTypes.string,
|
|
16
|
+
title: PropTypes.string,
|
|
17
|
+
type: PropTypes.oneOf(['submit', 'reset', 'button']),
|
|
18
|
+
value: PropTypes.string,
|
|
19
|
+
a11y: PropTypes.shape({
|
|
20
|
+
ariaLabel: PropTypes.string,
|
|
21
|
+
ariaHaspopup: PropTypes.bool,
|
|
22
|
+
ariaExpanded: PropTypes.bool,
|
|
23
|
+
ariaControls: PropTypes.string,
|
|
24
|
+
ariaLabelledby: PropTypes.string
|
|
25
|
+
})
|
|
26
|
+
};
|
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
|
+
|
|
14
|
+
var _propTypes = require("./props/propTypes");
|
|
13
15
|
|
|
14
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
17
|
|
|
@@ -118,25 +120,8 @@ var Accordion = /*#__PURE__*/function (_React$Component) {
|
|
|
118
120
|
}(_react["default"].Component);
|
|
119
121
|
|
|
120
122
|
exports["default"] = Accordion;
|
|
121
|
-
Accordion.propTypes =
|
|
122
|
-
|
|
123
|
-
className: _propTypes["default"].string,
|
|
124
|
-
disableInternalState: _propTypes["default"].bool,
|
|
125
|
-
height: _propTypes["default"].string,
|
|
126
|
-
onSelect: _propTypes["default"].func,
|
|
127
|
-
selectedItem: _propTypes["default"].string.isRequired,
|
|
128
|
-
unMount: _propTypes["default"].bool,
|
|
129
|
-
a11y: _propTypes["default"].shape({
|
|
130
|
-
role: _propTypes["default"].string,
|
|
131
|
-
ariaExpanded: _propTypes["default"].bool,
|
|
132
|
-
ariaHaspopup: _propTypes["default"].bool
|
|
133
|
-
})
|
|
134
|
-
};
|
|
135
|
-
Accordion.defaultProps = {
|
|
136
|
-
unMount: true,
|
|
137
|
-
disableInternalState: false,
|
|
138
|
-
a11y: {}
|
|
139
|
-
};
|
|
123
|
+
Accordion.propTypes = _propTypes.Accordion_propTypes;
|
|
124
|
+
Accordion.defaultProps = _defaultProps.Accordion_defaultProps;
|
|
140
125
|
|
|
141
126
|
if (false) {
|
|
142
127
|
Accordion.docs = {
|
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
|
+
|
|
14
|
+
var _propTypes = require("./props/propTypes");
|
|
13
15
|
|
|
14
16
|
var _VelocityAnimation = _interopRequireDefault(require("../VelocityAnimation/VelocityAnimation/VelocityAnimation"));
|
|
15
17
|
|
|
@@ -97,24 +99,8 @@ var AccordionItem = /*#__PURE__*/function (_React$Component) {
|
|
|
97
99
|
}(_react["default"].Component);
|
|
98
100
|
|
|
99
101
|
exports["default"] = AccordionItem;
|
|
100
|
-
AccordionItem.propTypes =
|
|
101
|
-
|
|
102
|
-
className: _propTypes["default"].string,
|
|
103
|
-
dataId: _propTypes["default"].string,
|
|
104
|
-
equalityCheck: _propTypes["default"].func,
|
|
105
|
-
id: _propTypes["default"].string,
|
|
106
|
-
selectMenu: _propTypes["default"].func,
|
|
107
|
-
selectedItem: _propTypes["default"].string,
|
|
108
|
-
unMount: _propTypes["default"].bool,
|
|
109
|
-
unMountItem: _propTypes["default"].bool,
|
|
110
|
-
innerClass: _propTypes["default"].string,
|
|
111
|
-
a11y: _propTypes["default"].shape({
|
|
112
|
-
role: _propTypes["default"].string
|
|
113
|
-
})
|
|
114
|
-
};
|
|
115
|
-
AccordionItem.defaultProps = {
|
|
116
|
-
a11y: {}
|
|
117
|
-
};
|
|
102
|
+
AccordionItem.propTypes = _propTypes.AccordionItem_propTypes;
|
|
103
|
+
AccordionItem.defaultProps = _defaultProps.AccordionItem_defaultProps;
|
|
118
104
|
|
|
119
105
|
if (false) {
|
|
120
106
|
AccordionItem.docs = {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Accordion_defaultProps = exports.AccordionItem_defaultProps = void 0;
|
|
7
|
+
var Accordion_defaultProps = {
|
|
8
|
+
unMount: true,
|
|
9
|
+
disableInternalState: false,
|
|
10
|
+
a11y: {}
|
|
11
|
+
};
|
|
12
|
+
exports.Accordion_defaultProps = Accordion_defaultProps;
|
|
13
|
+
var AccordionItem_defaultProps = {
|
|
14
|
+
a11y: {}
|
|
15
|
+
};
|
|
16
|
+
exports.AccordionItem_defaultProps = AccordionItem_defaultProps;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Accordion_propTypes = exports.AccordionItem_propTypes = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var Accordion_propTypes = {
|
|
13
|
+
children: _propTypes["default"].node,
|
|
14
|
+
className: _propTypes["default"].string,
|
|
15
|
+
disableInternalState: _propTypes["default"].bool,
|
|
16
|
+
height: _propTypes["default"].string,
|
|
17
|
+
onSelect: _propTypes["default"].func,
|
|
18
|
+
selectedItem: _propTypes["default"].string.isRequired,
|
|
19
|
+
unMount: _propTypes["default"].bool,
|
|
20
|
+
a11y: _propTypes["default"].shape({
|
|
21
|
+
role: _propTypes["default"].string,
|
|
22
|
+
ariaExpanded: _propTypes["default"].bool,
|
|
23
|
+
ariaHaspopup: _propTypes["default"].bool
|
|
24
|
+
})
|
|
25
|
+
};
|
|
26
|
+
exports.Accordion_propTypes = Accordion_propTypes;
|
|
27
|
+
var AccordionItem_propTypes = {
|
|
28
|
+
children: _propTypes["default"].node,
|
|
29
|
+
className: _propTypes["default"].string,
|
|
30
|
+
dataId: _propTypes["default"].string,
|
|
31
|
+
equalityCheck: _propTypes["default"].func,
|
|
32
|
+
id: _propTypes["default"].string,
|
|
33
|
+
selectMenu: _propTypes["default"].func,
|
|
34
|
+
selectedItem: _propTypes["default"].string,
|
|
35
|
+
unMount: _propTypes["default"].bool,
|
|
36
|
+
unMountItem: _propTypes["default"].bool,
|
|
37
|
+
innerClass: _propTypes["default"].string,
|
|
38
|
+
a11y: _propTypes["default"].shape({
|
|
39
|
+
role: _propTypes["default"].string
|
|
40
|
+
})
|
|
41
|
+
};
|
|
42
|
+
exports.AccordionItem_propTypes = AccordionItem_propTypes;
|
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
|
+
|
|
14
|
+
var _propTypes = require("./props/propTypes");
|
|
13
15
|
|
|
14
16
|
var _reactTransitionGroup = require("react-transition-group");
|
|
15
17
|
|
|
@@ -171,30 +173,8 @@ var Animation = /*#__PURE__*/function (_React$Component) {
|
|
|
171
173
|
}(_react["default"].Component);
|
|
172
174
|
|
|
173
175
|
exports["default"] = Animation;
|
|
174
|
-
Animation.propTypes =
|
|
175
|
-
|
|
176
|
-
delayClassName: _propTypes["default"].string,
|
|
177
|
-
enterDuration: _propTypes["default"].number,
|
|
178
|
-
exitDuration: _propTypes["default"].number,
|
|
179
|
-
isActive: _propTypes["default"].bool,
|
|
180
|
-
name: _propTypes["default"].oneOf(['zoomIn', 'scaleIn', 'fadeIn', 'slideLeft', 'slideDown', 'skewIn', 'default', 'none']),
|
|
181
|
-
onEntered: _propTypes["default"].func,
|
|
182
|
-
onExit: _propTypes["default"].func,
|
|
183
|
-
unmountOnExit: _propTypes["default"].bool
|
|
184
|
-
};
|
|
185
|
-
Animation.defaultProps = {
|
|
186
|
-
enterDuration: 300,
|
|
187
|
-
exitDuration: 300,
|
|
188
|
-
isActive: false,
|
|
189
|
-
name: 'fadeIn',
|
|
190
|
-
unmountOnExit: true
|
|
191
|
-
}; // Animation.propTypesDescription = {
|
|
192
|
-
// name: ' ',
|
|
193
|
-
// children: ' ',
|
|
194
|
-
// enterDuration: ' ',
|
|
195
|
-
// exitDuration: ' ',
|
|
196
|
-
// isActive: ' '
|
|
197
|
-
// };
|
|
176
|
+
Animation.propTypes = _propTypes.propTypes;
|
|
177
|
+
Animation.defaultProps = _defaultProps.defaultProps;
|
|
198
178
|
|
|
199
179
|
if (false) {
|
|
200
180
|
Animation.docs = {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultProps = void 0;
|
|
7
|
+
var defaultProps = {
|
|
8
|
+
enterDuration: 300,
|
|
9
|
+
exitDuration: 300,
|
|
10
|
+
isActive: false,
|
|
11
|
+
name: 'fadeIn',
|
|
12
|
+
unmountOnExit: true
|
|
13
|
+
};
|
|
14
|
+
exports.defaultProps = defaultProps;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.propTypes = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var propTypes = {
|
|
13
|
+
children: _propTypes["default"].node,
|
|
14
|
+
delayClassName: _propTypes["default"].string,
|
|
15
|
+
enterDuration: _propTypes["default"].number,
|
|
16
|
+
exitDuration: _propTypes["default"].number,
|
|
17
|
+
isActive: _propTypes["default"].bool,
|
|
18
|
+
name: _propTypes["default"].oneOf(['zoomIn', 'scaleIn', 'fadeIn', 'slideLeft', 'slideDown', 'skewIn', 'default', 'none']),
|
|
19
|
+
onEntered: _propTypes["default"].func,
|
|
20
|
+
onExit: _propTypes["default"].func,
|
|
21
|
+
unmountOnExit: _propTypes["default"].bool
|
|
22
|
+
};
|
|
23
|
+
exports.propTypes = propTypes;
|
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
|
+
|
|
14
|
+
var _propTypes = require("./props/propTypes");
|
|
13
15
|
|
|
14
16
|
var _Layout = require("../Layout");
|
|
15
17
|
|
|
@@ -181,28 +183,8 @@ var AppContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
181
183
|
}(_react["default"].Component);
|
|
182
184
|
|
|
183
185
|
exports["default"] = AppContainer;
|
|
184
|
-
AppContainer.propTypes =
|
|
185
|
-
|
|
186
|
-
dataId: _propTypes["default"].string,
|
|
187
|
-
eleRef: _propTypes["default"].func,
|
|
188
|
-
tagName: _propTypes["default"].string,
|
|
189
|
-
className: _propTypes["default"].string,
|
|
190
|
-
tooltipClass: _propTypes["default"].string,
|
|
191
|
-
tooltipParentClass: _propTypes["default"].string,
|
|
192
|
-
customProps: _propTypes["default"].shape({
|
|
193
|
-
ContainerProps: _propTypes["default"].object,
|
|
194
|
-
TooltipProps: _propTypes["default"].object,
|
|
195
|
-
ExtraProps: _propTypes["default"].object
|
|
196
|
-
})
|
|
197
|
-
};
|
|
198
|
-
AppContainer.defaultProps = {
|
|
199
|
-
dataId: 'AppContainer',
|
|
200
|
-
tagName: 'div',
|
|
201
|
-
className: '',
|
|
202
|
-
tooltipClass: '',
|
|
203
|
-
tooltipParentClass: '',
|
|
204
|
-
customProps: {}
|
|
205
|
-
};
|
|
186
|
+
AppContainer.propTypes = _propTypes.propTypes;
|
|
187
|
+
AppContainer.defaultProps = _defaultProps.defaultProps;
|
|
206
188
|
|
|
207
189
|
if (false) {
|
|
208
190
|
AppContainer.docs = {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultProps = void 0;
|
|
7
|
+
var defaultProps = {
|
|
8
|
+
dataId: 'AppContainer',
|
|
9
|
+
tagName: 'div',
|
|
10
|
+
className: '',
|
|
11
|
+
tooltipClass: '',
|
|
12
|
+
tooltipParentClass: '',
|
|
13
|
+
customProps: {}
|
|
14
|
+
};
|
|
15
|
+
exports.defaultProps = defaultProps;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.propTypes = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var propTypes = {
|
|
13
|
+
children: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].arrayOf(_propTypes["default"].element)]),
|
|
14
|
+
dataId: _propTypes["default"].string,
|
|
15
|
+
eleRef: _propTypes["default"].func,
|
|
16
|
+
tagName: _propTypes["default"].string,
|
|
17
|
+
className: _propTypes["default"].string,
|
|
18
|
+
tooltipClass: _propTypes["default"].string,
|
|
19
|
+
tooltipParentClass: _propTypes["default"].string,
|
|
20
|
+
customProps: _propTypes["default"].shape({
|
|
21
|
+
ContainerProps: _propTypes["default"].object,
|
|
22
|
+
TooltipProps: _propTypes["default"].object,
|
|
23
|
+
ExtraProps: _propTypes["default"].object
|
|
24
|
+
})
|
|
25
|
+
};
|
|
26
|
+
exports.propTypes = propTypes;
|