Skip to content

Commit b1a4346

Browse files
committed
docs(storybook): remove name of default slot to support custom-elements.json schema
1 parent bbede04 commit b1a4346

File tree

29 files changed

+31
-31
lines changed

29 files changed

+31
-31
lines changed

packages/uui-avatar-group/lib/uui-avatar-group.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { property, queryAssignedElements, state } from 'lit/decorators.js';
66
/**
77
* Group a set of avatars, set a limit to minimize the visual space.
88
* @element uui-avatar-group
9-
* @slot default - Insert the uui-avatar elements in the default slot
9+
* @slot - Insert the uui-avatar elements in the default slot
1010
*/
1111
@defineElement('uui-avatar-group')
1212
export class UUIAvatarGroupElement extends LitElement {

packages/uui-avatar/lib/uui-avatar.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { property, state } from 'lit/decorators.js';
55
/**
66
* Avatar for displaying users
77
* @element uui-avatar
8-
* @slot default - For anything other than initials (no more than 2-3 characters)
8+
* @slot - For anything other than initials (no more than 2-3 characters)
99
*/
1010
@defineElement('uui-avatar')
1111
export class UUIAvatarElement extends LitElement {

packages/uui-badge/lib/uui-badge.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { property } from 'lit/decorators.js';
66
/**
77
* A badge to notify that there is something that requires attention of the user. The badge is positioned with `position: absolute`. It will determine its position against the first ancestor with `position: relative`.
88
* @element uui-badge
9-
* @slot default - The slot for badge contents
9+
* @slot - The slot for badge contents
1010
*/
1111
@defineElement('uui-badge')
1212
export class UUIBadgeElement extends LitElement {

packages/uui-base/lib/mixins/LabelMixin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const LabelMixin = <T extends Constructor<LitElement>>(
2222
/**
2323
* Label mixin class containing the label functionality.
2424
*
25-
* @slot default - Override the default label
25+
* @slot - Override the default label
2626
*/
2727
class LabelMixinClass extends superClass {
2828
/**

packages/uui-box/lib/uui-box.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { css, html, LitElement } from 'lit';
66
* @element uui-box
77
* @slot header - header area for title
88
* @slot main - main content area
9-
* @slot default - area with no padding
9+
* @slot - area with no padding
1010
*
1111
*/
1212
@defineElement('uui-box')

packages/uui-breadcrumbs/lib/uui-breadcrumb-item.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { property } from 'lit/decorators.js';
55
/**
66
* A breadcrumb-item to be used with the breadcrumbs component.
77
* @element uui-breadcrumb-item
8-
* @slot default - This slot displays elements inside the breadcrumb
8+
* @slot - This slot displays elements inside the breadcrumb
99
* @csspart separator - change the content of the after element of this part to change the separator
1010
*/
1111
@defineElement('uui-breadcrumb-item')

packages/uui-breadcrumbs/lib/uui-breadcrumbs.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { UUIBreadcrumbItemElement } from './uui-breadcrumb-item.element';
77
/**
88
* A breadcrumbs component to be used in combination with the uui-breadcrumb-item.
99
* @element uui-breadcrumbs
10-
* @slot default - Slot to display nested breadcrumb items. It supports `<uui-breadcrumb-item>` elements or elements containing the `role="listitem"` attribute
10+
* @slot - Slot to display nested breadcrumb items. It supports `<uui-breadcrumb-item>` elements or elements containing the `role="listitem"` attribute
1111
*/
1212
@defineElement('uui-breadcrumbs')
1313
export class UUIBreadcrumbsElement extends LitElement {

packages/uui-button-group/lib/uui-button-group.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { css, html, LitElement } from 'lit';
44
/**
55
* Place <uui-button> elements in the slot. They will be nicely displayed.
66
* @element uui-button-group
7-
* @slot default - The slot for buttons. It supports `<uui-button>` elements out of the box.
7+
* @slot - The slot for buttons. It supports `<uui-button>` elements out of the box.
88
*/
99
@defineElement('uui-button-group')
1010
export class UUIButtonGroupElement extends LitElement {

packages/uui-card-media/lib/uui-card-media.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { property, state } from 'lit/decorators.js';
1010
* @description - Card component for displaying a media item.
1111
* @slot tag - slot for the tag with support for `<uui-tag>` elements
1212
* @slot actions - slot for the actions with support for the `<uui-action-bar>` element
13-
* @slot default - slot for the default content area
13+
* @slot - slot for the default content area
1414
*/
1515

1616
@defineElement('uui-card-media')

packages/uui-dialog-layout/lib/uui-dialog-layout.element.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { LitElement, html, css } from 'lit';
2-
import { property, state } from 'lit/decorators.js';
31
import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
2+
import { css, html, LitElement } from 'lit';
3+
import { property, state } from 'lit/decorators.js';
44

55
/**
66
* @element uui-dialog-layout
7-
* @slot default - Use this for the text content
7+
* @slot - Use this for the text content
88
* @slot headline - Use this for slotted headline
99
* @slot actions - Use this for actions
1010
* @description - Default dialog layout

0 commit comments

Comments
 (0)