@zohodesk/dot 1.0.0-temp-62 → 1.0.0-temp-65
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 +0 -30
- package/__testUtils__/globals.js +0 -0
- package/build/Unusedfiles.json +1 -0
- package/es/ActionButton/ActionButton.js +6 -10
- package/es/ActionButton/ActionButton.module.css +25 -10
- package/es/ActionButton/docs/ActionButton__default.docs.js +134 -0
- package/es/AlphabeticList/AlphabeticList.module.css +7 -4
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
- package/es/Appearance/dark/mode/dotDarkMode.module.css +536 -521
- package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
- package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +8 -8
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +8 -8
- package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +8 -8
- package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +8 -8
- package/es/Appearance/default/mode/dotDefaultMode.module.css +536 -521
- package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
- package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +8 -8
- package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +8 -8
- package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +8 -8
- package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +8 -8
- package/es/Attachment/Attachment.module.css +20 -9
- package/es/Attachment/docs/Attachment__default.docs.js +54 -0
- package/es/ChannelIcon/ChannelIcon.module.css +30 -21
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +57 -0
- package/es/Drawer/Drawer.module.css +59 -11
- package/es/Drawer/docs/Drawer__default.docs.js +87 -0
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
- package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +19 -0
- package/es/FlipCard/FlipCard.module.css +14 -5
- package/es/FlipCard/docs/FlipCard__default.docs.js +66 -0
- package/es/FormAction/FormAction.module.css +34 -9
- package/es/FormAction/docs/FormAction__default.docs.js +72 -0
- package/es/FreezeLayer/FreezeLayer.module.css +6 -2
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +51 -0
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +48 -0
- package/es/IconButton/IconButton.js +5 -2
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/IconButton/docs/IconButton__default.docs.js +219 -0
- package/es/Image/docs/Image__default.docs.js +22 -0
- package/es/ImportantNotes/ImportantNotes.module.css +7 -2
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/es/Link/Link.js +1 -1
- package/es/Link/docs/Link__default.docs.js +36 -0
- package/es/Loader/Loader.module.css +25 -4
- package/es/Loader/docs/Loader__default.docs.js +23 -0
- package/es/Message/Message.module.css +42 -9
- package/es/Message/docs/Message__default.docs.js +55 -0
- package/es/MessageBanner/MessageBanner.module.css +12 -4
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
- package/es/NewStar/NewStar.module.css +42 -5
- package/es/NewStar/docs/NewStar__default.docs.js +62 -0
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +16 -0
- package/es/Provider.js +46 -46
- package/es/ToastMessage/ToastMessage.module.css +96 -25
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +92 -0
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +54 -0
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +125 -0
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +37 -0
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +61 -0
- package/es/Upload/Upload.module.css +27 -8
- package/es/Upload/docs/Upload__default.docs.js +61 -0
- package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +63 -0
- package/es/alert/AlertLookup/AlertLookup.js +4 -8
- package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +121 -0
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +35 -0
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +40 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +46 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +35 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +51 -0
- package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +147 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +173 -0
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +24 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +17 -9
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
- package/es/docs/formDocs.js +26 -0
- package/es/docs/generalDocs.js +131 -0
- package/es/docs/lookupDocs.js +44 -0
- package/es/docs/setupDocs.js +22 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +228 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +111 -0
- package/es/emptystate/EditionPage/EditionPage.css +9 -3
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +21 -0
- package/es/errorstate/EmptyStates.module.css +13 -10
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +17 -0
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
- package/es/errorstate/WillBack/WillBack.module.css +1 -3
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
- package/es/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
- package/es/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/form/fields/DateField/DateField.js +2 -2
- package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
- package/es/form/fields/Fields.module.css +53 -20
- package/es/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +2 -2
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -5
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
- package/es/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
- package/es/form/fields/TextEditor/TextEditor.js +5 -8
- package/es/form/fields/TextEditor/TextEditor.module.css +144 -73
- package/es/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/es/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
- package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +29 -0
- package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +67 -0
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +100 -0
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +6 -3
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +19 -0
- package/es/list/Comment/Comment.js +4 -1
- package/es/list/Comment/Comment.module.css +5 -0
- package/es/list/Comment/docs/Comment__default.docs.js +26 -0
- package/es/list/DotNew/DotNew.module.css +6 -6
- package/es/list/DotNew/docs/DotNew__default.docs.js +20 -0
- package/es/list/GridStencils/GridStencils.module.css +70 -16
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +35 -0
- package/es/list/Icons/AddNewIcon.js +13 -4
- package/es/list/Icons/CompleteIcon.js +13 -4
- package/es/list/Icons/DeleteIcon.js +13 -4
- package/es/list/Icons/EditIcon.js +13 -4
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/Icons/ReadUnreadIcon.js +9 -3
- package/es/list/Icons/SmartIcon.js +13 -4
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +24 -0
- package/es/list/ListLayout/ListLayout.module.css +22 -14
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +60 -0
- package/es/list/ListStencils/ListStencils.module.css +11 -6
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +20 -0
- package/es/list/SecondaryText/SecondaryText.module.css +13 -3
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +23 -0
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +81 -0
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +19 -0
- package/es/list/Subject/docs/Subject__default.docs.js +44 -0
- package/es/list/TagNew/TagNew.module.css +14 -7
- package/es/list/TagNew/docs/TagNew__default.docs.js +23 -0
- package/es/list/Thread/Thread.js +10 -5
- package/es/list/Thread/Thread.module.css +13 -1
- package/es/list/Thread/docs/Thread__default.docs.js +22 -0
- package/es/list/UserTime/UserTime.module.css +6 -0
- package/es/list/UserTime/docs/UserTime__default.docs.js +157 -0
- package/es/list/listCommon.module.css +9 -1
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +17 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +20 -0
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +196 -0
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +68 -0
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +4 -4
- package/es/lookup/header/Close/docs/Close__default.docs.js +19 -0
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +41 -0
- package/es/lookup/header/Search/LookupSearch.module.css +21 -12
- package/es/lookup/header/Search/docs/Search__default.docs.js +124 -0
- package/es/lookup/header/TicketHeader/TicketHeader.js +1 -3
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +6 -4
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +83 -0
- package/es/lookup/header/Title/docs/Title__default.docs.js +21 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -3
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +75 -0
- 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/Button/docs/Button__default.docs.js +22 -0
- package/es/setup/header/Link/HeaderLink.module.css +7 -1
- package/es/setup/header/Link/docs/Link__default.docs.js +23 -0
- package/es/setup/header/Search/Search.module.css +19 -8
- package/es/setup/header/Search/docs/Search__default.docs.js +41 -0
- package/es/setup/header/Views/Views.module.css +15 -5
- package/es/setup/header/Views/docs/Views__default.docs.js +24 -0
- package/es/setup/helptips/Description/docs/Description__default.docs.js +26 -0
- package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/es/setup/helptips/Link/docs/Link__default.docs.js +27 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +30 -0
- package/es/setup/helptips/Title/docs/Title__default.docs.js +26 -0
- package/es/setup/table/Table/docs/Table__default.docs.js +181 -0
- 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/setup/table/Text/docs/Text__default.docs.js +35 -0
- package/es/svg/docs/SVG__default.docs.js +49 -0
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -18
- package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
- package/es/version2/lookup/AlertLookup/AlertLookup.js +4 -8
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +147 -0
- package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +5 -13
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +30 -13
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
- package/lib/ActionButton/ActionButton.js +3 -3
- package/lib/ActionButton/ActionButton.module.css +25 -9
- package/lib/ActionButton/docs/ActionButton__default.docs.js +187 -0
- package/lib/AlphabeticList/AlphabeticList.js +3 -3
- package/lib/AlphabeticList/AlphabeticList.module.css +7 -4
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
- package/lib/Attachment/Attachment.js +3 -3
- package/lib/Attachment/Attachment.module.css +20 -9
- package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
- package/lib/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/ChannelIcon/ChannelIcon.module.css +30 -21
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +112 -0
- package/lib/Drawer/Drawer.js +4 -4
- package/lib/Drawer/Drawer.module.css +59 -11
- package/lib/Drawer/docs/Drawer__default.docs.js +143 -0
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +65 -0
- package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +68 -0
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FlipCard/FlipCard.module.css +14 -5
- package/lib/FlipCard/docs/FlipCard__default.docs.js +121 -0
- package/lib/FormAction/FormAction.js +4 -4
- package/lib/FormAction/FormAction.module.css +34 -9
- package/lib/FormAction/docs/FormAction__default.docs.js +127 -0
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/FreezeLayer/FreezeLayer.module.css +6 -2
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +103 -0
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +100 -0
- package/lib/IconButton/IconButton.js +8 -5
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
- package/lib/Image/Image.js +3 -3
- package/lib/Image/docs/Image__default.docs.js +76 -0
- package/lib/ImportantNotes/ImportantNotes.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.module.css +7 -2
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
- package/lib/Link/Link.js +3 -3
- package/lib/Link/docs/Link__default.docs.js +90 -0
- package/lib/Loader/Loader.js +3 -3
- package/lib/Loader/Loader.module.css +25 -4
- package/lib/Loader/docs/Loader__default.docs.js +68 -0
- package/lib/Message/Message.js +4 -4
- package/lib/Message/Message.module.css +42 -9
- package/lib/Message/docs/Message__default.docs.js +100 -0
- package/lib/MessageBanner/MessageBanner.js +3 -3
- package/lib/MessageBanner/MessageBanner.module.css +12 -4
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
- package/lib/NewStar/NewStar.js +3 -3
- package/lib/NewStar/NewStar.module.css +42 -5
- package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
- package/lib/PlusIcon/PlusIcon.js +3 -3
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +70 -0
- package/lib/Provider.js +3 -3
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/ToastMessage.module.css +96 -25
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +151 -0
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +108 -0
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +175 -0
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +91 -0
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +115 -0
- package/lib/Upload/Upload.js +3 -3
- package/lib/Upload/Upload.module.css +27 -8
- package/lib/Upload/docs/Upload__default.docs.js +110 -0
- package/lib/actions/AutoClose.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +3 -3
- package/lib/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +112 -0
- package/lib/alert/AlertLookup/AlertLookup.js +3 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +175 -0
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +72 -0
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +81 -0
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +95 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +99 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +90 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +104 -0
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +198 -0
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +224 -0
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +74 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
- package/lib/docs/formDocs.js +215 -0
- package/lib/docs/generalDocs.js +1039 -0
- package/lib/docs/lookupDocs.js +287 -0
- package/lib/docs/setupDocs.js +183 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +279 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -3
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +171 -0
- package/lib/emptystate/EditionPage/EditionPage.css +9 -3
- package/lib/emptystate/EditionPage/EditionPage.js +3 -3
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +74 -0
- package/lib/errorstate/EmptyStates.module.css +13 -10
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +69 -0
- package/lib/errorstate/LinkText/LinkText.js +3 -3
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +67 -0
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +68 -0
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +70 -0
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +69 -0
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +69 -0
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +70 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +69 -0
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +1 -3
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +71 -0
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
- package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
- package/lib/form/fields/DateField/DateField.js +3 -3
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
- package/lib/form/fields/Fields.module.css +48 -12
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
- package/lib/form/fields/RadioField/RadioField.js +3 -3
- package/lib/form/fields/SelectField/SelectField.js +3 -3
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
- package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
- package/lib/form/fields/TextEditor/TextEditor.js +3 -3
- package/lib/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/lib/form/fields/TextEditorField/TextEditorField.js +3 -3
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/lib/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
- package/lib/form/layout/Field/Field.js +3 -3
- package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
- package/lib/form/layout/Section/Section.js +3 -3
- package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
- package/lib/index.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +80 -0
- package/lib/layout/SetupDetailLayout/index.js +7 -7
- package/lib/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +118 -0
- package/lib/layout/SubtabLayout/index.js +9 -9
- package/lib/list/AvatarFlip/AvatarFlip.js +3 -3
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +149 -0
- package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +65 -0
- package/lib/list/Comment/Comment.js +7 -4
- package/lib/list/Comment/Comment.module.css +5 -0
- package/lib/list/Comment/docs/Comment__default.docs.js +76 -0
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
- package/lib/list/Dot/Dot.js +3 -3
- package/lib/list/DotNew/DotNew.js +3 -3
- package/lib/list/DotNew/DotNew.module.css +3 -3
- package/lib/list/DotNew/docs/DotNew__default.docs.js +70 -0
- package/lib/list/GridStencils/GridStencils.js +3 -3
- package/lib/list/GridStencils/GridStencils.module.css +70 -16
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +86 -0
- package/lib/list/Icons/AddNewIcon.js +14 -7
- package/lib/list/Icons/CompleteIcon.js +14 -7
- package/lib/list/Icons/DeleteIcon.js +14 -7
- package/lib/list/Icons/EditIcon.js +14 -7
- package/lib/list/Icons/FloatingIcons.js +3 -3
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +10 -6
- package/lib/list/Icons/SmartIcon.js +14 -7
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +81 -0
- package/lib/list/ListLayout/ListLayout.js +4 -4
- package/lib/list/ListLayout/ListLayout.module.css +22 -14
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +111 -0
- package/lib/list/ListStencils/ListStencils.js +3 -3
- package/lib/list/ListStencils/ListStencils.module.css +11 -6
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +70 -0
- package/lib/list/SecondaryText/AccountName.js +3 -3
- package/lib/list/SecondaryText/ContactName.js +3 -3
- package/lib/list/SecondaryText/DepartmentText.js +3 -3
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +3 -3
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.module.css +13 -3
- package/lib/list/SecondaryText/StatusText.js +3 -3
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +3 -3
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +73 -0
- package/lib/list/SecondaryText/index.js +22 -22
- package/lib/list/SecondryPanel/SecondryPanel.js +4 -4
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +133 -0
- package/lib/list/SentimentStatus/SentimentStatus.js +3 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +65 -0
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/Subject/docs/Subject__default.docs.js +94 -0
- package/lib/list/TagNew/TagNew.js +3 -3
- package/lib/list/TagNew/TagNew.module.css +14 -7
- package/lib/list/TagNew/docs/TagNew__default.docs.js +73 -0
- package/lib/list/Thread/Thread.js +13 -8
- package/lib/list/Thread/Thread.module.css +13 -1
- package/lib/list/Thread/docs/Thread__default.docs.js +72 -0
- package/lib/list/UserTime/UserTime.js +3 -3
- package/lib/list/UserTime/UserTime.module.css +6 -0
- package/lib/list/UserTime/docs/UserTime__default.docs.js +196 -0
- package/lib/list/listCommon.module.css +9 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
- package/lib/lookup/EmptyPage/EmptyPage.js +3 -3
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +67 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +70 -0
- package/lib/lookup/Lookup/Lookup.js +3 -3
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +247 -0
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +121 -0
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/Section/Section.js +3 -3
- package/lib/lookup/header/Close/Close.js +3 -3
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/Close/docs/Close__default.docs.js +69 -0
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -3
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +89 -0
- package/lib/lookup/header/Search/LookupSearch.module.css +21 -12
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/Search/docs/Search__default.docs.js +175 -0
- package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +133 -0
- package/lib/lookup/header/Title/Title.js +3 -3
- package/lib/lookup/header/Title/docs/Title__default.docs.js +71 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -4
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +119 -0
- package/lib/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/lib/setup/header/Button/Button.js +3 -3
- package/lib/setup/header/Button/HeaderButton.module.css +3 -1
- package/lib/setup/header/Button/docs/Button__default.docs.js +68 -0
- package/lib/setup/header/Link/HeaderLink.module.css +7 -1
- package/lib/setup/header/Link/Link.js +3 -3
- package/lib/setup/header/Link/docs/Link__default.docs.js +69 -0
- package/lib/setup/header/Search/Search.js +3 -3
- package/lib/setup/header/Search/Search.module.css +19 -8
- package/lib/setup/header/Search/docs/Search__default.docs.js +92 -0
- package/lib/setup/header/Views/Views.js +3 -3
- package/lib/setup/header/Views/Views.module.css +15 -5
- package/lib/setup/header/Views/docs/Views__default.docs.js +70 -0
- package/lib/setup/helptips/Description/Description.js +3 -3
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +72 -0
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/lib/setup/helptips/Link/Link.js +3 -3
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +73 -0
- package/lib/setup/helptips/ListGroup/ListGroup.js +3 -3
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +76 -0
- package/lib/setup/helptips/Title/Title.js +3 -3
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +72 -0
- package/lib/setup/table/Table/Table.js +3 -3
- package/lib/setup/table/Table/docs/Table__default.docs.js +238 -0
- package/lib/setup/table/TableBody/TableBody.js +3 -3
- package/lib/setup/table/TableData/SetupTableData.module.css +11 -3
- package/lib/setup/table/TableData/TableData.js +3 -3
- package/lib/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/lib/setup/table/TableHead/TableHead.js +3 -3
- package/lib/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/lib/setup/table/TableRow/TableRow.js +3 -3
- package/lib/setup/table/Text/Text.js +3 -3
- package/lib/setup/table/Text/docs/Text__default.docs.js +84 -0
- package/lib/svg/PlusIcon.js +3 -3
- package/lib/svg/SnippetIcon.js +3 -3
- package/lib/svg/TemplateIcon.js +3 -3
- package/lib/svg/docs/SVG__default.docs.js +101 -0
- package/lib/utils/ChannelIconMapping.js +1 -1
- package/lib/utils/General.js +4 -4
- package/lib/utils/KeyboardApi.js +3 -1
- package/lib/utils/editorUtils.js +6 -6
- package/lib/version2/AlertClose/AlertClose.js +3 -3
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
- package/lib/version2/GlobalNotification/GlobalNotification.js +4 -4
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
- package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/lib/version2/alertIcons/AlertIcons.js +3 -3
- package/lib/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/lib/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/lib/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +201 -0
- package/lib/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +26 -10
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
- package/package.json +9 -13
- package/src/ActionButton/ActionButton.js +197 -0
- package/src/ActionButton/ActionButton.module.css +120 -0
- package/src/ActionButton/docs/ActionButton__default.docs.js +110 -0
- package/src/AlphabeticList/AlphabeticList.js +176 -0
- package/src/AlphabeticList/AlphabeticList.module.css +54 -0
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +36 -0
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +44 -0
- package/{es/deprecated/Theme/dotDarkTheme.module.css → src/Appearance/dark/mode/dotDarkMode.module.css} +32 -28
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/{es/deprecated/Theme/dotDefaultTheme.module.css → src/Appearance/default/mode/dotDefaultMode.module.css} +34 -30
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/src/Attachment/Attachment.js +119 -0
- package/src/Attachment/Attachment.module.css +121 -0
- package/src/Attachment/docs/Attachment__default.docs.js +63 -0
- package/src/ChannelIcon/ChannelIcon.js +154 -0
- package/src/ChannelIcon/ChannelIcon.module.css +208 -0
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +63 -0
- package/src/Drawer/Drawer.js +398 -0
- package/src/Drawer/Drawer.module.css +103 -0
- package/src/Drawer/docs/Drawer__default.docs.js +86 -0
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +111 -0
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
- package/src/Drawer/docs/Drawer__withModal.docs.js +76 -0
- package/src/ExternalLink/ExternalLink.js +75 -0
- package/src/ExternalLink/ExternalLink.module.css +4 -0
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +28 -0
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +24 -0
- package/src/FlipCard/FlipCard.js +193 -0
- package/src/FlipCard/FlipCard.module.css +35 -0
- package/src/FlipCard/docs/FlipCard__default.docs.js +76 -0
- package/src/FormAction/FormAction.js +126 -0
- package/src/FormAction/FormAction.module.css +57 -0
- package/src/FormAction/docs/FormAction__default.docs.js +93 -0
- package/src/FreezeLayer/FreezeLayer.js +159 -0
- package/src/FreezeLayer/FreezeLayer.module.css +38 -0
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +52 -0
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +51 -0
- package/src/IconButton/IconButton.js +189 -0
- package/src/IconButton/IconButton.module.css +22 -0
- package/src/IconButton/docs/IconButton__default.docs.js +158 -0
- package/src/Image/Image.js +58 -0
- package/src/Image/Image.module.css +11 -0
- package/src/Image/docs/Image__default.docs.js +18 -0
- package/src/ImportantNotes/ImportantNotes.js +57 -0
- package/src/ImportantNotes/ImportantNotes.module.css +15 -0
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/src/Link/Link.js +123 -0
- package/src/Link/Link.module.css +4 -0
- package/src/Link/LinkContext.js +9 -0
- package/src/Link/docs/Link__default.docs.js +91 -0
- package/src/Loader/Loader.js +22 -0
- package/src/Loader/Loader.module.css +25 -0
- package/src/Loader/docs/Loader__default.docs.js +21 -0
- package/src/Message/Message.js +109 -0
- package/src/Message/Message.module.css +70 -0
- package/src/Message/docs/Message__default.docs.js +53 -0
- package/src/MessageBanner/MessageBanner.js +83 -0
- package/src/MessageBanner/MessageBanner.module.css +38 -0
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +87 -0
- package/src/NewStar/NewStar.js +83 -0
- package/src/NewStar/NewStar.module.css +73 -0
- package/src/NewStar/docs/NewStar__default.docs.js +39 -0
- package/src/PlusIcon/PlusIcon.js +64 -0
- package/src/PlusIcon/PlusIcon.module.css +16 -0
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +18 -0
- package/src/Provider.js +203 -0
- package/src/ToastMessage/ToastMessage.js +315 -0
- package/src/ToastMessage/ToastMessage.module.css +257 -0
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +97 -0
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +57 -0
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +135 -0
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +40 -0
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +68 -0
- package/src/Upload/Upload.js +103 -0
- package/src/Upload/Upload.module.css +106 -0
- package/src/Upload/docs/Upload__default.docs.js +72 -0
- package/src/actions/AutoClose.js +51 -0
- package/src/actions/index.js +22 -0
- package/src/alert/AlertHeader/AlertHeader.js +122 -0
- package/src/alert/AlertHeader/AlertHeader.module.css +63 -0
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +73 -0
- package/src/alert/AlertLookup/AlertLookup.js +214 -0
- package/src/alert/AlertLookup/AlertLookup.module.css +23 -0
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +124 -0
- package/src/avatar/AvatarClose/AvatarClose.js +49 -0
- package/src/avatar/AvatarClose/AvatarClose.module.css +31 -0
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
- package/src/avatar/AvatarCollision/AvatarCollision.js +81 -0
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +55 -0
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +40 -0
- package/src/avatar/AvatarIcon/AvatarIcon.js +99 -0
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +59 -0
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +49 -0
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +36 -0
- package/src/avatar/AvatarStatus/AvatarStatus.js +95 -0
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +96 -0
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +38 -0
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +63 -0
- package/src/avatar/AvatarThread/AvatarThread.js +136 -0
- package/src/avatar/AvatarThread/AvatarThread.module.css +113 -0
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +167 -0
- package/src/avatar/AvatarUser/AvatarUser.js +160 -0
- package/src/avatar/AvatarUser/AvatarUser.module.css +100 -0
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +148 -0
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +134 -0
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +16 -0
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +50 -0
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +28 -0
- package/src/deprecated/SelectDropdown/SelectDropdown.js +122 -0
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +47 -0
- package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +31 -0
- package/src/docs/formDocs.js +26 -0
- package/src/docs/generalDocs.js +162 -0
- package/src/docs/lookupDocs.js +52 -0
- package/src/docs/setupDocs.js +25 -0
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +950 -0
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +84 -0
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +242 -0
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +116 -0
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +77 -0
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +107 -0
- package/src/emptystate/EditionPage/EditionPage.css +37 -0
- package/src/emptystate/EditionPage/EditionPage.js +69 -0
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +23 -0
- package/src/errorstate/EmptyStates.module.css +85 -0
- package/src/errorstate/Inconvenience/Inconvenience.js +132 -0
- package/src/errorstate/Inconvenience/Inconvenience.module.css +4 -0
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/src/errorstate/LinkText/LinkText.js +35 -0
- package/src/errorstate/LinkText/LinkText.module.css +6 -0
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +13 -0
- package/src/errorstate/NoRequestFound/NoRequestFound.js +132 -0
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +3 -0
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
- package/src/errorstate/PermissionPlay/PermissionPlay.js +127 -0
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +34 -0
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +132 -0
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -0
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
- package/src/errorstate/UnableToProcess/UnableToProcess.js +130 -0
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +3 -0
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +130 -0
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -0
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
- package/src/errorstate/WillBack/WillBack.js +120 -0
- package/src/errorstate/WillBack/WillBack.module.css +36 -0
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
- package/src/form/fields/CheckBoxField/CheckBoxField.js +220 -0
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +32 -0
- package/src/form/fields/CurrencyField/CurrencyField.js +267 -0
- package/src/form/fields/DateField/DateField.js +281 -0
- package/src/form/fields/DateField/docs/DateField__default.docs.js +24 -0
- package/src/form/fields/Fields.module.css +145 -0
- package/src/form/fields/MultiSelectField/MultiSelectField.js +311 -0
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +53 -0
- package/src/form/fields/PhoneField/PhoneField.js +227 -0
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/src/form/fields/RadioField/RadioField.js +181 -0
- package/src/form/fields/SelectField/SelectField.js +296 -0
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +48 -0
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +331 -0
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +95 -0
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +55 -0
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +342 -0
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +6 -0
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +58 -0
- package/src/form/fields/TextBoxField/TextBoxField.js +274 -0
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +38 -0
- package/src/form/fields/TextEditor/TextEditor.js +440 -0
- package/src/form/fields/TextEditor/TextEditor.module.css +582 -0
- package/src/form/fields/TextEditorField/TextEditorField.js +286 -0
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +62 -0
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +239 -0
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +26 -0
- package/src/form/fields/TextareaField/TextareaField.js +247 -0
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +25 -0
- package/src/form/fields/ValidationMessage/ValidationMessage.js +77 -0
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +22 -0
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +66 -0
- package/src/form/layout/Field/Field.js +53 -0
- package/src/form/layout/Field/Field.module.css +22 -0
- package/src/form/layout/Field/docs/Field__default.docs.js +20 -0
- package/src/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/src/form/layout/Section/Section.js +47 -0
- package/src/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/src/i18n.js +5498 -0
- package/src/index.js +8 -0
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +274 -0
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +116 -0
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +34 -0
- package/src/layout/SetupDetailLayout/index.js +4 -0
- package/src/layout/SubtabLayout/SubtabLayout.js +235 -0
- package/src/layout/SubtabLayout/SubtabLayout.module.css +120 -0
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +53 -0
- package/src/layout/SubtabLayout/index.js +4 -0
- package/src/list/AvatarFlip/AvatarFlip.js +106 -0
- package/src/list/AvatarFlip/AvatarFlip.module.css +3 -0
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +82 -0
- package/src/list/BluePrintStatus/BluePrintStatus.js +28 -0
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +14 -0
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +20 -0
- package/src/list/Comment/Comment.js +54 -0
- package/src/list/Comment/Comment.module.css +24 -0
- package/src/list/Comment/docs/Comment__default.docs.js +22 -0
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +119 -0
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -0
- package/src/list/Dot/Dot.js +27 -0
- package/src/list/Dot/Dot.module.css +15 -0
- package/src/list/DotNew/DotNew.js +29 -0
- package/src/list/DotNew/DotNew.module.css +22 -0
- package/src/list/DotNew/docs/DotNew__default.docs.js +18 -0
- package/src/list/GridStencils/GridStencils.js +46 -0
- package/src/list/GridStencils/GridStencils.module.css +102 -0
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +30 -0
- package/src/list/Icons/AddNewIcon.js +34 -0
- package/src/list/Icons/CompleteIcon.js +35 -0
- package/src/list/Icons/DeleteIcon.js +36 -0
- package/src/list/Icons/EditIcon.js +36 -0
- package/src/list/Icons/FloatingIcons.js +32 -0
- package/src/list/Icons/Icons.module.css +16 -0
- package/src/list/Icons/ReadUnreadIcon.js +44 -0
- package/src/list/Icons/SmartIcon.js +37 -0
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +26 -0
- package/src/list/ListLayout/ListLayout.js +117 -0
- package/src/list/ListLayout/ListLayout.module.css +50 -0
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +54 -0
- package/src/list/ListStencils/ListStencils.js +45 -0
- package/src/list/ListStencils/ListStencils.module.css +62 -0
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +18 -0
- package/src/list/SecondaryText/AccountName.js +130 -0
- package/src/list/SecondaryText/ContactName.js +137 -0
- package/src/list/SecondaryText/DepartmentText.js +34 -0
- package/src/list/SecondaryText/Email.js +86 -0
- package/src/list/SecondaryText/HappinessRating.js +37 -0
- package/src/list/SecondaryText/PhoneNumber.js +93 -0
- package/src/list/SecondaryText/PriorityText.js +40 -0
- package/src/list/SecondaryText/SecondaryText.js +43 -0
- package/src/list/SecondaryText/SecondaryText.module.css +126 -0
- package/src/list/SecondaryText/StatusText.js +42 -0
- package/src/list/SecondaryText/TicketId.js +78 -0
- package/src/list/SecondaryText/Website.js +59 -0
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +18 -0
- package/src/list/SecondaryText/index.js +11 -0
- package/src/list/SecondryPanel/SecondryPanel.js +144 -0
- package/src/list/SecondryPanel/SecondryPanel.module.css +6 -0
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +90 -0
- package/src/list/SentimentStatus/SentimentStatus.js +32 -0
- package/src/list/SentimentStatus/SentimentStatus.module.css +9 -0
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +20 -0
- package/src/list/Subject/Subject.js +88 -0
- package/src/list/Subject/Subject.module.css +27 -0
- package/src/list/Subject/docs/Subject__default.docs.js +34 -0
- package/src/list/TagNew/TagNew.js +40 -0
- package/src/list/TagNew/TagNew.module.css +108 -0
- package/src/list/TagNew/docs/TagNew__default.docs.js +18 -0
- package/src/list/Thread/Thread.js +46 -0
- package/src/list/Thread/Thread.module.css +31 -0
- package/src/list/Thread/docs/Thread__default.docs.js +18 -0
- package/src/list/UserTime/UserTime.js +138 -0
- package/src/list/UserTime/UserTime.module.css +52 -0
- package/src/list/UserTime/docs/UserTime__default.docs.js +114 -0
- package/src/list/listCommon.module.css +52 -0
- package/src/list/status/StatusDropdown/StatusDropdown.js +538 -0
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +76 -0
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +92 -0
- package/src/list/status/StatusListItem/StatusListItem.js +149 -0
- package/src/list/status/StatusListItem/StatusListItem.module.css +81 -0
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +19 -0
- package/src/lookup/EmptyPage/EmptyPage.js +62 -0
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +12 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +17 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +17 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +16 -0
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +17 -0
- package/src/lookup/Lookup/Lookup.js +113 -0
- package/src/lookup/Lookup/Lookup.module.css +26 -0
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +184 -0
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +59 -0
- package/src/lookup/Section/LookupSection.module.css +8 -0
- package/src/lookup/Section/Section.js +27 -0
- package/src/lookup/header/Close/Close.js +36 -0
- package/src/lookup/header/Close/LookupClose.module.css +15 -0
- package/src/lookup/header/Close/docs/Close__default.docs.js +17 -0
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +97 -0
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +40 -0
- package/src/lookup/header/Search/LookupSearch.module.css +48 -0
- package/src/lookup/header/Search/Search.js +249 -0
- package/src/lookup/header/Search/docs/Search__default.docs.js +106 -0
- package/src/lookup/header/TicketHeader/TicketHeader.js +123 -0
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +19 -0
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +63 -0
- package/src/lookup/header/Title/LookupTitle.module.css +20 -0
- package/src/lookup/header/Title/Title.js +38 -0
- package/src/lookup/header/Title/docs/Title__default.docs.js +17 -0
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +199 -0
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +46 -0
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +54 -0
- package/src/lookup/header/lookupHeaderCommon.module.css +25 -0
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +15 -0
- package/src/setup/header/Button/Button.js +40 -0
- package/src/setup/header/Button/HeaderButton.module.css +3 -0
- package/src/setup/header/Button/docs/Button__default.docs.js +21 -0
- package/src/setup/header/Link/HeaderLink.module.css +15 -0
- package/src/setup/header/Link/Link.js +48 -0
- package/src/setup/header/Link/docs/Link__default.docs.js +20 -0
- package/src/setup/header/Search/Search.js +87 -0
- package/src/setup/header/Search/Search.module.css +57 -0
- package/src/setup/header/Search/docs/Search__default.docs.js +32 -0
- package/src/setup/header/Views/Views.js +62 -0
- package/src/setup/header/Views/Views.module.css +27 -0
- package/src/setup/header/Views/docs/Views__default.docs.js +20 -0
- package/src/setup/helptips/Description/Description.js +22 -0
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +6 -0
- package/src/setup/helptips/Description/docs/Description__default.docs.js +24 -0
- package/src/setup/helptips/Link/HelpTipsLink.module.css +6 -0
- package/src/setup/helptips/Link/Link.js +39 -0
- package/src/setup/helptips/Link/docs/Link__default.docs.js +27 -0
- package/src/setup/helptips/ListGroup/ListGroup.js +42 -0
- package/src/setup/helptips/ListGroup/ListGroup.module.css +17 -0
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +37 -0
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +5 -0
- package/src/setup/helptips/Title/Title.js +22 -0
- package/src/setup/helptips/Title/docs/Title__default.docs.js +22 -0
- package/src/setup/table/Table/Table.js +31 -0
- package/src/setup/table/Table/docs/Table__default.docs.js +115 -0
- package/src/setup/table/TableBody/TableBody.js +37 -0
- package/src/setup/table/TableData/SetupTableData.module.css +36 -0
- package/src/setup/table/TableData/TableData.js +56 -0
- package/src/setup/table/TableData/Tablehover.module.css +6 -0
- package/src/setup/table/TableHead/SetupTableHead.module.css +8 -0
- package/src/setup/table/TableHead/TableHead.js +53 -0
- package/src/setup/table/TableRow/SetupTableRow.module.css +10 -0
- package/src/setup/table/TableRow/TableRow.js +60 -0
- package/src/setup/table/Text/TableText.module.css +37 -0
- package/src/setup/table/Text/Text.js +82 -0
- package/src/setup/table/Text/docs/Text__default.docs.js +38 -0
- package/src/svg/PlusIcon.js +43 -0
- package/src/svg/SnippetIcon.js +50 -0
- package/src/svg/TemplateIcon.js +34 -0
- package/src/svg/docs/SVG__default.docs.js +46 -0
- package/src/utils/ChannelIconMapping.js +130 -0
- package/src/utils/Common.js +20 -0
- package/src/utils/General.js +58 -0
- package/src/utils/KeyboardApi.js +280 -0
- package/src/utils/editorUtils.js +189 -0
- package/src/version2/AlertClose/AlertClose.js +45 -0
- package/src/version2/AlertClose/AlertClose.module.css +43 -0
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +46 -0
- package/src/version2/GlobalNotification/GlobalNotification.js +112 -0
- package/src/version2/GlobalNotification/GlobalNotification.module.css +90 -0
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +94 -0
- package/src/version2/alertIcons/AlarmAlertIcon.js +32 -0
- package/src/version2/alertIcons/AlertIcons.js +61 -0
- package/src/version2/alertIcons/AlertIcons.module.css +67 -0
- package/src/version2/alertIcons/DangerAlertIcon.js +33 -0
- package/src/version2/alertIcons/ErrorAlertIcon.js +34 -0
- package/src/version2/alertIcons/InfoAlertIcon.js +35 -0
- package/src/version2/alertIcons/NotificationAlertIcon.js +32 -0
- package/src/version2/alertIcons/SuccessAlertIcon.js +31 -0
- package/src/version2/alertIcons/WarningAlertIcon.js +31 -0
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +123 -0
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +98 -0
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +99 -0
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +21 -0
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +98 -0
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +31 -0
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +102 -0
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +19 -0
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +98 -0
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +21 -0
- package/src/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +98 -0
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +19 -0
- package/src/version2/lookup/AlertHeader/AlertHeader.js +100 -0
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +64 -0
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +66 -0
- package/src/version2/lookup/AlertLookup/AlertLookup.js +290 -0
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +40 -0
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +150 -0
- package/src/version2/lookup/alertLookupCommonNew.module.css +26 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +251 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +91 -0
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +86 -0
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +92 -0
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +100 -0
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +51 -0
- package/es/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -40
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
//$Id$
|
|
2
|
+
let isShortCutEnabled;
|
|
3
|
+
let showShortcut = {};
|
|
4
|
+
let shortcutdatas = {};
|
|
5
|
+
let additionalKey = {};
|
|
6
|
+
let _SpecialKeyMaps = {
|
|
7
|
+
8: 'backspace',
|
|
8
|
+
9: 'tab',
|
|
9
|
+
13: 'enter',
|
|
10
|
+
16: 'shift',
|
|
11
|
+
17: 'ctrl',
|
|
12
|
+
18: 'alt',
|
|
13
|
+
//20: 'capslock',
|
|
14
|
+
27: 'esc',
|
|
15
|
+
32: 'space',
|
|
16
|
+
//33: 'pageup',
|
|
17
|
+
//34: 'pagedown',
|
|
18
|
+
//35: 'end',
|
|
19
|
+
//36: 'home',
|
|
20
|
+
37: 'left',
|
|
21
|
+
38: 'up',
|
|
22
|
+
39: 'right',
|
|
23
|
+
40: 'down',
|
|
24
|
+
46: 'del',
|
|
25
|
+
91: 'meta',
|
|
26
|
+
93: 'meta',
|
|
27
|
+
224: 'meta',
|
|
28
|
+
|
|
29
|
+
43: 'plus', // +
|
|
30
|
+
61: 'plus', // = , in firefox
|
|
31
|
+
63: 'ques', // ?
|
|
32
|
+
187: 'plus', // =
|
|
33
|
+
191: 'slash' // /
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export function Shortcut(target) {
|
|
37
|
+
_addEvent(target, 'keypress', keycallback);
|
|
38
|
+
_addEvent(target, 'keydown', keycallback);
|
|
39
|
+
_addEvent(target, 'keyup', keycallback);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
Shortcut.setState = function(isEnabled) {
|
|
43
|
+
isShortCutEnabled = isEnabled;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
Shortcut.addAll = function(keysObj, props) {
|
|
47
|
+
showShortcut = props.showShortcut;
|
|
48
|
+
isShortCutEnabled &&
|
|
49
|
+
keysObj.map((keyOptions, index) => {
|
|
50
|
+
Shortcut.add(
|
|
51
|
+
keyOptions.keyCombo,
|
|
52
|
+
keyOptions.keyCallback(props),
|
|
53
|
+
keyOptions.keyAction,
|
|
54
|
+
keyOptions.displayLabel || []
|
|
55
|
+
);
|
|
56
|
+
return;
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
|
|
62
|
+
* @param callback = any function
|
|
63
|
+
* @param action = keypress or keydown or keyup
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
Shortcut.bulkAdd = function(shortcutArray) {
|
|
67
|
+
showShortcut &&
|
|
68
|
+
shortcutArray.map(shortcutObj => {
|
|
69
|
+
Shortcut.add(
|
|
70
|
+
shortcutObj.keyCombo,
|
|
71
|
+
shortcutObj.keyCallback,
|
|
72
|
+
shortcutObj.keyAction,
|
|
73
|
+
shortcutObj.displayLabel || []
|
|
74
|
+
);
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
Shortcut.add = function(keycombo, cpFunc, action, displayLabel) {
|
|
79
|
+
if (!keycombo || !isShortCutEnabled) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
let tempjson = {};
|
|
83
|
+
if (cpFunc === undefined) {
|
|
84
|
+
cpFunc = function(keycode, keyOptions, e) {
|
|
85
|
+
_defaultCallBack(keycode, keyOptions);
|
|
86
|
+
};
|
|
87
|
+
} else {
|
|
88
|
+
let oldfunc = cpFunc;
|
|
89
|
+
cpFunc = function(keycode, keyOptions, ev) {
|
|
90
|
+
oldfunc(keycode, ev);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
tempjson.key = keycombo.toLowerCase();
|
|
94
|
+
tempjson.displayLabel = displayLabel;
|
|
95
|
+
tempjson.keyOptions = cpFunc;
|
|
96
|
+
tempjson.action = action || 'keypress';
|
|
97
|
+
|
|
98
|
+
shortcutdatas[keycombo.toLowerCase()] = tempjson;
|
|
99
|
+
};
|
|
100
|
+
/*Shortcut.prototype.remove = function(){
|
|
101
|
+
|
|
102
|
+
};*/
|
|
103
|
+
Shortcut.removeAll = function() {
|
|
104
|
+
shortcutdatas = {};
|
|
105
|
+
};
|
|
106
|
+
Shortcut.show = function() {
|
|
107
|
+
return Object.assign({}, shortcutdatas);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
Shortcut.remove = function(keyCombo) {
|
|
111
|
+
keyCombo = Array.isArray(keyCombo) ? keyCombo : [keyCombo];
|
|
112
|
+
keyCombo.map(key => {
|
|
113
|
+
delete shortcutdatas[key];
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
Shortcut.init = function(doc) {
|
|
118
|
+
let documentshortcut = Shortcut(doc);
|
|
119
|
+
for (let method in documentshortcut) {
|
|
120
|
+
if (method.charAt(0) !== '_') {
|
|
121
|
+
Shortcut[method] = (function(method) {
|
|
122
|
+
return function() {
|
|
123
|
+
return documentshortcut[method](...arguments);
|
|
124
|
+
};
|
|
125
|
+
}(method));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
function _addEvent(object, type, callback) {
|
|
131
|
+
if (object.addEventListener) {
|
|
132
|
+
object.addEventListener(type, callback, false);
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
object.attachEvent(`on${type}`, callback);
|
|
136
|
+
}
|
|
137
|
+
export function keycallback(e) {
|
|
138
|
+
if (!isShortCutEnabled) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
let keyaction = e.type;
|
|
142
|
+
let keycode = _convertToKeyCharacter(e);
|
|
143
|
+
if (e.metaKey) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
_bindNeedData(e, keyaction);
|
|
147
|
+
if ('esc' !== keycode) {
|
|
148
|
+
if (_shortRestrictionPlaces(e)) {
|
|
149
|
+
//return if type any text in input tag or texta area
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
keycode = _eventModifiers(e) + keycode;
|
|
154
|
+
let keycodedata = shortcutdatas[keycode];
|
|
155
|
+
if (keycodedata) {
|
|
156
|
+
e.preventDefault();
|
|
157
|
+
}
|
|
158
|
+
if (
|
|
159
|
+
keycodedata &&
|
|
160
|
+
keyaction === keycodedata.action &&
|
|
161
|
+
keycodedata.keyOptions
|
|
162
|
+
) {
|
|
163
|
+
keycodedata.keyOptions &&
|
|
164
|
+
keycodedata.keyOptions(keycode, keycodedata.keyOptions, e);
|
|
165
|
+
showShortcut({
|
|
166
|
+
type: 'SHORTCUT_SHOW',
|
|
167
|
+
displayLabel: keycodedata.displayLabel
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function _eventModifiers(e) {
|
|
172
|
+
if (e.shiftKey === true && e.metaKey === true) {
|
|
173
|
+
return 'command+shift+';
|
|
174
|
+
}
|
|
175
|
+
if (e.shiftKey === true && e.ctrlKey === true) {
|
|
176
|
+
return 'ctrl+shift+';
|
|
177
|
+
}
|
|
178
|
+
if (e.altKey === true && e.ctrlKey === true) {
|
|
179
|
+
return 'alt+ctrl+';
|
|
180
|
+
}
|
|
181
|
+
if (e.ctrlKey === true) {
|
|
182
|
+
return 'ctrl+';
|
|
183
|
+
}
|
|
184
|
+
if (e.metaKey === true) {
|
|
185
|
+
return 'command+';
|
|
186
|
+
}
|
|
187
|
+
if (e.shiftKey === true) {
|
|
188
|
+
return 'shift+';
|
|
189
|
+
}
|
|
190
|
+
if (additionalKey.zpress === true) {
|
|
191
|
+
return 'z+';
|
|
192
|
+
} else if (additionalKey.apress === true) {
|
|
193
|
+
return 'a+';
|
|
194
|
+
} else if (additionalKey.cpress === true) {
|
|
195
|
+
return 'c+';
|
|
196
|
+
} else if (additionalKey.dpress === true) {
|
|
197
|
+
return 'd+';
|
|
198
|
+
} else if (additionalKey.fpress === true) {
|
|
199
|
+
return 'f+';
|
|
200
|
+
} else if (additionalKey.kpress === true) {
|
|
201
|
+
return 'k+';
|
|
202
|
+
} else if (additionalKey.ppress === true) {
|
|
203
|
+
return 'p+';
|
|
204
|
+
} else if (additionalKey.rpress === true) {
|
|
205
|
+
return 'r+';
|
|
206
|
+
} else if (additionalKey.tpress === true) {
|
|
207
|
+
return 't+';
|
|
208
|
+
} else if (additionalKey.epress === true) {
|
|
209
|
+
return 'e+';
|
|
210
|
+
} else if (additionalKey.lpress === true) {
|
|
211
|
+
return 'l+';
|
|
212
|
+
}
|
|
213
|
+
return '';
|
|
214
|
+
}
|
|
215
|
+
function _bindNeedData(e, keyaction) {
|
|
216
|
+
let keyName = String.fromCharCode(e.keyCode).toLowerCase();
|
|
217
|
+
if (
|
|
218
|
+
['z', 'a', 'c', 'd', 'f', 'k', 'p', 'r', 't', 'l', 'e'].indexOf(keyName) !==
|
|
219
|
+
-1
|
|
220
|
+
) {
|
|
221
|
+
let extraName = `${keyName}press`;
|
|
222
|
+
if (keyaction === 'keydown') {
|
|
223
|
+
additionalKey = !additionalKey[extraName]
|
|
224
|
+
? Object.assign({}, additionalKey, { [extraName]: true })
|
|
225
|
+
: additionalKey;
|
|
226
|
+
additionalKey[extraName] = true;
|
|
227
|
+
} else if (keyaction === 'keyup') {
|
|
228
|
+
additionalKey = !additionalKey[extraName]
|
|
229
|
+
? Object.assign({}, additionalKey, { [extraName]: false })
|
|
230
|
+
: additionalKey;
|
|
231
|
+
additionalKey[extraName] = false;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
function _convertToKeyCharacter(e) {
|
|
236
|
+
let keyCode = e.keyCode || e.charCode;
|
|
237
|
+
let keyName = String.fromCharCode(keyCode).toLowerCase();
|
|
238
|
+
keyName = _SpecialKeyMaps.hasOwnProperty(keyCode)
|
|
239
|
+
? _SpecialKeyMaps[keyCode]
|
|
240
|
+
: keyName;
|
|
241
|
+
return keyName;
|
|
242
|
+
}
|
|
243
|
+
function _defaultCallBack(keycombo, keyOptions) {
|
|
244
|
+
/*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
|
|
245
|
+
if (keyOptions.callbackflow !== undefined) {
|
|
246
|
+
keycombo = keyOptions.callbackflow.split(',');
|
|
247
|
+
var click = function(i, combo) {
|
|
248
|
+
setTimeout(function() {
|
|
249
|
+
jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
|
|
250
|
+
}, i * 200);
|
|
251
|
+
};
|
|
252
|
+
for (var i = 0; i < keycombo.length; i++) {
|
|
253
|
+
var clickFunc = click.bind(this, i);
|
|
254
|
+
clickFunc(keycombo[i]);
|
|
255
|
+
highLightKeys(keycombo[i]);
|
|
256
|
+
}
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
if (keyElement.length === 1) {
|
|
260
|
+
keyElement.trigger('click');
|
|
261
|
+
highLightKeys(keycombo);
|
|
262
|
+
return;
|
|
263
|
+
}*/
|
|
264
|
+
}
|
|
265
|
+
function _shortRestrictionPlaces(e) {
|
|
266
|
+
let _target = e.target;
|
|
267
|
+
let { tagName } = _target;
|
|
268
|
+
let keyCode = e.keyCode || e.charCode;
|
|
269
|
+
let isContentEditable = _target.contentEditable === 'true';
|
|
270
|
+
if (
|
|
271
|
+
['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 ||
|
|
272
|
+
//!SupportUI.CurrentUser.getKBStatus() ||
|
|
273
|
+
//restrict_keyUI() ||
|
|
274
|
+
(keyCode >= 112 && keyCode <= 123) ||
|
|
275
|
+
isContentEditable
|
|
276
|
+
) {
|
|
277
|
+
return true;
|
|
278
|
+
}
|
|
279
|
+
return false;
|
|
280
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
const ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200;
|
|
2
|
+
|
|
3
|
+
// editorUtils
|
|
4
|
+
export function editorContentValidate(editorObj) {
|
|
5
|
+
let content =
|
|
6
|
+
(editorObj && editorObj.getContent && editorObj.getContent()) || '';
|
|
7
|
+
if (
|
|
8
|
+
content == '' ||
|
|
9
|
+
!content.length ||
|
|
10
|
+
content == '<div><br></div>' ||
|
|
11
|
+
(editorObj.mode !== 'plaintext' &&
|
|
12
|
+
!editorObj.doc.body.innerText.trim().length &&
|
|
13
|
+
!editorObj.doc.getElementsByTagName('img').length &&
|
|
14
|
+
!editorObj.doc.getElementsByTagName('iframe').length && !isValidSpace(editorObj))
|
|
15
|
+
) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
function isValidSpace(editorObj) {
|
|
21
|
+
let uTags = editorObj.doc.body.getElementsByTagName('u');
|
|
22
|
+
let isValidContent = false;
|
|
23
|
+
for (let i = 0; i < uTags.length; i++) {
|
|
24
|
+
let uTag = uTags[i];
|
|
25
|
+
let contentLength = uTag.innerText.length;
|
|
26
|
+
if (contentLength) {
|
|
27
|
+
isValidContent = true;
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return isValidContent;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function fixEncoding(str) {
|
|
36
|
+
if (/&lt;|&gt;/g.test(str) == true) {
|
|
37
|
+
str = str.replace(/&lt;/g, '<');
|
|
38
|
+
str = str.replace(/&gt;/g, '>');
|
|
39
|
+
}
|
|
40
|
+
return str;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function encodeForHtml(str) {
|
|
44
|
+
if (/<|>|&|"|'|\\/g.test(str) == true) {
|
|
45
|
+
str = str.replace(/&/g, '&');
|
|
46
|
+
str = str.replace(/</g, '<');
|
|
47
|
+
str = str.replace(/>/g, '>');
|
|
48
|
+
str = str.replace(/"/g, '"');
|
|
49
|
+
str = str.replace(/\\/g, '\');
|
|
50
|
+
str = str.replace(/'/g, ''');
|
|
51
|
+
}
|
|
52
|
+
return str;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// attachment
|
|
56
|
+
|
|
57
|
+
export function isFileNameSizeInvalid(fileName) {
|
|
58
|
+
return fileName.length > ATTACHMENT_FILE_NAME_SIZE_LIMIT;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function isImageFormat(fileName) {
|
|
62
|
+
let extension = getExtensionFromFileName(fileName);
|
|
63
|
+
return /jpeg|jpg|png|gif|bmp|ico/i.test(extension);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function getExtensionFromFileName(fileName) {
|
|
67
|
+
if (fileName && fileName.indexOf('.') != -1) {
|
|
68
|
+
return fileName
|
|
69
|
+
.substring(fileName.lastIndexOf('.') + 1, fileName.length)
|
|
70
|
+
.toLowerCase();
|
|
71
|
+
}
|
|
72
|
+
return '';
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// common
|
|
76
|
+
export function triggerKeyup(elem) {
|
|
77
|
+
let keyup = new KeyboardEvent('keyup');
|
|
78
|
+
elem && elem.dispatchEvent && elem.dispatchEvent(keyup);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// editor
|
|
82
|
+
|
|
83
|
+
export function getRichEditorContent(key) {
|
|
84
|
+
let richTextEditor = editor[key];
|
|
85
|
+
if (richTextEditor != undefined) {
|
|
86
|
+
let content = richTextEditor.getContent();
|
|
87
|
+
content = content.trim();
|
|
88
|
+
if (content == '<br>') {
|
|
89
|
+
return '';
|
|
90
|
+
}
|
|
91
|
+
if (richTextEditor.mode == 'plaintext') {
|
|
92
|
+
content = replaceNewLineCharacter(content);
|
|
93
|
+
}
|
|
94
|
+
return content;
|
|
95
|
+
}
|
|
96
|
+
return '';
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function replaceNewLineCharacter(content) {
|
|
100
|
+
if (typeof content !== 'undefined') {
|
|
101
|
+
content = encodeForHtml(content);
|
|
102
|
+
content = content.replace(/\n/g, '<br/>');
|
|
103
|
+
}
|
|
104
|
+
return content;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export const changeContent = (id, value) => {
|
|
108
|
+
let editorObj = global.editor && global.editor[id];
|
|
109
|
+
if (editorObj) {
|
|
110
|
+
let content = fixEncoding(value);
|
|
111
|
+
if (editorObj.mode === 'plaintext') {
|
|
112
|
+
editorObj.squireInstance.setHTML(content);
|
|
113
|
+
editorObj.plainText(editorObj.squireInstance.getHTML());
|
|
114
|
+
} else {
|
|
115
|
+
editorObj.setContent(content);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export function validateEditorContentOnInsertHtml(node) {
|
|
121
|
+
if (node.nodeName === 'IFRAME') {
|
|
122
|
+
let iframeSrcRegex = /^(https?:)?\/\/((www\.youtube\.com)|(www\.youtube-nocookie\.com)|(([a-z\-]+\.)?flowplayer\.org)|(www\.useloom\.com)|(player\.vimeo\.com)|(www\.dailymotion\.com)|(w\.soundcloud\.com)|(whatfix\.com)|([a-z\-]+\.zoho\.com)|([a-z\-]+\.google\.com)|([a-z\-]+\.efficientforms\.com)|([a-z0-9\-]+\.microsoftstream\.com)).*$/;
|
|
123
|
+
if (
|
|
124
|
+
!node.getAttribute('src') ||
|
|
125
|
+
!iframeSrcRegex.test(node.getAttribute('src'))
|
|
126
|
+
) {
|
|
127
|
+
node.parentNode.removeChild(node);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// loadresource
|
|
133
|
+
|
|
134
|
+
/* use promise and remove callback*/
|
|
135
|
+
export function loadResource(url, type, id, callback) {
|
|
136
|
+
return new Promise(resolve => {
|
|
137
|
+
let css, script;
|
|
138
|
+
if (id && document.getElementById(id)) {
|
|
139
|
+
resolve();
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (type === 'css') {
|
|
143
|
+
css = document.createElement('link');
|
|
144
|
+
css.type = 'text/css';
|
|
145
|
+
css.rel = 'stylesheet';
|
|
146
|
+
css.href = url;
|
|
147
|
+
css.id = id || '';
|
|
148
|
+
css.onload = function () {
|
|
149
|
+
resolve();
|
|
150
|
+
};
|
|
151
|
+
css.onerror = function () {
|
|
152
|
+
resolve();
|
|
153
|
+
};
|
|
154
|
+
document.getElementsByTagName('head')[0].appendChild(css);
|
|
155
|
+
} else if (type === 'js') {
|
|
156
|
+
script = document.createElement('script');
|
|
157
|
+
script.type = 'text/javascript';
|
|
158
|
+
script.src = url;
|
|
159
|
+
script.defer = true;
|
|
160
|
+
|
|
161
|
+
script.onload = function () {
|
|
162
|
+
resolve();
|
|
163
|
+
if (id) {
|
|
164
|
+
script.id = id;
|
|
165
|
+
}
|
|
166
|
+
if (typeof callback === 'function') {
|
|
167
|
+
callback();
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
script.onerror = function () {
|
|
171
|
+
resolve();
|
|
172
|
+
};
|
|
173
|
+
document.getElementsByTagName('head')[0].appendChild(script);
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// bind
|
|
179
|
+
|
|
180
|
+
export function bind(...handlers) {
|
|
181
|
+
handlers.forEach(handler => {
|
|
182
|
+
if (__DEVELOPMENT__) {
|
|
183
|
+
if (!this[handler]) {
|
|
184
|
+
console.log('Handler method not defined: ', handler);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
this[handler] = this[handler].bind(this);
|
|
188
|
+
});
|
|
189
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*** Libraries ***/
|
|
2
|
+
import React, { PureComponent } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
|
+
|
|
7
|
+
import style from './AlertClose.module.css';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export default class AlertClose extends PureComponent {
|
|
11
|
+
render() {
|
|
12
|
+
let { onClose, dataId, dataTitle, type, customClass } = this.props;
|
|
13
|
+
return (
|
|
14
|
+
<Container
|
|
15
|
+
className={`${style.close} ${type ? style[type] : ''} ${customClass ? customClass : ''}`}
|
|
16
|
+
data-title={dataTitle}
|
|
17
|
+
onClick={onClose}
|
|
18
|
+
dataId={dataId}
|
|
19
|
+
align='both'
|
|
20
|
+
isInline
|
|
21
|
+
alignBox='row'
|
|
22
|
+
isCover={false}
|
|
23
|
+
>
|
|
24
|
+
<Box>
|
|
25
|
+
<Icon name='GC-cross' isBold size='12' iconClass={style.closeIcon} />
|
|
26
|
+
</Box>
|
|
27
|
+
</Container>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
AlertClose.propTypes = {
|
|
33
|
+
customClass: PropTypes.string,
|
|
34
|
+
dataId: PropTypes.string,
|
|
35
|
+
dataTitle: PropTypes.string,
|
|
36
|
+
onClose: PropTypes.func,
|
|
37
|
+
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error', 'light'])
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
if (__DOCS__) {
|
|
41
|
+
AlertClose.docs = {
|
|
42
|
+
componentGroup: 'AlertClose',
|
|
43
|
+
folderName: 'Alert'
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.close {
|
|
2
|
+
width: var(--zd_size25);
|
|
3
|
+
height: var(--zd_size25);
|
|
4
|
+
border-radius: var(--zd_size4);
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
color: var(--zdt_commonalert_close_icon);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.closeIcon {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.light {
|
|
14
|
+
color: var(--zdt_commonalert_close_light_icon);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.close:hover {
|
|
18
|
+
background-color: var(--zdt_commonalert_close_hover_bg);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.light:hover {
|
|
22
|
+
background-color: var(--zdt_commonalert_light_hover_bg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.success:hover {
|
|
26
|
+
background-color: var(--zdt_commonalert_success_hover_bg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.info:hover {
|
|
30
|
+
background-color:var(--zdt_commonalert_info_hover_bg);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.warning:hover {
|
|
34
|
+
background-color: var(--zdt_commonalert_warning_hover_bg);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.danger:hover {
|
|
38
|
+
background-color: var(--zdt_commonalert_danger_hover_bg);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.error:hover {
|
|
42
|
+
background-color: var(--zdt_commonalert_error_hover_bg);
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import AlertClose from '../AlertClose';
|
|
4
|
+
export default class AlertClose__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
let style = { margin: '10px' };
|
|
11
|
+
return (
|
|
12
|
+
<div>
|
|
13
|
+
<h2>Light</h2>
|
|
14
|
+
<div style={style}>
|
|
15
|
+
<AlertClose type='light' />
|
|
16
|
+
</div>
|
|
17
|
+
<h2>Info</h2>
|
|
18
|
+
<div style={style}>
|
|
19
|
+
<AlertClose type='info' />
|
|
20
|
+
</div>
|
|
21
|
+
<h2>Success</h2>
|
|
22
|
+
<div style={style}>
|
|
23
|
+
<AlertClose type='success' />
|
|
24
|
+
</div>
|
|
25
|
+
<h2>Danger</h2>
|
|
26
|
+
<div style={style}>
|
|
27
|
+
<AlertClose type='danger' />
|
|
28
|
+
</div>
|
|
29
|
+
<h2>Warning</h2>
|
|
30
|
+
<div style={style}>
|
|
31
|
+
<AlertClose type='warning' />
|
|
32
|
+
</div>
|
|
33
|
+
<h2>Error</h2>
|
|
34
|
+
<div style={style}>
|
|
35
|
+
<AlertClose type='error' />
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
if (__DOCS__) {
|
|
42
|
+
AlertClose__default.docs = {
|
|
43
|
+
componentGroup: 'AlertClose',
|
|
44
|
+
folderName: 'Alert'
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import AutoClose from '../../actions/AutoClose';
|
|
4
|
+
import AlertIcons from '../alertIcons/AlertIcons';
|
|
5
|
+
import AlertClose from '../AlertClose/AlertClose';
|
|
6
|
+
|
|
7
|
+
import style from './GlobalNotification.module.css';
|
|
8
|
+
|
|
9
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
10
|
+
|
|
11
|
+
export default class GlobalNotification extends React.Component {
|
|
12
|
+
constructor(props) {
|
|
13
|
+
super(props);
|
|
14
|
+
this.state = { hideMessage: false };
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
componentWillReceiveProps(nextProps) {
|
|
18
|
+
let { showMessage, hideMessage, type } = this.props;
|
|
19
|
+
|
|
20
|
+
if (showMessage !== nextProps.showMessage || type !== nextProps.type) {
|
|
21
|
+
if (!['danger', 'error', 'warning'].includes(nextProps.type)) {
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
hideMessage();
|
|
24
|
+
}, 3000);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
componentDidMount() {
|
|
30
|
+
let { type, hideMessage } = this.props;
|
|
31
|
+
if (!['danger', 'error', 'warning'].includes(type)) {
|
|
32
|
+
setTimeout(() => {
|
|
33
|
+
hideMessage();
|
|
34
|
+
}, 3000);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
render() {
|
|
39
|
+
let { type, message, hideMessage, onClick,i18nKeys={} } = this.props;
|
|
40
|
+
let { closeTitle = 'Close' } = i18nKeys;
|
|
41
|
+
return (
|
|
42
|
+
<GlobalNotificationUI
|
|
43
|
+
type={type}
|
|
44
|
+
message={message}
|
|
45
|
+
hideMessage={hideMessage}
|
|
46
|
+
onClick={onClick}
|
|
47
|
+
closeTitle={closeTitle}
|
|
48
|
+
/>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
GlobalNotification.propTypes = {
|
|
53
|
+
dataId: PropTypes.string,
|
|
54
|
+
hideMessage: PropTypes.func,
|
|
55
|
+
message: PropTypes.string,
|
|
56
|
+
onClick: PropTypes.func,
|
|
57
|
+
showMessage: PropTypes.bool,
|
|
58
|
+
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error']),
|
|
59
|
+
i18nKeys: PropTypes.object
|
|
60
|
+
};
|
|
61
|
+
if (__DOCS__) {
|
|
62
|
+
GlobalNotification.docs = {
|
|
63
|
+
componentGroup: 'GlobalNotification',
|
|
64
|
+
folderName: 'Alert'
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function GlobalNotificationUI(props) {
|
|
69
|
+
function onClose(e) {
|
|
70
|
+
let { hideMessage, onClose } = props;
|
|
71
|
+
hideMessage && hideMessage(e);
|
|
72
|
+
onClose && onClose(e);
|
|
73
|
+
}
|
|
74
|
+
let { type = '', message, onClick, closeTitle='' } = props;
|
|
75
|
+
return (
|
|
76
|
+
<div className={`${style.message} ${type ? style[type] : ''}`} data-id={`show_${type}_message`}>
|
|
77
|
+
<Container
|
|
78
|
+
className={`${style.container}`}
|
|
79
|
+
alignBox='row'
|
|
80
|
+
isCover={false}
|
|
81
|
+
align='vertical'
|
|
82
|
+
isInline
|
|
83
|
+
>
|
|
84
|
+
<Box className={style.icon}>
|
|
85
|
+
<AlertIcons type={type} variant='secondary' />
|
|
86
|
+
</Box>
|
|
87
|
+
<Box flexible>
|
|
88
|
+
<div
|
|
89
|
+
className={style.text}
|
|
90
|
+
onClick={onClick}
|
|
91
|
+
data-id='infoMessage'
|
|
92
|
+
dangerouslySetInnerHTML={{
|
|
93
|
+
__html:message
|
|
94
|
+
}}
|
|
95
|
+
/>
|
|
96
|
+
</Box>
|
|
97
|
+
<Box className={style.close}>
|
|
98
|
+
<AlertClose
|
|
99
|
+
dataId={`close_${type}_message`}
|
|
100
|
+
dataTitle={closeTitle}
|
|
101
|
+
onClose={onClose}
|
|
102
|
+
type={type}
|
|
103
|
+
/>
|
|
104
|
+
</Box>
|
|
105
|
+
</Container>
|
|
106
|
+
</div>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function GlobalNotificationNew(props) {
|
|
111
|
+
return <AutoClose {...props} Element={GlobalNotificationUI} />;
|
|
112
|
+
}
|