@zohodesk/dot 1.0.0-temp-60 → 1.0.0-temp-61
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 +5 -0
- package/{es → assets}/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -0
- package/{src → assets}/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/mode/dotDefaultMode.module.css +1 -1
- package/{es → assets}/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/green/greenDefaultDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -0
- package/es/ActionButton/ActionButton.module.css +25 -9
- package/es/AlphabeticList/AlphabeticList.module.css +7 -4
- package/es/Attachment/Attachment.module.css +24 -13
- package/es/ChannelIcon/ChannelIcon.module.css +30 -21
- package/es/Drawer/Drawer.module.css +59 -11
- package/es/FlipCard/FlipCard.module.css +14 -5
- package/es/FormAction/FormAction.module.css +34 -9
- package/es/FreezeLayer/FreezeLayer.module.css +6 -2
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +8 -3
- package/es/Loader/Loader.module.css +25 -4
- package/es/Message/Message.module.css +42 -9
- package/es/MessageBanner/MessageBanner.module.css +12 -4
- package/es/NewStar/NewStar.module.css +42 -5
- package/es/Provider.js +46 -46
- package/es/ToastMessage/ToastMessage.module.css +98 -27
- package/es/Upload/Upload.module.css +28 -9
- package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +13 -8
- package/es/emptystate/EditionPage/EditionPage.css +9 -3
- package/es/errorstate/EmptyStates.module.css +16 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +1 -3
- package/es/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/form/fields/DateField/DateField.js +2 -2
- package/es/form/fields/Fields.module.css +54 -16
- package/es/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +2 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/es/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/es/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +54 -18
- package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
- package/es/list/Comment/Comment.module.css +5 -0
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +70 -16
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +22 -14
- package/es/list/ListStencils/ListStencils.module.css +11 -6
- package/es/list/SecondaryText/SecondaryText.module.css +13 -3
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/es/list/TagNew/TagNew.module.css +14 -7
- package/es/list/Thread/Thread.module.css +13 -1
- package/es/list/UserTime/UserTime.module.css +6 -0
- package/es/list/listCommon.module.css +10 -2
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
- 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 +5 -5
- package/es/lookup/header/Search/LookupSearch.module.css +21 -12
- package/es/lookup/header/TicketHeader/TicketHeader.js +3 -1
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +7 -3
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -5
- package/es/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/es/setup/header/Button/HeaderButton.module.css +3 -1
- package/es/setup/header/Link/HeaderLink.module.css +7 -1
- package/es/setup/header/Search/Search.module.css +20 -9
- package/es/setup/header/Views/Views.module.css +16 -6
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/es/setup/table/TableData/SetupTableData.module.css +11 -3
- package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/es/version2/errorstate/V2_ErrorStates.module.css +2 -3
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +26 -3
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -4
- package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +28 -12
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +50 -13
- package/lib/ActionButton/ActionButton.module.css +25 -9
- package/lib/AlphabeticList/AlphabeticList.module.css +7 -4
- package/lib/Attachment/Attachment.module.css +20 -9
- package/lib/ChannelIcon/ChannelIcon.module.css +30 -21
- package/lib/Drawer/Drawer.module.css +59 -11
- package/lib/FlipCard/FlipCard.module.css +14 -5
- package/lib/FormAction/FormAction.module.css +34 -9
- package/lib/FreezeLayer/FreezeLayer.module.css +6 -2
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +7 -2
- package/lib/Loader/Loader.module.css +25 -4
- package/lib/Message/Message.module.css +42 -9
- package/lib/MessageBanner/MessageBanner.module.css +12 -4
- package/lib/NewStar/NewStar.module.css +42 -5
- package/lib/Provider.js +46 -46
- package/lib/ToastMessage/ToastMessage.module.css +96 -25
- package/lib/Upload/Upload.module.css +27 -8
- package/lib/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/lib/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/lib/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/lib/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +17 -9
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/lib/emptystate/EditionPage/EditionPage.css +9 -3
- package/lib/errorstate/EmptyStates.module.css +13 -10
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/WillBack/WillBack.module.css +1 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/lib/form/fields/DateField/DateField.js +2 -2
- package/lib/form/fields/Fields.module.css +54 -16
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -4
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/lib/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/lib/form/fields/TextareaField/TextareaField.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +6 -3
- package/lib/list/Comment/Comment.module.css +5 -0
- package/lib/list/DotNew/DotNew.module.css +6 -6
- package/lib/list/GridStencils/GridStencils.module.css +70 -16
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/ListLayout/ListLayout.module.css +22 -14
- package/lib/list/ListStencils/ListStencils.module.css +11 -6
- package/lib/list/SecondaryText/SecondaryText.module.css +13 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/lib/list/TagNew/TagNew.module.css +14 -7
- package/lib/list/Thread/Thread.module.css +13 -1
- package/lib/list/UserTime/UserTime.module.css +6 -0
- package/lib/list/listCommon.module.css +9 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/Search/LookupSearch.module.css +21 -12
- package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +7 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -4
- package/lib/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/lib/setup/header/Button/HeaderButton.module.css +3 -1
- package/lib/setup/header/Link/HeaderLink.module.css +7 -1
- package/lib/setup/header/Search/Search.module.css +19 -8
- package/lib/setup/header/Views/Views.module.css +15 -5
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +11 -3
- package/lib/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/lib/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +18 -6
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/lib/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +13 -5
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +29 -14
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/package.json +8 -8
- package/__testUtils__/globals.js +0 -0
- package/build/Unusedfiles.json +0 -1
- package/es/ActionButton/docs/ActionButton__default.docs.js +0 -134
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -34
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -43
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/es/Attachment/docs/Attachment__default.docs.js +0 -54
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -57
- package/es/Drawer/docs/Drawer__default.docs.js +0 -87
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +0 -112
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -20
- package/es/Drawer/docs/Drawer__withModal.docs.js +0 -74
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -19
- package/es/FlipCard/docs/FlipCard__default.docs.js +0 -66
- package/es/FormAction/docs/FormAction__default.docs.js +0 -72
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -51
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -48
- package/es/IconButton/docs/IconButton__default.docs.js +0 -219
- package/es/Image/docs/Image__default.docs.js +0 -22
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/es/Link/docs/Link__default.docs.js +0 -36
- package/es/Loader/docs/Loader__default.docs.js +0 -23
- package/es/Message/docs/Message__default.docs.js +0 -55
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +0 -88
- package/es/NewStar/docs/NewStar__default.docs.js +0 -62
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -16
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -92
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -54
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -125
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -37
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -61
- package/es/Upload/docs/Upload__default.docs.js +0 -61
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -63
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -121
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -35
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -40
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -46
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -35
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -51
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -147
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -173
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -24
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -34
- package/es/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/es/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/es/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -40
- package/es/docs/formDocs.js +0 -26
- package/es/docs/generalDocs.js +0 -131
- package/es/docs/lookupDocs.js +0 -44
- package/es/docs/setupDocs.js +0 -22
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -228
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -111
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -21
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -17
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -30
- package/es/form/fields/DateField/docs/DateField__default.docs.js +0 -25
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -48
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -26
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +0 -58
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -77
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -82
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -45
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -43
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -26
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -58
- package/es/form/layout/Field/docs/Field__default.docs.js +0 -25
- package/es/form/layout/Section/docs/Section__default.docs.js +0 -21
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -29
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -67
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -100
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -19
- package/es/list/Comment/docs/Comment__default.docs.js +0 -26
- package/es/list/DotNew/docs/DotNew__default.docs.js +0 -20
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -35
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -24
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -60
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -20
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -77
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -19
- package/es/list/Subject/docs/Subject__default.docs.js +0 -44
- package/es/list/TagNew/docs/TagNew__default.docs.js +0 -23
- package/es/list/Thread/docs/Thread__default.docs.js +0 -22
- package/es/list/UserTime/docs/UserTime__default.docs.js +0 -147
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -129
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -27
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -20
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -20
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -17
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -20
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -196
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -68
- package/es/lookup/header/Close/docs/Close__default.docs.js +0 -19
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -41
- package/es/lookup/header/Search/docs/Search__default.docs.js +0 -124
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -83
- package/es/lookup/header/Title/docs/Title__default.docs.js +0 -21
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -75
- package/es/setup/header/Button/docs/Button__default.docs.js +0 -22
- package/es/setup/header/Link/docs/Link__default.docs.js +0 -23
- package/es/setup/header/Search/docs/Search__default.docs.js +0 -41
- package/es/setup/header/Views/docs/Views__default.docs.js +0 -24
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -26
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -30
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -26
- package/es/setup/table/Table/docs/Table__default.docs.js +0 -181
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -35
- package/es/svg/docs/SVG__default.docs.js +0 -49
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +0 -47
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -95
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -138
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -18
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -20
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -30
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -18
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -20
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -18
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -56
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -147
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -92
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -57
- package/lib/ActionButton/docs/ActionButton__default.docs.js +0 -187
- 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 -10
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +0 -536
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/lib/Attachment/docs/Attachment__default.docs.js +0 -104
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -112
- 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/docs/ExternalLink__default.docs.js +0 -68
- package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -121
- package/lib/FormAction/docs/FormAction__default.docs.js +0 -127
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -103
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -100
- package/lib/IconButton/docs/IconButton__default.docs.js +0 -272
- package/lib/Image/docs/Image__default.docs.js +0 -76
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -68
- package/lib/Link/docs/Link__default.docs.js +0 -90
- package/lib/Loader/docs/Loader__default.docs.js +0 -68
- package/lib/Message/docs/Message__default.docs.js +0 -100
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +0 -132
- package/lib/NewStar/docs/NewStar__default.docs.js +0 -111
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -70
- 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/docs/Upload__default.docs.js +0 -110
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -112
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -175
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -72
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -81
- 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/docs/AvatarStatus__size.docs.js +0 -90
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -104
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -198
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -224
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -74
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -80
- 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/docs/ToggleDropDown__default.docs.js +0 -279
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -171
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -74
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -69
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -67
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -68
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -70
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -69
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -69
- 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/docs/WillBack__default.docs.js +0 -71
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -80
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +0 -74
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -100
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -76
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +0 -110
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -126
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -96
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -97
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -94
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -76
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -103
- package/lib/form/layout/Field/docs/Field__default.docs.js +0 -74
- package/lib/form/layout/Section/docs/Section__default.docs.js +0 -71
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -80
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -118
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -149
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -65
- package/lib/list/Comment/docs/Comment__default.docs.js +0 -76
- package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -70
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -86
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -111
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -70
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -73
- 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/docs/SentimentStatus__default.docs.js +0 -65
- package/lib/list/Subject/docs/Subject__default.docs.js +0 -94
- package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -73
- package/lib/list/Thread/docs/Thread__default.docs.js +0 -72
- package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -196
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -178
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -77
- 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/docs/Lookup__contact.docs.js +0 -247
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -121
- package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -69
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -89
- package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -175
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -133
- package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -71
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -119
- package/lib/setup/header/Button/docs/Button__default.docs.js +0 -68
- package/lib/setup/header/Link/docs/Link__default.docs.js +0 -69
- package/lib/setup/header/Search/docs/Search__default.docs.js +0 -92
- package/lib/setup/header/Views/docs/Views__default.docs.js +0 -70
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -72
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -73
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -76
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -72
- package/lib/setup/table/Table/docs/Table__default.docs.js +0 -238
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -84
- package/lib/svg/docs/SVG__default.docs.js +0 -101
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +0 -97
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -143
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -187
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -68
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -70
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -80
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -68
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -70
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -68
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -105
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -201
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -142
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -108
- package/preprocess/dotAppearanceColors.js +0 -71
- package/preprocess/dotThemeColors.js +0 -98
- package/preprocess/index.js +0 -2
- package/preprocess/json/dotAppearanceVariableJson.js +0 -1908
- package/preprocess/json/dotThemeVariableJson.js +0 -90
- package/src/ActionButton/ActionButton.js +0 -197
- package/src/ActionButton/ActionButton.module.css +0 -120
- package/src/ActionButton/docs/ActionButton__default.docs.js +0 -110
- package/src/AlphabeticList/AlphabeticList.js +0 -176
- package/src/AlphabeticList/AlphabeticList.module.css +0 -54
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -36
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -44
- package/src/Appearance/dark/mode/dotDarkMode.module.css +0 -521
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/src/Appearance/default/mode/dotDefaultMode.module.css +0 -521
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/src/Attachment/Attachment.js +0 -119
- package/src/Attachment/Attachment.module.css +0 -121
- package/src/Attachment/docs/Attachment__default.docs.js +0 -63
- package/src/ChannelIcon/ChannelIcon.js +0 -154
- package/src/ChannelIcon/ChannelIcon.module.css +0 -208
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
- package/src/Drawer/Drawer.js +0 -398
- package/src/Drawer/Drawer.module.css +0 -103
- package/src/Drawer/docs/Drawer__default.docs.js +0 -86
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +0 -111
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -20
- package/src/Drawer/docs/Drawer__withModal.docs.js +0 -76
- package/src/ExternalLink/ExternalLink.js +0 -75
- package/src/ExternalLink/ExternalLink.module.css +0 -4
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
- package/src/FlipCard/FlipCard.js +0 -193
- package/src/FlipCard/FlipCard.module.css +0 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
- package/src/FormAction/FormAction.js +0 -126
- package/src/FormAction/FormAction.module.css +0 -57
- package/src/FormAction/docs/FormAction__default.docs.js +0 -93
- package/src/FreezeLayer/FreezeLayer.js +0 -159
- package/src/FreezeLayer/FreezeLayer.module.css +0 -38
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -52
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
- package/src/IconButton/IconButton.js +0 -186
- package/src/IconButton/IconButton.module.css +0 -22
- package/src/IconButton/docs/IconButton__default.docs.js +0 -158
- package/src/Image/Image.js +0 -58
- package/src/Image/Image.module.css +0 -11
- package/src/Image/docs/Image__default.docs.js +0 -18
- package/src/ImportantNotes/ImportantNotes.js +0 -57
- package/src/ImportantNotes/ImportantNotes.module.css +0 -15
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/src/Link/Link.js +0 -123
- package/src/Link/Link.module.css +0 -4
- package/src/Link/LinkContext.js +0 -9
- package/src/Link/docs/Link__default.docs.js +0 -91
- package/src/Loader/Loader.js +0 -22
- package/src/Loader/Loader.module.css +0 -25
- package/src/Loader/docs/Loader__default.docs.js +0 -21
- package/src/Message/Message.js +0 -109
- package/src/Message/Message.module.css +0 -70
- package/src/Message/docs/Message__default.docs.js +0 -53
- package/src/MessageBanner/MessageBanner.js +0 -83
- package/src/MessageBanner/MessageBanner.module.css +0 -38
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +0 -87
- package/src/NewStar/NewStar.js +0 -83
- package/src/NewStar/NewStar.module.css +0 -73
- package/src/NewStar/docs/NewStar__default.docs.js +0 -39
- package/src/PlusIcon/PlusIcon.js +0 -64
- package/src/PlusIcon/PlusIcon.module.css +0 -16
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
- package/src/Provider.js +0 -203
- package/src/ToastMessage/ToastMessage.js +0 -315
- package/src/ToastMessage/ToastMessage.module.css +0 -257
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -57
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
- package/src/Upload/Upload.js +0 -103
- package/src/Upload/Upload.module.css +0 -106
- package/src/Upload/docs/Upload__default.docs.js +0 -72
- package/src/actions/AutoClose.js +0 -51
- package/src/actions/index.js +0 -22
- package/src/alert/AlertHeader/AlertHeader.js +0 -122
- package/src/alert/AlertHeader/AlertHeader.module.css +0 -63
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -73
- package/src/alert/AlertLookup/AlertLookup.js +0 -214
- package/src/alert/AlertLookup/AlertLookup.module.css +0 -23
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -124
- package/src/avatar/AvatarClose/AvatarClose.js +0 -49
- package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/src/avatar/AvatarCollision/AvatarCollision.js +0 -81
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
- package/src/avatar/AvatarIcon/AvatarIcon.js +0 -99
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -59
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -49
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +0 -95
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -96
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -38
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
- package/src/avatar/AvatarThread/AvatarThread.js +0 -136
- package/src/avatar/AvatarThread/AvatarThread.module.css +0 -113
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -167
- package/src/avatar/AvatarUser/AvatarUser.js +0 -160
- package/src/avatar/AvatarUser/AvatarUser.module.css +0 -100
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -148
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -134
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
- package/src/deprecated/SelectDropdown/SelectDropdown.js +0 -122
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +0 -47
- package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
- package/src/docs/formDocs.js +0 -26
- package/src/docs/generalDocs.js +0 -162
- package/src/docs/lookupDocs.js +0 -52
- package/src/docs/setupDocs.js +0 -25
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -950
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -84
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -242
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -116
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -80
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -107
- package/src/emptystate/EditionPage/EditionPage.css +0 -37
- package/src/emptystate/EditionPage/EditionPage.js +0 -69
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
- package/src/errorstate/EmptyStates.module.css +0 -85
- package/src/errorstate/Inconvenience/Inconvenience.js +0 -132
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -4
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/errorstate/LinkText/LinkText.js +0 -35
- package/src/errorstate/LinkText/LinkText.module.css +0 -6
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
- package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -132
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -3
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -127
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -34
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -132
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -3
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -130
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -3
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -130
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -3
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/src/errorstate/WillBack/WillBack.js +0 -120
- package/src/errorstate/WillBack/WillBack.module.css +0 -36
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/src/form/fields/CheckBoxField/CheckBoxField.js +0 -220
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -32
- package/src/form/fields/CurrencyField/CurrencyField.js +0 -267
- package/src/form/fields/DateField/DateField.js +0 -281
- package/src/form/fields/DateField/docs/DateField__default.docs.js +0 -24
- package/src/form/fields/Fields.module.css +0 -145
- package/src/form/fields/MultiSelectField/MultiSelectField.js +0 -311
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -53
- package/src/form/fields/PhoneField/PhoneField.js +0 -227
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -26
- package/src/form/fields/RadioField/RadioField.js +0 -181
- package/src/form/fields/SelectField/SelectField.js +0 -296
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +0 -48
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -332
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +0 -95
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -55
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -342
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +0 -6
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -58
- package/src/form/fields/TextBoxField/TextBoxField.js +0 -274
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -38
- package/src/form/fields/TextEditor/TextEditor.js +0 -440
- package/src/form/fields/TextEditor/TextEditor.module.css +0 -582
- package/src/form/fields/TextEditorField/TextEditorField.js +0 -286
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -62
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -239
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +0 -26
- package/src/form/fields/TextareaField/TextareaField.js +0 -247
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -25
- package/src/form/fields/ValidationMessage/ValidationMessage.js +0 -77
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +0 -22
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -66
- package/src/form/layout/Field/Field.js +0 -53
- package/src/form/layout/Field/Field.module.css +0 -22
- package/src/form/layout/Field/docs/Field__default.docs.js +0 -20
- package/src/form/layout/Section/ModuleFormSection.module.css +0 -3
- package/src/form/layout/Section/Section.js +0 -47
- package/src/form/layout/Section/docs/Section__default.docs.js +0 -21
- package/src/i18n.js +0 -5498
- package/src/index.js +0 -8
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -274
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -34
- package/src/layout/SetupDetailLayout/index.js +0 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +0 -235
- package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -120
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -53
- package/src/layout/SubtabLayout/index.js +0 -4
- package/src/list/AvatarFlip/AvatarFlip.js +0 -106
- package/src/list/AvatarFlip/AvatarFlip.module.css +0 -3
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -82
- package/src/list/BluePrintStatus/BluePrintStatus.js +0 -28
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -14
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
- package/src/list/Comment/Comment.js +0 -51
- package/src/list/Comment/Comment.module.css +0 -24
- package/src/list/Comment/docs/Comment__default.docs.js +0 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -119
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -9
- package/src/list/Dot/Dot.js +0 -27
- package/src/list/Dot/Dot.module.css +0 -15
- package/src/list/DotNew/DotNew.js +0 -29
- package/src/list/DotNew/DotNew.module.css +0 -22
- package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
- package/src/list/GridStencils/GridStencils.js +0 -46
- package/src/list/GridStencils/GridStencils.module.css +0 -102
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
- package/src/list/Icons/AddNewIcon.js +0 -29
- package/src/list/Icons/CompleteIcon.js +0 -30
- package/src/list/Icons/DeleteIcon.js +0 -31
- package/src/list/Icons/EditIcon.js +0 -31
- package/src/list/Icons/FloatingIcons.js +0 -32
- package/src/list/Icons/Icons.module.css +0 -16
- package/src/list/Icons/ReadUnreadIcon.js +0 -42
- package/src/list/Icons/SmartIcon.js +0 -32
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -26
- package/src/list/ListLayout/ListLayout.js +0 -117
- package/src/list/ListLayout/ListLayout.module.css +0 -50
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
- package/src/list/ListStencils/ListStencils.js +0 -45
- package/src/list/ListStencils/ListStencils.module.css +0 -62
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
- package/src/list/SecondaryText/AccountName.js +0 -130
- package/src/list/SecondaryText/ContactName.js +0 -137
- package/src/list/SecondaryText/DepartmentText.js +0 -34
- package/src/list/SecondaryText/Email.js +0 -86
- package/src/list/SecondaryText/HappinessRating.js +0 -37
- package/src/list/SecondaryText/PhoneNumber.js +0 -93
- package/src/list/SecondaryText/PriorityText.js +0 -40
- package/src/list/SecondaryText/SecondaryText.js +0 -43
- package/src/list/SecondaryText/SecondaryText.module.css +0 -126
- package/src/list/SecondaryText/StatusText.js +0 -42
- package/src/list/SecondaryText/TicketId.js +0 -78
- package/src/list/SecondaryText/Website.js +0 -59
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
- package/src/list/SecondaryText/index.js +0 -11
- package/src/list/SecondryPanel/SecondryPanel.js +0 -144
- package/src/list/SecondryPanel/SecondryPanel.module.css +0 -6
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -90
- package/src/list/SentimentStatus/SentimentStatus.js +0 -32
- package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
- package/src/list/Subject/Subject.js +0 -88
- package/src/list/Subject/Subject.module.css +0 -27
- package/src/list/Subject/docs/Subject__default.docs.js +0 -34
- package/src/list/TagNew/TagNew.js +0 -40
- package/src/list/TagNew/TagNew.module.css +0 -108
- package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
- package/src/list/Thread/Thread.js +0 -43
- package/src/list/Thread/Thread.module.css +0 -31
- package/src/list/Thread/docs/Thread__default.docs.js +0 -18
- package/src/list/UserTime/UserTime.js +0 -138
- package/src/list/UserTime/UserTime.module.css +0 -52
- package/src/list/UserTime/docs/UserTime__default.docs.js +0 -114
- package/src/list/listCommon.module.css +0 -52
- package/src/list/status/StatusDropdown/StatusDropdown.js +0 -538
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +0 -76
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -92
- package/src/list/status/StatusListItem/StatusListItem.js +0 -149
- package/src/list/status/StatusListItem/StatusListItem.module.css +0 -81
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -19
- package/src/lookup/EmptyPage/EmptyPage.js +0 -62
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
- package/src/lookup/Lookup/Lookup.js +0 -113
- package/src/lookup/Lookup/Lookup.module.css +0 -26
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -184
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
- package/src/lookup/Section/LookupSection.module.css +0 -8
- package/src/lookup/Section/Section.js +0 -27
- package/src/lookup/header/Close/Close.js +0 -36
- package/src/lookup/header/Close/LookupClose.module.css +0 -15
- package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -97
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -40
- package/src/lookup/header/Search/LookupSearch.module.css +0 -48
- package/src/lookup/header/Search/Search.js +0 -249
- package/src/lookup/header/Search/docs/Search__default.docs.js +0 -106
- package/src/lookup/header/TicketHeader/TicketHeader.js +0 -123
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
- package/src/lookup/header/Title/LookupTitle.module.css +0 -20
- package/src/lookup/header/Title/Title.js +0 -38
- package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -199
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -46
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -25
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
- package/src/setup/header/Button/Button.js +0 -40
- package/src/setup/header/Button/HeaderButton.module.css +0 -3
- package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
- package/src/setup/header/Link/HeaderLink.module.css +0 -15
- package/src/setup/header/Link/Link.js +0 -48
- package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
- package/src/setup/header/Search/Search.js +0 -87
- package/src/setup/header/Search/Search.module.css +0 -57
- package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
- package/src/setup/header/Views/Views.js +0 -62
- package/src/setup/header/Views/Views.module.css +0 -27
- package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
- package/src/setup/helptips/Description/Description.js +0 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
- package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
- package/src/setup/helptips/Link/Link.js +0 -39
- package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/src/setup/helptips/Title/Title.js +0 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
- package/src/setup/table/Table/Table.js +0 -31
- package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
- package/src/setup/table/TableBody/TableBody.js +0 -37
- package/src/setup/table/TableData/SetupTableData.module.css +0 -36
- package/src/setup/table/TableData/TableData.js +0 -56
- package/src/setup/table/TableData/Tablehover.module.css +0 -6
- package/src/setup/table/TableHead/SetupTableHead.module.css +0 -8
- package/src/setup/table/TableHead/TableHead.js +0 -53
- package/src/setup/table/TableRow/SetupTableRow.module.css +0 -10
- package/src/setup/table/TableRow/TableRow.js +0 -60
- package/src/setup/table/Text/TableText.module.css +0 -37
- package/src/setup/table/Text/Text.js +0 -82
- package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
- package/src/svg/PlusIcon.js +0 -43
- package/src/svg/SnippetIcon.js +0 -50
- package/src/svg/TemplateIcon.js +0 -34
- package/src/svg/docs/SVG__default.docs.js +0 -46
- package/src/utils/ChannelIconMapping.js +0 -130
- package/src/utils/Common.js +0 -20
- package/src/utils/General.js +0 -58
- package/src/utils/KeyboardApi.js +0 -280
- package/src/utils/editorUtils.js +0 -189
- package/src/version2/AlertClose/AlertClose.js +0 -45
- package/src/version2/AlertClose/AlertClose.module.css +0 -43
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +0 -46
- package/src/version2/GlobalNotification/GlobalNotification.js +0 -120
- package/src/version2/GlobalNotification/GlobalNotification.module.css +0 -90
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -94
- package/src/version2/alertIcons/AlarmAlertIcon.js +0 -32
- package/src/version2/alertIcons/AlertIcons.js +0 -61
- package/src/version2/alertIcons/AlertIcons.module.css +0 -67
- package/src/version2/alertIcons/DangerAlertIcon.js +0 -33
- package/src/version2/alertIcons/ErrorAlertIcon.js +0 -34
- package/src/version2/alertIcons/InfoAlertIcon.js +0 -35
- package/src/version2/alertIcons/NotificationAlertIcon.js +0 -32
- package/src/version2/alertIcons/SuccessAlertIcon.js +0 -31
- package/src/version2/alertIcons/WarningAlertIcon.js +0 -31
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -123
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +0 -98
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -99
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -21
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -98
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -31
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -102
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -19
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +0 -98
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -21
- package/src/version2/errorstate/V2_ErrorStates.module.css +0 -47
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +0 -98
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -19
- package/src/version2/lookup/AlertHeader/AlertHeader.js +0 -100
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +0 -64
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -66
- package/src/version2/lookup/AlertLookup/AlertLookup.js +0 -290
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +0 -40
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -150
- package/src/version2/lookup/alertLookupCommonNew.module.css +0 -26
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +0 -258
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +0 -90
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -86
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -92
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -100
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -51
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import Title from '../../lookup/header/Title/Title';
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import Icon from '@zohodesk/icons/lib/Icon';
|
|
6
|
-
import Close from '../../lookup/header/Close/Close';
|
|
7
|
-
import style from './AlertHeader.module.css';
|
|
8
|
-
|
|
9
|
-
export default class AlertHeader extends Component {
|
|
10
|
-
render() {
|
|
11
|
-
let {
|
|
12
|
-
title,
|
|
13
|
-
palette,
|
|
14
|
-
needIcon,
|
|
15
|
-
iconType,
|
|
16
|
-
onClose,
|
|
17
|
-
iconName,
|
|
18
|
-
iconSize,
|
|
19
|
-
closeTitle,
|
|
20
|
-
children,
|
|
21
|
-
breakChildren,
|
|
22
|
-
dataId,
|
|
23
|
-
iconClass
|
|
24
|
-
} = this.props;
|
|
25
|
-
let iconObj = {
|
|
26
|
-
delete: 'ZD-socialDelete',
|
|
27
|
-
alert: 'ZD-exclamationThincircle',
|
|
28
|
-
remoteAssist: 'ZD-taskDemo',
|
|
29
|
-
splitTicket: 'ZD-splitNew',
|
|
30
|
-
update: 'ZD-update'
|
|
31
|
-
};
|
|
32
|
-
return (
|
|
33
|
-
<Container
|
|
34
|
-
align='vertical'
|
|
35
|
-
alignBox='row'
|
|
36
|
-
className={`${style.container} ${style[palette]}`}
|
|
37
|
-
isCover={false}
|
|
38
|
-
wrap='wrap'
|
|
39
|
-
>
|
|
40
|
-
{needIcon ? (
|
|
41
|
-
<div className={style.iconContainer}>
|
|
42
|
-
<Icon
|
|
43
|
-
size={iconSize}
|
|
44
|
-
name={
|
|
45
|
-
iconName
|
|
46
|
-
? iconName
|
|
47
|
-
: iconObj[iconType]
|
|
48
|
-
? iconObj[iconType]
|
|
49
|
-
: iconName
|
|
50
|
-
}
|
|
51
|
-
iconClass={`${style.iconStyle} ${
|
|
52
|
-
iconObj[iconType] && !iconSize ? style[`icon_${iconType}`] : ''
|
|
53
|
-
} ${style[`text_${palette}`]} ${iconClass}`}
|
|
54
|
-
/>
|
|
55
|
-
</div>
|
|
56
|
-
) : null}
|
|
57
|
-
<Box flexible>
|
|
58
|
-
<Container
|
|
59
|
-
alignBox='row'
|
|
60
|
-
align='vertical'
|
|
61
|
-
wrap={breakChildren ? 'wrap' : null}
|
|
62
|
-
>
|
|
63
|
-
<Box className={style.title} shrink>
|
|
64
|
-
<Title text={title} palette={palette} />
|
|
65
|
-
</Box>
|
|
66
|
-
{children ? (
|
|
67
|
-
<Box adjust flexible>
|
|
68
|
-
{children}
|
|
69
|
-
</Box>
|
|
70
|
-
) : null}
|
|
71
|
-
</Container>
|
|
72
|
-
</Box>
|
|
73
|
-
{onClose ? (
|
|
74
|
-
<Box>
|
|
75
|
-
<Close
|
|
76
|
-
onClose={onClose}
|
|
77
|
-
title={closeTitle}
|
|
78
|
-
dataId={`${dataId}_close`}
|
|
79
|
-
/>
|
|
80
|
-
</Box>
|
|
81
|
-
) : null}
|
|
82
|
-
</Container>
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
AlertHeader.propTypes = {
|
|
88
|
-
breakChildren: PropTypes.bool,
|
|
89
|
-
children: PropTypes.node,
|
|
90
|
-
closeTitle: PropTypes.string,
|
|
91
|
-
dataId: PropTypes.string,
|
|
92
|
-
iconClass: PropTypes.string,
|
|
93
|
-
iconName: PropTypes.string,
|
|
94
|
-
iconSize: PropTypes.sting,
|
|
95
|
-
iconType: PropTypes.oneOf([
|
|
96
|
-
'delete',
|
|
97
|
-
'alert',
|
|
98
|
-
'remoteAssist',
|
|
99
|
-
'splitTicket',
|
|
100
|
-
'update'
|
|
101
|
-
]),
|
|
102
|
-
needIcon: PropTypes.bool,
|
|
103
|
-
onClose: PropTypes.func,
|
|
104
|
-
palette: PropTypes.oneOf(['default', 'primary', 'danger']),
|
|
105
|
-
title: PropTypes.string
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
AlertHeader.defaultProps = {
|
|
109
|
-
palette: 'danger',
|
|
110
|
-
needIcon: true,
|
|
111
|
-
iconType: 'alert',
|
|
112
|
-
breakChildren: false,
|
|
113
|
-
dataId: 'alertHeader',
|
|
114
|
-
iconClass: ''
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
if (__DOCS__) {
|
|
118
|
-
AlertHeader.docs = {
|
|
119
|
-
componentGroup: 'AlertHeader',
|
|
120
|
-
folderName: 'Alert'
|
|
121
|
-
};
|
|
122
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
min-height: var(--zd_size54);
|
|
3
|
-
position: relative;
|
|
4
|
-
padding: var(--zd_size12) var(--zd_size45) var(--zd_size12) var(--zd_size26);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.extraSmall {
|
|
8
|
-
padding: var(--zd_size12) var(--zd_size45) var(--zd_size12) var(--zd_size16);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.iconContainer {
|
|
12
|
-
margin: 0 var(--zd_size10) 0 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.title {
|
|
16
|
-
margin: 0 var(--zd_size5) 0 0;
|
|
17
|
-
font-size: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.iconStyle {
|
|
21
|
-
display: block;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* Palette */
|
|
25
|
-
|
|
26
|
-
.default {
|
|
27
|
-
background-color: var(--zdt_alertheader_default_bg);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.primary {
|
|
31
|
-
background-color: var(--zdt_alertheader_primary_bg);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.danger {
|
|
35
|
-
background-color: var(--zdt_alertheader_danger_bg);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* icon size */
|
|
39
|
-
|
|
40
|
-
.icon_delete, .icon_alert, .icon_remoteAssist {
|
|
41
|
-
font-size: var(--zd_font_size20);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.icon_splitTicket {
|
|
45
|
-
font-size: var(--zd_font_size16);
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.icon_update {
|
|
50
|
-
font-size: var(--zd_font_size16);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.text_danger {
|
|
54
|
-
color: var(--zdt_alertheader_danger_text);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.text_primary {
|
|
58
|
-
color: var(--zdt_alertheader_primary_text);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.text_default {
|
|
62
|
-
color: var(--zdt_alertheader_default_text);
|
|
63
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import AlertHeader from '../AlertHeader';
|
|
3
|
-
|
|
4
|
-
export default class AlertHeader__default extends Component {
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super(props);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
render() {
|
|
10
|
-
return (
|
|
11
|
-
<React.Fragment>
|
|
12
|
-
<AlertHeader
|
|
13
|
-
title='Delete'
|
|
14
|
-
palette='danger'
|
|
15
|
-
iconType='alert'
|
|
16
|
-
onClose={() => {
|
|
17
|
-
console.log('On Lookup Close');
|
|
18
|
-
}}
|
|
19
|
-
closeTitle='Close Lookup'
|
|
20
|
-
/>
|
|
21
|
-
<AlertHeader
|
|
22
|
-
title='Delete'
|
|
23
|
-
palette='primary'
|
|
24
|
-
iconType='delete'
|
|
25
|
-
onClose={() => {
|
|
26
|
-
console.log('On Lookup Close');
|
|
27
|
-
}}
|
|
28
|
-
/>
|
|
29
|
-
<AlertHeader
|
|
30
|
-
title='Delete'
|
|
31
|
-
palette='default'
|
|
32
|
-
iconType='remoteAssist'
|
|
33
|
-
onClose={() => {
|
|
34
|
-
console.log('On Lookup Close');
|
|
35
|
-
}}
|
|
36
|
-
/>
|
|
37
|
-
<AlertHeader
|
|
38
|
-
title='Delete'
|
|
39
|
-
palette='danger'
|
|
40
|
-
iconType='splitTicket'
|
|
41
|
-
onClose={() => {
|
|
42
|
-
console.log('On Lookup Close');
|
|
43
|
-
}}
|
|
44
|
-
/>
|
|
45
|
-
<AlertHeader
|
|
46
|
-
title='Delete'
|
|
47
|
-
palette='primary'
|
|
48
|
-
iconType='update'
|
|
49
|
-
onClose={() => {
|
|
50
|
-
console.log('On Lookup Close');
|
|
51
|
-
}}
|
|
52
|
-
/>
|
|
53
|
-
<AlertHeader
|
|
54
|
-
title='Delete'
|
|
55
|
-
onClose={() => {
|
|
56
|
-
console.log('On Lookup Close');
|
|
57
|
-
}}
|
|
58
|
-
palette='default'
|
|
59
|
-
iconType='addEndUser'
|
|
60
|
-
iconSize='14'
|
|
61
|
-
>
|
|
62
|
-
[SecondaryName]
|
|
63
|
-
</AlertHeader>
|
|
64
|
-
</React.Fragment>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (__DOCS__) {
|
|
69
|
-
AlertHeader__default.docs = {
|
|
70
|
-
componentGroup: 'AlertHeader',
|
|
71
|
-
folderName: 'Alert'
|
|
72
|
-
};
|
|
73
|
-
}
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
/**** Libraries ****/
|
|
2
|
-
import React, { Component } from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
|
|
5
|
-
/**** Components ****/
|
|
6
|
-
import Lookup from '../../lookup/Lookup/Lookup';
|
|
7
|
-
import AlertHeader from '../AlertHeader/AlertHeader';
|
|
8
|
-
import Button from '@zohodesk/components/lib/Button/Button';
|
|
9
|
-
import Section from '../../lookup/Section/Section';
|
|
10
|
-
import FormAction from '../../FormAction/FormAction';
|
|
11
|
-
|
|
12
|
-
/**** CSS ****/
|
|
13
|
-
import style from './AlertLookup.module.css';
|
|
14
|
-
|
|
15
|
-
export default class AlertLookup extends Component {
|
|
16
|
-
constructor(props) {
|
|
17
|
-
super(props);
|
|
18
|
-
this.documentKeydownHandler = this.documentKeydownHandler.bind(this);
|
|
19
|
-
this.getButtonRef = this.getButtonRef.bind(this);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
componentDidUpdate(prevProps) {
|
|
23
|
-
let { isActive } = this.props;
|
|
24
|
-
if (prevProps.isActive !== isActive) {
|
|
25
|
-
isActive
|
|
26
|
-
? document.addEventListener('keydown', this.documentKeydownHandler)
|
|
27
|
-
: document.removeEventListener('keydown', this.documentKeydownHandler);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
componentWillUnmount() {
|
|
31
|
-
document.removeEventListener('keydown', this.documentKeydownHandler);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
documentKeydownHandler(e = {}) {
|
|
35
|
-
let { onSubmitClick, onCancelClick, isActive } = this.props;
|
|
36
|
-
if (e.keyCode === 27 && isActive) {
|
|
37
|
-
e && e.preventDefault && e.preventDefault();
|
|
38
|
-
onCancelClick && onCancelClick(e);
|
|
39
|
-
} else if (e.keyCode === 13 && isActive) {
|
|
40
|
-
e && e.preventDefault && e.preventDefault();
|
|
41
|
-
onSubmitClick && onSubmitClick(e);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
getButtonRef(el) {
|
|
46
|
-
this.okButton = el;
|
|
47
|
-
let { isDefaultFocus } = this.props;
|
|
48
|
-
if (isDefaultFocus) {
|
|
49
|
-
el && el.focus();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
render() {
|
|
54
|
-
let {
|
|
55
|
-
isActive,
|
|
56
|
-
palette,
|
|
57
|
-
size,
|
|
58
|
-
type,
|
|
59
|
-
title,
|
|
60
|
-
message,
|
|
61
|
-
confirmationMessage,
|
|
62
|
-
submitText,
|
|
63
|
-
cancelText,
|
|
64
|
-
onSubmitClick,
|
|
65
|
-
onCancelClick,
|
|
66
|
-
children,
|
|
67
|
-
forwardRef,
|
|
68
|
-
onClose,
|
|
69
|
-
headerChildren,
|
|
70
|
-
wrapHeader,
|
|
71
|
-
sectionClassName,
|
|
72
|
-
dataId,
|
|
73
|
-
onLookupClick,
|
|
74
|
-
customClass,
|
|
75
|
-
needIcon,
|
|
76
|
-
iconName,
|
|
77
|
-
iconClass,
|
|
78
|
-
iconSize,
|
|
79
|
-
customProps
|
|
80
|
-
} = this.props;
|
|
81
|
-
const {
|
|
82
|
-
LookupProps = {},
|
|
83
|
-
AlertHeaderProps = {},
|
|
84
|
-
PrimaryButtonProps = {},
|
|
85
|
-
SecondaryButtonProps = {}
|
|
86
|
-
} = customProps;
|
|
87
|
-
|
|
88
|
-
return (
|
|
89
|
-
<Lookup
|
|
90
|
-
isActive={isActive}
|
|
91
|
-
size={size}
|
|
92
|
-
dataId={dataId}
|
|
93
|
-
forwardRef={forwardRef}
|
|
94
|
-
onClick={onLookupClick}
|
|
95
|
-
customClass={customClass}
|
|
96
|
-
{...LookupProps}
|
|
97
|
-
>
|
|
98
|
-
<AlertHeader
|
|
99
|
-
title={title}
|
|
100
|
-
palette={palette}
|
|
101
|
-
iconType={type}
|
|
102
|
-
needIcon={Boolean(type) || needIcon}
|
|
103
|
-
onClose={onClose}
|
|
104
|
-
breakChildren={wrapHeader}
|
|
105
|
-
iconName={iconName}
|
|
106
|
-
iconClass={iconClass}
|
|
107
|
-
iconSize={iconSize}
|
|
108
|
-
{...AlertHeaderProps}
|
|
109
|
-
>
|
|
110
|
-
{headerChildren ? headerChildren() : null}
|
|
111
|
-
</AlertHeader>
|
|
112
|
-
<Section alignBox='row' className={style.section}>
|
|
113
|
-
<div className={`${style.innerSection} ${sectionClassName}`}>
|
|
114
|
-
{children ? (
|
|
115
|
-
children
|
|
116
|
-
) : (
|
|
117
|
-
<React.Fragment>
|
|
118
|
-
<div>{message}</div>
|
|
119
|
-
{confirmationMessage && (
|
|
120
|
-
<div className={style.text}>{confirmationMessage}</div>
|
|
121
|
-
)}
|
|
122
|
-
</React.Fragment>
|
|
123
|
-
)}
|
|
124
|
-
</div>
|
|
125
|
-
{submitText || onSubmitClick || cancelText || onCancelClick ? (
|
|
126
|
-
<FormAction size='small' paddingLeftSize='xsmall'>
|
|
127
|
-
<Button
|
|
128
|
-
text={submitText}
|
|
129
|
-
dataId={
|
|
130
|
-
dataId === 'alertPopup'
|
|
131
|
-
? 'alertConfirmButton'
|
|
132
|
-
: `${dataId}_confirmButton`
|
|
133
|
-
}
|
|
134
|
-
onClick={onSubmitClick}
|
|
135
|
-
palette={
|
|
136
|
-
palette === 'primary' ? 'primaryFilled' : 'dangerFilled'
|
|
137
|
-
}
|
|
138
|
-
getRef={this.getButtonRef}
|
|
139
|
-
{...PrimaryButtonProps}
|
|
140
|
-
/>
|
|
141
|
-
{cancelText && (
|
|
142
|
-
<Button
|
|
143
|
-
dataId={
|
|
144
|
-
dataId === 'alertPopup'
|
|
145
|
-
? 'alertCancelButton'
|
|
146
|
-
: `${dataId}_cancelButton`
|
|
147
|
-
}
|
|
148
|
-
text={cancelText}
|
|
149
|
-
onClick={onCancelClick}
|
|
150
|
-
palette='secondary'
|
|
151
|
-
{...SecondaryButtonProps}
|
|
152
|
-
/>
|
|
153
|
-
)}
|
|
154
|
-
</FormAction>
|
|
155
|
-
) : null}
|
|
156
|
-
</Section>
|
|
157
|
-
</Lookup>
|
|
158
|
-
);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
AlertLookup.propTypes = {
|
|
163
|
-
cancelText: PropTypes.string,
|
|
164
|
-
children: PropTypes.node,
|
|
165
|
-
confirmationMessage: PropTypes.string,
|
|
166
|
-
customClass: PropTypes.string,
|
|
167
|
-
dataId: PropTypes.string,
|
|
168
|
-
forwardRef: PropTypes.object,
|
|
169
|
-
headerChildren: PropTypes.func,
|
|
170
|
-
iconClass: PropTypes.string,
|
|
171
|
-
iconName: PropTypes.string,
|
|
172
|
-
iconSize: PropTypes.string,
|
|
173
|
-
isActive: PropTypes.bool,
|
|
174
|
-
isDefaultFocus: PropTypes.bool,
|
|
175
|
-
message: PropTypes.node,
|
|
176
|
-
needIcon: PropTypes.bool,
|
|
177
|
-
onCancelClick: PropTypes.func,
|
|
178
|
-
onClose: PropTypes.func,
|
|
179
|
-
onLookupClick: PropTypes.func,
|
|
180
|
-
onSubmitClick: PropTypes.func,
|
|
181
|
-
palette: PropTypes.oneOf(['default', 'primary', 'danger']),
|
|
182
|
-
sectionClassName: PropTypes.string,
|
|
183
|
-
size: PropTypes.oneOf(['small', 'medium']),
|
|
184
|
-
submitText: PropTypes.string,
|
|
185
|
-
title: PropTypes.string,
|
|
186
|
-
type: PropTypes.oneOf(['delete', 'alert', 'remoteAssist', 'splitTicket']),
|
|
187
|
-
wrapHeader: PropTypes.bool,
|
|
188
|
-
customProps: PropTypes.shape({
|
|
189
|
-
LookupProps: PropTypes.object,
|
|
190
|
-
AlertHeaderProps: PropTypes.object,
|
|
191
|
-
PrimaryButtonProps: PropTypes.object,
|
|
192
|
-
SecondaryButtonProps: PropTypes.object
|
|
193
|
-
})
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
AlertLookup.defaultProps = {
|
|
197
|
-
isActive: false,
|
|
198
|
-
palette: 'danger',
|
|
199
|
-
size: 'small',
|
|
200
|
-
type: 'alert',
|
|
201
|
-
wrapHeader: false,
|
|
202
|
-
sectionClassName: '',
|
|
203
|
-
dataId: 'alertPopup',
|
|
204
|
-
customClass: '',
|
|
205
|
-
isDefaultFocus: true,
|
|
206
|
-
customProps: {}
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
if (__DOCS__) {
|
|
210
|
-
AlertLookup.docs = {
|
|
211
|
-
componentGroup: 'AlertLookup',
|
|
212
|
-
folderName: 'Alert'
|
|
213
|
-
};
|
|
214
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.section {
|
|
2
|
-
min-height: auto;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.innerSection {
|
|
6
|
-
padding: var(--zd_size30) var(--zd_size20) var(--zd_size20);
|
|
7
|
-
line-height: 1.6;
|
|
8
|
-
color: var(--zdt_alertlookup_innersection_text);
|
|
9
|
-
font-size: var(--zd_font_size15);
|
|
10
|
-
word-break: break-word;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.buttonGap {
|
|
14
|
-
margin: 0 0 0 var(--zd_size12);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.text {
|
|
18
|
-
margin-top: var(--zd_size20);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.extraSmall .innerSection {
|
|
22
|
-
padding: var(--zd_size30) var(--zd_size16) var(--zd_size46);
|
|
23
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import AlertLookup from '../AlertLookup';
|
|
3
|
-
import Button from '@zohodesk/components/lib/Button/Button';
|
|
4
|
-
|
|
5
|
-
export default class AlertLookup__default extends Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
this.state = {
|
|
9
|
-
lookup: false
|
|
10
|
-
};
|
|
11
|
-
this.onCancel = this.onCancel.bind(this);
|
|
12
|
-
this.headerChildren = this.headerChildren.bind(this);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
lookupOpen(lookup) {
|
|
16
|
-
this.setState({ lookup: lookup });
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
onCancel() {
|
|
20
|
-
this.setState({ lookup: false });
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
headerChildren() {
|
|
24
|
-
return <div>Custom</div>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
render() {
|
|
28
|
-
let { lookup } = this.state;
|
|
29
|
-
return (
|
|
30
|
-
<div>
|
|
31
|
-
<div style={{ margin: '20px' }}>
|
|
32
|
-
<Button
|
|
33
|
-
text='Delete Type Alert'
|
|
34
|
-
palette='dangerFilled'
|
|
35
|
-
onClick={this.lookupOpen.bind(this, 'ticketDelete')}
|
|
36
|
-
/>
|
|
37
|
-
</div>
|
|
38
|
-
<div style={{ margin: '20px' }}>
|
|
39
|
-
<Button
|
|
40
|
-
text='Remote Assist'
|
|
41
|
-
palette='primaryFilled'
|
|
42
|
-
onClick={this.lookupOpen.bind(this, 'remoteAssist')}
|
|
43
|
-
/>
|
|
44
|
-
</div>
|
|
45
|
-
<div style={{ margin: '20px' }}>
|
|
46
|
-
<Button
|
|
47
|
-
text='Close Type Alert'
|
|
48
|
-
palette='dangerFilled'
|
|
49
|
-
onClick={this.lookupOpen.bind(this, 'ticketClose')}
|
|
50
|
-
/>
|
|
51
|
-
</div>
|
|
52
|
-
<div style={{ margin: '20px' }}>
|
|
53
|
-
<Button
|
|
54
|
-
text='Custom children Type Alert'
|
|
55
|
-
palette='dangerFilled'
|
|
56
|
-
onClick={this.lookupOpen.bind(this, 'customType')}
|
|
57
|
-
/>
|
|
58
|
-
</div>
|
|
59
|
-
<AlertLookup
|
|
60
|
-
isActive={lookup === 'ticketDelete' ? true : false}
|
|
61
|
-
type='delete'
|
|
62
|
-
onSubmitClick={() => {
|
|
63
|
-
console.log('On Delete');
|
|
64
|
-
}}
|
|
65
|
-
onCancelClick={this.onCancel}
|
|
66
|
-
title='Delete Ticket'
|
|
67
|
-
message='Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.'
|
|
68
|
-
confirmationMessage='Would you like to delete?'
|
|
69
|
-
submitText='Delete'
|
|
70
|
-
cancelText='Cancel'
|
|
71
|
-
/>
|
|
72
|
-
<AlertLookup
|
|
73
|
-
isActive={lookup === 'remoteAssist' ? true : false}
|
|
74
|
-
type='remoteAssist'
|
|
75
|
-
palette='primary'
|
|
76
|
-
onSubmitClick={() => {
|
|
77
|
-
console.log('On Delete');
|
|
78
|
-
}}
|
|
79
|
-
onCancelClick={this.onCancel}
|
|
80
|
-
title='Remote Assist'
|
|
81
|
-
message={
|
|
82
|
-
<div>
|
|
83
|
-
You are about to send an invite for remote assistance to{' '}
|
|
84
|
-
<b>antro.avemaxa@gmail.com</b>
|
|
85
|
-
</div>
|
|
86
|
-
}
|
|
87
|
-
confirmationMessage='Would you like to continue?'
|
|
88
|
-
submitText='Continue'
|
|
89
|
-
cancelText='Cancel'
|
|
90
|
-
/>
|
|
91
|
-
<AlertLookup
|
|
92
|
-
isActive={lookup === 'ticketClose' ? true : false}
|
|
93
|
-
onSubmitClick={() => {
|
|
94
|
-
console.log('On Delete');
|
|
95
|
-
}}
|
|
96
|
-
onCancelClick={this.onCancel}
|
|
97
|
-
title='Close Ticket'
|
|
98
|
-
message='Do you want to close this Ticket?'
|
|
99
|
-
submitText='Ok'
|
|
100
|
-
cancelText='Cancel'
|
|
101
|
-
/>
|
|
102
|
-
<AlertLookup
|
|
103
|
-
isActive={lookup === 'customType' ? true : false}
|
|
104
|
-
onSubmitClick={() => {
|
|
105
|
-
console.log('On Delete');
|
|
106
|
-
}}
|
|
107
|
-
onCancelClick={this.onCancel}
|
|
108
|
-
title='Close Ticket'
|
|
109
|
-
submitText='Ok'
|
|
110
|
-
cancelText='Cancel'
|
|
111
|
-
headerChildren={this.headerChildren}
|
|
112
|
-
>
|
|
113
|
-
<div>Custom children Type</div>
|
|
114
|
-
</AlertLookup>
|
|
115
|
-
</div>
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
if (__DOCS__) {
|
|
120
|
-
AlertLookup__default.docs = {
|
|
121
|
-
componentGroup: 'AlertLookup',
|
|
122
|
-
folderName: 'Alert'
|
|
123
|
-
};
|
|
124
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
4
|
-
import Icon from '@zohodesk/icons/lib/Icon';
|
|
5
|
-
import style from './AvatarClose.module.css';
|
|
6
|
-
export default class AvatarClose extends React.Component {
|
|
7
|
-
constructor(props) {
|
|
8
|
-
super(props);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
render() {
|
|
12
|
-
let { title, src, name, size, isClose, onClick, customProps} = this.props;
|
|
13
|
-
let { AvatarCloseProps = {}, AvatarProps = {} } = customProps;
|
|
14
|
-
return (
|
|
15
|
-
<div className={style.container} {...AvatarCloseProps}>
|
|
16
|
-
<Avatar src={src} name={name} title={title} size={size} {...AvatarProps} />
|
|
17
|
-
{isClose && (
|
|
18
|
-
<span className={style.pop} onClick={onClick}>
|
|
19
|
-
<span className={style.icon}>
|
|
20
|
-
<Icon name='ZD-plus' />
|
|
21
|
-
</span>
|
|
22
|
-
</span>
|
|
23
|
-
)}
|
|
24
|
-
</div>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
AvatarClose.propTypes = {
|
|
29
|
-
isClose: PropTypes.bool,
|
|
30
|
-
name: PropTypes.string.isRequired,
|
|
31
|
-
onClick: PropTypes.func,
|
|
32
|
-
size: PropTypes.string,
|
|
33
|
-
src: PropTypes.string,
|
|
34
|
-
title: PropTypes.string,
|
|
35
|
-
customProps:PropTypes.shape({
|
|
36
|
-
AvatarCloseProps: PropTypes.object,
|
|
37
|
-
AvatarProps: PropTypes.object
|
|
38
|
-
})
|
|
39
|
-
};
|
|
40
|
-
AvatarClose.defaultProps = {
|
|
41
|
-
isClose: false,
|
|
42
|
-
size: 'medium',
|
|
43
|
-
customProps:{}
|
|
44
|
-
};
|
|
45
|
-
if (__DOCS__) {
|
|
46
|
-
AvatarClose.docs = {
|
|
47
|
-
componentGroup: 'Avatar Group'
|
|
48
|
-
};
|
|
49
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
position: relative;
|
|
3
|
-
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
4
|
-
vertical-align: middle;
|
|
5
|
-
}
|
|
6
|
-
.pop {
|
|
7
|
-
position: absolute;
|
|
8
|
-
composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
opacity: 0;
|
|
11
|
-
visibility: hidden;
|
|
12
|
-
top: 0;
|
|
13
|
-
left: 0;
|
|
14
|
-
height: 100%;
|
|
15
|
-
width: 100%;
|
|
16
|
-
transition: opacity var(--zd_transition2);
|
|
17
|
-
transform: translateZ(0);
|
|
18
|
-
background-color: var(--zdt_avatarclose_pop_bg);
|
|
19
|
-
color: var(--zdt_avatarclose_pop_text);
|
|
20
|
-
transform: rotate(45deg);
|
|
21
|
-
}
|
|
22
|
-
.icon {
|
|
23
|
-
position: absolute;
|
|
24
|
-
line-height: 0;
|
|
25
|
-
font-size: var(--zd_font_size16);
|
|
26
|
-
composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
|
|
27
|
-
}
|
|
28
|
-
.container:hover .pop {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
visibility: visible;
|
|
31
|
-
}
|