@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
|
@@ -260,12 +260,8 @@
|
|
|
260
260
|
background: #fff;
|
|
261
261
|
}
|
|
262
262
|
[data-mode='dark'] {
|
|
263
|
-
color: #
|
|
264
|
-
background: #
|
|
265
|
-
}
|
|
266
|
-
[data-mode='pureDark'] {
|
|
267
|
-
color: #e2e4e6;
|
|
268
|
-
background: #212121;
|
|
263
|
+
color: #E2E4E6;
|
|
264
|
+
background: #232B38;
|
|
269
265
|
}
|
|
270
266
|
|
|
271
267
|
.baseHue {
|
package/lib/css.js
CHANGED
|
@@ -9,9 +9,7 @@ exports["default"] = exports.RefElement = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var _propTypes = require("
|
|
13
|
-
|
|
14
|
-
var _defaultProps = require("./props/defaultProps");
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
13
|
|
|
16
14
|
var _Modal = _interopRequireDefault(require("../../Modal/Modal"));
|
|
17
15
|
|
|
@@ -143,8 +141,21 @@ var PortalLayer = /*#__PURE__*/function (_React$Component) {
|
|
|
143
141
|
}(_react["default"].Component);
|
|
144
142
|
|
|
145
143
|
exports["default"] = PortalLayer;
|
|
146
|
-
PortalLayer.defaultProps =
|
|
147
|
-
|
|
144
|
+
PortalLayer.defaultProps = {
|
|
145
|
+
autoZIndexNeeded: true,
|
|
146
|
+
isChildrenRestrictionNeeded: false,
|
|
147
|
+
portalId: 'portal1'
|
|
148
|
+
};
|
|
149
|
+
PortalLayer.propTypes = {
|
|
150
|
+
autoZIndexNeeded: _propTypes["default"].bool,
|
|
151
|
+
children: _propTypes["default"].element,
|
|
152
|
+
initialState: _propTypes["default"].bool,
|
|
153
|
+
isChildrenRestrictionNeeded: _propTypes["default"].bool,
|
|
154
|
+
portalId: _propTypes["default"].string,
|
|
155
|
+
renderChildren: _propTypes["default"].func,
|
|
156
|
+
saveGetFunction: _propTypes["default"].func,
|
|
157
|
+
saveUpdateFunction: _propTypes["default"].func
|
|
158
|
+
};
|
|
148
159
|
|
|
149
160
|
if (false) {
|
|
150
161
|
PortalLayer.docs = {
|
package/lib/index.js
CHANGED
|
@@ -8,14 +8,6 @@ var _exportNames = {
|
|
|
8
8
|
ReactDOM: true,
|
|
9
9
|
renderToStaticMarkup: true,
|
|
10
10
|
_provider: true,
|
|
11
|
-
Grid__default: true,
|
|
12
|
-
Grid__Basic_Detail_Layout: true,
|
|
13
|
-
Grid__Auto_Flow_Row: true,
|
|
14
|
-
Grid__Area_Based_Detail_Layout: true,
|
|
15
|
-
Grid__Line_Based_Detail_Layout: true,
|
|
16
|
-
Grid__Area_Based_List_Layout: true,
|
|
17
|
-
Grid__Line_Based_List_Layout: true,
|
|
18
|
-
Grid__Box_Alignment: true,
|
|
19
11
|
Layout__default: true,
|
|
20
12
|
Layout__two_Column: true,
|
|
21
13
|
Layout__three_Column: true,
|
|
@@ -158,8 +150,11 @@ var _exportNames = {
|
|
|
158
150
|
Provider__Zindex_For_FunctionComponent: true,
|
|
159
151
|
SemanticButton: true,
|
|
160
152
|
SemanticButton__default: true,
|
|
161
|
-
|
|
162
|
-
|
|
153
|
+
FocusScope: true,
|
|
154
|
+
FocusScope__default: true,
|
|
155
|
+
FocusRing: true,
|
|
156
|
+
FocusRing__default: true,
|
|
157
|
+
LightNightMode__AlternativeColors: true
|
|
163
158
|
};
|
|
164
159
|
Object.defineProperty(exports, "Accordion", {
|
|
165
160
|
enumerable: true,
|
|
@@ -473,52 +468,28 @@ Object.defineProperty(exports, "DropDownHeading__Heading", {
|
|
|
473
468
|
return _DropDownHeading__default["default"];
|
|
474
469
|
}
|
|
475
470
|
});
|
|
476
|
-
Object.defineProperty(exports, "
|
|
471
|
+
Object.defineProperty(exports, "FocusRing", {
|
|
477
472
|
enumerable: true,
|
|
478
473
|
get: function get() {
|
|
479
|
-
return
|
|
474
|
+
return _FocusRing["default"];
|
|
480
475
|
}
|
|
481
476
|
});
|
|
482
|
-
Object.defineProperty(exports, "
|
|
477
|
+
Object.defineProperty(exports, "FocusRing__default", {
|
|
483
478
|
enumerable: true,
|
|
484
479
|
get: function get() {
|
|
485
|
-
return
|
|
480
|
+
return _FocusRing__default["default"];
|
|
486
481
|
}
|
|
487
482
|
});
|
|
488
|
-
Object.defineProperty(exports, "
|
|
483
|
+
Object.defineProperty(exports, "FocusScope", {
|
|
489
484
|
enumerable: true,
|
|
490
485
|
get: function get() {
|
|
491
|
-
return
|
|
486
|
+
return _FocusScope["default"];
|
|
492
487
|
}
|
|
493
488
|
});
|
|
494
|
-
Object.defineProperty(exports, "
|
|
489
|
+
Object.defineProperty(exports, "FocusScope__default", {
|
|
495
490
|
enumerable: true,
|
|
496
491
|
get: function get() {
|
|
497
|
-
return
|
|
498
|
-
}
|
|
499
|
-
});
|
|
500
|
-
Object.defineProperty(exports, "Grid__Box_Alignment", {
|
|
501
|
-
enumerable: true,
|
|
502
|
-
get: function get() {
|
|
503
|
-
return _Grid__Box_Alignment["default"];
|
|
504
|
-
}
|
|
505
|
-
});
|
|
506
|
-
Object.defineProperty(exports, "Grid__Line_Based_Detail_Layout", {
|
|
507
|
-
enumerable: true,
|
|
508
|
-
get: function get() {
|
|
509
|
-
return _Grid__Line_Based_Detail_Layout["default"];
|
|
510
|
-
}
|
|
511
|
-
});
|
|
512
|
-
Object.defineProperty(exports, "Grid__Line_Based_List_Layout", {
|
|
513
|
-
enumerable: true,
|
|
514
|
-
get: function get() {
|
|
515
|
-
return _Grid__Line_Based_List_Layout["default"];
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
Object.defineProperty(exports, "Grid__default", {
|
|
519
|
-
enumerable: true,
|
|
520
|
-
get: function get() {
|
|
521
|
-
return _Grid__default["default"];
|
|
492
|
+
return _FocusScope__default["default"];
|
|
522
493
|
}
|
|
523
494
|
});
|
|
524
495
|
Object.defineProperty(exports, "GroupSelect", {
|
|
@@ -815,12 +786,6 @@ Object.defineProperty(exports, "ReactDOM", {
|
|
|
815
786
|
return _reactDom["default"];
|
|
816
787
|
}
|
|
817
788
|
});
|
|
818
|
-
Object.defineProperty(exports, "ResponsiveDropBox", {
|
|
819
|
-
enumerable: true,
|
|
820
|
-
get: function get() {
|
|
821
|
-
return _ResponsiveDropBox["default"];
|
|
822
|
-
}
|
|
823
|
-
});
|
|
824
789
|
Object.defineProperty(exports, "Responsive__Custom", {
|
|
825
790
|
enumerable: true,
|
|
826
791
|
get: function get() {
|
|
@@ -1122,36 +1087,6 @@ Object.keys(_Layout).forEach(function (key) {
|
|
|
1122
1087
|
});
|
|
1123
1088
|
});
|
|
1124
1089
|
|
|
1125
|
-
var _Grid = require("./ucl/Grid");
|
|
1126
|
-
|
|
1127
|
-
Object.keys(_Grid).forEach(function (key) {
|
|
1128
|
-
if (key === "default" || key === "__esModule") return;
|
|
1129
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
1130
|
-
if (key in exports && exports[key] === _Grid[key]) return;
|
|
1131
|
-
Object.defineProperty(exports, key, {
|
|
1132
|
-
enumerable: true,
|
|
1133
|
-
get: function get() {
|
|
1134
|
-
return _Grid[key];
|
|
1135
|
-
}
|
|
1136
|
-
});
|
|
1137
|
-
});
|
|
1138
|
-
|
|
1139
|
-
var _Grid__default = _interopRequireDefault(require("./ucl/Grid/docs/Grid__default.docs"));
|
|
1140
|
-
|
|
1141
|
-
var _Grid__Basic_Detail_Layout = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Basic_Detail_Layout.docs"));
|
|
1142
|
-
|
|
1143
|
-
var _Grid__Auto_Flow_Row = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Auto_Flow_Row.docs"));
|
|
1144
|
-
|
|
1145
|
-
var _Grid__Area_Based_Detail_Layout = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Area_Based_Detail_Layout.docs"));
|
|
1146
|
-
|
|
1147
|
-
var _Grid__Line_Based_Detail_Layout = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Line_Based_Detail_Layout.docs"));
|
|
1148
|
-
|
|
1149
|
-
var _Grid__Area_Based_List_Layout = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Area_Based_List_Layout.docs"));
|
|
1150
|
-
|
|
1151
|
-
var _Grid__Line_Based_List_Layout = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Line_Based_List_Layout.docs"));
|
|
1152
|
-
|
|
1153
|
-
var _Grid__Box_Alignment = _interopRequireDefault(require("./ucl/Grid/docs/Grid__Box_Alignment.docs"));
|
|
1154
|
-
|
|
1155
1090
|
var _Layout__default = _interopRequireDefault(require("./Layout/docs/Layout__default.docs"));
|
|
1156
1091
|
|
|
1157
1092
|
var _Layout__two_Column = _interopRequireDefault(require("./Layout/docs/Layout__two_Column.docs"));
|
|
@@ -1464,8 +1399,14 @@ var _Button2 = _interopRequireDefault(require("./semantic/Button/Button"));
|
|
|
1464
1399
|
|
|
1465
1400
|
var _Button__defaultDocs = _interopRequireDefault(require("./semantic/Button/docs/Button__default.docs.js"));
|
|
1466
1401
|
|
|
1467
|
-
var
|
|
1402
|
+
var _FocusScope = _interopRequireDefault(require("./a11y/FocusScope/FocusScope"));
|
|
1403
|
+
|
|
1404
|
+
var _FocusScope__default = _interopRequireDefault(require("./a11y/FocusScope/docs/FocusScope__default.docs"));
|
|
1405
|
+
|
|
1406
|
+
var _FocusRing = _interopRequireDefault(require("./beta/FocusRing/FocusRing"));
|
|
1468
1407
|
|
|
1469
|
-
var
|
|
1408
|
+
var _FocusRing__default = _interopRequireDefault(require("./beta/FocusRing/docs/FocusRing__default.docs"));
|
|
1409
|
+
|
|
1410
|
+
var _AlternativeColors = _interopRequireDefault(require("./LightNightMode/docs/AlternativeColors.docs"));
|
|
1470
1411
|
|
|
1471
1412
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -9,9 +9,7 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
var _propTypes = require("./props/propTypes");
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
13
|
|
|
16
14
|
var _semanticButtonModule = _interopRequireDefault(require("./semanticButton.module.css"));
|
|
17
15
|
|
|
@@ -94,8 +92,43 @@ var Button = /*#__PURE__*/function (_React$Component) {
|
|
|
94
92
|
}(_react["default"].Component);
|
|
95
93
|
|
|
96
94
|
exports["default"] = Button;
|
|
97
|
-
Button.defaultProps =
|
|
98
|
-
|
|
95
|
+
Button.defaultProps = {
|
|
96
|
+
children: null,
|
|
97
|
+
autoFocus: false,
|
|
98
|
+
dataId: 'semanticButton',
|
|
99
|
+
disabled: false,
|
|
100
|
+
palette: 'primary',
|
|
101
|
+
text: 'Button',
|
|
102
|
+
type: 'button',
|
|
103
|
+
value: 'text',
|
|
104
|
+
customClass: '',
|
|
105
|
+
a11y: {}
|
|
106
|
+
};
|
|
107
|
+
Button.propTypes = {
|
|
108
|
+
ariaControls: _propTypes["default"].bool,
|
|
109
|
+
ariaExpanded: _propTypes["default"].bool,
|
|
110
|
+
ariaHaspopup: _propTypes["default"].bool,
|
|
111
|
+
ariaLabel: _propTypes["default"].string,
|
|
112
|
+
autofocus: _propTypes["default"].bool,
|
|
113
|
+
children: _propTypes["default"].node,
|
|
114
|
+
customClass: _propTypes["default"].string,
|
|
115
|
+
dataId: _propTypes["default"].string,
|
|
116
|
+
disabled: _propTypes["default"].bool,
|
|
117
|
+
name: _propTypes["default"].string,
|
|
118
|
+
onClick: _propTypes["default"].func,
|
|
119
|
+
ref: _propTypes["default"].func,
|
|
120
|
+
text: _propTypes["default"].string,
|
|
121
|
+
title: _propTypes["default"].string,
|
|
122
|
+
type: _propTypes["default"].oneOf(['submit', 'reset', 'button']),
|
|
123
|
+
value: _propTypes["default"].string,
|
|
124
|
+
a11y: _propTypes["default"].shape({
|
|
125
|
+
ariaLabel: _propTypes["default"].string,
|
|
126
|
+
ariaHaspopup: _propTypes["default"].bool,
|
|
127
|
+
ariaExpanded: _propTypes["default"].bool,
|
|
128
|
+
ariaControls: _propTypes["default"].string,
|
|
129
|
+
ariaLabelledby: _propTypes["default"].string
|
|
130
|
+
})
|
|
131
|
+
};
|
|
99
132
|
|
|
100
133
|
if (false) {
|
|
101
134
|
Button.docs = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-71",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"jsnext:main": "es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"init": "npm run clean && cd ../assets && npm run componentsassets && cd ../components && npm run build:variables",
|
|
17
17
|
"build:variables": "node ./preprocess/index",
|
|
18
18
|
"rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
|
|
19
|
-
"common_package_build":
|
|
19
|
+
"common_package_build":"cd ../common && npm run build && cd ../components",
|
|
20
20
|
"start": "react-cli start",
|
|
21
21
|
"docs": "npm run common_package_build && npm run dubCheck && react-cli docs",
|
|
22
22
|
"build": " react-cli build:component:cmjs",
|
|
@@ -45,9 +45,6 @@
|
|
|
45
45
|
"@zohodesk/svg": "1.0.0-beta.48"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@zohodesk/hooks": "^1.0.3-alpha.2",
|
|
49
|
-
"@zohodesk/theme": "^1.0.3-alpha.1",
|
|
50
|
-
"@zohodesk/utils": "^1.0.3-alpha.1",
|
|
51
48
|
"hoist-non-react-statics": "3.0.1",
|
|
52
49
|
"react-transition-group": "2.5.0",
|
|
53
50
|
"reselect": "4.0.0",
|
|
@@ -76,4 +73,4 @@
|
|
|
76
73
|
"hasRTL": true
|
|
77
74
|
}
|
|
78
75
|
}
|
|
79
|
-
}
|
|
76
|
+
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const Accordion_propTypes = {
|
|
3
|
-
children: PropTypes.node,
|
|
4
|
-
className: PropTypes.string,
|
|
5
|
-
disableInternalState: PropTypes.bool,
|
|
6
|
-
height: PropTypes.string,
|
|
7
|
-
onSelect: PropTypes.func,
|
|
8
|
-
selectedItem: PropTypes.string.isRequired,
|
|
9
|
-
unMount: PropTypes.bool,
|
|
10
|
-
a11y: PropTypes.shape({
|
|
11
|
-
role: PropTypes.string,
|
|
12
|
-
ariaExpanded: PropTypes.bool,
|
|
13
|
-
ariaHaspopup: PropTypes.bool
|
|
14
|
-
})
|
|
15
|
-
};
|
|
16
|
-
export const AccordionItem_propTypes = {
|
|
17
|
-
children: PropTypes.node,
|
|
18
|
-
className: PropTypes.string,
|
|
19
|
-
dataId: PropTypes.string,
|
|
20
|
-
equalityCheck: PropTypes.func,
|
|
21
|
-
id: PropTypes.string,
|
|
22
|
-
selectMenu: PropTypes.func,
|
|
23
|
-
selectedItem: PropTypes.string,
|
|
24
|
-
unMount: PropTypes.bool,
|
|
25
|
-
unMountItem: PropTypes.bool,
|
|
26
|
-
innerClass: PropTypes.string,
|
|
27
|
-
a11y: PropTypes.shape({
|
|
28
|
-
role: PropTypes.string
|
|
29
|
-
})
|
|
30
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
children: PropTypes.node,
|
|
4
|
-
delayClassName: PropTypes.string,
|
|
5
|
-
enterDuration: PropTypes.number,
|
|
6
|
-
exitDuration: PropTypes.number,
|
|
7
|
-
isActive: PropTypes.bool,
|
|
8
|
-
name: PropTypes.oneOf(['zoomIn', 'scaleIn', 'fadeIn', 'slideLeft', 'slideDown', 'skewIn', 'default', 'none']),
|
|
9
|
-
onEntered: PropTypes.func,
|
|
10
|
-
onExit: PropTypes.func,
|
|
11
|
-
unmountOnExit: PropTypes.bool
|
|
12
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element)]),
|
|
4
|
-
dataId: PropTypes.string,
|
|
5
|
-
eleRef: PropTypes.func,
|
|
6
|
-
tagName: PropTypes.string,
|
|
7
|
-
className: PropTypes.string,
|
|
8
|
-
tooltipClass: PropTypes.string,
|
|
9
|
-
tooltipParentClass: PropTypes.string,
|
|
10
|
-
customProps: PropTypes.shape({
|
|
11
|
-
ContainerProps: PropTypes.object,
|
|
12
|
-
TooltipProps: PropTypes.object,
|
|
13
|
-
ExtraProps: PropTypes.object
|
|
14
|
-
})
|
|
15
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
dataId: PropTypes.string,
|
|
4
|
-
initial: PropTypes.string,
|
|
5
|
-
name: PropTypes.string.isRequired,
|
|
6
|
-
needBorder: PropTypes.bool,
|
|
7
|
-
needTitle: PropTypes.bool,
|
|
8
|
-
onClick: PropTypes.func,
|
|
9
|
-
palette: PropTypes.oneOf(['primary', 'secondary', 'info', 'default']),
|
|
10
|
-
shape: PropTypes.oneOf(['circle', 'square']),
|
|
11
|
-
size: PropTypes.oneOf(['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge']),
|
|
12
|
-
src: PropTypes.string,
|
|
13
|
-
textPalette: PropTypes.oneOf(['white', 'black']),
|
|
14
|
-
title: PropTypes.string,
|
|
15
|
-
customClass: PropTypes.string,
|
|
16
|
-
alternateSrc: PropTypes.string,
|
|
17
|
-
borderOnActive: PropTypes.bool,
|
|
18
|
-
borderOnHover: PropTypes.bool,
|
|
19
|
-
customProps: PropTypes.shape({
|
|
20
|
-
AvatarProps: PropTypes.object
|
|
21
|
-
})
|
|
22
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const defaultProps = {
|
|
2
|
-
isFilled: false,
|
|
3
|
-
palette: 'primary',
|
|
4
|
-
size: 'medium',
|
|
5
|
-
src: null,
|
|
6
|
-
title: null,
|
|
7
|
-
dataId: 'avatarTeamComp',
|
|
8
|
-
needTitle: true,
|
|
9
|
-
customClass: {},
|
|
10
|
-
borderOnActive: false,
|
|
11
|
-
borderOnHover: false,
|
|
12
|
-
customProps: {}
|
|
13
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
dataId: PropTypes.string,
|
|
4
|
-
isFilled: PropTypes.bool,
|
|
5
|
-
name: PropTypes.string.isRequired,
|
|
6
|
-
needTitle: PropTypes.bool,
|
|
7
|
-
onClick: PropTypes.func,
|
|
8
|
-
palette: PropTypes.oneOf(['primary', 'secondary', 'info']),
|
|
9
|
-
size: PropTypes.oneOf(['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge']),
|
|
10
|
-
src: PropTypes.string,
|
|
11
|
-
textPalette: PropTypes.oneOf(['white', 'black']),
|
|
12
|
-
title: PropTypes.string,
|
|
13
|
-
customClass: PropTypes.shape({
|
|
14
|
-
customAvatar: PropTypes.string,
|
|
15
|
-
customAvatarTeam: PropTypes.string
|
|
16
|
-
}),
|
|
17
|
-
borderOnActive: PropTypes.bool,
|
|
18
|
-
borderOnHover: PropTypes.bool,
|
|
19
|
-
customProps: PropTypes.shape({
|
|
20
|
-
AvatarTeamProps: PropTypes.object,
|
|
21
|
-
AvatarProps: PropTypes.object
|
|
22
|
-
})
|
|
23
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { dummyFunction } from '../../utils/dummyFunction';
|
|
2
|
-
export const defaultProps = {
|
|
3
|
-
children: null,
|
|
4
|
-
dataId: 'buttonComp',
|
|
5
|
-
disabled: false,
|
|
6
|
-
isBold: true,
|
|
7
|
-
needAppearance: true,
|
|
8
|
-
onClick: dummyFunction,
|
|
9
|
-
palette: 'primary',
|
|
10
|
-
rounded: false,
|
|
11
|
-
size: 'medium',
|
|
12
|
-
status: 'none',
|
|
13
|
-
text: 'Button',
|
|
14
|
-
customClass: {}
|
|
15
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
children: PropTypes.node,
|
|
4
|
-
className: PropTypes.string,
|
|
5
|
-
dataId: PropTypes.string,
|
|
6
|
-
disabled: PropTypes.bool,
|
|
7
|
-
getRef: PropTypes.func,
|
|
8
|
-
isBold: PropTypes.bool,
|
|
9
|
-
needAppearance: PropTypes.bool,
|
|
10
|
-
onClick: PropTypes.func,
|
|
11
|
-
palette: PropTypes.oneOf(['plainPrimary', 'plainSecondary', 'primary', 'primaryFilled', 'danger', 'dangerFilled', 'secondary', 'secondaryFilled', 'successFilled', 'info', 'tertiaryFilled']),
|
|
12
|
-
rounded: PropTypes.bool,
|
|
13
|
-
size: PropTypes.oneOf(['small', 'medium', 'large', 'xlarge']),
|
|
14
|
-
status: PropTypes.oneOf(['loading', 'success', 'none']),
|
|
15
|
-
text: PropTypes.string,
|
|
16
|
-
title: PropTypes.string,
|
|
17
|
-
customClass: PropTypes.shape({
|
|
18
|
-
customButton: PropTypes.string,
|
|
19
|
-
customStatus: PropTypes.string,
|
|
20
|
-
customStatusSize: PropTypes.string
|
|
21
|
-
})
|
|
22
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const Card_defaultProps = {
|
|
2
|
-
isScrollAttribute: false,
|
|
3
|
-
// isScrollShadow: true,
|
|
4
|
-
onClick: null,
|
|
5
|
-
scrollAt: '10',
|
|
6
|
-
a11y: {},
|
|
7
|
-
isPercentageScroll: false
|
|
8
|
-
};
|
|
9
|
-
export const CardContent_defaultProps = {
|
|
10
|
-
isScrollAttribute: false,
|
|
11
|
-
scroll: 'vertical',
|
|
12
|
-
preventParentScroll: 'vertical',
|
|
13
|
-
dataId: 'CardContent',
|
|
14
|
-
customClass: ''
|
|
15
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const CardHeader_propTypes = {
|
|
3
|
-
children: PropTypes.element,
|
|
4
|
-
dataId: PropTypes.string,
|
|
5
|
-
isScroll: PropTypes.bool,
|
|
6
|
-
customClass: PropTypes.string
|
|
7
|
-
};
|
|
8
|
-
export const CardContent_propTypes = {
|
|
9
|
-
children: PropTypes.node,
|
|
10
|
-
dataId: PropTypes.string,
|
|
11
|
-
eleRef: PropTypes.func,
|
|
12
|
-
isScrollAttribute: PropTypes.bool,
|
|
13
|
-
onScroll: PropTypes.func,
|
|
14
|
-
scroll: PropTypes.PropTypes.oneOf(['vertical', 'horizontal', 'both', 'none']),
|
|
15
|
-
shrink: PropTypes.bool,
|
|
16
|
-
customClass: PropTypes.string,
|
|
17
|
-
preventParentScroll: PropTypes.PropTypes.oneOf(['vertical', 'horizontal', 'both'])
|
|
18
|
-
};
|
|
19
|
-
export const Card_propTypes = {
|
|
20
|
-
childTypes: PropTypes.object,
|
|
21
|
-
children: PropTypes.node,
|
|
22
|
-
dataId: PropTypes.string,
|
|
23
|
-
fetchData: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
|
|
24
|
-
from: PropTypes.number,
|
|
25
|
-
isScrollAttribute: PropTypes.bool,
|
|
26
|
-
// isScrollShadow: PropTypes.bool,
|
|
27
|
-
limit: PropTypes.number,
|
|
28
|
-
noMoreData: PropTypes.bool,
|
|
29
|
-
noNeedUpScroll: PropTypes.bool,
|
|
30
|
-
onClick: PropTypes.func,
|
|
31
|
-
onScroll: PropTypes.func,
|
|
32
|
-
scrollAt: PropTypes.string,
|
|
33
|
-
customClass: PropTypes.string,
|
|
34
|
-
htmlId: PropTypes.string,
|
|
35
|
-
a11y: PropTypes.shape({
|
|
36
|
-
role: PropTypes.string
|
|
37
|
-
}),
|
|
38
|
-
isPercentageScroll: PropTypes.bool
|
|
39
|
-
};
|
|
40
|
-
export const CardFooter_propTypes = {
|
|
41
|
-
children: PropTypes.node,
|
|
42
|
-
customClass: PropTypes.string
|
|
43
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const defaultProps = {
|
|
2
|
-
checked: false,
|
|
3
|
-
disabled: false,
|
|
4
|
-
isReadOnly: false,
|
|
5
|
-
active: false,
|
|
6
|
-
labelPalette: 'default',
|
|
7
|
-
labelSize: 'medium',
|
|
8
|
-
palette: 'primary',
|
|
9
|
-
size: 'medium',
|
|
10
|
-
isFilled: true,
|
|
11
|
-
variant: 'default',
|
|
12
|
-
dataId: 'checkBox',
|
|
13
|
-
activeStyle: 'tick',
|
|
14
|
-
customClass: {},
|
|
15
|
-
a11y: {},
|
|
16
|
-
isClipped: true,
|
|
17
|
-
customProps: {}
|
|
18
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
export const propTypes = {
|
|
3
|
-
active: PropTypes.bool,
|
|
4
|
-
activeStyle: PropTypes.oneOf(['tick', 'minus']),
|
|
5
|
-
ariaLabel: PropTypes.string,
|
|
6
|
-
ariaLabelledby: PropTypes.string,
|
|
7
|
-
checked: PropTypes.bool,
|
|
8
|
-
dataId: PropTypes.string,
|
|
9
|
-
disabled: PropTypes.bool,
|
|
10
|
-
disabledTitle: PropTypes.string,
|
|
11
|
-
getRef: PropTypes.func,
|
|
12
|
-
id: PropTypes.string,
|
|
13
|
-
isFilled: PropTypes.bool,
|
|
14
|
-
isClipped: PropTypes.bool,
|
|
15
|
-
isReadOnly: PropTypes.bool,
|
|
16
|
-
labelPalette: PropTypes.oneOf(['default', 'primary', 'secondary', 'danger', 'mandatory']),
|
|
17
|
-
labelSize: PropTypes.oneOf(['small', 'medium', 'large']),
|
|
18
|
-
name: PropTypes.string,
|
|
19
|
-
onChange: PropTypes.func,
|
|
20
|
-
palette: PropTypes.oneOf(['primary', 'danger']),
|
|
21
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
22
|
-
text: PropTypes.string,
|
|
23
|
-
title: PropTypes.string,
|
|
24
|
-
variant: PropTypes.oneOf(['default', 'primary']),
|
|
25
|
-
customClass: PropTypes.shape({
|
|
26
|
-
customCheckBox: PropTypes.string,
|
|
27
|
-
customLabel: PropTypes.string,
|
|
28
|
-
customCBoxSize: PropTypes.string,
|
|
29
|
-
customTickSize: PropTypes.string
|
|
30
|
-
}),
|
|
31
|
-
a11y: PropTypes.shape({
|
|
32
|
-
ariaLabel: PropTypes.string,
|
|
33
|
-
ariaLabelledby: PropTypes.string,
|
|
34
|
-
ariaHidden: PropTypes.bool,
|
|
35
|
-
ariaChecked: PropTypes.bool
|
|
36
|
-
}),
|
|
37
|
-
customProps: PropTypes.shape({
|
|
38
|
-
CheckBoxProps: PropTypes.object,
|
|
39
|
-
LabelProps: PropTypes.object
|
|
40
|
-
})
|
|
41
|
-
};
|