33import {
44 AssetChooserObjectType ,
55 FileExtension ,
6- IconEnum ,
76 NotificationStyleType ,
87 appendUnit ,
98 createFooter ,
@@ -31,22 +30,22 @@ export const settings = defineSettings({
3130 choices : [
3231 {
3332 value : Type . Info ,
34- icon : IconEnum . Info ,
33+ icon : ' Info' ,
3534 label : 'Information' ,
3635 } ,
3736 {
3837 value : Type . Note ,
39- icon : IconEnum . DocumentText ,
38+ icon : ' DocumentText' ,
4039 label : 'Note' ,
4140 } ,
4241 {
4342 value : Type . Tip ,
44- icon : IconEnum . CheckMark ,
43+ icon : ' CheckMark' ,
4544 label : 'Tip' ,
4645 } ,
4746 {
4847 value : Type . Warning ,
49- icon : IconEnum . ExclamationMarkTriangle ,
48+ icon : ' ExclamationMarkTriangle' ,
5049 label : 'Warning' ,
5150 } ,
5251 ] ,
@@ -98,15 +97,15 @@ export const settings = defineSettings({
9897 value : Icon . None ,
9998 } ,
10099 {
101- icon : IconEnum . Info ,
100+ icon : ' Info' ,
102101 value : Icon . Info ,
103102 } ,
104103 {
105- icon : IconEnum . Lightbulb ,
104+ icon : ' Lightbulb' ,
106105 value : Icon . Lightbulb ,
107106 } ,
108107 {
109- icon : IconEnum . Megaphone ,
108+ icon : ' Megaphone' ,
110109 value : Icon . Megaphone ,
111110 } ,
112111 ] ,
@@ -148,17 +147,17 @@ export const settings = defineSettings({
148147 choices : [
149148 {
150149 value : Alignment . Left ,
151- icon : IconEnum . ArrowAlignLeft ,
150+ icon : ' ArrowAlignLeft' ,
152151 label : 'Left' ,
153152 } ,
154153 {
155154 value : Alignment . Center ,
156- icon : IconEnum . ArrowAlignVerticalCentre ,
155+ icon : ' ArrowAlignVerticalCentre' ,
157156 label : 'Center' ,
158157 } ,
159158 {
160159 value : Alignment . Right ,
161- icon : IconEnum . ArrowAlignRight ,
160+ icon : ' ArrowAlignRight' ,
162161 label : 'Right' ,
163162 } ,
164163 ] ,
@@ -185,28 +184,28 @@ export const settings = defineSettings({
185184 {
186185 id : PADDING_TOP_ID ,
187186 type : 'input' ,
188- icon : IconEnum . ArrowAlignUp16 ,
187+ icon : ' ArrowAlignUp16' ,
189188 onChange : ( bundle ) => appendUnit ( bundle , PADDING_TOP_ID ) ,
190189 rules : [ numericalOrPixelRule ] ,
191190 } ,
192191 {
193192 id : PADDING_LEFT_ID ,
194193 type : 'input' ,
195- icon : IconEnum . ArrowAlignLeft16 ,
194+ icon : ' ArrowAlignLeft16' ,
196195 onChange : ( bundle ) => appendUnit ( bundle , PADDING_LEFT_ID ) ,
197196 rules : [ numericalOrPixelRule ] ,
198197 } ,
199198 {
200199 id : PADDING_RIGHT_ID ,
201200 type : 'input' ,
202- icon : IconEnum . ArrowAlignRight16 ,
201+ icon : ' ArrowAlignRight16' ,
203202 onChange : ( bundle ) => appendUnit ( bundle , PADDING_RIGHT_ID ) ,
204203 rules : [ numericalOrPixelRule ] ,
205204 } ,
206205 {
207206 id : PADDING_BOTTOM_ID ,
208207 type : 'input' ,
209- icon : IconEnum . ArrowAlignDown16 ,
208+ icon : ' ArrowAlignDown16' ,
210209 onChange : ( bundle ) => appendUnit ( bundle , PADDING_BOTTOM_ID ) ,
211210 rules : [ numericalOrPixelRule ] ,
212211 } ,
0 commit comments