File tree Expand file tree Collapse file tree 6 files changed +11
-2
lines changed Expand file tree Collapse file tree 6 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export const Template = ({
1717 rootClass = "spectrum-ActionButton" ,
1818 size = "m" ,
1919 iconName,
20+ iconSet,
2021 label,
2122 isQuiet = false ,
2223 isSelected = false ,
@@ -78,6 +79,7 @@ export const Template = ({
7879 ...globals ,
7980 size,
8081 iconName,
82+ setName : iconSet ,
8183 customClasses : [ `${ rootClass } -icon` , ...customIconClasses ] ,
8284 } )
8385 ) }
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export const Template = ({
104104 ... isValid ? [ 'is-valid' ] : [ ] ,
105105 ] ,
106106 size,
107- iconType : "workflow " ,
107+ iconType : "ui " ,
108108 iconName : "ChevronDown" ,
109109 isQuiet,
110110 isOpen,
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export const Template = ({
3030 ${ ActionButton ( {
3131 size,
3232 isQuiet : true ,
33+ iconSet : "ui" ,
3334 iconName : "ChevronLeft" ,
3435 customClasses : [ `${ rootClass } -prevButton` ] ,
3536 } ) }
@@ -42,6 +43,7 @@ export const Template = ({
4243 ${ ActionButton ( {
4344 size,
4445 isQuiet : true ,
46+ iconSet : "ui" ,
4547 iconName : "ChevronRight" ,
4648 customClasses : [ `${ rootClass } -nextButton` ] ,
4749 } ) }
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export const Picker = ({
8181 ${ Icon ( {
8282 ...globals ,
8383 size,
84+ setName : "ui" ,
8485 iconName : "ChevronDown" ,
8586 customClasses : [ `${ rootClass } -menuIcon` ] ,
8687 } ) }
Original file line number Diff line number Diff line change 11import { html } from "lit" ;
22import { classMap } from "lit/directives/class-map.js" ;
3- import { styleMap } from "lit/directives/style-map.js" ;
43import { ifDefined } from "lit/directives/if-defined.js" ;
4+ import { styleMap } from "lit/directives/style-map.js" ;
55
66import { useArgs } from "@storybook/client-api" ;
77
@@ -72,6 +72,7 @@ export const Template = ({
7272 : "" }
7373 ${ Icon ( {
7474 ...globals ,
75+ setName : iconType ,
7576 iconName : iconName ?? "ChevronDown" ,
7677 size,
7778 customClasses : [ `${ rootClass } -icon` ] ,
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export const TreeViewItem = ({
2020 isOpen,
2121 isDropTarget,
2222 icon,
23+ iconSet,
2324 thumbnail,
2425 items,
2526 customClasses = [ ] ,
@@ -80,6 +81,7 @@ export const TreeViewItem = ({
8081 ? Icon ( {
8182 ...globals ,
8283 size,
84+ setName : "ui" ,
8385 iconName : "ChevronRight" ,
8486 customClasses : [ `${ rootClass } -itemIndicator` ] ,
8587 } )
@@ -89,6 +91,7 @@ export const TreeViewItem = ({
8991 ...globals ,
9092 size,
9193 iconName : icon ,
94+ setName : iconSet ,
9295 customClasses : [ `${ rootClass } -itemIcon` ] ,
9396 } )
9497 : "" }
You can’t perform that action at this time.
0 commit comments