Skip to content

Commit 64a9ceb

Browse files
committed
docs(storybook): document the default slot
1 parent 43e5d8b commit 64a9ceb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/uui-scroll-container/lib/uui-scroll-container.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { LitElement, html, css } from 'lit';
21
import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
2+
import { css, html, LitElement } from 'lit';
33

44
/**
55
* @element uui-scroll-container
6-
* @slot - for content
6+
* @slot default - for content
77
* @description - Component for displaying a larger amount of .
88
*/
99
@defineElement('uui-scroll-container')

packages/uui-table/lib/uui-table-cell.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
* Table cell that detects if it has overflow and if so it'll add a title attribute to itself to display full text. Must be a child of uui-table-row
77
* @element uui-table-cell
8-
* @slot for table cell content
8+
* @slot default - slot for table cell content
99
*/
1010
@defineElement('uui-table-cell')
1111
export class UUITableCellElement extends LitElement {

packages/uui-table/lib/uui-table-head.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
* Table head element. Holds the styles for table head. Parent to uui-table-head-cell.
66
* @element uui-table-head
7-
* @slot for uui-table-head-cell elements.
7+
* @slot default - slot for uui-table-head-cell elements.
88
*/
99
@defineElement('uui-table-head')
1010
export class UUITableHeadElement extends LitElement {

packages/uui-table/lib/uui-table.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
* Recreation of native table and it's child elements. `<uui-table>` is a parent element to `<uui-table-head>` `<and uui-table-row>`. To make it fully accessible remember to add aria-label and aria-describedby.
66
* @element uui-table
7-
* @slot for uui-table-head and uui-table-row elements. Make a table out of them.
7+
* @slot default - slot for `<uui-table-head>` and `<uui-table-row>` elements. Make a table out of them.
88
*/
99
@defineElement('uui-table')
1010
export class UUITableElement extends LitElement {

0 commit comments

Comments
 (0)