From dcbf782c974f17dc3bcc7e60f015fad5617e56a7 Mon Sep 17 00:00:00 2001 From: Hristian Stefanov Date: Thu, 9 Jan 2025 18:42:21 +0200 Subject: [PATCH 1/2] docs(Toolbar): add new adaptive parameter --- components/toolbar/overview.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/toolbar/overview.md b/components/toolbar/overview.md index 50ad43a96..6f352a7fe 100644 --- a/components/toolbar/overview.md +++ b/components/toolbar/overview.md @@ -82,8 +82,9 @@ The Blazor ToolBar provides parameters to configure the component: | Parameter | Type | Description | | ----------- | ----------- | ----------- | -| `Adaptive ` | `bool`
(`true`) | Toggles the overflow popup of the ToolBar. The component displays an additional anchor on its side, where it places all items which do not fit and overflow. [Template items](slug://toolbar-templated-item#notes) don't participate in this mechanism and they are always rendered in the ToolBar itself. | +| `Adaptive ` | `bool`
(`true`) | Toggles the overflow popup of the ToolBar. The component displays an additional anchor on its side, where it places all items which do not fit and overflow. [Template items](slug://toolbar-templated-item#notes) don't participate in this mechanism and they are always rendered in the ToolBar itself. **This parameter will become obsolete in the next major version in favor of the `OverflowMode` parameter. Both parameters will be available until then.** | | `Class` | `string` | The CSS class to be rendered on the main wrapping element of the ToolBar component, which is `
`. Use for [styling customizations](slug://themes-override). | +| `OverflowMode` | `ToolBarOverflowMode`
(`Menu`) | The adaptive mode of the Toolbar. | ### Styling and Appearance From 8f18f9a404256777d12794784da6292c3df0b74b Mon Sep 17 00:00:00 2001 From: Hristian Stefanov <72554148+xristianstefanov@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:01:14 +0200 Subject: [PATCH 2/2] Update components/toolbar/overview.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> --- components/toolbar/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/toolbar/overview.md b/components/toolbar/overview.md index 6f352a7fe..da9874432 100644 --- a/components/toolbar/overview.md +++ b/components/toolbar/overview.md @@ -82,7 +82,7 @@ The Blazor ToolBar provides parameters to configure the component: | Parameter | Type | Description | | ----------- | ----------- | ----------- | -| `Adaptive ` | `bool`
(`true`) | Toggles the overflow popup of the ToolBar. The component displays an additional anchor on its side, where it places all items which do not fit and overflow. [Template items](slug://toolbar-templated-item#notes) don't participate in this mechanism and they are always rendered in the ToolBar itself. **This parameter will become obsolete in the next major version in favor of the `OverflowMode` parameter. Both parameters will be available until then.** | +| `Adaptive`
(deprecated) | `bool`
(`true`) | Toggles the overflow popup of the ToolBar. The component displays an additional anchor on its side, where it places all items which do not fit and overflow. [Template items](slug://toolbar-templated-item#notes) don't participate in this mechanism and they are always rendered in the ToolBar itself. This parameter is deprecated in favor of `OverflowMode`. | | `Class` | `string` | The CSS class to be rendered on the main wrapping element of the ToolBar component, which is `
`. Use for [styling customizations](slug://themes-override). | | `OverflowMode` | `ToolBarOverflowMode`
(`Menu`) | The adaptive mode of the Toolbar. |