@zohodesk/components 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/_react-cli.config.js +24 -0
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +330 -321
- package/assets/Appearance/dark/mode/Component_v1_DarkMode.module.css +15 -9
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkModifyCategory.module.css +466 -466
- package/assets/Appearance/dark/themes/blue/blue_CTA_DarkTheme.module.css +34 -34
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +33 -29
- package/assets/Appearance/dark/themes/green/green_CTA_DarkModifyCategory.module.css +466 -466
- package/assets/Appearance/dark/themes/green/green_CTA_DarkTheme.module.css +34 -34
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +33 -29
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkModifyCategory.module.css +466 -466
- package/assets/Appearance/dark/themes/orange/orange_CTA_DarkTheme.module.css +34 -34
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +33 -29
- package/assets/Appearance/dark/themes/red/red_CTA_DarkModifyCategory.module.css +466 -466
- package/assets/Appearance/dark/themes/red/red_CTA_DarkTheme.module.css +34 -34
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +33 -29
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkModifyCategory.module.css +466 -466
- package/assets/Appearance/dark/themes/yellow/yellow_CTA_DarkTheme.module.css +34 -34
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +33 -29
- package/assets/Appearance/light/mode/Component_LightMode.module.css +330 -321
- package/assets/Appearance/light/mode/Component_v1_LightMode.module.css +15 -9
- package/assets/Appearance/light/themes/blue/blue_CTA_LightModifyCategory.module.css +466 -466
- package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +34 -34
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +33 -29
- package/assets/Appearance/light/themes/green/green_CTA_LightModifyCategory.module.css +466 -466
- package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +34 -34
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +33 -29
- package/assets/Appearance/light/themes/orange/orange_CTA_LightModifyCategory.module.css +466 -466
- package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +34 -34
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +33 -29
- package/assets/Appearance/light/themes/red/red_CTA_LightModifyCategory.module.css +466 -466
- package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +34 -34
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +33 -29
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightModifyCategory.module.css +466 -466
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +34 -34
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +33 -29
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +330 -321
- package/assets/Appearance/pureDark/mode/Component_v1_PureDarkMode.module.css +15 -9
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkModifyCategory.module.css +466 -466
- package/assets/Appearance/pureDark/themes/blue/blue_CTA_PureDarkTheme.module.css +34 -34
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +33 -29
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkModifyCategory.module.css +466 -466
- package/assets/Appearance/pureDark/themes/green/green_CTA_PureDarkTheme.module.css +34 -34
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +33 -29
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkModifyCategory.module.css +466 -466
- package/assets/Appearance/pureDark/themes/orange/orange_CTA_PureDarkTheme.module.css +34 -34
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +33 -29
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkModifyCategory.module.css +466 -466
- package/assets/Appearance/pureDark/themes/red/red_CTA_PureDarkTheme.module.css +34 -34
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +33 -29
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkModifyCategory.module.css +466 -466
- package/assets/Appearance/pureDark/themes/yellow/yellow_CTA_PureDarkTheme.module.css +34 -34
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +33 -29
- package/assets/Contrast/darkContrastLightness.module.css +36 -36
- package/assets/Contrast/lightContrastLightness.module.css +36 -36
- package/assets/Contrast/pureDarkContrastLightness.module.css +36 -36
- package/cbt.config.js +41 -0
- package/es/AppContainer/AppContainer.js +9 -10
- package/es/Avatar/Avatar.js +5 -4
- package/es/Avatar/Avatar.module.css +8 -8
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +30 -30
- package/es/Button/Button.js +6 -5
- package/es/Button/css/Button.module.css +19 -19
- package/es/Buttongroup/Buttongroup.js +0 -0
- package/es/Buttongroup/Buttongroup.module.css +5 -3
- package/es/Card/Card.js +0 -0
- package/es/CheckBox/CheckBox.js +11 -11
- package/es/ColorSelect/ColorMultiSelect.js +4 -2
- package/es/ColorSelect/ColorSingleSelect.js +4 -2
- package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.js +4 -3
- package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +2 -2
- package/es/ColorSelect/_shared/ColoredTag/ColoredTag.js +4 -2
- package/es/ColorSelect/_shared/helpers/renderHelpers.js +6 -4
- package/es/DateTime/CalendarView.js +0 -0
- package/es/DateTime/DateTime.js +5 -4
- package/es/DateTime/DateWidget.js +5 -4
- package/es/DateTime/Time.js +11 -12
- package/es/DateTime/YearView.js +0 -0
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +11 -10
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +6 -3
- package/es/DropDown/DropDown.js +1 -2
- package/es/DropDown/DropDownHeading.js +0 -0
- package/es/DropDown/DropDownHeading.module.css +4 -4
- package/es/DropDown/DropDownItem.js +0 -0
- package/es/DropDown/DropDownItem.module.css +4 -4
- package/es/DropDown/DropDownSearch.js +0 -0
- package/es/DropDown/DropDownSearch.module.css +3 -3
- package/es/DropDown/DropDownSeparator.js +0 -0
- package/es/Label/Label.js +7 -7
- package/es/Label/Label.module.css +5 -5
- package/es/Layout/Box.js +0 -0
- package/es/Layout/Container.js +0 -0
- package/es/Layout/utils.js +0 -0
- package/es/ListItem/ListContainer.js +5 -6
- package/es/ListItem/ListItem.js +5 -4
- package/es/ListItem/ListItem.module.css +30 -19
- package/es/ListItem/ListItemWithAvatar.js +10 -11
- package/es/ListItem/ListItemWithCheckBox.js +5 -4
- package/es/ListItem/ListItemWithIcon.js +5 -4
- package/es/ListItem/ListItemWithRadio.js +5 -4
- package/es/Modal/Modal.js +5 -4
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +2 -0
- package/es/MultiSelect/AdvancedMultiSelect.js +11 -8
- package/es/MultiSelect/EmptyState.js +16 -2
- package/es/MultiSelect/MultiSelect.js +10 -8
- package/es/MultiSelect/MultiSelectWithAvatar.js +7 -4
- package/es/MultiSelect/SelectedOptions.js +8 -6
- package/es/MultiSelect/Suggestions.js +8 -6
- package/es/MultiSelect/props/propTypes.js +3 -0
- package/es/Popup/Popup.js +0 -0
- package/es/Provider/LibraryContext.js +11 -3
- package/es/Radio/Radio.js +11 -11
- package/es/Radio/Radio.module.css +9 -8
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +4 -2
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +25 -20
- package/es/Select/GroupSelect.js +13 -12
- package/es/Select/Select.js +14 -12
- package/es/Select/SelectWithAvatar.js +13 -12
- package/es/Select/SelectWithIcon.js +10 -8
- package/es/Select/props/propTypes.js +3 -0
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +11 -11
- package/es/Switch/Switch.js +8 -8
- package/es/Tab/Tab.js +5 -4
- package/es/Tab/TabContentWrapper.js +5 -4
- package/es/Tab/TabWrapper.js +4 -2
- package/es/Tab/Tabs.js +19 -20
- package/es/Tag/Tag.js +11 -12
- package/es/Tag/Tag.module.css +18 -17
- package/es/TextBox/TextBox.js +5 -5
- package/es/TextBox/TextBox.module.css +9 -9
- package/es/TextBoxIcon/TextBoxIcon.js +4 -2
- package/es/TextBoxIcon/TextBoxIcon.module.css +1 -1
- package/es/Textarea/Textarea.js +7 -6
- package/es/Textarea/Textarea.module.css +18 -18
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +5 -4
- package/es/common/avatarsizes.module.css +16 -16
- package/es/common/common.module.css +2 -2
- package/es/deprecated/PortalLayer/PortalLayer.js +6 -8
- package/es/deprecated/Switch/Switch.js +8 -8
- package/es/shared/ArrowIcon/ArrowIcon.js +6 -6
- package/es/shared/InputFieldLine/InputFieldLine.js +6 -6
- package/es/shared/InputFieldLine/InputFieldLine.module.css +2 -2
- package/es/utils/Common.js +0 -0
- package/es/utils/dropDownUtils.js +0 -0
- package/es/v1/Label/Label.js +98 -33
- package/es/v1/Label/__tests__/Label.spec.js +214 -0
- package/es/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +457 -0
- package/es/v1/Label/constants/index.js +8 -0
- package/es/v1/Label/css/Label_v1.module.css +42 -0
- package/es/v1/Label/css/cssJSLogic.js +44 -0
- package/es/v1/Label/props/defaultProps.js +14 -9
- package/es/v1/Label/props/propTypes.js +34 -14
- package/es/v1/Switch/Switch.js +7 -6
- package/es/v1/Switch/css/Switch_v1.module.css +28 -28
- package/lib/Avatar/Avatar.module.css +8 -8
- package/lib/AvatarTeam/AvatarTeam.js +0 -0
- package/lib/AvatarTeam/AvatarTeam.module.css +30 -30
- package/lib/Button/Button.js +0 -0
- package/lib/Button/css/Button.module.css +19 -19
- package/lib/Buttongroup/Buttongroup.js +0 -0
- package/lib/Buttongroup/Buttongroup.module.css +5 -3
- package/lib/Card/Card.js +0 -0
- package/lib/CheckBox/CheckBox.js +0 -0
- package/lib/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +2 -2
- package/lib/DateTime/CalendarView.js +0 -0
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateWidget.js +0 -0
- package/lib/DateTime/YearView.js +0 -0
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +0 -0
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +6 -3
- package/lib/DropDown/DropDown.js +0 -0
- package/lib/DropDown/DropDownHeading.js +0 -0
- package/lib/DropDown/DropDownHeading.module.css +4 -4
- package/lib/DropDown/DropDownItem.js +0 -0
- package/lib/DropDown/DropDownItem.module.css +4 -4
- package/lib/DropDown/DropDownSearch.js +0 -0
- package/lib/DropDown/DropDownSearch.module.css +3 -3
- package/lib/DropDown/DropDownSeparator.js +0 -0
- package/lib/Label/Label.js +0 -0
- package/lib/Label/Label.module.css +5 -5
- package/lib/Layout/Box.js +0 -0
- package/lib/Layout/Container.js +0 -0
- package/lib/Layout/utils.js +0 -0
- package/lib/ListItem/ListItem.js +0 -0
- package/lib/ListItem/ListItem.module.css +30 -19
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +2 -0
- package/lib/MultiSelect/AdvancedMultiSelect.js +2 -0
- package/lib/MultiSelect/EmptyState.js +17 -2
- package/lib/MultiSelect/MultiSelect.js +2 -0
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -0
- package/lib/MultiSelect/props/propTypes.js +3 -0
- package/lib/Popup/Popup.js +0 -0
- package/lib/Provider/LibraryContext.js +11 -3
- package/lib/Radio/Radio.js +0 -0
- package/lib/Radio/Radio.module.css +9 -8
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/Ribbon/Ribbon.js +0 -0
- package/lib/Ribbon/Ribbon.module.css +25 -20
- package/lib/Select/GroupSelect.js +2 -0
- package/lib/Select/Select.js +2 -0
- package/lib/Select/SelectWithAvatar.js +2 -0
- package/lib/Select/SelectWithIcon.js +2 -0
- package/lib/Select/props/propTypes.js +3 -0
- package/lib/Stencils/Stencils.js +0 -0
- package/lib/Stencils/Stencils.module.css +11 -11
- package/lib/Switch/Switch.js +0 -0
- package/lib/Tag/Tag.js +0 -0
- package/lib/Tag/Tag.module.css +18 -17
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +9 -9
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +1 -1
- package/lib/Textarea/Textarea.js +0 -0
- package/lib/Textarea/Textarea.module.css +18 -18
- package/lib/common/avatarsizes.module.css +16 -16
- package/lib/common/common.module.css +2 -2
- package/lib/deprecated/Switch/Switch.js +0 -0
- package/lib/shared/InputFieldLine/InputFieldLine.module.css +2 -2
- package/lib/utils/Common.js +0 -0
- package/lib/utils/dropDownUtils.js +0 -0
- package/lib/v1/Label/Label.js +104 -36
- package/lib/v1/Label/__tests__/Label.spec.js +221 -0
- package/lib/v1/Label/__tests__/__snapshots__/Label.spec.js.snap +457 -0
- package/lib/v1/Label/constants/index.js +16 -0
- package/lib/v1/Label/css/Label_v1.module.css +42 -0
- package/lib/v1/Label/css/cssJSLogic.js +38 -0
- package/lib/v1/Label/props/defaultProps.js +16 -11
- package/lib/v1/Label/props/propTypes.js +36 -16
- package/lib/v1/Switch/css/Switch_v1.module.css +28 -28
- package/package.json +15 -20
- package/es/v1/Accordion/Accordion.js +0 -66
- package/es/v1/Accordion/AccordionItem.js +0 -57
- package/es/v1/Accordion/index.js +0 -2
- package/es/v1/Accordion/props/defaultProps.js +0 -12
- package/es/v1/Accordion/props/propTypes.js +0 -33
- package/es/v1/Animation/Animation.js +0 -45
- package/es/v1/Animation/props/defaultProps.js +0 -7
- package/es/v1/Animation/props/propTypes.js +0 -12
- package/es/v1/Animation/utils.js +0 -83
- package/es/v1/AppContainer/AppContainer.js +0 -115
- package/es/v1/AppContainer/props/defaultProps.js +0 -10
- package/es/v1/AppContainer/props/propTypes.js +0 -17
- package/es/v1/Avatar/Avatar.js +0 -139
- package/es/v1/Avatar/props/defaultProps.js +0 -17
- package/es/v1/Avatar/props/propTypes.js +0 -26
- package/es/v1/AvatarTeam/AvatarTeam.js +0 -70
- package/es/v1/AvatarTeam/props/defaultProps.js +0 -17
- package/es/v1/AvatarTeam/props/propTypes.js +0 -27
- package/es/v1/Button/Button.js +0 -67
- package/es/v1/Button/props/defaultProps.js +0 -18
- package/es/v1/Button/props/propTypes.js +0 -28
- package/es/v1/Buttongroup/Buttongroup.js +0 -31
- package/es/v1/Buttongroup/props/defaultProps.js +0 -6
- package/es/v1/Buttongroup/props/propTypes.js +0 -9
- package/es/v1/Card/Card.js +0 -237
- package/es/v1/Card/index.js +0 -4
- package/es/v1/Card/props/defaultProps.js +0 -25
- package/es/v1/Card/props/propTypes.js +0 -48
- package/es/v1/CheckBox/CheckBox.js +0 -161
- package/es/v1/CheckBox/props/defaultProps.js +0 -18
- package/es/v1/CheckBox/props/propTypes.js +0 -41
- package/es/v1/DateTime/CalendarView.js +0 -254
- package/es/v1/DateTime/DateTime.js +0 -779
- package/es/v1/DateTime/DateTimePopupFooter.js +0 -47
- package/es/v1/DateTime/DateTimePopupHeader.js +0 -105
- package/es/v1/DateTime/DateWidget.js +0 -1134
- package/es/v1/DateTime/DaysRow.js +0 -32
- package/es/v1/DateTime/Time.js +0 -181
- package/es/v1/DateTime/YearView.js +0 -264
- package/es/v1/DateTime/index.js +0 -1
- package/es/v1/DateTime/props/defaultProps.js +0 -63
- package/es/v1/DateTime/props/propTypes.js +0 -206
- package/es/v1/DropBox/DropBox.js +0 -79
- package/es/v1/DropBox/DropBoxElement/DropBoxElement.js +0 -133
- package/es/v1/DropBox/DropBoxElement/props/defaultProps.js +0 -18
- package/es/v1/DropBox/DropBoxElement/props/propTypes.js +0 -51
- package/es/v1/DropBox/props/defaultProps.js +0 -14
- package/es/v1/DropBox/props/propTypes.js +0 -16
- package/es/v1/DropBox/utils/isMobilePopover.js +0 -17
- package/es/v1/DropDown/DropDown.js +0 -53
- package/es/v1/DropDown/DropDownHeading.js +0 -36
- package/es/v1/DropDown/DropDownItem.js +0 -56
- package/es/v1/DropDown/DropDownSearch.js +0 -58
- package/es/v1/DropDown/DropDownSeparator.js +0 -12
- package/es/v1/DropDown/props/defaultProps.js +0 -21
- package/es/v1/DropDown/props/propTypes.js +0 -66
- package/es/v1/Heading/Heading.js +0 -35
- package/es/v1/Heading/props/defaultProps.js +0 -5
- package/es/v1/Heading/props/propTypes.js +0 -12
- package/es/v1/Layout/Box.js +0 -115
- package/es/v1/Layout/Container.js +0 -132
- package/es/v1/Layout/index.js +0 -2
- package/es/v1/Layout/props/defaultProps.js +0 -16
- package/es/v1/Layout/props/propTypes.js +0 -46
- package/es/v1/ListItem/ListContainer.js +0 -104
- package/es/v1/ListItem/ListItem.js +0 -123
- package/es/v1/ListItem/ListItemWithAvatar.js +0 -143
- package/es/v1/ListItem/ListItemWithCheckBox.js +0 -104
- package/es/v1/ListItem/ListItemWithIcon.js +0 -126
- package/es/v1/ListItem/ListItemWithRadio.js +0 -105
- package/es/v1/ListItem/index.js +0 -6
- package/es/v1/ListItem/props/defaultProps.js +0 -97
- package/es/v1/ListItem/props/propTypes.js +0 -202
- package/es/v1/Modal/Modal.js +0 -125
- package/es/v1/Modal/props/defaultProps.js +0 -3
- package/es/v1/Modal/props/propTypes.js +0 -7
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +0 -1092
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +0 -583
- package/es/v1/MultiSelect/EmptyState.js +0 -64
- package/es/v1/MultiSelect/MobileHeader/MobileHeader.js +0 -50
- package/es/v1/MultiSelect/MobileHeader/props/defaultProps.js +0 -7
- package/es/v1/MultiSelect/MobileHeader/props/propTypes.js +0 -7
- package/es/v1/MultiSelect/MultiSelect.js +0 -1119
- package/es/v1/MultiSelect/MultiSelectHeader.js +0 -32
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +0 -208
- package/es/v1/MultiSelect/SelectedOptions.js +0 -84
- package/es/v1/MultiSelect/Suggestions.js +0 -141
- package/es/v1/MultiSelect/index.js +0 -4
- package/es/v1/MultiSelect/props/defaultProps.js +0 -165
- package/es/v1/MultiSelect/props/propTypes.js +0 -322
- package/es/v1/PopOver/PopOver.js +0 -176
- package/es/v1/PopOver/props/defaultProps.js +0 -7
- package/es/v1/PopOver/props/propTypes.js +0 -53
- package/es/v1/Popup/Popup.js +0 -644
- package/es/v1/Radio/Radio.js +0 -130
- package/es/v1/Radio/props/defaultProps.js +0 -15
- package/es/v1/Radio/props/propTypes.js +0 -40
- package/es/v1/ResponsiveDropBox/ResponsiveDropBox.js +0 -56
- package/es/v1/ResponsiveDropBox/props/defaultProps.js +0 -4
- package/es/v1/ResponsiveDropBox/props/propTypes.js +0 -8
- package/es/v1/Ribbon/Ribbon.js +0 -33
- package/es/v1/Ribbon/props/defaultProps.js +0 -9
- package/es/v1/Ribbon/props/propTypes.js +0 -11
- package/es/v1/RippleEffect/RippleEffect.js +0 -25
- package/es/v1/RippleEffect/props/defaultProps.js +0 -10
- package/es/v1/RippleEffect/props/propTypes.js +0 -12
- package/es/v1/Select/GroupSelect.js +0 -818
- package/es/v1/Select/Select.js +0 -975
- package/es/v1/Select/SelectWithAvatar.js +0 -356
- package/es/v1/Select/SelectWithIcon.js +0 -545
- package/es/v1/Select/index.js +0 -4
- package/es/v1/Select/props/defaultProps.js +0 -126
- package/es/v1/Select/props/propTypes.js +0 -297
- package/es/v1/Stencils/Stencils.js +0 -26
- package/es/v1/Stencils/props/defaultProps.js +0 -6
- package/es/v1/Stencils/props/propTypes.js +0 -7
- package/es/v1/Tab/Tab.js +0 -106
- package/es/v1/Tab/TabContent.js +0 -30
- package/es/v1/Tab/TabContentWrapper.js +0 -33
- package/es/v1/Tab/TabWrapper.js +0 -55
- package/es/v1/Tab/Tabs.js +0 -619
- package/es/v1/Tab/index.js +0 -5
- package/es/v1/Tab/props/defaultProps.js +0 -51
- package/es/v1/Tab/props/propTypes.js +0 -117
- package/es/v1/Tab/v1Tab.module.css +0 -100
- package/es/v1/Tab/v1TabContent.module.css +0 -4
- package/es/v1/Tab/v1Tabs.module.css +0 -167
- package/es/v1/Tag/Tag.js +0 -140
- package/es/v1/Tag/props/defaultProps.js +0 -15
- package/es/v1/Tag/props/propTypes.js +0 -36
- package/es/v1/TextBox/TextBox.js +0 -160
- package/es/v1/TextBox/props/defaultProps.js +0 -20
- package/es/v1/TextBox/props/propTypes.js +0 -56
- package/es/v1/TextBoxIcon/TextBoxIcon.js +0 -166
- package/es/v1/TextBoxIcon/props/defaultProps.js +0 -24
- package/es/v1/TextBoxIcon/props/propTypes.js +0 -53
- package/es/v1/Textarea/Textarea.js +0 -100
- package/es/v1/Textarea/props/defaultProps.js +0 -17
- package/es/v1/Textarea/props/propTypes.js +0 -31
- package/es/v1/Tooltip/Tooltip.js +0 -530
- package/es/v1/Tooltip/props/defaultProps.js +0 -4
- package/es/v1/Tooltip/props/propTypes.js +0 -5
- package/es/v1/Typography/Typography.js +0 -38
- package/es/v1/Typography/css/cssJSLogic.js +0 -56
- package/es/v1/Typography/css/v1_Typography.module.css +0 -380
- package/es/v1/Typography/props/defaultProps.js +0 -8
- package/es/v1/Typography/props/propTypes.js +0 -27
- package/es/v1/Typography/utils/index.js +0 -50
- package/es/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -69
- package/es/v1/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -7
- package/es/v1/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -12
- package/es/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -99
- package/es/v1/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -15
- package/es/v1/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -19
- package/es/v1/semantic/Button/Button.js +0 -53
- package/es/v1/semantic/Button/props/defaultProps.js +0 -12
- package/es/v1/semantic/Button/props/propTypes.js +0 -22
- package/es/v1/semantic/index.js +0 -1
- package/lib/v1/Accordion/Accordion.js +0 -98
- package/lib/v1/Accordion/AccordionItem.js +0 -68
- package/lib/v1/Accordion/index.js +0 -23
- package/lib/v1/Accordion/props/defaultProps.js +0 -20
- package/lib/v1/Accordion/props/propTypes.js +0 -45
- package/lib/v1/Animation/Animation.js +0 -61
- package/lib/v1/Animation/props/defaultProps.js +0 -14
- package/lib/v1/Animation/props/propTypes.js +0 -23
- package/lib/v1/Animation/utils.js +0 -94
- package/lib/v1/AppContainer/AppContainer.js +0 -146
- package/lib/v1/AppContainer/props/defaultProps.js +0 -17
- package/lib/v1/AppContainer/props/propTypes.js +0 -28
- package/lib/v1/Avatar/Avatar.js +0 -191
- package/lib/v1/Avatar/props/defaultProps.js +0 -24
- package/lib/v1/Avatar/props/propTypes.js +0 -37
- package/lib/v1/AvatarTeam/AvatarTeam.js +0 -81
- package/lib/v1/AvatarTeam/props/defaultProps.js +0 -24
- package/lib/v1/AvatarTeam/props/propTypes.js +0 -38
- package/lib/v1/Button/Button.js +0 -82
- package/lib/v1/Button/props/defaultProps.js +0 -27
- package/lib/v1/Button/props/propTypes.js +0 -40
- package/lib/v1/Buttongroup/Buttongroup.js +0 -44
- package/lib/v1/Buttongroup/props/defaultProps.js +0 -13
- package/lib/v1/Buttongroup/props/propTypes.js +0 -20
- package/lib/v1/Card/Card.js +0 -269
- package/lib/v1/Card/index.js +0 -37
- package/lib/v1/Card/props/defaultProps.js +0 -35
- package/lib/v1/Card/props/propTypes.js +0 -62
- package/lib/v1/CheckBox/CheckBox.js +0 -172
- package/lib/v1/CheckBox/props/defaultProps.js +0 -25
- package/lib/v1/CheckBox/props/propTypes.js +0 -52
- package/lib/v1/DateTime/CalendarView.js +0 -322
- package/lib/v1/DateTime/DateTime.js +0 -877
- package/lib/v1/DateTime/DateTimePopupFooter.js +0 -96
- package/lib/v1/DateTime/DateTimePopupHeader.js +0 -166
- package/lib/v1/DateTime/DateWidget.js +0 -1163
- package/lib/v1/DateTime/DaysRow.js +0 -81
- package/lib/v1/DateTime/Time.js +0 -270
- package/lib/v1/DateTime/YearView.js +0 -325
- package/lib/v1/DateTime/index.js +0 -15
- package/lib/v1/DateTime/props/defaultProps.js +0 -76
- package/lib/v1/DateTime/props/propTypes.js +0 -238
- package/lib/v1/DropBox/DropBox.js +0 -109
- package/lib/v1/DropBox/DropBoxElement/DropBoxElement.js +0 -146
- package/lib/v1/DropBox/DropBoxElement/props/defaultProps.js +0 -25
- package/lib/v1/DropBox/DropBoxElement/props/propTypes.js +0 -62
- package/lib/v1/DropBox/props/defaultProps.js +0 -30
- package/lib/v1/DropBox/props/propTypes.js +0 -35
- package/lib/v1/DropBox/utils/isMobilePopover.js +0 -25
- package/lib/v1/DropDown/DropDown.js +0 -74
- package/lib/v1/DropDown/DropDownHeading.js +0 -47
- package/lib/v1/DropDown/DropDownItem.js +0 -75
- package/lib/v1/DropDown/DropDownSearch.js +0 -77
- package/lib/v1/DropDown/DropDownSeparator.js +0 -24
- package/lib/v1/DropDown/props/defaultProps.js +0 -31
- package/lib/v1/DropDown/props/propTypes.js +0 -87
- package/lib/v1/Heading/Heading.js +0 -53
- package/lib/v1/Heading/props/defaultProps.js +0 -12
- package/lib/v1/Heading/props/propTypes.js +0 -23
- package/lib/v1/Layout/Box.js +0 -128
- package/lib/v1/Layout/Container.js +0 -145
- package/lib/v1/Layout/index.js +0 -23
- package/lib/v1/Layout/props/defaultProps.js +0 -24
- package/lib/v1/Layout/props/propTypes.js +0 -58
- package/lib/v1/ListItem/ListContainer.js +0 -128
- package/lib/v1/ListItem/ListItem.js +0 -138
- package/lib/v1/ListItem/ListItemWithAvatar.js +0 -167
- package/lib/v1/ListItem/ListItemWithCheckBox.js +0 -126
- package/lib/v1/ListItem/ListItemWithIcon.js +0 -143
- package/lib/v1/ListItem/ListItemWithRadio.js +0 -127
- package/lib/v1/ListItem/index.js +0 -55
- package/lib/v1/ListItem/props/defaultProps.js +0 -109
- package/lib/v1/ListItem/props/propTypes.js +0 -196
- package/lib/v1/Modal/Modal.js +0 -166
- package/lib/v1/Modal/props/defaultProps.js +0 -10
- package/lib/v1/Modal/props/propTypes.js +0 -18
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +0 -1180
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +0 -649
- package/lib/v1/MultiSelect/EmptyState.js +0 -112
- package/lib/v1/MultiSelect/MobileHeader/MobileHeader.js +0 -62
- package/lib/v1/MultiSelect/MobileHeader/props/defaultProps.js +0 -14
- package/lib/v1/MultiSelect/MobileHeader/props/propTypes.js +0 -18
- package/lib/v1/MultiSelect/MultiSelect.js +0 -1202
- package/lib/v1/MultiSelect/MultiSelectHeader.js +0 -78
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +0 -262
- package/lib/v1/MultiSelect/SelectedOptions.js +0 -130
- package/lib/v1/MultiSelect/Suggestions.js +0 -196
- package/lib/v1/MultiSelect/index.js +0 -39
- package/lib/v1/MultiSelect/props/defaultProps.js +0 -181
- package/lib/v1/MultiSelect/props/propTypes.js +0 -350
- package/lib/v1/PopOver/PopOver.js +0 -197
- package/lib/v1/PopOver/props/defaultProps.js +0 -15
- package/lib/v1/PopOver/props/propTypes.js +0 -66
- package/lib/v1/Popup/Popup.js +0 -715
- package/lib/v1/Radio/Radio.js +0 -141
- package/lib/v1/Radio/props/defaultProps.js +0 -22
- package/lib/v1/Radio/props/propTypes.js +0 -51
- package/lib/v1/ResponsiveDropBox/ResponsiveDropBox.js +0 -79
- package/lib/v1/ResponsiveDropBox/props/defaultProps.js +0 -11
- package/lib/v1/ResponsiveDropBox/props/propTypes.js +0 -27
- package/lib/v1/Ribbon/Ribbon.js +0 -44
- package/lib/v1/Ribbon/props/defaultProps.js +0 -16
- package/lib/v1/Ribbon/props/propTypes.js +0 -22
- package/lib/v1/RippleEffect/RippleEffect.js +0 -40
- package/lib/v1/RippleEffect/props/defaultProps.js +0 -17
- package/lib/v1/RippleEffect/props/propTypes.js +0 -23
- package/lib/v1/Select/GroupSelect.js +0 -894
- package/lib/v1/Select/Select.js +0 -1025
- package/lib/v1/Select/SelectWithAvatar.js +0 -406
- package/lib/v1/Select/SelectWithIcon.js +0 -607
- package/lib/v1/Select/index.js +0 -39
- package/lib/v1/Select/props/defaultProps.js +0 -125
- package/lib/v1/Select/props/propTypes.js +0 -319
- package/lib/v1/Stencils/Stencils.js +0 -43
- package/lib/v1/Stencils/props/defaultProps.js +0 -13
- package/lib/v1/Stencils/props/propTypes.js +0 -18
- package/lib/v1/Tab/Tab.js +0 -132
- package/lib/v1/Tab/TabContent.js +0 -42
- package/lib/v1/Tab/TabContentWrapper.js +0 -47
- package/lib/v1/Tab/TabWrapper.js +0 -89
- package/lib/v1/Tab/Tabs.js +0 -688
- package/lib/v1/Tab/index.js +0 -47
- package/lib/v1/Tab/props/defaultProps.js +0 -62
- package/lib/v1/Tab/props/propTypes.js +0 -132
- package/lib/v1/Tab/v1Tab.module.css +0 -100
- package/lib/v1/Tab/v1TabContent.module.css +0 -4
- package/lib/v1/Tab/v1Tabs.module.css +0 -167
- package/lib/v1/Tag/Tag.js +0 -160
- package/lib/v1/Tag/props/defaultProps.js +0 -22
- package/lib/v1/Tag/props/propTypes.js +0 -47
- package/lib/v1/TextBox/TextBox.js +0 -175
- package/lib/v1/TextBox/props/defaultProps.js +0 -27
- package/lib/v1/TextBox/props/propTypes.js +0 -62
- package/lib/v1/TextBoxIcon/TextBoxIcon.js +0 -206
- package/lib/v1/TextBoxIcon/props/defaultProps.js +0 -31
- package/lib/v1/TextBoxIcon/props/propTypes.js +0 -72
- package/lib/v1/Textarea/Textarea.js +0 -118
- package/lib/v1/Textarea/props/defaultProps.js +0 -24
- package/lib/v1/Textarea/props/propTypes.js +0 -42
- package/lib/v1/Tooltip/Tooltip.js +0 -599
- package/lib/v1/Tooltip/props/defaultProps.js +0 -11
- package/lib/v1/Tooltip/props/propTypes.js +0 -16
- package/lib/v1/Typography/Typography.js +0 -56
- package/lib/v1/Typography/css/cssJSLogic.js +0 -48
- package/lib/v1/Typography/css/v1_Typography.module.css +0 -380
- package/lib/v1/Typography/props/defaultProps.js +0 -15
- package/lib/v1/Typography/props/propTypes.js +0 -38
- package/lib/v1/Typography/utils/index.js +0 -59
- package/lib/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +0 -90
- package/lib/v1/VelocityAnimation/VelocityAnimation/props/defaultProps.js +0 -14
- package/lib/v1/VelocityAnimation/VelocityAnimation/props/propTypes.js +0 -23
- package/lib/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +0 -126
- package/lib/v1/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +0 -22
- package/lib/v1/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +0 -30
- package/lib/v1/semantic/Button/Button.js +0 -63
- package/lib/v1/semantic/Button/props/defaultProps.js +0 -19
- package/lib/v1/semantic/Button/props/propTypes.js +0 -33
- package/lib/v1/semantic/index.js +0 -15
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* dropdownitem default variables */
|
|
3
|
-
--dropdownitem-padding:
|
|
3
|
+
--dropdownitem-padding: 9px 19px;
|
|
4
4
|
--dropdownitem-border-color: var(--zdt_dropdown_default_border);
|
|
5
5
|
--dropdownitem-bg-color: var(--zdt_dropdown_mirror_bg);
|
|
6
6
|
|
|
7
7
|
/* dropdownitem user default variables */
|
|
8
|
-
--dropdownitem-user-width:
|
|
8
|
+
--dropdownitem-user-width: 42px;
|
|
9
9
|
--dropdownitem-user-border-style: solid;
|
|
10
10
|
--dropdownitem-user-border-color: var(--zdt_dropdown_user_default_border);
|
|
11
11
|
--dropdownitem-user-cursor: pointer;
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[dir=ltr] .padding {
|
|
45
|
-
--dropdownitem-padding: 0
|
|
45
|
+
--dropdownitem-padding: 0 50px 0 0/*rtl: 0 0 0 50px*/;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[dir=rtl] .padding {
|
|
49
|
-
--dropdownitem-padding: 0 0 0
|
|
49
|
+
--dropdownitem-padding: 0 0 0 50px;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.children {
|
|
File without changes
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* dropdownsearch default variables */
|
|
3
|
-
--dropdownsearch-padding: 0
|
|
3
|
+
--dropdownsearch-padding: 0 15px 0;
|
|
4
4
|
}
|
|
5
5
|
.search {
|
|
6
6
|
composes: varClass;
|
|
7
7
|
padding: var(--dropdownsearch-padding);
|
|
8
8
|
}
|
|
9
9
|
.smallSearch {
|
|
10
|
-
--dropdownsearch-padding: 0
|
|
10
|
+
--dropdownsearch-padding: 0 5px 0;
|
|
11
11
|
}
|
|
12
12
|
.mediumSearch {
|
|
13
|
-
--dropdownsearch-padding: 0
|
|
13
|
+
--dropdownsearch-padding: 0 15px 0;
|
|
14
14
|
}
|
|
File without changes
|
package/lib/Label/Label.js
CHANGED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* label default variables */
|
|
3
|
-
--label_font_size:
|
|
3
|
+
--label_font_size: 14px;
|
|
4
4
|
--label_text_color: var(--zdt_label_default_text);
|
|
5
5
|
--label_font_weight: var(--zd-fw-normal);
|
|
6
6
|
--label_cursor: default;
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
cursor: var(--label_cursor);
|
|
18
18
|
}
|
|
19
19
|
.xsmall {
|
|
20
|
-
--label_font_size:
|
|
20
|
+
--label_font_size: 12px;
|
|
21
21
|
--label_line_height: 1.5;
|
|
22
22
|
}
|
|
23
23
|
.small {
|
|
24
|
-
--label_font_size:
|
|
24
|
+
--label_font_size: 13px;
|
|
25
25
|
--label_line_height: 1.385;
|
|
26
26
|
}
|
|
27
27
|
.medium {
|
|
28
|
-
--label_font_size:
|
|
28
|
+
--label_font_size: 14px;
|
|
29
29
|
--label_line_height: 1.286;
|
|
30
30
|
}
|
|
31
31
|
.large {
|
|
32
|
-
--label_font_size:
|
|
32
|
+
--label_font_size: 26px;
|
|
33
33
|
--label_line_height: 0.6923;
|
|
34
34
|
composes: semibold from '../common/common.module.css';
|
|
35
35
|
}
|
package/lib/Layout/Box.js
CHANGED
|
File without changes
|
package/lib/Layout/Container.js
CHANGED
|
File without changes
|
package/lib/Layout/utils.js
CHANGED
|
File without changes
|
package/lib/ListItem/ListItem.js
CHANGED
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* listitem default variables */
|
|
3
|
-
--listitem_font_size:
|
|
3
|
+
--listitem_font_size: 13px;
|
|
4
4
|
--listitem_text_color: var(--zdt_listitem_default_text);
|
|
5
|
-
--listitem_padding:
|
|
5
|
+
--listitem_padding: 9px 20px;
|
|
6
6
|
--listitem_border_width: 0;
|
|
7
7
|
--listitem_border_color: var(--zdt_listitem_default_border);
|
|
8
8
|
--listitem_bg_color: var(--zdt_listitem_default_bg);
|
|
@@ -16,9 +16,10 @@
|
|
|
16
16
|
/* listitem tick icon default variables */
|
|
17
17
|
--listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
|
|
18
18
|
}[dir=ltr] .varClass {
|
|
19
|
-
--listitem_avatar_margin: 0
|
|
19
|
+
--listitem_avatar_margin: 0 15px 0 0
|
|
20
|
+
/*rtl: 0 0 0 15px*/;
|
|
20
21
|
}[dir=rtl] .varClass {
|
|
21
|
-
--listitem_avatar_margin: 0 0 0
|
|
22
|
+
--listitem_avatar_margin: 0 0 0 15px;
|
|
22
23
|
}
|
|
23
24
|
.list {
|
|
24
25
|
composes: varClass;
|
|
@@ -48,23 +49,27 @@
|
|
|
48
49
|
--listitem_border_color: var(--zdt_listitem_active_border);
|
|
49
50
|
}
|
|
50
51
|
[dir=ltr] .small {
|
|
51
|
-
--listitem_padding:
|
|
52
|
+
--listitem_padding: 7px 3px 7px
|
|
53
|
+
5px
|
|
54
|
+
/*rtl: 7px 5px 7px 3px*/;
|
|
52
55
|
}
|
|
53
56
|
[dir=rtl] .small {
|
|
54
|
-
--listitem_padding:
|
|
57
|
+
--listitem_padding: 7px 5px 7px 3px;
|
|
55
58
|
}
|
|
56
59
|
.medium {
|
|
57
|
-
--listitem_padding:
|
|
58
|
-
--listitem_min_height:
|
|
60
|
+
--listitem_padding: 7px 20px;
|
|
61
|
+
--listitem_min_height: 35px;
|
|
59
62
|
}
|
|
60
63
|
.large {
|
|
61
|
-
--listitem_min_height:
|
|
64
|
+
--listitem_min_height: 48px;
|
|
62
65
|
}
|
|
63
66
|
[dir=ltr] .large {
|
|
64
|
-
--listitem_padding:
|
|
67
|
+
--listitem_padding: 10px 3px 10px
|
|
68
|
+
25px
|
|
69
|
+
/*rtl: 10px 25px 10px 3px*/;
|
|
65
70
|
}
|
|
66
71
|
[dir=rtl] .large {
|
|
67
|
-
--listitem_padding:
|
|
72
|
+
--listitem_padding: 10px 25px 10px 3px;
|
|
68
73
|
}
|
|
69
74
|
.value,
|
|
70
75
|
.children,.secondaryValue {
|
|
@@ -244,26 +249,32 @@
|
|
|
244
249
|
display: block;
|
|
245
250
|
}
|
|
246
251
|
[dir=ltr] .smallwithTick {
|
|
247
|
-
--listitem_padding:
|
|
252
|
+
--listitem_padding: 7px 39px 7px
|
|
253
|
+
5px
|
|
254
|
+
/*rtl: 7px 5px 7px 39px*/;
|
|
248
255
|
}
|
|
249
256
|
[dir=rtl] .smallwithTick {
|
|
250
|
-
--listitem_padding:
|
|
257
|
+
--listitem_padding: 7px 5px 7px 39px;
|
|
251
258
|
}
|
|
252
259
|
[dir=ltr] .mediumwithTick {
|
|
253
|
-
--listitem_padding:
|
|
260
|
+
--listitem_padding: 7px 39px 7px
|
|
261
|
+
20px
|
|
262
|
+
/*rtl: 7px 20px 7px 39px*/;
|
|
254
263
|
}
|
|
255
264
|
[dir=rtl] .mediumwithTick {
|
|
256
|
-
--listitem_padding:
|
|
265
|
+
--listitem_padding: 7px 20px 7px 39px;
|
|
257
266
|
}
|
|
258
267
|
[dir=ltr] .largewithTick {
|
|
259
|
-
--listitem_padding:
|
|
268
|
+
--listitem_padding: 10px 39px 10px
|
|
269
|
+
25px
|
|
270
|
+
/*rtl: 10px 25px 10px 39px*/;
|
|
260
271
|
}
|
|
261
272
|
[dir=rtl] .largewithTick {
|
|
262
|
-
--listitem_padding:
|
|
273
|
+
--listitem_padding: 10px 25px 10px 39px;
|
|
263
274
|
}
|
|
264
275
|
.responsiveHeight {
|
|
265
|
-
--listitem_min_height:
|
|
266
|
-
--listitem_font_size:
|
|
276
|
+
--listitem_min_height: 45px;
|
|
277
|
+
--listitem_font_size: 15px;
|
|
267
278
|
padding-top: var(--zd_size10) ;
|
|
268
279
|
padding-bottom: var(--zd_size10) ;
|
|
269
280
|
}
|
|
@@ -960,6 +960,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
960
960
|
isRestrictScroll = _this$props9.isRestrictScroll,
|
|
961
961
|
emptyMessage = _this$props9.emptyMessage,
|
|
962
962
|
searchEmptyMessage = _this$props9.searchEmptyMessage,
|
|
963
|
+
renderCustomEmptyState = _this$props9.renderCustomEmptyState,
|
|
963
964
|
title = _this$props9.title,
|
|
964
965
|
variant = _this$props9.variant,
|
|
965
966
|
children = _this$props9.children,
|
|
@@ -1165,6 +1166,7 @@ var AdvancedGroupMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
1165
1166
|
options: revampedGroups,
|
|
1166
1167
|
searchString: searchStr,
|
|
1167
1168
|
suggestions: suggestionGroups,
|
|
1169
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
1168
1170
|
dataId: dataId,
|
|
1169
1171
|
isLoading: isFetchingOptions,
|
|
1170
1172
|
i18nKeys: i18nKeys,
|
|
@@ -418,6 +418,7 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
418
418
|
searchEmptyMessage = _this$props6.searchEmptyMessage,
|
|
419
419
|
emptyMessage = _this$props6.emptyMessage,
|
|
420
420
|
noMoreOptionsMessage = _this$props6.noMoreOptionsMessage,
|
|
421
|
+
renderCustomEmptyState = _this$props6.renderCustomEmptyState,
|
|
421
422
|
dropBoxSize = _this$props6.dropBoxSize,
|
|
422
423
|
placeHolder = _this$props6.placeHolder,
|
|
423
424
|
isPopupOpen = _this$props6.isPopupOpen,
|
|
@@ -640,6 +641,7 @@ var AdvancedMultiSelectComponent = /*#__PURE__*/function (_MultiSelectComponent)
|
|
|
640
641
|
options: options,
|
|
641
642
|
searchString: searchStr,
|
|
642
643
|
suggestions: suggestions,
|
|
644
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
643
645
|
dataId: dataIdLoading,
|
|
644
646
|
i18nKeys: i18nKeys,
|
|
645
647
|
htmlId: ariaErrorId
|
|
@@ -9,6 +9,8 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
+
var _utils = require("@zohodesk/utils");
|
|
13
|
+
|
|
12
14
|
var _propTypes = require("./props/propTypes");
|
|
13
15
|
|
|
14
16
|
var _defaultProps = require("./props/defaultProps");
|
|
@@ -62,6 +64,7 @@ var EmptyState = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
62
64
|
searchString = _this$props.searchString,
|
|
63
65
|
suggestions = _this$props.suggestions,
|
|
64
66
|
dataId = _this$props.dataId,
|
|
67
|
+
renderCustomEmptyState = _this$props.renderCustomEmptyState,
|
|
65
68
|
getCustomEmptyState = _this$props.getCustomEmptyState,
|
|
66
69
|
palette = _this$props.palette,
|
|
67
70
|
i18nKeys = _this$props.i18nKeys,
|
|
@@ -90,13 +93,25 @@ var EmptyState = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
90
93
|
"data-test-id": "".concat(dataId, "_srchEmptyMsg"),
|
|
91
94
|
role: role,
|
|
92
95
|
id: htmlId
|
|
93
|
-
}, searchEmptyText || emptyText) : options.length === 0 ?
|
|
96
|
+
}, searchEmptyText || emptyText) : options.length === 0 ? (0, _utils.isRenderable)(renderCustomEmptyState) ? (0, _utils.renderNode)(renderCustomEmptyState, {
|
|
97
|
+
title: emptyText,
|
|
98
|
+
dataId: dataId,
|
|
99
|
+
role: role,
|
|
100
|
+
htmlId: htmlId,
|
|
101
|
+
className: className
|
|
102
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
94
103
|
className: className,
|
|
95
104
|
"data-id": "".concat(dataId, "_noOptnsMsg"),
|
|
96
105
|
"data-test-id": "".concat(dataId, "_noOptnsMsg"),
|
|
97
106
|
role: role,
|
|
98
107
|
id: htmlId
|
|
99
|
-
}, emptyText) :
|
|
108
|
+
}, emptyText) : (0, _utils.isRenderable)(renderCustomEmptyState) ? (0, _utils.renderNode)(renderCustomEmptyState, {
|
|
109
|
+
title: noMoreText || emptyText,
|
|
110
|
+
dataId: dataId,
|
|
111
|
+
role: role,
|
|
112
|
+
htmlId: htmlId,
|
|
113
|
+
className: className
|
|
114
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
115
|
className: className,
|
|
101
116
|
"data-id": "".concat(dataId, "_NoMoreOptionMsg"),
|
|
102
117
|
"data-test-id": "".concat(dataId, "_NoMoreOptionMsg"),
|
|
@@ -1141,6 +1141,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1141
1141
|
searchEmptyMessage = _this$props15.searchEmptyMessage,
|
|
1142
1142
|
emptyMessage = _this$props15.emptyMessage,
|
|
1143
1143
|
noMoreOptionsMessage = _this$props15.noMoreOptionsMessage,
|
|
1144
|
+
renderCustomEmptyState = _this$props15.renderCustomEmptyState,
|
|
1144
1145
|
dropBoxSize = _this$props15.dropBoxSize,
|
|
1145
1146
|
isPopupOpen = _this$props15.isPopupOpen,
|
|
1146
1147
|
isPopupReady = _this$props15.isPopupReady,
|
|
@@ -1276,6 +1277,7 @@ var MultiSelectComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1276
1277
|
options: options,
|
|
1277
1278
|
searchString: searchStr,
|
|
1278
1279
|
suggestions: suggestions,
|
|
1280
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
1279
1281
|
dataId: dataId,
|
|
1280
1282
|
palette: palette,
|
|
1281
1283
|
i18nKeys: i18nKeys,
|
|
@@ -126,6 +126,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
126
126
|
searchEmptyMessage = _this$props.searchEmptyMessage,
|
|
127
127
|
emptyMessage = _this$props.emptyMessage,
|
|
128
128
|
noMoreOptionsMessage = _this$props.noMoreOptionsMessage,
|
|
129
|
+
renderCustomEmptyState = _this$props.renderCustomEmptyState,
|
|
129
130
|
dropBoxSize = _this$props.dropBoxSize,
|
|
130
131
|
isPopupOpen = _this$props.isPopupOpen,
|
|
131
132
|
isPopupReady = _this$props.isPopupReady,
|
|
@@ -252,6 +253,7 @@ var MultiSelectWithAvatarComponent = /*#__PURE__*/function (_MultiSelectComponen
|
|
|
252
253
|
options: options,
|
|
253
254
|
searchString: searchStr,
|
|
254
255
|
suggestions: suggestions,
|
|
256
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
255
257
|
dataId: dataId,
|
|
256
258
|
palette: palette,
|
|
257
259
|
i18nKeys: i18nKeys,
|
|
@@ -21,6 +21,7 @@ var EmptyState_propTypes = {
|
|
|
21
21
|
dataId: _propTypes["default"].string,
|
|
22
22
|
emptyMessage: _propTypes["default"].string,
|
|
23
23
|
getCustomEmptyState: _propTypes["default"].func,
|
|
24
|
+
renderCustomEmptyState: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].node]),
|
|
24
25
|
i18nKeys: _propTypes["default"].shape({
|
|
25
26
|
loadingText: _propTypes["default"].string,
|
|
26
27
|
emptyText: _propTypes["default"].string,
|
|
@@ -102,6 +103,7 @@ var MultiSelect_propTypes = {
|
|
|
102
103
|
position: _propTypes["default"].string,
|
|
103
104
|
prefixText: _propTypes["default"].string,
|
|
104
105
|
removeClose: _propTypes["default"].func,
|
|
106
|
+
renderCustomEmptyState: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].node]),
|
|
105
107
|
searchDebounceTime: _propTypes["default"].number,
|
|
106
108
|
searchEmptyMessage: _propTypes["default"].string,
|
|
107
109
|
selectedOptions: _propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])).isRequired,
|
|
@@ -265,6 +267,7 @@ var AdvancedGroupMultiSelect_propTypes = (_AdvancedGroupMultiSe = {
|
|
|
265
267
|
placeHolder: _propTypes["default"].string,
|
|
266
268
|
position: _propTypes["default"].string,
|
|
267
269
|
removeClose: _propTypes["default"].func,
|
|
270
|
+
renderCustomEmptyState: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].node]),
|
|
268
271
|
searchDebounceTime: _propTypes["default"].number,
|
|
269
272
|
searchEmptyMessage: _propTypes["default"].string,
|
|
270
273
|
selectAllText: _propTypes["default"].string,
|
package/lib/Popup/Popup.js
CHANGED
|
File without changes
|
|
@@ -46,6 +46,8 @@ var LibraryContextProvider = function LibraryContextProvider(_ref) {
|
|
|
46
46
|
hasTagColorInheritedToText = _ref.hasTagColorInheritedToText,
|
|
47
47
|
shouldIndicateSwitchState = _ref.shouldIndicateSwitchState,
|
|
48
48
|
shouldStrikeThroughDisabledButton = _ref.shouldStrikeThroughDisabledButton,
|
|
49
|
+
labelRequiredType = _ref.labelRequiredType,
|
|
50
|
+
shouldHighlightRequiredLabel = _ref.shouldHighlightRequiredLabel,
|
|
49
51
|
children = _ref.children;
|
|
50
52
|
|
|
51
53
|
var _useState = (0, _react.useState)({
|
|
@@ -54,7 +56,9 @@ var LibraryContextProvider = function LibraryContextProvider(_ref) {
|
|
|
54
56
|
coloredTagVariant: coloredTagVariant,
|
|
55
57
|
hasTagColorInheritedToText: hasTagColorInheritedToText,
|
|
56
58
|
shouldIndicateSwitchState: shouldIndicateSwitchState,
|
|
57
|
-
shouldStrikeThroughDisabledButton: shouldStrikeThroughDisabledButton
|
|
59
|
+
shouldStrikeThroughDisabledButton: shouldStrikeThroughDisabledButton,
|
|
60
|
+
labelRequiredType: labelRequiredType,
|
|
61
|
+
shouldHighlightRequiredLabel: shouldHighlightRequiredLabel
|
|
58
62
|
}),
|
|
59
63
|
_useState2 = _slicedToArray(_useState, 2),
|
|
60
64
|
value = _useState2[0],
|
|
@@ -80,7 +84,9 @@ LibraryContextProvider.propTypes = {
|
|
|
80
84
|
hasTagColorInheritedToText: _propTypes["default"].bool,
|
|
81
85
|
direction: _propTypes["default"].string,
|
|
82
86
|
shouldIndicateSwitchState: _propTypes["default"].bool,
|
|
83
|
-
shouldStrikeThroughDisabledButton: _propTypes["default"].bool
|
|
87
|
+
shouldStrikeThroughDisabledButton: _propTypes["default"].bool,
|
|
88
|
+
labelRequiredType: _propTypes["default"].oneOf(['asterisk', 'text']),
|
|
89
|
+
shouldHighlightRequiredLabel: _propTypes["default"].bool
|
|
84
90
|
};
|
|
85
91
|
LibraryContextProvider.defaultProps = {
|
|
86
92
|
isReducedMotion: (0, _Config.getLibraryConfig)('isReducedMotion'),
|
|
@@ -88,7 +94,9 @@ LibraryContextProvider.defaultProps = {
|
|
|
88
94
|
coloredTagVariant: 'bold',
|
|
89
95
|
hasTagColorInheritedToText: true,
|
|
90
96
|
shouldIndicateSwitchState: false,
|
|
91
|
-
shouldStrikeThroughDisabledButton: false
|
|
97
|
+
shouldStrikeThroughDisabledButton: false,
|
|
98
|
+
labelRequiredType: 'asterisk',
|
|
99
|
+
shouldHighlightRequiredLabel: true
|
|
92
100
|
};
|
|
93
101
|
var _default = LibraryContextProvider;
|
|
94
102
|
exports["default"] = _default;
|
package/lib/Radio/Radio.js
CHANGED
|
File without changes
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
/* radio default variables */
|
|
3
|
-
--radio_width:
|
|
4
|
-
--radio_height:
|
|
3
|
+
--radio_width: 16px;
|
|
4
|
+
--radio_height: 16px;
|
|
5
5
|
--radio_bg_color: none;
|
|
6
6
|
--radio_stroke_width: 2px;
|
|
7
7
|
--radio_stroke_color: var(--zdt_radio_default_stroke);
|
|
8
8
|
--radio_fill: none;
|
|
9
9
|
--radio_inner_stroke_width: 0;
|
|
10
10
|
}[dir=ltr] .varClass {
|
|
11
|
-
--radio_label_margin: 0 0 0
|
|
11
|
+
--radio_label_margin: 0 0 0 6px /*rtl: 0 6px 0 0*/
|
|
12
|
+
;
|
|
12
13
|
}[dir=rtl] .varClass {
|
|
13
|
-
--radio_label_margin: 0 0 0
|
|
14
|
+
--radio_label_margin: 0 6px 0 0;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.container {
|
|
@@ -48,13 +49,13 @@
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
.medium {
|
|
51
|
-
--radio_width:
|
|
52
|
-
--radio_height:
|
|
52
|
+
--radio_width: 16px;
|
|
53
|
+
--radio_height: 16px;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
.small {
|
|
56
|
-
--radio_width:
|
|
57
|
-
--radio_height:
|
|
57
|
+
--radio_width: 13px;
|
|
58
|
+
--radio_height: 13px;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
.medium.withSecondaryText {
|
|
File without changes
|
package/lib/Ribbon/Ribbon.js
CHANGED
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--ribbon_padding: 0;
|
|
4
4
|
--ribbon_text_color: var(--zdt_ribbon_default_text);
|
|
5
5
|
--ribbon_text_transform: none;
|
|
6
|
-
--ribbon_font_size:
|
|
6
|
+
--ribbon_font_size: 13px;
|
|
7
7
|
--ribbon_bg_color: var(--zdt_ribbon_default_bg);
|
|
8
8
|
--ribbon_box_shadow: none;
|
|
9
9
|
--ribbon_border_width: 0;
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
/* flag ribbon default variable */
|
|
14
14
|
|
|
15
15
|
/* tag ribbon default variables */
|
|
16
|
-
--ribbon_tag_before_top:
|
|
16
|
+
--ribbon_tag_before_top: 3px;
|
|
17
17
|
--ribbon_tag_before_border_style: solid;
|
|
18
18
|
--ribbon_tag_before_border_color: var(--zdt_ribbon_default_tag_border);
|
|
19
|
-
--ribbon_tag_before_width:
|
|
20
|
-
--ribbon_tag_before_height:
|
|
21
|
-
--ribbon_tag_before_left:
|
|
19
|
+
--ribbon_tag_before_width: 20px;
|
|
20
|
+
--ribbon_tag_before_height: 20px;
|
|
21
|
+
--ribbon_tag_before_left: -10px;
|
|
22
22
|
--ribbon_tag_before_border_radius: 3px 0 0 0;
|
|
23
23
|
}[dir=ltr] .varClass {
|
|
24
24
|
--ribbon_flag_border_width: 14px 12px 14px 0
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
/*rtl: 1px 1px 0 0*/
|
|
29
29
|
;
|
|
30
30
|
}[dir=rtl] .varClass {
|
|
31
|
-
--ribbon_flag_border_width: 14px
|
|
32
|
-
--ribbon_tag_before_border_width: 1px 0 0
|
|
31
|
+
--ribbon_flag_border_width: 14px 0 14px 12px;
|
|
32
|
+
--ribbon_tag_before_border_width: 1px 1px 0 0;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* css:lineheight-validation:ignore */
|
|
@@ -61,26 +61,26 @@
|
|
|
61
61
|
.default {
|
|
62
62
|
composes: semibold from '../common/common.module.css';
|
|
63
63
|
display: block;
|
|
64
|
-
--ribbon_padding:
|
|
64
|
+
--ribbon_padding: 5px 20px;
|
|
65
65
|
--ribbon_text_color: var(--zdt_ribbon_white_text);
|
|
66
66
|
--ribbon_text_transform: uppercase;
|
|
67
67
|
text-align: center;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.small {
|
|
71
|
-
--ribbon_font_size:
|
|
71
|
+
--ribbon_font_size: 9px;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.medium {
|
|
75
|
-
--ribbon_font_size:
|
|
75
|
+
--ribbon_font_size: 11px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.large {
|
|
79
|
-
--ribbon_font_size:
|
|
79
|
+
--ribbon_font_size: 13px;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.xlarge {
|
|
83
|
-
--ribbon_font_size:
|
|
83
|
+
--ribbon_font_size: 14px;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.palette_default {
|
|
@@ -217,11 +217,13 @@
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
[dir=ltr] .flag {
|
|
220
|
-
--ribbon_padding:
|
|
220
|
+
--ribbon_padding: 4px 24px 4px 6px
|
|
221
|
+
/*rtl: 4px 6px 4px 24px*/
|
|
222
|
+
;
|
|
221
223
|
}
|
|
222
224
|
|
|
223
225
|
[dir=rtl] .flag {
|
|
224
|
-
--ribbon_padding:
|
|
226
|
+
--ribbon_padding: 4px 6px 4px 24px;
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
.flag.small {
|
|
@@ -274,7 +276,7 @@
|
|
|
274
276
|
display: block;
|
|
275
277
|
--ribbon_text_color: var(--zdt_ribbon_white_text);
|
|
276
278
|
--ribbon_text_transform: uppercase;
|
|
277
|
-
--ribbon_padding:
|
|
279
|
+
--ribbon_padding: 6px 10px;
|
|
278
280
|
text-align: center;
|
|
279
281
|
}
|
|
280
282
|
|
|
@@ -355,10 +357,13 @@
|
|
|
355
357
|
}
|
|
356
358
|
|
|
357
359
|
[dir=rtl] .tag {
|
|
358
|
-
border-width: 1px 0 1px 1px
|
|
359
|
-
|
|
360
|
+
border-width: 1px 0 1px 1px
|
|
361
|
+
;
|
|
362
|
+
border-radius: 3px 0 0 3px
|
|
363
|
+
;
|
|
360
364
|
margin-right: var(--zd_size13) ;
|
|
361
|
-
padding:
|
|
365
|
+
padding: 6px 5px 6px 8px
|
|
366
|
+
;
|
|
362
367
|
}
|
|
363
368
|
|
|
364
369
|
.tag::before {
|
|
@@ -387,13 +392,13 @@
|
|
|
387
392
|
.box {
|
|
388
393
|
display: inline-block;
|
|
389
394
|
--ribbon_bg_color: var(--zdt_ribbon_white_bg);
|
|
390
|
-
--ribbon_padding:
|
|
395
|
+
--ribbon_padding: 5px 8px;
|
|
391
396
|
border-radius: 3px;
|
|
392
397
|
}
|
|
393
398
|
|
|
394
399
|
.stamp {
|
|
395
400
|
display: inline-block;
|
|
396
|
-
--ribbon_padding:
|
|
401
|
+
--ribbon_padding: 3px 5px;
|
|
397
402
|
--ribbon_text_transform: uppercase;
|
|
398
403
|
}
|
|
399
404
|
|
|
@@ -637,6 +637,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
637
637
|
defaultDropBoxPosition = _this$props9.defaultDropBoxPosition,
|
|
638
638
|
searchBoxPlaceHolder = _this$props9.searchBoxPlaceHolder,
|
|
639
639
|
searchEmptyMessage = _this$props9.searchEmptyMessage,
|
|
640
|
+
renderCustomEmptyState = _this$props9.renderCustomEmptyState,
|
|
640
641
|
dataId = _this$props9.dataId,
|
|
641
642
|
dataIdSlctComp = _this$props9.dataIdSlctComp,
|
|
642
643
|
dataIdDownIcon = _this$props9.dataIdDownIcon,
|
|
@@ -868,6 +869,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
868
869
|
options: revampedGroups,
|
|
869
870
|
searchString: searchStr,
|
|
870
871
|
suggestions: suggestionGroups,
|
|
872
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
871
873
|
dataId: dataIdSrchEmptyMsg,
|
|
872
874
|
isLoading: isFetchingOptions,
|
|
873
875
|
i18nKeys: i18nKeys,
|
package/lib/Select/Select.js
CHANGED
|
@@ -839,6 +839,7 @@ var SelectComponent = /*#__PURE__*/function (_Component) {
|
|
|
839
839
|
getFooter = _this$props11.getFooter,
|
|
840
840
|
getChildren = _this$props11.getChildren,
|
|
841
841
|
getCustomEmptyState = _this$props11.getCustomEmptyState,
|
|
842
|
+
renderCustomEmptyState = _this$props11.renderCustomEmptyState,
|
|
842
843
|
isParentBased = _this$props11.isParentBased,
|
|
843
844
|
i18nKeys = _this$props11.i18nKeys,
|
|
844
845
|
htmlId = _this$props11.htmlId,
|
|
@@ -1120,6 +1121,7 @@ var SelectComponent = /*#__PURE__*/function (_Component) {
|
|
|
1120
1121
|
searchString: searchStr,
|
|
1121
1122
|
suggestions: suggestions,
|
|
1122
1123
|
dataId: dataId,
|
|
1124
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
1123
1125
|
getCustomEmptyState: getCustomEmptyState ? _this7.handleGetAddNewOptionText : null,
|
|
1124
1126
|
i18nKeys: i18nKeys,
|
|
1125
1127
|
htmlId: ariaErrorId
|
|
@@ -184,6 +184,7 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
|
|
|
184
184
|
dropBoxSize = _this$props.dropBoxSize,
|
|
185
185
|
emptyMessage = _this$props.emptyMessage,
|
|
186
186
|
searchEmptyMessage = _this$props.searchEmptyMessage,
|
|
187
|
+
renderCustomEmptyState = _this$props.renderCustomEmptyState,
|
|
187
188
|
needBorder = _this$props.needBorder,
|
|
188
189
|
position = _this$props.position,
|
|
189
190
|
defaultDropBoxPosition = _this$props.defaultDropBoxPosition,
|
|
@@ -386,6 +387,7 @@ var SelectWithAvatarComponent = /*#__PURE__*/function (_SelectComponent) {
|
|
|
386
387
|
options: options,
|
|
387
388
|
searchString: searchStr,
|
|
388
389
|
suggestions: suggestions,
|
|
390
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
389
391
|
dataId: dataId,
|
|
390
392
|
i18nKeys: i18nKeys,
|
|
391
393
|
htmlId: ariaErrorId
|
|
@@ -423,6 +423,7 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
|
|
|
423
423
|
boxSize = _this$props7.boxSize,
|
|
424
424
|
dropBoxSize = _this$props7.dropBoxSize,
|
|
425
425
|
emptyMessage = _this$props7.emptyMessage,
|
|
426
|
+
renderCustomEmptyState = _this$props7.renderCustomEmptyState,
|
|
426
427
|
needIcon = _this$props7.needIcon,
|
|
427
428
|
iconName = _this$props7.iconName,
|
|
428
429
|
iconSize = _this$props7.iconSize,
|
|
@@ -613,6 +614,7 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
|
|
|
613
614
|
options: options,
|
|
614
615
|
searchString: searchValue,
|
|
615
616
|
suggestions: options,
|
|
617
|
+
renderCustomEmptyState: renderCustomEmptyState,
|
|
616
618
|
dataId: dataId,
|
|
617
619
|
i18nKeys: i18nKeys,
|
|
618
620
|
htmlId: ariaErrorId
|
|
@@ -77,6 +77,7 @@ var Select_propTypes = {
|
|
|
77
77
|
placeHolder: _propTypes["default"].string,
|
|
78
78
|
position: _propTypes["default"].string,
|
|
79
79
|
removeClose: _propTypes["default"].func,
|
|
80
|
+
renderCustomEmptyState: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].node]),
|
|
80
81
|
searchBoxPlaceHolder: _propTypes["default"].string,
|
|
81
82
|
searchBoxSize: _propTypes["default"].string,
|
|
82
83
|
searchDebounceTime: _propTypes["default"].number,
|
|
@@ -144,6 +145,7 @@ var GroupSelect_propTypes = {
|
|
|
144
145
|
searchBoxPlaceHolder: _propTypes["default"].string,
|
|
145
146
|
needSearch: _propTypes["default"].bool,
|
|
146
147
|
searchEmptyMessage: _propTypes["default"].string,
|
|
148
|
+
renderCustomEmptyState: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].node]),
|
|
147
149
|
getRef: _propTypes["default"].func,
|
|
148
150
|
isDisabled: _propTypes["default"].bool,
|
|
149
151
|
isReadOnly: _propTypes["default"].bool,
|
|
@@ -328,6 +330,7 @@ var SelectWithIcon_propTypes = {
|
|
|
328
330
|
needResponsive: _propTypes["default"].bool,
|
|
329
331
|
boxSize: _propTypes["default"].string,
|
|
330
332
|
emptyMessage: _propTypes["default"].string,
|
|
333
|
+
renderCustomEmptyState: _propTypes["default"].oneOfType([_propTypes["default"].func, _propTypes["default"].node]),
|
|
331
334
|
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
332
335
|
isRestrictScroll: _propTypes["default"].bool,
|
|
333
336
|
positionsOffset: _propTypes["default"].object,
|
package/lib/Stencils/Stencils.js
CHANGED
|
File without changes
|