@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
@@ -19,8 +19,15 @@ export declare const basketItemSchema: z.ZodObject<{
19
19
  method: z.ZodEnum<{
20
20
  authored: "authored";
21
21
  estimated: "estimated";
22
+ imported: "imported";
22
23
  measured: "measured";
23
24
  }>;
25
+ origin: z.ZodOptional<z.ZodEnum<{
26
+ capture: "capture";
27
+ figma: "figma";
28
+ manual: "manual";
29
+ "update-rule": "update-rule";
30
+ }>>;
24
31
  extends: z.ZodOptional<z.ZodString>;
25
32
  scope: z.ZodLiteral<"token">;
26
33
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -124,8 +131,15 @@ export declare const basketItemSchema: z.ZodObject<{
124
131
  method: z.ZodEnum<{
125
132
  authored: "authored";
126
133
  estimated: "estimated";
134
+ imported: "imported";
127
135
  measured: "measured";
128
136
  }>;
137
+ origin: z.ZodOptional<z.ZodEnum<{
138
+ capture: "capture";
139
+ figma: "figma";
140
+ manual: "manual";
141
+ "update-rule": "update-rule";
142
+ }>>;
129
143
  extends: z.ZodOptional<z.ZodString>;
130
144
  scope: z.ZodLiteral<"token">;
131
145
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -156,8 +170,15 @@ export declare const basketItemSchema: z.ZodObject<{
156
170
  method: z.ZodEnum<{
157
171
  authored: "authored";
158
172
  estimated: "estimated";
173
+ imported: "imported";
159
174
  measured: "measured";
160
175
  }>;
176
+ origin: z.ZodOptional<z.ZodEnum<{
177
+ capture: "capture";
178
+ figma: "figma";
179
+ manual: "manual";
180
+ "update-rule": "update-rule";
181
+ }>>;
161
182
  extends: z.ZodOptional<z.ZodString>;
162
183
  scope: z.ZodLiteral<"token">;
163
184
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -194,8 +215,15 @@ export declare const basketItemSchema: z.ZodObject<{
194
215
  method: z.ZodEnum<{
195
216
  authored: "authored";
196
217
  estimated: "estimated";
218
+ imported: "imported";
197
219
  measured: "measured";
198
220
  }>;
221
+ origin: z.ZodOptional<z.ZodEnum<{
222
+ capture: "capture";
223
+ figma: "figma";
224
+ manual: "manual";
225
+ "update-rule": "update-rule";
226
+ }>>;
199
227
  extends: z.ZodOptional<z.ZodString>;
200
228
  scope: z.ZodLiteral<"token">;
201
229
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -237,8 +265,15 @@ export declare const basketItemSchema: z.ZodObject<{
237
265
  method: z.ZodEnum<{
238
266
  authored: "authored";
239
267
  estimated: "estimated";
268
+ imported: "imported";
240
269
  measured: "measured";
241
270
  }>;
271
+ origin: z.ZodOptional<z.ZodEnum<{
272
+ capture: "capture";
273
+ figma: "figma";
274
+ manual: "manual";
275
+ "update-rule": "update-rule";
276
+ }>>;
242
277
  extends: z.ZodOptional<z.ZodString>;
243
278
  scope: z.ZodLiteral<"token">;
244
279
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -269,8 +304,15 @@ export declare const basketItemSchema: z.ZodObject<{
269
304
  method: z.ZodEnum<{
270
305
  authored: "authored";
271
306
  estimated: "estimated";
307
+ imported: "imported";
272
308
  measured: "measured";
273
309
  }>;
310
+ origin: z.ZodOptional<z.ZodEnum<{
311
+ capture: "capture";
312
+ figma: "figma";
313
+ manual: "manual";
314
+ "update-rule": "update-rule";
315
+ }>>;
274
316
  extends: z.ZodOptional<z.ZodString>;
275
317
  scope: z.ZodLiteral<"system">;
276
318
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -368,8 +410,15 @@ export declare const basketItemSchema: z.ZodObject<{
368
410
  method: z.ZodEnum<{
369
411
  authored: "authored";
370
412
  estimated: "estimated";
413
+ imported: "imported";
371
414
  measured: "measured";
372
415
  }>;
416
+ origin: z.ZodOptional<z.ZodEnum<{
417
+ capture: "capture";
418
+ figma: "figma";
419
+ manual: "manual";
420
+ "update-rule": "update-rule";
421
+ }>>;
373
422
  extends: z.ZodOptional<z.ZodString>;
374
423
  scope: z.ZodLiteral<"system">;
375
424
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -414,8 +463,15 @@ export declare const basketItemSchema: z.ZodObject<{
414
463
  method: z.ZodEnum<{
415
464
  authored: "authored";
416
465
  estimated: "estimated";
466
+ imported: "imported";
417
467
  measured: "measured";
418
468
  }>;
469
+ origin: z.ZodOptional<z.ZodEnum<{
470
+ capture: "capture";
471
+ figma: "figma";
472
+ manual: "manual";
473
+ "update-rule": "update-rule";
474
+ }>>;
419
475
  extends: z.ZodOptional<z.ZodString>;
420
476
  scope: z.ZodLiteral<"system">;
421
477
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -459,12 +515,19 @@ export declare const basketItemSchema: z.ZodObject<{
459
515
  method: z.ZodEnum<{
460
516
  authored: "authored";
461
517
  estimated: "estimated";
518
+ imported: "imported";
462
519
  measured: "measured";
463
520
  }>;
521
+ origin: z.ZodOptional<z.ZodEnum<{
522
+ capture: "capture";
523
+ figma: "figma";
524
+ manual: "manual";
525
+ "update-rule": "update-rule";
526
+ }>>;
464
527
  extends: z.ZodOptional<z.ZodString>;
465
528
  scope: z.ZodLiteral<"component">;
466
529
  type: z.ZodString;
467
- selector: z.ZodString;
530
+ selector: z.ZodOptional<z.ZodString>;
468
531
  }, z.core.$strip>;
469
532
  instructions: z.ZodOptional<z.ZodString>;
470
533
  tokens: z.ZodArray<z.ZodObject<{
@@ -657,6 +720,10 @@ export declare const basketItemSchema: z.ZodObject<{
657
720
  responsive: z.ZodOptional<z.ZodObject<{
658
721
  widths: z.ZodArray<z.ZodNumber>;
659
722
  queries: z.ZodArray<z.ZodString>;
723
+ source: z.ZodOptional<z.ZodEnum<{
724
+ browser: "browser";
725
+ "figma-frame": "figma-frame";
726
+ }>>;
660
727
  changes: z.ZodArray<z.ZodObject<{
661
728
  part: z.ZodString;
662
729
  property: z.ZodString;
@@ -709,12 +776,19 @@ export declare const basketItemSchema: z.ZodObject<{
709
776
  method: z.ZodEnum<{
710
777
  authored: "authored";
711
778
  estimated: "estimated";
779
+ imported: "imported";
712
780
  measured: "measured";
713
781
  }>;
782
+ origin: z.ZodOptional<z.ZodEnum<{
783
+ capture: "capture";
784
+ figma: "figma";
785
+ manual: "manual";
786
+ "update-rule": "update-rule";
787
+ }>>;
714
788
  extends: z.ZodOptional<z.ZodString>;
715
789
  scope: z.ZodLiteral<"section">;
716
790
  type: z.ZodString;
717
- selector: z.ZodString;
791
+ selector: z.ZodOptional<z.ZodString>;
718
792
  }, z.core.$strip>;
719
793
  instructions: z.ZodOptional<z.ZodString>;
720
794
  tokens: z.ZodArray<z.ZodObject<{
@@ -829,6 +903,10 @@ export declare const basketItemSchema: z.ZodObject<{
829
903
  responsive: z.ZodOptional<z.ZodObject<{
830
904
  widths: z.ZodArray<z.ZodNumber>;
831
905
  queries: z.ZodArray<z.ZodString>;
906
+ source: z.ZodOptional<z.ZodEnum<{
907
+ browser: "browser";
908
+ "figma-frame": "figma-frame";
909
+ }>>;
832
910
  changes: z.ZodArray<z.ZodObject<{
833
911
  part: z.ZodString;
834
912
  property: z.ZodString;
@@ -852,8 +930,15 @@ export declare const basketItemSchema: z.ZodObject<{
852
930
  method: z.ZodEnum<{
853
931
  authored: "authored";
854
932
  estimated: "estimated";
933
+ imported: "imported";
855
934
  measured: "measured";
856
935
  }>;
936
+ origin: z.ZodOptional<z.ZodEnum<{
937
+ capture: "capture";
938
+ figma: "figma";
939
+ manual: "manual";
940
+ "update-rule": "update-rule";
941
+ }>>;
857
942
  extends: z.ZodOptional<z.ZodString>;
858
943
  scope: z.ZodLiteral<"page">;
859
944
  type: z.ZodLiteral<"page">;
@@ -868,8 +953,15 @@ export declare const basketItemSchema: z.ZodObject<{
868
953
  method: z.ZodEnum<{
869
954
  authored: "authored";
870
955
  estimated: "estimated";
956
+ imported: "imported";
871
957
  measured: "measured";
872
958
  }>;
959
+ origin: z.ZodOptional<z.ZodEnum<{
960
+ capture: "capture";
961
+ figma: "figma";
962
+ manual: "manual";
963
+ "update-rule": "update-rule";
964
+ }>>;
873
965
  extends: z.ZodOptional<z.ZodString>;
874
966
  scope: z.ZodLiteral<"system">;
875
967
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -968,8 +1060,15 @@ export declare const basketItemSchema: z.ZodObject<{
968
1060
  method: z.ZodEnum<{
969
1061
  authored: "authored";
970
1062
  estimated: "estimated";
1063
+ imported: "imported";
971
1064
  measured: "measured";
972
1065
  }>;
1066
+ origin: z.ZodOptional<z.ZodEnum<{
1067
+ capture: "capture";
1068
+ figma: "figma";
1069
+ manual: "manual";
1070
+ "update-rule": "update-rule";
1071
+ }>>;
973
1072
  extends: z.ZodOptional<z.ZodString>;
974
1073
  scope: z.ZodLiteral<"system">;
975
1074
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1015,8 +1114,15 @@ export declare const basketItemSchema: z.ZodObject<{
1015
1114
  method: z.ZodEnum<{
1016
1115
  authored: "authored";
1017
1116
  estimated: "estimated";
1117
+ imported: "imported";
1018
1118
  measured: "measured";
1019
1119
  }>;
1120
+ origin: z.ZodOptional<z.ZodEnum<{
1121
+ capture: "capture";
1122
+ figma: "figma";
1123
+ manual: "manual";
1124
+ "update-rule": "update-rule";
1125
+ }>>;
1020
1126
  extends: z.ZodOptional<z.ZodString>;
1021
1127
  scope: z.ZodLiteral<"system">;
1022
1128
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1078,12 +1184,19 @@ export declare const basketItemSchema: z.ZodObject<{
1078
1184
  method: z.ZodEnum<{
1079
1185
  authored: "authored";
1080
1186
  estimated: "estimated";
1187
+ imported: "imported";
1081
1188
  measured: "measured";
1082
1189
  }>;
1190
+ origin: z.ZodOptional<z.ZodEnum<{
1191
+ capture: "capture";
1192
+ figma: "figma";
1193
+ manual: "manual";
1194
+ "update-rule": "update-rule";
1195
+ }>>;
1083
1196
  extends: z.ZodOptional<z.ZodString>;
1084
1197
  scope: z.ZodLiteral<"component">;
1085
1198
  type: z.ZodString;
1086
- selector: z.ZodString;
1199
+ selector: z.ZodOptional<z.ZodString>;
1087
1200
  }, z.core.$strip>;
1088
1201
  instructions: z.ZodOptional<z.ZodString>;
1089
1202
  tokens: z.ZodArray<z.ZodObject<{
@@ -1276,6 +1389,10 @@ export declare const basketItemSchema: z.ZodObject<{
1276
1389
  responsive: z.ZodOptional<z.ZodObject<{
1277
1390
  widths: z.ZodArray<z.ZodNumber>;
1278
1391
  queries: z.ZodArray<z.ZodString>;
1392
+ source: z.ZodOptional<z.ZodEnum<{
1393
+ browser: "browser";
1394
+ "figma-frame": "figma-frame";
1395
+ }>>;
1279
1396
  changes: z.ZodArray<z.ZodObject<{
1280
1397
  part: z.ZodString;
1281
1398
  property: z.ZodString;
@@ -1353,8 +1470,15 @@ export declare const collectionSchema: z.ZodObject<{
1353
1470
  method: z.ZodEnum<{
1354
1471
  authored: "authored";
1355
1472
  estimated: "estimated";
1473
+ imported: "imported";
1356
1474
  measured: "measured";
1357
1475
  }>;
1476
+ origin: z.ZodOptional<z.ZodEnum<{
1477
+ capture: "capture";
1478
+ figma: "figma";
1479
+ manual: "manual";
1480
+ "update-rule": "update-rule";
1481
+ }>>;
1358
1482
  extends: z.ZodOptional<z.ZodString>;
1359
1483
  scope: z.ZodLiteral<"token">;
1360
1484
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1458,8 +1582,15 @@ export declare const collectionSchema: z.ZodObject<{
1458
1582
  method: z.ZodEnum<{
1459
1583
  authored: "authored";
1460
1584
  estimated: "estimated";
1585
+ imported: "imported";
1461
1586
  measured: "measured";
1462
1587
  }>;
1588
+ origin: z.ZodOptional<z.ZodEnum<{
1589
+ capture: "capture";
1590
+ figma: "figma";
1591
+ manual: "manual";
1592
+ "update-rule": "update-rule";
1593
+ }>>;
1463
1594
  extends: z.ZodOptional<z.ZodString>;
1464
1595
  scope: z.ZodLiteral<"token">;
1465
1596
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1490,8 +1621,15 @@ export declare const collectionSchema: z.ZodObject<{
1490
1621
  method: z.ZodEnum<{
1491
1622
  authored: "authored";
1492
1623
  estimated: "estimated";
1624
+ imported: "imported";
1493
1625
  measured: "measured";
1494
1626
  }>;
1627
+ origin: z.ZodOptional<z.ZodEnum<{
1628
+ capture: "capture";
1629
+ figma: "figma";
1630
+ manual: "manual";
1631
+ "update-rule": "update-rule";
1632
+ }>>;
1495
1633
  extends: z.ZodOptional<z.ZodString>;
1496
1634
  scope: z.ZodLiteral<"token">;
1497
1635
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1528,8 +1666,15 @@ export declare const collectionSchema: z.ZodObject<{
1528
1666
  method: z.ZodEnum<{
1529
1667
  authored: "authored";
1530
1668
  estimated: "estimated";
1669
+ imported: "imported";
1531
1670
  measured: "measured";
1532
1671
  }>;
1672
+ origin: z.ZodOptional<z.ZodEnum<{
1673
+ capture: "capture";
1674
+ figma: "figma";
1675
+ manual: "manual";
1676
+ "update-rule": "update-rule";
1677
+ }>>;
1533
1678
  extends: z.ZodOptional<z.ZodString>;
1534
1679
  scope: z.ZodLiteral<"token">;
1535
1680
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1571,8 +1716,15 @@ export declare const collectionSchema: z.ZodObject<{
1571
1716
  method: z.ZodEnum<{
1572
1717
  authored: "authored";
1573
1718
  estimated: "estimated";
1719
+ imported: "imported";
1574
1720
  measured: "measured";
1575
1721
  }>;
1722
+ origin: z.ZodOptional<z.ZodEnum<{
1723
+ capture: "capture";
1724
+ figma: "figma";
1725
+ manual: "manual";
1726
+ "update-rule": "update-rule";
1727
+ }>>;
1576
1728
  extends: z.ZodOptional<z.ZodString>;
1577
1729
  scope: z.ZodLiteral<"token">;
1578
1730
  type: z.ZodLiteral<"color" | "spacing" | "text">;
@@ -1603,8 +1755,15 @@ export declare const collectionSchema: z.ZodObject<{
1603
1755
  method: z.ZodEnum<{
1604
1756
  authored: "authored";
1605
1757
  estimated: "estimated";
1758
+ imported: "imported";
1606
1759
  measured: "measured";
1607
1760
  }>;
1761
+ origin: z.ZodOptional<z.ZodEnum<{
1762
+ capture: "capture";
1763
+ figma: "figma";
1764
+ manual: "manual";
1765
+ "update-rule": "update-rule";
1766
+ }>>;
1608
1767
  extends: z.ZodOptional<z.ZodString>;
1609
1768
  scope: z.ZodLiteral<"system">;
1610
1769
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1702,8 +1861,15 @@ export declare const collectionSchema: z.ZodObject<{
1702
1861
  method: z.ZodEnum<{
1703
1862
  authored: "authored";
1704
1863
  estimated: "estimated";
1864
+ imported: "imported";
1705
1865
  measured: "measured";
1706
1866
  }>;
1867
+ origin: z.ZodOptional<z.ZodEnum<{
1868
+ capture: "capture";
1869
+ figma: "figma";
1870
+ manual: "manual";
1871
+ "update-rule": "update-rule";
1872
+ }>>;
1707
1873
  extends: z.ZodOptional<z.ZodString>;
1708
1874
  scope: z.ZodLiteral<"system">;
1709
1875
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1748,8 +1914,15 @@ export declare const collectionSchema: z.ZodObject<{
1748
1914
  method: z.ZodEnum<{
1749
1915
  authored: "authored";
1750
1916
  estimated: "estimated";
1917
+ imported: "imported";
1751
1918
  measured: "measured";
1752
1919
  }>;
1920
+ origin: z.ZodOptional<z.ZodEnum<{
1921
+ capture: "capture";
1922
+ figma: "figma";
1923
+ manual: "manual";
1924
+ "update-rule": "update-rule";
1925
+ }>>;
1753
1926
  extends: z.ZodOptional<z.ZodString>;
1754
1927
  scope: z.ZodLiteral<"system">;
1755
1928
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -1793,12 +1966,19 @@ export declare const collectionSchema: z.ZodObject<{
1793
1966
  method: z.ZodEnum<{
1794
1967
  authored: "authored";
1795
1968
  estimated: "estimated";
1969
+ imported: "imported";
1796
1970
  measured: "measured";
1797
1971
  }>;
1972
+ origin: z.ZodOptional<z.ZodEnum<{
1973
+ capture: "capture";
1974
+ figma: "figma";
1975
+ manual: "manual";
1976
+ "update-rule": "update-rule";
1977
+ }>>;
1798
1978
  extends: z.ZodOptional<z.ZodString>;
1799
1979
  scope: z.ZodLiteral<"component">;
1800
1980
  type: z.ZodString;
1801
- selector: z.ZodString;
1981
+ selector: z.ZodOptional<z.ZodString>;
1802
1982
  }, z.core.$strip>;
1803
1983
  instructions: z.ZodOptional<z.ZodString>;
1804
1984
  tokens: z.ZodArray<z.ZodObject<{
@@ -1991,6 +2171,10 @@ export declare const collectionSchema: z.ZodObject<{
1991
2171
  responsive: z.ZodOptional<z.ZodObject<{
1992
2172
  widths: z.ZodArray<z.ZodNumber>;
1993
2173
  queries: z.ZodArray<z.ZodString>;
2174
+ source: z.ZodOptional<z.ZodEnum<{
2175
+ browser: "browser";
2176
+ "figma-frame": "figma-frame";
2177
+ }>>;
1994
2178
  changes: z.ZodArray<z.ZodObject<{
1995
2179
  part: z.ZodString;
1996
2180
  property: z.ZodString;
@@ -2043,12 +2227,19 @@ export declare const collectionSchema: z.ZodObject<{
2043
2227
  method: z.ZodEnum<{
2044
2228
  authored: "authored";
2045
2229
  estimated: "estimated";
2230
+ imported: "imported";
2046
2231
  measured: "measured";
2047
2232
  }>;
2233
+ origin: z.ZodOptional<z.ZodEnum<{
2234
+ capture: "capture";
2235
+ figma: "figma";
2236
+ manual: "manual";
2237
+ "update-rule": "update-rule";
2238
+ }>>;
2048
2239
  extends: z.ZodOptional<z.ZodString>;
2049
2240
  scope: z.ZodLiteral<"section">;
2050
2241
  type: z.ZodString;
2051
- selector: z.ZodString;
2242
+ selector: z.ZodOptional<z.ZodString>;
2052
2243
  }, z.core.$strip>;
2053
2244
  instructions: z.ZodOptional<z.ZodString>;
2054
2245
  tokens: z.ZodArray<z.ZodObject<{
@@ -2163,6 +2354,10 @@ export declare const collectionSchema: z.ZodObject<{
2163
2354
  responsive: z.ZodOptional<z.ZodObject<{
2164
2355
  widths: z.ZodArray<z.ZodNumber>;
2165
2356
  queries: z.ZodArray<z.ZodString>;
2357
+ source: z.ZodOptional<z.ZodEnum<{
2358
+ browser: "browser";
2359
+ "figma-frame": "figma-frame";
2360
+ }>>;
2166
2361
  changes: z.ZodArray<z.ZodObject<{
2167
2362
  part: z.ZodString;
2168
2363
  property: z.ZodString;
@@ -2186,8 +2381,15 @@ export declare const collectionSchema: z.ZodObject<{
2186
2381
  method: z.ZodEnum<{
2187
2382
  authored: "authored";
2188
2383
  estimated: "estimated";
2384
+ imported: "imported";
2189
2385
  measured: "measured";
2190
2386
  }>;
2387
+ origin: z.ZodOptional<z.ZodEnum<{
2388
+ capture: "capture";
2389
+ figma: "figma";
2390
+ manual: "manual";
2391
+ "update-rule": "update-rule";
2392
+ }>>;
2191
2393
  extends: z.ZodOptional<z.ZodString>;
2192
2394
  scope: z.ZodLiteral<"page">;
2193
2395
  type: z.ZodLiteral<"page">;
@@ -2202,8 +2404,15 @@ export declare const collectionSchema: z.ZodObject<{
2202
2404
  method: z.ZodEnum<{
2203
2405
  authored: "authored";
2204
2406
  estimated: "estimated";
2407
+ imported: "imported";
2205
2408
  measured: "measured";
2206
2409
  }>;
2410
+ origin: z.ZodOptional<z.ZodEnum<{
2411
+ capture: "capture";
2412
+ figma: "figma";
2413
+ manual: "manual";
2414
+ "update-rule": "update-rule";
2415
+ }>>;
2207
2416
  extends: z.ZodOptional<z.ZodString>;
2208
2417
  scope: z.ZodLiteral<"system">;
2209
2418
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2302,8 +2511,15 @@ export declare const collectionSchema: z.ZodObject<{
2302
2511
  method: z.ZodEnum<{
2303
2512
  authored: "authored";
2304
2513
  estimated: "estimated";
2514
+ imported: "imported";
2305
2515
  measured: "measured";
2306
2516
  }>;
2517
+ origin: z.ZodOptional<z.ZodEnum<{
2518
+ capture: "capture";
2519
+ figma: "figma";
2520
+ manual: "manual";
2521
+ "update-rule": "update-rule";
2522
+ }>>;
2307
2523
  extends: z.ZodOptional<z.ZodString>;
2308
2524
  scope: z.ZodLiteral<"system">;
2309
2525
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2349,8 +2565,15 @@ export declare const collectionSchema: z.ZodObject<{
2349
2565
  method: z.ZodEnum<{
2350
2566
  authored: "authored";
2351
2567
  estimated: "estimated";
2568
+ imported: "imported";
2352
2569
  measured: "measured";
2353
2570
  }>;
2571
+ origin: z.ZodOptional<z.ZodEnum<{
2572
+ capture: "capture";
2573
+ figma: "figma";
2574
+ manual: "manual";
2575
+ "update-rule": "update-rule";
2576
+ }>>;
2354
2577
  extends: z.ZodOptional<z.ZodString>;
2355
2578
  scope: z.ZodLiteral<"system">;
2356
2579
  type: z.ZodLiteral<"color" | "spacing" | "typography">;
@@ -2412,12 +2635,19 @@ export declare const collectionSchema: z.ZodObject<{
2412
2635
  method: z.ZodEnum<{
2413
2636
  authored: "authored";
2414
2637
  estimated: "estimated";
2638
+ imported: "imported";
2415
2639
  measured: "measured";
2416
2640
  }>;
2641
+ origin: z.ZodOptional<z.ZodEnum<{
2642
+ capture: "capture";
2643
+ figma: "figma";
2644
+ manual: "manual";
2645
+ "update-rule": "update-rule";
2646
+ }>>;
2417
2647
  extends: z.ZodOptional<z.ZodString>;
2418
2648
  scope: z.ZodLiteral<"component">;
2419
2649
  type: z.ZodString;
2420
- selector: z.ZodString;
2650
+ selector: z.ZodOptional<z.ZodString>;
2421
2651
  }, z.core.$strip>;
2422
2652
  instructions: z.ZodOptional<z.ZodString>;
2423
2653
  tokens: z.ZodArray<z.ZodObject<{
@@ -2610,6 +2840,10 @@ export declare const collectionSchema: z.ZodObject<{
2610
2840
  responsive: z.ZodOptional<z.ZodObject<{
2611
2841
  widths: z.ZodArray<z.ZodNumber>;
2612
2842
  queries: z.ZodArray<z.ZodString>;
2843
+ source: z.ZodOptional<z.ZodEnum<{
2844
+ browser: "browser";
2845
+ "figma-frame": "figma-frame";
2846
+ }>>;
2613
2847
  changes: z.ZodArray<z.ZodObject<{
2614
2848
  part: z.ZodString;
2615
2849
  property: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../src/capture/collection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,EAAiB,KAAK,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAIhF,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
41
  export declare function formatStack(stack: SiteStack): string[];
42
42
  export declare const RESPONSIVE_NOTE = "- Read at each width with the page's own styles: values as rendered there, \u2013 where it is not set. Each width stands for its range, up to the next media query listed.";
43
43
  /** How it changes by width: one row per part and property that differs, then the media queries. */
44
- export declare function responsiveSection(r: Responsive, s: CaptureSettings): string[];
44
+ export declare function responsiveSection(r: Responsive, s: CaptureSettings, origin?: CaptureMeta['origin']): string[];
45
45
  export declare const SECTION_NOTE = "- Each component is described once, in its own file (listed under Components); this file places them. A button or field inside another component has its own file too, for its states. Text parts give their text style only, never the text.";
46
46
  /** Headings `levels` deeper ("## Roles" -> "### Roles"), so a part can sit inside a larger file. */
47
47
  export declare const deeperHeadings: (text: string, levels?: number) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/capture/format.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EAQpB,KAAK,UAAU,EASf,KAAK,SAAS,EACf,MAAM,aAAa,CAAC;AAIrB,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAQxE,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,kBAAkB,EAAE,SAAS,MAAM,EAA8C,CAAC;AAC/F,oDAAoD;AACpD,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAA0C,CAAC;AAEzF;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAS/C;AAED,iGAAiG;AACjG,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED;;;GAGG;AACH,eAAO,MAAM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