@zohodesk/components 1.0.0-temp-70 → 1.0.0-temp-71
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/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +1 -1
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +1 -1
- package/es/Accordion/Accordion.js +20 -4
- package/es/Accordion/AccordionItem.js +19 -4
- package/es/Animation/Animation.js +25 -4
- package/es/AppContainer/AppContainer.js +23 -4
- package/es/Avatar/Avatar.js +44 -4
- package/es/Avatar/Avatar.module.css +9 -11
- package/es/AvatarTeam/AvatarTeam.js +36 -4
- package/es/AvatarTeam/AvatarTeam.module.css +7 -21
- package/es/Button/Button.js +47 -4
- package/es/Button/Button.module.css +24 -97
- package/es/Buttongroup/Buttongroup.js +11 -4
- package/es/Buttongroup/Buttongroup.module.css +8 -37
- package/es/Card/Card.js +60 -12
- package/es/CheckBox/CheckBox.js +59 -4
- package/es/CheckBox/CheckBox.module.css +19 -29
- package/es/DateTime/CalendarView.js +26 -6
- package/es/DateTime/DateTime.js +62 -4
- package/es/DateTime/DateTime.module.css +12 -39
- package/es/DateTime/DateWidget.js +83 -4
- package/es/DateTime/DateWidget.module.css +5 -9
- package/es/DateTime/YearView.js +12 -4
- package/es/DateTime/YearView.module.css +7 -17
- package/es/DropBox/DropBox.js +71 -4
- package/es/DropBox/DropBox.module.css +11 -47
- package/es/DropDown/DropDown.js +34 -7
- package/es/DropDown/DropDownHeading.js +19 -4
- package/es/DropDown/DropDownHeading.module.css +3 -7
- package/es/DropDown/DropDownItem.js +18 -4
- package/es/DropDown/DropDownItem.module.css +6 -32
- package/es/DropDown/DropDownSearch.js +24 -4
- package/es/DropDown/DropDownSeparator.js +4 -2
- package/es/Label/Label.js +24 -4
- package/es/Layout/Box.js +30 -15
- package/es/Layout/Container.js +27 -15
- package/es/Layout/Layout.module.css +1 -13
- package/es/Layout/docs/Layout__four_Column.docs.js +22 -16
- package/es/ListItem/ListContainer.js +41 -4
- package/es/ListItem/ListItem.js +50 -4
- package/es/ListItem/ListItem.module.css +33 -69
- package/es/ListItem/ListItemWithAvatar.js +56 -4
- package/es/ListItem/ListItemWithCheckBox.js +40 -4
- package/es/ListItem/ListItemWithIcon.js +47 -4
- package/es/ListItem/ListItemWithRadio.js +41 -4
- package/es/Modal/Modal.js +9 -4
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +91 -5
- package/es/MultiSelect/AdvancedMultiSelect.js +113 -4
- package/es/MultiSelect/AdvancedMultiSelect.module.css +113 -0
- package/es/MultiSelect/EmptyState.js +29 -4
- package/es/MultiSelect/MultiSelect.js +113 -4
- package/es/MultiSelect/MultiSelect.module.css +11 -28
- package/es/MultiSelect/MultiSelectHeader.js +12 -4
- package/es/MultiSelect/MultiSelectWithAvatar.js +99 -4
- package/es/MultiSelect/SelectedOptions.js +19 -4
- package/es/MultiSelect/SelectedOptions.module.css +2 -8
- package/es/MultiSelect/Suggestions.js +34 -5
- package/es/PopOver/PopOver.js +78 -7
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Radio/Radio.js +46 -4
- package/es/Radio/Radio.module.css +10 -18
- package/es/Responsive/CustomResponsive.js +19 -8
- package/es/Responsive/ResizeComponent.js +82 -15
- package/es/Responsive/ResizeObserver.js +6 -2
- package/es/Responsive/Responsive.js +22 -8
- package/es/Responsive/docs/style.module.css +8 -17
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +11 -4
- package/es/Ribbon/Ribbon.js +25 -4
- package/es/Ribbon/Ribbon.module.css +28 -93
- package/es/RippleEffect/RippleEffect.js +20 -4
- package/es/RippleEffect/RippleEffect.module.css +44 -37
- package/es/Select/GroupSelect.js +109 -4
- package/es/Select/Select.js +120 -4
- package/es/Select/Select.module.css +2 -12
- package/es/Select/SelectWithAvatar.js +80 -4
- package/es/Select/SelectWithIcon.js +69 -4
- package/es/Stencils/Stencils.js +17 -4
- package/es/Stencils/Stencils.module.css +3 -21
- package/es/Switch/Switch.js +37 -4
- package/es/Switch/Switch.module.css +9 -9
- package/es/Tab/Tab.js +31 -4
- package/es/Tab/Tab.module.css +7 -16
- package/es/Tab/TabContent.js +10 -4
- package/es/Tab/TabContentWrapper.js +12 -4
- package/es/Tab/TabWrapper.js +25 -4
- package/es/Tab/Tabs.js +68 -6
- package/es/Tab/Tabs.module.css +8 -42
- package/es/Tab/docs/tabdocs.module.css +1 -1
- package/es/Tag/Tag.js +47 -4
- package/es/Tag/Tag.module.css +14 -36
- package/es/TextBox/TextBox.js +72 -4
- package/es/TextBox/TextBox.module.css +11 -7
- package/es/TextBoxIcon/TextBoxIcon.js +70 -4
- package/es/TextBoxIcon/TextBoxIcon.module.css +5 -12
- package/es/Textarea/Textarea.js +47 -4
- package/es/Textarea/Textarea.module.css +7 -6
- package/es/Tooltip/Tooltip.js +12 -4
- package/es/Tooltip/Tooltip.module.css +8 -9
- package/es/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +23 -4
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +37 -4
- package/es/a11y/FocusScope/FocusScope.js +370 -0
- package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +139 -0
- package/es/beta/FocusRing/FocusRing.js +281 -0
- package/es/beta/FocusRing/FocusRing.module.css +127 -0
- package/es/beta/FocusRing/docs/FocusRing__default.docs.js +48 -0
- package/es/common/animation.module.css +21 -219
- package/es/common/basicReset.module.css +12 -2
- package/es/common/common.module.css +21 -88
- package/es/common/customscroll.module.css +21 -17
- package/es/common/docStyle.module.css +32 -79
- package/es/common/transition.module.css +10 -50
- package/es/deprecated/AdvancedMultiSelect.module.css +8 -22
- package/es/deprecated/PortalLayer/PortalLayer.js +16 -4
- package/es/index.js +4 -9
- package/es/semantic/Button/Button.js +38 -4
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/Accordion/Accordion.js +20 -5
- package/lib/Accordion/AccordionItem.js +19 -5
- package/lib/Animation/Animation.js +25 -5
- package/lib/AppContainer/AppContainer.js +24 -13
- package/lib/Avatar/Avatar.js +44 -5
- package/lib/AvatarTeam/AvatarTeam.js +36 -5
- package/lib/Button/Button.js +48 -5
- package/lib/Buttongroup/Buttongroup.js +11 -5
- package/lib/Card/Card.js +60 -13
- package/lib/CheckBox/CheckBox.js +60 -7
- package/lib/CheckBox/CheckBox.module.css +8 -12
- package/lib/DateTime/CalendarView.js +26 -7
- package/lib/DateTime/DateTime.js +82 -53
- package/lib/DateTime/DateTime.module.css +1 -1
- package/lib/DateTime/DateWidget.js +85 -17
- package/lib/DateTime/DateWidget.module.css +4 -0
- package/lib/DateTime/YearView.js +12 -5
- package/lib/DateTime/YearView.module.css +0 -1
- package/lib/DropBox/DropBox.js +72 -6
- package/lib/DropDown/DropDown.js +34 -8
- package/lib/DropDown/DropDownHeading.js +19 -5
- package/lib/DropDown/DropDownItem.js +18 -5
- package/lib/DropDown/DropDownSearch.js +23 -5
- package/lib/DropDown/DropDownSeparator.js +4 -2
- package/lib/Label/Label.js +24 -5
- package/lib/Layout/Box.js +32 -18
- package/lib/Layout/Container.js +29 -18
- package/lib/Layout/Layout.module.css +1 -13
- package/lib/Layout/docs/Layout__four_Column.docs.js +22 -16
- package/lib/LightNightMode/Colors.json +397 -496
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +1 -23
- package/lib/ListItem/ListContainer.js +46 -13
- package/lib/ListItem/ListItem.js +52 -7
- package/lib/ListItem/ListItem.module.css +19 -18
- package/lib/ListItem/ListItemWithAvatar.js +38 -7
- package/lib/ListItem/ListItemWithCheckBox.js +42 -7
- package/lib/ListItem/ListItemWithIcon.js +49 -7
- package/lib/ListItem/ListItemWithRadio.js +43 -7
- package/lib/Modal/Modal.js +9 -5
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +172 -118
- package/lib/MultiSelect/AdvancedMultiSelect.js +172 -101
- package/lib/{deprecated → MultiSelect}/AdvancedMultiSelect.module.css +1 -1
- package/lib/MultiSelect/EmptyState.js +29 -5
- package/lib/MultiSelect/MultiSelect.js +173 -91
- package/lib/MultiSelect/MultiSelect.module.css +2 -15
- package/lib/MultiSelect/MultiSelectHeader.js +12 -5
- package/lib/MultiSelect/MultiSelectWithAvatar.js +152 -83
- package/lib/MultiSelect/SelectedOptions.js +19 -5
- package/lib/MultiSelect/Suggestions.js +34 -6
- package/lib/PopOver/PopOver.js +82 -19
- package/lib/Provider/Config.js +1 -3
- package/lib/Provider.js +98 -32
- package/lib/Radio/Radio.js +46 -5
- package/lib/Radio/Radio.module.css +6 -8
- package/lib/Responsive/CustomResponsive.js +21 -11
- package/lib/Responsive/Responsive.js +24 -17
- package/lib/Ribbon/Ribbon.js +25 -5
- package/lib/RippleEffect/RippleEffect.js +20 -5
- package/lib/RippleEffect/RippleEffect.module.css +15 -37
- package/lib/Select/GroupSelect.js +186 -105
- package/lib/Select/Select.js +196 -113
- package/lib/Select/Select.module.css +0 -6
- package/lib/Select/SelectWithAvatar.js +151 -101
- package/lib/Select/SelectWithIcon.js +134 -102
- package/lib/Stencils/Stencils.js +17 -5
- package/lib/Switch/Switch.js +37 -5
- package/lib/Switch/Switch.module.css +2 -3
- package/lib/Tab/Tab.js +31 -5
- package/lib/Tab/TabContent.js +10 -5
- package/lib/Tab/TabContentWrapper.js +12 -5
- package/lib/Tab/TabWrapper.js +27 -5
- package/lib/Tab/Tabs.js +114 -80
- package/lib/Tab/Tabs.module.css +1 -2
- package/lib/Tag/Tag.js +47 -5
- package/lib/Tag/Tag.module.css +2 -6
- package/lib/TextBox/TextBox.js +70 -5
- package/lib/TextBoxIcon/TextBoxIcon.js +70 -5
- package/lib/Textarea/Textarea.js +47 -5
- package/lib/Tooltip/Tooltip.js +20 -65
- package/lib/Tooltip/Tooltip.module.css +1 -6
- package/lib/Tooltip/docs/Tooltip__default.docs.js +11 -50
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +23 -5
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +38 -12
- package/lib/a11y/FocusScope/FocusScope.js +443 -0
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +191 -0
- package/lib/beta/FocusRing/FocusRing.js +338 -0
- package/lib/beta/FocusRing/FocusRing.module.css +152 -0
- package/lib/{ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js → beta/FocusRing/docs/FocusRing__default.docs.js} +50 -42
- package/lib/common/common.module.css +3 -26
- package/lib/common/docStyle.module.css +2 -6
- package/lib/css.js +2 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +16 -5
- package/lib/index.js +21 -80
- package/lib/semantic/Button/Button.js +38 -5
- package/package.json +3 -6
- package/es/Accordion/props/defaultProps.js +0 -8
- package/es/Accordion/props/propTypes.js +0 -30
- package/es/Animation/props/defaultProps.js +0 -7
- package/es/Animation/props/propTypes.js +0 -12
- package/es/AppContainer/props/defaultProps.js +0 -8
- package/es/AppContainer/props/propTypes.js +0 -15
- package/es/Avatar/props/defaultProps.js +0 -13
- package/es/Avatar/props/propTypes.js +0 -22
- package/es/AvatarTeam/props/defaultProps.js +0 -13
- package/es/AvatarTeam/props/propTypes.js +0 -23
- package/es/Button/props/defaultProps.js +0 -15
- package/es/Button/props/propTypes.js +0 -22
- package/es/Buttongroup/props/defaultProps.js +0 -4
- package/es/Buttongroup/props/propTypes.js +0 -7
- package/es/Card/props/defaultProps.js +0 -15
- package/es/Card/props/propTypes.js +0 -43
- package/es/CheckBox/props/defaultProps.js +0 -18
- package/es/CheckBox/props/propTypes.js +0 -41
- package/es/DateTime/props/defaultProps.js +0 -50
- package/es/DateTime/props/propTypes.js +0 -130
- package/es/DropBox/props/defaultProps.js +0 -20
- package/es/DropBox/props/propTypes.js +0 -47
- package/es/DropDown/props/defaultProps.js +0 -18
- package/es/DropDown/props/propTypes.js +0 -77
- package/es/Label/props/defaultProps.js +0 -10
- package/es/Label/props/propTypes.js +0 -14
- package/es/Layout/props/defaultProps.js +0 -12
- package/es/Layout/props/propTypes.js +0 -42
- package/es/ListItem/props/defaultProps.js +0 -85
- package/es/ListItem/props/propTypes.js +0 -185
- package/es/Modal/props/defaultProps.js +0 -3
- package/es/Modal/props/propTypes.js +0 -6
- package/es/MultiSelect/props/defaultProps.js +0 -140
- package/es/MultiSelect/props/propTypes.js +0 -360
- package/es/PopOver/props/defaultProps.js +0 -7
- package/es/PopOver/props/propTypes.js +0 -53
- package/es/Radio/props/defaultProps.js +0 -14
- package/es/Radio/props/propTypes.js +0 -32
- package/es/Responsive/props/defaultProps.js +0 -13
- package/es/Responsive/props/propTypes.js +0 -25
- package/es/ResponsiveDropBox/props/defaultProps.js +0 -4
- package/es/ResponsiveDropBox/props/propTypes.js +0 -7
- package/es/Ribbon/props/defaultProps.js +0 -8
- package/es/Ribbon/props/propTypes.js +0 -10
- package/es/RippleEffect/props/defaultProps.js +0 -9
- package/es/RippleEffect/props/propTypes.js +0 -11
- package/es/Select/props/defaultProps.js +0 -110
- package/es/Select/props/propTypes.js +0 -266
- package/es/Stencils/props/defaultProps.js +0 -6
- package/es/Stencils/props/propTypes.js +0 -7
- package/es/Switch/props/defaultProps.js +0 -10
- package/es/Switch/props/propTypes.js +0 -27
- package/es/Tab/props/defaultProps.js +0 -39
- package/es/Tab/props/propTypes.js +0 -102
- package/es/Tag/props/defaultProps.js +0 -13
- package/es/Tag/props/propTypes.js +0 -34
- package/es/TextBox/props/defaultProps.js +0 -19
- package/es/TextBox/props/propTypes.js +0 -53
- package/es/TextBoxIcon/props/defaultProps.js +0 -21
- package/es/TextBoxIcon/props/propTypes.js +0 -49
- package/es/Textarea/props/defaultProps.js +0 -16
- package/es/Textarea/props/propTypes.js +0 -31
- package/es/Tooltip/props/defaultProps.js +0 -4
- package/es/Tooltip/props/propTypes.js +0 -8
- package/es/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -7
- package/es/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -12
- package/es/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -15
- package/es/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -19
- package/es/deprecated/PortalLayer/props/defaultProps.js +0 -5
- package/es/deprecated/PortalLayer/props/propTypes.js +0 -11
- package/es/semantic/Button/props/defaultProps.js +0 -12
- package/es/semantic/Button/props/propTypes.js +0 -26
- package/es/ucl/Grid/Grid.js +0 -45
- package/es/ucl/Grid/componentNames.js +0 -6
- package/es/ucl/Grid/css/Grid.module.css +0 -217
- package/es/ucl/Grid/css/cssJSLogic.js +0 -46
- package/es/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +0 -41
- package/es/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +0 -49
- package/es/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +0 -32
- package/es/ucl/Grid/docs/Grid__Basic_Detail_Layout.docs.js +0 -41
- package/es/ucl/Grid/docs/Grid__Box_Alignment.docs.js +0 -37
- package/es/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +0 -41
- package/es/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +0 -45
- package/es/ucl/Grid/docs/Grid__default.docs.js +0 -61
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +0 -38
- package/es/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +0 -63
- package/es/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +0 -23
- package/es/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +0 -21
- package/es/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +0 -16
- package/es/ucl/Grid/docs/css/gridDocsDefault.module.css +0 -15
- package/es/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +0 -38
- package/es/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +0 -47
- package/es/ucl/Grid/docs/css/gridDocsStyle.module.css +0 -30
- package/es/ucl/Grid/index.js +0 -5
- package/es/ucl/Grid/props/ariaPropTypes.js +0 -6
- package/es/ucl/Grid/props/defaultProps.js +0 -8
- package/es/ucl/Grid/props/propConstants.js +0 -66
- package/es/ucl/Grid/props/propTypes.js +0 -27
- package/lib/Accordion/props/defaultProps.js +0 -16
- package/lib/Accordion/props/propTypes.js +0 -42
- package/lib/Animation/props/defaultProps.js +0 -14
- package/lib/Animation/props/propTypes.js +0 -23
- package/lib/AppContainer/props/defaultProps.js +0 -15
- package/lib/AppContainer/props/propTypes.js +0 -26
- package/lib/Avatar/props/defaultProps.js +0 -20
- package/lib/Avatar/props/propTypes.js +0 -33
- package/lib/AvatarTeam/props/defaultProps.js +0 -20
- package/lib/AvatarTeam/props/propTypes.js +0 -34
- package/lib/Button/props/defaultProps.js +0 -24
- package/lib/Button/props/propTypes.js +0 -33
- package/lib/Buttongroup/props/defaultProps.js +0 -11
- package/lib/Buttongroup/props/propTypes.js +0 -18
- package/lib/Card/props/defaultProps.js +0 -23
- package/lib/Card/props/propTypes.js +0 -57
- package/lib/CheckBox/props/defaultProps.js +0 -25
- package/lib/CheckBox/props/propTypes.js +0 -52
- package/lib/DateTime/props/defaultProps.js +0 -61
- package/lib/DateTime/props/propTypes.js +0 -145
- package/lib/DropBox/props/defaultProps.js +0 -27
- package/lib/DropBox/props/propTypes.js +0 -58
- package/lib/DropDown/props/defaultProps.js +0 -28
- package/lib/DropDown/props/propTypes.js +0 -94
- package/lib/Label/props/defaultProps.js +0 -17
- package/lib/Label/props/propTypes.js +0 -25
- package/lib/Layout/props/defaultProps.js +0 -20
- package/lib/Layout/props/propTypes.js +0 -54
- package/lib/ListItem/props/defaultProps.js +0 -97
- package/lib/ListItem/props/propTypes.js +0 -181
- package/lib/Modal/props/defaultProps.js +0 -10
- package/lib/Modal/props/propTypes.js +0 -17
- package/lib/MultiSelect/props/defaultProps.js +0 -156
- package/lib/MultiSelect/props/propTypes.js +0 -378
- package/lib/PopOver/props/defaultProps.js +0 -15
- package/lib/PopOver/props/propTypes.js +0 -66
- package/lib/Radio/props/defaultProps.js +0 -21
- package/lib/Radio/props/propTypes.js +0 -43
- package/lib/Responsive/props/defaultProps.js +0 -23
- package/lib/Responsive/props/propTypes.js +0 -39
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +0 -124
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +0 -6
- package/lib/ResponsiveDropBox/props/defaultProps.js +0 -11
- package/lib/ResponsiveDropBox/props/propTypes.js +0 -18
- package/lib/Ribbon/props/defaultProps.js +0 -15
- package/lib/Ribbon/props/propTypes.js +0 -21
- package/lib/RippleEffect/props/defaultProps.js +0 -16
- package/lib/RippleEffect/props/propTypes.js +0 -22
- package/lib/Select/props/defaultProps.js +0 -113
- package/lib/Select/props/propTypes.js +0 -280
- package/lib/Stencils/props/defaultProps.js +0 -13
- package/lib/Stencils/props/propTypes.js +0 -18
- package/lib/Switch/props/defaultProps.js +0 -17
- package/lib/Switch/props/propTypes.js +0 -38
- package/lib/Tab/props/defaultProps.js +0 -50
- package/lib/Tab/props/propTypes.js +0 -117
- package/lib/Tag/props/defaultProps.js +0 -20
- package/lib/Tag/props/propTypes.js +0 -45
- package/lib/TextBox/props/defaultProps.js +0 -26
- package/lib/TextBox/props/propTypes.js +0 -62
- package/lib/TextBoxIcon/props/defaultProps.js +0 -28
- package/lib/TextBoxIcon/props/propTypes.js +0 -60
- package/lib/Textarea/props/defaultProps.js +0 -23
- package/lib/Textarea/props/propTypes.js +0 -42
- package/lib/Tooltip/props/defaultProps.js +0 -11
- package/lib/Tooltip/props/propTypes.js +0 -19
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -14
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -23
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -22
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -30
- package/lib/deprecated/PortalLayer/props/defaultProps.js +0 -12
- package/lib/deprecated/PortalLayer/props/propTypes.js +0 -22
- package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
- package/lib/semantic/Button/props/defaultProps.js +0 -19
- package/lib/semantic/Button/props/propTypes.js +0 -37
- package/lib/ucl/Grid/Grid.js +0 -70
- package/lib/ucl/Grid/componentNames.js +0 -13
- package/lib/ucl/Grid/css/Grid.module.css +0 -217
- package/lib/ucl/Grid/css/cssJSLogic.js +0 -44
- package/lib/ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs.js +0 -93
- package/lib/ucl/Grid/docs/Grid__Area_Based_List_Layout.docs.js +0 -101
- package/lib/ucl/Grid/docs/Grid__Auto_Flow_Row.docs.js +0 -86
- package/lib/ucl/Grid/docs/Grid__Box_Alignment.docs.js +0 -91
- package/lib/ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs.js +0 -93
- package/lib/ucl/Grid/docs/Grid__Line_Based_List_Layout.docs.js +0 -97
- package/lib/ucl/Grid/docs/Grid__default.docs.js +0 -113
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedDetailLayout.module.css +0 -38
- package/lib/ucl/Grid/docs/css/gridDocsAreaBasedListLayout.module.css +0 -63
- package/lib/ucl/Grid/docs/css/gridDocsAutoFlowRow.module.css +0 -23
- package/lib/ucl/Grid/docs/css/gridDocsBasicDetailLayout.module.css +0 -21
- package/lib/ucl/Grid/docs/css/gridDocsBoxAlignment.module.css +0 -16
- package/lib/ucl/Grid/docs/css/gridDocsDefault.module.css +0 -15
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedDetailLayout.module.css +0 -38
- package/lib/ucl/Grid/docs/css/gridDocsLineBasedListLayout.module.css +0 -47
- package/lib/ucl/Grid/docs/css/gridDocsStyle.module.css +0 -30
- package/lib/ucl/Grid/index.js +0 -31
- package/lib/ucl/Grid/props/ariaPropTypes.js +0 -23
- package/lib/ucl/Grid/props/defaultProps.js +0 -19
- package/lib/ucl/Grid/props/propConstants.js +0 -73
- package/lib/ucl/Grid/props/propTypes.js +0 -46
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export const CalendarView_defaultProps = {
|
|
2
|
-
dataId: 'dateContainer',
|
|
3
|
-
needBorder: true
|
|
4
|
-
};
|
|
5
|
-
export const Span_defaultProps = {
|
|
6
|
-
dataId: 'calendar-view'
|
|
7
|
-
};
|
|
8
|
-
export const DateTime_defaultProps = {
|
|
9
|
-
isDateTimeField: true,
|
|
10
|
-
dataId: 'dateTime',
|
|
11
|
-
needDefaultTime: true,
|
|
12
|
-
isAbsolute: true,
|
|
13
|
-
isAnimate: true,
|
|
14
|
-
needAction: true,
|
|
15
|
-
boxSize: 'large',
|
|
16
|
-
className: '',
|
|
17
|
-
innerClass: '',
|
|
18
|
-
dateFormat: 'dd/MM/yyyy',
|
|
19
|
-
isPadding: false,
|
|
20
|
-
i18nKeys: {},
|
|
21
|
-
is24Hour: false,
|
|
22
|
-
isDefaultPosition: false
|
|
23
|
-
};
|
|
24
|
-
export const DateWidget_defaultProps = {
|
|
25
|
-
borderColor: 'default',
|
|
26
|
-
dataId: 'dateWidget',
|
|
27
|
-
dateFormat: 'MM/dd/yyyy',
|
|
28
|
-
isDateTime: false,
|
|
29
|
-
isDisabled: false,
|
|
30
|
-
isPopupOpenOnEnter: false,
|
|
31
|
-
isReadOnly: false,
|
|
32
|
-
needBorder: true,
|
|
33
|
-
needDefaultTime: true,
|
|
34
|
-
placeholder: '-None-',
|
|
35
|
-
textBoxSize: 'medium',
|
|
36
|
-
textBoxVariant: 'default',
|
|
37
|
-
timeZone: null,
|
|
38
|
-
isPopupOpenOnClick: true,
|
|
39
|
-
isPopupCloseOnClick: false,
|
|
40
|
-
cantEditOnPopupOpen: true,
|
|
41
|
-
i18nKeys: {},
|
|
42
|
-
needErrorOnBlur: false,
|
|
43
|
-
isEditable: false,
|
|
44
|
-
iconOnHover: false,
|
|
45
|
-
is24Hour: false
|
|
46
|
-
};
|
|
47
|
-
export const YearView_defaultProps = {
|
|
48
|
-
dataId: 'dateContainer',
|
|
49
|
-
needBorder: true
|
|
50
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const CalendarView_propTypes = {
|
|
3
|
-
dataId: PropTypes.string,
|
|
4
|
-
date: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
5
|
-
month: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6
|
-
needBorder: PropTypes.bool,
|
|
7
|
-
onSelect: PropTypes.func,
|
|
8
|
-
year: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
9
|
-
};
|
|
10
|
-
export const Span_propTypes = {
|
|
11
|
-
dataId: PropTypes.string,
|
|
12
|
-
handleSelect: PropTypes.func,
|
|
13
|
-
i: PropTypes.number,
|
|
14
|
-
incremday: PropTypes.number,
|
|
15
|
-
isActive: PropTypes.bool,
|
|
16
|
-
tdclass: PropTypes.string,
|
|
17
|
-
userSeeMonth: PropTypes.number,
|
|
18
|
-
userSeeYear: PropTypes.number
|
|
19
|
-
};
|
|
20
|
-
export const DateTime_propTypes = {
|
|
21
|
-
boxSize: PropTypes.string,
|
|
22
|
-
className: PropTypes.string,
|
|
23
|
-
dataId: PropTypes.string,
|
|
24
|
-
dateFormat: PropTypes.string,
|
|
25
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
26
|
-
defaultTime: PropTypes.string,
|
|
27
|
-
getMethods: PropTypes.func,
|
|
28
|
-
getRef: PropTypes.func,
|
|
29
|
-
i18nKeys: PropTypes.shape({
|
|
30
|
-
timeText: PropTypes.string.isRequired,
|
|
31
|
-
submitText: PropTypes.string.isRequired,
|
|
32
|
-
cancelText: PropTypes.string.isRequired,
|
|
33
|
-
hourEmptyText: PropTypes.string.isRequired,
|
|
34
|
-
minuteEmptyText: PropTypes.string.isRequired,
|
|
35
|
-
nextMonthTitleText: PropTypes.string.isRequired,
|
|
36
|
-
prevMonthTitleText: PropTypes.string.isRequired
|
|
37
|
-
}),
|
|
38
|
-
innerClass: PropTypes.string,
|
|
39
|
-
isAbsolute: PropTypes.bool,
|
|
40
|
-
isActive: PropTypes.bool,
|
|
41
|
-
isAnimate: PropTypes.bool,
|
|
42
|
-
isDateTimeField: PropTypes.bool,
|
|
43
|
-
isPadding: PropTypes.bool,
|
|
44
|
-
isReady: PropTypes.bool,
|
|
45
|
-
max: PropTypes.string,
|
|
46
|
-
maxErrorText: PropTypes.string,
|
|
47
|
-
min: PropTypes.string,
|
|
48
|
-
minErrorText: PropTypes.string,
|
|
49
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
50
|
-
needAction: PropTypes.bool,
|
|
51
|
-
needDefaultTime: PropTypes.bool,
|
|
52
|
-
needResponsive: PropTypes.bool,
|
|
53
|
-
onChange: PropTypes.func,
|
|
54
|
-
onClear: PropTypes.func,
|
|
55
|
-
onClick: PropTypes.func,
|
|
56
|
-
onDateSelect: PropTypes.func,
|
|
57
|
-
onError: PropTypes.func,
|
|
58
|
-
onSelect: PropTypes.func,
|
|
59
|
-
position: PropTypes.string,
|
|
60
|
-
timeZone: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
61
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
62
|
-
is24Hour: PropTypes.bool,
|
|
63
|
-
isDefaultPosition: PropTypes.bool
|
|
64
|
-
};
|
|
65
|
-
export const DateWidget_propTypes = {
|
|
66
|
-
borderColor: PropTypes.oneOf(['transparent', 'default']),
|
|
67
|
-
cantEditOnPopupOpen: PropTypes.bool,
|
|
68
|
-
children: PropTypes.object,
|
|
69
|
-
className: PropTypes.string,
|
|
70
|
-
closePopupOnly: PropTypes.func,
|
|
71
|
-
dataId: PropTypes.string,
|
|
72
|
-
dateFormat: PropTypes.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']),
|
|
73
|
-
defaultPosition: PropTypes.oneOf(['top', 'bottom', 'right', 'left']),
|
|
74
|
-
defaultTime: PropTypes.string,
|
|
75
|
-
getContainerRef: PropTypes.func,
|
|
76
|
-
getMethods: PropTypes.func,
|
|
77
|
-
getRef: PropTypes.func,
|
|
78
|
-
getTargetRef: PropTypes.func,
|
|
79
|
-
i18nKeys: PropTypes.object,
|
|
80
|
-
id: PropTypes.string,
|
|
81
|
-
isDateTime: PropTypes.bool,
|
|
82
|
-
isDisabled: PropTypes.bool,
|
|
83
|
-
isEditable: PropTypes.bool,
|
|
84
|
-
isPopupCloseOnClick: PropTypes.bool,
|
|
85
|
-
isPopupOpen: PropTypes.bool,
|
|
86
|
-
isPopupOpenOnClick: PropTypes.bool,
|
|
87
|
-
isPopupOpenOnEnter: PropTypes.bool,
|
|
88
|
-
isPopupReady: PropTypes.bool,
|
|
89
|
-
isReadOnly: PropTypes.bool,
|
|
90
|
-
max: PropTypes.string,
|
|
91
|
-
maxErrorText: PropTypes.string,
|
|
92
|
-
min: PropTypes.string,
|
|
93
|
-
minErrorText: PropTypes.string,
|
|
94
|
-
needBorder: PropTypes.bool,
|
|
95
|
-
needDefaultTime: PropTypes.bool,
|
|
96
|
-
needErrorOnBlur: PropTypes.bool,
|
|
97
|
-
needResponsive: PropTypes.bool,
|
|
98
|
-
onFailValidation: PropTypes.func,
|
|
99
|
-
onKeyDown: PropTypes.func,
|
|
100
|
-
onPassValidation: PropTypes.func,
|
|
101
|
-
onSelect: PropTypes.func,
|
|
102
|
-
placeholder: PropTypes.string,
|
|
103
|
-
position: PropTypes.string,
|
|
104
|
-
removeClose: PropTypes.func,
|
|
105
|
-
textBoxSize: PropTypes.string,
|
|
106
|
-
textBoxVariant: PropTypes.string,
|
|
107
|
-
timeZone: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
|
108
|
-
togglePopup: PropTypes.func,
|
|
109
|
-
validation: PropTypes.shape({
|
|
110
|
-
validate: PropTypes.bool,
|
|
111
|
-
validateOn: PropTypes.string,
|
|
112
|
-
rulesOrder: PropTypes.arrayOf(PropTypes.string),
|
|
113
|
-
rules: PropTypes.object,
|
|
114
|
-
messages: PropTypes.object
|
|
115
|
-
}),
|
|
116
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
117
|
-
htmlId: PropTypes.string,
|
|
118
|
-
iconOnHover: PropTypes.bool,
|
|
119
|
-
is24Hour: PropTypes.bool,
|
|
120
|
-
isHideCurrentYear: PropTypes.bool,
|
|
121
|
-
onFocus: PropTypes.func,
|
|
122
|
-
onBlur: PropTypes.func
|
|
123
|
-
};
|
|
124
|
-
export const YearView_propTypes = {
|
|
125
|
-
dataId: PropTypes.string,
|
|
126
|
-
needBorder: PropTypes.bool,
|
|
127
|
-
onSelectMonth: PropTypes.func,
|
|
128
|
-
onSelectYear: PropTypes.func,
|
|
129
|
-
viewedYear: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
130
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const defaultProps = {
|
|
2
|
-
animationStyle: 'default',
|
|
3
|
-
boxPosition: 'bottomLeft',
|
|
4
|
-
dataId: 'dropBox',
|
|
5
|
-
isActive: false,
|
|
6
|
-
isAnimate: false,
|
|
7
|
-
isArrow: true,
|
|
8
|
-
isRadius: true,
|
|
9
|
-
size: 'default',
|
|
10
|
-
needResponsive: true,
|
|
11
|
-
isAbsolutePositioningNeeded: true,
|
|
12
|
-
isBoxPaddingNeed: false,
|
|
13
|
-
isPadding: true,
|
|
14
|
-
customClass: {},
|
|
15
|
-
a11y: {},
|
|
16
|
-
palette: 'default',
|
|
17
|
-
needAutoZindex: true,
|
|
18
|
-
portalId: 'portal1',
|
|
19
|
-
isRestrictScroll: false
|
|
20
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
animationStyle: PropTypes.oneOf(['default', 'bounce']),
|
|
4
|
-
arrowBottom: PropTypes.number,
|
|
5
|
-
arrowLeft: PropTypes.number,
|
|
6
|
-
arrowPosition: PropTypes.oneOf(['start', 'mid', 'end']),
|
|
7
|
-
arrowRight: PropTypes.number,
|
|
8
|
-
arrowTop: PropTypes.number,
|
|
9
|
-
bottom: PropTypes.number,
|
|
10
|
-
boxPosition: PropTypes.oneOf(['bottomRight', 'bottomLeft', 'bottomCenter', 'topRight', 'topLeft', 'topCenter', 'rightTop', 'rightBottom', 'rightCenter', 'leftTop', 'leftBottom', 'leftCenter']),
|
|
11
|
-
children: PropTypes.element,
|
|
12
|
-
dataId: PropTypes.string,
|
|
13
|
-
forwardRef: PropTypes.object,
|
|
14
|
-
getRef: PropTypes.func,
|
|
15
|
-
isAbsolutePositioningNeeded: PropTypes.bool,
|
|
16
|
-
isActive: PropTypes.bool,
|
|
17
|
-
isAnimate: PropTypes.bool,
|
|
18
|
-
isArrow: PropTypes.bool,
|
|
19
|
-
isBoxPaddingNeed: PropTypes.bool,
|
|
20
|
-
isPadding: PropTypes.bool,
|
|
21
|
-
isRadius: PropTypes.bool,
|
|
22
|
-
left: PropTypes.number,
|
|
23
|
-
needResponsive: PropTypes.bool,
|
|
24
|
-
onClick: PropTypes.func,
|
|
25
|
-
right: PropTypes.number,
|
|
26
|
-
size: PropTypes.oneOf(['mini', 'xmini', 'xsmall', 'small', 'medium', 'large', 'mlarge', 'xlarge', 'xxlarge', 'default']),
|
|
27
|
-
top: PropTypes.number,
|
|
28
|
-
tourId: PropTypes.string,
|
|
29
|
-
htmlId: PropTypes.string,
|
|
30
|
-
tabIndex: PropTypes.number,
|
|
31
|
-
customClass: PropTypes.shape({
|
|
32
|
-
customDropBox: PropTypes.string,
|
|
33
|
-
customMobileDropBox: PropTypes.string,
|
|
34
|
-
customDropBoxWrap: PropTypes.string,
|
|
35
|
-
customMobileDropBoxWrap: PropTypes.string
|
|
36
|
-
}),
|
|
37
|
-
a11y: PropTypes.shape({
|
|
38
|
-
role: PropTypes.string,
|
|
39
|
-
ariaMultiselectable: PropTypes.bool,
|
|
40
|
-
ariaLabelledby: PropTypes.string
|
|
41
|
-
}),
|
|
42
|
-
palette: PropTypes.oneOf(['default', 'dark']),
|
|
43
|
-
needAutoZindex: PropTypes.bool,
|
|
44
|
-
portalId: PropTypes.string,
|
|
45
|
-
isRestrictScroll: PropTypes.bool,
|
|
46
|
-
customStyle: PropTypes.object
|
|
47
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const DropDownItemContainer_defaultProps = {
|
|
2
|
-
dataId: 'drpdwnItemContainer'
|
|
3
|
-
};
|
|
4
|
-
export const DropDownHeading_defaultProps = {
|
|
5
|
-
customClass: '',
|
|
6
|
-
children: null,
|
|
7
|
-
palette: 'light',
|
|
8
|
-
a11y: {}
|
|
9
|
-
};
|
|
10
|
-
export const DropDownItem_defaultProps = {
|
|
11
|
-
active: false,
|
|
12
|
-
dataId: 'dropDwnItemContainer'
|
|
13
|
-
};
|
|
14
|
-
export const DropDownSearch_defaultProps = {
|
|
15
|
-
size: 'medium',
|
|
16
|
-
textBoxSize: 'medium',
|
|
17
|
-
customClass: {}
|
|
18
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const DropDown_propTypes = {
|
|
3
|
-
arrowBottom: PropTypes.string,
|
|
4
|
-
arrowLeft: PropTypes.string,
|
|
5
|
-
arrowPosition: PropTypes.string,
|
|
6
|
-
arrowRight: PropTypes.string,
|
|
7
|
-
arrowTop: PropTypes.string,
|
|
8
|
-
bottom: PropTypes.string,
|
|
9
|
-
boxPosition: PropTypes.string,
|
|
10
|
-
children: PropTypes.node,
|
|
11
|
-
isAnimate: PropTypes.bool,
|
|
12
|
-
isArrow: PropTypes.bool,
|
|
13
|
-
isPopupOpen: PropTypes.bool,
|
|
14
|
-
left: PropTypes.string,
|
|
15
|
-
onClick: PropTypes.func,
|
|
16
|
-
right: PropTypes.string,
|
|
17
|
-
size: PropTypes.string,
|
|
18
|
-
top: PropTypes.string
|
|
19
|
-
};
|
|
20
|
-
export const DropDownTarget_propTypes = {
|
|
21
|
-
children: PropTypes.node
|
|
22
|
-
};
|
|
23
|
-
export const DropDownContainer_propTypes = {
|
|
24
|
-
children: PropTypes.node
|
|
25
|
-
};
|
|
26
|
-
export const DropDownItemContainer_propTypes = {
|
|
27
|
-
children: PropTypes.node,
|
|
28
|
-
dataId: PropTypes.string,
|
|
29
|
-
getRef: PropTypes.func,
|
|
30
|
-
onScroll: PropTypes.func
|
|
31
|
-
};
|
|
32
|
-
export const DropDownHeading_propTypes = {
|
|
33
|
-
children: PropTypes.node,
|
|
34
|
-
customClass: PropTypes.string,
|
|
35
|
-
palette: PropTypes.oneOf(['light', 'dark']),
|
|
36
|
-
text: PropTypes.string,
|
|
37
|
-
title: PropTypes.string,
|
|
38
|
-
htmlId: PropTypes.string,
|
|
39
|
-
a11y: PropTypes.shape({
|
|
40
|
-
role: PropTypes.string,
|
|
41
|
-
ariaLabelledby: PropTypes.string
|
|
42
|
-
})
|
|
43
|
-
};
|
|
44
|
-
export const DropDownItem_propTypes = {
|
|
45
|
-
active: PropTypes.bool,
|
|
46
|
-
children: PropTypes.node,
|
|
47
|
-
dataId: PropTypes.string,
|
|
48
|
-
getRef: PropTypes.func,
|
|
49
|
-
hightlight: PropTypes.bool,
|
|
50
|
-
id: PropTypes.string,
|
|
51
|
-
index: PropTypes.number,
|
|
52
|
-
onClick: PropTypes.func,
|
|
53
|
-
onHover: PropTypes.func,
|
|
54
|
-
value: PropTypes.string,
|
|
55
|
-
customClass: PropTypes.string
|
|
56
|
-
};
|
|
57
|
-
export const DropDownSearch_propTypes = {
|
|
58
|
-
getRef: PropTypes.func,
|
|
59
|
-
id: PropTypes.string,
|
|
60
|
-
maxLength: PropTypes.string,
|
|
61
|
-
name: PropTypes.string,
|
|
62
|
-
onBlur: PropTypes.func,
|
|
63
|
-
onChange: PropTypes.func,
|
|
64
|
-
onKeyDown: PropTypes.func,
|
|
65
|
-
placeHolder: PropTypes.string,
|
|
66
|
-
placeHolder: PropTypes.string,
|
|
67
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
68
|
-
textBoxSize: PropTypes.string,
|
|
69
|
-
value: PropTypes.string,
|
|
70
|
-
customClass: PropTypes.shape({
|
|
71
|
-
searchClass: PropTypes.string,
|
|
72
|
-
customTextBox: PropTypes.string
|
|
73
|
-
})
|
|
74
|
-
};
|
|
75
|
-
export const DropDownSeparator_propTypes = {
|
|
76
|
-
customClass: PropTypes.string
|
|
77
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
clipped: PropTypes.bool,
|
|
4
|
-
dataId: PropTypes.string,
|
|
5
|
-
htmlFor: PropTypes.string,
|
|
6
|
-
onClick: PropTypes.func,
|
|
7
|
-
palette: PropTypes.oneOf(['default', 'primary', 'secondary', 'danger', 'mandatory', 'disable', 'dark']),
|
|
8
|
-
size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large']),
|
|
9
|
-
text: PropTypes.string,
|
|
10
|
-
title: PropTypes.string,
|
|
11
|
-
type: PropTypes.oneOf(['title', 'subtitle']),
|
|
12
|
-
variant: PropTypes.oneOf(['primary', 'default']),
|
|
13
|
-
customClass: PropTypes.string
|
|
14
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const BoxDefaultProps = {
|
|
2
|
-
dataId: 'boxComponent',
|
|
3
|
-
isScrollAttribute: false,
|
|
4
|
-
tagName: 'div'
|
|
5
|
-
};
|
|
6
|
-
export const ContainerDefaultProps = {
|
|
7
|
-
dataId: 'containerComponent',
|
|
8
|
-
isScrollAttribute: false,
|
|
9
|
-
isCover: true,
|
|
10
|
-
alignBox: 'column',
|
|
11
|
-
tagName: 'div'
|
|
12
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const BoxProps = {
|
|
3
|
-
adjust: PropTypes.bool,
|
|
4
|
-
align: PropTypes.oneOf(['start', 'end', 'center']),
|
|
5
|
-
children: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6
|
-
className: PropTypes.string,
|
|
7
|
-
column: PropTypes.oneOf(['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12']),
|
|
8
|
-
dataId: PropTypes.string,
|
|
9
|
-
eleRef: PropTypes.func,
|
|
10
|
-
flexible: PropTypes.bool,
|
|
11
|
-
hidden: PropTypes.arrayOf((propValue, key, componentName, location, propFullName) => {
|
|
12
|
-
if (['xs', 'sm', 'md', 'lg', 'xl'].indexOf(propValue[key]) === -1) {
|
|
13
|
-
return new Error(`Invalid prop \`${propFullName}\` supplied to` + ` \`${componentName}\`. Validation failed.`);
|
|
14
|
-
}
|
|
15
|
-
}),
|
|
16
|
-
isFirst: PropTypes.bool,
|
|
17
|
-
isLast: PropTypes.bool,
|
|
18
|
-
isScrollAttribute: PropTypes.bool,
|
|
19
|
-
scroll: PropTypes.PropTypes.oneOf(['vertical', 'horizontal', 'both', 'none']),
|
|
20
|
-
shrink: PropTypes.bool,
|
|
21
|
-
tagName: PropTypes.string,
|
|
22
|
-
tourId: PropTypes.string,
|
|
23
|
-
preventParentScroll: PropTypes.PropTypes.oneOf(['vertical', 'horizontal', 'both'])
|
|
24
|
-
};
|
|
25
|
-
export const ContainerProps = {
|
|
26
|
-
align: PropTypes.oneOf(['vertical', 'horizontal', 'both', 'top', 'right', 'bottom', 'left', 'between', 'around', 'baseline']),
|
|
27
|
-
alignBox: PropTypes.oneOf(['row', 'column', 'row-reverse', 'column-reverse']),
|
|
28
|
-
alignContent: PropTypes.oneOf(['start', 'end', 'center', 'around', 'between']),
|
|
29
|
-
children: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
30
|
-
className: PropTypes.string,
|
|
31
|
-
dataId: PropTypes.string,
|
|
32
|
-
eleRef: PropTypes.func,
|
|
33
|
-
hidden: PropTypes.array,
|
|
34
|
-
isCover: PropTypes.bool,
|
|
35
|
-
isInline: PropTypes.bool,
|
|
36
|
-
isScrollAttribute: PropTypes.bool,
|
|
37
|
-
scroll: PropTypes.oneOf(['vertical', 'horizontal', 'both', 'none']),
|
|
38
|
-
tagName: PropTypes.string,
|
|
39
|
-
tourId: PropTypes.string,
|
|
40
|
-
wrap: PropTypes.oneOf(['wrap', 'wrap-reverse', 'nowrap']),
|
|
41
|
-
preventParentScroll: PropTypes.PropTypes.oneOf(['vertical', 'horizontal', 'both'])
|
|
42
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
export const ListContainerDefaultProps = {
|
|
2
|
-
active: false,
|
|
3
|
-
autoHover: false,
|
|
4
|
-
highlight: false,
|
|
5
|
-
needTick: false,
|
|
6
|
-
palette: 'default',
|
|
7
|
-
size: 'medium',
|
|
8
|
-
isLink: false,
|
|
9
|
-
target: 'blank',
|
|
10
|
-
needBorder: true,
|
|
11
|
-
a11y: {},
|
|
12
|
-
customClass: '',
|
|
13
|
-
customProps: {}
|
|
14
|
-
};
|
|
15
|
-
export const ListItemDefaultProps = {
|
|
16
|
-
active: false,
|
|
17
|
-
autoHover: false,
|
|
18
|
-
highlight: false,
|
|
19
|
-
id: '',
|
|
20
|
-
needTick: false,
|
|
21
|
-
palette: 'default',
|
|
22
|
-
size: 'medium',
|
|
23
|
-
isLink: false,
|
|
24
|
-
target: 'blank',
|
|
25
|
-
needBorder: true,
|
|
26
|
-
a11y: {},
|
|
27
|
-
customClass: {},
|
|
28
|
-
customProps: {}
|
|
29
|
-
};
|
|
30
|
-
export const ListItemWithAvatarDefaultProps = {
|
|
31
|
-
active: false,
|
|
32
|
-
autoHover: false,
|
|
33
|
-
highlight: false,
|
|
34
|
-
isTeam: false,
|
|
35
|
-
needTick: false,
|
|
36
|
-
palette: 'default',
|
|
37
|
-
size: 'medium',
|
|
38
|
-
value: 'List',
|
|
39
|
-
dataId: 'listAvatar',
|
|
40
|
-
needBorder: true,
|
|
41
|
-
needAvatarTitle: true,
|
|
42
|
-
a11y: {},
|
|
43
|
-
customClass: {},
|
|
44
|
-
customProps: {}
|
|
45
|
-
};
|
|
46
|
-
export const ListItemWithCheckBoxDefaultProps = {
|
|
47
|
-
active: false,
|
|
48
|
-
autoHover: false,
|
|
49
|
-
checked: false,
|
|
50
|
-
highlight: false,
|
|
51
|
-
palette: 'default',
|
|
52
|
-
size: 'medium',
|
|
53
|
-
value: 'List',
|
|
54
|
-
a11y: {},
|
|
55
|
-
customClass: {},
|
|
56
|
-
customProps: {}
|
|
57
|
-
};
|
|
58
|
-
export const ListItemWithIconDefaultProps = {
|
|
59
|
-
active: false,
|
|
60
|
-
autoHover: false,
|
|
61
|
-
highlight: false,
|
|
62
|
-
iconName: '',
|
|
63
|
-
iconSize: '10',
|
|
64
|
-
needTick: false,
|
|
65
|
-
palette: 'default',
|
|
66
|
-
size: 'medium',
|
|
67
|
-
value: 'List',
|
|
68
|
-
needBorder: true,
|
|
69
|
-
a11y: {},
|
|
70
|
-
customClass: '',
|
|
71
|
-
customProps: {}
|
|
72
|
-
};
|
|
73
|
-
export const ListItemWithRadioDefaultProps = {
|
|
74
|
-
active: false,
|
|
75
|
-
autoHover: false,
|
|
76
|
-
checked: false,
|
|
77
|
-
highlight: false,
|
|
78
|
-
palette: 'default',
|
|
79
|
-
size: 'medium',
|
|
80
|
-
value: 'List',
|
|
81
|
-
dataId: 'listItemWithRadioComp',
|
|
82
|
-
a11y: {},
|
|
83
|
-
customClass: {},
|
|
84
|
-
customProps: {}
|
|
85
|
-
};
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const ListContainer_Props = {
|
|
3
|
-
active: PropTypes.bool,
|
|
4
|
-
autoHover: PropTypes.bool,
|
|
5
|
-
children: PropTypes.node,
|
|
6
|
-
dataId: PropTypes.string,
|
|
7
|
-
disableTitle: PropTypes.string,
|
|
8
|
-
highlight: PropTypes.bool,
|
|
9
|
-
href: PropTypes.string,
|
|
10
|
-
isDisabled: PropTypes.bool,
|
|
11
|
-
isLink: PropTypes.bool,
|
|
12
|
-
needBorder: PropTypes.bool,
|
|
13
|
-
needTick: PropTypes.bool,
|
|
14
|
-
onClick: PropTypes.func,
|
|
15
|
-
onMouseEnter: PropTypes.func,
|
|
16
|
-
onMouseOver: PropTypes.func,
|
|
17
|
-
palette: PropTypes.oneOf(['default', 'primary', 'secondary', 'dark']),
|
|
18
|
-
size: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
19
|
-
target: PropTypes.oneOf(['blank', 'self']),
|
|
20
|
-
title: PropTypes.string,
|
|
21
|
-
a11y: PropTypes.shape({
|
|
22
|
-
role: PropTypes.string,
|
|
23
|
-
ariaSelected: PropTypes.bool
|
|
24
|
-
}),
|
|
25
|
-
customClass: PropTypes.string,
|
|
26
|
-
customProps: PropTypes.object
|
|
27
|
-
};
|
|
28
|
-
export const ListItem_Props = {
|
|
29
|
-
active: PropTypes.bool,
|
|
30
|
-
autoHover: PropTypes.bool,
|
|
31
|
-
children: PropTypes.node,
|
|
32
|
-
dataId: PropTypes.string,
|
|
33
|
-
disableTitle: PropTypes.string,
|
|
34
|
-
getRef: PropTypes.func,
|
|
35
|
-
highlight: PropTypes.bool,
|
|
36
|
-
href: PropTypes.string,
|
|
37
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
38
|
-
index: PropTypes.number,
|
|
39
|
-
isDisabled: PropTypes.bool,
|
|
40
|
-
isLink: PropTypes.bool,
|
|
41
|
-
needBorder: PropTypes.bool,
|
|
42
|
-
needTick: PropTypes.bool,
|
|
43
|
-
onClick: PropTypes.func,
|
|
44
|
-
onMouseEnter: PropTypes.func,
|
|
45
|
-
palette: PropTypes.oneOf(['default', 'primary', 'secondary', 'dark']),
|
|
46
|
-
size: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
47
|
-
target: PropTypes.oneOf(['blank', 'self']),
|
|
48
|
-
title: PropTypes.string,
|
|
49
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
50
|
-
a11y: PropTypes.shape({
|
|
51
|
-
role: PropTypes.string,
|
|
52
|
-
ariaSelected: PropTypes.bool
|
|
53
|
-
}),
|
|
54
|
-
customClass: PropTypes.shape({
|
|
55
|
-
customListItem: PropTypes.string,
|
|
56
|
-
customTickIcon: PropTypes.string
|
|
57
|
-
}),
|
|
58
|
-
customProps: PropTypes.shape({
|
|
59
|
-
ListItemProps: PropTypes.object
|
|
60
|
-
})
|
|
61
|
-
};
|
|
62
|
-
export const ListItemWithAvatar_Props = {
|
|
63
|
-
active: PropTypes.bool,
|
|
64
|
-
autoHover: PropTypes.bool,
|
|
65
|
-
avatarPalette: PropTypes.string,
|
|
66
|
-
avatarPalette: PropTypes.string,
|
|
67
|
-
dataId: PropTypes.string,
|
|
68
|
-
disableTitle: PropTypes.string,
|
|
69
|
-
getRef: PropTypes.func,
|
|
70
|
-
highlight: PropTypes.bool,
|
|
71
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
72
|
-
imgSrc: PropTypes.string,
|
|
73
|
-
index: PropTypes.number,
|
|
74
|
-
initial: PropTypes.string,
|
|
75
|
-
isDisabled: PropTypes.bool,
|
|
76
|
-
isTeam: PropTypes.bool,
|
|
77
|
-
name: PropTypes.string,
|
|
78
|
-
needAvatarTitle: PropTypes.bool,
|
|
79
|
-
needBorder: PropTypes.bool,
|
|
80
|
-
needTick: PropTypes.bool,
|
|
81
|
-
onClick: PropTypes.func,
|
|
82
|
-
onMouseEnter: PropTypes.func,
|
|
83
|
-
palette: PropTypes.oneOf(['dark']),
|
|
84
|
-
size: PropTypes.string,
|
|
85
|
-
title: PropTypes.string,
|
|
86
|
-
value: PropTypes.string,
|
|
87
|
-
a11y: PropTypes.shape({
|
|
88
|
-
role: PropTypes.string,
|
|
89
|
-
ariaSelected: PropTypes.bool,
|
|
90
|
-
ariaHidden: PropTypes.bool
|
|
91
|
-
}),
|
|
92
|
-
customClass: PropTypes.shape({
|
|
93
|
-
customListItem: PropTypes.string,
|
|
94
|
-
customAvatar: PropTypes.string,
|
|
95
|
-
customAvatarTeam: PropTypes.string
|
|
96
|
-
}),
|
|
97
|
-
customProps: PropTypes.shape({
|
|
98
|
-
ListItemProps: PropTypes.object
|
|
99
|
-
})
|
|
100
|
-
};
|
|
101
|
-
export const ListItemWithCheckBox_Props = {
|
|
102
|
-
active: PropTypes.bool,
|
|
103
|
-
autoHover: PropTypes.bool,
|
|
104
|
-
checked: PropTypes.bool,
|
|
105
|
-
dataId: PropTypes.string,
|
|
106
|
-
disableTitle: PropTypes.string,
|
|
107
|
-
getRef: PropTypes.func,
|
|
108
|
-
highlight: PropTypes.bool,
|
|
109
|
-
id: PropTypes.string,
|
|
110
|
-
index: PropTypes.string,
|
|
111
|
-
isDisabled: PropTypes.bool,
|
|
112
|
-
onClick: PropTypes.func,
|
|
113
|
-
onHover: PropTypes.func,
|
|
114
|
-
palette: PropTypes.string,
|
|
115
|
-
size: PropTypes.string,
|
|
116
|
-
title: PropTypes.string,
|
|
117
|
-
value: PropTypes.string,
|
|
118
|
-
a11y: PropTypes.shape({
|
|
119
|
-
role: PropTypes.string,
|
|
120
|
-
ariaSelected: PropTypes.bool
|
|
121
|
-
}),
|
|
122
|
-
customClass: PropTypes.shape({
|
|
123
|
-
customListItem: PropTypes.string,
|
|
124
|
-
customCheckBox: PropTypes.string,
|
|
125
|
-
customLabel: PropTypes.string
|
|
126
|
-
})
|
|
127
|
-
};
|
|
128
|
-
export const ListItemWithIcon_Props = {
|
|
129
|
-
active: PropTypes.bool,
|
|
130
|
-
autoHover: PropTypes.bool,
|
|
131
|
-
dataId: PropTypes.string,
|
|
132
|
-
disableTitle: PropTypes.string,
|
|
133
|
-
getRef: PropTypes.func,
|
|
134
|
-
highlight: PropTypes.bool,
|
|
135
|
-
iconClass: PropTypes.string,
|
|
136
|
-
iconName: PropTypes.string,
|
|
137
|
-
iconSize: PropTypes.string,
|
|
138
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
139
|
-
index: PropTypes.number,
|
|
140
|
-
isDisabled: PropTypes.bool,
|
|
141
|
-
needBorder: PropTypes.bool,
|
|
142
|
-
needTick: PropTypes.bool,
|
|
143
|
-
onClick: PropTypes.func,
|
|
144
|
-
onMouseEnter: PropTypes.func,
|
|
145
|
-
palette: PropTypes.string,
|
|
146
|
-
size: PropTypes.string,
|
|
147
|
-
title: PropTypes.string,
|
|
148
|
-
value: PropTypes.string,
|
|
149
|
-
a11y: PropTypes.shape({
|
|
150
|
-
role: PropTypes.string,
|
|
151
|
-
ariaSelected: PropTypes.bool,
|
|
152
|
-
ariaHidden: PropTypes.bool
|
|
153
|
-
}),
|
|
154
|
-
customClass: PropTypes.string,
|
|
155
|
-
customProps: PropTypes.shape({
|
|
156
|
-
ListItemProps: PropTypes.object
|
|
157
|
-
})
|
|
158
|
-
};
|
|
159
|
-
export const ListItemWithRadio_Props = {
|
|
160
|
-
active: PropTypes.bool,
|
|
161
|
-
autoHover: PropTypes.bool,
|
|
162
|
-
checked: PropTypes.bool,
|
|
163
|
-
dataId: PropTypes.string,
|
|
164
|
-
disableTitle: PropTypes.string,
|
|
165
|
-
getRef: PropTypes.func,
|
|
166
|
-
highlight: PropTypes.bool,
|
|
167
|
-
id: PropTypes.string,
|
|
168
|
-
index: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
169
|
-
isDisabled: PropTypes.bool,
|
|
170
|
-
onClick: PropTypes.func,
|
|
171
|
-
onHover: PropTypes.func,
|
|
172
|
-
palette: PropTypes.string,
|
|
173
|
-
size: PropTypes.string,
|
|
174
|
-
title: PropTypes.string,
|
|
175
|
-
value: PropTypes.string,
|
|
176
|
-
a11y: PropTypes.shape({
|
|
177
|
-
role: PropTypes.string,
|
|
178
|
-
ariaSelected: PropTypes.bool
|
|
179
|
-
}),
|
|
180
|
-
customClass: PropTypes.shape({
|
|
181
|
-
customListItem: PropTypes.string,
|
|
182
|
-
customRadio: PropTypes.string,
|
|
183
|
-
customRadioWrap: PropTypes.string
|
|
184
|
-
})
|
|
185
|
-
};
|