Skip to content

Commit 2973c2e

Browse files
committed
revert changes in ObjectPage story
1 parent 154bfcb commit 2973c2e

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

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

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import fullscreenIcon from '@ui5/webcomponents-icons/dist/full-screen.js';
1111
import sunIcon from '@ui5/webcomponents-icons/dist/general-leave-request.js';
1212
import { useRef } from 'react';
1313
import { 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';
1515
import {
1616
Bar,
1717
Breadcrumbs,
@@ -41,16 +41,6 @@ import {
4141
ToolbarButton,
4242
} from '../../index.js';
4343
import { 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

5545
const 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

Comments
 (0)