@marigold/icons 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/action/Cancel.d.ts +1 -0
  3. package/dist/action/Crop.d.ts +1 -0
  4. package/dist/action/Edit.d.ts +1 -0
  5. package/dist/action/FormatBold.d.ts +1 -0
  6. package/dist/action/FormatItalic.d.ts +1 -0
  7. package/dist/action/FormatSize.d.ts +1 -0
  8. package/dist/action/HighlightOff.d.ts +1 -0
  9. package/dist/action/Image.d.ts +1 -0
  10. package/dist/action/Location.d.ts +1 -0
  11. package/dist/action/Lock.d.ts +1 -0
  12. package/dist/action/LockOpen.d.ts +1 -0
  13. package/dist/action/Pause.d.ts +1 -0
  14. package/dist/action/PauseAlt.d.ts +1 -0
  15. package/dist/action/Play.d.ts +1 -0
  16. package/dist/action/PlayAlt.d.ts +1 -0
  17. package/dist/action/ResaleEdit.d.ts +1 -0
  18. package/dist/action/RotateLeft.d.ts +1 -0
  19. package/dist/action/RotateRight.d.ts +1 -0
  20. package/dist/action/Save.d.ts +1 -0
  21. package/dist/action/Sort.d.ts +1 -0
  22. package/dist/action/SortDown.d.ts +1 -0
  23. package/dist/action/SortUp.d.ts +1 -0
  24. package/dist/action/Star.d.ts +1 -0
  25. package/dist/action/Stop.d.ts +1 -0
  26. package/dist/action/Underlined.d.ts +1 -0
  27. package/dist/action/Zoom.d.ts +1 -0
  28. package/dist/icons.cjs.development.js +315 -337
  29. package/dist/icons.cjs.development.js.map +1 -1
  30. package/dist/icons.cjs.production.min.js +1 -1
  31. package/dist/icons.cjs.production.min.js.map +1 -1
  32. package/dist/icons.esm.js +212 -233
  33. package/dist/icons.esm.js.map +1 -1
  34. package/dist/index.d.ts +0 -1
  35. package/dist/info/Accessible.d.ts +1 -0
  36. package/dist/info/AutoRenew.d.ts +1 -0
  37. package/dist/info/Banned.d.ts +1 -0
  38. package/dist/info/Bus.d.ts +1 -0
  39. package/dist/info/Calendar.d.ts +1 -0
  40. package/dist/info/Camera.d.ts +1 -0
  41. package/dist/info/Clock.d.ts +1 -0
  42. package/dist/info/Direction.d.ts +1 -0
  43. package/dist/info/Email.d.ts +1 -0
  44. package/dist/info/EventDate.d.ts +1 -0
  45. package/dist/info/Exclamation.d.ts +1 -0
  46. package/dist/info/Feedback.d.ts +1 -0
  47. package/dist/info/Food.d.ts +1 -0
  48. package/dist/info/Globe.d.ts +1 -0
  49. package/dist/info/Home.d.ts +1 -0
  50. package/dist/info/Info.d.ts +1 -0
  51. package/dist/info/Marker.d.ts +1 -0
  52. package/dist/info/MobilePhone.d.ts +1 -0
  53. package/dist/info/Notification.d.ts +1 -0
  54. package/dist/info/Parking.d.ts +1 -0
  55. package/dist/info/Phone.d.ts +1 -0
  56. package/dist/info/Print.d.ts +1 -0
  57. package/dist/info/Required.d.ts +1 -0
  58. package/dist/info/ResaleLogbook.d.ts +1 -0
  59. package/dist/info/Spinner.d.ts +1 -0
  60. package/dist/info/Thumb.d.ts +1 -0
  61. package/dist/info/Truck.d.ts +1 -0
  62. package/dist/social/Facebook.d.ts +1 -0
  63. package/dist/social/Google.d.ts +1 -0
  64. package/dist/social/Instagram.d.ts +1 -0
  65. package/dist/social/Share.d.ts +1 -0
  66. package/dist/social/Twitter.d.ts +1 -0
  67. package/dist/social/Whatsapp.d.ts +1 -0
  68. package/dist/ticketing/Deal.d.ts +1 -0
  69. package/dist/ticketing/DesignTicket.d.ts +1 -0
  70. package/dist/ticketing/GiftCard.d.ts +1 -0
  71. package/dist/ticketing/Membership.d.ts +1 -0
  72. package/dist/ticketing/Pickup.d.ts +1 -0
  73. package/dist/ticketing/Price.d.ts +1 -0
  74. package/dist/ticketing/Resale.d.ts +1 -0
  75. package/dist/ticketing/Scanner.d.ts +1 -0
  76. package/dist/ticketing/Seat.d.ts +1 -0
  77. package/dist/ticketing/Selling.d.ts +1 -0
  78. package/dist/ticketing/Ticket.d.ts +1 -0
  79. package/dist/ticketing/TicketInsurance.d.ts +1 -0
  80. package/dist/ticketing/Turnstile.d.ts +1 -0
  81. package/dist/ui/Add.d.ts +1 -0
  82. package/dist/ui/ArrowDown.d.ts +1 -0
  83. package/dist/ui/ArrowDownA.d.ts +1 -0
  84. package/dist/ui/ArrowLeft.d.ts +1 -0
  85. package/dist/ui/ArrowLeftA.d.ts +1 -0
  86. package/dist/ui/ArrowRight.d.ts +1 -0
  87. package/dist/ui/ArrowRightA.d.ts +1 -0
  88. package/dist/ui/ArrowUp.d.ts +1 -0
  89. package/dist/ui/ArrowUpA.d.ts +1 -0
  90. package/dist/ui/BurgerMenu.d.ts +1 -0
  91. package/dist/ui/Check.d.ts +1 -0
  92. package/dist/ui/CircleChecked.d.ts +1 -0
  93. package/dist/ui/CircleUnchecked.d.ts +1 -0
  94. package/dist/ui/Close.d.ts +1 -0
  95. package/dist/ui/Delete.d.ts +1 -0
  96. package/dist/ui/ExternalLink.d.ts +1 -0
  97. package/dist/ui/Filter.d.ts +1 -0
  98. package/dist/ui/IconMore.d.ts +1 -0
  99. package/dist/ui/Remove.d.ts +1 -0
  100. package/dist/ui/Search.d.ts +1 -0
  101. package/dist/ui/SettingDots.d.ts +1 -0
  102. package/dist/ui/SquareChecked.d.ts +1 -0
  103. package/dist/ui/SquareUnchecked.d.ts +1 -0
  104. package/dist/user/Cart.d.ts +1 -0
  105. package/dist/user/CreditCard.d.ts +1 -0
  106. package/dist/user/Group.d.ts +1 -0
  107. package/dist/user/Id.d.ts +1 -0
  108. package/dist/user/SmilieDissatisfied.d.ts +1 -0
  109. package/dist/user/SmilieNeutral.d.ts +1 -0
  110. package/dist/user/SmilieSatisfied.d.ts +1 -0
  111. package/dist/user/SmilieVeryDissatisfied.d.ts +1 -0
  112. package/dist/user/SmilieVerySatisfied.d.ts +1 -0
  113. package/dist/user/User.d.ts +1 -0
  114. package/package.json +2 -2
  115. package/src/Icons.stories.mdx +755 -1038
  116. package/src/action/Cancel.tsx +1 -1
  117. package/src/action/Crop.tsx +1 -1
  118. package/src/action/Edit.tsx +1 -1
  119. package/src/action/FormatBold.tsx +1 -1
  120. package/src/action/FormatItalic.tsx +1 -1
  121. package/src/action/FormatSize.tsx +1 -1
  122. package/src/action/HighlightOff.tsx +1 -1
  123. package/src/action/Image.tsx +1 -1
  124. package/src/action/Location.tsx +1 -1
  125. package/src/action/Lock.tsx +1 -1
  126. package/src/action/LockOpen.tsx +1 -1
  127. package/src/action/Pause.tsx +1 -1
  128. package/src/action/PauseAlt.tsx +1 -1
  129. package/src/action/Play.tsx +1 -1
  130. package/src/action/PlayAlt.tsx +1 -1
  131. package/src/action/ResaleEdit.tsx +1 -1
  132. package/src/action/RotateLeft.tsx +1 -1
  133. package/src/action/RotateRight.tsx +1 -1
  134. package/src/action/Save.tsx +1 -1
  135. package/src/action/Sort.tsx +1 -1
  136. package/src/action/SortDown.tsx +1 -1
  137. package/src/action/SortUp.tsx +1 -1
  138. package/src/action/Star.tsx +1 -1
  139. package/src/action/Stop.tsx +1 -1
  140. package/src/action/Underlined.tsx +1 -1
  141. package/src/action/Zoom.tsx +1 -1
  142. package/src/index.ts +0 -1
  143. package/src/info/Accessible.tsx +1 -1
  144. package/src/info/AutoRenew.tsx +1 -1
  145. package/src/info/Banned.tsx +1 -1
  146. package/src/info/Bus.tsx +1 -1
  147. package/src/info/Calendar.tsx +1 -1
  148. package/src/info/Camera.tsx +1 -1
  149. package/src/info/Clock.tsx +1 -1
  150. package/src/info/Direction.tsx +1 -1
  151. package/src/info/Email.tsx +1 -1
  152. package/src/info/EventDate.tsx +1 -1
  153. package/src/info/Exclamation.tsx +1 -1
  154. package/src/info/Feedback.tsx +1 -1
  155. package/src/info/Food.tsx +1 -1
  156. package/src/info/Globe.tsx +1 -1
  157. package/src/info/Home.tsx +1 -1
  158. package/src/info/Info.tsx +1 -1
  159. package/src/info/Marker.tsx +1 -1
  160. package/src/info/MobilePhone.tsx +1 -1
  161. package/src/info/Notification.tsx +1 -1
  162. package/src/info/Parking.tsx +1 -1
  163. package/src/info/Phone.tsx +1 -1
  164. package/src/info/Print.tsx +1 -1
  165. package/src/info/Required.tsx +1 -1
  166. package/src/info/ResaleLogbook.tsx +1 -1
  167. package/src/info/Spinner.tsx +1 -1
  168. package/src/info/Thumb.tsx +1 -1
  169. package/src/info/Truck.tsx +1 -1
  170. package/src/social/Facebook.tsx +1 -1
  171. package/src/social/Google.tsx +1 -1
  172. package/src/social/Instagram.tsx +1 -1
  173. package/src/social/Share.tsx +1 -1
  174. package/src/social/Twitter.tsx +1 -1
  175. package/src/social/Whatsapp.tsx +1 -1
  176. package/src/ticketing/Deal.tsx +1 -1
  177. package/src/ticketing/DesignTicket.tsx +1 -1
  178. package/src/ticketing/GiftCard.tsx +1 -1
  179. package/src/ticketing/Membership.tsx +1 -1
  180. package/src/ticketing/Pickup.tsx +1 -1
  181. package/src/ticketing/Price.tsx +1 -1
  182. package/src/ticketing/Resale.tsx +1 -1
  183. package/src/ticketing/Scanner.tsx +1 -1
  184. package/src/ticketing/Seat.tsx +1 -1
  185. package/src/ticketing/Selling.tsx +1 -1
  186. package/src/ticketing/Ticket.tsx +1 -1
  187. package/src/ticketing/TicketInsurance.tsx +1 -1
  188. package/src/ticketing/Turnstile.tsx +1 -1
  189. package/src/ui/Add.tsx +1 -1
  190. package/src/ui/ArrowDown.tsx +1 -1
  191. package/src/ui/ArrowDownA.tsx +1 -1
  192. package/src/ui/ArrowLeft.tsx +1 -1
  193. package/src/ui/ArrowLeftA.tsx +1 -1
  194. package/src/ui/ArrowRight.tsx +1 -1
  195. package/src/ui/ArrowRightA.tsx +1 -1
  196. package/src/ui/ArrowUp.tsx +1 -1
  197. package/src/ui/ArrowUpA.tsx +1 -1
  198. package/src/ui/BurgerMenu.tsx +1 -1
  199. package/src/ui/Check.tsx +1 -1
  200. package/src/ui/CircleChecked.tsx +1 -1
  201. package/src/ui/CircleUnchecked.tsx +1 -1
  202. package/src/ui/Close.tsx +1 -1
  203. package/src/ui/Delete.tsx +1 -1
  204. package/src/ui/ExternalLink.tsx +1 -1
  205. package/src/ui/Filter.tsx +1 -1
  206. package/src/ui/IconMore.tsx +1 -1
  207. package/src/ui/Remove.tsx +1 -1
  208. package/src/ui/Search.tsx +1 -1
  209. package/src/ui/SettingDots.tsx +1 -1
  210. package/src/ui/SquareChecked.tsx +1 -1
  211. package/src/ui/SquareUnchecked.tsx +1 -1
  212. package/src/user/Cart.tsx +1 -1
  213. package/src/user/CreditCard.tsx +1 -1
  214. package/src/user/Group.tsx +1 -1
  215. package/src/user/Id.tsx +1 -1
  216. package/src/user/SmilieDissatisfied.tsx +1 -1
  217. package/src/user/SmilieNeutral.tsx +1 -1
  218. package/src/user/SmilieSatisfied.tsx +1 -1
  219. package/src/user/SmilieVeryDissatisfied.tsx +1 -1
  220. package/src/user/SmilieVerySatisfied.tsx +1 -1
  221. package/src/user/User.tsx +1 -1
  222. package/dist/SVG/SVG.d.ts +0 -8
  223. package/dist/SVG/index.d.ts +0 -1
  224. package/src/SVG/SVG.stories.mdx +0 -55
  225. package/src/SVG/SVG.test.tsx +0 -69
  226. package/src/SVG/SVG.tsx +0 -30
  227. package/src/SVG/index.ts +0 -1
@@ -107,14 +107,13 @@ import {
107
107
  Whatsapp,
108
108
  } from '@marigold/icons';
109
109
  import {
110
+ Box,
110
111
  Column,
111
112
  Columns,
112
113
  Container,
113
- Heading,
114
114
  Stack,
115
115
  Text,
116
116
  } from '@marigold/components';
117
- import { useStyles } from '@marigold/system';
118
117
 
119
118
  <Meta
120
119
  title="Tokens/Marigold Icons"
@@ -160,1397 +159,1115 @@ export const Template = args => <ArrowUpA {...args} />;
160
159
  <Story name="UI">
161
160
  <Columns space={8}>
162
161
  <Column width={4}>
163
- <Heading>UI</Heading>
164
- <Container
165
- className={useStyles({
166
- css: {
167
- bg: 'white',
168
- p: '8px',
169
- display: 'flex',
170
- justifyContent: 'space-between',
171
- },
172
- })}
162
+ <Text as="h2" variant="headline2">
163
+ UI
164
+ </Text>
165
+ <Box
166
+ as={Container}
167
+ bg="white"
168
+ p="8px"
169
+ display="flex"
170
+ justifyContent="space-between"
173
171
  >
174
172
  <Text>ArrowUpA</Text>
175
173
  <ArrowUpA />
176
- </Container>
177
- <Container
178
- className={useStyles({
179
- css: {
180
- bg: '#e9e7eb',
181
- p: '8px',
182
- display: 'flex',
183
- justifyContent: 'space-between',
184
- },
185
- })}
174
+ </Box>
175
+ <Box
176
+ as={Container}
177
+ bg="#e9e7eb"
178
+ p="8px"
179
+ display="flex"
180
+ justifyContent="space-between"
186
181
  >
187
182
  <Text>ArrowRightA</Text>
188
183
  <ArrowRightA />
189
- </Container>
190
- <Container
191
- className={useStyles({
192
- css: {
193
- bg: 'white',
194
- p: '8px',
195
- display: 'flex',
196
- justifyContent: 'space-between',
197
- },
198
- })}
184
+ </Box>
185
+ <Box
186
+ as={Container}
187
+ bg="white"
188
+ p="8px"
189
+ display="flex"
190
+ justifyContent="space-between"
199
191
  >
200
192
  <Text>ArrowDownA</Text>
201
193
  <ArrowDownA />
202
- </Container>
203
- <Container
204
- className={useStyles({
205
- css: {
206
- bg: '#e9e7eb',
207
- p: '8px',
208
- display: 'flex',
209
- justifyContent: 'space-between',
210
- },
211
- })}
194
+ </Box>
195
+ <Box
196
+ as={Container}
197
+ bg="#e9e7eb"
198
+ p="8px"
199
+ display="flex"
200
+ justifyContent="space-between"
212
201
  >
213
202
  <Text>ArrowLeftA</Text>
214
203
  <ArrowLeftA />
215
- </Container>
216
- <Container
217
- className={useStyles({
218
- css: {
219
- bg: 'white',
220
- p: '8px',
221
- display: 'flex',
222
- justifyContent: 'space-between',
223
- },
224
- })}
204
+ </Box>
205
+ <Box
206
+ as={Container}
207
+ bg="white"
208
+ p="8px"
209
+ display="flex"
210
+ justifyContent="space-between"
225
211
  >
226
212
  <Text>SettingDots</Text>
227
213
  <SettingDots />
228
- </Container>
229
- <Container
230
- className={useStyles({
231
- css: {
232
- bg: '#e9e7eb',
233
- p: '8px',
234
- display: 'flex',
235
- justifyContent: 'space-between',
236
- },
237
- })}
214
+ </Box>
215
+ <Box
216
+ as={Container}
217
+ bg="#e9e7eb"
218
+ p="8px"
219
+ display="flex"
220
+ justifyContent="space-between"
238
221
  >
239
222
  <Text>Check</Text>
240
223
  <Check />
241
- </Container>
242
- <Container
243
- className={useStyles({
244
- css: {
245
- bg: 'white',
246
- p: '8px',
247
- display: 'flex',
248
- justifyContent: 'space-between',
249
- },
250
- })}
224
+ </Box>
225
+ <Box
226
+ as={Container}
227
+ bg="white"
228
+ p="8px"
229
+ display="flex"
230
+ justifyContent="space-between"
251
231
  >
252
232
  <Text>Add</Text>
253
233
  <Add />
254
- </Container>
234
+ </Box>
255
235
  </Column>
256
236
  <Column width={4}>
257
- <Container
258
- className={useStyles({
259
- css: {
260
- bg: '#e9e7eb',
261
- p: '8px',
262
- display: 'flex',
263
- justifyContent: 'space-between',
264
- },
265
- })}
237
+ <Box
238
+ as={Container}
239
+ bg="#e9e7eb"
240
+ p="8px"
241
+ display="flex"
242
+ justifyContent="space-between"
266
243
  >
267
244
  <Text>Remove</Text>
268
245
  <Remove />
269
- </Container>
270
- <Container
271
- className={useStyles({
272
- css: {
273
- bg: 'white',
274
- p: '8px',
275
- display: 'flex',
276
- justifyContent: 'space-between',
277
- },
278
- })}
246
+ </Box>
247
+ <Box
248
+ as={Container}
249
+ bg="white"
250
+ p="8px"
251
+ display="flex"
252
+ justifyContent="space-between"
279
253
  >
280
254
  <Text>ArrowUp</Text>
281
255
  <ArrowUp />
282
- </Container>
283
- <Container
284
- className={useStyles({
285
- css: {
286
- bg: '#e9e7eb',
287
- p: '8px',
288
- display: 'flex',
289
- justifyContent: 'space-between',
290
- },
291
- })}
256
+ </Box>
257
+ <Box
258
+ as={Container}
259
+ bg="#e9e7eb"
260
+ p="8px"
261
+ display="flex"
262
+ justifyContent="space-between"
292
263
  >
293
264
  <Text>ArrowRight</Text>
294
265
  <ArrowRight />
295
- </Container>
296
- <Container
297
- className={useStyles({
298
- css: {
299
- bg: 'white',
300
- p: '8px',
301
- display: 'flex',
302
- justifyContent: 'space-between',
303
- },
304
- })}
266
+ </Box>
267
+ <Box
268
+ as={Container}
269
+ bg="white"
270
+ p="8px"
271
+ display="flex"
272
+ justifyContent="space-between"
305
273
  >
306
274
  <Text>ArrowDown</Text>
307
275
  <ArrowDown />
308
- </Container>
309
- <Container
310
- className={useStyles({
311
- css: {
312
- bg: '#e9e7eb',
313
- p: '8px',
314
- display: 'flex',
315
- justifyContent: 'space-between',
316
- },
317
- })}
276
+ </Box>
277
+ <Box
278
+ as={Container}
279
+ bg="#e9e7eb"
280
+ p="8px"
281
+ display="flex"
282
+ justifyContent="space-between"
318
283
  >
319
284
  <Text>ArrowLeft</Text>
320
285
  <ArrowLeft />
321
- </Container>
322
- <Container
323
- className={useStyles({
324
- css: {
325
- bg: 'white',
326
- p: '8px',
327
- display: 'flex',
328
- justifyContent: 'space-between',
329
- },
330
- })}
286
+ </Box>
287
+ <Box
288
+ as={Container}
289
+ bg="white"
290
+ p="8px"
291
+ display="flex"
292
+ justifyContent="space-between"
331
293
  >
332
294
  <Text>IconMore</Text>
333
295
  <IconMore />
334
- </Container>
335
- <Container
336
- className={useStyles({
337
- css: {
338
- bg: '#e9e7eb',
339
- p: '8px',
340
- display: 'flex',
341
- justifyContent: 'space-between',
342
- },
343
- })}
296
+ </Box>
297
+ <Box
298
+ as={Container}
299
+ bg="#e9e7eb"
300
+ p="8px"
301
+ display="flex"
302
+ justifyContent="space-between"
344
303
  >
345
304
  <Text>Search</Text>
346
305
  <Search />
347
- </Container>
348
- <Container
349
- className={useStyles({
350
- css: {
351
- bg: 'white',
352
- p: '8px',
353
- display: 'flex',
354
- justifyContent: 'space-between',
355
- },
356
- })}
306
+ </Box>
307
+ <Box
308
+ as={Container}
309
+ bg="white"
310
+ p="8px"
311
+ display="flex"
312
+ justifyContent="space-between"
357
313
  >
358
314
  <Text>SquareUnchecked</Text>
359
315
  <SquareUnchecked />
360
- </Container>
316
+ </Box>
361
317
  </Column>
362
318
  <Column width={4}>
363
- <Container
364
- className={useStyles({
365
- css: {
366
- bg: '#e9e7eb',
367
- p: '8px',
368
- display: 'flex',
369
- justifyContent: 'space-between',
370
- },
371
- })}
319
+ <Box
320
+ as={Container}
321
+ bg="#e9e7eb"
322
+ p="8px"
323
+ display="flex"
324
+ justifyContent="space-between"
372
325
  >
373
326
  <Text>SquareChecked</Text>
374
327
  <SquareChecked />
375
- </Container>
376
- <Container
377
- className={useStyles({
378
- css: {
379
- bg: 'white',
380
- p: '8px',
381
- display: 'flex',
382
- justifyContent: 'space-between',
383
- },
384
- })}
328
+ </Box>
329
+ <Box
330
+ as={Container}
331
+ bg="white"
332
+ p="8px"
333
+ display="flex"
334
+ justifyContent="space-between"
385
335
  >
386
336
  <Text>ExternalLink</Text>
387
337
  <ExternalLink />
388
- </Container>
389
- <Container
390
- className={useStyles({
391
- css: {
392
- bg: '#e9e7eb',
393
- p: '8px',
394
- display: 'flex',
395
- justifyContent: 'space-between',
396
- },
397
- })}
338
+ </Box>
339
+ <Box
340
+ as={Container}
341
+ bg="#e9e7eb"
342
+ p="8px"
343
+ display="flex"
344
+ justifyContent="space-between"
398
345
  >
399
346
  <Text>Filter</Text>
400
347
  <Filter />
401
- </Container>
402
- <Container
403
- className={useStyles({
404
- css: {
405
- bg: 'white',
406
- p: '8px',
407
- display: 'flex',
408
- justifyContent: 'space-between',
409
- },
410
- })}
348
+ </Box>
349
+ <Box
350
+ as={Container}
351
+ bg="white"
352
+ p="8px"
353
+ display="flex"
354
+ justifyContent="space-between"
411
355
  >
412
356
  <Text>BurgerMenu</Text>
413
357
  <BurgerMenu />
414
- </Container>
415
- <Container
416
- className={useStyles({
417
- css: {
418
- bg: '#e9e7eb',
419
- p: '8px',
420
- display: 'flex',
421
- justifyContent: 'space-between',
422
- },
423
- })}
358
+ </Box>
359
+ <Box
360
+ as={Container}
361
+ bg="#e9e7eb"
362
+ p="8px"
363
+ display="flex"
364
+ justifyContent="space-between"
424
365
  >
425
366
  <Text>Delete</Text>
426
367
  <Delete />
427
- </Container>
428
- <Container
429
- className={useStyles({
430
- css: {
431
- bg: 'white',
432
- p: '8px',
433
- display: 'flex',
434
- justifyContent: 'space-between',
435
- },
436
- })}
368
+ </Box>
369
+ <Box
370
+ as={Container}
371
+ bg="white"
372
+ p="8px"
373
+ display="flex"
374
+ justifyContent="space-between"
437
375
  >
438
376
  <Text>Close</Text>
439
377
  <Close />
440
- </Container>
441
- <Container
442
- className={useStyles({
443
- css: {
444
- bg: '#e9e7eb',
445
- p: '8px',
446
- display: 'flex',
447
- justifyContent: 'space-between',
448
- },
449
- })}
378
+ </Box>
379
+ <Box
380
+ as={Container}
381
+ bg="#e9e7eb"
382
+ p="8px"
383
+ display="flex"
384
+ justifyContent="space-between"
450
385
  >
451
386
  <Text>CircleUnchecked</Text>
452
387
  <CircleUnchecked />
453
- </Container>
454
- <Container
455
- className={useStyles({
456
- css: {
457
- bg: 'white',
458
- p: '8px',
459
- display: 'flex',
460
- justifyContent: 'space-between',
461
- },
462
- })}
388
+ </Box>
389
+ <Box
390
+ as={Container}
391
+ bg="white"
392
+ p="8px"
393
+ display="flex"
394
+ justifyContent="space-between"
463
395
  >
464
396
  <Text>CircleChecked</Text>
465
397
  <CircleChecked />
466
- </Container>
398
+ </Box>
467
399
  </Column>
468
400
  </Columns>
469
401
  </Story>
402
+ </Canvas>
403
+
404
+ <Canvas>
470
405
  <Story name="Info">
471
406
  <Columns space={8}>
472
407
  <Column width={4}>
473
- <Heading>Info</Heading>
474
- <Container
475
- className={useStyles({
476
- css: {
477
- bg: 'white',
478
- p: '8px',
479
- display: 'flex',
480
- justifyContent: 'space-between',
481
- },
482
- })}
408
+ <Text as="h2" variant="headline2">
409
+ Info
410
+ </Text>
411
+ <Box
412
+ as={Container}
413
+ bg="white"
414
+ p="8px"
415
+ display="flex"
416
+ justifyContent="space-between"
483
417
  >
484
418
  <Text>Accessible</Text>
485
419
  <Accessible />
486
- </Container>
487
- <Container
488
- className={useStyles({
489
- css: {
490
- bg: '#e9e7eb',
491
- p: '8px',
492
- display: 'flex',
493
- justifyContent: 'space-between',
494
- },
495
- })}
420
+ </Box>
421
+ <Box
422
+ as={Container}
423
+ bg="#e9e7eb"
424
+ p="8px"
425
+ display="flex"
426
+ justifyContent="space-between"
496
427
  >
497
428
  <Text>AutoRenew</Text>
498
429
  <AutoRenew />
499
- </Container>
500
- <Container
501
- className={useStyles({
502
- css: {
503
- bg: 'white',
504
- p: '8px',
505
- display: 'flex',
506
- justifyContent: 'space-between',
507
- },
508
- })}
430
+ </Box>
431
+ <Box
432
+ as={Container}
433
+ bg="white"
434
+ p="8px"
435
+ display="flex"
436
+ justifyContent="space-between"
509
437
  >
510
438
  <Text>Banned</Text>
511
439
  <Banned />
512
- </Container>
513
- <Container
514
- className={useStyles({
515
- css: {
516
- bg: '#e9e7eb',
517
- p: '8px',
518
- display: 'flex',
519
- justifyContent: 'space-between',
520
- },
521
- })}
440
+ </Box>
441
+ <Box
442
+ as={Container}
443
+ bg="#e9e7eb"
444
+ p="8px"
445
+ display="flex"
446
+ justifyContent="space-between"
522
447
  >
523
448
  <Text>Bus</Text>
524
449
  <Bus />
525
- </Container>
526
- <Container
527
- className={useStyles({
528
- css: {
529
- bg: 'white',
530
- p: '8px',
531
- display: 'flex',
532
- justifyContent: 'space-between',
533
- },
534
- })}
450
+ </Box>
451
+ <Box
452
+ as={Container}
453
+ bg="white"
454
+ p="8px"
455
+ display="flex"
456
+ justifyContent="space-between"
535
457
  >
536
458
  <Text>Calendar</Text>
537
459
  <Calendar />
538
- </Container>
539
- <Container
540
- className={useStyles({
541
- css: {
542
- bg: '#e9e7eb',
543
- p: '8px',
544
- display: 'flex',
545
- justifyContent: 'space-between',
546
- },
547
- })}
460
+ </Box>
461
+ <Box
462
+ as={Container}
463
+ bg="#e9e7eb"
464
+ p="8px"
465
+ display="flex"
466
+ justifyContent="space-between"
548
467
  >
549
468
  <Text>Camera</Text>
550
469
  <Camera />
551
- </Container>
552
- <Container
553
- className={useStyles({
554
- css: {
555
- bg: 'white',
556
- p: '8px',
557
- display: 'flex',
558
- justifyContent: 'space-between',
559
- },
560
- })}
470
+ </Box>
471
+ <Box
472
+ as={Container}
473
+ bg="white"
474
+ p="8px"
475
+ display="flex"
476
+ justifyContent="space-between"
561
477
  >
562
478
  <Text>Clock</Text>
563
479
  <Clock />
564
- </Container>
565
- <Container
566
- className={useStyles({
567
- css: {
568
- bg: '#e9e7eb',
569
- p: '8px',
570
- display: 'flex',
571
- justifyContent: 'space-between',
572
- },
573
- })}
480
+ </Box>
481
+ <Box
482
+ as={Container}
483
+ bg="#e9e7eb"
484
+ p="8px"
485
+ display="flex"
486
+ justifyContent="space-between"
574
487
  >
575
488
  <Text>Direction</Text>
576
489
  <Direction />
577
- </Container>
490
+ </Box>
578
491
  </Column>
579
492
  <Column width={4}>
580
- <Container
581
- className={useStyles({
582
- css: {
583
- bg: 'white',
584
- p: '8px',
585
- display: 'flex',
586
- justifyContent: 'space-between',
587
- },
588
- })}
493
+ <Box
494
+ as={Container}
495
+ bg="white"
496
+ p="8px"
497
+ display="flex"
498
+ justifyContent="space-between"
589
499
  >
590
500
  <Text>Email</Text>
591
501
  <Email />
592
- </Container>
593
- <Container
594
- className={useStyles({
595
- css: {
596
- bg: '#e9e7eb',
597
- p: '8px',
598
- display: 'flex',
599
- justifyContent: 'space-between',
600
- },
601
- })}
502
+ </Box>
503
+ <Box
504
+ as={Container}
505
+ bg="#e9e7eb"
506
+ p="8px"
507
+ display="flex"
508
+ justifyContent="space-between"
602
509
  >
603
510
  <Text>EventDate</Text>
604
511
  <EventDate />
605
- </Container>
606
- <Container
607
- className={useStyles({
608
- css: {
609
- bg: 'white',
610
- p: '8px',
611
- display: 'flex',
612
- justifyContent: 'space-between',
613
- },
614
- })}
512
+ </Box>
513
+ <Box
514
+ as={Container}
515
+ bg="white"
516
+ p="8px"
517
+ display="flex"
518
+ justifyContent="space-between"
615
519
  >
616
520
  <Text>Exclamation</Text>
617
521
  <Exclamation />
618
- </Container>
619
- <Container
620
- className={useStyles({
621
- css: {
622
- bg: '#e9e7eb',
623
- p: '8px',
624
- display: 'flex',
625
- justifyContent: 'space-between',
626
- },
627
- })}
522
+ </Box>
523
+ <Box
524
+ as={Container}
525
+ bg="#e9e7eb"
526
+ p="8px"
527
+ display="flex"
528
+ justifyContent="space-between"
628
529
  >
629
530
  <Text>Feedback</Text>
630
531
  <Feedback />
631
- </Container>
632
- <Container
633
- className={useStyles({
634
- css: {
635
- bg: 'white',
636
- p: '8px',
637
- display: 'flex',
638
- justifyContent: 'space-between',
639
- },
640
- })}
532
+ </Box>
533
+ <Box
534
+ as={Container}
535
+ bg="white"
536
+ p="8px"
537
+ display="flex"
538
+ justifyContent="space-between"
641
539
  >
642
540
  <Text>Food</Text>
643
541
  <Food />
644
- </Container>
645
- <Container
646
- className={useStyles({
647
- css: {
648
- bg: '#e9e7eb',
649
- p: '8px',
650
- display: 'flex',
651
- justifyContent: 'space-between',
652
- },
653
- })}
542
+ </Box>
543
+ <Box
544
+ as={Container}
545
+ bg="#e9e7eb"
546
+ p="8px"
547
+ display="flex"
548
+ justifyContent="space-between"
654
549
  >
655
550
  <Text>Globe</Text>
656
551
  <Globe />
657
- </Container>
658
- <Container
659
- className={useStyles({
660
- css: {
661
- bg: 'white',
662
- p: '8px',
663
- display: 'flex',
664
- justifyContent: 'space-between',
665
- },
666
- })}
552
+ </Box>
553
+ <Box
554
+ as={Container}
555
+ bg="white"
556
+ p="8px"
557
+ display="flex"
558
+ justifyContent="space-between"
667
559
  >
668
560
  <Text>Home</Text>
669
561
  <Home />
670
- </Container>
671
- <Container
672
- className={useStyles({
673
- css: {
674
- bg: '#e9e7eb',
675
- p: '8px',
676
- display: 'flex',
677
- justifyContent: 'space-between',
678
- },
679
- })}
562
+ </Box>
563
+ <Box
564
+ as={Container}
565
+ bg="#e9e7eb"
566
+ p="8px"
567
+ display="flex"
568
+ justifyContent="space-between"
680
569
  >
681
570
  <Text>Info</Text>
682
571
  <Info />
683
- </Container>
684
- <Container
685
- className={useStyles({
686
- css: {
687
- bg: 'white',
688
- p: '8px',
689
- display: 'flex',
690
- justifyContent: 'space-between',
691
- },
692
- })}
572
+ </Box>
573
+ <Box
574
+ as={Container}
575
+ bg="white"
576
+ p="8px"
577
+ display="flex"
578
+ justifyContent="space-between"
693
579
  >
694
580
  <Text>Marker</Text>
695
581
  <Marker />
696
- </Container>
582
+ </Box>
697
583
  </Column>
698
584
  <Column width={4}>
699
- <Container
700
- className={useStyles({
701
- css: {
702
- bg: '#e9e7eb',
703
- p: '8px',
704
- display: 'flex',
705
- justifyContent: 'space-between',
706
- },
707
- })}
585
+ <Box
586
+ as={Container}
587
+ bg="#e9e7eb"
588
+ p="8px"
589
+ display="flex"
590
+ justifyContent="space-between"
708
591
  >
709
592
  <Text>MobilePhone</Text>
710
593
  <MobilePhone />
711
- </Container>
712
- <Container
713
- className={useStyles({
714
- css: {
715
- bg: 'white',
716
- p: '8px',
717
- display: 'flex',
718
- justifyContent: 'space-between',
719
- },
720
- })}
594
+ </Box>
595
+ <Box
596
+ as={Container}
597
+ bg="white"
598
+ p="8px"
599
+ display="flex"
600
+ justifyContent="space-between"
721
601
  >
722
602
  <Text>Notification</Text>
723
603
  <Notification />
724
- </Container>
725
- <Container
726
- className={useStyles({
727
- css: {
728
- bg: '#e9e7eb',
729
- p: '8px',
730
- display: 'flex',
731
- justifyContent: 'space-between',
732
- },
733
- })}
604
+ </Box>
605
+ <Box
606
+ as={Container}
607
+ bg="#e9e7eb"
608
+ p="8px"
609
+ display="flex"
610
+ justifyContent="space-between"
734
611
  >
735
612
  <Text>Parking</Text>
736
613
  <Parking />
737
- </Container>
738
- <Container
739
- className={useStyles({
740
- css: {
741
- bg: 'white',
742
- p: '8px',
743
- display: 'flex',
744
- justifyContent: 'space-between',
745
- },
746
- })}
614
+ </Box>
615
+ <Box
616
+ as={Container}
617
+ bg="white"
618
+ p="8px"
619
+ display="flex"
620
+ justifyContent="space-between"
747
621
  >
748
622
  <Text>Required</Text>
749
623
  <Required />
750
- </Container>
751
- <Container
752
- className={useStyles({
753
- css: {
754
- bg: '#e9e7eb',
755
- p: '8px',
756
- display: 'flex',
757
- justifyContent: 'space-between',
758
- },
759
- })}
624
+ </Box>
625
+ <Box
626
+ as={Container}
627
+ bg="#e9e7eb"
628
+ p="8px"
629
+ display="flex"
630
+ justifyContent="space-between"
760
631
  >
761
632
  <Text>ResaleLogbook</Text>
762
633
  <ResaleLogbook />
763
- </Container>
764
- <Container
765
- className={useStyles({
766
- css: {
767
- bg: 'white',
768
- p: '8px',
769
- display: 'flex',
770
- justifyContent: 'space-between',
771
- },
772
- })}
634
+ </Box>
635
+ <Box
636
+ as={Container}
637
+ bg="white"
638
+ p="8px"
639
+ display="flex"
640
+ justifyContent="space-between"
773
641
  >
774
642
  <Text>Spinner</Text>
775
643
  <Spinner />
776
- </Container>
777
- <Container
778
- className={useStyles({
779
- css: {
780
- bg: '#e9e7eb',
781
- p: '8px',
782
- display: 'flex',
783
- justifyContent: 'space-between',
784
- },
785
- })}
644
+ </Box>
645
+ <Box
646
+ as={Container}
647
+ bg="#e9e7eb"
648
+ p="8px"
649
+ display="flex"
650
+ justifyContent="space-between"
786
651
  >
787
652
  <Text>Thumb</Text>
788
653
  <Thumb />
789
- </Container>
790
- <Container
791
- className={useStyles({
792
- css: {
793
- bg: 'white',
794
- p: '8px',
795
- display: 'flex',
796
- justifyContent: 'space-between',
797
- },
798
- })}
654
+ </Box>
655
+ <Box
656
+ as={Container}
657
+ bg="white"
658
+ p="8px"
659
+ display="flex"
660
+ justifyContent="space-between"
799
661
  >
800
662
  <Text>Truck</Text>
801
663
  <Truck />
802
- </Container>
664
+ </Box>
803
665
  </Column>
804
666
  </Columns>
805
667
  </Story>
668
+ </Canvas>
669
+
670
+ <Canvas>
806
671
  <Story name="Action">
807
672
  <Columns space={8}>
808
673
  <Column width={4}>
809
- <Heading>Action</Heading>
810
- <Container
811
- className={useStyles({
812
- css: {
813
- bg: 'white',
814
- p: '8px',
815
- display: 'flex',
816
- justifyContent: 'space-between',
817
- },
818
- })}
674
+ <Text as="h2" variant="headline2">
675
+ Action
676
+ </Text>
677
+ <Box
678
+ as={Container}
679
+ bg="white"
680
+ p="8px"
681
+ display="flex"
682
+ justifyContent="space-between"
819
683
  >
820
684
  <Text>Cancel</Text>
821
685
  <Cancel />
822
- </Container>
823
- <Container
824
- className={useStyles({
825
- css: {
826
- bg: '#e9e7eb',
827
- p: '8px',
828
- display: 'flex',
829
- justifyContent: 'space-between',
830
- },
831
- })}
686
+ </Box>
687
+ <Box
688
+ as={Container}
689
+ bg="#e9e7eb"
690
+ p="8px"
691
+ display="flex"
692
+ justifyContent="space-between"
832
693
  >
833
694
  <Text>Crop</Text>
834
695
  <Crop />
835
- </Container>
836
- <Container
837
- className={useStyles({
838
- css: {
839
- bg: 'white',
840
- p: '8px',
841
- display: 'flex',
842
- justifyContent: 'space-between',
843
- },
844
- })}
696
+ </Box>
697
+ <Box
698
+ as={Container}
699
+ bg="white"
700
+ p="8px"
701
+ display="flex"
702
+ justifyContent="space-between"
845
703
  >
846
704
  <Text>Edit</Text>
847
705
  <Edit />
848
- </Container>
849
- <Container
850
- className={useStyles({
851
- css: {
852
- bg: '#e9e7eb',
853
- p: '8px',
854
- display: 'flex',
855
- justifyContent: 'space-between',
856
- },
857
- })}
706
+ </Box>
707
+ <Box
708
+ as={Container}
709
+ bg="#e9e7eb"
710
+ p="8px"
711
+ display="flex"
712
+ justifyContent="space-between"
858
713
  >
859
714
  <Text>FormatBold</Text>
860
715
  <FormatBold />
861
- </Container>
862
- <Container
863
- className={useStyles({
864
- css: {
865
- bg: 'white',
866
- p: '8px',
867
- display: 'flex',
868
- justifyContent: 'space-between',
869
- },
870
- })}
716
+ </Box>
717
+ <Box
718
+ as={Container}
719
+ bg="white"
720
+ p="8px"
721
+ display="flex"
722
+ justifyContent="space-between"
871
723
  >
872
724
  <Text>FormatItalic</Text>
873
725
  <FormatItalic />
874
- </Container>
875
- <Container
876
- className={useStyles({
877
- css: {
878
- bg: '#e9e7eb',
879
- p: '8px',
880
- display: 'flex',
881
- justifyContent: 'space-between',
882
- },
883
- })}
726
+ </Box>
727
+ <Box
728
+ as={Container}
729
+ bg="#e9e7eb"
730
+ p="8px"
731
+ display="flex"
732
+ justifyContent="space-between"
884
733
  >
885
734
  <Text>FormatSize</Text>
886
735
  <FormatSize />
887
- </Container>
888
- <Container
889
- className={useStyles({
890
- css: {
891
- bg: 'white',
892
- p: '8px',
893
- display: 'flex',
894
- justifyContent: 'space-between',
895
- },
896
- })}
736
+ </Box>
737
+ <Box
738
+ as={Container}
739
+ bg="white"
740
+ p="8px"
741
+ display="flex"
742
+ justifyContent="space-between"
897
743
  >
898
744
  <Text>HighlightOff</Text>
899
745
  <HighlightOff />
900
- </Container>
901
- <Container
902
- className={useStyles({
903
- css: {
904
- bg: '#e9e7eb',
905
- p: '8px',
906
- display: 'flex',
907
- justifyContent: 'space-between',
908
- },
909
- })}
746
+ </Box>
747
+ <Box
748
+ as={Container}
749
+ bg="#e9e7eb"
750
+ p="8px"
751
+ display="flex"
752
+ justifyContent="space-between"
910
753
  >
911
754
  <Text>Image</Text>
912
755
  <Image />
913
- </Container>
756
+ </Box>
914
757
  </Column>
915
758
  <Column width={4}>
916
- <Container
917
- className={useStyles({
918
- css: {
919
- bg: 'white',
920
- p: '8px',
921
- display: 'flex',
922
- justifyContent: 'space-between',
923
- },
924
- })}
759
+ <Box
760
+ as={Container}
761
+ bg="white"
762
+ p="8px"
763
+ display="flex"
764
+ justifyContent="space-between"
925
765
  >
926
766
  <Text>Location</Text>
927
767
  <Location />
928
- </Container>
929
- <Container
930
- className={useStyles({
931
- css: {
932
- bg: '#e9e7eb',
933
- p: '8px',
934
- display: 'flex',
935
- justifyContent: 'space-between',
936
- },
937
- })}
768
+ </Box>
769
+ <Box
770
+ as={Container}
771
+ bg="#e9e7eb"
772
+ p="8px"
773
+ display="flex"
774
+ justifyContent="space-between"
938
775
  >
939
776
  <Text>Lock</Text>
940
777
  <Lock />
941
- </Container>
942
- <Container
943
- className={useStyles({
944
- css: {
945
- bg: 'white',
946
- p: '8px',
947
- display: 'flex',
948
- justifyContent: 'space-between',
949
- },
950
- })}
778
+ </Box>
779
+ <Box
780
+ as={Container}
781
+ bg="white"
782
+ p="8px"
783
+ display="flex"
784
+ justifyContent="space-between"
951
785
  >
952
786
  <Text>LockOpen</Text>
953
787
  <LockOpen />
954
- </Container>
955
- <Container
956
- className={useStyles({
957
- css: {
958
- bg: '#e9e7eb',
959
- p: '8px',
960
- display: 'flex',
961
- justifyContent: 'space-between',
962
- },
963
- })}
788
+ </Box>
789
+ <Box
790
+ as={Container}
791
+ bg="#e9e7eb"
792
+ p="8px"
793
+ display="flex"
794
+ justifyContent="space-between"
964
795
  >
965
796
  <Text>Pause</Text>
966
797
  <Pause />
967
- </Container>
968
- <Container
969
- className={useStyles({
970
- css: {
971
- bg: 'white',
972
- p: '8px',
973
- display: 'flex',
974
- justifyContent: 'space-between',
975
- },
976
- })}
798
+ </Box>
799
+ <Box
800
+ as={Container}
801
+ bg="white"
802
+ p="8px"
803
+ display="flex"
804
+ justifyContent="space-between"
977
805
  >
978
806
  <Text>PauseAlt</Text>
979
807
  <PauseAlt />
980
- </Container>
981
- <Container
982
- className={useStyles({
983
- css: {
984
- bg: '#e9e7eb',
985
- p: '8px',
986
- display: 'flex',
987
- justifyContent: 'space-between',
988
- },
989
- })}
808
+ </Box>
809
+ <Box
810
+ as={Container}
811
+ bg="#e9e7eb"
812
+ p="8px"
813
+ display="flex"
814
+ justifyContent="space-between"
990
815
  >
991
816
  <Text>Play</Text>
992
817
  <Play />
993
- </Container>
994
- <Container
995
- className={useStyles({
996
- css: {
997
- bg: 'white',
998
- p: '8px',
999
- display: 'flex',
1000
- justifyContent: 'space-between',
1001
- },
1002
- })}
818
+ </Box>
819
+ <Box
820
+ as={Container}
821
+ bg="white"
822
+ p="8px"
823
+ display="flex"
824
+ justifyContent="space-between"
1003
825
  >
1004
826
  <Text>PlayAlt</Text>
1005
827
  <PlayAlt />
1006
- </Container>
1007
- <Container
1008
- className={useStyles({
1009
- css: {
1010
- bg: '#e9e7eb',
1011
- p: '8px',
1012
- display: 'flex',
1013
- justifyContent: 'space-between',
1014
- },
1015
- })}
828
+ </Box>
829
+ <Box
830
+ as={Container}
831
+ bg="#e9e7eb"
832
+ p="8px"
833
+ display="flex"
834
+ justifyContent="space-between"
1016
835
  >
1017
836
  <Text>ResaleEdit</Text>
1018
837
  <ResaleEdit />
1019
- </Container>
1020
- <Container
1021
- className={useStyles({
1022
- css: {
1023
- bg: 'white',
1024
- p: '8px',
1025
- display: 'flex',
1026
- justifyContent: 'space-between',
1027
- },
1028
- })}
838
+ </Box>
839
+ <Box
840
+ as={Container}
841
+ bg="white"
842
+ p="8px"
843
+ display="flex"
844
+ justifyContent="space-between"
1029
845
  >
1030
846
  <Text>RotateLeft</Text>
1031
847
  <RotateLeft />
1032
- </Container>
848
+ </Box>
1033
849
  </Column>
1034
850
  <Column width={4}>
1035
- <Container
1036
- className={useStyles({
1037
- css: {
1038
- bg: '#e9e7eb',
1039
- p: '8px',
1040
- display: 'flex',
1041
- justifyContent: 'space-between',
1042
- },
1043
- })}
851
+ <Box
852
+ as={Container}
853
+ bg="#e9e7eb"
854
+ p="8px"
855
+ display="flex"
856
+ justifyContent="space-between"
1044
857
  >
1045
858
  <Text>RotateRight</Text>
1046
859
  <RotateRight />
1047
- </Container>
1048
- <Container
1049
- className={useStyles({
1050
- css: {
1051
- bg: 'white',
1052
- p: '8px',
1053
- display: 'flex',
1054
- justifyContent: 'space-between',
1055
- },
1056
- })}
860
+ </Box>
861
+ <Box
862
+ as={Container}
863
+ bg="white"
864
+ p="8px"
865
+ display="flex"
866
+ justifyContent="space-between"
1057
867
  >
1058
868
  <Text>Save</Text>
1059
869
  <Save />
1060
- </Container>
1061
- <Container
1062
- className={useStyles({
1063
- css: {
1064
- bg: '#e9e7eb',
1065
- p: '8px',
1066
- display: 'flex',
1067
- justifyContent: 'space-between',
1068
- },
1069
- })}
870
+ </Box>
871
+ <Box
872
+ as={Container}
873
+ bg="#e9e7eb"
874
+ p="8px"
875
+ display="flex"
876
+ justifyContent="space-between"
1070
877
  >
1071
878
  <Text>Sort</Text>
1072
879
  <Sort />
1073
- </Container>
1074
- <Container
1075
- className={useStyles({
1076
- css: {
1077
- bg: 'white',
1078
- p: '8px',
1079
- display: 'flex',
1080
- justifyContent: 'space-between',
1081
- },
1082
- })}
880
+ </Box>
881
+ <Box
882
+ as={Container}
883
+ bg="white"
884
+ p="8px"
885
+ display="flex"
886
+ justifyContent="space-between"
1083
887
  >
1084
888
  <Text>SortDown</Text>
1085
889
  <SortDown />
1086
- </Container>
1087
- <Container
1088
- className={useStyles({
1089
- css: {
1090
- bg: '#e9e7eb',
1091
- p: '8px',
1092
- display: 'flex',
1093
- justifyContent: 'space-between',
1094
- },
1095
- })}
890
+ </Box>
891
+ <Box
892
+ as={Container}
893
+ bg="#e9e7eb"
894
+ p="8px"
895
+ display="flex"
896
+ justifyContent="space-between"
1096
897
  >
1097
898
  <Text>SortUp</Text>
1098
899
  <SortUp />
1099
- </Container>
1100
- <Container
1101
- className={useStyles({
1102
- css: {
1103
- bg: 'white',
1104
- p: '8px',
1105
- display: 'flex',
1106
- justifyContent: 'space-between',
1107
- },
1108
- })}
900
+ </Box>
901
+ <Box
902
+ as={Container}
903
+ bg="white"
904
+ p="8px"
905
+ display="flex"
906
+ justifyContent="space-between"
1109
907
  >
1110
908
  <Text>Star</Text>
1111
909
  <Star />
1112
- </Container>
1113
- <Container
1114
- className={useStyles({
1115
- css: {
1116
- bg: '#e9e7eb',
1117
- p: '8px',
1118
- display: 'flex',
1119
- justifyContent: 'space-between',
1120
- },
1121
- })}
910
+ </Box>
911
+ <Box
912
+ as={Container}
913
+ bg="#e9e7eb"
914
+ p="8px"
915
+ display="flex"
916
+ justifyContent="space-between"
1122
917
  >
1123
918
  <Text>Stop</Text>
1124
919
  <Stop />
1125
- </Container>
1126
- <Container
1127
- className={useStyles({
1128
- css: {
1129
- bg: 'white',
1130
- p: '8px',
1131
- display: 'flex',
1132
- justifyContent: 'space-between',
1133
- },
1134
- })}
920
+ </Box>
921
+ <Box
922
+ as={Container}
923
+ bg="white"
924
+ p="8px"
925
+ display="flex"
926
+ justifyContent="space-between"
1135
927
  >
1136
928
  <Text>Underlined</Text>
1137
929
  <Underlined />
1138
- </Container>
1139
- <Container
1140
- className={useStyles({
1141
- css: {
1142
- bg: '#e9e7eb',
1143
- p: '8px',
1144
- display: 'flex',
1145
- justifyContent: 'space-between',
1146
- },
1147
- })}
930
+ </Box>
931
+ <Box
932
+ as={Container}
933
+ bg="#e9e7eb"
934
+ p="8px"
935
+ display="flex"
936
+ justifyContent="space-between"
1148
937
  >
1149
938
  <Text>Zoom</Text>
1150
939
  <Zoom />
1151
- </Container>
940
+ </Box>
1152
941
  </Column>
1153
942
  </Columns>
1154
943
  </Story>
944
+ </Canvas>
945
+
946
+ <Canvas>
1155
947
  <Story name="Ticketing">
1156
948
  <Columns space={8}>
1157
949
  <Column width={4}>
1158
- <Heading>Ticketing</Heading>
1159
- <Container
1160
- className={useStyles({
1161
- css: {
1162
- bg: 'white',
1163
- p: '8px',
1164
- display: 'flex',
1165
- justifyContent: 'space-between',
1166
- },
1167
- })}
950
+ <Text as="h2" variant="headline2">
951
+ Ticketing
952
+ </Text>
953
+ <Box
954
+ as={Container}
955
+ bg="white"
956
+ p="8px"
957
+ display="flex"
958
+ justifyContent="space-between"
1168
959
  >
1169
960
  <Text>Deal</Text>
1170
961
  <Deal />
1171
- </Container>
1172
- <Container
1173
- className={useStyles({
1174
- css: {
1175
- bg: '#e9e7eb',
1176
- p: '8px',
1177
- display: 'flex',
1178
- justifyContent: 'space-between',
1179
- },
1180
- })}
962
+ </Box>
963
+ <Box
964
+ as={Container}
965
+ bg="#e9e7eb"
966
+ p="8px"
967
+ display="flex"
968
+ justifyContent="space-between"
1181
969
  >
1182
970
  <Text>DesignTicket</Text>
1183
971
  <DesignTicket />
1184
- </Container>
1185
- <Container
1186
- className={useStyles({
1187
- css: {
1188
- bg: 'white',
1189
- p: '8px',
1190
- display: 'flex',
1191
- justifyContent: 'space-between',
1192
- },
1193
- })}
972
+ </Box>
973
+ <Box
974
+ as={Container}
975
+ bg="white"
976
+ p="8px"
977
+ display="flex"
978
+ justifyContent="space-between"
1194
979
  >
1195
980
  <Text>GiftCard</Text>
1196
981
  <GiftCard />
1197
- </Container>
1198
- <Container
1199
- className={useStyles({
1200
- css: {
1201
- bg: '#e9e7eb',
1202
- p: '8px',
1203
- display: 'flex',
1204
- justifyContent: 'space-between',
1205
- },
1206
- })}
982
+ </Box>
983
+ <Box
984
+ as={Container}
985
+ bg="#e9e7eb"
986
+ p="8px"
987
+ display="flex"
988
+ justifyContent="space-between"
1207
989
  >
1208
990
  <Text>Membership</Text>
1209
991
  <Membership />
1210
- </Container>
1211
- <Container
1212
- className={useStyles({
1213
- css: {
1214
- bg: 'white',
1215
- p: '8px',
1216
- display: 'flex',
1217
- justifyContent: 'space-between',
1218
- },
1219
- })}
992
+ </Box>
993
+ <Box
994
+ as={Container}
995
+ bg="white"
996
+ p="8px"
997
+ display="flex"
998
+ justifyContent="space-between"
1220
999
  >
1221
1000
  <Text>Pickup</Text>
1222
1001
  <Pickup />
1223
- </Container>
1224
- <Container
1225
- className={useStyles({
1226
- css: {
1227
- bg: '#e9e7eb',
1228
- p: '8px',
1229
- display: 'flex',
1230
- justifyContent: 'space-between',
1231
- },
1232
- })}
1002
+ </Box>
1003
+ <Box
1004
+ as={Container}
1005
+ bg="#e9e7eb"
1006
+ p="8px"
1007
+ display="flex"
1008
+ justifyContent="space-between"
1233
1009
  >
1234
1010
  <Text>Price</Text>
1235
1011
  <Price />
1236
- </Container>
1012
+ </Box>
1237
1013
  </Column>
1238
1014
  <Column width={4}>
1239
- <Container
1240
- className={useStyles({
1241
- css: {
1242
- bg: 'white',
1243
- p: '8px',
1244
- display: 'flex',
1245
- justifyContent: 'space-between',
1246
- },
1247
- })}
1015
+ <Box
1016
+ as={Container}
1017
+ bg="white"
1018
+ p="8px"
1019
+ display="flex"
1020
+ justifyContent="space-between"
1248
1021
  >
1249
1022
  <Text>Resale</Text>
1250
1023
  <Resale />
1251
- </Container>
1252
- <Container
1253
- className={useStyles({
1254
- css: {
1255
- bg: '#e9e7eb',
1256
- p: '8px',
1257
- display: 'flex',
1258
- justifyContent: 'space-between',
1259
- },
1260
- })}
1024
+ </Box>
1025
+ <Box
1026
+ as={Container}
1027
+ bg="#e9e7eb"
1028
+ p="8px"
1029
+ display="flex"
1030
+ justifyContent="space-between"
1261
1031
  >
1262
1032
  <Text>Scanner</Text>
1263
1033
  <Scanner />
1264
- </Container>
1265
- <Container
1266
- className={useStyles({
1267
- css: {
1268
- bg: 'white',
1269
- p: '8px',
1270
- display: 'flex',
1271
- justifyContent: 'space-between',
1272
- },
1273
- })}
1034
+ </Box>
1035
+ <Box
1036
+ as={Container}
1037
+ bg="white"
1038
+ p="8px"
1039
+ display="flex"
1040
+ justifyContent="space-between"
1274
1041
  >
1275
1042
  <Text>Seat</Text>
1276
1043
  <Seat />
1277
- </Container>
1278
- <Container
1279
- className={useStyles({
1280
- css: {
1281
- bg: '#e9e7eb',
1282
- p: '8px',
1283
- display: 'flex',
1284
- justifyContent: 'space-between',
1285
- },
1286
- })}
1044
+ </Box>
1045
+ <Box
1046
+ as={Container}
1047
+ bg="#e9e7eb"
1048
+ p="8px"
1049
+ display="flex"
1050
+ justifyContent="space-between"
1287
1051
  >
1288
1052
  <Text>Selling</Text>
1289
1053
  <Selling />
1290
- </Container>
1291
- <Container
1292
- className={useStyles({
1293
- css: {
1294
- bg: 'white',
1295
- p: '8px',
1296
- display: 'flex',
1297
- justifyContent: 'space-between',
1298
- },
1299
- })}
1054
+ </Box>
1055
+ <Box
1056
+ as={Container}
1057
+ bg="white"
1058
+ p="8px"
1059
+ display="flex"
1060
+ justifyContent="space-between"
1300
1061
  >
1301
1062
  <Text>Ticket</Text>
1302
1063
  <Ticket />
1303
- </Container>
1304
- <Container
1305
- className={useStyles({
1306
- css: {
1307
- bg: '#e9e7eb',
1308
- p: '8px',
1309
- display: 'flex',
1310
- justifyContent: 'space-between',
1311
- },
1312
- })}
1064
+ </Box>
1065
+ <Box
1066
+ as={Container}
1067
+ bg="#e9e7eb"
1068
+ p="8px"
1069
+ display="flex"
1070
+ justifyContent="space-between"
1313
1071
  >
1314
1072
  <Text>TicketInsurance</Text>
1315
1073
  <TicketInsurance />
1316
- </Container>
1317
- <Container
1318
- className={useStyles({
1319
- css: {
1320
- bg: 'white',
1321
- p: '8px',
1322
- display: 'flex',
1323
- justifyContent: 'space-between',
1324
- },
1325
- })}
1074
+ </Box>
1075
+ <Box
1076
+ as={Container}
1077
+ bg="white"
1078
+ p="8px"
1079
+ display="flex"
1080
+ justifyContent="space-between"
1326
1081
  >
1327
1082
  <Text>Turnstile</Text>
1328
1083
  <Turnstile />
1329
- </Container>
1084
+ </Box>
1330
1085
  </Column>
1331
1086
  </Columns>
1332
1087
  </Story>
1088
+ </Canvas>
1089
+
1090
+ <Canvas>
1333
1091
  <Story name="User">
1334
1092
  <Columns space={8}>
1335
1093
  <Column width={4}>
1336
- <Heading>User</Heading>
1337
- <Container
1338
- className={useStyles({
1339
- css: {
1340
- bg: 'white',
1341
- p: '8px',
1342
- display: 'flex',
1343
- justifyContent: 'space-between',
1344
- },
1345
- })}
1094
+ <Text as="h2" variant="headline2">
1095
+ User
1096
+ </Text>
1097
+ <Box
1098
+ as={Container}
1099
+ bg="white"
1100
+ p="8px"
1101
+ display="flex"
1102
+ justifyContent="space-between"
1346
1103
  >
1347
1104
  <Text>User</Text>
1348
1105
  <User />
1349
- </Container>
1350
- <Container
1351
- className={useStyles({
1352
- css: {
1353
- bg: '#e9e7eb',
1354
- p: '8px',
1355
- display: 'flex',
1356
- justifyContent: 'space-between',
1357
- },
1358
- })}
1106
+ </Box>
1107
+ <Box
1108
+ as={Container}
1109
+ bg="#e9e7eb"
1110
+ p="8px"
1111
+ display="flex"
1112
+ justifyContent="space-between"
1359
1113
  >
1360
1114
  <Text>Group</Text>
1361
1115
  <Group />
1362
- </Container>
1363
- <Container
1364
- className={useStyles({
1365
- css: {
1366
- bg: 'white',
1367
- p: '8px',
1368
- display: 'flex',
1369
- justifyContent: 'space-between',
1370
- },
1371
- })}
1116
+ </Box>
1117
+ <Box
1118
+ as={Container}
1119
+ bg="white"
1120
+ p="8px"
1121
+ display="flex"
1122
+ justifyContent="space-between"
1372
1123
  >
1373
1124
  <Text>Cart</Text>
1374
1125
  <Cart />
1375
- </Container>
1376
- <Container
1377
- className={useStyles({
1378
- css: {
1379
- bg: '#e9e7eb',
1380
- p: '8px',
1381
- display: 'flex',
1382
- justifyContent: 'space-between',
1383
- },
1384
- })}
1126
+ </Box>
1127
+ <Box
1128
+ as={Container}
1129
+ bg="#e9e7eb"
1130
+ p="8px"
1131
+ display="flex"
1132
+ justifyContent="space-between"
1385
1133
  >
1386
1134
  <Text>CreditCard</Text>
1387
1135
  <CreditCard />
1388
- </Container>
1389
- <Container
1390
- className={useStyles({
1391
- css: {
1392
- bg: 'white',
1393
- p: '8px',
1394
- display: 'flex',
1395
- justifyContent: 'space-between',
1396
- },
1397
- })}
1136
+ </Box>
1137
+ <Box
1138
+ as={Container}
1139
+ bg="white"
1140
+ p="8px"
1141
+ display="flex"
1142
+ justifyContent="space-between"
1398
1143
  >
1399
1144
  <Text>SmilieVerySatisfied</Text>
1400
1145
  <SmilieVerySatisfied />
1401
- </Container>
1146
+ </Box>
1402
1147
  </Column>
1403
1148
  <Column width={4}>
1404
- <Container
1405
- className={useStyles({
1406
- css: {
1407
- bg: '#e9e7eb',
1408
- p: '8px',
1409
- display: 'flex',
1410
- justifyContent: 'space-between',
1411
- },
1412
- })}
1149
+ <Box
1150
+ as={Container}
1151
+ bg="#e9e7eb"
1152
+ p="8px"
1153
+ display="flex"
1154
+ justifyContent="space-between"
1413
1155
  >
1414
1156
  <Text>SmilieSatisfied</Text>
1415
1157
  <SmilieSatisfied />
1416
- </Container>
1417
- <Container
1418
- className={useStyles({
1419
- css: {
1420
- bg: 'white',
1421
- p: '8px',
1422
- display: 'flex',
1423
- justifyContent: 'space-between',
1424
- },
1425
- })}
1158
+ </Box>
1159
+ <Box
1160
+ as={Container}
1161
+ bg="white"
1162
+ p="8px"
1163
+ display="flex"
1164
+ justifyContent="space-between"
1426
1165
  >
1427
1166
  <Text>SmilieNeutral</Text>
1428
1167
  <SmilieNeutral />
1429
- </Container>
1430
- <Container
1431
- className={useStyles({
1432
- css: {
1433
- bg: '#e9e7eb',
1434
- p: '8px',
1435
- display: 'flex',
1436
- justifyContent: 'space-between',
1437
- },
1438
- })}
1168
+ </Box>
1169
+ <Box
1170
+ as={Container}
1171
+ bg="#e9e7eb"
1172
+ p="8px"
1173
+ display="flex"
1174
+ justifyContent="space-between"
1439
1175
  >
1440
1176
  <Text>SmilieDissatisfied</Text>
1441
1177
  <SmilieDissatisfied />
1442
- </Container>
1443
- <Container
1444
- className={useStyles({
1445
- css: {
1446
- bg: 'white',
1447
- p: '8px',
1448
- display: 'flex',
1449
- justifyContent: 'space-between',
1450
- },
1451
- })}
1178
+ </Box>
1179
+ <Box
1180
+ as={Container}
1181
+ bg="white"
1182
+ p="8px"
1183
+ display="flex"
1184
+ justifyContent="space-between"
1452
1185
  >
1453
1186
  <Text>SmilieVeryDissatisfied</Text>
1454
1187
  <SmilieVeryDissatisfied />
1455
- </Container>
1456
- <Container
1457
- className={useStyles({
1458
- css: {
1459
- bg: '#e9e7eb',
1460
- p: '8px',
1461
- display: 'flex',
1462
- justifyContent: 'space-between',
1463
- },
1464
- })}
1188
+ </Box>
1189
+ <Box
1190
+ as={Container}
1191
+ bg="#e9e7eb"
1192
+ p="8px"
1193
+ display="flex"
1194
+ justifyContent="space-between"
1465
1195
  >
1466
1196
  <Text>Id</Text>
1467
1197
  <Id />
1468
- </Container>
1198
+ </Box>
1469
1199
  </Column>
1470
1200
  </Columns>
1471
1201
  </Story>
1202
+ </Canvas>
1203
+
1204
+ <Canvas>
1472
1205
  <Story name="Social">
1473
1206
  <Columns space={8}>
1474
1207
  <Column width={4}>
1475
- <Heading>Social</Heading>
1476
- <Container
1477
- className={useStyles({
1478
- css: {
1479
- bg: 'white',
1480
- p: '8px',
1481
- display: 'flex',
1482
- justifyContent: 'space-between',
1483
- },
1484
- })}
1208
+ <Text as="h2" variant="headline2">
1209
+ Social
1210
+ </Text>
1211
+ <Box
1212
+ as={Container}
1213
+ bg="white"
1214
+ p="8px"
1215
+ display="flex"
1216
+ justifyContent="space-between"
1485
1217
  >
1486
1218
  <Text>Facebook</Text>
1487
1219
  <Facebook />
1488
- </Container>
1489
- <Container
1490
- className={useStyles({
1491
- css: {
1492
- bg: '#e9e7eb',
1493
- p: '8px',
1494
- display: 'flex',
1495
- justifyContent: 'space-between',
1496
- },
1497
- })}
1220
+ </Box>
1221
+ <Box
1222
+ as={Container}
1223
+ bg="#e9e7eb"
1224
+ p="8px"
1225
+ display="flex"
1226
+ justifyContent="space-between"
1498
1227
  >
1499
1228
  <Text>Google</Text>
1500
1229
  <Google />
1501
- </Container>
1502
- <Container
1503
- className={useStyles({
1504
- css: {
1505
- bg: 'white',
1506
- p: '8px',
1507
- display: 'flex',
1508
- justifyContent: 'space-between',
1509
- },
1510
- })}
1230
+ </Box>
1231
+ <Box
1232
+ as={Container}
1233
+ bg="white"
1234
+ p="8px"
1235
+ display="flex"
1236
+ justifyContent="space-between"
1511
1237
  >
1512
1238
  <Text>Instagram</Text>
1513
1239
  <Instagram />
1514
- </Container>
1515
- <Container
1516
- className={useStyles({
1517
- css: {
1518
- bg: '#e9e7eb',
1519
- p: '8px',
1520
- display: 'flex',
1521
- justifyContent: 'space-between',
1522
- },
1523
- })}
1240
+ </Box>
1241
+ <Box
1242
+ as={Container}
1243
+ bg="#e9e7eb"
1244
+ p="8px"
1245
+ display="flex"
1246
+ justifyContent="space-between"
1524
1247
  >
1525
1248
  <Text>Share</Text>
1526
1249
  <Share />
1527
- </Container>
1528
- <Container
1529
- className={useStyles({
1530
- css: {
1531
- bg: 'white',
1532
- p: '8px',
1533
- display: 'flex',
1534
- justifyContent: 'space-between',
1535
- },
1536
- })}
1250
+ </Box>
1251
+ <Box
1252
+ as={Container}
1253
+ bg="white"
1254
+ p="8px"
1255
+ display="flex"
1256
+ justifyContent="space-between"
1537
1257
  >
1538
1258
  <Text>Twitter</Text>
1539
1259
  <Twitter />
1540
- </Container>
1541
- <Container
1542
- className={useStyles({
1543
- css: {
1544
- bg: '#e9e7eb',
1545
- p: '8px',
1546
- display: 'flex',
1547
- justifyContent: 'space-between',
1548
- },
1549
- })}
1260
+ </Box>
1261
+ <Box
1262
+ as={Container}
1263
+ bg="#e9e7eb"
1264
+ p="8px"
1265
+ display="flex"
1266
+ justifyContent="space-between"
1550
1267
  >
1551
1268
  <Text>Whatsapp</Text>
1552
1269
  <Whatsapp />
1553
- </Container>
1270
+ </Box>
1554
1271
  </Column>
1555
1272
  </Columns>
1556
1273
  </Story>