@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,80 +1,80 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--listBorder: var(--zdt_listLayout_border)
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.container {
|
|
6
|
-
position: relative;
|
|
7
|
-
composes: varClass;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
11
|
-
background-color: var(--zdt_listLayout_hover_bg);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.active, .active:hover {
|
|
15
|
-
background-color: var(--zdt_listLayout_active_bg);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cursorPointer {
|
|
19
|
-
cursor: pointer
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* View */
|
|
23
|
-
.classic .innerContainer {
|
|
24
|
-
min-height: var(--zd_size70) ;
|
|
25
|
-
padding: var(--zd_size13) 0 ;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.compact .innerContainer {
|
|
29
|
-
min-height: var(--zd_size41) ;
|
|
30
|
-
padding: var(--zd_size5) 0 ;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.superCompact .innerContainer {
|
|
34
|
-
min-height: var(--zd_size35) ;
|
|
35
|
-
padding: var(--zd_size2) 0 ;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.compact .innerContainer,
|
|
39
|
-
.classic .innerContainer,
|
|
40
|
-
.superCompact .innerContainer {
|
|
41
|
-
/* css:theme-validation:ignore */
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
45
|
-
border-bottom: 1px dotted var(--listBorder);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
49
|
-
border-left: var(--zd_size2) solid transparent;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
53
|
-
border-right: var(--zd_size2) solid transparent;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
57
|
-
border-top-left-radius: var(--zd_size5);
|
|
58
|
-
border-bottom-left-radius: var(--zd_size5);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
62
|
-
border-top-right-radius: var(--zd_size5);
|
|
63
|
-
border-bottom-right-radius: var(--zd_size5);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[dir=ltr] .keyboardActive {
|
|
67
|
-
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
[dir=rtl] .keyboardActive {
|
|
71
|
-
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
[dir=ltr] .active {
|
|
75
|
-
border-left-color: var(--zdt_listLayout_active_border);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[dir=rtl] .active {
|
|
79
|
-
border-right-color: var(--zdt_listLayout_active_border);
|
|
1
|
+
.varClass {
|
|
2
|
+
--listBorder: var(--zdt_listLayout_border)
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.container {
|
|
6
|
+
position: relative;
|
|
7
|
+
composes: varClass;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
11
|
+
background-color: var(--zdt_listLayout_hover_bg);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.active, .active:hover {
|
|
15
|
+
background-color: var(--zdt_listLayout_active_bg);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.cursorPointer {
|
|
19
|
+
cursor: pointer
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* View */
|
|
23
|
+
.classic .innerContainer {
|
|
24
|
+
min-height: var(--zd_size70) ;
|
|
25
|
+
padding: var(--zd_size13) 0 ;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.compact .innerContainer {
|
|
29
|
+
min-height: var(--zd_size41) ;
|
|
30
|
+
padding: var(--zd_size5) 0 ;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.superCompact .innerContainer {
|
|
34
|
+
min-height: var(--zd_size35) ;
|
|
35
|
+
padding: var(--zd_size2) 0 ;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.compact .innerContainer,
|
|
39
|
+
.classic .innerContainer,
|
|
40
|
+
.superCompact .innerContainer {
|
|
41
|
+
/* css:theme-validation:ignore */
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
45
|
+
border-bottom: 1px dotted var(--listBorder);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
49
|
+
border-left: var(--zd_size2) solid transparent;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
53
|
+
border-right: var(--zd_size2) solid transparent;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
57
|
+
border-top-left-radius: var(--zd_size5);
|
|
58
|
+
border-bottom-left-radius: var(--zd_size5);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
62
|
+
border-top-right-radius: var(--zd_size5);
|
|
63
|
+
border-bottom-right-radius: var(--zd_size5);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[dir=ltr] .keyboardActive {
|
|
67
|
+
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[dir=rtl] .keyboardActive {
|
|
71
|
+
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[dir=ltr] .active {
|
|
75
|
+
border-left-color: var(--zdt_listLayout_active_border);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[dir=rtl] .active {
|
|
79
|
+
border-right-color: var(--zdt_listLayout_active_border);
|
|
80
80
|
}
|
|
@@ -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
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -51,28 +53,26 @@ export default class AccountName extends Component {
|
|
|
51
53
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
52
54
|
className: style.primaryAccountName,
|
|
53
55
|
shrink: true
|
|
54
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
56
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
55
57
|
href: href,
|
|
56
58
|
urlName: urlName,
|
|
57
59
|
urlData: urlData,
|
|
58
60
|
onClick: onClick,
|
|
59
61
|
dataId: `${dataId}_link`,
|
|
60
|
-
className: style.link
|
|
61
|
-
|
|
62
|
+
className: style.link
|
|
63
|
+
}, LinkProps, {
|
|
62
64
|
ariaLabel: `Account Name ${text}`
|
|
63
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
65
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
64
66
|
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
65
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
66
|
-
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}
|
|
67
|
-
|
|
68
|
-
}, text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
|
|
67
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
68
|
+
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`
|
|
69
|
+
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Link, {
|
|
69
70
|
href: secondaryAccountHref,
|
|
70
71
|
onClick: secondaryAccountClick,
|
|
71
72
|
className: style.link
|
|
72
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
73
|
-
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}
|
|
74
|
-
|
|
75
|
-
}, secondaryAccountText))))));
|
|
73
|
+
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
74
|
+
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
75
|
+
}, SecondaryTextProps), secondaryAccountText))))));
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
}
|
|
@@ -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 } from 'react';
|
|
2
4
|
import { ContactName_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { ContactName_propTypes } from './props/propTypes';
|
|
@@ -52,23 +54,22 @@ export default class ContactName extends Component {
|
|
|
52
54
|
iconClass: style.icon
|
|
53
55
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
54
56
|
flexible: true
|
|
55
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
57
|
+
}, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
56
58
|
urlName: urlName,
|
|
57
59
|
href: href,
|
|
58
60
|
urlData: urlData,
|
|
59
61
|
onClick: onClick,
|
|
60
62
|
title: dataTitle,
|
|
61
63
|
dataId: `${dataId}_link`,
|
|
62
|
-
className: style.link
|
|
63
|
-
|
|
64
|
+
className: style.link
|
|
65
|
+
}, LinkProps, {
|
|
64
66
|
ariaLabel: `Contact Name ${text}`
|
|
65
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
67
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
66
68
|
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
67
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
69
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
68
70
|
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''} ${notAccessible ? style.disable : ''}`,
|
|
69
|
-
"data-title": dataTitle
|
|
70
|
-
|
|
71
|
-
}, text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
|
|
71
|
+
"data-title": dataTitle
|
|
72
|
+
}, TextProps), text)), sentimentType && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(SentimentStatus, {
|
|
72
73
|
type: sentimentType,
|
|
73
74
|
dataTitle: sentimentDataTitle
|
|
74
75
|
})));
|
|
@@ -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
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -28,21 +30,19 @@ export default class Email extends Component {
|
|
|
28
30
|
LinkProps = {},
|
|
29
31
|
TextProps = {}
|
|
30
32
|
} = customProps;
|
|
31
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
33
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
32
34
|
href: href,
|
|
33
35
|
title: title,
|
|
34
36
|
urlData: urlData,
|
|
35
37
|
urlName: urlName,
|
|
36
38
|
target: target,
|
|
37
|
-
className: style.link
|
|
38
|
-
|
|
39
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
39
|
+
className: style.link
|
|
40
|
+
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
40
41
|
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
41
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
42
43
|
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''}`,
|
|
43
|
-
"data-title": title
|
|
44
|
-
|
|
45
|
-
}, text));
|
|
44
|
+
"data-title": title
|
|
45
|
+
}, TextProps), text));
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
}
|
|
@@ -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
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -30,7 +32,7 @@ export default class PhoneNumber extends Component {
|
|
|
30
32
|
LinkProps = {},
|
|
31
33
|
TextProps = {}
|
|
32
34
|
} = customProps;
|
|
33
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
35
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
34
36
|
href: href,
|
|
35
37
|
title: title,
|
|
36
38
|
urlData: urlData,
|
|
@@ -38,15 +40,13 @@ export default class PhoneNumber extends Component {
|
|
|
38
40
|
dataId: dataId,
|
|
39
41
|
target: target,
|
|
40
42
|
hasReload: hasReload,
|
|
41
|
-
className: style.link
|
|
42
|
-
|
|
43
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
className: style.link
|
|
44
|
+
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
44
45
|
className: `${style.phoneNumber} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
45
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
46
47
|
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''}`,
|
|
47
|
-
"data-title": title
|
|
48
|
-
|
|
49
|
-
}, text));
|
|
48
|
+
"data-title": title
|
|
49
|
+
}, TextProps), text));
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
}
|
|
@@ -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 } from 'react';
|
|
2
4
|
import { SecondaryText_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { SecondaryText_propTypes } from './props/propTypes';
|
|
@@ -19,14 +21,13 @@ export default class SecondaryText extends Component {
|
|
|
19
21
|
let {
|
|
20
22
|
SecondaryTextProps
|
|
21
23
|
} = customProps;
|
|
22
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
24
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
23
25
|
className: `${style.secondaryText} ${className ? className : ''}`,
|
|
24
26
|
"data-title": dataTitle,
|
|
25
27
|
"data-id": dataId,
|
|
26
28
|
"data-test-id": dataId,
|
|
27
|
-
onClick: onClick
|
|
28
|
-
|
|
29
|
-
}, text);
|
|
29
|
+
onClick: onClick
|
|
30
|
+
}, SecondaryTextProps), text);
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
}
|
|
@@ -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 } from 'react';
|
|
2
4
|
import { TicketId_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { TicketId_propTypes } from './props/propTypes';
|
|
@@ -26,21 +28,19 @@ export default class TicketId extends Component {
|
|
|
26
28
|
LinkProps = {},
|
|
27
29
|
TicketIdProps = {}
|
|
28
30
|
} = customProps;
|
|
29
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
30
32
|
className: `${style.ticketId} ${isLink ? style.ticketIdLink : ''} ${className ? className : ''}`,
|
|
31
33
|
"data-id": dataId,
|
|
32
34
|
"data-test-id": dataId,
|
|
33
35
|
"data-title": dataTitle,
|
|
34
|
-
onClick: !isLink && onClick
|
|
35
|
-
|
|
36
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
36
|
+
onClick: !isLink && onClick
|
|
37
|
+
}, TicketIdProps), isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
37
38
|
urlName: urlName,
|
|
38
39
|
urlData: urlData,
|
|
39
40
|
href: url,
|
|
40
41
|
target: target,
|
|
41
|
-
onClick: onClick
|
|
42
|
-
|
|
43
|
-
}, text) : text);
|
|
42
|
+
onClick: onClick
|
|
43
|
+
}, LinkProps), text) : text);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
}
|
|
@@ -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 } from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -28,7 +30,7 @@ export default class Subject extends Component {
|
|
|
28
30
|
LinkProps = {},
|
|
29
31
|
TextProps = {}
|
|
30
32
|
} = customProps;
|
|
31
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
33
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
32
34
|
urlName: urlName,
|
|
33
35
|
href: href,
|
|
34
36
|
urlData: urlData,
|
|
@@ -36,15 +38,13 @@ export default class Subject extends Component {
|
|
|
36
38
|
className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]} ${style.cursorPointer}`,
|
|
37
39
|
dataId: dataId,
|
|
38
40
|
title: text,
|
|
39
|
-
target: target
|
|
40
|
-
|
|
41
|
-
}, children ? children : text) : /*#__PURE__*/React.createElement("span", {
|
|
41
|
+
target: target
|
|
42
|
+
}, LinkProps), children ? children : text) : /*#__PURE__*/React.createElement("span", _extends({
|
|
42
43
|
className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]}`,
|
|
43
44
|
"data-title": text,
|
|
44
45
|
"data-id": dataId,
|
|
45
|
-
"data-test-id": dataId
|
|
46
|
-
|
|
47
|
-
}, text));
|
|
46
|
+
"data-test-id": dataId
|
|
47
|
+
}, TextProps), text));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--subject_text: var(--zdt_subject_text);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.subject {
|
|
6
|
-
composes: varClass;
|
|
7
|
-
/* css:theme-validation:ignore */
|
|
8
|
-
color: var(--subject_text);
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.dotted {
|
|
13
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.font_regular {
|
|
17
|
-
font-family: var(--zd_regular);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.font_semibold {
|
|
21
|
-
font-family: var(--zd_semibold);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.font_bold {
|
|
25
|
-
font-family: var(--zd_bold);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.font_semibold,
|
|
29
|
-
.font_bold {
|
|
30
|
-
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.cursorPointer {
|
|
34
|
-
cursor: pointer;
|
|
1
|
+
.varClass {
|
|
2
|
+
--subject_text: var(--zdt_subject_text);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.subject {
|
|
6
|
+
composes: varClass;
|
|
7
|
+
/* css:theme-validation:ignore */
|
|
8
|
+
color: var(--subject_text);
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dotted {
|
|
13
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.font_regular {
|
|
17
|
+
font-family: var(--zd_regular);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.font_semibold {
|
|
21
|
+
font-family: var(--zd_semibold);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.font_bold {
|
|
25
|
+
font-family: var(--zd_bold);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.font_semibold,
|
|
29
|
+
.font_bold {
|
|
30
|
+
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cursorPointer {
|
|
34
|
+
cursor: pointer;
|
|
35
35
|
}
|
package/es/list/Thread/Thread.js
CHANGED
|
@@ -11,13 +11,12 @@ export default class Thread extends Component {
|
|
|
11
11
|
|
|
12
12
|
render() {
|
|
13
13
|
let {
|
|
14
|
-
count
|
|
14
|
+
count,
|
|
15
15
|
className,
|
|
16
16
|
iconTitle,
|
|
17
17
|
dataId,
|
|
18
18
|
align
|
|
19
19
|
} = this.props;
|
|
20
|
-
let count = threadCount === '0' ? '1' : threadCount;
|
|
21
20
|
return /*#__PURE__*/React.createElement(Button, {
|
|
22
21
|
customClass: `${style.container} ${style[`align_${align}`]} ${className}`,
|
|
23
22
|
title: iconTitle,
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--icon_color: var(--zdt_thread_iconText);
|
|
3
|
-
}
|
|
4
|
-
.container {
|
|
5
|
-
composes: varClass;
|
|
6
|
-
position: relative;
|
|
7
|
-
color: var(--icon_color);
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
}
|
|
10
|
-
.container:hover {
|
|
11
|
-
--icon_color: var(--zdt_thread_hover_iconText);
|
|
12
|
-
}
|
|
13
|
-
.count {
|
|
14
|
-
font-size: var(--zd_font_size9) ;
|
|
15
|
-
}
|
|
16
|
-
.align_left .count {
|
|
17
|
-
position: absolute;
|
|
18
|
-
line-height: normal;
|
|
19
|
-
top: var(--zd_size3) ;
|
|
20
|
-
}
|
|
21
|
-
[dir=ltr] .align_left .count {
|
|
22
|
-
text-align: left;
|
|
23
|
-
left: var(--zd_size8) ;
|
|
24
|
-
}
|
|
25
|
-
[dir=rtl] .align_left .count {
|
|
26
|
-
text-align: right;
|
|
27
|
-
right: var(--zd_size8) ;
|
|
28
|
-
}
|
|
29
|
-
.align_right {
|
|
30
|
-
composes: dInflex alignFend from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
-
}
|
|
32
|
-
.align_right .count {
|
|
33
|
-
position: relative;
|
|
34
|
-
bottom: var(--zd_size2) ;
|
|
35
|
-
}
|
|
36
|
-
[dir=ltr] .align_right .count {
|
|
37
|
-
right: var(--zd_size5) ;
|
|
38
|
-
float: right;
|
|
39
|
-
}
|
|
40
|
-
[dir=rtl] .align_right .count {
|
|
41
|
-
left: var(--zd_size5) ;
|
|
42
|
-
float: left;
|
|
1
|
+
.varClass {
|
|
2
|
+
--icon_color: var(--zdt_thread_iconText);
|
|
3
|
+
}
|
|
4
|
+
.container {
|
|
5
|
+
composes: varClass;
|
|
6
|
+
position: relative;
|
|
7
|
+
color: var(--icon_color);
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
.container:hover {
|
|
11
|
+
--icon_color: var(--zdt_thread_hover_iconText);
|
|
12
|
+
}
|
|
13
|
+
.count {
|
|
14
|
+
font-size: var(--zd_font_size9) ;
|
|
15
|
+
}
|
|
16
|
+
.align_left .count {
|
|
17
|
+
position: absolute;
|
|
18
|
+
line-height: normal;
|
|
19
|
+
top: var(--zd_size3) ;
|
|
20
|
+
}
|
|
21
|
+
[dir=ltr] .align_left .count {
|
|
22
|
+
text-align: left;
|
|
23
|
+
left: var(--zd_size8) ;
|
|
24
|
+
}
|
|
25
|
+
[dir=rtl] .align_left .count {
|
|
26
|
+
text-align: right;
|
|
27
|
+
right: var(--zd_size8) ;
|
|
28
|
+
}
|
|
29
|
+
.align_right {
|
|
30
|
+
composes: dInflex alignFend from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
+
}
|
|
32
|
+
.align_right .count {
|
|
33
|
+
position: relative;
|
|
34
|
+
bottom: var(--zd_size2) ;
|
|
35
|
+
}
|
|
36
|
+
[dir=ltr] .align_right .count {
|
|
37
|
+
right: var(--zd_size5) ;
|
|
38
|
+
float: right;
|
|
39
|
+
}
|
|
40
|
+
[dir=rtl] .align_right .count {
|
|
41
|
+
left: var(--zd_size5) ;
|
|
42
|
+
float: left;
|
|
43
43
|
}
|