@webiny/app-admin 0.0.0-mt-1
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/LICENSE +21 -0
- package/README.md +21 -0
- package/assets/icons/add-18px.svg +3 -0
- package/assets/icons/arrow_drop_down-24px.svg +4 -0
- package/assets/icons/attach_file_black_24dp.svg +1 -0
- package/assets/icons/baseline-menu-24px.svg +4 -0
- package/assets/icons/baseline-notification_important-24px.svg +4 -0
- package/assets/icons/baseline-security-24px.svg +4 -0
- package/assets/icons/filter-24px.svg +8 -0
- package/assets/icons/github-brands.svg +1 -0
- package/assets/icons/highlight-24px.svg +1 -0
- package/assets/icons/icon-community.svg +16 -0
- package/assets/icons/icon-documentation.svg +16 -0
- package/assets/icons/info.svg +1 -0
- package/assets/icons/insert_drive_file-24px.svg +1 -0
- package/assets/icons/insert_photo-24px.svg +1 -0
- package/assets/icons/label-24px.svg +1 -0
- package/assets/icons/round-account_circle-24px.svg +1 -0
- package/assets/icons/round-add-24px.svg +16 -0
- package/assets/icons/round-arrow_drop_down-24px.svg +1 -0
- package/assets/icons/round-chevron_right-24px.svg +12 -0
- package/assets/icons/round-feedback-24px.svg +54 -0
- package/assets/icons/round-help-24px.svg +1 -0
- package/assets/icons/round-invert_colors-24px.svg +52 -0
- package/assets/icons/round-keyboard_arrow_down-24px.svg +16 -0
- package/assets/icons/round-keyboard_arrow_up-24px.svg +16 -0
- package/assets/icons/round-lock_open-24px.svg +60 -0
- package/assets/icons/round-more_vert-24px.svg +12 -0
- package/assets/icons/round-open_in_new-24px.svg +44 -0
- package/assets/icons/round-settings-24px.svg +4 -0
- package/assets/icons/search-24px.svg +20 -0
- package/assets/icons/slack-logo.svg +1 -0
- package/assets/icons/today-24px.svg +1 -0
- package/assets/icons/touch_app.svg +1 -0
- package/assets/images/arr.png +0 -0
- package/assets/images/arr_2.png +0 -0
- package/assets/images/header_bg.jpg +0 -0
- package/assets/images/icons.png +0 -0
- package/assets/images/icons_retina.png +0 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/logo_orange.png +0 -0
- package/assets/images/public/bg-login.png +0 -0
- package/assets/images/public/favicon.ico +0 -0
- package/assets/images/public/logo_orange.png +0 -0
- package/assets/images/public/preloader_2.png +0 -0
- package/assets/images/swich.png +0 -0
- package/assets/images/table_img.jpg +0 -0
- package/assets/images/webiny-logo.svg +20 -0
- package/assets/images/webiny-orange-logo.svg +20 -0
- package/components/AdminLayout.d.ts +7 -0
- package/components/AdminLayout.js +35 -0
- package/components/AppInstaller/Sidebar.d.ts +7 -0
- package/components/AppInstaller/Sidebar.js +158 -0
- package/components/AppInstaller/assets/sign-in-divider.svg +19 -0
- package/components/AppInstaller/index.d.ts +5 -0
- package/components/AppInstaller/index.js +134 -0
- package/components/AppInstaller/styled.d.ts +7 -0
- package/components/AppInstaller/styled.js +73 -0
- package/components/AppInstaller/useInstaller.d.ts +11 -0
- package/components/AppInstaller/useInstaller.js +279 -0
- package/components/EmptyView.d.ts +8 -0
- package/components/EmptyView.js +56 -0
- package/components/FileManager/BottomInfoBar/SupportedFileTypes.d.ts +5 -0
- package/components/FileManager/BottomInfoBar/SupportedFileTypes.js +35 -0
- package/components/FileManager/BottomInfoBar/UploadStatus.d.ts +5 -0
- package/components/FileManager/BottomInfoBar/UploadStatus.js +47 -0
- package/components/FileManager/BottomInfoBar.d.ts +3 -0
- package/components/FileManager/BottomInfoBar.js +42 -0
- package/components/FileManager/DropFilesHere.d.ts +8 -0
- package/components/FileManager/DropFilesHere.js +58 -0
- package/components/FileManager/File.d.ts +18 -0
- package/components/FileManager/File.js +129 -0
- package/components/FileManager/FileDetails/Name.d.ts +6 -0
- package/components/FileManager/FileDetails/Name.js +113 -0
- package/components/FileManager/FileDetails/Tags.d.ts +6 -0
- package/components/FileManager/FileDetails/Tags.js +241 -0
- package/components/FileManager/FileDetails.d.ts +23 -0
- package/components/FileManager/FileDetails.js +392 -0
- package/components/FileManager/FileManagerContext.d.ts +23 -0
- package/components/FileManager/FileManagerContext.js +174 -0
- package/components/FileManager/FileManagerView.d.ts +23 -0
- package/components/FileManager/FileManagerView.js +632 -0
- package/components/FileManager/LeftSidebar.d.ts +8 -0
- package/components/FileManager/LeftSidebar.js +95 -0
- package/components/FileManager/NoPermissionView.d.ts +3 -0
- package/components/FileManager/NoPermissionView.js +70 -0
- package/components/FileManager/NoResults.d.ts +2 -0
- package/components/FileManager/NoResults.js +13 -0
- package/components/FileManager/getFileTypePlugin.d.ts +1 -0
- package/components/FileManager/getFileTypePlugin.js +27 -0
- package/components/FileManager/getFileUploader.d.ts +2 -0
- package/components/FileManager/getFileUploader.js +10 -0
- package/components/FileManager/graphql.d.ts +6 -0
- package/components/FileManager/graphql.js +17 -0
- package/components/FileManager/icons/content_copy-black-24px.svg +1 -0
- package/components/FileManager/icons/delete.svg +12 -0
- package/components/FileManager/icons/privacy_tip-24px.svg +10 -0
- package/components/FileManager/icons/round-check_box-24px.svg +4 -0
- package/components/FileManager/icons/round-check_box_outline_blank-24px.svg +4 -0
- package/components/FileManager/icons/round-cloud_download-24px.svg +4 -0
- package/components/FileManager/icons/round-cloud_upload-24px.svg +4 -0
- package/components/FileManager/icons/round-description-24px.svg +4 -0
- package/components/FileManager/icons/round-edit-24px.svg +4 -0
- package/components/FileManager/icons/round-info-24px.svg +4 -0
- package/components/FileManager/icons/round-label-24px.svg +4 -0
- package/components/FileManager/icons/round-more_vert-24px.svg +4 -0
- package/components/FileManager/icons/round-search-24px.svg +20 -0
- package/components/FileManager/outputFileSelectionError.d.ts +2 -0
- package/components/FileManager/outputFileSelectionError.js +39 -0
- package/components/FileManager.d.ts +18 -0
- package/components/FileManager.js +133 -0
- package/components/FloatingActionButton.d.ts +3 -0
- package/components/FloatingActionButton.js +17 -0
- package/components/MultiImageUpload.d.ts +4 -0
- package/components/MultiImageUpload.js +20 -0
- package/components/OverlayLayout/OverlayLayout.d.ts +25 -0
- package/components/OverlayLayout/OverlayLayout.js +159 -0
- package/components/OverlayLayout/icons/close.svg +13 -0
- package/components/OverlayLayout/icons/navigate_before.svg +16 -0
- package/components/OverlayLayout/index.d.ts +1 -0
- package/components/OverlayLayout/index.js +1 -0
- package/components/Permissions/Permissions.d.ts +7 -0
- package/components/Permissions/Permissions.js +37 -0
- package/components/Permissions/StyledComponents.d.ts +6 -0
- package/components/Permissions/StyledComponents.js +19 -0
- package/components/Permissions/index.d.ts +2 -0
- package/components/Permissions/index.js +2 -0
- package/components/RichTextEditor/RichTextEditor.d.ts +3 -0
- package/components/RichTextEditor/RichTextEditor.js +15 -0
- package/components/RichTextEditor/index.d.ts +2 -0
- package/components/RichTextEditor/index.js +2 -0
- package/components/RichTextEditor/styles.scss +64 -0
- package/components/RichTextEditor/tools/header/index.d.ts +228 -0
- package/components/RichTextEditor/tools/header/index.js +731 -0
- package/components/RichTextEditor/tools/header/styles.scss +48 -0
- package/components/RichTextEditor/tools/image/index.d.ts +97 -0
- package/components/RichTextEditor/tools/image/index.js +257 -0
- package/components/RichTextEditor/tools/image/styles.scss +90 -0
- package/components/RichTextEditor/tools/image/svgs.d.ts +6 -0
- package/components/RichTextEditor/tools/image/svgs.js +5 -0
- package/components/RichTextEditor/tools/image/tunes.d.ts +58 -0
- package/components/RichTextEditor/tools/image/tunes.js +134 -0
- package/components/RichTextEditor/tools/image/ui.d.ts +111 -0
- package/components/RichTextEditor/tools/image/ui.js +281 -0
- package/components/RichTextEditor/tools/paragraph/index.d.ts +211 -0
- package/components/RichTextEditor/tools/paragraph/index.js +520 -0
- package/components/RichTextEditor/tools/paragraph/styles.scss +29 -0
- package/components/RichTextEditor/tools/textColor/index.d.ts +58 -0
- package/components/RichTextEditor/tools/textColor/index.js +232 -0
- package/components/RichTextEditor/tools/textColor/styles.scss +21 -0
- package/components/RichTextEditor/tools/utils.d.ts +19 -0
- package/components/RichTextEditor/tools/utils.js +24 -0
- package/components/SearchUI.d.ts +8 -0
- package/components/SearchUI.js +59 -0
- package/components/SimpleForm/SimpleForm.d.ts +21 -0
- package/components/SimpleForm/SimpleForm.js +75 -0
- package/components/SimpleForm/index.d.ts +1 -0
- package/components/SimpleForm/index.js +1 -0
- package/components/SimpleUI/InputField.d.ts +9 -0
- package/components/SimpleUI/InputField.js +97 -0
- package/components/SingleImageUpload.d.ts +25 -0
- package/components/SingleImageUpload.js +102 -0
- package/components/SplitView/SplitView.d.ts +10 -0
- package/components/SplitView/SplitView.js +76 -0
- package/components/SplitView/index.d.ts +1 -0
- package/components/SplitView/index.js +1 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/hooks/useConfirmationDialog.d.ts +10 -0
- package/hooks/useConfirmationDialog.js +47 -0
- package/hooks/useDialog.d.ts +5 -0
- package/hooks/useDialog.js +27 -0
- package/hooks/useSnackbar.d.ts +4 -0
- package/hooks/useSnackbar.js +25 -0
- package/package.json +101 -0
- package/plugins/FileManagerFileTypePlugin.d.ts +33 -0
- package/plugins/FileManagerFileTypePlugin.js +46 -0
- package/plugins/MenuPlugin.d.ts +20 -0
- package/plugins/MenuPlugin.js +41 -0
- package/plugins/PermissionRendererPlugin.d.ts +22 -0
- package/plugins/PermissionRendererPlugin.js +41 -0
- package/plugins/fileManager/fileDefault.d.ts +3 -0
- package/plugins/fileManager/fileDefault.js +20 -0
- package/plugins/fileManager/fileImage/DeleteAction.d.ts +3 -0
- package/plugins/fileManager/fileImage/DeleteAction.js +62 -0
- package/plugins/fileManager/fileImage/EditAction.d.ts +9 -0
- package/plugins/fileManager/fileImage/EditAction.js +143 -0
- package/plugins/fileManager/fileImage/index.d.ts +3 -0
- package/plugins/fileManager/fileImage/index.js +29 -0
- package/plugins/fileManager/icons/edit.svg +17 -0
- package/plugins/fileManager/icons/round-description-24px.svg +1 -0
- package/plugins/fileManager/index.d.ts +2 -0
- package/plugins/fileManager/index.js +3 -0
- package/plugins/globalSearch/SearchBar.d.ts +3 -0
- package/plugins/globalSearch/SearchBar.js +241 -0
- package/plugins/globalSearch/SearchBarDropdown.d.ts +5 -0
- package/plugins/globalSearch/SearchBarDropdown.js +82 -0
- package/plugins/globalSearch/icons/round-search-24px.svg +20 -0
- package/plugins/globalSearch/index.d.ts +8 -0
- package/plugins/globalSearch/index.js +30 -0
- package/plugins/globalSearch/styled.d.ts +9 -0
- package/plugins/globalSearch/styled.js +115 -0
- package/plugins/index.d.ts +6 -0
- package/plugins/index.js +8 -0
- package/plugins/logo/Logo.d.ts +22 -0
- package/plugins/logo/Logo.js +108 -0
- package/plugins/logo/index.d.ts +5 -0
- package/plugins/logo/index.js +32 -0
- package/plugins/menu/documentation.d.ts +4 -0
- package/plugins/menu/documentation.js +16 -0
- package/plugins/menu/fileManager.d.ts +4 -0
- package/plugins/menu/fileManager.js +64 -0
- package/plugins/menu/index.d.ts +6 -0
- package/plugins/menu/index.js +24 -0
- package/plugins/menu/renderers/MenuGroupRenderer.d.ts +7 -0
- package/plugins/menu/renderers/MenuGroupRenderer.js +126 -0
- package/plugins/menu/renderers/MenuLinkRenderer.d.ts +7 -0
- package/plugins/menu/renderers/MenuLinkRenderer.js +52 -0
- package/plugins/menu/renderers/MenuSectionItemRenderer.d.ts +7 -0
- package/plugins/menu/renderers/MenuSectionItemRenderer.js +77 -0
- package/plugins/menu/renderers/MenuSectionRenderer.d.ts +7 -0
- package/plugins/menu/renderers/MenuSectionRenderer.js +51 -0
- package/plugins/menu/slack.d.ts +4 -0
- package/plugins/menu/slack.js +16 -0
- package/plugins/menu/source.d.ts +4 -0
- package/plugins/menu/source.js +16 -0
- package/plugins/uiLayoutRenderer/index.d.ts +3 -0
- package/plugins/uiLayoutRenderer/index.js +63 -0
- package/plugins/userMenu/UserMenuElement.d.ts +7 -0
- package/plugins/userMenu/UserMenuElement.js +43 -0
- package/plugins/userMenu/UserMenuRenderer.d.ts +6 -0
- package/plugins/userMenu/UserMenuRenderer.js +47 -0
- package/plugins/userMenu/index.d.ts +4 -0
- package/plugins/userMenu/index.js +16 -0
- package/styles/material-theme-assignments.scss +333 -0
- package/styles/material.scss +74 -0
- package/styles/theme.scss +43 -0
- package/styles.scss +2 -0
- package/types.d.ts +100 -0
- package/types.js +1 -0
- package/ui/UIElement.d.ts +2 -0
- package/ui/UIElement.js +1 -0
- package/ui/UILayout.d.ts +1 -0
- package/ui/UILayout.js +1 -0
- package/ui/UIRenderer.d.ts +2 -0
- package/ui/UIRenderer.js +1 -0
- package/ui/UIView.d.ts +2 -0
- package/ui/UIView.js +1 -0
- package/ui/elements/AccordionElement.d.ts +27 -0
- package/ui/elements/AccordionElement.js +86 -0
- package/ui/elements/ButtonElement.d.ts +24 -0
- package/ui/elements/ButtonElement.js +78 -0
- package/ui/elements/ButtonGroupElement.d.ts +6 -0
- package/ui/elements/ButtonGroupElement.js +48 -0
- package/ui/elements/GenericElement.d.ts +1 -0
- package/ui/elements/GenericElement.js +1 -0
- package/ui/elements/LabelElement.d.ts +16 -0
- package/ui/elements/LabelElement.js +47 -0
- package/ui/elements/NavigationMenuElement.d.ts +32 -0
- package/ui/elements/NavigationMenuElement.js +158 -0
- package/ui/elements/PanelElement.d.ts +3 -0
- package/ui/elements/PanelElement.js +17 -0
- package/ui/elements/PlaceholderElement.d.ts +5 -0
- package/ui/elements/PlaceholderElement.js +30 -0
- package/ui/elements/SmallButtonElement.d.ts +6 -0
- package/ui/elements/SmallButtonElement.js +47 -0
- package/ui/elements/TypographyElement.d.ts +13 -0
- package/ui/elements/TypographyElement.js +49 -0
- package/ui/elements/ViewElement.d.ts +1 -0
- package/ui/elements/ViewElement.js +1 -0
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.d.ts +6 -0
- package/ui/elements/form/DynamicFieldsetElement/DynamicFieldsetRowElement.js +44 -0
- package/ui/elements/form/DynamicFieldsetElement.d.ts +42 -0
- package/ui/elements/form/DynamicFieldsetElement.js +127 -0
- package/ui/elements/form/FileManagerElement/EmptyStateElement.d.ts +4 -0
- package/ui/elements/form/FileManagerElement/EmptyStateElement.js +24 -0
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.d.ts +7 -0
- package/ui/elements/form/FileManagerElement/EmptyStateElementRenderer.js +72 -0
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.d.ts +13 -0
- package/ui/elements/form/FileManagerElement/FileManagerElementRenderer.js +95 -0
- package/ui/elements/form/FileManagerElement/styled.d.ts +14 -0
- package/ui/elements/form/FileManagerElement/styled.js +106 -0
- package/ui/elements/form/FileManagerElement.d.ts +24 -0
- package/ui/elements/form/FileManagerElement.js +91 -0
- package/ui/elements/form/FormElement.d.ts +21 -0
- package/ui/elements/form/FormElement.js +45 -0
- package/ui/elements/form/FormFieldElement.d.ts +55 -0
- package/ui/elements/form/FormFieldElement.js +183 -0
- package/ui/elements/form/HiddenElement.d.ts +6 -0
- package/ui/elements/form/HiddenElement.js +49 -0
- package/ui/elements/form/InputElement.d.ts +6 -0
- package/ui/elements/form/InputElement.js +55 -0
- package/ui/elements/form/PasswordElement.d.ts +6 -0
- package/ui/elements/form/PasswordElement.js +50 -0
- package/ui/elements/form/README.md +2 -0
- package/ui/elements/form/SelectElement.d.ts +15 -0
- package/ui/elements/form/SelectElement.js +71 -0
- package/ui/elements/form/TextareaElement.d.ts +15 -0
- package/ui/elements/form/TextareaElement.js +56 -0
- package/ui/views/AdminView/ContentElement.d.ts +4 -0
- package/ui/views/AdminView/ContentElement.js +62 -0
- package/ui/views/AdminView/HeaderElement.d.ts +13 -0
- package/ui/views/AdminView/HeaderElement.js +111 -0
- package/ui/views/AdminView/HeaderSectionCenterElement.d.ts +6 -0
- package/ui/views/AdminView/HeaderSectionCenterElement.js +42 -0
- package/ui/views/AdminView/HeaderSectionLeftElement.d.ts +6 -0
- package/ui/views/AdminView/HeaderSectionLeftElement.js +42 -0
- package/ui/views/AdminView/HeaderSectionRightElement.d.ts +6 -0
- package/ui/views/AdminView/HeaderSectionRightElement.js +42 -0
- package/ui/views/AdminView/components/Dialog.d.ts +2 -0
- package/ui/views/AdminView/components/Dialog.js +40 -0
- package/ui/views/AdminView/components/Hamburger.d.ts +3 -0
- package/ui/views/AdminView/components/Hamburger.js +25 -0
- package/ui/views/AdminView/components/Snackbar.d.ts +3 -0
- package/ui/views/AdminView/components/Snackbar.js +28 -0
- package/ui/views/AdminView.d.ts +12 -0
- package/ui/views/AdminView.js +90 -0
- package/ui/views/FormView/FormContainerElement.d.ts +12 -0
- package/ui/views/FormView/FormContainerElement.js +51 -0
- package/ui/views/FormView/FormContentElement.d.ts +3 -0
- package/ui/views/FormView/FormContentElement.js +17 -0
- package/ui/views/FormView/FormFooterElement.d.ts +6 -0
- package/ui/views/FormView/FormFooterElement.js +49 -0
- package/ui/views/FormView/FormHeaderElement.d.ts +14 -0
- package/ui/views/FormView/FormHeaderElement.js +81 -0
- package/ui/views/FormView.d.ts +40 -0
- package/ui/views/FormView.js +160 -0
- package/ui/views/NavigationView/ContentElement.d.ts +10 -0
- package/ui/views/NavigationView/ContentElement.js +86 -0
- package/ui/views/NavigationView/FooterElement.d.ts +13 -0
- package/ui/views/NavigationView/FooterElement.js +57 -0
- package/ui/views/NavigationView/HeaderElement.d.ts +16 -0
- package/ui/views/NavigationView/HeaderElement.js +66 -0
- package/ui/views/NavigationView/NavigationViewRenderer.d.ts +6 -0
- package/ui/views/NavigationView/NavigationViewRenderer.js +38 -0
- package/ui/views/NavigationView/Styled.d.ts +7 -0
- package/ui/views/NavigationView/Styled.js +47 -0
- package/ui/views/NavigationView/legacyMenu.d.ts +22 -0
- package/ui/views/NavigationView/legacyMenu.js +1 -0
- package/ui/views/NavigationView/useNavigation.d.ts +6 -0
- package/ui/views/NavigationView/useNavigation.js +22 -0
- package/ui/views/NavigationView.d.ts +26 -0
- package/ui/views/NavigationView.js +204 -0
- package/ui/views/OverlayView/ContentElement.d.ts +6 -0
- package/ui/views/OverlayView/ContentElement.js +42 -0
- package/ui/views/OverlayView/HeaderElement.d.ts +24 -0
- package/ui/views/OverlayView/HeaderElement.js +115 -0
- package/ui/views/OverlayView/HeaderTitleElement.d.ts +13 -0
- package/ui/views/OverlayView/HeaderTitleElement.js +54 -0
- package/ui/views/OverlayView/useOverlayView.d.ts +6 -0
- package/ui/views/OverlayView/useOverlayView.js +38 -0
- package/ui/views/OverlayView.d.ts +31 -0
- package/ui/views/OverlayView.js +176 -0
- package/ui/views/SplitView/SplitViewPanelElement.d.ts +11 -0
- package/ui/views/SplitView/SplitViewPanelElement.js +72 -0
- package/ui/views/SplitView.d.ts +21 -0
- package/ui/views/SplitView.js +142 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SearchShortcut: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
|
|
3
|
+
export declare const SearchBarWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
|
|
4
|
+
export declare const SearchBarInputWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "dir" | "slot" | "style" | "title" | "color" | "translate" | "children" | "defaultValue" | "id" | "onError" | "className" | "onChange" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, object>;
|
|
5
|
+
export declare const searchBarInput: string;
|
|
6
|
+
export declare const searchBarDropdown: string;
|
|
7
|
+
export declare const icon: string;
|
|
8
|
+
export declare const iconSearchType: string;
|
|
9
|
+
export declare const searchWrapper: string;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
// TODO remove
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
import { css } from "emotion";
|
|
5
|
+
import styled from "@emotion/styled";
|
|
6
|
+
export var SearchShortcut = /*#__PURE__*/styled("div", {
|
|
7
|
+
target: "eh6vkyz0",
|
|
8
|
+
label: "SearchShortcut"
|
|
9
|
+
})({
|
|
10
|
+
border: "1px solid var(--mdc-theme-surface)",
|
|
11
|
+
color: "var(--mdc-theme-surface)",
|
|
12
|
+
borderRadius: 5,
|
|
13
|
+
width: 20,
|
|
14
|
+
height: 24,
|
|
15
|
+
marginTop: 1,
|
|
16
|
+
textAlign: "center",
|
|
17
|
+
fontSize: "12px",
|
|
18
|
+
paddingTop: "3px",
|
|
19
|
+
boxSizing: "border-box",
|
|
20
|
+
cursor: "default",
|
|
21
|
+
opacity: "0.8"
|
|
22
|
+
});
|
|
23
|
+
export var SearchBarWrapper = /*#__PURE__*/styled("div", {
|
|
24
|
+
target: "eh6vkyz1",
|
|
25
|
+
label: "SearchBarWrapper"
|
|
26
|
+
})({
|
|
27
|
+
display: "flex",
|
|
28
|
+
width: "100%"
|
|
29
|
+
});
|
|
30
|
+
export var SearchBarInputWrapper = /*#__PURE__*/styled("div", {
|
|
31
|
+
target: "eh6vkyz2",
|
|
32
|
+
label: "SearchBarInputWrapper"
|
|
33
|
+
})({
|
|
34
|
+
display: "flex",
|
|
35
|
+
width: "100%",
|
|
36
|
+
position: "relative"
|
|
37
|
+
});
|
|
38
|
+
export var searchBarInput = /*#__PURE__*/css({
|
|
39
|
+
width: "100%",
|
|
40
|
+
lineHeight: 1,
|
|
41
|
+
border: "none",
|
|
42
|
+
outline: "none",
|
|
43
|
+
backgroundColor: "transparent",
|
|
44
|
+
"&.mdc-text-field__input": {
|
|
45
|
+
paddingTop: "5px !important",
|
|
46
|
+
paddingLeft: "10px !important",
|
|
47
|
+
borderBottom: "none !important",
|
|
48
|
+
height: "25px !important",
|
|
49
|
+
color: "var(--mdc-theme-surface)",
|
|
50
|
+
"&::placeholder": {
|
|
51
|
+
color: "var(--mdc-theme-surface) !important",
|
|
52
|
+
opacity: "1 !important"
|
|
53
|
+
},
|
|
54
|
+
"&:focus::placeholder": {
|
|
55
|
+
color: "var(--mdc-theme-text-secondary-on-background) !important"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}, "label:searchBarInput;");
|
|
59
|
+
export var searchBarDropdown = /*#__PURE__*/css({
|
|
60
|
+
position: "absolute",
|
|
61
|
+
background: "white",
|
|
62
|
+
left: -1,
|
|
63
|
+
width: "calc(100% + 2px)",
|
|
64
|
+
top: 45,
|
|
65
|
+
zIndex: 2,
|
|
66
|
+
color: "var(--mdc-theme-on-surface)",
|
|
67
|
+
borderRadius: "0 0 5px 5px",
|
|
68
|
+
".mdc-list": {
|
|
69
|
+
padding: 0,
|
|
70
|
+
".mdc-list-item": {
|
|
71
|
+
"&.selected": {
|
|
72
|
+
fontWeight: "bold"
|
|
73
|
+
},
|
|
74
|
+
"&.highlighted": {
|
|
75
|
+
backgroundColor: "var(--mdc-theme-on-background)"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, "label:searchBarDropdown;");
|
|
80
|
+
export var icon = /*#__PURE__*/css({
|
|
81
|
+
"&.mdc-button__icon": {
|
|
82
|
+
width: "auto !important",
|
|
83
|
+
paddingRight: 5,
|
|
84
|
+
opacity: 0.75,
|
|
85
|
+
marginTop: 2
|
|
86
|
+
}
|
|
87
|
+
}, "label:icon;");
|
|
88
|
+
export var iconSearchType = /*#__PURE__*/css({
|
|
89
|
+
cursor: "pointer",
|
|
90
|
+
paddingLeft: 5
|
|
91
|
+
}, "label:iconSearchType;");
|
|
92
|
+
export var searchWrapper = /*#__PURE__*/css({
|
|
93
|
+
backgroundColor: "rgba(0, 0, 0, 0.1)",
|
|
94
|
+
display: "flex",
|
|
95
|
+
padding: "10px 20px",
|
|
96
|
+
position: "relative",
|
|
97
|
+
borderRadius: 4,
|
|
98
|
+
transition: "background 100ms ease-in,width 100ms ease-out",
|
|
99
|
+
color: "var(--mdc-theme-surface)",
|
|
100
|
+
border: "1px solid transparent",
|
|
101
|
+
"&.active": _defineProperty({
|
|
102
|
+
color: "var(--mdc-theme-on-surface)",
|
|
103
|
+
border: "1px solid var(--mdc-theme-text-hint-on-dark)",
|
|
104
|
+
background: "var(--mdc-theme-surface)",
|
|
105
|
+
boxShadow: "0 1px 1px var(--mdc-theme-text-hint-on-dark)",
|
|
106
|
+
input: {
|
|
107
|
+
color: "var(--mdc-theme-on-surface)"
|
|
108
|
+
}
|
|
109
|
+
}, SearchShortcut, {
|
|
110
|
+
display: "none"
|
|
111
|
+
}),
|
|
112
|
+
input: {
|
|
113
|
+
color: "var(--mdc-theme-surface)"
|
|
114
|
+
}
|
|
115
|
+
}, "label:searchWrapper;");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: () => (import("./FileManagerFileTypePlugin").FileManagerFileTypePlugin[] | (import("@webiny/ui-composer/UIView").UIViewPlugin<import("../ui/views/NavigationView").NavigationView> | import("@webiny/ui-composer/UIElement").UIElementPlugin<import("../ui/elements/NavigationMenuElement").NavigationMenuElement<import("../ui/elements/NavigationMenuElement").NavigationMenuElementConfig>>)[] | import("@webiny/ui-composer/UIView").UIViewPlugin<import("../ui/views/AdminView").AdminView> | import("@webiny/ui-composer/UILayout").UILayoutPlugin<import("@webiny/ui-composer/UILayout").UILayout> | {
|
|
2
|
+
type: string;
|
|
3
|
+
name: string;
|
|
4
|
+
preventOpen(e: any): boolean;
|
|
5
|
+
})[];
|
|
6
|
+
export default _default;
|
package/plugins/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import fileManager from "./fileManager";
|
|
2
|
+
import menu from "./menu";
|
|
3
|
+
import userMenu from "./userMenu";
|
|
4
|
+
import uiLayoutRenderer from "./uiLayoutRenderer";
|
|
5
|
+
import { globalSearch, globalSearchHotkey } from "./globalSearch";
|
|
6
|
+
export default (function () {
|
|
7
|
+
return [menu, fileManager, userMenu, globalSearch, globalSearchHotkey, uiLayoutRenderer];
|
|
8
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare class Logo extends React.Component<any> {
|
|
3
|
+
static defaultProps: {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
mobileWidth: number;
|
|
7
|
+
mobileHeight: number;
|
|
8
|
+
altText: string;
|
|
9
|
+
className: string;
|
|
10
|
+
white: boolean;
|
|
11
|
+
onClick: any;
|
|
12
|
+
};
|
|
13
|
+
checkDisplayInterval: any;
|
|
14
|
+
state: {
|
|
15
|
+
display: string;
|
|
16
|
+
};
|
|
17
|
+
shouldComponentUpdate(_: any, state: any): boolean;
|
|
18
|
+
componentDidMount(): void;
|
|
19
|
+
componentWillUnmount(): void;
|
|
20
|
+
render(): JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
export default Logo;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
+
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
4
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
|
+
import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
6
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
|
+
import _isEqual from "lodash/isEqual";
|
|
8
|
+
import React from "react";
|
|
9
|
+
import { ReactComponent as WebinyLogo } from "@svgr/webpack!../../assets/images/webiny-logo.svg";
|
|
10
|
+
import { Link } from "@webiny/react-router";
|
|
11
|
+
|
|
12
|
+
var Logo = /*#__PURE__*/function (_React$Component) {
|
|
13
|
+
_inherits(Logo, _React$Component);
|
|
14
|
+
|
|
15
|
+
var _super = _createSuper(Logo);
|
|
16
|
+
|
|
17
|
+
function Logo() {
|
|
18
|
+
var _this;
|
|
19
|
+
|
|
20
|
+
_classCallCheck(this, Logo);
|
|
21
|
+
|
|
22
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
23
|
+
args[_key] = arguments[_key];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
|
27
|
+
|
|
28
|
+
_defineProperty(_assertThisInitialized(_this), "checkDisplayInterval", null);
|
|
29
|
+
|
|
30
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
31
|
+
display: "desktop"
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
_createClass(Logo, [{
|
|
38
|
+
key: "shouldComponentUpdate",
|
|
39
|
+
value: function shouldComponentUpdate(_, state) {
|
|
40
|
+
return !_isEqual(state, this.state);
|
|
41
|
+
}
|
|
42
|
+
}, {
|
|
43
|
+
key: "componentDidMount",
|
|
44
|
+
value: function componentDidMount() {
|
|
45
|
+
var _this2 = this;
|
|
46
|
+
|
|
47
|
+
this.checkDisplayInterval = setInterval(function () {
|
|
48
|
+
_this2.setState({
|
|
49
|
+
display: window.outerWidth > 768 ? "desktop" : "mobile"
|
|
50
|
+
});
|
|
51
|
+
}, 500);
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
key: "componentWillUnmount",
|
|
55
|
+
value: function componentWillUnmount() {
|
|
56
|
+
clearInterval(this.checkDisplayInterval);
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
key: "render",
|
|
60
|
+
value: function render() {
|
|
61
|
+
var _this$props = this.props,
|
|
62
|
+
className = _this$props.className,
|
|
63
|
+
altText = _this$props.altText,
|
|
64
|
+
white = _this$props.white,
|
|
65
|
+
onClick = _this$props.onClick;
|
|
66
|
+
var style = {
|
|
67
|
+
width: this.props.width,
|
|
68
|
+
height: this.props.height,
|
|
69
|
+
display: this.props.display,
|
|
70
|
+
marginTop: 8,
|
|
71
|
+
color: undefined
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
if (white) {
|
|
75
|
+
style.color = "white";
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (this.state.display !== "desktop") {
|
|
79
|
+
style.width = this.props.mobileWidth;
|
|
80
|
+
style.height = this.props.mobileHeight;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
84
|
+
to: "/",
|
|
85
|
+
onClick: onClick
|
|
86
|
+
}, /*#__PURE__*/React.createElement(WebinyLogo, {
|
|
87
|
+
className: ["webiny-logo", className].join(" "),
|
|
88
|
+
style: style,
|
|
89
|
+
alt: altText
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
}]);
|
|
93
|
+
|
|
94
|
+
return Logo;
|
|
95
|
+
}(React.Component);
|
|
96
|
+
|
|
97
|
+
_defineProperty(Logo, "defaultProps", {
|
|
98
|
+
width: 100,
|
|
99
|
+
height: 30,
|
|
100
|
+
mobileWidth: 100,
|
|
101
|
+
mobileHeight: 36,
|
|
102
|
+
altText: "Webiny",
|
|
103
|
+
className: "",
|
|
104
|
+
white: false,
|
|
105
|
+
onClick: null
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
export default Logo;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UIViewPlugin } from "../../ui/UIView";
|
|
2
|
+
import { AdminView } from "../../ui/views/AdminView";
|
|
3
|
+
import { NavigationView } from "../../ui/views/NavigationView";
|
|
4
|
+
declare const _default: () => (UIViewPlugin<NavigationView> | UIViewPlugin<AdminView>)[];
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Logo from "./Logo";
|
|
3
|
+
import { plugins } from "@webiny/plugins";
|
|
4
|
+
import { logoStyle } from "../../ui/views/NavigationView/Styled";
|
|
5
|
+
import { UIViewPlugin } from "../../ui/UIView";
|
|
6
|
+
import { AdminView } from "../../ui/views/AdminView";
|
|
7
|
+
import { NavigationView } from "../../ui/views/NavigationView";
|
|
8
|
+
export default (function () {
|
|
9
|
+
return [
|
|
10
|
+
/* Set logo in the layout header. */
|
|
11
|
+
new UIViewPlugin(AdminView, function (view) {
|
|
12
|
+
view.getHeaderElement().setLogo( /*#__PURE__*/React.createElement(Logo, {
|
|
13
|
+
white: true
|
|
14
|
+
}));
|
|
15
|
+
}),
|
|
16
|
+
/* Set logo in the navigation drawer. */
|
|
17
|
+
new UIViewPlugin(NavigationView, function (view) {
|
|
18
|
+
view.getHeaderElement().setLogo( /*#__PURE__*/React.createElement(Logo, {
|
|
19
|
+
onClick: function onClick() {
|
|
20
|
+
return view.getNavigationHook().hideMenu();
|
|
21
|
+
}
|
|
22
|
+
})); // IMPORTANT: Fetch logo plugin for backwards compatibility.
|
|
23
|
+
|
|
24
|
+
var logoPlugin = plugins.byName("admin-menu-logo");
|
|
25
|
+
|
|
26
|
+
if (logoPlugin) {
|
|
27
|
+
view.getHeaderElement().setLogo( /*#__PURE__*/React.cloneElement(logoPlugin.render(), {
|
|
28
|
+
className: logoStyle
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
})];
|
|
32
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { NavigationMenuElement } from "../../ui/elements/NavigationMenuElement";
|
|
3
|
+
import { ReactComponent as DocsIcon } from "@svgr/webpack!../../assets/icons/icon-documentation.svg";
|
|
4
|
+
import { UIViewPlugin } from "../../ui/UIView";
|
|
5
|
+
import { NavigationView } from "../../ui/views/NavigationView";
|
|
6
|
+
export default (function () {
|
|
7
|
+
return new UIViewPlugin(NavigationView, function (view) {
|
|
8
|
+
view.getFooterElement().addMenuElement(new NavigationMenuElement("documentation", {
|
|
9
|
+
label: "Documentation",
|
|
10
|
+
icon: /*#__PURE__*/React.createElement(DocsIcon, null),
|
|
11
|
+
path: "https://docs.webiny.com/",
|
|
12
|
+
rel: "noopener noreferrer",
|
|
13
|
+
target: "_blank"
|
|
14
|
+
}));
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
|
+
import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { css } from "emotion";
|
|
7
|
+
import { ListItem, ListItemGraphic } from "@webiny/ui/List";
|
|
8
|
+
import { Icon } from "@webiny/ui/Icon";
|
|
9
|
+
import { ReactComponent as FileIcon } from "@svgr/webpack!../../assets/icons/insert_drive_file-24px.svg";
|
|
10
|
+
import { FileManager } from "../../components";
|
|
11
|
+
import { NavigationMenuElement } from "../../ui/elements/NavigationMenuElement";
|
|
12
|
+
import { UIRenderer } from "../../ui/UIRenderer";
|
|
13
|
+
import { UIViewPlugin } from "../../ui/UIView";
|
|
14
|
+
import { NavigationView } from "../../ui/views/NavigationView";
|
|
15
|
+
var listItemStyle = /*#__PURE__*/css({
|
|
16
|
+
".mdc-list &.mdc-list-item:hover": {
|
|
17
|
+
cursor: "pointer",
|
|
18
|
+
backgroundColor: "var(--mdc-theme-background)"
|
|
19
|
+
}
|
|
20
|
+
}, "label:listItemStyle;");
|
|
21
|
+
|
|
22
|
+
var FileManagerMenuItemRenderer = /*#__PURE__*/function (_UIRenderer) {
|
|
23
|
+
_inherits(FileManagerMenuItemRenderer, _UIRenderer);
|
|
24
|
+
|
|
25
|
+
var _super = _createSuper(FileManagerMenuItemRenderer);
|
|
26
|
+
|
|
27
|
+
function FileManagerMenuItemRenderer() {
|
|
28
|
+
_classCallCheck(this, FileManagerMenuItemRenderer);
|
|
29
|
+
|
|
30
|
+
return _super.apply(this, arguments);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
_createClass(FileManagerMenuItemRenderer, [{
|
|
34
|
+
key: "render",
|
|
35
|
+
value: function render(_ref) {
|
|
36
|
+
var element = _ref.element;
|
|
37
|
+
return /*#__PURE__*/React.createElement(FileManager, null, function (_ref2) {
|
|
38
|
+
var showFileManager = _ref2.showFileManager;
|
|
39
|
+
return /*#__PURE__*/React.createElement(ListItem, {
|
|
40
|
+
ripple: false,
|
|
41
|
+
onClick: showFileManager,
|
|
42
|
+
className: listItemStyle,
|
|
43
|
+
"data-testid": element.config.testId
|
|
44
|
+
}, /*#__PURE__*/React.createElement(ListItemGraphic, null, /*#__PURE__*/React.createElement(Icon, {
|
|
45
|
+
icon: element.config.icon
|
|
46
|
+
})), element.config.label);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}]);
|
|
50
|
+
|
|
51
|
+
return FileManagerMenuItemRenderer;
|
|
52
|
+
}(UIRenderer);
|
|
53
|
+
|
|
54
|
+
export default (function () {
|
|
55
|
+
return [new UIViewPlugin(NavigationView, function (view) {
|
|
56
|
+
var element = new NavigationMenuElement("fileManager", {
|
|
57
|
+
label: "File Manager",
|
|
58
|
+
icon: /*#__PURE__*/React.createElement(FileIcon, null),
|
|
59
|
+
testId: "admin-drawer-footer-menu-file-manager"
|
|
60
|
+
});
|
|
61
|
+
element.addRenderer(new FileManagerMenuItemRenderer());
|
|
62
|
+
view.getFooterElement().addMenuElement(element);
|
|
63
|
+
})];
|
|
64
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UIElementPlugin } from "../../ui/UIElement";
|
|
2
|
+
import { NavigationMenuElement } from "../../ui/elements/NavigationMenuElement";
|
|
3
|
+
import { UIViewPlugin } from "../../ui/UIView";
|
|
4
|
+
import { NavigationView } from "../../ui/views/NavigationView";
|
|
5
|
+
declare const _default: (UIViewPlugin<NavigationView> | UIElementPlugin<NavigationMenuElement<import("../../ui/elements/NavigationMenuElement").NavigationMenuElementConfig>>)[];
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconButton } from "@webiny/ui/Button";
|
|
3
|
+
import { ReactComponent as MenuIcon } from "@svgr/webpack!../../assets/icons/baseline-menu-24px.svg";
|
|
4
|
+
import { MenuGroupRenderer } from "./renderers/MenuGroupRenderer";
|
|
5
|
+
import { MenuSectionRenderer } from "./renderers/MenuSectionRenderer";
|
|
6
|
+
import { MenuSectionItemRenderer } from "./renderers/MenuSectionItemRenderer";
|
|
7
|
+
import { MenuLinkRenderer } from "./renderers/MenuLinkRenderer";
|
|
8
|
+
import { UIElementPlugin } from "../../ui/UIElement";
|
|
9
|
+
import { NavigationMenuElement } from "../../ui/elements/NavigationMenuElement";
|
|
10
|
+
import { UIViewPlugin } from "../../ui/UIView";
|
|
11
|
+
import { NavigationView } from "../../ui/views/NavigationView";
|
|
12
|
+
export default [new UIViewPlugin(NavigationView, function (view) {
|
|
13
|
+
view.getHeaderElement().setMenuButton( /*#__PURE__*/React.createElement(IconButton, {
|
|
14
|
+
icon: /*#__PURE__*/React.createElement(MenuIcon, null),
|
|
15
|
+
onClick: function onClick() {
|
|
16
|
+
return view.getNavigationHook().hideMenu();
|
|
17
|
+
}
|
|
18
|
+
}));
|
|
19
|
+
}), new UIElementPlugin(NavigationMenuElement, function (element) {
|
|
20
|
+
element.addRenderer(new MenuGroupRenderer());
|
|
21
|
+
element.addRenderer(new MenuSectionRenderer());
|
|
22
|
+
element.addRenderer(new MenuSectionItemRenderer());
|
|
23
|
+
element.addRenderer(new MenuLinkRenderer());
|
|
24
|
+
})];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIRenderer, UIRenderParams } from "../../../ui/UIRenderer";
|
|
3
|
+
import { NavigationMenuElement } from "../../../ui/elements/NavigationMenuElement";
|
|
4
|
+
export declare class MenuGroupRenderer extends UIRenderer<NavigationMenuElement> {
|
|
5
|
+
canRender(element: NavigationMenuElement): boolean;
|
|
6
|
+
render({ element, props, next }: UIRenderParams<NavigationMenuElement>): React.ReactNode;
|
|
7
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
|
+
import _createSuper from "@babel/runtime/helpers/createSuper";
|
|
7
|
+
import React, { Fragment } from "react";
|
|
8
|
+
import { css } from "emotion";
|
|
9
|
+
import { Transition } from "react-transition-group";
|
|
10
|
+
import classNames from "classnames";
|
|
11
|
+
import { UIRenderer } from "../../../ui/UIRenderer";
|
|
12
|
+
import { List, ListItem, ListItemGraphic, ListItemMeta } from "@webiny/ui/List";
|
|
13
|
+
import { IconButton } from "@webiny/ui/Button";
|
|
14
|
+
import { ReactComponent as UpIcon } from "@svgr/webpack!../../../assets/icons/round-keyboard_arrow_up-24px.svg";
|
|
15
|
+
import { ReactComponent as DownIcon } from "@svgr/webpack!../../../assets/icons/round-keyboard_arrow_down-24px.svg";
|
|
16
|
+
import { ContentElement } from "../../../ui/views/NavigationView/ContentElement";
|
|
17
|
+
import { Link } from "@webiny/react-router";
|
|
18
|
+
var defaultStyle = {
|
|
19
|
+
transform: "translateY(-20px)",
|
|
20
|
+
opacity: 0,
|
|
21
|
+
transitionProperty: "transform, opacity",
|
|
22
|
+
transitionTimingFunction: "cubic-bezier(0, 0, .2, 1)",
|
|
23
|
+
transitionDuration: "100ms",
|
|
24
|
+
willChange: "opacity, transform"
|
|
25
|
+
};
|
|
26
|
+
var transitionStyles = {
|
|
27
|
+
entering: {
|
|
28
|
+
transform: "translateY(-20px)",
|
|
29
|
+
opacity: 0
|
|
30
|
+
},
|
|
31
|
+
entered: {
|
|
32
|
+
transform: "translateY(0px)",
|
|
33
|
+
opacity: 1
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
var menuTitle = /*#__PURE__*/css({
|
|
37
|
+
".mdc-drawer &.mdc-list": {
|
|
38
|
+
borderBottom: "1px solid var(--mdc-theme-on-background)",
|
|
39
|
+
padding: 0,
|
|
40
|
+
".mdc-list-item": {
|
|
41
|
+
margin: 0,
|
|
42
|
+
padding: "0 15px",
|
|
43
|
+
height: "48px",
|
|
44
|
+
width: "100%",
|
|
45
|
+
fontWeight: 600,
|
|
46
|
+
boxSizing: "border-box"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, "label:menuTitle;");
|
|
50
|
+
var menuTitleActive = /*#__PURE__*/css({
|
|
51
|
+
backgroundColor: "var(--mdc-theme-background)"
|
|
52
|
+
}, "label:menuTitleActive;");
|
|
53
|
+
export var MenuGroupRenderer = /*#__PURE__*/function (_UIRenderer) {
|
|
54
|
+
_inherits(MenuGroupRenderer, _UIRenderer);
|
|
55
|
+
|
|
56
|
+
var _super = _createSuper(MenuGroupRenderer);
|
|
57
|
+
|
|
58
|
+
function MenuGroupRenderer() {
|
|
59
|
+
_classCallCheck(this, MenuGroupRenderer);
|
|
60
|
+
|
|
61
|
+
return _super.apply(this, arguments);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
_createClass(MenuGroupRenderer, [{
|
|
65
|
+
key: "canRender",
|
|
66
|
+
value: function canRender(element) {
|
|
67
|
+
var isInContent = Boolean(element.getParentByType(ContentElement));
|
|
68
|
+
return element.depth === 1 && isInContent && !element.config.path;
|
|
69
|
+
}
|
|
70
|
+
}, {
|
|
71
|
+
key: "render",
|
|
72
|
+
value: function render(_ref) {
|
|
73
|
+
var element = _ref.element,
|
|
74
|
+
props = _ref.props,
|
|
75
|
+
next = _ref.next;
|
|
76
|
+
var hasChildren = element.getChildren().length > 0;
|
|
77
|
+
|
|
78
|
+
if (!hasChildren) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
var withLink = function withLink(content) {
|
|
83
|
+
var defaultOnClick = element.getView().getNavigationHook().hideMenu;
|
|
84
|
+
var onClick = element.config.onClick || defaultOnClick;
|
|
85
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
86
|
+
to: element.config.path,
|
|
87
|
+
"data-testid": element.config.testId,
|
|
88
|
+
onClick: onClick ? function () {
|
|
89
|
+
return onClick(props);
|
|
90
|
+
} : null
|
|
91
|
+
}, content);
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
var menuItem = /*#__PURE__*/React.createElement(List, {
|
|
95
|
+
className: classNames(menuTitle, _defineProperty({}, menuTitleActive, element.isExpanded))
|
|
96
|
+
}, /*#__PURE__*/React.createElement(ListItem, {
|
|
97
|
+
"data-testid": element.config.testId,
|
|
98
|
+
onClick: function onClick() {
|
|
99
|
+
if (typeof element.config.onClick === "function") {
|
|
100
|
+
element.config.onClick(function () {
|
|
101
|
+
return element.toggleElement();
|
|
102
|
+
});
|
|
103
|
+
} else {
|
|
104
|
+
element.toggleElement();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}, element.config.icon && /*#__PURE__*/React.createElement(ListItemGraphic, null, /*#__PURE__*/React.createElement(IconButton, {
|
|
108
|
+
icon: element.config.icon
|
|
109
|
+
})), element.config.label, hasChildren ? /*#__PURE__*/React.createElement(ListItemMeta, null, /*#__PURE__*/React.createElement(IconButton, {
|
|
110
|
+
icon: element.isExpanded ? /*#__PURE__*/React.createElement(UpIcon, null) : /*#__PURE__*/React.createElement(DownIcon, null)
|
|
111
|
+
})) : null));
|
|
112
|
+
return /*#__PURE__*/React.createElement(Fragment, null, element.config.path ? withLink(menuItem) : menuItem, hasChildren ? /*#__PURE__*/React.createElement(Transition, {
|
|
113
|
+
in: element.isExpanded,
|
|
114
|
+
timeout: 100,
|
|
115
|
+
appear: true,
|
|
116
|
+
unmountOnExit: true
|
|
117
|
+
}, function (state) {
|
|
118
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
119
|
+
style: _objectSpread(_objectSpread({}, defaultStyle), transitionStyles[state])
|
|
120
|
+
}, next());
|
|
121
|
+
}) : null);
|
|
122
|
+
}
|
|
123
|
+
}]);
|
|
124
|
+
|
|
125
|
+
return MenuGroupRenderer;
|
|
126
|
+
}(UIRenderer);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIRenderer, UIRenderParams } from "../../../ui/UIRenderer";
|
|
3
|
+
import { NavigationMenuElement } from "../../../ui/elements/NavigationMenuElement";
|
|
4
|
+
export declare class MenuLinkRenderer extends UIRenderer<NavigationMenuElement> {
|
|
5
|
+
canRender(element: NavigationMenuElement): boolean;
|
|
6
|
+
render({ element, props }: UIRenderParams<NavigationMenuElement>): React.ReactNode;
|
|
7
|
+
}
|