Skip to content

Commit 5e67990

Browse files
committed
Merge branch 'origin/main' into 'next-release/main'
2 parents fb9f6a0 + 71bed83 commit 5e67990

12 files changed

Lines changed: 94 additions & 90 deletions

File tree

packages/design-system/src/components/OcBreadcrumb/OcBreadcrumb.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
v-if="item.to"
7070
:aria-current="getAriaCurrent(index)"
7171
:to="item.to as RouteLocationRaw"
72-
class="first:text-base text-xl text-role-on-surface"
72+
class="first:text-base text-xl text-role-on-surface h-5 inline-flex items-center"
7373
>
7474
<span class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">{{
7575
item.text
@@ -80,7 +80,7 @@
8080
:aria-current="getAriaCurrent(index)"
8181
appearance="raw-inverse"
8282
color-role="surface"
83-
class="flex first:text-base text-xl"
83+
class="inline-flex items-center first:text-base text-xl h-5"
8484
no-hover
8585
@click="item.onClick"
8686
>

packages/design-system/src/components/OcBreadcrumb/__snapshots__/OcBreadcrumb.spec.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`OcBreadcrumb > displays all items 1`] = `
44
"<nav data-v-5914b352="" id="oc-breadcrumbs-4" class="oc-breadcrumb oc-breadcrumb-default overflow-visible" aria-label="Breadcrumbs">
55
<ol data-v-5914b352="" class="oc-breadcrumb-list hidden items-baseline m-0 p-0 flex-nowrap sm:flex">
66
<li data-v-5914b352="" data-key="0" class="oc-breadcrumb-list-item flex items-center">
7-
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" class="first:text-base text-xl text-role-on-surface"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">First folder</span></router-link-stub>
7+
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" class="first:text-base text-xl text-role-on-surface h-5 inline-flex items-center"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">First folder</span></router-link-stub>
88
<oc-icon-stub data-v-5914b352="" accessiblelabel="" color="var(--oc-role-on-surface)" filltype="line" name="arrow-right-s" size="medium" type="span" class="mx-1 align-sub"></oc-icon-stub>
99
<!--v-if-->
1010
</li>
@@ -17,12 +17,12 @@ exports[`OcBreadcrumb > displays all items 1`] = `
1717
<!--v-if-->
1818
</li>
1919
<li data-v-5914b352="" data-key="2" class="oc-breadcrumb-list-item flex items-center">
20-
<oc-button-stub data-v-5914b352="" appearance="raw-inverse" colorrole="surface" disabled="false" gapsize="medium" justifycontent="center" showspinner="false" size="medium" submit="button" type="button" nohover="true" class="flex first:text-base text-xl"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Subfolder</span></oc-button-stub>
20+
<oc-button-stub data-v-5914b352="" appearance="raw-inverse" colorrole="surface" disabled="false" gapsize="medium" justifycontent="center" showspinner="false" size="medium" submit="button" type="button" nohover="true" class="inline-flex items-center first:text-base text-xl h-5"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Subfolder</span></oc-button-stub>
2121
<oc-icon-stub data-v-5914b352="" accessiblelabel="" color="var(--oc-role-on-surface)" filltype="line" name="arrow-right-s" size="medium" type="span" class="mx-1 align-sub"></oc-icon-stub>
2222
<!--v-if-->
2323
</li>
2424
<li data-v-5914b352="" data-key="3" class="oc-breadcrumb-list-item flex items-center">
25-
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" aria-current="page" class="first:text-base text-xl text-role-on-surface"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Deep</span></router-link-stub>
25+
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" aria-current="page" class="first:text-base text-xl text-role-on-surface h-5 inline-flex items-center"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Deep</span></router-link-stub>
2626
<oc-icon-stub data-v-5914b352="" accessiblelabel="" color="var(--oc-role-on-surface)" filltype="line" name="arrow-right-s" size="medium" type="span" class="mx-1 align-sub"></oc-icon-stub>
2727
<!--v-if-->
2828
</li>
@@ -43,7 +43,7 @@ exports[`OcBreadcrumb > sets correct variation 1`] = `
4343
"<nav data-v-5914b352="" id="oc-breadcrumbs-1" class="oc-breadcrumb oc-breadcrumb-lead overflow-visible" aria-label="Breadcrumbs">
4444
<ol data-v-5914b352="" class="oc-breadcrumb-list hidden items-baseline m-0 p-0 flex-nowrap sm:flex">
4545
<li data-v-5914b352="" data-key="0" class="oc-breadcrumb-list-item flex items-center">
46-
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" class="first:text-base text-xl text-role-on-surface"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">First folder</span></router-link-stub>
46+
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" class="first:text-base text-xl text-role-on-surface h-5 inline-flex items-center"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">First folder</span></router-link-stub>
4747
<oc-icon-stub data-v-5914b352="" accessiblelabel="" color="var(--oc-role-on-surface)" filltype="line" name="arrow-right-s" size="medium" type="span" class="mx-1 align-sub"></oc-icon-stub>
4848
<!--v-if-->
4949
</li>
@@ -56,12 +56,12 @@ exports[`OcBreadcrumb > sets correct variation 1`] = `
5656
<!--v-if-->
5757
</li>
5858
<li data-v-5914b352="" data-key="2" class="oc-breadcrumb-list-item flex items-center">
59-
<oc-button-stub data-v-5914b352="" appearance="raw-inverse" colorrole="surface" disabled="false" gapsize="medium" justifycontent="center" showspinner="false" size="medium" submit="button" type="button" nohover="true" class="flex first:text-base text-xl"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Subfolder</span></oc-button-stub>
59+
<oc-button-stub data-v-5914b352="" appearance="raw-inverse" colorrole="surface" disabled="false" gapsize="medium" justifycontent="center" showspinner="false" size="medium" submit="button" type="button" nohover="true" class="inline-flex items-center first:text-base text-xl h-5"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Subfolder</span></oc-button-stub>
6060
<oc-icon-stub data-v-5914b352="" accessiblelabel="" color="var(--oc-role-on-surface)" filltype="line" name="arrow-right-s" size="medium" type="span" class="mx-1 align-sub"></oc-icon-stub>
6161
<!--v-if-->
6262
</li>
6363
<li data-v-5914b352="" data-key="3" class="oc-breadcrumb-list-item flex items-center">
64-
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" aria-current="page" class="first:text-base text-xl text-role-on-surface"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Deep</span></router-link-stub>
64+
<router-link-stub data-v-5914b352="" tag="a" to="[object Object]" aria-current="page" class="first:text-base text-xl text-role-on-surface h-5 inline-flex items-center"><span data-v-5914b352="" class="hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs">Deep</span></router-link-stub>
6565
<oc-icon-stub data-v-5914b352="" accessiblelabel="" color="var(--oc-role-on-surface)" filltype="line" name="arrow-right-s" size="medium" type="span" class="mx-1 align-sub"></oc-icon-stub>
6666
<!--v-if-->
6767
</li>

packages/web-app-admin-settings/src/components/AppTemplate.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/>
3333
</div>
3434
</div>
35-
<div class="flex items-center mt-1 min-h-12">
35+
<div class="flex items-center min-h-12">
3636
<slot
3737
name="topbarActions"
3838
:limited-screen-space="limitedScreenSpace"

packages/web-app-admin-settings/tests/unit/views/__snapshots__/Spaces.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports[`Spaces view > loading states > should render spaces list after loading
1212
<view-options-stub perpagestorageprefix="admin-settings" hashiddenfiles="false" hasfileextensions="false" haspagination="true" paginationoptions="20,50,100,250" perpagequeryname="items-per-page" perpagedefault="50" viewmodedefault="resource-tiles" viewmodes=""></view-options-stub>
1313
</div>
1414
</div>
15-
<div class="flex items-center mt-1 min-h-12">
15+
<div class="flex items-center min-h-12">
1616
<!--v-if-->
1717
</div>
1818
</div>

packages/web-app-admin-settings/tests/unit/views/__snapshots__/Users.spec.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports[`Users view > list view > renders initially warning if filters are manda
1212
<view-options-stub perpagestorageprefix="admin-settings" hashiddenfiles="false" hasfileextensions="false" haspagination="true" paginationoptions="20,50,100,250" perpagequeryname="items-per-page" perpagedefault="50" viewmodedefault="resource-tiles" viewmodes=""></view-options-stub>
1313
</div>
1414
</div>
15-
<div class="flex items-center mt-1 min-h-12">
15+
<div class="flex items-center min-h-12">
1616
<!--v-if-->
1717
</div>
1818
</div>
@@ -55,7 +55,7 @@ exports[`Users view > list view > renders list initially 1`] = `
5555
<view-options-stub perpagestorageprefix="admin-settings" hashiddenfiles="false" hasfileextensions="false" haspagination="true" paginationoptions="20,50,100,250" perpagequeryname="items-per-page" perpagedefault="50" viewmodedefault="resource-tiles" viewmodes=""></view-options-stub>
5656
</div>
5757
</div>
58-
<div class="flex items-center mt-1 min-h-12">
58+
<div class="flex items-center min-h-12">
5959
<!--v-if-->
6060
</div>
6161
</div>

packages/web-app-files/src/components/SideBar/Shares/FileShares.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<ul
2323
id="files-collaborators-list"
2424
class="oc-list"
25-
:class="{ 'mb-4': showSpaceMembers, 'm-0': !showSpaceMembers }"
25+
:class="{ 'mb-4': showSpaceMembers, 'mb-2': !showSpaceMembers }"
2626
:aria-label="$gettext('Share receivers')"
2727
>
2828
<li v-for="collaborator in displayCollaborators" :key="collaborator.id">

packages/web-app-files/src/views/spaces/GenericSpace.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
:class="{ 'h-[40vh]': isSpaceFrontpage }"
3232
/>
3333
<template v-else>
34-
<space-header v-if="isSpaceFrontpage" :space="space" class="px-4 mt-2" />
34+
<space-header v-if="isSpaceFrontpage" :space="space" class="px-4" />
3535
<no-content-message
3636
v-if="isCurrentFolderEmpty"
3737
id="files-space-empty"

packages/web-app-files/tests/unit/components/SideBar/Shares/__snapshots__/FileShares.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`FileShares > collaborators list > renders sharedWithLabel and sharee li
77
<h4 data-v-5d17c3fa="" class="font-semibold my-0">Shared with</h4>
88
</div>
99
<custom-component-target-stub data-v-5d17c3fa="" extensionpoint="[object Object]"></custom-component-target-stub>
10-
<ul data-v-5d17c3fa="" id="files-collaborators-list" class="oc-list m-0" aria-label="Share receivers">
10+
<ul data-v-5d17c3fa="" id="files-collaborators-list" class="oc-list mb-2" aria-label="Share receivers">
1111
<li data-v-5d17c3fa="">
1212
<collaborator-list-item-stub data-v-5d17c3fa="" share="[object Object]" modifiable="true" removable="true" resourcename="[Function]" islocked="[Function]" isspaceshare="false"></collaborator-list-item-stub>
1313
</li>

packages/web-pkg/src/components/AppBar/AppBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</div>
4545
</div>
4646
<slot v-if="hasSharesNavigation" name="navigation" />
47-
<div class="files-app-bar-actions flex items-center justify-end mt-1 min-h-10 gap-2">
47+
<div class="files-app-bar-actions flex items-center justify-end min-h-10 gap-2">
4848
<div class="flex-1 flex justify-start items-center">
4949
<slot name="actions" :limited-screen-space="limitedScreenSpace" />
5050
<batch-actions

packages/web-pkg/tests/unit/components/AppBar/__snapshots__/AppBar.spec.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports[`AppBar component > renders > by default no breadcrumbs, no bulkactions,
1212
</div>
1313
</div>
1414
<!--v-if-->
15-
<div class="files-app-bar-actions flex items-center justify-end mt-1 min-h-10 gap-2">
15+
<div class="files-app-bar-actions flex items-center justify-end min-h-10 gap-2">
1616
<div class="flex-1 flex justify-start items-center">
1717
<!--v-if-->
1818
</div>
@@ -33,7 +33,7 @@ exports[`AppBar component > renders > if given, with content in the actions slot
3333
</div>
3434
</div>
3535
<!--v-if-->
36-
<div class="files-app-bar-actions flex items-center justify-end mt-1 min-h-10 gap-2">
36+
<div class="files-app-bar-actions flex items-center justify-end min-h-10 gap-2">
3737
<div class="flex-1 flex justify-start items-center"><button class="action-slot">Click</button>
3838
<!--v-if-->
3939
</div>
@@ -54,7 +54,7 @@ exports[`AppBar component > renders > if given, with content in the content slot
5454
</div>
5555
</div>
5656
<!--v-if-->
57-
<div class="files-app-bar-actions flex items-center justify-end mt-1 min-h-10 gap-2">
57+
<div class="files-app-bar-actions flex items-center justify-end min-h-10 gap-2">
5858
<div class="flex-1 flex justify-start items-center">
5959
<!--v-if-->
6060
</div>

0 commit comments

Comments
 (0)