From 775795f442d07816ad8ac3c5e8f1774a2c728cab Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Wed, 24 Jul 2024 10:06:39 +0200 Subject: [PATCH] feat(NcAppNavigationSettingsButton): add settings button for App Navigation Signed-off-by: Grigorii K. Shartsev --- .../NcAppNavigation/NcAppNavigation.vue | 43 +++++---------- .../NcAppNavigationSettingsButton.vue | 55 +++++++++++++++++++ .../NcAppNavigationSettingsButton/index.js | 6 ++ src/components/index.js | 1 + 4 files changed, 77 insertions(+), 28 deletions(-) create mode 100644 src/components/NcAppNavigationSettingsButton/NcAppNavigationSettingsButton.vue create mode 100644 src/components/NcAppNavigationSettingsButton/index.js diff --git a/src/components/NcAppNavigation/NcAppNavigation.vue b/src/components/NcAppNavigation/NcAppNavigation.vue index af274f32fe..6ff9fb11e5 100644 --- a/src/components/NcAppNavigation/NcAppNavigation.vue +++ b/src/components/NcAppNavigation/NcAppNavigation.vue @@ -12,13 +12,13 @@ + + diff --git a/src/components/NcAppNavigationSettingsButton/index.js b/src/components/NcAppNavigationSettingsButton/index.js new file mode 100644 index 0000000000..22682cf757 --- /dev/null +++ b/src/components/NcAppNavigationSettingsButton/index.js @@ -0,0 +1,6 @@ +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +export { default } from './NcAppNavigationSettingsButton.vue' diff --git a/src/components/index.js b/src/components/index.js index 1c9d8f35b0..eb9ea3cb8e 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -27,6 +27,7 @@ export { default as NcAppNavigationNew } from './NcAppNavigationNew/index.js' export { default as NcAppNavigationNewItem } from './NcAppNavigationNewItem/index.js' export { default as NcAppNavigationSearch } from './NcAppNavigationSearch/index.js' export { default as NcAppNavigationSettings } from './NcAppNavigationSettings/index.js' +export { default as NcAppNavigationSettingsButton } from './NcAppNavigationSettingsButton/index.js' export { default as NcAppNavigationSpacer } from './NcAppNavigationSpacer/index.js' export { default as NcAppSettingsDialog } from './NcAppSettingsDialog/index.js' export { default as NcAppSettingsSection } from './NcAppSettingsSection/index.js'