@@ -2,6 +2,7 @@ import { html } from 'lit-html';
2
2
import '@umbraco-ui/uui-action-bar/lib/index' ;
3
3
import '@umbraco-ui/uui-button/lib/index' ;
4
4
import '@umbraco-ui/uui-icon/lib/index' ;
5
+ import '@umbraco-ui/uui-icon-registry-essential/lib/index' ;
5
6
import {
6
7
InterfaceLookNames ,
7
8
InterfaceLookType ,
@@ -20,29 +21,42 @@ export default {
20
21
} ,
21
22
} ;
22
23
23
- const buttons = [ 'bug ' , 'info ' , 'delete' ] ;
24
+ const buttons = [ 'copy ' , 'remove ' , 'delete' ] ;
24
25
25
26
export const Basic = ( ) =>
26
- html `< uui-action-bar
27
- > ${ buttons . map (
28
- el => html `< uui-button > < uui-icon name ="${ el } "> </ uui-icon > </ uui-button > `
29
- ) } </ uui-action-bar
30
- > ` ;
27
+ html `
28
+ < uui-icon-registry-essential >
29
+ < uui-action-bar
30
+ > ${ buttons . map (
31
+ el =>
32
+ html `< uui-button > < uui-icon name ="${ el } "> </ uui-icon > </ uui-button > `
33
+ ) }
34
+ </ uui-action-bar >
35
+ </ uui-icon-registry-essential >
36
+ ` ;
31
37
32
38
export const Single = ( ) =>
33
- html `< uui-action-bar
34
- > < uui-button look ="outline "> < uui-icon name ="delete "> </ uui-icon > </ uui-button >
35
- </ uui-action-bar > ` ;
39
+ html `
40
+ < uui-icon-registry-essential >
41
+ < uui-action-bar >
42
+ < uui-button look ="outline "
43
+ > < uui-icon name ="delete "> </ uui-icon
44
+ > </ uui-button >
45
+ </ uui-action-bar >
46
+ </ uui-icon-registry-essential >
47
+ ` ;
36
48
37
49
export const AllStyles = ( ) => html `
38
- ${ InterfaceLookNames . map (
39
- ( lookName : InterfaceLookType ) =>
40
- html ` < uui-action-bar >
41
- ${ buttons . map (
42
- button => html `< uui-button .look =${ lookName } >
43
- < uui-icon name ="${ button } "> </ uui-icon >
44
- </ uui-button > `
45
- ) } </ uui-action-bar
46
- > < br /> < br /> < br /> `
47
- ) }
50
+ < uui-icon-registry-essential >
51
+ ${ InterfaceLookNames . map (
52
+ ( lookName : InterfaceLookType ) =>
53
+ html ` < uui-action-bar >
54
+ ${ buttons . map (
55
+ button => html `< uui-button .look =${ lookName } >
56
+ < uui-icon name ="${ button } "> </ uui-icon >
57
+ </ uui-button > `
58
+ ) } </ uui-action-bar
59
+ > < br /> < br /> < br /> `
60
+ ) }
61
+ </ uui-icon-registry-essential >
48
62
` ;
0 commit comments