@@ -11,7 +11,7 @@ import fullscreenIcon from '@ui5/webcomponents-icons/dist/full-screen.js';
1111import sunIcon from '@ui5/webcomponents-icons/dist/general-leave-request.js' ;
1212import { useRef } from 'react' ;
1313import { Toolbar as LegacyToolbar , ToolbarSpacer as LegacyToolbarSpacer } from '../../../../compat/src/index.js' ;
14- import type { ButtonPropTypes , ObjectPageDomRef } from '../../index.js' ;
14+ import type { ObjectPageDomRef } from '../../index.js' ;
1515import {
1616 Bar ,
1717 Breadcrumbs ,
@@ -41,16 +41,6 @@ import {
4141 ToolbarButton ,
4242} from '../../index.js' ;
4343import { ObjectPage } from './index.js' ;
44- import { fn } from '@storybook/test' ;
45-
46- const accessibilityAttributes = {
47- objectPageAnchorBar : {
48- expandButton : {
49- expanded : undefined ,
50- accessibleName : '' ,
51- } ,
52- } ,
53- } ;
5444
5545const meta = {
5646 title : 'Layouts & Floorplans / ObjectPage' ,
@@ -64,14 +54,11 @@ const meta = {
6454 accessibilityAttributes : { table : { category : 'Accessibility props' } } ,
6555 } ,
6656 args : {
67- onToggleHeaderArea : fn ( ) ,
68- headerPinned : true ,
6957 mode : ObjectPageMode . Default ,
7058 selectedSectionId : 'goals' ,
7159 imageShapeCircle : true ,
7260 image : SampleImage ,
7361 style : { height : '700px' , maxHeight : '90vh' } ,
74- accessibilityAttributes,
7562 footerArea : (
7663 < Bar
7764 design = { BarDesign . FloatingFooter }
0 commit comments