@zohodesk/dot 1.0.0-temp-105 → 1.0.0-temp-106
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/README.md +1159 -1155
- package/dubFinder.js +96 -96
- package/es/ActionButton/ActionButton.js +5 -2
- package/es/ActionButton/ActionButton.module.css +136 -136
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.module.css +157 -157
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -354
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +23 -9
- package/es/Drawer/Drawer.module.css +151 -151
- package/es/Drawer/props/defaultProps.js +2 -1
- package/es/Drawer/props/propTypes.js +2 -1
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.module.css +42 -42
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +0 -0
- package/es/Link/Link.module.css +3 -3
- package/es/Link/docs/Link__default.docs.js +0 -0
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.module.css +110 -110
- package/es/NewStar/docs/NewStar__default.docs.js +0 -0
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +16 -16
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -0
- package/es/ToastMessage/ToastMessage.js +0 -0
- package/es/ToastMessage/ToastMessage.module.css +328 -328
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -0
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -0
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -0
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -0
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.js +3 -52
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +21 -22
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +15 -13
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -666
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Field/docs/Field__default.docs.js +0 -0
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -146
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +22 -22
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/DeleteIcon.js +2 -1
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -37
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +115 -115
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +0 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +24 -12
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +14 -14
- package/es/lookup/Lookup/props/defaultProps.js +2 -1
- package/es/lookup/Lookup/props/propTypes.js +2 -1
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +4 -2
- package/es/lookup/header/ModuleHeader/props/defaultProps.js +2 -1
- package/es/lookup/header/ModuleHeader/props/propTypes.js +2 -1
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/Search/Search.js +7 -1
- package/es/lookup/header/Search/props/defaultProps.js +2 -1
- package/es/lookup/header/Search/props/propTypes.js +2 -1
- package/es/lookup/header/TicketHeader/TicketHeader.js +4 -2
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/TicketHeader/props/defaultProps.js +2 -1
- package/es/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -0
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.js +3 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -124
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/es/version2/lookup/AlertLookup/AlertLookup.js +42 -52
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/lib/ActionButton/ActionButton.js +5 -2
- package/lib/ActionButton/ActionButton.module.css +136 -136
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/Attachment/Attachment.module.css +157 -157
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -354
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +23 -9
- package/lib/Drawer/Drawer.module.css +151 -151
- package/lib/Drawer/props/defaultProps.js +2 -1
- package/lib/Drawer/props/propTypes.js +2 -1
- package/lib/ExternalLink/ExternalLink.js +0 -0
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -0
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/Image/Image.module.css +10 -10
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +0 -0
- package/lib/Link/Link.module.css +3 -3
- package/lib/Link/docs/Link__default.docs.js +0 -0
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.module.css +110 -110
- package/lib/NewStar/docs/NewStar__default.docs.js +0 -0
- package/lib/PlusIcon/PlusIcon.js +0 -0
- package/lib/PlusIcon/PlusIcon.module.css +16 -16
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -0
- package/lib/ToastMessage/ToastMessage.js +0 -0
- package/lib/ToastMessage/ToastMessage.module.css +328 -328
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -0
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -0
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -0
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -0
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.js +31 -82
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +21 -22
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +25 -25
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +15 -13
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -666
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/layout/Field/Field.js +0 -0
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Field/docs/Field__default.docs.js +0 -0
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +0 -0
- package/lib/form/layout/Section/docs/Section__default.docs.js +0 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -146
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.module.css +22 -22
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/DeleteIcon.js +2 -1
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/Website.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -37
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.module.css +115 -115
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +24 -11
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +14 -14
- package/lib/lookup/Lookup/props/defaultProps.js +2 -1
- package/lib/lookup/Lookup/props/propTypes.js +2 -1
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +4 -2
- package/lib/lookup/header/ModuleHeader/props/defaultProps.js +2 -1
- package/lib/lookup/header/ModuleHeader/props/propTypes.js +2 -1
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +7 -1
- package/lib/lookup/header/Search/props/defaultProps.js +2 -1
- package/lib/lookup/header/Search/props/propTypes.js +2 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/TicketHeader/props/defaultProps.js +2 -1
- package/lib/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -0
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +0 -0
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +0 -0
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -0
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +0 -0
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -0
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +2 -2
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.js +3 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -124
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +67 -82
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -106
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/package.json +91 -90
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
.list {
|
|
2
|
-
color: var(--zdt_statuslistitem_list_text);
|
|
3
|
-
font-size: var(--zd_font_size13);
|
|
4
|
-
position: relative;
|
|
5
|
-
list-style: none;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
}
|
|
8
|
-
[dir=ltr] .withBorder {
|
|
9
|
-
border-left: 1px solid var(--zdt_statuslistitem_default_border);
|
|
10
|
-
}
|
|
11
|
-
[dir=rtl] .withBorder {
|
|
12
|
-
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
13
|
-
}
|
|
14
|
-
[dir=ltr] .small {
|
|
15
|
-
padding: var(--zd_size9) var(--zd_size3) var(--zd_size9) var(--zd_size5);
|
|
16
|
-
}
|
|
17
|
-
[dir=rtl] .small {
|
|
18
|
-
padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
|
|
19
|
-
}
|
|
20
|
-
.medium {
|
|
21
|
-
padding: var(--zd_size9) var(--zd_size20);
|
|
22
|
-
}
|
|
23
|
-
.large {
|
|
24
|
-
height: var(--zd_size48);
|
|
25
|
-
}
|
|
26
|
-
[dir=ltr] .large {
|
|
27
|
-
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
|
|
28
|
-
}
|
|
29
|
-
[dir=rtl] .large {
|
|
30
|
-
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.value {
|
|
34
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
[dir=ltr] .withBorder.active {
|
|
38
|
-
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
[dir=rtl] .withBorder.active {
|
|
42
|
-
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.default.hover, .default.effect:hover {
|
|
46
|
-
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
47
|
-
}
|
|
48
|
-
.primary.hover, .primary.effect:hover, .selected {
|
|
49
|
-
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
50
|
-
}
|
|
51
|
-
.secondary.hover, .secondary.effect:hover {
|
|
52
|
-
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
53
|
-
}
|
|
54
|
-
.list.active.default, .list.active.primary {
|
|
55
|
-
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
56
|
-
}
|
|
57
|
-
.list.active.secondary {
|
|
58
|
-
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
59
|
-
}
|
|
60
|
-
.secondary.hover,
|
|
61
|
-
.secondary.effect:hover,
|
|
62
|
-
.list.active.secondary {
|
|
63
|
-
color: var(--zdt_statuslistitem_secondary_effect_text);
|
|
64
|
-
}
|
|
65
|
-
.tickIcon {
|
|
66
|
-
color: var(--zdt_statuslistitem_tickicon);
|
|
67
|
-
position: absolute;
|
|
68
|
-
}
|
|
69
|
-
[dir=ltr] .tickIcon {
|
|
70
|
-
right: var(--zd_size20);
|
|
71
|
-
}
|
|
72
|
-
[dir=rtl] .tickIcon {
|
|
73
|
-
left: var(--zd_size20);
|
|
74
|
-
}
|
|
75
|
-
.tickIcon > i {
|
|
76
|
-
display: block;
|
|
77
|
-
}
|
|
78
|
-
[dir=ltr] .active.withTick {
|
|
79
|
-
padding-right: var(--zd_size39);
|
|
80
|
-
}
|
|
81
|
-
[dir=rtl] .active.withTick {
|
|
82
|
-
padding-left: var(--zd_size39);
|
|
83
|
-
}
|
|
84
|
-
/* Status Type */
|
|
85
|
-
.statusType {
|
|
86
|
-
width: var(--zd_size8);
|
|
87
|
-
height: var(--zd_size8);
|
|
88
|
-
border-radius: 50%;
|
|
89
|
-
}
|
|
90
|
-
[dir=ltr] .statusType {
|
|
91
|
-
margin-right: var(--zd_size13);
|
|
92
|
-
}
|
|
93
|
-
[dir=rtl] .statusType {
|
|
94
|
-
margin-left: var(--zd_size13);
|
|
95
|
-
}
|
|
96
|
-
.black {
|
|
97
|
-
background-color: var(--zdt_statuslistitem_black_bg);
|
|
98
|
-
}
|
|
99
|
-
.orange {
|
|
100
|
-
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
101
|
-
}
|
|
102
|
-
.green {
|
|
103
|
-
background-color: var(--zdt_statuslistitem_green_bg);
|
|
104
|
-
}
|
|
1
|
+
.list {
|
|
2
|
+
color: var(--zdt_statuslistitem_list_text);
|
|
3
|
+
font-size: var(--zd_font_size13);
|
|
4
|
+
position: relative;
|
|
5
|
+
list-style: none;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
[dir=ltr] .withBorder {
|
|
9
|
+
border-left: 1px solid var(--zdt_statuslistitem_default_border);
|
|
10
|
+
}
|
|
11
|
+
[dir=rtl] .withBorder {
|
|
12
|
+
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
13
|
+
}
|
|
14
|
+
[dir=ltr] .small {
|
|
15
|
+
padding: var(--zd_size9) var(--zd_size3) var(--zd_size9) var(--zd_size5);
|
|
16
|
+
}
|
|
17
|
+
[dir=rtl] .small {
|
|
18
|
+
padding: var(--zd_size9) var(--zd_size5) var(--zd_size9) var(--zd_size3);
|
|
19
|
+
}
|
|
20
|
+
.medium {
|
|
21
|
+
padding: var(--zd_size9) var(--zd_size20);
|
|
22
|
+
}
|
|
23
|
+
.large {
|
|
24
|
+
height: var(--zd_size48);
|
|
25
|
+
}
|
|
26
|
+
[dir=ltr] .large {
|
|
27
|
+
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25);
|
|
28
|
+
}
|
|
29
|
+
[dir=rtl] .large {
|
|
30
|
+
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.value {
|
|
34
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[dir=ltr] .withBorder.active {
|
|
38
|
+
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[dir=rtl] .withBorder.active {
|
|
42
|
+
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.default.hover, .default.effect:hover {
|
|
46
|
+
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
47
|
+
}
|
|
48
|
+
.primary.hover, .primary.effect:hover, .selected {
|
|
49
|
+
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
50
|
+
}
|
|
51
|
+
.secondary.hover, .secondary.effect:hover {
|
|
52
|
+
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
53
|
+
}
|
|
54
|
+
.list.active.default, .list.active.primary {
|
|
55
|
+
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
56
|
+
}
|
|
57
|
+
.list.active.secondary {
|
|
58
|
+
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
59
|
+
}
|
|
60
|
+
.secondary.hover,
|
|
61
|
+
.secondary.effect:hover,
|
|
62
|
+
.list.active.secondary {
|
|
63
|
+
color: var(--zdt_statuslistitem_secondary_effect_text);
|
|
64
|
+
}
|
|
65
|
+
.tickIcon {
|
|
66
|
+
color: var(--zdt_statuslistitem_tickicon);
|
|
67
|
+
position: absolute;
|
|
68
|
+
}
|
|
69
|
+
[dir=ltr] .tickIcon {
|
|
70
|
+
right: var(--zd_size20);
|
|
71
|
+
}
|
|
72
|
+
[dir=rtl] .tickIcon {
|
|
73
|
+
left: var(--zd_size20);
|
|
74
|
+
}
|
|
75
|
+
.tickIcon > i {
|
|
76
|
+
display: block;
|
|
77
|
+
}
|
|
78
|
+
[dir=ltr] .active.withTick {
|
|
79
|
+
padding-right: var(--zd_size39);
|
|
80
|
+
}
|
|
81
|
+
[dir=rtl] .active.withTick {
|
|
82
|
+
padding-left: var(--zd_size39);
|
|
83
|
+
}
|
|
84
|
+
/* Status Type */
|
|
85
|
+
.statusType {
|
|
86
|
+
width: var(--zd_size8);
|
|
87
|
+
height: var(--zd_size8);
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
}
|
|
90
|
+
[dir=ltr] .statusType {
|
|
91
|
+
margin-right: var(--zd_size13);
|
|
92
|
+
}
|
|
93
|
+
[dir=rtl] .statusType {
|
|
94
|
+
margin-left: var(--zd_size13);
|
|
95
|
+
}
|
|
96
|
+
.black {
|
|
97
|
+
background-color: var(--zdt_statuslistitem_black_bg);
|
|
98
|
+
}
|
|
99
|
+
.orange {
|
|
100
|
+
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
101
|
+
}
|
|
102
|
+
.green {
|
|
103
|
+
background-color: var(--zdt_statuslistitem_green_bg);
|
|
104
|
+
}
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
.image {
|
|
5
|
-
margin: var(--zd_size20) auto;
|
|
6
|
-
}
|
|
7
|
-
.contentDiv {
|
|
8
|
-
font-size: var(--zd_font_size20);
|
|
9
|
-
font-family: var(--zd_semibold);
|
|
10
|
-
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
11
|
-
margin-top: var(--zd_size15);
|
|
12
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
text-align: center;
|
|
3
|
+
}
|
|
4
|
+
.image {
|
|
5
|
+
margin: var(--zd_size20) auto;
|
|
6
|
+
}
|
|
7
|
+
.contentDiv {
|
|
8
|
+
font-size: var(--zd_font_size20);
|
|
9
|
+
font-family: var(--zd_semibold);
|
|
10
|
+
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
11
|
+
margin-top: var(--zd_size15);
|
|
12
|
+
}
|
|
@@ -11,6 +11,7 @@ var _propTypes = require("./props/propTypes");
|
|
|
11
11
|
var _FreezeLayer = _interopRequireDefault(require("../../FreezeLayer/FreezeLayer"));
|
|
12
12
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
13
13
|
var _LookupModule = _interopRequireDefault(require("./Lookup.module.css"));
|
|
14
|
+
var _FocusScope = _interopRequireDefault(require("@zohodesk/a11y/es/FocusScope/FocusScope"));
|
|
14
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -32,6 +33,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
32
33
|
_classCallCheck(this, Lookup);
|
|
33
34
|
_this = _super.call(this, props);
|
|
34
35
|
_this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));
|
|
36
|
+
_this.createRef = /*#__PURE__*/_react["default"].createRef();
|
|
35
37
|
return _this;
|
|
36
38
|
}
|
|
37
39
|
_createClass(Lookup, [{
|
|
@@ -66,13 +68,27 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
66
68
|
customClass = _this$props.customClass,
|
|
67
69
|
htmlId = _this$props.htmlId,
|
|
68
70
|
a11y = _this$props.a11y,
|
|
69
|
-
childAnimationName = _this$props.childAnimationName
|
|
71
|
+
childAnimationName = _this$props.childAnimationName,
|
|
72
|
+
onClose = _this$props.onClose,
|
|
73
|
+
needFocusScope = _this$props.needFocusScope;
|
|
70
74
|
var _a11y$role = a11y.role,
|
|
71
75
|
role = _a11y$role === void 0 ? 'dialog' : _a11y$role,
|
|
72
76
|
ariaLabelledby = a11y.ariaLabelledby,
|
|
73
77
|
ariaDescribedby = a11y.ariaDescribedby,
|
|
74
78
|
_a11y$ariaModal = a11y.ariaModal,
|
|
75
79
|
ariaModal = _a11y$ariaModal === void 0 ? isActive ? true : undefined : _a11y$ariaModal;
|
|
80
|
+
var content = /*#__PURE__*/_react["default"].createElement("div", {
|
|
81
|
+
ref: this.createRef,
|
|
82
|
+
tabIndex: "-1",
|
|
83
|
+
"data-a11y-container-focus": false,
|
|
84
|
+
role: role,
|
|
85
|
+
"aria-labelledby": ariaLabelledby,
|
|
86
|
+
"aria-describedby": ariaDescribedby,
|
|
87
|
+
"aria-modal": ariaModal,
|
|
88
|
+
id: htmlId,
|
|
89
|
+
className: "".concat(_LookupModule["default"].box, " ").concat(_LookupModule["default"]["".concat(size, "Size")]),
|
|
90
|
+
"data-id": dataId
|
|
91
|
+
}, children);
|
|
76
92
|
return /*#__PURE__*/_react["default"].createElement(_FreezeLayer["default"], {
|
|
77
93
|
align: "horizontal",
|
|
78
94
|
animationName: "fade",
|
|
@@ -86,16 +102,13 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
86
102
|
alignBox: "row",
|
|
87
103
|
className: _LookupModule["default"].container,
|
|
88
104
|
dataId: "fldValue"
|
|
89
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
className: "".concat(_LookupModule["default"].box, " ").concat(_LookupModule["default"]["".concat(size, "Size")]),
|
|
97
|
-
"data-id": dataId
|
|
98
|
-
}, children)));
|
|
105
|
+
}, needFocusScope ? /*#__PURE__*/_react["default"].createElement(_FocusScope["default"], {
|
|
106
|
+
focusTabLoop: true,
|
|
107
|
+
elementRef: this.createRef,
|
|
108
|
+
autoFocus: true,
|
|
109
|
+
restoreFocus: true,
|
|
110
|
+
focusClose: onClose
|
|
111
|
+
}, content) : content));
|
|
99
112
|
}
|
|
100
113
|
}]);
|
|
101
114
|
return Lookup;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
font-size: var(--zd_font_size16);
|
|
3
|
-
padding-bottom: var(--zd_size10);
|
|
4
|
-
}
|
|
5
|
-
.box {
|
|
6
|
-
position: relative;
|
|
7
|
-
height: 100%;
|
|
8
|
-
width: 100%;
|
|
9
|
-
margin: auto;
|
|
10
|
-
}
|
|
11
|
-
/* Size */
|
|
12
|
-
.smallSize {
|
|
13
|
-
max-width: var(--zd_size470);
|
|
14
|
-
}
|
|
15
|
-
.xmediumSize {
|
|
16
|
-
max-width: var(--zd_size620);
|
|
17
|
-
}
|
|
18
|
-
.mediumSize {
|
|
19
|
-
max-width: var(--zd_size840);
|
|
20
|
-
}
|
|
21
|
-
.largeSize {
|
|
22
|
-
max-width: 70%;
|
|
23
|
-
}
|
|
24
|
-
.fullSize {
|
|
25
|
-
max-width: 90%;
|
|
26
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
font-size: var(--zd_font_size16);
|
|
3
|
+
padding-bottom: var(--zd_size10);
|
|
4
|
+
}
|
|
5
|
+
.box {
|
|
6
|
+
position: relative;
|
|
7
|
+
height: 100%;
|
|
8
|
+
width: 100%;
|
|
9
|
+
margin: auto;
|
|
10
|
+
}
|
|
11
|
+
/* Size */
|
|
12
|
+
.smallSize {
|
|
13
|
+
max-width: var(--zd_size470);
|
|
14
|
+
}
|
|
15
|
+
.xmediumSize {
|
|
16
|
+
max-width: var(--zd_size620);
|
|
17
|
+
}
|
|
18
|
+
.mediumSize {
|
|
19
|
+
max-width: var(--zd_size840);
|
|
20
|
+
}
|
|
21
|
+
.largeSize {
|
|
22
|
+
max-width: 70%;
|
|
23
|
+
}
|
|
24
|
+
.fullSize {
|
|
25
|
+
max-width: 90%;
|
|
26
|
+
}
|
|
@@ -187,20 +187,20 @@ var Lookup__contact = /*#__PURE__*/function (_Component) {
|
|
|
187
187
|
}, getLookupTarget ? getLookupTarget({
|
|
188
188
|
onLookupShow: this.handleLookupShow
|
|
189
189
|
}) : {
|
|
190
|
-
/* <ContactLookupController
|
|
191
|
-
value={value || selected}
|
|
192
|
-
suggestionItems={['id_1', 'id_2', 'id_3', 'id_4', 'id_5']}
|
|
193
|
-
moduleData={contacts}
|
|
194
|
-
accounts={accounts}
|
|
195
|
-
needClearIcon
|
|
196
|
-
needSearchIcon
|
|
197
|
-
needSuggestionBox
|
|
198
|
-
onClear={this.handleClear}
|
|
199
|
-
onChange={this.handleSearch}
|
|
200
|
-
onSearch={this.handleLookupShow}
|
|
201
|
-
onSelect={this.handleSelect}
|
|
202
|
-
searchStr={searchStr}
|
|
203
|
-
onSearchAPI={this.handleSearchAPI}
|
|
190
|
+
/* <ContactLookupController
|
|
191
|
+
value={value || selected}
|
|
192
|
+
suggestionItems={['id_1', 'id_2', 'id_3', 'id_4', 'id_5']}
|
|
193
|
+
moduleData={contacts}
|
|
194
|
+
accounts={accounts}
|
|
195
|
+
needClearIcon
|
|
196
|
+
needSearchIcon
|
|
197
|
+
needSuggestionBox
|
|
198
|
+
onClear={this.handleClear}
|
|
199
|
+
onChange={this.handleSearch}
|
|
200
|
+
onSearch={this.handleLookupShow}
|
|
201
|
+
onSelect={this.handleSelect}
|
|
202
|
+
searchStr={searchStr}
|
|
203
|
+
onSearchAPI={this.handleSearchAPI}
|
|
204
204
|
/>*/
|
|
205
205
|
}, /*#__PURE__*/_react["default"].createElement(_Modal["default"], null));
|
|
206
206
|
}
|
|
@@ -20,6 +20,7 @@ var propTypes = {
|
|
|
20
20
|
ariaModal: _propTypes["default"].bool
|
|
21
21
|
}),
|
|
22
22
|
onKeyDown: _propTypes["default"].func,
|
|
23
|
-
childAnimationName: _propTypes["default"].oneOf(['expand', 'flyDown'])
|
|
23
|
+
childAnimationName: _propTypes["default"].oneOf(['expand', 'flyDown']),
|
|
24
|
+
needFocusScope: _propTypes["default"].bool
|
|
24
25
|
};
|
|
25
26
|
exports.propTypes = propTypes;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.section {
|
|
2
|
-
max-height: 80%;
|
|
3
|
-
min-height: var(--zd_size390);
|
|
4
|
-
height: auto;
|
|
5
|
-
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
6
|
-
background-color: var(--zdt_lookupsection_bg);
|
|
7
|
-
box-shadow: 0px 4px 20px var(--zdt_lookupsection_box_shadow);
|
|
8
|
-
}
|
|
1
|
+
.section {
|
|
2
|
+
max-height: 80%;
|
|
3
|
+
min-height: var(--zd_size390);
|
|
4
|
+
height: auto;
|
|
5
|
+
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
6
|
+
background-color: var(--zdt_lookupsection_bg);
|
|
7
|
+
box-shadow: 0px 4px 20px var(--zdt_lookupsection_box_shadow);
|
|
8
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: var(--zd_size25);
|
|
3
|
-
height: var(--zd_size25);
|
|
4
|
-
line-height: var(--zd_size25);
|
|
5
|
-
color: var(--zdt_lookupclose_default_text);
|
|
6
|
-
transition: var(--zd_transition2) cubic-bezier(0.4, 1, 0.65, 1);
|
|
7
|
-
font-size: var(--zd_font_size9);
|
|
8
|
-
text-align: center;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
border-radius: 50%;
|
|
11
|
-
}
|
|
12
|
-
.container:hover {
|
|
13
|
-
color: var(--zdt_lookupclose_default_hover_text);
|
|
14
|
-
background-color: var(--zdt_lookupclose_default_hover_bg);
|
|
15
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
width: var(--zd_size25);
|
|
3
|
+
height: var(--zd_size25);
|
|
4
|
+
line-height: var(--zd_size25);
|
|
5
|
+
color: var(--zdt_lookupclose_default_text);
|
|
6
|
+
transition: var(--zd_transition2) cubic-bezier(0.4, 1, 0.65, 1);
|
|
7
|
+
font-size: var(--zd_font_size9);
|
|
8
|
+
text-align: center;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
}
|
|
12
|
+
.container:hover {
|
|
13
|
+
color: var(--zdt_lookupclose_default_hover_text);
|
|
14
|
+
background-color: var(--zdt_lookupclose_default_hover_bg);
|
|
15
|
+
}
|
|
@@ -54,7 +54,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
54
54
|
dataId = _this$props.dataId,
|
|
55
55
|
closeTitle = _this$props.closeTitle,
|
|
56
56
|
onSearchKeyDown = _this$props.onSearchKeyDown,
|
|
57
|
-
palette = _this$props.palette
|
|
57
|
+
palette = _this$props.palette,
|
|
58
|
+
isSearchAutoFocus = _this$props.isSearchAutoFocus;
|
|
58
59
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
59
60
|
align: "vertical",
|
|
60
61
|
alignBox: "row",
|
|
@@ -86,7 +87,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
86
87
|
dataId: "search",
|
|
87
88
|
needOnTypeSearch: needOnTypeSearch,
|
|
88
89
|
getRef: getSearchBoxRef,
|
|
89
|
-
onKeyDown: onSearchKeyDown
|
|
90
|
+
onKeyDown: onSearchKeyDown,
|
|
91
|
+
isAutoFocus: isSearchAutoFocus
|
|
90
92
|
})));
|
|
91
93
|
}
|
|
92
94
|
}]);
|
|
@@ -20,6 +20,7 @@ var propTypes = {
|
|
|
20
20
|
dataId: _propTypes["default"].string,
|
|
21
21
|
closeTitle: _propTypes["default"].string,
|
|
22
22
|
onSearchKeyDown: _propTypes["default"].func,
|
|
23
|
-
palette: _propTypes["default"].oneOf(['default', 'white'])
|
|
23
|
+
palette: _propTypes["default"].oneOf(['default', 'white']),
|
|
24
|
+
isSearchAutoFocus: _propTypes["default"].bool
|
|
24
25
|
};
|
|
25
26
|
exports.propTypes = propTypes;
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
.searchStyle,
|
|
2
|
-
.boxStyle {
|
|
3
|
-
transition: var(--zd_transition1);
|
|
4
|
-
width: var(--zd_size96);
|
|
5
|
-
height: var(--zd_size28);
|
|
6
|
-
position: relative;
|
|
7
|
-
}.searchStyle, .boxStyle {
|
|
8
|
-
background: none;
|
|
9
|
-
}
|
|
10
|
-
.boxStyle {
|
|
11
|
-
width: var(--zd_size160);
|
|
12
|
-
border-radius: 4px;
|
|
13
|
-
border: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
14
|
-
}
|
|
15
|
-
.searchStyle:hover, .boxStyle:hover {
|
|
16
|
-
border-color: var(--zdt_lookupsearch_boxstyle_hover_border);
|
|
17
|
-
}
|
|
18
|
-
.focusWidth {
|
|
19
|
-
width: var(--zd_size220);
|
|
20
|
-
}
|
|
21
|
-
.drpSearchBox {
|
|
22
|
-
position: relative;
|
|
23
|
-
height: var(--zd_size28);
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
.drpSearchBox::after {
|
|
27
|
-
content: '';
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: var(--zd_size8);
|
|
30
|
-
bottom: var(--zd_size8);
|
|
31
|
-
}
|
|
32
|
-
[dir=ltr] .drpSearchBox::after {
|
|
33
|
-
right: calc(var(--zd_size1) * -1);
|
|
34
|
-
border-right: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
35
|
-
}
|
|
36
|
-
[dir=rtl] .drpSearchBox::after {
|
|
37
|
-
left: calc(var(--zd_size1) * -1);
|
|
38
|
-
border-left: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
39
|
-
}
|
|
40
|
-
.inputBox, .drpSearchBox {
|
|
41
|
-
padding: 0 var(--zd_size9);
|
|
42
|
-
}
|
|
43
|
-
[dir=ltr] .searchIconBox {
|
|
44
|
-
padding: var(--zd_size4) 0 var(--zd_size4) var(--zd_size9);
|
|
45
|
-
}
|
|
46
|
-
[dir=rtl] .searchIconBox {
|
|
47
|
-
padding: var(--zd_size4) var(--zd_size9) var(--zd_size4) 0;
|
|
48
|
-
}
|
|
49
|
-
.active, .boxStyle.active, .lineActive.drpSearchBox::after {
|
|
50
|
-
border-color: var(--zdt_lookupsearch_boxstyle_activer_border);
|
|
51
|
-
}
|
|
52
|
-
[dir=ltr] .iconArrow {
|
|
53
|
-
margin-left: var(--zd_size5);
|
|
54
|
-
}
|
|
55
|
-
[dir=rtl] .iconArrow {
|
|
56
|
-
margin-right: var(--zd_size5);
|
|
57
|
-
}
|
|
1
|
+
.searchStyle,
|
|
2
|
+
.boxStyle {
|
|
3
|
+
transition: var(--zd_transition1);
|
|
4
|
+
width: var(--zd_size96);
|
|
5
|
+
height: var(--zd_size28);
|
|
6
|
+
position: relative;
|
|
7
|
+
}.searchStyle, .boxStyle {
|
|
8
|
+
background: none;
|
|
9
|
+
}
|
|
10
|
+
.boxStyle {
|
|
11
|
+
width: var(--zd_size160);
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
border: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
14
|
+
}
|
|
15
|
+
.searchStyle:hover, .boxStyle:hover {
|
|
16
|
+
border-color: var(--zdt_lookupsearch_boxstyle_hover_border);
|
|
17
|
+
}
|
|
18
|
+
.focusWidth {
|
|
19
|
+
width: var(--zd_size220);
|
|
20
|
+
}
|
|
21
|
+
.drpSearchBox {
|
|
22
|
+
position: relative;
|
|
23
|
+
height: var(--zd_size28);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
.drpSearchBox::after {
|
|
27
|
+
content: '';
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: var(--zd_size8);
|
|
30
|
+
bottom: var(--zd_size8);
|
|
31
|
+
}
|
|
32
|
+
[dir=ltr] .drpSearchBox::after {
|
|
33
|
+
right: calc(var(--zd_size1) * -1);
|
|
34
|
+
border-right: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
35
|
+
}
|
|
36
|
+
[dir=rtl] .drpSearchBox::after {
|
|
37
|
+
left: calc(var(--zd_size1) * -1);
|
|
38
|
+
border-left: 1px solid var(--zdt_lookupsearch_boxstyle_border);
|
|
39
|
+
}
|
|
40
|
+
.inputBox, .drpSearchBox {
|
|
41
|
+
padding: 0 var(--zd_size9);
|
|
42
|
+
}
|
|
43
|
+
[dir=ltr] .searchIconBox {
|
|
44
|
+
padding: var(--zd_size4) 0 var(--zd_size4) var(--zd_size9);
|
|
45
|
+
}
|
|
46
|
+
[dir=rtl] .searchIconBox {
|
|
47
|
+
padding: var(--zd_size4) var(--zd_size9) var(--zd_size4) 0;
|
|
48
|
+
}
|
|
49
|
+
.active, .boxStyle.active, .lineActive.drpSearchBox::after {
|
|
50
|
+
border-color: var(--zdt_lookupsearch_boxstyle_activer_border);
|
|
51
|
+
}
|
|
52
|
+
[dir=ltr] .iconArrow {
|
|
53
|
+
margin-left: var(--zd_size5);
|
|
54
|
+
}
|
|
55
|
+
[dir=rtl] .iconArrow {
|
|
56
|
+
margin-right: var(--zd_size5);
|
|
57
|
+
}
|
|
@@ -189,7 +189,8 @@ var SearchUI = /*#__PURE__*/function (_Component2) {
|
|
|
189
189
|
activeClass = _this$props4.activeClass,
|
|
190
190
|
isFocus = _this$props4.isFocus,
|
|
191
191
|
onFocus = _this$props4.onFocus,
|
|
192
|
-
onBlur = _this$props4.onBlur
|
|
192
|
+
onBlur = _this$props4.onBlur,
|
|
193
|
+
isAutoFocus = _this$props4.isAutoFocus;
|
|
193
194
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
194
195
|
isCover: false,
|
|
195
196
|
alignBox: "row",
|
|
@@ -219,6 +220,11 @@ var SearchUI = /*#__PURE__*/function (_Component2) {
|
|
|
219
220
|
customClass: {
|
|
220
221
|
customTextBox: "".concat(isBoxed ? _LookupSearchModule["default"].inputBox : '')
|
|
221
222
|
},
|
|
223
|
+
customProps: {
|
|
224
|
+
TextBoxProps: {
|
|
225
|
+
'data-a11y-autofocus': isAutoFocus
|
|
226
|
+
}
|
|
227
|
+
},
|
|
222
228
|
placeHolder: placeHolder,
|
|
223
229
|
value: searchStr,
|
|
224
230
|
onChange: this.handleChange,
|
|
@@ -32,6 +32,7 @@ var SearchUI_propTypes = {
|
|
|
32
32
|
options: _propTypes["default"].array,
|
|
33
33
|
placeHolder: _propTypes["default"].string,
|
|
34
34
|
searchStr: _propTypes["default"].string,
|
|
35
|
-
title: _propTypes["default"].string
|
|
35
|
+
title: _propTypes["default"].string,
|
|
36
|
+
isAutoFocus: _propTypes["default"].bool
|
|
36
37
|
};
|
|
37
38
|
exports.SearchUI_propTypes = SearchUI_propTypes;
|