From fd47d5a1bb2f47423f12eddb1969d0f1ef20b12c Mon Sep 17 00:00:00 2001 From: ugur-vaadin Date: Tue, 1 Oct 2024 15:28:33 +0300 Subject: [PATCH] docs: rename header to header content --- packages/dashboard/src/vaadin-dashboard-widget.d.ts | 12 ++++++------ packages/dashboard/src/vaadin-dashboard-widget.js | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/dashboard/src/vaadin-dashboard-widget.d.ts b/packages/dashboard/src/vaadin-dashboard-widget.d.ts index 7bbea33645..7b5904dc04 100644 --- a/packages/dashboard/src/vaadin-dashboard-widget.d.ts +++ b/packages/dashboard/src/vaadin-dashboard-widget.d.ts @@ -17,7 +17,7 @@ import { DashboardItemMixin } from './vaadin-dashboard-item-mixin.js'; * * ```html * - * Header + * Header *
Content
*
* ``` @@ -26,16 +26,16 @@ import { DashboardItemMixin } from './vaadin-dashboard-item-mixin.js'; * * You can configure the item by using `slot` names. * - * Slot name | Description - * ----------|------------- - * `title` | A slot for the widget title. Overrides the `widgetTitle` property. - * `header` | A slot for the widget header. + * Slot name | Description + * -----------------|------------- + * `title` | A slot for the widget title. Overrides the `widgetTitle` property. + * `header-content` | A slot for the widget header content. * * #### Example * * ```html * - * Header + * Header * Title *
Content
*
diff --git a/packages/dashboard/src/vaadin-dashboard-widget.js b/packages/dashboard/src/vaadin-dashboard-widget.js index cabb62d196..d114609c49 100644 --- a/packages/dashboard/src/vaadin-dashboard-widget.js +++ b/packages/dashboard/src/vaadin-dashboard-widget.js @@ -24,7 +24,7 @@ import { getDefaultI18n } from './vaadin-dashboard-item-mixin.js'; * * ```html * - * Header + * Header *
Content
*
* ``` @@ -33,16 +33,16 @@ import { getDefaultI18n } from './vaadin-dashboard-item-mixin.js'; * * You can configure the item by using `slot` names. * - * Slot name | Description - * ----------|------------- - * `title` | A slot for the widget title. Overrides the `widgetTitle` property. - * `header` | A slot for the widget header. + * Slot name | Description + * -----------------|------------- + * `title` | A slot for the widget title. Overrides the `widgetTitle` property. + * `header-content` | A slot for the widget header content. * * #### Example * * ```html * - * Header + * Header * Title *
Content
*