@zohodesk/components 1.0.0-temp-107 → 1.0.0-test-252
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/css_error.log +0 -0
- package/es/Avatar/Avatar.js +1 -3
- package/es/Avatar/Avatar.module.css +23 -11
- package/es/AvatarTeam/AvatarTeam.module.css +21 -7
- package/es/Button/Button.module.css +97 -24
- package/es/Buttongroup/Buttongroup.module.css +37 -8
- package/es/CheckBox/CheckBox.module.css +17 -11
- package/es/DateTime/CalendarView.js +2 -4
- package/es/DateTime/DateTime.js +1 -1
- package/es/DateTime/DateTime.module.css +44 -13
- package/es/DateTime/DateTimePopupHeader.js +9 -24
- package/es/DateTime/DateWidget.js +2 -4
- package/es/DateTime/DateWidget.module.css +9 -5
- package/es/DateTime/DaysRow.js +2 -5
- package/es/DateTime/YearView.js +4 -12
- package/es/DateTime/YearView.module.css +18 -23
- package/es/DropBox/DropBox.module.css +47 -11
- package/es/DropDown/DropDownHeading.js +1 -3
- package/es/DropDown/DropDownHeading.module.css +7 -3
- package/es/DropDown/DropDownItem.module.css +32 -6
- package/es/DropDown/props/propTypes.js +1 -2
- package/es/Label/Label.js +2 -4
- package/es/ListItem/ListContainer.js +2 -4
- package/es/ListItem/ListItem.js +1 -2
- package/es/ListItem/ListItem.module.css +57 -25
- package/es/MultiSelect/MultiSelect.js +2 -4
- package/es/MultiSelect/MultiSelect.module.css +28 -11
- package/es/MultiSelect/SelectedOptions.module.css +8 -2
- package/es/MultiSelect/Suggestions.js +1 -2
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Radio/Radio.module.css +10 -4
- package/es/Ribbon/Ribbon.module.css +93 -28
- package/es/RippleEffect/RippleEffect.module.css +9 -27
- package/es/Select/Select.js +4 -7
- package/es/Select/Select.module.css +12 -2
- package/es/Select/SelectWithIcon.js +1 -2
- package/es/Stencils/Stencils.module.css +21 -3
- package/es/Switch/Switch.module.css +6 -7
- package/es/Tab/Tab.js +1 -2
- package/es/Tab/Tab.module.css +16 -7
- package/es/Tab/Tabs.js +3 -7
- package/es/Tab/Tabs.module.css +42 -8
- package/es/Tag/Tag.module.css +36 -14
- package/es/TextBox/TextBox.module.css +7 -11
- package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
- package/es/Textarea/Textarea.module.css +6 -7
- package/es/Tooltip/Tooltip.module.css +9 -8
- package/es/common/animation.module.css +219 -21
- package/es/common/basicReset.module.css +2 -12
- package/es/common/common.module.css +64 -18
- package/es/common/customscroll.module.css +17 -21
- package/es/common/transition.module.css +50 -10
- package/es/deprecated/AdvancedMultiSelect.module.css +22 -8
- package/es/index.js +107 -106
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/Accordion/Accordion.js +102 -0
- package/lib/Accordion/AccordionItem.js +84 -0
- package/lib/Accordion/__tests__/Accordion.spec.js +82 -0
- package/lib/Accordion/index.js +20 -0
- package/lib/Accordion/props/defaultProps.js +16 -0
- package/lib/Accordion/props/propTypes.js +39 -0
- package/lib/Animation/Animation.js +161 -0
- package/lib/Animation/__tests__/Animation.spec.js +19 -0
- package/lib/Animation/props/defaultProps.js +14 -0
- package/lib/Animation/props/propTypes.js +20 -0
- package/lib/AppContainer/AppContainer.js +156 -0
- package/lib/AppContainer/AppContainer.module.css +18 -0
- package/lib/AppContainer/props/defaultProps.js +15 -0
- package/lib/AppContainer/props/propTypes.js +23 -0
- package/lib/Avatar/Avatar.js +199 -0
- package/lib/Avatar/Avatar.module.css +135 -0
- package/lib/Avatar/__tests__/Avatar.spec.js +164 -0
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -0
- package/lib/Avatar/props/defaultProps.js +21 -0
- package/lib/Avatar/props/propTypes.js +31 -0
- package/lib/AvatarTeam/AvatarTeam.js +99 -0
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -0
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +79 -0
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -0
- package/lib/AvatarTeam/props/defaultProps.js +20 -0
- package/lib/AvatarTeam/props/propTypes.js +31 -0
- package/lib/Button/Button.js +90 -0
- package/lib/Button/Button.module.css +522 -0
- package/lib/Button/__tests__/Button.spec.js +193 -0
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -0
- package/lib/Button/props/defaultProps.js +22 -0
- package/lib/Button/props/propTypes.js +30 -0
- package/lib/Buttongroup/Buttongroup.js +70 -0
- package/lib/Buttongroup/Buttongroup.module.css +89 -0
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +76 -0
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -0
- package/lib/Buttongroup/props/defaultProps.js +11 -0
- package/lib/Buttongroup/props/propTypes.js +15 -0
- package/lib/Card/Card.js +301 -0
- package/lib/Card/Card.module.css +20 -0
- package/lib/Card/__tests__/Card.spec.js +47 -0
- package/lib/Card/index.js +33 -0
- package/lib/Card/props/defaultProps.js +23 -0
- package/lib/Card/props/propTypes.js +54 -0
- package/lib/CheckBox/CheckBox.js +183 -0
- package/lib/CheckBox/CheckBox.module.css +157 -0
- package/lib/CheckBox/__tests__/CheckBox.spec.js +15 -0
- package/lib/CheckBox/props/defaultProps.js +25 -0
- package/lib/CheckBox/props/propTypes.js +49 -0
- package/lib/DateTime/CalendarView.js +228 -0
- package/lib/DateTime/DateTime.js +779 -0
- package/lib/DateTime/DateTime.module.css +233 -0
- package/lib/DateTime/DateTimePopupFooter.js +65 -0
- package/lib/DateTime/DateTimePopupHeader.js +117 -0
- package/lib/DateTime/DateWidget.js +1015 -0
- package/lib/DateTime/DateWidget.module.css +38 -0
- package/lib/DateTime/DaysRow.js +52 -0
- package/lib/DateTime/Time.js +205 -0
- package/lib/DateTime/YearView.js +267 -0
- package/lib/DateTime/YearView.module.css +81 -0
- package/lib/DateTime/__tests__/CalendarView.spec.js +37 -0
- package/lib/DateTime/__tests__/DateTime.spec.js +113 -0
- package/lib/DateTime/__tests__/DateWidget.spec.js +79 -0
- package/lib/DateTime/common.js +30 -0
- package/lib/DateTime/constants.js +76 -0
- package/lib/DateTime/dateFormatUtils/dateFormat.js +551 -0
- package/lib/DateTime/dateFormatUtils/dayChange.js +74 -0
- package/lib/DateTime/dateFormatUtils/index.js +225 -0
- package/lib/DateTime/dateFormatUtils/monthChange.js +84 -0
- package/lib/DateTime/dateFormatUtils/timeChange.js +208 -0
- package/lib/DateTime/dateFormatUtils/yearChange.js +108 -0
- package/lib/DateTime/index.js +13 -0
- package/lib/DateTime/objectUtils.js +72 -0
- package/lib/DateTime/props/defaultProps.js +61 -0
- package/lib/DateTime/props/propTypes.js +144 -0
- package/lib/DateTime/typeChecker.js +22 -0
- package/lib/DateTime/validator.js +290 -0
- package/lib/DropBox/DropBox.js +266 -0
- package/lib/DropBox/DropBox.module.css +406 -0
- package/lib/DropBox/DropBoxPositionMapping.json +145 -0
- package/lib/DropBox/__tests__/DropBox.spec.js +83 -0
- package/lib/DropBox/props/defaultProps.js +27 -0
- package/lib/DropBox/props/propTypes.js +55 -0
- package/lib/DropDown/DropDown.js +128 -0
- package/lib/DropDown/DropDown.module.css +5 -0
- package/lib/DropDown/DropDownHeading.js +64 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -0
- package/lib/DropDown/DropDownItem.js +102 -0
- package/lib/DropDown/DropDownItem.module.css +94 -0
- package/lib/DropDown/DropDownSearch.js +89 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -0
- package/lib/DropDown/DropDownSeparator.js +42 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -0
- package/lib/DropDown/__tests__/DropDown.spec.js +44 -0
- package/lib/DropDown/__tests__/DropDownItem.spec.js +46 -0
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +14 -0
- package/lib/DropDown/props/defaultProps.js +28 -0
- package/lib/DropDown/props/propTypes.js +89 -0
- package/lib/Heading/Heading.js +64 -0
- package/lib/Heading/Heading.module.css +5 -0
- package/lib/Heading/props/defaultProps.js +12 -0
- package/lib/Heading/props/propTypes.js +19 -0
- package/lib/Label/Label.js +65 -0
- package/lib/Label/Label.module.css +52 -0
- package/lib/Label/LabelColors.module.css +21 -0
- package/lib/Label/__tests__/Label.spec.js +124 -0
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -0
- package/lib/Label/props/defaultProps.js +17 -0
- package/lib/Label/props/propTypes.js +22 -0
- package/lib/Layout/Box.js +104 -0
- package/lib/Layout/Container.js +122 -0
- package/lib/Layout/Layout.module.css +336 -0
- package/lib/Layout/__tests__/Box.spec.js +105 -0
- package/lib/Layout/__tests__/Container.spec.js +110 -0
- package/lib/Layout/index.js +30 -0
- package/lib/Layout/props/defaultProps.js +20 -0
- package/lib/Layout/props/propTypes.js +51 -0
- package/lib/Layout/utils.js +45 -0
- package/lib/ListItem/ListContainer.js +93 -0
- package/lib/ListItem/ListItem.js +153 -0
- package/lib/ListItem/ListItem.module.css +209 -0
- package/lib/ListItem/ListItemWithAvatar.js +175 -0
- package/lib/ListItem/ListItemWithCheckBox.js +141 -0
- package/lib/ListItem/ListItemWithIcon.js +158 -0
- package/lib/ListItem/ListItemWithRadio.js +143 -0
- package/lib/ListItem/props/defaultProps.js +97 -0
- package/lib/ListItem/props/propTypes.js +176 -0
- package/lib/Modal/Modal.js +174 -0
- package/lib/Modal/props/defaultProps.js +10 -0
- package/lib/Modal/props/propTypes.js +14 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1032 -0
- package/lib/MultiSelect/AdvancedMultiSelect.js +552 -0
- package/lib/MultiSelect/EmptyState.js +85 -0
- package/lib/MultiSelect/MultiSelect.js +1044 -0
- package/lib/MultiSelect/MultiSelect.module.css +206 -0
- package/lib/MultiSelect/MultiSelectHeader.js +55 -0
- package/lib/MultiSelect/MultiSelectWithAvatar.js +304 -0
- package/lib/MultiSelect/SelectedOptions.js +98 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -0
- package/lib/MultiSelect/Suggestions.js +158 -0
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +159 -0
- package/lib/MultiSelect/props/defaultProps.js +158 -0
- package/lib/MultiSelect/props/propTypes.js +377 -0
- package/lib/PopOver/PopOver.js +252 -0
- package/lib/PopOver/PopOver.module.css +8 -0
- package/lib/PopOver/__tests__/PopOver.spec.js +17 -0
- package/lib/PopOver/props/defaultProps.js +15 -0
- package/lib/PopOver/props/propTypes.js +63 -0
- package/lib/Popup/Popup.js +640 -0
- package/lib/Popup/PositionMapping.json +74 -0
- package/lib/Popup/__tests__/Popup.spec.js +155 -0
- package/lib/Popup/viewPort.js +354 -0
- package/lib/Provider/AvatarSize.js +19 -0
- package/lib/Provider/Config.js +25 -0
- package/lib/Provider/CssProvider.js +23 -0
- package/lib/Provider/IdProvider.js +68 -0
- package/lib/Provider/LibraryContext.js +54 -0
- package/lib/Provider/LibraryContextInit.js +11 -0
- package/lib/Provider/NumberGenerator/NumberGenerator.js +145 -0
- package/lib/Provider/ZindexProvider.js +57 -0
- package/lib/Radio/Radio.js +146 -0
- package/lib/Radio/Radio.module.css +112 -0
- package/lib/Radio/__tests__/Radiospec.js +25 -0
- package/lib/Radio/props/defaultProps.js +21 -0
- package/lib/Radio/props/propTypes.js +40 -0
- package/lib/Responsive/CustomResponsive.js +192 -0
- package/lib/Responsive/RefWrapper.js +47 -0
- package/lib/Responsive/ResizeComponent.js +237 -0
- package/lib/Responsive/ResizeObserver.js +151 -0
- package/lib/Responsive/Responsive.js +222 -0
- package/lib/Responsive/index.js +28 -0
- package/lib/Responsive/props/defaultProps.js +23 -0
- package/lib/Responsive/props/propTypes.js +36 -0
- package/lib/Responsive/sizeObservers.js +176 -0
- package/lib/Responsive/utils/index.js +62 -0
- package/lib/Responsive/utils/shallowCompare.js +29 -0
- package/lib/Responsive/windowResizeObserver.js +55 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +94 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/ResponsiveDropBox/props/defaultProps.js +11 -0
- package/lib/ResponsiveDropBox/props/propTypes.js +15 -0
- package/lib/Ribbon/Ribbon.js +71 -0
- package/lib/Ribbon/Ribbon.module.css +377 -0
- package/lib/Ribbon/__tests__/Ribbon.spec.js +171 -0
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -0
- package/lib/Ribbon/props/defaultProps.js +15 -0
- package/lib/Ribbon/props/propTypes.js +18 -0
- package/lib/RippleEffect/RippleEffect.js +35 -0
- package/lib/RippleEffect/RippleEffect.module.css +92 -0
- package/lib/RippleEffect/props/defaultProps.js +16 -0
- package/lib/RippleEffect/props/propTypes.js +19 -0
- package/lib/Select/GroupSelect.js +771 -0
- package/lib/Select/Select.js +910 -0
- package/lib/Select/Select.module.css +109 -0
- package/lib/Select/SelectWithAvatar.js +340 -0
- package/lib/Select/SelectWithIcon.js +530 -0
- package/lib/Select/__tests__/Select.spec.js +341 -0
- package/lib/Select/props/defaultProps.js +112 -0
- package/lib/Select/props/propTypes.js +280 -0
- package/lib/Stencils/Stencils.js +57 -0
- package/lib/Stencils/Stencils.module.css +96 -0
- package/lib/Stencils/__tests__/Stencils.spec.js +72 -0
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -0
- package/lib/Stencils/props/defaultProps.js +13 -0
- package/lib/Stencils/props/propTypes.js +15 -0
- package/lib/Switch/Switch.js +123 -0
- package/lib/Switch/Switch.module.css +111 -0
- package/lib/Switch/props/defaultProps.js +17 -0
- package/lib/Switch/props/propTypes.js +35 -0
- package/lib/Tab/Tab.js +116 -0
- package/lib/Tab/Tab.module.css +101 -0
- package/lib/Tab/TabContent.js +33 -0
- package/lib/Tab/TabContent.module.css +4 -0
- package/lib/Tab/TabContentWrapper.js +33 -0
- package/lib/Tab/TabWrapper.js +69 -0
- package/lib/Tab/Tabs.js +581 -0
- package/lib/Tab/Tabs.module.css +141 -0
- package/lib/Tab/__tests__/Tab.spec.js +119 -0
- package/lib/Tab/__tests__/TabContent.spec.js +18 -0
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +51 -0
- package/lib/Tab/__tests__/TabWrapper.spec.js +88 -0
- package/lib/Tab/__tests__/Tabs.spec.js +109 -0
- package/lib/Tab/index.js +41 -0
- package/lib/Tab/props/defaultProps.js +50 -0
- package/lib/Tab/props/propTypes.js +114 -0
- package/lib/Tag/Tag.js +177 -0
- package/lib/Tag/Tag.module.css +255 -0
- package/lib/Tag/__tests__/Tag.spec.js +29 -0
- package/lib/Tag/props/defaultProps.js +20 -0
- package/lib/Tag/props/propTypes.js +42 -0
- package/lib/TextBox/TextBox.js +193 -0
- package/lib/TextBox/TextBox.module.css +157 -0
- package/lib/TextBox/__tests__/TextBox.spec.js +195 -0
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -0
- package/lib/TextBox/props/defaultProps.js +26 -0
- package/lib/TextBox/props/propTypes.js +57 -0
- package/lib/TextBoxIcon/TextBoxIcon.js +188 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -0
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +219 -0
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -0
- package/lib/TextBoxIcon/props/defaultProps.js +28 -0
- package/lib/TextBoxIcon/props/propTypes.js +57 -0
- package/lib/Textarea/Textarea.js +130 -0
- package/lib/Textarea/Textarea.module.css +139 -0
- package/lib/Textarea/__tests__/Textarea.spec.js +174 -0
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -0
- package/lib/Textarea/props/defaultProps.js +23 -0
- package/lib/Textarea/props/propTypes.js +39 -0
- package/lib/Tooltip/Tooltip.js +519 -0
- package/lib/Tooltip/Tooltip.module.css +109 -0
- package/lib/Tooltip/__tests__/Tooltip.spec.js +75 -0
- package/lib/Tooltip/props/defaultProps.js +11 -0
- package/lib/Tooltip/props/propTypes.js +16 -0
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +100 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +14 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +20 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +131 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +22 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +27 -0
- package/lib/common/animation.module.css +624 -0
- package/lib/common/avatarsizes.module.css +45 -0
- package/lib/common/basic.module.css +33 -0
- package/lib/common/basicReset.module.css +40 -0
- package/lib/common/common.module.css +525 -0
- package/lib/common/customscroll.module.css +89 -0
- package/lib/common/reset.module.css +12 -0
- package/lib/common/transition.module.css +146 -0
- package/lib/css.js +42 -0
- package/lib/deprecated/AdvancedMultiSelect.module.css +127 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +126 -0
- package/lib/deprecated/PortalLayer/props/defaultProps.js +12 -0
- package/lib/deprecated/PortalLayer/props/propTypes.js +19 -0
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/lib/index.js +404 -0
- package/lib/semantic/Button/Button.js +81 -0
- package/lib/semantic/Button/props/defaultProps.js +19 -0
- package/lib/semantic/Button/props/propTypes.js +34 -0
- package/lib/semantic/Button/semanticButton.module.css +9 -0
- package/lib/utils/Common.js +391 -0
- package/lib/utils/ContextOptimizer.js +43 -0
- package/lib/utils/__tests__/constructFullName.spec.js +11 -0
- package/lib/utils/__tests__/debounce.spec.js +39 -0
- package/lib/utils/__tests__/getInitial.spec.js +25 -0
- package/lib/utils/constant.js +10 -0
- package/lib/utils/constructFullName.js +25 -0
- package/lib/utils/datetime/common.js +206 -0
- package/lib/utils/debounce.js +25 -0
- package/lib/utils/dropDownUtils.js +491 -0
- package/lib/utils/dummyFunction.js +8 -0
- package/lib/utils/getHTMLFontSize.js +10 -0
- package/lib/utils/getInitial.js +27 -0
- package/lib/utils/scrollTo.js +20 -0
- package/lib/utils/shallowEqual.js +33 -0
- package/package.json +1 -1
- package/es/Accordion/docs/Accordion__Demo.docs.js +0 -78
- package/es/Animation/docs/Animation__default.docs.js +0 -32
- package/es/Animation/docs/Animation__fadeIn.docs.js +0 -32
- package/es/Animation/docs/Animation__scaleIn.docs.js +0 -32
- package/es/Animation/docs/Animation__skewIn.docs.js +0 -32
- package/es/Animation/docs/Animation__slideDown.docs.js +0 -32
- package/es/Animation/docs/Animation__slideLeft.docs.js +0 -32
- package/es/Animation/docs/Animation__zoomIn.docs.js +0 -32
- package/es/AppContainer/docs/AppContainer__default.docs.js +0 -18
- package/es/Avatar/docs/Avatar__custom.docs.js +0 -27
- package/es/Avatar/docs/Avatar__default.docs.js +0 -27
- package/es/Avatar/docs/Avatar__palette.docs.js +0 -47
- package/es/Avatar/docs/Avatar__text.docs.js +0 -26
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -71
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -29
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -48
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -47
- package/es/Button/docs/Button__custom.docs.js +0 -769
- package/es/Button/docs/Button__default.docs.js +0 -534
- package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -35
- package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -31
- package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -40
- package/es/Card/docs/Card__Custom.docs.js +0 -32
- package/es/Card/docs/Card__Default.docs.js +0 -35
- package/es/Card/docs/Card__Scroll.docs.js +0 -56
- package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -289
- package/es/CheckBox/docs/CheckBox__default.docs.js +0 -215
- package/es/DateTime/docs/DateTime__default.docs.js +0 -88
- package/es/DateTime/docs/DateWidget__default.docs.js +0 -178
- package/es/DateTime/docs/timezonedata.json +0 -1
- package/es/DropBox/docs/DropBox__custom.docs.js +0 -64
- package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -85
- package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -84
- package/es/DropBox/docs/DropBox__position.docs.js +0 -85
- package/es/DropBox/docs/DropBox__size.docs.js +0 -59
- package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -21
- package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -19
- package/es/FramerAnimation/FramerAnimation.js +0 -206
- package/es/FramerAnimation/docs/FramerAnimation__default.docs.js +0 -123
- package/es/Heading/docs/Heading__default.docs.js +0 -19
- package/es/Label/docs/Label__clipped.docs.js +0 -25
- package/es/Label/docs/Label__custom.docs.js +0 -28
- package/es/Label/docs/Label__palette.docs.js +0 -40
- package/es/Label/docs/Label__size.docs.js +0 -27
- package/es/Label/docs/Label__type.docs.js +0 -35
- package/es/Layout/docs/Layout__Hidden.docs.js +0 -76
- package/es/Layout/docs/Layout__default.docs.js +0 -48
- package/es/Layout/docs/Layout__four_Column.docs.js +0 -78
- package/es/Layout/docs/Layout__three_Column.docs.js +0 -75
- package/es/Layout/docs/Layout__two_Column.docs.js +0 -68
- package/es/LightNightMode/Colors.json +0 -497
- package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -92
- package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -153
- package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -110
- package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -89
- package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -63
- package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -66
- package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -60
- package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -89
- package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -63
- package/es/ListItem/docs/ListItem__custom.docs.js +0 -112
- package/es/ListItem/docs/ListItem__default.docs.js +0 -80
- package/es/Modal/__docs__/Modal__default.docs.js +0 -42
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -118
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -108
- package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -137
- package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -156
- package/es/PopOver/docs/PopOver__default.docs.js +0 -30
- package/es/Provider/docs/Provider_Id__Class.docs.js +0 -28
- package/es/Provider/docs/Provider_Id__Function.docs.js +0 -17
- package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -31
- package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -22
- package/es/Provider.js +0 -91
- package/es/Radio/docs/Radio__custom.docs.js +0 -241
- package/es/Radio/docs/Radio__default.docs.js +0 -165
- package/es/Responsive/docs/Responsive__Custom.docs.js +0 -214
- package/es/Responsive/docs/Responsive__default.docs.js +0 -95
- package/es/Responsive/docs/style.module.css +0 -47
- package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -385
- package/es/Ribbon/docs/Ribbon__default.docs.js +0 -341
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -433
- package/es/Select/docs/GroupSelect__default.docs.js +0 -144
- package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -93
- package/es/Select/docs/SelectWithIcon__default.docs.js +0 -134
- package/es/Select/docs/Select__default.docs.js +0 -283
- package/es/Stencils/docs/Stencils__custom.docs.js +0 -43
- package/es/Stencils/docs/Stencils__default.docs.js +0 -48
- package/es/Switch/docs/Switch__custom.docs.js +0 -151
- package/es/Switch/docs/Switch__default.docs.js +0 -105
- package/es/Tab/docs/Tab__default.docs.js +0 -253
- package/es/Tab/docs/tabdocs.module.css +0 -29
- package/es/Tag/docs/Tag__custom.docs.js +0 -366
- package/es/Tag/docs/Tag__default.docs.js +0 -321
- package/es/TextBox/docs/TextBox__custom.docs.js +0 -41
- package/es/TextBox/docs/TextBox__default.docs.js +0 -38
- package/es/TextBox/docs/TextBox__size.docs.js +0 -36
- package/es/TextBox/docs/TextBox__variant.docs.js +0 -36
- package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -87
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -59
- package/es/Textarea/docs/Textarea__animated.docs.js +0 -39
- package/es/Textarea/docs/Textarea__custom.docs.js +0 -80
- package/es/Textarea/docs/Textarea__default.docs.js +0 -74
- package/es/Textarea/docs/Textarea__disabled.docs.js +0 -27
- package/es/Tooltip/docs/Tooltip__default.docs.js +0 -367
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -92
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -139
- package/es/common/docStyle.module.css +0 -719
- package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -65
- package/es/semantic/Button/docs/Button__default.docs.js +0 -17
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.zoomInEnter,
|
|
2
2
|
.zoomInLeave.zoomInLeaveActive {
|
|
3
3
|
opacity: 0;
|
|
4
|
+
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
4
5
|
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
5
6
|
transition-duration: var(--zd_transition3);
|
|
6
7
|
transition-property: all;
|
|
@@ -8,6 +9,8 @@
|
|
|
8
9
|
.zoomInEnter.zoomInEnterActive,
|
|
9
10
|
.zoomInLeave {
|
|
10
11
|
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
11
14
|
transform: perspective(1px) scale(1) translateZ(0);
|
|
12
15
|
transition-duration: var(--zd_transition3);
|
|
13
16
|
transition-property: all;
|
|
@@ -15,15 +18,20 @@
|
|
|
15
18
|
|
|
16
19
|
.scaleInEnter,
|
|
17
20
|
.scaleInLeave.scaleInLeaveActive {
|
|
18
|
-
transform: scale(0);
|
|
19
21
|
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
|
+
transform: scale(0);
|
|
20
26
|
transition-duration: var(--zd_transition3);
|
|
21
27
|
transition-property: all;
|
|
22
28
|
}
|
|
23
29
|
.scaleInEnter.scaleInEnterActive,
|
|
24
30
|
.scaleInLeave {
|
|
25
|
-
transform: scale(1);
|
|
26
31
|
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
|
+
transform: scale(1);
|
|
27
35
|
transition-duration: var(--zd_transition3);
|
|
28
36
|
transition-property: all;
|
|
29
37
|
}
|
|
@@ -31,6 +39,9 @@
|
|
|
31
39
|
.fadeInEnter,
|
|
32
40
|
.fadeInLeave.fadeInLeaveActive {
|
|
33
41
|
opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
34
45
|
transition-duration: var(--zd_transition3);
|
|
35
46
|
transition-property: all;
|
|
36
47
|
}
|
|
@@ -38,6 +49,9 @@
|
|
|
38
49
|
.fadeInEnter.fadeInEnterActive,
|
|
39
50
|
.fadeInLeave {
|
|
40
51
|
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
41
55
|
transition-duration: var(--zd_transition3);
|
|
42
56
|
transition-property: all;
|
|
43
57
|
}
|
|
@@ -45,14 +59,27 @@
|
|
|
45
59
|
.slideLeftEnter,
|
|
46
60
|
.slideLeftLeave.slideLeftLeaveActive {
|
|
47
61
|
opacity: 0;
|
|
48
|
-
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
49
65
|
transition-duration: var(--zd_transition3);
|
|
50
66
|
transition-property: all;
|
|
51
67
|
}
|
|
52
68
|
|
|
69
|
+
[dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
|
|
70
|
+
transform: translateX(110%);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
|
|
74
|
+
transform: translateX(-110%);
|
|
75
|
+
}
|
|
76
|
+
|
|
53
77
|
.slideLeftEnter.slideLeftEnterActive,
|
|
54
78
|
.slideLeftLeave {
|
|
55
79
|
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
56
83
|
transform: translateX(0%);
|
|
57
84
|
transition-duration: var(--zd_transition3);
|
|
58
85
|
transition-property: all;
|
|
@@ -61,6 +88,9 @@
|
|
|
61
88
|
.slideDownEnter,
|
|
62
89
|
.slideDownLeave.slideDownLeaveActive {
|
|
63
90
|
opacity: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
64
94
|
transform: translateY(-100%);
|
|
65
95
|
transition-duration: var(--zd_transition3);
|
|
66
96
|
transition-property: all;
|
|
@@ -69,6 +99,9 @@
|
|
|
69
99
|
.slideDownEnter.slideDownEnterActive,
|
|
70
100
|
.slideDownLeave {
|
|
71
101
|
opacity: 1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
72
105
|
transform: translateY(0%);
|
|
73
106
|
transition-duration: var(--zd_transition3);
|
|
74
107
|
transition-property: all;
|
|
@@ -77,14 +110,27 @@
|
|
|
77
110
|
.skewInEnter,
|
|
78
111
|
.skewInLeave.skewInLeaveActive {
|
|
79
112
|
opacity: 0;
|
|
80
|
-
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
81
116
|
transition-duration: var(--zd_transition3);
|
|
82
117
|
transition-property: all;
|
|
83
118
|
}
|
|
84
119
|
|
|
120
|
+
[dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
|
|
121
|
+
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
|
|
125
|
+
transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
|
|
126
|
+
}
|
|
127
|
+
|
|
85
128
|
.skewInEnter.skewInEnterActive,
|
|
86
129
|
.skewInLeave {
|
|
87
130
|
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
88
134
|
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
89
135
|
transition-duration: var(--zd_transition3);
|
|
90
136
|
transition-property: all;
|
|
@@ -98,9 +144,3 @@
|
|
|
98
144
|
.defaultLeave {
|
|
99
145
|
display: block;
|
|
100
146
|
}
|
|
101
|
-
|
|
102
|
-
.noneEnter,
|
|
103
|
-
.noneEnter.noneEnterActive,
|
|
104
|
-
.noneLeave,
|
|
105
|
-
.noneLeave.noneLeaveActive {
|
|
106
|
-
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
.disabled,
|
|
5
|
-
.readOnly {
|
|
4
|
+
.disabled, .readOnly {
|
|
6
5
|
cursor: not-allowed;
|
|
7
6
|
}
|
|
8
7
|
.container {
|
|
@@ -10,9 +9,9 @@
|
|
|
10
9
|
composes: oflowy from '../common/common.module.css';
|
|
11
10
|
}
|
|
12
11
|
.hasBorder {
|
|
12
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
13
13
|
border-bottom-style: solid;
|
|
14
14
|
border-bottom-width: 1px;
|
|
15
|
-
transition: border var(--zd_transition2) linear 0s;
|
|
16
15
|
}
|
|
17
16
|
.borderColor_transparent {
|
|
18
17
|
border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
|
|
@@ -41,25 +40,40 @@
|
|
|
41
40
|
.effect .borderColor_dark.active {
|
|
42
41
|
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
43
42
|
}
|
|
44
|
-
.container.medium {
|
|
43
|
+
[dir=ltr] .container.medium {
|
|
45
44
|
padding: 0 var(--zd_size34) var(--zd_size7) 0;
|
|
46
45
|
}
|
|
46
|
+
[dir=rtl] .container.medium {
|
|
47
|
+
padding: 0 0 var(--zd_size7) var(--zd_size34);
|
|
48
|
+
}
|
|
47
49
|
.container.xmedium {
|
|
48
|
-
padding: 0 var(--zd_size34) var(--zd_size1) 0;
|
|
49
50
|
min-height: var(--zd_size30);
|
|
50
51
|
}
|
|
52
|
+
[dir=ltr] .container.xmedium {
|
|
53
|
+
padding: 0 var(--zd_size34) var(--zd_size1) 0;
|
|
54
|
+
}
|
|
55
|
+
[dir=rtl] .container.xmedium {
|
|
56
|
+
padding: 0 0 var(--zd_size1) var(--zd_size34);
|
|
57
|
+
}
|
|
51
58
|
|
|
52
59
|
.delete {
|
|
53
60
|
position: absolute;
|
|
54
61
|
bottom: 0;
|
|
55
|
-
right: var(--zd_size15);
|
|
56
|
-
padding-bottom: var(--zd_size10);
|
|
57
62
|
color: var(--zdt_advancedmultiselect_delete_text);
|
|
63
|
+
padding-bottom: var(--zd_size10);
|
|
58
64
|
cursor: pointer;
|
|
59
65
|
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
60
66
|
border: 0;
|
|
61
67
|
}
|
|
62
68
|
|
|
69
|
+
[dir=ltr] .delete {
|
|
70
|
+
right: var(--zd_size15);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[dir=rtl] .delete {
|
|
74
|
+
left: var(--zd_size15);
|
|
75
|
+
}
|
|
76
|
+
|
|
63
77
|
.delete:hover {
|
|
64
78
|
color: var(--zdt_advancedmultiselect_delete_hover_text);
|
|
65
79
|
}
|
|
@@ -105,9 +119,9 @@
|
|
|
105
119
|
.more {
|
|
106
120
|
font-size: var(--zd_font_size14);
|
|
107
121
|
color: var(--zdt_advancedmultiselect_more_text);
|
|
122
|
+
font-family: inherit;
|
|
108
123
|
cursor: pointer;
|
|
109
124
|
margin-top: var(--zd_size5);
|
|
110
|
-
font-family: inherit;
|
|
111
125
|
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
112
126
|
border: 0;
|
|
113
127
|
}
|
package/es/index.js
CHANGED
|
@@ -1,156 +1,157 @@
|
|
|
1
|
-
export { default as React } from 'react';
|
|
2
|
-
export { default as ReactDOM } from 'react-dom';
|
|
3
|
-
export { renderToStaticMarkup } from 'react-dom/server';
|
|
4
|
-
import './common/reset.module.css';
|
|
5
|
-
export { default as _provider } from './Provider';
|
|
1
|
+
// export { default as React } from 'react';
|
|
2
|
+
// export { default as ReactDOM } from 'react-dom';
|
|
3
|
+
// export { renderToStaticMarkup } from 'react-dom/server';
|
|
6
4
|
export * from './Layout';
|
|
7
|
-
export { default as Layout__default } from './Layout/docs/Layout__default.docs';
|
|
8
|
-
export { default as Layout__two_Column } from './Layout/docs/Layout__two_Column.docs';
|
|
9
|
-
export { default as Layout__three_Column } from './Layout/docs/Layout__three_Column.docs';
|
|
10
|
-
export { default as Layout__four_Column } from './Layout/docs/Layout__four_Column.docs';
|
|
11
|
-
export { default as Layout__Hidden } from './Layout/docs/Layout__Hidden.docs';
|
|
5
|
+
// export { default as Layout__default } from './Layout/docs/Layout__default.docs';
|
|
6
|
+
// export { default as Layout__two_Column } from './Layout/docs/Layout__two_Column.docs';
|
|
7
|
+
// export { default as Layout__three_Column } from './Layout/docs/Layout__three_Column.docs';
|
|
8
|
+
// export { default as Layout__four_Column } from './Layout/docs/Layout__four_Column.docs';
|
|
9
|
+
// export { default as Layout__Hidden } from './Layout/docs/Layout__Hidden.docs';
|
|
12
10
|
export { default as AppContainer } from './AppContainer/AppContainer';
|
|
13
|
-
export { default as AppContainer__default } from './AppContainer/docs/AppContainer__default.docs';
|
|
11
|
+
// export { default as AppContainer__default } from './AppContainer/docs/AppContainer__default.docs';
|
|
14
12
|
export { default as Accordion } from './Accordion/Accordion';
|
|
15
|
-
export { default as Accordion__Demo } from './Accordion/docs/Accordion__Demo.docs';
|
|
13
|
+
// export { default as Accordion__Demo } from './Accordion/docs/Accordion__Demo.docs';
|
|
16
14
|
export { default as Animation } from './Animation/Animation';
|
|
17
|
-
export { default as Animation__default } from './Animation/docs/Animation__default.docs';
|
|
18
|
-
export { default as Animation__fadeIn } from './Animation/docs/Animation__fadeIn.docs';
|
|
19
|
-
export { default as Animation__scaleIn } from './Animation/docs/Animation__scaleIn.docs';
|
|
20
|
-
export { default as Animation__slideDown } from './Animation/docs/Animation__slideDown.docs';
|
|
21
|
-
export { default as Animation__slideLeft } from './Animation/docs/Animation__slideLeft.docs';
|
|
22
|
-
export { default as Animation__zoomIn } from './Animation/docs/Animation__zoomIn.docs';
|
|
23
|
-
export { default as Animation__skewIn } from './Animation/docs/Animation__skewIn.docs';
|
|
15
|
+
// export { default as Animation__default } from './Animation/docs/Animation__default.docs';
|
|
16
|
+
// export { default as Animation__fadeIn } from './Animation/docs/Animation__fadeIn.docs';
|
|
17
|
+
// export { default as Animation__scaleIn } from './Animation/docs/Animation__scaleIn.docs';
|
|
18
|
+
// export { default as Animation__slideDown } from './Animation/docs/Animation__slideDown.docs';
|
|
19
|
+
// export { default as Animation__slideLeft } from './Animation/docs/Animation__slideLeft.docs';
|
|
20
|
+
// export { default as Animation__zoomIn } from './Animation/docs/Animation__zoomIn.docs';
|
|
21
|
+
// export { default as Animation__skewIn } from './Animation/docs/Animation__skewIn.docs';
|
|
24
22
|
export { default as Card } from './Card/Card';
|
|
25
|
-
export { default as Card__Default } from './Card/docs/Card__Default.docs';
|
|
26
|
-
export { default as Card__Scroll } from './Card/docs/Card__Scroll.docs';
|
|
27
|
-
export { default as Card__Custom } from './Card/docs/Card__Custom.docs';
|
|
23
|
+
// export { default as Card__Default } from './Card/docs/Card__Default.docs';
|
|
24
|
+
// export { default as Card__Scroll } from './Card/docs/Card__Scroll.docs';
|
|
25
|
+
// export { default as Card__Custom } from './Card/docs/Card__Custom.docs';
|
|
28
26
|
export { default as Avatar } from './Avatar/Avatar';
|
|
29
|
-
export { default as Avatar__default } from './Avatar/docs/Avatar__default.docs';
|
|
30
|
-
export { default as Avatar__palette } from './Avatar/docs/Avatar__palette.docs';
|
|
31
|
-
export { default as Avatar__text } from './Avatar/docs/Avatar__text.docs';
|
|
32
|
-
export { default as Avatar__custom } from './Avatar/docs/Avatar__custom.docs';
|
|
27
|
+
// export { default as Avatar__default } from './Avatar/docs/Avatar__default.docs';
|
|
28
|
+
// export { default as Avatar__palette } from './Avatar/docs/Avatar__palette.docs';
|
|
29
|
+
// export { default as Avatar__text } from './Avatar/docs/Avatar__text.docs';
|
|
30
|
+
// export { default as Avatar__custom } from './Avatar/docs/Avatar__custom.docs';
|
|
33
31
|
export { default as AvatarTeam } from './AvatarTeam/AvatarTeam';
|
|
34
|
-
export { default as AvatarTeam__default } from './AvatarTeam/docs/AvatarTeam__default.docs';
|
|
35
|
-
export { default as AvatarTeam__size } from './AvatarTeam/docs/AvatarTeam__size.docs';
|
|
36
|
-
export { default as AvatarTeam__palette } from './AvatarTeam/docs/AvatarTeam__palette.docs';
|
|
37
|
-
export { default as AvatarTeam__custom } from './AvatarTeam/docs/AvatarTeam__custom.docs';
|
|
32
|
+
// export { default as AvatarTeam__default } from './AvatarTeam/docs/AvatarTeam__default.docs';
|
|
33
|
+
// export { default as AvatarTeam__size } from './AvatarTeam/docs/AvatarTeam__size.docs';
|
|
34
|
+
// export { default as AvatarTeam__palette } from './AvatarTeam/docs/AvatarTeam__palette.docs';
|
|
35
|
+
// export { default as AvatarTeam__custom } from './AvatarTeam/docs/AvatarTeam__custom.docs';
|
|
38
36
|
export { default as Button } from './Button/Button';
|
|
39
|
-
export { default as Button__default } from './Button/docs/Button__default.docs';
|
|
40
|
-
export { default as Button__custom } from './Button/docs/Button__custom.docs';
|
|
37
|
+
// export { default as Button__default } from './Button/docs/Button__default.docs';
|
|
38
|
+
// export { default as Button__custom } from './Button/docs/Button__custom.docs';
|
|
41
39
|
export { default as Buttongroup } from './Buttongroup/Buttongroup';
|
|
42
|
-
export { default as Buttongroup__footer } from './Buttongroup/docs/Buttongroup__footer.docs';
|
|
43
|
-
export { default as Buttongroup__header } from './Buttongroup/docs/Buttongroup__header.docs';
|
|
44
|
-
export { default as Buttongroup__custom } from './Buttongroup/docs/Buttongroup__custom.docs';
|
|
40
|
+
// export { default as Buttongroup__footer } from './Buttongroup/docs/Buttongroup__footer.docs';
|
|
41
|
+
// export { default as Buttongroup__header } from './Buttongroup/docs/Buttongroup__header.docs';
|
|
42
|
+
// export { default as Buttongroup__custom } from './Buttongroup/docs/Buttongroup__custom.docs';
|
|
45
43
|
export { default as Switch } from './Switch/Switch';
|
|
46
|
-
export { default as Switch__default } from './Switch/docs/Switch__default.docs';
|
|
47
|
-
export { default as Switch__custom } from './Switch/docs/Switch__custom.docs';
|
|
44
|
+
// export { default as Switch__default } from './Switch/docs/Switch__default.docs';
|
|
45
|
+
// export { default as Switch__custom } from './Switch/docs/Switch__custom.docs';
|
|
48
46
|
export { default as Radio } from './Radio/Radio';
|
|
49
|
-
export { default as Radio__default } from './Radio/docs/Radio__default.docs';
|
|
50
|
-
export { default as Radio__custom } from './Radio/docs/Radio__custom.docs';
|
|
47
|
+
// export { default as Radio__default } from './Radio/docs/Radio__default.docs';
|
|
48
|
+
// export { default as Radio__custom } from './Radio/docs/Radio__custom.docs';
|
|
51
49
|
export { default as Textarea } from './Textarea/Textarea';
|
|
52
|
-
export { default as Textarea__default } from './Textarea/docs/Textarea__default.docs';
|
|
53
|
-
export { default as Textarea__animated } from './Textarea/docs/Textarea__animated.docs';
|
|
54
|
-
export { default as Textarea__disabled } from './Textarea/docs/Textarea__disabled.docs';
|
|
55
|
-
export { default as Textarea__custom } from './Textarea/docs/Textarea__custom.docs';
|
|
50
|
+
// export { default as Textarea__default } from './Textarea/docs/Textarea__default.docs';
|
|
51
|
+
// export { default as Textarea__animated } from './Textarea/docs/Textarea__animated.docs';
|
|
52
|
+
// export { default as Textarea__disabled } from './Textarea/docs/Textarea__disabled.docs';
|
|
53
|
+
// export { default as Textarea__custom } from './Textarea/docs/Textarea__custom.docs';
|
|
56
54
|
export { default as Label } from './Label/Label';
|
|
57
|
-
export { default as Label__palette } from './Label/docs/Label__palette.docs';
|
|
58
|
-
export { default as Label__size } from './Label/docs/Label__size.docs';
|
|
59
|
-
export { default as Label__clipped } from './Label/docs/Label__clipped.docs';
|
|
60
|
-
export { default as Label__type } from './Label/docs/Label__type.docs';
|
|
61
|
-
export { default as Label__custom } from './Label/docs/Label__custom.docs';
|
|
55
|
+
// export { default as Label__palette } from './Label/docs/Label__palette.docs';
|
|
56
|
+
// export { default as Label__size } from './Label/docs/Label__size.docs';
|
|
57
|
+
// export { default as Label__clipped } from './Label/docs/Label__clipped.docs';
|
|
58
|
+
// export { default as Label__type } from './Label/docs/Label__type.docs';
|
|
59
|
+
// export { default as Label__custom } from './Label/docs/Label__custom.docs';
|
|
62
60
|
export { default as DropDownHeading } from './DropDown/DropDownHeading';
|
|
63
|
-
export { default as DropDownHeading__Heading } from './DropDown/docs/DropDownHeading__default.docs';
|
|
64
|
-
export { default as DropDownHeading__Custom } from './DropDown/docs/DropDownHeading__custom.docs';
|
|
61
|
+
// export { default as DropDownHeading__Heading } from './DropDown/docs/DropDownHeading__default.docs';
|
|
62
|
+
// export { default as DropDownHeading__Custom } from './DropDown/docs/DropDownHeading__custom.docs';
|
|
65
63
|
export { default as CheckBox } from './CheckBox/CheckBox';
|
|
66
|
-
export { default as CheckBox__default } from './CheckBox/docs/CheckBox__default.docs';
|
|
67
|
-
export { default as CheckBox__custom } from './CheckBox/docs/CheckBox__custom.docs';
|
|
64
|
+
// export { default as CheckBox__default } from './CheckBox/docs/CheckBox__default.docs';
|
|
65
|
+
// export { default as CheckBox__custom } from './CheckBox/docs/CheckBox__custom.docs';
|
|
68
66
|
export { default as Ribbon } from './Ribbon/Ribbon';
|
|
69
|
-
export { default as Ribbon__default } from './Ribbon/docs/Ribbon__default.docs';
|
|
70
|
-
export { default as Ribbon__custom } from './Ribbon/docs/Ribbon__custom.docs';
|
|
67
|
+
// export { default as Ribbon__default } from './Ribbon/docs/Ribbon__default.docs';
|
|
68
|
+
// export { default as Ribbon__custom } from './Ribbon/docs/Ribbon__custom.docs';
|
|
71
69
|
export { default as Tag } from './Tag/Tag';
|
|
72
|
-
export { default as Tag__default } from './Tag/docs/Tag__default.docs';
|
|
73
|
-
export { default as Tag__custom } from './Tag/docs/Tag__custom.docs';
|
|
70
|
+
// export { default as Tag__default } from './Tag/docs/Tag__default.docs';
|
|
71
|
+
// export { default as Tag__custom } from './Tag/docs/Tag__custom.docs';
|
|
74
72
|
export * from './Tab';
|
|
75
|
-
export { default as Tab__default } from './Tab/docs/Tab__default.docs';
|
|
73
|
+
// export { default as Tab__default } from './Tab/docs/Tab__default.docs';
|
|
76
74
|
export { default as TextBox } from './TextBox/TextBox';
|
|
77
|
-
export { default as TextBox__default } from './TextBox/docs/TextBox__default.docs';
|
|
78
|
-
export { default as TextBox__size } from './TextBox/docs/TextBox__size.docs';
|
|
79
|
-
export { default as TextBox__variant } from './TextBox/docs/TextBox__variant.docs';
|
|
80
|
-
export { default as TextBox__custom } from './TextBox/docs/TextBox__custom.docs';
|
|
75
|
+
// export { default as TextBox__default } from './TextBox/docs/TextBox__default.docs';
|
|
76
|
+
// export { default as TextBox__size } from './TextBox/docs/TextBox__size.docs';
|
|
77
|
+
// export { default as TextBox__variant } from './TextBox/docs/TextBox__variant.docs';
|
|
78
|
+
// export { default as TextBox__custom } from './TextBox/docs/TextBox__custom.docs';
|
|
81
79
|
export { default as TextBoxIcon } from './TextBoxIcon/TextBoxIcon';
|
|
82
|
-
export { default as TextBoxIcon__default } from './TextBoxIcon/docs/TextBoxIcon__default.docs';
|
|
83
|
-
export { default as TextBoxIcon__custom } from './TextBoxIcon/docs/TextBoxIcon__custom.docs';
|
|
80
|
+
// export { default as TextBoxIcon__default } from './TextBoxIcon/docs/TextBoxIcon__default.docs';
|
|
81
|
+
// export { default as TextBoxIcon__custom } from './TextBoxIcon/docs/TextBoxIcon__custom.docs';
|
|
84
82
|
export { default as Tooltip } from './Tooltip/Tooltip';
|
|
85
|
-
export { default as Tooltip__default } from './Tooltip/docs/Tooltip__default.docs';
|
|
83
|
+
// export { default as Tooltip__default } from './Tooltip/docs/Tooltip__default.docs';
|
|
86
84
|
export { default as Select } from './Select/Select';
|
|
87
|
-
export { default as Select__Select } from './Select/docs/Select__default.docs';
|
|
85
|
+
// export { default as Select__Select } from './Select/docs/Select__default.docs';
|
|
88
86
|
export { default as SelectWithIcon } from './Select/SelectWithIcon';
|
|
89
|
-
export { default as SelectWithIcon__SelectWithIcon } from './Select/docs/SelectWithIcon__default.docs';
|
|
87
|
+
// export { default as SelectWithIcon__SelectWithIcon } from './Select/docs/SelectWithIcon__default.docs';
|
|
90
88
|
export { default as GroupSelect } from './Select/GroupSelect';
|
|
91
|
-
export { default as GroupSelect__GroupSelect } from './Select/docs/GroupSelect__default.docs';
|
|
89
|
+
// export { default as GroupSelect__GroupSelect } from './Select/docs/GroupSelect__default.docs';
|
|
92
90
|
export { default as SelectWithAvatar } from './Select/SelectWithAvatar';
|
|
93
|
-
export { default as SelectWithAvatar__SelectWithAvatar } from './Select/docs/SelectWithAvatar__default.docs';
|
|
91
|
+
// export { default as SelectWithAvatar__SelectWithAvatar } from './Select/docs/SelectWithAvatar__default.docs';
|
|
94
92
|
export { default as MultiSelect } from './MultiSelect/MultiSelect';
|
|
95
|
-
export { default as MultiSelect__MultiSelect } from './MultiSelect/docs/MultiSelect__default.docs';
|
|
93
|
+
// export { default as MultiSelect__MultiSelect } from './MultiSelect/docs/MultiSelect__default.docs';
|
|
96
94
|
export { default as AdvancedMultiSelect } from './MultiSelect/AdvancedMultiSelect';
|
|
97
|
-
export { default as AdvancedMultiSelect__AdvancedMultiSelect } from './MultiSelect/docs/AdvancedMultiSelect__default.docs';
|
|
95
|
+
// export { default as AdvancedMultiSelect__AdvancedMultiSelect } from './MultiSelect/docs/AdvancedMultiSelect__default.docs';
|
|
98
96
|
export { default as AdvancedGroupMultiSelect } from './MultiSelect/AdvancedGroupMultiSelect';
|
|
99
|
-
export { default as AdvancedGroupMultiSelect__AdvancedGroupMultiSelect } from './MultiSelect/docs/AdvancedGroupMultiSelect__default.docs';
|
|
97
|
+
// export { default as AdvancedGroupMultiSelect__AdvancedGroupMultiSelect } from './MultiSelect/docs/AdvancedGroupMultiSelect__default.docs';
|
|
100
98
|
export { default as MultiSelectWithAvatar } from './MultiSelect/MultiSelectWithAvatar';
|
|
101
|
-
export { default as MultiSelectWithAvatar__MultiSelectWithAvatar } from './MultiSelect/docs/MultiSelectWithAvatar__default.docs';
|
|
99
|
+
// export { default as MultiSelectWithAvatar__MultiSelectWithAvatar } from './MultiSelect/docs/MultiSelectWithAvatar__default.docs';
|
|
102
100
|
export { default as DateWidget } from './DateTime/DateWidget';
|
|
103
|
-
export { default as DateWidget__dateWidget } from './DateTime/docs/DateWidget__default.docs';
|
|
104
|
-
export { default as DateWidget__datetime } from './DateTime/docs/DateTime__default.docs';
|
|
101
|
+
// export { default as DateWidget__dateWidget } from './DateTime/docs/DateWidget__default.docs';
|
|
102
|
+
// export { default as DateWidget__datetime } from './DateTime/docs/DateTime__default.docs';
|
|
105
103
|
export { default as ListItem } from './ListItem/ListItem';
|
|
106
|
-
export { default as ListItem__default } from './ListItem/docs/ListItem__default.docs';
|
|
107
|
-
export { default as ListItem__custom } from './ListItem/docs/ListItem__custom.docs';
|
|
104
|
+
// export { default as ListItem__default } from './ListItem/docs/ListItem__default.docs';
|
|
105
|
+
// export { default as ListItem__custom } from './ListItem/docs/ListItem__custom.docs';
|
|
108
106
|
export { default as ListItemWithIcon } from './ListItem/ListItemWithIcon';
|
|
109
|
-
export { default as ListItemWithIcon__default } from './ListItem/docs/ListItemWithIcon__default.docs';
|
|
110
|
-
export { default as ListItemWithIcon__custom } from './ListItem/docs/ListItemWithIcon__custom.docs';
|
|
107
|
+
// export { default as ListItemWithIcon__default } from './ListItem/docs/ListItemWithIcon__default.docs';
|
|
108
|
+
// export { default as ListItemWithIcon__custom } from './ListItem/docs/ListItemWithIcon__custom.docs';
|
|
111
109
|
export { default as ListItemWithCheckBox } from './ListItem/ListItemWithCheckBox';
|
|
112
|
-
export { default as ListItemWithCheckBox__default } from './ListItem/docs/ListItemWithCheckBox__default.docs';
|
|
113
|
-
export { default as ListItemWithCheckBox__custom } from './ListItem/docs/ListItemWithCheckBox__custom.docs';
|
|
110
|
+
// export { default as ListItemWithCheckBox__default } from './ListItem/docs/ListItemWithCheckBox__default.docs';
|
|
111
|
+
// export { default as ListItemWithCheckBox__custom } from './ListItem/docs/ListItemWithCheckBox__custom.docs';
|
|
114
112
|
export { default as ListItemWithRadio } from './ListItem/ListItemWithRadio';
|
|
115
|
-
export { default as ListItemWithRadio__default } from './ListItem/docs/ListItemWithRadio__default.docs';
|
|
116
|
-
export { default as ListItemWithRadio__custom } from './ListItem/docs/ListItemWithRadio__custom.docs';
|
|
113
|
+
// export { default as ListItemWithRadio__default } from './ListItem/docs/ListItemWithRadio__default.docs';
|
|
114
|
+
// export { default as ListItemWithRadio__custom } from './ListItem/docs/ListItemWithRadio__custom.docs';
|
|
117
115
|
export { default as ListItemWithAvatar } from './ListItem/ListItemWithAvatar';
|
|
118
|
-
export { default as ListItemWithAvatar__default } from './ListItem/docs/ListItemWithAvatar__default.docs';
|
|
119
|
-
export { default as ListItemWithAvatar__custom } from './ListItem/docs/ListItemWithAvatar__custom.docs';
|
|
116
|
+
// export { default as ListItemWithAvatar__default } from './ListItem/docs/ListItemWithAvatar__default.docs';
|
|
117
|
+
// export { default as ListItemWithAvatar__custom } from './ListItem/docs/ListItemWithAvatar__custom.docs';
|
|
120
118
|
export { default as DropBox } from './DropBox/DropBox';
|
|
121
|
-
export { default as DropBox__position } from './DropBox/docs/DropBox__position.docs';
|
|
122
|
-
export { default as DropBox__size } from './DropBox/docs/DropBox__size.docs';
|
|
123
|
-
export { default as DropBox__custom } from './DropBox/docs/DropBox__custom.docs';
|
|
124
|
-
export { default as DropBox__customOrder } from './DropBox/docs/DropBox__customOrder.docs.js';
|
|
125
|
-
export { default as DropBox__fixedPosition } from './DropBox/docs/DropBox__fixedPosition.docs.js';
|
|
119
|
+
// export { default as DropBox__position } from './DropBox/docs/DropBox__position.docs';
|
|
120
|
+
// export { default as DropBox__size } from './DropBox/docs/DropBox__size.docs';
|
|
121
|
+
// export { default as DropBox__custom } from './DropBox/docs/DropBox__custom.docs';
|
|
122
|
+
// export { default as DropBox__customOrder } from './DropBox/docs/DropBox__customOrder.docs.js';
|
|
123
|
+
// export { default as DropBox__fixedPosition } from './DropBox/docs/DropBox__fixedPosition.docs.js';
|
|
126
124
|
export { default as PopOver } from './PopOver/PopOver';
|
|
127
|
-
export { default as PopOver__default } from './PopOver/docs/PopOver__default.docs.js';
|
|
125
|
+
// export { default as PopOver__default } from './PopOver/docs/PopOver__default.docs.js';
|
|
128
126
|
export { default as Stencils } from './Stencils/Stencils';
|
|
129
|
-
export { default as Stencils__default } from './Stencils/docs/Stencils__default.docs';
|
|
130
|
-
export { default as Stencils__custom } from './Stencils/docs/Stencils__custom.docs';
|
|
127
|
+
// export { default as Stencils__default } from './Stencils/docs/Stencils__default.docs';
|
|
128
|
+
// export { default as Stencils__custom } from './Stencils/docs/Stencils__custom.docs';
|
|
131
129
|
export { default as Modal } from './Modal/Modal';
|
|
132
|
-
export { default as Modal__default } from './Modal/__docs__/Modal__default.docs';
|
|
130
|
+
// export { default as Modal__default } from './Modal/__docs__/Modal__default.docs';
|
|
133
131
|
export * from './Responsive';
|
|
134
|
-
export { default as Responsive__Custom } from './Responsive/docs/Responsive__Custom.docs';
|
|
135
|
-
export { default as Responsive__default } from './Responsive/docs/Responsive__default.docs';
|
|
132
|
+
// export { default as Responsive__Custom } from './Responsive/docs/Responsive__Custom.docs';
|
|
133
|
+
// export { default as Responsive__default } from './Responsive/docs/Responsive__default.docs';
|
|
136
134
|
export { default as RippleEffect } from './RippleEffect/RippleEffect';
|
|
137
|
-
export { default as RippleEffect__default } from './RippleEffect/docs/RippleEffect__default.docs';
|
|
135
|
+
// export { default as RippleEffect__default } from './RippleEffect/docs/RippleEffect__default.docs';
|
|
138
136
|
export { default as PortalLayer } from './deprecated/PortalLayer/PortalLayer';
|
|
139
|
-
export { default as PortalLayer__default } from './deprecated/PortalLayer/docs/PortalLayer__default.docs';
|
|
137
|
+
// export { default as PortalLayer__default } from './deprecated/PortalLayer/docs/PortalLayer__default.docs';
|
|
138
|
+
|
|
140
139
|
export { default as VelocityAnimation } from './VelocityAnimation/VelocityAnimation/VelocityAnimation';
|
|
141
|
-
export { default as VelocityAnimation__VelocityAnimation } from './VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs';
|
|
140
|
+
// export { default as VelocityAnimation__VelocityAnimation } from './VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs';
|
|
142
141
|
export { default as VelocityAnimationGroup } from './VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
143
|
-
export { default as VelocityAnimationGroup__VelocityAnimationGroup } from './VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs';
|
|
142
|
+
// export { default as VelocityAnimationGroup__VelocityAnimationGroup } from './VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs';
|
|
143
|
+
|
|
144
144
|
export { Provider } from './Provider/IdProvider';
|
|
145
|
-
export { default as Provider__Id_For_ClassComponent } from './Provider/docs/Provider_Id__Class.docs';
|
|
146
|
-
export { default as Provider__Id_For_FunctionComponent } from './Provider/docs/Provider_Id__Function.docs';
|
|
147
|
-
export { default as Provider__Zindex_For_ClassComponent } from './Provider/docs/Provider_Zindex__Class.docs';
|
|
148
|
-
export { default as Provider__Zindex_For_FunctionComponent } from './Provider/docs/Provider_Zindex__Function.docs';
|
|
145
|
+
// export { default as Provider__Id_For_ClassComponent } from './Provider/docs/Provider_Id__Class.docs';
|
|
146
|
+
// export { default as Provider__Id_For_FunctionComponent } from './Provider/docs/Provider_Id__Function.docs';
|
|
147
|
+
// export { default as Provider__Zindex_For_ClassComponent } from './Provider/docs/Provider_Zindex__Class.docs';
|
|
148
|
+
// export { default as Provider__Zindex_For_FunctionComponent } from './Provider/docs/Provider_Zindex__Function.docs';
|
|
149
149
|
|
|
150
150
|
//semantic//
|
|
151
151
|
export { default as SemanticButton } from './semantic/Button/Button';
|
|
152
|
-
export { default as SemanticButton__default } from './semantic/Button/docs/Button__default.docs.js';
|
|
153
|
-
|
|
152
|
+
// export { default as SemanticButton__default } from './semantic/Button/docs/Button__default.docs.js';
|
|
153
|
+
|
|
154
|
+
// export { default as LightNightMode__AlternativeColors } from './LightNightMode/docs/AlternativeColors.docs';
|
|
154
155
|
export { default as ResponsiveDropBox } from './ResponsiveDropBox/ResponsiveDropBox';
|
|
155
156
|
export { default as Heading } from './Heading/Heading';
|
|
156
|
-
export { default as Heading__default } from './Heading/docs/Heading__default.docs.js';
|
|
157
|
+
// export { default as Heading__default } from './Heading/docs/Heading__default.docs.js';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _defaultProps = require("./props/defaultProps");
|
|
10
|
+
var _propTypes = require("./props/propTypes");
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
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); }
|
|
16
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
17
|
+
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); }; }
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
19
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20
|
+
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; } }
|
|
21
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
22
|
+
var Accordion = /*#__PURE__*/function (_React$Component) {
|
|
23
|
+
_inherits(Accordion, _React$Component);
|
|
24
|
+
var _super = _createSuper(Accordion);
|
|
25
|
+
function Accordion(props) {
|
|
26
|
+
var _this;
|
|
27
|
+
_classCallCheck(this, Accordion);
|
|
28
|
+
_this = _super.call(this, props);
|
|
29
|
+
_this.state = {
|
|
30
|
+
selectedItem: _this.props.selectedItem
|
|
31
|
+
};
|
|
32
|
+
_this.selectMenu = _this.selectMenu.bind(_assertThisInitialized(_this));
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
_createClass(Accordion, [{
|
|
36
|
+
key: "selectMenu",
|
|
37
|
+
value: function selectMenu(selectedItem) {
|
|
38
|
+
var _this$props = this.props,
|
|
39
|
+
onSelect = _this$props.onSelect,
|
|
40
|
+
disableInternalState = _this$props.disableInternalState;
|
|
41
|
+
if (onSelect) {
|
|
42
|
+
onSelect(selectedItem);
|
|
43
|
+
}
|
|
44
|
+
!disableInternalState && this.setState({
|
|
45
|
+
selectedItem: selectedItem
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
key: "componentWillReceiveProps",
|
|
50
|
+
value: function componentWillReceiveProps(nextProps) {
|
|
51
|
+
if (this.props.selectedItem !== nextProps.selectedItem && !this.props.disableInternalState) {
|
|
52
|
+
this.setState({
|
|
53
|
+
selectedItem: nextProps.selectedItem
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}, {
|
|
58
|
+
key: "render",
|
|
59
|
+
value: function render() {
|
|
60
|
+
var _this2 = this;
|
|
61
|
+
var _this$props2 = this.props,
|
|
62
|
+
className = _this$props2.className,
|
|
63
|
+
height = _this$props2.height,
|
|
64
|
+
unMount = _this$props2.unMount,
|
|
65
|
+
disableInternalState = _this$props2.disableInternalState,
|
|
66
|
+
propSelectedItem = _this$props2.selectedItem,
|
|
67
|
+
a11y = _this$props2.a11y;
|
|
68
|
+
var selectedItem = this.state.selectedItem;
|
|
69
|
+
var children = _react["default"].Children.map(this.props.children, function (child) {
|
|
70
|
+
if (child) {
|
|
71
|
+
return /*#__PURE__*/_react["default"].cloneElement(child, {
|
|
72
|
+
selectedItem: disableInternalState ? propSelectedItem : selectedItem,
|
|
73
|
+
selectMenu: _this2.selectMenu,
|
|
74
|
+
unMount: unMount
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
var role = a11y.role,
|
|
79
|
+
ariaExpanded = a11y.ariaExpanded,
|
|
80
|
+
ariaHaspopup = a11y.ariaHaspopup;
|
|
81
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
82
|
+
className: className ? className : '',
|
|
83
|
+
style: {
|
|
84
|
+
height: height
|
|
85
|
+
},
|
|
86
|
+
role: role,
|
|
87
|
+
"aria-expanded": ariaExpanded,
|
|
88
|
+
"aria-haspopup": ariaHaspopup
|
|
89
|
+
}, children);
|
|
90
|
+
}
|
|
91
|
+
}]);
|
|
92
|
+
return Accordion;
|
|
93
|
+
}(_react["default"].Component);
|
|
94
|
+
exports["default"] = Accordion;
|
|
95
|
+
Accordion.propTypes = _propTypes.Accordion_propTypes;
|
|
96
|
+
Accordion.defaultProps = _defaultProps.Accordion_defaultProps;
|
|
97
|
+
if (false) {
|
|
98
|
+
Accordion.docs = {
|
|
99
|
+
componentGroup: 'Animation',
|
|
100
|
+
folderName: 'Style Guide'
|
|
101
|
+
};
|
|
102
|
+
}
|