@seed-design/figma 1.3.11 → 1.3.13
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.
- package/lib/codegen/index.cjs +1010 -258
- package/lib/codegen/index.js +1010 -258
- package/lib/codegen/targets/react/index.cjs +1103 -369
- package/lib/codegen/targets/react/index.js +1103 -369
- package/lib/index.cjs +1010 -258
- package/lib/index.js +1010 -258
- package/package.json +3 -3
- package/src/codegen/targets/react/component/handlers/list-item.ts +3 -3
- package/src/entities/data/__generated__/component-sets/index.d.ts +247 -159
- package/src/entities/data/__generated__/component-sets/index.mjs +247 -159
- package/src/entities/data/__generated__/components/index.d.ts +114 -57
- package/src/entities/data/__generated__/components/index.mjs +114 -57
- package/src/entities/data/__generated__/styles/index.mjs +252 -0
- package/src/entities/data/__generated__/variable-collections/index.mjs +25 -5
- package/src/entities/data/__generated__/variables/index.mjs +461 -69
|
@@ -104,6 +104,20 @@ export const FIGMA_STYLES = [
|
|
|
104
104
|
"description": "26",
|
|
105
105
|
"remote": false
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
"styleType": "TEXT",
|
|
109
|
+
"key": "f1b075bf372e390817956ac334349f42ec368ccd",
|
|
110
|
+
"name": "scale/t10-medium",
|
|
111
|
+
"description": "26",
|
|
112
|
+
"remote": false
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"styleType": "TEXT",
|
|
116
|
+
"key": "58575457da24cac686bda44738f925bf7fb1000f",
|
|
117
|
+
"name": "scale/t10-regular",
|
|
118
|
+
"description": "26",
|
|
119
|
+
"remote": false
|
|
120
|
+
},
|
|
107
121
|
{
|
|
108
122
|
"styleType": "TEXT",
|
|
109
123
|
"key": "08861e25c3f74a29c2ae4ce007fe50b63e302392",
|
|
@@ -111,6 +125,188 @@ export const FIGMA_STYLES = [
|
|
|
111
125
|
"description": "26",
|
|
112
126
|
"remote": false
|
|
113
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"styleType": "TEXT",
|
|
130
|
+
"key": "7b382c6819df53c004f4bb6464cc1159437d28f4",
|
|
131
|
+
"name": "scale/t10-static-medium",
|
|
132
|
+
"description": "26",
|
|
133
|
+
"remote": false
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"styleType": "TEXT",
|
|
137
|
+
"key": "7ac0425bf2720501638e207801bdc83188776606",
|
|
138
|
+
"name": "scale/t10-static-regular",
|
|
139
|
+
"description": "26",
|
|
140
|
+
"remote": false
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"styleType": "TEXT",
|
|
144
|
+
"key": "c4098caa6dadf9d0313a5cd3bf1954aa428806bc",
|
|
145
|
+
"name": "scale/t11-bold",
|
|
146
|
+
"description": "28",
|
|
147
|
+
"remote": false
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"styleType": "TEXT",
|
|
151
|
+
"key": "7f9079e1462525cba38c2bf1eef30868a3604c1f",
|
|
152
|
+
"name": "scale/t11-medium",
|
|
153
|
+
"description": "28",
|
|
154
|
+
"remote": false
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"styleType": "TEXT",
|
|
158
|
+
"key": "ea8f44eb90bc314a4afffcb2cd01df65e62e71ac",
|
|
159
|
+
"name": "scale/t11-regular",
|
|
160
|
+
"description": "28",
|
|
161
|
+
"remote": false
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"styleType": "TEXT",
|
|
165
|
+
"key": "3fe2b88e352b6983ca3f1ba3564116c9df17d1f4",
|
|
166
|
+
"name": "scale/t11-static-bold",
|
|
167
|
+
"description": "28",
|
|
168
|
+
"remote": false
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"styleType": "TEXT",
|
|
172
|
+
"key": "d75f42739e281be648feeba353a88a2beb6cd6b3",
|
|
173
|
+
"name": "scale/t11-static-medium",
|
|
174
|
+
"description": "28",
|
|
175
|
+
"remote": false
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"styleType": "TEXT",
|
|
179
|
+
"key": "2ec7180151eb92cf7dda82e2e9d44e17db597aa7",
|
|
180
|
+
"name": "scale/t11-static-regular",
|
|
181
|
+
"description": "28",
|
|
182
|
+
"remote": false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"styleType": "TEXT",
|
|
186
|
+
"key": "8848230f95a4b768c3fb4586d6cf00c4b7871597",
|
|
187
|
+
"name": "scale/t12-bold",
|
|
188
|
+
"description": "32",
|
|
189
|
+
"remote": false
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"styleType": "TEXT",
|
|
193
|
+
"key": "d03833cfa1fc42209eaaf75ac4ac7563c3ce05db",
|
|
194
|
+
"name": "scale/t12-medium",
|
|
195
|
+
"description": "32",
|
|
196
|
+
"remote": false
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"styleType": "TEXT",
|
|
200
|
+
"key": "f520df58299347b765369130e1cc35c4d5777ee5",
|
|
201
|
+
"name": "scale/t12-regular",
|
|
202
|
+
"description": "32",
|
|
203
|
+
"remote": false
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"styleType": "TEXT",
|
|
207
|
+
"key": "078207b0210a5e730107f7e9434ccf73fe4aa037",
|
|
208
|
+
"name": "scale/t12-static-bold",
|
|
209
|
+
"description": "32",
|
|
210
|
+
"remote": false
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"styleType": "TEXT",
|
|
214
|
+
"key": "0bbb0b5109594a030af1b31fa4a2fec97c888898",
|
|
215
|
+
"name": "scale/t12-static-medium",
|
|
216
|
+
"description": "32",
|
|
217
|
+
"remote": false
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"styleType": "TEXT",
|
|
221
|
+
"key": "7b5c555d3b6b442c7c2560d40687ad511fccd2bf",
|
|
222
|
+
"name": "scale/t12-static-regular",
|
|
223
|
+
"description": "32",
|
|
224
|
+
"remote": false
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"styleType": "TEXT",
|
|
228
|
+
"key": "f8246d0f7aac99e4bedf442e7705eb8c6fbd287f",
|
|
229
|
+
"name": "scale/t13-large",
|
|
230
|
+
"description": "40",
|
|
231
|
+
"remote": false
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"styleType": "TEXT",
|
|
235
|
+
"key": "aa030de3cc69647ac9261dde645751902cb034fa",
|
|
236
|
+
"name": "scale/t13-medium",
|
|
237
|
+
"description": "40",
|
|
238
|
+
"remote": false
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"styleType": "TEXT",
|
|
242
|
+
"key": "5f319de1ecd415b8046b8104dee700d68276f591",
|
|
243
|
+
"name": "scale/t13-regular",
|
|
244
|
+
"description": "40",
|
|
245
|
+
"remote": false
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"styleType": "TEXT",
|
|
249
|
+
"key": "c431b4007e9dc95ca040323d7bfbfc93506dcb1b",
|
|
250
|
+
"name": "scale/t13-static-bold",
|
|
251
|
+
"description": "40",
|
|
252
|
+
"remote": false
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"styleType": "TEXT",
|
|
256
|
+
"key": "f27b6a9f531a34f06cc33c6f051f178b78d7b42a",
|
|
257
|
+
"name": "scale/t13-static-medium",
|
|
258
|
+
"description": "40",
|
|
259
|
+
"remote": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"styleType": "TEXT",
|
|
263
|
+
"key": "25aafb51bb53e8ad6a4fd3888c4cd0fe22fe1484",
|
|
264
|
+
"name": "scale/t13-static-regular",
|
|
265
|
+
"description": "40",
|
|
266
|
+
"remote": false
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"styleType": "TEXT",
|
|
270
|
+
"key": "cb4871a19bfe5793fb62e8cb2af414077dbb554f",
|
|
271
|
+
"name": "scale/t14-bold",
|
|
272
|
+
"description": "48",
|
|
273
|
+
"remote": false
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"styleType": "TEXT",
|
|
277
|
+
"key": "7a65a36ff5664459014003876f7e008f7f9a29ac",
|
|
278
|
+
"name": "scale/t14-medium",
|
|
279
|
+
"description": "48",
|
|
280
|
+
"remote": false
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"styleType": "TEXT",
|
|
284
|
+
"key": "319ce219a9a7d266cdc86525f6a9d15d33d3fbc5",
|
|
285
|
+
"name": "scale/t14-regular",
|
|
286
|
+
"description": "48",
|
|
287
|
+
"remote": false
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"styleType": "TEXT",
|
|
291
|
+
"key": "a901e969dec12e78cc4e12e2dedd49490d3f9b6c",
|
|
292
|
+
"name": "scale/t14-static-bold",
|
|
293
|
+
"description": "48",
|
|
294
|
+
"remote": false
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"styleType": "TEXT",
|
|
298
|
+
"key": "a8b4a10427f553ab3675471396389a0aab9cba74",
|
|
299
|
+
"name": "scale/t14-static-medium",
|
|
300
|
+
"description": "48",
|
|
301
|
+
"remote": false
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"styleType": "TEXT",
|
|
305
|
+
"key": "cdcbb93f6e2c0785bd3bb0e9f7ecad7568c1be5e",
|
|
306
|
+
"name": "scale/t14-static-regular",
|
|
307
|
+
"description": "48",
|
|
308
|
+
"remote": false
|
|
309
|
+
},
|
|
114
310
|
{
|
|
115
311
|
"styleType": "TEXT",
|
|
116
312
|
"key": "8378bd59b14f5682dcaf20110efde4b7a1fb18e3",
|
|
@@ -370,6 +566,20 @@ export const FIGMA_STYLES = [
|
|
|
370
566
|
"description": "22",
|
|
371
567
|
"remote": false
|
|
372
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"styleType": "TEXT",
|
|
571
|
+
"key": "6e0e3a4652ac72a7bdf4f6ca5e3b3e88e6e91a1f",
|
|
572
|
+
"name": "scale/t8-medium",
|
|
573
|
+
"description": "22",
|
|
574
|
+
"remote": false
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"styleType": "TEXT",
|
|
578
|
+
"key": "ba43d7fc601a61769f623e1ec54a569fcf80d0d2",
|
|
579
|
+
"name": "scale/t8-regular",
|
|
580
|
+
"description": "22",
|
|
581
|
+
"remote": false
|
|
582
|
+
},
|
|
373
583
|
{
|
|
374
584
|
"styleType": "TEXT",
|
|
375
585
|
"key": "37821f18bc4416d7a81fa429d89240317a8f17e6",
|
|
@@ -377,6 +587,20 @@ export const FIGMA_STYLES = [
|
|
|
377
587
|
"description": "22",
|
|
378
588
|
"remote": false
|
|
379
589
|
},
|
|
590
|
+
{
|
|
591
|
+
"styleType": "TEXT",
|
|
592
|
+
"key": "759499dc9fc172011297eee2b8b96c3b369708c9",
|
|
593
|
+
"name": "scale/t8-static-medium",
|
|
594
|
+
"description": "22",
|
|
595
|
+
"remote": false
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"styleType": "TEXT",
|
|
599
|
+
"key": "2643414348304d2a7f712f321a7ee07c3f20cff6",
|
|
600
|
+
"name": "scale/t8-static-regular",
|
|
601
|
+
"description": "22",
|
|
602
|
+
"remote": false
|
|
603
|
+
},
|
|
380
604
|
{
|
|
381
605
|
"styleType": "TEXT",
|
|
382
606
|
"key": "b146e1317c67db787834f1890493225bdbba4e48",
|
|
@@ -384,6 +608,20 @@ export const FIGMA_STYLES = [
|
|
|
384
608
|
"description": "24",
|
|
385
609
|
"remote": false
|
|
386
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"styleType": "TEXT",
|
|
613
|
+
"key": "2c069c359d4d880a09a0ff025ae70e56e5e6cfda",
|
|
614
|
+
"name": "scale/t9-medium",
|
|
615
|
+
"description": "24",
|
|
616
|
+
"remote": false
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"styleType": "TEXT",
|
|
620
|
+
"key": "9e695936bfe469d21c072346744f0ce73c808336",
|
|
621
|
+
"name": "scale/t9-regular",
|
|
622
|
+
"description": "24",
|
|
623
|
+
"remote": false
|
|
624
|
+
},
|
|
387
625
|
{
|
|
388
626
|
"styleType": "TEXT",
|
|
389
627
|
"key": "c06e147e98440109199e2e3fa2a63390d19afb0c",
|
|
@@ -391,6 +629,20 @@ export const FIGMA_STYLES = [
|
|
|
391
629
|
"description": "24",
|
|
392
630
|
"remote": false
|
|
393
631
|
},
|
|
632
|
+
{
|
|
633
|
+
"styleType": "TEXT",
|
|
634
|
+
"key": "6e6b4cd794df40335e9f3f6ec3ba519e71e5db5d",
|
|
635
|
+
"name": "scale/t9-static-medium",
|
|
636
|
+
"description": "24",
|
|
637
|
+
"remote": false
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"styleType": "TEXT",
|
|
641
|
+
"key": "25fd249f85598595696ee12df23f3c0209287199",
|
|
642
|
+
"name": "scale/t9-static-regular",
|
|
643
|
+
"description": "24",
|
|
644
|
+
"remote": false
|
|
645
|
+
},
|
|
394
646
|
{
|
|
395
647
|
"styleType": "TEXT",
|
|
396
648
|
"key": "85422ef9f0230f821f1a9e6d2f8f86b3ba87f20d",
|
|
@@ -367,20 +367,24 @@ export const FIGMA_VARIABLE_COLLECTIONS = {
|
|
|
367
367
|
"name": "iOS"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
|
-
"modeId": "1:
|
|
371
|
-
"name": "iOS
|
|
370
|
+
"modeId": "1:7",
|
|
371
|
+
"name": "iOS (80%)"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
|
-
"modeId": "1:
|
|
375
|
-
"name": "iOS
|
|
374
|
+
"modeId": "1:6",
|
|
375
|
+
"name": "iOS (135%)"
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
"modeId": "1:8",
|
|
379
379
|
"name": "Android"
|
|
380
380
|
},
|
|
381
|
+
{
|
|
382
|
+
"modeId": "62468:0",
|
|
383
|
+
"name": "Android (80%)"
|
|
384
|
+
},
|
|
381
385
|
{
|
|
382
386
|
"modeId": "51907:0",
|
|
383
|
-
"name": "Android
|
|
387
|
+
"name": "Android (150%)"
|
|
384
388
|
}
|
|
385
389
|
],
|
|
386
390
|
"key": "75a9a164e0f9d49ba07e82176cbc7240569928a5",
|
|
@@ -446,6 +450,22 @@ export const FIGMA_VARIABLE_COLLECTIONS = {
|
|
|
446
450
|
"VariableID:58766:15457",
|
|
447
451
|
"VariableID:58766:15458",
|
|
448
452
|
"VariableID:58766:15459",
|
|
453
|
+
"VariableID:62466:5",
|
|
454
|
+
"VariableID:62472:10",
|
|
455
|
+
"VariableID:62472:11",
|
|
456
|
+
"VariableID:62472:12",
|
|
457
|
+
"VariableID:62472:6",
|
|
458
|
+
"VariableID:62472:7",
|
|
459
|
+
"VariableID:62472:8",
|
|
460
|
+
"VariableID:62472:9",
|
|
461
|
+
"VariableID:62476:13",
|
|
462
|
+
"VariableID:62476:14",
|
|
463
|
+
"VariableID:62476:15",
|
|
464
|
+
"VariableID:62476:16",
|
|
465
|
+
"VariableID:62476:17",
|
|
466
|
+
"VariableID:62476:18",
|
|
467
|
+
"VariableID:62476:19",
|
|
468
|
+
"VariableID:62476:20",
|
|
449
469
|
"VariableID:796:4448"
|
|
450
470
|
]
|
|
451
471
|
},
|