@luci-dev/format 0.7.0 → 0.8.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 (61) hide show
  1. package/dist/capture/check.d.ts +44 -2
  2. package/dist/capture/check.d.ts.map +1 -1
  3. package/dist/capture/check.js +381 -23
  4. package/dist/capture/check.js.map +1 -1
  5. package/dist/capture/collection.d.ts +240 -6
  6. package/dist/capture/collection.d.ts.map +1 -1
  7. package/dist/capture/format.d.ts +1 -1
  8. package/dist/capture/format.d.ts.map +1 -1
  9. package/dist/capture/format.js +31 -14
  10. package/dist/capture/format.js.map +1 -1
  11. package/dist/capture/layout.js +1 -1
  12. package/dist/capture/layout.js.map +1 -1
  13. package/dist/capture/merge.d.ts +7 -0
  14. package/dist/capture/merge.d.ts.map +1 -1
  15. package/dist/capture/merge.js +24 -0
  16. package/dist/capture/merge.js.map +1 -1
  17. package/dist/capture/read.d.ts +16 -1
  18. package/dist/capture/read.d.ts.map +1 -1
  19. package/dist/capture/read.js +82 -9
  20. package/dist/capture/read.js.map +1 -1
  21. package/dist/capture/schema.d.ts +256 -8
  22. package/dist/capture/schema.d.ts.map +1 -1
  23. package/dist/capture/schema.js +21 -8
  24. package/dist/capture/schema.js.map +1 -1
  25. package/dist/capture/spec.d.ts +35 -5
  26. package/dist/capture/spec.d.ts.map +1 -1
  27. package/dist/capture/spec.js +71 -16
  28. package/dist/capture/spec.js.map +1 -1
  29. package/dist/capture/values.d.ts +11 -0
  30. package/dist/capture/values.d.ts.map +1 -1
  31. package/dist/capture/values.js +58 -1
  32. package/dist/capture/values.js.map +1 -1
  33. package/dist/feedback/prompt.js +1 -1
  34. package/dist/feedback/prompt.js.map +1 -1
  35. package/dist/feedback/review.js +1 -1
  36. package/dist/feedback/review.js.map +1 -1
  37. package/dist/figma/diff.d.ts +13 -0
  38. package/dist/figma/diff.d.ts.map +1 -0
  39. package/dist/figma/diff.js +454 -0
  40. package/dist/figma/diff.js.map +1 -0
  41. package/dist/figma/index.d.ts +10 -0
  42. package/dist/figma/index.d.ts.map +1 -0
  43. package/dist/figma/index.js +10 -0
  44. package/dist/figma/index.js.map +1 -0
  45. package/dist/figma/match.d.ts +56 -0
  46. package/dist/figma/match.d.ts.map +1 -0
  47. package/dist/figma/match.js +329 -0
  48. package/dist/figma/match.js.map +1 -0
  49. package/dist/figma/normalize.d.ts +62 -0
  50. package/dist/figma/normalize.d.ts.map +1 -0
  51. package/dist/figma/normalize.js +932 -0
  52. package/dist/figma/normalize.js.map +1 -0
  53. package/dist/figma/schema.d.ts +1662 -0
  54. package/dist/figma/schema.d.ts.map +1 -0
  55. package/dist/figma/schema.js +545 -0
  56. package/dist/figma/schema.js.map +1 -0
  57. package/dist/figma/tokens.d.ts +32 -0
  58. package/dist/figma/tokens.d.ts.map +1 -0
  59. package/dist/figma/tokens.js +391 -0
  60. package/dist/figma/tokens.js.map +1 -0
  61. package/package.json +5 -1
@@ -13,9 +13,12 @@ export declare const TOKEN_TYPES: readonly ['text', 'color', 'spacing'];
13
13
  export declare const SYSTEM_TYPES: readonly ['typography', 'color', 'spacing'];
14
14
  /**
15
15
  * `measured` for values read from the live DOM; `estimated` for values guessed (a pixel on an image,
16
- * a palette from a screenshot); `authored` for values read from the project's own stylesheets (B14).
16
+ * a palette from a screenshot); `authored` for values read from the project's own stylesheets (B14);
17
+ * `imported` for design specs imported from external design tools (v0.8, e.g. Figma via user's agent).
17
18
  */
18
- export declare const CAPTURE_METHODS: readonly ['measured', 'estimated', 'authored'];
19
+ export declare const CAPTURE_METHODS: readonly ['measured', 'estimated', 'authored', 'imported'];
20
+ export declare const RULE_ORIGINS: readonly ['capture', 'figma', 'manual', 'update-rule'];
21
+ export type RuleOrigin = (typeof RULE_ORIGINS)[number];
19
22
  export declare const COLOR_ROLES: readonly ['background', 'text', 'border', 'accent'];
20
23
  export declare const UNIT_SETTINGS: readonly ['smart', 'px', 'rem', 'both'];
21
24
  export type UnitSetting = (typeof UNIT_SETTINGS)[number];
@@ -162,8 +165,15 @@ export declare const metaSchema: z.ZodObject<{
162
165
  method: z.ZodEnum<{
163
166
  authored: "authored";
164
167
  estimated: "estimated";
168
+ imported: "imported";
165
169
  measured: "measured";
166
170
  }>;
171
+ origin: z.ZodOptional<z.ZodEnum<{
172
+ capture: "capture";
173
+ figma: "figma";
174
+ manual: "manual";
175
+ "update-rule": "update-rule";
176
+ }>>;
167
177
  extends: z.ZodOptional<z.ZodString>;
168
178
  }, z.core.$strip>;
169
179
  export type CaptureMeta = z.infer<typeof metaSchema>;
@@ -230,8 +240,15 @@ export declare const textTokenSchema: z.ZodObject<{
230
240
  method: z.ZodEnum<{
231
241
  authored: "authored";
232
242
  estimated: "estimated";
243
+ imported: "imported";
233
244
  measured: "measured";
234
245
  }>;
246
+ origin: z.ZodOptional<z.ZodEnum<{
247
+ capture: "capture";
248
+ figma: "figma";
249
+ manual: "manual";
250
+ "update-rule": "update-rule";
251
+ }>>;
235
252
  extends: z.ZodOptional<z.ZodString>;
236
253
  scope: z.ZodLiteral<"token">;
237
254
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -336,8 +353,15 @@ export declare const colorTokenSchema: z.ZodObject<{
336
353
  method: z.ZodEnum<{
337
354
  authored: "authored";
338
355
  estimated: "estimated";
356
+ imported: "imported";
339
357
  measured: "measured";
340
358
  }>;
359
+ origin: z.ZodOptional<z.ZodEnum<{
360
+ capture: "capture";
361
+ figma: "figma";
362
+ manual: "manual";
363
+ "update-rule": "update-rule";
364
+ }>>;
341
365
  extends: z.ZodOptional<z.ZodString>;
342
366
  scope: z.ZodLiteral<"token">;
343
367
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -373,8 +397,15 @@ export declare const colorSetSchema: z.ZodObject<{
373
397
  method: z.ZodEnum<{
374
398
  authored: "authored";
375
399
  estimated: "estimated";
400
+ imported: "imported";
376
401
  measured: "measured";
377
402
  }>;
403
+ origin: z.ZodOptional<z.ZodEnum<{
404
+ capture: "capture";
405
+ figma: "figma";
406
+ manual: "manual";
407
+ "update-rule": "update-rule";
408
+ }>>;
378
409
  extends: z.ZodOptional<z.ZodString>;
379
410
  scope: z.ZodLiteral<"token">;
380
411
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -414,8 +445,15 @@ export declare const spacingTokenSchema: z.ZodObject<{
414
445
  method: z.ZodEnum<{
415
446
  authored: "authored";
416
447
  estimated: "estimated";
448
+ imported: "imported";
417
449
  measured: "measured";
418
450
  }>;
451
+ origin: z.ZodOptional<z.ZodEnum<{
452
+ capture: "capture";
453
+ figma: "figma";
454
+ manual: "manual";
455
+ "update-rule": "update-rule";
456
+ }>>;
419
457
  extends: z.ZodOptional<z.ZodString>;
420
458
  scope: z.ZodLiteral<"token">;
421
459
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -462,8 +500,15 @@ export declare const spacingSetSchema: z.ZodObject<{
462
500
  method: z.ZodEnum<{
463
501
  authored: "authored";
464
502
  estimated: "estimated";
503
+ imported: "imported";
465
504
  measured: "measured";
466
505
  }>;
506
+ origin: z.ZodOptional<z.ZodEnum<{
507
+ capture: "capture";
508
+ figma: "figma";
509
+ manual: "manual";
510
+ "update-rule": "update-rule";
511
+ }>>;
467
512
  extends: z.ZodOptional<z.ZodString>;
468
513
  scope: z.ZodLiteral<"token">;
469
514
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -495,8 +540,15 @@ export declare const typographySystemSchema: z.ZodObject<{
495
540
  method: z.ZodEnum<{
496
541
  authored: "authored";
497
542
  estimated: "estimated";
543
+ imported: "imported";
498
544
  measured: "measured";
499
545
  }>;
546
+ origin: z.ZodOptional<z.ZodEnum<{
547
+ capture: "capture";
548
+ figma: "figma";
549
+ manual: "manual";
550
+ "update-rule": "update-rule";
551
+ }>>;
500
552
  extends: z.ZodOptional<z.ZodString>;
501
553
  scope: z.ZodLiteral<"system">;
502
554
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -595,8 +647,15 @@ export declare const colorSystemSchema: z.ZodObject<{
595
647
  method: z.ZodEnum<{
596
648
  authored: "authored";
597
649
  estimated: "estimated";
650
+ imported: "imported";
598
651
  measured: "measured";
599
652
  }>;
653
+ origin: z.ZodOptional<z.ZodEnum<{
654
+ capture: "capture";
655
+ figma: "figma";
656
+ manual: "manual";
657
+ "update-rule": "update-rule";
658
+ }>>;
600
659
  extends: z.ZodOptional<z.ZodString>;
601
660
  scope: z.ZodLiteral<"system">;
602
661
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -642,8 +701,15 @@ export declare const spacingSystemSchema: z.ZodObject<{
642
701
  method: z.ZodEnum<{
643
702
  authored: "authored";
644
703
  estimated: "estimated";
704
+ imported: "imported";
645
705
  measured: "measured";
646
706
  }>;
707
+ origin: z.ZodOptional<z.ZodEnum<{
708
+ capture: "capture";
709
+ figma: "figma";
710
+ manual: "manual";
711
+ "update-rule": "update-rule";
712
+ }>>;
647
713
  extends: z.ZodOptional<z.ZodString>;
648
714
  scope: z.ZodLiteral<"system">;
649
715
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -746,6 +812,10 @@ export type ComponentImage = z.infer<typeof componentImageSchema>;
746
812
  export declare const responsiveSchema: z.ZodObject<{
747
813
  widths: z.ZodArray<z.ZodNumber>;
748
814
  queries: z.ZodArray<z.ZodString>;
815
+ source: z.ZodOptional<z.ZodEnum<{
816
+ browser: "browser";
817
+ "figma-frame": "figma-frame";
818
+ }>>;
749
819
  changes: z.ZodArray<z.ZodObject<{
750
820
  part: z.ZodString;
751
821
  property: z.ZodString;
@@ -813,12 +883,19 @@ export declare const componentSchema: z.ZodObject<{
813
883
  method: z.ZodEnum<{
814
884
  authored: "authored";
815
885
  estimated: "estimated";
886
+ imported: "imported";
816
887
  measured: "measured";
817
888
  }>;
889
+ origin: z.ZodOptional<z.ZodEnum<{
890
+ capture: "capture";
891
+ figma: "figma";
892
+ manual: "manual";
893
+ "update-rule": "update-rule";
894
+ }>>;
818
895
  extends: z.ZodOptional<z.ZodString>;
819
896
  scope: z.ZodLiteral<"component">;
820
897
  type: z.ZodString;
821
- selector: z.ZodString;
898
+ selector: z.ZodOptional<z.ZodString>;
822
899
  }, z.core.$strip>;
823
900
  instructions: z.ZodOptional<z.ZodString>;
824
901
  tokens: z.ZodArray<z.ZodObject<{
@@ -1011,6 +1088,10 @@ export declare const componentSchema: z.ZodObject<{
1011
1088
  responsive: z.ZodOptional<z.ZodObject<{
1012
1089
  widths: z.ZodArray<z.ZodNumber>;
1013
1090
  queries: z.ZodArray<z.ZodString>;
1091
+ source: z.ZodOptional<z.ZodEnum<{
1092
+ browser: "browser";
1093
+ "figma-frame": "figma-frame";
1094
+ }>>;
1014
1095
  changes: z.ZodArray<z.ZodObject<{
1015
1096
  part: z.ZodString;
1016
1097
  property: z.ZodString;
@@ -1071,12 +1152,19 @@ export declare const sectionSchema: z.ZodObject<{
1071
1152
  method: z.ZodEnum<{
1072
1153
  authored: "authored";
1073
1154
  estimated: "estimated";
1155
+ imported: "imported";
1074
1156
  measured: "measured";
1075
1157
  }>;
1158
+ origin: z.ZodOptional<z.ZodEnum<{
1159
+ capture: "capture";
1160
+ figma: "figma";
1161
+ manual: "manual";
1162
+ "update-rule": "update-rule";
1163
+ }>>;
1076
1164
  extends: z.ZodOptional<z.ZodString>;
1077
1165
  scope: z.ZodLiteral<"section">;
1078
1166
  type: z.ZodString;
1079
- selector: z.ZodString;
1167
+ selector: z.ZodOptional<z.ZodString>;
1080
1168
  }, z.core.$strip>;
1081
1169
  instructions: z.ZodOptional<z.ZodString>;
1082
1170
  tokens: z.ZodArray<z.ZodObject<{
@@ -1191,6 +1279,10 @@ export declare const sectionSchema: z.ZodObject<{
1191
1279
  responsive: z.ZodOptional<z.ZodObject<{
1192
1280
  widths: z.ZodArray<z.ZodNumber>;
1193
1281
  queries: z.ZodArray<z.ZodString>;
1282
+ source: z.ZodOptional<z.ZodEnum<{
1283
+ browser: "browser";
1284
+ "figma-frame": "figma-frame";
1285
+ }>>;
1194
1286
  changes: z.ZodArray<z.ZodObject<{
1195
1287
  part: z.ZodString;
1196
1288
  property: z.ZodString;
@@ -1240,8 +1332,15 @@ export declare const pageSchema: z.ZodObject<{
1240
1332
  method: z.ZodEnum<{
1241
1333
  authored: "authored";
1242
1334
  estimated: "estimated";
1335
+ imported: "imported";
1243
1336
  measured: "measured";
1244
1337
  }>;
1338
+ origin: z.ZodOptional<z.ZodEnum<{
1339
+ capture: "capture";
1340
+ figma: "figma";
1341
+ manual: "manual";
1342
+ "update-rule": "update-rule";
1343
+ }>>;
1245
1344
  extends: z.ZodOptional<z.ZodString>;
1246
1345
  scope: z.ZodLiteral<"page">;
1247
1346
  type: z.ZodLiteral<"page">;
@@ -1256,8 +1355,15 @@ export declare const pageSchema: z.ZodObject<{
1256
1355
  method: z.ZodEnum<{
1257
1356
  authored: "authored";
1258
1357
  estimated: "estimated";
1358
+ imported: "imported";
1259
1359
  measured: "measured";
1260
1360
  }>;
1361
+ origin: z.ZodOptional<z.ZodEnum<{
1362
+ capture: "capture";
1363
+ figma: "figma";
1364
+ manual: "manual";
1365
+ "update-rule": "update-rule";
1366
+ }>>;
1261
1367
  extends: z.ZodOptional<z.ZodString>;
1262
1368
  scope: z.ZodLiteral<"system">;
1263
1369
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1356,8 +1462,15 @@ export declare const pageSchema: z.ZodObject<{
1356
1462
  method: z.ZodEnum<{
1357
1463
  authored: "authored";
1358
1464
  estimated: "estimated";
1465
+ imported: "imported";
1359
1466
  measured: "measured";
1360
1467
  }>;
1468
+ origin: z.ZodOptional<z.ZodEnum<{
1469
+ capture: "capture";
1470
+ figma: "figma";
1471
+ manual: "manual";
1472
+ "update-rule": "update-rule";
1473
+ }>>;
1361
1474
  extends: z.ZodOptional<z.ZodString>;
1362
1475
  scope: z.ZodLiteral<"system">;
1363
1476
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1403,8 +1516,15 @@ export declare const pageSchema: z.ZodObject<{
1403
1516
  method: z.ZodEnum<{
1404
1517
  authored: "authored";
1405
1518
  estimated: "estimated";
1519
+ imported: "imported";
1406
1520
  measured: "measured";
1407
1521
  }>;
1522
+ origin: z.ZodOptional<z.ZodEnum<{
1523
+ capture: "capture";
1524
+ figma: "figma";
1525
+ manual: "manual";
1526
+ "update-rule": "update-rule";
1527
+ }>>;
1408
1528
  extends: z.ZodOptional<z.ZodString>;
1409
1529
  scope: z.ZodLiteral<"system">;
1410
1530
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1466,12 +1586,19 @@ export declare const pageSchema: z.ZodObject<{
1466
1586
  method: z.ZodEnum<{
1467
1587
  authored: "authored";
1468
1588
  estimated: "estimated";
1589
+ imported: "imported";
1469
1590
  measured: "measured";
1470
1591
  }>;
1592
+ origin: z.ZodOptional<z.ZodEnum<{
1593
+ capture: "capture";
1594
+ figma: "figma";
1595
+ manual: "manual";
1596
+ "update-rule": "update-rule";
1597
+ }>>;
1471
1598
  extends: z.ZodOptional<z.ZodString>;
1472
1599
  scope: z.ZodLiteral<"component">;
1473
1600
  type: z.ZodString;
1474
- selector: z.ZodString;
1601
+ selector: z.ZodOptional<z.ZodString>;
1475
1602
  }, z.core.$strip>;
1476
1603
  instructions: z.ZodOptional<z.ZodString>;
1477
1604
  tokens: z.ZodArray<z.ZodObject<{
@@ -1664,6 +1791,10 @@ export declare const pageSchema: z.ZodObject<{
1664
1791
  responsive: z.ZodOptional<z.ZodObject<{
1665
1792
  widths: z.ZodArray<z.ZodNumber>;
1666
1793
  queries: z.ZodArray<z.ZodString>;
1794
+ source: z.ZodOptional<z.ZodEnum<{
1795
+ browser: "browser";
1796
+ "figma-frame": "figma-frame";
1797
+ }>>;
1667
1798
  changes: z.ZodArray<z.ZodObject<{
1668
1799
  part: z.ZodString;
1669
1800
  property: z.ZodString;
@@ -1732,8 +1863,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
1732
1863
  method: z.ZodEnum<{
1733
1864
  authored: "authored";
1734
1865
  estimated: "estimated";
1866
+ imported: "imported";
1735
1867
  measured: "measured";
1736
1868
  }>;
1869
+ origin: z.ZodOptional<z.ZodEnum<{
1870
+ capture: "capture";
1871
+ figma: "figma";
1872
+ manual: "manual";
1873
+ "update-rule": "update-rule";
1874
+ }>>;
1737
1875
  extends: z.ZodOptional<z.ZodString>;
1738
1876
  scope: z.ZodLiteral<"token">;
1739
1877
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1837,8 +1975,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
1837
1975
  method: z.ZodEnum<{
1838
1976
  authored: "authored";
1839
1977
  estimated: "estimated";
1978
+ imported: "imported";
1840
1979
  measured: "measured";
1841
1980
  }>;
1981
+ origin: z.ZodOptional<z.ZodEnum<{
1982
+ capture: "capture";
1983
+ figma: "figma";
1984
+ manual: "manual";
1985
+ "update-rule": "update-rule";
1986
+ }>>;
1842
1987
  extends: z.ZodOptional<z.ZodString>;
1843
1988
  scope: z.ZodLiteral<"token">;
1844
1989
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1869,8 +2014,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
1869
2014
  method: z.ZodEnum<{
1870
2015
  authored: "authored";
1871
2016
  estimated: "estimated";
2017
+ imported: "imported";
1872
2018
  measured: "measured";
1873
2019
  }>;
2020
+ origin: z.ZodOptional<z.ZodEnum<{
2021
+ capture: "capture";
2022
+ figma: "figma";
2023
+ manual: "manual";
2024
+ "update-rule": "update-rule";
2025
+ }>>;
1874
2026
  extends: z.ZodOptional<z.ZodString>;
1875
2027
  scope: z.ZodLiteral<"token">;
1876
2028
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1907,8 +2059,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
1907
2059
  method: z.ZodEnum<{
1908
2060
  authored: "authored";
1909
2061
  estimated: "estimated";
2062
+ imported: "imported";
1910
2063
  measured: "measured";
1911
2064
  }>;
2065
+ origin: z.ZodOptional<z.ZodEnum<{
2066
+ capture: "capture";
2067
+ figma: "figma";
2068
+ manual: "manual";
2069
+ "update-rule": "update-rule";
2070
+ }>>;
1912
2071
  extends: z.ZodOptional<z.ZodString>;
1913
2072
  scope: z.ZodLiteral<"token">;
1914
2073
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1950,8 +2109,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
1950
2109
  method: z.ZodEnum<{
1951
2110
  authored: "authored";
1952
2111
  estimated: "estimated";
2112
+ imported: "imported";
1953
2113
  measured: "measured";
1954
2114
  }>;
2115
+ origin: z.ZodOptional<z.ZodEnum<{
2116
+ capture: "capture";
2117
+ figma: "figma";
2118
+ manual: "manual";
2119
+ "update-rule": "update-rule";
2120
+ }>>;
1955
2121
  extends: z.ZodOptional<z.ZodString>;
1956
2122
  scope: z.ZodLiteral<"token">;
1957
2123
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1982,8 +2148,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
1982
2148
  method: z.ZodEnum<{
1983
2149
  authored: "authored";
1984
2150
  estimated: "estimated";
2151
+ imported: "imported";
1985
2152
  measured: "measured";
1986
2153
  }>;
2154
+ origin: z.ZodOptional<z.ZodEnum<{
2155
+ capture: "capture";
2156
+ figma: "figma";
2157
+ manual: "manual";
2158
+ "update-rule": "update-rule";
2159
+ }>>;
1987
2160
  extends: z.ZodOptional<z.ZodString>;
1988
2161
  scope: z.ZodLiteral<"system">;
1989
2162
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2081,8 +2254,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2081
2254
  method: z.ZodEnum<{
2082
2255
  authored: "authored";
2083
2256
  estimated: "estimated";
2257
+ imported: "imported";
2084
2258
  measured: "measured";
2085
2259
  }>;
2260
+ origin: z.ZodOptional<z.ZodEnum<{
2261
+ capture: "capture";
2262
+ figma: "figma";
2263
+ manual: "manual";
2264
+ "update-rule": "update-rule";
2265
+ }>>;
2086
2266
  extends: z.ZodOptional<z.ZodString>;
2087
2267
  scope: z.ZodLiteral<"system">;
2088
2268
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2127,8 +2307,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2127
2307
  method: z.ZodEnum<{
2128
2308
  authored: "authored";
2129
2309
  estimated: "estimated";
2310
+ imported: "imported";
2130
2311
  measured: "measured";
2131
2312
  }>;
2313
+ origin: z.ZodOptional<z.ZodEnum<{
2314
+ capture: "capture";
2315
+ figma: "figma";
2316
+ manual: "manual";
2317
+ "update-rule": "update-rule";
2318
+ }>>;
2132
2319
  extends: z.ZodOptional<z.ZodString>;
2133
2320
  scope: z.ZodLiteral<"system">;
2134
2321
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2172,12 +2359,19 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2172
2359
  method: z.ZodEnum<{
2173
2360
  authored: "authored";
2174
2361
  estimated: "estimated";
2362
+ imported: "imported";
2175
2363
  measured: "measured";
2176
2364
  }>;
2365
+ origin: z.ZodOptional<z.ZodEnum<{
2366
+ capture: "capture";
2367
+ figma: "figma";
2368
+ manual: "manual";
2369
+ "update-rule": "update-rule";
2370
+ }>>;
2177
2371
  extends: z.ZodOptional<z.ZodString>;
2178
2372
  scope: z.ZodLiteral<"component">;
2179
2373
  type: z.ZodString;
2180
- selector: z.ZodString;
2374
+ selector: z.ZodOptional<z.ZodString>;
2181
2375
  }, z.core.$strip>;
2182
2376
  instructions: z.ZodOptional<z.ZodString>;
2183
2377
  tokens: z.ZodArray<z.ZodObject<{
@@ -2370,6 +2564,10 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2370
2564
  responsive: z.ZodOptional<z.ZodObject<{
2371
2565
  widths: z.ZodArray<z.ZodNumber>;
2372
2566
  queries: z.ZodArray<z.ZodString>;
2567
+ source: z.ZodOptional<z.ZodEnum<{
2568
+ browser: "browser";
2569
+ "figma-frame": "figma-frame";
2570
+ }>>;
2373
2571
  changes: z.ZodArray<z.ZodObject<{
2374
2572
  part: z.ZodString;
2375
2573
  property: z.ZodString;
@@ -2422,12 +2620,19 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2422
2620
  method: z.ZodEnum<{
2423
2621
  authored: "authored";
2424
2622
  estimated: "estimated";
2623
+ imported: "imported";
2425
2624
  measured: "measured";
2426
2625
  }>;
2626
+ origin: z.ZodOptional<z.ZodEnum<{
2627
+ capture: "capture";
2628
+ figma: "figma";
2629
+ manual: "manual";
2630
+ "update-rule": "update-rule";
2631
+ }>>;
2427
2632
  extends: z.ZodOptional<z.ZodString>;
2428
2633
  scope: z.ZodLiteral<"section">;
2429
2634
  type: z.ZodString;
2430
- selector: z.ZodString;
2635
+ selector: z.ZodOptional<z.ZodString>;
2431
2636
  }, z.core.$strip>;
2432
2637
  instructions: z.ZodOptional<z.ZodString>;
2433
2638
  tokens: z.ZodArray<z.ZodObject<{
@@ -2542,6 +2747,10 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2542
2747
  responsive: z.ZodOptional<z.ZodObject<{
2543
2748
  widths: z.ZodArray<z.ZodNumber>;
2544
2749
  queries: z.ZodArray<z.ZodString>;
2750
+ source: z.ZodOptional<z.ZodEnum<{
2751
+ browser: "browser";
2752
+ "figma-frame": "figma-frame";
2753
+ }>>;
2545
2754
  changes: z.ZodArray<z.ZodObject<{
2546
2755
  part: z.ZodString;
2547
2756
  property: z.ZodString;
@@ -2565,8 +2774,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2565
2774
  method: z.ZodEnum<{
2566
2775
  authored: "authored";
2567
2776
  estimated: "estimated";
2777
+ imported: "imported";
2568
2778
  measured: "measured";
2569
2779
  }>;
2780
+ origin: z.ZodOptional<z.ZodEnum<{
2781
+ capture: "capture";
2782
+ figma: "figma";
2783
+ manual: "manual";
2784
+ "update-rule": "update-rule";
2785
+ }>>;
2570
2786
  extends: z.ZodOptional<z.ZodString>;
2571
2787
  scope: z.ZodLiteral<"page">;
2572
2788
  type: z.ZodLiteral<"page">;
@@ -2581,8 +2797,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2581
2797
  method: z.ZodEnum<{
2582
2798
  authored: "authored";
2583
2799
  estimated: "estimated";
2800
+ imported: "imported";
2584
2801
  measured: "measured";
2585
2802
  }>;
2803
+ origin: z.ZodOptional<z.ZodEnum<{
2804
+ capture: "capture";
2805
+ figma: "figma";
2806
+ manual: "manual";
2807
+ "update-rule": "update-rule";
2808
+ }>>;
2586
2809
  extends: z.ZodOptional<z.ZodString>;
2587
2810
  scope: z.ZodLiteral<"system">;
2588
2811
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2681,8 +2904,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2681
2904
  method: z.ZodEnum<{
2682
2905
  authored: "authored";
2683
2906
  estimated: "estimated";
2907
+ imported: "imported";
2684
2908
  measured: "measured";
2685
2909
  }>;
2910
+ origin: z.ZodOptional<z.ZodEnum<{
2911
+ capture: "capture";
2912
+ figma: "figma";
2913
+ manual: "manual";
2914
+ "update-rule": "update-rule";
2915
+ }>>;
2686
2916
  extends: z.ZodOptional<z.ZodString>;
2687
2917
  scope: z.ZodLiteral<"system">;
2688
2918
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2728,8 +2958,15 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2728
2958
  method: z.ZodEnum<{
2729
2959
  authored: "authored";
2730
2960
  estimated: "estimated";
2961
+ imported: "imported";
2731
2962
  measured: "measured";
2732
2963
  }>;
2964
+ origin: z.ZodOptional<z.ZodEnum<{
2965
+ capture: "capture";
2966
+ figma: "figma";
2967
+ manual: "manual";
2968
+ "update-rule": "update-rule";
2969
+ }>>;
2733
2970
  extends: z.ZodOptional<z.ZodString>;
2734
2971
  scope: z.ZodLiteral<"system">;
2735
2972
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2791,12 +3028,19 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2791
3028
  method: z.ZodEnum<{
2792
3029
  authored: "authored";
2793
3030
  estimated: "estimated";
3031
+ imported: "imported";
2794
3032
  measured: "measured";
2795
3033
  }>;
3034
+ origin: z.ZodOptional<z.ZodEnum<{
3035
+ capture: "capture";
3036
+ figma: "figma";
3037
+ manual: "manual";
3038
+ "update-rule": "update-rule";
3039
+ }>>;
2796
3040
  extends: z.ZodOptional<z.ZodString>;
2797
3041
  scope: z.ZodLiteral<"component">;
2798
3042
  type: z.ZodString;
2799
- selector: z.ZodString;
3043
+ selector: z.ZodOptional<z.ZodString>;
2800
3044
  }, z.core.$strip>;
2801
3045
  instructions: z.ZodOptional<z.ZodString>;
2802
3046
  tokens: z.ZodArray<z.ZodObject<{
@@ -2989,6 +3233,10 @@ export declare const captureSchema: z.ZodUnion<readonly [z.ZodObject<{
2989
3233
  responsive: z.ZodOptional<z.ZodObject<{
2990
3234
  widths: z.ZodArray<z.ZodNumber>;
2991
3235
  queries: z.ZodArray<z.ZodString>;
3236
+ source: z.ZodOptional<z.ZodEnum<{
3237
+ browser: "browser";
3238
+ "figma-frame": "figma-frame";
3239
+ }>>;
2992
3240
  changes: z.ZodArray<z.ZodObject<{
2993
3241
  part: z.ZodString;
2994
3242
  property: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/capture/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,YAAI,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,CAAU,CAAC;AACzG,eAAO,MAAM,WAAW,YAAI,MAAM,EAAE,OAAO,EAAE,SAAS,C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