@zohodesk/components 1.0.0-temp-73 → 1.0.0-temp-75
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/es/AppContainer/AppContainer.js +1 -1
- package/es/Avatar/Avatar.js +1 -1
- package/es/AvatarTeam/AvatarTeam.js +1 -1
- package/es/Button/Button.js +6 -3
- package/es/CheckBox/CheckBox.js +1 -1
- package/es/DropBox/DropBox.js +17 -5
- package/es/ListItem/ListContainer.js +3 -2
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItemWithAvatar.js +1 -1
- package/es/ListItem/ListItemWithCheckBox.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/ListItemWithRadio.js +1 -1
- package/es/Modal/Modal.js +1 -1
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
- package/es/MultiSelect/SelectedOptions.js +1 -1
- package/es/MultiSelect/Suggestions.js +1 -1
- package/es/Popup/Popup.js +1 -1
- package/es/Responsive/Responsive.js +0 -1
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/es/Select/Select.js +1 -1
- package/es/Select/SelectWithIcon.js +0 -1
- package/es/Switch/Switch.js +1 -1
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/TabWrapper.js +1 -1
- package/es/Tab/Tabs.js +1 -1
- package/es/TextBox/TextBox.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/Textarea/Textarea.js +1 -1
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/index.js +0 -9
- package/lib/Accordion/Accordion.js +2 -2
- package/lib/Accordion/AccordionItem.js +2 -2
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Animation/Animation.js +2 -2
- package/lib/Animation/docs/Animation__default.docs.js +2 -2
- package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/lib/AppContainer/AppContainer.js +3 -3
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
- package/lib/Button/Button.js +8 -5
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Buttongroup/Buttongroup.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
- package/lib/Card/Card.js +2 -2
- package/lib/Card/docs/Card__Custom.docs.js +2 -2
- package/lib/Card/docs/Card__Default.docs.js +2 -2
- package/lib/Card/docs/Card__Scroll.docs.js +2 -2
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateTime.js +2 -2
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +2 -2
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +2 -2
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DropBox/DropBox.js +20 -7
- package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
- package/lib/DropDown/DropDown.js +2 -2
- package/lib/DropDown/DropDownHeading.js +2 -2
- package/lib/DropDown/DropDownItem.js +2 -2
- package/lib/DropDown/DropDownSearch.js +2 -2
- package/lib/DropDown/DropDownSeparator.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/Label/Label.js +2 -2
- package/lib/Label/docs/Label__clipped.docs.js +2 -2
- package/lib/Label/docs/Label__custom.docs.js +2 -2
- package/lib/Label/docs/Label__palette.docs.js +2 -2
- package/lib/Label/docs/Label__size.docs.js +2 -2
- package/lib/Label/docs/Label__type.docs.js +2 -2
- package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
- package/lib/Layout/docs/Layout__default.docs.js +2 -2
- package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +2 -2
- package/lib/ListItem/ListContainer.js +3 -2
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +2 -2
- package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
- package/lib/MultiSelect/EmptyState.js +2 -2
- package/lib/MultiSelect/MultiSelect.js +2 -2
- package/lib/MultiSelect/MultiSelectHeader.js +2 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -2
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +3 -3
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
- package/lib/PopOver/PopOver.js +2 -2
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +2 -2
- package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
- package/lib/Provider.js +2 -2
- package/lib/Radio/Radio.js +2 -2
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +2 -2
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +3 -3
- package/lib/Ribbon/Ribbon.js +2 -2
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/Select/GroupSelect.js +2 -2
- package/lib/Select/Select.js +3 -3
- package/lib/Select/SelectWithAvatar.js +2 -2
- package/lib/Select/SelectWithIcon.js +2 -2
- package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
- package/lib/Select/docs/Select__default.docs.js +2 -2
- package/lib/Stencils/Stencils.js +2 -2
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +3 -3
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tag/Tag.js +2 -2
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
- package/lib/Tooltip/Tooltip.js +2 -2
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/index.js +0 -86
- package/lib/semantic/Button/Button.js +2 -2
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/package.json +4 -6
- package/es/ucl/Grid/Grid.js +0 -45
- package/es/ucl/Grid/componentNames.js +0 -6
- package/es/ucl/Grid/css/Grid.module.css +0 -217
- package/es/ucl/Grid/css/cssJSLogic.js +0 -46
- package/es/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +0 -41
- package/es/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +0 -49
- package/es/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +0 -32
- package/es/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +0 -41
- package/es/ucl/Grid/docs/Grid__Box_Alignment.docs.js +0 -37
- package/es/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +0 -41
- package/es/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +0 -45
- package/es/ucl/Grid/docs/Grid__default.docs.js +0 -61
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +0 -38
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +0 -63
- package/es/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +0 -23
- package/es/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +0 -21
- package/es/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +0 -16
- package/es/ucl/Grid/docs/css/gridDocsDefault.module.css +0 -15
- package/es/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +0 -38
- package/es/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +0 -47
- package/es/ucl/Grid/docs/css/gridDocsStyle.module.css +0 -30
- package/es/ucl/Grid/index.js +0 -5
- package/es/ucl/Grid/props/ariaPropTypes.js +0 -6
- package/es/ucl/Grid/props/defaultProps.js +0 -8
- package/es/ucl/Grid/props/propConstants.js +0 -66
- package/es/ucl/Grid/props/propTypes.js +0 -27
- package/lib/ucl/Grid/Grid.js +0 -70
- package/lib/ucl/Grid/componentNames.js +0 -13
- package/lib/ucl/Grid/css/Grid.module.css +0 -217
- package/lib/ucl/Grid/css/cssJSLogic.js +0 -44
- package/lib/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +0 -93
- package/lib/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +0 -101
- package/lib/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +0 -86
- package/lib/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +0 -93
- package/lib/ucl/Grid/docs/Grid__Box_Alignment.docs.js +0 -91
- package/lib/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +0 -93
- package/lib/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +0 -97
- package/lib/ucl/Grid/docs/Grid__default.docs.js +0 -113
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +0 -38
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +0 -63
- package/lib/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +0 -23
- package/lib/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +0 -21
- package/lib/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +0 -16
- package/lib/ucl/Grid/docs/css/gridDocsDefault.module.css +0 -15
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +0 -38
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +0 -47
- package/lib/ucl/Grid/docs/css/gridDocsStyle.module.css +0 -30
- package/lib/ucl/Grid/index.js +0 -31
- package/lib/ucl/Grid/props/ariaPropTypes.js +0 -23
- package/lib/ucl/Grid/props/defaultProps.js +0 -19
- package/lib/ucl/Grid/props/propConstants.js +0 -73
- package/lib/ucl/Grid/props/propTypes.js +0 -46
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
package/es/Avatar/Avatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
package/es/Button/Button.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -26,7 +28,8 @@ export default class Button extends React.Component {
|
|
|
26
28
|
needAppearance,
|
|
27
29
|
getRef,
|
|
28
30
|
title,
|
|
29
|
-
customClass
|
|
31
|
+
customClass,
|
|
32
|
+
customProps
|
|
30
33
|
} = this.props;
|
|
31
34
|
let {
|
|
32
35
|
customButton = '',
|
|
@@ -37,7 +40,7 @@ export default class Button extends React.Component {
|
|
|
37
40
|
let statusLower = status.toLowerCase();
|
|
38
41
|
let classList = needAppearance ? `${style[paletteLower]} ${rounded ? style.rounded : ''} ${!children ? style[size.toLowerCase()] : `${style[`${size}Btn`]}
|
|
39
42
|
${rounded ? style[`${size}Btn${paletteLower}`] : ''}`} ${statusLower !== 'none' ? style.loader : ''}` : `${style.default}`;
|
|
40
|
-
return /*#__PURE__*/React.createElement("button", {
|
|
43
|
+
return /*#__PURE__*/React.createElement("button", _extends({
|
|
41
44
|
className: `${customButton} ${classList} ${isBold ? style.bold : ''} `,
|
|
42
45
|
"data-id": disabled ? `${dataId}_disabled` : dataId,
|
|
43
46
|
disabled: disabled || statusLower === 'loading',
|
|
@@ -45,7 +48,7 @@ export default class Button extends React.Component {
|
|
|
45
48
|
"data-title": title,
|
|
46
49
|
type: "button",
|
|
47
50
|
ref: getRef
|
|
48
|
-
}, children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
|
|
51
|
+
}, customProps), children ? children : text, statusLower !== 'none' && needAppearance && /*#__PURE__*/React.createElement("div", {
|
|
49
52
|
className: style.overlay
|
|
50
53
|
}, /*#__PURE__*/React.createElement("div", {
|
|
51
54
|
className: `${customStatusSize} ${statusLower === 'loading' ? `${style.loading} ${style[`${size}loading`] ? style[`${size}loading`] : ''}` : style.success}`
|
package/es/CheckBox/CheckBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { propTypes } from './props/propTypes';
|
package/es/DropBox/DropBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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, { Fragment } from 'react';
|
|
4
4
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -10,10 +10,12 @@ import { positionMapping } from './DropBoxPositionMapping.json';
|
|
|
10
10
|
import { getZIndex } from '../Provider/ZindexProvider';
|
|
11
11
|
import { getLibraryConfig } from '../Provider/Config';
|
|
12
12
|
import LibraryContext from '../Provider/LibraryContextInit';
|
|
13
|
+
import FocusScope from '@zohodesk/a11y/lib/FocusScope/FocusScope';
|
|
13
14
|
export class DropBoxElement extends React.Component {
|
|
14
15
|
constructor(props) {
|
|
15
16
|
super(props);
|
|
16
17
|
this.getRef = this.getRef.bind(this);
|
|
18
|
+
this.createRef = /*#__PURE__*/React.createRef();
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
getRef(ele) {
|
|
@@ -63,7 +65,8 @@ export class DropBoxElement extends React.Component {
|
|
|
63
65
|
positionsOffset,
|
|
64
66
|
targetOffset,
|
|
65
67
|
zIndexStyle,
|
|
66
|
-
customStyle
|
|
68
|
+
customStyle,
|
|
69
|
+
onClose
|
|
67
70
|
} = this.props;
|
|
68
71
|
let {
|
|
69
72
|
isReducedMotion
|
|
@@ -148,7 +151,13 @@ export class DropBoxElement extends React.Component {
|
|
|
148
151
|
inlineStyle = Object.assign({}, inlineStyle, customStyle);
|
|
149
152
|
}
|
|
150
153
|
|
|
151
|
-
return /*#__PURE__*/React.createElement(
|
|
154
|
+
return /*#__PURE__*/React.createElement(FocusScope, {
|
|
155
|
+
focusClose: onClose,
|
|
156
|
+
elementRef: this.createRef,
|
|
157
|
+
autoFocus: true,
|
|
158
|
+
restoreFocus: true,
|
|
159
|
+
focusArrowLoop: true
|
|
160
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
152
161
|
className: boxClassName,
|
|
153
162
|
"data-id": `${dataId}`,
|
|
154
163
|
ref: this.getRef,
|
|
@@ -161,9 +170,12 @@ export class DropBoxElement extends React.Component {
|
|
|
161
170
|
"aria-labelledby": ariaLabelledby,
|
|
162
171
|
tabIndex: tabIndex
|
|
163
172
|
}, /*#__PURE__*/React.createElement("div", {
|
|
173
|
+
"data-a11y-focus-container": true,
|
|
174
|
+
tabIndex: "-1",
|
|
164
175
|
className: `${subContainerClass} ${style[`${palette}Palette`]}`,
|
|
165
176
|
onClick: onClick,
|
|
166
|
-
"data-id": `${dataId}_subcontainer
|
|
177
|
+
"data-id": `${dataId}_subcontainer`,
|
|
178
|
+
ref: this.createRef
|
|
167
179
|
}, isModel ? /*#__PURE__*/React.createElement("div", {
|
|
168
180
|
className: style.closeBar
|
|
169
181
|
}) : null, isArrow && !isModel && /*#__PURE__*/React.createElement("div", {
|
|
@@ -172,7 +184,7 @@ export class DropBoxElement extends React.Component {
|
|
|
172
184
|
"data-id": `${dataId}_arrow`
|
|
173
185
|
}, /*#__PURE__*/React.createElement("div", {
|
|
174
186
|
className: style.arrowShape
|
|
175
|
-
})), children));
|
|
187
|
+
})), children)));
|
|
176
188
|
}
|
|
177
189
|
|
|
178
190
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
@@ -65,12 +65,13 @@ const ListContainer = props => {
|
|
|
65
65
|
options['data-selected'] = active;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
if (!isDisabled && !isLink
|
|
68
|
+
if (!isDisabled && !isLink) {
|
|
69
69
|
options.tabindex = '0';
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
73
73
|
role: role,
|
|
74
|
+
"data-a11y-inside-focus": true,
|
|
74
75
|
"aria-selected": ariaSelected,
|
|
75
76
|
isCover: false,
|
|
76
77
|
align: "vertical",
|
package/es/ListItem/ListItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import ListContainer from './ListContainer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import Radio from '../Radio/Radio';
|
package/es/Modal/Modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
package/es/Popup/Popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.array.includes";
|
|
2
1
|
import React, { useContext, useEffect, useState, useMemo } from 'react'; // import React, { useState, useMemo, useCallback, useContext } from 'react';
|
|
3
2
|
|
|
4
3
|
import { ResponsiveSender_defaultProps, ResponsiveReceiver_defaultProps } from './props/defaultProps';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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, { Component } from 'react';
|
|
4
4
|
import { defaultProps } from './props/defaultProps';
|
package/es/Select/Select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/**** Libraries ****/
|
|
4
4
|
import React, { Component } from 'react';
|
package/es/Switch/Switch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
package/es/Tab/Tab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/* eslint-disable react/forbid-component-props */
|
|
4
4
|
|
package/es/Tab/TabWrapper.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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, { useState, useCallback } from 'react';
|
|
4
4
|
import { TabWrapper_defaultProps } from './props/defaultProps';
|
package/es/Tab/Tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
|
/* eslint-disable react/forbid-component-props */
|
|
4
4
|
|
package/es/TextBox/TextBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
package/es/Textarea/Textarea.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
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
4
|
import { defaultProps } from './props/defaultProps';
|
package/es/index.js
CHANGED
|
@@ -4,15 +4,6 @@ export { renderToStaticMarkup } from 'react-dom/server';
|
|
|
4
4
|
import './common/reset.module.css';
|
|
5
5
|
export { default as _provider } from './Provider';
|
|
6
6
|
export * from './Layout';
|
|
7
|
-
export * from './ucl/Grid';
|
|
8
|
-
export { default as Grid__default } from './ucl/Grid/docs/Grid__default.docs';
|
|
9
|
-
export { default as Grid__Basic_Detail_Layout } from './ucl/Grid/docs/Grid__Basic_Detail_Layout.docs';
|
|
10
|
-
export { default as Grid__Auto_Flow_Row } from './ucl/Grid/docs/Grid__Auto_Flow_Row.docs';
|
|
11
|
-
export { default as Grid__Area_Based_Detail_Layout } from './ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs';
|
|
12
|
-
export { default as Grid__Line_Based_Detail_Layout } from './ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs';
|
|
13
|
-
export { default as Grid__Area_Based_List_Layout } from './ucl/Grid/docs/Grid__Area_Based_List_Layout.docs';
|
|
14
|
-
export { default as Grid__Line_Based_List_Layout } from './ucl/Grid/docs/Grid__Line_Based_List_Layout.docs';
|
|
15
|
-
export { default as Grid__Box_Alignment } from './ucl/Grid/docs/Grid__Box_Alignment.docs';
|
|
16
7
|
export { default as Layout__default } from './Layout/docs/Layout__default.docs';
|
|
17
8
|
export { default as Layout__two_Column } from './Layout/docs/Layout__two_Column.docs';
|
|
18
9
|
export { default as Layout__three_Column } from './Layout/docs/Layout__three_Column.docs';
|
|
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
23
23
|
|
|
24
24
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
26
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
28
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
33
33
|
|
|
34
34
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
35
35
|
|
|
36
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
36
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
37
|
|
|
38
38
|
var Accordion = /*#__PURE__*/function (_React$Component) {
|
|
39
39
|
_inherits(Accordion, _React$Component);
|
|
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
27
27
|
|
|
28
28
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
32
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
37
37
|
|
|
38
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
39
|
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
41
|
|
|
42
42
|
var AccordionItem = /*#__PURE__*/function (_React$Component) {
|
|
43
43
|
_inherits(AccordionItem, _React$Component);
|
|
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
23
23
|
|
|
24
24
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
26
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
28
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
33
33
|
|
|
34
34
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
35
35
|
|
|
36
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
36
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
37
|
|
|
38
38
|
var Accordion__Demo = /*#__PURE__*/function (_React$Component) {
|
|
39
39
|
_inherits(Accordion__Demo, _React$Component);
|
|
@@ -27,7 +27,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
27
27
|
|
|
28
28
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
30
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
32
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
37
37
|
|
|
38
38
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
39
39
|
|
|
40
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
41
|
|
|
42
42
|
var Animation = /*#__PURE__*/function (_React$Component) {
|
|
43
43
|
_inherits(Animation, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__default = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__default, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__fadeIn = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__fadeIn, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__scaleIn = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__scaleIn, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__skewIn = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__skewIn, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__slideDown = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__slideDown, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__slideLeft = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__slideLeft, _React$Component);
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
28
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
35
35
|
|
|
36
36
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
37
|
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
38
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
39
|
|
|
40
40
|
var Animation__zoomIn = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
_inherits(Animation__zoomIn, _React$Component);
|