Skip to content

Commit ec950b1

Browse files
committed
make default render of uui-card include the select border
1 parent a7da68a commit ec950b1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class UUICardElement extends SelectOnlyMixin(
8484
}
8585

8686
protected render() {
87-
return html`<slot></slot>
87+
return html`<slot id="open-part"></slot>
8888
<div id="select-border"></div>`;
8989
}
9090

packages/uui-card/lib/uui-card.story.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const meta: Meta = {
99
component: 'uui-card',
1010
title: 'Displays/Cards/Card',
1111
args: {
12-
slot: 'This is an example of a simple card',
12+
slot: '<div style="margin: var(--uui-size-space-4)">This is an example of a simple card <a href="#link">with a link</a>.</div>',
1313
},
1414
render: args =>
1515
html`<uui-card ${spread(args)}>${renderSlots(args)}</uui-card>`,

packages/uui/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
"path": "../uui-button"
3939
},
4040
{
41-
"path": "../uui-button-group"
41+
"path": "../uui-button-copy-text"
4242
},
4343
{
44-
"path": "../uui-button-inline-create"
44+
"path": "../uui-button-group"
4545
},
4646
{
47-
"path": "../uui-button-copy-text"
47+
"path": "../uui-button-inline-create"
4848
},
4949
{
5050
"path": "../uui-card"

0 commit comments

Comments
 (0)