@zohodesk/dot 1.0.0-temp-38 → 1.0.0-temp-39
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 +883 -906
- package/__testUtils__/globals.js +0 -0
- package/dubFinder.js +96 -96
- package/es/ActionButton/ActionButton.js +2 -2
- package/es/ActionButton/ActionButton.module.css +136 -136
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Appearance/dark/mode/dotDarkMode.module.css +536 -536
- package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +7 -7
- package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +7 -7
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +7 -7
- package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +7 -7
- package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +7 -7
- package/es/Appearance/default/mode/dotDefaultMode.module.css +536 -536
- package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +7 -7
- package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +7 -7
- package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +7 -7
- package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +7 -7
- package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +7 -7
- package/es/Attachment/Attachment.module.css +132 -132
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +0 -0
- package/es/Drawer/Drawer.module.css +151 -151
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.module.css +42 -42
- package/es/IconButton/IconButton.js +2 -2
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +1 -1
- package/es/Link/Link.module.css +3 -3
- package/es/Link/docs/Link__default.docs.js +0 -0
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.js +2 -1
- package/es/Message/Message.module.css +102 -102
- package/es/Message/docs/Message__default.docs.js +2 -1
- package/es/MessageBanner/MessageBanner.module.css +45 -45
- package/es/NewStar/NewStar.module.css +110 -110
- package/es/NewStar/docs/NewStar__default.docs.js +0 -0
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +16 -16
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -0
- package/es/Provider.js +35 -88
- package/es/ToastMessage/ToastMessage.js +0 -0
- package/es/ToastMessage/ToastMessage.module.css +332 -332
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -0
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -0
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -0
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -0
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +21 -22
- package/es/avatar/AvatarThread/AvatarThread.module.css +163 -163
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +55 -55
- package/es/deprecated/Theme/dotDarkTheme.module.css +532 -532
- package/es/deprecated/Theme/dotDefaultTheme.module.css +532 -532
- package/es/deprecated/Theme/palette/darkPalette.module.css +39 -39
- package/es/deprecated/Theme/palette/defaultPalette.module.css +39 -39
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +9 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +97 -97
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/Fields.module.css +181 -181
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.js +4 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +634 -654
- package/es/form/fields/TextEditorField/TextEditorField.js +3 -5
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +12 -12
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Field/docs/Field__default.docs.js +0 -0
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -146
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +22 -22
- package/es/list/GridStencils/GridStencils.module.css +156 -156
- package/es/list/Icons/FloatingIcons.js +1 -1
- package/es/list/Icons/Icons.module.css +15 -15
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +1 -7
- package/es/list/ListLayout/ListLayout.module.css +33 -33
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -37
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +115 -115
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.js +1 -1
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +89 -89
- package/es/list/status/StatusListItem/StatusListItem.js +0 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +0 -0
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +14 -14
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +51 -51
- package/es/lookup/header/lookupHeaderCommon.module.css +35 -35
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -0
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +2 -1
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/utils/KeyboardApi.js +26 -28
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.js +2 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -124
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/version2/errorstate/{V2_ErrorStates.module.css → Inconvenience/V2_Inconvenience.module.css} +46 -46
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -3
- package/{lib/version2/errorstate/V2_ErrorStates.module.css → es/version2/errorstate/OopsSomethingMiss/V2_OopsSomethingMiss.module.css} +46 -46
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/{src/version2/errorstate/V2_ErrorStates.module.css → es/version2/errorstate/UnableToProcessRequest/V2_UnableToProcessRequest.module.css} +46 -46
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -4
- package/es/version2/errorstate/UnauthorizedLogin/V2_UnauthorizedLogin.module.css +46 -0
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/version2/errorstate/UrlNotFound/V2_UrlNotFound.module.css +46 -0
- package/es/version2/errorstate/WillBeRightBack/V2_WillBeRightBack.module.css +46 -0
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/es/version2/lookup/AlertLookup/AlertLookup.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +110 -110
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/lib/ActionButton/ActionButton.js +3 -3
- package/lib/ActionButton/ActionButton.module.css +136 -136
- package/lib/ActionButton/docs/ActionButton__default.docs.js +1 -1
- package/lib/AlphabeticList/AlphabeticList.js +1 -1
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +1 -1
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +1 -1
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -536
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +7 -7
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +7 -7
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +7 -7
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +7 -7
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +7 -7
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -536
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +7 -7
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +7 -7
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +7 -7
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +7 -7
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +7 -7
- package/lib/Attachment/Attachment.js +1 -1
- package/lib/Attachment/Attachment.module.css +132 -132
- package/lib/Attachment/docs/Attachment__default.docs.js +1 -1
- package/lib/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +1 -1
- package/lib/Drawer/Drawer.js +1 -1
- package/lib/Drawer/Drawer.module.css +151 -151
- package/lib/Drawer/docs/Drawer__default.docs.js +1 -1
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +1 -1
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +1 -1
- package/lib/Drawer/docs/Drawer__withModal.docs.js +1 -1
- package/lib/ExternalLink/ExternalLink.js +1 -1
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +1 -1
- package/lib/FlipCard/FlipCard.js +1 -1
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FlipCard/docs/FlipCard__default.docs.js +1 -1
- package/lib/FormAction/FormAction.js +1 -1
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FormAction/docs/FormAction__default.docs.js +1 -1
- package/lib/FreezeLayer/FreezeLayer.js +1 -1
- package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +1 -1
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +1 -1
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/IconButton/docs/IconButton__default.docs.js +1 -1
- package/lib/Image/Image.js +1 -1
- package/lib/Image/Image.module.css +10 -10
- package/lib/Image/docs/Image__default.docs.js +1 -1
- package/lib/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +1 -1
- package/lib/Link/Link.js +2 -2
- package/lib/Link/Link.module.css +3 -3
- package/lib/Link/docs/Link__default.docs.js +1 -1
- package/lib/Loader/Loader.js +1 -1
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Loader/docs/Loader__default.docs.js +1 -1
- package/lib/Message/Message.js +4 -2
- package/lib/Message/Message.module.css +102 -102
- package/lib/Message/docs/Message__default.docs.js +3 -2
- package/lib/MessageBanner/MessageBanner.js +1 -1
- package/lib/MessageBanner/MessageBanner.module.css +45 -45
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +1 -1
- package/lib/NewStar/NewStar.js +1 -1
- package/lib/NewStar/NewStar.module.css +110 -110
- package/lib/NewStar/docs/NewStar__default.docs.js +1 -1
- package/lib/PlusIcon/PlusIcon.js +1 -1
- package/lib/PlusIcon/PlusIcon.module.css +16 -16
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +1 -1
- package/lib/Provider.js +38 -113
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/ToastMessage/ToastMessage.module.css +332 -332
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +1 -1
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +1 -1
- package/lib/Upload/Upload.js +1 -1
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/Upload/docs/Upload__default.docs.js +1 -1
- package/lib/actions/AutoClose.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +1 -1
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +1 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +1 -1
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +22 -23
- package/lib/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/avatar/AvatarThread/AvatarThread.module.css +163 -163
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +55 -55
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +1 -1
- package/lib/deprecated/Theme/dotDarkTheme.module.css +532 -532
- package/lib/deprecated/Theme/dotDefaultTheme.module.css +532 -532
- package/lib/deprecated/Theme/palette/darkPalette.module.css +39 -39
- package/lib/deprecated/Theme/palette/defaultPalette.module.css +39 -39
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +68 -84
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +97 -97
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +1 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +1 -1
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +1 -1
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +1 -1
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +1 -1
- package/lib/errorstate/LinkText/LinkText.js +1 -1
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +1 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +1 -1
- package/lib/errorstate/WillBack/WillBack.js +1 -1
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +1 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/form/fields/DateField/DateField.js +1 -1
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +1 -1
- package/lib/form/fields/Fields.module.css +181 -181
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +1 -1
- package/lib/form/fields/PhoneField/PhoneField.js +1 -1
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +1 -1
- package/lib/form/fields/RadioField/RadioField.js +1 -1
- package/lib/form/fields/SelectField/SelectField.js +1 -1
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +1 -1
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.js +5 -10
- package/lib/form/fields/TextEditor/TextEditor.module.css +634 -654
- package/lib/form/fields/TextEditorField/TextEditorField.js +47 -50
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/TextareaField/TextareaField.js +1 -1
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +1 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +1 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +12 -12
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +1 -1
- package/lib/form/layout/Field/Field.js +1 -1
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Field/docs/Field__default.docs.js +1 -1
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +1 -1
- package/lib/form/layout/Section/docs/Section__default.docs.js +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +1 -1
- package/lib/layout/SubtabLayout/SubtabLayout.js +1 -1
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -146
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +1 -1
- package/lib/list/AvatarFlip/AvatarFlip.js +1 -1
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +1 -1
- package/lib/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +1 -1
- package/lib/list/Comment/Comment.js +1 -1
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/Comment/docs/Comment__default.docs.js +1 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/Dot/Dot.js +1 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.js +1 -1
- package/lib/list/DotNew/DotNew.module.css +22 -22
- package/lib/list/DotNew/docs/DotNew__default.docs.js +1 -1
- package/lib/list/GridStencils/GridStencils.js +1 -1
- package/lib/list/GridStencils/GridStencils.module.css +156 -156
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +1 -1
- package/lib/list/Icons/AddNewIcon.js +1 -1
- package/lib/list/Icons/CompleteIcon.js +1 -1
- package/lib/list/Icons/DeleteIcon.js +1 -1
- package/lib/list/Icons/EditIcon.js +1 -1
- package/lib/list/Icons/FloatingIcons.js +2 -2
- package/lib/list/Icons/Icons.module.css +15 -15
- package/lib/list/Icons/SmartIcon.js +1 -1
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +2 -9
- package/lib/list/ListLayout/ListLayout.js +1 -1
- package/lib/list/ListLayout/ListLayout.module.css +33 -33
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +1 -1
- package/lib/list/ListStencils/ListStencils.js +1 -1
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +1 -1
- package/lib/list/SecondaryText/AccountName.js +1 -1
- package/lib/list/SecondaryText/ContactName.js +1 -1
- package/lib/list/SecondaryText/DepartmentText.js +1 -1
- package/lib/list/SecondaryText/Email.js +1 -1
- package/lib/list/SecondaryText/HappinessRating.js +1 -1
- package/lib/list/SecondaryText/PhoneNumber.js +1 -1
- package/lib/list/SecondaryText/PriorityText.js +1 -1
- package/lib/list/SecondaryText/SecondaryText.js +1 -1
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/StatusText.js +1 -1
- package/lib/list/SecondaryText/TicketId.js +1 -1
- package/lib/list/SecondaryText/Website.js +1 -1
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +1 -1
- package/lib/list/SecondryPanel/SecondryPanel.js +1 -1
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -37
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +1 -1
- package/lib/list/SentimentStatus/SentimentStatus.js +1 -1
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +1 -1
- package/lib/list/Subject/Subject.js +1 -1
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/Subject/docs/Subject__default.docs.js +1 -1
- package/lib/list/TagNew/TagNew.js +1 -1
- package/lib/list/TagNew/TagNew.module.css +115 -115
- package/lib/list/TagNew/docs/TagNew__default.docs.js +1 -1
- package/lib/list/Thread/Thread.js +1 -1
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/Thread/docs/Thread__default.docs.js +1 -1
- package/lib/list/UserTime/UserTime.js +2 -2
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/UserTime/docs/UserTime__default.docs.js +1 -1
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +89 -89
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +1 -1
- package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +1 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +1 -1
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +15 -15
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +1 -1
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/Section/Section.js +1 -1
- package/lib/lookup/header/Close/Close.js +1 -1
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/Close/docs/Close__default.docs.js +1 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +1 -1
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +1 -1
- package/lib/lookup/header/Search/docs/Search__default.docs.js +1 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +1 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/Title/Title.js +1 -1
- package/lib/lookup/header/Title/docs/Title__default.docs.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +51 -51
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +1 -1
- package/lib/lookup/header/lookupHeaderCommon.module.css +35 -35
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/Button.js +1 -1
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Button/docs/Button__default.docs.js +1 -1
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Link/Link.js +1 -1
- package/lib/setup/header/Link/docs/Link__default.docs.js +1 -1
- package/lib/setup/header/Search/Search.js +1 -1
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Search/docs/Search__default.docs.js +1 -1
- package/lib/setup/header/Views/Views.js +1 -1
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/header/Views/docs/Views__default.docs.js +1 -1
- package/lib/setup/helptips/Description/Description.js +1 -1
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +1 -1
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +4 -2
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +1 -1
- package/lib/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +1 -1
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +1 -1
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +1 -1
- package/lib/setup/table/Table/Table.js +1 -1
- package/lib/setup/table/Table/docs/Table__default.docs.js +1 -1
- package/lib/setup/table/TableBody/TableBody.js +1 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/TableData.js +1 -1
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableHead/TableHead.js +1 -1
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/TableRow/TableRow.js +1 -1
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +1 -1
- package/lib/setup/table/Text/docs/Text__default.docs.js +1 -1
- package/lib/svg/PlusIcon.js +2 -2
- package/lib/svg/SnippetIcon.js +3 -3
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/svg/docs/SVG__default.docs.js +1 -1
- package/lib/utils/KeyboardApi.js +26 -28
- package/lib/version2/AlertClose/AlertClose.js +1 -1
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +4 -2
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -124
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +1 -1
- package/lib/version2/alertIcons/AlarmAlertIcon.js +1 -1
- package/lib/version2/alertIcons/AlertIcons.js +1 -1
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/alertIcons/DangerAlertIcon.js +1 -1
- package/lib/version2/alertIcons/ErrorAlertIcon.js +1 -1
- package/lib/version2/alertIcons/InfoAlertIcon.js +1 -1
- package/lib/version2/alertIcons/NotificationAlertIcon.js +1 -1
- package/lib/version2/alertIcons/SuccessAlertIcon.js +1 -1
- package/lib/version2/alertIcons/WarningAlertIcon.js +1 -1
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +1 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +8 -8
- package/lib/version2/errorstate/Inconvenience/V2_Inconvenience.module.css +46 -0
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +1 -1
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +9 -10
- package/lib/version2/errorstate/OopsSomethingMiss/V2_OopsSomethingMiss.module.css +46 -0
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +1 -1
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +8 -8
- package/lib/version2/errorstate/UnableToProcessRequest/V2_UnableToProcessRequest.module.css +46 -0
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +1 -1
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +10 -11
- package/lib/version2/errorstate/UnauthorizedLogin/V2_UnauthorizedLogin.module.css +46 -0
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +1 -1
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +8 -8
- package/lib/version2/errorstate/UrlNotFound/V2_UrlNotFound.module.css +46 -0
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +1 -1
- package/lib/version2/errorstate/WillBeRightBack/V2_WillBeRightBack.module.css +46 -0
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +8 -8
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +1 -1
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +2 -2
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +1 -1
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +110 -110
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +1 -1
- package/package.json +77 -75
- package/src/ActionButton/ActionButton.js +197 -197
- package/src/ActionButton/ActionButton.module.css +120 -120
- package/src/ActionButton/docs/ActionButton__default.docs.js +110 -110
- package/src/AlphabeticList/AlphabeticList.js +171 -171
- package/src/AlphabeticList/AlphabeticList.module.css +54 -54
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +36 -36
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +44 -44
- package/src/Appearance/dark/mode/dotDarkMode.module.css +536 -536
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +7 -7
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +7 -7
- package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +7 -7
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +7 -7
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +7 -7
- package/src/Appearance/default/mode/dotDefaultMode.module.css +536 -536
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +7 -7
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +7 -7
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +7 -7
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +7 -7
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +7 -7
- package/src/Attachment/Attachment.js +119 -119
- package/src/Attachment/Attachment.module.css +121 -121
- package/src/Attachment/docs/Attachment__default.docs.js +63 -63
- package/src/ChannelIcon/ChannelIcon.js +154 -154
- package/src/ChannelIcon/ChannelIcon.module.css +208 -208
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +63 -63
- package/src/Drawer/Drawer.js +388 -388
- package/src/Drawer/Drawer.module.css +103 -103
- package/src/Drawer/docs/Drawer__default.docs.js +86 -86
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +111 -111
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +20 -20
- package/src/Drawer/docs/Drawer__withModal.docs.js +76 -76
- package/src/ExternalLink/ExternalLink.js +70 -70
- package/src/ExternalLink/ExternalLink.module.css +3 -3
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +28 -28
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +24 -24
- package/src/FlipCard/FlipCard.js +193 -193
- package/src/FlipCard/FlipCard.module.css +35 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +76 -76
- package/src/FormAction/FormAction.js +126 -126
- package/src/FormAction/FormAction.module.css +57 -57
- package/src/FormAction/docs/FormAction__default.docs.js +93 -93
- package/src/FreezeLayer/FreezeLayer.js +159 -159
- package/src/FreezeLayer/FreezeLayer.module.css +38 -38
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +52 -52
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +51 -51
- package/src/IconButton/IconButton.js +186 -186
- package/src/IconButton/IconButton.module.css +22 -22
- package/src/IconButton/docs/IconButton__default.docs.js +158 -158
- package/src/Image/Image.js +58 -58
- package/src/Image/Image.module.css +10 -10
- package/src/Image/docs/Image__default.docs.js +18 -18
- package/src/ImportantNotes/ImportantNotes.js +57 -57
- package/src/ImportantNotes/ImportantNotes.module.css +15 -15
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -22
- package/src/Link/Link.js +117 -117
- package/src/Link/Link.module.css +3 -3
- package/src/Link/LinkContext.js +9 -9
- package/src/Link/docs/Link__default.docs.js +91 -91
- package/src/Loader/Loader.js +21 -21
- package/src/Loader/Loader.module.css +25 -25
- package/src/Loader/docs/Loader__default.docs.js +21 -21
- package/src/Message/Message.js +109 -109
- package/src/Message/Message.module.css +69 -69
- package/src/Message/docs/Message__default.docs.js +54 -53
- package/src/MessageBanner/MessageBanner.js +79 -79
- package/src/MessageBanner/MessageBanner.module.css +37 -37
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +87 -87
- package/src/NewStar/NewStar.js +83 -83
- package/src/NewStar/NewStar.module.css +73 -73
- package/src/NewStar/docs/NewStar__default.docs.js +39 -39
- package/src/PlusIcon/PlusIcon.js +64 -64
- package/src/PlusIcon/PlusIcon.module.css +16 -16
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +18 -18
- package/src/Provider.js +200 -249
- package/src/ToastMessage/ToastMessage.js +315 -315
- package/src/ToastMessage/ToastMessage.module.css +259 -259
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +97 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +57 -57
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +135 -135
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +40 -40
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +68 -68
- package/src/Upload/Upload.js +103 -103
- package/src/Upload/Upload.module.css +106 -106
- package/src/Upload/docs/Upload__default.docs.js +72 -72
- package/src/actions/AutoClose.js +51 -51
- package/src/actions/index.js +22 -22
- package/src/alert/AlertHeader/AlertHeader.js +122 -122
- package/src/alert/AlertHeader/AlertHeader.module.css +62 -62
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +73 -73
- package/src/alert/AlertLookup/AlertLookup.js +211 -211
- package/src/alert/AlertLookup/AlertLookup.module.css +22 -22
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +124 -124
- package/src/avatar/AvatarClose/AvatarClose.js +49 -49
- package/src/avatar/AvatarClose/AvatarClose.module.css +31 -31
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -26
- package/src/avatar/AvatarCollision/AvatarCollision.js +81 -81
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +55 -55
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +40 -40
- package/src/avatar/AvatarIcon/AvatarIcon.js +99 -99
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +59 -59
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +49 -49
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +36 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +95 -95
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +96 -96
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +38 -38
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +63 -63
- package/src/avatar/AvatarThread/AvatarThread.js +131 -131
- package/src/avatar/AvatarThread/AvatarThread.module.css +113 -113
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +167 -167
- package/src/avatar/AvatarUser/AvatarUser.js +160 -160
- package/src/avatar/AvatarUser/AvatarUser.module.css +100 -100
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +148 -148
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +134 -134
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +16 -16
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +50 -50
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +28 -28
- package/src/deprecated/SelectDropdown/SelectDropdown.js +122 -122
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +47 -47
- package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +31 -31
- package/src/deprecated/Theme/dotDarkTheme.module.css +532 -532
- package/src/deprecated/Theme/dotDefaultTheme.module.css +532 -532
- package/src/deprecated/Theme/palette/darkPalette.module.css +39 -39
- package/src/deprecated/Theme/palette/defaultPalette.module.css +39 -39
- package/src/docs/formDocs.js +26 -26
- package/src/docs/generalDocs.js +161 -161
- package/src/docs/lookupDocs.js +51 -51
- package/src/docs/setupDocs.js +27 -27
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +931 -944
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +84 -84
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +242 -242
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +116 -116
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +77 -77
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +107 -107
- package/src/emptystate/EditionPage/EditionPage.css +37 -37
- package/src/emptystate/EditionPage/EditionPage.js +69 -69
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +23 -23
- package/src/errorstate/EmptyStates.module.css +84 -84
- package/src/errorstate/Inconvenience/Inconvenience.js +132 -132
- package/src/errorstate/Inconvenience/Inconvenience.module.css +4 -4
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -19
- package/src/errorstate/LinkText/LinkText.js +35 -35
- package/src/errorstate/LinkText/LinkText.module.css +6 -6
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +13 -13
- package/src/errorstate/NoRequestFound/NoRequestFound.js +132 -132
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +127 -127
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +132 -132
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +130 -130
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +130 -130
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -20
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -19
- package/src/errorstate/WillBack/WillBack.js +120 -120
- package/src/errorstate/WillBack/WillBack.module.css +36 -36
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +21 -21
- package/src/form/fields/CheckBoxField/CheckBoxField.js +220 -220
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +32 -32
- package/src/form/fields/CurrencyField/CurrencyField.js +267 -267
- package/src/form/fields/DateField/DateField.js +281 -281
- package/src/form/fields/DateField/docs/DateField__default.docs.js +24 -24
- package/src/form/fields/Fields.module.css +145 -145
- package/src/form/fields/MultiSelectField/MultiSelectField.js +311 -311
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +53 -53
- package/src/form/fields/PhoneField/PhoneField.js +227 -227
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -26
- package/src/form/fields/RadioField/RadioField.js +181 -181
- package/src/form/fields/SelectField/SelectField.js +296 -296
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +48 -48
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +323 -323
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +95 -95
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +55 -55
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +342 -342
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +6 -6
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +58 -58
- package/src/form/fields/TextBoxField/TextBoxField.js +274 -274
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +38 -38
- package/src/form/fields/TextEditor/TextEditor.js +430 -436
- package/src/form/fields/TextEditor/TextEditor.module.css +568 -582
- package/src/form/fields/TextEditorField/TextEditorField.js +280 -286
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +62 -62
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +239 -239
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +25 -25
- package/src/form/fields/TextareaField/TextareaField.js +247 -247
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +25 -25
- package/src/form/fields/ValidationMessage/ValidationMessage.js +55 -55
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +9 -9
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +19 -19
- package/src/form/layout/Field/Field.js +53 -53
- package/src/form/layout/Field/Field.module.css +22 -22
- package/src/form/layout/Field/docs/Field__default.docs.js +20 -20
- package/src/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/src/form/layout/Section/Section.js +47 -47
- package/src/form/layout/Section/docs/Section__default.docs.js +21 -21
- package/src/i18n.js +5498 -5498
- package/src/index.js +8 -8
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +274 -274
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +116 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +34 -34
- package/src/layout/SetupDetailLayout/index.js +4 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +235 -235
- package/src/layout/SubtabLayout/SubtabLayout.module.css +120 -120
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +53 -53
- package/src/layout/SubtabLayout/index.js +4 -4
- package/src/list/AvatarFlip/AvatarFlip.js +106 -106
- package/src/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +82 -82
- package/src/list/BluePrintStatus/BluePrintStatus.js +28 -28
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +14 -14
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +20 -20
- package/src/list/Comment/Comment.js +51 -51
- package/src/list/Comment/Comment.module.css +24 -24
- package/src/list/Comment/docs/Comment__default.docs.js +22 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +119 -119
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/src/list/Dot/Dot.js +27 -27
- package/src/list/Dot/Dot.module.css +15 -15
- package/src/list/DotNew/DotNew.js +29 -29
- package/src/list/DotNew/DotNew.module.css +22 -22
- package/src/list/DotNew/docs/DotNew__default.docs.js +18 -18
- package/src/list/GridStencils/GridStencils.js +46 -46
- package/src/list/GridStencils/GridStencils.module.css +102 -102
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +30 -30
- package/src/list/Icons/AddNewIcon.js +29 -29
- package/src/list/Icons/CompleteIcon.js +36 -30
- package/src/list/Icons/DeleteIcon.js +37 -31
- package/src/list/Icons/EditIcon.js +37 -31
- package/src/list/Icons/FloatingIcons.js +32 -32
- package/src/list/Icons/Icons.module.css +15 -15
- package/src/list/Icons/SmartIcon.js +32 -32
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +23 -26
- package/src/list/ListLayout/ListLayout.js +111 -111
- package/src/list/ListLayout/ListLayout.module.css +36 -36
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +54 -54
- package/src/list/ListStencils/ListStencils.js +45 -45
- package/src/list/ListStencils/ListStencils.module.css +62 -62
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +18 -18
- package/src/list/SecondaryText/AccountName.js +120 -120
- package/src/list/SecondaryText/ContactName.js +128 -128
- package/src/list/SecondaryText/DepartmentText.js +34 -34
- package/src/list/SecondaryText/Email.js +77 -77
- package/src/list/SecondaryText/HappinessRating.js +37 -37
- package/src/list/SecondaryText/PhoneNumber.js +84 -84
- package/src/list/SecondaryText/PriorityText.js +40 -40
- package/src/list/SecondaryText/SecondaryText.js +43 -43
- package/src/list/SecondaryText/SecondaryText.module.css +126 -126
- package/src/list/SecondaryText/StatusText.js +42 -42
- package/src/list/SecondaryText/TicketId.js +69 -69
- package/src/list/SecondaryText/Website.js +59 -59
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +18 -18
- package/src/list/SecondaryText/index.js +11 -11
- package/src/list/SecondryPanel/SecondryPanel.js +144 -144
- package/src/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -37
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +90 -90
- package/src/list/SentimentStatus/SentimentStatus.js +32 -32
- package/src/list/SentimentStatus/SentimentStatus.module.css +9 -9
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +20 -20
- package/src/list/Subject/Subject.js +80 -80
- package/src/list/Subject/Subject.module.css +27 -27
- package/src/list/Subject/docs/Subject__default.docs.js +34 -34
- package/src/list/TagNew/TagNew.js +40 -40
- package/src/list/TagNew/TagNew.module.css +108 -108
- package/src/list/TagNew/docs/TagNew__default.docs.js +18 -18
- package/src/list/Thread/Thread.js +43 -43
- package/src/list/Thread/Thread.module.css +30 -30
- package/src/list/Thread/docs/Thread__default.docs.js +18 -18
- package/src/list/UserTime/UserTime.js +138 -138
- package/src/list/UserTime/UserTime.module.css +52 -52
- package/src/list/UserTime/docs/UserTime__default.docs.js +114 -114
- package/src/list/listCommon.module.css +52 -52
- package/src/list/status/StatusDropdown/StatusDropdown.js +544 -538
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +76 -76
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +92 -92
- package/src/list/status/StatusListItem/StatusListItem.js +149 -149
- package/src/list/status/StatusListItem/StatusListItem.module.css +81 -81
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +19 -19
- package/src/lookup/EmptyPage/EmptyPage.js +62 -62
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +17 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +17 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +16 -16
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +17 -17
- package/src/lookup/Lookup/Lookup.js +110 -110
- package/src/lookup/Lookup/Lookup.module.css +26 -26
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +184 -184
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +59 -59
- package/src/lookup/Section/LookupSection.module.css +8 -8
- package/src/lookup/Section/Section.js +27 -27
- package/src/lookup/header/Close/Close.js +36 -36
- package/src/lookup/header/Close/LookupClose.module.css +15 -15
- package/src/lookup/header/Close/docs/Close__default.docs.js +17 -17
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +97 -97
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +40 -40
- package/src/lookup/header/Search/LookupSearch.module.css +48 -48
- package/src/lookup/header/Search/Search.js +249 -249
- package/src/lookup/header/Search/docs/Search__default.docs.js +106 -106
- package/src/lookup/header/TicketHeader/TicketHeader.js +123 -123
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +19 -19
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +63 -63
- package/src/lookup/header/Title/LookupTitle.module.css +20 -20
- package/src/lookup/header/Title/Title.js +38 -38
- package/src/lookup/header/Title/docs/Title__default.docs.js +17 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +199 -199
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +46 -46
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +54 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +25 -25
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +15 -15
- package/src/setup/header/Button/Button.js +40 -40
- package/src/setup/header/Button/HeaderButton.module.css +3 -3
- package/src/setup/header/Button/docs/Button__default.docs.js +21 -21
- package/src/setup/header/Link/HeaderLink.module.css +15 -15
- package/src/setup/header/Link/Link.js +48 -48
- package/src/setup/header/Link/docs/Link__default.docs.js +20 -20
- package/src/setup/header/Search/Search.js +87 -87
- package/src/setup/header/Search/Search.module.css +57 -57
- package/src/setup/header/Search/docs/Search__default.docs.js +32 -32
- package/src/setup/header/Views/Views.js +62 -62
- package/src/setup/header/Views/Views.module.css +27 -27
- package/src/setup/header/Views/docs/Views__default.docs.js +20 -20
- package/src/setup/helptips/Description/Description.js +22 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/src/setup/helptips/Description/docs/Description__default.docs.js +24 -24
- package/src/setup/helptips/Link/HelpTipsLink.module.css +6 -6
- package/src/setup/helptips/Link/Link.js +40 -39
- package/src/setup/helptips/Link/docs/Link__default.docs.js +27 -27
- package/src/setup/helptips/ListGroup/ListGroup.js +42 -42
- package/src/setup/helptips/ListGroup/ListGroup.module.css +17 -17
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +37 -37
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/src/setup/helptips/Title/Title.js +22 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +22 -22
- package/src/setup/table/Table/Table.js +31 -31
- package/src/setup/table/Table/docs/Table__default.docs.js +115 -115
- package/src/setup/table/TableBody/TableBody.js +37 -37
- package/src/setup/table/TableData/SetupTableData.module.css +36 -36
- package/src/setup/table/TableData/TableData.js +56 -56
- package/src/setup/table/TableData/Tablehover.module.css +6 -6
- package/src/setup/table/TableHead/SetupTableHead.module.css +8 -8
- package/src/setup/table/TableHead/TableHead.js +53 -53
- package/src/setup/table/TableRow/SetupTableRow.module.css +10 -10
- package/src/setup/table/TableRow/TableRow.js +60 -60
- package/src/setup/table/Text/TableText.module.css +37 -37
- package/src/setup/table/Text/Text.js +82 -82
- package/src/setup/table/Text/docs/Text__default.docs.js +38 -38
- package/src/svg/PlusIcon.js +43 -43
- package/src/svg/SnippetIcon.js +50 -50
- package/src/svg/TemplateIcon.js +34 -34
- package/src/svg/docs/SVG__default.docs.js +46 -46
- package/src/utils/ChannelIconMapping.js +130 -130
- package/src/utils/Common.js +20 -20
- package/src/utils/General.js +58 -58
- package/src/utils/KeyboardApi.js +280 -280
- package/src/utils/editorUtils.js +189 -189
- package/src/version2/AlertClose/AlertClose.js +45 -45
- package/src/version2/AlertClose/AlertClose.module.css +42 -42
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +46 -46
- package/src/version2/GlobalNotification/GlobalNotification.js +114 -112
- package/src/version2/GlobalNotification/GlobalNotification.module.css +89 -89
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +94 -94
- package/src/version2/alertIcons/AlarmAlertIcon.js +32 -32
- package/src/version2/alertIcons/AlertIcons.js +60 -60
- package/src/version2/alertIcons/AlertIcons.module.css +67 -67
- package/src/version2/alertIcons/DangerAlertIcon.js +33 -33
- package/src/version2/alertIcons/ErrorAlertIcon.js +34 -34
- package/src/version2/alertIcons/InfoAlertIcon.js +35 -35
- package/src/version2/alertIcons/NotificationAlertIcon.js +31 -31
- package/src/version2/alertIcons/SuccessAlertIcon.js +30 -30
- package/src/version2/alertIcons/WarningAlertIcon.js +31 -31
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +123 -123
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +98 -98
- package/src/version2/errorstate/Inconvenience/V2_Inconvenience.module.css +46 -0
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -19
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +98 -99
- package/src/version2/errorstate/OopsSomethingMiss/V2_OopsSomethingMiss.module.css +46 -0
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +21 -21
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +98 -98
- package/src/version2/errorstate/UnableToProcessRequest/V2_UnableToProcessRequest.module.css +46 -0
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +31 -31
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +101 -102
- package/src/version2/errorstate/UnauthorizedLogin/V2_UnauthorizedLogin.module.css +46 -0
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +19 -19
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +98 -98
- package/src/version2/errorstate/UrlNotFound/V2_UrlNotFound.module.css +46 -0
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +21 -21
- package/src/version2/errorstate/WillBeRightBack/V2_WillBeRightBack.module.css +46 -0
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +98 -98
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +19 -19
- package/src/version2/lookup/AlertHeader/AlertHeader.js +100 -100
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +63 -63
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +66 -66
- package/src/version2/lookup/AlertLookup/AlertLookup.js +287 -287
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +39 -39
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +150 -150
- package/src/version2/lookup/alertLookupCommonNew.module.css +25 -25
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +251 -251
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +92 -92
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +86 -86
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +92 -92
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +99 -99
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +51 -51
- package/es/Appearance/pureDark/mode/dotPureDarkMode.module.css +0 -536
- package/es/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +0 -8
- package/es/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +0 -8
- package/es/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +0 -8
- package/es/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +0 -8
- package/es/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +0 -8
- package/es/list/Icons/ReadUnreadIcon.js +0 -40
- package/lib/Appearance/pureDark/mode/dotPureDarkMode.module.css +0 -536
- package/lib/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +0 -8
- package/lib/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +0 -8
- package/lib/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +0 -8
- package/lib/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +0 -8
- package/lib/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +0 -8
- package/lib/list/Icons/ReadUnreadIcon.js +0 -90
- package/src/Appearance/pureDark/mode/dotPureDarkMode.module.css +0 -536
- package/src/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +0 -8
- package/src/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +0 -8
- package/src/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +0 -8
- package/src/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +0 -8
- package/src/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +0 -8
- package/src/list/Icons/ReadUnreadIcon.js +0 -41
|
@@ -1,538 +1,544 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import Icon from '@zohodesk/icons/lib/Icon';
|
|
4
|
-
import DropBox from '@zohodesk/components/lib/DropBox/DropBox';
|
|
5
|
-
import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
6
|
-
import { Box, Container } from '@zohodesk/components/lib/Layout';
|
|
7
|
-
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
8
|
-
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
9
|
-
import Loader from '@zohodesk/svg/lib/svg/Loader';
|
|
10
|
-
import EmptySearch from '@zohodesk/svg/lib/svg/EmptySearch';
|
|
11
|
-
import { scrollTo } from '@zohodesk/components/lib/utils/Common.js';
|
|
12
|
-
import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
13
|
-
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
14
|
-
import StatusListItem from '../StatusListItem/StatusListItem';
|
|
15
|
-
import commonStyle from '@zohodesk/components/lib/common/common.module.css';
|
|
16
|
-
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
17
|
-
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
18
|
-
import style from './StatusDropdown.module.css';
|
|
19
|
-
|
|
20
|
-
export class StatusDropdown extends React.Component {
|
|
21
|
-
constructor(props) {
|
|
22
|
-
super(props);
|
|
23
|
-
this.state = {
|
|
24
|
-
searchString: '',
|
|
25
|
-
selectedIndex: 0,
|
|
26
|
-
options: props.options
|
|
27
|
-
};
|
|
28
|
-
this.handleChange = this.handleChange.bind(this);
|
|
29
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
30
|
-
this.onSelect = this.onSelect.bind(this);
|
|
31
|
-
this.handleTogglePopup = this.handleTogglePopup.bind(this);
|
|
32
|
-
this.onSearchClear = this.onSearchClear.bind(this);
|
|
33
|
-
this.searchList = this.searchList.bind(this);
|
|
34
|
-
this.scrollContentRef = this.scrollContentRef.bind(this);
|
|
35
|
-
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
36
|
-
this.searchInputRef = this.searchInputRef.bind(this);
|
|
37
|
-
this.itemRef = this.itemRef.bind(this);
|
|
38
|
-
this.inputRef = this.inputRef.bind(this);
|
|
39
|
-
this.handleScroll = this.handleScroll.bind(this);
|
|
40
|
-
this.emptySearchSVG = this.emptySearchSVG.bind(this);
|
|
41
|
-
this.getAriaId = getUniqueId(this);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
emptySearchSVG() {
|
|
45
|
-
return <EmptySearch size='small' />;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
inputRef(el) {
|
|
49
|
-
this.hiddenInput = el;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
itemRef(ele, index, id) {
|
|
53
|
-
this[`suggestion_${id}`] = ele;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
searchInputRef(el) {
|
|
57
|
-
this.searchInput = el;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
handleTogglePopup(e) {
|
|
61
|
-
let {
|
|
62
|
-
togglePopup,
|
|
63
|
-
boxPosition,
|
|
64
|
-
onSelectLabel,
|
|
65
|
-
isPopupOpen,
|
|
66
|
-
onTogglePopup
|
|
67
|
-
} = this.props;
|
|
68
|
-
!isPopupOpen && onSelectLabel && onSelectLabel(e);
|
|
69
|
-
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
70
|
-
togglePopup(e, boxPosition);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
scrollContentRef(el) {
|
|
74
|
-
let { isPopupOpen } = this.props;
|
|
75
|
-
if (isPopupOpen) {
|
|
76
|
-
this.optionsContainer = el;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
componentWillReceiveProps(nextProps) {
|
|
81
|
-
if (nextProps.options.length != this.props.options.length) {
|
|
82
|
-
this.setState({
|
|
83
|
-
options: nextProps.options
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
onSelect(element, e) {
|
|
89
|
-
let { onClick, togglePopup, isPopupOpen, onTogglePopup } = this.props;
|
|
90
|
-
onClick && onClick(e, element);
|
|
91
|
-
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
92
|
-
togglePopup(e);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
componentDidUpdate(prevProps) {
|
|
96
|
-
let { isPopupOpen, isSearch, idName } = this.props;
|
|
97
|
-
let { selectedIndex, options } = this.state;
|
|
98
|
-
if (prevProps.isPopupOpen != isPopupOpen) {
|
|
99
|
-
setTimeout(() => {
|
|
100
|
-
isPopupOpen
|
|
101
|
-
? isSearch
|
|
102
|
-
? this.searchInput && this.searchInput.focus()
|
|
103
|
-
: this.hiddenInput && this.hiddenInput.focus()
|
|
104
|
-
: this.hiddenInput && this.hiddenInput.focus();
|
|
105
|
-
}, 10);
|
|
106
|
-
}
|
|
107
|
-
let mergeOptions = options;
|
|
108
|
-
let option = mergeOptions[selectedIndex];
|
|
109
|
-
let id = (option && option[idName]) || {};
|
|
110
|
-
let selSuggestion = this[`suggestion_${id}`];
|
|
111
|
-
if (isPopupOpen) {
|
|
112
|
-
this.optionsContainer && scrollTo(this.optionsContainer, selSuggestion);
|
|
113
|
-
}
|
|
114
|
-
if (!prevProps.isPopupOpen && this.props.isPopupOpen) {
|
|
115
|
-
this.onSearchClear();
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
handleKeyDown(e) {
|
|
120
|
-
let { keyCode } = e;
|
|
121
|
-
let { selectedIndex, options } = this.state;
|
|
122
|
-
let totalIndex = options.length;
|
|
123
|
-
let {
|
|
124
|
-
togglePopup,
|
|
125
|
-
onClick,
|
|
126
|
-
boxPosition,
|
|
127
|
-
isPopupOpen,
|
|
128
|
-
isNextOptions,
|
|
129
|
-
getNextOptions,
|
|
130
|
-
onTogglePopup
|
|
131
|
-
} = this.props;
|
|
132
|
-
if (isPopupOpen && (keyCode === 38 || keyCode === 40) && e.preventDefault) {
|
|
133
|
-
e.preventDefault(); //prevent body scroll
|
|
134
|
-
}
|
|
135
|
-
switch (keyCode) {
|
|
136
|
-
case 40:
|
|
137
|
-
if (selectedIndex === totalIndex - 1) {
|
|
138
|
-
this.setState({ selectedIndex: 0 });
|
|
139
|
-
} else {
|
|
140
|
-
if (selectedIndex === totalIndex - 3) {
|
|
141
|
-
isNextOptions && getNextOptions && getNextOptions();
|
|
142
|
-
}
|
|
143
|
-
this.setState({ selectedIndex: selectedIndex + 1 });
|
|
144
|
-
}
|
|
145
|
-
break;
|
|
146
|
-
case 38:
|
|
147
|
-
if (selectedIndex === 0) {
|
|
148
|
-
this.setState({ selectedIndex: totalIndex - 1 });
|
|
149
|
-
} else {
|
|
150
|
-
this.setState({ selectedIndex: selectedIndex - 1 });
|
|
151
|
-
}
|
|
152
|
-
break;
|
|
153
|
-
case 13:
|
|
154
|
-
onClick && onClick(options[selectedIndex].name, e);
|
|
155
|
-
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
156
|
-
togglePopup(e, boxPosition);
|
|
157
|
-
break;
|
|
158
|
-
default:
|
|
159
|
-
break;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
searchList(value) {
|
|
164
|
-
let { options, keyName } = this.props;
|
|
165
|
-
let foptions = options.filter(
|
|
166
|
-
dept => dept[keyName].toLowerCase().indexOf(value.toLowerCase()) != -1
|
|
167
|
-
);
|
|
168
|
-
return foptions;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
handleChange(value, e) {
|
|
172
|
-
let foptions = this.searchList(value);
|
|
173
|
-
this.setState({
|
|
174
|
-
searchString: value,
|
|
175
|
-
selectedIndex: -1,
|
|
176
|
-
options: foptions
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
onSearchClear() {
|
|
181
|
-
let foptions = this.searchList('');
|
|
182
|
-
this.setState({
|
|
183
|
-
searchString: '',
|
|
184
|
-
options: foptions
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
handleMouseEnter(id, value, index, e) {
|
|
189
|
-
this.setState({
|
|
190
|
-
selectedIndex: index
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
handleScroll(e) {
|
|
195
|
-
const { isNextOptions, getNextOptions } = this.props;
|
|
196
|
-
if (
|
|
197
|
-
e.target.scrollTop + e.target.offsetHeight >
|
|
198
|
-
e.target.scrollHeight - 1
|
|
199
|
-
) {
|
|
200
|
-
isNextOptions && getNextOptions && getNextOptions(e);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
render() {
|
|
205
|
-
let { options, selectedIndex } = this.state;
|
|
206
|
-
let {
|
|
207
|
-
value,
|
|
208
|
-
removeClose,
|
|
209
|
-
boxSize,
|
|
210
|
-
keyName,
|
|
211
|
-
idName,
|
|
212
|
-
title,
|
|
213
|
-
isSearch,
|
|
214
|
-
isArrow,
|
|
215
|
-
placeHolderText,
|
|
216
|
-
className,
|
|
217
|
-
right,
|
|
218
|
-
left,
|
|
219
|
-
top,
|
|
220
|
-
bottom,
|
|
221
|
-
isPopupOpen: isOpen,
|
|
222
|
-
isPopupReady,
|
|
223
|
-
position,
|
|
224
|
-
getTargetRef,
|
|
225
|
-
getContainerRef,
|
|
226
|
-
dataId,
|
|
227
|
-
searchBoxSize,
|
|
228
|
-
searchEmptyHint,
|
|
229
|
-
searchErrorText,
|
|
230
|
-
activeStyle,
|
|
231
|
-
showOnHover = false,
|
|
232
|
-
isDisabled,
|
|
233
|
-
showIconOnHover,
|
|
234
|
-
isReadOnly,
|
|
235
|
-
hoverStyle,
|
|
236
|
-
isEditable,
|
|
237
|
-
needTick,
|
|
238
|
-
dataTitle,
|
|
239
|
-
isDataLoaded,
|
|
240
|
-
children,
|
|
241
|
-
targetAlign,
|
|
242
|
-
needResponsive,
|
|
243
|
-
arrowIconPosition,
|
|
244
|
-
statusColor,
|
|
245
|
-
needExternalPopupState = false,
|
|
246
|
-
isPopupActive = false
|
|
247
|
-
} = this.props;
|
|
248
|
-
let isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
|
|
249
|
-
let { searchString } = this.state;
|
|
250
|
-
let containerClass = `${className ? className : ''} ${
|
|
251
|
-
isPopupReady
|
|
252
|
-
? activeStyle
|
|
253
|
-
? activeStyle
|
|
254
|
-
: ''
|
|
255
|
-
: showIconOnHover
|
|
256
|
-
? style.hoverIcon
|
|
257
|
-
: ''
|
|
258
|
-
} ${
|
|
259
|
-
isDisabled
|
|
260
|
-
? commonStyle.disabled
|
|
261
|
-
: isReadOnly
|
|
262
|
-
? style.readOnly
|
|
263
|
-
: !isEditable
|
|
264
|
-
? style.cursorDefault
|
|
265
|
-
: !showOnHover
|
|
266
|
-
? `${style.cursor} ${hoverStyle ? hoverStyle : ''}`
|
|
267
|
-
: `${hoverStyle ? hoverStyle : ''} ${style.cursorDefault}`
|
|
268
|
-
}`;
|
|
269
|
-
let ariaTitleId = this.getAriaId();
|
|
270
|
-
return (
|
|
271
|
-
<div
|
|
272
|
-
className={style.posRel}
|
|
273
|
-
onMouseEnter={
|
|
274
|
-
showOnHover && !isDisabled && !isReadOnly && isEditable
|
|
275
|
-
? this.handleTogglePopup
|
|
276
|
-
: undefined
|
|
277
|
-
}
|
|
278
|
-
onMouseLeave={
|
|
279
|
-
showOnHover && !isDisabled && !isReadOnly && isEditable
|
|
280
|
-
? this.handleTogglePopup
|
|
281
|
-
: undefined
|
|
282
|
-
}
|
|
283
|
-
>
|
|
284
|
-
<Container
|
|
285
|
-
tagName='button'
|
|
286
|
-
alignBox='row'
|
|
287
|
-
className={`${style.container} ${containerClass} ${btnStyle.buttonReset}`}
|
|
288
|
-
onMouseDown={
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
{
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
{
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
'
|
|
477
|
-
'
|
|
478
|
-
'
|
|
479
|
-
'
|
|
480
|
-
'
|
|
481
|
-
'
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
'
|
|
530
|
-
'
|
|
531
|
-
'
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
4
|
+
import DropBox from '@zohodesk/components/lib/DropBox/DropBox';
|
|
5
|
+
import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
6
|
+
import { Box, Container } from '@zohodesk/components/lib/Layout';
|
|
7
|
+
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
8
|
+
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
9
|
+
import Loader from '@zohodesk/svg/lib/svg/Loader';
|
|
10
|
+
import EmptySearch from '@zohodesk/svg/lib/svg/EmptySearch';
|
|
11
|
+
import { scrollTo } from '@zohodesk/components/lib/utils/Common.js';
|
|
12
|
+
import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
13
|
+
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
14
|
+
import StatusListItem from '../StatusListItem/StatusListItem';
|
|
15
|
+
import commonStyle from '@zohodesk/components/lib/common/common.module.css';
|
|
16
|
+
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
17
|
+
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
18
|
+
import style from './StatusDropdown.module.css';
|
|
19
|
+
|
|
20
|
+
export class StatusDropdown extends React.Component {
|
|
21
|
+
constructor(props) {
|
|
22
|
+
super(props);
|
|
23
|
+
this.state = {
|
|
24
|
+
searchString: '',
|
|
25
|
+
selectedIndex: 0,
|
|
26
|
+
options: props.options
|
|
27
|
+
};
|
|
28
|
+
this.handleChange = this.handleChange.bind(this);
|
|
29
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
30
|
+
this.onSelect = this.onSelect.bind(this);
|
|
31
|
+
this.handleTogglePopup = this.handleTogglePopup.bind(this);
|
|
32
|
+
this.onSearchClear = this.onSearchClear.bind(this);
|
|
33
|
+
this.searchList = this.searchList.bind(this);
|
|
34
|
+
this.scrollContentRef = this.scrollContentRef.bind(this);
|
|
35
|
+
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
36
|
+
this.searchInputRef = this.searchInputRef.bind(this);
|
|
37
|
+
this.itemRef = this.itemRef.bind(this);
|
|
38
|
+
this.inputRef = this.inputRef.bind(this);
|
|
39
|
+
this.handleScroll = this.handleScroll.bind(this);
|
|
40
|
+
this.emptySearchSVG = this.emptySearchSVG.bind(this);
|
|
41
|
+
this.getAriaId = getUniqueId(this);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
emptySearchSVG() {
|
|
45
|
+
return <EmptySearch size='small' />;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
inputRef(el) {
|
|
49
|
+
this.hiddenInput = el;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
itemRef(ele, index, id) {
|
|
53
|
+
this[`suggestion_${id}`] = ele;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
searchInputRef(el) {
|
|
57
|
+
this.searchInput = el;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
handleTogglePopup(e) {
|
|
61
|
+
let {
|
|
62
|
+
togglePopup,
|
|
63
|
+
boxPosition,
|
|
64
|
+
onSelectLabel,
|
|
65
|
+
isPopupOpen,
|
|
66
|
+
onTogglePopup
|
|
67
|
+
} = this.props;
|
|
68
|
+
!isPopupOpen && onSelectLabel && onSelectLabel(e);
|
|
69
|
+
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
70
|
+
togglePopup(e, boxPosition);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
scrollContentRef(el) {
|
|
74
|
+
let { isPopupOpen } = this.props;
|
|
75
|
+
if (isPopupOpen) {
|
|
76
|
+
this.optionsContainer = el;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
componentWillReceiveProps(nextProps) {
|
|
81
|
+
if (nextProps.options.length != this.props.options.length) {
|
|
82
|
+
this.setState({
|
|
83
|
+
options: nextProps.options
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
onSelect(element, e) {
|
|
89
|
+
let { onClick, togglePopup, isPopupOpen, onTogglePopup } = this.props;
|
|
90
|
+
onClick && onClick(e, element);
|
|
91
|
+
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
92
|
+
togglePopup(e);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
componentDidUpdate(prevProps) {
|
|
96
|
+
let { isPopupOpen, isSearch, idName } = this.props;
|
|
97
|
+
let { selectedIndex, options } = this.state;
|
|
98
|
+
if (prevProps.isPopupOpen != isPopupOpen) {
|
|
99
|
+
setTimeout(() => {
|
|
100
|
+
isPopupOpen
|
|
101
|
+
? isSearch
|
|
102
|
+
? this.searchInput && this.searchInput.focus()
|
|
103
|
+
: this.hiddenInput && this.hiddenInput.focus()
|
|
104
|
+
: this.hiddenInput && this.hiddenInput.focus();
|
|
105
|
+
}, 10);
|
|
106
|
+
}
|
|
107
|
+
let mergeOptions = options;
|
|
108
|
+
let option = mergeOptions[selectedIndex];
|
|
109
|
+
let id = (option && option[idName]) || {};
|
|
110
|
+
let selSuggestion = this[`suggestion_${id}`];
|
|
111
|
+
if (isPopupOpen) {
|
|
112
|
+
this.optionsContainer && scrollTo(this.optionsContainer, selSuggestion);
|
|
113
|
+
}
|
|
114
|
+
if (!prevProps.isPopupOpen && this.props.isPopupOpen) {
|
|
115
|
+
this.onSearchClear();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
handleKeyDown(e) {
|
|
120
|
+
let { keyCode } = e;
|
|
121
|
+
let { selectedIndex, options } = this.state;
|
|
122
|
+
let totalIndex = options.length;
|
|
123
|
+
let {
|
|
124
|
+
togglePopup,
|
|
125
|
+
onClick,
|
|
126
|
+
boxPosition,
|
|
127
|
+
isPopupOpen,
|
|
128
|
+
isNextOptions,
|
|
129
|
+
getNextOptions,
|
|
130
|
+
onTogglePopup
|
|
131
|
+
} = this.props;
|
|
132
|
+
if (isPopupOpen && (keyCode === 38 || keyCode === 40) && e.preventDefault) {
|
|
133
|
+
e.preventDefault(); //prevent body scroll
|
|
134
|
+
}
|
|
135
|
+
switch (keyCode) {
|
|
136
|
+
case 40:
|
|
137
|
+
if (selectedIndex === totalIndex - 1) {
|
|
138
|
+
this.setState({ selectedIndex: 0 });
|
|
139
|
+
} else {
|
|
140
|
+
if (selectedIndex === totalIndex - 3) {
|
|
141
|
+
isNextOptions && getNextOptions && getNextOptions();
|
|
142
|
+
}
|
|
143
|
+
this.setState({ selectedIndex: selectedIndex + 1 });
|
|
144
|
+
}
|
|
145
|
+
break;
|
|
146
|
+
case 38:
|
|
147
|
+
if (selectedIndex === 0) {
|
|
148
|
+
this.setState({ selectedIndex: totalIndex - 1 });
|
|
149
|
+
} else {
|
|
150
|
+
this.setState({ selectedIndex: selectedIndex - 1 });
|
|
151
|
+
}
|
|
152
|
+
break;
|
|
153
|
+
case 13:
|
|
154
|
+
onClick && onClick(options[selectedIndex].name, e);
|
|
155
|
+
onTogglePopup && onTogglePopup(isPopupOpen);
|
|
156
|
+
togglePopup(e, boxPosition);
|
|
157
|
+
break;
|
|
158
|
+
default:
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
searchList(value) {
|
|
164
|
+
let { options, keyName } = this.props;
|
|
165
|
+
let foptions = options.filter(
|
|
166
|
+
dept => dept[keyName].toLowerCase().indexOf(value.toLowerCase()) != -1
|
|
167
|
+
);
|
|
168
|
+
return foptions;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
handleChange(value, e) {
|
|
172
|
+
let foptions = this.searchList(value);
|
|
173
|
+
this.setState({
|
|
174
|
+
searchString: value,
|
|
175
|
+
selectedIndex: -1,
|
|
176
|
+
options: foptions
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
onSearchClear() {
|
|
181
|
+
let foptions = this.searchList('');
|
|
182
|
+
this.setState({
|
|
183
|
+
searchString: '',
|
|
184
|
+
options: foptions
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
handleMouseEnter(id, value, index, e) {
|
|
189
|
+
this.setState({
|
|
190
|
+
selectedIndex: index
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
handleScroll(e) {
|
|
195
|
+
const { isNextOptions, getNextOptions } = this.props;
|
|
196
|
+
if (
|
|
197
|
+
e.target.scrollTop + e.target.offsetHeight >
|
|
198
|
+
e.target.scrollHeight - 1
|
|
199
|
+
) {
|
|
200
|
+
isNextOptions && getNextOptions && getNextOptions(e);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
render() {
|
|
205
|
+
let { options, selectedIndex } = this.state;
|
|
206
|
+
let {
|
|
207
|
+
value,
|
|
208
|
+
removeClose,
|
|
209
|
+
boxSize,
|
|
210
|
+
keyName,
|
|
211
|
+
idName,
|
|
212
|
+
title,
|
|
213
|
+
isSearch,
|
|
214
|
+
isArrow,
|
|
215
|
+
placeHolderText,
|
|
216
|
+
className,
|
|
217
|
+
right,
|
|
218
|
+
left,
|
|
219
|
+
top,
|
|
220
|
+
bottom,
|
|
221
|
+
isPopupOpen: isOpen,
|
|
222
|
+
isPopupReady,
|
|
223
|
+
position,
|
|
224
|
+
getTargetRef,
|
|
225
|
+
getContainerRef,
|
|
226
|
+
dataId,
|
|
227
|
+
searchBoxSize,
|
|
228
|
+
searchEmptyHint,
|
|
229
|
+
searchErrorText,
|
|
230
|
+
activeStyle,
|
|
231
|
+
showOnHover = false,
|
|
232
|
+
isDisabled,
|
|
233
|
+
showIconOnHover,
|
|
234
|
+
isReadOnly,
|
|
235
|
+
hoverStyle,
|
|
236
|
+
isEditable,
|
|
237
|
+
needTick,
|
|
238
|
+
dataTitle,
|
|
239
|
+
isDataLoaded,
|
|
240
|
+
children,
|
|
241
|
+
targetAlign,
|
|
242
|
+
needResponsive,
|
|
243
|
+
arrowIconPosition,
|
|
244
|
+
statusColor,
|
|
245
|
+
needExternalPopupState = false,
|
|
246
|
+
isPopupActive = false
|
|
247
|
+
} = this.props;
|
|
248
|
+
let isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
|
|
249
|
+
let { searchString } = this.state;
|
|
250
|
+
let containerClass = `${className ? className : ''} ${
|
|
251
|
+
isPopupReady
|
|
252
|
+
? activeStyle
|
|
253
|
+
? activeStyle
|
|
254
|
+
: ''
|
|
255
|
+
: showIconOnHover
|
|
256
|
+
? style.hoverIcon
|
|
257
|
+
: ''
|
|
258
|
+
} ${
|
|
259
|
+
isDisabled
|
|
260
|
+
? commonStyle.disabled
|
|
261
|
+
: isReadOnly
|
|
262
|
+
? style.readOnly
|
|
263
|
+
: !isEditable
|
|
264
|
+
? style.cursorDefault
|
|
265
|
+
: !showOnHover
|
|
266
|
+
? `${style.cursor} ${hoverStyle ? hoverStyle : ''}`
|
|
267
|
+
: `${hoverStyle ? hoverStyle : ''} ${style.cursorDefault}`
|
|
268
|
+
}`;
|
|
269
|
+
let ariaTitleId = this.getAriaId();
|
|
270
|
+
return (
|
|
271
|
+
<div
|
|
272
|
+
className={style.posRel}
|
|
273
|
+
onMouseEnter={
|
|
274
|
+
showOnHover && !isDisabled && !isReadOnly && isEditable
|
|
275
|
+
? this.handleTogglePopup
|
|
276
|
+
: undefined
|
|
277
|
+
}
|
|
278
|
+
onMouseLeave={
|
|
279
|
+
showOnHover && !isDisabled && !isReadOnly && isEditable
|
|
280
|
+
? this.handleTogglePopup
|
|
281
|
+
: undefined
|
|
282
|
+
}
|
|
283
|
+
>
|
|
284
|
+
<Container
|
|
285
|
+
tagName='button'
|
|
286
|
+
alignBox='row'
|
|
287
|
+
className={`${style.container} ${containerClass} ${btnStyle.buttonReset}`}
|
|
288
|
+
onMouseDown={
|
|
289
|
+
!showOnHover &&
|
|
290
|
+
!isDisabled &&
|
|
291
|
+
!isReadOnly &&
|
|
292
|
+
isEditable &&
|
|
293
|
+
this.handleTogglePopup
|
|
294
|
+
}
|
|
295
|
+
eleRef={getTargetRef}
|
|
296
|
+
align={targetAlign}
|
|
297
|
+
isCover={false}
|
|
298
|
+
dataId={dataId}
|
|
299
|
+
onClick={removeClose}
|
|
300
|
+
disabled={isDisabled || isReadOnly ? true : false}
|
|
301
|
+
aria-haspopup={true}
|
|
302
|
+
aria-expanded={isPopupOpen && isEditable ? true : false}
|
|
303
|
+
>
|
|
304
|
+
{isEditable ? (
|
|
305
|
+
<div className={style.hiddenInput}>
|
|
306
|
+
<TextBox
|
|
307
|
+
type='text'
|
|
308
|
+
inputRef={this.inputRef}
|
|
309
|
+
onKeyDown={this.handleKeyDown}
|
|
310
|
+
needAppearance={false}
|
|
311
|
+
placeHolder={placeHolderText}
|
|
312
|
+
/>
|
|
313
|
+
</div>
|
|
314
|
+
) : null}
|
|
315
|
+
{children ? (
|
|
316
|
+
children
|
|
317
|
+
) : (
|
|
318
|
+
<Box
|
|
319
|
+
className={`${style.value} toggleDropText`}
|
|
320
|
+
shrink
|
|
321
|
+
tagName='span'
|
|
322
|
+
data-title={dataTitle}
|
|
323
|
+
>
|
|
324
|
+
{value}
|
|
325
|
+
</Box>
|
|
326
|
+
)}
|
|
327
|
+
{isEditable ? (
|
|
328
|
+
<Icon
|
|
329
|
+
aria-hidden={true}
|
|
330
|
+
size='7'
|
|
331
|
+
name='ZD-down'
|
|
332
|
+
iconClass={`${'toggleDropIcon'} ${style.arrow} ${
|
|
333
|
+
style[`${arrowIconPosition}_arrow`]
|
|
334
|
+
}`}
|
|
335
|
+
dataId='statusdownarrow'
|
|
336
|
+
/>
|
|
337
|
+
) : null}
|
|
338
|
+
</Container>
|
|
339
|
+
{isPopupOpen && isEditable ? (
|
|
340
|
+
<DropBox
|
|
341
|
+
boxPosition={position}
|
|
342
|
+
isActive={isPopupReady}
|
|
343
|
+
onClick={removeClose}
|
|
344
|
+
size={boxSize}
|
|
345
|
+
right={right}
|
|
346
|
+
left={left}
|
|
347
|
+
top={top}
|
|
348
|
+
bottom={bottom}
|
|
349
|
+
isArrow={isArrow}
|
|
350
|
+
isAnimate
|
|
351
|
+
getRef={getContainerRef}
|
|
352
|
+
customClass={{
|
|
353
|
+
customDropBoxWrap: style.dropBoxContainer
|
|
354
|
+
}}
|
|
355
|
+
needResponsive={needResponsive}
|
|
356
|
+
>
|
|
357
|
+
<React.Fragment>
|
|
358
|
+
{isSearch ? (
|
|
359
|
+
<div className={style.search}>
|
|
360
|
+
<TextBoxIcon
|
|
361
|
+
placeHolder={placeHolderText}
|
|
362
|
+
onChange={this.handleChange}
|
|
363
|
+
value={searchString}
|
|
364
|
+
onClear={this.onSearchClear}
|
|
365
|
+
size={searchBoxSize}
|
|
366
|
+
inputRef={this.searchInputRef}
|
|
367
|
+
onKeyDown={this.handleKeyDown}
|
|
368
|
+
a11y={{
|
|
369
|
+
ariaHaspopup: true,
|
|
370
|
+
ariaExpanded: true,
|
|
371
|
+
role: 'combobox',
|
|
372
|
+
ariaActivedescendant: value,
|
|
373
|
+
ariaOwns: ariaTitleId
|
|
374
|
+
}}
|
|
375
|
+
/>
|
|
376
|
+
</div>
|
|
377
|
+
) : null}
|
|
378
|
+
{title && options.length != 0 && (
|
|
379
|
+
<div className={style.title}>
|
|
380
|
+
<DropDownHeading
|
|
381
|
+
htmlId={ariaTitleId}
|
|
382
|
+
text={title}
|
|
383
|
+
a11y={{
|
|
384
|
+
role: 'heading'
|
|
385
|
+
}}
|
|
386
|
+
/>
|
|
387
|
+
</div>
|
|
388
|
+
)}
|
|
389
|
+
<Box
|
|
390
|
+
scroll='vertical'
|
|
391
|
+
dataId={`${dataId}_list`}
|
|
392
|
+
className={style.maxHgt}
|
|
393
|
+
eleRef={this.scrollContentRef}
|
|
394
|
+
onScroll={this.handleScroll}
|
|
395
|
+
role={isSearch ? 'listbox' : 'menu'}
|
|
396
|
+
aria-labelledby={ariaTitleId}
|
|
397
|
+
tabindex='0'
|
|
398
|
+
>
|
|
399
|
+
{options.length != 0 && isDataLoaded ? (
|
|
400
|
+
<React.Fragment>
|
|
401
|
+
{options.map((item, i) => (
|
|
402
|
+
<React.Fragment key={i}>
|
|
403
|
+
<StatusListItem
|
|
404
|
+
dataId={`dataid_${i}`}
|
|
405
|
+
value={item[keyName]}
|
|
406
|
+
id={item[idName]}
|
|
407
|
+
active={value === item[keyName]}
|
|
408
|
+
onClick={this.onSelect.bind(this, item)}
|
|
409
|
+
index={i}
|
|
410
|
+
highlight={selectedIndex === i}
|
|
411
|
+
needTick={needTick}
|
|
412
|
+
needBorder={false}
|
|
413
|
+
onMouseEnter={this.handleMouseEnter}
|
|
414
|
+
getRef={this.itemRef}
|
|
415
|
+
bulletColor={item[statusColor]}
|
|
416
|
+
title={item[keyName]}
|
|
417
|
+
a11y={{
|
|
418
|
+
role: isSearch ? 'option' : 'menuitem',
|
|
419
|
+
ariaSelected: value === item[keyName]
|
|
420
|
+
}}
|
|
421
|
+
/>
|
|
422
|
+
</React.Fragment>
|
|
423
|
+
))}
|
|
424
|
+
</React.Fragment>
|
|
425
|
+
) : isDataLoaded ? (
|
|
426
|
+
<CommonEmptyState
|
|
427
|
+
className={style.svgWrapper}
|
|
428
|
+
title={searchErrorText || 'oops !'}
|
|
429
|
+
description={searchEmptyHint}
|
|
430
|
+
size='small'
|
|
431
|
+
getEmptyState={this.emptySearchSVG}
|
|
432
|
+
/>
|
|
433
|
+
) : (
|
|
434
|
+
<div className={style.loader}>
|
|
435
|
+
<Loader />
|
|
436
|
+
</div>
|
|
437
|
+
)}
|
|
438
|
+
</Box>
|
|
439
|
+
</React.Fragment>
|
|
440
|
+
</DropBox>
|
|
441
|
+
) : null}
|
|
442
|
+
</div>
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
if (__DOCS__) {
|
|
447
|
+
StatusDropdown.docs = {
|
|
448
|
+
componentGroup: 'Molecule'
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
StatusDropdown.defaultProps = {
|
|
453
|
+
keyName: 'name',
|
|
454
|
+
idName: 'key',
|
|
455
|
+
isArrow: false,
|
|
456
|
+
searchBoxSize: 'small',
|
|
457
|
+
isDisabled: false,
|
|
458
|
+
showIconOnHover: false,
|
|
459
|
+
isReadOnly: false,
|
|
460
|
+
isEditable: true,
|
|
461
|
+
isDataLoaded: true,
|
|
462
|
+
needTick: true,
|
|
463
|
+
targetAlign: 'vertical',
|
|
464
|
+
needResponsive: true,
|
|
465
|
+
arrowIconPosition: 'default',
|
|
466
|
+
boxSize: 'medium',
|
|
467
|
+
needExternalPopupState: false,
|
|
468
|
+
statusColor: 'statusColor'
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
StatusDropdown.propTypes = {
|
|
472
|
+
activeStyle: PropTypes.string,
|
|
473
|
+
arrowIconPosition: PropTypes.oneOf(['default', 'overlay']),
|
|
474
|
+
bottom: PropTypes.number,
|
|
475
|
+
boxPosition: PropTypes.oneOf([
|
|
476
|
+
'bottomRight',
|
|
477
|
+
'bottomLeft',
|
|
478
|
+
'bottomCenter',
|
|
479
|
+
'topRight',
|
|
480
|
+
'topLeft',
|
|
481
|
+
'topCenter',
|
|
482
|
+
'rightTop',
|
|
483
|
+
'rightBottom',
|
|
484
|
+
'rightCenter',
|
|
485
|
+
'leftTop',
|
|
486
|
+
'leftBottom',
|
|
487
|
+
'leftCenter'
|
|
488
|
+
]),
|
|
489
|
+
boxSize: PropTypes.oneOf(['small', 'medium', 'mlarge', 'large']),
|
|
490
|
+
children: PropTypes.node,
|
|
491
|
+
className: PropTypes.string,
|
|
492
|
+
dataId: PropTypes.string,
|
|
493
|
+
dataTitle: PropTypes.string,
|
|
494
|
+
getContainerRef: PropTypes.func,
|
|
495
|
+
getNextOptions: PropTypes.func,
|
|
496
|
+
getTargetRef: PropTypes.func,
|
|
497
|
+
hoverStyle: PropTypes.string,
|
|
498
|
+
idName: PropTypes.string,
|
|
499
|
+
isArrow: PropTypes.bool,
|
|
500
|
+
isDataLoaded: PropTypes.bool,
|
|
501
|
+
isDataLoaded: PropTypes.bool,
|
|
502
|
+
isDisabled: PropTypes.bool,
|
|
503
|
+
isEditable: PropTypes.bool,
|
|
504
|
+
isNextOptions: PropTypes.bool,
|
|
505
|
+
isPopupActive: PropTypes.bool,
|
|
506
|
+
isPopupOpen: PropTypes.bool,
|
|
507
|
+
isPopupReady: PropTypes.bool,
|
|
508
|
+
isReadOnly: PropTypes.bool,
|
|
509
|
+
isSearch: PropTypes.bool,
|
|
510
|
+
keyName: PropTypes.string,
|
|
511
|
+
left: PropTypes.number,
|
|
512
|
+
needExternalPopupState: PropTypes.bool,
|
|
513
|
+
needResponsive: PropTypes.bool,
|
|
514
|
+
needTick: PropTypes.bool,
|
|
515
|
+
onClick: PropTypes.func,
|
|
516
|
+
onTogglePopup: PropTypes.func,
|
|
517
|
+
options: PropTypes.array.isRequired,
|
|
518
|
+
placeHolderText: PropTypes.string,
|
|
519
|
+
position: PropTypes.string,
|
|
520
|
+
removeClose: PropTypes.func,
|
|
521
|
+
right: PropTypes.number,
|
|
522
|
+
searchBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
|
|
523
|
+
searchEmptyHint: PropTypes.string,
|
|
524
|
+
searchErrorText: PropTypes.string,
|
|
525
|
+
showIconOnHover: PropTypes.bool,
|
|
526
|
+
showOnHover: PropTypes.bool,
|
|
527
|
+
statusColor: PropTypes.string,
|
|
528
|
+
targetAlign: PropTypes.oneOf([
|
|
529
|
+
'vertical',
|
|
530
|
+
'horizontal',
|
|
531
|
+
'both',
|
|
532
|
+
'top',
|
|
533
|
+
'right',
|
|
534
|
+
'bottom',
|
|
535
|
+
'left',
|
|
536
|
+
'between',
|
|
537
|
+
'around'
|
|
538
|
+
]),
|
|
539
|
+
title: PropTypes.string,
|
|
540
|
+
togglePopup: PropTypes.func,
|
|
541
|
+
value: PropTypes.node
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export default Popup(StatusDropdown);
|