qrdx 0.0.52 → 0.0.53

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 (62) hide show
  1. package/dist/core.js +7 -7
  2. package/dist/core.js.map +1 -1
  3. package/dist/core.mjs +7 -7
  4. package/dist/core.mjs.map +1 -1
  5. package/dist/element.browser.mjs +17 -17
  6. package/dist/element.browser.mjs.map +1 -1
  7. package/dist/index.js +7 -7
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +7 -7
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/qr-code-canvas.js +1 -1
  12. package/dist/qr-code-canvas.js.map +1 -1
  13. package/dist/qr-code-canvas.mjs +1 -1
  14. package/dist/qr-code-canvas.mjs.map +1 -1
  15. package/dist/src/frame-spec.d.ts.map +1 -1
  16. package/dist/src/frame.d.ts +13 -3
  17. package/dist/src/frame.d.ts.map +1 -1
  18. package/dist/src/template/arrow.d.ts +0 -1
  19. package/dist/src/template/arrow.d.ts.map +1 -1
  20. package/dist/src/template/frame-template.d.ts +19 -0
  21. package/dist/src/template/frame-template.d.ts.map +1 -0
  22. package/dist/src/template/halloween.d.ts +0 -1
  23. package/dist/src/template/halloween.d.ts.map +1 -1
  24. package/dist/src/template/square-border.d.ts +0 -1
  25. package/dist/src/template/square-border.d.ts.map +1 -1
  26. package/dist/src/template/standard-box.d.ts +0 -1
  27. package/dist/src/template/standard-box.d.ts.map +1 -1
  28. package/dist/src/template/striked-box.d.ts +0 -1
  29. package/dist/src/template/striked-box.d.ts.map +1 -1
  30. package/dist/types/frame-spec.d.ts +554 -0
  31. package/dist/types/frame-spec.d.ts.map +1 -1
  32. package/dist/types/index.js +2 -2
  33. package/dist/types/index.js.map +1 -1
  34. package/dist/types/index.mjs +2 -2
  35. package/dist/types/index.mjs.map +1 -1
  36. package/dist/types/qr.d.ts +111 -0
  37. package/dist/types/qr.d.ts.map +1 -1
  38. package/dist/types/template.d.ts +7 -0
  39. package/dist/types/template.d.ts.map +1 -1
  40. package/dist/vanilla.browser.mjs +15 -15
  41. package/dist/vanilla.browser.mjs.map +1 -1
  42. package/package.json +1 -1
  43. package/src/frame-spec.ts +17 -2
  44. package/src/frame.tsx +57 -7
  45. package/src/template/arrow.ts +14 -0
  46. package/src/template/frame-template.tsx +70 -0
  47. package/src/template/halloween.ts +14 -0
  48. package/src/template/specs/arrow.json +26 -0
  49. package/src/template/specs/halloween.json +144 -0
  50. package/src/template/specs/square-border.json +27 -0
  51. package/src/template/specs/standard-box.json +31 -0
  52. package/src/template/specs/striked-box.json +56 -0
  53. package/src/template/square-border.ts +14 -0
  54. package/src/template/standard-box.ts +14 -0
  55. package/src/template/striked-box.ts +14 -0
  56. package/types/frame-spec.ts +67 -4
  57. package/types/template.ts +7 -0
  58. package/src/template/arrow.tsx +0 -40
  59. package/src/template/halloween.tsx +0 -147
  60. package/src/template/square-border.tsx +0 -43
  61. package/src/template/standard-box.tsx +0 -43
  62. package/src/template/striked-box.tsx +0 -42
@@ -236,6 +236,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
236
236
  width: z.ZodNumber;
237
237
  height: z.ZodNumber;
238
238
  }, z.core.$strict>>;
239
+ stroke: z.ZodOptional<z.ZodObject<{
240
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
241
+ text: "text";
242
+ frame: "frame";
243
+ accent: "accent";
244
+ background: "background";
245
+ }>, z.ZodString]>, z.ZodObject<{
246
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
247
+ text: "text";
248
+ frame: "frame";
249
+ accent: "accent";
250
+ background: "background";
251
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
252
+ text: "text";
253
+ frame: "frame";
254
+ accent: "accent";
255
+ background: "background";
256
+ }>, z.ZodString]>], null>;
257
+ amount: z.ZodNumber;
258
+ }, z.core.$strict>]>;
259
+ width: z.ZodNumber;
260
+ }, z.core.$strict>>;
239
261
  x: z.ZodNumber;
240
262
  y: z.ZodNumber;
241
263
  width: z.ZodNumber;
@@ -312,6 +334,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
312
334
  steps: z.ZodOptional<z.ZodInt>;
313
335
  }, z.core.$strict>;
314
336
  }, z.core.$strict>]>;
337
+ stroke: z.ZodOptional<z.ZodObject<{
338
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
339
+ text: "text";
340
+ frame: "frame";
341
+ accent: "accent";
342
+ background: "background";
343
+ }>, z.ZodString]>, z.ZodObject<{
344
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
345
+ text: "text";
346
+ frame: "frame";
347
+ accent: "accent";
348
+ background: "background";
349
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
350
+ text: "text";
351
+ frame: "frame";
352
+ accent: "accent";
353
+ background: "background";
354
+ }>, z.ZodString]>], null>;
355
+ amount: z.ZodNumber;
356
+ }, z.core.$strict>]>;
357
+ width: z.ZodNumber;
358
+ }, z.core.$strict>>;
315
359
  }, z.core.$strict>, z.ZodObject<{
316
360
  type: z.ZodLiteral<"ellipse">;
317
361
  cx: z.ZodNumber;
@@ -383,6 +427,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
383
427
  steps: z.ZodOptional<z.ZodInt>;
384
428
  }, z.core.$strict>;
385
429
  }, z.core.$strict>]>;
430
+ stroke: z.ZodOptional<z.ZodObject<{
431
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
432
+ text: "text";
433
+ frame: "frame";
434
+ accent: "accent";
435
+ background: "background";
436
+ }>, z.ZodString]>, z.ZodObject<{
437
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
438
+ text: "text";
439
+ frame: "frame";
440
+ accent: "accent";
441
+ background: "background";
442
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
443
+ text: "text";
444
+ frame: "frame";
445
+ accent: "accent";
446
+ background: "background";
447
+ }>, z.ZodString]>], null>;
448
+ amount: z.ZodNumber;
449
+ }, z.core.$strict>]>;
450
+ width: z.ZodNumber;
451
+ }, z.core.$strict>>;
386
452
  }, z.core.$strict>, z.ZodObject<{
387
453
  type: z.ZodLiteral<"polygon">;
388
454
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -451,6 +517,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
451
517
  steps: z.ZodOptional<z.ZodInt>;
452
518
  }, z.core.$strict>;
453
519
  }, z.core.$strict>]>;
520
+ stroke: z.ZodOptional<z.ZodObject<{
521
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
522
+ text: "text";
523
+ frame: "frame";
524
+ accent: "accent";
525
+ background: "background";
526
+ }>, z.ZodString]>, z.ZodObject<{
527
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
528
+ text: "text";
529
+ frame: "frame";
530
+ accent: "accent";
531
+ background: "background";
532
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
533
+ text: "text";
534
+ frame: "frame";
535
+ accent: "accent";
536
+ background: "background";
537
+ }>, z.ZodString]>], null>;
538
+ amount: z.ZodNumber;
539
+ }, z.core.$strict>]>;
540
+ width: z.ZodNumber;
541
+ }, z.core.$strict>>;
454
542
  }, z.core.$strict>, z.ZodObject<{
455
543
  type: z.ZodLiteral<"path">;
456
544
  d: z.ZodString;
@@ -523,6 +611,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
523
611
  nonzero: "nonzero";
524
612
  evenodd: "evenodd";
525
613
  }>>;
614
+ stroke: z.ZodOptional<z.ZodObject<{
615
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
616
+ text: "text";
617
+ frame: "frame";
618
+ accent: "accent";
619
+ background: "background";
620
+ }>, z.ZodString]>, z.ZodObject<{
621
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
622
+ text: "text";
623
+ frame: "frame";
624
+ accent: "accent";
625
+ background: "background";
626
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
627
+ text: "text";
628
+ frame: "frame";
629
+ accent: "accent";
630
+ background: "background";
631
+ }>, z.ZodString]>], null>;
632
+ amount: z.ZodNumber;
633
+ }, z.core.$strict>]>;
634
+ width: z.ZodNumber;
635
+ }, z.core.$strict>>;
526
636
  }, z.core.$strict>, z.ZodObject<{
527
637
  type: z.ZodLiteral<"line">;
528
638
  x1: z.ZodNumber;
@@ -809,6 +919,7 @@ declare const frameSpecObjectSchema: z.ZodObject<{
809
919
  padding: z.ZodOptional<z.ZodNumber>;
810
920
  radius: z.ZodOptional<z.ZodNumber>;
811
921
  plate: z.ZodOptional<z.ZodEnum<{
922
+ none: "none";
812
923
  background: "background";
813
924
  opaque: "opaque";
814
925
  }>>;
@@ -903,6 +1014,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
903
1014
  width: z.ZodNumber;
904
1015
  height: z.ZodNumber;
905
1016
  }, z.core.$strict>>;
1017
+ stroke: z.ZodOptional<z.ZodObject<{
1018
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1019
+ text: "text";
1020
+ frame: "frame";
1021
+ accent: "accent";
1022
+ background: "background";
1023
+ }>, z.ZodString]>, z.ZodObject<{
1024
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1025
+ text: "text";
1026
+ frame: "frame";
1027
+ accent: "accent";
1028
+ background: "background";
1029
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1030
+ text: "text";
1031
+ frame: "frame";
1032
+ accent: "accent";
1033
+ background: "background";
1034
+ }>, z.ZodString]>], null>;
1035
+ amount: z.ZodNumber;
1036
+ }, z.core.$strict>]>;
1037
+ width: z.ZodNumber;
1038
+ }, z.core.$strict>>;
906
1039
  x: z.ZodNumber;
907
1040
  y: z.ZodNumber;
908
1041
  width: z.ZodNumber;
@@ -979,6 +1112,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
979
1112
  steps: z.ZodOptional<z.ZodInt>;
980
1113
  }, z.core.$strict>;
981
1114
  }, z.core.$strict>]>;
1115
+ stroke: z.ZodOptional<z.ZodObject<{
1116
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1117
+ text: "text";
1118
+ frame: "frame";
1119
+ accent: "accent";
1120
+ background: "background";
1121
+ }>, z.ZodString]>, z.ZodObject<{
1122
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1123
+ text: "text";
1124
+ frame: "frame";
1125
+ accent: "accent";
1126
+ background: "background";
1127
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1128
+ text: "text";
1129
+ frame: "frame";
1130
+ accent: "accent";
1131
+ background: "background";
1132
+ }>, z.ZodString]>], null>;
1133
+ amount: z.ZodNumber;
1134
+ }, z.core.$strict>]>;
1135
+ width: z.ZodNumber;
1136
+ }, z.core.$strict>>;
982
1137
  }, z.core.$strict>, z.ZodObject<{
983
1138
  type: z.ZodLiteral<"ellipse">;
984
1139
  cx: z.ZodNumber;
@@ -1050,6 +1205,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1050
1205
  steps: z.ZodOptional<z.ZodInt>;
1051
1206
  }, z.core.$strict>;
1052
1207
  }, z.core.$strict>]>;
1208
+ stroke: z.ZodOptional<z.ZodObject<{
1209
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1210
+ text: "text";
1211
+ frame: "frame";
1212
+ accent: "accent";
1213
+ background: "background";
1214
+ }>, z.ZodString]>, z.ZodObject<{
1215
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1216
+ text: "text";
1217
+ frame: "frame";
1218
+ accent: "accent";
1219
+ background: "background";
1220
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1221
+ text: "text";
1222
+ frame: "frame";
1223
+ accent: "accent";
1224
+ background: "background";
1225
+ }>, z.ZodString]>], null>;
1226
+ amount: z.ZodNumber;
1227
+ }, z.core.$strict>]>;
1228
+ width: z.ZodNumber;
1229
+ }, z.core.$strict>>;
1053
1230
  }, z.core.$strict>, z.ZodObject<{
1054
1231
  type: z.ZodLiteral<"polygon">;
1055
1232
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -1118,6 +1295,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1118
1295
  steps: z.ZodOptional<z.ZodInt>;
1119
1296
  }, z.core.$strict>;
1120
1297
  }, z.core.$strict>]>;
1298
+ stroke: z.ZodOptional<z.ZodObject<{
1299
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1300
+ text: "text";
1301
+ frame: "frame";
1302
+ accent: "accent";
1303
+ background: "background";
1304
+ }>, z.ZodString]>, z.ZodObject<{
1305
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1306
+ text: "text";
1307
+ frame: "frame";
1308
+ accent: "accent";
1309
+ background: "background";
1310
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1311
+ text: "text";
1312
+ frame: "frame";
1313
+ accent: "accent";
1314
+ background: "background";
1315
+ }>, z.ZodString]>], null>;
1316
+ amount: z.ZodNumber;
1317
+ }, z.core.$strict>]>;
1318
+ width: z.ZodNumber;
1319
+ }, z.core.$strict>>;
1121
1320
  }, z.core.$strict>, z.ZodObject<{
1122
1321
  type: z.ZodLiteral<"path">;
1123
1322
  d: z.ZodString;
@@ -1190,6 +1389,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1190
1389
  nonzero: "nonzero";
1191
1390
  evenodd: "evenodd";
1192
1391
  }>>;
1392
+ stroke: z.ZodOptional<z.ZodObject<{
1393
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1394
+ text: "text";
1395
+ frame: "frame";
1396
+ accent: "accent";
1397
+ background: "background";
1398
+ }>, z.ZodString]>, z.ZodObject<{
1399
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1400
+ text: "text";
1401
+ frame: "frame";
1402
+ accent: "accent";
1403
+ background: "background";
1404
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1405
+ text: "text";
1406
+ frame: "frame";
1407
+ accent: "accent";
1408
+ background: "background";
1409
+ }>, z.ZodString]>], null>;
1410
+ amount: z.ZodNumber;
1411
+ }, z.core.$strict>]>;
1412
+ width: z.ZodNumber;
1413
+ }, z.core.$strict>>;
1193
1414
  }, z.core.$strict>, z.ZodObject<{
1194
1415
  type: z.ZodLiteral<"line">;
1195
1416
  x1: z.ZodNumber;
@@ -1535,6 +1756,7 @@ export declare const frameSpecSchema: z.ZodObject<{
1535
1756
  padding: z.ZodOptional<z.ZodNumber>;
1536
1757
  radius: z.ZodOptional<z.ZodNumber>;
1537
1758
  plate: z.ZodOptional<z.ZodEnum<{
1759
+ none: "none";
1538
1760
  background: "background";
1539
1761
  opaque: "opaque";
1540
1762
  }>>;
@@ -1629,6 +1851,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1629
1851
  width: z.ZodNumber;
1630
1852
  height: z.ZodNumber;
1631
1853
  }, z.core.$strict>>;
1854
+ stroke: z.ZodOptional<z.ZodObject<{
1855
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1856
+ text: "text";
1857
+ frame: "frame";
1858
+ accent: "accent";
1859
+ background: "background";
1860
+ }>, z.ZodString]>, z.ZodObject<{
1861
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1862
+ text: "text";
1863
+ frame: "frame";
1864
+ accent: "accent";
1865
+ background: "background";
1866
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1867
+ text: "text";
1868
+ frame: "frame";
1869
+ accent: "accent";
1870
+ background: "background";
1871
+ }>, z.ZodString]>], null>;
1872
+ amount: z.ZodNumber;
1873
+ }, z.core.$strict>]>;
1874
+ width: z.ZodNumber;
1875
+ }, z.core.$strict>>;
1632
1876
  x: z.ZodNumber;
1633
1877
  y: z.ZodNumber;
1634
1878
  width: z.ZodNumber;
@@ -1705,6 +1949,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1705
1949
  steps: z.ZodOptional<z.ZodInt>;
1706
1950
  }, z.core.$strict>;
1707
1951
  }, z.core.$strict>]>;
1952
+ stroke: z.ZodOptional<z.ZodObject<{
1953
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
1954
+ text: "text";
1955
+ frame: "frame";
1956
+ accent: "accent";
1957
+ background: "background";
1958
+ }>, z.ZodString]>, z.ZodObject<{
1959
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1960
+ text: "text";
1961
+ frame: "frame";
1962
+ accent: "accent";
1963
+ background: "background";
1964
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1965
+ text: "text";
1966
+ frame: "frame";
1967
+ accent: "accent";
1968
+ background: "background";
1969
+ }>, z.ZodString]>], null>;
1970
+ amount: z.ZodNumber;
1971
+ }, z.core.$strict>]>;
1972
+ width: z.ZodNumber;
1973
+ }, z.core.$strict>>;
1708
1974
  }, z.core.$strict>, z.ZodObject<{
1709
1975
  type: z.ZodLiteral<"ellipse">;
1710
1976
  cx: z.ZodNumber;
@@ -1776,6 +2042,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1776
2042
  steps: z.ZodOptional<z.ZodInt>;
1777
2043
  }, z.core.$strict>;
1778
2044
  }, z.core.$strict>]>;
2045
+ stroke: z.ZodOptional<z.ZodObject<{
2046
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2047
+ text: "text";
2048
+ frame: "frame";
2049
+ accent: "accent";
2050
+ background: "background";
2051
+ }>, z.ZodString]>, z.ZodObject<{
2052
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2053
+ text: "text";
2054
+ frame: "frame";
2055
+ accent: "accent";
2056
+ background: "background";
2057
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2058
+ text: "text";
2059
+ frame: "frame";
2060
+ accent: "accent";
2061
+ background: "background";
2062
+ }>, z.ZodString]>], null>;
2063
+ amount: z.ZodNumber;
2064
+ }, z.core.$strict>]>;
2065
+ width: z.ZodNumber;
2066
+ }, z.core.$strict>>;
1779
2067
  }, z.core.$strict>, z.ZodObject<{
1780
2068
  type: z.ZodLiteral<"polygon">;
1781
2069
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -1844,6 +2132,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1844
2132
  steps: z.ZodOptional<z.ZodInt>;
1845
2133
  }, z.core.$strict>;
1846
2134
  }, z.core.$strict>]>;
2135
+ stroke: z.ZodOptional<z.ZodObject<{
2136
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2137
+ text: "text";
2138
+ frame: "frame";
2139
+ accent: "accent";
2140
+ background: "background";
2141
+ }>, z.ZodString]>, z.ZodObject<{
2142
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2143
+ text: "text";
2144
+ frame: "frame";
2145
+ accent: "accent";
2146
+ background: "background";
2147
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2148
+ text: "text";
2149
+ frame: "frame";
2150
+ accent: "accent";
2151
+ background: "background";
2152
+ }>, z.ZodString]>], null>;
2153
+ amount: z.ZodNumber;
2154
+ }, z.core.$strict>]>;
2155
+ width: z.ZodNumber;
2156
+ }, z.core.$strict>>;
1847
2157
  }, z.core.$strict>, z.ZodObject<{
1848
2158
  type: z.ZodLiteral<"path">;
1849
2159
  d: z.ZodString;
@@ -1916,6 +2226,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1916
2226
  nonzero: "nonzero";
1917
2227
  evenodd: "evenodd";
1918
2228
  }>>;
2229
+ stroke: z.ZodOptional<z.ZodObject<{
2230
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2231
+ text: "text";
2232
+ frame: "frame";
2233
+ accent: "accent";
2234
+ background: "background";
2235
+ }>, z.ZodString]>, z.ZodObject<{
2236
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2237
+ text: "text";
2238
+ frame: "frame";
2239
+ accent: "accent";
2240
+ background: "background";
2241
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2242
+ text: "text";
2243
+ frame: "frame";
2244
+ accent: "accent";
2245
+ background: "background";
2246
+ }>, z.ZodString]>], null>;
2247
+ amount: z.ZodNumber;
2248
+ }, z.core.$strict>]>;
2249
+ width: z.ZodNumber;
2250
+ }, z.core.$strict>>;
1919
2251
  }, z.core.$strict>, z.ZodObject<{
1920
2252
  type: z.ZodLiteral<"line">;
1921
2253
  x1: z.ZodNumber;
@@ -2238,6 +2570,7 @@ export declare const customFrameSchema: z.ZodObject<{
2238
2570
  padding: z.ZodOptional<z.ZodNumber>;
2239
2571
  radius: z.ZodOptional<z.ZodNumber>;
2240
2572
  plate: z.ZodOptional<z.ZodEnum<{
2573
+ none: "none";
2241
2574
  background: "background";
2242
2575
  opaque: "opaque";
2243
2576
  }>>;
@@ -2332,6 +2665,28 @@ export declare const customFrameSchema: z.ZodObject<{
2332
2665
  width: z.ZodNumber;
2333
2666
  height: z.ZodNumber;
2334
2667
  }, z.core.$strict>>;
2668
+ stroke: z.ZodOptional<z.ZodObject<{
2669
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2670
+ text: "text";
2671
+ frame: "frame";
2672
+ accent: "accent";
2673
+ background: "background";
2674
+ }>, z.ZodString]>, z.ZodObject<{
2675
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2676
+ text: "text";
2677
+ frame: "frame";
2678
+ accent: "accent";
2679
+ background: "background";
2680
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2681
+ text: "text";
2682
+ frame: "frame";
2683
+ accent: "accent";
2684
+ background: "background";
2685
+ }>, z.ZodString]>], null>;
2686
+ amount: z.ZodNumber;
2687
+ }, z.core.$strict>]>;
2688
+ width: z.ZodNumber;
2689
+ }, z.core.$strict>>;
2335
2690
  x: z.ZodNumber;
2336
2691
  y: z.ZodNumber;
2337
2692
  width: z.ZodNumber;
@@ -2408,6 +2763,28 @@ export declare const customFrameSchema: z.ZodObject<{
2408
2763
  steps: z.ZodOptional<z.ZodInt>;
2409
2764
  }, z.core.$strict>;
2410
2765
  }, z.core.$strict>]>;
2766
+ stroke: z.ZodOptional<z.ZodObject<{
2767
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2768
+ text: "text";
2769
+ frame: "frame";
2770
+ accent: "accent";
2771
+ background: "background";
2772
+ }>, z.ZodString]>, z.ZodObject<{
2773
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2774
+ text: "text";
2775
+ frame: "frame";
2776
+ accent: "accent";
2777
+ background: "background";
2778
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2779
+ text: "text";
2780
+ frame: "frame";
2781
+ accent: "accent";
2782
+ background: "background";
2783
+ }>, z.ZodString]>], null>;
2784
+ amount: z.ZodNumber;
2785
+ }, z.core.$strict>]>;
2786
+ width: z.ZodNumber;
2787
+ }, z.core.$strict>>;
2411
2788
  }, z.core.$strict>, z.ZodObject<{
2412
2789
  type: z.ZodLiteral<"ellipse">;
2413
2790
  cx: z.ZodNumber;
@@ -2479,6 +2856,28 @@ export declare const customFrameSchema: z.ZodObject<{
2479
2856
  steps: z.ZodOptional<z.ZodInt>;
2480
2857
  }, z.core.$strict>;
2481
2858
  }, z.core.$strict>]>;
2859
+ stroke: z.ZodOptional<z.ZodObject<{
2860
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2861
+ text: "text";
2862
+ frame: "frame";
2863
+ accent: "accent";
2864
+ background: "background";
2865
+ }>, z.ZodString]>, z.ZodObject<{
2866
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2867
+ text: "text";
2868
+ frame: "frame";
2869
+ accent: "accent";
2870
+ background: "background";
2871
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2872
+ text: "text";
2873
+ frame: "frame";
2874
+ accent: "accent";
2875
+ background: "background";
2876
+ }>, z.ZodString]>], null>;
2877
+ amount: z.ZodNumber;
2878
+ }, z.core.$strict>]>;
2879
+ width: z.ZodNumber;
2880
+ }, z.core.$strict>>;
2482
2881
  }, z.core.$strict>, z.ZodObject<{
2483
2882
  type: z.ZodLiteral<"polygon">;
2484
2883
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -2547,6 +2946,28 @@ export declare const customFrameSchema: z.ZodObject<{
2547
2946
  steps: z.ZodOptional<z.ZodInt>;
2548
2947
  }, z.core.$strict>;
2549
2948
  }, z.core.$strict>]>;
2949
+ stroke: z.ZodOptional<z.ZodObject<{
2950
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
2951
+ text: "text";
2952
+ frame: "frame";
2953
+ accent: "accent";
2954
+ background: "background";
2955
+ }>, z.ZodString]>, z.ZodObject<{
2956
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2957
+ text: "text";
2958
+ frame: "frame";
2959
+ accent: "accent";
2960
+ background: "background";
2961
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2962
+ text: "text";
2963
+ frame: "frame";
2964
+ accent: "accent";
2965
+ background: "background";
2966
+ }>, z.ZodString]>], null>;
2967
+ amount: z.ZodNumber;
2968
+ }, z.core.$strict>]>;
2969
+ width: z.ZodNumber;
2970
+ }, z.core.$strict>>;
2550
2971
  }, z.core.$strict>, z.ZodObject<{
2551
2972
  type: z.ZodLiteral<"path">;
2552
2973
  d: z.ZodString;
@@ -2619,6 +3040,28 @@ export declare const customFrameSchema: z.ZodObject<{
2619
3040
  nonzero: "nonzero";
2620
3041
  evenodd: "evenodd";
2621
3042
  }>>;
3043
+ stroke: z.ZodOptional<z.ZodObject<{
3044
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
3045
+ text: "text";
3046
+ frame: "frame";
3047
+ accent: "accent";
3048
+ background: "background";
3049
+ }>, z.ZodString]>, z.ZodObject<{
3050
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3051
+ text: "text";
3052
+ frame: "frame";
3053
+ accent: "accent";
3054
+ background: "background";
3055
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3056
+ text: "text";
3057
+ frame: "frame";
3058
+ accent: "accent";
3059
+ background: "background";
3060
+ }>, z.ZodString]>], null>;
3061
+ amount: z.ZodNumber;
3062
+ }, z.core.$strict>]>;
3063
+ width: z.ZodNumber;
3064
+ }, z.core.$strict>>;
2622
3065
  }, z.core.$strict>, z.ZodObject<{
2623
3066
  type: z.ZodLiteral<"line">;
2624
3067
  x1: z.ZodNumber;
@@ -2964,6 +3407,7 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2964
3407
  padding: z.ZodOptional<z.ZodNumber>;
2965
3408
  radius: z.ZodOptional<z.ZodNumber>;
2966
3409
  plate: z.ZodOptional<z.ZodEnum<{
3410
+ none: "none";
2967
3411
  background: "background";
2968
3412
  opaque: "opaque";
2969
3413
  }>>;
@@ -3058,6 +3502,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3058
3502
  width: z.ZodNumber;
3059
3503
  height: z.ZodNumber;
3060
3504
  }, z.core.$strict>>;
3505
+ stroke: z.ZodOptional<z.ZodObject<{
3506
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
3507
+ text: "text";
3508
+ frame: "frame";
3509
+ accent: "accent";
3510
+ background: "background";
3511
+ }>, z.ZodString]>, z.ZodObject<{
3512
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3513
+ text: "text";
3514
+ frame: "frame";
3515
+ accent: "accent";
3516
+ background: "background";
3517
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3518
+ text: "text";
3519
+ frame: "frame";
3520
+ accent: "accent";
3521
+ background: "background";
3522
+ }>, z.ZodString]>], null>;
3523
+ amount: z.ZodNumber;
3524
+ }, z.core.$strict>]>;
3525
+ width: z.ZodNumber;
3526
+ }, z.core.$strict>>;
3061
3527
  x: z.ZodNumber;
3062
3528
  y: z.ZodNumber;
3063
3529
  width: z.ZodNumber;
@@ -3134,6 +3600,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3134
3600
  steps: z.ZodOptional<z.ZodInt>;
3135
3601
  }, z.core.$strict>;
3136
3602
  }, z.core.$strict>]>;
3603
+ stroke: z.ZodOptional<z.ZodObject<{
3604
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
3605
+ text: "text";
3606
+ frame: "frame";
3607
+ accent: "accent";
3608
+ background: "background";
3609
+ }>, z.ZodString]>, z.ZodObject<{
3610
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3611
+ text: "text";
3612
+ frame: "frame";
3613
+ accent: "accent";
3614
+ background: "background";
3615
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3616
+ text: "text";
3617
+ frame: "frame";
3618
+ accent: "accent";
3619
+ background: "background";
3620
+ }>, z.ZodString]>], null>;
3621
+ amount: z.ZodNumber;
3622
+ }, z.core.$strict>]>;
3623
+ width: z.ZodNumber;
3624
+ }, z.core.$strict>>;
3137
3625
  }, z.core.$strict>, z.ZodObject<{
3138
3626
  type: z.ZodLiteral<"ellipse">;
3139
3627
  cx: z.ZodNumber;
@@ -3205,6 +3693,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3205
3693
  steps: z.ZodOptional<z.ZodInt>;
3206
3694
  }, z.core.$strict>;
3207
3695
  }, z.core.$strict>]>;
3696
+ stroke: z.ZodOptional<z.ZodObject<{
3697
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
3698
+ text: "text";
3699
+ frame: "frame";
3700
+ accent: "accent";
3701
+ background: "background";
3702
+ }>, z.ZodString]>, z.ZodObject<{
3703
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3704
+ text: "text";
3705
+ frame: "frame";
3706
+ accent: "accent";
3707
+ background: "background";
3708
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3709
+ text: "text";
3710
+ frame: "frame";
3711
+ accent: "accent";
3712
+ background: "background";
3713
+ }>, z.ZodString]>], null>;
3714
+ amount: z.ZodNumber;
3715
+ }, z.core.$strict>]>;
3716
+ width: z.ZodNumber;
3717
+ }, z.core.$strict>>;
3208
3718
  }, z.core.$strict>, z.ZodObject<{
3209
3719
  type: z.ZodLiteral<"polygon">;
3210
3720
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -3273,6 +3783,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3273
3783
  steps: z.ZodOptional<z.ZodInt>;
3274
3784
  }, z.core.$strict>;
3275
3785
  }, z.core.$strict>]>;
3786
+ stroke: z.ZodOptional<z.ZodObject<{
3787
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
3788
+ text: "text";
3789
+ frame: "frame";
3790
+ accent: "accent";
3791
+ background: "background";
3792
+ }>, z.ZodString]>, z.ZodObject<{
3793
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3794
+ text: "text";
3795
+ frame: "frame";
3796
+ accent: "accent";
3797
+ background: "background";
3798
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3799
+ text: "text";
3800
+ frame: "frame";
3801
+ accent: "accent";
3802
+ background: "background";
3803
+ }>, z.ZodString]>], null>;
3804
+ amount: z.ZodNumber;
3805
+ }, z.core.$strict>]>;
3806
+ width: z.ZodNumber;
3807
+ }, z.core.$strict>>;
3276
3808
  }, z.core.$strict>, z.ZodObject<{
3277
3809
  type: z.ZodLiteral<"path">;
3278
3810
  d: z.ZodString;
@@ -3345,6 +3877,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3345
3877
  nonzero: "nonzero";
3346
3878
  evenodd: "evenodd";
3347
3879
  }>>;
3880
+ stroke: z.ZodOptional<z.ZodObject<{
3881
+ color: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
3882
+ text: "text";
3883
+ frame: "frame";
3884
+ accent: "accent";
3885
+ background: "background";
3886
+ }>, z.ZodString]>, z.ZodObject<{
3887
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3888
+ text: "text";
3889
+ frame: "frame";
3890
+ accent: "accent";
3891
+ background: "background";
3892
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3893
+ text: "text";
3894
+ frame: "frame";
3895
+ accent: "accent";
3896
+ background: "background";
3897
+ }>, z.ZodString]>], null>;
3898
+ amount: z.ZodNumber;
3899
+ }, z.core.$strict>]>;
3900
+ width: z.ZodNumber;
3901
+ }, z.core.$strict>>;
3348
3902
  }, z.core.$strict>, z.ZodObject<{
3349
3903
  type: z.ZodLiteral<"line">;
3350
3904
  x1: z.ZodNumber;