@zohodesk/dot 1.0.0-beta.27 → 1.0.0-beta.271
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 +1226 -12
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +555 -0
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +16 -0
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +555 -0
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +555 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +16 -0
- package/css_error.log +1 -0
- package/es/ActionButton/ActionButton.js +144 -0
- package/es/ActionButton/ActionButton.module.css +139 -0
- package/es/ActionButton/props/defaultProps.js +17 -0
- package/es/ActionButton/props/propTypes.js +31 -0
- package/es/AlphabeticList/AlphabeticList.js +94 -158
- package/es/AlphabeticList/AlphabeticList.module.css +29 -17
- package/es/AlphabeticList/props/defaultProps.js +12 -0
- package/es/AlphabeticList/props/propTypes.js +23 -0
- package/es/Attachment/Attachment.js +87 -0
- package/es/Attachment/Attachment.module.css +160 -0
- package/es/Attachment/props/defaultProps.js +7 -0
- package/es/Attachment/props/propTypes.js +16 -0
- package/es/AttachmentViewer/Attachment.js +17 -0
- package/es/AttachmentViewer/AttachmentImage.js +79 -0
- package/es/AttachmentViewer/AttachmentViewer.js +541 -0
- package/es/AttachmentViewer/AttachmentViewer.module.css +353 -0
- package/es/AttachmentViewer/props/defaultProps.js +10 -0
- package/es/AttachmentViewer/props/propTypes.js +31 -0
- package/es/AttachmentViewer/utils.js +107 -0
- package/es/ChannelIcon/ChannelIcon.js +89 -118
- package/es/ChannelIcon/ChannelIcon.module.css +89 -80
- package/es/ChannelIcon/props/defaultProps.js +7 -0
- package/es/ChannelIcon/props/propTypes.js +25 -0
- package/es/Drawer/Drawer.js +269 -349
- package/es/Drawer/Drawer.module.css +122 -69
- package/es/Drawer/index.js +1 -0
- package/es/Drawer/props/defaultProps.js +22 -0
- package/es/Drawer/props/propTypes.js +51 -0
- package/es/ExternalLink/ExternalLink.js +43 -76
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +17 -26
- package/es/ExternalLink/props/defaultProps.js +5 -0
- package/es/ExternalLink/props/propTypes.js +12 -0
- package/es/FlipCard/FlipCard.js +129 -163
- package/es/FlipCard/FlipCard.module.css +17 -8
- package/es/FlipCard/props/defaultProps.js +5 -0
- package/es/FlipCard/props/propTypes.js +37 -0
- package/es/FormAction/FormAction.js +66 -116
- package/es/FormAction/FormAction.module.css +29 -24
- package/es/FormAction/props/defaultProps.js +5 -0
- package/es/FormAction/props/propTypes.js +8 -0
- package/es/FreezeLayer/FreezeLayer.js +72 -142
- package/es/FreezeLayer/css/FreezeLayer.module.css +42 -0
- package/es/FreezeLayer/css/cssJSLogic.js +23 -0
- package/es/FreezeLayer/index.js +2 -0
- package/es/FreezeLayer/props/defaultProps.js +9 -0
- package/es/FreezeLayer/props/propTypes.js +19 -0
- package/es/FreezeLayer/useFreezeLayer.js +55 -0
- package/es/Hooks/Dragger/css/Dragger.module.css +3 -0
- package/es/Hooks/Dragger/props/defaultProps.js +10 -0
- package/es/Hooks/Dragger/props/propTypes.js +11 -0
- package/es/Hooks/Dragger/useDragger.js +121 -0
- package/es/Hooks/Dragger/utils/DraggerUtil.js +27 -0
- package/es/IconButton/IconButton.js +138 -76
- package/es/IconButton/IconButton.module.css +15 -30
- package/es/IconButton/props/defaultProps.js +17 -0
- package/es/IconButton/props/propTypes.js +33 -0
- package/es/Image/Image.js +35 -62
- package/es/Image/Image.module.css +5 -4
- package/es/Image/props/defaultProps.js +4 -0
- package/es/Image/props/propTypes.js +13 -0
- package/es/ImportantNotes/ImportantNotes.js +42 -77
- package/es/ImportantNotes/ImportantNotes.module.css +10 -8
- package/es/ImportantNotes/props/defaultProps.js +6 -0
- package/es/ImportantNotes/props/propTypes.js +10 -0
- package/es/Link/Link.js +90 -118
- package/es/Link/LinkContext.js +2 -4
- package/es/Link/props/defaultProps.js +5 -0
- package/es/Link/props/propTypes.js +14 -0
- package/es/Loader/Loader.js +25 -0
- package/es/Loader/Loader.module.css +47 -0
- package/es/Message/Message.js +116 -0
- package/es/Message/Message.module.css +103 -0
- package/es/Message/props/defaultProps.js +4 -0
- package/es/Message/props/propTypes.js +13 -0
- package/es/MessageBanner/MessageBanner.js +61 -0
- package/es/MessageBanner/MessageBanner.module.css +46 -0
- package/es/MessageBanner/props/defaultProps.js +7 -0
- package/es/MessageBanner/props/propTypes.js +13 -0
- package/es/NewStar/NewStar.js +65 -0
- package/es/NewStar/NewStar.module.css +183 -0
- package/es/NewStar/props/defaultProps.js +4 -0
- package/es/NewStar/props/propTypes.js +6 -0
- package/es/PlusIcon/PlusIcon.js +38 -79
- package/es/PlusIcon/PlusIcon.module.css +14 -2
- package/es/PlusIcon/props/defaultProps.js +8 -0
- package/es/PlusIcon/props/propTypes.js +11 -0
- package/es/Provider/Config.js +19 -0
- package/es/Separator/Separator.js +60 -0
- package/es/Separator/Separator.module.css +34 -0
- package/es/Separator/props/defaultProps.js +12 -0
- package/es/Separator/props/propTypes.js +11 -0
- package/es/TagWithIcon/TagWithIcon.js +42 -0
- package/es/TagWithIcon/TagWithIcon.module.css +56 -0
- package/es/TagWithIcon/props/defaultProps.js +8 -0
- package/es/TagWithIcon/props/propTypes.js +12 -0
- package/es/ToastMessage/ToastMessage.js +195 -333
- package/es/ToastMessage/ToastMessage.module.css +91 -95
- package/es/ToastMessage/props/defaultProps.js +18 -0
- package/es/ToastMessage/props/propTypes.js +39 -0
- package/es/Upload/Upload.js +76 -0
- package/es/Upload/Upload.module.css +125 -0
- package/es/Upload/props/defaultProps.js +7 -0
- package/es/Upload/props/propTypes.js +17 -0
- package/es/actions/AutoClose.js +43 -0
- package/es/actions/index.js +15 -10
- package/es/actions/props/defaultProps.js +3 -0
- package/es/actions/props/propTypes.js +7 -0
- package/es/alert/AlertHeader/AlertHeader.js +66 -126
- package/es/alert/AlertHeader/AlertHeader.module.css +24 -23
- package/es/alert/AlertHeader/props/defaultProps.js +8 -0
- package/es/alert/AlertHeader/props/propTypes.js +15 -0
- package/es/alert/AlertLookup/AlertLookup.js +95 -185
- package/es/alert/AlertLookup/AlertLookup.module.css +13 -9
- package/es/alert/AlertLookup/props/defaultProps.js +14 -0
- package/es/alert/AlertLookup/props/propTypes.js +36 -0
- package/es/alert/index.js +2 -0
- package/es/avatar/AvatarClose/AvatarClose.js +47 -64
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -9
- package/es/avatar/AvatarClose/props/defaultProps.js +6 -0
- package/es/avatar/AvatarClose/props/propTypes.js +14 -0
- package/es/avatar/AvatarCollision/AvatarCollision.js +56 -84
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +21 -21
- package/es/avatar/AvatarCollision/props/defaultProps.js +8 -0
- package/es/avatar/AvatarCollision/props/propTypes.js +17 -0
- package/es/avatar/AvatarIcon/AvatarIcon.js +49 -84
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
- package/es/avatar/AvatarIcon/props/defaultProps.js +14 -0
- package/es/avatar/AvatarIcon/props/propTypes.js +20 -0
- package/es/avatar/AvatarStatus/AvatarStatus.js +66 -71
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +103 -50
- package/es/avatar/AvatarStatus/props/defaultProps.js +12 -0
- package/es/avatar/AvatarStatus/props/propTypes.js +26 -0
- package/es/avatar/AvatarThread/AvatarThread.js +74 -103
- package/es/avatar/AvatarThread/AvatarThread.module.css +120 -18
- package/es/avatar/AvatarThread/props/defaultProps.js +9 -0
- package/es/avatar/AvatarThread/props/propTypes.js +30 -0
- package/es/avatar/AvatarUser/AvatarUser.js +107 -113
- package/es/avatar/AvatarUser/AvatarUser.module.css +103 -33
- package/es/avatar/AvatarUser/props/defaultProps.js +8 -0
- package/es/avatar/AvatarUser/props/propTypes.js +35 -0
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +92 -75
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +6 -6
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +43 -44
- package/es/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
- package/es/avatar/AvatarWithTeam/props/propTypes.js +25 -0
- package/es/avatar/index.js +7 -0
- package/es/common/dot_animation.module.css +27 -0
- package/es/common/dot_boxShadow.module.css +38 -0
- package/es/common/dot_common.module.css +4 -0
- package/es/deprecated/FreezeLayer/FreezeLayer.js +135 -0
- package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -0
- package/es/deprecated/FreezeLayer/props/defaultProps.js +8 -0
- package/es/deprecated/FreezeLayer/props/propTypes.js +17 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.js +151 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
- package/es/deprecated/utils/General.js +19 -0
- package/es/deprecated/utils/KeyboardApi.js +294 -0
- package/es/docs/formDocs.js +15 -0
- package/es/docs/generalDocs.js +20 -82
- package/es/docs/lookupDocs.js +8 -24
- package/es/docs/setupDocs.js +1 -17
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +824 -551
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +52 -26
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +27 -0
- package/es/dropdown/ToggleDropDown/props/propTypes.js +76 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +61 -124
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +68 -17
- package/es/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
- package/es/emptystate/CommonEmptyState/props/propTypes.js +21 -0
- package/es/emptystate/EditionPage/EditionPage.css +15 -15
- package/es/emptystate/EditionPage/EditionPage.js +53 -95
- package/es/emptystate/EditionPage/props/defaultProps.js +5 -0
- package/es/emptystate/EditionPage/props/propTypes.js +7 -0
- package/es/errorstate/EmptyStates.module.css +59 -16
- package/es/errorstate/Inconvenience/Inconvenience.js +71 -72
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -5
- package/es/errorstate/Inconvenience/props/defaultProps.js +4 -0
- package/es/errorstate/Inconvenience/props/propTypes.js +11 -0
- package/es/errorstate/LinkText/LinkText.js +24 -49
- package/es/errorstate/LinkText/LinkText.module.css +2 -2
- package/es/errorstate/LinkText/props/defaultProps.js +4 -0
- package/es/errorstate/LinkText/props/propTypes.js +8 -0
- package/es/errorstate/NoRequestFound/NoRequestFound.js +75 -78
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +1 -3
- package/es/errorstate/NoRequestFound/props/defaultProps.js +4 -0
- package/es/errorstate/NoRequestFound/props/propTypes.js +11 -0
- package/es/errorstate/PermissionPlay/PermissionPlay.js +74 -86
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +15 -14
- package/es/errorstate/PermissionPlay/props/defaultProps.js +4 -0
- package/es/errorstate/PermissionPlay/props/propTypes.js +11 -0
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +75 -78
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -3
- package/es/errorstate/RequestUrlNotFound/props/defaultProps.js +4 -0
- package/es/errorstate/RequestUrlNotFound/props/propTypes.js +11 -0
- package/es/errorstate/UnableToProcess/UnableToProcess.js +71 -72
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +1 -16
- package/es/errorstate/UnableToProcess/props/defaultProps.js +4 -0
- package/es/errorstate/UnableToProcess/props/propTypes.js +11 -0
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +75 -78
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -16
- package/es/errorstate/UnauthorizedLogin/props/defaultProps.js +4 -0
- package/es/errorstate/UnauthorizedLogin/props/propTypes.js +11 -0
- package/es/errorstate/WillBack/WillBack.js +67 -71
- package/es/errorstate/WillBack/WillBack.module.css +26 -13
- package/es/errorstate/WillBack/props/defaultProps.js +4 -0
- package/es/errorstate/WillBack/props/propTypes.js +5 -0
- package/es/errorstate/index.js +8 -0
- package/es/form/fields/CheckBoxField/CheckBoxField.js +141 -0
- package/es/form/fields/CheckBoxField/props/defaultProps.js +12 -0
- package/es/form/fields/CheckBoxField/props/propTypes.js +27 -0
- package/es/form/fields/CurrencyField/CurrencyField.js +183 -0
- package/es/form/fields/CurrencyField/props/defaultProps.js +17 -0
- package/es/form/fields/CurrencyField/props/propTypes.js +36 -0
- package/es/form/fields/DateField/DateField.js +195 -0
- package/es/form/fields/DateField/props/defaultProps.js +19 -0
- package/es/form/fields/DateField/props/propTypes.js +39 -0
- package/es/form/fields/FieldContainer/FieldContainer.js +71 -0
- package/es/form/fields/FieldContainer/props/defaultProps.js +6 -0
- package/es/form/fields/FieldContainer/props/propTypes.js +11 -0
- package/es/form/fields/Fields.module.css +183 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +213 -0
- package/es/form/fields/MultiSelectField/props/defaultProps.js +17 -0
- package/es/form/fields/MultiSelectField/props/propTypes.js +50 -0
- package/es/form/fields/PhoneField/PhoneField.js +189 -0
- package/es/form/fields/PhoneField/props/defaultProps.js +16 -0
- package/es/form/fields/PhoneField/props/propTypes.js +40 -0
- package/es/form/fields/RadioField/RadioField.js +116 -0
- package/es/form/fields/RadioField/props/defaultProps.js +12 -0
- package/es/form/fields/RadioField/props/propTypes.js +30 -0
- package/es/form/fields/SelectField/SelectField.js +184 -0
- package/es/form/fields/SelectField/props/defaultProps.js +18 -0
- package/es/form/fields/SelectField/props/propTypes.js +50 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +292 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
- package/es/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +43 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +258 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +52 -0
- package/es/form/fields/TextBoxField/TextBoxField.js +164 -0
- package/es/form/fields/TextBoxField/props/defaultProps.js +17 -0
- package/es/form/fields/TextBoxField/props/propTypes.js +37 -0
- package/es/form/fields/TextEditor/TextEditor.js +417 -0
- package/es/form/fields/TextEditor/TextEditor.module.css +771 -0
- package/es/form/fields/TextEditor/props/defaultProps.js +13 -0
- package/es/form/fields/TextEditor/props/propTypes.js +40 -0
- package/es/form/fields/TextEditorField/TextEditorField.js +178 -0
- package/es/form/fields/TextEditorField/props/defaultProps.js +15 -0
- package/es/form/fields/TextEditorField/props/propTypes.js +47 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +203 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +38 -0
- package/es/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
- package/es/form/fields/TextEditorWrapper/props/propTypes.js +39 -0
- package/es/form/fields/TextareaField/TextareaField.js +161 -0
- package/es/form/fields/TextareaField/props/defaultProps.js +15 -0
- package/es/form/fields/TextareaField/props/propTypes.js +34 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.js +58 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
- package/es/form/fields/ValidationMessage/props/defaultProps.js +7 -0
- package/es/form/fields/ValidationMessage/props/propTypes.js +14 -0
- package/es/form/fields/index.js +16 -0
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +23 -0
- package/es/form/layout/Field/Field.js +33 -0
- package/es/form/layout/Field/Field.module.css +22 -0
- package/es/form/layout/Field/props/defaultProps.js +4 -0
- package/es/form/layout/Field/props/propTypes.js +10 -0
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/es/form/layout/Section/Section.js +37 -0
- package/es/form/layout/Section/props/propTypes.js +9 -0
- package/es/form/layout/index.js +2 -0
- package/es/index.js +51 -14
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +200 -311
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +51 -51
- package/es/layout/SetupDetailLayout/props/defaultProps.js +20 -0
- package/es/layout/SetupDetailLayout/props/propTypes.js +40 -0
- package/es/layout/SubtabLayout/SubtabLayout.js +131 -214
- package/es/layout/SubtabLayout/SubtabLayout.module.css +104 -29
- package/es/layout/SubtabLayout/index.js +2 -1
- package/es/layout/SubtabLayout/props/defaultProps.js +25 -0
- package/es/layout/SubtabLayout/props/propTypes.js +40 -0
- package/es/list/AvatarFlip/AvatarFlip.js +71 -104
- package/es/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/es/list/AvatarFlip/props/defaultProps.js +6 -0
- package/es/list/AvatarFlip/props/propTypes.js +29 -0
- package/es/list/BluePrintStatus/BluePrintStatus.js +23 -45
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +10 -8
- package/es/list/BluePrintStatus/props/propTypes.js +4 -0
- package/es/list/Comment/Comment.js +39 -75
- package/es/list/Comment/Comment.module.css +15 -8
- package/es/list/Comment/props/defaultProps.js +3 -0
- package/es/list/Comment/props/propTypes.js +9 -0
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +88 -90
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
- package/es/list/DepartmentDropDown/props/defaultProps.js +7 -0
- package/es/list/DepartmentDropDown/props/propTypes.js +24 -0
- package/es/list/Dot/Dot.js +17 -42
- package/es/list/Dot/Dot.module.css +8 -6
- package/es/list/Dot/props/defaultProps.js +4 -0
- package/es/list/Dot/props/propTypes.js +5 -0
- package/es/list/DotNew/DotNew.js +24 -36
- package/es/list/DotNew/DotNew.module.css +20 -14
- package/es/list/DotNew/props/defaultProps.js +3 -0
- package/es/list/DotNew/props/propTypes.js +6 -0
- package/es/list/GridStencils/GridStencils.js +30 -61
- package/es/list/GridStencils/GridStencils.module.css +46 -91
- package/es/list/GridStencils/props/propTypes.js +7 -0
- package/es/list/Icons/AddNewIcon.js +23 -65
- package/es/list/Icons/CompleteIcon.js +24 -54
- package/es/list/Icons/DeleteIcon.js +25 -74
- package/es/list/Icons/EditIcon.js +24 -73
- package/es/list/Icons/FloatingIcons.js +25 -53
- package/es/list/Icons/Icons.module.css +5 -4
- package/es/list/Icons/ReadUnreadIcon.js +33 -0
- package/es/list/Icons/SmartIcon.js +24 -44
- package/es/list/Icons/index.js +7 -0
- package/es/list/Icons/props/defaultProps.js +6 -0
- package/es/list/Icons/props/propTypes.js +55 -0
- package/es/list/ListLayout/ListLayout.js +74 -131
- package/es/list/ListLayout/ListLayout.module.css +43 -12
- package/es/list/ListLayout/props/defaultProps.js +11 -0
- package/es/list/ListLayout/props/propTypes.js +28 -0
- package/es/list/ListStencils/ListStencils.js +39 -55
- package/es/list/ListStencils/ListStencils.module.css +55 -15
- package/es/list/ListStencils/props/defaultProps.js +3 -0
- package/es/list/ListStencils/props/propTypes.js +4 -0
- package/es/list/SecondaryText/AccountName.js +75 -92
- package/es/list/SecondaryText/ContactName.js +78 -121
- package/es/list/SecondaryText/DepartmentText.js +25 -49
- package/es/list/SecondaryText/Email.js +46 -81
- package/es/list/SecondaryText/HappinessRating.js +25 -58
- package/es/list/SecondaryText/PhoneNumber.js +50 -84
- package/es/list/SecondaryText/PriorityText.js +28 -57
- package/es/list/SecondaryText/SecondaryText.js +35 -55
- package/es/list/SecondaryText/SecondaryText.module.css +61 -29
- package/es/list/SecondaryText/StatusText.js +29 -60
- package/es/list/SecondaryText/TicketId.js +47 -67
- package/es/list/SecondaryText/Website.js +34 -78
- package/es/list/SecondaryText/props/defaultProps.js +44 -0
- package/es/list/SecondaryText/props/propTypes.js +143 -0
- package/es/list/SecondryPanel/SecondryPanel.js +91 -184
- package/es/list/SecondryPanel/SecondryPanel.module.css +2 -23
- package/es/list/SecondryPanel/props/defaultProps.js +18 -0
- package/es/list/SecondryPanel/props/propTypes.js +27 -0
- package/es/list/SentimentStatus/SentimentStatus.js +29 -48
- package/es/list/SentimentStatus/SentimentStatus.module.css +3 -3
- package/es/list/SentimentStatus/props/propTypes.js +5 -0
- package/es/list/Subject/Subject.js +51 -83
- package/es/list/Subject/Subject.module.css +21 -3
- package/es/list/Subject/props/defaultProps.js +7 -0
- package/es/list/Subject/props/propTypes.js +19 -0
- package/es/list/TagNew/TagNew.js +28 -53
- package/es/list/TagNew/TagNew.module.css +11 -9
- package/es/list/TagNew/props/defaultProps.js +4 -0
- package/es/list/TagNew/props/propTypes.js +8 -0
- package/es/list/Thread/Thread.js +38 -58
- package/es/list/Thread/Thread.module.css +32 -9
- package/es/list/Thread/props/defaultProps.js +4 -0
- package/es/list/Thread/props/propTypes.js +8 -0
- package/es/list/UserTime/UserTime.js +76 -105
- package/es/list/UserTime/UserTime.module.css +26 -17
- package/es/list/UserTime/props/defaultProps.js +3 -0
- package/es/list/UserTime/props/propTypes.js +14 -0
- package/es/list/index.js +17 -0
- package/es/list/listCommon.module.css +21 -53
- package/es/list/status/StatusDropdown/StatusDropdown.js +455 -0
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
- package/es/list/status/StatusDropdown/props/defaultProps.js +19 -0
- package/es/list/status/StatusDropdown/props/propTypes.js +51 -0
- package/es/list/status/StatusListItem/StatusListItem.js +122 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +111 -0
- package/es/list/status/StatusListItem/props/defaultProps.js +15 -0
- package/es/list/status/StatusListItem/props/propTypes.js +29 -0
- package/es/list/status/index.js +2 -0
- package/es/lookup/EmptyPage/EmptyPage.js +56 -80
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
- package/es/lookup/EmptyPage/props/defaultProps.js +4 -0
- package/es/lookup/EmptyPage/props/propTypes.js +5 -0
- package/es/lookup/Lookup/Lookup.js +101 -83
- package/es/lookup/Lookup/Lookup.module.css +15 -11
- package/es/lookup/Lookup/props/defaultProps.js +8 -0
- package/es/lookup/Lookup/props/propTypes.js +19 -0
- package/es/lookup/Section/LookupSection.module.css +7 -6
- package/es/lookup/Section/Section.js +19 -46
- package/es/lookup/Section/props/propTypes.js +6 -0
- package/es/lookup/header/Close/Close.js +24 -53
- package/es/lookup/header/Close/LookupClose.module.css +7 -7
- package/es/lookup/header/Close/props/defaultProps.js +3 -0
- package/es/lookup/header/Close/props/propTypes.js +6 -0
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +63 -93
- package/es/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
- package/es/lookup/header/ModuleHeader/props/propTypes.js +17 -0
- package/es/lookup/header/Search/LookupSearch.module.css +53 -10
- package/es/lookup/header/Search/Search.js +209 -116
- package/es/lookup/header/Search/props/defaultProps.js +5 -0
- package/es/lookup/header/Search/props/propTypes.js +28 -0
- package/es/lookup/header/TicketHeader/TicketHeader.js +81 -118
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +4 -3
- package/es/lookup/header/TicketHeader/props/defaultProps.js +4 -0
- package/es/lookup/header/TicketHeader/props/propTypes.js +20 -0
- package/es/lookup/header/Title/LookupTitle.module.css +4 -4
- package/es/lookup/header/Title/Title.js +21 -54
- package/es/lookup/header/Title/props/defaultProps.js +3 -0
- package/es/lookup/header/Title/props/propTypes.js +6 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +153 -193
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +17 -19
- package/es/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
- package/es/lookup/header/ViewDropDown/props/propTypes.js +27 -0
- package/es/lookup/header/index.js +5 -0
- package/es/lookup/header/lookupHeaderCommon.module.css +20 -12
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +4 -4
- package/es/lookup/index.js +5 -0
- package/es/setup/header/Button/Button.js +30 -57
- package/es/setup/header/Button/HeaderButton.module.css +2 -2
- package/es/setup/header/Button/props/defaultProps.js +4 -0
- package/es/setup/header/Button/props/propTypes.js +7 -0
- package/es/setup/header/Link/HeaderLink.module.css +8 -9
- package/es/setup/header/Link/Link.js +37 -68
- package/es/setup/header/Link/props/defaultProps.js +4 -0
- package/es/setup/header/Link/props/propTypes.js +8 -0
- package/es/setup/header/Search/Search.js +70 -93
- package/es/setup/header/Search/Search.module.css +25 -24
- package/es/setup/header/Search/props/defaultProps.js +5 -0
- package/es/setup/header/Search/props/propTypes.js +11 -0
- package/es/setup/header/Views/Views.js +41 -75
- package/es/setup/header/Views/Views.module.css +8 -8
- package/es/setup/header/Views/props/defaultProps.js +6 -0
- package/es/setup/header/Views/props/propTypes.js +9 -0
- package/es/setup/header/index.js +4 -0
- package/es/setup/helptips/Description/Description.js +19 -40
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +3 -3
- package/es/setup/helptips/Description/props/propTypes.js +4 -0
- package/es/setup/helptips/Link/HelpTipsLink.module.css +3 -3
- package/es/setup/helptips/Link/Link.js +33 -54
- package/es/setup/helptips/Link/props/propTypes.js +7 -0
- package/es/setup/helptips/ListGroup/ListGroup.js +32 -60
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -6
- package/es/setup/helptips/ListGroup/props/propTypes.js +5 -0
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/es/setup/helptips/Title/Title.js +19 -40
- package/es/setup/helptips/Title/props/propTypes.js +4 -0
- package/es/setup/helptips/index.js +4 -0
- package/es/setup/index.js +6 -0
- package/es/setup/table/Table/Table.js +21 -49
- package/es/setup/table/Table/props/defaultProps.js +4 -0
- package/es/setup/table/Table/props/propTypes.js +6 -0
- package/es/setup/table/TableBody/TableBody.js +25 -49
- package/es/setup/table/TableBody/props/defaultProps.js +3 -0
- package/es/setup/table/TableBody/props/propTypes.js +7 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -0
- package/es/setup/table/TableData/TableData.js +33 -63
- package/es/setup/table/TableData/props/defaultProps.js +5 -0
- package/es/setup/table/TableData/props/propTypes.js +11 -0
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -0
- package/es/setup/table/TableHead/TableHead.js +33 -67
- package/es/setup/table/TableHead/props/defaultProps.js +4 -0
- package/es/setup/table/TableHead/props/propTypes.js +7 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -0
- package/es/setup/table/TableRow/TableRow.js +38 -73
- package/es/setup/table/TableRow/props/defaultProps.js +4 -0
- package/es/setup/table/TableRow/props/propTypes.js +11 -0
- package/es/setup/table/Text/TableText.module.css +37 -0
- package/es/setup/table/Text/Text.js +48 -98
- package/es/setup/table/Text/props/defaultProps.js +7 -0
- package/es/setup/table/Text/props/propTypes.js +13 -0
- package/es/setup/table/index.js +5 -0
- package/es/svg/PlusIcon.js +29 -65
- package/es/svg/SnippetIcon.js +31 -68
- package/es/svg/TemplateIcon.js +32 -63
- package/es/svg/index.js +3 -0
- package/es/svg/props/defaultProps.js +15 -0
- package/es/svg/props/propTypes.js +16 -0
- package/es/utils/ChannelIconMapping.js +101 -84
- package/es/utils/General.js +31 -5
- package/es/utils/editorUtils.js +193 -0
- package/es/version2/AlertClose/AlertClose.js +40 -0
- package/es/version2/AlertClose/AlertClose.module.css +43 -0
- package/es/version2/AlertClose/props/propTypes.js +8 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +142 -0
- package/es/version2/GlobalNotification/GlobalNotification.module.css +128 -0
- package/es/version2/GlobalNotification/props/defaultProps.js +4 -0
- package/es/version2/GlobalNotification/props/propTypes.js +14 -0
- package/es/version2/alertIcons/AlarmAlertIcon.js +68 -0
- package/es/version2/alertIcons/AlertIcons.js +60 -0
- package/es/version2/alertIcons/AlertIcons.module.css +67 -0
- package/es/version2/alertIcons/DangerAlertIcon.js +68 -0
- package/es/version2/alertIcons/ErrorAlertIcon.js +73 -0
- package/es/version2/alertIcons/InfoAlertIcon.js +77 -0
- package/es/version2/alertIcons/NotificationAlertIcon.js +73 -0
- package/es/version2/alertIcons/SuccessAlertIcon.js +68 -0
- package/es/version2/alertIcons/WarningAlertIcon.js +68 -0
- package/es/version2/alertIcons/index.js +8 -0
- package/es/version2/alertIcons/props/defaultProps.js +27 -0
- package/es/version2/alertIcons/props/propTypes.js +34 -0
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +71 -0
- package/es/version2/errorstate/Inconvenience/props/defaultProps.js +8 -0
- package/es/version2/errorstate/Inconvenience/props/propTypes.js +16 -0
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +72 -0
- package/es/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
- package/es/version2/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +71 -0
- package/es/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
- package/es/version2/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +73 -0
- package/es/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
- package/es/version2/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +71 -0
- package/es/version2/errorstate/UrlNotFound/props/defaultProps.js +8 -0
- package/es/version2/errorstate/UrlNotFound/props/propTypes.js +16 -0
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +71 -0
- package/es/version2/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
- package/es/version2/errorstate/WillBeRightBack/props/propTypes.js +16 -0
- package/es/version2/errorstate/index.js +6 -0
- package/es/version2/index.js +12 -0
- package/es/version2/lookup/AlertHeader/AlertHeader.js +79 -0
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +88 -0
- package/es/version2/lookup/AlertHeader/css/cssJSLogic.js +20 -0
- package/es/version2/lookup/AlertHeader/props/defaultProps.js +12 -0
- package/es/version2/lookup/AlertHeader/props/propTypes.js +19 -0
- package/es/version2/lookup/AlertLookup/AlertLookup.js +193 -0
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
- package/es/version2/lookup/AlertLookup/props/defaultProps.js +13 -0
- package/es/version2/lookup/AlertLookup/props/propTypes.js +36 -0
- package/es/version2/lookup/alertLookupCommonNew.module.css +33 -0
- package/es/version2/lookup/index.js +2 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +164 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +127 -0
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +15 -0
- package/es/version2/notification/DesktopNotification/props/propTypes.js +37 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +61 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +5 -0
- package/es/version2/notification/DesktopNotificationHeader/props/propTypes.js +11 -0
- package/es/version2/notification/index.js +3 -0
- package/images/audio_thumbnail.png +0 -0
- package/install.md +12 -0
- package/lib/ActionButton/ActionButton.js +202 -0
- package/lib/ActionButton/ActionButton.module.css +139 -0
- package/lib/ActionButton/props/defaultProps.js +24 -0
- package/lib/ActionButton/props/propTypes.js +42 -0
- package/lib/AlphabeticList/AlphabeticList.js +108 -132
- package/lib/AlphabeticList/AlphabeticList.module.css +29 -17
- package/lib/AlphabeticList/props/defaultProps.js +20 -0
- package/lib/AlphabeticList/props/propTypes.js +50 -0
- package/lib/Attachment/Attachment.js +139 -0
- package/lib/Attachment/Attachment.module.css +160 -0
- package/lib/Attachment/props/defaultProps.js +14 -0
- package/lib/Attachment/props/propTypes.js +27 -0
- package/lib/AttachmentViewer/Attachment.js +28 -0
- package/lib/AttachmentViewer/AttachmentImage.js +124 -0
- package/lib/AttachmentViewer/AttachmentViewer.js +625 -0
- package/lib/AttachmentViewer/AttachmentViewer.module.css +353 -0
- package/lib/AttachmentViewer/props/defaultProps.js +18 -0
- package/lib/AttachmentViewer/props/propTypes.js +43 -0
- package/lib/AttachmentViewer/utils.js +134 -0
- package/lib/ChannelIcon/ChannelIcon.js +109 -113
- package/lib/ChannelIcon/ChannelIcon.module.css +89 -80
- package/lib/ChannelIcon/props/defaultProps.js +14 -0
- package/lib/ChannelIcon/props/propTypes.js +36 -0
- package/lib/Drawer/Drawer.js +307 -314
- package/lib/Drawer/Drawer.module.css +122 -69
- package/lib/Drawer/index.js +37 -0
- package/lib/Drawer/props/defaultProps.js +31 -0
- package/lib/Drawer/props/propTypes.js +65 -0
- package/lib/ExternalLink/ExternalLink.js +64 -69
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +16 -27
- package/lib/ExternalLink/props/defaultProps.js +12 -0
- package/lib/ExternalLink/props/propTypes.js +23 -0
- package/lib/FlipCard/FlipCard.js +145 -155
- package/lib/FlipCard/FlipCard.module.css +17 -8
- package/lib/FlipCard/props/defaultProps.js +12 -0
- package/lib/FlipCard/props/propTypes.js +48 -0
- package/lib/FormAction/FormAction.js +86 -94
- package/lib/FormAction/FormAction.module.css +29 -24
- package/lib/FormAction/props/defaultProps.js +12 -0
- package/lib/FormAction/props/propTypes.js +19 -0
- package/lib/FreezeLayer/FreezeLayer.js +90 -164
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -0
- package/lib/FreezeLayer/css/cssJSLogic.js +26 -0
- package/lib/FreezeLayer/index.js +23 -0
- package/lib/FreezeLayer/props/defaultProps.js +16 -0
- package/lib/FreezeLayer/props/propTypes.js +31 -0
- package/lib/FreezeLayer/useFreezeLayer.js +94 -0
- package/lib/Hooks/Dragger/css/Dragger.module.css +3 -0
- package/lib/Hooks/Dragger/props/defaultProps.js +17 -0
- package/lib/Hooks/Dragger/props/propTypes.js +22 -0
- package/lib/Hooks/Dragger/useDragger.js +133 -0
- package/lib/Hooks/Dragger/utils/DraggerUtil.js +30 -0
- package/lib/IconButton/IconButton.js +166 -79
- package/lib/IconButton/IconButton.module.css +15 -30
- package/lib/IconButton/props/defaultProps.js +24 -0
- package/lib/IconButton/props/propTypes.js +43 -0
- package/lib/Image/Image.js +57 -53
- package/lib/Image/Image.module.css +5 -4
- package/lib/Image/props/defaultProps.js +11 -0
- package/lib/Image/props/propTypes.js +24 -0
- package/lib/ImportantNotes/ImportantNotes.js +64 -74
- package/lib/ImportantNotes/ImportantNotes.module.css +10 -8
- package/lib/ImportantNotes/props/defaultProps.js +13 -0
- package/lib/ImportantNotes/props/propTypes.js +21 -0
- package/lib/Link/Link.js +94 -91
- package/lib/Link/LinkContext.js +8 -7
- package/lib/Link/props/defaultProps.js +12 -0
- package/lib/Link/props/propTypes.js +25 -0
- package/lib/Loader/Loader.js +75 -0
- package/lib/Loader/Loader.module.css +47 -0
- package/lib/Message/Message.js +166 -0
- package/lib/Message/Message.module.css +103 -0
- package/lib/Message/props/defaultProps.js +11 -0
- package/lib/Message/props/propTypes.js +24 -0
- package/lib/MessageBanner/MessageBanner.js +114 -0
- package/lib/MessageBanner/MessageBanner.module.css +46 -0
- package/lib/MessageBanner/props/defaultProps.js +14 -0
- package/lib/MessageBanner/props/propTypes.js +24 -0
- package/lib/NewStar/NewStar.js +117 -0
- package/lib/NewStar/NewStar.module.css +183 -0
- package/lib/NewStar/props/defaultProps.js +11 -0
- package/lib/NewStar/props/propTypes.js +17 -0
- package/lib/PlusIcon/PlusIcon.js +60 -76
- package/lib/PlusIcon/PlusIcon.module.css +14 -2
- package/lib/PlusIcon/props/defaultProps.js +15 -0
- package/lib/PlusIcon/props/propTypes.js +22 -0
- package/lib/Provider/Config.js +28 -0
- package/lib/Separator/Separator.js +107 -0
- package/lib/Separator/Separator.module.css +34 -0
- package/lib/Separator/props/defaultProps.js +19 -0
- package/lib/Separator/props/propTypes.js +22 -0
- package/lib/TagWithIcon/TagWithIcon.js +94 -0
- package/lib/TagWithIcon/TagWithIcon.module.css +56 -0
- package/lib/TagWithIcon/props/defaultProps.js +15 -0
- package/lib/TagWithIcon/props/propTypes.js +23 -0
- package/lib/ToastMessage/ToastMessage.js +221 -340
- package/lib/ToastMessage/ToastMessage.module.css +91 -95
- package/lib/ToastMessage/props/defaultProps.js +25 -0
- package/lib/ToastMessage/props/propTypes.js +50 -0
- package/lib/Upload/Upload.js +128 -0
- package/lib/Upload/Upload.module.css +125 -0
- package/lib/Upload/props/defaultProps.js +14 -0
- package/lib/Upload/props/propTypes.js +28 -0
- package/lib/actions/AutoClose.js +75 -0
- package/lib/actions/index.js +13 -3
- package/lib/actions/props/defaultProps.js +10 -0
- package/lib/actions/props/propTypes.js +18 -0
- package/lib/alert/AlertHeader/AlertHeader.js +88 -119
- package/lib/alert/AlertHeader/AlertHeader.module.css +24 -23
- package/lib/alert/AlertHeader/props/defaultProps.js +15 -0
- package/lib/alert/AlertHeader/props/propTypes.js +26 -0
- package/lib/alert/AlertLookup/AlertLookup.js +121 -191
- package/lib/alert/AlertLookup/AlertLookup.module.css +13 -9
- package/lib/alert/AlertLookup/props/defaultProps.js +21 -0
- package/lib/alert/AlertLookup/props/propTypes.js +47 -0
- package/lib/alert/index.js +23 -0
- package/lib/avatar/AvatarClose/AvatarClose.js +68 -62
- package/lib/avatar/AvatarClose/AvatarClose.module.css +9 -9
- package/lib/avatar/AvatarClose/props/defaultProps.js +13 -0
- package/lib/avatar/AvatarClose/props/propTypes.js +25 -0
- package/lib/avatar/AvatarCollision/AvatarCollision.js +76 -82
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +21 -21
- package/lib/avatar/AvatarCollision/props/defaultProps.js +15 -0
- package/lib/avatar/AvatarCollision/props/propTypes.js +28 -0
- package/lib/avatar/AvatarIcon/AvatarIcon.js +73 -80
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +32 -10
- package/lib/avatar/AvatarIcon/props/defaultProps.js +21 -0
- package/lib/avatar/AvatarIcon/props/propTypes.js +31 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.js +88 -68
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +103 -50
- package/lib/avatar/AvatarStatus/props/defaultProps.js +19 -0
- package/lib/avatar/AvatarStatus/props/propTypes.js +35 -0
- package/lib/avatar/AvatarThread/AvatarThread.js +97 -100
- package/lib/avatar/AvatarThread/AvatarThread.module.css +120 -18
- package/lib/avatar/AvatarThread/props/defaultProps.js +16 -0
- package/lib/avatar/AvatarThread/props/propTypes.js +41 -0
- package/lib/avatar/AvatarUser/AvatarUser.js +130 -113
- package/lib/avatar/AvatarUser/AvatarUser.module.css +103 -33
- package/lib/avatar/AvatarUser/props/defaultProps.js +15 -0
- package/lib/avatar/AvatarUser/props/propTypes.js +46 -0
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +121 -73
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +6 -6
- package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +45 -48
- package/lib/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
- package/lib/avatar/AvatarWithTeam/props/propTypes.js +36 -0
- package/lib/avatar/index.js +63 -0
- package/lib/common/dot_animation.module.css +27 -0
- package/lib/common/dot_boxShadow.module.css +38 -0
- package/lib/common/dot_common.module.css +4 -0
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +192 -0
- package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -0
- package/lib/deprecated/FreezeLayer/props/defaultProps.js +15 -0
- package/lib/deprecated/FreezeLayer/props/propTypes.js +28 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +206 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -0
- package/lib/deprecated/utils/General.js +29 -0
- package/lib/deprecated/utils/KeyboardApi.js +299 -0
- package/lib/docs/formDocs.js +127 -0
- package/lib/docs/generalDocs.js +179 -616
- package/lib/docs/lookupDocs.js +56 -117
- package/lib/docs/setupDocs.js +35 -163
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +816 -531
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +52 -26
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +34 -0
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +87 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +85 -119
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +68 -17
- package/lib/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
- package/lib/emptystate/CommonEmptyState/props/propTypes.js +32 -0
- package/lib/emptystate/EditionPage/EditionPage.css +15 -15
- package/lib/emptystate/EditionPage/EditionPage.js +77 -88
- package/lib/emptystate/EditionPage/props/defaultProps.js +12 -0
- package/lib/emptystate/EditionPage/props/propTypes.js +18 -0
- package/lib/errorstate/EmptyStates.module.css +59 -16
- package/lib/errorstate/Inconvenience/Inconvenience.js +97 -76
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -5
- package/lib/errorstate/Inconvenience/props/defaultProps.js +11 -0
- package/lib/errorstate/Inconvenience/props/propTypes.js +22 -0
- package/lib/errorstate/LinkText/LinkText.js +49 -45
- package/lib/errorstate/LinkText/LinkText.module.css +2 -2
- package/lib/errorstate/LinkText/props/defaultProps.js +11 -0
- package/lib/errorstate/LinkText/props/propTypes.js +19 -0
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +100 -81
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -3
- package/lib/errorstate/NoRequestFound/props/defaultProps.js +11 -0
- package/lib/errorstate/NoRequestFound/props/propTypes.js +22 -0
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +99 -89
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +15 -14
- package/lib/errorstate/PermissionPlay/props/defaultProps.js +11 -0
- package/lib/errorstate/PermissionPlay/props/propTypes.js +22 -0
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +100 -81
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -3
- package/lib/errorstate/RequestUrlNotFound/props/defaultProps.js +11 -0
- package/lib/errorstate/RequestUrlNotFound/props/propTypes.js +22 -0
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +97 -76
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -16
- package/lib/errorstate/UnableToProcess/props/defaultProps.js +11 -0
- package/lib/errorstate/UnableToProcess/props/propTypes.js +22 -0
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +100 -81
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -16
- package/lib/errorstate/UnauthorizedLogin/props/defaultProps.js +11 -0
- package/lib/errorstate/UnauthorizedLogin/props/propTypes.js +22 -0
- package/lib/errorstate/WillBack/WillBack.js +92 -72
- package/lib/errorstate/WillBack/WillBack.module.css +26 -13
- package/lib/errorstate/WillBack/props/defaultProps.js +11 -0
- package/lib/errorstate/WillBack/props/propTypes.js +16 -0
- package/lib/errorstate/index.js +71 -0
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +197 -0
- package/lib/form/fields/CheckBoxField/props/defaultProps.js +27 -0
- package/lib/form/fields/CheckBoxField/props/propTypes.js +45 -0
- package/lib/form/fields/CurrencyField/CurrencyField.js +234 -0
- package/lib/form/fields/CurrencyField/props/defaultProps.js +32 -0
- package/lib/form/fields/CurrencyField/props/propTypes.js +54 -0
- package/lib/form/fields/DateField/DateField.js +249 -0
- package/lib/form/fields/DateField/props/defaultProps.js +34 -0
- package/lib/form/fields/DateField/props/propTypes.js +57 -0
- package/lib/form/fields/FieldContainer/FieldContainer.js +118 -0
- package/lib/form/fields/FieldContainer/props/defaultProps.js +22 -0
- package/lib/form/fields/FieldContainer/props/propTypes.js +30 -0
- package/lib/form/fields/Fields.module.css +183 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +268 -0
- package/lib/form/fields/MultiSelectField/props/defaultProps.js +32 -0
- package/lib/form/fields/MultiSelectField/props/propTypes.js +68 -0
- package/lib/form/fields/PhoneField/PhoneField.js +236 -0
- package/lib/form/fields/PhoneField/props/defaultProps.js +23 -0
- package/lib/form/fields/PhoneField/props/propTypes.js +51 -0
- package/lib/form/fields/RadioField/RadioField.js +169 -0
- package/lib/form/fields/RadioField/props/defaultProps.js +19 -0
- package/lib/form/fields/RadioField/props/propTypes.js +41 -0
- package/lib/form/fields/SelectField/SelectField.js +237 -0
- package/lib/form/fields/SelectField/props/defaultProps.js +33 -0
- package/lib/form/fields/SelectField/props/propTypes.js +68 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +346 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
- package/lib/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +54 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +299 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +34 -0
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +70 -0
- package/lib/form/fields/TextBoxField/TextBoxField.js +219 -0
- package/lib/form/fields/TextBoxField/props/defaultProps.js +32 -0
- package/lib/form/fields/TextBoxField/props/propTypes.js +55 -0
- package/lib/form/fields/TextEditor/TextEditor.js +462 -0
- package/lib/form/fields/TextEditor/TextEditor.module.css +771 -0
- package/lib/form/fields/TextEditor/props/defaultProps.js +20 -0
- package/lib/form/fields/TextEditor/props/propTypes.js +51 -0
- package/lib/form/fields/TextEditorField/TextEditorField.js +230 -0
- package/lib/form/fields/TextEditorField/props/defaultProps.js +30 -0
- package/lib/form/fields/TextEditorField/props/propTypes.js +65 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +256 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +38 -0
- package/lib/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
- package/lib/form/fields/TextEditorWrapper/props/propTypes.js +50 -0
- package/lib/form/fields/TextareaField/TextareaField.js +215 -0
- package/lib/form/fields/TextareaField/props/defaultProps.js +30 -0
- package/lib/form/fields/TextareaField/props/propTypes.js +52 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +110 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
- package/lib/form/fields/ValidationMessage/props/defaultProps.js +14 -0
- package/lib/form/fields/ValidationMessage/props/propTypes.js +25 -0
- package/lib/form/fields/index.js +135 -0
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +35 -0
- package/lib/form/layout/Field/Field.js +87 -0
- package/lib/form/layout/Field/Field.module.css +22 -0
- package/lib/form/layout/Field/props/defaultProps.js +11 -0
- package/lib/form/layout/Field/props/propTypes.js +21 -0
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/lib/form/layout/Section/Section.js +86 -0
- package/lib/form/layout/Section/props/propTypes.js +20 -0
- package/lib/form/layout/index.js +23 -0
- package/lib/index.js +301 -42
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +219 -269
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +51 -51
- package/lib/layout/SetupDetailLayout/index.js +15 -12
- package/lib/layout/SetupDetailLayout/props/defaultProps.js +30 -0
- package/lib/layout/SetupDetailLayout/props/propTypes.js +54 -0
- package/lib/layout/SubtabLayout/SubtabLayout.js +183 -193
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +104 -29
- package/lib/layout/SubtabLayout/index.js +19 -10
- package/lib/layout/SubtabLayout/props/defaultProps.js +35 -0
- package/lib/layout/SubtabLayout/props/propTypes.js +54 -0
- package/lib/list/AvatarFlip/AvatarFlip.js +78 -78
- package/lib/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/lib/list/AvatarFlip/props/defaultProps.js +13 -0
- package/lib/list/AvatarFlip/props/propTypes.js +40 -0
- package/lib/list/BluePrintStatus/BluePrintStatus.js +42 -41
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +10 -8
- package/lib/list/BluePrintStatus/props/propTypes.js +15 -0
- package/lib/list/Comment/Comment.js +61 -66
- package/lib/list/Comment/Comment.module.css +15 -8
- package/lib/list/Comment/props/defaultProps.js +10 -0
- package/lib/list/Comment/props/propTypes.js +20 -0
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +104 -71
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -80
- package/lib/list/DepartmentDropDown/props/defaultProps.js +14 -0
- package/lib/list/DepartmentDropDown/props/propTypes.js +35 -0
- package/lib/list/Dot/Dot.js +41 -35
- package/lib/list/Dot/Dot.module.css +8 -6
- package/lib/list/Dot/props/defaultProps.js +11 -0
- package/lib/list/Dot/props/propTypes.js +16 -0
- package/lib/list/DotNew/DotNew.js +48 -29
- package/lib/list/DotNew/DotNew.module.css +20 -14
- package/lib/list/DotNew/props/defaultProps.js +10 -0
- package/lib/list/DotNew/props/propTypes.js +17 -0
- package/lib/list/GridStencils/GridStencils.js +54 -55
- package/lib/list/GridStencils/GridStencils.module.css +46 -91
- package/lib/list/GridStencils/props/propTypes.js +18 -0
- package/lib/list/Icons/AddNewIcon.js +50 -65
- package/lib/list/Icons/CompleteIcon.js +73 -74
- package/lib/list/Icons/DeleteIcon.js +48 -71
- package/lib/list/Icons/EditIcon.js +52 -75
- package/lib/list/Icons/FloatingIcons.js +52 -42
- package/lib/list/Icons/Icons.module.css +5 -4
- package/lib/list/Icons/ReadUnreadIcon.js +84 -0
- package/lib/list/Icons/SmartIcon.js +76 -62
- package/lib/list/Icons/index.js +63 -0
- package/lib/list/Icons/props/defaultProps.js +14 -0
- package/lib/list/Icons/props/propTypes.js +72 -0
- package/lib/list/ListLayout/ListLayout.js +97 -115
- package/lib/list/ListLayout/ListLayout.module.css +43 -12
- package/lib/list/ListLayout/props/defaultProps.js +18 -0
- package/lib/list/ListLayout/props/propTypes.js +41 -0
- package/lib/list/ListStencils/ListStencils.js +60 -48
- package/lib/list/ListStencils/ListStencils.module.css +55 -15
- package/lib/list/ListStencils/props/defaultProps.js +10 -0
- package/lib/list/ListStencils/props/propTypes.js +15 -0
- package/lib/list/SecondaryText/AccountName.js +97 -88
- package/lib/list/SecondaryText/ContactName.js +105 -118
- package/lib/list/SecondaryText/DepartmentText.js +48 -42
- package/lib/list/SecondaryText/Email.js +65 -76
- package/lib/list/SecondaryText/HappinessRating.js +47 -50
- package/lib/list/SecondaryText/PhoneNumber.js +69 -79
- package/lib/list/SecondaryText/PriorityText.js +52 -50
- package/lib/list/SecondaryText/SecondaryText.js +56 -47
- package/lib/list/SecondaryText/SecondaryText.module.css +61 -29
- package/lib/list/SecondaryText/StatusText.js +53 -53
- package/lib/list/SecondaryText/TicketId.js +71 -62
- package/lib/list/SecondaryText/Website.js +53 -73
- package/lib/list/SecondaryText/index.js +46 -57
- package/lib/list/SecondaryText/props/defaultProps.js +59 -0
- package/lib/list/SecondaryText/props/propTypes.js +164 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +119 -141
- package/lib/list/SecondryPanel/SecondryPanel.module.css +2 -23
- package/lib/list/SecondryPanel/props/defaultProps.js +28 -0
- package/lib/list/SecondryPanel/props/propTypes.js +41 -0
- package/lib/list/SentimentStatus/SentimentStatus.js +44 -39
- package/lib/list/SentimentStatus/SentimentStatus.module.css +3 -3
- package/lib/list/SentimentStatus/props/propTypes.js +16 -0
- package/lib/list/Subject/Subject.js +75 -77
- package/lib/list/Subject/Subject.module.css +21 -3
- package/lib/list/Subject/props/defaultProps.js +14 -0
- package/lib/list/Subject/props/propTypes.js +30 -0
- package/lib/list/TagNew/TagNew.js +52 -46
- package/lib/list/TagNew/TagNew.module.css +11 -9
- package/lib/list/TagNew/props/defaultProps.js +11 -0
- package/lib/list/TagNew/props/propTypes.js +19 -0
- package/lib/list/Thread/Thread.js +61 -51
- package/lib/list/Thread/Thread.module.css +32 -9
- package/lib/list/Thread/props/defaultProps.js +11 -0
- package/lib/list/Thread/props/propTypes.js +19 -0
- package/lib/list/UserTime/UserTime.js +101 -100
- package/lib/list/UserTime/UserTime.module.css +26 -17
- package/lib/list/UserTime/props/defaultProps.js +10 -0
- package/lib/list/UserTime/props/propTypes.js +25 -0
- package/lib/list/index.js +173 -0
- package/lib/list/listCommon.module.css +21 -53
- package/lib/list/status/StatusDropdown/StatusDropdown.js +531 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -0
- package/lib/list/status/StatusDropdown/props/defaultProps.js +26 -0
- package/lib/list/status/StatusDropdown/props/propTypes.js +34 -0
- package/lib/list/status/StatusListItem/StatusListItem.js +168 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +111 -0
- package/lib/list/status/StatusListItem/props/defaultProps.js +22 -0
- package/lib/list/status/StatusListItem/props/propTypes.js +40 -0
- package/lib/list/status/index.js +23 -0
- package/lib/lookup/EmptyPage/EmptyPage.js +62 -62
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
- package/lib/lookup/EmptyPage/props/defaultProps.js +11 -0
- package/lib/lookup/EmptyPage/props/propTypes.js +16 -0
- package/lib/lookup/Lookup/Lookup.js +131 -86
- package/lib/lookup/Lookup/Lookup.module.css +15 -11
- package/lib/lookup/Lookup/props/defaultProps.js +15 -0
- package/lib/lookup/Lookup/props/propTypes.js +30 -0
- package/lib/lookup/Section/LookupSection.module.css +7 -6
- package/lib/lookup/Section/Section.js +43 -40
- package/lib/lookup/Section/props/propTypes.js +17 -0
- package/lib/lookup/header/Close/Close.js +44 -42
- package/lib/lookup/header/Close/LookupClose.module.css +7 -7
- package/lib/lookup/header/Close/props/defaultProps.js +10 -0
- package/lib/lookup/header/Close/props/propTypes.js +17 -0
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +91 -99
- package/lib/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
- package/lib/lookup/header/ModuleHeader/props/propTypes.js +28 -0
- package/lib/lookup/header/Search/LookupSearch.module.css +53 -10
- package/lib/lookup/header/Search/Search.js +222 -96
- package/lib/lookup/header/Search/props/defaultProps.js +12 -0
- package/lib/lookup/header/Search/props/propTypes.js +40 -0
- package/lib/lookup/header/TicketHeader/TicketHeader.js +106 -130
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +4 -3
- package/lib/lookup/header/TicketHeader/props/defaultProps.js +11 -0
- package/lib/lookup/header/TicketHeader/props/propTypes.js +31 -0
- package/lib/lookup/header/Title/LookupTitle.module.css +4 -4
- package/lib/lookup/header/Title/Title.js +44 -46
- package/lib/lookup/header/Title/props/defaultProps.js +10 -0
- package/lib/lookup/header/Title/props/propTypes.js +17 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +172 -209
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +17 -19
- package/lib/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
- package/lib/lookup/header/ViewDropDown/props/propTypes.js +38 -0
- package/lib/lookup/header/index.js +47 -0
- package/lib/lookup/header/lookupHeaderCommon.module.css +20 -12
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +4 -4
- package/lib/lookup/index.js +42 -0
- package/lib/setup/header/Button/Button.js +52 -54
- package/lib/setup/header/Button/HeaderButton.module.css +2 -2
- package/lib/setup/header/Button/props/defaultProps.js +11 -0
- package/lib/setup/header/Button/props/propTypes.js +18 -0
- package/lib/setup/header/Link/HeaderLink.module.css +8 -9
- package/lib/setup/header/Link/Link.js +59 -67
- package/lib/setup/header/Link/props/defaultProps.js +11 -0
- package/lib/setup/header/Link/props/propTypes.js +19 -0
- package/lib/setup/header/Search/Search.js +76 -79
- package/lib/setup/header/Search/Search.module.css +25 -24
- package/lib/setup/header/Search/props/defaultProps.js +12 -0
- package/lib/setup/header/Search/props/propTypes.js +22 -0
- package/lib/setup/header/Views/Views.js +62 -71
- package/lib/setup/header/Views/Views.module.css +8 -8
- package/lib/setup/header/Views/props/defaultProps.js +13 -0
- package/lib/setup/header/Views/props/propTypes.js +20 -0
- package/lib/setup/header/index.js +39 -0
- package/lib/setup/helptips/Description/Description.js +38 -34
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +3 -3
- package/lib/setup/helptips/Description/props/propTypes.js +15 -0
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +3 -3
- package/lib/setup/helptips/Link/Link.js +51 -48
- package/lib/setup/helptips/Link/props/propTypes.js +18 -0
- package/lib/setup/helptips/ListGroup/ListGroup.js +56 -54
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +6 -6
- package/lib/setup/helptips/ListGroup/props/propTypes.js +16 -0
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/lib/setup/helptips/Title/Title.js +38 -34
- package/lib/setup/helptips/Title/props/propTypes.js +15 -0
- package/lib/setup/helptips/index.js +39 -0
- package/lib/setup/index.js +24 -0
- package/lib/setup/table/Table/Table.js +47 -42
- package/lib/setup/table/Table/props/defaultProps.js +11 -0
- package/lib/setup/table/Table/props/propTypes.js +17 -0
- package/lib/setup/table/TableBody/TableBody.js +52 -42
- package/lib/setup/table/TableBody/props/defaultProps.js +10 -0
- package/lib/setup/table/TableBody/props/propTypes.js +18 -0
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -0
- package/lib/setup/table/TableData/TableData.js +55 -58
- package/lib/setup/table/TableData/props/defaultProps.js +12 -0
- package/lib/setup/table/TableData/props/propTypes.js +22 -0
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -0
- package/lib/setup/table/TableHead/TableHead.js +55 -62
- package/lib/setup/table/TableHead/props/defaultProps.js +11 -0
- package/lib/setup/table/TableHead/props/propTypes.js +18 -0
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -0
- package/lib/setup/table/TableRow/TableRow.js +60 -68
- package/lib/setup/table/TableRow/props/defaultProps.js +11 -0
- package/lib/setup/table/TableRow/props/propTypes.js +22 -0
- package/lib/setup/table/Text/TableText.module.css +37 -0
- package/lib/setup/table/Text/Text.js +66 -86
- package/lib/setup/table/Text/props/defaultProps.js +14 -0
- package/lib/setup/table/Text/props/propTypes.js +24 -0
- package/lib/setup/table/index.js +47 -0
- package/lib/svg/PlusIcon.js +52 -57
- package/lib/svg/SnippetIcon.js +54 -60
- package/lib/svg/TemplateIcon.js +56 -56
- package/lib/svg/index.js +31 -0
- package/lib/svg/props/defaultProps.js +24 -0
- package/lib/svg/props/propTypes.js +29 -0
- package/lib/utils/ChannelIconMapping.js +105 -85
- package/lib/utils/General.js +36 -4
- package/lib/utils/editorUtils.js +223 -0
- package/lib/version2/AlertClose/AlertClose.js +94 -0
- package/lib/version2/AlertClose/AlertClose.module.css +43 -0
- package/lib/version2/AlertClose/props/propTypes.js +19 -0
- package/lib/version2/GlobalNotification/GlobalNotification.js +196 -0
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +128 -0
- package/lib/version2/GlobalNotification/props/defaultProps.js +11 -0
- package/lib/version2/GlobalNotification/props/propTypes.js +25 -0
- package/lib/version2/alertIcons/AlarmAlertIcon.js +122 -0
- package/lib/version2/alertIcons/AlertIcons.js +123 -0
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -0
- package/lib/version2/alertIcons/DangerAlertIcon.js +122 -0
- package/lib/version2/alertIcons/ErrorAlertIcon.js +127 -0
- package/lib/version2/alertIcons/InfoAlertIcon.js +131 -0
- package/lib/version2/alertIcons/NotificationAlertIcon.js +127 -0
- package/lib/version2/alertIcons/SuccessAlertIcon.js +122 -0
- package/lib/version2/alertIcons/WarningAlertIcon.js +122 -0
- package/lib/version2/alertIcons/index.js +71 -0
- package/lib/version2/alertIcons/props/defaultProps.js +41 -0
- package/lib/version2/alertIcons/props/propTypes.js +52 -0
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +125 -0
- package/lib/version2/errorstate/Inconvenience/props/defaultProps.js +15 -0
- package/lib/version2/errorstate/Inconvenience/props/propTypes.js +27 -0
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +126 -0
- package/lib/version2/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
- package/lib/version2/errorstate/OopsSomethingMiss/props/propTypes.js +27 -0
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +125 -0
- package/lib/version2/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
- package/lib/version2/errorstate/UnableToProcessRequest/props/propTypes.js +27 -0
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +127 -0
- package/lib/version2/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
- package/lib/version2/errorstate/UnauthorizedLogin/props/propTypes.js +28 -0
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +125 -0
- package/lib/version2/errorstate/UrlNotFound/props/defaultProps.js +15 -0
- package/lib/version2/errorstate/UrlNotFound/props/propTypes.js +27 -0
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +125 -0
- package/lib/version2/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
- package/lib/version2/errorstate/WillBeRightBack/props/propTypes.js +27 -0
- package/lib/version2/errorstate/index.js +55 -0
- package/lib/version2/index.js +58 -0
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +104 -0
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +88 -0
- package/lib/version2/lookup/AlertHeader/css/cssJSLogic.js +24 -0
- package/lib/version2/lookup/AlertHeader/props/defaultProps.js +19 -0
- package/lib/version2/lookup/AlertHeader/props/propTypes.js +30 -0
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +256 -0
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
- package/lib/version2/lookup/AlertLookup/props/defaultProps.js +20 -0
- package/lib/version2/lookup/AlertLookup/props/propTypes.js +47 -0
- package/lib/version2/lookup/alertLookupCommonNew.module.css +33 -0
- package/lib/version2/lookup/index.js +23 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +192 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +127 -0
- package/lib/version2/notification/DesktopNotification/props/defaultProps.js +22 -0
- package/lib/version2/notification/DesktopNotification/props/propTypes.js +48 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +115 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
- package/lib/version2/notification/DesktopNotificationHeader/props/defaultProps.js +12 -0
- package/lib/version2/notification/DesktopNotificationHeader/props/propTypes.js +22 -0
- package/lib/version2/notification/index.js +35 -0
- package/package.json +84 -27
- package/.DS_Store +0 -0
- package/__testUtils__/globals.js +0 -0
- package/dubFinder.js +0 -93
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -58
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -65
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -97
- package/es/Drawer/docs/Drawer__default.docs.js +0 -93
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -43
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -40
- package/es/FlipCard/docs/FlipCard__default.docs.js +0 -105
- package/es/FormAction/docs/FormAction__default.docs.js +0 -199
- package/es/FreezeLayer/FreezeLayer.module.css +0 -41
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -77
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -76
- package/es/IconButton/docs/IconButton__default.docs.js +0 -81
- package/es/Image/docs/Image__default.docs.js +0 -40
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -40
- package/es/Link/docs/Link__default.docs.js +0 -64
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -40
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -132
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -80
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -172
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -64
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -94
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -91
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -170
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -44
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -58
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -54
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -49
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -52
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -75
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -69
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -146
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -45
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -78
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -85
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -42
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -39
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -35
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -39
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -40
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -39
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -39
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -40
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -39
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -41
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -79
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -191
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -308
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -36
- package/es/list/Comment/docs/Comment__default.docs.js +0 -40
- package/es/list/DotNew/docs/DotNew__default.docs.js +0 -36
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -50
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -56
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -131
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -36
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -36
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -131
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -36
- package/es/list/StatusDropdown/StatusDropdown.js +0 -205
- package/es/list/StatusDropdown/StatusDropdown.module.css +0 -65
- package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
- package/es/list/Subject/docs/Subject__default.docs.js +0 -49
- package/es/list/TagNew/docs/TagNew__default.docs.js +0 -36
- package/es/list/Thread/docs/Thread__default.docs.js +0 -36
- package/es/list/TimeInfo/TimeInfo.js +0 -171
- package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
- package/es/list/UserTime/docs/UserTime__default.docs.js +0 -172
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -38
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -38
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -37
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -38
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -212
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -90
- package/es/lookup/header/Close/docs/Close__default.docs.js +0 -35
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -58
- package/es/lookup/header/Search/docs/Search__default.docs.js +0 -62
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -74
- package/es/lookup/header/Title/docs/Title__default.docs.js +0 -35
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -64
- package/es/setup/header/Button/docs/Button__default.docs.js +0 -37
- package/es/setup/header/Link/docs/Link__default.docs.js +0 -36
- package/es/setup/header/Search/docs/Search__default.docs.js +0 -54
- package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
- package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
- package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
- package/es/setup/header/Views/docs/Views__default.docs.js +0 -40
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -42
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -43
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -46
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -40
- package/es/setup/table/Table/docs/Table__default.docs.js +0 -193
- package/es/setup/table/TableData/TableData.css +0 -44
- package/es/setup/table/TableHead/TableHead.css +0 -12
- package/es/setup/table/TableRow/TableRow.css +0 -14
- package/es/setup/table/Text/Text.css +0 -37
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -69
- package/es/svg/docs/SVG__default.docs.js +0 -87
- package/es/utils/KeyboardApi.js +0 -254
- package/es/utils/Ticket.js +0 -3
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -75
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -82
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -114
- package/lib/Drawer/docs/Drawer__default.docs.js +0 -115
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -59
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -56
- package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -124
- package/lib/FormAction/docs/FormAction__default.docs.js +0 -221
- package/lib/FreezeLayer/FreezeLayer.module.css +0 -41
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -96
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -95
- package/lib/IconButton/docs/IconButton__default.docs.js +0 -97
- package/lib/Image/docs/Image__default.docs.js +0 -59
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -59
- package/lib/Link/docs/Link__default.docs.js +0 -80
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -59
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -157
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -99
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -191
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -83
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -113
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -107
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -189
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -63
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -77
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -76
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -71
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -74
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -97
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -91
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -168
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -64
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -94
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -110
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -58
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -58
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -54
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -55
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -59
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -58
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -58
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -59
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -58
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -60
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -99
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -205
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -327
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -54
- package/lib/list/Comment/docs/Comment__default.docs.js +0 -59
- package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -55
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -72
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -150
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -55
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -55
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -152
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -54
- package/lib/list/StatusDropdown/StatusDropdown.js +0 -243
- package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -65
- package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
- package/lib/list/Subject/docs/Subject__default.docs.js +0 -68
- package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -55
- package/lib/list/Thread/docs/Thread__default.docs.js +0 -55
- package/lib/list/TimeInfo/TimeInfo.js +0 -191
- package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
- package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -192
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -55
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -55
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -54
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -55
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -234
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -113
- package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -54
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -75
- package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -79
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -91
- package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -54
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -81
- package/lib/setup/header/Button/docs/Button__default.docs.js +0 -55
- package/lib/setup/header/Link/docs/Link__default.docs.js +0 -55
- package/lib/setup/header/Search/docs/Search__default.docs.js +0 -73
- package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
- package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -43
- package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
- package/lib/setup/header/Views/docs/Views__default.docs.js +0 -59
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -61
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -62
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -65
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -59
- package/lib/setup/table/Table/docs/Table__default.docs.js +0 -228
- package/lib/setup/table/TableData/TableData.css +0 -44
- package/lib/setup/table/TableHead/TableHead.css +0 -12
- package/lib/setup/table/TableRow/TableRow.css +0 -14
- package/lib/setup/table/Text/Text.css +0 -37
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -85
- package/lib/svg/docs/SVG__default.docs.js +0 -110
- package/lib/utils/KeyboardApi.js +0 -262
- package/lib/utils/Ticket.js +0 -8
- package/postpublish.js +0 -100
- package/result.json +0 -1
- package/src/.DS_Store +0 -0
- package/src/AlphabeticList/AlphabeticList.js +0 -154
- package/src/AlphabeticList/AlphabeticList.module.css +0 -42
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -37
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -44
- package/src/ChannelIcon/ChannelIcon.js +0 -132
- package/src/ChannelIcon/ChannelIcon.module.css +0 -187
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
- package/src/Drawer/Drawer.js +0 -286
- package/src/Drawer/Drawer.module.css +0 -93
- package/src/Drawer/docs/Drawer__default.docs.js +0 -53
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -21
- package/src/ExternalLink/ExternalLink.js +0 -57
- package/src/ExternalLink/ExternalLink.module.css +0 -4
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
- package/src/FlipCard/FlipCard.js +0 -159
- package/src/FlipCard/FlipCard.module.css +0 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
- package/src/FormAction/FormAction.js +0 -120
- package/src/FormAction/FormAction.module.css +0 -52
- package/src/FormAction/docs/FormAction__default.docs.js +0 -94
- package/src/FreezeLayer/FreezeLayer.js +0 -130
- package/src/FreezeLayer/FreezeLayer.module.css +0 -37
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -53
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
- package/src/IconButton/IconButton.js +0 -70
- package/src/IconButton/IconButton.module.css +0 -38
- package/src/IconButton/docs/IconButton__default.docs.js +0 -49
- package/src/Image/Image.js +0 -41
- package/src/Image/Image.module.css +0 -11
- package/src/Image/docs/Image__default.docs.js +0 -18
- package/src/ImportantNotes/ImportantNotes.js +0 -55
- package/src/ImportantNotes/ImportantNotes.module.css +0 -13
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/src/Link/Link.js +0 -115
- package/src/Link/Link.module.css +0 -4
- package/src/Link/LinkContext.js +0 -9
- package/src/Link/docs/Link__default.docs.js +0 -91
- package/src/PlusIcon/PlusIcon.js +0 -68
- package/src/PlusIcon/PlusIcon.module.css +0 -7
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
- package/src/ToastMessage/ToastMessage.js +0 -289
- package/src/ToastMessage/ToastMessage.module.css +0 -260
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -55
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
- package/src/actions/index.js +0 -22
- package/src/alert/AlertHeader/AlertHeader.js +0 -115
- package/src/alert/AlertHeader/AlertHeader.module.css +0 -62
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -72
- package/src/alert/AlertLookup/AlertLookup.js +0 -174
- package/src/alert/AlertLookup/AlertLookup.module.css +0 -20
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -123
- package/src/avatar/AvatarClose/AvatarClose.js +0 -43
- package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/src/avatar/AvatarCollision/AvatarCollision.js +0 -72
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
- package/src/avatar/AvatarIcon/AvatarIcon.js +0 -83
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -36
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -35
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +0 -50
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -64
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -34
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
- package/src/avatar/AvatarThread/AvatarThread.js +0 -89
- package/src/avatar/AvatarThread/AvatarThread.module.css +0 -58
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -45
- package/src/avatar/AvatarUser/AvatarUser.js +0 -103
- package/src/avatar/AvatarUser/AvatarUser.module.css +0 -61
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -111
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -57
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
- package/src/docs/generalDocs.js +0 -125
- package/src/docs/lookupDocs.js +0 -33
- package/src/docs/setupDocs.js +0 -27
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -598
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -65
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -75
- package/src/emptystate/.DS_Store +0 -0
- package/src/emptystate/CommonEmptyState/.DS_Store +0 -0
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -117
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -31
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -53
- package/src/emptystate/EditionPage/EditionPage.css +0 -37
- package/src/emptystate/EditionPage/EditionPage.js +0 -69
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
- package/src/errorstate/EmptyStates.module.css +0 -40
- package/src/errorstate/Inconvenience/Inconvenience.js +0 -42
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -6
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/errorstate/LinkText/LinkText.js +0 -28
- package/src/errorstate/LinkText/LinkText.module.css +0 -6
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
- package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -42
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -5
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -46
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -33
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -42
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -5
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -42
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -14
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -42
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -14
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/src/errorstate/WillBack/WillBack.js +0 -40
- package/src/errorstate/WillBack/WillBack.module.css +0 -21
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/src/index.js +0 -14
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -248
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -35
- package/src/layout/SetupDetailLayout/index.js +0 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +0 -166
- package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -66
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -72
- package/src/layout/SubtabLayout/index.js +0 -3
- package/src/list/AvatarFlip/AvatarFlip.js +0 -89
- package/src/list/AvatarFlip/AvatarFlip.module.css +0 -15
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -207
- package/src/list/BluePrintStatus/BluePrintStatus.js +0 -31
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -13
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
- package/src/list/Comment/Comment.js +0 -54
- package/src/list/Comment/Comment.module.css +0 -17
- package/src/list/Comment/docs/Comment__default.docs.js +0 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -78
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -62
- package/src/list/Dot/Dot.js +0 -28
- package/src/list/Dot/Dot.module.css +0 -13
- package/src/list/DotNew/DotNew.js +0 -24
- package/src/list/DotNew/DotNew.module.css +0 -16
- package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
- package/src/list/GridStencils/GridStencils.js +0 -46
- package/src/list/GridStencils/GridStencils.module.css +0 -131
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
- package/src/list/Icons/AddNewIcon.js +0 -53
- package/src/list/Icons/CompleteIcon.js +0 -54
- package/src/list/Icons/DeleteIcon.js +0 -61
- package/src/list/Icons/EditIcon.js +0 -61
- package/src/list/Icons/FloatingIcons.js +0 -32
- package/src/list/Icons/Icons.module.css +0 -15
- package/src/list/Icons/SmartIcon.js +0 -40
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -37
- package/src/list/ListLayout/ListLayout.js +0 -105
- package/src/list/ListLayout/ListLayout.module.css +0 -30
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
- package/src/list/ListStencils/ListStencils.js +0 -34
- package/src/list/ListStencils/ListStencils.module.css +0 -24
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
- package/src/list/SecondaryText/AccountName.js +0 -80
- package/src/list/SecondaryText/ContactName.js +0 -107
- package/src/list/SecondaryText/DepartmentText.js +0 -32
- package/src/list/SecondaryText/Email.js +0 -69
- package/src/list/SecondaryText/HappinessRating.js +0 -37
- package/src/list/SecondaryText/PhoneNumber.js +0 -72
- package/src/list/SecondaryText/PriorityText.js +0 -40
- package/src/list/SecondaryText/SecondaryText.js +0 -36
- package/src/list/SecondaryText/SecondaryText.module.css +0 -94
- package/src/list/SecondaryText/StatusText.js +0 -49
- package/src/list/SecondaryText/TicketId.js +0 -59
- package/src/list/SecondaryText/Website.js +0 -58
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
- package/src/list/SecondaryText/index.js +0 -11
- package/src/list/SecondryPanel/SecondryPanel.js +0 -120
- package/src/list/SecondryPanel/SecondryPanel.module.css +0 -27
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -41
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -66
- package/src/list/SentimentStatus/SentimentStatus.js +0 -32
- package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
- package/src/list/StatusDropdown/StatusDropdown.js +0 -174
- package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
- package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
- package/src/list/Subject/Subject.js +0 -71
- package/src/list/Subject/Subject.module.css +0 -9
- package/src/list/Subject/docs/Subject__default.docs.js +0 -27
- package/src/list/TagNew/TagNew.js +0 -37
- package/src/list/TagNew/TagNew.module.css +0 -108
- package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
- package/src/list/Thread/Thread.js +0 -36
- package/src/list/Thread/Thread.module.css +0 -15
- package/src/list/Thread/docs/Thread__default.docs.js +0 -18
- package/src/list/TimeInfo/TimeInfo.js +0 -156
- package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
- package/src/list/UserTime/UserTime.js +0 -130
- package/src/list/UserTime/UserTime.module.css +0 -42
- package/src/list/UserTime/docs/UserTime__default.docs.js +0 -122
- package/src/list/listCommon.module.css +0 -84
- package/src/lookup/.DS_Store +0 -0
- package/src/lookup/EmptyPage/EmptyPage.js +0 -62
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
- package/src/lookup/Lookup/Lookup.js +0 -80
- package/src/lookup/Lookup/Lookup.module.css +0 -22
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -189
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
- package/src/lookup/Section/LookupSection.module.css +0 -7
- package/src/lookup/Section/Section.js +0 -27
- package/src/lookup/header/.DS_Store +0 -0
- package/src/lookup/header/Close/Close.js +0 -36
- package/src/lookup/header/Close/LookupClose.module.css +0 -15
- package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -76
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -39
- package/src/lookup/header/Search/LookupSearch.module.css +0 -14
- package/src/lookup/header/Search/Search.js +0 -104
- package/src/lookup/header/Search/docs/Search__default.docs.js +0 -41
- package/src/lookup/header/TicketHeader/TicketHeader.js +0 -105
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
- package/src/lookup/header/Title/LookupTitle.module.css +0 -20
- package/src/lookup/header/Title/Title.js +0 -37
- package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -185
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -50
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -21
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
- package/src/setup/header/Button/Button.js +0 -40
- package/src/setup/header/Button/HeaderButton.module.css +0 -3
- package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
- package/src/setup/header/Link/HeaderLink.module.css +0 -16
- package/src/setup/header/Link/Link.js +0 -48
- package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
- package/src/setup/header/Search/Search.js +0 -74
- package/src/setup/header/Search/Search.module.css +0 -56
- package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
- package/src/setup/header/SelectDropdown/SelectDropdown.js +0 -122
- package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
- package/src/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
- package/src/setup/header/Views/Views.js +0 -62
- package/src/setup/header/Views/Views.module.css +0 -27
- package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
- package/src/setup/helptips/Description/Description.js +0 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
- package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
- package/src/setup/helptips/Link/Link.js +0 -40
- package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/src/setup/helptips/Title/Title.js +0 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
- package/src/setup/table/Table/Table.js +0 -25
- package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
- package/src/setup/table/TableBody/TableBody.js +0 -27
- package/src/setup/table/TableData/TableData.css +0 -36
- package/src/setup/table/TableData/TableData.js +0 -45
- package/src/setup/table/TableData/hover.css +0 -6
- package/src/setup/table/TableHead/TableHead.css +0 -8
- package/src/setup/table/TableHead/TableHead.js +0 -53
- package/src/setup/table/TableRow/TableRow.css +0 -10
- package/src/setup/table/TableRow/TableRow.js +0 -60
- package/src/setup/table/Text/Text.css +0 -37
- package/src/setup/table/Text/Text.js +0 -81
- package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
- package/src/svg/.DS_Store +0 -0
- package/src/svg/PlusIcon.js +0 -43
- package/src/svg/SnippetIcon.js +0 -50
- package/src/svg/TemplateIcon.js +0 -46
- package/src/svg/docs/SVG__default.docs.js +0 -46
- package/src/svg/images/.DS_Store +0 -0
- package/src/utils/ChannelIconMapping.js +0 -112
- package/src/utils/General.js +0 -18
- package/src/utils/KeyboardApi.js +0 -280
- package/src/utils/Ticket.js +0 -10
- package/unittest/index.html +0 -37
- /package/es/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
- /package/lib/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
iconClass: PropTypes.string,
|
|
4
|
+
iconName: PropTypes.string,
|
|
5
|
+
iconSize: PropTypes.string,
|
|
6
|
+
title: PropTypes.string,
|
|
7
|
+
isBold: PropTypes.bool,
|
|
8
|
+
palette: PropTypes.oneOf(['yellow', 'blue', 'grey']),
|
|
9
|
+
size: PropTypes.oneOf('small', 'large'),
|
|
10
|
+
className: PropTypes.string,
|
|
11
|
+
text: PropTypes.string
|
|
12
|
+
};
|
|
@@ -1,341 +1,203 @@
|
|
|
1
|
-
|
|
2
|
-
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
|
|
3
|
-
import _createClass from 'babel-runtime/helpers/createClass';
|
|
4
|
-
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
|
|
5
|
-
import _inherits from 'babel-runtime/helpers/inherits';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import PropTypes from 'prop-types';
|
|
8
|
-
import Icon from '@zohodesk/icons/lib/Icon';
|
|
9
|
-
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
10
|
-
import style from './ToastMessage.module.css';
|
|
11
|
-
import { popNotificationAction } from '../actions';
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
2
|
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
|
+
import { defaultProps } from './props/defaultProps';
|
|
5
|
+
import { propTypes } from './props/propTypes'; //components
|
|
15
6
|
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
8
|
+
import { Icon } from '@zohodesk/icons';
|
|
9
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
10
|
+
import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
11
|
+
import { useUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
12
|
+
import AutoClose from '../actions/AutoClose';
|
|
13
|
+
import a11yStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css'; //style
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
import style from './ToastMessage.module.css';
|
|
20
16
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
function ToastMessageUI(props) {
|
|
18
|
+
let [messageState, setMessageState] = useState(props.messageState);
|
|
19
|
+
let {
|
|
20
|
+
type,
|
|
21
|
+
subject,
|
|
22
|
+
info,
|
|
23
|
+
submitText,
|
|
24
|
+
cancelText,
|
|
25
|
+
iconName,
|
|
26
|
+
iconSize,
|
|
27
|
+
submitType,
|
|
28
|
+
isIconMid,
|
|
29
|
+
needClose,
|
|
30
|
+
iconPalette,
|
|
31
|
+
isMore,
|
|
32
|
+
message,
|
|
33
|
+
isAnimate,
|
|
34
|
+
getLeftContainer,
|
|
35
|
+
getInnerBottomContainer,
|
|
36
|
+
getBottomContainer,
|
|
37
|
+
getSubmitContainer,
|
|
38
|
+
onSubmit,
|
|
39
|
+
onCancel,
|
|
40
|
+
dataId,
|
|
41
|
+
dataSelectorId,
|
|
42
|
+
isClose,
|
|
43
|
+
onClose,
|
|
44
|
+
needAutoZindex,
|
|
45
|
+
a11y
|
|
46
|
+
} = props;
|
|
47
|
+
|
|
48
|
+
function onClickSubmit(e) {
|
|
49
|
+
onSubmit && onSubmit();
|
|
50
|
+
onClose && onClose();
|
|
29
51
|
}
|
|
30
52
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
this._mount = true;
|
|
37
|
-
var _props = this.props,
|
|
38
|
-
autoClose = _props.autoClose,
|
|
39
|
-
hideTime = _props.hideTime,
|
|
40
|
-
id = _props.id,
|
|
41
|
-
hidePopNotification = _props.hidePopNotification;
|
|
42
|
-
|
|
43
|
-
if (autoClose) {
|
|
44
|
-
setTimeout(function () {
|
|
45
|
-
var isClose = _this2.state.isClose;
|
|
46
|
-
|
|
47
|
-
if (!isClose && _this2._mount) {
|
|
48
|
-
_this2.setState({ isClose: true }, function () {
|
|
49
|
-
setTimeout(function () {
|
|
50
|
-
hidePopNotification(id);
|
|
51
|
-
}, 300);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
}, hideTime);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}, {
|
|
58
|
-
key: 'componentWillUnmount',
|
|
59
|
-
value: function componentWillUnmount() {
|
|
60
|
-
this._mount = false;
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
key: 'messageOff',
|
|
64
|
-
value: function messageOff(e) {
|
|
65
|
-
this.setState({ messageState: !this.state.messageState });
|
|
66
|
-
e.stopPropagation();
|
|
67
|
-
}
|
|
68
|
-
}, {
|
|
69
|
-
key: 'closePop',
|
|
70
|
-
value: function closePop(e) {
|
|
71
|
-
var _this3 = this;
|
|
72
|
-
|
|
73
|
-
this.setState({ isClose: true }, function () {
|
|
74
|
-
var _props2 = _this3.props,
|
|
75
|
-
id = _props2.id,
|
|
76
|
-
hidePopNotification = _props2.hidePopNotification;
|
|
77
|
-
|
|
78
|
-
setTimeout(function () {
|
|
79
|
-
hidePopNotification(id);
|
|
80
|
-
}, 300);
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
e.stopPropagation();
|
|
84
|
-
}
|
|
85
|
-
}, {
|
|
86
|
-
key: 'render',
|
|
87
|
-
value: function render() {
|
|
88
|
-
var _props3 = this.props,
|
|
89
|
-
id = _props3.id,
|
|
90
|
-
type = _props3.type,
|
|
91
|
-
subject = _props3.subject,
|
|
92
|
-
info = _props3.info,
|
|
93
|
-
submitText = _props3.submitText,
|
|
94
|
-
cancelText = _props3.cancelText,
|
|
95
|
-
iconName = _props3.iconName,
|
|
96
|
-
iconSize = _props3.iconSize,
|
|
97
|
-
submitType = _props3.submitType,
|
|
98
|
-
isIconMid = _props3.isIconMid,
|
|
99
|
-
needClose = _props3.needClose,
|
|
100
|
-
iconPalette = _props3.iconPalette,
|
|
101
|
-
isMore = _props3.isMore,
|
|
102
|
-
message = _props3.message,
|
|
103
|
-
isAnimate = _props3.isAnimate,
|
|
104
|
-
getLeftContainer = _props3.getLeftContainer,
|
|
105
|
-
getInnerBottomContainer = _props3.getInnerBottomContainer,
|
|
106
|
-
getBottomContainer = _props3.getBottomContainer,
|
|
107
|
-
getSubmitContainer = _props3.getSubmitContainer,
|
|
108
|
-
onSubmit = _props3.onSubmit,
|
|
109
|
-
onCancel = _props3.onCancel,
|
|
110
|
-
dataId = _props3.dataId;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
var animateClass = this.state.isClose ? style.rightanimate : style.leftanimate;
|
|
114
|
-
var animateRemoveClass = this.state.isClose ? style.rightanimate : style.leftnoanimate;
|
|
115
|
-
var channelIcon = React.createElement(Icon, { iconClass: style[iconPalette], name: iconName, size: iconSize });
|
|
116
|
-
|
|
117
|
-
return React.createElement(
|
|
118
|
-
Container,
|
|
119
|
-
{
|
|
120
|
-
className: style.container + ' ' + (isAnimate ? animateClass : animateRemoveClass) + ' ' + (style['alert' + type] ? style['alert' + type] : ''),
|
|
121
|
-
isCover: false,
|
|
122
|
-
dataId: dataId
|
|
123
|
-
},
|
|
124
|
-
React.createElement(
|
|
125
|
-
Box,
|
|
126
|
-
{ className: style.alertifychild, flexible: true },
|
|
127
|
-
React.createElement(
|
|
128
|
-
Container,
|
|
129
|
-
{ alignBox: 'row', className: style.alertifybanner },
|
|
130
|
-
React.createElement(
|
|
131
|
-
Box,
|
|
132
|
-
{ className: style.alertleft, flexible: true },
|
|
133
|
-
React.createElement(
|
|
134
|
-
Container,
|
|
135
|
-
{ align: isIconMid ? 'vertical' : '', alignBox: 'row' },
|
|
136
|
-
type != 'success' && !getLeftContainer ? React.createElement(
|
|
137
|
-
Box,
|
|
138
|
-
{ className: '' + style.alertico },
|
|
139
|
-
React.createElement(
|
|
140
|
-
'span',
|
|
141
|
-
null,
|
|
142
|
-
channelIcon
|
|
143
|
-
)
|
|
144
|
-
) : getLeftContainer ? React.createElement(
|
|
145
|
-
Box,
|
|
146
|
-
{ className: '' + style.alertico },
|
|
147
|
-
getLeftContainer()
|
|
148
|
-
) : null,
|
|
149
|
-
React.createElement(
|
|
150
|
-
Box,
|
|
151
|
-
{ flexible: true },
|
|
152
|
-
React.createElement(
|
|
153
|
-
Container,
|
|
154
|
-
{ align: 'vertical', alignBox: 'row', isCover: false },
|
|
155
|
-
type == 'success' ? React.createElement(
|
|
156
|
-
Box,
|
|
157
|
-
{ className: style.alertTitleLeft },
|
|
158
|
-
channelIcon
|
|
159
|
-
) : null,
|
|
160
|
-
React.createElement(
|
|
161
|
-
Box,
|
|
162
|
-
{ className: style.alertTitle, flexible: true },
|
|
163
|
-
subject
|
|
164
|
-
)
|
|
165
|
-
),
|
|
166
|
-
info ? React.createElement(
|
|
167
|
-
'p',
|
|
168
|
-
{ className: style.alertMessage },
|
|
169
|
-
info
|
|
170
|
-
) : null,
|
|
171
|
-
getInnerBottomContainer ? React.createElement(
|
|
172
|
-
'div',
|
|
173
|
-
null,
|
|
174
|
-
getInnerBottomContainer()
|
|
175
|
-
) : null
|
|
176
|
-
),
|
|
177
|
-
type == 'information' ? React.createElement(
|
|
178
|
-
Box,
|
|
179
|
-
{
|
|
180
|
-
className: style.closeIconPrimary,
|
|
181
|
-
onClick: this.closePop,
|
|
182
|
-
dataId: dataId + '_close'
|
|
183
|
-
},
|
|
184
|
-
React.createElement(Icon, { isBold: true, name: 'ZD-close', size: '18' })
|
|
185
|
-
) : null
|
|
186
|
-
)
|
|
187
|
-
),
|
|
188
|
-
type != 'information' ? React.createElement(
|
|
189
|
-
Box,
|
|
190
|
-
{ className: style.alertright },
|
|
191
|
-
React.createElement(
|
|
192
|
-
Container,
|
|
193
|
-
{ className: style.alerttab },
|
|
194
|
-
needClose ? React.createElement(
|
|
195
|
-
'span',
|
|
196
|
-
{
|
|
197
|
-
className: style.closeIcon,
|
|
198
|
-
onClick: this.closePop,
|
|
199
|
-
'data-id': dataId + '_closeRight'
|
|
200
|
-
},
|
|
201
|
-
React.createElement(Icon, { name: 'ZD-close', size: '18' })
|
|
202
|
-
) : null,
|
|
203
|
-
submitText ? React.createElement(
|
|
204
|
-
Box,
|
|
205
|
-
{
|
|
206
|
-
className: (getSubmitContainer ? style.sumbitBorder : cancelText ? style.notSolo : style.mainbutton) + ' ' + (getSubmitContainer ? '' : style[submitType]) + ' ',
|
|
207
|
-
flexible: true,
|
|
208
|
-
onClick: function onClick() {
|
|
209
|
-
onSubmit && onSubmit();
|
|
210
|
-
popNotificationAction.ob.resolve(id);
|
|
211
|
-
},
|
|
212
|
-
dataId: dataId + '_submitButton'
|
|
213
|
-
},
|
|
214
|
-
React.createElement(
|
|
215
|
-
Container,
|
|
216
|
-
{ align: 'vertical', alignBox: 'row' },
|
|
217
|
-
getSubmitContainer ? React.createElement(
|
|
218
|
-
Box,
|
|
219
|
-
{ flexible: true },
|
|
220
|
-
getSubmitContainer()
|
|
221
|
-
) : React.createElement(
|
|
222
|
-
Box,
|
|
223
|
-
{ className: style.buttonText, flexible: true },
|
|
224
|
-
submitText
|
|
225
|
-
)
|
|
226
|
-
)
|
|
227
|
-
) : null,
|
|
228
|
-
cancelText ? React.createElement(
|
|
229
|
-
Box,
|
|
230
|
-
{
|
|
231
|
-
className: '' + style.cancelButton,
|
|
232
|
-
flexible: true,
|
|
233
|
-
onClick: this.closePop,
|
|
234
|
-
dataId: dataId + '_cancelButton'
|
|
235
|
-
},
|
|
236
|
-
React.createElement(
|
|
237
|
-
Container,
|
|
238
|
-
{ align: 'vertical', alignBox: 'row' },
|
|
239
|
-
React.createElement(
|
|
240
|
-
Box,
|
|
241
|
-
{
|
|
242
|
-
className: '' + style.buttonText,
|
|
243
|
-
flexible: true,
|
|
244
|
-
onClick: function onClick() {
|
|
245
|
-
onCancel && onCancel();
|
|
246
|
-
popNotificationAction.ob.reject(id);
|
|
247
|
-
},
|
|
248
|
-
dataId: dataId + '_cancelButtonInner'
|
|
249
|
-
},
|
|
250
|
-
cancelText
|
|
251
|
-
),
|
|
252
|
-
isMore ? React.createElement(
|
|
253
|
-
Box,
|
|
254
|
-
{
|
|
255
|
-
className: style.dropdown,
|
|
256
|
-
onClick: this.messageOff,
|
|
257
|
-
dataId: dataId + '_moreIcon'
|
|
258
|
-
},
|
|
259
|
-
React.createElement(Icon, { name: 'ZD-down', size: '7' })
|
|
260
|
-
) : null
|
|
261
|
-
)
|
|
262
|
-
) : null
|
|
263
|
-
)
|
|
264
|
-
) : null
|
|
265
|
-
)
|
|
266
|
-
),
|
|
267
|
-
isMore ? React.createElement(
|
|
268
|
-
Box,
|
|
269
|
-
{
|
|
270
|
-
className: style.message + ' ' + (this.state.messageState ? '' : style.messageOff),
|
|
271
|
-
tagName: 'p'
|
|
272
|
-
},
|
|
273
|
-
message
|
|
274
|
-
) : null,
|
|
275
|
-
getBottomContainer ? React.createElement(
|
|
276
|
-
Box,
|
|
277
|
-
null,
|
|
278
|
-
getBottomContainer()
|
|
279
|
-
) : null
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
}]);
|
|
283
|
-
|
|
284
|
-
return ToastMessage;
|
|
285
|
-
}(React.Component);
|
|
286
|
-
|
|
287
|
-
export default ToastMessage;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
ToastMessage.propTypes = {
|
|
291
|
-
autoClose: PropTypes.bool,
|
|
292
|
-
cancelText: PropTypes.string,
|
|
293
|
-
getBottomContainer: PropTypes.func,
|
|
294
|
-
getInnerBottomContainer: PropTypes.func,
|
|
295
|
-
getLeftContainer: PropTypes.func,
|
|
296
|
-
getSubmitContainer: PropTypes.func,
|
|
297
|
-
hidePopNotification: PropTypes.func,
|
|
298
|
-
hideTime: PropTypes.string,
|
|
299
|
-
iconName: PropTypes.string,
|
|
300
|
-
iconPalette: PropTypes.oneOf(['successFill', 'dangerFill', 'dangerShadow', 'successPlain', 'dangerPlain', 'primaryPlain']),
|
|
301
|
-
iconSize: PropTypes.string,
|
|
302
|
-
id: PropTypes.string,
|
|
303
|
-
info: PropTypes.string,
|
|
304
|
-
isAnimate: PropTypes.bool,
|
|
305
|
-
isClose: PropTypes.bool,
|
|
306
|
-
isIconMid: PropTypes.bool,
|
|
307
|
-
isMore: PropTypes.bool,
|
|
308
|
-
message: PropTypes.string,
|
|
309
|
-
messageState: PropTypes.bool,
|
|
310
|
-
needClose: PropTypes.bool,
|
|
311
|
-
onCancel: PropTypes.func,
|
|
312
|
-
onSubmit: PropTypes.func,
|
|
313
|
-
subject: PropTypes.string,
|
|
314
|
-
submitText: PropTypes.string,
|
|
315
|
-
submitType: PropTypes.oneOf(['primary', 'danger', 'success']),
|
|
316
|
-
type: PropTypes.oneOf(['primary', 'information', 'secondary', 'success']),
|
|
317
|
-
dataId: PropTypes.string
|
|
318
|
-
};
|
|
53
|
+
function onClickCancel(e) {
|
|
54
|
+
onCancel && onCancel();
|
|
55
|
+
onClose && onClose();
|
|
56
|
+
}
|
|
319
57
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
isIconMid: false,
|
|
325
|
-
needClose: false,
|
|
326
|
-
type: 'primary',
|
|
327
|
-
isMore: false,
|
|
328
|
-
messageState: false,
|
|
329
|
-
isAnimate: true,
|
|
330
|
-
isClose: false,
|
|
331
|
-
autoClose: false,
|
|
332
|
-
hideTime: '3000',
|
|
333
|
-
dataId: 'toastMessage'
|
|
334
|
-
};
|
|
58
|
+
function changeMessageState(e) {
|
|
59
|
+
cancelBubblingEffect(e);
|
|
60
|
+
setMessageState(!messageState);
|
|
61
|
+
}
|
|
335
62
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
63
|
+
let animateClass = isClose ? style.rightanimate : style.leftanimate;
|
|
64
|
+
let animateRemoveClass = isClose ? style.rightanimate : style.leftnoanimate;
|
|
65
|
+
let channelIcon = /*#__PURE__*/React.createElement(Icon, {
|
|
66
|
+
iconClass: style[iconPalette],
|
|
67
|
+
name: iconName,
|
|
68
|
+
size: iconSize
|
|
69
|
+
});
|
|
70
|
+
let getNextIndex = useZIndex();
|
|
71
|
+
let Zindex = isAnimate ? getNextIndex() : null,
|
|
72
|
+
getNextId = useUniqueId(),
|
|
73
|
+
titleId = getNextId(),
|
|
74
|
+
infoId = getNextId();
|
|
75
|
+
let {
|
|
76
|
+
role = 'alert',
|
|
77
|
+
ariaLive = 'assertive',
|
|
78
|
+
ariaAtomic = true,
|
|
79
|
+
ariaDescribedby = infoId,
|
|
80
|
+
ariaLabelledby = titleId
|
|
81
|
+
} = a11y;
|
|
82
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
83
|
+
className: `${style.container} ${isAnimate ? animateClass : animateRemoveClass} ${style[`alert${type}`] ? style[`alert${type}`] : ''}`,
|
|
84
|
+
isCover: false,
|
|
85
|
+
dataId: dataId,
|
|
86
|
+
style: needAutoZindex && isAnimate ? {
|
|
87
|
+
zIndex: `${Zindex}`
|
|
88
|
+
} : {},
|
|
89
|
+
role: role,
|
|
90
|
+
"aria-live": ariaLive,
|
|
91
|
+
"aria-atomic": ariaAtomic,
|
|
92
|
+
"aria-describedby": ariaDescribedby,
|
|
93
|
+
"aria-labelledby": ariaLabelledby,
|
|
94
|
+
dataSelectorId: dataSelectorId
|
|
95
|
+
}, type !== 'custom' ? /*#__PURE__*/React.createElement(Box, {
|
|
96
|
+
className: style.alertifychild,
|
|
97
|
+
flexible: true
|
|
98
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
99
|
+
alignBox: "row",
|
|
100
|
+
className: style.alertifybanner
|
|
101
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
102
|
+
className: style.alertleft,
|
|
103
|
+
flexible: true
|
|
104
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
105
|
+
align: isIconMid ? 'vertical' : '',
|
|
106
|
+
alignBox: "row"
|
|
107
|
+
}, type != 'success' && !getLeftContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
108
|
+
className: `${style.alertico}`
|
|
109
|
+
}, /*#__PURE__*/React.createElement("span", null, channelIcon)) : getLeftContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
110
|
+
className: `${style.alertico}`
|
|
111
|
+
}, getLeftContainer()) : null, /*#__PURE__*/React.createElement(Box, {
|
|
112
|
+
flexible: true
|
|
113
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
114
|
+
align: "vertical",
|
|
115
|
+
alignBox: "row",
|
|
116
|
+
isCover: false
|
|
117
|
+
}, type == 'success' ? /*#__PURE__*/React.createElement(Box, {
|
|
118
|
+
className: style.alertTitleLeft
|
|
119
|
+
}, channelIcon) : null, /*#__PURE__*/React.createElement(Box, {
|
|
120
|
+
className: style.alertTitle,
|
|
121
|
+
flexible: true,
|
|
122
|
+
"data-title": subject,
|
|
123
|
+
id: titleId
|
|
124
|
+
}, subject)), info ? /*#__PURE__*/React.createElement("p", {
|
|
125
|
+
className: style.alertMessage,
|
|
126
|
+
"data-title": info,
|
|
127
|
+
id: infoId
|
|
128
|
+
}, info) : null, getInnerBottomContainer ? /*#__PURE__*/React.createElement("div", null, getInnerBottomContainer()) : null), type == 'information' && needClose ? /*#__PURE__*/React.createElement(Box, {
|
|
129
|
+
className: `${a11yStyle.buttonReset} ${style.closeIconPrimary}`,
|
|
130
|
+
onClick: onClose,
|
|
131
|
+
dataId: `${dataId}_close`,
|
|
132
|
+
tagName: "button"
|
|
133
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
134
|
+
isBold: true,
|
|
135
|
+
name: "ZD-close",
|
|
136
|
+
size: "18"
|
|
137
|
+
})) : null)), type != 'information' ? /*#__PURE__*/React.createElement(Box, {
|
|
138
|
+
className: style.alertright
|
|
139
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
140
|
+
className: style.alerttab
|
|
141
|
+
}, needClose ? /*#__PURE__*/React.createElement("button", {
|
|
142
|
+
className: `${a11yStyle.buttonReset} ${style.closeIcon}`,
|
|
143
|
+
onClick: onClose,
|
|
144
|
+
"data-id": `${dataId}_closeRight`,
|
|
145
|
+
"data-test-id": `${dataId}_closeRight`
|
|
146
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
147
|
+
name: "ZD-close",
|
|
148
|
+
size: "18"
|
|
149
|
+
})) : null, submitText ? /*#__PURE__*/React.createElement(Box, {
|
|
150
|
+
className: `${getSubmitContainer ? style.sumbitBorder : cancelText ? style.notSolo : style.mainbutton} ${getSubmitContainer ? '' : style[submitType]} `,
|
|
151
|
+
flexible: true,
|
|
152
|
+
onClick: onClickSubmit,
|
|
153
|
+
dataId: `${dataId}_submitButton`
|
|
154
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
155
|
+
align: "vertical",
|
|
156
|
+
alignBox: "row"
|
|
157
|
+
}, getSubmitContainer ? /*#__PURE__*/React.createElement(Box, {
|
|
158
|
+
flexible: true
|
|
159
|
+
}, getSubmitContainer()) : /*#__PURE__*/React.createElement(Box, {
|
|
160
|
+
className: `${a11yStyle.buttonReset} ${style.buttonText}`,
|
|
161
|
+
flexible: true,
|
|
162
|
+
tagName: "button"
|
|
163
|
+
}, submitText))) : null, cancelText ? /*#__PURE__*/React.createElement(Box, {
|
|
164
|
+
className: `${style.cancelButton}`,
|
|
165
|
+
flexible: true,
|
|
166
|
+
onClick: onClose,
|
|
167
|
+
dataId: `${dataId}_cancelButton`
|
|
168
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
169
|
+
align: "vertical",
|
|
170
|
+
alignBox: "row"
|
|
171
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
172
|
+
className: `${a11yStyle.buttonReset} ${style.buttonText}`,
|
|
173
|
+
flexible: true,
|
|
174
|
+
onClick: onClickCancel,
|
|
175
|
+
dataId: `${dataId}_cancelButtonInner`,
|
|
176
|
+
tagName: "button"
|
|
177
|
+
}, cancelText), isMore ? /*#__PURE__*/React.createElement(Box, {
|
|
178
|
+
className: `${a11yStyle.buttonReset} ${style.dropdown}`,
|
|
179
|
+
onClick: changeMessageState,
|
|
180
|
+
dataId: `${dataId}_moreIcon`,
|
|
181
|
+
tagName: "button",
|
|
182
|
+
"aria-expanded": messageState ? true : false,
|
|
183
|
+
"aria-haspopup": true
|
|
184
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
185
|
+
name: "ZD-down",
|
|
186
|
+
size: "7"
|
|
187
|
+
})) : null)) : null)) : null)) : null, isMore ? /*#__PURE__*/React.createElement(Box, {
|
|
188
|
+
className: `${style.message} ${messageState ? '' : style.messageOff}`,
|
|
189
|
+
tagName: "p"
|
|
190
|
+
}, message) : null, getBottomContainer ? /*#__PURE__*/React.createElement(Box, null, getBottomContainer()) : null);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export default function ToastMessage(props) {
|
|
194
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
195
|
+
Element: ToastMessageUI
|
|
196
|
+
}));
|
|
197
|
+
}
|
|
198
|
+
ToastMessage.propTypes = propTypes;
|
|
199
|
+
ToastMessage.defaultProps = defaultProps; // if (__DOCS__) {
|
|
200
|
+
// ToastMessage.docs = {
|
|
201
|
+
// componentGroup: 'Atom'
|
|
202
|
+
// };
|
|
203
|
+
// }
|