@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,10 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
children: PropTypes.element,
|
|
4
|
-
dataId: PropTypes.string,
|
|
5
|
-
palette: PropTypes.oneOf(['default', 'danger', 'primary', 'secondary', 'info', 'dark']),
|
|
6
|
-
size: PropTypes.oneOf(['small', 'medium', 'large', 'xlarge']),
|
|
7
|
-
text: PropTypes.string,
|
|
8
|
-
type: PropTypes.oneOf(['default', 'flag', 'plain', 'ribbon', 'box', 'stamp', 'sticker', 'tag']),
|
|
9
|
-
customClass: PropTypes.string
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
children: PropTypes.node,
|
|
4
|
-
hoverType: PropTypes.oneOf(['default', 'border', 'bg']),
|
|
5
|
-
isActive: PropTypes.bool,
|
|
6
|
-
isDisabled: PropTypes.bool,
|
|
7
|
-
isNeedEffect: PropTypes.bool,
|
|
8
|
-
needBorder: PropTypes.bool,
|
|
9
|
-
palette: PropTypes.oneOf(['default', 'primary', 'primaryLight', 'primaryFilled', 'primaryDark', 'green', 'danger']),
|
|
10
|
-
isCopyTextEnabled: PropTypes.bool
|
|
11
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { getLibraryConfig } from '../../Provider/Config';
|
|
2
|
-
export const Select_defaultProps = {
|
|
3
|
-
animationStyle: 'bounce',
|
|
4
|
-
autoComplete: getLibraryConfig('autoComplete'),
|
|
5
|
-
autoSelectOnType: true,
|
|
6
|
-
dataId: 'selectComponent',
|
|
7
|
-
dropBoxSize: 'small',
|
|
8
|
-
isDefaultSelectValue: true,
|
|
9
|
-
isDisabled: false,
|
|
10
|
-
isPopupOpenOnEnter: false,
|
|
11
|
-
isReadOnly: false,
|
|
12
|
-
needBorder: true,
|
|
13
|
-
needLocalSearch: true,
|
|
14
|
-
needSearch: false,
|
|
15
|
-
needSelectDownIcon: true,
|
|
16
|
-
placeHolder: '',
|
|
17
|
-
searchBoxPlaceHolder: 'Search',
|
|
18
|
-
searchBoxSize: 'small',
|
|
19
|
-
size: 'medium',
|
|
20
|
-
textBoxSize: 'medium',
|
|
21
|
-
textBoxVariant: 'default',
|
|
22
|
-
textField: 'text',
|
|
23
|
-
valueField: 'id',
|
|
24
|
-
borderColor: 'default',
|
|
25
|
-
needTick: true,
|
|
26
|
-
boxSize: 'default',
|
|
27
|
-
needListBorder: false,
|
|
28
|
-
needCloseOnSelect: true,
|
|
29
|
-
isParentBased: true,
|
|
30
|
-
isSearchClearOnClose: true,
|
|
31
|
-
i18nKeys: {},
|
|
32
|
-
iconOnHover: false,
|
|
33
|
-
customProps: {}
|
|
34
|
-
};
|
|
35
|
-
export const GroupSelect_defaultProps = {
|
|
36
|
-
animationStyle: 'bounce',
|
|
37
|
-
defaultDropBoxPosition: 'bottom',
|
|
38
|
-
dropBoxSize: 'small',
|
|
39
|
-
isDefaultSelectValue: true,
|
|
40
|
-
isDisabled: false,
|
|
41
|
-
isReadOnly: false,
|
|
42
|
-
needBorder: true,
|
|
43
|
-
needSearch: false,
|
|
44
|
-
needSelectDownIcon: true,
|
|
45
|
-
placeHolder: '',
|
|
46
|
-
searchBoxPlaceHolder: 'Search',
|
|
47
|
-
searchBoxSize: 'small',
|
|
48
|
-
size: 'medium',
|
|
49
|
-
textBoxSize: 'medium',
|
|
50
|
-
textBoxVariant: 'default',
|
|
51
|
-
textField: 'text',
|
|
52
|
-
valueField: 'id',
|
|
53
|
-
autoSelectOnType: true,
|
|
54
|
-
dataIdSlctComp: 'selectComponent',
|
|
55
|
-
dataIdDownIcon: 'downIcon',
|
|
56
|
-
dataIdLoading: 'loading',
|
|
57
|
-
dataIdSrchEmptyMsg: 'searchEmptyMessage',
|
|
58
|
-
isPopupOpenOnEnter: false,
|
|
59
|
-
borderColor: 'default',
|
|
60
|
-
needTick: true,
|
|
61
|
-
needLocalSearch: true,
|
|
62
|
-
isSearchClearOnClose: true,
|
|
63
|
-
i18nKeys: {},
|
|
64
|
-
iconOnHover: false
|
|
65
|
-
};
|
|
66
|
-
export const SelectWithAvatar_defaultProps = {
|
|
67
|
-
animationStyle: 'bounce',
|
|
68
|
-
defaultDropBoxPosition: 'bottom',
|
|
69
|
-
dropBoxSize: 'small',
|
|
70
|
-
isDefaultSelectValue: false,
|
|
71
|
-
isDisabled: false,
|
|
72
|
-
isReadOnly: false,
|
|
73
|
-
needBorder: true,
|
|
74
|
-
needLocalSearch: true,
|
|
75
|
-
needSearch: true,
|
|
76
|
-
placeHolder: '',
|
|
77
|
-
size: 'medium',
|
|
78
|
-
textBoxSize: 'medium',
|
|
79
|
-
textBoxVariant: 'default',
|
|
80
|
-
textField: 'text',
|
|
81
|
-
valueField: 'id',
|
|
82
|
-
dataId: 'selectWithAvatar',
|
|
83
|
-
borderColor: 'default',
|
|
84
|
-
isSearchClearOnClose: true,
|
|
85
|
-
i18nKeys: {},
|
|
86
|
-
needEffect: true
|
|
87
|
-
};
|
|
88
|
-
export const SelectWithIcon_defaultProps = {
|
|
89
|
-
isReadOnly: false,
|
|
90
|
-
isDisabled: false,
|
|
91
|
-
animationStyle: 'bounce',
|
|
92
|
-
valueKey: 'value',
|
|
93
|
-
idKey: 'id',
|
|
94
|
-
needListBorder: false,
|
|
95
|
-
needSearch: false,
|
|
96
|
-
boxSize: 'default',
|
|
97
|
-
needListBorder: false,
|
|
98
|
-
needCloseOnSelect: true,
|
|
99
|
-
borderColor: 'default',
|
|
100
|
-
needTick: true,
|
|
101
|
-
searchBoxSize: 'small',
|
|
102
|
-
size: 'medium',
|
|
103
|
-
textBoxSize: 'medium',
|
|
104
|
-
textBoxVariant: 'default',
|
|
105
|
-
dataId: 'selectWithIcon',
|
|
106
|
-
dropBoxSize: 'small',
|
|
107
|
-
needIcon: true,
|
|
108
|
-
iconSize: '14',
|
|
109
|
-
i18nKeys: {}
|
|
110
|
-
};
|
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const Select_propTypes = {
|
|
3
|
-
animationStyle: PropTypes.string,
|
|
4
|
-
autoComplete: PropTypes.bool,
|
|
5
|
-
autoSelectDebouneTime: PropTypes.number,
|
|
6
|
-
autoSelectOnType: PropTypes.bool,
|
|
7
|
-
borderColor: PropTypes.oneOf(['transparent', 'default']),
|
|
8
|
-
boxSize: PropTypes.string,
|
|
9
|
-
className: PropTypes.string,
|
|
10
|
-
closePopupOnly: PropTypes.func,
|
|
11
|
-
dataId: PropTypes.string,
|
|
12
|
-
defaultDropBoxPosition: PropTypes.string,
|
|
13
|
-
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
14
|
-
emptyMessage: PropTypes.string,
|
|
15
|
-
excludeOptions: PropTypes.array,
|
|
16
|
-
getChildren: PropTypes.func,
|
|
17
|
-
getContainerRef: PropTypes.func,
|
|
18
|
-
getCustomEmptyState: PropTypes.func,
|
|
19
|
-
getFooter: PropTypes.func,
|
|
20
|
-
getNextOptions: PropTypes.func,
|
|
21
|
-
getPopupHandlers: PropTypes.func,
|
|
22
|
-
getRef: PropTypes.func,
|
|
23
|
-
getTargetRef: PropTypes.func,
|
|
24
|
-
i18nKeys: PropTypes.shape({
|
|
25
|
-
loadingText: PropTypes.string,
|
|
26
|
-
emptyText: PropTypes.string,
|
|
27
|
-
noMoreText: PropTypes.string,
|
|
28
|
-
searchEmptyText: PropTypes.string
|
|
29
|
-
}),
|
|
30
|
-
isDefaultSelectValue: PropTypes.bool,
|
|
31
|
-
isDisabled: PropTypes.bool,
|
|
32
|
-
isNextOptions: PropTypes.bool,
|
|
33
|
-
isParentBased: PropTypes.bool,
|
|
34
|
-
isPopupOpen: PropTypes.bool,
|
|
35
|
-
isPopupOpenOnEnter: PropTypes.bool,
|
|
36
|
-
isPopupReady: PropTypes.bool,
|
|
37
|
-
isReadOnly: PropTypes.bool,
|
|
38
|
-
isSearchClearOnClose: PropTypes.bool,
|
|
39
|
-
listItemSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
40
|
-
maxLength: PropTypes.string,
|
|
41
|
-
needBorder: PropTypes.bool,
|
|
42
|
-
needCloseOnSelect: PropTypes.bool,
|
|
43
|
-
needListBorder: PropTypes.bool,
|
|
44
|
-
needLocalSearch: PropTypes.bool,
|
|
45
|
-
needResponsive: PropTypes.bool,
|
|
46
|
-
needSearch: PropTypes.bool,
|
|
47
|
-
needSelectDownIcon: PropTypes.bool,
|
|
48
|
-
needTick: PropTypes.bool,
|
|
49
|
-
onAddNewOption: PropTypes.func,
|
|
50
|
-
onChange: PropTypes.func.isRequired,
|
|
51
|
-
onDropBoxClose: PropTypes.func,
|
|
52
|
-
onDropBoxOpen: PropTypes.func,
|
|
53
|
-
onKeyDown: PropTypes.func,
|
|
54
|
-
onSearch: PropTypes.func,
|
|
55
|
-
options: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.arrayOf(PropTypes.shape({
|
|
56
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
57
|
-
text: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
58
|
-
}))]).isRequired,
|
|
59
|
-
placeHolder: PropTypes.string,
|
|
60
|
-
position: PropTypes.string,
|
|
61
|
-
removeClose: PropTypes.func,
|
|
62
|
-
searchBoxPlaceHolder: PropTypes.string,
|
|
63
|
-
searchBoxSize: PropTypes.string,
|
|
64
|
-
searchDebounceTime: PropTypes.number,
|
|
65
|
-
searchEmptyMessage: PropTypes.string,
|
|
66
|
-
selectedValue: PropTypes.oneOfType([PropTypes.oneOfType([PropTypes.string, PropTypes.number]), PropTypes.shape({
|
|
67
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
68
|
-
text: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
69
|
-
})]),
|
|
70
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
71
|
-
textBoxSize: PropTypes.string,
|
|
72
|
-
textBoxVariant: PropTypes.string,
|
|
73
|
-
textField: PropTypes.string,
|
|
74
|
-
title: PropTypes.string,
|
|
75
|
-
togglePopup: PropTypes.func,
|
|
76
|
-
valueField: PropTypes.string,
|
|
77
|
-
htmlId: PropTypes.string,
|
|
78
|
-
children: PropTypes.node,
|
|
79
|
-
onFocus: PropTypes.func,
|
|
80
|
-
iconOnHover: PropTypes.bool,
|
|
81
|
-
customProps: PropTypes.shape({
|
|
82
|
-
TextBoxProps: PropTypes.object,
|
|
83
|
-
DropdownSearchTextBoxProps: PropTypes.object,
|
|
84
|
-
listItemProps: PropTypes.object,
|
|
85
|
-
SuggestionsProps: PropTypes.object
|
|
86
|
-
})
|
|
87
|
-
};
|
|
88
|
-
export const GroupSelect_propTypes = {
|
|
89
|
-
groupedOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
90
|
-
id: PropTypes.string.isRequired,
|
|
91
|
-
name: PropTypes.string.isRequired,
|
|
92
|
-
valueField: PropTypes.string,
|
|
93
|
-
textField: PropTypes.string,
|
|
94
|
-
options: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.arrayOf(PropTypes.shape({
|
|
95
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
96
|
-
text: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
97
|
-
}))])
|
|
98
|
-
})),
|
|
99
|
-
selectedOption: PropTypes.shape({
|
|
100
|
-
groupId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
101
|
-
selected: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
102
|
-
}),
|
|
103
|
-
emptyMessage: PropTypes.string.isRequired,
|
|
104
|
-
placeHolder: PropTypes.string,
|
|
105
|
-
onChange: PropTypes.func.isRequired,
|
|
106
|
-
onKeyDown: PropTypes.func,
|
|
107
|
-
searchBoxPlaceHolder: PropTypes.string,
|
|
108
|
-
needSearch: PropTypes.bool,
|
|
109
|
-
searchEmptyMessage: PropTypes.string,
|
|
110
|
-
getRef: PropTypes.func,
|
|
111
|
-
isDisabled: PropTypes.bool,
|
|
112
|
-
isReadOnly: PropTypes.bool,
|
|
113
|
-
needSelectDownIcon: PropTypes.bool,
|
|
114
|
-
isPopupOpenOnEnter: PropTypes.bool,
|
|
115
|
-
maxLength: PropTypes.string,
|
|
116
|
-
needBorder: PropTypes.bool,
|
|
117
|
-
autoSelectOnType: PropTypes.bool,
|
|
118
|
-
autoSelectDebouneTime: PropTypes.number,
|
|
119
|
-
dataId: PropTypes.string,
|
|
120
|
-
dataIdSlctComp: PropTypes.string,
|
|
121
|
-
dataIdDownIcon: PropTypes.string,
|
|
122
|
-
dataIdSrchEmptyMsg: PropTypes.string,
|
|
123
|
-
isNextOptions: PropTypes.bool,
|
|
124
|
-
getNextOptions: PropTypes.func,
|
|
125
|
-
searchDebounceTime: PropTypes.func,
|
|
126
|
-
needLocalSearch: PropTypes.bool,
|
|
127
|
-
onSearch: PropTypes.func,
|
|
128
|
-
isSearchClearOnClose: PropTypes.bool,
|
|
129
|
-
animationStyle: PropTypes.string,
|
|
130
|
-
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
131
|
-
defaultDropBoxPosition: PropTypes.oneOf(['bottom', 'top', 'left', 'right']),
|
|
132
|
-
isAnimate: PropTypes.bool,
|
|
133
|
-
onFocus: PropTypes.func,
|
|
134
|
-
size: PropTypes.oneOf(['medium', 'xmedium']),
|
|
135
|
-
textBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
|
|
136
|
-
title: PropTypes.string,
|
|
137
|
-
variant: PropTypes.string,
|
|
138
|
-
needResponsive: PropTypes.bool,
|
|
139
|
-
className: PropTypes.string,
|
|
140
|
-
textBoxVariant: PropTypes.string,
|
|
141
|
-
searchBoxSize: PropTypes.string,
|
|
142
|
-
borderColor: PropTypes.oneOf(['transparent', 'default']),
|
|
143
|
-
needTick: PropTypes.bool,
|
|
144
|
-
children: PropTypes.node,
|
|
145
|
-
getFooter: PropTypes.func,
|
|
146
|
-
htmlId: PropTypes.string,
|
|
147
|
-
iconOnHover: PropTypes.bool,
|
|
148
|
-
|
|
149
|
-
/**** Popup Props ****/
|
|
150
|
-
isPopupOpen: PropTypes.bool,
|
|
151
|
-
isPopupReady: PropTypes.bool,
|
|
152
|
-
togglePopup: PropTypes.func,
|
|
153
|
-
getTargetRef: PropTypes.func,
|
|
154
|
-
getContainerRef: PropTypes.func,
|
|
155
|
-
closePopupOnly: PropTypes.func,
|
|
156
|
-
position: PropTypes.string,
|
|
157
|
-
removeClose: PropTypes.func,
|
|
158
|
-
i18nKeys: PropTypes.shape({
|
|
159
|
-
loadingText: PropTypes.string,
|
|
160
|
-
emptyText: PropTypes.string,
|
|
161
|
-
noMoreText: PropTypes.string,
|
|
162
|
-
searchEmptyText: PropTypes.string
|
|
163
|
-
})
|
|
164
|
-
};
|
|
165
|
-
export const SelectWithAvatar_propTypes = {
|
|
166
|
-
animationStyle: PropTypes.string,
|
|
167
|
-
avatarPalette: PropTypes.string,
|
|
168
|
-
borderColor: PropTypes.oneOf(['transparent', 'default']),
|
|
169
|
-
className: PropTypes.string,
|
|
170
|
-
closePopupOnly: PropTypes.func,
|
|
171
|
-
dataId: PropTypes.string,
|
|
172
|
-
defaultDropBoxPosition: PropTypes.oneOf(['bottom', 'top', 'left', 'right']),
|
|
173
|
-
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
174
|
-
emptyMessage: PropTypes.string,
|
|
175
|
-
excludeOptions: PropTypes.array,
|
|
176
|
-
getContainerRef: PropTypes.func,
|
|
177
|
-
getNextOptions: PropTypes.func,
|
|
178
|
-
getRef: PropTypes.func,
|
|
179
|
-
groupName: PropTypes.string,
|
|
180
|
-
i18nKeys: PropTypes.shape({
|
|
181
|
-
loadingText: PropTypes.string,
|
|
182
|
-
emptyText: PropTypes.string,
|
|
183
|
-
noMoreText: PropTypes.string,
|
|
184
|
-
searchEmptyText: PropTypes.string
|
|
185
|
-
}),
|
|
186
|
-
isDisabled: PropTypes.bool,
|
|
187
|
-
isNextOptions: PropTypes.bool,
|
|
188
|
-
isPopupOpen: PropTypes.bool,
|
|
189
|
-
isPopupReady: PropTypes.bool,
|
|
190
|
-
isReadOnly: PropTypes.bool,
|
|
191
|
-
isSearchClearOnClose: PropTypes.bool,
|
|
192
|
-
maxLength: PropTypes.string,
|
|
193
|
-
needBorder: PropTypes.bool,
|
|
194
|
-
needLocalSearch: PropTypes.bool,
|
|
195
|
-
needResponsive: PropTypes.bool,
|
|
196
|
-
onChange: PropTypes.func.isRequired,
|
|
197
|
-
onDropBoxClose: PropTypes.func,
|
|
198
|
-
onDropBoxOpen: PropTypes.func,
|
|
199
|
-
onRemove: PropTypes.func,
|
|
200
|
-
onSearch: PropTypes.func,
|
|
201
|
-
options: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.arrayOf(PropTypes.shape({
|
|
202
|
-
id: PropTypes.string,
|
|
203
|
-
text: PropTypes.string,
|
|
204
|
-
photoURL: PropTypes.string
|
|
205
|
-
}))]).isRequired,
|
|
206
|
-
position: PropTypes.string,
|
|
207
|
-
removeClose: PropTypes.func,
|
|
208
|
-
searchDebounceTime: PropTypes.number,
|
|
209
|
-
searchEmptyMessage: PropTypes.string,
|
|
210
|
-
selectedValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
211
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
212
|
-
tagSize: PropTypes.string,
|
|
213
|
-
textBoxSize: PropTypes.string,
|
|
214
|
-
textBoxVariant: PropTypes.string,
|
|
215
|
-
textField: PropTypes.string,
|
|
216
|
-
title: PropTypes.string,
|
|
217
|
-
togglePopup: PropTypes.func,
|
|
218
|
-
valueField: PropTypes.string,
|
|
219
|
-
htmlId: PropTypes.string,
|
|
220
|
-
needEffect: PropTypes.bool
|
|
221
|
-
};
|
|
222
|
-
export const SelectWithIcon_propTypes = {
|
|
223
|
-
animationStyle: PropTypes.oneOf(['default', 'bounce']),
|
|
224
|
-
borderColor: PropTypes.oneOf(['transparent', 'default']),
|
|
225
|
-
boxPosition: PropTypes.oneOf(['bottomRight', 'bottomLeft', 'bottomCenter', 'topRight', 'topLeft', 'topCenter', 'rightTop', 'rightBottom', 'rightCenter', 'leftTop', 'leftBottom', 'leftCenter']),
|
|
226
|
-
dataId: PropTypes.string,
|
|
227
|
-
dropBoxSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
228
|
-
getContainerRef: PropTypes.func,
|
|
229
|
-
getNextOptions: PropTypes.func,
|
|
230
|
-
getTargetRef: PropTypes.func,
|
|
231
|
-
i18nKeys: PropTypes.shape({
|
|
232
|
-
loadingText: PropTypes.string,
|
|
233
|
-
emptyText: PropTypes.string,
|
|
234
|
-
noMoreText: PropTypes.string,
|
|
235
|
-
searchEmptyText: PropTypes.string
|
|
236
|
-
}),
|
|
237
|
-
iconClass: PropTypes.string,
|
|
238
|
-
iconName: PropTypes.string,
|
|
239
|
-
iconSize: PropTypes.string,
|
|
240
|
-
idKey: PropTypes.string,
|
|
241
|
-
isDisabled: PropTypes.bool,
|
|
242
|
-
isNextOptions: PropTypes.bool,
|
|
243
|
-
isPopupOpen: PropTypes.bool,
|
|
244
|
-
isPopupReady: PropTypes.bool,
|
|
245
|
-
isReadOnly: PropTypes.bool,
|
|
246
|
-
maxLength: PropTypes.string,
|
|
247
|
-
needIcon: PropTypes.bool,
|
|
248
|
-
needListBorder: PropTypes.bool,
|
|
249
|
-
needSearch: PropTypes.bool,
|
|
250
|
-
needTick: PropTypes.bool,
|
|
251
|
-
onChange: PropTypes.func,
|
|
252
|
-
options: PropTypes.array,
|
|
253
|
-
placeHolder: PropTypes.string,
|
|
254
|
-
position: PropTypes.string,
|
|
255
|
-
removeClose: PropTypes.func,
|
|
256
|
-
searchBoxPlaceHolder: PropTypes.string,
|
|
257
|
-
searchEmptyMessage: PropTypes.string,
|
|
258
|
-
selectedId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
259
|
-
selectedValue: PropTypes.string,
|
|
260
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
261
|
-
textBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
|
|
262
|
-
textBoxVariant: PropTypes.oneOf(['primary', 'secondary', 'default']),
|
|
263
|
-
togglePopup: PropTypes.func,
|
|
264
|
-
valueKey: PropTypes.string,
|
|
265
|
-
htmlId: PropTypes.string
|
|
266
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
palette: PropTypes.oneOf(['primary', 'secondary', 'dark']),
|
|
4
|
-
shape: PropTypes.oneOf(['rect', 'circle']),
|
|
5
|
-
size: PropTypes.oneOf(['small', 'medium', 'large', 'default']),
|
|
6
|
-
customClass: PropTypes.string
|
|
7
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
checked: PropTypes.bool,
|
|
4
|
-
dataId: PropTypes.string,
|
|
5
|
-
disableTitle: PropTypes.string,
|
|
6
|
-
disabled: PropTypes.bool,
|
|
7
|
-
id: PropTypes.string.isRequired,
|
|
8
|
-
isReadOnly: PropTypes.bool,
|
|
9
|
-
labelPalette: PropTypes.oneOf(['default', 'primary', 'secondary', 'danger', 'mandatory']),
|
|
10
|
-
labelSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
11
|
-
name: PropTypes.string,
|
|
12
|
-
onChange: PropTypes.func,
|
|
13
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
14
|
-
text: PropTypes.string,
|
|
15
|
-
title: PropTypes.string,
|
|
16
|
-
value: PropTypes.bool,
|
|
17
|
-
customClass: PropTypes.shape({
|
|
18
|
-
customSwitchWrap: PropTypes.string,
|
|
19
|
-
customSwitch: PropTypes.string,
|
|
20
|
-
customSwitchSize: PropTypes.string,
|
|
21
|
-
customLabel: PropTypes.string
|
|
22
|
-
}),
|
|
23
|
-
customProps: PropTypes.shape({
|
|
24
|
-
SwitchProps: PropTypes.object,
|
|
25
|
-
LabelProps: PropTypes.object
|
|
26
|
-
})
|
|
27
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export const Tab_defaultProps = {
|
|
2
|
-
dataId: 'tabMenu',
|
|
3
|
-
customProps: {}
|
|
4
|
-
};
|
|
5
|
-
export const TabContent_defaultProps = {
|
|
6
|
-
dataId: 'tabContent'
|
|
7
|
-
};
|
|
8
|
-
export const TabContentWrapper_defaultProps = {
|
|
9
|
-
children: []
|
|
10
|
-
};
|
|
11
|
-
export const Tabs_defaultProps = {
|
|
12
|
-
isAnimate: false,
|
|
13
|
-
isResponsive: true,
|
|
14
|
-
needTabBorder: false,
|
|
15
|
-
type: 'alpha',
|
|
16
|
-
dataId: 'highlight',
|
|
17
|
-
align: 'horizontal',
|
|
18
|
-
children: [],
|
|
19
|
-
highlightClass: '',
|
|
20
|
-
minTabsCount: 0,
|
|
21
|
-
maxTabsCount: 100,
|
|
22
|
-
moreButtonClass: '',
|
|
23
|
-
moreBoxClass: '',
|
|
24
|
-
menuItemClass: '',
|
|
25
|
-
iconName: 'ZD-TB-menu',
|
|
26
|
-
iconSize: '7',
|
|
27
|
-
containerClass: '',
|
|
28
|
-
customProps: {}
|
|
29
|
-
};
|
|
30
|
-
export const TabWrapper_defaultProps = {
|
|
31
|
-
hookToDisableInternalState: false,
|
|
32
|
-
isAnimate: false,
|
|
33
|
-
needBorder: true,
|
|
34
|
-
needPadding: true,
|
|
35
|
-
needTabBorder: false,
|
|
36
|
-
type: 'alpha',
|
|
37
|
-
align: 'vertical',
|
|
38
|
-
needAppearance: true
|
|
39
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const Tab_propTypes = {
|
|
3
|
-
activeClass: PropTypes.string,
|
|
4
|
-
align: PropTypes.string,
|
|
5
|
-
children: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
|
|
6
|
-
className: PropTypes.string,
|
|
7
|
-
dataId: PropTypes.string,
|
|
8
|
-
getTabRef: PropTypes.func,
|
|
9
|
-
href: PropTypes.string,
|
|
10
|
-
id: PropTypes.string,
|
|
11
|
-
isActive: PropTypes.bool,
|
|
12
|
-
isAnimate: PropTypes.bool,
|
|
13
|
-
isDisabled: PropTypes.bool,
|
|
14
|
-
isLink: PropTypes.bool,
|
|
15
|
-
needAppearance: PropTypes.bool,
|
|
16
|
-
needBorder: PropTypes.bool,
|
|
17
|
-
onClick: PropTypes.func,
|
|
18
|
-
onSelect: PropTypes.func,
|
|
19
|
-
style: PropTypes.object,
|
|
20
|
-
text: PropTypes.string,
|
|
21
|
-
title: PropTypes.string,
|
|
22
|
-
titlePosition: PropTypes.oneOf(['top', 'bottom', 'right', 'left']),
|
|
23
|
-
tourId: PropTypes.string,
|
|
24
|
-
type: PropTypes.string,
|
|
25
|
-
customProps: PropTypes.object,
|
|
26
|
-
isVirtual: PropTypes.bool
|
|
27
|
-
};
|
|
28
|
-
export const TabContent_propTypes = {
|
|
29
|
-
children: PropTypes.node,
|
|
30
|
-
dataId: PropTypes.string,
|
|
31
|
-
id: PropTypes.string,
|
|
32
|
-
scroll: PropTypes.oneOf(['vertical', 'horizontal', 'both', 'none'])
|
|
33
|
-
};
|
|
34
|
-
export const TabContentWrapper_propTypes = {
|
|
35
|
-
children: PropTypes.node,
|
|
36
|
-
className: PropTypes.string,
|
|
37
|
-
dataId: PropTypes.string,
|
|
38
|
-
onScroll: PropTypes.func,
|
|
39
|
-
selectedTab: PropTypes.string,
|
|
40
|
-
style: PropTypes.object
|
|
41
|
-
};
|
|
42
|
-
export const Tabs_propTypes = {
|
|
43
|
-
align: PropTypes.oneOf(['vertical', 'horizontal']),
|
|
44
|
-
boxPosition: PropTypes.string,
|
|
45
|
-
childType: PropTypes.elementType,
|
|
46
|
-
children: PropTypes.array,
|
|
47
|
-
className: PropTypes.string,
|
|
48
|
-
dataId: PropTypes.string,
|
|
49
|
-
getContainerRef: PropTypes.func,
|
|
50
|
-
highlightClass: PropTypes.string,
|
|
51
|
-
hookToDisableInternalState: PropTypes.bool,
|
|
52
|
-
iconName: PropTypes.string,
|
|
53
|
-
iconSize: PropTypes.string,
|
|
54
|
-
isAnimate: PropTypes.bool,
|
|
55
|
-
isPopupOpen: PropTypes.bool,
|
|
56
|
-
isPopupReady: PropTypes.bool,
|
|
57
|
-
isResponsive: PropTypes.bool,
|
|
58
|
-
itemActiveClass: PropTypes.string,
|
|
59
|
-
itemClass: PropTypes.string,
|
|
60
|
-
maxTabsCount: PropTypes.number,
|
|
61
|
-
menuItemClass: PropTypes.string,
|
|
62
|
-
minTabsCount: PropTypes.number,
|
|
63
|
-
moreBoxClass: PropTypes.string,
|
|
64
|
-
moreButtonActiveClass: PropTypes.string,
|
|
65
|
-
moreButtonClass: PropTypes.string,
|
|
66
|
-
moreContainerClass: PropTypes.string,
|
|
67
|
-
needAppearance: PropTypes.bool,
|
|
68
|
-
needBorder: PropTypes.bool,
|
|
69
|
-
needPadding: PropTypes.bool,
|
|
70
|
-
needTabBorder: PropTypes.bool,
|
|
71
|
-
onScroll: PropTypes.func,
|
|
72
|
-
onSelect: PropTypes.func,
|
|
73
|
-
position: PropTypes.string,
|
|
74
|
-
removeClose: PropTypes.func,
|
|
75
|
-
selectedTab: PropTypes.string,
|
|
76
|
-
showTitleInMoreOptions: PropTypes.bool,
|
|
77
|
-
style: PropTypes.object,
|
|
78
|
-
togglePopup: PropTypes.func,
|
|
79
|
-
type: PropTypes.oneOf(['alpha', 'beta', 'delta']),
|
|
80
|
-
getTargetRef: PropTypes.func,
|
|
81
|
-
containerClass: PropTypes.string,
|
|
82
|
-
customProps: PropTypes.shape({
|
|
83
|
-
DropBoxProps: PropTypes.object,
|
|
84
|
-
ListItemProps: PropTypes.object,
|
|
85
|
-
MoreButtonProps: PropTypes.object
|
|
86
|
-
}),
|
|
87
|
-
getCustomDropBoxHeaderPlaceHolder: PropTypes.func
|
|
88
|
-
};
|
|
89
|
-
export const TabWrapper_propTypes = {
|
|
90
|
-
align: PropTypes.oneOf(['vertical', 'horizontal']),
|
|
91
|
-
children: PropTypes.node,
|
|
92
|
-
dataId: PropTypes.string,
|
|
93
|
-
defaultTab: PropTypes.string,
|
|
94
|
-
hookToDisableInternalState: PropTypes.bool,
|
|
95
|
-
isAnimate: PropTypes.bool,
|
|
96
|
-
needAppearance: PropTypes.bool,
|
|
97
|
-
needBorder: PropTypes.bool,
|
|
98
|
-
needPadding: PropTypes.bool,
|
|
99
|
-
needTabBorder: PropTypes.bool,
|
|
100
|
-
onSelect: PropTypes.func,
|
|
101
|
-
type: PropTypes.oneOf(['alpha', 'beta', 'zeta'])
|
|
102
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
active: PropTypes.bool,
|
|
4
|
-
avatarPalette: PropTypes.string,
|
|
5
|
-
closePalette: PropTypes.oneOf(['danger', 'primary']),
|
|
6
|
-
closeTitle: PropTypes.string,
|
|
7
|
-
dataId: PropTypes.string,
|
|
8
|
-
disabled: PropTypes.bool,
|
|
9
|
-
getRef: PropTypes.func,
|
|
10
|
-
hasAvatar: PropTypes.bool,
|
|
11
|
-
iconName: PropTypes.string,
|
|
12
|
-
iconSize: PropTypes.string,
|
|
13
|
-
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
14
|
-
imageURL: PropTypes.string,
|
|
15
|
-
initial: PropTypes.string,
|
|
16
|
-
onRemove: PropTypes.func,
|
|
17
|
-
onSelectTag: PropTypes.func,
|
|
18
|
-
palette: PropTypes.oneOf(['default', 'danger', 'secondary', 'pureDotted', 'primaryDotted', 'dark', 'pureDarkDotted', 'darkPrimaryDotted', 'defaultLink']),
|
|
19
|
-
rounded: PropTypes.bool,
|
|
20
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
21
|
-
text: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
22
|
-
tooltip: PropTypes.string,
|
|
23
|
-
customClass: PropTypes.shape({
|
|
24
|
-
customTag: PropTypes.string,
|
|
25
|
-
customTagClose: PropTypes.string,
|
|
26
|
-
customTagIcon: PropTypes.string,
|
|
27
|
-
customAvatar: PropTypes.string
|
|
28
|
-
}),
|
|
29
|
-
a11y: PropTypes.shape({
|
|
30
|
-
clearLabel: PropTypes.string
|
|
31
|
-
}),
|
|
32
|
-
needEffect: PropTypes.bool,
|
|
33
|
-
isReadOnly: PropTypes.bool
|
|
34
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export const defaultProps = {
|
|
2
|
-
isDisabled: false,
|
|
3
|
-
isReadOnly: false,
|
|
4
|
-
maxLength: 250,
|
|
5
|
-
needBorder: true,
|
|
6
|
-
size: 'medium',
|
|
7
|
-
type: 'text',
|
|
8
|
-
variant: 'default',
|
|
9
|
-
dataId: 'textBox',
|
|
10
|
-
needReadOnlyStyle: true,
|
|
11
|
-
needAppearance: true,
|
|
12
|
-
isClickable: false,
|
|
13
|
-
needEffect: true,
|
|
14
|
-
autoComplete: true,
|
|
15
|
-
borderColor: 'default',
|
|
16
|
-
a11y: {},
|
|
17
|
-
isFocus: false,
|
|
18
|
-
customProps: {}
|
|
19
|
-
};
|