@zohodesk/dot 1.0.0-beta.20 → 1.0.0-beta.203
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 +924 -8
- package/build/Unusedfiles.json +1 -0
- package/dubFinder.js +7 -4
- package/es/ActionButton/ActionButton.js +165 -0
- package/es/ActionButton/ActionButton.module.css +136 -0
- package/es/ActionButton/docs/ActionButton__default.docs.js +134 -0
- package/es/AlphabeticList/AlphabeticList.js +138 -0
- package/es/AlphabeticList/AlphabeticList.module.css +57 -0
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
- package/es/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/es/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/es/Attachment/Attachment.js +104 -0
- package/es/Attachment/Attachment.module.css +132 -0
- package/es/Attachment/docs/Attachment__default.docs.js +54 -0
- package/es/ChannelIcon/ChannelIcon.js +91 -83
- package/es/ChannelIcon/ChannelIcon.module.css +98 -68
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +44 -84
- package/es/Drawer/Drawer.js +246 -276
- package/es/Drawer/Drawer.module.css +107 -103
- package/es/Drawer/docs/Drawer__default.docs.js +71 -57
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +10 -33
- package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
- package/es/ExternalLink/ExternalLink.js +39 -58
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +17 -26
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +8 -29
- package/es/FlipCard/FlipCard.js +134 -127
- package/es/FlipCard/FlipCard.module.css +16 -7
- package/es/FlipCard/docs/FlipCard__default.docs.js +54 -93
- package/es/FormAction/FormAction.js +61 -106
- package/es/FormAction/FormAction.module.css +41 -23
- package/es/FormAction/docs/FormAction__default.docs.js +61 -188
- package/es/FreezeLayer/FreezeLayer.js +98 -99
- package/es/FreezeLayer/FreezeLayer.module.css +13 -8
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +38 -64
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +35 -63
- package/es/IconButton/IconButton.js +188 -0
- package/es/IconButton/IconButton.module.css +22 -0
- package/es/IconButton/docs/IconButton__default.docs.js +219 -0
- package/es/Image/Image.js +30 -43
- package/es/Image/docs/Image__default.docs.js +11 -29
- package/es/ImportantNotes/ImportantNotes.js +60 -0
- package/es/ImportantNotes/ImportantNotes.module.css +20 -0
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/es/Link/Link.js +81 -97
- package/es/Link/LinkContext.js +2 -4
- package/es/Link/docs/Link__default.docs.js +26 -54
- package/es/Loader/Loader.js +27 -0
- package/es/Loader/Loader.module.css +46 -0
- package/es/Loader/docs/Loader__default.docs.js +23 -0
- package/es/Message/Message.js +124 -0
- package/es/Message/Message.module.css +103 -0
- package/es/Message/docs/Message__default.docs.js +55 -0
- package/es/MessageBanner/MessageBanner.js +75 -0
- package/es/MessageBanner/MessageBanner.module.css +46 -0
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
- package/es/NewStar/NewStar.js +75 -0
- package/es/NewStar/NewStar.module.css +110 -0
- package/es/NewStar/docs/NewStar__default.docs.js +62 -0
- package/es/PlusIcon/PlusIcon.js +31 -56
- package/es/PlusIcon/PlusIcon.module.css +11 -2
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +4 -28
- package/es/Provider.js +205 -0
- package/es/ToastMessage/ToastMessage.js +200 -284
- package/es/ToastMessage/ToastMessage.module.css +136 -68
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +73 -113
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +42 -68
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +112 -159
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +25 -52
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +49 -82
- package/es/Upload/Upload.js +92 -0
- package/es/Upload/Upload.module.css +125 -0
- package/es/Upload/docs/Upload__default.docs.js +61 -0
- package/es/actions/AutoClose.js +54 -0
- package/es/actions/index.js +15 -10
- package/es/alert/AlertHeader/AlertHeader.js +68 -107
- package/es/alert/AlertHeader/AlertHeader.module.css +35 -16
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +51 -79
- package/es/alert/AlertLookup/AlertLookup.js +138 -143
- package/es/alert/AlertLookup/AlertLookup.module.css +12 -5
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +104 -153
- package/es/avatar/AvatarClose/AvatarClose.js +44 -47
- package/es/avatar/AvatarClose/AvatarClose.module.css +12 -6
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +14 -32
- package/es/avatar/AvatarCollision/AvatarCollision.js +52 -62
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +25 -11
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +23 -46
- package/es/avatar/AvatarIcon/AvatarIcon.js +55 -60
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +33 -11
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +26 -40
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +32 -35
- package/es/avatar/AvatarStatus/AvatarStatus.js +71 -54
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +105 -23
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +21 -38
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +36 -60
- package/es/avatar/AvatarThread/AvatarThread.js +81 -77
- package/es/avatar/AvatarThread/AvatarThread.module.css +120 -15
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +134 -56
- package/es/avatar/AvatarUser/AvatarUser.js +114 -85
- package/es/avatar/AvatarUser/AvatarUser.module.css +129 -19
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +159 -132
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +96 -56
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +12 -5
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +43 -44
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +11 -32
- package/es/deprecated/SelectDropdown/SelectDropdown.js +129 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +55 -0
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
- package/es/docs/formDocs.js +26 -0
- package/es/docs/generalDocs.js +47 -33
- package/es/docs/lookupDocs.js +17 -6
- package/es/docs/setupDocs.js +0 -5
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +805 -482
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +46 -14
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +217 -67
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +71 -106
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +69 -15
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +95 -69
- package/es/emptystate/EditionPage/EditionPage.css +13 -7
- package/es/emptystate/EditionPage/EditionPage.js +45 -80
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +11 -32
- package/es/errorstate/EmptyStates.module.css +63 -15
- package/es/errorstate/Inconvenience/Inconvenience.js +74 -64
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -2
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +8 -28
- package/es/errorstate/LinkText/LinkText.js +24 -39
- package/es/errorstate/LinkText/LinkText.module.css +2 -2
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +6 -24
- package/es/errorstate/NoRequestFound/NoRequestFound.js +73 -63
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +9 -29
- package/es/errorstate/PermissionPlay/PermissionPlay.js +72 -71
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +12 -11
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +9 -29
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +73 -63
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +8 -28
- package/es/errorstate/UnableToProcess/UnableToProcess.js +73 -63
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +0 -11
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +8 -28
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +73 -63
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -11
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +9 -29
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +8 -28
- package/es/errorstate/WillBack/WillBack.js +66 -63
- package/es/errorstate/WillBack/WillBack.module.css +23 -10
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +10 -30
- package/es/form/fields/CheckBoxField/CheckBoxField.js +189 -0
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
- package/es/form/fields/CurrencyField/CurrencyField.js +244 -0
- package/es/form/fields/DateField/DateField.js +256 -0
- package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
- package/es/form/fields/Fields.module.css +181 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +287 -0
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
- package/es/form/fields/PhoneField/PhoneField.js +240 -0
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/es/form/fields/RadioField/RadioField.js +153 -0
- package/es/form/fields/SelectField/SelectField.js +254 -0
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +296 -0
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +320 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
- package/es/form/fields/TextBoxField/TextBoxField.js +234 -0
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
- package/es/form/fields/TextEditor/TextEditor.js +455 -0
- package/es/form/fields/TextEditor/TextEditor.module.css +654 -0
- package/es/form/fields/TextEditorField/TextEditorField.js +254 -0
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +244 -0
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
- package/es/form/fields/TextareaField/TextareaField.js +215 -0
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.js +73 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
- package/es/form/layout/Field/Field.js +44 -0
- package/es/form/layout/Field/Field.module.css +22 -0
- package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/es/form/layout/Section/Section.js +44 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/es/i18n.js +4349 -0
- package/es/index.js +3 -9
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +184 -269
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +66 -30
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +17 -67
- package/es/layout/SubtabLayout/SubtabLayout.js +152 -178
- package/es/layout/SubtabLayout/SubtabLayout.module.css +98 -18
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +57 -181
- package/es/layout/SubtabLayout/index.js +2 -1
- package/es/list/AvatarFlip/AvatarFlip.js +70 -71
- package/es/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +88 -296
- package/es/list/BluePrintStatus/BluePrintStatus.js +18 -36
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +7 -3
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +7 -24
- package/es/list/Comment/Comment.js +31 -60
- package/es/list/Comment/Comment.module.css +17 -5
- package/es/list/Comment/docs/Comment__default.docs.js +13 -27
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +98 -71
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -59
- package/es/list/Dot/Dot.js +16 -36
- package/es/list/Dot/Dot.module.css +7 -5
- package/es/list/DotNew/DotNew.js +22 -27
- package/es/list/DotNew/DotNew.module.css +15 -9
- package/es/list/DotNew/docs/DotNew__default.docs.js +7 -23
- package/es/list/GridStencils/GridStencils.js +23 -47
- package/es/list/GridStencils/GridStencils.module.css +79 -54
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +21 -36
- package/es/list/Icons/AddNewIcon.js +22 -59
- package/es/list/Icons/CompleteIcon.js +26 -50
- package/es/list/Icons/DeleteIcon.js +23 -67
- package/es/list/Icons/EditIcon.js +24 -67
- package/es/list/Icons/FloatingIcons.js +18 -40
- package/es/list/Icons/Icons.module.css +6 -5
- package/es/list/Icons/ReadUnreadIcon.js +42 -0
- package/es/list/Icons/SmartIcon.js +23 -36
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +12 -44
- package/es/list/ListLayout/ListLayout.js +83 -106
- package/es/list/ListLayout/ListLayout.module.css +42 -13
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +46 -117
- package/es/list/ListStencils/ListStencils.js +37 -48
- package/es/list/ListStencils/ListStencils.module.css +52 -9
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +7 -23
- package/es/list/SecondaryText/AccountName.js +79 -72
- package/es/list/SecondaryText/ContactName.js +85 -93
- package/es/list/SecondaryText/DepartmentText.js +19 -36
- package/es/list/SecondaryText/Email.js +46 -62
- package/es/list/SecondaryText/HappinessRating.js +18 -44
- package/es/list/SecondaryText/PhoneNumber.js +52 -64
- package/es/list/SecondaryText/PriorityText.js +19 -39
- package/es/list/SecondaryText/SecondaryText.js +33 -42
- package/es/list/SecondaryText/SecondaryText.module.css +69 -24
- package/es/list/SecondaryText/StatusText.js +25 -42
- package/es/list/SecondaryText/TicketId.js +50 -43
- package/es/list/SecondaryText/Website.js +25 -58
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +10 -23
- package/es/list/SecondryPanel/SecondryPanel.js +92 -148
- package/es/list/SecondryPanel/SecondryPanel.module.css +1 -22
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +8 -12
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +66 -116
- package/es/list/SentimentStatus/SentimentStatus.js +23 -37
- package/es/list/SentimentStatus/SentimentStatus.module.css +5 -2
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +7 -24
- package/es/list/Subject/Subject.js +56 -65
- package/es/list/Subject/Subject.module.css +21 -3
- package/es/list/Subject/docs/Subject__default.docs.js +31 -36
- package/es/list/TagNew/TagNew.js +22 -38
- package/es/list/TagNew/TagNew.module.css +17 -10
- package/es/list/TagNew/docs/TagNew__default.docs.js +10 -23
- package/es/list/Thread/Thread.js +31 -44
- package/es/list/Thread/Thread.module.css +34 -6
- package/es/list/Thread/docs/Thread__default.docs.js +9 -23
- package/es/list/UserTime/UserTime.js +69 -86
- package/es/list/UserTime/UserTime.module.css +28 -12
- package/es/list/UserTime/docs/UserTime__default.docs.js +137 -152
- package/es/list/listCommon.module.css +23 -47
- package/es/list/status/StatusDropdown/StatusDropdown.js +488 -0
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +89 -0
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
- package/es/list/status/StatusListItem/StatusListItem.js +161 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +104 -0
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
- package/es/lookup/EmptyPage/EmptyPage.js +43 -61
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +2 -1
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +8 -26
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +8 -26
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +5 -25
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +8 -26
- package/es/lookup/Lookup/Lookup.js +80 -68
- package/es/lookup/Lookup/Lookup.module.css +13 -9
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +102 -118
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +50 -72
- package/es/lookup/Section/LookupSection.module.css +3 -3
- package/es/lookup/Section/Section.js +16 -39
- package/es/lookup/header/Close/Close.js +16 -44
- package/es/lookup/header/Close/LookupClose.module.css +6 -6
- package/es/lookup/header/Close/docs/Close__default.docs.js +7 -23
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +61 -78
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +25 -42
- package/es/lookup/header/Search/LookupSearch.module.css +49 -29
- package/es/lookup/header/Search/Search.js +226 -103
- package/es/lookup/header/Search/docs/Search__default.docs.js +108 -46
- package/es/lookup/header/TicketHeader/TicketHeader.js +80 -102
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -14
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +65 -56
- package/es/lookup/header/Title/LookupTitle.module.css +5 -5
- package/es/lookup/header/Title/Title.js +15 -41
- package/es/lookup/header/Title/docs/Title__default.docs.js +9 -23
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +119 -146
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +20 -19
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +59 -48
- package/es/lookup/header/lookupHeaderCommon.module.css +23 -8
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/es/setup/header/Button/Button.js +22 -40
- package/es/setup/header/Button/HeaderButton.module.css +3 -1
- package/es/setup/header/Button/docs/Button__default.docs.js +9 -24
- package/es/setup/header/Link/HeaderLink.module.css +11 -6
- package/es/setup/header/Link/Link.js +28 -49
- package/es/setup/header/Link/docs/Link__default.docs.js +10 -23
- package/es/setup/header/Search/Search.js +64 -73
- package/es/setup/header/Search/Search.module.css +31 -19
- package/es/setup/header/Search/docs/Search__default.docs.js +28 -41
- package/es/setup/header/Views/Views.js +32 -53
- package/es/setup/header/Views/Views.module.css +18 -8
- package/es/setup/header/Views/docs/Views__default.docs.js +11 -27
- package/es/setup/helptips/Description/Description.js +13 -30
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/es/setup/helptips/Description/docs/Description__default.docs.js +13 -29
- package/es/setup/helptips/Link/HelpTipsLink.module.css +3 -2
- package/es/setup/helptips/Link/Link.js +27 -41
- package/es/setup/helptips/Link/docs/Link__default.docs.js +14 -30
- package/es/setup/helptips/ListGroup/ListGroup.js +26 -49
- package/es/setup/helptips/ListGroup/ListGroup.module.css +7 -2
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +17 -33
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/es/setup/helptips/Title/Title.js +13 -30
- package/es/setup/helptips/Title/docs/Title__default.docs.js +13 -27
- package/es/setup/table/Table/Table.js +16 -36
- package/es/setup/table/Table/docs/Table__default.docs.js +161 -173
- package/es/setup/table/TableBody/TableBody.js +21 -37
- package/{src/setup/table/TableData/TableData.css → es/setup/table/TableData/SetupTableData.module.css} +11 -3
- package/es/setup/table/TableData/TableData.js +27 -46
- package/es/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -0
- package/es/setup/table/TableHead/TableHead.js +24 -49
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -0
- package/es/setup/table/TableRow/TableRow.js +33 -55
- package/{src/setup/table/Text/Text.css → es/setup/table/Text/TableText.module.css} +37 -37
- package/es/setup/table/Text/Text.js +46 -79
- package/es/setup/table/Text/docs/Text__default.docs.js +24 -58
- package/es/svg/PlusIcon.js +41 -0
- package/es/svg/SnippetIcon.js +43 -0
- package/es/svg/TemplateIcon.js +44 -0
- package/es/svg/docs/SVG__default.docs.js +49 -0
- package/es/utils/ChannelIconMapping.js +101 -84
- package/es/utils/Common.js +24 -0
- package/es/utils/General.js +50 -5
- package/es/utils/KeyboardApi.js +82 -42
- package/es/utils/editorUtils.js +193 -0
- package/es/version2/AlertClose/AlertClose.js +47 -0
- package/es/version2/AlertClose/AlertClose.module.css +43 -0
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
- package/es/version2/GlobalNotification/GlobalNotification.js +137 -0
- package/es/version2/GlobalNotification/GlobalNotification.module.css +125 -0
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
- package/es/version2/alertIcons/AlarmAlertIcon.js +72 -0
- package/es/version2/alertIcons/AlertIcons.js +65 -0
- package/es/version2/alertIcons/AlertIcons.module.css +67 -0
- package/es/version2/alertIcons/DangerAlertIcon.js +73 -0
- package/es/version2/alertIcons/ErrorAlertIcon.js +77 -0
- package/es/version2/alertIcons/InfoAlertIcon.js +81 -0
- package/es/version2/alertIcons/NotificationAlertIcon.js +77 -0
- package/es/version2/alertIcons/SuccessAlertIcon.js +72 -0
- package/es/version2/alertIcons/WarningAlertIcon.js +72 -0
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +93 -0
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +94 -0
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +93 -0
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +97 -0
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +93 -0
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +93 -0
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
- package/es/version2/lookup/AlertHeader/AlertHeader.js +78 -0
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
- package/es/version2/lookup/AlertLookup/AlertLookup.js +250 -0
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +147 -0
- package/es/version2/lookup/alertLookupCommonNew.module.css +33 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +201 -0
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +107 -0
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +75 -0
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
- package/lib/ActionButton/ActionButton.js +222 -0
- package/lib/ActionButton/ActionButton.module.css +136 -0
- package/lib/ActionButton/docs/ActionButton__default.docs.js +187 -0
- package/lib/AlphabeticList/AlphabeticList.js +213 -0
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -0
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/lib/Attachment/Attachment.js +155 -0
- package/lib/Attachment/Attachment.module.css +132 -0
- package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
- package/lib/ChannelIcon/ChannelIcon.js +124 -92
- package/lib/ChannelIcon/ChannelIcon.module.css +98 -68
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +60 -62
- package/lib/Drawer/Drawer.js +301 -261
- package/lib/Drawer/Drawer.module.css +107 -103
- package/lib/Drawer/docs/Drawer__default.docs.js +97 -49
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +32 -26
- package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
- package/lib/ExternalLink/ExternalLink.js +65 -57
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +16 -27
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +33 -21
- package/lib/FlipCard/FlipCard.js +172 -142
- package/lib/FlipCard/FlipCard.module.css +16 -7
- package/lib/FlipCard/docs/FlipCard__default.docs.js +81 -84
- package/lib/FormAction/FormAction.js +84 -88
- package/lib/FormAction/FormAction.module.css +41 -23
- package/lib/FormAction/docs/FormAction__default.docs.js +89 -183
- package/lib/FreezeLayer/FreezeLayer.js +127 -99
- package/lib/FreezeLayer/FreezeLayer.module.css +13 -8
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +61 -54
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +58 -53
- package/lib/IconButton/IconButton.js +236 -0
- package/lib/IconButton/IconButton.module.css +22 -0
- package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
- package/lib/Image/Image.js +58 -41
- package/lib/Image/docs/Image__default.docs.js +39 -22
- package/lib/ImportantNotes/ImportantNotes.js +107 -0
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -0
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
- package/lib/Link/Link.js +91 -78
- package/lib/Link/LinkContext.js +8 -7
- package/lib/Link/docs/Link__default.docs.js +50 -40
- package/lib/Loader/Loader.js +76 -0
- package/lib/Loader/Loader.module.css +46 -0
- package/lib/Loader/docs/Loader__default.docs.js +68 -0
- package/lib/Message/Message.js +173 -0
- package/lib/Message/Message.module.css +103 -0
- package/lib/Message/docs/Message__default.docs.js +100 -0
- package/lib/MessageBanner/MessageBanner.js +127 -0
- package/lib/MessageBanner/MessageBanner.module.css +46 -0
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
- package/lib/NewStar/NewStar.js +126 -0
- package/lib/NewStar/NewStar.module.css +110 -0
- package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
- package/lib/PlusIcon/PlusIcon.js +59 -60
- package/lib/PlusIcon/PlusIcon.module.css +11 -2
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +32 -21
- package/lib/Provider.js +309 -0
- package/lib/ToastMessage/ToastMessage.js +250 -317
- package/lib/ToastMessage/ToastMessage.module.css +136 -68
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +96 -102
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +70 -61
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +137 -153
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +53 -45
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +77 -75
- package/lib/Upload/Upload.js +143 -0
- package/lib/Upload/Upload.module.css +125 -0
- package/lib/Upload/docs/Upload__default.docs.js +110 -0
- package/lib/actions/AutoClose.js +85 -0
- package/lib/actions/index.js +13 -3
- package/lib/alert/AlertHeader/AlertHeader.js +93 -104
- package/lib/alert/AlertHeader/AlertHeader.module.css +35 -16
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +76 -71
- package/lib/alert/AlertLookup/AlertLookup.js +158 -146
- package/lib/alert/AlertLookup/AlertLookup.module.css +12 -5
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +123 -137
- package/lib/avatar/AvatarClose/AvatarClose.js +70 -51
- package/lib/avatar/AvatarClose/AvatarClose.module.css +12 -6
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +36 -27
- package/lib/avatar/AvatarCollision/AvatarCollision.js +80 -69
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +25 -11
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +45 -41
- package/lib/avatar/AvatarIcon/AvatarIcon.js +88 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +33 -11
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +56 -37
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +60 -32
- package/lib/avatar/AvatarStatus/AvatarStatus.js +98 -57
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +105 -23
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +50 -34
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +42 -35
- package/lib/avatar/AvatarThread/AvatarThread.js +115 -86
- package/lib/avatar/AvatarThread/AvatarThread.module.css +120 -15
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +159 -52
- package/lib/avatar/AvatarUser/AvatarUser.js +149 -98
- package/lib/avatar/AvatarUser/AvatarUser.module.css +129 -19
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +185 -129
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +131 -61
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +12 -5
- package/lib/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +45 -48
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +37 -27
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +186 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +55 -0
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
- package/lib/docs/formDocs.js +215 -0
- package/lib/docs/generalDocs.js +658 -472
- package/lib/docs/lookupDocs.js +198 -107
- package/lib/docs/setupDocs.js +86 -126
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +830 -496
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +46 -14
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +241 -56
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +98 -105
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +69 -15
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +131 -70
- package/lib/emptystate/EditionPage/EditionPage.css +13 -7
- package/lib/emptystate/EditionPage/EditionPage.js +69 -74
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +38 -22
- package/lib/errorstate/EmptyStates.module.css +63 -15
- package/lib/errorstate/Inconvenience/Inconvenience.js +104 -73
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -2
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +32 -21
- package/lib/errorstate/LinkText/LinkText.js +50 -37
- package/lib/errorstate/LinkText/LinkText.module.css +2 -2
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +31 -18
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +104 -73
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +33 -20
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +103 -81
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +12 -11
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +33 -22
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +104 -73
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +32 -21
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +104 -73
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +0 -11
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +32 -21
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +104 -73
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -11
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +33 -22
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +32 -21
- package/lib/errorstate/WillBack/WillBack.js +92 -66
- package/lib/errorstate/WillBack/WillBack.module.css +23 -10
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +34 -23
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +242 -0
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
- package/lib/form/fields/CurrencyField/CurrencyField.js +293 -0
- package/lib/form/fields/DateField/DateField.js +307 -0
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
- package/lib/form/fields/Fields.module.css +181 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +339 -0
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
- package/lib/form/fields/PhoneField/PhoneField.js +286 -0
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
- package/lib/form/fields/RadioField/RadioField.js +205 -0
- package/lib/form/fields/SelectField/SelectField.js +306 -0
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +352 -0
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -0
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +362 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -0
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
- package/lib/form/fields/TextBoxField/TextBoxField.js +287 -0
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
- package/lib/form/fields/TextEditor/TextEditor.js +499 -0
- package/lib/form/fields/TextEditor/TextEditor.module.css +654 -0
- package/lib/form/fields/TextEditorField/TextEditorField.js +306 -0
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +296 -0
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -0
- package/lib/form/fields/TextareaField/TextareaField.js +266 -0
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +124 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -0
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
- package/lib/form/layout/Field/Field.js +97 -0
- package/lib/form/layout/Field/Field.module.css +22 -0
- package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/lib/form/layout/Section/Section.js +93 -0
- package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
- package/lib/i18n.js +3417 -0
- package/lib/index.js +48 -34
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +221 -245
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +66 -30
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +44 -63
- package/lib/layout/SetupDetailLayout/index.js +15 -12
- package/lib/layout/SubtabLayout/SubtabLayout.js +220 -174
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +98 -18
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +71 -158
- package/lib/layout/SubtabLayout/index.js +19 -10
- package/lib/list/AvatarFlip/AvatarFlip.js +96 -65
- package/lib/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +111 -289
- package/lib/list/BluePrintStatus/BluePrintStatus.js +39 -34
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +7 -3
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +29 -18
- package/lib/list/Comment/Comment.js +59 -58
- package/lib/list/Comment/Comment.module.css +17 -5
- package/lib/list/Comment/docs/Comment__default.docs.js +38 -21
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +121 -61
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -59
- package/lib/list/Dot/Dot.js +42 -32
- package/lib/list/Dot/Dot.module.css +7 -5
- package/lib/list/DotNew/DotNew.js +46 -21
- package/lib/list/DotNew/DotNew.module.css +15 -9
- package/lib/list/DotNew/docs/DotNew__default.docs.js +32 -17
- package/lib/list/GridStencils/GridStencils.js +51 -45
- package/lib/list/GridStencils/GridStencils.module.css +79 -54
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +46 -32
- package/lib/list/Icons/AddNewIcon.js +55 -65
- package/lib/list/Icons/CompleteIcon.js +79 -74
- package/lib/list/Icons/DeleteIcon.js +51 -69
- package/lib/list/Icons/EditIcon.js +58 -75
- package/lib/list/Icons/FloatingIcons.js +46 -31
- package/lib/list/Icons/Icons.module.css +6 -5
- package/lib/list/Icons/ReadUnreadIcon.js +92 -0
- package/lib/list/Icons/SmartIcon.js +82 -61
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +39 -39
- package/lib/list/ListLayout/ListLayout.js +116 -100
- package/lib/list/ListLayout/ListLayout.module.css +42 -13
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +70 -109
- package/lib/list/ListStencils/ListStencils.js +58 -42
- package/lib/list/ListStencils/ListStencils.module.css +52 -9
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +32 -17
- package/lib/list/SecondaryText/AccountName.js +110 -78
- package/lib/list/SecondaryText/ContactName.js +125 -104
- package/lib/list/SecondaryText/DepartmentText.js +46 -33
- package/lib/list/SecondaryText/Email.js +72 -65
- package/lib/list/SecondaryText/HappinessRating.js +44 -40
- package/lib/list/SecondaryText/PhoneNumber.js +79 -68
- package/lib/list/SecondaryText/PriorityText.js +48 -38
- package/lib/list/SecondaryText/SecondaryText.js +59 -40
- package/lib/list/SecondaryText/SecondaryText.module.css +69 -24
- package/lib/list/SecondaryText/StatusText.js +52 -39
- package/lib/list/SecondaryText/TicketId.js +79 -41
- package/lib/list/SecondaryText/Website.js +52 -62
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +35 -17
- package/lib/list/SecondaryText/index.js +46 -57
- package/lib/list/SecondryPanel/SecondryPanel.js +133 -119
- package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -22
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +8 -12
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +93 -112
- package/lib/list/SentimentStatus/SentimentStatus.js +41 -31
- package/lib/list/SentimentStatus/SentimentStatus.module.css +5 -2
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +29 -18
- package/lib/list/Subject/Subject.js +87 -67
- package/lib/list/Subject/Subject.module.css +21 -3
- package/lib/list/Subject/docs/Subject__default.docs.js +56 -30
- package/lib/list/TagNew/TagNew.js +50 -36
- package/lib/list/TagNew/TagNew.module.css +17 -10
- package/lib/list/TagNew/docs/TagNew__default.docs.js +35 -17
- package/lib/list/Thread/Thread.js +59 -43
- package/lib/list/Thread/Thread.module.css +34 -6
- package/lib/list/Thread/docs/Thread__default.docs.js +34 -17
- package/lib/list/UserTime/UserTime.js +104 -92
- package/lib/list/UserTime/UserTime.module.css +28 -12
- package/lib/list/UserTime/docs/UserTime__default.docs.js +157 -153
- package/lib/list/listCommon.module.css +23 -47
- package/lib/list/status/StatusDropdown/StatusDropdown.js +538 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +89 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
- package/lib/list/status/StatusListItem/StatusListItem.js +206 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -0
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
- package/lib/lookup/EmptyPage/EmptyPage.js +56 -51
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +2 -1
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +32 -17
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +32 -17
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +29 -16
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +32 -17
- package/lib/lookup/Lookup/Lookup.js +110 -77
- package/lib/lookup/Lookup/Lookup.module.css +13 -9
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +99 -86
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +63 -55
- package/lib/lookup/Section/LookupSection.module.css +3 -3
- package/lib/lookup/Section/Section.js +44 -37
- package/lib/lookup/header/Close/Close.js +40 -42
- package/lib/lookup/header/Close/LookupClose.module.css +6 -6
- package/lib/lookup/header/Close/docs/Close__default.docs.js +32 -17
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +95 -91
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +36 -22
- package/lib/lookup/header/Search/LookupSearch.module.css +49 -29
- package/lib/lookup/header/Search/Search.js +243 -88
- package/lib/lookup/header/Search/docs/Search__default.docs.js +130 -34
- package/lib/lookup/header/TicketHeader/TicketHeader.js +115 -125
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +5 -14
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +71 -29
- package/lib/lookup/header/Title/LookupTitle.module.css +5 -5
- package/lib/lookup/header/Title/Title.js +39 -35
- package/lib/lookup/header/Title/docs/Title__default.docs.js +34 -17
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +164 -187
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +20 -19
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +71 -33
- package/lib/lookup/header/lookupHeaderCommon.module.css +23 -8
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/lib/setup/header/Button/Button.js +47 -41
- package/lib/setup/header/Button/HeaderButton.module.css +3 -1
- package/lib/setup/header/Button/docs/Button__default.docs.js +31 -18
- package/lib/setup/header/Link/HeaderLink.module.css +11 -6
- package/lib/setup/header/Link/Link.js +55 -54
- package/lib/setup/header/Link/docs/Link__default.docs.js +32 -18
- package/lib/setup/header/Search/Search.js +77 -67
- package/lib/setup/header/Search/Search.module.css +31 -19
- package/lib/setup/header/Search/docs/Search__default.docs.js +52 -33
- package/lib/setup/header/Views/Views.js +59 -56
- package/lib/setup/header/Views/Views.module.css +18 -8
- package/lib/setup/header/Views/docs/Views__default.docs.js +33 -22
- package/lib/setup/helptips/Description/Description.js +33 -25
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +35 -24
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +3 -2
- package/lib/setup/helptips/Link/Link.js +49 -39
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +36 -25
- package/lib/setup/helptips/ListGroup/ListGroup.js +52 -45
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +7 -2
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +39 -28
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/lib/setup/helptips/Title/Title.js +33 -25
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +35 -22
- package/lib/setup/table/Table/Table.js +42 -30
- package/lib/setup/table/Table/docs/Table__default.docs.js +183 -173
- package/lib/setup/table/TableBody/TableBody.js +49 -32
- package/lib/setup/table/TableData/{TableData.css → SetupTableData.module.css} +11 -3
- package/lib/setup/table/TableData/TableData.js +52 -45
- package/lib/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -0
- package/lib/setup/table/TableHead/TableHead.js +49 -48
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -0
- package/lib/setup/table/TableRow/TableRow.js +58 -54
- package/lib/setup/table/Text/{Text.css → TableText.module.css} +37 -37
- package/lib/setup/table/Text/Text.js +67 -71
- package/lib/setup/table/Text/docs/Text__default.docs.js +49 -50
- package/lib/svg/PlusIcon.js +90 -0
- package/lib/svg/SnippetIcon.js +92 -0
- package/lib/svg/TemplateIcon.js +93 -0
- package/lib/svg/docs/SVG__default.docs.js +101 -0
- package/lib/utils/ChannelIconMapping.js +105 -85
- package/lib/utils/Common.js +33 -0
- package/lib/utils/General.js +60 -4
- package/lib/utils/KeyboardApi.js +51 -14
- package/lib/utils/editorUtils.js +223 -0
- package/lib/version2/AlertClose/AlertClose.js +101 -0
- package/lib/version2/AlertClose/AlertClose.module.css +43 -0
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
- package/lib/version2/GlobalNotification/GlobalNotification.js +190 -0
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +125 -0
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
- package/lib/version2/alertIcons/AlarmAlertIcon.js +125 -0
- package/lib/version2/alertIcons/AlertIcons.js +127 -0
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -0
- package/lib/version2/alertIcons/DangerAlertIcon.js +126 -0
- package/lib/version2/alertIcons/ErrorAlertIcon.js +130 -0
- package/lib/version2/alertIcons/InfoAlertIcon.js +134 -0
- package/lib/version2/alertIcons/NotificationAlertIcon.js +130 -0
- package/lib/version2/alertIcons/SuccessAlertIcon.js +125 -0
- package/lib/version2/alertIcons/WarningAlertIcon.js +125 -0
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +146 -0
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +147 -0
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +146 -0
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +150 -0
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +146 -0
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +146 -0
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +134 -0
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -0
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +312 -0
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +44 -0
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +201 -0
- package/lib/version2/lookup/alertLookupCommonNew.module.css +33 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +228 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +107 -0
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +128 -0
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +137 -0
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
- package/package.json +39 -13
- package/src/ActionButton/ActionButton.js +197 -0
- package/src/ActionButton/ActionButton.module.css +120 -0
- package/src/ActionButton/docs/ActionButton__default.docs.js +110 -0
- package/src/AlphabeticList/AlphabeticList.js +176 -0
- package/src/AlphabeticList/AlphabeticList.module.css +54 -0
- package/src/AlphabeticList/docs/AlphabeticList__default.docs.js +36 -0
- package/src/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +44 -0
- package/src/Appearance/dark/mode/dotDarkMode.module.css +536 -0
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +10 -0
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +10 -0
- package/src/Appearance/default/mode/dotDefaultMode.module.css +536 -0
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +10 -0
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +10 -0
- package/src/Attachment/Attachment.js +119 -0
- package/src/Attachment/Attachment.module.css +121 -0
- package/src/Attachment/docs/Attachment__default.docs.js +63 -0
- package/src/ChannelIcon/ChannelIcon.js +49 -15
- package/src/ChannelIcon/ChannelIcon.module.css +68 -47
- package/src/Drawer/Drawer.js +232 -101
- package/src/Drawer/Drawer.module.css +49 -93
- package/src/Drawer/docs/Drawer__default.docs.js +49 -8
- package/src/Drawer/docs/Drawer__multiDrawer.docs.js +111 -0
- package/src/Drawer/docs/Drawer__noFreeze.docs.js +1 -2
- package/src/Drawer/docs/Drawer__withModal.docs.js +76 -0
- package/src/ExternalLink/ExternalLink.js +75 -57
- 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 +43 -6
- package/src/FlipCard/FlipCard.module.css +3 -3
- package/src/FormAction/FormAction.js +6 -0
- package/src/FormAction/FormAction.module.css +7 -14
- package/src/FormAction/docs/FormAction__default.docs.js +8 -9
- package/src/FreezeLayer/FreezeLayer.js +49 -13
- package/src/FreezeLayer/FreezeLayer.module.css +7 -6
- package/src/FreezeLayer/docs/FreezeLayer__dark.docs.js +1 -2
- package/src/IconButton/IconButton.js +186 -0
- package/src/IconButton/IconButton.module.css +22 -0
- package/src/IconButton/docs/IconButton__default.docs.js +158 -0
- package/src/Image/Image.js +18 -1
- package/src/ImportantNotes/ImportantNotes.js +57 -0
- package/src/ImportantNotes/ImportantNotes.module.css +15 -0
- package/src/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/src/Link/Link.js +15 -7
- package/src/Loader/Loader.js +22 -0
- package/src/Loader/Loader.module.css +25 -0
- package/src/Loader/docs/Loader__default.docs.js +21 -0
- package/src/Message/Message.js +109 -0
- package/src/Message/Message.module.css +70 -0
- package/src/Message/docs/Message__default.docs.js +53 -0
- package/src/MessageBanner/MessageBanner.js +83 -0
- package/src/MessageBanner/MessageBanner.module.css +38 -0
- package/src/MessageBanner/docs/MessageBanner__default.docs.js +87 -0
- package/src/NewStar/NewStar.js +83 -0
- package/src/NewStar/NewStar.module.css +73 -0
- package/src/NewStar/docs/NewStar__default.docs.js +39 -0
- package/src/PlusIcon/PlusIcon.js +7 -11
- package/src/PlusIcon/PlusIcon.module.css +11 -2
- package/src/Provider.js +203 -0
- package/src/ToastMessage/ToastMessage.js +161 -135
- package/src/ToastMessage/ToastMessage.module.css +53 -56
- package/src/ToastMessage/docs/ToastMessage__information.docs.js +2 -0
- package/src/Upload/Upload.js +103 -0
- package/src/Upload/Upload.module.css +106 -0
- package/src/Upload/docs/Upload__default.docs.js +72 -0
- package/src/actions/AutoClose.js +51 -0
- package/src/alert/AlertHeader/AlertHeader.js +25 -18
- package/src/alert/AlertHeader/AlertHeader.module.css +14 -13
- package/src/alert/AlertHeader/docs/AlertHeader__default.docs.js +1 -0
- package/src/alert/AlertLookup/AlertLookup.js +74 -34
- package/src/alert/AlertLookup/AlertLookup.module.css +6 -3
- package/src/alert/AlertLookup/docs/AlertLookup__default.docs.js +1 -0
- package/src/avatar/AvatarClose/AvatarClose.js +11 -5
- package/src/avatar/AvatarClose/AvatarClose.module.css +4 -4
- package/src/avatar/AvatarCollision/AvatarCollision.js +13 -4
- package/src/avatar/AvatarCollision/AvatarCollision.module.css +9 -9
- package/src/avatar/AvatarIcon/AvatarIcon.js +25 -9
- package/src/avatar/AvatarIcon/AvatarIcon.module.css +33 -10
- package/src/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +15 -1
- package/src/avatar/AvatarStatus/AvatarStatus.js +52 -8
- package/src/avatar/AvatarStatus/AvatarStatus.module.css +55 -23
- package/src/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +16 -12
- package/src/avatar/AvatarThread/AvatarThread.js +58 -10
- package/src/avatar/AvatarThread/AvatarThread.module.css +69 -14
- package/src/avatar/AvatarThread/docs/AvatarThread__default.docs.js +143 -21
- package/src/avatar/AvatarUser/AvatarUser.js +78 -18
- package/src/avatar/AvatarUser/AvatarUser.module.css +57 -18
- package/src/avatar/AvatarUser/docs/AvatarUser__default.docs.js +89 -52
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.js +87 -10
- package/src/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
- package/src/{setup/header → deprecated}/SelectDropdown/SelectDropdown.js +0 -0
- package/src/deprecated/SelectDropdown/SelectDropdown.module.css +47 -0
- package/src/{setup/header → deprecated}/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -0
- package/src/docs/formDocs.js +26 -0
- package/src/docs/generalDocs.js +56 -11
- package/src/docs/lookupDocs.js +19 -0
- package/src/docs/setupDocs.js +0 -2
- package/src/dropdown/ToggleDropDown/ToggleDropDown.js +629 -278
- package/src/dropdown/ToggleDropDown/ToggleDropDown.module.css +31 -12
- package/src/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +219 -52
- package/src/emptystate/CommonEmptyState/CommonEmptyState.js +55 -56
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +60 -14
- package/src/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +88 -34
- package/src/emptystate/EditionPage/EditionPage.css +5 -5
- package/src/emptystate/EditionPage/EditionPage.js +6 -6
- package/src/errorstate/EmptyStates.module.css +57 -12
- package/src/errorstate/Inconvenience/Inconvenience.js +107 -17
- package/src/errorstate/Inconvenience/Inconvenience.module.css +0 -2
- package/src/errorstate/LinkText/LinkText.js +10 -3
- package/src/errorstate/LinkText/LinkText.module.css +2 -2
- package/src/errorstate/NoRequestFound/NoRequestFound.js +106 -16
- package/src/errorstate/NoRequestFound/NoRequestFound.module.css +0 -2
- package/src/errorstate/PermissionPlay/PermissionPlay.js +101 -20
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +10 -9
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +106 -16
- package/src/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +0 -2
- package/src/errorstate/UnableToProcess/UnableToProcess.js +104 -16
- package/src/errorstate/UnableToProcess/UnableToProcess.module.css +0 -11
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +104 -16
- package/src/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +0 -11
- package/src/errorstate/WillBack/WillBack.js +102 -22
- package/src/errorstate/WillBack/WillBack.module.css +25 -10
- package/src/form/fields/CheckBoxField/CheckBoxField.js +220 -0
- package/src/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +32 -0
- package/src/form/fields/CurrencyField/CurrencyField.js +267 -0
- package/src/form/fields/DateField/DateField.js +281 -0
- package/src/form/fields/DateField/docs/DateField__default.docs.js +24 -0
- package/src/form/fields/Fields.module.css +145 -0
- package/src/form/fields/MultiSelectField/MultiSelectField.js +311 -0
- package/src/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +53 -0
- package/src/form/fields/PhoneField/PhoneField.js +227 -0
- package/src/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/src/form/fields/RadioField/RadioField.js +181 -0
- package/src/form/fields/SelectField/SelectField.js +296 -0
- package/src/form/fields/SelectField/docs/SelectField__default.docs.js +48 -0
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.js +331 -0
- package/src/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +95 -0
- package/src/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +55 -0
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +342 -0
- package/src/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +6 -0
- package/src/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +58 -0
- package/src/form/fields/TextBoxField/TextBoxField.js +274 -0
- package/src/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +38 -0
- package/src/form/fields/TextEditor/TextEditor.js +440 -0
- package/src/form/fields/TextEditor/TextEditor.module.css +582 -0
- package/src/form/fields/TextEditorField/TextEditorField.js +286 -0
- package/src/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +62 -0
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.js +239 -0
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +26 -0
- package/src/form/fields/TextareaField/TextareaField.js +247 -0
- package/src/form/fields/TextareaField/docs/TextareaField__default.docs.js +25 -0
- package/src/form/fields/ValidationMessage/ValidationMessage.js +77 -0
- package/src/form/fields/ValidationMessage/ValidationMessage.module.css +22 -0
- package/src/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +66 -0
- package/src/form/layout/Field/Field.js +53 -0
- package/src/form/layout/Field/Field.module.css +22 -0
- package/src/form/layout/Field/docs/Field__default.docs.js +20 -0
- package/src/form/layout/Section/ModuleFormSection.module.css +3 -0
- package/src/form/layout/Section/Section.js +47 -0
- package/src/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/src/i18n.js +5498 -0
- package/src/index.js +2 -8
- package/src/layout/SetupDetailLayout/SetupDetailLayout.js +46 -20
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +20 -20
- package/src/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +1 -2
- package/src/layout/SubtabLayout/SubtabLayout.js +88 -19
- package/src/layout/SubtabLayout/SubtabLayout.module.css +68 -14
- package/src/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +3 -22
- package/src/layout/SubtabLayout/index.js +1 -0
- package/src/list/AvatarFlip/AvatarFlip.js +23 -3
- package/src/list/AvatarFlip/AvatarFlip.module.css +1 -13
- package/src/list/AvatarFlip/docs/AvatarFlip__default.docs.js +4 -129
- package/src/list/BluePrintStatus/BluePrintStatus.js +3 -6
- package/src/list/BluePrintStatus/BluePrintStatus.module.css +4 -3
- package/src/list/Comment/Comment.js +17 -20
- package/src/list/Comment/Comment.module.css +12 -5
- package/src/list/DepartmentDropDown/DepartmentDropDown.js +55 -14
- package/src/list/DepartmentDropDown/DepartmentDropDown.module.css +6 -59
- package/src/list/Dot/Dot.js +4 -5
- package/src/list/Dot/Dot.module.css +7 -5
- package/src/list/DotNew/DotNew.js +8 -3
- package/src/list/DotNew/DotNew.module.css +14 -8
- package/src/list/GridStencils/GridStencils.module.css +12 -41
- package/src/list/Icons/AddNewIcon.js +13 -37
- package/src/list/Icons/CompleteIcon.js +21 -45
- package/src/list/Icons/DeleteIcon.js +13 -43
- package/src/list/Icons/EditIcon.js +15 -45
- package/src/list/Icons/FloatingIcons.js +2 -2
- package/src/list/Icons/Icons.module.css +6 -5
- package/src/list/Icons/ReadUnreadIcon.js +42 -0
- package/src/list/Icons/SmartIcon.js +20 -28
- package/src/list/Icons/docs/FloatingIcons__default.docs.js +11 -22
- package/src/list/ListLayout/ListLayout.js +52 -40
- package/src/list/ListLayout/ListLayout.module.css +27 -6
- package/src/list/ListStencils/ListStencils.js +18 -7
- package/src/list/ListStencils/ListStencils.module.css +46 -8
- package/src/list/SecondaryText/AccountName.js +73 -23
- package/src/list/SecondaryText/ContactName.js +56 -21
- package/src/list/SecondaryText/DepartmentText.js +3 -1
- package/src/list/SecondaryText/Email.js +23 -6
- package/src/list/SecondaryText/PhoneNumber.js +27 -6
- package/src/list/SecondaryText/SecondaryText.js +10 -3
- package/src/list/SecondaryText/SecondaryText.module.css +57 -22
- package/src/list/SecondaryText/StatusText.js +8 -13
- package/src/list/SecondaryText/TicketId.js +43 -6
- package/src/list/SecondaryText/Website.js +1 -0
- package/src/list/SecondryPanel/SecondryPanel.js +47 -23
- package/src/list/SecondryPanel/SecondryPanel.module.css +1 -22
- package/src/list/SecondryPanel/docs/SecondryPanelDocs.module.css +7 -11
- package/src/list/SecondryPanel/docs/SecondryPanel__default.docs.js +61 -37
- package/src/list/SentimentStatus/SentimentStatus.module.css +1 -1
- package/src/list/Subject/Subject.js +26 -9
- package/src/list/Subject/Subject.module.css +21 -3
- package/src/list/Subject/docs/Subject__default.docs.js +9 -2
- package/src/list/TagNew/TagNew.js +5 -2
- package/src/list/TagNew/TagNew.module.css +5 -5
- package/src/list/Thread/Thread.js +14 -7
- package/src/list/Thread/Thread.module.css +22 -6
- package/src/list/UserTime/UserTime.js +47 -39
- package/src/list/UserTime/UserTime.module.css +22 -12
- package/src/list/UserTime/docs/UserTime__default.docs.js +98 -106
- package/src/list/listCommon.module.css +16 -48
- package/src/list/status/StatusDropdown/StatusDropdown.js +538 -0
- package/src/list/status/StatusDropdown/StatusDropdown.module.css +76 -0
- package/src/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +92 -0
- package/src/list/status/StatusListItem/StatusListItem.js +149 -0
- package/src/list/status/StatusListItem/StatusListItem.module.css +81 -0
- package/src/list/status/StatusListItem/docs/StatusListItem__default.docs.js +19 -0
- package/src/lookup/EmptyPage/LookupEmptyPage.module.css +2 -1
- package/src/lookup/Lookup/Lookup.js +65 -32
- package/src/lookup/Lookup/Lookup.module.css +12 -8
- package/src/lookup/Lookup/docs/Lookup__contact.docs.js +8 -13
- package/src/lookup/Section/LookupSection.module.css +3 -3
- package/src/lookup/header/Close/Close.js +7 -11
- package/src/lookup/header/Close/LookupClose.module.css +5 -5
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +30 -9
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +2 -1
- package/src/lookup/header/Search/LookupSearch.module.css +40 -29
- package/src/lookup/header/Search/Search.js +196 -50
- package/src/lookup/header/Search/docs/Search__default.docs.js +76 -11
- package/src/lookup/header/TicketHeader/TicketHeader.js +35 -19
- package/src/lookup/header/TicketHeader/TicketHeader.module.css +1 -13
- package/src/lookup/header/Title/LookupTitle.module.css +5 -5
- package/src/lookup/header/Title/Title.js +3 -2
- package/src/lookup/header/ViewDropDown/ViewDropDown.js +52 -32
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +14 -18
- package/src/lookup/header/lookupHeaderCommon.module.css +10 -5
- package/src/lookup/header/lookupHeaderCommonResponsive.module.css +1 -1
- package/src/setup/header/Link/HeaderLink.module.css +4 -5
- package/src/setup/header/Search/Search.js +17 -4
- package/src/setup/header/Search/Search.module.css +13 -12
- package/src/setup/header/Views/Views.module.css +4 -4
- package/src/setup/helptips/Description/Description.js +22 -22
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/src/setup/helptips/Description/docs/Description__default.docs.js +23 -23
- package/src/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/src/setup/helptips/Link/Link.js +39 -40
- package/src/setup/helptips/Link/docs/Link__default.docs.js +27 -27
- package/src/setup/helptips/ListGroup/ListGroup.module.css +2 -2
- package/src/setup/helptips/Title/HelpTipsTitle.module.css +2 -2
- package/src/setup/helptips/Title/Title.js +22 -22
- package/src/setup/helptips/Title/docs/Title__default.docs.js +21 -21
- package/src/setup/table/Table/Table.js +10 -4
- package/src/setup/table/Table/docs/Table__default.docs.js +1 -1
- package/src/setup/table/TableBody/TableBody.js +13 -3
- package/{es/setup/table/TableData/TableData.css → src/setup/table/TableData/SetupTableData.module.css} +0 -0
- package/src/setup/table/TableData/TableData.js +19 -8
- package/src/setup/table/TableData/{hover.css → Tablehover.module.css} +0 -0
- package/{es/setup/table/TableHead/TableHead.css → src/setup/table/TableHead/SetupTableHead.module.css} +1 -1
- package/src/setup/table/TableHead/TableHead.js +1 -1
- package/src/setup/table/TableRow/{TableRow.css → SetupTableRow.module.css} +2 -2
- package/src/setup/table/TableRow/TableRow.js +5 -5
- package/{es/setup/table/Text/Text.css → src/setup/table/Text/TableText.module.css} +37 -37
- package/src/setup/table/Text/Text.js +82 -81
- package/src/setup/table/Text/docs/Text__default.docs.js +38 -38
- package/src/{SVG → svg}/PlusIcon.js +2 -2
- package/src/{SVG → svg}/SnippetIcon.js +2 -2
- package/src/svg/TemplateIcon.js +34 -0
- package/src/{SVG → svg}/docs/SVG__default.docs.js +0 -0
- package/src/utils/ChannelIconMapping.js +102 -84
- package/src/utils/Common.js +20 -0
- package/src/utils/General.js +40 -0
- package/src/utils/editorUtils.js +189 -0
- package/src/version2/AlertClose/AlertClose.js +45 -0
- package/src/version2/AlertClose/AlertClose.module.css +43 -0
- package/src/version2/AlertClose/docs/AlertClose__default.docs.js +46 -0
- package/src/version2/GlobalNotification/GlobalNotification.js +112 -0
- package/src/version2/GlobalNotification/GlobalNotification.module.css +90 -0
- package/src/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +94 -0
- package/src/version2/alertIcons/AlarmAlertIcon.js +32 -0
- package/src/version2/alertIcons/AlertIcons.js +61 -0
- package/src/version2/alertIcons/AlertIcons.module.css +67 -0
- package/src/version2/alertIcons/DangerAlertIcon.js +33 -0
- package/src/version2/alertIcons/ErrorAlertIcon.js +34 -0
- package/src/version2/alertIcons/InfoAlertIcon.js +35 -0
- package/src/version2/alertIcons/NotificationAlertIcon.js +32 -0
- package/src/version2/alertIcons/SuccessAlertIcon.js +31 -0
- package/src/version2/alertIcons/WarningAlertIcon.js +31 -0
- package/src/version2/alertIcons/docs/AlertIcons__default.docs.js +123 -0
- package/src/version2/errorstate/Inconvenience/Inconvenience.js +98 -0
- package/src/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/src/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +99 -0
- package/src/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +21 -0
- package/src/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +98 -0
- package/src/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +31 -0
- package/src/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +102 -0
- package/src/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +19 -0
- package/src/version2/errorstate/UrlNotFound/UrlNotFound.js +98 -0
- package/src/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +21 -0
- package/src/version2/errorstate/V2_ErrorStates.module.css +46 -0
- package/src/version2/errorstate/WillBeRightBack/WillBeRightBack.js +98 -0
- package/src/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +19 -0
- package/src/version2/lookup/AlertHeader/AlertHeader.js +100 -0
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +64 -0
- package/src/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +66 -0
- package/src/version2/lookup/AlertLookup/AlertLookup.js +290 -0
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +40 -0
- package/src/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +150 -0
- package/src/version2/lookup/alertLookupCommonNew.module.css +26 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.js +251 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +91 -0
- package/src/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +86 -0
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +92 -0
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +100 -0
- package/src/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +51 -0
- package/es/SVG/PlusIcon.js +0 -68
- package/es/SVG/SnippetIcon.js +0 -71
- package/es/SVG/TemplateIcon.js +0 -66
- package/es/SVG/docs/SVG__default.docs.js +0 -87
- package/es/list/StatusDropdown/StatusDropdown.js +0 -203
- package/es/list/StatusDropdown/StatusDropdown.module.css +0 -51
- package/es/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -76
- package/es/list/TimeInfo/TimeInfo.js +0 -171
- package/es/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -49
- package/es/setup/header/SelectDropdown/SelectDropdown.js +0 -162
- package/es/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
- package/es/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -44
- package/es/setup/table/TableRow/TableRow.css +0 -10
- package/es/utils/Ticket.js +0 -3
- package/lib/SVG/PlusIcon.js +0 -87
- package/lib/SVG/SnippetIcon.js +0 -90
- package/lib/SVG/TemplateIcon.js +0 -85
- package/lib/SVG/docs/SVG__default.docs.js +0 -110
- package/lib/list/StatusDropdown/StatusDropdown.js +0 -241
- package/lib/list/StatusDropdown/StatusDropdown.module.css +0 -51
- package/lib/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -96
- package/lib/list/TimeInfo/TimeInfo.js +0 -191
- package/lib/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -69
- package/lib/setup/header/SelectDropdown/SelectDropdown.js +0 -200
- package/lib/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
- package/lib/setup/header/SelectDropdown/docs/SelectDropdown__default.docs.js +0 -63
- package/lib/setup/table/TableHead/TableHead.css +0 -8
- package/lib/setup/table/TableRow/TableRow.css +0 -10
- package/lib/utils/Ticket.js +0 -8
- package/postpublish.js +0 -100
- package/src/SVG/TemplateIcon.js +0 -46
- package/src/list/StatusDropdown/StatusDropdown.js +0 -172
- package/src/list/StatusDropdown/StatusDropdown.module.css +0 -51
- package/src/list/StatusDropdown/docs/StatusDropdown__default.docs.js +0 -72
- package/src/list/TimeInfo/TimeInfo.js +0 -156
- package/src/list/TimeInfo/docs/TimeInfo__default.docs.js +0 -26
- package/src/setup/header/SelectDropdown/SelectDropdown.module.css +0 -35
- package/src/setup/table/TableHead/TableHead.css +0 -8
- package/src/utils/Ticket.js +0 -10
package/lib/Drawer/Drawer.js
CHANGED
|
@@ -1,380 +1,420 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
2
4
|
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
|
-
exports.
|
|
8
|
+
exports["default"] = exports.Header = exports.Footer = exports.Content = void 0;
|
|
7
9
|
|
|
8
|
-
var
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
11
|
|
|
10
|
-
var
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
13
|
|
|
12
|
-
var
|
|
14
|
+
var _FreezeLayer = _interopRequireDefault(require("../FreezeLayer/FreezeLayer"));
|
|
13
15
|
|
|
14
|
-
var
|
|
16
|
+
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
15
17
|
|
|
16
|
-
var
|
|
18
|
+
var _Card = require("@zohodesk/components/lib/Card");
|
|
17
19
|
|
|
18
|
-
var
|
|
20
|
+
var _FormAction = _interopRequireDefault(require("../FormAction/FormAction"));
|
|
19
21
|
|
|
20
|
-
var
|
|
22
|
+
var _VelocityAnimationGroup = _interopRequireDefault(require("@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup"));
|
|
21
23
|
|
|
22
|
-
var
|
|
24
|
+
var _CustomResponsive = require("@zohodesk/components/lib/Responsive/CustomResponsive");
|
|
23
25
|
|
|
24
|
-
var
|
|
26
|
+
var _IconButton = _interopRequireDefault(require("../IconButton/IconButton"));
|
|
25
27
|
|
|
26
|
-
var
|
|
28
|
+
var _Icon = _interopRequireDefault(require("@zohodesk/icons/lib/Icon"));
|
|
27
29
|
|
|
28
|
-
var
|
|
30
|
+
var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
|
|
29
31
|
|
|
30
|
-
var
|
|
32
|
+
var _DrawerModule = _interopRequireDefault(require("./Drawer.module.css"));
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
35
37
|
|
|
36
|
-
var
|
|
38
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
39
41
|
|
|
40
|
-
|
|
42
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
45
|
|
|
44
|
-
function
|
|
46
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
45
47
|
|
|
46
|
-
function
|
|
48
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
47
49
|
|
|
48
|
-
function
|
|
50
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
49
51
|
|
|
50
|
-
function
|
|
52
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
55
|
+
|
|
56
|
+
var Header = /*#__PURE__*/function (_React$Component) {
|
|
53
57
|
_inherits(Header, _React$Component);
|
|
54
58
|
|
|
59
|
+
var _super = _createSuper(Header);
|
|
60
|
+
|
|
55
61
|
function Header() {
|
|
56
62
|
_classCallCheck(this, Header);
|
|
57
63
|
|
|
58
|
-
return
|
|
64
|
+
return _super.apply(this, arguments);
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
_createClass(Header, [{
|
|
62
|
-
key:
|
|
68
|
+
key: "render",
|
|
63
69
|
value: function render() {
|
|
64
|
-
var
|
|
65
|
-
title =
|
|
66
|
-
onClose =
|
|
67
|
-
children =
|
|
68
|
-
className =
|
|
69
|
-
paddingSize =
|
|
70
|
-
closeTitle =
|
|
71
|
-
iconName =
|
|
72
|
-
iconSize =
|
|
73
|
-
onIconClick =
|
|
74
|
-
isIconBold =
|
|
75
|
-
dataId =
|
|
76
|
-
flexible =
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
)
|
|
70
|
+
var _this$props = this.props,
|
|
71
|
+
title = _this$props.title,
|
|
72
|
+
onClose = _this$props.onClose,
|
|
73
|
+
children = _this$props.children,
|
|
74
|
+
className = _this$props.className,
|
|
75
|
+
paddingSize = _this$props.paddingSize,
|
|
76
|
+
closeTitle = _this$props.closeTitle,
|
|
77
|
+
iconName = _this$props.iconName,
|
|
78
|
+
iconSize = _this$props.iconSize,
|
|
79
|
+
onIconClick = _this$props.onIconClick,
|
|
80
|
+
isIconBold = _this$props.isIconBold,
|
|
81
|
+
dataId = _this$props.dataId,
|
|
82
|
+
flexible = _this$props.flexible,
|
|
83
|
+
getChildren = _this$props.getChildren,
|
|
84
|
+
iconTitle = _this$props.iconTitle,
|
|
85
|
+
isBoxIcon = _this$props.isBoxIcon,
|
|
86
|
+
getTitleChildren = _this$props.getTitleChildren;
|
|
87
|
+
return /*#__PURE__*/_react["default"].createElement(_Card.CardHeader, {
|
|
88
|
+
customClass: "".concat(_DrawerModule["default"].header, " ").concat(_DrawerModule["default"]["".concat(paddingSize, "HeaderPadding")], " ").concat(className ? className : ''),
|
|
89
|
+
dataId: dataId
|
|
90
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
91
|
+
alignBox: "row",
|
|
92
|
+
align: "vertical",
|
|
93
|
+
isCover: false,
|
|
94
|
+
className: _DrawerModule["default"].subheader
|
|
95
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
96
|
+
flexible: true,
|
|
97
|
+
shrink: true
|
|
98
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
99
|
+
alignBox: "row",
|
|
100
|
+
isCover: false,
|
|
101
|
+
align: "vertical"
|
|
102
|
+
}, iconName ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
103
|
+
className: _DrawerModule["default"].iconWrapper
|
|
104
|
+
}, isBoxIcon ? /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
|
|
105
|
+
iconName: iconName,
|
|
106
|
+
iconSize: iconSize,
|
|
107
|
+
onClick: onIconClick,
|
|
108
|
+
hoverType: "border",
|
|
109
|
+
isBold: isIconBold,
|
|
110
|
+
title: iconTitle
|
|
111
|
+
}) : /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
112
|
+
name: iconName,
|
|
113
|
+
size: iconSize,
|
|
114
|
+
onClick: onIconClick,
|
|
115
|
+
title: iconTitle
|
|
116
|
+
})) : null, title || getTitleChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
117
|
+
flexible: flexible,
|
|
118
|
+
shrink: true
|
|
119
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
120
|
+
alignBox: "row",
|
|
121
|
+
align: "vertical"
|
|
122
|
+
}, title ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
123
|
+
className: _DrawerModule["default"].title,
|
|
124
|
+
"data-title": title,
|
|
125
|
+
shrink: true
|
|
126
|
+
}, title) : null, getTitleChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, getTitleChildren()) : null)) : null, children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, children) : null)), onClose ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, /*#__PURE__*/_react["default"].createElement(_IconButton["default"], {
|
|
127
|
+
onClick: onClose,
|
|
128
|
+
dataId: "closeButton",
|
|
129
|
+
title: closeTitle,
|
|
130
|
+
iconName: "ZD-cross",
|
|
131
|
+
iconSize: "11"
|
|
132
|
+
})) : null), getChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
133
|
+
isCover: false
|
|
134
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
135
|
+
flexible: true
|
|
136
|
+
}, getChildren())) : null);
|
|
127
137
|
}
|
|
128
138
|
}]);
|
|
129
139
|
|
|
130
140
|
return Header;
|
|
131
|
-
}(
|
|
141
|
+
}(_react["default"].Component);
|
|
132
142
|
|
|
143
|
+
exports.Header = Header;
|
|
133
144
|
Header.propTypes = {
|
|
134
|
-
children:
|
|
135
|
-
className:
|
|
136
|
-
closeTitle:
|
|
137
|
-
dataId:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
children: _propTypes["default"].node,
|
|
146
|
+
className: _propTypes["default"].string,
|
|
147
|
+
closeTitle: _propTypes["default"].string,
|
|
148
|
+
dataId: _propTypes["default"].string,
|
|
149
|
+
flexible: _propTypes["default"].bool,
|
|
150
|
+
getChildren: _propTypes["default"].func,
|
|
151
|
+
iconName: _propTypes["default"].string,
|
|
152
|
+
iconSize: _propTypes["default"].string,
|
|
153
|
+
iconTitle: _propTypes["default"].string,
|
|
154
|
+
isIconBold: _propTypes["default"].bool,
|
|
155
|
+
onClose: _propTypes["default"].func,
|
|
156
|
+
onIconClick: _propTypes["default"].func,
|
|
157
|
+
paddingSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
158
|
+
title: _propTypes["default"].string,
|
|
159
|
+
isBoxIcon: _propTypes["default"].bool,
|
|
160
|
+
getTitleChildren: _propTypes["default"].func
|
|
146
161
|
};
|
|
147
162
|
Header.defaultProps = {
|
|
148
|
-
flexible: false
|
|
163
|
+
flexible: false,
|
|
164
|
+
paddingSize: 'small',
|
|
165
|
+
isBoxIcon: true
|
|
149
166
|
};
|
|
150
167
|
|
|
151
|
-
var Content =
|
|
168
|
+
var Content = /*#__PURE__*/function (_React$Component2) {
|
|
152
169
|
_inherits(Content, _React$Component2);
|
|
153
170
|
|
|
171
|
+
var _super2 = _createSuper(Content);
|
|
172
|
+
|
|
154
173
|
function Content() {
|
|
155
174
|
_classCallCheck(this, Content);
|
|
156
175
|
|
|
157
|
-
return
|
|
176
|
+
return _super2.apply(this, arguments);
|
|
158
177
|
}
|
|
159
178
|
|
|
160
179
|
_createClass(Content, [{
|
|
161
|
-
key:
|
|
180
|
+
key: "render",
|
|
162
181
|
value: function render() {
|
|
163
|
-
var
|
|
164
|
-
children =
|
|
165
|
-
className =
|
|
166
|
-
paddingSize =
|
|
167
|
-
eleRef =
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
className: (className ? className : '') + ' ' + (paddingSize ? _DrawerModule2.default[paddingSize + 'ContentPadding'] : ''),
|
|
175
|
-
eleRef: eleRef
|
|
176
|
-
},
|
|
177
|
-
children
|
|
178
|
-
);
|
|
182
|
+
var _this$props2 = this.props,
|
|
183
|
+
children = _this$props2.children,
|
|
184
|
+
className = _this$props2.className,
|
|
185
|
+
paddingSize = _this$props2.paddingSize,
|
|
186
|
+
eleRef = _this$props2.eleRef;
|
|
187
|
+
return /*#__PURE__*/_react["default"].createElement(_Card.CardContent, {
|
|
188
|
+
scroll: "vertical",
|
|
189
|
+
isScrollAttribute: true,
|
|
190
|
+
customClass: "".concat(className ? className : '', " ").concat(paddingSize ? _DrawerModule["default"]["".concat(paddingSize, "ContentPadding")] : ''),
|
|
191
|
+
eleRef: eleRef
|
|
192
|
+
}, children);
|
|
179
193
|
}
|
|
180
194
|
}]);
|
|
181
195
|
|
|
182
196
|
return Content;
|
|
183
|
-
}(
|
|
197
|
+
}(_react["default"].Component);
|
|
184
198
|
|
|
199
|
+
exports.Content = Content;
|
|
185
200
|
Content.propTypes = {
|
|
186
|
-
children:
|
|
187
|
-
className:
|
|
188
|
-
eleRef:
|
|
189
|
-
paddingSize:
|
|
201
|
+
children: _propTypes["default"].node,
|
|
202
|
+
className: _propTypes["default"].string,
|
|
203
|
+
eleRef: _propTypes["default"].func,
|
|
204
|
+
paddingSize: _propTypes["default"].oneOf(['small', 'medium', 'large'])
|
|
190
205
|
};
|
|
191
206
|
|
|
192
|
-
var Footer =
|
|
207
|
+
var Footer = /*#__PURE__*/function (_React$Component3) {
|
|
193
208
|
_inherits(Footer, _React$Component3);
|
|
194
209
|
|
|
210
|
+
var _super3 = _createSuper(Footer);
|
|
211
|
+
|
|
195
212
|
function Footer() {
|
|
196
213
|
_classCallCheck(this, Footer);
|
|
197
214
|
|
|
198
|
-
return
|
|
215
|
+
return _super3.apply(this, arguments);
|
|
199
216
|
}
|
|
200
217
|
|
|
201
218
|
_createClass(Footer, [{
|
|
202
|
-
key:
|
|
219
|
+
key: "render",
|
|
203
220
|
value: function render() {
|
|
204
|
-
var
|
|
205
|
-
paddingLeftSize =
|
|
206
|
-
paddingRightClass =
|
|
207
|
-
children =
|
|
208
|
-
size =
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
paddingLeftSize: paddingLeftSize,
|
|
215
|
-
paddingRightClass: paddingRightClass
|
|
216
|
-
},
|
|
217
|
-
children
|
|
218
|
-
);
|
|
221
|
+
var _this$props3 = this.props,
|
|
222
|
+
paddingLeftSize = _this$props3.paddingLeftSize,
|
|
223
|
+
paddingRightClass = _this$props3.paddingRightClass,
|
|
224
|
+
children = _this$props3.children,
|
|
225
|
+
size = _this$props3.size;
|
|
226
|
+
return /*#__PURE__*/_react["default"].createElement(_FormAction["default"], {
|
|
227
|
+
size: size,
|
|
228
|
+
paddingLeftSize: paddingLeftSize,
|
|
229
|
+
paddingRightClass: paddingRightClass
|
|
230
|
+
}, children);
|
|
219
231
|
}
|
|
220
232
|
}]);
|
|
221
233
|
|
|
222
234
|
return Footer;
|
|
223
|
-
}(
|
|
235
|
+
}(_react["default"].Component);
|
|
224
236
|
|
|
237
|
+
exports.Footer = Footer;
|
|
225
238
|
Footer.propTypes = {
|
|
226
|
-
children:
|
|
227
|
-
paddingLeftSize:
|
|
228
|
-
paddingRightClass:
|
|
229
|
-
size:
|
|
239
|
+
children: _propTypes["default"].node,
|
|
240
|
+
paddingLeftSize: _propTypes["default"].string,
|
|
241
|
+
paddingRightClass: _propTypes["default"].string,
|
|
242
|
+
size: _propTypes["default"].string
|
|
230
243
|
};
|
|
231
244
|
Footer.defaultProps = {
|
|
232
245
|
size: 'small'
|
|
233
246
|
};
|
|
234
247
|
|
|
235
|
-
var Drawer = function (_React$Component4) {
|
|
248
|
+
var Drawer = /*#__PURE__*/function (_React$Component4) {
|
|
236
249
|
_inherits(Drawer, _React$Component4);
|
|
237
250
|
|
|
238
|
-
|
|
251
|
+
var _super4 = _createSuper(Drawer);
|
|
252
|
+
|
|
253
|
+
function Drawer(props) {
|
|
254
|
+
var _this;
|
|
255
|
+
|
|
239
256
|
_classCallCheck(this, Drawer);
|
|
240
257
|
|
|
241
|
-
|
|
258
|
+
_this = _super4.call(this, props);
|
|
259
|
+
_this.drawers = _this.drawers.bind(_assertThisInitialized(_this));
|
|
260
|
+
_this.responsiveFunc = _this.responsiveFunc.bind(_assertThisInitialized(_this));
|
|
261
|
+
_this.getNextIndex = (0, _ZindexProvider.getZIndex)(_assertThisInitialized(_this));
|
|
262
|
+
return _this;
|
|
242
263
|
}
|
|
243
264
|
|
|
244
265
|
_createClass(Drawer, [{
|
|
245
|
-
key:
|
|
246
|
-
value: function
|
|
247
|
-
var
|
|
248
|
-
children =
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
responsiveId = _props4.responsiveId;
|
|
257
|
-
|
|
258
|
-
var childrenWithProps = _react2.default.Children.map(children, function (child) {
|
|
266
|
+
key: "drawers",
|
|
267
|
+
value: function drawers(uptoTablet, styleByResolutions) {
|
|
268
|
+
var _this$props4 = this.props,
|
|
269
|
+
children = _this$props4.children,
|
|
270
|
+
size = _this$props4.size,
|
|
271
|
+
paddingSize = _this$props4.paddingSize,
|
|
272
|
+
subDrawerActive = _this$props4.subDrawerActive,
|
|
273
|
+
subDrawerChildren = _this$props4.subDrawerChildren,
|
|
274
|
+
onBodyClick = _this$props4.onBodyClick;
|
|
275
|
+
|
|
276
|
+
var childrenWithProps = _react["default"].Children.map(children, function (child) {
|
|
259
277
|
if (child.type === Header || child.type === Footer || child.type === Content) {
|
|
260
278
|
var _ref = child.props || {},
|
|
261
279
|
childPaddingSize = _ref.paddingSize;
|
|
262
280
|
|
|
263
|
-
return paddingSize || childPaddingSize ?
|
|
281
|
+
return paddingSize || childPaddingSize ? /*#__PURE__*/_react["default"].cloneElement(child, {
|
|
264
282
|
paddingSize: childPaddingSize ? childPaddingSize : paddingSize
|
|
265
283
|
}) : child;
|
|
266
284
|
}
|
|
285
|
+
|
|
267
286
|
return child;
|
|
268
287
|
});
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
288
|
+
|
|
289
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, subDrawerChildren ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
290
|
+
className: _DrawerModule["default"].columns
|
|
291
|
+
}, /*#__PURE__*/_react["default"].createElement(_VelocityAnimationGroup["default"], {
|
|
292
|
+
name: "slideRight",
|
|
293
|
+
isActive: subDrawerActive
|
|
294
|
+
}, /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveSender, null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
295
|
+
className: styleByResolutions,
|
|
296
|
+
onClick: function onClick(e) {
|
|
297
|
+
e && e.stopPropagation && e.stopPropagation();
|
|
298
|
+
}
|
|
299
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
300
|
+
flexible: true
|
|
301
|
+
}, subDrawerChildren))))) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
302
|
+
className: "".concat(_DrawerModule["default"].container, " ").concat(_DrawerModule["default"].columns, " ").concat(_DrawerModule["default"].drawerModal, " ").concat(uptoTablet ? _DrawerModule["default"].mbleSize : _DrawerModule["default"][size])
|
|
303
|
+
}, /*#__PURE__*/_react["default"].createElement(_Card.Card, {
|
|
304
|
+
onClick: function onClick(e) {
|
|
305
|
+
e && e.stopPropagation && e.stopPropagation();
|
|
306
|
+
onBodyClick(e);
|
|
307
|
+
}
|
|
308
|
+
}, childrenWithProps)));
|
|
309
|
+
}
|
|
310
|
+
}, {
|
|
311
|
+
key: "responsiveFunc",
|
|
312
|
+
value: function responsiveFunc(_ref2) {
|
|
313
|
+
var mediaQueryOR = _ref2.mediaQueryOR;
|
|
314
|
+
return {
|
|
315
|
+
uptoTablet: mediaQueryOR([{
|
|
316
|
+
maxWidth: 768
|
|
317
|
+
}])
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
}, {
|
|
321
|
+
key: "render",
|
|
322
|
+
value: function render() {
|
|
323
|
+
var _this2 = this;
|
|
324
|
+
|
|
325
|
+
var _this$props5 = this.props,
|
|
326
|
+
needFreeze = _this$props5.needFreeze,
|
|
327
|
+
palette = _this$props5.palette,
|
|
328
|
+
isActive = _this$props5.isActive,
|
|
329
|
+
onClose = _this$props5.onClose,
|
|
330
|
+
forwardRef = _this$props5.forwardRef,
|
|
331
|
+
responsiveId = _this$props5.responsiveId,
|
|
332
|
+
subDrawerSize = _this$props5.subDrawerSize,
|
|
333
|
+
subDrawerClass = _this$props5.subDrawerClass,
|
|
334
|
+
subDrawerActive = _this$props5.subDrawerActive,
|
|
335
|
+
customClass = _this$props5.customClass,
|
|
336
|
+
needAutoZindex = _this$props5.needAutoZindex,
|
|
337
|
+
innerPortalName = _this$props5.innerPortalName;
|
|
338
|
+
return /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveReceiver, {
|
|
339
|
+
query: this.responsiveFunc,
|
|
340
|
+
responsiveId: responsiveId
|
|
341
|
+
}, function (_ref3) {
|
|
342
|
+
var uptoTablet = _ref3.uptoTablet;
|
|
343
|
+
var styleByResolutions = "".concat(subDrawerClass, " ").concat(_DrawerModule["default"].secondDrawer, " ").concat(uptoTablet ? "".concat(_DrawerModule["default"].secondMobDrawer, " ").concat(_DrawerModule["default"].mbleSize) : "".concat(_DrawerModule["default"][subDrawerSize]), " ");
|
|
344
|
+
return needFreeze ? /*#__PURE__*/_react["default"].createElement(_FreezeLayer["default"], {
|
|
272
345
|
onClick: onClose,
|
|
273
346
|
isActive: isActive,
|
|
274
|
-
animationName:
|
|
275
|
-
childAnimationName:
|
|
347
|
+
animationName: "fade",
|
|
348
|
+
childAnimationName: "slideRight",
|
|
276
349
|
palette: palette,
|
|
277
|
-
forwardRef: forwardRef
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
_react2.default.createElement(
|
|
306
|
-
_Card.Card,
|
|
307
|
-
{
|
|
308
|
-
onClick: function onClick(e) {
|
|
309
|
-
e.stopPropagation();
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
childrenWithProps
|
|
313
|
-
)
|
|
314
|
-
)
|
|
315
|
-
);
|
|
316
|
-
}
|
|
317
|
-
)
|
|
318
|
-
)
|
|
319
|
-
)
|
|
320
|
-
) : _react2.default.createElement(
|
|
321
|
-
_VelocityAnimationGroup2.default,
|
|
322
|
-
{ isActive: isActive, name: 'slideRight' },
|
|
323
|
-
_react2.default.createElement(
|
|
324
|
-
_Responsive.ResponsiveReceiver,
|
|
325
|
-
{ responsiveId: responsiveId },
|
|
326
|
-
function (_ref3) {
|
|
327
|
-
var deviceUpto = _ref3.deviceUpto;
|
|
328
|
-
return _react2.default.createElement(
|
|
329
|
-
'div',
|
|
330
|
-
{
|
|
331
|
-
className: _DrawerModule2.default.container + ' ' + _DrawerModule2.default.isOverlay + ' ' + (deviceUpto('MOBILE') ? _DrawerModule2.default.mbleSize : _DrawerModule2.default[size]) + ' ',
|
|
332
|
-
ref: forwardRef
|
|
333
|
-
},
|
|
334
|
-
_react2.default.createElement(
|
|
335
|
-
_Card.Card,
|
|
336
|
-
{
|
|
337
|
-
onClick: function onClick(e) {
|
|
338
|
-
e.stopPropagation();
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
childrenWithProps
|
|
342
|
-
)
|
|
343
|
-
);
|
|
344
|
-
}
|
|
345
|
-
)
|
|
346
|
-
);
|
|
350
|
+
forwardRef: forwardRef,
|
|
351
|
+
customClass: customClass,
|
|
352
|
+
needAutoZindex: needAutoZindex
|
|
353
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
354
|
+
flexible: true
|
|
355
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
356
|
+
alignBox: "row"
|
|
357
|
+
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, uptoTablet ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
358
|
+
flexible: true
|
|
359
|
+
}) : null, /*#__PURE__*/_react["default"].createElement(_CustomResponsive.ResponsiveSender, null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
360
|
+
flexible: true,
|
|
361
|
+
className: uptoTablet ? _DrawerModule["default"].mobModal : _DrawerModule["default"].drawerModal
|
|
362
|
+
}, !subDrawerActive && innerPortalName ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
363
|
+
"data-portal": innerPortalName
|
|
364
|
+
}) : null)), _this2.drawers(uptoTablet, styleByResolutions))))) : /*#__PURE__*/_react["default"].createElement(_VelocityAnimationGroup["default"], {
|
|
365
|
+
isActive: isActive,
|
|
366
|
+
name: "slideRight"
|
|
367
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
368
|
+
align: "right",
|
|
369
|
+
alignBox: "row",
|
|
370
|
+
scroll: "none",
|
|
371
|
+
eleRef: forwardRef,
|
|
372
|
+
className: "".concat(_DrawerModule["default"].isOverlay, " ").concat(customClass),
|
|
373
|
+
style: isActive && needAutoZindex ? {
|
|
374
|
+
zIndex: "".concat(_this2.getNextIndex())
|
|
375
|
+
} : {}
|
|
376
|
+
}, _this2.drawers(uptoTablet, styleByResolutions)));
|
|
377
|
+
});
|
|
347
378
|
}
|
|
348
379
|
}]);
|
|
349
380
|
|
|
350
381
|
return Drawer;
|
|
351
|
-
}(
|
|
352
|
-
|
|
353
|
-
exports.default = Drawer;
|
|
354
|
-
|
|
382
|
+
}(_react["default"].Component);
|
|
355
383
|
|
|
384
|
+
exports["default"] = Drawer;
|
|
356
385
|
Drawer.propTypes = {
|
|
357
|
-
children:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
386
|
+
children: _propTypes["default"].node,
|
|
387
|
+
customClass: _propTypes["default"].string,
|
|
388
|
+
forwardRef: _propTypes["default"].object,
|
|
389
|
+
isActive: _propTypes["default"].bool,
|
|
390
|
+
needAutoZindex: _propTypes["default"].bool,
|
|
391
|
+
needFreeze: _propTypes["default"].bool,
|
|
392
|
+
onBodyClick: _propTypes["default"].func,
|
|
393
|
+
onClose: _propTypes["default"].func,
|
|
394
|
+
paddingSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
395
|
+
palette: _propTypes["default"].oneOf(['dark', 'default', 'darkLight', 'plain']),
|
|
396
|
+
responsiveId: _propTypes["default"].string,
|
|
397
|
+
size: _propTypes["default"].oneOf(['small', 'xsmall', 'medium', 'xmedium', 'large', 'xlarge', 'xxlarge', 'default']),
|
|
398
|
+
subDrawerActive: _propTypes["default"].bool,
|
|
399
|
+
subDrawerChildren: _propTypes["default"].func,
|
|
400
|
+
subDrawerClass: _propTypes["default"].string,
|
|
401
|
+
subDrawerSize: _propTypes["default"].oneOf(['xsmall', 'small', 'medium'])
|
|
366
402
|
};
|
|
367
|
-
|
|
368
403
|
Drawer.defaultProps = {
|
|
369
404
|
isActive: false,
|
|
370
405
|
palette: 'default',
|
|
371
406
|
responsiveId: 'Helmet',
|
|
372
|
-
size: '
|
|
407
|
+
size: 'small',
|
|
408
|
+
subDrawerSize: 'small',
|
|
409
|
+
subDrawerActive: false,
|
|
410
|
+
subDrawerClass: '',
|
|
411
|
+
customClass: '',
|
|
412
|
+
needAutoZindex: true,
|
|
413
|
+
onBodyClick: function onBodyClick() {}
|
|
373
414
|
};
|
|
374
415
|
|
|
375
416
|
if (false) {
|
|
376
417
|
Drawer.docs = {
|
|
377
|
-
componentGroup: 'Template'
|
|
378
|
-
folderName: 'Style Guide'
|
|
418
|
+
componentGroup: 'Template'
|
|
379
419
|
};
|
|
380
420
|
}
|