Skip to content

Commit e50c95a

Browse files
authored
Merge branch 'main' into docs/popups-open-story-args
2 parents e174516 + 3ca0458 commit e50c95a

File tree

8 files changed

+24
-18
lines changed

8 files changed

+24
-18
lines changed

examples/vite-ts/cypress/support/component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { ThemeProvider } from '@ui5/webcomponents-react';
1717

1818
// Alternatively you can use CommonJS syntax:
1919
// require('./commands')
20-
import { mount } from 'cypress/react18';
20+
import { mount } from 'cypress/react';
2121
// Import commands.js using ES2015 syntax:
2222
import './commands';
2323

examples/vite-ts/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/vite-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@types/react-dom": "19.0.3",
2828
"@ui5/webcomponents-cypress-commands": "2.7.0",
2929
"@vitejs/plugin-react": "^4.3.2",
30-
"cypress": "^13.0.0",
30+
"cypress": "^14.0.0",
3131
"eslint": "^9.12.0",
3232
"eslint-plugin-react-hooks": "5.1.0",
3333
"eslint-plugin-react-refresh": "^0.4.12",

packages/main/src/components/ObjectPage/ObjectPage.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@
5252
}
5353
}
5454

55+
/*:has cannot be nested*/
56+
.header:has([data-component-name='ATwithImageSnappedContentContainer']) [data-component-name='ObjectPageTitle'] {
57+
padding-block-end: 0;
58+
}
59+
5560
.headerCollapsed {
5661
--_ui5wcr_ObjectPage_header_display: none;
5762
--_ui5wcr_ObjectPage_title_fontsize: var(--sapObjectHeader_Title_SnappedFontSize);
@@ -177,6 +182,7 @@
177182

178183
.snappedContent {
179184
grid-column: 1 / span 2;
185+
padding-block-end: 0.5rem;
180186
}
181187

182188
.clickArea {

packages/main/src/components/ObjectPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ const ObjectPage = forwardRef<ObjectPageDomRef, ObjectPagePropTypes>((props, ref
794794
top:
795795
scrolledHeaderExpanded || headerPinned
796796
? `${topHeaderHeight + (headerCollapsed === true ? 0 : headerContentHeight)}px`
797-
: `${topHeaderHeight + 5}px`
797+
: `${topHeaderHeight}px`
798798
}}
799799
>
800800
<ObjectPageAnchorBar

templates/vite-ts/cypress/support/component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { ThemeProvider } from '@ui5/webcomponents-react';
1717

1818
// Alternatively you can use CommonJS syntax:
1919
// require('./commands')
20-
import { mount } from 'cypress/react18';
20+
import { mount } from 'cypress/react';
2121
// Import commands.js using ES2015 syntax:
2222
import './commands';
2323

templates/vite-ts/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/vite-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@types/react-dom": "19.0.3",
2525
"@vitejs/plugin-react": "^4.3.2",
2626
"@ui5/webcomponents-cypress-commands": "2.7.0",
27-
"cypress": "^13.0.0",
27+
"cypress": "^14.0.0",
2828
"eslint": "^9.12.0",
2929
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
3030
"eslint-plugin-react-refresh": "^0.4.12",

0 commit comments

Comments
 (0)