@@ -11,7 +11,7 @@ export default {
11
11
title : 'Buttons/Action Bar' ,
12
12
component : 'uui-action-bar' ,
13
13
args : {
14
- look : 'primary ' ,
14
+ look : 'default ' ,
15
15
color : 'primary' ,
16
16
} ,
17
17
argTypes : {
@@ -49,16 +49,24 @@ export const AAAOverview: Story = props => html`
49
49
50
50
AAAOverview . storyName = 'Overview' ;
51
51
52
- export const Single = ( ) =>
53
- html `
52
+ export const Single = ( ) => {
53
+ const looks = [ 'default' , 'primary' , 'secondary' , 'outline' , 'placeholder' ] ;
54
+
55
+ return html `
54
56
< uui-icon-registry-essential >
55
- < uui-action-bar >
56
- < uui-button label ="Delete " look ="outline "
57
- > < uui-icon name ="delete "> </ uui-icon
58
- > </ uui-button >
59
- </ uui-action-bar >
57
+ ${ looks . map (
58
+ look => html `< div
59
+ style ="display: grid; grid-template-columns: repeat( auto-fill, 120px ); gap: 16px; margin-bottom: 32px ">
60
+ < uui-action-bar style ="justify-self: left; ">
61
+ < uui-button label ="Delete " .look ="${ look as any } ">
62
+ < uui-icon name ="delete "> </ uui-icon >
63
+ </ uui-button >
64
+ </ uui-action-bar >
65
+ </ div > `
66
+ ) }
60
67
</ uui-icon-registry-essential >
61
68
` ;
69
+ } ;
62
70
63
71
export const LooksAndColors = ( ) => {
64
72
const looks = [ 'default' , 'primary' , 'secondary' , 'outline' , 'placeholder' ] ;
@@ -76,8 +84,8 @@ export const LooksAndColors = () => {
76
84
> ${ buttons . map (
77
85
el => html ` < uui-button
78
86
label ="${ el } "
79
- .look ="${ look } "
80
- .color ="${ color } ">
87
+ .look ="${ look as any } "
88
+ .color ="${ color as any } ">
81
89
< uui-icon name ="${ el } "> </ uui-icon >
82
90
</ uui-button > `
83
91
) }
0 commit comments