@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
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
.varClass {
|
|
2
|
-
--subject_text: var(--
|
|
2
|
+
--subject_text: var(--zdt_base_color);
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.subject {
|
|
5
6
|
composes: varClass;
|
|
6
7
|
/* css:theme-validation:ignore */
|
|
7
8
|
color: var(--subject_text);
|
|
8
9
|
display: block;
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
.dotted {
|
|
11
13
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
12
14
|
}
|
|
15
|
+
|
|
13
16
|
.font_regular {
|
|
14
17
|
font-family: var(--zd_regular);
|
|
15
18
|
}
|
|
19
|
+
|
|
16
20
|
.font_semibold {
|
|
17
21
|
font-family: var(--zd_semibold);
|
|
18
22
|
}
|
|
23
|
+
|
|
19
24
|
.font_bold {
|
|
20
25
|
font-family: var(--zd_bold);
|
|
21
26
|
}
|
|
27
|
+
|
|
22
28
|
.font_semibold,
|
|
23
29
|
.font_bold {
|
|
24
30
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
25
31
|
}
|
|
32
|
+
|
|
26
33
|
.cursorPointer {
|
|
27
34
|
cursor: pointer;
|
|
28
|
-
}
|
|
35
|
+
}
|
|
@@ -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';
|
|
@@ -84,7 +82,7 @@ export default class StatusListItem extends React.Component {
|
|
|
84
82
|
options.target = `_${target}`;
|
|
85
83
|
}
|
|
86
84
|
|
|
87
|
-
return /*#__PURE__*/React.createElement(Container,
|
|
85
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
88
86
|
role: role,
|
|
89
87
|
"aria-selected": ariaSelected,
|
|
90
88
|
isCover: false,
|
|
@@ -97,8 +95,10 @@ export default class StatusListItem extends React.Component {
|
|
|
97
95
|
eleRef: this.getRef,
|
|
98
96
|
tagName: isLink ? 'a' : 'li',
|
|
99
97
|
"data-title": isDisabled ? disableTitle : null,
|
|
100
|
-
tabindex: isDisabled ? '-1' : '0'
|
|
101
|
-
|
|
98
|
+
tabindex: isDisabled ? '-1' : '0',
|
|
99
|
+
...options,
|
|
100
|
+
...a11y
|
|
101
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
102
102
|
className: `${style.statusType} ${style[bulletColor]}`
|
|
103
103
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
104
104
|
flexible: true,
|
|
@@ -1,48 +1,62 @@
|
|
|
1
1
|
.list {
|
|
2
|
-
color: var(--
|
|
2
|
+
color: var(--zdt_base_color);
|
|
3
3
|
font-size: var(--zd_font_size13) ;
|
|
4
4
|
position: relative;
|
|
5
5
|
list-style: none;
|
|
6
6
|
min-height: var(--zd_size35) ;
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
[dir=ltr] .withBorder {
|
|
10
11
|
border-left: 1px solid var(--zdt_statuslistitem_default_border);
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
[dir=rtl] .withBorder {
|
|
13
15
|
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
14
16
|
}
|
|
17
|
+
|
|
15
18
|
[dir=ltr] .small {
|
|
16
19
|
padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5) ;
|
|
17
20
|
}
|
|
21
|
+
|
|
18
22
|
[dir=rtl] .small {
|
|
19
23
|
padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3) ;
|
|
20
24
|
}
|
|
25
|
+
|
|
21
26
|
.medium {
|
|
22
27
|
padding: var(--zd_size7) var(--zd_size20) ;
|
|
23
28
|
}
|
|
29
|
+
|
|
24
30
|
.large {
|
|
25
31
|
height: var(--zd_size48) ;
|
|
26
32
|
}
|
|
33
|
+
|
|
27
34
|
[dir=ltr] .large {
|
|
28
35
|
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25) ;
|
|
29
36
|
}
|
|
37
|
+
|
|
30
38
|
[dir=rtl] .large {
|
|
31
39
|
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3) ;
|
|
32
40
|
}
|
|
33
|
-
|
|
41
|
+
|
|
42
|
+
.value,
|
|
43
|
+
.multiLineValue {
|
|
34
44
|
line-height: 1.5385;
|
|
35
45
|
}
|
|
46
|
+
|
|
36
47
|
.value {
|
|
37
48
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
38
49
|
}
|
|
39
|
-
|
|
50
|
+
|
|
51
|
+
.multiLineValue {
|
|
40
52
|
word-break: break-word;
|
|
41
53
|
composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
42
54
|
}
|
|
55
|
+
|
|
43
56
|
[dir=ltr] .withBorder.active {
|
|
44
57
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
45
58
|
}
|
|
59
|
+
|
|
46
60
|
[dir=rtl] .withBorder.active {
|
|
47
61
|
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
48
62
|
}
|
|
@@ -50,44 +64,56 @@
|
|
|
50
64
|
.default.hover, .default.effect:hover {
|
|
51
65
|
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
52
66
|
}
|
|
67
|
+
|
|
53
68
|
.primary.hover, .primary.effect:hover, .selected {
|
|
54
69
|
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
55
70
|
}
|
|
71
|
+
|
|
56
72
|
.secondary.hover, .secondary.effect:hover {
|
|
57
73
|
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
58
74
|
}
|
|
75
|
+
|
|
59
76
|
.list.active.default, .list.active.primary {
|
|
60
77
|
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
61
78
|
}
|
|
79
|
+
|
|
62
80
|
.list.active.secondary {
|
|
63
81
|
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
64
82
|
}
|
|
83
|
+
|
|
65
84
|
.secondary.hover,
|
|
66
85
|
.secondary.effect:hover,
|
|
67
86
|
.list.active.secondary {
|
|
68
87
|
color: var(--zdt_statuslistitem_secondary_effect_text);
|
|
69
88
|
}
|
|
89
|
+
|
|
70
90
|
.tickIcon {
|
|
71
91
|
color: var(--zdt_statuslistitem_tickicon);
|
|
72
92
|
position: absolute;
|
|
73
|
-
top:50% ;
|
|
93
|
+
top: 50% ;
|
|
74
94
|
transform: translateY(-50%);
|
|
75
95
|
}
|
|
96
|
+
|
|
76
97
|
[dir=ltr] .tickIcon {
|
|
77
98
|
right: var(--zd_size20) ;
|
|
78
99
|
}
|
|
100
|
+
|
|
79
101
|
[dir=rtl] .tickIcon {
|
|
80
102
|
left: var(--zd_size20) ;
|
|
81
103
|
}
|
|
82
|
-
|
|
104
|
+
|
|
105
|
+
.tickIcon>i {
|
|
83
106
|
display: block;
|
|
84
107
|
}
|
|
108
|
+
|
|
85
109
|
[dir=ltr] .active.withTick {
|
|
86
110
|
padding-right: var(--zd_size39) ;
|
|
87
111
|
}
|
|
112
|
+
|
|
88
113
|
[dir=rtl] .active.withTick {
|
|
89
114
|
padding-left: var(--zd_size39) ;
|
|
90
115
|
}
|
|
116
|
+
|
|
91
117
|
/* Status Type */
|
|
92
118
|
.statusType {
|
|
93
119
|
width: var(--zd_size8) ;
|
|
@@ -100,12 +126,15 @@
|
|
|
100
126
|
[dir=rtl] .statusType {
|
|
101
127
|
margin-left: var(--zd_size13) ;
|
|
102
128
|
}
|
|
129
|
+
|
|
103
130
|
.black {
|
|
104
131
|
background-color: var(--zdt_statuslistitem_black_bg);
|
|
105
132
|
}
|
|
133
|
+
|
|
106
134
|
.orange {
|
|
107
135
|
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
108
136
|
}
|
|
137
|
+
|
|
109
138
|
.green {
|
|
110
139
|
background-color: var(--zdt_statuslistitem_green_bg);
|
|
111
|
-
}
|
|
140
|
+
}
|
|
@@ -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, { Component } from 'react';
|
|
5
3
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -57,7 +55,8 @@ export default class Lookup extends Component {
|
|
|
57
55
|
onClose,
|
|
58
56
|
needFocusScope,
|
|
59
57
|
customProps,
|
|
60
|
-
isMinHeight
|
|
58
|
+
isMinHeight,
|
|
59
|
+
lookupClass
|
|
61
60
|
} = this.props;
|
|
62
61
|
const {
|
|
63
62
|
role = 'dialog',
|
|
@@ -77,7 +76,7 @@ export default class Lookup extends Component {
|
|
|
77
76
|
needFocusLoop = true,
|
|
78
77
|
needEnterAction = true
|
|
79
78
|
} = focusScopeProps;
|
|
80
|
-
const content = /*#__PURE__*/React.createElement("div",
|
|
79
|
+
const content = /*#__PURE__*/React.createElement("div", {
|
|
81
80
|
ref: this.createRef,
|
|
82
81
|
tabIndex: "-1",
|
|
83
82
|
"data-a11y-need-focus-style": "false",
|
|
@@ -87,10 +86,11 @@ export default class Lookup extends Component {
|
|
|
87
86
|
"aria-label": ariaLabel,
|
|
88
87
|
"aria-modal": ariaModal,
|
|
89
88
|
id: htmlId,
|
|
90
|
-
className: `${style.box} ${style[`${size}Size`]}`,
|
|
89
|
+
className: `${style.box} ${style[`${size}Size`]} ${lookupClass ? lookupClass : ''}`,
|
|
91
90
|
"data-id": dataId,
|
|
92
|
-
"data-test-id": dataId
|
|
93
|
-
|
|
91
|
+
"data-test-id": dataId,
|
|
92
|
+
...a11yAttributes
|
|
93
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
94
94
|
"data-drag-container": "true",
|
|
95
95
|
isCover: false,
|
|
96
96
|
className: isMinHeight ? `${style.wrapper}` : `${style.coverwrap}`
|
|
@@ -4,7 +4,7 @@ export const propTypes = {
|
|
|
4
4
|
customClass: PropTypes.string,
|
|
5
5
|
dataId: PropTypes.string,
|
|
6
6
|
isActive: PropTypes.bool,
|
|
7
|
-
size: PropTypes.oneOf(['small', 'xmedium', 'medium', 'large', 'full']),
|
|
7
|
+
size: PropTypes.oneOf(['small', 'xmedium', 'medium', 'large', 'xlarge', 'full']),
|
|
8
8
|
htmlId: PropTypes.string,
|
|
9
9
|
a11y: PropTypes.shape({
|
|
10
10
|
role: PropTypes.string,
|
|
@@ -19,5 +19,6 @@ export const propTypes = {
|
|
|
19
19
|
forwardRef: PropTypes.object,
|
|
20
20
|
onClick: PropTypes.func,
|
|
21
21
|
onClose: PropTypes.func,
|
|
22
|
-
isMinHeight: PropTypes.bool
|
|
22
|
+
isMinHeight: PropTypes.bool,
|
|
23
|
+
lookupClass: PropTypes.string
|
|
23
24
|
};
|
|
@@ -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
|
/* eslint-disable react/forbid-component-props */
|
|
4
2
|
|
|
5
3
|
/*** Libraries ***/
|
|
@@ -100,7 +98,11 @@ export default class Search extends Component {
|
|
|
100
98
|
selectedId: selectedId,
|
|
101
99
|
onDropDownOpen: this.handleDropDownOpen,
|
|
102
100
|
onDropDownClose: this.handleDropDownClose
|
|
103
|
-
}, /*#__PURE__*/React.createElement(SearchUI,
|
|
101
|
+
}, /*#__PURE__*/React.createElement(SearchUI, { ...this.props,
|
|
102
|
+
...searchUIExtraProps
|
|
103
|
+
})) : /*#__PURE__*/React.createElement(SearchUI, { ...this.props,
|
|
104
|
+
...searchUIExtraProps
|
|
105
|
+
});
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { memo, useRef } from 'react';
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
5
|
/*** Components ***/
|
|
@@ -9,6 +9,7 @@ import Close from '../Close/Close';
|
|
|
9
9
|
import Search from '../Search/Search';
|
|
10
10
|
import ViewDropDown from '../ViewDropDown/ViewDropDown';
|
|
11
11
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
12
|
+
import useDragger from '../../../Hooks/Dragger/useDragger';
|
|
12
13
|
/*** CSS ***/
|
|
13
14
|
|
|
14
15
|
import commonStyle from '../lookupHeaderCommon.module.css';
|
|
@@ -16,81 +17,95 @@ import commonResponsive from '../lookupHeaderCommonResponsive.module.css';
|
|
|
16
17
|
import style from './TicketHeader.module.css';
|
|
17
18
|
/* eslint-disable react/forbid-component-props */
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
align: "vertical",
|
|
43
|
-
alignBox: "row",
|
|
44
|
-
className: `${commonStyle.container} ${commonStyle[`${palette}`]} ${commonResponsive.container} ${style.container}`,
|
|
45
|
-
isCover: false,
|
|
46
|
-
wrap: "wrap"
|
|
47
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
48
|
-
className: commonStyle.closeContainer
|
|
49
|
-
}, /*#__PURE__*/React.createElement(Close, {
|
|
50
|
-
onClose: onLookupClose,
|
|
51
|
-
dataId: "close"
|
|
52
|
-
})), /*#__PURE__*/React.createElement(Box, {
|
|
53
|
-
flexible: true
|
|
54
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
55
|
-
alignBox: "column",
|
|
56
|
-
className: `${style.innerContainer}`,
|
|
57
|
-
isCover: false,
|
|
58
|
-
wrap: "wrap",
|
|
59
|
-
dataId: "lookupView"
|
|
60
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
61
|
-
className: commonStyle.title
|
|
62
|
-
}, /*#__PURE__*/React.createElement(Title, {
|
|
63
|
-
text: title
|
|
64
|
-
})), needViewsList ? /*#__PURE__*/React.createElement(Box, {
|
|
65
|
-
className: `${style.dropdown}`,
|
|
66
|
-
dataId: "filterIdselected"
|
|
67
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
68
|
-
className: style.menuWrapper
|
|
69
|
-
}, /*#__PURE__*/React.createElement(ViewDropDown, {
|
|
70
|
-
dropBoxSize: "small",
|
|
71
|
-
emptyMessage: menuEmptyMessage,
|
|
72
|
-
needSearch: true,
|
|
73
|
-
onChange: onSelectView,
|
|
74
|
-
options: allViews,
|
|
75
|
-
textField: "displayLabel",
|
|
76
|
-
selectedValue: selectedViewId,
|
|
77
|
-
needCloseOnSelect: true
|
|
78
|
-
}))) : null)), needSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
79
|
-
className: `${commonStyle.searchContainer} ${commonResponsive.searchContainer} ${style.searchContainer}`
|
|
80
|
-
}, /*#__PURE__*/React.createElement(Search, {
|
|
81
|
-
onSearch: onSearch,
|
|
82
|
-
searchStr: searchStr,
|
|
83
|
-
onChange: onSearchChange,
|
|
84
|
-
placeHolder: searchPlaceHolder,
|
|
85
|
-
dataId: "search",
|
|
86
|
-
needOnTypeSearch: needOnTypeSearch,
|
|
87
|
-
getRef: getSearchBoxRef
|
|
88
|
-
})) : null);
|
|
89
|
-
}
|
|
20
|
+
function TicketHeader(props) {
|
|
21
|
+
let {
|
|
22
|
+
needSearch,
|
|
23
|
+
onLookupClose,
|
|
24
|
+
searchStr,
|
|
25
|
+
onSearchChange,
|
|
26
|
+
searchPlaceHolder,
|
|
27
|
+
title,
|
|
28
|
+
selectedViewId,
|
|
29
|
+
onSelectView,
|
|
30
|
+
allViews,
|
|
31
|
+
onSearch,
|
|
32
|
+
needOnTypeSearch,
|
|
33
|
+
getSearchBoxRef,
|
|
34
|
+
needViewsList,
|
|
35
|
+
i18nKeys,
|
|
36
|
+
palette,
|
|
37
|
+
dragBoundaryLimit
|
|
38
|
+
} = props;
|
|
39
|
+
let {
|
|
40
|
+
menuEmptyMessage = 'No matches found'
|
|
41
|
+
} = i18nKeys;
|
|
42
|
+
const dragRef = useRef(null); //dragRef
|
|
90
43
|
|
|
44
|
+
useDragger({
|
|
45
|
+
isActive: true,
|
|
46
|
+
ChildRef: dragRef,
|
|
47
|
+
boundaryLimit: dragBoundaryLimit
|
|
48
|
+
}); //custom Hook
|
|
49
|
+
|
|
50
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
51
|
+
align: "vertical",
|
|
52
|
+
alignBox: "row",
|
|
53
|
+
className: `${commonStyle.container} ${commonStyle[`${palette}`]} ${commonResponsive.container} ${style.container}`,
|
|
54
|
+
isCover: false,
|
|
55
|
+
wrap: "wrap",
|
|
56
|
+
eleRef: dragRef,
|
|
57
|
+
"data-drag-hook": "true"
|
|
58
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
59
|
+
flexible: true
|
|
60
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
61
|
+
alignBox: "column",
|
|
62
|
+
className: `${style.innerContainer}`,
|
|
63
|
+
isCover: false,
|
|
64
|
+
wrap: "wrap",
|
|
65
|
+
dataId: "lookupView"
|
|
66
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
67
|
+
className: commonStyle.title
|
|
68
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
69
|
+
text: title
|
|
70
|
+
})), needViewsList ? /*#__PURE__*/React.createElement(Box, {
|
|
71
|
+
className: `${style.dropdown}`,
|
|
72
|
+
dataId: "filterIdselected"
|
|
73
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
74
|
+
className: style.menuWrapper
|
|
75
|
+
}, /*#__PURE__*/React.createElement(ViewDropDown, {
|
|
76
|
+
dropBoxSize: "small",
|
|
77
|
+
emptyMessage: menuEmptyMessage,
|
|
78
|
+
needSearch: true,
|
|
79
|
+
onChange: onSelectView,
|
|
80
|
+
options: allViews,
|
|
81
|
+
textField: "displayLabel",
|
|
82
|
+
selectedValue: selectedViewId,
|
|
83
|
+
needCloseOnSelect: true
|
|
84
|
+
}))) : null)), needSearch ? /*#__PURE__*/React.createElement(Box, {
|
|
85
|
+
className: `${commonStyle.searchContainer} ${commonResponsive.searchContainer} ${style.searchContainer}`
|
|
86
|
+
}, /*#__PURE__*/React.createElement(Search, {
|
|
87
|
+
onSearch: onSearch,
|
|
88
|
+
searchStr: searchStr,
|
|
89
|
+
onChange: onSearchChange,
|
|
90
|
+
placeHolder: searchPlaceHolder,
|
|
91
|
+
dataId: "search",
|
|
92
|
+
needOnTypeSearch: needOnTypeSearch,
|
|
93
|
+
getRef: getSearchBoxRef
|
|
94
|
+
})) : null, /*#__PURE__*/React.createElement("div", {
|
|
95
|
+
className: commonStyle.closeContainer
|
|
96
|
+
}, /*#__PURE__*/React.createElement(Close, {
|
|
97
|
+
onClose: onLookupClose,
|
|
98
|
+
dataId: "close"
|
|
99
|
+
})));
|
|
91
100
|
}
|
|
101
|
+
|
|
92
102
|
TicketHeader.propTypes = propTypes;
|
|
93
|
-
TicketHeader.defaultProps = defaultProps;
|
|
103
|
+
TicketHeader.defaultProps = defaultProps;
|
|
104
|
+
const MemoizedTicketHeader = /*#__PURE__*/memo(TicketHeader);
|
|
105
|
+
MemoizedTicketHeader.propTypes = propTypes;
|
|
106
|
+
MemoizedTicketHeader.defaultProps = defaultProps;
|
|
107
|
+
MemoizedTicketHeader.displayName = 'TicketHeader';
|
|
108
|
+
export default MemoizedTicketHeader; // if (__DOCS__) {
|
|
94
109
|
// TicketHeader.docs = {
|
|
95
110
|
// componentGroup: 'Lookup'
|
|
96
111
|
// };
|
|
@@ -6,16 +6,20 @@
|
|
|
6
6
|
word-break: break-all;
|
|
7
7
|
cursor: initial;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
.bold {
|
|
10
11
|
font-family: var(--zd_semibold);
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
/* Palette */
|
|
13
15
|
.default {
|
|
14
|
-
color: var(--
|
|
16
|
+
color: var(--zdt_base_color);
|
|
15
17
|
}
|
|
18
|
+
|
|
16
19
|
.primary {
|
|
17
20
|
color: var(--zdt_lookuptitle_primary_text);
|
|
18
21
|
}
|
|
22
|
+
|
|
19
23
|
.danger {
|
|
20
24
|
color: var(--zdt_lookuptitle_danger_text);
|
|
21
|
-
}
|
|
25
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
.small {
|
|
2
2
|
max-height: var(--zd_size200) ;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.medium {
|
|
5
6
|
max-height: var(--zd_size348) ;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
.large {
|
|
8
10
|
max-height: var(--zd_size400) ;
|
|
9
11
|
}
|
|
12
|
+
|
|
10
13
|
.emptyState {
|
|
11
14
|
font-size: var(--zd_font_size14) ;
|
|
12
15
|
color: var(--zdt_viewdropdown_empty_text);
|
|
@@ -14,15 +17,19 @@
|
|
|
14
17
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
15
18
|
padding: var(--zd_size12) var(--zd_size15) ;
|
|
16
19
|
}
|
|
20
|
+
|
|
17
21
|
.hide {
|
|
18
22
|
composes: vishidden from '~@zohodesk/components/lib/common/common.module.css';
|
|
19
23
|
}
|
|
24
|
+
|
|
20
25
|
.container {
|
|
21
26
|
position: relative;
|
|
22
27
|
}
|
|
28
|
+
|
|
23
29
|
.listItemContainer {
|
|
24
30
|
padding: var(--zd_size10) 0 ;
|
|
25
31
|
}
|
|
32
|
+
|
|
26
33
|
/* Label Style */
|
|
27
34
|
.labelCnt {
|
|
28
35
|
composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
|
|
@@ -30,21 +37,25 @@
|
|
|
30
37
|
color: var(--zdt_viewdropdown_label_text);
|
|
31
38
|
cursor: pointer;
|
|
32
39
|
}
|
|
40
|
+
|
|
33
41
|
.labelText {
|
|
34
42
|
font-size: var(--zd_font_size12) ;
|
|
35
43
|
max-width: var(--zd_size180) ;
|
|
36
44
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
37
45
|
}
|
|
46
|
+
|
|
38
47
|
[dir=ltr] .labelText {
|
|
39
48
|
margin-right: var(--zd_size5) ;
|
|
40
49
|
}
|
|
50
|
+
|
|
41
51
|
[dir=rtl] .labelText {
|
|
42
52
|
margin-left: var(--zd_size5) ;
|
|
43
53
|
}
|
|
54
|
+
|
|
44
55
|
.labelCnt:hover .arrowIcon {
|
|
45
|
-
color: var(--
|
|
56
|
+
color: var(--zdt_base_color);
|
|
46
57
|
}
|
|
47
58
|
|
|
48
59
|
.loader {
|
|
49
60
|
padding: var(--zd_size12) var(--zd_size15) ;
|
|
50
|
-
}
|
|
61
|
+
}
|
|
@@ -6,31 +6,38 @@
|
|
|
6
6
|
}[dir=rtl] .container {
|
|
7
7
|
padding: 0 var(--zd_size10) 0 var(--zd_size30) ;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
.default {
|
|
10
11
|
background-color: var(--zdt_lookupheader_default_bg);
|
|
11
12
|
border-bottom: solid 1px var(--zdt_lookupheader_default_border);
|
|
12
13
|
}
|
|
14
|
+
|
|
13
15
|
.white {
|
|
14
|
-
background-color: var(--
|
|
16
|
+
background-color: var(--zdt_base_bg);
|
|
15
17
|
border-bottom: solid 1px var(--zdt_lookupheader_white_border);
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
.searchContainer, .title {
|
|
18
21
|
margin: 0 var(--zd_size20) ;
|
|
19
22
|
}
|
|
23
|
+
|
|
20
24
|
[dir=ltr] .searchContainer {
|
|
21
25
|
text-align: right;
|
|
22
26
|
}
|
|
27
|
+
|
|
23
28
|
[dir=rtl] .searchContainer {
|
|
24
29
|
text-align: left;
|
|
25
30
|
}
|
|
31
|
+
|
|
26
32
|
.closeContainer {
|
|
27
33
|
/* position: absolute;
|
|
28
34
|
right: 30px;
|
|
29
35
|
top: 50%;
|
|
30
36
|
composes: middleY from '~@zohodesk/components/lib/common/common.module.css'; */
|
|
31
37
|
}
|
|
38
|
+
|
|
32
39
|
.para {
|
|
33
40
|
font-size: var(--zd_font_size12) ;
|
|
34
41
|
color: var(--zdt_lookupheader_para_text);
|
|
35
42
|
margin: 0 var(--zd_size20) ;
|
|
36
|
-
}
|
|
43
|
+
}
|