@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,101 +1,101 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--footerBg: var(--zdt_formAction_bg);
|
|
3
|
-
--footerBorder: var(--zdt_formAction_border);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.wrapperDiv {
|
|
7
|
-
position: relative;
|
|
8
|
-
z-index: 1;
|
|
9
|
-
composes: varClass;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.footerParent {
|
|
13
|
-
position: relative;
|
|
14
|
-
/* css:theme-validation:ignore */
|
|
15
|
-
/* css:theme-validation:ignore */
|
|
16
|
-
background-color: var(--footerBg);
|
|
17
|
-
border-top: solid 1px var(--footerBorder);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.largeFooter {
|
|
21
|
-
padding-top: var(--zd_size24) ;
|
|
22
|
-
padding-bottom: var(--zd_size24) ;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.mediumFooter {
|
|
26
|
-
padding-top: var(--zd_size20) ;
|
|
27
|
-
padding-bottom: var(--zd_size20) ;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.smallFooter {
|
|
31
|
-
padding-top: var(--zd_size10) ;
|
|
32
|
-
padding-bottom: var(--zd_size10) ;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
[dir=ltr] .largePadding {
|
|
36
|
-
padding-left: var(--zd_size60) ;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
[dir=rtl] .largePadding {
|
|
40
|
-
padding-right: var(--zd_size60) ;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
[dir=ltr] .mediumPadding {
|
|
44
|
-
padding-left: var(--zd_size50) ;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
[dir=rtl] .mediumPadding {
|
|
48
|
-
padding-right: var(--zd_size50) ;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
[dir=ltr] .xmediumPadding {
|
|
52
|
-
padding-left: var(--zd_size30) ;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
[dir=rtl] .xmediumPadding {
|
|
56
|
-
padding-right: var(--zd_size30) ;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
[dir=ltr] .smallPadding {
|
|
60
|
-
padding-left: var(--zd_size25) ;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
[dir=rtl] .smallPadding {
|
|
64
|
-
padding-right: var(--zd_size25) ;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
[dir=ltr] .xsmallPadding {
|
|
68
|
-
padding-left: var(--zd_size20) ;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
[dir=rtl] .xsmallPadding {
|
|
72
|
-
padding-right: var(--zd_size20) ;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.marginRight {
|
|
76
|
-
composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
[dir=ltr] .largeFooter .marginRight, [dir=ltr] .mediumFooter .marginRight {
|
|
80
|
-
margin-right: var(--zd_size15) ;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
[dir=rtl] .largeFooter .marginRight, [dir=rtl] .mediumFooter .marginRight {
|
|
84
|
-
margin-left: var(--zd_size15) ;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
[dir=ltr] .smallFooter .marginRight {
|
|
88
|
-
margin-right: var(--zd_size12) ;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
[dir=rtl] .smallFooter .marginRight {
|
|
92
|
-
margin-left: var(--zd_size12) ;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
[dir=ltr] .marginRight:last-child {
|
|
96
|
-
margin-right: 0 ;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
[dir=rtl] .marginRight:last-child {
|
|
100
|
-
margin-left: 0 ;
|
|
1
|
+
.varClass {
|
|
2
|
+
--footerBg: var(--zdt_formAction_bg);
|
|
3
|
+
--footerBorder: var(--zdt_formAction_border);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.wrapperDiv {
|
|
7
|
+
position: relative;
|
|
8
|
+
z-index: 1;
|
|
9
|
+
composes: varClass;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.footerParent {
|
|
13
|
+
position: relative;
|
|
14
|
+
/* css:theme-validation:ignore */
|
|
15
|
+
/* css:theme-validation:ignore */
|
|
16
|
+
background-color: var(--footerBg);
|
|
17
|
+
border-top: solid 1px var(--footerBorder);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.largeFooter {
|
|
21
|
+
padding-top: var(--zd_size24) ;
|
|
22
|
+
padding-bottom: var(--zd_size24) ;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mediumFooter {
|
|
26
|
+
padding-top: var(--zd_size20) ;
|
|
27
|
+
padding-bottom: var(--zd_size20) ;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.smallFooter {
|
|
31
|
+
padding-top: var(--zd_size10) ;
|
|
32
|
+
padding-bottom: var(--zd_size10) ;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[dir=ltr] .largePadding {
|
|
36
|
+
padding-left: var(--zd_size60) ;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[dir=rtl] .largePadding {
|
|
40
|
+
padding-right: var(--zd_size60) ;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[dir=ltr] .mediumPadding {
|
|
44
|
+
padding-left: var(--zd_size50) ;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[dir=rtl] .mediumPadding {
|
|
48
|
+
padding-right: var(--zd_size50) ;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[dir=ltr] .xmediumPadding {
|
|
52
|
+
padding-left: var(--zd_size30) ;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[dir=rtl] .xmediumPadding {
|
|
56
|
+
padding-right: var(--zd_size30) ;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[dir=ltr] .smallPadding {
|
|
60
|
+
padding-left: var(--zd_size25) ;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[dir=rtl] .smallPadding {
|
|
64
|
+
padding-right: var(--zd_size25) ;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[dir=ltr] .xsmallPadding {
|
|
68
|
+
padding-left: var(--zd_size20) ;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[dir=rtl] .xsmallPadding {
|
|
72
|
+
padding-right: var(--zd_size20) ;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.marginRight {
|
|
76
|
+
composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[dir=ltr] .largeFooter .marginRight, [dir=ltr] .mediumFooter .marginRight {
|
|
80
|
+
margin-right: var(--zd_size15) ;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[dir=rtl] .largeFooter .marginRight, [dir=rtl] .mediumFooter .marginRight {
|
|
84
|
+
margin-left: var(--zd_size15) ;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[dir=ltr] .smallFooter .marginRight {
|
|
88
|
+
margin-right: var(--zd_size12) ;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[dir=rtl] .smallFooter .marginRight {
|
|
92
|
+
margin-left: var(--zd_size12) ;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[dir=ltr] .marginRight:last-child {
|
|
96
|
+
margin-right: 0 ;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[dir=rtl] .marginRight:last-child {
|
|
100
|
+
margin-left: 0 ;
|
|
101
101
|
}
|
|
@@ -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';
|
|
@@ -105,7 +107,7 @@ export default class IconButton extends React.Component {
|
|
|
105
107
|
hoverType: hoverType,
|
|
106
108
|
isDisabled: isDisabled,
|
|
107
109
|
isNeedEffect: isNeedEffect
|
|
108
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
110
|
+
}, /*#__PURE__*/React.createElement(Container, _extends({
|
|
109
111
|
"aria-label": ariaLabel,
|
|
110
112
|
"aria-haspopup": ariaHaspopup,
|
|
111
113
|
"aria-expanded": ariaExpanded,
|
|
@@ -129,9 +131,8 @@ export default class IconButton extends React.Component {
|
|
|
129
131
|
onKeyDown: this.handleToggle,
|
|
130
132
|
onFocus: this.triggerMouseOver,
|
|
131
133
|
onBlur: this.onBlur,
|
|
132
|
-
disabled: isDisabled
|
|
133
|
-
|
|
134
|
-
}, iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
134
|
+
disabled: isDisabled
|
|
135
|
+
}, customProps), iconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
135
136
|
isBold: isBold,
|
|
136
137
|
size: iconSize,
|
|
137
138
|
name: iconName,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
|
-
}
|
|
4
|
-
.wrapper {
|
|
5
|
-
height: var(--zd_size28) ;
|
|
6
|
-
width: var(--zd_size28) ;
|
|
7
|
-
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
8
|
-
composes: varClass;
|
|
9
|
-
color: var(--iconColor);
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
.primary {
|
|
13
|
-
--iconColor: var(--zdt_iconButton_icon_primary);
|
|
14
|
-
}
|
|
15
|
-
.primary:hover {
|
|
16
|
-
--iconColor: var(--zdt_iconButton_icon_primaryHover);
|
|
17
|
-
}
|
|
18
|
-
.primary_active,
|
|
19
|
-
.primaryFilled,
|
|
20
|
-
.primaryFilled_active {
|
|
21
|
-
--iconColor: var(--zdt_iconButton_icon_primaryActive);
|
|
22
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
|
+
}
|
|
4
|
+
.wrapper {
|
|
5
|
+
height: var(--zd_size28) ;
|
|
6
|
+
width: var(--zd_size28) ;
|
|
7
|
+
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
8
|
+
composes: varClass;
|
|
9
|
+
color: var(--iconColor);
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
.primary {
|
|
13
|
+
--iconColor: var(--zdt_iconButton_icon_primary);
|
|
14
|
+
}
|
|
15
|
+
.primary:hover {
|
|
16
|
+
--iconColor: var(--zdt_iconButton_icon_primaryHover);
|
|
17
|
+
}
|
|
18
|
+
.primary_active,
|
|
19
|
+
.primaryFilled,
|
|
20
|
+
.primaryFilled_active {
|
|
21
|
+
--iconColor: var(--zdt_iconButton_icon_primaryActive);
|
|
22
|
+
}
|
package/es/Link/Link.js
CHANGED
|
@@ -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';
|
|
@@ -78,20 +80,20 @@ export default class Link extends React.Component {
|
|
|
78
80
|
return res;
|
|
79
81
|
}, {}); //urlOutput = this.addHttp(urlOutput);
|
|
80
82
|
|
|
81
|
-
return /*#__PURE__*/React.createElement("a", {
|
|
83
|
+
return /*#__PURE__*/React.createElement("a", _extends({
|
|
82
84
|
href: isLink && urlOutput ? urlOutput : 'javascript:void(0);',
|
|
83
85
|
target: target,
|
|
84
86
|
"data-title": title,
|
|
85
|
-
className: `${style.container} ${className ? className : ''}
|
|
86
|
-
|
|
87
|
+
className: `${style.container} ${className ? className : ''}`
|
|
88
|
+
}, option, {
|
|
87
89
|
rel: rel,
|
|
88
90
|
"data-id": dataId,
|
|
89
|
-
"data-test-id": dataId
|
|
90
|
-
|
|
91
|
-
onClick: this.onCallBack.bind(this, urlOutput, href)
|
|
92
|
-
|
|
91
|
+
"data-test-id": dataId
|
|
92
|
+
}, others, {
|
|
93
|
+
onClick: this.onCallBack.bind(this, urlOutput, href)
|
|
94
|
+
}, customProps, {
|
|
93
95
|
"aria-label": ariaLabel
|
|
94
|
-
}, children);
|
|
96
|
+
}), children);
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
}
|
package/es/Message/Message.js
CHANGED
|
@@ -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, MessageUI_propTypes, MessageNew_propTypes } from './props/propTypes';
|
|
@@ -41,8 +43,7 @@ export default class Message extends React.Component {
|
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
render() {
|
|
44
|
-
return /*#__PURE__*/React.createElement(MessageUI,
|
|
45
|
-
});
|
|
46
|
+
return /*#__PURE__*/React.createElement(MessageUI, this.props);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
}
|
|
@@ -110,8 +111,8 @@ export function MessageUI(props) {
|
|
|
110
111
|
}
|
|
111
112
|
MessageUI.propTypes = MessageUI_propTypes;
|
|
112
113
|
export function MessageNew(props) {
|
|
113
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
114
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
114
115
|
Element: MessageUI
|
|
115
|
-
});
|
|
116
|
+
}));
|
|
116
117
|
}
|
|
117
118
|
MessageNew.propTypes = MessageNew_propTypes;
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--tag_bg_color: var(--zdt_tagWithIconGrey_bg);
|
|
3
|
-
--tag_text_color: var(--zdt_tagWithIconGrey_text);
|
|
4
|
-
--tag_border_color: var(--zdt_tagWithIconGrey_border);
|
|
5
|
-
--tag_small_fontSize: var(--zd_font_size10);
|
|
6
|
-
--tag_large_fontSize: var(--zd_font_size12);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.wrapper {
|
|
10
|
-
composes: varClass;
|
|
11
|
-
color: var(--tag_text_color);
|
|
12
|
-
background-color: var(--tag_bg_color);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.small,
|
|
16
|
-
.large {
|
|
17
|
-
max-width: 100% ;
|
|
18
|
-
height: var(--zd_size18) ;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.small, .large {
|
|
22
|
-
border: 1px solid var(--tag_border_color);
|
|
23
|
-
border-radius: var(--zd_size4);
|
|
24
|
-
padding: 0 var(--zd_size6) ;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.bold {
|
|
28
|
-
composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.small_text {
|
|
32
|
-
font-size: var(--tag_small_fontSize);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.large_text {
|
|
36
|
-
font-size: var(--tag_large_fontSize);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.text {
|
|
40
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
[dir=ltr] .iconSpace {
|
|
44
|
-
margin-right: var(--zd_size4) ;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
[dir=rtl] .iconSpace {
|
|
48
|
-
margin-left: var(--zd_size4) ;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.yellow {
|
|
52
|
-
--tag_bg_color: var(--zdt_tagWithIconYellow_bg);
|
|
53
|
-
--tag_text_color: var(--zdt_tagWithIconYellow_text);
|
|
54
|
-
--tag_border_color: var(--zdt_tagWithIconYellow_border);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.grey {
|
|
58
|
-
--tag_bg_color: var(--zdt_tagWithIconGrey_bg);
|
|
59
|
-
--tag_text_color: var(--zdt_tagWithIconGrey_text);
|
|
60
|
-
--tag_border_color: var(--zdt_tagWithIconGrey_border);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.blue {
|
|
64
|
-
--tag_bg_color: var(--zdt_tagWithIconBlue_bg);
|
|
65
|
-
--tag_text_color: var(--zdt_tagWithIconBlue_text);
|
|
66
|
-
--tag_border_color: var(--zdt_tagWithIconBlue_border);
|
|
1
|
+
.varClass {
|
|
2
|
+
--tag_bg_color: var(--zdt_tagWithIconGrey_bg);
|
|
3
|
+
--tag_text_color: var(--zdt_tagWithIconGrey_text);
|
|
4
|
+
--tag_border_color: var(--zdt_tagWithIconGrey_border);
|
|
5
|
+
--tag_small_fontSize: var(--zd_font_size10);
|
|
6
|
+
--tag_large_fontSize: var(--zd_font_size12);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.wrapper {
|
|
10
|
+
composes: varClass;
|
|
11
|
+
color: var(--tag_text_color);
|
|
12
|
+
background-color: var(--tag_bg_color);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.small,
|
|
16
|
+
.large {
|
|
17
|
+
max-width: 100% ;
|
|
18
|
+
height: var(--zd_size18) ;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.small, .large {
|
|
22
|
+
border: 1px solid var(--tag_border_color);
|
|
23
|
+
border-radius: var(--zd_size4);
|
|
24
|
+
padding: 0 var(--zd_size6) ;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.bold {
|
|
28
|
+
composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.small_text {
|
|
32
|
+
font-size: var(--tag_small_fontSize);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.large_text {
|
|
36
|
+
font-size: var(--tag_large_fontSize);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.text {
|
|
40
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[dir=ltr] .iconSpace {
|
|
44
|
+
margin-right: var(--zd_size4) ;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[dir=rtl] .iconSpace {
|
|
48
|
+
margin-left: var(--zd_size4) ;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.yellow {
|
|
52
|
+
--tag_bg_color: var(--zdt_tagWithIconYellow_bg);
|
|
53
|
+
--tag_text_color: var(--zdt_tagWithIconYellow_text);
|
|
54
|
+
--tag_border_color: var(--zdt_tagWithIconYellow_border);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.grey {
|
|
58
|
+
--tag_bg_color: var(--zdt_tagWithIconGrey_bg);
|
|
59
|
+
--tag_text_color: var(--zdt_tagWithIconGrey_text);
|
|
60
|
+
--tag_border_color: var(--zdt_tagWithIconGrey_border);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.blue {
|
|
64
|
+
--tag_bg_color: var(--zdt_tagWithIconBlue_bg);
|
|
65
|
+
--tag_text_color: var(--zdt_tagWithIconBlue_text);
|
|
66
|
+
--tag_border_color: var(--zdt_tagWithIconBlue_border);
|
|
67
67
|
}
|
|
@@ -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, { useState } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes'; //components
|
|
@@ -189,9 +191,9 @@ function ToastMessageUI(props) {
|
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
export default function ToastMessage(props) {
|
|
192
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
194
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
193
195
|
Element: ToastMessageUI
|
|
194
|
-
});
|
|
196
|
+
}));
|
|
195
197
|
}
|
|
196
198
|
ToastMessage.propTypes = propTypes;
|
|
197
199
|
ToastMessage.defaultProps = defaultProps; // if (__DOCS__) {
|
package/es/actions/AutoClose.js
CHANGED
|
@@ -37,8 +37,7 @@ export default function AutoClose(props) {
|
|
|
37
37
|
isClose,
|
|
38
38
|
onClose
|
|
39
39
|
});
|
|
40
|
-
return /*#__PURE__*/React.createElement(Element,
|
|
41
|
-
});
|
|
40
|
+
return /*#__PURE__*/React.createElement(Element, newProps);
|
|
42
41
|
}
|
|
43
42
|
AutoClose.propTypes = propTypes;
|
|
44
43
|
AutoClose.defaultProps = defaultProps;
|
|
@@ -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, { Component } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -49,7 +51,7 @@ export default class AlertLookup extends Component {
|
|
|
49
51
|
PrimaryButtonProps = {},
|
|
50
52
|
SecondaryButtonProps = {}
|
|
51
53
|
} = customProps;
|
|
52
|
-
return /*#__PURE__*/React.createElement(Lookup, {
|
|
54
|
+
return /*#__PURE__*/React.createElement(Lookup, _extends({
|
|
53
55
|
needFocusScope: true,
|
|
54
56
|
onClose: onEsc == 'close' ? onClose : onCancelClick,
|
|
55
57
|
isActive: isActive,
|
|
@@ -57,9 +59,8 @@ export default class AlertLookup extends Component {
|
|
|
57
59
|
dataId: dataId,
|
|
58
60
|
forwardRef: forwardRef,
|
|
59
61
|
onClick: onLookupClick,
|
|
60
|
-
customClass: customClass
|
|
61
|
-
|
|
62
|
-
}, /*#__PURE__*/React.createElement(AlertHeader, {
|
|
62
|
+
customClass: customClass
|
|
63
|
+
}, LookupProps), /*#__PURE__*/React.createElement(AlertHeader, _extends({
|
|
63
64
|
title: title,
|
|
64
65
|
palette: palette,
|
|
65
66
|
iconType: type,
|
|
@@ -68,9 +69,8 @@ export default class AlertLookup extends Component {
|
|
|
68
69
|
breakChildren: wrapHeader,
|
|
69
70
|
iconName: iconName,
|
|
70
71
|
iconClass: iconClass,
|
|
71
|
-
iconSize: iconSize
|
|
72
|
-
|
|
73
|
-
}, headerChildren ? headerChildren() : null), /*#__PURE__*/React.createElement(Section, {
|
|
72
|
+
iconSize: iconSize
|
|
73
|
+
}, AlertHeaderProps), headerChildren ? headerChildren() : null), /*#__PURE__*/React.createElement(Section, {
|
|
74
74
|
alignBox: "row",
|
|
75
75
|
className: style.section
|
|
76
76
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -84,19 +84,17 @@ export default class AlertLookup extends Component {
|
|
|
84
84
|
}, confirmationMessage))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/React.createElement(FormAction, {
|
|
85
85
|
size: "small",
|
|
86
86
|
paddingLeftSize: "xsmall"
|
|
87
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
87
|
+
}, /*#__PURE__*/React.createElement(Button, _extends({
|
|
88
88
|
text: submitText,
|
|
89
89
|
dataId: dataId === 'alertPopup' ? 'alertConfirmButton' : `${dataId}_confirmButton`,
|
|
90
90
|
onClick: onSubmitClick,
|
|
91
|
-
palette: palette === 'primary' ? 'primaryFilled' : 'dangerFilled'
|
|
92
|
-
|
|
93
|
-
}), cancelText && /*#__PURE__*/React.createElement(Button, {
|
|
91
|
+
palette: palette === 'primary' ? 'primaryFilled' : 'dangerFilled'
|
|
92
|
+
}, PrimaryButtonProps)), cancelText && /*#__PURE__*/React.createElement(Button, _extends({
|
|
94
93
|
dataId: dataId === 'alertPopup' ? 'alertCancelButton' : `${dataId}_cancelButton`,
|
|
95
94
|
text: cancelText,
|
|
96
95
|
onClick: onCancelClick,
|
|
97
|
-
palette: "secondary"
|
|
98
|
-
|
|
99
|
-
})) : null));
|
|
96
|
+
palette: "secondary"
|
|
97
|
+
}, SecondaryButtonProps))) : null));
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
}
|
|
@@ -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';
|
|
@@ -24,17 +26,15 @@ export default class AvatarClose extends React.Component {
|
|
|
24
26
|
AvatarCloseProps = {},
|
|
25
27
|
AvatarProps = {}
|
|
26
28
|
} = customProps;
|
|
27
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
28
30
|
className: style.container,
|
|
29
|
-
"data-selector-id": dataSelectorId
|
|
30
|
-
|
|
31
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
31
|
+
"data-selector-id": dataSelectorId
|
|
32
|
+
}, AvatarCloseProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
32
33
|
src: src,
|
|
33
34
|
name: name,
|
|
34
35
|
title: title,
|
|
35
|
-
size: size
|
|
36
|
-
|
|
37
|
-
}), isClose && /*#__PURE__*/React.createElement("span", {
|
|
36
|
+
size: size
|
|
37
|
+
}, AvatarProps)), isClose && /*#__PURE__*/React.createElement("span", {
|
|
38
38
|
className: style.pop,
|
|
39
39
|
onClick: onClick
|
|
40
40
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -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';
|
|
@@ -27,23 +29,21 @@ export default class AvatarCollision extends React.Component {
|
|
|
27
29
|
AvatarCollisionProps = {},
|
|
28
30
|
AvatarProps = {}
|
|
29
31
|
} = customProps;
|
|
30
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
31
33
|
className: `${style.container} ${isLeft ? style.off : isIdle ? style.idle : style.on}`,
|
|
32
34
|
onClick: onClick,
|
|
33
35
|
"data-id": "collsionPop",
|
|
34
36
|
"data-test-id": "collsionPop",
|
|
35
37
|
"data-title": title,
|
|
36
|
-
"data-selector-id": dataSelectorId
|
|
37
|
-
|
|
38
|
-
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
38
|
+
"data-selector-id": dataSelectorId
|
|
39
|
+
}, AvatarCollisionProps), /*#__PURE__*/React.createElement(Avatar, _extends({
|
|
39
40
|
src: src,
|
|
40
41
|
name: name,
|
|
41
42
|
size: size,
|
|
42
43
|
palette: "default",
|
|
43
44
|
needTitle: false,
|
|
44
|
-
initial: initial
|
|
45
|
-
|
|
46
|
-
}), needCreateChat && !isLeft && /*#__PURE__*/React.createElement("span", {
|
|
45
|
+
initial: initial
|
|
46
|
+
}, AvatarProps)), needCreateChat && !isLeft && /*#__PURE__*/React.createElement("span", {
|
|
47
47
|
className: style.pop,
|
|
48
48
|
"data-title": title
|
|
49
49
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -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';
|
|
@@ -28,7 +30,7 @@ export default class AvatarIcon extends React.Component {
|
|
|
28
30
|
AvatarIconProps = {}
|
|
29
31
|
} = customProps;
|
|
30
32
|
let border = borderOnHover || onClick;
|
|
31
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
33
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
32
34
|
className: `${style.container} ${borderOnActive ? style.borderOnActive : border ? style.borderOnHover : ''} ${AvatarSize(size)} ${style[palette]} ${className}`,
|
|
33
35
|
onClick: onClick,
|
|
34
36
|
dataId: dataId,
|
|
@@ -36,9 +38,8 @@ export default class AvatarIcon extends React.Component {
|
|
|
36
38
|
isInline: true,
|
|
37
39
|
align: "both",
|
|
38
40
|
isCover: false,
|
|
39
|
-
dataSelectorId: dataSelectorId
|
|
40
|
-
|
|
41
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
41
|
+
dataSelectorId: dataSelectorId
|
|
42
|
+
}, AvatarIconProps), /*#__PURE__*/React.createElement(Icon, {
|
|
42
43
|
name: name,
|
|
43
44
|
size: iconSize,
|
|
44
45
|
iconClass: ` ${iconClass} ${style.iconColor} ${iconColor ? ` ${style[`icon_${iconColor}`]}` : ''} `,
|