@zohodesk/components 1.0.0-temp-667 → 1.0.0-temp-70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/es/Accordion/Accordion.js +4 -20
- package/es/Accordion/AccordionItem.js +4 -19
- package/es/Accordion/props/defaultProps.js +8 -0
- package/es/Accordion/props/propTypes.js +30 -0
- package/es/Animation/Animation.js +4 -25
- package/es/Animation/props/defaultProps.js +7 -0
- package/es/Animation/props/propTypes.js +12 -0
- package/es/AppContainer/AppContainer.js +5 -24
- package/es/AppContainer/props/defaultProps.js +8 -0
- package/es/AppContainer/props/propTypes.js +15 -0
- package/es/Avatar/Avatar.js +5 -45
- package/es/Avatar/props/defaultProps.js +13 -0
- package/es/Avatar/props/propTypes.js +22 -0
- package/es/AvatarTeam/AvatarTeam.js +5 -37
- package/es/AvatarTeam/props/defaultProps.js +13 -0
- package/es/AvatarTeam/props/propTypes.js +23 -0
- package/es/Button/Button.js +4 -47
- package/es/Button/props/defaultProps.js +15 -0
- package/es/Button/props/propTypes.js +22 -0
- package/es/Buttongroup/Buttongroup.js +4 -11
- package/es/Buttongroup/props/defaultProps.js +4 -0
- package/es/Buttongroup/props/propTypes.js +7 -0
- package/es/Card/Card.js +12 -60
- package/es/Card/props/defaultProps.js +15 -0
- package/es/Card/props/propTypes.js +43 -0
- package/es/CheckBox/CheckBox.js +5 -60
- package/es/CheckBox/props/defaultProps.js +18 -0
- package/es/CheckBox/props/propTypes.js +41 -0
- package/es/DateTime/CalendarView.js +6 -26
- package/es/DateTime/DateTime.js +4 -62
- package/es/DateTime/DateWidget.js +4 -83
- package/es/DateTime/YearView.js +4 -12
- package/es/DateTime/props/defaultProps.js +50 -0
- package/es/DateTime/props/propTypes.js +130 -0
- package/es/DropBox/DropBox.js +5 -72
- package/es/DropBox/props/defaultProps.js +20 -0
- package/es/DropBox/props/propTypes.js +47 -0
- package/es/DropDown/DropDown.js +7 -34
- package/es/DropDown/DropDownHeading.js +4 -19
- package/es/DropDown/DropDownItem.js +4 -18
- package/es/DropDown/DropDownSearch.js +4 -24
- package/es/DropDown/DropDownSeparator.js +2 -4
- package/es/DropDown/props/defaultProps.js +18 -0
- package/es/DropDown/props/propTypes.js +77 -0
- package/es/Label/Label.js +4 -24
- package/es/Label/props/defaultProps.js +10 -0
- package/es/Label/props/propTypes.js +14 -0
- package/es/Layout/Box.js +15 -30
- package/es/Layout/Container.js +15 -27
- package/es/Layout/Layout.module.css +13 -1
- package/es/Layout/docs/Layout__four_Column.docs.js +16 -22
- package/es/Layout/props/defaultProps.js +12 -0
- package/es/Layout/props/propTypes.js +42 -0
- package/es/ListItem/ListContainer.js +5 -42
- package/es/ListItem/ListItem.js +5 -51
- package/es/ListItem/ListItemWithAvatar.js +5 -57
- package/es/ListItem/ListItemWithCheckBox.js +5 -41
- package/es/ListItem/ListItemWithIcon.js +5 -48
- package/es/ListItem/ListItemWithRadio.js +5 -42
- package/es/ListItem/props/defaultProps.js +85 -0
- package/es/ListItem/props/propTypes.js +185 -0
- package/es/Modal/Modal.js +5 -10
- package/es/Modal/props/defaultProps.js +3 -0
- package/es/Modal/props/propTypes.js +6 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -91
- package/es/MultiSelect/AdvancedMultiSelect.js +5 -114
- package/es/MultiSelect/EmptyState.js +4 -29
- package/es/MultiSelect/MultiSelect.js +4 -113
- package/es/MultiSelect/MultiSelectHeader.js +4 -12
- package/es/MultiSelect/MultiSelectWithAvatar.js +4 -99
- package/es/MultiSelect/SelectedOptions.js +5 -20
- package/es/MultiSelect/Suggestions.js +6 -35
- package/es/MultiSelect/props/defaultProps.js +140 -0
- package/es/MultiSelect/props/propTypes.js +360 -0
- package/es/PopOver/PopOver.js +7 -78
- package/es/PopOver/props/defaultProps.js +7 -0
- package/es/PopOver/props/propTypes.js +53 -0
- package/es/Popup/Popup.js +1 -1
- package/es/Radio/Radio.js +4 -46
- package/es/Radio/props/defaultProps.js +14 -0
- package/es/Radio/props/propTypes.js +32 -0
- package/es/Responsive/CustomResponsive.js +8 -19
- package/es/Responsive/Responsive.js +8 -22
- package/es/Responsive/props/defaultProps.js +13 -0
- package/es/Responsive/props/propTypes.js +25 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +5 -12
- package/es/ResponsiveDropBox/props/defaultProps.js +4 -0
- package/es/ResponsiveDropBox/props/propTypes.js +7 -0
- package/es/Ribbon/Ribbon.js +4 -25
- package/es/Ribbon/props/defaultProps.js +8 -0
- package/es/Ribbon/props/propTypes.js +10 -0
- package/es/RippleEffect/RippleEffect.js +4 -20
- package/es/RippleEffect/props/defaultProps.js +9 -0
- package/es/RippleEffect/props/propTypes.js +11 -0
- package/es/Select/GroupSelect.js +4 -109
- package/es/Select/Select.js +12 -150
- package/es/Select/SelectWithAvatar.js +4 -80
- package/es/Select/SelectWithIcon.js +4 -69
- package/es/Select/docs/Select__default.docs.js +1 -1
- package/es/Select/props/defaultProps.js +110 -0
- package/es/Select/props/propTypes.js +266 -0
- package/es/Stencils/Stencils.js +4 -17
- package/es/Stencils/props/defaultProps.js +6 -0
- package/es/Stencils/props/propTypes.js +7 -0
- package/es/Switch/Switch.js +5 -38
- package/es/Switch/props/defaultProps.js +10 -0
- package/es/Switch/props/propTypes.js +27 -0
- package/es/Tab/Tab.js +5 -32
- package/es/Tab/TabContent.js +4 -10
- package/es/Tab/TabContentWrapper.js +4 -12
- package/es/Tab/TabWrapper.js +5 -26
- package/es/Tab/Tabs.js +7 -69
- package/es/Tab/props/defaultProps.js +39 -0
- package/es/Tab/props/propTypes.js +102 -0
- package/es/Tag/Tag.js +4 -47
- package/es/Tag/props/defaultProps.js +13 -0
- package/es/Tag/props/propTypes.js +34 -0
- package/es/TextBox/TextBox.js +5 -73
- package/es/TextBox/props/defaultProps.js +19 -0
- package/es/TextBox/props/propTypes.js +53 -0
- package/es/TextBoxIcon/TextBoxIcon.js +5 -71
- package/es/TextBoxIcon/props/defaultProps.js +21 -0
- package/es/TextBoxIcon/props/propTypes.js +49 -0
- package/es/Textarea/Textarea.js +5 -48
- package/es/Textarea/props/defaultProps.js +16 -0
- package/es/Textarea/props/propTypes.js +31 -0
- package/es/Tooltip/Tooltip.js +4 -12
- package/es/Tooltip/props/defaultProps.js +4 -0
- package/es/Tooltip/props/propTypes.js +8 -0
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +4 -23
- package/es/VelocityAnimation/VelocityAnimation/props/defaultProps.js +7 -0
- package/es/VelocityAnimation/VelocityAnimation/props/propTypes.js +12 -0
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -38
- package/es/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +15 -0
- package/es/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +19 -0
- package/es/common/common.module.css +26 -3
- package/es/deprecated/PortalLayer/PortalLayer.js +4 -16
- package/es/deprecated/PortalLayer/props/defaultProps.js +5 -0
- package/es/deprecated/PortalLayer/props/propTypes.js +11 -0
- package/es/index.js +9 -4
- package/es/semantic/Button/Button.js +4 -38
- package/es/semantic/Button/props/defaultProps.js +12 -0
- package/es/semantic/Button/props/propTypes.js +26 -0
- package/es/ucl/Grid/Grid.js +45 -0
- package/es/ucl/Grid/componentNames.js +6 -0
- package/es/ucl/Grid/css/Grid.module.css +217 -0
- package/es/ucl/Grid/css/cssJSLogic.js +46 -0
- package/es/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +41 -0
- package/es/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +49 -0
- package/es/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +32 -0
- package/es/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +41 -0
- package/es/ucl/Grid/docs/Grid__Box_Alignment.docs.js +37 -0
- package/es/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +41 -0
- package/es/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +45 -0
- package/es/ucl/Grid/docs/Grid__default.docs.js +61 -0
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +38 -0
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +63 -0
- package/es/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +23 -0
- package/es/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +21 -0
- package/es/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +16 -0
- package/es/ucl/Grid/docs/css/gridDocsDefault.module.css +15 -0
- package/es/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +38 -0
- package/es/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +47 -0
- package/es/ucl/Grid/docs/css/gridDocsStyle.module.css +30 -0
- package/es/ucl/Grid/index.js +5 -0
- package/es/ucl/Grid/props/ariaPropTypes.js +6 -0
- package/es/ucl/Grid/props/defaultProps.js +8 -0
- package/es/ucl/Grid/props/propConstants.js +66 -0
- package/es/ucl/Grid/props/propTypes.js +27 -0
- package/lib/Accordion/Accordion.js +7 -22
- package/lib/Accordion/AccordionItem.js +7 -21
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Accordion/props/defaultProps.js +16 -0
- package/lib/Accordion/props/propTypes.js +42 -0
- package/lib/Animation/Animation.js +7 -27
- 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/Animation/props/defaultProps.js +14 -0
- package/lib/Animation/props/propTypes.js +23 -0
- package/lib/AppContainer/AppContainer.js +8 -26
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/AppContainer/props/defaultProps.js +15 -0
- package/lib/AppContainer/props/propTypes.js +26 -0
- package/lib/Avatar/Avatar.js +8 -47
- 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/Avatar/props/defaultProps.js +20 -0
- package/lib/Avatar/props/propTypes.js +33 -0
- package/lib/AvatarTeam/AvatarTeam.js +8 -39
- 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/AvatarTeam/props/defaultProps.js +20 -0
- package/lib/AvatarTeam/props/propTypes.js +34 -0
- package/lib/Button/Button.js +7 -50
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Button/props/defaultProps.js +24 -0
- package/lib/Button/props/propTypes.js +33 -0
- package/lib/Buttongroup/Buttongroup.js +7 -13
- 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/Buttongroup/props/defaultProps.js +11 -0
- package/lib/Buttongroup/props/propTypes.js +18 -0
- package/lib/Card/Card.js +15 -62
- 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/Card/props/defaultProps.js +23 -0
- package/lib/Card/props/propTypes.js +57 -0
- package/lib/CheckBox/CheckBox.js +8 -62
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/CheckBox/props/defaultProps.js +25 -0
- package/lib/CheckBox/props/propTypes.js +52 -0
- package/lib/DateTime/CalendarView.js +9 -28
- package/lib/DateTime/DateTime.js +7 -64
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +7 -85
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +7 -14
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DateTime/props/defaultProps.js +61 -0
- package/lib/DateTime/props/propTypes.js +145 -0
- package/lib/DropBox/DropBox.js +8 -74
- 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/DropBox/props/defaultProps.js +27 -0
- package/lib/DropBox/props/propTypes.js +58 -0
- package/lib/DropDown/DropDown.js +10 -36
- package/lib/DropDown/DropDownHeading.js +7 -21
- package/lib/DropDown/DropDownItem.js +7 -20
- package/lib/DropDown/DropDownSearch.js +7 -25
- package/lib/DropDown/DropDownSeparator.js +4 -6
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/DropDown/props/defaultProps.js +28 -0
- package/lib/DropDown/props/propTypes.js +94 -0
- package/lib/Label/Label.js +7 -26
- 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/Label/props/defaultProps.js +17 -0
- package/lib/Label/props/propTypes.js +25 -0
- package/lib/Layout/Box.js +18 -32
- package/lib/Layout/Container.js +18 -29
- package/lib/Layout/Layout.module.css +13 -1
- 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 +18 -24
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/Layout/props/defaultProps.js +20 -0
- package/lib/Layout/props/propTypes.js +54 -0
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +2 -2
- package/lib/ListItem/ListContainer.js +7 -43
- package/lib/ListItem/ListItem.js +9 -54
- package/lib/ListItem/ListItemWithAvatar.js +9 -40
- package/lib/ListItem/ListItemWithCheckBox.js +9 -44
- package/lib/ListItem/ListItemWithIcon.js +9 -51
- package/lib/ListItem/ListItemWithRadio.js +9 -45
- 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/ListItem/props/defaultProps.js +97 -0
- package/lib/ListItem/props/propTypes.js +181 -0
- package/lib/Modal/Modal.js +8 -12
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/Modal/props/defaultProps.js +10 -0
- package/lib/Modal/props/propTypes.js +17 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +8 -94
- package/lib/MultiSelect/AdvancedMultiSelect.js +8 -116
- package/lib/MultiSelect/EmptyState.js +7 -31
- package/lib/MultiSelect/MultiSelect.js +7 -115
- package/lib/MultiSelect/MultiSelectHeader.js +7 -14
- package/lib/MultiSelect/MultiSelectWithAvatar.js +7 -101
- package/lib/MultiSelect/SelectedOptions.js +8 -22
- package/lib/MultiSelect/Suggestions.js +9 -37
- 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/MultiSelect/props/defaultProps.js +156 -0
- package/lib/MultiSelect/props/propTypes.js +378 -0
- package/lib/PopOver/PopOver.js +10 -80
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/PopOver/props/defaultProps.js +15 -0
- package/lib/PopOver/props/propTypes.js +66 -0
- 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 +7 -48
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Radio/props/defaultProps.js +21 -0
- package/lib/Radio/props/propTypes.js +43 -0
- package/lib/Responsive/CustomResponsive.js +11 -21
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +19 -26
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/props/defaultProps.js +23 -0
- package/lib/Responsive/props/propTypes.js +39 -0
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +8 -14
- package/lib/ResponsiveDropBox/props/defaultProps.js +11 -0
- package/lib/ResponsiveDropBox/props/propTypes.js +18 -0
- package/lib/Ribbon/Ribbon.js +7 -27
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/Ribbon/props/defaultProps.js +15 -0
- package/lib/Ribbon/props/propTypes.js +21 -0
- package/lib/RippleEffect/RippleEffect.js +5 -20
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/RippleEffect/props/defaultProps.js +16 -0
- package/lib/RippleEffect/props/propTypes.js +22 -0
- package/lib/Select/GroupSelect.js +7 -111
- package/lib/Select/Select.js +15 -153
- package/lib/Select/SelectWithAvatar.js +7 -82
- package/lib/Select/SelectWithIcon.js +7 -62
- 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 +3 -3
- package/lib/Select/props/defaultProps.js +113 -0
- package/lib/Select/props/propTypes.js +280 -0
- package/lib/Stencils/Stencils.js +7 -19
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Stencils/props/defaultProps.js +13 -0
- package/lib/Stencils/props/propTypes.js +18 -0
- package/lib/Switch/Switch.js +8 -40
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Switch/props/defaultProps.js +17 -0
- package/lib/Switch/props/propTypes.js +38 -0
- package/lib/Tab/Tab.js +6 -32
- package/lib/Tab/TabContent.js +5 -10
- package/lib/Tab/TabContentWrapper.js +5 -12
- package/lib/Tab/TabWrapper.js +6 -28
- package/lib/Tab/Tabs.js +16 -73
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tab/props/defaultProps.js +50 -0
- package/lib/Tab/props/propTypes.js +117 -0
- package/lib/Tag/Tag.js +7 -49
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/Tag/props/defaultProps.js +20 -0
- package/lib/Tag/props/propTypes.js +45 -0
- package/lib/TextBox/TextBox.js +8 -73
- 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/TextBox/props/defaultProps.js +26 -0
- package/lib/TextBox/props/propTypes.js +62 -0
- package/lib/TextBoxIcon/TextBoxIcon.js +8 -73
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/TextBoxIcon/props/defaultProps.js +28 -0
- package/lib/TextBoxIcon/props/propTypes.js +60 -0
- package/lib/Textarea/Textarea.js +8 -50
- 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/Textarea/props/defaultProps.js +23 -0
- package/lib/Textarea/props/propTypes.js +42 -0
- package/lib/Tooltip/Tooltip.js +7 -14
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +2 -2
- package/lib/Tooltip/props/defaultProps.js +11 -0
- package/lib/Tooltip/props/propTypes.js +19 -0
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +7 -25
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +14 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +23 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +15 -41
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +22 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +30 -0
- package/lib/common/common.module.css +26 -3
- package/lib/deprecated/PortalLayer/PortalLayer.js +7 -18
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/deprecated/PortalLayer/props/defaultProps.js +12 -0
- package/lib/deprecated/PortalLayer/props/propTypes.js +22 -0
- package/lib/index.js +70 -20
- package/lib/semantic/Button/Button.js +7 -40
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/lib/semantic/Button/props/defaultProps.js +19 -0
- package/lib/semantic/Button/props/propTypes.js +37 -0
- package/lib/ucl/Grid/Grid.js +70 -0
- package/lib/ucl/Grid/componentNames.js +13 -0
- package/lib/ucl/Grid/css/Grid.module.css +217 -0
- package/lib/ucl/Grid/css/cssJSLogic.js +44 -0
- package/lib/{beta/FocusRing/docs/FocusRing__default.docs.js → ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js} +44 -52
- package/lib/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +101 -0
- package/lib/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +86 -0
- package/lib/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +93 -0
- package/lib/ucl/Grid/docs/Grid__Box_Alignment.docs.js +91 -0
- package/lib/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +93 -0
- package/lib/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +97 -0
- package/lib/ucl/Grid/docs/Grid__default.docs.js +113 -0
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +38 -0
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +63 -0
- package/lib/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +23 -0
- package/lib/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +21 -0
- package/lib/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +16 -0
- package/lib/ucl/Grid/docs/css/gridDocsDefault.module.css +15 -0
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +38 -0
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +47 -0
- package/lib/ucl/Grid/docs/css/gridDocsStyle.module.css +30 -0
- package/lib/ucl/Grid/index.js +31 -0
- package/lib/ucl/Grid/props/ariaPropTypes.js +23 -0
- package/lib/ucl/Grid/props/defaultProps.js +19 -0
- package/lib/ucl/Grid/props/propConstants.js +73 -0
- package/lib/ucl/Grid/props/propTypes.js +46 -0
- package/package.json +8 -4
- package/es/a11y/FocusScope/FocusScope.js +0 -370
- package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -139
- package/es/beta/FocusRing/FocusRing.js +0 -281
- package/es/beta/FocusRing/FocusRing.module.css +0 -152
- package/es/beta/FocusRing/docs/FocusRing__default.docs.js +0 -48
- package/lib/a11y/FocusScope/FocusScope.js +0 -443
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +0 -191
- package/lib/beta/FocusRing/FocusRing.js +0 -338
- package/lib/beta/FocusRing/FocusRing.module.css +0 -152
package/lib/DateTime/DateTime.js
CHANGED
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes =
|
|
12
|
+
var _propTypes = require("./props/propTypes");
|
|
13
|
+
|
|
14
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
15
|
|
|
14
16
|
var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
|
|
15
17
|
|
|
@@ -61,7 +63,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
61
63
|
|
|
62
64
|
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); }
|
|
63
65
|
|
|
64
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
66
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
65
67
|
|
|
66
68
|
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); }; }
|
|
67
69
|
|
|
@@ -71,7 +73,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
71
73
|
|
|
72
74
|
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; } }
|
|
73
75
|
|
|
74
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
76
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
75
77
|
|
|
76
78
|
function title(date, year, month) {
|
|
77
79
|
var monthNames = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
@@ -854,64 +856,5 @@ var DateTime = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
854
856
|
}(_react["default"].PureComponent);
|
|
855
857
|
|
|
856
858
|
exports["default"] = DateTime;
|
|
857
|
-
DateTime.propTypes =
|
|
858
|
-
|
|
859
|
-
className: _propTypes["default"].string,
|
|
860
|
-
dataId: _propTypes["default"].string,
|
|
861
|
-
dateFormat: _propTypes["default"].string,
|
|
862
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
863
|
-
defaultTime: _propTypes["default"].string,
|
|
864
|
-
getMethods: _propTypes["default"].func,
|
|
865
|
-
getRef: _propTypes["default"].func,
|
|
866
|
-
i18nKeys: _propTypes["default"].shape({
|
|
867
|
-
timeText: _propTypes["default"].string.isRequired,
|
|
868
|
-
submitText: _propTypes["default"].string.isRequired,
|
|
869
|
-
cancelText: _propTypes["default"].string.isRequired,
|
|
870
|
-
hourEmptyText: _propTypes["default"].string.isRequired,
|
|
871
|
-
minuteEmptyText: _propTypes["default"].string.isRequired,
|
|
872
|
-
nextMonthTitleText: _propTypes["default"].string.isRequired,
|
|
873
|
-
prevMonthTitleText: _propTypes["default"].string.isRequired
|
|
874
|
-
}),
|
|
875
|
-
innerClass: _propTypes["default"].string,
|
|
876
|
-
isAbsolute: _propTypes["default"].bool,
|
|
877
|
-
isActive: _propTypes["default"].bool,
|
|
878
|
-
isAnimate: _propTypes["default"].bool,
|
|
879
|
-
isDateTimeField: _propTypes["default"].bool,
|
|
880
|
-
isPadding: _propTypes["default"].bool,
|
|
881
|
-
isReady: _propTypes["default"].bool,
|
|
882
|
-
max: _propTypes["default"].string,
|
|
883
|
-
maxErrorText: _propTypes["default"].string,
|
|
884
|
-
min: _propTypes["default"].string,
|
|
885
|
-
minErrorText: _propTypes["default"].string,
|
|
886
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
887
|
-
needAction: _propTypes["default"].bool,
|
|
888
|
-
needDefaultTime: _propTypes["default"].bool,
|
|
889
|
-
needResponsive: _propTypes["default"].bool,
|
|
890
|
-
onChange: _propTypes["default"].func,
|
|
891
|
-
onClear: _propTypes["default"].func,
|
|
892
|
-
onClick: _propTypes["default"].func,
|
|
893
|
-
onDateSelect: _propTypes["default"].func,
|
|
894
|
-
onError: _propTypes["default"].func,
|
|
895
|
-
onSelect: _propTypes["default"].func,
|
|
896
|
-
position: _propTypes["default"].string,
|
|
897
|
-
timeZone: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].object]),
|
|
898
|
-
value: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
899
|
-
is24Hour: _propTypes["default"].bool,
|
|
900
|
-
isDefaultPosition: _propTypes["default"].bool
|
|
901
|
-
};
|
|
902
|
-
DateTime.defaultProps = {
|
|
903
|
-
isDateTimeField: true,
|
|
904
|
-
dataId: 'dateTime',
|
|
905
|
-
needDefaultTime: true,
|
|
906
|
-
isAbsolute: true,
|
|
907
|
-
isAnimate: true,
|
|
908
|
-
needAction: true,
|
|
909
|
-
boxSize: 'large',
|
|
910
|
-
className: '',
|
|
911
|
-
innerClass: '',
|
|
912
|
-
dateFormat: 'dd/MM/yyyy',
|
|
913
|
-
isPadding: false,
|
|
914
|
-
i18nKeys: {},
|
|
915
|
-
is24Hour: false,
|
|
916
|
-
isDefaultPosition: false
|
|
917
|
-
};
|
|
859
|
+
DateTime.propTypes = _propTypes.DateTime_propTypes;
|
|
860
|
+
DateTime.defaultProps = _defaultProps.DateTime_defaultProps;
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
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); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
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); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
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; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
var DateTimePopupFooter = /*#__PURE__*/function (_PureComponent) {
|
|
45
45
|
_inherits(DateTimePopupFooter, _PureComponent);
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
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); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
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); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
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; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
var Span = /*#__PURE__*/function (_React$PureComponent) {
|
|
45
45
|
_inherits(Span, _React$PureComponent);
|
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes =
|
|
12
|
+
var _propTypes = require("./props/propTypes");
|
|
13
|
+
|
|
14
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
15
|
|
|
14
16
|
var _datetimejs = _interopRequireDefault(require("@zohodesk/datetimejs"));
|
|
15
17
|
|
|
@@ -55,7 +57,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
55
57
|
|
|
56
58
|
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); }
|
|
57
59
|
|
|
58
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
60
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
59
61
|
|
|
60
62
|
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); }; }
|
|
61
63
|
|
|
@@ -65,7 +67,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
65
67
|
|
|
66
68
|
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; } }
|
|
67
69
|
|
|
68
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
70
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
69
71
|
|
|
70
72
|
/* eslint-disable react/no-unused-prop-types */
|
|
71
73
|
|
|
@@ -1099,88 +1101,8 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1099
1101
|
return DateWidgetComponent;
|
|
1100
1102
|
}(_react["default"].Component);
|
|
1101
1103
|
|
|
1102
|
-
DateWidgetComponent.defaultProps =
|
|
1103
|
-
|
|
1104
|
-
dataId: 'dateWidget',
|
|
1105
|
-
dateFormat: 'MM/dd/yyyy',
|
|
1106
|
-
isDateTime: false,
|
|
1107
|
-
isDisabled: false,
|
|
1108
|
-
isPopupOpenOnEnter: false,
|
|
1109
|
-
isReadOnly: false,
|
|
1110
|
-
needBorder: true,
|
|
1111
|
-
needDefaultTime: true,
|
|
1112
|
-
placeholder: '-None-',
|
|
1113
|
-
textBoxSize: 'medium',
|
|
1114
|
-
textBoxVariant: 'default',
|
|
1115
|
-
timeZone: null,
|
|
1116
|
-
isPopupOpenOnClick: true,
|
|
1117
|
-
isPopupCloseOnClick: false,
|
|
1118
|
-
cantEditOnPopupOpen: true,
|
|
1119
|
-
i18nKeys: {},
|
|
1120
|
-
needErrorOnBlur: false,
|
|
1121
|
-
isEditable: false,
|
|
1122
|
-
iconOnHover: false,
|
|
1123
|
-
is24Hour: false
|
|
1124
|
-
};
|
|
1125
|
-
DateWidgetComponent.propTypes = {
|
|
1126
|
-
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
1127
|
-
cantEditOnPopupOpen: _propTypes["default"].bool,
|
|
1128
|
-
children: _propTypes["default"].object,
|
|
1129
|
-
className: _propTypes["default"].string,
|
|
1130
|
-
closePopupOnly: _propTypes["default"].func,
|
|
1131
|
-
dataId: _propTypes["default"].string,
|
|
1132
|
-
dateFormat: _propTypes["default"].oneOf(['yyyy/MM/dd', 'MM/dd/yyyy', 'dd/MM/yyyy', 'yyyy-MM-dd', 'MM-dd-yyyy', 'dd-MM-yyyy', 'yyyy.MM.dd', 'MM.dd.yyyy', 'dd.MM.yyyy', 'dd/MMMM/YY', 'dd/MMM/YY']),
|
|
1133
|
-
defaultPosition: _propTypes["default"].oneOf(['top', 'bottom', 'right', 'left']),
|
|
1134
|
-
defaultTime: _propTypes["default"].string,
|
|
1135
|
-
getContainerRef: _propTypes["default"].func,
|
|
1136
|
-
getMethods: _propTypes["default"].func,
|
|
1137
|
-
getRef: _propTypes["default"].func,
|
|
1138
|
-
getTargetRef: _propTypes["default"].func,
|
|
1139
|
-
i18nKeys: _propTypes["default"].object,
|
|
1140
|
-
id: _propTypes["default"].string,
|
|
1141
|
-
isDateTime: _propTypes["default"].bool,
|
|
1142
|
-
isDisabled: _propTypes["default"].bool,
|
|
1143
|
-
isEditable: _propTypes["default"].bool,
|
|
1144
|
-
isPopupCloseOnClick: _propTypes["default"].bool,
|
|
1145
|
-
isPopupOpen: _propTypes["default"].bool,
|
|
1146
|
-
isPopupOpenOnClick: _propTypes["default"].bool,
|
|
1147
|
-
isPopupOpenOnEnter: _propTypes["default"].bool,
|
|
1148
|
-
isPopupReady: _propTypes["default"].bool,
|
|
1149
|
-
isReadOnly: _propTypes["default"].bool,
|
|
1150
|
-
max: _propTypes["default"].string,
|
|
1151
|
-
maxErrorText: _propTypes["default"].string,
|
|
1152
|
-
min: _propTypes["default"].string,
|
|
1153
|
-
minErrorText: _propTypes["default"].string,
|
|
1154
|
-
needBorder: _propTypes["default"].bool,
|
|
1155
|
-
needDefaultTime: _propTypes["default"].bool,
|
|
1156
|
-
needErrorOnBlur: _propTypes["default"].bool,
|
|
1157
|
-
needResponsive: _propTypes["default"].bool,
|
|
1158
|
-
onFailValidation: _propTypes["default"].func,
|
|
1159
|
-
onKeyDown: _propTypes["default"].func,
|
|
1160
|
-
onPassValidation: _propTypes["default"].func,
|
|
1161
|
-
onSelect: _propTypes["default"].func,
|
|
1162
|
-
placeholder: _propTypes["default"].string,
|
|
1163
|
-
position: _propTypes["default"].string,
|
|
1164
|
-
removeClose: _propTypes["default"].func,
|
|
1165
|
-
textBoxSize: _propTypes["default"].string,
|
|
1166
|
-
textBoxVariant: _propTypes["default"].string,
|
|
1167
|
-
timeZone: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].object]),
|
|
1168
|
-
togglePopup: _propTypes["default"].func,
|
|
1169
|
-
validation: _propTypes["default"].shape({
|
|
1170
|
-
validate: _propTypes["default"].bool,
|
|
1171
|
-
validateOn: _propTypes["default"].string,
|
|
1172
|
-
rulesOrder: _propTypes["default"].arrayOf(_propTypes["default"].string),
|
|
1173
|
-
rules: _propTypes["default"].object,
|
|
1174
|
-
messages: _propTypes["default"].object
|
|
1175
|
-
}),
|
|
1176
|
-
value: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
1177
|
-
htmlId: _propTypes["default"].string,
|
|
1178
|
-
iconOnHover: _propTypes["default"].bool,
|
|
1179
|
-
is24Hour: _propTypes["default"].bool,
|
|
1180
|
-
isHideCurrentYear: _propTypes["default"].bool,
|
|
1181
|
-
onFocus: _propTypes["default"].func,
|
|
1182
|
-
onBlur: _propTypes["default"].func
|
|
1183
|
-
};
|
|
1104
|
+
DateWidgetComponent.defaultProps = _defaultProps.DateWidget_defaultProps;
|
|
1105
|
+
DateWidgetComponent.propTypes = _propTypes.DateWidget_propTypes;
|
|
1184
1106
|
var DateWidget = (0, _Popup["default"])(DateWidgetComponent);
|
|
1185
1107
|
DateWidget.defaultProps = DateWidgetComponent.defaultProps; // eslint-disable-next-line no-undef
|
|
1186
1108
|
|
package/lib/DateTime/DaysRow.js
CHANGED
|
@@ -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 || 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
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
41
|
|
|
42
42
|
var DaysRow = /*#__PURE__*/function (_PureComponent) {
|
|
43
43
|
_inherits(DaysRow, _PureComponent);
|
package/lib/DateTime/Time.js
CHANGED
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
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); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
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); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
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; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
var Time = /*#__PURE__*/function (_PureComponent) {
|
|
45
45
|
_inherits(Time, _PureComponent);
|
package/lib/DateTime/YearView.js
CHANGED
|
@@ -9,7 +9,9 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes =
|
|
12
|
+
var _propTypes = require("./props/propTypes");
|
|
13
|
+
|
|
14
|
+
var _defaultProps = require("./props/defaultProps");
|
|
13
15
|
|
|
14
16
|
var _virtualizer = require("@zohodesk/virtualizer");
|
|
15
17
|
|
|
@@ -31,7 +33,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
31
33
|
|
|
32
34
|
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); }
|
|
33
35
|
|
|
34
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
36
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
37
|
|
|
36
38
|
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); }; }
|
|
37
39
|
|
|
@@ -41,7 +43,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
41
43
|
|
|
42
44
|
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; } }
|
|
43
45
|
|
|
44
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
46
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
47
|
|
|
46
48
|
var monthNamesData = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
|
|
47
49
|
|
|
@@ -311,14 +313,5 @@ var YearView = /*#__PURE__*/function (_React$PureComponent3) {
|
|
|
311
313
|
}(_react["default"].PureComponent);
|
|
312
314
|
|
|
313
315
|
exports["default"] = YearView;
|
|
314
|
-
YearView.propTypes =
|
|
315
|
-
|
|
316
|
-
needBorder: _propTypes["default"].bool,
|
|
317
|
-
onSelectMonth: _propTypes["default"].func,
|
|
318
|
-
onSelectYear: _propTypes["default"].func,
|
|
319
|
-
viewedYear: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
320
|
-
};
|
|
321
|
-
YearView.defaultProps = {
|
|
322
|
-
dataId: 'dateContainer',
|
|
323
|
-
needBorder: true
|
|
324
|
-
};
|
|
316
|
+
YearView.propTypes = _propTypes.YearView_propTypes;
|
|
317
|
+
YearView.defaultProps = _defaultProps.YearView_defaultProps;
|
|
@@ -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 || 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
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
41
|
|
|
42
42
|
var DateTime__default = /*#__PURE__*/function (_React$Component) {
|
|
43
43
|
_inherits(DateTime__default, _React$Component);
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
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); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
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); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
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; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
var DateWidget__default = /*#__PURE__*/function (_React$Component) {
|
|
45
45
|
_inherits(DateWidget__default, _React$Component);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.YearView_defaultProps = exports.Span_defaultProps = exports.DateWidget_defaultProps = exports.DateTime_defaultProps = exports.CalendarView_defaultProps = void 0;
|
|
7
|
+
var CalendarView_defaultProps = {
|
|
8
|
+
dataId: 'dateContainer',
|
|
9
|
+
needBorder: true
|
|
10
|
+
};
|
|
11
|
+
exports.CalendarView_defaultProps = CalendarView_defaultProps;
|
|
12
|
+
var Span_defaultProps = {
|
|
13
|
+
dataId: 'calendar-view'
|
|
14
|
+
};
|
|
15
|
+
exports.Span_defaultProps = Span_defaultProps;
|
|
16
|
+
var DateTime_defaultProps = {
|
|
17
|
+
isDateTimeField: true,
|
|
18
|
+
dataId: 'dateTime',
|
|
19
|
+
needDefaultTime: true,
|
|
20
|
+
isAbsolute: true,
|
|
21
|
+
isAnimate: true,
|
|
22
|
+
needAction: true,
|
|
23
|
+
boxSize: 'large',
|
|
24
|
+
className: '',
|
|
25
|
+
innerClass: '',
|
|
26
|
+
dateFormat: 'dd/MM/yyyy',
|
|
27
|
+
isPadding: false,
|
|
28
|
+
i18nKeys: {},
|
|
29
|
+
is24Hour: false,
|
|
30
|
+
isDefaultPosition: false
|
|
31
|
+
};
|
|
32
|
+
exports.DateTime_defaultProps = DateTime_defaultProps;
|
|
33
|
+
var DateWidget_defaultProps = {
|
|
34
|
+
borderColor: 'default',
|
|
35
|
+
dataId: 'dateWidget',
|
|
36
|
+
dateFormat: 'MM/dd/yyyy',
|
|
37
|
+
isDateTime: false,
|
|
38
|
+
isDisabled: false,
|
|
39
|
+
isPopupOpenOnEnter: false,
|
|
40
|
+
isReadOnly: false,
|
|
41
|
+
needBorder: true,
|
|
42
|
+
needDefaultTime: true,
|
|
43
|
+
placeholder: '-None-',
|
|
44
|
+
textBoxSize: 'medium',
|
|
45
|
+
textBoxVariant: 'default',
|
|
46
|
+
timeZone: null,
|
|
47
|
+
isPopupOpenOnClick: true,
|
|
48
|
+
isPopupCloseOnClick: false,
|
|
49
|
+
cantEditOnPopupOpen: true,
|
|
50
|
+
i18nKeys: {},
|
|
51
|
+
needErrorOnBlur: false,
|
|
52
|
+
isEditable: false,
|
|
53
|
+
iconOnHover: false,
|
|
54
|
+
is24Hour: false
|
|
55
|
+
};
|
|
56
|
+
exports.DateWidget_defaultProps = DateWidget_defaultProps;
|
|
57
|
+
var YearView_defaultProps = {
|
|
58
|
+
dataId: 'dateContainer',
|
|
59
|
+
needBorder: true
|
|
60
|
+
};
|
|
61
|
+
exports.YearView_defaultProps = YearView_defaultProps;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.YearView_propTypes = exports.Span_propTypes = exports.DateWidget_propTypes = exports.DateTime_propTypes = exports.CalendarView_propTypes = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var CalendarView_propTypes = {
|
|
13
|
+
dataId: _propTypes["default"].string,
|
|
14
|
+
date: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
15
|
+
month: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
16
|
+
needBorder: _propTypes["default"].bool,
|
|
17
|
+
onSelect: _propTypes["default"].func,
|
|
18
|
+
year: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
19
|
+
};
|
|
20
|
+
exports.CalendarView_propTypes = CalendarView_propTypes;
|
|
21
|
+
var Span_propTypes = {
|
|
22
|
+
dataId: _propTypes["default"].string,
|
|
23
|
+
handleSelect: _propTypes["default"].func,
|
|
24
|
+
i: _propTypes["default"].number,
|
|
25
|
+
incremday: _propTypes["default"].number,
|
|
26
|
+
isActive: _propTypes["default"].bool,
|
|
27
|
+
tdclass: _propTypes["default"].string,
|
|
28
|
+
userSeeMonth: _propTypes["default"].number,
|
|
29
|
+
userSeeYear: _propTypes["default"].number
|
|
30
|
+
};
|
|
31
|
+
exports.Span_propTypes = Span_propTypes;
|
|
32
|
+
var DateTime_propTypes = {
|
|
33
|
+
boxSize: _propTypes["default"].string,
|
|
34
|
+
className: _propTypes["default"].string,
|
|
35
|
+
dataId: _propTypes["default"].string,
|
|
36
|
+
dateFormat: _propTypes["default"].string,
|
|
37
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
38
|
+
defaultTime: _propTypes["default"].string,
|
|
39
|
+
getMethods: _propTypes["default"].func,
|
|
40
|
+
getRef: _propTypes["default"].func,
|
|
41
|
+
i18nKeys: _propTypes["default"].shape({
|
|
42
|
+
timeText: _propTypes["default"].string.isRequired,
|
|
43
|
+
submitText: _propTypes["default"].string.isRequired,
|
|
44
|
+
cancelText: _propTypes["default"].string.isRequired,
|
|
45
|
+
hourEmptyText: _propTypes["default"].string.isRequired,
|
|
46
|
+
minuteEmptyText: _propTypes["default"].string.isRequired,
|
|
47
|
+
nextMonthTitleText: _propTypes["default"].string.isRequired,
|
|
48
|
+
prevMonthTitleText: _propTypes["default"].string.isRequired
|
|
49
|
+
}),
|
|
50
|
+
innerClass: _propTypes["default"].string,
|
|
51
|
+
isAbsolute: _propTypes["default"].bool,
|
|
52
|
+
isActive: _propTypes["default"].bool,
|
|
53
|
+
isAnimate: _propTypes["default"].bool,
|
|
54
|
+
isDateTimeField: _propTypes["default"].bool,
|
|
55
|
+
isPadding: _propTypes["default"].bool,
|
|
56
|
+
isReady: _propTypes["default"].bool,
|
|
57
|
+
max: _propTypes["default"].string,
|
|
58
|
+
maxErrorText: _propTypes["default"].string,
|
|
59
|
+
min: _propTypes["default"].string,
|
|
60
|
+
minErrorText: _propTypes["default"].string,
|
|
61
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
62
|
+
needAction: _propTypes["default"].bool,
|
|
63
|
+
needDefaultTime: _propTypes["default"].bool,
|
|
64
|
+
needResponsive: _propTypes["default"].bool,
|
|
65
|
+
onChange: _propTypes["default"].func,
|
|
66
|
+
onClear: _propTypes["default"].func,
|
|
67
|
+
onClick: _propTypes["default"].func,
|
|
68
|
+
onDateSelect: _propTypes["default"].func,
|
|
69
|
+
onError: _propTypes["default"].func,
|
|
70
|
+
onSelect: _propTypes["default"].func,
|
|
71
|
+
position: _propTypes["default"].string,
|
|
72
|
+
timeZone: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].object]),
|
|
73
|
+
value: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
74
|
+
is24Hour: _propTypes["default"].bool,
|
|
75
|
+
isDefaultPosition: _propTypes["default"].bool
|
|
76
|
+
};
|
|
77
|
+
exports.DateTime_propTypes = DateTime_propTypes;
|
|
78
|
+
var DateWidget_propTypes = {
|
|
79
|
+
borderColor: _propTypes["default"].oneOf(['transparent', 'default']),
|
|
80
|
+
cantEditOnPopupOpen: _propTypes["default"].bool,
|
|
81
|
+
children: _propTypes["default"].object,
|
|
82
|
+
className: _propTypes["default"].string,
|
|
83
|
+
closePopupOnly: _propTypes["default"].func,
|
|
84
|
+
dataId: _propTypes["default"].string,
|
|
85
|
+
dateFormat: _propTypes["default"].oneOf(['yyyy/MM/dd', 'MM/dd/yyyy', 'dd/MM/yyyy', 'yyyy-MM-dd', 'MM-dd-yyyy', 'dd-MM-yyyy', 'yyyy.MM.dd', 'MM.dd.yyyy', 'dd.MM.yyyy', 'dd/MMMM/YY', 'dd/MMM/YY']),
|
|
86
|
+
defaultPosition: _propTypes["default"].oneOf(['top', 'bottom', 'right', 'left']),
|
|
87
|
+
defaultTime: _propTypes["default"].string,
|
|
88
|
+
getContainerRef: _propTypes["default"].func,
|
|
89
|
+
getMethods: _propTypes["default"].func,
|
|
90
|
+
getRef: _propTypes["default"].func,
|
|
91
|
+
getTargetRef: _propTypes["default"].func,
|
|
92
|
+
i18nKeys: _propTypes["default"].object,
|
|
93
|
+
id: _propTypes["default"].string,
|
|
94
|
+
isDateTime: _propTypes["default"].bool,
|
|
95
|
+
isDisabled: _propTypes["default"].bool,
|
|
96
|
+
isEditable: _propTypes["default"].bool,
|
|
97
|
+
isPopupCloseOnClick: _propTypes["default"].bool,
|
|
98
|
+
isPopupOpen: _propTypes["default"].bool,
|
|
99
|
+
isPopupOpenOnClick: _propTypes["default"].bool,
|
|
100
|
+
isPopupOpenOnEnter: _propTypes["default"].bool,
|
|
101
|
+
isPopupReady: _propTypes["default"].bool,
|
|
102
|
+
isReadOnly: _propTypes["default"].bool,
|
|
103
|
+
max: _propTypes["default"].string,
|
|
104
|
+
maxErrorText: _propTypes["default"].string,
|
|
105
|
+
min: _propTypes["default"].string,
|
|
106
|
+
minErrorText: _propTypes["default"].string,
|
|
107
|
+
needBorder: _propTypes["default"].bool,
|
|
108
|
+
needDefaultTime: _propTypes["default"].bool,
|
|
109
|
+
needErrorOnBlur: _propTypes["default"].bool,
|
|
110
|
+
needResponsive: _propTypes["default"].bool,
|
|
111
|
+
onFailValidation: _propTypes["default"].func,
|
|
112
|
+
onKeyDown: _propTypes["default"].func,
|
|
113
|
+
onPassValidation: _propTypes["default"].func,
|
|
114
|
+
onSelect: _propTypes["default"].func,
|
|
115
|
+
placeholder: _propTypes["default"].string,
|
|
116
|
+
position: _propTypes["default"].string,
|
|
117
|
+
removeClose: _propTypes["default"].func,
|
|
118
|
+
textBoxSize: _propTypes["default"].string,
|
|
119
|
+
textBoxVariant: _propTypes["default"].string,
|
|
120
|
+
timeZone: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].object]),
|
|
121
|
+
togglePopup: _propTypes["default"].func,
|
|
122
|
+
validation: _propTypes["default"].shape({
|
|
123
|
+
validate: _propTypes["default"].bool,
|
|
124
|
+
validateOn: _propTypes["default"].string,
|
|
125
|
+
rulesOrder: _propTypes["default"].arrayOf(_propTypes["default"].string),
|
|
126
|
+
rules: _propTypes["default"].object,
|
|
127
|
+
messages: _propTypes["default"].object
|
|
128
|
+
}),
|
|
129
|
+
value: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number]),
|
|
130
|
+
htmlId: _propTypes["default"].string,
|
|
131
|
+
iconOnHover: _propTypes["default"].bool,
|
|
132
|
+
is24Hour: _propTypes["default"].bool,
|
|
133
|
+
isHideCurrentYear: _propTypes["default"].bool,
|
|
134
|
+
onFocus: _propTypes["default"].func,
|
|
135
|
+
onBlur: _propTypes["default"].func
|
|
136
|
+
};
|
|
137
|
+
exports.DateWidget_propTypes = DateWidget_propTypes;
|
|
138
|
+
var YearView_propTypes = {
|
|
139
|
+
dataId: _propTypes["default"].string,
|
|
140
|
+
needBorder: _propTypes["default"].bool,
|
|
141
|
+
onSelectMonth: _propTypes["default"].func,
|
|
142
|
+
onSelectYear: _propTypes["default"].func,
|
|
143
|
+
viewedYear: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
144
|
+
};
|
|
145
|
+
exports.YearView_propTypes = YearView_propTypes;
|