@zohodesk/dot 1.0.0-temp-39 → 1.0.0-temp-43
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 +62 -2
- package/es/ActionButton/ActionButton.js +2 -2
- package/es/ActionButton/ActionButton.module.css +9 -25
- package/es/AlphabeticList/AlphabeticList.js +21 -12
- package/es/AlphabeticList/AlphabeticList.module.css +8 -11
- package/es/Attachment/Attachment.module.css +9 -20
- package/es/ChannelIcon/ChannelIcon.module.css +21 -30
- package/es/Drawer/Drawer.js +14 -7
- package/es/Drawer/Drawer.module.css +11 -59
- package/es/ExternalLink/ExternalLink.js +10 -5
- package/es/FlipCard/FlipCard.module.css +5 -14
- package/es/FormAction/FormAction.module.css +9 -34
- package/es/FreezeLayer/FreezeLayer.module.css +2 -6
- package/es/IconButton/IconButton.js +2 -2
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +2 -7
- package/es/Link/Link.js +8 -5
- package/es/Loader/Loader.module.css +4 -25
- package/es/Message/Message.js +1 -2
- package/es/Message/Message.module.css +9 -42
- package/es/Message/docs/Message__default.docs.js +1 -2
- package/es/MessageBanner/MessageBanner.module.css +4 -12
- package/es/NewStar/NewStar.module.css +5 -42
- package/es/ToastMessage/ToastMessage.module.css +25 -98
- package/es/Upload/Upload.module.css +8 -27
- package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/es/alert/AlertLookup/AlertLookup.js +4 -0
- package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +38 -12
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/es/emptystate/EditionPage/EditionPage.css +3 -9
- package/es/errorstate/EmptyStates.module.css +10 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/es/errorstate/WillBack/WillBack.module.css +3 -1
- package/es/form/fields/Fields.module.css +12 -48
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +24 -11
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/es/form/fields/TextEditor/TextEditor.js +31 -5
- package/es/form/fields/TextEditor/TextEditor.module.css +84 -136
- package/es/form/fields/TextEditorField/TextEditorField.js +5 -3
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/es/form/fields/ValidationMessage/ValidationMessage.js +16 -5
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +14 -4
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +38 -3
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/es/list/Comment/Comment.module.css +0 -5
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +16 -70
- package/es/list/Icons/AddNewIcon.js +1 -1
- package/es/list/Icons/CompleteIcon.js +1 -1
- package/es/list/Icons/DeleteIcon.js +1 -1
- package/es/list/Icons/EditIcon.js +1 -1
- package/es/list/Icons/FloatingIcons.js +1 -1
- package/es/list/Icons/Icons.module.css +3 -2
- package/es/list/Icons/ReadUnreadIcon.js +42 -0
- package/es/list/Icons/SmartIcon.js +1 -1
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +7 -1
- package/es/list/ListLayout/ListLayout.module.css +8 -5
- package/es/list/ListStencils/ListStencils.module.css +6 -11
- package/es/list/SecondaryText/AccountName.js +23 -9
- package/es/list/SecondaryText/ContactName.js +18 -6
- package/es/list/SecondaryText/Email.js +19 -7
- package/es/list/SecondaryText/PhoneNumber.js +19 -7
- package/es/list/SecondaryText/SecondaryText.module.css +3 -13
- package/es/list/SecondaryText/TicketId.js +18 -6
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
- package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/es/list/Subject/Subject.js +18 -6
- package/es/list/TagNew/TagNew.module.css +7 -14
- package/es/list/Thread/Thread.module.css +1 -13
- package/es/list/UserTime/UserTime.js +1 -1
- package/es/list/UserTime/UserTime.module.css +0 -6
- package/es/list/listCommon.module.css +1 -9
- package/es/list/status/StatusDropdown/StatusDropdown.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/es/lookup/Lookup/Lookup.js +4 -0
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +4 -4
- package/es/lookup/header/Search/LookupSearch.module.css +12 -21
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -9
- package/es/lookup/header/lookupHeaderCommon.module.css +6 -16
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/es/setup/header/Button/HeaderButton.module.css +1 -3
- package/es/setup/header/Link/HeaderLink.module.css +1 -7
- package/es/setup/header/Search/Search.module.css +8 -19
- package/es/setup/header/Views/Views.module.css +5 -15
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/es/setup/helptips/Link/Link.js +1 -2
- package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/es/setup/table/TableData/SetupTableData.module.css +3 -11
- package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -2
- package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -2
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -3
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/version2/errorstate/{Inconvenience/V2_Inconvenience.module.css → V2_ErrorStates.module.css} +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/es/version2/lookup/AlertLookup/AlertLookup.js +5 -1
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/es/version2/lookup/alertLookupCommonNew.module.css +2 -9
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -28
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/package.json +7 -9
- package/src/ActionButton/ActionButton.js +2 -2
- package/src/AlphabeticList/AlphabeticList.js +16 -11
- package/src/AlphabeticList/AlphabeticList.module.css +5 -5
- package/src/Drawer/Drawer.js +16 -6
- package/src/ExternalLink/ExternalLink.js +8 -3
- package/src/IconButton/IconButton.js +2 -2
- package/src/Link/Link.js +8 -4
- package/src/Message/Message.js +2 -2
- package/src/Message/docs/Message__default.docs.js +0 -1
- package/src/alert/AlertLookup/AlertLookup.js +3 -0
- package/src/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/src/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +63 -44
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +17 -6
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/src/form/fields/TextEditor/TextEditor.js +16 -6
- package/src/form/fields/TextEditor/TextEditor.module.css +15 -1
- package/src/form/fields/TextEditorField/TextEditorField.js +9 -3
- package/src/form/fields/ValidationMessage/ValidationMessage.js +26 -4
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +13 -0
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +48 -1
- package/src/list/Icons/AddNewIcon.js +1 -1
- package/src/list/Icons/CompleteIcon.js +3 -9
- package/src/list/Icons/DeleteIcon.js +3 -9
- package/src/list/Icons/EditIcon.js +3 -9
- package/src/list/Icons/FloatingIcons.js +2 -2
- package/src/list/Icons/Icons.module.css +4 -3
- package/src/list/Icons/ReadUnreadIcon.js +42 -0
- package/src/list/Icons/SmartIcon.js +1 -1
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +3 -0
- package/src/list/SecondaryText/AccountName.js +13 -3
- package/src/list/SecondaryText/ContactName.js +11 -2
- package/src/list/SecondaryText/Email.js +12 -3
- package/src/list/SecondaryText/PhoneNumber.js +12 -3
- package/src/list/SecondaryText/TicketId.js +12 -3
- package/src/list/Subject/Subject.js +12 -4
- package/src/list/UserTime/UserTime.js +1 -1
- package/src/list/status/StatusDropdown/StatusDropdown.js +1 -7
- package/src/lookup/Lookup/Lookup.js +3 -0
- package/src/setup/helptips/Link/Link.js +1 -2
- package/src/version2/GlobalNotification/GlobalNotification.js +1 -3
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -1
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -2
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/{es/version2/errorstate/OopsSomethingMiss/V2_OopsSomethingMiss.module.css → src/version2/errorstate/V2_ErrorStates.module.css} +1 -1
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/src/version2/lookup/AlertLookup/AlertLookup.js +4 -1
- package/src/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/V2_UnableToProcessRequest.module.css +0 -46
- package/es/version2/errorstate/UnauthorizedLogin/V2_UnauthorizedLogin.module.css +0 -46
- package/es/version2/errorstate/UrlNotFound/V2_UrlNotFound.module.css +0 -46
- package/es/version2/errorstate/WillBeRightBack/V2_WillBeRightBack.module.css +0 -46
- package/lib/ActionButton/ActionButton.js +0 -222
- package/lib/ActionButton/ActionButton.module.css +0 -136
- package/lib/ActionButton/docs/ActionButton__default.docs.js +0 -187
- package/lib/AlphabeticList/AlphabeticList.js +0 -204
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -57
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -82
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -91
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +0 -536
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -8
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -8
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -8
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -8
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -8
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +0 -536
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -8
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -8
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -8
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -8
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -8
- package/lib/Attachment/Attachment.js +0 -155
- package/lib/Attachment/Attachment.module.css +0 -132
- package/lib/Attachment/docs/Attachment__default.docs.js +0 -104
- package/lib/ChannelIcon/ChannelIcon.js +0 -179
- package/lib/ChannelIcon/ChannelIcon.module.css +0 -217
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -112
- package/lib/Drawer/Drawer.js +0 -413
- package/lib/Drawer/Drawer.module.css +0 -151
- package/lib/Drawer/docs/Drawer__default.docs.js +0 -143
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +0 -171
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -65
- package/lib/Drawer/docs/Drawer__withModal.docs.js +0 -131
- package/lib/ExternalLink/ExternalLink.js +0 -108
- package/lib/ExternalLink/ExternalLink.module.css +0 -4
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -37
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -68
- package/lib/FlipCard/FlipCard.js +0 -240
- package/lib/FlipCard/FlipCard.module.css +0 -44
- package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -121
- package/lib/FormAction/FormAction.js +0 -146
- package/lib/FormAction/FormAction.module.css +0 -82
- package/lib/FormAction/docs/FormAction__default.docs.js +0 -127
- package/lib/FreezeLayer/FreezeLayer.js +0 -189
- package/lib/FreezeLayer/FreezeLayer.module.css +0 -42
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -103
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -100
- package/lib/IconButton/IconButton.js +0 -236
- package/lib/IconButton/IconButton.module.css +0 -22
- package/lib/IconButton/docs/IconButton__default.docs.js +0 -272
- package/lib/Image/Image.js +0 -102
- package/lib/Image/Image.module.css +0 -11
- package/lib/Image/docs/Image__default.docs.js +0 -76
- package/lib/ImportantNotes/ImportantNotes.js +0 -107
- package/lib/ImportantNotes/ImportantNotes.module.css +0 -20
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -68
- package/lib/Link/Link.js +0 -166
- package/lib/Link/Link.module.css +0 -4
- package/lib/Link/LinkContext.js +0 -23
- package/lib/Link/docs/Link__default.docs.js +0 -90
- package/lib/Loader/Loader.js +0 -76
- package/lib/Loader/Loader.module.css +0 -46
- package/lib/Loader/docs/Loader__default.docs.js +0 -68
- package/lib/Message/Message.js +0 -175
- package/lib/Message/Message.module.css +0 -103
- package/lib/Message/docs/Message__default.docs.js +0 -101
- package/lib/MessageBanner/MessageBanner.js +0 -122
- package/lib/MessageBanner/MessageBanner.module.css +0 -45
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +0 -132
- package/lib/NewStar/NewStar.js +0 -126
- package/lib/NewStar/NewStar.module.css +0 -110
- package/lib/NewStar/docs/NewStar__default.docs.js +0 -111
- package/lib/PlusIcon/PlusIcon.js +0 -106
- package/lib/PlusIcon/PlusIcon.module.css +0 -16
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -70
- package/lib/Provider.js +0 -302
- package/lib/ToastMessage/ToastMessage.js +0 -298
- package/lib/ToastMessage/ToastMessage.module.css +0 -332
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -151
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -108
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -175
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -91
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -115
- package/lib/Upload/Upload.js +0 -143
- package/lib/Upload/Upload.module.css +0 -125
- package/lib/Upload/docs/Upload__default.docs.js +0 -110
- package/lib/actions/AutoClose.js +0 -85
- package/lib/actions/index.js +0 -37
- package/lib/alert/AlertHeader/AlertHeader.js +0 -151
- package/lib/alert/AlertHeader/AlertHeader.module.css +0 -81
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -112
- package/lib/alert/AlertLookup/AlertLookup.js +0 -240
- package/lib/alert/AlertLookup/AlertLookup.module.css +0 -27
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -175
- package/lib/avatar/AvatarClose/AvatarClose.js +0 -114
- package/lib/avatar/AvatarClose/AvatarClose.module.css +0 -37
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -72
- package/lib/avatar/AvatarCollision/AvatarCollision.js +0 -127
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +0 -69
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -81
- package/lib/avatar/AvatarIcon/AvatarIcon.js +0 -135
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -58
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -95
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -99
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -141
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +0 -146
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -90
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -104
- package/lib/avatar/AvatarThread/AvatarThread.js +0 -159
- package/lib/avatar/AvatarThread/AvatarThread.module.css +0 -163
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -198
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -198
- package/lib/avatar/AvatarUser/AvatarUser.module.css +0 -171
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -224
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -176
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -23
- package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -53
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -74
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +0 -186
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +0 -55
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -80
- package/lib/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/lib/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/lib/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/lib/deprecated/Theme/palette/defaultPalette.module.css +0 -40
- package/lib/docs/formDocs.js +0 -215
- package/lib/docs/generalDocs.js +0 -1039
- package/lib/docs/lookupDocs.js +0 -287
- package/lib/docs/setupDocs.js +0 -183
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +0 -956
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -97
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -279
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -148
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -85
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -171
- package/lib/emptystate/EditionPage/EditionPage.css +0 -43
- package/lib/emptystate/EditionPage/EditionPage.js +0 -115
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -74
- package/lib/errorstate/EmptyStates.module.css +0 -88
- package/lib/errorstate/Inconvenience/Inconvenience.js +0 -147
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -7
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -69
- package/lib/errorstate/LinkText/LinkText.js +0 -89
- package/lib/errorstate/LinkText/LinkText.module.css +0 -6
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -67
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +0 -147
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -3
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -68
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +0 -146
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +0 -34
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -70
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -147
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -3
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -69
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +0 -147
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -3
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -69
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -147
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -3
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -70
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -69
- package/lib/errorstate/WillBack/WillBack.js +0 -131
- package/lib/errorstate/WillBack/WillBack.module.css +0 -34
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -71
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -242
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -80
- package/lib/form/fields/CurrencyField/CurrencyField.js +0 -293
- package/lib/form/fields/DateField/DateField.js +0 -307
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +0 -74
- package/lib/form/fields/Fields.module.css +0 -181
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +0 -339
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -100
- package/lib/form/fields/PhoneField/PhoneField.js +0 -286
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -76
- package/lib/form/fields/RadioField/RadioField.js +0 -205
- package/lib/form/fields/SelectField/SelectField.js +0 -306
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +0 -110
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -342
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +0 -107
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -126
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -362
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +0 -9
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -96
- package/lib/form/fields/TextBoxField/TextBoxField.js +0 -287
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -97
- package/lib/form/fields/TextEditor/TextEditor.js +0 -490
- package/lib/form/fields/TextEditor/TextEditor.module.css +0 -634
- package/lib/form/fields/TextEditorField/TextEditorField.js +0 -303
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -94
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -296
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +0 -37
- package/lib/form/fields/TextareaField/TextareaField.js +0 -266
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -76
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +0 -111
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -12
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -68
- package/lib/form/layout/Field/Field.js +0 -97
- package/lib/form/layout/Field/Field.module.css +0 -22
- package/lib/form/layout/Field/docs/Field__default.docs.js +0 -74
- package/lib/form/layout/Section/ModuleFormSection.module.css +0 -3
- package/lib/form/layout/Section/Section.js +0 -93
- package/lib/form/layout/Section/docs/Section__default.docs.js +0 -71
- package/lib/i18n.js +0 -3417
- package/lib/index.js +0 -101
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +0 -331
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -152
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -80
- package/lib/layout/SetupDetailLayout/index.js +0 -37
- package/lib/layout/SubtabLayout/SubtabLayout.js +0 -301
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +0 -146
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -118
- package/lib/layout/SubtabLayout/index.js +0 -37
- package/lib/list/AvatarFlip/AvatarFlip.js +0 -159
- package/lib/list/AvatarFlip/AvatarFlip.module.css +0 -3
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -149
- package/lib/list/BluePrintStatus/BluePrintStatus.js +0 -77
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +0 -17
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -65
- package/lib/list/Comment/Comment.js +0 -104
- package/lib/list/Comment/Comment.module.css +0 -29
- package/lib/list/Comment/docs/Comment__default.docs.js +0 -76
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +0 -184
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -9
- package/lib/list/Dot/Dot.js +0 -76
- package/lib/list/Dot/Dot.module.css +0 -15
- package/lib/list/DotNew/DotNew.js +0 -85
- package/lib/list/DotNew/DotNew.module.css +0 -22
- package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -70
- package/lib/list/GridStencils/GridStencils.js +0 -90
- package/lib/list/GridStencils/GridStencils.module.css +0 -156
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -86
- package/lib/list/Icons/AddNewIcon.js +0 -82
- package/lib/list/Icons/CompleteIcon.js +0 -85
- package/lib/list/Icons/DeleteIcon.js +0 -85
- package/lib/list/Icons/EditIcon.js +0 -85
- package/lib/list/Icons/FloatingIcons.js +0 -92
- package/lib/list/Icons/Icons.module.css +0 -15
- package/lib/list/Icons/SmartIcon.js +0 -88
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -74
- package/lib/list/ListLayout/ListLayout.js +0 -173
- package/lib/list/ListLayout/ListLayout.module.css +0 -33
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -111
- package/lib/list/ListStencils/ListStencils.js +0 -100
- package/lib/list/ListStencils/ListStencils.module.css +0 -67
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -70
- package/lib/list/SecondaryText/AccountName.js +0 -144
- package/lib/list/SecondaryText/ContactName.js +0 -163
- package/lib/list/SecondaryText/DepartmentText.js +0 -86
- package/lib/list/SecondaryText/Email.js +0 -109
- package/lib/list/SecondaryText/HappinessRating.js +0 -88
- package/lib/list/SecondaryText/PhoneNumber.js +0 -116
- package/lib/list/SecondaryText/PriorityText.js +0 -91
- package/lib/list/SecondaryText/SecondaryText.js +0 -98
- package/lib/list/SecondaryText/SecondaryText.module.css +0 -136
- package/lib/list/SecondaryText/StatusText.js +0 -94
- package/lib/list/SecondaryText/TicketId.js +0 -109
- package/lib/list/SecondaryText/Website.js +0 -101
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -73
- package/lib/list/SecondaryText/index.js +0 -95
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -241
- package/lib/list/SecondryPanel/SecondryPanel.module.css +0 -6
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -133
- package/lib/list/SentimentStatus/SentimentStatus.js +0 -85
- package/lib/list/SentimentStatus/SentimentStatus.module.css +0 -12
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -65
- package/lib/list/Subject/Subject.js +0 -118
- package/lib/list/Subject/Subject.module.css +0 -27
- package/lib/list/Subject/docs/Subject__default.docs.js +0 -94
- package/lib/list/TagNew/TagNew.js +0 -91
- package/lib/list/TagNew/TagNew.module.css +0 -115
- package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -73
- package/lib/list/Thread/Thread.js +0 -101
- package/lib/list/Thread/Thread.module.css +0 -43
- package/lib/list/Thread/docs/Thread__default.docs.js +0 -72
- package/lib/list/UserTime/UserTime.js +0 -147
- package/lib/list/UserTime/UserTime.module.css +0 -58
- package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -196
- package/lib/list/listCommon.module.css +0 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +0 -538
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +0 -89
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -178
- package/lib/list/status/StatusListItem/StatusListItem.js +0 -206
- package/lib/list/status/StatusListItem/StatusListItem.module.css +0 -104
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -77
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -125
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -70
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -70
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -67
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -70
- package/lib/lookup/Lookup/Lookup.js +0 -154
- package/lib/lookup/Lookup/Lookup.module.css +0 -26
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -247
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -121
- package/lib/lookup/Section/LookupSection.module.css +0 -8
- package/lib/lookup/Section/Section.js +0 -79
- package/lib/lookup/header/Close/Close.js +0 -87
- package/lib/lookup/header/Close/LookupClose.module.css +0 -15
- package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -69
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +0 -144
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -89
- package/lib/lookup/header/Search/LookupSearch.module.css +0 -57
- package/lib/lookup/header/Search/Search.js +0 -315
- package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -175
- package/lib/lookup/header/TicketHeader/TicketHeader.js +0 -167
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +0 -22
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -133
- package/lib/lookup/header/Title/LookupTitle.module.css +0 -20
- package/lib/lookup/header/Title/Title.js +0 -84
- package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -71
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +0 -229
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -51
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -119
- package/lib/lookup/header/lookupHeaderCommon.module.css +0 -35
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +0 -24
- package/lib/setup/header/Button/Button.js +0 -91
- package/lib/setup/header/Button/HeaderButton.module.css +0 -5
- package/lib/setup/header/Button/docs/Button__default.docs.js +0 -68
- package/lib/setup/header/Link/HeaderLink.module.css +0 -21
- package/lib/setup/header/Link/Link.js +0 -102
- package/lib/setup/header/Link/docs/Link__default.docs.js +0 -69
- package/lib/setup/header/Search/Search.js +0 -139
- package/lib/setup/header/Search/Search.module.css +0 -68
- package/lib/setup/header/Search/docs/Search__default.docs.js +0 -92
- package/lib/setup/header/Views/Views.js +0 -105
- package/lib/setup/header/Views/Views.module.css +0 -37
- package/lib/setup/header/Views/docs/Views__default.docs.js +0 -70
- package/lib/setup/helptips/Description/Description.js +0 -72
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -72
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +0 -7
- package/lib/setup/helptips/Link/Link.js +0 -97
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -73
- package/lib/setup/helptips/ListGroup/ListGroup.js +0 -93
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +0 -22
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -76
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/lib/setup/helptips/Title/Title.js +0 -72
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -72
- package/lib/setup/table/Table/Table.js +0 -82
- package/lib/setup/table/Table/docs/Table__default.docs.js +0 -238
- package/lib/setup/table/TableBody/TableBody.js +0 -87
- package/lib/setup/table/TableData/SetupTableData.module.css +0 -44
- package/lib/setup/table/TableData/TableData.js +0 -95
- package/lib/setup/table/TableData/Tablehover.module.css +0 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +0 -12
- package/lib/setup/table/TableHead/TableHead.js +0 -93
- package/lib/setup/table/TableRow/SetupTableRow.module.css +0 -14
- package/lib/setup/table/TableRow/TableRow.js +0 -102
- package/lib/setup/table/Text/TableText.module.css +0 -37
- package/lib/setup/table/Text/Text.js +0 -121
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -84
- package/lib/svg/PlusIcon.js +0 -90
- package/lib/svg/SnippetIcon.js +0 -92
- package/lib/svg/TemplateIcon.js +0 -93
- package/lib/svg/docs/SVG__default.docs.js +0 -101
- package/lib/utils/ChannelIconMapping.js +0 -138
- package/lib/utils/Common.js +0 -33
- package/lib/utils/General.js +0 -82
- package/lib/utils/KeyboardApi.js +0 -297
- package/lib/utils/editorUtils.js +0 -223
- package/lib/version2/AlertClose/AlertClose.js +0 -101
- package/lib/version2/AlertClose/AlertClose.module.css +0 -43
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +0 -97
- package/lib/version2/GlobalNotification/GlobalNotification.js +0 -192
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +0 -125
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -143
- package/lib/version2/alertIcons/AlarmAlertIcon.js +0 -125
- package/lib/version2/alertIcons/AlertIcons.js +0 -127
- package/lib/version2/alertIcons/AlertIcons.module.css +0 -67
- package/lib/version2/alertIcons/DangerAlertIcon.js +0 -126
- package/lib/version2/alertIcons/ErrorAlertIcon.js +0 -130
- package/lib/version2/alertIcons/InfoAlertIcon.js +0 -134
- package/lib/version2/alertIcons/NotificationAlertIcon.js +0 -130
- package/lib/version2/alertIcons/SuccessAlertIcon.js +0 -125
- package/lib/version2/alertIcons/WarningAlertIcon.js +0 -125
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -187
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +0 -146
- package/lib/version2/errorstate/Inconvenience/V2_Inconvenience.module.css +0 -46
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -68
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -146
- package/lib/version2/errorstate/OopsSomethingMiss/V2_OopsSomethingMiss.module.css +0 -46
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -70
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -146
- package/lib/version2/errorstate/UnableToProcessRequest/V2_UnableToProcessRequest.module.css +0 -46
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -80
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -149
- package/lib/version2/errorstate/UnauthorizedLogin/V2_UnauthorizedLogin.module.css +0 -46
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -68
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +0 -146
- package/lib/version2/errorstate/UrlNotFound/V2_UrlNotFound.module.css +0 -46
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -70
- package/lib/version2/errorstate/WillBeRightBack/V2_WillBeRightBack.module.css +0 -46
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +0 -146
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -68
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +0 -134
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +0 -87
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -105
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +0 -307
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +0 -44
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -201
- package/lib/version2/lookup/alertLookupCommonNew.module.css +0 -33
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +0 -228
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +0 -111
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -142
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -128
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -137
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -108
- package/src/version2/errorstate/Inconvenience/V2_Inconvenience.module.css +0 -46
- package/src/version2/errorstate/OopsSomethingMiss/V2_OopsSomethingMiss.module.css +0 -46
- package/src/version2/errorstate/UnableToProcessRequest/V2_UnableToProcessRequest.module.css +0 -46
- package/src/version2/errorstate/UnauthorizedLogin/V2_UnauthorizedLogin.module.css +0 -46
- package/src/version2/errorstate/UrlNotFound/V2_UrlNotFound.module.css +0 -46
- package/src/version2/errorstate/WillBeRightBack/V2_WillBeRightBack.module.css +0 -46
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = ToastMessage;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
|
-
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
15
|
-
|
|
16
|
-
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
17
|
-
|
|
18
|
-
var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
|
|
19
|
-
|
|
20
|
-
var _IdProvider = require("@zohodesk/components/lib/Provider/IdProvider");
|
|
21
|
-
|
|
22
|
-
var _AutoClose = _interopRequireDefault(require("../actions/AutoClose"));
|
|
23
|
-
|
|
24
|
-
var _semanticButtonModule = _interopRequireDefault(require("@zohodesk/components/lib/semantic/Button/semanticButton.module.css"));
|
|
25
|
-
|
|
26
|
-
var _ToastMessageModule = _interopRequireDefault(require("./ToastMessage.module.css"));
|
|
27
|
-
|
|
28
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
|
-
|
|
30
|
-
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); }
|
|
31
|
-
|
|
32
|
-
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; }
|
|
33
|
-
|
|
34
|
-
function _extends() { _extends = Object.assign || 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); }
|
|
35
|
-
|
|
36
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
37
|
-
|
|
38
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
39
|
-
|
|
40
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
41
|
-
|
|
42
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
43
|
-
|
|
44
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
45
|
-
|
|
46
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
47
|
-
|
|
48
|
-
function removeClose(e) {
|
|
49
|
-
e && e.stopPropagation && e.stopPropagation();
|
|
50
|
-
e && e.nativeEvent && e.nativeEvent.stopImmediatePropagation && e.nativeEvent.stopImmediatePropagation();
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function ToastMessageUI(props) {
|
|
54
|
-
var _useState = (0, _react.useState)(props.messageState),
|
|
55
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
56
|
-
messageState = _useState2[0],
|
|
57
|
-
setMessageState = _useState2[1];
|
|
58
|
-
|
|
59
|
-
var type = props.type,
|
|
60
|
-
subject = props.subject,
|
|
61
|
-
info = props.info,
|
|
62
|
-
submitText = props.submitText,
|
|
63
|
-
cancelText = props.cancelText,
|
|
64
|
-
iconName = props.iconName,
|
|
65
|
-
iconSize = props.iconSize,
|
|
66
|
-
submitType = props.submitType,
|
|
67
|
-
isIconMid = props.isIconMid,
|
|
68
|
-
needClose = props.needClose,
|
|
69
|
-
iconPalette = props.iconPalette,
|
|
70
|
-
isMore = props.isMore,
|
|
71
|
-
message = props.message,
|
|
72
|
-
isAnimate = props.isAnimate,
|
|
73
|
-
getLeftContainer = props.getLeftContainer,
|
|
74
|
-
getInnerBottomContainer = props.getInnerBottomContainer,
|
|
75
|
-
getBottomContainer = props.getBottomContainer,
|
|
76
|
-
getSubmitContainer = props.getSubmitContainer,
|
|
77
|
-
onSubmit = props.onSubmit,
|
|
78
|
-
onCancel = props.onCancel,
|
|
79
|
-
dataId = props.dataId,
|
|
80
|
-
isClose = props.isClose,
|
|
81
|
-
onClose = props.onClose,
|
|
82
|
-
needAutoZindex = props.needAutoZindex,
|
|
83
|
-
a11y = props.a11y;
|
|
84
|
-
|
|
85
|
-
function onClickSubmit(e) {
|
|
86
|
-
onSubmit && onSubmit();
|
|
87
|
-
onClose && onClose();
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
function onClickCancel(e) {
|
|
91
|
-
onCancel && onCancel();
|
|
92
|
-
onClose && onClose();
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function changeMessageState(e) {
|
|
96
|
-
removeClose(e);
|
|
97
|
-
setMessageState(!messageState);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
var animateClass = isClose ? _ToastMessageModule["default"].rightanimate : _ToastMessageModule["default"].leftanimate;
|
|
101
|
-
var animateRemoveClass = isClose ? _ToastMessageModule["default"].rightanimate : _ToastMessageModule["default"].leftnoanimate;
|
|
102
|
-
|
|
103
|
-
var channelIcon = /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
104
|
-
iconClass: _ToastMessageModule["default"][iconPalette],
|
|
105
|
-
name: iconName,
|
|
106
|
-
size: iconSize
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
var getNextIndex = (0, _ZindexProvider.useZIndex)();
|
|
110
|
-
var Zindex = isAnimate ? getNextIndex() : null,
|
|
111
|
-
getNextId = (0, _IdProvider.useUniqueId)(),
|
|
112
|
-
titleId = getNextId(),
|
|
113
|
-
infoId = getNextId();
|
|
114
|
-
var _a11y$role = a11y.role,
|
|
115
|
-
role = _a11y$role === void 0 ? 'alert' : _a11y$role,
|
|
116
|
-
_a11y$ariaLive = a11y.ariaLive,
|
|
117
|
-
ariaLive = _a11y$ariaLive === void 0 ? 'assertive' : _a11y$ariaLive,
|
|
118
|
-
_a11y$ariaAtomic = a11y.ariaAtomic,
|
|
119
|
-
ariaAtomic = _a11y$ariaAtomic === void 0 ? true : _a11y$ariaAtomic,
|
|
120
|
-
_a11y$ariaDescribedby = a11y.ariaDescribedby,
|
|
121
|
-
ariaDescribedby = _a11y$ariaDescribedby === void 0 ? infoId : _a11y$ariaDescribedby,
|
|
122
|
-
_a11y$ariaLabelledby = a11y.ariaLabelledby,
|
|
123
|
-
ariaLabelledby = _a11y$ariaLabelledby === void 0 ? titleId : _a11y$ariaLabelledby;
|
|
124
|
-
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
125
|
-
className: "".concat(_ToastMessageModule["default"].container, " ").concat(isAnimate ? animateClass : animateRemoveClass, " ").concat(_ToastMessageModule["default"]["alert".concat(type)] ? _ToastMessageModule["default"]["alert".concat(type)] : ''),
|
|
126
|
-
isCover: false,
|
|
127
|
-
dataId: dataId,
|
|
128
|
-
style: needAutoZindex && isAnimate ? {
|
|
129
|
-
zIndex: "".concat(Zindex)
|
|
130
|
-
} : {},
|
|
131
|
-
role: role,
|
|
132
|
-
"aria-live": ariaLive,
|
|
133
|
-
"aria-atomic": ariaAtomic,
|
|
134
|
-
"aria-describedby": ariaDescribedby,
|
|
135
|
-
"aria-labelledby": ariaLabelledby
|
|
136
|
-
}, type !== 'custom' ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
137
|
-
className: _ToastMessageModule["default"].alertifychild,
|
|
138
|
-
flexible: true
|
|
139
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
140
|
-
alignBox: "row",
|
|
141
|
-
className: _ToastMessageModule["default"].alertifybanner
|
|
142
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
143
|
-
className: _ToastMessageModule["default"].alertleft,
|
|
144
|
-
flexible: true
|
|
145
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
146
|
-
align: isIconMid ? 'vertical' : '',
|
|
147
|
-
alignBox: "row"
|
|
148
|
-
}, type != 'success' && !getLeftContainer ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
149
|
-
className: "".concat(_ToastMessageModule["default"].alertico)
|
|
150
|
-
}, /*#__PURE__*/_react["default"].createElement("span", null, channelIcon)) : getLeftContainer ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
151
|
-
className: "".concat(_ToastMessageModule["default"].alertico)
|
|
152
|
-
}, getLeftContainer()) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
153
|
-
flexible: true
|
|
154
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
155
|
-
align: "vertical",
|
|
156
|
-
alignBox: "row",
|
|
157
|
-
isCover: false
|
|
158
|
-
}, type == 'success' ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
159
|
-
className: _ToastMessageModule["default"].alertTitleLeft
|
|
160
|
-
}, channelIcon) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
161
|
-
className: _ToastMessageModule["default"].alertTitle,
|
|
162
|
-
flexible: true,
|
|
163
|
-
"data-title": subject,
|
|
164
|
-
id: titleId
|
|
165
|
-
}, subject)), info ? /*#__PURE__*/_react["default"].createElement("p", {
|
|
166
|
-
className: _ToastMessageModule["default"].alertMessage,
|
|
167
|
-
"data-title": info,
|
|
168
|
-
id: infoId
|
|
169
|
-
}, info) : null, getInnerBottomContainer ? /*#__PURE__*/_react["default"].createElement("div", null, getInnerBottomContainer()) : null), type == 'information' && needClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
170
|
-
className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ToastMessageModule["default"].closeIconPrimary),
|
|
171
|
-
onClick: onClose,
|
|
172
|
-
dataId: "".concat(dataId, "_close"),
|
|
173
|
-
tagName: "button"
|
|
174
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
175
|
-
isBold: true,
|
|
176
|
-
name: "ZD-close",
|
|
177
|
-
size: "18"
|
|
178
|
-
})) : null)), type != 'information' ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
179
|
-
className: _ToastMessageModule["default"].alertright
|
|
180
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
181
|
-
className: _ToastMessageModule["default"].alerttab
|
|
182
|
-
}, needClose ? /*#__PURE__*/_react["default"].createElement("button", {
|
|
183
|
-
className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ToastMessageModule["default"].closeIcon),
|
|
184
|
-
onClick: onClose,
|
|
185
|
-
"data-id": "".concat(dataId, "_closeRight")
|
|
186
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
187
|
-
name: "ZD-close",
|
|
188
|
-
size: "18"
|
|
189
|
-
})) : null, submitText ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
190
|
-
className: "".concat(getSubmitContainer ? _ToastMessageModule["default"].sumbitBorder : cancelText ? _ToastMessageModule["default"].notSolo : _ToastMessageModule["default"].mainbutton, " ").concat(getSubmitContainer ? '' : _ToastMessageModule["default"][submitType], " "),
|
|
191
|
-
flexible: true,
|
|
192
|
-
onClick: onClickSubmit,
|
|
193
|
-
dataId: "".concat(dataId, "_submitButton")
|
|
194
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
195
|
-
align: "vertical",
|
|
196
|
-
alignBox: "row"
|
|
197
|
-
}, getSubmitContainer ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
198
|
-
flexible: true
|
|
199
|
-
}, getSubmitContainer()) : /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
200
|
-
className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ToastMessageModule["default"].buttonText),
|
|
201
|
-
flexible: true,
|
|
202
|
-
tagName: "button"
|
|
203
|
-
}, submitText))) : null, cancelText ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
204
|
-
className: "".concat(_ToastMessageModule["default"].cancelButton),
|
|
205
|
-
flexible: true,
|
|
206
|
-
onClick: onClose,
|
|
207
|
-
dataId: "".concat(dataId, "_cancelButton")
|
|
208
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
209
|
-
align: "vertical",
|
|
210
|
-
alignBox: "row"
|
|
211
|
-
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
212
|
-
className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ToastMessageModule["default"].buttonText),
|
|
213
|
-
flexible: true,
|
|
214
|
-
onClick: onClickCancel,
|
|
215
|
-
dataId: "".concat(dataId, "_cancelButtonInner"),
|
|
216
|
-
tagName: "button"
|
|
217
|
-
}, cancelText), isMore ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
218
|
-
className: "".concat(_semanticButtonModule["default"].buttonReset, " ").concat(_ToastMessageModule["default"].dropdown),
|
|
219
|
-
onClick: changeMessageState,
|
|
220
|
-
dataId: "".concat(dataId, "_moreIcon"),
|
|
221
|
-
tagName: "button",
|
|
222
|
-
"aria-expanded": messageState ? true : false,
|
|
223
|
-
"aria-haspopup": true
|
|
224
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
225
|
-
name: "ZD-down",
|
|
226
|
-
size: "7"
|
|
227
|
-
})) : null)) : null)) : null)) : null, isMore ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
228
|
-
className: "".concat(_ToastMessageModule["default"].message, " ").concat(messageState ? '' : _ToastMessageModule["default"].messageOff),
|
|
229
|
-
tagName: "p"
|
|
230
|
-
}, message) : null, getBottomContainer ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getBottomContainer()) : null);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function ToastMessage(props) {
|
|
234
|
-
return /*#__PURE__*/_react["default"].createElement(_AutoClose["default"], _extends({}, props, {
|
|
235
|
-
Element: ToastMessageUI
|
|
236
|
-
}));
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
ToastMessage.propTypes = {
|
|
240
|
-
autoClose: _propTypes["default"].bool,
|
|
241
|
-
cancelText: _propTypes["default"].string,
|
|
242
|
-
dataId: _propTypes["default"].string,
|
|
243
|
-
getBottomContainer: _propTypes["default"].func,
|
|
244
|
-
getInnerBottomContainer: _propTypes["default"].func,
|
|
245
|
-
getLeftContainer: _propTypes["default"].func,
|
|
246
|
-
getSubmitContainer: _propTypes["default"].func,
|
|
247
|
-
hidePopNotification: _propTypes["default"].func,
|
|
248
|
-
hideTime: _propTypes["default"].string,
|
|
249
|
-
iconName: _propTypes["default"].string,
|
|
250
|
-
iconPalette: _propTypes["default"].oneOf(['successFill', 'dangerFill', 'dangerShadow', 'successPlain', 'dangerPlain', 'primaryPlain']),
|
|
251
|
-
iconSize: _propTypes["default"].string,
|
|
252
|
-
id: _propTypes["default"].string,
|
|
253
|
-
info: _propTypes["default"].string,
|
|
254
|
-
isAnimate: _propTypes["default"].bool,
|
|
255
|
-
isClose: _propTypes["default"].bool,
|
|
256
|
-
isIconMid: _propTypes["default"].bool,
|
|
257
|
-
isMore: _propTypes["default"].bool,
|
|
258
|
-
message: _propTypes["default"].string,
|
|
259
|
-
messageState: _propTypes["default"].bool,
|
|
260
|
-
needClose: _propTypes["default"].bool,
|
|
261
|
-
onCancel: _propTypes["default"].func,
|
|
262
|
-
onSubmit: _propTypes["default"].func,
|
|
263
|
-
subject: _propTypes["default"].string,
|
|
264
|
-
submitText: _propTypes["default"].string,
|
|
265
|
-
submitType: _propTypes["default"].oneOf(['primary', 'danger', 'success']),
|
|
266
|
-
type: _propTypes["default"].oneOf(['primary', 'information', 'secondary', 'success', 'custom']),
|
|
267
|
-
needAutoZindex: _propTypes["default"].bool,
|
|
268
|
-
a11y: _propTypes["default"].shape({
|
|
269
|
-
role: _propTypes["default"].string,
|
|
270
|
-
ariaLive: _propTypes["default"].oneOf(['polite', 'assertive', 'off']),
|
|
271
|
-
ariaAtomic: _propTypes["default"].bool,
|
|
272
|
-
ariaDescribedby: _propTypes["default"].string,
|
|
273
|
-
ariaLabelledby: _propTypes["default"].string
|
|
274
|
-
})
|
|
275
|
-
};
|
|
276
|
-
ToastMessage.defaultProps = {
|
|
277
|
-
iconName: 'bell',
|
|
278
|
-
iconSize: '30',
|
|
279
|
-
submitType: 'primary',
|
|
280
|
-
isIconMid: false,
|
|
281
|
-
needClose: false,
|
|
282
|
-
type: 'primary',
|
|
283
|
-
isMore: false,
|
|
284
|
-
messageState: false,
|
|
285
|
-
isAnimate: true,
|
|
286
|
-
isClose: false,
|
|
287
|
-
autoClose: false,
|
|
288
|
-
hideTime: '3000',
|
|
289
|
-
dataId: 'toastMessage',
|
|
290
|
-
needAutoZindex: true,
|
|
291
|
-
a11y: {}
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
if (false) {
|
|
295
|
-
ToastMessage.docs = {
|
|
296
|
-
componentGroup: 'Atom'
|
|
297
|
-
};
|
|
298
|
-
}
|
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
transition: all var(--zd_transition4);
|
|
3
|
-
position: relative;
|
|
4
|
-
max-height: 100%;
|
|
5
|
-
border-radius: 5px;
|
|
6
|
-
box-shadow: 0 5px 40px 7px var(--zdt_toastmessage_default_box_shadow);
|
|
7
|
-
background-color: var(--zdt_toastmessage_default_bg);
|
|
8
|
-
margin-bottom: var(--zd_size7);
|
|
9
|
-
}[dir=ltr] .container {
|
|
10
|
-
transform-origin: right center;
|
|
11
|
-
}[dir=rtl] .container {
|
|
12
|
-
transform-origin: left center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.closeAnimation {
|
|
16
|
-
max-height: 0;
|
|
17
|
-
transition: all var(--zd_transition3) 0.4s;
|
|
18
|
-
margin-bottom: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.animation {
|
|
22
|
-
composes: modeForward from '~@zohodesk/components/lib/common/animation.module.css';
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[dir=ltr] .animation {
|
|
26
|
-
animation-duration: 0.4s;
|
|
27
|
-
-webkit-animation-duration: 0.4s;
|
|
28
|
-
-moz-animation-duration: 0.4s;
|
|
29
|
-
-ms-animation-duration: 0.4s;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
[dir=rtl] .animation {
|
|
33
|
-
animation-duration: 0.4s;
|
|
34
|
-
-webkit-animation-duration: 0.4s;
|
|
35
|
-
-moz-animation-duration: 0.4s;
|
|
36
|
-
-ms-animation-duration: 0.4s;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.leftanimate {
|
|
40
|
-
composes: slideLeft from '~@zohodesk/components/lib/common/animation.module.css';
|
|
41
|
-
composes: animation;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.leftnoanimate {
|
|
45
|
-
opacity: 1;
|
|
46
|
-
transform: translateX(0) scale(1);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.rightanimate {
|
|
50
|
-
composes: slideRight from '~@zohodesk/components/lib/common/animation.module.css';
|
|
51
|
-
composes: animation;
|
|
52
|
-
composes: closeAnimation;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.alertifychild {
|
|
56
|
-
position: relative;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.alertifybanner {
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
[dir=ltr] .alertifybanner {
|
|
64
|
-
border-radius: 5px 0 0 5px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
[dir=rtl] .alertifybanner {
|
|
68
|
-
border-radius: 0 5px 5px 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.alertright {
|
|
72
|
-
width: var(--zd_size105);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
[dir=ltr] .alertright {
|
|
76
|
-
border-left: 1px solid var(--zdt_toastmessage_alert_border);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
[dir=rtl] .alertright {
|
|
80
|
-
border-right: 1px solid var(--zdt_toastmessage_alert_border);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.popbutton {
|
|
84
|
-
font-size: var(--zd_font_size10);
|
|
85
|
-
color: var(--zdt_toastmessage_popbutton_text);
|
|
86
|
-
composes: wbreak textCap from '~@zohodesk/components/lib/common/common.module.css';
|
|
87
|
-
transition: all var(--zd_transition3);
|
|
88
|
-
position: relative;
|
|
89
|
-
cursor: pointer;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.mainbutton {
|
|
93
|
-
composes: popbutton;
|
|
94
|
-
font-size: var(--zd_font_size11);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.sumbitBorder {
|
|
98
|
-
border-bottom: 1px solid var(--zdt_toastmessage_submit_border);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.notSolo {
|
|
102
|
-
composes: mainbutton;
|
|
103
|
-
composes: sumbitBorder;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.primary {
|
|
107
|
-
color: var(--zdt_toastmessage_primary_text);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.danger {
|
|
111
|
-
color: var(--zdt_toastmessage_danger_text);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.success {
|
|
115
|
-
color: var(--zdt_toastmessage_success_text);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.cancelButton {
|
|
119
|
-
composes: popbutton;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.cancelButton:hover {
|
|
123
|
-
color: var(--zdt_toastmessage_cancel_hover_text);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.primary:hover,
|
|
127
|
-
.alerttab:hover .coverfill.primary {
|
|
128
|
-
color: var(--zdt_toastmessage_primary_hover_text);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.primary:hover, .alerttab:hover .coverfill.primary {
|
|
132
|
-
background-color: var(--zdt_toastmessage_primary_hover_bg);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.danger:hover,
|
|
136
|
-
.alerttab:hover .coverfill.danger {
|
|
137
|
-
color: var(--zdt_toastmessage_primary_hover_text);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.danger:hover, .alerttab:hover .coverfill.danger {
|
|
141
|
-
background-color: var(--zdt_toastmessage_danger_hover_bg);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.success:hover,
|
|
145
|
-
.alerttab:hover .coverfill.success {
|
|
146
|
-
color: var(--zdt_toastmessage_primary_hover_text);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.success:hover, .alerttab:hover .coverfill.success {
|
|
150
|
-
background-color: var(--zdt_toastmessage_success_hover_bg);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.alertleft {
|
|
154
|
-
padding: var(--zd_size15) var(--zd_size25);
|
|
155
|
-
}
|
|
156
|
-
.alertico {
|
|
157
|
-
min-width: var(--zd_size50);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.alertsecondary .alertico {
|
|
161
|
-
z-index: -1;
|
|
162
|
-
opacity: 0.1;
|
|
163
|
-
position: absolute;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.alertTitle {
|
|
167
|
-
composes: semibold wbreak dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
168
|
-
font-size: var(--zd_font_size14);
|
|
169
|
-
color: var(--zdt_toastmessage_alerttitle_text);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
[dir=ltr] .alertTitleLeft {
|
|
173
|
-
margin-right: var(--zd_size10);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
[dir=rtl] .alertTitleLeft {
|
|
177
|
-
margin-left: var(--zd_size10);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.alertMessage {
|
|
181
|
-
font-size: var(--zd_font_size12);
|
|
182
|
-
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
183
|
-
line-height: var(--zd_size16);
|
|
184
|
-
color: var(--zdt_toastmessage_alert_text);
|
|
185
|
-
margin-top: var(--zd_size5);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.buttonText {
|
|
189
|
-
font-size: inherit;
|
|
190
|
-
line-height: var(--zd_size14);
|
|
191
|
-
text-align: center;
|
|
192
|
-
padding: 0 var(--zd_size7);
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.closeIcon,
|
|
197
|
-
.closeIconPrimary {
|
|
198
|
-
position: absolute;
|
|
199
|
-
top: 0;
|
|
200
|
-
z-index: 1;
|
|
201
|
-
color: var(--zdt_toastmessage_closeicon);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.closeIcon, .closeIconPrimary {
|
|
205
|
-
padding: var(--zd_size2);
|
|
206
|
-
cursor: pointer;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
[dir=ltr] .closeIcon, [dir=ltr] .closeIconPrimary {
|
|
210
|
-
right: 0;
|
|
211
|
-
border-bottom-left-radius: 3px;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
[dir=rtl] .closeIcon, [dir=rtl] .closeIconPrimary {
|
|
215
|
-
left: 0;
|
|
216
|
-
border-bottom-right-radius: 3px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.closeIcon:hover {
|
|
220
|
-
background-color: var(--zdt_toastmessage_closeicon_hover_bg);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.alertright:hover .closeIcon i {
|
|
224
|
-
color: var(--zdt_toastmessage_primary_hover_text);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.closeIconPrimary:hover i {
|
|
228
|
-
color: var(--zdt_toastmessage_closeicon_hover_text);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.dropdown {
|
|
232
|
-
width: var(--zd_size23);
|
|
233
|
-
position: relative;
|
|
234
|
-
height: 100%;
|
|
235
|
-
color: var(--zdt_toastmessage_dropdown_text);
|
|
236
|
-
background: var(--zdt_toastmessage_dropdown_bg);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.dropdown > i {
|
|
240
|
-
position: absolute;
|
|
241
|
-
top: 50%;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
[dir=ltr] .dropdown > i {
|
|
245
|
-
left: 50%;
|
|
246
|
-
transform: translate(-50%, -50%);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
[dir=rtl] .dropdown > i {
|
|
250
|
-
right: 50%;
|
|
251
|
-
transform: translate(50%, -50%);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.dropdown:hover i {
|
|
255
|
-
color: var(--zdt_toastmessage_cancel_hover_text);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.message {
|
|
259
|
-
position: relative;
|
|
260
|
-
color: var(--zdt_toastmessage_popbutton_text);
|
|
261
|
-
font-size: var(--zd_font_size11);
|
|
262
|
-
composes: dotted textCap from '~@zohodesk/components/lib/common/common.module.css';
|
|
263
|
-
height: var(--zd_size33);
|
|
264
|
-
transition: padding var(--zd_transition3), height var(--zd_transition3);
|
|
265
|
-
border-top: 1px solid var(--zdt_toastmessage_message_border);
|
|
266
|
-
cursor: pointer;
|
|
267
|
-
margin:0;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
[dir=ltr] .message {
|
|
271
|
-
padding: var(--zd_size10) var(--zd_size20) var(--zd_size10) var(--zd_size76);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
[dir=rtl] .message {
|
|
275
|
-
padding: var(--zd_size10) var(--zd_size76) var(--zd_size10) var(--zd_size20);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.messageOff {
|
|
279
|
-
height: 0;
|
|
280
|
-
font-size: 0;
|
|
281
|
-
border-width: 0;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
[dir=ltr] .messageOff {
|
|
285
|
-
padding: 0 var(--zd_size20) 0 var(--zd_size76);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
[dir=rtl] .messageOff {
|
|
289
|
-
padding: 0 var(--zd_size76) 0 var(--zd_size20);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.message:hover {
|
|
293
|
-
background: var(--zdt_toastmessage_dropdown_bg);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.fill {
|
|
297
|
-
width: var(--zd_size29);
|
|
298
|
-
height: var(--zd_size29);
|
|
299
|
-
line-height: var(--zd_size29);
|
|
300
|
-
composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
|
|
301
|
-
text-align: center;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.successFill {
|
|
305
|
-
composes: fill;
|
|
306
|
-
color: var(--zdt_toastmessage_primary_hover_text);
|
|
307
|
-
background: var(--zdt_toastmessage_successfill_bg);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.dangerFill {
|
|
311
|
-
composes: fill;
|
|
312
|
-
color: var(--zdt_toastmessage_primary_hover_text);
|
|
313
|
-
background: var(--zdt_toastmessage_danger_hover_bg);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.dangerShadow {
|
|
317
|
-
color: var(--zdt_toastmessage_danger_text);
|
|
318
|
-
text-shadow: 0 4px 22px var(--zdt_toastmessage_danger_text_shadow);
|
|
319
|
-
margin-top: var(--zd_size5);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.successPlain {
|
|
323
|
-
color: var(--zdt_toastmessage_successplain_text);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.dangerPlain {
|
|
327
|
-
color: var(--zdt_toastmessage_danger_text);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.primaryPlain {
|
|
331
|
-
color: var(--zdt_toastmessage_primary_text);
|
|
332
|
-
}
|