@zohodesk/dot 1.0.0-temp-203.7 → 1.0.0-temp-204.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli/propValidation_report.html +1 -1
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +5 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +5 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +5 -0
- package/coverage/__testUtils__/MockResizeObserver.js.html +163 -0
- package/coverage/__testUtils__/index.html +116 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/coverage-final.json +59 -0
- package/coverage/coverage-summary.json +60 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +566 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/src/Drawer/Drawer.js.html +1030 -0
- package/coverage/src/Drawer/Drawer.module.css.html +466 -0
- package/coverage/src/Drawer/index.html +131 -0
- package/coverage/src/Drawer/props/defaultProps.js.html +163 -0
- package/coverage/src/Drawer/props/index.html +131 -0
- package/coverage/src/Drawer/props/propTypes.js.html +286 -0
- package/coverage/src/FormAction/FormAction.js.html +391 -0
- package/coverage/src/FormAction/FormAction.module.css.html +292 -0
- package/coverage/src/FormAction/index.html +131 -0
- package/coverage/src/FormAction/props/defaultProps.js.html +100 -0
- package/coverage/src/FormAction/props/index.html +131 -0
- package/coverage/src/FormAction/props/propTypes.js.html +112 -0
- package/coverage/src/FreezeLayer/FreezeLayer.js.html +346 -0
- package/coverage/src/FreezeLayer/css/FreezeLayer.module.css.html +199 -0
- package/coverage/src/FreezeLayer/css/cssJSLogic.js.html +139 -0
- package/coverage/src/FreezeLayer/css/index.html +131 -0
- package/coverage/src/FreezeLayer/index.html +116 -0
- package/coverage/src/FreezeLayer/props/defaultProps.js.html +112 -0
- package/coverage/src/FreezeLayer/props/index.html +131 -0
- package/coverage/src/FreezeLayer/props/propTypes.js.html +151 -0
- package/coverage/src/Hooks/Dragger/css/Dragger.module.css.html +91 -0
- package/coverage/src/Hooks/Dragger/css/index.html +116 -0
- package/coverage/src/Hooks/Dragger/index.html +116 -0
- package/coverage/src/Hooks/Dragger/props/defaultProps.js.html +100 -0
- package/coverage/src/Hooks/Dragger/props/index.html +131 -0
- package/coverage/src/Hooks/Dragger/props/propTypes.js.html +124 -0
- package/coverage/src/Hooks/Dragger/useDragger.js.html +439 -0
- package/coverage/src/Hooks/Dragger/utils/DraggerUtil.js.html +133 -0
- package/coverage/src/Hooks/Dragger/utils/index.html +116 -0
- package/coverage/src/Hooks/index.html +116 -0
- package/coverage/src/Hooks/useFreezeLayer.js.html +247 -0
- package/coverage/src/IconButton/IconButton.js.html +466 -0
- package/coverage/src/IconButton/IconButton.module.css.html +151 -0
- package/coverage/src/IconButton/index.html +131 -0
- package/coverage/src/IconButton/props/defaultProps.js.html +136 -0
- package/coverage/src/IconButton/props/index.html +131 -0
- package/coverage/src/IconButton/props/propTypes.js.html +187 -0
- package/coverage/src/Provider/Config.js.html +136 -0
- package/coverage/src/Provider/index.html +116 -0
- package/coverage/src/alert/AlertHeader/AlertHeader.js.html +337 -0
- package/coverage/src/alert/AlertHeader/AlertHeader.module.css.html +271 -0
- package/coverage/src/alert/AlertHeader/index.html +131 -0
- package/coverage/src/alert/AlertHeader/props/defaultProps.js.html +109 -0
- package/coverage/src/alert/AlertHeader/props/index.html +131 -0
- package/coverage/src/alert/AlertHeader/props/propTypes.js.html +148 -0
- package/coverage/src/lookup/header/Close/Close.js.html +154 -0
- package/coverage/src/lookup/header/Close/index.html +116 -0
- package/coverage/src/lookup/header/Close/props/defaultProps.js.html +94 -0
- package/coverage/src/lookup/header/Close/props/index.html +131 -0
- package/coverage/src/lookup/header/Close/props/propTypes.js.html +106 -0
- package/coverage/src/lookup/header/Title/LookupTitle.module.css.html +148 -0
- package/coverage/src/lookup/header/Title/Title.js.html +169 -0
- package/coverage/src/lookup/header/Title/index.html +131 -0
- package/coverage/src/lookup/header/Title/props/defaultProps.js.html +94 -0
- package/coverage/src/lookup/header/Title/props/index.html +131 -0
- package/coverage/src/lookup/header/Title/props/propTypes.js.html +106 -0
- package/coverage/src/version2/AlertClose/AlertClose.js.html +202 -0
- package/coverage/src/version2/AlertClose/AlertClose.module.css.html +211 -0
- package/coverage/src/version2/AlertClose/index.html +131 -0
- package/coverage/src/version2/AlertClose/props/index.html +116 -0
- package/coverage/src/version2/AlertClose/props/propTypes.js.html +112 -0
- package/coverage/src/version2/alertIcons/AlarmAlertIcon.js.html +166 -0
- package/coverage/src/version2/alertIcons/AlertIcons.js.html +253 -0
- package/coverage/src/version2/alertIcons/AlertIcons.module.css.html +286 -0
- package/coverage/src/version2/alertIcons/DangerAlertIcon.js.html +166 -0
- package/coverage/src/version2/alertIcons/InfoAlertIcon.js.html +172 -0
- package/coverage/src/version2/alertIcons/NotificationAlertIcon.js.html +166 -0
- package/coverage/src/version2/alertIcons/SuccessAlertIcon.js.html +166 -0
- package/coverage/src/version2/alertIcons/WarningAlertIcon.js.html +163 -0
- package/coverage/src/version2/alertIcons/index.html +221 -0
- package/coverage/src/version2/alertIcons/props/defaultProps.js.html +187 -0
- package/coverage/src/version2/alertIcons/props/index.html +131 -0
- package/coverage/src/version2/alertIcons/props/propTypes.js.html +211 -0
- package/coverage/src/version2/lookup/AlertHeader/AlertHeader.js.html +316 -0
- package/coverage/src/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css.html +277 -0
- package/coverage/src/version2/lookup/AlertHeader/css/cssJSLogic.js.html +130 -0
- package/coverage/src/version2/lookup/AlertHeader/css/index.html +131 -0
- package/coverage/src/version2/lookup/AlertHeader/index.html +116 -0
- package/coverage/src/version2/lookup/AlertHeader/props/defaultProps.js.html +106 -0
- package/coverage/src/version2/lookup/AlertHeader/props/index.html +131 -0
- package/coverage/src/version2/lookup/AlertHeader/props/propTypes.js.html +166 -0
- package/coverage/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js.html +361 -0
- package/coverage/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css.html +370 -0
- package/coverage/src/version2/notification/DesktopNotificationHeader/index.html +131 -0
- package/coverage/src/version2/notification/DesktopNotificationHeader/props/defaultProps.js.html +109 -0
- package/coverage/src/version2/notification/DesktopNotificationHeader/props/index.html +131 -0
- package/coverage/src/version2/notification/DesktopNotificationHeader/props/propTypes.js.html +124 -0
- package/es/ActionButton/ActionButton.js +3 -3
- package/es/ActionButton/__tests__/ActionButton.spec.js +1 -1
- package/es/AlphabeticList/AlphabeticList.js +3 -3
- package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
- package/es/Attachment/Attachment.js +4 -4
- package/es/Attachment/__tests__/Attachment.spec.js +1 -1
- package/es/AttachmentViewer/AttachmentImage.js +5 -5
- package/es/AttachmentViewer/AttachmentViewer.js +11 -11
- package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
- package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +1 -1
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
- package/es/ChannelIcon/props/propTypes.js +1 -1
- package/es/DotProvider/DotProvider.js +2 -2
- package/es/DotProvider/__tests__/DotProvider.spec.js +1 -1
- package/es/DotProvider/hooks/useDotProvider.js +2 -2
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +4 -4
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +1 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +1 -1
- package/es/DotProvider/props/propTypes.js +1 -1
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +4 -4
- package/es/DotProvider/utils/themeColorAssetsConfig.js +46 -46
- package/es/Drawer/Drawer.js +6 -6
- package/es/Drawer/__tests__/Drawer.spec.js +1 -1
- package/es/Drawer/index.js +1 -1
- package/es/ExternalLink/ExternalLink.js +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
- package/es/FlipCard/FlipCard.js +7 -7
- package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
- package/es/FormAction/FormAction.js +3 -3
- package/es/FormAction/__tests__/FormAction.spec.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +5 -5
- package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
- package/es/FreezeLayer/index.js +2 -2
- package/es/Hooks/Dragger/useDragger.js +5 -5
- package/es/Hooks/useFreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +3 -3
- package/es/IconButton/__tests__/IconButton.spec.js +1 -1
- package/es/Image/Image.js +3 -3
- package/es/Image/__tests__/Image.spec.js +1 -1
- package/es/ImportantNotes/ImportantNotes.js +3 -3
- package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
- package/es/Link/Link.js +4 -4
- package/es/Link/__tests__/Link.spec.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/Loader/__tests__/Loader.spec.js +1 -1
- package/es/Message/Message.js +4 -4
- package/es/Message/__tests__/Message.spec.js +1 -1
- package/es/Message/props/propTypes.js +1 -1
- package/es/MessageBanner/MessageBanner.js +4 -4
- package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
- package/es/NewStar/NewStar.js +3 -3
- package/es/NewStar/__tests__/NewStar.spec.js +1 -1
- package/es/PlusIcon/PlusIcon.js +4 -4
- package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
- package/es/PlusIcon/props/propTypes.js +1 -1
- package/es/Separator/Separator.js +3 -3
- package/es/Separator/__tests__/Separator.spec.js +1 -1
- package/es/TagWithIcon/TagWithIcon.js +3 -3
- package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
- package/es/Upload/Upload.js +4 -4
- package/es/Upload/__tests__/Upload.spec.js +1 -1
- package/es/actions/AutoClose.js +2 -2
- package/es/alert/AlertHeader/AlertHeader.js +5 -5
- package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/alert/index.js +2 -2
- package/es/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
- package/es/avatar/index.js +7 -7
- package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
- package/es/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
- package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/errorstate/LinkText/LinkText.js +4 -4
- package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
- package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +4 -4
- package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
- package/es/errorstate/index.js +8 -8
- package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
- package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
- package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/form/fields/DateField/DateField.js +5 -5
- package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
- package/es/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/form/fields/DateField/props/propTypes.js +1 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
- package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
- package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +4 -4
- package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +5 -5
- package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
- package/es/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
- package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.js +4 -4
- package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
- package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
- package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
- package/es/form/fields/index.js +16 -16
- package/es/form/layout/Field/Field.js +3 -3
- package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
- package/es/form/layout/Section/Section.js +2 -2
- package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
- package/es/form/layout/index.js +2 -2
- package/es/index.js +39 -39
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
- package/es/layout/SetupDetailLayout/index.js +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
- package/es/layout/SubtabLayout/index.js +4 -4
- package/es/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
- package/es/list/Comment/Comment.js +3 -3
- package/es/list/Comment/__tests__/Comment.spec.js +1 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
- package/es/list/Dot/Dot.js +3 -3
- package/es/list/Dot/__tests__/Dot.spec.js +1 -1
- package/es/list/DotNew/DotNew.js +3 -3
- package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
- package/es/list/GridStencils/GridStencils.js +2 -2
- package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
- package/es/list/Icons/AddNewIcon.js +2 -2
- package/es/list/Icons/CompleteIcon.js +2 -2
- package/es/list/Icons/DeleteIcon.js +2 -2
- package/es/list/Icons/EditIcon.js +2 -2
- package/es/list/Icons/FloatingIcons.js +3 -3
- package/es/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/list/Icons/SmartIcon.js +2 -2
- package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
- package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
- package/es/list/Icons/index.js +7 -7
- package/es/list/ListLayout/ListLayout.js +3 -3
- package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
- package/es/list/ListStencils/ListStencils.js +3 -3
- package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
- package/es/list/SecondaryText/AccountName.js +4 -4
- package/es/list/SecondaryText/ContactName.js +5 -5
- package/es/list/SecondaryText/DepartmentText.js +2 -2
- package/es/list/SecondaryText/Email.js +4 -4
- package/es/list/SecondaryText/HappinessRating.js +2 -2
- package/es/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/list/SecondaryText/PriorityText.js +3 -3
- package/es/list/SecondaryText/SecondaryText.js +3 -3
- package/es/list/SecondaryText/StatusText.js +3 -3
- package/es/list/SecondaryText/TicketId.js +4 -4
- package/es/list/SecondaryText/Website.js +4 -4
- package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
- package/es/list/SecondaryText/index.js +11 -11
- package/es/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
- package/es/list/Subject/Subject.js +4 -4
- package/es/list/Subject/__tests__/Subject.spec.js +1 -1
- package/es/list/TagNew/TagNew.js +3 -3
- package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
- package/es/list/Thread/Thread.js +3 -3
- package/es/list/Thread/__tests__/Thread.spec.js +1 -1
- package/es/list/index.js +16 -16
- package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
- package/es/list/status/index.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
- package/es/lookup/Lookup/Lookup.js +4 -4
- package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
- package/es/lookup/Section/Section.js +2 -2
- package/es/lookup/Section/__tests__/Section.spec.js +1 -1
- package/es/lookup/header/Close/Close.js +3 -3
- package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
- package/es/lookup/header/Search/Search.js +4 -4
- package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
- package/es/lookup/header/Title/Title.js +3 -3
- package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
- package/es/lookup/header/index.js +5 -5
- package/es/lookup/index.js +4 -4
- package/es/setup/header/Button/Button.js +3 -3
- package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
- package/es/setup/header/Link/Link.js +4 -4
- package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/header/Search/Search.js +3 -3
- package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/setup/header/Views/Views.js +3 -3
- package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
- package/es/setup/header/index.js +4 -4
- package/es/setup/helptips/Description/Description.js +2 -2
- package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
- package/es/setup/helptips/Link/Link.js +3 -3
- package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
- package/es/setup/helptips/Title/Title.js +2 -2
- package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
- package/es/setup/helptips/index.js +4 -4
- package/es/setup/index.js +3 -3
- package/es/setup/table/Table/Table.js +2 -2
- package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +2 -2
- package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
- package/es/setup/table/TableData/TableData.js +3 -3
- package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +3 -3
- package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +3 -3
- package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
- package/es/setup/table/Text/Text.js +4 -4
- package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
- package/es/setup/table/index.js +5 -5
- package/es/svg/PlusIcon.js +2 -2
- package/es/svg/SnippetIcon.js +2 -2
- package/es/svg/TemplateIcon.js +2 -2
- package/es/svg/__tests__/PlusIcon.spec.js +1 -1
- package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
- package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
- package/es/svg/index.js +3 -3
- package/es/v1/ActionButton/ActionButton.js +3 -3
- package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
- package/es/v1/Attachment/Attachment.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentImage.js +5 -5
- package/es/v1/AttachmentViewer/AttachmentViewer.js +11 -11
- package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/ExternalLink/ExternalLink.js +3 -3
- package/es/v1/FlipCard/FlipCard.js +7 -7
- package/es/v1/FormAction/FormAction.js +3 -3
- package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +3 -3
- package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
- package/es/v1/Link/Link.js +4 -4
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -4
- package/es/v1/Message/props/propTypes.js +1 -1
- package/es/v1/MessageBanner/MessageBanner.js +4 -4
- package/es/v1/NewStar/NewStar.js +3 -3
- package/es/v1/PlusIcon/PlusIcon.js +4 -4
- package/es/v1/Separator/Separator.js +3 -3
- package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +4 -4
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/alert/AlertClose/AlertClose.js +2 -2
- package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
- package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/index.js +8 -8
- package/es/v1/alert/index.js +2 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/v1/avatar/index.js +7 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/v1/form/fields/DateField/DateField.js +5 -5
- package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/v1/form/fields/RadioField/RadioField.js +5 -5
- package/es/v1/form/fields/SelectField/SelectField.js +5 -5
- package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditor/TextEditor.js +4 -4
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/v1/form/fields/index.js +16 -16
- package/es/v1/form/layout/Field/Field.js +3 -3
- package/es/v1/form/layout/Section/Section.js +2 -2
- package/es/v1/form/layout/index.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/v1/layout/SetupDetailLayout/index.js +4 -4
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/v1/layout/SubtabLayout/index.js +4 -4
- package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/v1/list/Comment/Comment.js +3 -3
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/v1/list/Dot/Dot.js +3 -3
- package/es/v1/list/DotNew/DotNew.js +3 -3
- package/es/v1/list/GridStencils/GridStencils.js +2 -2
- package/es/v1/list/Icons/AddNewIcon.js +2 -2
- package/es/v1/list/Icons/CompleteIcon.js +2 -2
- package/es/v1/list/Icons/DeleteIcon.js +2 -2
- package/es/v1/list/Icons/EditIcon.js +2 -2
- package/es/v1/list/Icons/FloatingIcons.js +3 -3
- package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/v1/list/Icons/SmartIcon.js +2 -2
- package/es/v1/list/Icons/index.js +7 -7
- package/es/v1/list/ListLayout/ListLayout.js +3 -3
- package/es/v1/list/ListStencils/ListStencils.js +3 -3
- package/es/v1/list/SecondaryText/AccountName.js +4 -4
- package/es/v1/list/SecondaryText/ContactName.js +5 -5
- package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
- package/es/v1/list/SecondaryText/Email.js +4 -4
- package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
- package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/v1/list/SecondaryText/PriorityText.js +3 -3
- package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
- package/es/v1/list/SecondaryText/StatusText.js +3 -3
- package/es/v1/list/SecondaryText/TicketId.js +4 -4
- package/es/v1/list/SecondaryText/Website.js +4 -4
- package/es/v1/list/SecondaryText/index.js +11 -11
- package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/v1/list/Subject/Subject.js +4 -4
- package/es/v1/list/TagNew/TagNew.js +3 -3
- package/es/v1/list/Thread/Thread.js +3 -3
- package/es/v1/list/index.js +16 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/v1/list/status/index.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/v1/lookup/Lookup/Lookup.js +4 -4
- package/es/v1/lookup/Section/Section.js +2 -2
- package/es/v1/lookup/header/Close/Close.js +3 -3
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/v1/lookup/header/Search/Search.js +4 -4
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/v1/lookup/header/Title/Title.js +3 -3
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/v1/lookup/header/index.js +5 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +3 -3
- package/es/v1/setup/header/Link/Link.js +4 -4
- package/es/v1/setup/header/Search/Search.js +3 -3
- package/es/v1/setup/header/Views/Views.js +3 -3
- package/es/v1/setup/header/index.js +4 -4
- package/es/v1/setup/helptips/Description/Description.js +2 -2
- package/es/v1/setup/helptips/Link/Link.js +3 -3
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/v1/setup/helptips/Title/Title.js +2 -2
- package/es/v1/setup/helptips/index.js +4 -4
- package/es/v1/setup/index.js +3 -3
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableData/TableData.js +3 -3
- package/es/v1/setup/table/TableHead/TableHead.js +3 -3
- package/es/v1/setup/table/TableRow/TableRow.js +3 -3
- package/es/v1/setup/table/Text/Text.js +4 -4
- package/es/v1/setup/table/index.js +5 -5
- package/es/v1/svg/PlusIcon.js +2 -2
- package/es/v1/svg/SnippetIcon.js +2 -2
- package/es/v1/svg/TemplateIcon.js +2 -2
- package/es/v1/svg/index.js +3 -3
- package/es/version2/AlertClose/AlertClose.js +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +5 -1
- package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
- package/es/version2/AlertClose/props/propTypes.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +13 -53
- package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -0
- package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
- package/es/version2/GlobalNotification/props/propTypes.js +2 -2
- package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/version2/alertIcons/AlertIcons.js +12 -9
- package/es/version2/alertIcons/AlertIcons.module.css +19 -5
- package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/index.js +8 -8
- package/es/version2/alertIcons/props/propTypes.js +1 -1
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
- package/es/version2/errorstate/index.js +6 -6
- package/es/version2/index.js +8 -8
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
- package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/version2/lookup/index.js +2 -2
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +9 -6
- package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/version2/notification/DesktopNotification/props/propTypes.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +101 -93
- package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +1 -1
- package/es/version2/notification/index.js +3 -3
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +3 -3
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +45 -45
- package/lib/version2/AlertClose/AlertClose.module.css +5 -1
- package/lib/version2/AlertClose/props/propTypes.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +18 -69
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +9 -0
- package/lib/version2/GlobalNotification/props/propTypes.js +2 -2
- package/lib/version2/alertIcons/AlertIcons.js +3 -0
- package/lib/version2/alertIcons/AlertIcons.module.css +19 -5
- package/lib/version2/alertIcons/props/propTypes.js +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +3 -0
- package/lib/version2/notification/DesktopNotification/props/propTypes.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +101 -93
- package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +1 -1
- package/package.json +5 -5
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/es/utils/getCurrentTime.js +0 -10
- package/lib/utils/getCurrentTime.js +0 -17
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes, UI_propTypes, new_propTypes } from
|
|
4
|
-
import AutoClose from
|
|
5
|
-
import AlertIcons from
|
|
6
|
-
import AlertClose from
|
|
7
|
-
import style from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes, UI_propTypes, new_propTypes } from "./props/propTypes";
|
|
4
|
+
import AutoClose from "../../actions/AutoClose";
|
|
5
|
+
import AlertIcons from "../alertIcons/AlertIcons";
|
|
6
|
+
import AlertClose from "../AlertClose/AlertClose";
|
|
7
|
+
import style from "./GlobalNotification.module.css";
|
|
8
8
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
9
9
|
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
10
|
-
import getCurrentTime from '../../utils/getCurrentTime';
|
|
11
10
|
export default class GlobalNotification extends React.Component {
|
|
12
11
|
constructor(props) {
|
|
13
12
|
super(props);
|
|
@@ -16,8 +15,6 @@ export default class GlobalNotification extends React.Component {
|
|
|
16
15
|
shadowClose: true
|
|
17
16
|
};
|
|
18
17
|
this.onClose = this.onClose.bind(this);
|
|
19
|
-
this.getNotiifcationData = this.getNotiifcationData.bind(this);
|
|
20
|
-
this.handleStatusChange = this.handleStatusChange.bind(this);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
componentDidMount() {
|
|
@@ -27,48 +24,20 @@ export default class GlobalNotification extends React.Component {
|
|
|
27
24
|
id,
|
|
28
25
|
needAutoClose
|
|
29
26
|
} = this.props;
|
|
30
|
-
this.handleStatusChange('mounted');
|
|
31
27
|
|
|
32
28
|
if (needAutoClose) {
|
|
33
29
|
this.hideMessageTimer = setTimeout(() => {
|
|
34
30
|
hideMessage(id);
|
|
35
|
-
this.handleStatusChange('dismissing');
|
|
36
31
|
}, hideTime);
|
|
37
32
|
}
|
|
38
33
|
}
|
|
39
34
|
|
|
40
|
-
componentDidUpdate(prevProps) {
|
|
41
|
-
if (prevProps.id === this.props.id && (prevProps.message !== this.props.message || prevProps.type !== this.props.type)) {
|
|
42
|
-
this.handleStatusChange('updated');
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
35
|
componentWillUnmount() {
|
|
47
36
|
if (this.hideMessageTimer) {
|
|
48
37
|
clearTimeout(this.hideMessageTimer);
|
|
49
38
|
}
|
|
50
|
-
|
|
51
|
-
this.handleStatusChange('unmounted');
|
|
52
39
|
}
|
|
53
40
|
|
|
54
|
-
handleStatusChange(status) {
|
|
55
|
-
const {
|
|
56
|
-
onStatusChange
|
|
57
|
-
} = this.props;
|
|
58
|
-
const notificationData = this.getNotiifcationData();
|
|
59
|
-
const currentTime = getCurrentTime();
|
|
60
|
-
|
|
61
|
-
if (typeof onStatusChange == 'function') {
|
|
62
|
-
onStatusChange({
|
|
63
|
-
status,
|
|
64
|
-
...notificationData,
|
|
65
|
-
time: currentTime
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
handleNotificationClose() {}
|
|
71
|
-
|
|
72
41
|
onClose(e) {
|
|
73
42
|
const {
|
|
74
43
|
onClose,
|
|
@@ -78,31 +47,20 @@ export default class GlobalNotification extends React.Component {
|
|
|
78
47
|
this.setState({
|
|
79
48
|
shadowClose: false
|
|
80
49
|
});
|
|
81
|
-
this.handleStatusChange('dismissing');
|
|
82
50
|
hideMessage && hideMessage(id);
|
|
83
51
|
onClose && onClose(e);
|
|
84
52
|
}
|
|
85
53
|
|
|
86
|
-
getNotiifcationData() {
|
|
87
|
-
const {
|
|
88
|
-
id,
|
|
89
|
-
type,
|
|
90
|
-
message
|
|
91
|
-
} = this.props;
|
|
92
|
-
return {
|
|
93
|
-
id,
|
|
94
|
-
type,
|
|
95
|
-
message
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
54
|
render() {
|
|
100
55
|
let {
|
|
56
|
+
type,
|
|
57
|
+
message,
|
|
101
58
|
hideMessage,
|
|
102
59
|
onClick,
|
|
103
60
|
i18nKeys = {},
|
|
104
61
|
customProps,
|
|
105
62
|
dataSelectorId,
|
|
63
|
+
id,
|
|
106
64
|
needShadow,
|
|
107
65
|
shadowCount,
|
|
108
66
|
eleRef
|
|
@@ -113,13 +71,15 @@ export default class GlobalNotification extends React.Component {
|
|
|
113
71
|
let {
|
|
114
72
|
closeTitle = 'Close'
|
|
115
73
|
} = i18nKeys;
|
|
116
|
-
|
|
117
|
-
|
|
74
|
+
return /*#__PURE__*/React.createElement(GlobalNotificationUI, {
|
|
75
|
+
type: type,
|
|
76
|
+
message: message,
|
|
118
77
|
hideMessage: hideMessage,
|
|
119
78
|
onClick: onClick,
|
|
120
79
|
closeTitle: closeTitle,
|
|
121
80
|
customProps: customProps,
|
|
122
81
|
dataSelectorId: dataSelectorId,
|
|
82
|
+
id: id,
|
|
123
83
|
shadowCount: shadowCount,
|
|
124
84
|
onClose: this.onClose,
|
|
125
85
|
needShadow: shadowClose && needShadow,
|
|
@@ -144,6 +144,13 @@
|
|
|
144
144
|
--globalnotification_text_color: var(--zdt_globalnotification_warning_text);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
.attention {
|
|
148
|
+
--commonalert_border_color: var(--zdt_commonalert_attention_border);
|
|
149
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_attention_bg);
|
|
150
|
+
--globalnotification_text_color: var(--zdt_globalnotification_attention_text);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
147
154
|
.text {
|
|
148
155
|
font-size: var(--zd_font_size14) ;
|
|
149
156
|
font-family: var(--zd_semibold);
|
|
@@ -152,10 +159,12 @@
|
|
|
152
159
|
overflow: hidden;
|
|
153
160
|
}
|
|
154
161
|
|
|
162
|
+
|
|
155
163
|
[dir=ltr] .text {
|
|
156
164
|
text-align: left;
|
|
157
165
|
}
|
|
158
166
|
|
|
167
|
+
|
|
159
168
|
[dir=rtl] .text {
|
|
160
169
|
text-align: right;
|
|
161
170
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import GlobalNotification from
|
|
3
|
+
import GlobalNotification from "../GlobalNotification";
|
|
4
4
|
describe('GlobalNotification', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -5,7 +5,7 @@ export const propTypes = {
|
|
|
5
5
|
message: PropTypes.string,
|
|
6
6
|
onClick: PropTypes.func,
|
|
7
7
|
showMessage: PropTypes.bool,
|
|
8
|
-
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error']),
|
|
8
|
+
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error', 'attention']),
|
|
9
9
|
i18nKeys: PropTypes.object,
|
|
10
10
|
customProps: PropTypes.shape({
|
|
11
11
|
ExtraProps: PropTypes.object
|
|
@@ -22,7 +22,7 @@ export const UI_propTypes = {
|
|
|
22
22
|
closeTitle: PropTypes.string,
|
|
23
23
|
message: PropTypes.string,
|
|
24
24
|
onClick: PropTypes.func,
|
|
25
|
-
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error']),
|
|
25
|
+
type: PropTypes.oneOf(['success', 'danger', 'info', 'warning', 'error', 'attention']),
|
|
26
26
|
customProps: PropTypes.shape({
|
|
27
27
|
ExtraProps: PropTypes.object
|
|
28
28
|
}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { AlarmAlertIcon_defaultProps } from
|
|
3
|
-
import { AlarmAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { AlarmAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { AlarmAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class AlarmAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { AlertIcons_defaultProps } from
|
|
3
|
-
import { AlertIcons_propTypes } from
|
|
4
|
-
import DangerAlertIcon from
|
|
5
|
-
import SuccessAlertIcon from
|
|
6
|
-
import WarningAlertIcon from
|
|
7
|
-
import InfoAlertIcon from
|
|
8
|
-
import NotificationAlertIcon from
|
|
9
|
-
import AlarmAlertIcon from
|
|
10
|
-
import style from
|
|
2
|
+
import { AlertIcons_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { AlertIcons_propTypes } from "./props/propTypes";
|
|
4
|
+
import DangerAlertIcon from "./DangerAlertIcon";
|
|
5
|
+
import SuccessAlertIcon from "./SuccessAlertIcon";
|
|
6
|
+
import WarningAlertIcon from "./WarningAlertIcon";
|
|
7
|
+
import InfoAlertIcon from "./InfoAlertIcon";
|
|
8
|
+
import NotificationAlertIcon from "./NotificationAlertIcon";
|
|
9
|
+
import AlarmAlertIcon from "./AlarmAlertIcon";
|
|
10
|
+
import style from "./AlertIcons.module.css";
|
|
11
11
|
let alertIconsObject = {
|
|
12
12
|
success: {
|
|
13
13
|
AlertIcon: SuccessAlertIcon
|
|
@@ -29,6 +29,9 @@ let alertIconsObject = {
|
|
|
29
29
|
},
|
|
30
30
|
alarm: {
|
|
31
31
|
AlertIcon: AlarmAlertIcon
|
|
32
|
+
},
|
|
33
|
+
attention: {
|
|
34
|
+
AlertIcon: InfoAlertIcon
|
|
32
35
|
}
|
|
33
36
|
};
|
|
34
37
|
export default class AlertIcons extends Component {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
width: 100% ;
|
|
9
9
|
height: 100% ;
|
|
10
10
|
}
|
|
11
|
+
|
|
11
12
|
/* Common */
|
|
12
13
|
.outer_cls2 {
|
|
13
14
|
fill: var(--zdt_alerticons_green_fill);
|
|
@@ -29,28 +30,41 @@
|
|
|
29
30
|
.outer_cls6 {
|
|
30
31
|
fill: var(--alerticons_fill);
|
|
31
32
|
}
|
|
33
|
+
|
|
32
34
|
.danger {
|
|
33
35
|
--alerticons_fill: var(--zdt_commonalert_danger_icon);
|
|
34
36
|
}
|
|
37
|
+
|
|
35
38
|
.success {
|
|
36
39
|
--alerticons_fill: var(--zdt_commonalert_success_icon);
|
|
37
40
|
}
|
|
41
|
+
|
|
38
42
|
.error {
|
|
39
43
|
--alerticons_fill: var(--zdt_commonalert_error_icon);
|
|
40
44
|
}
|
|
41
|
-
|
|
45
|
+
|
|
46
|
+
.info,
|
|
47
|
+
.notification,
|
|
48
|
+
.alarm {
|
|
42
49
|
--alerticons_fill: var(--zdt_commonalert_info_icon);
|
|
43
50
|
}
|
|
51
|
+
|
|
44
52
|
.warning {
|
|
45
53
|
--alerticons_fill: var(--zdt_commonalert_warning_icon);
|
|
46
54
|
}
|
|
55
|
+
|
|
56
|
+
.attention {
|
|
57
|
+
--alerticons_fill: var(--zdt_commonalert_attention_icon);
|
|
58
|
+
}
|
|
59
|
+
|
|
47
60
|
.danger_primary,
|
|
48
61
|
.info_primary,
|
|
49
62
|
.warning_primary,
|
|
50
63
|
.success_primary,
|
|
51
64
|
.error_primary,
|
|
52
65
|
.notify_primary,
|
|
53
|
-
.alarm_primary
|
|
66
|
+
.alarm_primary,
|
|
67
|
+
.attention_primary {
|
|
54
68
|
fill: var(--zdt_commonalert_secondlayer_bg);
|
|
55
69
|
}
|
|
56
70
|
|
|
@@ -60,8 +74,8 @@
|
|
|
60
74
|
.success_secondary,
|
|
61
75
|
.error_secondary,
|
|
62
76
|
.notify_secondary,
|
|
63
|
-
.alarm_secondary
|
|
77
|
+
.alarm_secondary,
|
|
78
|
+
.attention_secondary {
|
|
64
79
|
fill: var(--alerticons_fill);
|
|
65
80
|
opacity: 0.1;
|
|
66
|
-
}
|
|
67
|
-
|
|
81
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { DangerAlertIcon_defaultProps } from
|
|
3
|
-
import { DangerAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { DangerAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { DangerAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class DangerAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { ErrorAlertIcon_defaultProps } from
|
|
3
|
-
import { ErrorAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { ErrorAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { ErrorAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class ErrorAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { InfoAlertIcon_defaultProps } from
|
|
3
|
-
import { InfoAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { InfoAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { InfoAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class InfoAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { NotificationAlertIcon_defaultProps } from
|
|
3
|
-
import { NotificationAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { NotificationAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { NotificationAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class NotificationAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { SuccessAlertIcon_defaultProps } from
|
|
3
|
-
import { SuccessAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { SuccessAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { SuccessAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class SuccessAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { WarningAlertIcon_defaultProps } from
|
|
3
|
-
import { WarningAlertIcon_propTypes } from
|
|
4
|
-
import style from
|
|
2
|
+
import { WarningAlertIcon_defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { WarningAlertIcon_propTypes } from "./props/propTypes";
|
|
4
|
+
import style from "./AlertIcons.module.css";
|
|
5
5
|
export default class WarningAlertIcon extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import AlarmAlertIcon from
|
|
3
|
+
import AlarmAlertIcon from "../AlarmAlertIcon";
|
|
4
4
|
describe('AlarmAlertIcon', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import DangerAlertIcon from
|
|
3
|
+
import DangerAlertIcon from "../DangerAlertIcon";
|
|
4
4
|
describe('DangerAlertIcon', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import ErrorAlertIcon from
|
|
3
|
+
import ErrorAlertIcon from "../ErrorAlertIcon";
|
|
4
4
|
describe('ErrorAlertIcon', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import NotificationAlertIcon from
|
|
3
|
+
import NotificationAlertIcon from "../NotificationAlertIcon";
|
|
4
4
|
describe('NotificationAlertIcon', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import SuccessAlertIcon from
|
|
3
|
+
import SuccessAlertIcon from "../SuccessAlertIcon";
|
|
4
4
|
describe('SuccessAlertIcon', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import WarningAlertIcon from
|
|
3
|
+
import WarningAlertIcon from "../WarningAlertIcon";
|
|
4
4
|
describe('WarningAlertIcon', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { default as AlarmAlertIcon } from
|
|
2
|
-
export { default as AlertIcons } from
|
|
3
|
-
export { default as DangerAlertIcon } from
|
|
4
|
-
export { default as ErrorAlertIcon } from
|
|
5
|
-
export { default as InfoAlertIcon } from
|
|
6
|
-
export { default as NotificationAlertIcon } from
|
|
7
|
-
export { default as SuccessAlertIcon } from
|
|
8
|
-
export { default as WarningAlertIcon } from
|
|
1
|
+
export { default as AlarmAlertIcon } from "./AlarmAlertIcon";
|
|
2
|
+
export { default as AlertIcons } from "./AlertIcons";
|
|
3
|
+
export { default as DangerAlertIcon } from "./DangerAlertIcon";
|
|
4
|
+
export { default as ErrorAlertIcon } from "./ErrorAlertIcon";
|
|
5
|
+
export { default as InfoAlertIcon } from "./InfoAlertIcon";
|
|
6
|
+
export { default as NotificationAlertIcon } from "./NotificationAlertIcon";
|
|
7
|
+
export { default as SuccessAlertIcon } from "./SuccessAlertIcon";
|
|
8
|
+
export { default as WarningAlertIcon } from "./WarningAlertIcon";
|
|
@@ -4,7 +4,7 @@ export const AlarmAlertIcon_propTypes = {
|
|
|
4
4
|
variant: PropTypes.oneOf(['primary', 'secondary'])
|
|
5
5
|
};
|
|
6
6
|
export const AlertIcons_propTypes = {
|
|
7
|
-
type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm']),
|
|
7
|
+
type: PropTypes.oneOf(['success', 'error', 'danger', 'warning', 'info', 'notification', 'alarm', 'attention']),
|
|
8
8
|
variant: PropTypes.oneOf(['primary', 'secondary']),
|
|
9
9
|
dataSelectorId: PropTypes.string
|
|
10
10
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "./../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorInconvenience from '@zohodesk/svg/lib/errorstate/version3/ErrorInconvenience';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class Inconvenience extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorOopsSomethingMiss from '@zohodesk/svg/lib/errorstate/version3/ErrorOopsSomethingMiss';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class OopsSomethingMiss extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import OopsSomethingMiss from
|
|
3
|
+
import OopsSomethingMiss from "../OopsSomethingMiss";
|
|
4
4
|
describe('OopsSomethingMiss', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorUnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version3/ErrorUnableToProcessRequest';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class UnableToProcessRequest extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import UnableToProcessRequest from
|
|
3
|
+
import UnableToProcessRequest from "../UnableToProcessRequest";
|
|
4
4
|
describe('UnableToProcessRequest', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/errorstate/version3/ErrorUnauthorizedLogin';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class UnauthorizedLogin extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import UnauthorizedLogin from
|
|
3
|
+
import UnauthorizedLogin from "../UnauthorizedLogin";
|
|
4
4
|
describe('UnauthorizedLogin', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorUrlNotFound from '@zohodesk/svg/lib/errorstate/version3/ErrorUrlNotFound';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class UrlNotFound extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorWillBeRightBack from '@zohodesk/svg/lib/errorstate/version3/ErrorWillBeRightBack';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class WillBeRightBack extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import WillBeRightBack from
|
|
3
|
+
import WillBeRightBack from "../WillBeRightBack";
|
|
4
4
|
describe('WillBeRightBack', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|