@zohodesk/dot 1.0.0-temp-181.7 → 1.0.0-temp-182
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/README.md +13 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +0 -50
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +0 -50
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +0 -50
- 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 +2 -5
- 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 +4 -7
- 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 +51 -4
- package/es/AlphabeticList/AlphabeticList.module.css +0 -2
- package/es/Attachment/Attachment.module.css +4 -4
- package/es/AttachmentViewer/AttachmentViewer.module.css +0 -2
- package/es/ChannelIcon/ChannelIcon.module.css +10 -5
- package/es/Drawer/Drawer.js +4 -5
- package/es/Drawer/Drawer.module.css +3 -3
- package/es/ExternalLink/ExternalLink.js +4 -5
- package/es/FlipCard/FlipCard.js +14 -12
- package/es/FormAction/FormAction.module.css +18 -1
- package/es/FreezeLayer/FreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +4 -5
- package/es/IconButton/IconButton.module.css +0 -1
- package/es/ImportantNotes/ImportantNotes.module.css +1 -1
- package/es/Link/Link.js +8 -10
- package/es/Message/Message.js +4 -5
- package/es/Message/Message.module.css +1 -1
- package/es/Separator/Separator.module.css +11 -2
- package/es/TagWithIcon/TagWithIcon.module.css +2 -5
- package/es/ToastMessage/ToastMessage.js +2 -4
- package/es/ToastMessage/ToastMessage.module.css +3 -3
- package/es/actions/AutoClose.js +2 -1
- package/es/alert/AlertHeader/AlertHeader.module.css +4 -2
- package/es/alert/AlertLookup/AlertLookup.js +14 -12
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
- package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/avatar/AvatarUser/AvatarUser.module.css +46 -2
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +36 -24
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
- package/es/errorstate/EmptyStates.module.css +24 -1
- package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +21 -15
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditor/TextEditor.module.css +48 -63
- package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/form/fields/TextareaField/TextareaField.js +16 -13
- package/es/form/fields/TextareaField/props/propTypes.js +1 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +22 -2
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -3
- package/es/list/AvatarFlip/AvatarFlip.module.css +2 -2
- package/es/list/Comment/Comment.module.css +0 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +4 -2
- package/es/list/Dot/Dot.module.css +0 -1
- package/es/list/GridStencils/GridStencils.module.css +35 -1
- package/es/list/ListLayout/ListLayout.js +4 -5
- package/es/list/ListLayout/ListLayout.module.css +0 -6
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +8 -9
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +4 -5
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +9 -2
- package/es/list/Thread/Thread.module.css +0 -1
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +35 -6
- package/es/lookup/Lookup/Lookup.js +7 -7
- package/es/lookup/Lookup/Lookup.module.css +4 -1
- package/es/lookup/Lookup/props/propTypes.js +3 -2
- package/es/lookup/header/Close/LookupClose.module.css +3 -2
- package/es/lookup/header/Search/Search.js +5 -3
- package/es/lookup/header/TicketHeader/TicketHeader.js +88 -73
- package/es/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/es/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/lookup/header/Title/LookupTitle.module.css +6 -2
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
- package/es/lookup/header/lookupHeaderCommon.module.css +9 -2
- package/es/setup/header/Search/Search.module.css +14 -2
- package/es/setup/table/Text/TableText.module.css +11 -2
- package/es/v1/ActionButton/ActionButton.js +1 -1
- package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/es/v1/Drawer/Drawer.js +6 -7
- package/es/v1/ExternalLink/ExternalLink.js +4 -5
- package/es/v1/FlipCard/FlipCard.js +15 -13
- package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
- package/es/v1/IconButton/IconButton.js +4 -5
- package/es/v1/Link/Link.js +8 -10
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -5
- package/es/v1/ToastMessage/ToastMessage.js +4 -6
- package/es/v1/actions/AutoClose.js +2 -1
- package/es/v1/alert/AlertLookup/AlertLookup.js +16 -16
- 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 -6
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +39 -27
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +15 -13
- package/es/v1/form/fields/DateField/DateField.js +15 -15
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +14 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +21 -16
- package/es/v1/form/fields/SelectField/SelectField.js +15 -15
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -11
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +15 -15
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/v1/form/fields/TextareaField/TextareaField.js +17 -14
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -0
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/v1/list/ListLayout/ListLayout.js +4 -5
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +8 -9
- 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 +4 -5
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +6 -6
- package/es/v1/lookup/Lookup/Lookup.js +7 -7
- package/es/v1/lookup/Lookup/props/propTypes.js +3 -2
- package/es/v1/lookup/header/Search/Search.js +5 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +30 -12
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -8
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
- package/es/version2/GlobalNotification/GlobalNotification.module.css +6 -10
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +7 -3
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +96 -95
- package/lib/ActionButton/ActionButton.module.css +51 -4
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -2
- package/lib/Attachment/Attachment.module.css +4 -4
- package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -2
- package/lib/ChannelIcon/ChannelIcon.module.css +10 -5
- package/lib/Drawer/Drawer.module.css +3 -3
- package/lib/FormAction/FormAction.module.css +18 -1
- package/lib/FreezeLayer/FreezeLayer.js +1 -1
- package/lib/IconButton/IconButton.module.css +0 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +1 -1
- package/lib/Message/Message.module.css +1 -1
- package/lib/Separator/Separator.module.css +11 -2
- package/lib/TagWithIcon/TagWithIcon.module.css +2 -5
- package/lib/ToastMessage/ToastMessage.module.css +3 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +4 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
- package/lib/avatar/AvatarUser/AvatarUser.module.css +46 -2
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +8 -0
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
- package/lib/errorstate/EmptyStates.module.css +24 -1
- package/lib/form/fields/RadioField/RadioField.js +3 -0
- package/lib/form/fields/TextEditor/TextEditor.module.css +48 -63
- package/lib/form/fields/TextareaField/TextareaField.js +2 -0
- package/lib/form/fields/TextareaField/props/propTypes.js +1 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +22 -2
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -3
- package/lib/list/AvatarFlip/AvatarFlip.module.css +2 -2
- package/lib/list/Comment/Comment.module.css +0 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +4 -2
- package/lib/list/Dot/Dot.module.css +0 -1
- package/lib/list/GridStencils/GridStencils.module.css +35 -1
- package/lib/list/ListLayout/ListLayout.module.css +0 -6
- package/lib/list/Subject/Subject.module.css +9 -2
- package/lib/list/Thread/Thread.module.css +0 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -6
- package/lib/lookup/Lookup/Lookup.js +3 -2
- package/lib/lookup/Lookup/Lookup.module.css +4 -1
- package/lib/lookup/Lookup/props/propTypes.js +3 -2
- package/lib/lookup/header/Close/LookupClose.module.css +3 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.js +93 -106
- package/lib/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/lib/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +6 -2
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
- package/lib/lookup/header/lookupHeaderCommon.module.css +9 -2
- package/lib/setup/header/Search/Search.module.css +14 -2
- package/lib/setup/table/Text/TableText.module.css +11 -2
- package/lib/v1/ActionButton/ActionButton.js +1 -1
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/v1/Drawer/Drawer.js +2 -2
- package/lib/v1/FlipCard/FlipCard.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/v1/Loader/Loader.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +2 -2
- package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +11 -3
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/v1/form/fields/DateField/DateField.js +1 -1
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/v1/form/fields/RadioField/RadioField.js +3 -0
- package/lib/v1/form/fields/SelectField/SelectField.js +1 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -1
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +1 -0
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/v1/lookup/Lookup/Lookup.js +3 -2
- package/lib/v1/lookup/Lookup/props/propTypes.js +3 -2
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +37 -12
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +6 -10
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +7 -3
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +96 -95
- package/package.json +12 -13
- 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/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 -28
- package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
- package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
- package/es/v1/Provider/Config.js +0 -20
- 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/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 -35
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
- package/lib/v1/Provider/Config.js +0 -29
- /package/es/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
- /package/lib/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
|
@@ -6,16 +6,11 @@
|
|
|
6
6
|
.container {
|
|
7
7
|
vertical-align: middle;
|
|
8
8
|
composes: varClass;
|
|
9
|
-
/* css:theme-validation:ignore */
|
|
10
9
|
border-width: 1px;
|
|
11
10
|
border-style: solid;
|
|
12
11
|
border-radius: 50%;
|
|
13
12
|
border-color: var(--border_color)
|
|
14
13
|
}
|
|
15
|
-
.borderOnHover:hover,
|
|
16
|
-
.borderOnActive {
|
|
17
|
-
/* css:theme-validation:ignore */
|
|
18
|
-
}
|
|
19
14
|
.borderOnHover:hover, .borderOnActive {
|
|
20
15
|
border-color: var(--border_hoverColor)
|
|
21
16
|
}
|
|
@@ -40,7 +35,6 @@
|
|
|
40
35
|
--border_hoverColor: var(--zdt_avatarIcon_danger_hover_border);
|
|
41
36
|
}
|
|
42
37
|
.iconColor {
|
|
43
|
-
/* css:theme-validation:ignore */
|
|
44
38
|
color: var(--icon_color);
|
|
45
39
|
}
|
|
46
40
|
.icon_danger {
|
|
@@ -1,5 +1,3 @@
|
|
|
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
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -36,12 +34,12 @@ export default class AvatarStatus extends React.Component {
|
|
|
36
34
|
AvatarStatusProps = {},
|
|
37
35
|
AvatarProps = {}
|
|
38
36
|
} = customProps;
|
|
39
|
-
return /*#__PURE__*/React.createElement("div",
|
|
40
|
-
className: `${style.container} ${className}
|
|
41
|
-
|
|
37
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
className: `${style.container} ${className} `,
|
|
39
|
+
...AvatarStatusProps,
|
|
42
40
|
"aria-label": `${title}, ${name}, ${statusTitle}`,
|
|
43
41
|
"data-selector-id": dataSelectorId
|
|
44
|
-
}
|
|
42
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
45
43
|
src: src,
|
|
46
44
|
name: name,
|
|
47
45
|
palette: palette,
|
|
@@ -55,8 +53,9 @@ export default class AvatarStatus extends React.Component {
|
|
|
55
53
|
shape: shape,
|
|
56
54
|
needTitle: needTitle,
|
|
57
55
|
needDefaultBorder: needDefaultBorder,
|
|
58
|
-
needBorder: needBorder
|
|
59
|
-
|
|
56
|
+
needBorder: needBorder,
|
|
57
|
+
...AvatarProps
|
|
58
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
60
59
|
"data-title": statusTitle,
|
|
61
60
|
className: `${style.state} ${style[state]} ${style[size]} ${style[shape]}`
|
|
62
61
|
}));
|
|
@@ -1,5 +1,3 @@
|
|
|
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
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -39,10 +37,11 @@ export default class AvatarThread extends React.Component {
|
|
|
39
37
|
AvatarProps = {}
|
|
40
38
|
} = customProps;
|
|
41
39
|
let hoverEffect = showOnHover ? style.hover : '';
|
|
42
|
-
return /*#__PURE__*/React.createElement("div",
|
|
40
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
43
41
|
className: `${style.container} ${onClick ? style.pointer : ''} ${hoverEffect}`,
|
|
44
|
-
"data-selector-id": dataSelectorId
|
|
45
|
-
|
|
42
|
+
"data-selector-id": dataSelectorId,
|
|
43
|
+
...AvatarThreadProps
|
|
44
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
46
45
|
initial: initial,
|
|
47
46
|
src: src,
|
|
48
47
|
name: name,
|
|
@@ -53,8 +52,9 @@ export default class AvatarThread extends React.Component {
|
|
|
53
52
|
palette: palette,
|
|
54
53
|
textPalette: textPalette,
|
|
55
54
|
customClass: customTextClass,
|
|
56
|
-
needTitle: needTitle
|
|
57
|
-
|
|
55
|
+
needTitle: needTitle,
|
|
56
|
+
...AvatarProps
|
|
57
|
+
}), (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,5 +1,3 @@
|
|
|
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
|
-
|
|
3
1
|
/**** Libraries ****/
|
|
4
2
|
import React from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -50,20 +48,22 @@ export default class AvatarUser extends React.Component {
|
|
|
50
48
|
portalTitle = 'End User',
|
|
51
49
|
lockTitle = 'Locked'
|
|
52
50
|
} = i18nKeys;
|
|
53
|
-
return /*#__PURE__*/React.createElement("div",
|
|
51
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
54
52
|
className: `${style.container} ${style[size]}`,
|
|
55
53
|
"data-id": dataId || name || iconName,
|
|
56
54
|
"data-test-id": dataId || name || iconName,
|
|
57
|
-
"data-selector-id": dataSelectorId
|
|
58
|
-
|
|
55
|
+
"data-selector-id": dataSelectorId,
|
|
56
|
+
...AvatarUserProps
|
|
57
|
+
}, iconName ? /*#__PURE__*/React.createElement(AvatarIcon, {
|
|
59
58
|
name: iconName,
|
|
60
59
|
iconSize: iconSize,
|
|
61
60
|
size: size,
|
|
62
61
|
iconClass: iconClass,
|
|
63
62
|
dataId: iconName,
|
|
64
63
|
iconColor: iconColor,
|
|
65
|
-
title: title
|
|
66
|
-
|
|
64
|
+
title: title,
|
|
65
|
+
...AvatarIconProps
|
|
66
|
+
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
67
67
|
src: src,
|
|
68
68
|
name: name,
|
|
69
69
|
initial: initial,
|
|
@@ -74,8 +74,9 @@ export default class AvatarUser extends React.Component {
|
|
|
74
74
|
palette: palette,
|
|
75
75
|
textPalette: textPalette,
|
|
76
76
|
customClass: customTextClass,
|
|
77
|
-
alternateSrc: alternateSrc
|
|
78
|
-
|
|
77
|
+
alternateSrc: alternateSrc,
|
|
78
|
+
...AvatarProps
|
|
79
|
+
}), isPaid ? /*#__PURE__*/React.createElement("span", {
|
|
79
80
|
"data-title": paidTitle,
|
|
80
81
|
className: style.paid,
|
|
81
82
|
"data-id": "paidUser",
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
4
4
|
vertical-align: middle;
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.paid,
|
|
7
8
|
.portal,
|
|
8
9
|
.delete {
|
|
9
10
|
font-size: var(--zd_font_size10) ;
|
|
10
11
|
}
|
|
12
|
+
|
|
11
13
|
.paid,
|
|
12
14
|
.portal,
|
|
13
15
|
.delete,
|
|
@@ -15,22 +17,28 @@
|
|
|
15
17
|
position: absolute;
|
|
16
18
|
line-height: 0;
|
|
17
19
|
}
|
|
20
|
+
|
|
18
21
|
.paid {
|
|
19
22
|
composes: middle from '~@zohodesk/components/lib/common/common.module.css';
|
|
20
23
|
}
|
|
24
|
+
|
|
21
25
|
[dir=ltr] .paid {
|
|
22
26
|
left: 50% ;
|
|
23
27
|
}
|
|
28
|
+
|
|
24
29
|
[dir=rtl] .paid {
|
|
25
30
|
right: 50% ;
|
|
26
31
|
}
|
|
32
|
+
|
|
27
33
|
.paid {
|
|
28
34
|
top: calc( var(--zd_size2) * -1 ) ;
|
|
29
35
|
}
|
|
36
|
+
|
|
30
37
|
.portal, .lock {
|
|
31
|
-
background-color: var(--
|
|
38
|
+
background-color: var(--zdt_base_bg);
|
|
32
39
|
border-radius: 50%;
|
|
33
40
|
}
|
|
41
|
+
|
|
34
42
|
.delete {
|
|
35
43
|
top: 0 ;
|
|
36
44
|
width: 100% ;
|
|
@@ -43,66 +51,87 @@
|
|
|
43
51
|
border-radius: 50%;
|
|
44
52
|
background-color: var(--zdt_avataruser_delete_bg);
|
|
45
53
|
}
|
|
54
|
+
|
|
46
55
|
[dir=ltr] .delete {
|
|
47
56
|
left: 0 ;
|
|
48
57
|
}
|
|
58
|
+
|
|
49
59
|
[dir=rtl] .delete {
|
|
50
60
|
right: 0 ;
|
|
51
61
|
}
|
|
62
|
+
|
|
52
63
|
.container:hover .delete {
|
|
53
64
|
opacity: 1;
|
|
54
65
|
}
|
|
66
|
+
|
|
55
67
|
.small .portal {
|
|
56
68
|
top: 0 ;
|
|
57
69
|
}
|
|
70
|
+
|
|
58
71
|
[dir=ltr] .small .portal {
|
|
59
72
|
right: calc( var(--zd_size4) * -1 ) ;
|
|
60
73
|
}
|
|
74
|
+
|
|
61
75
|
[dir=rtl] .small .portal {
|
|
62
76
|
left: calc( var(--zd_size4) * -1 ) ;
|
|
63
77
|
}
|
|
78
|
+
|
|
64
79
|
.xsmall .portal {
|
|
65
80
|
top: var(--zd_size1) ;
|
|
66
81
|
}
|
|
82
|
+
|
|
67
83
|
[dir=ltr] .xsmall .portal {
|
|
68
84
|
right: calc( var(--zd_size2) * -1 ) ;
|
|
69
85
|
}
|
|
86
|
+
|
|
70
87
|
[dir=rtl] .xsmall .portal {
|
|
71
88
|
left: calc( var(--zd_size2) * -1 ) ;
|
|
72
89
|
}
|
|
90
|
+
|
|
73
91
|
.medium .portal {
|
|
74
92
|
top: var(--zd_size1) ;
|
|
75
93
|
}
|
|
94
|
+
|
|
76
95
|
[dir=ltr] .medium .portal {
|
|
77
96
|
right: calc( var(--zd_size1) * -1 ) ;
|
|
78
97
|
}
|
|
98
|
+
|
|
79
99
|
[dir=rtl] .medium .portal {
|
|
80
100
|
left: calc( var(--zd_size1) * -1 ) ;
|
|
81
101
|
}
|
|
102
|
+
|
|
82
103
|
.xmedium .portal {
|
|
83
104
|
top: var(--zd_size3) ;
|
|
84
105
|
}
|
|
106
|
+
|
|
85
107
|
[dir=ltr] .xmedium .portal {
|
|
86
108
|
right: 0 ;
|
|
87
109
|
}
|
|
110
|
+
|
|
88
111
|
[dir=rtl] .xmedium .portal {
|
|
89
112
|
left: 0 ;
|
|
90
113
|
}
|
|
114
|
+
|
|
91
115
|
.large .portal {
|
|
92
116
|
top: var(--zd_size8) ;
|
|
93
117
|
}
|
|
118
|
+
|
|
94
119
|
[dir=ltr] .large .portal {
|
|
95
120
|
right: var(--zd_size1) ;
|
|
96
121
|
}
|
|
122
|
+
|
|
97
123
|
[dir=rtl] .large .portal {
|
|
98
124
|
left: var(--zd_size1) ;
|
|
99
125
|
}
|
|
126
|
+
|
|
100
127
|
.xlarge .portal {
|
|
101
128
|
top: var(--zd_size15) ;
|
|
102
129
|
}
|
|
130
|
+
|
|
103
131
|
[dir=ltr] .xlarge .portal {
|
|
104
132
|
right: var(--zd_size2) ;
|
|
105
133
|
}
|
|
134
|
+
|
|
106
135
|
[dir=rtl] .xlarge .portal {
|
|
107
136
|
left: var(--zd_size2) ;
|
|
108
137
|
}
|
|
@@ -119,53 +148,68 @@
|
|
|
119
148
|
[dir=rtl] .small .lock {
|
|
120
149
|
left: calc( var(--zd_size5) * -1 ) ;
|
|
121
150
|
}
|
|
151
|
+
|
|
122
152
|
.xsmall .lock {
|
|
123
153
|
top: var(--zd_size1) ;
|
|
124
154
|
font-size: var(--zd_font_size12) ;
|
|
125
155
|
}
|
|
156
|
+
|
|
126
157
|
[dir=ltr] .xsmall .lock {
|
|
127
158
|
right: calc( var(--zd_size4) * -1 ) ;
|
|
128
159
|
}
|
|
160
|
+
|
|
129
161
|
[dir=rtl] .xsmall .lock {
|
|
130
162
|
left: calc( var(--zd_size4) * -1 ) ;
|
|
131
163
|
}
|
|
164
|
+
|
|
132
165
|
.medium .lock {
|
|
133
166
|
top: var(--zd_size2) ;
|
|
134
167
|
font-size: var(--zd_font_size13) ;
|
|
135
168
|
}
|
|
169
|
+
|
|
136
170
|
[dir=ltr] .medium .lock {
|
|
137
171
|
right: calc( var(--zd_size5) * -1 ) ;
|
|
138
172
|
}
|
|
173
|
+
|
|
139
174
|
[dir=rtl] .medium .lock {
|
|
140
175
|
left: calc( var(--zd_size5) * -1 ) ;
|
|
141
176
|
}
|
|
177
|
+
|
|
142
178
|
.xmedium .lock {
|
|
143
179
|
top: var(--zd_size4) ;
|
|
144
180
|
font-size: var(--zd_font_size14) ;
|
|
145
181
|
}
|
|
182
|
+
|
|
146
183
|
[dir=ltr] .xmedium .lock {
|
|
147
184
|
right: calc( var(--zd_size6) * -1 ) ;
|
|
148
185
|
}
|
|
186
|
+
|
|
149
187
|
[dir=rtl] .xmedium .lock {
|
|
150
188
|
left: calc( var(--zd_size6) * -1 ) ;
|
|
151
189
|
}
|
|
190
|
+
|
|
152
191
|
.large .lock {
|
|
153
192
|
top: var(--zd_size6) ;
|
|
154
193
|
font-size: var(--zd_font_size18) ;
|
|
155
194
|
}
|
|
195
|
+
|
|
156
196
|
[dir=ltr] .large .lock {
|
|
157
197
|
right: calc( var(--zd_size6) * -1 ) ;
|
|
158
198
|
}
|
|
199
|
+
|
|
159
200
|
[dir=rtl] .large .lock {
|
|
160
201
|
left: calc( var(--zd_size6) * -1 ) ;
|
|
161
202
|
}
|
|
203
|
+
|
|
162
204
|
.xlarge .lock {
|
|
163
205
|
top: var(--zd_size12) ;
|
|
164
206
|
font-size: var(--zd_font_size22) ;
|
|
165
207
|
}
|
|
208
|
+
|
|
166
209
|
[dir=ltr] .xlarge .lock {
|
|
167
210
|
right: calc( var(--zd_size8) * -1 ) ;
|
|
168
211
|
}
|
|
212
|
+
|
|
169
213
|
[dir=rtl] .xlarge .lock {
|
|
170
214
|
left: calc( var(--zd_size8) * -1 ) ;
|
|
171
|
-
}
|
|
215
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
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
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -33,12 +31,13 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
33
31
|
Avatar2Props = {},
|
|
34
32
|
AvatarTeam2Props = {}
|
|
35
33
|
} = customProps;
|
|
36
|
-
return /*#__PURE__*/React.createElement("span",
|
|
34
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
37
35
|
className: `${style.container} `,
|
|
38
36
|
"data-id": "avatarWithTeamId",
|
|
39
37
|
"data-test-id": "avatarWithTeamId",
|
|
40
|
-
"data-selector-id": dataSelectorId
|
|
41
|
-
|
|
38
|
+
"data-selector-id": dataSelectorId,
|
|
39
|
+
...AvatarWithTeamProps
|
|
40
|
+
}, isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, {
|
|
42
41
|
name: name,
|
|
43
42
|
src: src,
|
|
44
43
|
size: size,
|
|
@@ -47,8 +46,9 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
47
46
|
palette: palette,
|
|
48
47
|
textPalette: textPalette,
|
|
49
48
|
customClass: customTextClass,
|
|
50
|
-
borderOnActive: borderOnActive
|
|
51
|
-
|
|
49
|
+
borderOnActive: borderOnActive,
|
|
50
|
+
...Avatar1Props
|
|
51
|
+
}) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
52
52
|
name: name,
|
|
53
53
|
src: src,
|
|
54
54
|
size: size,
|
|
@@ -59,8 +59,9 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
59
59
|
customClass: {
|
|
60
60
|
customAvatar: customTextClass
|
|
61
61
|
},
|
|
62
|
-
borderOnActive: borderOnActive
|
|
63
|
-
|
|
62
|
+
borderOnActive: borderOnActive,
|
|
63
|
+
...AvatarTeam1Props
|
|
64
|
+
}) : /*#__PURE__*/React.createElement(Avatar, {
|
|
64
65
|
name: name,
|
|
65
66
|
src: src,
|
|
66
67
|
size: size,
|
|
@@ -69,13 +70,14 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
69
70
|
palette: palette,
|
|
70
71
|
textPalette: textPalette,
|
|
71
72
|
customClass: customTextClass,
|
|
72
|
-
borderOnActive: borderOnActive
|
|
73
|
-
|
|
73
|
+
borderOnActive: borderOnActive,
|
|
74
|
+
...Avatar2Props
|
|
75
|
+
}), teamName ? /*#__PURE__*/React.createElement("span", {
|
|
74
76
|
className: `${style.teamAvatar} ${teamClassName} `,
|
|
75
77
|
"data-id": "teamNameTestId",
|
|
76
78
|
"data-test-id": "teamNameTestId",
|
|
77
79
|
"data-title": needTitle ? title : undefined
|
|
78
|
-
}, /*#__PURE__*/React.createElement(AvatarTeam,
|
|
80
|
+
}, /*#__PURE__*/React.createElement(AvatarTeam, {
|
|
79
81
|
name: teamName,
|
|
80
82
|
size: "small",
|
|
81
83
|
palette: palette,
|
|
@@ -85,8 +87,9 @@ export default class AvatarWithTeam extends React.Component {
|
|
|
85
87
|
customClass: {
|
|
86
88
|
customAvatar: customTextClass
|
|
87
89
|
},
|
|
88
|
-
borderOnActive: teamBorderActive
|
|
89
|
-
|
|
90
|
+
borderOnActive: teamBorderActive,
|
|
91
|
+
...AvatarTeam2Props
|
|
92
|
+
})) : null);
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
padding: var(--zd_size2) ;
|
|
12
12
|
border-radius: 50%;
|
|
13
13
|
transform: scale(0.8);
|
|
14
|
-
background-color: var(--
|
|
14
|
+
background-color: var(--zdt_base_bg);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
[dir=ltr] .teamAvatar {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
|
|
21
21
|
[dir=rtl] .teamAvatar {
|
|
22
22
|
left: calc( var(--zd_size10) * -1 ) ;
|
|
23
|
-
}
|
|
23
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
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
|
-
|
|
3
1
|
import React, { Component, Fragment } from 'react';
|
|
4
2
|
import { defaultProps } from './props/defaultProps';
|
|
5
3
|
import { propTypes } from './props/propTypes';
|
|
@@ -522,6 +520,10 @@ export class ToggleDropDown extends Component {
|
|
|
522
520
|
getFooter,
|
|
523
521
|
customProps,
|
|
524
522
|
needMultiLineText,
|
|
523
|
+
isAbsolutePositioningNeeded,
|
|
524
|
+
positionsOffset,
|
|
525
|
+
targetOffset,
|
|
526
|
+
isRestrictScroll,
|
|
525
527
|
customClass
|
|
526
528
|
} = this.props;
|
|
527
529
|
let {
|
|
@@ -546,21 +548,22 @@ export class ToggleDropDown extends Component {
|
|
|
546
548
|
let listIndex = -1;
|
|
547
549
|
const ariaTitleId = this.getAriaId(); // const allyOptionsArr = this.getOptionsArray();
|
|
548
550
|
|
|
549
|
-
return /*#__PURE__*/React.createElement("div",
|
|
551
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
550
552
|
className: style.wrapper,
|
|
551
553
|
onMouseEnter: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.showTogglePopup : undefined,
|
|
552
554
|
onMouseLeave: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.hideTogglePopup : undefined,
|
|
553
|
-
"data-selector-id": dataSelectorId
|
|
554
|
-
|
|
555
|
+
"data-selector-id": dataSelectorId,
|
|
556
|
+
...ToggleDropDownProps
|
|
557
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
555
558
|
alignBox: "row",
|
|
556
559
|
onClick: !showOnHover && !isDisabled && !isReadOnly && isEditable && this.handleTogglePopup,
|
|
557
560
|
eleRef: getTargetRef,
|
|
558
561
|
align: "vertical",
|
|
559
562
|
isCover: false,
|
|
560
563
|
dataId: dataId
|
|
561
|
-
}, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component,
|
|
564
|
+
}, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, { ...componentProps,
|
|
562
565
|
isActive: isPopupOpen
|
|
563
|
-
})
|
|
566
|
+
}) : children : /*#__PURE__*/React.createElement(RippleEffect, {
|
|
564
567
|
hoverType: hoverType,
|
|
565
568
|
isActive: isPopupOpen,
|
|
566
569
|
isNeedEffect: isEditable && isNeedEffect
|
|
@@ -598,7 +601,7 @@ export class ToggleDropDown extends Component {
|
|
|
598
601
|
let {
|
|
599
602
|
tabletMode
|
|
600
603
|
} = _ref4;
|
|
601
|
-
return /*#__PURE__*/React.createElement(ResponsiveDropBox,
|
|
604
|
+
return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
|
|
602
605
|
boxPosition: position,
|
|
603
606
|
isActive: isPopupReady,
|
|
604
607
|
onClick: removeClose,
|
|
@@ -624,18 +627,22 @@ export class ToggleDropDown extends Component {
|
|
|
624
627
|
palette: palette,
|
|
625
628
|
isResponsivePadding: true,
|
|
626
629
|
needFocusScope: true,
|
|
630
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
631
|
+
positionsOffset: positionsOffset,
|
|
632
|
+
targetOffset: targetOffset,
|
|
633
|
+
isRestrictScroll: isRestrictScroll,
|
|
627
634
|
customProps: {
|
|
628
635
|
focusScopeProps: {
|
|
629
636
|
loadNextOptions: this.handleGetNextOptions,
|
|
630
637
|
searchValue: searchValue,
|
|
631
638
|
isFetchingOptions: isFetchingOptions
|
|
632
639
|
}
|
|
633
|
-
}
|
|
634
|
-
|
|
640
|
+
},
|
|
641
|
+
...DropBoxProps,
|
|
635
642
|
onClose: this.handleTogglePopup
|
|
636
|
-
}
|
|
643
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
637
644
|
className: style.search
|
|
638
|
-
}, /*#__PURE__*/React.createElement(TextBoxIcon,
|
|
645
|
+
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
639
646
|
placeHolder: placeHolderText,
|
|
640
647
|
onChange: this.handleChange,
|
|
641
648
|
value: searchValue,
|
|
@@ -656,8 +663,9 @@ export class ToggleDropDown extends Component {
|
|
|
656
663
|
ariaAutocomplete: 'list',
|
|
657
664
|
ariaHaspopup: true,
|
|
658
665
|
ariaExpanded: true
|
|
659
|
-
}
|
|
660
|
-
|
|
666
|
+
},
|
|
667
|
+
...TextBoxIconProps
|
|
668
|
+
})) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
|
|
661
669
|
className: style.title
|
|
662
670
|
}, /*#__PURE__*/React.createElement(DropDownHeading, {
|
|
663
671
|
text: title,
|
|
@@ -708,7 +716,7 @@ export class ToggleDropDown extends Component {
|
|
|
708
716
|
isDisabled = false
|
|
709
717
|
} = item;
|
|
710
718
|
listIndex += 1;
|
|
711
|
-
return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon,
|
|
719
|
+
return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
|
|
712
720
|
key: listIndex,
|
|
713
721
|
dataId: item[keyName],
|
|
714
722
|
value: item[keyName],
|
|
@@ -734,8 +742,9 @@ export class ToggleDropDown extends Component {
|
|
|
734
742
|
role: isSearch ? 'option' : 'menuitem',
|
|
735
743
|
ariaSelected: selectedId === item[idName],
|
|
736
744
|
ariaLabel: item[keyName]
|
|
737
|
-
}
|
|
738
|
-
|
|
745
|
+
},
|
|
746
|
+
...ListItemWithIconProps
|
|
747
|
+
}) : /*#__PURE__*/React.createElement(ListItem, {
|
|
739
748
|
key: listIndex,
|
|
740
749
|
dataId: item[keyName],
|
|
741
750
|
value: item[keyName],
|
|
@@ -758,8 +767,9 @@ export class ToggleDropDown extends Component {
|
|
|
758
767
|
role: isSearch ? 'option' : 'menuitem',
|
|
759
768
|
ariaSelected: selectedId === item[idName],
|
|
760
769
|
ariaLabel: item[keyName]
|
|
761
|
-
}
|
|
762
|
-
|
|
770
|
+
},
|
|
771
|
+
...ListItemProps
|
|
772
|
+
});
|
|
763
773
|
}));
|
|
764
774
|
}), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
|
|
765
775
|
isCover: false,
|
|
@@ -783,7 +793,7 @@ export class ToggleDropDown extends Component {
|
|
|
783
793
|
key: i
|
|
784
794
|
}, needDivider ? /*#__PURE__*/React.createElement("div", {
|
|
785
795
|
className: style.seperatedLine
|
|
786
|
-
}) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon,
|
|
796
|
+
}) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
|
|
787
797
|
dataId: item[keyName],
|
|
788
798
|
value: item[keyName],
|
|
789
799
|
id: item[idName],
|
|
@@ -809,8 +819,9 @@ export class ToggleDropDown extends Component {
|
|
|
809
819
|
role: isSearch ? 'option' : 'menuitem',
|
|
810
820
|
ariaSelected: selectedId === item[idName],
|
|
811
821
|
ariaLabel: item[keyName]
|
|
812
|
-
}
|
|
813
|
-
|
|
822
|
+
},
|
|
823
|
+
...ListItemWithIconProps
|
|
824
|
+
}) : /*#__PURE__*/React.createElement(ListItem, {
|
|
814
825
|
key: listIndex,
|
|
815
826
|
dataId: item[keyName],
|
|
816
827
|
value: item[keyName],
|
|
@@ -833,8 +844,9 @@ export class ToggleDropDown extends Component {
|
|
|
833
844
|
role: isSearch ? 'option' : 'menuitem',
|
|
834
845
|
ariaSelected: selectedId === item[idName],
|
|
835
846
|
ariaLabel: item[keyName]
|
|
836
|
-
}
|
|
837
|
-
|
|
847
|
+
},
|
|
848
|
+
...ListItemProps
|
|
849
|
+
}));
|
|
838
850
|
}), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
|
|
839
851
|
isCover: false,
|
|
840
852
|
align: "both"
|
|
@@ -74,6 +74,10 @@ export const propTypes = {
|
|
|
74
74
|
customListBox: PropTypes.string
|
|
75
75
|
}),
|
|
76
76
|
onSelectLabel: PropTypes.func,
|
|
77
|
+
isAbsolutePositioningNeeded: PropTypes.bool,
|
|
78
|
+
isRestrictScroll: PropTypes.bool,
|
|
79
|
+
positionsOffset: PropTypes.object,
|
|
80
|
+
targetOffset: PropTypes.object,
|
|
77
81
|
from: PropTypes.string,
|
|
78
82
|
top: PropTypes.number
|
|
79
83
|
};
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
}
|
|
22
22
|
.title {
|
|
23
23
|
font-family: var(--zd_semibold);
|
|
24
|
-
/* css:theme-validation:ignore */
|
|
25
24
|
color: var(--titleColor);
|
|
26
25
|
word-wrap: break-word;
|
|
27
26
|
}
|
|
@@ -33,7 +32,6 @@
|
|
|
33
32
|
}
|
|
34
33
|
.linkWrapper,
|
|
35
34
|
.linkDescWrapper {
|
|
36
|
-
/* css:theme-validation:ignore */
|
|
37
35
|
color: var(--descriptionColor);
|
|
38
36
|
}
|
|
39
37
|
.small .linkWrapper,
|
|
@@ -69,13 +67,11 @@
|
|
|
69
67
|
line-height: 1.358;
|
|
70
68
|
}
|
|
71
69
|
.link {
|
|
72
|
-
/* css:theme-validation:ignore */
|
|
73
70
|
color: var(--linkColor);
|
|
74
71
|
display: inline-block;
|
|
75
72
|
cursor: pointer;
|
|
76
73
|
}
|
|
77
74
|
.link:hover {
|
|
78
|
-
/* css:theme-validation:ignore */
|
|
79
75
|
color: var(--linkHoverColor);
|
|
80
76
|
}
|
|
81
77
|
.children {
|