@zohodesk/dot 1.0.0-temp-181.8 → 1.0.0-temp-184
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/.cli/propValidation_report.html +1 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/Drawer/Drawer.js +5 -4
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.js +5 -4
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/actions/AutoClose.js +1 -2
- package/es/alert/AlertLookup/AlertLookup.js +12 -14
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +15 -18
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +9 -8
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.js +1 -2
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/status/StatusDropdown/StatusDropdown.js +101 -142
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/v1/Drawer/Drawer.js +5 -4
- package/es/v1/ExternalLink/ExternalLink.js +5 -4
- package/es/v1/FlipCard/FlipCard.js +12 -14
- package/es/v1/GlobalNotification/GlobalNotification.js +7 -6
- package/es/v1/IconButton/IconButton.js +5 -4
- package/es/v1/Link/Link.js +10 -8
- package/es/v1/Message/Message.js +5 -4
- package/es/v1/ToastMessage/ToastMessage.js +4 -2
- package/es/v1/actions/AutoClose.js +1 -2
- package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
- package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +16 -18
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/v1/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/v1/list/ListLayout/ListLayout.js +5 -4
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +9 -8
- package/es/v1/list/SecondaryText/Email.js +8 -8
- package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/v1/list/SecondaryText/SecondaryText.js +5 -4
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/Thread/Thread.js +1 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +5 -4
- package/es/v1/lookup/header/Search/Search.js +3 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.js +1 -2
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusDropdown/StatusDropdown.js +162 -207
- package/lib/v1/list/Thread/Thread.js +1 -2
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +1 -1
- package/result.json +1 -1
- package/es/v1/DotWrapper/DotWrapper.js +0 -39
- package/es/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
- package/es/v1/DotWrapper/libraryChunks/importMapping.js +0 -19
- package/es/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/props/defaultProps.js +0 -6
- package/es/v1/DotWrapper/props/propTypes.js +0 -9
- package/es/v1/DotWrapper/utils/appearanceProperties.js +0 -46
- package/es/v1/DotWrapper/utils/errorMessage.js +0 -7
- package/es/v1/DotWrapper/utils/importFiles.js +0 -31
- package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
- package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
- package/lib/v1/DotWrapper/DotWrapper.js +0 -64
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
- package/lib/v1/DotWrapper/libraryChunks/importMapping.js +0 -26
- package/lib/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/props/defaultProps.js +0 -13
- package/lib/v1/DotWrapper/props/propTypes.js +0 -20
- package/lib/v1/DotWrapper/utils/appearanceProperties.js +0 -79
- package/lib/v1/DotWrapper/utils/errorMessage.js +0 -14
- package/lib/v1/DotWrapper/utils/importFiles.js +0 -40
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--icon_color: var(--zdt_avatarIcon_dark_icon);
|
|
3
|
-
--border_color: var(--zdt_avatarIcon_default_border);
|
|
4
|
-
--border_hoverColor: var(--zdt_avatarIcon_default_hover_border);
|
|
5
|
-
}
|
|
6
|
-
.container {
|
|
7
|
-
vertical-align: middle;
|
|
8
|
-
composes: varClass;
|
|
9
|
-
border-width: 1px;
|
|
10
|
-
border-style: solid;
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
border-color: var(--border_color)
|
|
13
|
-
}
|
|
14
|
-
.borderOnHover:hover, .borderOnActive {
|
|
15
|
-
border-color: var(--border_hoverColor)
|
|
16
|
-
}
|
|
17
|
-
.default {
|
|
18
|
-
--border_color: var(--zdt_avatarIcon_default_border);
|
|
19
|
-
--border_hoverColor: var(--zdt_avatarIcon_default_hover_border);
|
|
20
|
-
}
|
|
21
|
-
.primary {
|
|
22
|
-
--border_color: var(--zdt_avatarIcon_primary_border);
|
|
23
|
-
--border_hoverColor: var(--zdt_avatarIcon_primary_hover_border);
|
|
24
|
-
}
|
|
25
|
-
.secondary {
|
|
26
|
-
--border_color: var(--zdt_avatarIcon_secondary_border);
|
|
27
|
-
--border_hoverColor: var(--zdt_avatarIcon_secondary_hover_border);
|
|
28
|
-
}
|
|
29
|
-
.success {
|
|
30
|
-
--border_color: var(--zdt_avatarIcon_success_border);
|
|
31
|
-
--border_hoverColor: var(--zdt_avatarIcon_success_hover_border);
|
|
32
|
-
}
|
|
33
|
-
.danger {
|
|
34
|
-
--border_color: var(--zdt_avatarIcon_danger_border);
|
|
35
|
-
--border_hoverColor: var(--zdt_avatarIcon_danger_hover_border);
|
|
36
|
-
}
|
|
37
|
-
.iconColor {
|
|
38
|
-
color: var(--icon_color);
|
|
39
|
-
}
|
|
40
|
-
.icon_danger {
|
|
41
|
-
--icon_color: var(--zdt_avatarIcon_danger_icon);
|
|
42
|
-
}
|
|
43
|
-
.icon_primary {
|
|
44
|
-
--icon_color: var(--zdt_avatarIcon_primary_icon);
|
|
45
|
-
}
|
|
46
|
-
.icon_grey {
|
|
47
|
-
--icon_color: var(--zdt_avatarIcon_grey_icon);
|
|
48
|
-
}
|
|
49
|
-
.icon_success {
|
|
50
|
-
--icon_color: var(--zdt_avatarIcon_success_icon);
|
|
51
|
-
}
|
|
52
|
-
.icon_smoke18 {
|
|
53
|
-
--icon_color: var(--zdt_avatarIcon_smoke_icon);
|
|
54
|
-
}
|
|
55
|
-
.icon_dark {
|
|
56
|
-
--icon_color: var(--zdt_avatarIcon_dark_icon);
|
|
57
|
-
}
|
|
58
|
-
|
|
1
|
+
.varClass {
|
|
2
|
+
--icon_color: var(--zdt_avatarIcon_dark_icon);
|
|
3
|
+
--border_color: var(--zdt_avatarIcon_default_border);
|
|
4
|
+
--border_hoverColor: var(--zdt_avatarIcon_default_hover_border);
|
|
5
|
+
}
|
|
6
|
+
.container {
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
composes: varClass;
|
|
9
|
+
border-width: 1px;
|
|
10
|
+
border-style: solid;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
border-color: var(--border_color)
|
|
13
|
+
}
|
|
14
|
+
.borderOnHover:hover, .borderOnActive {
|
|
15
|
+
border-color: var(--border_hoverColor)
|
|
16
|
+
}
|
|
17
|
+
.default {
|
|
18
|
+
--border_color: var(--zdt_avatarIcon_default_border);
|
|
19
|
+
--border_hoverColor: var(--zdt_avatarIcon_default_hover_border);
|
|
20
|
+
}
|
|
21
|
+
.primary {
|
|
22
|
+
--border_color: var(--zdt_avatarIcon_primary_border);
|
|
23
|
+
--border_hoverColor: var(--zdt_avatarIcon_primary_hover_border);
|
|
24
|
+
}
|
|
25
|
+
.secondary {
|
|
26
|
+
--border_color: var(--zdt_avatarIcon_secondary_border);
|
|
27
|
+
--border_hoverColor: var(--zdt_avatarIcon_secondary_hover_border);
|
|
28
|
+
}
|
|
29
|
+
.success {
|
|
30
|
+
--border_color: var(--zdt_avatarIcon_success_border);
|
|
31
|
+
--border_hoverColor: var(--zdt_avatarIcon_success_hover_border);
|
|
32
|
+
}
|
|
33
|
+
.danger {
|
|
34
|
+
--border_color: var(--zdt_avatarIcon_danger_border);
|
|
35
|
+
--border_hoverColor: var(--zdt_avatarIcon_danger_hover_border);
|
|
36
|
+
}
|
|
37
|
+
.iconColor {
|
|
38
|
+
color: var(--icon_color);
|
|
39
|
+
}
|
|
40
|
+
.icon_danger {
|
|
41
|
+
--icon_color: var(--zdt_avatarIcon_danger_icon);
|
|
42
|
+
}
|
|
43
|
+
.icon_primary {
|
|
44
|
+
--icon_color: var(--zdt_avatarIcon_primary_icon);
|
|
45
|
+
}
|
|
46
|
+
.icon_grey {
|
|
47
|
+
--icon_color: var(--zdt_avatarIcon_grey_icon);
|
|
48
|
+
}
|
|
49
|
+
.icon_success {
|
|
50
|
+
--icon_color: var(--zdt_avatarIcon_success_icon);
|
|
51
|
+
}
|
|
52
|
+
.icon_smoke18 {
|
|
53
|
+
--icon_color: var(--zdt_avatarIcon_smoke_icon);
|
|
54
|
+
}
|
|
55
|
+
.icon_dark {
|
|
56
|
+
--icon_color: var(--zdt_avatarIcon_dark_icon);
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -34,12 +36,12 @@ export default class AvatarStatus extends React.Component {
|
|
|
34
36
|
AvatarStatusProps = {},
|
|
35
37
|
AvatarProps = {}
|
|
36
38
|
} = customProps;
|
|
37
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
38
|
-
className: `${style.container} ${className}
|
|
39
|
-
|
|
39
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
40
|
+
className: `${style.container} ${className} `
|
|
41
|
+
}, AvatarStatusProps, {
|
|
40
42
|
"aria-label": `${title}, ${name}, ${statusTitle}`,
|
|
41
43
|
"data-selector-id": dataSelectorId
|
|
42
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
44
|
+
}), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
43
45
|
src: src,
|
|
44
46
|
name: name,
|
|
45
47
|
palette: palette,
|
|
@@ -53,9 +55,8 @@ export default class AvatarStatus extends React.Component {
|
|
|
53
55
|
shape: shape,
|
|
54
56
|
needTitle: needTitle,
|
|
55
57
|
needDefaultBorder: needDefaultBorder,
|
|
56
|
-
needBorder: needBorder
|
|
57
|
-
|
|
58
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
58
|
+
needBorder: needBorder
|
|
59
|
+
}, AvatarProps)), /*#__PURE__*/React.createElement("span", {
|
|
59
60
|
"data-title": statusTitle,
|
|
60
61
|
className: `${style.state} ${style[state]} ${style[size]} ${style[shape]}`
|
|
61
62
|
}));
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -37,11 +39,10 @@ export default class AvatarThread extends React.Component {
|
|
|
37
39
|
AvatarProps = {}
|
|
38
40
|
} = customProps;
|
|
39
41
|
let hoverEffect = showOnHover ? style.hover : '';
|
|
40
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
41
43
|
className: `${style.container} ${onClick ? style.pointer : ''} ${hoverEffect}`,
|
|
42
|
-
"data-selector-id": dataSelectorId
|
|
43
|
-
|
|
44
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
44
|
+
"data-selector-id": dataSelectorId
|
|
45
|
+
}, AvatarThreadProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
45
46
|
initial: initial,
|
|
46
47
|
src: src,
|
|
47
48
|
name: name,
|
|
@@ -52,9 +53,8 @@ export default class AvatarThread extends React.Component {
|
|
|
52
53
|
palette: palette,
|
|
53
54
|
textPalette: textPalette,
|
|
54
55
|
customClass: customTextClass,
|
|
55
|
-
needTitle: needTitle
|
|
56
|
-
|
|
57
|
-
}), (iconName || getCustomThread) && /*#__PURE__*/React.createElement("span", {
|
|
56
|
+
needTitle: needTitle
|
|
57
|
+
}, AvatarProps)), (iconName || getCustomThread) && /*#__PURE__*/React.createElement("span", {
|
|
58
58
|
className: `${style.thread} ${onIconClick ? style.pointer : style.defaultCursor} ${needBackground ? style.threadBg : ''} ${style[`thread_${size}_pos`]} ${needBorder ? style[`border_${borderPalette}`] : ''}`,
|
|
59
59
|
"data-title": iconTitle,
|
|
60
60
|
"data-id": iconTitle === 'Remove Follower' && 'removeFollower',
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -48,22 +50,20 @@ export default class AvatarUser extends React.Component {
|
|
|
48
50
|
portalTitle = 'End User',
|
|
49
51
|
lockTitle = 'Locked'
|
|
50
52
|
} = i18nKeys;
|
|
51
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
52
54
|
className: `${style.container} ${style[size]}`,
|
|
53
55
|
"data-id": dataId || name || iconName,
|
|
54
56
|
"data-test-id": dataId || name || iconName,
|
|
55
|
-
"data-selector-id": dataSelectorId
|
|
56
|
-
|
|
57
|
-
}, iconName ? /*#__PURE__*/React.createElement(AvatarIcon, {
|
|
57
|
+
"data-selector-id": dataSelectorId
|
|
58
|
+
}, AvatarUserProps), iconName ? /*#__PURE__*/React.createElement(AvatarIcon, _extends({
|
|
58
59
|
name: iconName,
|
|
59
60
|
iconSize: iconSize,
|
|
60
61
|
size: size,
|
|
61
62
|
iconClass: iconClass,
|
|
62
63
|
dataId: iconName,
|
|
63
64
|
iconColor: iconColor,
|
|
64
|
-
title: title
|
|
65
|
-
|
|
66
|
-
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
65
|
+
title: title
|
|
66
|
+
}, AvatarIconProps)) : /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
67
67
|
src: src,
|
|
68
68
|
name: name,
|
|
69
69
|
initial: initial,
|
|
@@ -74,9 +74,8 @@ export default class AvatarUser extends React.Component {
|
|
|
74
74
|
palette: palette,
|
|
75
75
|
textPalette: textPalette,
|
|
76
76
|
customClass: customTextClass,
|
|
77
|
-
alternateSrc: alternateSrc
|
|
78
|
-
|
|
79
|
-
}), isPaid ? /*#__PURE__*/React.createElement("span", {
|
|
77
|
+
alternateSrc: alternateSrc
|
|
78
|
+
}, AvatarProps)), isPaid ? /*#__PURE__*/React.createElement("span", {
|
|
80
79
|
"data-title": paidTitle,
|
|
81
80
|
className: style.paid,
|
|
82
81
|
"data-id": "paidUser",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -31,13 +33,12 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
31
33
|
Avatar2Props = {},
|
|
32
34
|
AvatarTeam2Props = {}
|
|
33
35
|
} = customProps;
|
|
34
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
36
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
35
37
|
className: `${style.container} `,
|
|
36
38
|
"data-id": "avatarWithTeamId",
|
|
37
39
|
"data-test-id": "avatarWithTeamId",
|
|
38
|
-
"data-selector-id": dataSelectorId
|
|
39
|
-
|
|
40
|
-
}, isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, {
|
|
40
|
+
"data-selector-id": dataSelectorId
|
|
41
|
+
}, AvatarWithTeamProps), isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
41
42
|
name: name,
|
|
42
43
|
src: src,
|
|
43
44
|
size: size,
|
|
@@ -46,9 +47,8 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
46
47
|
palette: palette,
|
|
47
48
|
textPalette: textPalette,
|
|
48
49
|
customClass: customTextClass,
|
|
49
|
-
borderOnActive: borderOnActive
|
|
50
|
-
|
|
51
|
-
}) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
50
|
+
borderOnActive: borderOnActive
|
|
51
|
+
}, Avatar1Props)) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, _extends({
|
|
52
52
|
name: name,
|
|
53
53
|
src: src,
|
|
54
54
|
size: size,
|
|
@@ -59,9 +59,8 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
59
59
|
customClass: {
|
|
60
60
|
customAvatar: customTextClass
|
|
61
61
|
},
|
|
62
|
-
borderOnActive: borderOnActive
|
|
63
|
-
|
|
64
|
-
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
62
|
+
borderOnActive: borderOnActive
|
|
63
|
+
}, AvatarTeam1Props)) : /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
65
64
|
name: name,
|
|
66
65
|
src: src,
|
|
67
66
|
size: size,
|
|
@@ -70,14 +69,13 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
70
69
|
palette: palette,
|
|
71
70
|
textPalette: textPalette,
|
|
72
71
|
customClass: customTextClass,
|
|
73
|
-
borderOnActive: borderOnActive
|
|
74
|
-
|
|
75
|
-
}), teamName ? /*#__PURE__*/React.createElement("span", {
|
|
72
|
+
borderOnActive: borderOnActive
|
|
73
|
+
}, Avatar2Props)), teamName ? /*#__PURE__*/React.createElement("span", {
|
|
76
74
|
className: `${style.teamAvatar} ${teamClassName} `,
|
|
77
75
|
"data-id": "teamNameTestId",
|
|
78
76
|
"data-test-id": "teamNameTestId",
|
|
79
77
|
"data-title": needTitle ? title : undefined
|
|
80
|
-
}, /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
78
|
+
}, /*#__PURE__*/React.createElement(AvatarTeam, _extends({
|
|
81
79
|
name: teamName,
|
|
82
80
|
size: "small",
|
|
83
81
|
palette: palette,
|
|
@@ -87,9 +85,8 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
87
85
|
customClass: {
|
|
88
86
|
customAvatar: customTextClass
|
|
89
87
|
},
|
|
90
|
-
borderOnActive: teamBorderActive
|
|
91
|
-
|
|
92
|
-
})) : null);
|
|
88
|
+
borderOnActive: teamBorderActive
|
|
89
|
+
}, AvatarTeam2Props))) : null);
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React, { Component, Fragment } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -548,22 +550,21 @@ export class ToggleDropDown extends Component {
|
|
|
548
550
|
let listIndex = -1;
|
|
549
551
|
const ariaTitleId = this.getAriaId(); // const allyOptionsArr = this.getOptionsArray();
|
|
550
552
|
|
|
551
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
553
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
552
554
|
className: style.wrapper,
|
|
553
555
|
onMouseEnter: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.showTogglePopup : undefined,
|
|
554
556
|
onMouseLeave: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.hideTogglePopup : undefined,
|
|
555
|
-
"data-selector-id": dataSelectorId
|
|
556
|
-
|
|
557
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
557
|
+
"data-selector-id": dataSelectorId
|
|
558
|
+
}, ToggleDropDownProps), /*#__PURE__*/React.createElement(Container, {
|
|
558
559
|
alignBox: "row",
|
|
559
560
|
onClick: !showOnHover && !isDisabled && !isReadOnly && isEditable && this.handleTogglePopup,
|
|
560
561
|
eleRef: getTargetRef,
|
|
561
562
|
align: "vertical",
|
|
562
563
|
isCover: false,
|
|
563
564
|
dataId: dataId
|
|
564
|
-
}, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, {
|
|
565
|
+
}, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, _extends({}, componentProps, {
|
|
565
566
|
isActive: isPopupOpen
|
|
566
|
-
}) : children : /*#__PURE__*/React.createElement(RippleEffect, {
|
|
567
|
+
})) : children : /*#__PURE__*/React.createElement(RippleEffect, {
|
|
567
568
|
hoverType: hoverType,
|
|
568
569
|
isActive: isPopupOpen,
|
|
569
570
|
isNeedEffect: isEditable && isNeedEffect
|
|
@@ -601,7 +602,7 @@ export class ToggleDropDown extends Component {
|
|
|
601
602
|
let {
|
|
602
603
|
tabletMode
|
|
603
604
|
} = _ref4;
|
|
604
|
-
return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
605
|
+
return /*#__PURE__*/React.createElement(ResponsiveDropBox, _extends({
|
|
605
606
|
boxPosition: position,
|
|
606
607
|
isActive: isPopupReady,
|
|
607
608
|
onClick: removeClose,
|
|
@@ -637,12 +638,12 @@ export class ToggleDropDown extends Component {
|
|
|
637
638
|
searchValue: searchValue,
|
|
638
639
|
isFetchingOptions: isFetchingOptions
|
|
639
640
|
}
|
|
640
|
-
}
|
|
641
|
-
|
|
641
|
+
}
|
|
642
|
+
}, DropBoxProps, {
|
|
642
643
|
onClose: this.handleTogglePopup
|
|
643
|
-
}, /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
644
|
+
}), /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
644
645
|
className: style.search
|
|
645
|
-
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
646
|
+
}, /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
|
|
646
647
|
placeHolder: placeHolderText,
|
|
647
648
|
onChange: this.handleChange,
|
|
648
649
|
value: searchValue,
|
|
@@ -663,9 +664,8 @@ export class ToggleDropDown extends Component {
|
|
|
663
664
|
ariaAutocomplete: 'list',
|
|
664
665
|
ariaHaspopup: true,
|
|
665
666
|
ariaExpanded: true
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
})) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
|
|
667
|
+
}
|
|
668
|
+
}, TextBoxIconProps))) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
|
|
669
669
|
className: style.title
|
|
670
670
|
}, /*#__PURE__*/React.createElement(DropDownHeading, {
|
|
671
671
|
text: title,
|
|
@@ -716,7 +716,7 @@ export class ToggleDropDown extends Component {
|
|
|
716
716
|
isDisabled = false
|
|
717
717
|
} = item;
|
|
718
718
|
listIndex += 1;
|
|
719
|
-
return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
|
|
719
|
+
return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({
|
|
720
720
|
key: listIndex,
|
|
721
721
|
dataId: item[keyName],
|
|
722
722
|
value: item[keyName],
|
|
@@ -742,9 +742,8 @@ export class ToggleDropDown extends Component {
|
|
|
742
742
|
role: isSearch ? 'option' : 'menuitem',
|
|
743
743
|
ariaSelected: selectedId === item[idName],
|
|
744
744
|
ariaLabel: item[keyName]
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
}) : /*#__PURE__*/React.createElement(ListItem, {
|
|
745
|
+
}
|
|
746
|
+
}, ListItemWithIconProps)) : /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
748
747
|
key: listIndex,
|
|
749
748
|
dataId: item[keyName],
|
|
750
749
|
value: item[keyName],
|
|
@@ -767,9 +766,8 @@ export class ToggleDropDown extends Component {
|
|
|
767
766
|
role: isSearch ? 'option' : 'menuitem',
|
|
768
767
|
ariaSelected: selectedId === item[idName],
|
|
769
768
|
ariaLabel: item[keyName]
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
});
|
|
769
|
+
}
|
|
770
|
+
}, ListItemProps));
|
|
773
771
|
}));
|
|
774
772
|
}), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
|
|
775
773
|
isCover: false,
|
|
@@ -793,7 +791,7 @@ export class ToggleDropDown extends Component {
|
|
|
793
791
|
key: i
|
|
794
792
|
}, needDivider ? /*#__PURE__*/React.createElement("div", {
|
|
795
793
|
className: style.seperatedLine
|
|
796
|
-
}) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
|
|
794
|
+
}) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({
|
|
797
795
|
dataId: item[keyName],
|
|
798
796
|
value: item[keyName],
|
|
799
797
|
id: item[idName],
|
|
@@ -819,9 +817,8 @@ export class ToggleDropDown extends Component {
|
|
|
819
817
|
role: isSearch ? 'option' : 'menuitem',
|
|
820
818
|
ariaSelected: selectedId === item[idName],
|
|
821
819
|
ariaLabel: item[keyName]
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
}) : /*#__PURE__*/React.createElement(ListItem, {
|
|
820
|
+
}
|
|
821
|
+
}, ListItemWithIconProps)) : /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
825
822
|
key: listIndex,
|
|
826
823
|
dataId: item[keyName],
|
|
827
824
|
value: item[keyName],
|
|
@@ -844,9 +841,8 @@ export class ToggleDropDown extends Component {
|
|
|
844
841
|
role: isSearch ? 'option' : 'menuitem',
|
|
845
842
|
ariaSelected: selectedId === item[idName],
|
|
846
843
|
ariaLabel: item[keyName]
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
}));
|
|
844
|
+
}
|
|
845
|
+
}, ListItemProps)));
|
|
850
846
|
}), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
|
|
851
847
|
isCover: false,
|
|
852
848
|
align: "both"
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--titleColor: var(--zdt_commonEmptyState_default_title);
|
|
3
|
-
--descriptionColor: var(--zdt_commonEmptyState_default_description);
|
|
4
|
-
--linkColor: var(--zdt_commonEmptyState_default_link);
|
|
5
|
-
--linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
|
|
6
|
-
}
|
|
7
|
-
.container {
|
|
8
|
-
composes: varClass;
|
|
9
|
-
text-align: center;
|
|
10
|
-
}
|
|
11
|
-
[dir=ltr] .container {
|
|
12
|
-
margin-left: auto ;
|
|
13
|
-
margin-right: auto ;
|
|
14
|
-
}
|
|
15
|
-
[dir=rtl] .container {
|
|
16
|
-
margin-right: auto ;
|
|
17
|
-
margin-left: auto ;
|
|
18
|
-
}
|
|
19
|
-
.fluid {
|
|
20
|
-
max-width: var(--zd_size430) ;
|
|
21
|
-
}
|
|
22
|
-
.title {
|
|
23
|
-
font-family: var(--zd_semibold);
|
|
24
|
-
color: var(--titleColor);
|
|
25
|
-
word-wrap: break-word;
|
|
26
|
-
}
|
|
27
|
-
.small .title {
|
|
28
|
-
font-size: var(--zd_font_size16) ;
|
|
29
|
-
}
|
|
30
|
-
.medium .title {
|
|
31
|
-
font-size: var(--zd_font_size20) ;
|
|
32
|
-
}
|
|
33
|
-
.linkWrapper,
|
|
34
|
-
.linkDescWrapper {
|
|
35
|
-
color: var(--descriptionColor);
|
|
36
|
-
}
|
|
37
|
-
.small .linkWrapper,
|
|
38
|
-
.small .linkDescWrapper {
|
|
39
|
-
font-size: var(--zd_font_size12) ;
|
|
40
|
-
}
|
|
41
|
-
.medium .linkWrapper,
|
|
42
|
-
.medium .linkDescWrapper {
|
|
43
|
-
font-size: var(--zd_font_size14) ;
|
|
44
|
-
}
|
|
45
|
-
.medium .linkWrapper {
|
|
46
|
-
margin-top: var(--zd_size18) ;
|
|
47
|
-
}
|
|
48
|
-
.small .linkWrapper {
|
|
49
|
-
margin-top: var(--zd_size12) ;
|
|
50
|
-
}
|
|
51
|
-
.linkDescWrapper {
|
|
52
|
-
margin-top: var(--zd_size20) ;
|
|
53
|
-
}
|
|
54
|
-
.desc{
|
|
55
|
-
word-wrap: break-word;
|
|
56
|
-
}
|
|
57
|
-
[dir=ltr] .linkDesc, [dir=ltr] .desc {
|
|
58
|
-
margin-right: var(--zd_size4) ;
|
|
59
|
-
}
|
|
60
|
-
[dir=rtl] .linkDesc, [dir=rtl] .desc {
|
|
61
|
-
margin-left: var(--zd_size4) ;
|
|
62
|
-
}
|
|
63
|
-
.small .desc {
|
|
64
|
-
line-height: 1.584;
|
|
65
|
-
}
|
|
66
|
-
.medium .desc {
|
|
67
|
-
line-height: 1.358;
|
|
68
|
-
}
|
|
69
|
-
.link {
|
|
70
|
-
color: var(--linkColor);
|
|
71
|
-
display: inline-block;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
}
|
|
74
|
-
.link:hover {
|
|
75
|
-
color: var(--linkHoverColor);
|
|
76
|
-
}
|
|
77
|
-
.children {
|
|
78
|
-
margin-top: var(--zd_size15) ;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.default {
|
|
82
|
-
--titleColor: var(--zdt_commonEmptyState_default_title);
|
|
83
|
-
--linkColor: var(--zdt_commonEmptyState_default_link);
|
|
84
|
-
--linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
|
|
85
|
-
--descriptionColor: var(--zdt_commonEmptyState_default_description);
|
|
86
|
-
}
|
|
87
|
-
.dark {
|
|
88
|
-
--titleColor: var(--zdt_commonEmptyState_dark_title);
|
|
89
|
-
--linkColor: var(--zdt_commonEmptyState_dark_link);
|
|
90
|
-
--linkHoverColor: var(--zdt_commonEmptyState_dark_link_hover);
|
|
91
|
-
--descriptionColor: var(--zdt_commonEmptyState_dark_description);
|
|
92
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
--titleColor: var(--zdt_commonEmptyState_default_title);
|
|
3
|
+
--descriptionColor: var(--zdt_commonEmptyState_default_description);
|
|
4
|
+
--linkColor: var(--zdt_commonEmptyState_default_link);
|
|
5
|
+
--linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
|
|
6
|
+
}
|
|
7
|
+
.container {
|
|
8
|
+
composes: varClass;
|
|
9
|
+
text-align: center;
|
|
10
|
+
}
|
|
11
|
+
[dir=ltr] .container {
|
|
12
|
+
margin-left: auto ;
|
|
13
|
+
margin-right: auto ;
|
|
14
|
+
}
|
|
15
|
+
[dir=rtl] .container {
|
|
16
|
+
margin-right: auto ;
|
|
17
|
+
margin-left: auto ;
|
|
18
|
+
}
|
|
19
|
+
.fluid {
|
|
20
|
+
max-width: var(--zd_size430) ;
|
|
21
|
+
}
|
|
22
|
+
.title {
|
|
23
|
+
font-family: var(--zd_semibold);
|
|
24
|
+
color: var(--titleColor);
|
|
25
|
+
word-wrap: break-word;
|
|
26
|
+
}
|
|
27
|
+
.small .title {
|
|
28
|
+
font-size: var(--zd_font_size16) ;
|
|
29
|
+
}
|
|
30
|
+
.medium .title {
|
|
31
|
+
font-size: var(--zd_font_size20) ;
|
|
32
|
+
}
|
|
33
|
+
.linkWrapper,
|
|
34
|
+
.linkDescWrapper {
|
|
35
|
+
color: var(--descriptionColor);
|
|
36
|
+
}
|
|
37
|
+
.small .linkWrapper,
|
|
38
|
+
.small .linkDescWrapper {
|
|
39
|
+
font-size: var(--zd_font_size12) ;
|
|
40
|
+
}
|
|
41
|
+
.medium .linkWrapper,
|
|
42
|
+
.medium .linkDescWrapper {
|
|
43
|
+
font-size: var(--zd_font_size14) ;
|
|
44
|
+
}
|
|
45
|
+
.medium .linkWrapper {
|
|
46
|
+
margin-top: var(--zd_size18) ;
|
|
47
|
+
}
|
|
48
|
+
.small .linkWrapper {
|
|
49
|
+
margin-top: var(--zd_size12) ;
|
|
50
|
+
}
|
|
51
|
+
.linkDescWrapper {
|
|
52
|
+
margin-top: var(--zd_size20) ;
|
|
53
|
+
}
|
|
54
|
+
.desc{
|
|
55
|
+
word-wrap: break-word;
|
|
56
|
+
}
|
|
57
|
+
[dir=ltr] .linkDesc, [dir=ltr] .desc {
|
|
58
|
+
margin-right: var(--zd_size4) ;
|
|
59
|
+
}
|
|
60
|
+
[dir=rtl] .linkDesc, [dir=rtl] .desc {
|
|
61
|
+
margin-left: var(--zd_size4) ;
|
|
62
|
+
}
|
|
63
|
+
.small .desc {
|
|
64
|
+
line-height: 1.584;
|
|
65
|
+
}
|
|
66
|
+
.medium .desc {
|
|
67
|
+
line-height: 1.358;
|
|
68
|
+
}
|
|
69
|
+
.link {
|
|
70
|
+
color: var(--linkColor);
|
|
71
|
+
display: inline-block;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
}
|
|
74
|
+
.link:hover {
|
|
75
|
+
color: var(--linkHoverColor);
|
|
76
|
+
}
|
|
77
|
+
.children {
|
|
78
|
+
margin-top: var(--zd_size15) ;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.default {
|
|
82
|
+
--titleColor: var(--zdt_commonEmptyState_default_title);
|
|
83
|
+
--linkColor: var(--zdt_commonEmptyState_default_link);
|
|
84
|
+
--linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
|
|
85
|
+
--descriptionColor: var(--zdt_commonEmptyState_default_description);
|
|
86
|
+
}
|
|
87
|
+
.dark {
|
|
88
|
+
--titleColor: var(--zdt_commonEmptyState_dark_title);
|
|
89
|
+
--linkColor: var(--zdt_commonEmptyState_dark_link);
|
|
90
|
+
--linkHoverColor: var(--zdt_commonEmptyState_dark_link_hover);
|
|
91
|
+
--descriptionColor: var(--zdt_commonEmptyState_dark_description);
|
|
92
|
+
}
|