From 5d365c610315cb3a3c7b71685b723ea11e901bfa Mon Sep 17 00:00:00 2001 From: Lukas Harbarth Date: Thu, 12 Dec 2024 17:16:36 +0100 Subject: [PATCH] docs(Toolbar): outline how to open popovers (#6741) Fixes #6739 --- .../src/components/ObjectPage/ObjectPage.mdx | 6 ++- .../webComponents/DynamicPage/DynamicPage.mdx | 4 ++ .../src/webComponents/Toolbar/Toolbar.mdx | 41 +++++++++++++++++++ .../webComponents/Toolbar/Toolbar.stories.tsx | 36 ++++++++++++++++ 4 files changed, 85 insertions(+), 2 deletions(-) diff --git a/packages/main/src/components/ObjectPage/ObjectPage.mdx b/packages/main/src/components/ObjectPage/ObjectPage.mdx index 124610cc9a1..343551cb827 100644 --- a/packages/main/src/components/ObjectPage/ObjectPage.mdx +++ b/packages/main/src/components/ObjectPage/ObjectPage.mdx @@ -64,8 +64,6 @@ This component exposes public methods. You can use them directly on the instance -# More Examples - ## ObjectPage with IllustratedMessage (`UnableToLoad`) placeholder @@ -90,6 +88,10 @@ To render a single section in fullscreen mode, set its height to `100%`. ``` +## Opening popover components by pressing an action + +Please see the [Docs](?path=/docs/layouts-floorplans-toolbar--docs#open-popovers-with-toolbarbutton) of the `Toolbar` component. + ## Legacy Toolbar Support The ObjectPage still supports the old (React-only) `Toolbar` implementation. Please only use this toolbar if your app is dependent on some features the `Toolbar` web component is currently not offering. diff --git a/packages/main/src/webComponents/DynamicPage/DynamicPage.mdx b/packages/main/src/webComponents/DynamicPage/DynamicPage.mdx index f4e9d093384..7b7b8bfe87d 100644 --- a/packages/main/src/webComponents/DynamicPage/DynamicPage.mdx +++ b/packages/main/src/webComponents/DynamicPage/DynamicPage.mdx @@ -112,4 +112,8 @@ function DynamicPageWithStickyContent(props) { } ``` +## Opening popover components by pressing an action + +Please see the [Docs](?path=/docs/layouts-floorplans-toolbar--docs#open-popovers-with-toolbarbutton) of the `Toolbar` component. +