Skip to content

Commit 9533f19

Browse files
committed
add missing slot docs to cards
1 parent 5ba9d32 commit 9533f19

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/uui-card-content-node/lib/uui-card-content-node.element.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ import { property, state } from 'lit/decorators.js';
88
* @fires {UUICardEvent} open - fires when the card title is clicked
99
* @fires {UUICardEvent} selected - fires when the card is selected
1010
* @description - Card component for displaying a content-node.
11+
* @slot - slot for the default content area
1112
* @slot icon - slot for the icon with support for `<uui-icon>` elements
13+
* @slot tag - slot for the tag with support for `<uui-tag>` elements
14+
* @slot actions - slot for the actions with support for the `<uui-action-bar>` element
1215
*/
13-
1416
@defineElement('uui-card-content-node')
1517
export class UUICardContentNodeElement extends UUICardElement {
1618
static styles = [

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import { property } from 'lit/decorators.js';
88
* @fires {UUICardEvent} open - fires when the user card title is clicked
99
* @fires {UUICardEvent} selected - fires when the card is selected
1010
* @description - Card component for displaying a user node.
11+
* @slot - slot for the default content area
12+
* @slot tag - slot for the tag with support for `<uui-tag>` elements
13+
* @slot actions - slot for the actions with support for the `<uui-action-bar>` element
1114
*/
1215

1316
@defineElement('uui-card-user')

0 commit comments

Comments
 (0)