@zohodesk/dot 1.0.0-temp-60 → 1.0.0-temp-61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/{es → assets}/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -0
- package/{src → assets}/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/mode/dotDefaultMode.module.css +1 -1
- package/{es → assets}/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/green/greenDefaultDotTheme.module.css +1 -1
- package/{es → assets}/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -0
- package/{es → assets}/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -0
- package/es/ActionButton/ActionButton.module.css +25 -9
- package/es/AlphabeticList/AlphabeticList.module.css +7 -4
- package/es/Attachment/Attachment.module.css +24 -13
- package/es/ChannelIcon/ChannelIcon.module.css +30 -21
- package/es/Drawer/Drawer.module.css +59 -11
- package/es/FlipCard/FlipCard.module.css +14 -5
- package/es/FormAction/FormAction.module.css +34 -9
- package/es/FreezeLayer/FreezeLayer.module.css +6 -2
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +8 -3
- package/es/Loader/Loader.module.css +25 -4
- package/es/Message/Message.module.css +42 -9
- package/es/MessageBanner/MessageBanner.module.css +12 -4
- package/es/NewStar/NewStar.module.css +42 -5
- package/es/Provider.js +46 -46
- package/es/ToastMessage/ToastMessage.module.css +98 -27
- package/es/Upload/Upload.module.css +28 -9
- package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/es/alert/AlertLookup/AlertLookup.module.css +7 -3
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +13 -8
- package/es/emptystate/EditionPage/EditionPage.css +9 -3
- package/es/errorstate/EmptyStates.module.css +16 -13
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +1 -3
- package/es/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/form/fields/DateField/DateField.js +2 -2
- package/es/form/fields/Fields.module.css +54 -16
- package/es/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +2 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/es/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/es/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +54 -18
- package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
- package/es/list/Comment/Comment.module.css +5 -0
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +70 -16
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +22 -14
- package/es/list/ListStencils/ListStencils.module.css +11 -6
- package/es/list/SecondaryText/SecondaryText.module.css +13 -3
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/es/list/TagNew/TagNew.module.css +14 -7
- package/es/list/Thread/Thread.module.css +13 -1
- package/es/list/UserTime/UserTime.module.css +6 -0
- package/es/list/listCommon.module.css +10 -2
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +5 -5
- package/es/lookup/header/Search/LookupSearch.module.css +21 -12
- package/es/lookup/header/TicketHeader/TicketHeader.js +3 -1
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +7 -3
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -5
- package/es/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/es/setup/header/Button/HeaderButton.module.css +3 -1
- package/es/setup/header/Link/HeaderLink.module.css +7 -1
- package/es/setup/header/Search/Search.module.css +20 -9
- package/es/setup/header/Views/Views.module.css +16 -6
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/es/setup/table/TableData/SetupTableData.module.css +11 -3
- package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/es/version2/errorstate/V2_ErrorStates.module.css +2 -3
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +26 -3
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -4
- package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +28 -12
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +50 -13
- package/lib/ActionButton/ActionButton.module.css +25 -9
- package/lib/AlphabeticList/AlphabeticList.module.css +7 -4
- package/lib/Attachment/Attachment.module.css +20 -9
- package/lib/ChannelIcon/ChannelIcon.module.css +30 -21
- package/lib/Drawer/Drawer.module.css +59 -11
- package/lib/FlipCard/FlipCard.module.css +14 -5
- package/lib/FormAction/FormAction.module.css +34 -9
- package/lib/FreezeLayer/FreezeLayer.module.css +6 -2
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/ImportantNotes/ImportantNotes.module.css +7 -2
- package/lib/Loader/Loader.module.css +25 -4
- package/lib/Message/Message.module.css +42 -9
- package/lib/MessageBanner/MessageBanner.module.css +12 -4
- package/lib/NewStar/NewStar.module.css +42 -5
- package/lib/Provider.js +46 -46
- package/lib/ToastMessage/ToastMessage.module.css +96 -25
- package/lib/Upload/Upload.module.css +27 -8
- package/lib/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/lib/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/lib/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/lib/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/lib/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +17 -9
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/lib/emptystate/EditionPage/EditionPage.css +9 -3
- package/lib/errorstate/EmptyStates.module.css +13 -10
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/WillBack/WillBack.module.css +1 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/lib/form/fields/DateField/DateField.js +2 -2
- package/lib/form/fields/Fields.module.css +54 -16
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -4
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/lib/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +13 -2
- package/lib/form/fields/TextareaField/TextareaField.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +6 -3
- package/lib/list/Comment/Comment.module.css +5 -0
- package/lib/list/DotNew/DotNew.module.css +6 -6
- package/lib/list/GridStencils/GridStencils.module.css +70 -16
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/ListLayout/ListLayout.module.css +22 -14
- package/lib/list/ListStencils/ListStencils.module.css +11 -6
- package/lib/list/SecondaryText/SecondaryText.module.css +13 -3
- package/lib/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/lib/list/TagNew/TagNew.module.css +14 -7
- package/lib/list/Thread/Thread.module.css +13 -1
- package/lib/list/UserTime/UserTime.module.css +6 -0
- package/lib/list/listCommon.module.css +9 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/lib/list/status/StatusListItem/StatusListItem.module.css +38 -15
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/Search/LookupSearch.module.css +21 -12
- package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +7 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +8 -4
- package/lib/lookup/header/lookupHeaderCommon.module.css +16 -6
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/lib/setup/header/Button/HeaderButton.module.css +3 -1
- package/lib/setup/header/Link/HeaderLink.module.css +7 -1
- package/lib/setup/header/Search/Search.module.css +19 -8
- package/lib/setup/header/Views/Views.module.css +15 -5
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +11 -3
- package/lib/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/lib/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +18 -6
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/lib/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +13 -5
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +29 -14
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/package.json +8 -8
- package/__testUtils__/globals.js +0 -0
- package/build/Unusedfiles.json +0 -1
- package/es/ActionButton/docs/ActionButton__default.docs.js +0 -134
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -34
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -43
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/es/Attachment/docs/Attachment__default.docs.js +0 -54
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -57
- package/es/Drawer/docs/Drawer__default.docs.js +0 -87
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +0 -112
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +0 -20
- package/es/Drawer/docs/Drawer__withModal.docs.js +0 -74
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +0 -19
- package/es/FlipCard/docs/FlipCard__default.docs.js +0 -66
- package/es/FormAction/docs/FormAction__default.docs.js +0 -72
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -51
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -48
- package/es/IconButton/docs/IconButton__default.docs.js +0 -219
- package/es/Image/docs/Image__default.docs.js +0 -22
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/es/Link/docs/Link__default.docs.js +0 -36
- package/es/Loader/docs/Loader__default.docs.js +0 -23
- package/es/Message/docs/Message__default.docs.js +0 -55
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +0 -88
- package/es/NewStar/docs/NewStar__default.docs.js +0 -62
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +0 -16
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +0 -92
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +0 -54
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +0 -125
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -37
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +0 -61
- package/es/Upload/docs/Upload__default.docs.js +0 -61
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -63
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -121
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -35
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -40
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -46
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -35
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -51
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -147
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -173
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -24
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -34
- package/es/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/es/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/es/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -40
- package/es/docs/formDocs.js +0 -26
- package/es/docs/generalDocs.js +0 -131
- package/es/docs/lookupDocs.js +0 -44
- package/es/docs/setupDocs.js +0 -22
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -228
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -111
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -21
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +0 -17
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -30
- package/es/form/fields/DateField/docs/DateField__default.docs.js +0 -25
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -48
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -26
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +0 -58
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -77
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -82
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -45
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -43
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -26
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -58
- package/es/form/layout/Field/docs/Field__default.docs.js +0 -25
- package/es/form/layout/Section/docs/Section__default.docs.js +0 -21
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -29
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -67
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -100
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -19
- package/es/list/Comment/docs/Comment__default.docs.js +0 -26
- package/es/list/DotNew/docs/DotNew__default.docs.js +0 -20
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +0 -35
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +0 -24
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +0 -60
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +0 -20
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -77
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -19
- package/es/list/Subject/docs/Subject__default.docs.js +0 -44
- package/es/list/TagNew/docs/TagNew__default.docs.js +0 -23
- package/es/list/Thread/docs/Thread__default.docs.js +0 -22
- package/es/list/UserTime/docs/UserTime__default.docs.js +0 -147
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -129
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -27
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -20
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -20
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -17
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -20
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +0 -196
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +0 -68
- package/es/lookup/header/Close/docs/Close__default.docs.js +0 -19
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -41
- package/es/lookup/header/Search/docs/Search__default.docs.js +0 -124
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -83
- package/es/lookup/header/Title/docs/Title__default.docs.js +0 -21
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -75
- package/es/setup/header/Button/docs/Button__default.docs.js +0 -22
- package/es/setup/header/Link/docs/Link__default.docs.js +0 -23
- package/es/setup/header/Search/docs/Search__default.docs.js +0 -41
- package/es/setup/header/Views/docs/Views__default.docs.js +0 -24
- package/es/setup/helptips/Description/docs/Description__default.docs.js +0 -26
- package/es/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -30
- package/es/setup/helptips/Title/docs/Title__default.docs.js +0 -26
- package/es/setup/table/Table/docs/Table__default.docs.js +0 -181
- package/es/setup/table/Text/docs/Text__default.docs.js +0 -35
- package/es/svg/docs/SVG__default.docs.js +0 -49
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +0 -47
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -95
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -138
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -18
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -20
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -30
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -18
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -20
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -18
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -56
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -147
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -92
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -57
- package/lib/ActionButton/docs/ActionButton__default.docs.js +0 -187
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -82
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -91
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +0 -536
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +0 -536
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/lib/Attachment/docs/Attachment__default.docs.js +0 -104
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -112
- package/lib/Drawer/docs/Drawer__default.docs.js +0 -143
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +0 -171
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +0 -65
- package/lib/Drawer/docs/Drawer__withModal.docs.js +0 -131
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +0 -68
- package/lib/FlipCard/docs/FlipCard__default.docs.js +0 -121
- package/lib/FormAction/docs/FormAction__default.docs.js +0 -127
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -103
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -100
- package/lib/IconButton/docs/IconButton__default.docs.js +0 -272
- package/lib/Image/docs/Image__default.docs.js +0 -76
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -68
- package/lib/Link/docs/Link__default.docs.js +0 -90
- package/lib/Loader/docs/Loader__default.docs.js +0 -68
- package/lib/Message/docs/Message__default.docs.js +0 -100
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +0 -132
- package/lib/NewStar/docs/NewStar__default.docs.js +0 -111
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +0 -70
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +0 -151
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +0 -108
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +0 -175
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -91
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +0 -115
- package/lib/Upload/docs/Upload__default.docs.js +0 -110
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -112
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -175
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -72
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -81
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -95
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -99
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -90
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -104
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -198
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -224
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -74
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -80
- package/lib/docs/formDocs.js +0 -215
- package/lib/docs/generalDocs.js +0 -1039
- package/lib/docs/lookupDocs.js +0 -287
- package/lib/docs/setupDocs.js +0 -183
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -279
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -171
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -74
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -69
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +0 -67
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -68
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -70
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -69
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -69
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -70
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -69
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +0 -71
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -80
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +0 -74
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -100
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -76
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +0 -110
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -126
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -96
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -97
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -94
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -76
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -103
- package/lib/form/layout/Field/docs/Field__default.docs.js +0 -74
- package/lib/form/layout/Section/docs/Section__default.docs.js +0 -71
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -80
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -118
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -149
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -65
- package/lib/list/Comment/docs/Comment__default.docs.js +0 -76
- package/lib/list/DotNew/docs/DotNew__default.docs.js +0 -70
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +0 -86
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +0 -81
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +0 -111
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +0 -70
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -73
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -133
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -65
- package/lib/list/Subject/docs/Subject__default.docs.js +0 -94
- package/lib/list/TagNew/docs/TagNew__default.docs.js +0 -73
- package/lib/list/Thread/docs/Thread__default.docs.js +0 -72
- package/lib/list/UserTime/docs/UserTime__default.docs.js +0 -196
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -178
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -77
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -70
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -70
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -67
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -70
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +0 -247
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +0 -121
- package/lib/lookup/header/Close/docs/Close__default.docs.js +0 -69
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -89
- package/lib/lookup/header/Search/docs/Search__default.docs.js +0 -175
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -133
- package/lib/lookup/header/Title/docs/Title__default.docs.js +0 -71
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -119
- package/lib/setup/header/Button/docs/Button__default.docs.js +0 -68
- package/lib/setup/header/Link/docs/Link__default.docs.js +0 -69
- package/lib/setup/header/Search/docs/Search__default.docs.js +0 -92
- package/lib/setup/header/Views/docs/Views__default.docs.js +0 -70
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +0 -72
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +0 -73
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -76
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +0 -72
- package/lib/setup/table/Table/docs/Table__default.docs.js +0 -238
- package/lib/setup/table/Text/docs/Text__default.docs.js +0 -84
- package/lib/svg/docs/SVG__default.docs.js +0 -101
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +0 -97
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -143
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -187
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -68
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -70
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -80
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -68
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -70
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -68
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -105
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -201
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -142
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -108
- package/preprocess/dotAppearanceColors.js +0 -71
- package/preprocess/dotThemeColors.js +0 -98
- package/preprocess/index.js +0 -2
- package/preprocess/json/dotAppearanceVariableJson.js +0 -1908
- package/preprocess/json/dotThemeVariableJson.js +0 -90
- package/src/ActionButton/ActionButton.js +0 -197
- package/src/ActionButton/ActionButton.module.css +0 -120
- package/src/ActionButton/docs/ActionButton__default.docs.js +0 -110
- package/src/AlphabeticList/AlphabeticList.js +0 -176
- package/src/AlphabeticList/AlphabeticList.module.css +0 -54
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +0 -36
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +0 -44
- package/src/Appearance/dark/mode/dotDarkMode.module.css +0 -521
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -10
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -10
- package/src/Appearance/default/mode/dotDefaultMode.module.css +0 -521
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -10
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -10
- package/src/Attachment/Attachment.js +0 -119
- package/src/Attachment/Attachment.module.css +0 -121
- package/src/Attachment/docs/Attachment__default.docs.js +0 -63
- package/src/ChannelIcon/ChannelIcon.js +0 -154
- package/src/ChannelIcon/ChannelIcon.module.css +0 -208
- package/src/ChannelIcon/docs/ChannelIcon__default.docs.js +0 -63
- package/src/Drawer/Drawer.js +0 -398
- package/src/Drawer/Drawer.module.css +0 -103
- package/src/Drawer/docs/Drawer__default.docs.js +0 -86
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +0 -111
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +0 -20
- package/src/Drawer/docs/Drawer__withModal.docs.js +0 -76
- package/src/ExternalLink/ExternalLink.js +0 -75
- package/src/ExternalLink/ExternalLink.module.css +0 -4
- package/src/ExternalLink/__tests__/ExternalLink.spec.js +0 -28
- package/src/ExternalLink/docs/ExternalLink__default.docs.js +0 -24
- package/src/FlipCard/FlipCard.js +0 -193
- package/src/FlipCard/FlipCard.module.css +0 -35
- package/src/FlipCard/docs/FlipCard__default.docs.js +0 -76
- package/src/FormAction/FormAction.js +0 -126
- package/src/FormAction/FormAction.module.css +0 -57
- package/src/FormAction/docs/FormAction__default.docs.js +0 -93
- package/src/FreezeLayer/FreezeLayer.js +0 -159
- package/src/FreezeLayer/FreezeLayer.module.css +0 -38
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +0 -52
- package/src/FreezeLayer/docs/FreezeLayer__default.docs.js +0 -51
- package/src/IconButton/IconButton.js +0 -186
- package/src/IconButton/IconButton.module.css +0 -22
- package/src/IconButton/docs/IconButton__default.docs.js +0 -158
- package/src/Image/Image.js +0 -58
- package/src/Image/Image.module.css +0 -11
- package/src/Image/docs/Image__default.docs.js +0 -18
- package/src/ImportantNotes/ImportantNotes.js +0 -57
- package/src/ImportantNotes/ImportantNotes.module.css +0 -15
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +0 -22
- package/src/Link/Link.js +0 -123
- package/src/Link/Link.module.css +0 -4
- package/src/Link/LinkContext.js +0 -9
- package/src/Link/docs/Link__default.docs.js +0 -91
- package/src/Loader/Loader.js +0 -22
- package/src/Loader/Loader.module.css +0 -25
- package/src/Loader/docs/Loader__default.docs.js +0 -21
- package/src/Message/Message.js +0 -109
- package/src/Message/Message.module.css +0 -70
- package/src/Message/docs/Message__default.docs.js +0 -53
- package/src/MessageBanner/MessageBanner.js +0 -83
- package/src/MessageBanner/MessageBanner.module.css +0 -38
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +0 -87
- package/src/NewStar/NewStar.js +0 -83
- package/src/NewStar/NewStar.module.css +0 -73
- package/src/NewStar/docs/NewStar__default.docs.js +0 -39
- package/src/PlusIcon/PlusIcon.js +0 -64
- package/src/PlusIcon/PlusIcon.module.css +0 -16
- package/src/PlusIcon/docs/PlusIcon__default.docs.js +0 -18
- package/src/Provider.js +0 -203
- package/src/ToastMessage/ToastMessage.js +0 -315
- package/src/ToastMessage/ToastMessage.module.css +0 -257
- package/src/ToastMessage/docs/ToastMessage__custom.docs.js +0 -97
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +0 -57
- package/src/ToastMessage/docs/ToastMessage__primary.docs.js +0 -135
- package/src/ToastMessage/docs/ToastMessage__secondary.docs.js +0 -40
- package/src/ToastMessage/docs/ToastMessage__success.docs.js +0 -68
- package/src/Upload/Upload.js +0 -103
- package/src/Upload/Upload.module.css +0 -106
- package/src/Upload/docs/Upload__default.docs.js +0 -72
- package/src/actions/AutoClose.js +0 -51
- package/src/actions/index.js +0 -22
- package/src/alert/AlertHeader/AlertHeader.js +0 -122
- package/src/alert/AlertHeader/AlertHeader.module.css +0 -63
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +0 -73
- package/src/alert/AlertLookup/AlertLookup.js +0 -214
- package/src/alert/AlertLookup/AlertLookup.module.css +0 -23
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +0 -124
- package/src/avatar/AvatarClose/AvatarClose.js +0 -49
- package/src/avatar/AvatarClose/AvatarClose.module.css +0 -31
- package/src/avatar/AvatarClose/docs/AvatarClose__default.docs.js +0 -26
- package/src/avatar/AvatarCollision/AvatarCollision.js +0 -81
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +0 -55
- package/src/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +0 -40
- package/src/avatar/AvatarIcon/AvatarIcon.js +0 -99
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +0 -59
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +0 -49
- package/src/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +0 -36
- package/src/avatar/AvatarStatus/AvatarStatus.js +0 -95
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +0 -96
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +0 -38
- package/src/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +0 -63
- package/src/avatar/AvatarThread/AvatarThread.js +0 -136
- package/src/avatar/AvatarThread/AvatarThread.module.css +0 -113
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +0 -167
- package/src/avatar/AvatarUser/AvatarUser.js +0 -160
- package/src/avatar/AvatarUser/AvatarUser.module.css +0 -100
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +0 -148
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +0 -134
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +0 -16
- package/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +0 -50
- package/src/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +0 -28
- package/src/deprecated/SelectDropdown/SelectDropdown.js +0 -122
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +0 -47
- package/src/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -31
- package/src/docs/formDocs.js +0 -26
- package/src/docs/generalDocs.js +0 -162
- package/src/docs/lookupDocs.js +0 -52
- package/src/docs/setupDocs.js +0 -25
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +0 -950
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -84
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +0 -242
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +0 -116
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -80
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +0 -107
- package/src/emptystate/EditionPage/EditionPage.css +0 -37
- package/src/emptystate/EditionPage/EditionPage.js +0 -69
- package/src/emptystate/EditionPage/docs/EditionPage__default.docs.js +0 -23
- package/src/errorstate/EmptyStates.module.css +0 -85
- package/src/errorstate/Inconvenience/Inconvenience.js +0 -132
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -4
- package/src/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/errorstate/LinkText/LinkText.js +0 -35
- package/src/errorstate/LinkText/LinkText.module.css +0 -6
- package/src/errorstate/LinkText/docs/LinkText__default.docs.js +0 -13
- package/src/errorstate/NoRequestFound/NoRequestFound.js +0 -132
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -3
- package/src/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +0 -19
- package/src/errorstate/PermissionPlay/PermissionPlay.js +0 -127
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +0 -34
- package/src/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +0 -20
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +0 -132
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -3
- package/src/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +0 -19
- package/src/errorstate/UnableToProcess/UnableToProcess.js +0 -130
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -3
- package/src/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +0 -19
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -130
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -3
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +0 -20
- package/src/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +0 -19
- package/src/errorstate/WillBack/WillBack.js +0 -120
- package/src/errorstate/WillBack/WillBack.module.css +0 -36
- package/src/errorstate/WillBack/docs/WillBack__default.docs.js +0 -21
- package/src/form/fields/CheckBoxField/CheckBoxField.js +0 -220
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +0 -32
- package/src/form/fields/CurrencyField/CurrencyField.js +0 -267
- package/src/form/fields/DateField/DateField.js +0 -281
- package/src/form/fields/DateField/docs/DateField__default.docs.js +0 -24
- package/src/form/fields/Fields.module.css +0 -145
- package/src/form/fields/MultiSelectField/MultiSelectField.js +0 -311
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +0 -53
- package/src/form/fields/PhoneField/PhoneField.js +0 -227
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +0 -26
- package/src/form/fields/RadioField/RadioField.js +0 -181
- package/src/form/fields/SelectField/SelectField.js +0 -296
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +0 -48
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +0 -332
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +0 -95
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +0 -55
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -342
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +0 -6
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +0 -58
- package/src/form/fields/TextBoxField/TextBoxField.js +0 -274
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +0 -38
- package/src/form/fields/TextEditor/TextEditor.js +0 -440
- package/src/form/fields/TextEditor/TextEditor.module.css +0 -582
- package/src/form/fields/TextEditorField/TextEditorField.js +0 -286
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +0 -62
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +0 -239
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +0 -26
- package/src/form/fields/TextareaField/TextareaField.js +0 -247
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +0 -25
- package/src/form/fields/ValidationMessage/ValidationMessage.js +0 -77
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +0 -22
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +0 -66
- package/src/form/layout/Field/Field.js +0 -53
- package/src/form/layout/Field/Field.module.css +0 -22
- package/src/form/layout/Field/docs/Field__default.docs.js +0 -20
- package/src/form/layout/Section/ModuleFormSection.module.css +0 -3
- package/src/form/layout/Section/Section.js +0 -47
- package/src/form/layout/Section/docs/Section__default.docs.js +0 -21
- package/src/i18n.js +0 -5498
- package/src/index.js +0 -8
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +0 -274
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +0 -116
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +0 -34
- package/src/layout/SetupDetailLayout/index.js +0 -4
- package/src/layout/SubtabLayout/SubtabLayout.js +0 -235
- package/src/layout/SubtabLayout/SubtabLayout.module.css +0 -120
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +0 -53
- package/src/layout/SubtabLayout/index.js +0 -4
- package/src/list/AvatarFlip/AvatarFlip.js +0 -106
- package/src/list/AvatarFlip/AvatarFlip.module.css +0 -3
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +0 -82
- package/src/list/BluePrintStatus/BluePrintStatus.js +0 -28
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +0 -14
- package/src/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +0 -20
- package/src/list/Comment/Comment.js +0 -51
- package/src/list/Comment/Comment.module.css +0 -24
- package/src/list/Comment/docs/Comment__default.docs.js +0 -22
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +0 -119
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +0 -9
- package/src/list/Dot/Dot.js +0 -27
- package/src/list/Dot/Dot.module.css +0 -15
- package/src/list/DotNew/DotNew.js +0 -29
- package/src/list/DotNew/DotNew.module.css +0 -22
- package/src/list/DotNew/docs/DotNew__default.docs.js +0 -18
- package/src/list/GridStencils/GridStencils.js +0 -46
- package/src/list/GridStencils/GridStencils.module.css +0 -102
- package/src/list/GridStencils/docs/GridStencils__default.docs.js +0 -30
- package/src/list/Icons/AddNewIcon.js +0 -29
- package/src/list/Icons/CompleteIcon.js +0 -30
- package/src/list/Icons/DeleteIcon.js +0 -31
- package/src/list/Icons/EditIcon.js +0 -31
- package/src/list/Icons/FloatingIcons.js +0 -32
- package/src/list/Icons/Icons.module.css +0 -16
- package/src/list/Icons/ReadUnreadIcon.js +0 -42
- package/src/list/Icons/SmartIcon.js +0 -32
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +0 -26
- package/src/list/ListLayout/ListLayout.js +0 -117
- package/src/list/ListLayout/ListLayout.module.css +0 -50
- package/src/list/ListLayout/docs/ListLayout__default.docs.js +0 -54
- package/src/list/ListStencils/ListStencils.js +0 -45
- package/src/list/ListStencils/ListStencils.module.css +0 -62
- package/src/list/ListStencils/docs/ListStencils__default.docs.js +0 -18
- package/src/list/SecondaryText/AccountName.js +0 -130
- package/src/list/SecondaryText/ContactName.js +0 -137
- package/src/list/SecondaryText/DepartmentText.js +0 -34
- package/src/list/SecondaryText/Email.js +0 -86
- package/src/list/SecondaryText/HappinessRating.js +0 -37
- package/src/list/SecondaryText/PhoneNumber.js +0 -93
- package/src/list/SecondaryText/PriorityText.js +0 -40
- package/src/list/SecondaryText/SecondaryText.js +0 -43
- package/src/list/SecondaryText/SecondaryText.module.css +0 -126
- package/src/list/SecondaryText/StatusText.js +0 -42
- package/src/list/SecondaryText/TicketId.js +0 -78
- package/src/list/SecondaryText/Website.js +0 -59
- package/src/list/SecondaryText/docs/ContactName__default.docs.js +0 -18
- package/src/list/SecondaryText/index.js +0 -11
- package/src/list/SecondryPanel/SecondryPanel.js +0 -144
- package/src/list/SecondryPanel/SecondryPanel.module.css +0 -6
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +0 -37
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +0 -90
- package/src/list/SentimentStatus/SentimentStatus.js +0 -32
- package/src/list/SentimentStatus/SentimentStatus.module.css +0 -9
- package/src/list/SentimentStatus/docs/SentimentStatus__default.docs.js +0 -20
- package/src/list/Subject/Subject.js +0 -88
- package/src/list/Subject/Subject.module.css +0 -27
- package/src/list/Subject/docs/Subject__default.docs.js +0 -34
- package/src/list/TagNew/TagNew.js +0 -40
- package/src/list/TagNew/TagNew.module.css +0 -108
- package/src/list/TagNew/docs/TagNew__default.docs.js +0 -18
- package/src/list/Thread/Thread.js +0 -43
- package/src/list/Thread/Thread.module.css +0 -31
- package/src/list/Thread/docs/Thread__default.docs.js +0 -18
- package/src/list/UserTime/UserTime.js +0 -138
- package/src/list/UserTime/UserTime.module.css +0 -52
- package/src/list/UserTime/docs/UserTime__default.docs.js +0 -114
- package/src/list/listCommon.module.css +0 -52
- package/src/list/status/StatusDropdown/StatusDropdown.js +0 -538
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +0 -76
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -92
- package/src/list/status/StatusListItem/StatusListItem.js +0 -149
- package/src/list/status/StatusListItem/StatusListItem.module.css +0 -81
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +0 -19
- package/src/lookup/EmptyPage/EmptyPage.js +0 -62
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +0 -12
- package/src/lookup/EmptyPage/docs/EmptyPage__account.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +0 -17
- package/src/lookup/EmptyPage/docs/EmptyPage__default.docs.js +0 -16
- package/src/lookup/EmptyPage/docs/EmptyPage__product.docs.js +0 -17
- package/src/lookup/Lookup/Lookup.js +0 -113
- package/src/lookup/Lookup/Lookup.module.css +0 -26
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +0 -184
- package/src/lookup/Lookup/docs/Lookup__default.docs.js +0 -59
- package/src/lookup/Section/LookupSection.module.css +0 -8
- package/src/lookup/Section/Section.js +0 -27
- package/src/lookup/header/Close/Close.js +0 -36
- package/src/lookup/header/Close/LookupClose.module.css +0 -15
- package/src/lookup/header/Close/docs/Close__default.docs.js +0 -17
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +0 -97
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +0 -40
- package/src/lookup/header/Search/LookupSearch.module.css +0 -48
- package/src/lookup/header/Search/Search.js +0 -249
- package/src/lookup/header/Search/docs/Search__default.docs.js +0 -106
- package/src/lookup/header/TicketHeader/TicketHeader.js +0 -123
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +0 -19
- package/src/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +0 -63
- package/src/lookup/header/Title/LookupTitle.module.css +0 -20
- package/src/lookup/header/Title/Title.js +0 -38
- package/src/lookup/header/Title/docs/Title__default.docs.js +0 -17
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +0 -199
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +0 -46
- package/src/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +0 -54
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -25
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +0 -15
- package/src/setup/header/Button/Button.js +0 -40
- package/src/setup/header/Button/HeaderButton.module.css +0 -3
- package/src/setup/header/Button/docs/Button__default.docs.js +0 -21
- package/src/setup/header/Link/HeaderLink.module.css +0 -15
- package/src/setup/header/Link/Link.js +0 -48
- package/src/setup/header/Link/docs/Link__default.docs.js +0 -20
- package/src/setup/header/Search/Search.js +0 -87
- package/src/setup/header/Search/Search.module.css +0 -57
- package/src/setup/header/Search/docs/Search__default.docs.js +0 -32
- package/src/setup/header/Views/Views.js +0 -62
- package/src/setup/header/Views/Views.module.css +0 -27
- package/src/setup/header/Views/docs/Views__default.docs.js +0 -20
- package/src/setup/helptips/Description/Description.js +0 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +0 -6
- package/src/setup/helptips/Description/docs/Description__default.docs.js +0 -24
- package/src/setup/helptips/Link/HelpTipsLink.module.css +0 -6
- package/src/setup/helptips/Link/Link.js +0 -39
- package/src/setup/helptips/Link/docs/Link__default.docs.js +0 -27
- package/src/setup/helptips/ListGroup/ListGroup.js +0 -42
- package/src/setup/helptips/ListGroup/ListGroup.module.css +0 -17
- package/src/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +0 -37
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +0 -5
- package/src/setup/helptips/Title/Title.js +0 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +0 -22
- package/src/setup/table/Table/Table.js +0 -31
- package/src/setup/table/Table/docs/Table__default.docs.js +0 -115
- package/src/setup/table/TableBody/TableBody.js +0 -37
- package/src/setup/table/TableData/SetupTableData.module.css +0 -36
- package/src/setup/table/TableData/TableData.js +0 -56
- package/src/setup/table/TableData/Tablehover.module.css +0 -6
- package/src/setup/table/TableHead/SetupTableHead.module.css +0 -8
- package/src/setup/table/TableHead/TableHead.js +0 -53
- package/src/setup/table/TableRow/SetupTableRow.module.css +0 -10
- package/src/setup/table/TableRow/TableRow.js +0 -60
- package/src/setup/table/Text/TableText.module.css +0 -37
- package/src/setup/table/Text/Text.js +0 -82
- package/src/setup/table/Text/docs/Text__default.docs.js +0 -38
- package/src/svg/PlusIcon.js +0 -43
- package/src/svg/SnippetIcon.js +0 -50
- package/src/svg/TemplateIcon.js +0 -34
- package/src/svg/docs/SVG__default.docs.js +0 -46
- package/src/utils/ChannelIconMapping.js +0 -130
- package/src/utils/Common.js +0 -20
- package/src/utils/General.js +0 -58
- package/src/utils/KeyboardApi.js +0 -280
- package/src/utils/editorUtils.js +0 -189
- package/src/version2/AlertClose/AlertClose.js +0 -45
- package/src/version2/AlertClose/AlertClose.module.css +0 -43
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +0 -46
- package/src/version2/GlobalNotification/GlobalNotification.js +0 -120
- package/src/version2/GlobalNotification/GlobalNotification.module.css +0 -90
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +0 -94
- package/src/version2/alertIcons/AlarmAlertIcon.js +0 -32
- package/src/version2/alertIcons/AlertIcons.js +0 -61
- package/src/version2/alertIcons/AlertIcons.module.css +0 -67
- package/src/version2/alertIcons/DangerAlertIcon.js +0 -33
- package/src/version2/alertIcons/ErrorAlertIcon.js +0 -34
- package/src/version2/alertIcons/InfoAlertIcon.js +0 -35
- package/src/version2/alertIcons/NotificationAlertIcon.js +0 -32
- package/src/version2/alertIcons/SuccessAlertIcon.js +0 -31
- package/src/version2/alertIcons/WarningAlertIcon.js +0 -31
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +0 -123
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +0 -98
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +0 -19
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +0 -99
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +0 -21
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +0 -98
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +0 -31
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +0 -102
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +0 -19
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +0 -98
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +0 -21
- package/src/version2/errorstate/V2_ErrorStates.module.css +0 -47
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +0 -98
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +0 -19
- package/src/version2/lookup/AlertHeader/AlertHeader.js +0 -100
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +0 -64
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +0 -66
- package/src/version2/lookup/AlertLookup/AlertLookup.js +0 -290
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +0 -40
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +0 -150
- package/src/version2/lookup/alertLookupCommonNew.module.css +0 -26
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +0 -258
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +0 -90
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +0 -86
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +0 -92
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -100
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +0 -51
|
@@ -1,538 +0,0 @@
|
|
|
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={(!showOnHover && !isDisabled && !isReadOnly && isEditable ) ? this.handleTogglePopup : null }
|
|
289
|
-
eleRef={getTargetRef}
|
|
290
|
-
align={targetAlign}
|
|
291
|
-
isCover={false}
|
|
292
|
-
dataId={dataId}
|
|
293
|
-
onClick={removeClose}
|
|
294
|
-
disabled={isDisabled || isReadOnly ? true : false}
|
|
295
|
-
aria-haspopup={true}
|
|
296
|
-
aria-expanded={isPopupOpen && isEditable ? true : false}
|
|
297
|
-
>
|
|
298
|
-
{isEditable ? (
|
|
299
|
-
<div className={style.hiddenInput}>
|
|
300
|
-
<TextBox
|
|
301
|
-
type='text'
|
|
302
|
-
inputRef={this.inputRef}
|
|
303
|
-
onKeyDown={this.handleKeyDown}
|
|
304
|
-
needAppearance={false}
|
|
305
|
-
placeHolder={placeHolderText}
|
|
306
|
-
/>
|
|
307
|
-
</div>
|
|
308
|
-
) : null}
|
|
309
|
-
{children ? (
|
|
310
|
-
children
|
|
311
|
-
) : (
|
|
312
|
-
<Box
|
|
313
|
-
className={`${style.value} toggleDropText`}
|
|
314
|
-
shrink
|
|
315
|
-
tagName='span'
|
|
316
|
-
data-title={dataTitle}
|
|
317
|
-
>
|
|
318
|
-
{value}
|
|
319
|
-
</Box>
|
|
320
|
-
)}
|
|
321
|
-
{isEditable ? (
|
|
322
|
-
<Icon
|
|
323
|
-
aria-hidden={true}
|
|
324
|
-
size='7'
|
|
325
|
-
name='ZD-down'
|
|
326
|
-
iconClass={`${'toggleDropIcon'} ${style.arrow} ${
|
|
327
|
-
style[`${arrowIconPosition}_arrow`]
|
|
328
|
-
}`}
|
|
329
|
-
dataId='statusdownarrow'
|
|
330
|
-
/>
|
|
331
|
-
) : null}
|
|
332
|
-
</Container>
|
|
333
|
-
{isPopupOpen && isEditable ? (
|
|
334
|
-
<DropBox
|
|
335
|
-
boxPosition={position}
|
|
336
|
-
isActive={isPopupReady}
|
|
337
|
-
onClick={removeClose}
|
|
338
|
-
size={boxSize}
|
|
339
|
-
right={right}
|
|
340
|
-
left={left}
|
|
341
|
-
top={top}
|
|
342
|
-
bottom={bottom}
|
|
343
|
-
isArrow={isArrow}
|
|
344
|
-
isAnimate
|
|
345
|
-
getRef={getContainerRef}
|
|
346
|
-
customClass={{
|
|
347
|
-
customDropBoxWrap: style.dropBoxContainer
|
|
348
|
-
}}
|
|
349
|
-
needResponsive={needResponsive}
|
|
350
|
-
>
|
|
351
|
-
<React.Fragment>
|
|
352
|
-
{isSearch ? (
|
|
353
|
-
<div className={style.search}>
|
|
354
|
-
<TextBoxIcon
|
|
355
|
-
placeHolder={placeHolderText}
|
|
356
|
-
onChange={this.handleChange}
|
|
357
|
-
value={searchString}
|
|
358
|
-
onClear={this.onSearchClear}
|
|
359
|
-
size={searchBoxSize}
|
|
360
|
-
inputRef={this.searchInputRef}
|
|
361
|
-
onKeyDown={this.handleKeyDown}
|
|
362
|
-
a11y={{
|
|
363
|
-
ariaHaspopup: true,
|
|
364
|
-
ariaExpanded: true,
|
|
365
|
-
role: 'combobox',
|
|
366
|
-
ariaActivedescendant: value,
|
|
367
|
-
ariaOwns: ariaTitleId
|
|
368
|
-
}}
|
|
369
|
-
/>
|
|
370
|
-
</div>
|
|
371
|
-
) : null}
|
|
372
|
-
{title && options.length != 0 && (
|
|
373
|
-
<div className={style.title}>
|
|
374
|
-
<DropDownHeading
|
|
375
|
-
htmlId={ariaTitleId}
|
|
376
|
-
text={title}
|
|
377
|
-
a11y={{
|
|
378
|
-
role: 'heading'
|
|
379
|
-
}}
|
|
380
|
-
/>
|
|
381
|
-
</div>
|
|
382
|
-
)}
|
|
383
|
-
<Box
|
|
384
|
-
scroll='vertical'
|
|
385
|
-
dataId={`${dataId}_list`}
|
|
386
|
-
className={style.maxHgt}
|
|
387
|
-
eleRef={this.scrollContentRef}
|
|
388
|
-
onScroll={this.handleScroll}
|
|
389
|
-
role={isSearch ? 'listbox' : 'menu'}
|
|
390
|
-
aria-labelledby={ariaTitleId}
|
|
391
|
-
tabindex='0'
|
|
392
|
-
>
|
|
393
|
-
{options.length != 0 && isDataLoaded ? (
|
|
394
|
-
<React.Fragment>
|
|
395
|
-
{options.map((item, i) => (
|
|
396
|
-
<React.Fragment key={i}>
|
|
397
|
-
<StatusListItem
|
|
398
|
-
dataId={`dataid_${i}`}
|
|
399
|
-
value={item[keyName]}
|
|
400
|
-
id={item[idName]}
|
|
401
|
-
active={value === item[keyName]}
|
|
402
|
-
onClick={this.onSelect.bind(this, item)}
|
|
403
|
-
index={i}
|
|
404
|
-
highlight={selectedIndex === i}
|
|
405
|
-
needTick={needTick}
|
|
406
|
-
needBorder={false}
|
|
407
|
-
onMouseEnter={this.handleMouseEnter}
|
|
408
|
-
getRef={this.itemRef}
|
|
409
|
-
bulletColor={item[statusColor]}
|
|
410
|
-
title={item[keyName]}
|
|
411
|
-
a11y={{
|
|
412
|
-
role: isSearch ? 'option' : 'menuitem',
|
|
413
|
-
ariaSelected: value === item[keyName]
|
|
414
|
-
}}
|
|
415
|
-
/>
|
|
416
|
-
</React.Fragment>
|
|
417
|
-
))}
|
|
418
|
-
</React.Fragment>
|
|
419
|
-
) : isDataLoaded ? (
|
|
420
|
-
<CommonEmptyState
|
|
421
|
-
className={style.svgWrapper}
|
|
422
|
-
title={searchErrorText || 'oops !'}
|
|
423
|
-
description={searchEmptyHint}
|
|
424
|
-
size='small'
|
|
425
|
-
getEmptyState={this.emptySearchSVG}
|
|
426
|
-
/>
|
|
427
|
-
) : (
|
|
428
|
-
<div className={style.loader}>
|
|
429
|
-
<Loader />
|
|
430
|
-
</div>
|
|
431
|
-
)}
|
|
432
|
-
</Box>
|
|
433
|
-
</React.Fragment>
|
|
434
|
-
</DropBox>
|
|
435
|
-
) : null}
|
|
436
|
-
</div>
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
if (__DOCS__) {
|
|
441
|
-
StatusDropdown.docs = {
|
|
442
|
-
componentGroup: 'Molecule'
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
StatusDropdown.defaultProps = {
|
|
447
|
-
keyName: 'name',
|
|
448
|
-
idName: 'key',
|
|
449
|
-
isArrow: false,
|
|
450
|
-
searchBoxSize: 'small',
|
|
451
|
-
isDisabled: false,
|
|
452
|
-
showIconOnHover: false,
|
|
453
|
-
isReadOnly: false,
|
|
454
|
-
isEditable: true,
|
|
455
|
-
isDataLoaded: true,
|
|
456
|
-
needTick: true,
|
|
457
|
-
targetAlign: 'vertical',
|
|
458
|
-
needResponsive: true,
|
|
459
|
-
arrowIconPosition: 'default',
|
|
460
|
-
boxSize: 'medium',
|
|
461
|
-
needExternalPopupState: false,
|
|
462
|
-
statusColor: 'statusColor'
|
|
463
|
-
};
|
|
464
|
-
|
|
465
|
-
StatusDropdown.propTypes = {
|
|
466
|
-
activeStyle: PropTypes.string,
|
|
467
|
-
arrowIconPosition: PropTypes.oneOf(['default', 'overlay']),
|
|
468
|
-
bottom: PropTypes.number,
|
|
469
|
-
boxPosition: PropTypes.oneOf([
|
|
470
|
-
'bottomRight',
|
|
471
|
-
'bottomLeft',
|
|
472
|
-
'bottomCenter',
|
|
473
|
-
'topRight',
|
|
474
|
-
'topLeft',
|
|
475
|
-
'topCenter',
|
|
476
|
-
'rightTop',
|
|
477
|
-
'rightBottom',
|
|
478
|
-
'rightCenter',
|
|
479
|
-
'leftTop',
|
|
480
|
-
'leftBottom',
|
|
481
|
-
'leftCenter'
|
|
482
|
-
]),
|
|
483
|
-
boxSize: PropTypes.oneOf(['small', 'medium', 'mlarge', 'large']),
|
|
484
|
-
children: PropTypes.node,
|
|
485
|
-
className: PropTypes.string,
|
|
486
|
-
dataId: PropTypes.string,
|
|
487
|
-
dataTitle: PropTypes.string,
|
|
488
|
-
getContainerRef: PropTypes.func,
|
|
489
|
-
getNextOptions: PropTypes.func,
|
|
490
|
-
getTargetRef: PropTypes.func,
|
|
491
|
-
hoverStyle: PropTypes.string,
|
|
492
|
-
idName: PropTypes.string,
|
|
493
|
-
isArrow: PropTypes.bool,
|
|
494
|
-
isDataLoaded: PropTypes.bool,
|
|
495
|
-
isDataLoaded: PropTypes.bool,
|
|
496
|
-
isDisabled: PropTypes.bool,
|
|
497
|
-
isEditable: PropTypes.bool,
|
|
498
|
-
isNextOptions: PropTypes.bool,
|
|
499
|
-
isPopupActive: PropTypes.bool,
|
|
500
|
-
isPopupOpen: PropTypes.bool,
|
|
501
|
-
isPopupReady: PropTypes.bool,
|
|
502
|
-
isReadOnly: PropTypes.bool,
|
|
503
|
-
isSearch: PropTypes.bool,
|
|
504
|
-
keyName: PropTypes.string,
|
|
505
|
-
left: PropTypes.number,
|
|
506
|
-
needExternalPopupState: PropTypes.bool,
|
|
507
|
-
needResponsive: PropTypes.bool,
|
|
508
|
-
needTick: PropTypes.bool,
|
|
509
|
-
onClick: PropTypes.func,
|
|
510
|
-
onTogglePopup: PropTypes.func,
|
|
511
|
-
options: PropTypes.array.isRequired,
|
|
512
|
-
placeHolderText: PropTypes.string,
|
|
513
|
-
position: PropTypes.string,
|
|
514
|
-
removeClose: PropTypes.func,
|
|
515
|
-
right: PropTypes.number,
|
|
516
|
-
searchBoxSize: PropTypes.oneOf(['small', 'medium', 'xmedium']),
|
|
517
|
-
searchEmptyHint: PropTypes.string,
|
|
518
|
-
searchErrorText: PropTypes.string,
|
|
519
|
-
showIconOnHover: PropTypes.bool,
|
|
520
|
-
showOnHover: PropTypes.bool,
|
|
521
|
-
statusColor: PropTypes.string,
|
|
522
|
-
targetAlign: PropTypes.oneOf([
|
|
523
|
-
'vertical',
|
|
524
|
-
'horizontal',
|
|
525
|
-
'both',
|
|
526
|
-
'top',
|
|
527
|
-
'right',
|
|
528
|
-
'bottom',
|
|
529
|
-
'left',
|
|
530
|
-
'between',
|
|
531
|
-
'around'
|
|
532
|
-
]),
|
|
533
|
-
title: PropTypes.string,
|
|
534
|
-
togglePopup: PropTypes.func,
|
|
535
|
-
value: PropTypes.node
|
|
536
|
-
};
|
|
537
|
-
|
|
538
|
-
export default Popup(StatusDropdown);
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
max-width: 100%;
|
|
3
|
-
}
|
|
4
|
-
.posRel {
|
|
5
|
-
position: relative;
|
|
6
|
-
}
|
|
7
|
-
.maxHgt {
|
|
8
|
-
max-height: var(--zd_size265);
|
|
9
|
-
padding: var(--zd_size10) 0;
|
|
10
|
-
}
|
|
11
|
-
.title {
|
|
12
|
-
padding-top: var(--zd_size6);
|
|
13
|
-
}
|
|
14
|
-
.default_arrow,
|
|
15
|
-
.overlay_arrow {
|
|
16
|
-
padding: 0 0 0 var(--zd_size5);
|
|
17
|
-
}
|
|
18
|
-
.overlay_arrow {
|
|
19
|
-
position: absolute;
|
|
20
|
-
left: 100%;
|
|
21
|
-
top: 50%;
|
|
22
|
-
transform: translateY(-50%) perspective(1px);
|
|
23
|
-
}
|
|
24
|
-
.hoverIcon .arrow {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
visibility: hidden;
|
|
27
|
-
}
|
|
28
|
-
.hoverIcon:hover .arrow {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
visibility: visible;
|
|
31
|
-
}
|
|
32
|
-
.value {
|
|
33
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
34
|
-
}
|
|
35
|
-
.search {
|
|
36
|
-
padding: var(--zd_size6) var(--zd_size20) 0;
|
|
37
|
-
}
|
|
38
|
-
.svgWrapper {
|
|
39
|
-
padding-bottom: var(--zd_size25);
|
|
40
|
-
}
|
|
41
|
-
.readOnly {
|
|
42
|
-
cursor: no-drop;
|
|
43
|
-
}
|
|
44
|
-
.cursorDefault {
|
|
45
|
-
cursor: default;
|
|
46
|
-
}
|
|
47
|
-
.cursor {
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
}
|
|
50
|
-
.dropBoxContainer {
|
|
51
|
-
text-align: left;
|
|
52
|
-
}
|
|
53
|
-
.iconBox {
|
|
54
|
-
margin-right: var(--zd_size4);
|
|
55
|
-
}
|
|
56
|
-
.iconBox > i {
|
|
57
|
-
display: block;
|
|
58
|
-
}
|
|
59
|
-
.loader {
|
|
60
|
-
width: var(--zd_size40);
|
|
61
|
-
margin: 0 auto;
|
|
62
|
-
}
|
|
63
|
-
.seperatedLine {
|
|
64
|
-
border-bottom: 1px solid var(--zdt_statusdropdown_line_border);
|
|
65
|
-
height: var(--zd_size1);
|
|
66
|
-
margin: var(--zd_size9) 0 var(--zd_size10);
|
|
67
|
-
}
|
|
68
|
-
.hiddenInput {
|
|
69
|
-
width: 0;
|
|
70
|
-
height: 0;
|
|
71
|
-
opacity: 0;
|
|
72
|
-
}
|
|
73
|
-
.hiddenInput > input {
|
|
74
|
-
width: 100%;
|
|
75
|
-
padding: 0;
|
|
76
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import StatusDropdown from '../StatusDropdown';
|
|
3
|
-
import { StatusText } from '../../../SecondaryText';
|
|
4
|
-
|
|
5
|
-
export default class StatusDropdown__default extends React.Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
this.state = {
|
|
9
|
-
value: 'Open',
|
|
10
|
-
options: [
|
|
11
|
-
{ statusType: 'Open', name: 'Opensdd', key: 'Opensdd', statusColor: 'black' },
|
|
12
|
-
{ statusType: 'Open', name: 'Escalated', key: 'Escalated', statusColor: 'black' },
|
|
13
|
-
{ statusType: 'Closed', name: 'Closed', key: 'Closed', statusColor: 'green' },
|
|
14
|
-
{
|
|
15
|
-
statusType: 'On Hold',
|
|
16
|
-
name: 'On Hold Status',
|
|
17
|
-
key: 'On Hold Status',
|
|
18
|
-
statusColor: 'orange'
|
|
19
|
-
},
|
|
20
|
-
{ statusType: 'Open', name: 'Open', key: 'Open', statusColor: 'black' },
|
|
21
|
-
{
|
|
22
|
-
statusType: 'On Hold',
|
|
23
|
-
name: 'Pending Developer Implement',
|
|
24
|
-
key: 'Pending Developer Implement',
|
|
25
|
-
statusColor: 'orange'
|
|
26
|
-
},
|
|
27
|
-
{ statusType: 'Open', name: 'Inprogress', key: 'Inprogress', statusColor: 'black' }
|
|
28
|
-
]
|
|
29
|
-
};
|
|
30
|
-
this.onSelect = this.onSelect.bind(this);
|
|
31
|
-
this.getNextOptions = this.getNextOptions.bind(this);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
onSelect(element, e) {
|
|
35
|
-
this.setState({
|
|
36
|
-
value: element
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
getNextOptions() {
|
|
41
|
-
this.setState({
|
|
42
|
-
options: [
|
|
43
|
-
{ statusType: 'Open', name: 'Opensdd', key: 'Opensdd', statusColor: 'black' },
|
|
44
|
-
{ statusType: 'Open', name: 'Escalated', key: 'Escalated', statusColor: 'black' },
|
|
45
|
-
{ statusType: 'Closed', name: 'Closed', key: 'Closed', statusColor: 'green' },
|
|
46
|
-
{
|
|
47
|
-
statusType: 'On Hold',
|
|
48
|
-
name: 'On Hold Status',
|
|
49
|
-
key: 'On Hold Status',
|
|
50
|
-
statusColor: 'orange'
|
|
51
|
-
},
|
|
52
|
-
{ statusType: 'Open', name: 'Open', key: 'Open', statusColor: 'black' },
|
|
53
|
-
{
|
|
54
|
-
statusType: 'On Hold',
|
|
55
|
-
name: 'Pending Developer Implement',
|
|
56
|
-
key: 'Pending Developer Implement',
|
|
57
|
-
statusColor: 'orange'
|
|
58
|
-
},
|
|
59
|
-
{ statusType: 'Open', name: 'Inprogress', key: 'Inprogress', statusColor: 'black' }
|
|
60
|
-
]
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
render() {
|
|
65
|
-
let { options } = this.state;
|
|
66
|
-
|
|
67
|
-
return (
|
|
68
|
-
<div style={{ margin: '30px', display: 'inline-flex', maxWidth: '200px' }}>
|
|
69
|
-
<StatusDropdown
|
|
70
|
-
value={this.state.value}
|
|
71
|
-
dataTitle={this.state.value}
|
|
72
|
-
keyName='name'
|
|
73
|
-
onClick={this.onSelect}
|
|
74
|
-
isSearch
|
|
75
|
-
title='Status'
|
|
76
|
-
options={options}
|
|
77
|
-
isNextOptions
|
|
78
|
-
getNextOptions={this.getNextOptions}
|
|
79
|
-
arrowIconPosition='overlay'
|
|
80
|
-
isEditable
|
|
81
|
-
statusColor='statusColor'
|
|
82
|
-
placeHolderText='Search Status'
|
|
83
|
-
>
|
|
84
|
-
<StatusText text={this.state.value} />
|
|
85
|
-
</StatusDropdown>
|
|
86
|
-
</div>
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
StatusDropdown__default.docs = {
|
|
91
|
-
componentGroup: 'Molecule'
|
|
92
|
-
};
|