Skip to content

Commit a89c60e

Browse files
authored
Merge pull request #7139 from nextcloud-libraries/backport/7137/stable8
[stable8] chore(NcAppContent): rename NcAppDetailsContent to remove from docs
2 parents 7fb1b4c + d5f34c3 commit a89c60e

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

src/components/NcAppContent/NcAppContent.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default {
105105
'app-content-wrapper--show-details': showDetails,
106106
'app-content-wrapper--show-list': !showDetails,
107107
'app-content-wrapper--mobile': isMobile,}">
108-
<NcAppDetailsToggle v-if="showDetails" @click.native.stop.prevent="hideDetails" />
108+
<NcAppContentDetailsToggle v-if="showDetails" @click.native.stop.prevent="hideDetails" />
109109

110110
<div v-show="!showDetails">
111111
<slot name="list" />
@@ -152,7 +152,7 @@ import { Splitpanes, Pane } from 'splitpanes'
152152
import { useIsMobile } from '../../composables/useIsMobile/index.js'
153153
import { isRtl } from '../../utils/rtl.ts'
154154
155-
import NcAppDetailsToggle from './NcAppDetailsToggle.vue'
155+
import NcAppContentDetailsToggle from './NcAppContentDetailsToggle.vue'
156156
157157
import 'splitpanes/dist/splitpanes.css'
158158
@@ -173,7 +173,7 @@ export default {
173173
name: 'NcAppContent',
174174
175175
components: {
176-
NcAppDetailsToggle,
176+
NcAppContentDetailsToggle,
177177
Pane,
178178
Splitpanes,
179179
},

src/components/NcAppContent/NcAppDetailsToggle.vue renamed to src/components/NcAppContent/NcAppContentDetailsToggle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import ArrowLeft from 'vue-material-design-icons/ArrowLeft.vue'
2727
import NcButton from '../NcButton/index.js'
2828
2929
export default {
30-
name: 'NcAppDetailsToggle',
30+
name: 'NcAppContentDetailsToggle',
3131
3232
components: {
3333
ArrowRight,

styleguide.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ module.exports = async () => {
217217
{
218218
name: 'App containers',
219219
components: [
220-
'src/components/NcContent/*.vue',
220+
'src/components/NcAppContent/NcAppContent.vue',
221+
'src/components/NcContent/NcContent.vue',
221222
],
222223
sections: [
223224
{
@@ -230,12 +231,6 @@ module.exports = async () => {
230231
'src/components/NcAppNavigationItem/NcInputConfirmCancel.vue',
231232
],
232233
},
233-
{
234-
name: 'NcAppContent',
235-
components: [
236-
'src/components/NcAppContent*/*.vue',
237-
],
238-
},
239234
{
240235
name: 'NcAppSidebar',
241236
components: [

0 commit comments

Comments
 (0)