1
1
import React from 'react' ;
2
2
import type { ComponentMeta } from '@storybook/react' ;
3
3
import { BlockStack , Text , Box , Icon } from '@shopify/polaris' ;
4
- import { PaintBrushIcon } from '@shopify/polaris-icons' ;
4
+ import { PaintBrushFlatIcon } from '@shopify/polaris-icons' ;
5
5
6
6
export default {
7
7
component : Box ,
@@ -10,7 +10,7 @@ export default {
10
10
export function Default ( ) {
11
11
return (
12
12
< Box >
13
- < Icon source = { PaintBrushIcon } tone = "base" />
13
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
14
14
</ Box >
15
15
) ;
16
16
}
@@ -102,7 +102,7 @@ export function WithOutline() {
102
102
outlineWidth = "025"
103
103
outlineColor = "border"
104
104
>
105
- < Icon source = { PaintBrushIcon } tone = "base" />
105
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
106
106
</ Box >
107
107
< Box
108
108
background = "bg-surface"
@@ -111,23 +111,23 @@ export function WithOutline() {
111
111
outlineStyle = "dashed"
112
112
outlineColor = "border-secondary"
113
113
>
114
- < Icon source = { PaintBrushIcon } tone = "base" />
114
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
115
115
</ Box >
116
116
< Box
117
117
background = "bg-surface"
118
118
padding = "400"
119
119
outlineWidth = "050"
120
120
outlineColor = "border-info"
121
121
>
122
- < Icon source = { PaintBrushIcon } tone = "base" />
122
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
123
123
</ Box >
124
124
< Box
125
125
background = "bg-surface"
126
126
padding = "400"
127
127
outlineWidth = "100"
128
128
outlineColor = "border-caution"
129
129
>
130
- < Icon source = { PaintBrushIcon } tone = "base" />
130
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
131
131
</ Box >
132
132
</ BlockStack >
133
133
) ;
@@ -136,7 +136,7 @@ export function WithOutline() {
136
136
export function WithBorderRadius ( ) {
137
137
return (
138
138
< Box background = "bg-surface" padding = "400" borderRadius = "200" >
139
- < Icon source = { PaintBrushIcon } tone = "info" />
139
+ < Icon source = { PaintBrushFlatIcon } tone = "info" />
140
140
</ Box >
141
141
) ;
142
142
}
@@ -150,55 +150,55 @@ export function WithPadding() {
150
150
borderWidth = "050"
151
151
borderColor = "border-info"
152
152
>
153
- < Icon source = { PaintBrushMajor } tone = "base" />
153
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
154
154
</ Box >
155
155
< Box
156
156
background = "bg-surface"
157
157
paddingBlock = "400"
158
158
borderWidth = "050"
159
159
borderColor = "border-info"
160
160
>
161
- < Icon source = { PaintBrushMajor } tone = "base" />
161
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
162
162
</ Box >
163
163
< Box
164
164
background = "bg-surface"
165
165
paddingBlockStart = "400"
166
166
borderWidth = "050"
167
167
borderColor = "border-info"
168
168
>
169
- < Icon source = { PaintBrushMajor } tone = "base" />
169
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
170
170
</ Box >
171
171
< Box
172
172
background = "bg-surface"
173
173
paddingBlockEnd = "400"
174
174
borderWidth = "050"
175
175
borderColor = "border-info"
176
176
>
177
- < Icon source = { PaintBrushMajor } tone = "base" />
177
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
178
178
</ Box >
179
179
< Box
180
180
background = "bg-surface"
181
181
paddingInline = "400"
182
182
borderWidth = "050"
183
183
borderColor = "border-info"
184
184
>
185
- < Icon source = { PaintBrushMajor } tone = "base" />
185
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
186
186
</ Box >
187
187
< Box
188
188
background = "bg-surface"
189
189
paddingInlineStart = "400"
190
190
borderWidth = "050"
191
191
borderColor = "border-info"
192
192
>
193
- < Icon source = { PaintBrushMajor } tone = "base" />
193
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
194
194
</ Box >
195
195
< Box
196
196
background = "bg-surface"
197
197
paddingInlineEnd = "400"
198
198
borderWidth = "050"
199
199
borderColor = "border-info"
200
200
>
201
- < Icon source = { PaintBrushMajor } tone = "base" />
201
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
202
202
</ Box >
203
203
</ BlockStack >
204
204
) ;
@@ -213,7 +213,7 @@ export function WithResponsivePadding() {
213
213
borderWidth = "025"
214
214
borderColor = "border"
215
215
>
216
- < Icon source = { PaintBrushIcon } tone = "base" />
216
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
217
217
</ Box >
218
218
< Box
219
219
background = "bg-surface"
@@ -222,7 +222,7 @@ export function WithResponsivePadding() {
222
222
borderWidth = "025"
223
223
borderColor = "border"
224
224
>
225
- < Icon source = { PaintBrushIcon } tone = "base" />
225
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
226
226
</ Box >
227
227
< Box
228
228
background = "bg-surface"
@@ -231,7 +231,7 @@ export function WithResponsivePadding() {
231
231
borderWidth = "025"
232
232
borderColor = "border"
233
233
>
234
- < Icon source = { PaintBrushIcon } tone = "base" />
234
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
235
235
</ Box >
236
236
< Box
237
237
background = "bg-surface"
@@ -240,15 +240,15 @@ export function WithResponsivePadding() {
240
240
borderWidth = "025"
241
241
borderColor = "border"
242
242
>
243
- < Icon source = { PaintBrushIcon } tone = "base" />
243
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
244
244
</ Box >
245
245
< Box
246
246
background = "bg-surface"
247
247
paddingInlineEnd = { { xs : '400' , sm : '1000' } }
248
248
borderWidth = "025"
249
249
borderColor = "border"
250
250
>
251
- < Icon source = { PaintBrushIcon } tone = "base" />
251
+ < Icon source = { PaintBrushFlatIcon } tone = "base" />
252
252
</ Box >
253
253
</ BlockStack >
254
254
) ;
0 commit comments