qrdx 0.0.51 → 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 (467) hide show
  1. package/README.md +102 -6
  2. package/dist/angular.js +252 -0
  3. package/dist/angular.js.map +1 -0
  4. package/dist/angular.mjs +226 -0
  5. package/dist/angular.mjs.map +1 -0
  6. package/dist/core.js +7 -7
  7. package/dist/core.js.map +1 -1
  8. package/dist/core.mjs +7 -7
  9. package/dist/core.mjs.map +1 -1
  10. package/dist/element-define.browser.mjs +2 -0
  11. package/dist/element-define.browser.mjs.map +1 -0
  12. package/dist/element-define.js +2 -0
  13. package/dist/element-define.js.map +1 -0
  14. package/dist/element-define.mjs +2 -0
  15. package/dist/element-define.mjs.map +1 -0
  16. package/dist/element.browser.mjs +91 -0
  17. package/dist/element.browser.mjs.map +1 -0
  18. package/dist/element.js +2 -0
  19. package/dist/element.js.map +1 -0
  20. package/dist/element.mjs +2 -0
  21. package/dist/element.mjs.map +1 -0
  22. package/dist/frames-index.js +1 -1
  23. package/dist/frames-index.js.map +1 -1
  24. package/dist/frames-index.mjs +1 -1
  25. package/dist/frames-index.mjs.map +1 -1
  26. package/dist/frames-official.js +1 -1
  27. package/dist/frames-official.js.map +1 -1
  28. package/dist/frames-official.mjs +1 -1
  29. package/dist/frames-official.mjs.map +1 -1
  30. package/dist/index.js +7 -7
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.mjs +7 -7
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/preact.js +2 -0
  35. package/dist/preact.js.map +1 -0
  36. package/dist/preact.mjs +2 -0
  37. package/dist/preact.mjs.map +1 -0
  38. package/dist/qr-code-canvas.js +1 -1
  39. package/dist/qr-code-canvas.js.map +1 -1
  40. package/dist/qr-code-canvas.mjs +1 -1
  41. package/dist/qr-code-canvas.mjs.map +1 -1
  42. package/dist/solid.js +2 -0
  43. package/dist/solid.js.map +1 -0
  44. package/dist/solid.mjs +2 -0
  45. package/dist/solid.mjs.map +1 -0
  46. package/dist/src/angular.d.ts +94 -0
  47. package/dist/src/element-define.d.ts +3 -0
  48. package/dist/src/element-define.d.ts.map +1 -0
  49. package/dist/src/element.d.ts +150 -0
  50. package/dist/src/element.d.ts.map +1 -0
  51. package/dist/src/engine.d.ts +3 -3
  52. package/dist/src/engine.d.ts.map +1 -1
  53. package/dist/src/frame-spec.d.ts +22 -4
  54. package/dist/src/frame-spec.d.ts.map +1 -1
  55. package/dist/src/frame-text.d.ts +19 -0
  56. package/dist/src/frame-text.d.ts.map +1 -0
  57. package/dist/src/frame.d.ts +25 -10
  58. package/dist/src/frame.d.ts.map +1 -1
  59. package/dist/src/frames/builtin.d.ts +53 -5
  60. package/dist/src/frames/builtin.d.ts.map +1 -1
  61. package/dist/src/frames/catalogue/all.d.ts.map +1 -1
  62. package/dist/src/frames/catalogue/automotive.d.ts.map +1 -1
  63. package/dist/src/frames/catalogue/counts.d.ts +6 -6
  64. package/dist/src/frames/catalogue/counts.d.ts.map +1 -1
  65. package/dist/src/frames/catalogue/events.d.ts.map +1 -1
  66. package/dist/src/frames/catalogue/holidays.d.ts.map +1 -1
  67. package/dist/src/frames/catalogue/index.d.ts.map +1 -1
  68. package/dist/src/frames/catalogue/places.d.ts.map +1 -1
  69. package/dist/src/frames/catalogue/seasons.d.ts.map +1 -1
  70. package/dist/src/frames/catalogue/tags.d.ts.map +1 -1
  71. package/dist/src/preact.d.ts +29 -0
  72. package/dist/src/preact.d.ts.map +1 -0
  73. package/dist/src/scan-score.d.ts +4 -3
  74. package/dist/src/scan-score.d.ts.map +1 -1
  75. package/dist/src/solid.d.ts +21 -0
  76. package/dist/src/solid.d.ts.map +1 -0
  77. package/dist/src/template/arrow.d.ts +0 -1
  78. package/dist/src/template/arrow.d.ts.map +1 -1
  79. package/dist/src/template/dot-ring-layout.d.ts +44 -0
  80. package/dist/src/template/dot-ring-layout.d.ts.map +1 -0
  81. package/dist/src/template/dot-ring.d.ts +41 -0
  82. package/dist/src/template/dot-ring.d.ts.map +1 -0
  83. package/dist/src/template/frame-template.d.ts +19 -0
  84. package/dist/src/template/frame-template.d.ts.map +1 -0
  85. package/dist/src/template/halloween.d.ts +0 -1
  86. package/dist/src/template/halloween.d.ts.map +1 -1
  87. package/dist/src/template/index.d.ts +1 -0
  88. package/dist/src/template/index.d.ts.map +1 -1
  89. package/dist/src/template/square-border.d.ts +0 -1
  90. package/dist/src/template/square-border.d.ts.map +1 -1
  91. package/dist/src/template/standard-box.d.ts +0 -1
  92. package/dist/src/template/standard-box.d.ts.map +1 -1
  93. package/dist/src/template/striked-box.d.ts +0 -1
  94. package/dist/src/template/striked-box.d.ts.map +1 -1
  95. package/dist/src/template-placement.d.ts +8 -0
  96. package/dist/src/template-placement.d.ts.map +1 -0
  97. package/dist/src/templates.d.ts.map +1 -1
  98. package/dist/types/frame-spec.d.ts +703 -14
  99. package/dist/types/frame-spec.d.ts.map +1 -1
  100. package/dist/types/index.js +2 -2
  101. package/dist/types/index.js.map +1 -1
  102. package/dist/types/index.mjs +2 -2
  103. package/dist/types/index.mjs.map +1 -1
  104. package/dist/types/qr.d.ts +137 -3
  105. package/dist/types/qr.d.ts.map +1 -1
  106. package/dist/types/template.d.ts +7 -0
  107. package/dist/types/template.d.ts.map +1 -1
  108. package/dist/vanilla.browser.mjs +32 -32
  109. package/dist/vanilla.browser.mjs.map +1 -1
  110. package/package.json +81 -5
  111. package/src/angular.ts +218 -0
  112. package/src/element-define.ts +9 -0
  113. package/src/element.ts +608 -0
  114. package/src/engine.ts +13 -2
  115. package/src/frame-spec.ts +331 -56
  116. package/src/frame-text.ts +111 -0
  117. package/src/frame.tsx +74 -287
  118. package/src/frames/builtin/badge.json +108 -0
  119. package/src/frames/builtin/banner-bottom.json +2 -1
  120. package/src/frames/builtin/banner-top-bottom.json +72 -0
  121. package/src/frames/builtin/banner-top.json +59 -0
  122. package/src/frames/builtin/border.json +62 -0
  123. package/src/frames/builtin/chat-bubble.json +54 -0
  124. package/src/frames/builtin/circle.json +2 -1
  125. package/src/frames/builtin/envelope.json +81 -0
  126. package/src/frames/builtin/focus.json +88 -0
  127. package/src/frames/builtin/gradient-border.json +76 -0
  128. package/src/frames/builtin/menu-card.json +108 -0
  129. package/src/frames/builtin/phone.json +75 -0
  130. package/src/frames/builtin/polaroid.json +56 -0
  131. package/src/frames/builtin/rounded-border.json +8 -4
  132. package/src/frames/builtin/speech-bubble-top.json +76 -0
  133. package/src/frames/builtin/speech-bubble.json +76 -0
  134. package/src/frames/builtin/sticker.json +78 -0
  135. package/src/frames/builtin/tag.json +55 -0
  136. package/src/frames/builtin.ts +181 -12
  137. package/src/frames/catalogue/all.ts +584 -0
  138. package/src/frames/catalogue/automotive.ts +2 -0
  139. package/src/frames/catalogue/counts.ts +6 -6
  140. package/src/frames/catalogue/events.ts +90 -0
  141. package/src/frames/catalogue/holidays.ts +336 -0
  142. package/src/frames/catalogue/index.ts +2733 -0
  143. package/src/frames/catalogue/places.ts +92 -0
  144. package/src/frames/catalogue/seasons.ts +64 -0
  145. package/src/frames/catalogue/tags.ts +384 -0
  146. package/src/frames/official/africa-day.json +110 -0
  147. package/src/frames/official/aquarium-feeding.json +113 -0
  148. package/src/frames/official/autumn-apple-picking.json +81 -0
  149. package/src/frames/official/autumn-mushroom.json +72 -0
  150. package/src/frames/official/autumn-pumpkin-patch.json +83 -0
  151. package/src/frames/official/avurudu-pot.json +87 -0
  152. package/src/frames/official/beach-conditions.json +113 -0
  153. package/src/frames/official/beach-info-sticker.json +81 -0
  154. package/src/frames/official/beach-lifeguard.json +71 -0
  155. package/src/frames/official/blood-donor-drop.json +87 -0
  156. package/src/frames/official/blood-donor-sticker.json +94 -0
  157. package/src/frames/official/book-day-arch.json +71 -0
  158. package/src/frames/official/book-day-list.json +114 -0
  159. package/src/frames/official/camp-check-in.json +74 -0
  160. package/src/frames/official/camp-fire-rules.json +114 -0
  161. package/src/frames/official/camp-map.json +85 -0
  162. package/src/frames/official/carnival-mask.json +76 -0
  163. package/src/frames/official/carnival-pass.json +85 -0
  164. package/src/frames/official/carnival-plume.json +71 -0
  165. package/src/frames/official/childrens-day-carp.json +114 -0
  166. package/src/frames/official/childrens-day-sticker.json +88 -0
  167. package/src/frames/official/chuseok-gift-tag.json +59 -0
  168. package/src/frames/official/chuseok-moon.json +99 -0
  169. package/src/frames/official/chuseok-songpyeon.json +114 -0
  170. package/src/frames/official/cowork-desk.json +82 -0
  171. package/src/frames/official/cowork-meeting-room.json +107 -0
  172. package/src/frames/official/dragon-boat-race.json +83 -0
  173. package/src/frames/official/dragon-boat-ticket.json +98 -0
  174. package/src/frames/official/dragon-boat-zongzi.json +81 -0
  175. package/src/frames/official/durga-puja-lotus.json +114 -0
  176. package/src/frames/official/dussehra-seal.json +187 -0
  177. package/src/frames/official/earth-day-globe.json +77 -0
  178. package/src/frames/official/earth-day-pledge.json +66 -0
  179. package/src/frames/official/earth-day-recycle.json +109 -0
  180. package/src/frames/official/enkutatash-daisy.json +87 -0
  181. package/src/frames/official/enkutatash-seal.json +179 -0
  182. package/src/frames/official/environment-day.json +83 -0
  183. package/src/frames/official/event-anniversary.json +107 -0
  184. package/src/frames/official/event-awards.json +93 -0
  185. package/src/frames/official/event-baby-gifts.json +113 -0
  186. package/src/frames/official/event-baby-shower.json +70 -0
  187. package/src/frames/official/event-birth-announcement.json +71 -0
  188. package/src/frames/official/event-book-fair.json +142 -0
  189. package/src/frames/official/event-booth.json +98 -0
  190. package/src/frames/official/event-craft-fair.json +96 -0
  191. package/src/frames/official/event-cupcake.json +81 -0
  192. package/src/frames/official/event-engagement.json +116 -0
  193. package/src/frames/official/event-film-festival.json +92 -0
  194. package/src/frames/official/event-food-festival.json +108 -0
  195. package/src/frames/official/event-fun-run.json +107 -0
  196. package/src/frames/official/event-gala.json +121 -0
  197. package/src/frames/official/event-game-night.json +97 -0
  198. package/src/frames/official/event-grad-diploma.json +126 -0
  199. package/src/frames/official/event-grad-party.json +108 -0
  200. package/src/frames/official/event-grad-seal.json +186 -0
  201. package/src/frames/official/event-grad-stream.json +94 -0
  202. package/src/frames/official/event-guest-book.json +121 -0
  203. package/src/frames/official/event-hackathon.json +82 -0
  204. package/src/frames/official/event-keynote.json +74 -0
  205. package/src/frames/official/event-match-lineup.json +66 -0
  206. package/src/frames/official/event-meetup.json +86 -0
  207. package/src/frames/official/event-memorial.json +124 -0
  208. package/src/frames/official/event-milestone.json +168 -0
  209. package/src/frames/official/event-night-market.json +88 -0
  210. package/src/frames/official/event-open-mic.json +94 -0
  211. package/src/frames/official/event-party-hat.json +74 -0
  212. package/src/frames/official/event-prom.json +82 -0
  213. package/src/frames/official/event-quince.json +70 -0
  214. package/src/frames/official/event-retirement.json +92 -0
  215. package/src/frames/official/event-reunion.json +98 -0
  216. package/src/frames/official/event-runner-tracker.json +101 -0
  217. package/src/frames/official/event-season-ticket.json +89 -0
  218. package/src/frames/official/event-session-feedback.json +89 -0
  219. package/src/frames/official/event-setlist.json +70 -0
  220. package/src/frames/official/event-short-films.json +113 -0
  221. package/src/frames/official/event-slides.json +85 -0
  222. package/src/frames/official/event-speaker-qa.json +112 -0
  223. package/src/frames/official/event-talent-show.json +130 -0
  224. package/src/frames/official/event-tour-merch.json +63 -0
  225. package/src/frames/official/event-tournament.json +98 -0
  226. package/src/frames/official/event-trivia.json +79 -0
  227. package/src/frames/official/event-workshop.json +127 -0
  228. package/src/frames/official/festa-della-repubblica.json +100 -0
  229. package/src/frames/official/festa-junina-bonfire.json +81 -0
  230. package/src/frames/official/festa-junina-corn.json +72 -0
  231. package/src/frames/official/festa-junina-flags.json +110 -0
  232. package/src/frames/official/fiestas-patrias-chile.json +76 -0
  233. package/src/frames/official/food-day-wheat.json +109 -0
  234. package/src/frames/official/freedom-day-south-africa.json +109 -0
  235. package/src/frames/official/ganesh-marigold.json +71 -0
  236. package/src/frames/official/ganesh-modak.json +81 -0
  237. package/src/frames/official/ganesh-pandal.json +109 -0
  238. package/src/frames/official/garden-plant-label.json +98 -0
  239. package/src/frames/official/german-unity-day.json +100 -0
  240. package/src/frames/official/green-ribbon.json +123 -0
  241. package/src/frames/official/gudi-padwa.json +81 -0
  242. package/src/frames/official/hanami-arch.json +71 -0
  243. package/src/frames/official/hanami-picnic.json +90 -0
  244. package/src/frames/official/hanami-sakura.json +81 -0
  245. package/src/frames/official/hari-raya-haji.json +122 -0
  246. package/src/frames/official/hari-raya-ketupat.json +81 -0
  247. package/src/frames/official/hari-raya-open-house.json +114 -0
  248. package/src/frames/official/hari-raya-pelita.json +77 -0
  249. package/src/frames/official/harvest-basket.json +87 -0
  250. package/src/frames/official/harvest-corn.json +115 -0
  251. package/src/frames/official/harvest-hay.json +89 -0
  252. package/src/frames/official/harvest-market.json +109 -0
  253. package/src/frames/official/hijri-new-year-stamp.json +77 -0
  254. package/src/frames/official/hijri-new-year.json +122 -0
  255. package/src/frames/official/historic-marker.json +176 -0
  256. package/src/frames/official/hostel-check-in.json +113 -0
  257. package/src/frames/official/hostel-house-rules.json +136 -0
  258. package/src/frames/official/hostel-local-tips.json +86 -0
  259. package/src/frames/official/independence-argentina.json +105 -0
  260. package/src/frames/official/independence-bangladesh.json +64 -0
  261. package/src/frames/official/independence-colombia.json +108 -0
  262. package/src/frames/official/independence-ghana.json +105 -0
  263. package/src/frames/official/independence-indonesia.json +92 -0
  264. package/src/frames/official/independence-nigeria.json +100 -0
  265. package/src/frames/official/independence-pakistan.json +95 -0
  266. package/src/frames/official/independence-peru.json +100 -0
  267. package/src/frames/official/independence-poland.json +92 -0
  268. package/src/frames/official/independence-ukraine.json +92 -0
  269. package/src/frames/official/inti-raymi-sun.json +183 -0
  270. package/src/frames/official/jamhuri-day.json +116 -0
  271. package/src/frames/official/janmashtami-feather.json +77 -0
  272. package/src/frames/official/janmashtami-flute.json +81 -0
  273. package/src/frames/official/juneteenth-seal.json +187 -0
  274. package/src/frames/official/juneteenth-star.json +81 -0
  275. package/src/frames/official/kindness-day.json +109 -0
  276. package/src/frames/official/kings-day-crown.json +88 -0
  277. package/src/frames/official/kwanzaa-bands.json +100 -0
  278. package/src/frames/official/kwanzaa-harvest.json +77 -0
  279. package/src/frames/official/kwanzaa-kinara.json +81 -0
  280. package/src/frames/official/lantern-festival-riddles.json +77 -0
  281. package/src/frames/official/lantern-festival-tangyuan.json +122 -0
  282. package/src/frames/official/library-catalog.json +120 -0
  283. package/src/frames/official/library-ebooks.json +107 -0
  284. package/src/frames/official/library-hours.json +107 -0
  285. package/src/frames/official/lohri-bonfire.json +81 -0
  286. package/src/frames/official/lohri-dhol.json +114 -0
  287. package/src/frames/official/loy-krathong-float.json +88 -0
  288. package/src/frames/official/loy-krathong-moon.json +96 -0
  289. package/src/frames/official/loy-krathong-program.json +128 -0
  290. package/src/frames/official/mardi-gras-seal.json +183 -0
  291. package/src/frames/official/marina-welcome.json +172 -0
  292. package/src/frames/official/maslenitsa-pancakes.json +81 -0
  293. package/src/frames/official/maslenitsa-sun.json +183 -0
  294. package/src/frames/official/mid-autumn-gift.json +105 -0
  295. package/src/frames/official/mid-autumn-lantern-walk.json +96 -0
  296. package/src/frames/official/mid-autumn-mooncake.json +81 -0
  297. package/src/frames/official/mid-autumn-rabbit.json +77 -0
  298. package/src/frames/official/mid-autumn-seal.json +178 -0
  299. package/src/frames/official/monsoon-boots.json +88 -0
  300. package/src/frames/official/monsoon-chai.json +82 -0
  301. package/src/frames/official/monsoon-cloud.json +114 -0
  302. package/src/frames/official/monsoon-paper-boat.json +71 -0
  303. package/src/frames/official/monsoon-umbrella.json +81 -0
  304. package/src/frames/official/muertos-marigold.json +87 -0
  305. package/src/frames/official/muertos-ofrenda.json +129 -0
  306. package/src/frames/official/muertos-pan.json +78 -0
  307. package/src/frames/official/muertos-papel-picado.json +120 -0
  308. package/src/frames/official/muertos-seal.json +185 -0
  309. package/src/frames/official/museum-artist-note.json +124 -0
  310. package/src/frames/official/museum-exhibit-label.json +106 -0
  311. package/src/frames/official/museum-gallery-map.json +99 -0
  312. package/src/frames/official/museum-ticket.json +86 -0
  313. package/src/frames/official/national-day-belgium.json +100 -0
  314. package/src/frames/official/national-day-singapore.json +120 -0
  315. package/src/frames/official/navratri-dandiya.json +88 -0
  316. package/src/frames/official/navratri-garba-pass.json +90 -0
  317. package/src/frames/official/navratri-lamp.json +72 -0
  318. package/src/frames/official/nowruz-goldfish.json +71 -0
  319. package/src/frames/official/nowruz-party.json +90 -0
  320. package/src/frames/official/nowruz-sabzeh.json +81 -0
  321. package/src/frames/official/nowruz-seal.json +187 -0
  322. package/src/frames/official/obon-lantern.json +81 -0
  323. package/src/frames/official/obon-sign.json +109 -0
  324. package/src/frames/official/ocean-day-waves.json +114 -0
  325. package/src/frames/official/onam-boat-race.json +83 -0
  326. package/src/frames/official/onam-kasavu.json +122 -0
  327. package/src/frames/official/onam-pookalam.json +175 -0
  328. package/src/frames/official/onam-sadya.json +114 -0
  329. package/src/frames/official/orthodox-christmas-candle.json +71 -0
  330. package/src/frames/official/orthodox-christmas-star.json +76 -0
  331. package/src/frames/official/orthodox-easter-arch.json +77 -0
  332. package/src/frames/official/orthodox-easter-pysanka.json +87 -0
  333. package/src/frames/official/orthodox-easter-seal.json +185 -0
  334. package/src/frames/official/pancake-day.json +114 -0
  335. package/src/frames/official/park-bench-walks.json +121 -0
  336. package/src/frames/official/park-dog-rules.json +88 -0
  337. package/src/frames/official/park-map.json +92 -0
  338. package/src/frames/official/park-playground.json +64 -0
  339. package/src/frames/official/park-report.json +118 -0
  340. package/src/frames/official/parking-find-car.json +89 -0
  341. package/src/frames/official/peace-day-dove.json +66 -0
  342. package/src/frames/official/pink-ribbon-seal.json +180 -0
  343. package/src/frames/official/pink-ribbon.json +82 -0
  344. package/src/frames/official/pohela-boishakh-mela.json +116 -0
  345. package/src/frames/official/pohela-boishakh.json +120 -0
  346. package/src/frames/official/pongal-offers.json +120 -0
  347. package/src/frames/official/pongal-pot.json +81 -0
  348. package/src/frames/official/pongal-sun.json +183 -0
  349. package/src/frames/official/posadas-candle.json +71 -0
  350. package/src/frames/official/posadas-pinata.json +114 -0
  351. package/src/frames/official/pride-flag.json +124 -0
  352. package/src/frames/official/pride-heart.json +83 -0
  353. package/src/frames/official/pride-rainbow.json +81 -0
  354. package/src/frames/official/purim-mask.json +109 -0
  355. package/src/frames/official/purim-pastry.json +71 -0
  356. package/src/frames/official/puthandu-sun.json +101 -0
  357. package/src/frames/official/rakhi-envelope.json +75 -0
  358. package/src/frames/official/rakhi-gift-tag.json +59 -0
  359. package/src/frames/official/rakhi-thread.json +114 -0
  360. package/src/frames/official/ramadan-dates.json +81 -0
  361. package/src/frames/official/ramadan-suhoor.json +94 -0
  362. package/src/frames/official/red-ribbon.json +66 -0
  363. package/src/frames/official/republic-day-india-bands.json +120 -0
  364. package/src/frames/official/republic-day-india.json +182 -0
  365. package/src/frames/official/reyes-crown.json +78 -0
  366. package/src/frames/official/reyes-rosca.json +89 -0
  367. package/src/frames/official/rosh-hashanah-apple.json +81 -0
  368. package/src/frames/official/rosh-hashanah-honey.json +71 -0
  369. package/src/frames/official/rosh-hashanah-shofar.json +128 -0
  370. package/src/frames/official/sankranti-kite.json +114 -0
  371. package/src/frames/official/sankranti-sky.json +98 -0
  372. package/src/frames/official/sankranti-sticker.json +90 -0
  373. package/src/frames/official/school-backpack.json +81 -0
  374. package/src/frames/official/school-bus-routes.json +83 -0
  375. package/src/frames/official/school-lunch-menu.json +81 -0
  376. package/src/frames/official/school-uniform.json +109 -0
  377. package/src/frames/official/school-welcome-apple.json +71 -0
  378. package/src/frames/official/seollal-knot.json +122 -0
  379. package/src/frames/official/sham-el-nessim.json +81 -0
  380. package/src/frames/official/shogatsu-kadomatsu.json +81 -0
  381. package/src/frames/official/songkran-bands.json +123 -0
  382. package/src/frames/official/songkran-bowl.json +81 -0
  383. package/src/frames/official/songkran-drop.json +90 -0
  384. package/src/frames/official/songkran-waves.json +96 -0
  385. package/src/frames/official/spring-cleaning.json +107 -0
  386. package/src/frames/official/spring-showers.json +71 -0
  387. package/src/frames/official/spring-watering-can.json +114 -0
  388. package/src/frames/official/summer-camp.json +90 -0
  389. package/src/frames/official/summer-pool.json +95 -0
  390. package/src/frames/official/summer-reading.json +81 -0
  391. package/src/frames/official/summer-sunglasses.json +114 -0
  392. package/src/frames/official/summer-watermelon.json +89 -0
  393. package/src/frames/official/tabaski.json +114 -0
  394. package/src/frames/official/tanabata-stars.json +170 -0
  395. package/src/frames/official/tanabata-wishes.json +114 -0
  396. package/src/frames/official/teachers-day-apple.json +81 -0
  397. package/src/frames/official/teachers-day-note.json +109 -0
  398. package/src/frames/official/tet-apricot.json +114 -0
  399. package/src/frames/official/tet-banh-chung.json +81 -0
  400. package/src/frames/official/transit-bike-share.json +94 -0
  401. package/src/frames/official/transit-bus-arrivals.json +113 -0
  402. package/src/frames/official/transit-fare.json +97 -0
  403. package/src/frames/official/transit-ferry.json +88 -0
  404. package/src/frames/official/transit-next-trains.json +119 -0
  405. package/src/frames/official/transit-report.json +99 -0
  406. package/src/frames/official/transit-train-timetable.json +98 -0
  407. package/src/frames/official/ugadi-leaves.json +66 -0
  408. package/src/frames/official/vaisakhi-bands.json +120 -0
  409. package/src/frames/official/vaisakhi-dhol.json +81 -0
  410. package/src/frames/official/vaisakhi-wheat.json +73 -0
  411. package/src/frames/official/vesak-candle.json +122 -0
  412. package/src/frames/official/vesak-lantern.json +114 -0
  413. package/src/frames/official/vesak-lotus.json +71 -0
  414. package/src/frames/official/vesak-seal.json +179 -0
  415. package/src/frames/official/visitor-info.json +78 -0
  416. package/src/frames/official/visitor-town-map.json +108 -0
  417. package/src/frames/official/visitor-wildlife.json +70 -0
  418. package/src/frames/official/water-day-drop.json +81 -0
  419. package/src/frames/official/wifi-cafe-cup.json +81 -0
  420. package/src/frames/official/wifi-cowork.json +63 -0
  421. package/src/frames/official/wifi-hostel-board.json +80 -0
  422. package/src/frames/official/wifi-library.json +96 -0
  423. package/src/frames/official/wifi-reception.json +118 -0
  424. package/src/frames/official/wifi-rental.json +91 -0
  425. package/src/frames/official/wifi-venue.json +80 -0
  426. package/src/frames/official/wifi-waiting-room.json +89 -0
  427. package/src/frames/official/winter-lift-pass.json +90 -0
  428. package/src/frames/official/winter-sale.json +120 -0
  429. package/src/frames/official/winter-skating.json +71 -0
  430. package/src/frames/official/winter-snowman.json +81 -0
  431. package/src/frames/official/womens-day-mimosa.json +81 -0
  432. package/src/frames/official/womens-day-seal.json +179 -0
  433. package/src/frames/official/yalda-poem.json +122 -0
  434. package/src/frames/official/yalda-pomegranate.json +81 -0
  435. package/src/frames/official/yalda-watermelon.json +72 -0
  436. package/src/frames/official/yoga-day-lotus.json +81 -0
  437. package/src/frames/official/zoo-animal-facts.json +109 -0
  438. package/src/preact.ts +80 -0
  439. package/src/scan-score.ts +14 -7
  440. package/src/solid.ts +75 -0
  441. package/src/template/arrow.ts +14 -0
  442. package/src/template/dot-ring-layout.ts +230 -0
  443. package/src/template/dot-ring.tsx +165 -0
  444. package/src/template/frame-template.tsx +70 -0
  445. package/src/template/halloween.ts +14 -0
  446. package/src/template/index.ts +1 -0
  447. package/src/template/specs/arrow.json +26 -0
  448. package/src/template/specs/halloween.json +144 -0
  449. package/src/template/specs/square-border.json +27 -0
  450. package/src/template/specs/standard-box.json +31 -0
  451. package/src/template/specs/striked-box.json +56 -0
  452. package/src/template/square-border.ts +14 -0
  453. package/src/template/standard-box.ts +14 -0
  454. package/src/template/striked-box.ts +14 -0
  455. package/src/template-placement.ts +149 -0
  456. package/src/templates.tsx +16 -1
  457. package/types/frame-spec.ts +278 -11
  458. package/types/qr.ts +1 -1
  459. package/types/template.ts +7 -0
  460. package/dist/src/frame-styles.d.ts +0 -50
  461. package/dist/src/frame-styles.d.ts.map +0 -1
  462. package/src/frame-styles.ts +0 -1095
  463. package/src/template/arrow.tsx +0 -40
  464. package/src/template/halloween.tsx +0 -147
  465. package/src/template/square-border.tsx +0 -43
  466. package/src/template/standard-box.tsx +0 -43
  467. package/src/template/striked-box.tsx +0 -42
@@ -76,6 +76,23 @@ export declare const frameSpecColorSchema: z.ZodUnion<readonly [z.ZodUnion<reado
76
76
  }>, z.ZodString]>], null>;
77
77
  amount: z.ZodNumber;
78
78
  }, z.core.$strict>]>;
79
+ /**
80
+ * The text color's default: a hex color, or a mix of the frame and accent
81
+ * colors (and fixed colors), worked out from the frame's own colors. It
82
+ * can't refer to `text` itself.
83
+ */
84
+ declare const defaultTextColorSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
85
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
86
+ frame: "frame";
87
+ accent: "accent";
88
+ background: "background";
89
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
90
+ frame: "frame";
91
+ accent: "accent";
92
+ background: "background";
93
+ }>, z.ZodString]>], null>;
94
+ amount: z.ZodNumber;
95
+ }, z.core.$strict>]>;
79
96
  /**
80
97
  * A solid color, or a gradient drawn as solid color steps (so EPS, which
81
98
  * has no transparency or blending, draws it the same as SVG).
@@ -219,6 +236,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
219
236
  width: z.ZodNumber;
220
237
  height: z.ZodNumber;
221
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>>;
222
261
  x: z.ZodNumber;
223
262
  y: z.ZodNumber;
224
263
  width: z.ZodNumber;
@@ -295,6 +334,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
295
334
  steps: z.ZodOptional<z.ZodInt>;
296
335
  }, z.core.$strict>;
297
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>>;
298
359
  }, z.core.$strict>, z.ZodObject<{
299
360
  type: z.ZodLiteral<"ellipse">;
300
361
  cx: z.ZodNumber;
@@ -366,6 +427,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
366
427
  steps: z.ZodOptional<z.ZodInt>;
367
428
  }, z.core.$strict>;
368
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>>;
369
452
  }, z.core.$strict>, z.ZodObject<{
370
453
  type: z.ZodLiteral<"polygon">;
371
454
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -434,6 +517,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
434
517
  steps: z.ZodOptional<z.ZodInt>;
435
518
  }, z.core.$strict>;
436
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>>;
437
542
  }, z.core.$strict>, z.ZodObject<{
438
543
  type: z.ZodLiteral<"path">;
439
544
  d: z.ZodString;
@@ -506,6 +611,28 @@ export declare const frameSpecShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
506
611
  nonzero: "nonzero";
507
612
  evenodd: "evenodd";
508
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>>;
509
636
  }, z.core.$strict>, z.ZodObject<{
510
637
  type: z.ZodLiteral<"line">;
511
638
  x1: z.ZodNumber;
@@ -695,9 +822,9 @@ export declare const frameSpecLabelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
695
822
  fontSize: z.ZodOptional<z.ZodNumber>;
696
823
  id: z.ZodString;
697
824
  slot: z.ZodEnum<{
825
+ fixed: "fixed";
698
826
  primary: "primary";
699
827
  secondary: "secondary";
700
- fixed: "fixed";
701
828
  }>;
702
829
  text: z.ZodString;
703
830
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -724,6 +851,10 @@ export declare const frameSpecLabelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
724
851
  bold: "bold";
725
852
  regular: "regular";
726
853
  }>>;
854
+ collapse: z.ZodOptional<z.ZodObject<{
855
+ y: z.ZodNumber;
856
+ height: z.ZodNumber;
857
+ }, z.core.$strict>>;
727
858
  type: z.ZodLiteral<"text">;
728
859
  }, z.core.$strict>, z.ZodObject<{
729
860
  curve: z.ZodObject<{
@@ -739,9 +870,9 @@ export declare const frameSpecLabelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
739
870
  fontSize: z.ZodNumber;
740
871
  id: z.ZodString;
741
872
  slot: z.ZodEnum<{
873
+ fixed: "fixed";
742
874
  primary: "primary";
743
875
  secondary: "secondary";
744
- fixed: "fixed";
745
876
  }>;
746
877
  text: z.ZodString;
747
878
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -768,6 +899,10 @@ export declare const frameSpecLabelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
768
899
  bold: "bold";
769
900
  regular: "regular";
770
901
  }>>;
902
+ collapse: z.ZodOptional<z.ZodObject<{
903
+ y: z.ZodNumber;
904
+ height: z.ZodNumber;
905
+ }, z.core.$strict>>;
771
906
  type: z.ZodLiteral<"curved">;
772
907
  }, z.core.$strict>], "type">;
773
908
  declare const frameSpecObjectSchema: z.ZodObject<{
@@ -783,10 +918,26 @@ declare const frameSpecObjectSchema: z.ZodObject<{
783
918
  size: z.ZodNumber;
784
919
  padding: z.ZodOptional<z.ZodNumber>;
785
920
  radius: z.ZodOptional<z.ZodNumber>;
921
+ plate: z.ZodOptional<z.ZodEnum<{
922
+ none: "none";
923
+ background: "background";
924
+ opaque: "opaque";
925
+ }>>;
786
926
  }, z.core.$strict>;
787
927
  colors: z.ZodObject<{
788
928
  frame: z.ZodString;
789
- text: z.ZodOptional<z.ZodString>;
929
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
930
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
931
+ frame: "frame";
932
+ accent: "accent";
933
+ background: "background";
934
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
935
+ frame: "frame";
936
+ accent: "accent";
937
+ background: "background";
938
+ }>, z.ZodString]>], null>;
939
+ amount: z.ZodNumber;
940
+ }, z.core.$strict>]>>;
790
941
  accent: z.ZodOptional<z.ZodString>;
791
942
  }, z.core.$strict>;
792
943
  shapes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -863,6 +1014,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
863
1014
  width: z.ZodNumber;
864
1015
  height: z.ZodNumber;
865
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>>;
866
1039
  x: z.ZodNumber;
867
1040
  y: z.ZodNumber;
868
1041
  width: z.ZodNumber;
@@ -939,6 +1112,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
939
1112
  steps: z.ZodOptional<z.ZodInt>;
940
1113
  }, z.core.$strict>;
941
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>>;
942
1137
  }, z.core.$strict>, z.ZodObject<{
943
1138
  type: z.ZodLiteral<"ellipse">;
944
1139
  cx: z.ZodNumber;
@@ -1010,6 +1205,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1010
1205
  steps: z.ZodOptional<z.ZodInt>;
1011
1206
  }, z.core.$strict>;
1012
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>>;
1013
1230
  }, z.core.$strict>, z.ZodObject<{
1014
1231
  type: z.ZodLiteral<"polygon">;
1015
1232
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -1078,6 +1295,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1078
1295
  steps: z.ZodOptional<z.ZodInt>;
1079
1296
  }, z.core.$strict>;
1080
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>>;
1081
1320
  }, z.core.$strict>, z.ZodObject<{
1082
1321
  type: z.ZodLiteral<"path">;
1083
1322
  d: z.ZodString;
@@ -1150,6 +1389,28 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1150
1389
  nonzero: "nonzero";
1151
1390
  evenodd: "evenodd";
1152
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>>;
1153
1414
  }, z.core.$strict>, z.ZodObject<{
1154
1415
  type: z.ZodLiteral<"line">;
1155
1416
  x1: z.ZodNumber;
@@ -1339,9 +1600,9 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1339
1600
  fontSize: z.ZodOptional<z.ZodNumber>;
1340
1601
  id: z.ZodString;
1341
1602
  slot: z.ZodEnum<{
1603
+ fixed: "fixed";
1342
1604
  primary: "primary";
1343
1605
  secondary: "secondary";
1344
- fixed: "fixed";
1345
1606
  }>;
1346
1607
  text: z.ZodString;
1347
1608
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -1368,6 +1629,10 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1368
1629
  bold: "bold";
1369
1630
  regular: "regular";
1370
1631
  }>>;
1632
+ collapse: z.ZodOptional<z.ZodObject<{
1633
+ y: z.ZodNumber;
1634
+ height: z.ZodNumber;
1635
+ }, z.core.$strict>>;
1371
1636
  type: z.ZodLiteral<"text">;
1372
1637
  }, z.core.$strict>, z.ZodObject<{
1373
1638
  curve: z.ZodObject<{
@@ -1383,9 +1648,9 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1383
1648
  fontSize: z.ZodNumber;
1384
1649
  id: z.ZodString;
1385
1650
  slot: z.ZodEnum<{
1651
+ fixed: "fixed";
1386
1652
  primary: "primary";
1387
1653
  secondary: "secondary";
1388
- fixed: "fixed";
1389
1654
  }>;
1390
1655
  text: z.ZodString;
1391
1656
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -1412,6 +1677,10 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1412
1677
  bold: "bold";
1413
1678
  regular: "regular";
1414
1679
  }>>;
1680
+ collapse: z.ZodOptional<z.ZodObject<{
1681
+ y: z.ZodNumber;
1682
+ height: z.ZodNumber;
1683
+ }, z.core.$strict>>;
1415
1684
  type: z.ZodLiteral<"curved">;
1416
1685
  }, z.core.$strict>], "type">>;
1417
1686
  bleed: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
@@ -1435,6 +1704,8 @@ declare const frameSpecObjectSchema: z.ZodObject<{
1435
1704
  }, z.core.$strict>]>]>>;
1436
1705
  }, z.core.$strict>;
1437
1706
  export type FrameSpecColor = z.infer<typeof frameSpecColorSchema>;
1707
+ /** A spec's default text color (`colors.text`). */
1708
+ export type FrameSpecDefaultTextColor = z.infer<typeof defaultTextColorSchema>;
1438
1709
  export type FrameSpecPaint = z.infer<typeof frameSpecPaintSchema>;
1439
1710
  export type FrameSpecShape = z.infer<typeof frameSpecShapeSchema>;
1440
1711
  export type FrameSpecLabel = z.infer<typeof frameSpecLabelSchema>;
@@ -1450,6 +1721,22 @@ interface Box {
1450
1721
  export declare function frameSpecQrZone(spec: FrameSpec): Box;
1451
1722
  /** The plate's padding around the code, in spec units. */
1452
1723
  export declare function frameSpecPadding(spec: FrameSpec): number;
1724
+ /** Font size of a text label with no `fontSize`, as a share of its row. */
1725
+ export declare const FRAME_SPEC_DEFAULT_FONT = 0.52;
1726
+ /**
1727
+ * Half the height a label's capitals fill, as a share of its font size: a
1728
+ * text label's letters are centered on its row, so they fill the row's
1729
+ * middle, this far above and below it.
1730
+ */
1731
+ export declare const FRAME_SPEC_CAP_HALF = 0.35;
1732
+ /**
1733
+ * Bounds of a spec shape (null for path data outside the grammar) and the
1734
+ * segments it counts against FRAME_SPEC_LIMITS.maxSegments.
1735
+ */
1736
+ export declare function frameSpecShapeBounds(shape: FrameSpecShape): {
1737
+ bounds: Box | null;
1738
+ segments: number;
1739
+ };
1453
1740
  /**
1454
1741
  * Zod schema for a frame spec, with every limit and cross-field check
1455
1742
  * (FRAME_SPEC_LIMITS). Validate specs from users with this before storing
@@ -1468,10 +1755,26 @@ export declare const frameSpecSchema: z.ZodObject<{
1468
1755
  size: z.ZodNumber;
1469
1756
  padding: z.ZodOptional<z.ZodNumber>;
1470
1757
  radius: z.ZodOptional<z.ZodNumber>;
1758
+ plate: z.ZodOptional<z.ZodEnum<{
1759
+ none: "none";
1760
+ background: "background";
1761
+ opaque: "opaque";
1762
+ }>>;
1471
1763
  }, z.core.$strict>;
1472
1764
  colors: z.ZodObject<{
1473
1765
  frame: z.ZodString;
1474
- text: z.ZodOptional<z.ZodString>;
1766
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1767
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
1768
+ frame: "frame";
1769
+ accent: "accent";
1770
+ background: "background";
1771
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
1772
+ frame: "frame";
1773
+ accent: "accent";
1774
+ background: "background";
1775
+ }>, z.ZodString]>], null>;
1776
+ amount: z.ZodNumber;
1777
+ }, z.core.$strict>]>>;
1475
1778
  accent: z.ZodOptional<z.ZodString>;
1476
1779
  }, z.core.$strict>;
1477
1780
  shapes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1548,6 +1851,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1548
1851
  width: z.ZodNumber;
1549
1852
  height: z.ZodNumber;
1550
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>>;
1551
1876
  x: z.ZodNumber;
1552
1877
  y: z.ZodNumber;
1553
1878
  width: z.ZodNumber;
@@ -1624,6 +1949,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1624
1949
  steps: z.ZodOptional<z.ZodInt>;
1625
1950
  }, z.core.$strict>;
1626
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>>;
1627
1974
  }, z.core.$strict>, z.ZodObject<{
1628
1975
  type: z.ZodLiteral<"ellipse">;
1629
1976
  cx: z.ZodNumber;
@@ -1695,6 +2042,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1695
2042
  steps: z.ZodOptional<z.ZodInt>;
1696
2043
  }, z.core.$strict>;
1697
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>>;
1698
2067
  }, z.core.$strict>, z.ZodObject<{
1699
2068
  type: z.ZodLiteral<"polygon">;
1700
2069
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -1763,6 +2132,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1763
2132
  steps: z.ZodOptional<z.ZodInt>;
1764
2133
  }, z.core.$strict>;
1765
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>>;
1766
2157
  }, z.core.$strict>, z.ZodObject<{
1767
2158
  type: z.ZodLiteral<"path">;
1768
2159
  d: z.ZodString;
@@ -1835,6 +2226,28 @@ export declare const frameSpecSchema: z.ZodObject<{
1835
2226
  nonzero: "nonzero";
1836
2227
  evenodd: "evenodd";
1837
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>>;
1838
2251
  }, z.core.$strict>, z.ZodObject<{
1839
2252
  type: z.ZodLiteral<"line">;
1840
2253
  x1: z.ZodNumber;
@@ -2024,9 +2437,9 @@ export declare const frameSpecSchema: z.ZodObject<{
2024
2437
  fontSize: z.ZodOptional<z.ZodNumber>;
2025
2438
  id: z.ZodString;
2026
2439
  slot: z.ZodEnum<{
2440
+ fixed: "fixed";
2027
2441
  primary: "primary";
2028
2442
  secondary: "secondary";
2029
- fixed: "fixed";
2030
2443
  }>;
2031
2444
  text: z.ZodString;
2032
2445
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -2053,6 +2466,10 @@ export declare const frameSpecSchema: z.ZodObject<{
2053
2466
  bold: "bold";
2054
2467
  regular: "regular";
2055
2468
  }>>;
2469
+ collapse: z.ZodOptional<z.ZodObject<{
2470
+ y: z.ZodNumber;
2471
+ height: z.ZodNumber;
2472
+ }, z.core.$strict>>;
2056
2473
  type: z.ZodLiteral<"text">;
2057
2474
  }, z.core.$strict>, z.ZodObject<{
2058
2475
  curve: z.ZodObject<{
@@ -2068,9 +2485,9 @@ export declare const frameSpecSchema: z.ZodObject<{
2068
2485
  fontSize: z.ZodNumber;
2069
2486
  id: z.ZodString;
2070
2487
  slot: z.ZodEnum<{
2488
+ fixed: "fixed";
2071
2489
  primary: "primary";
2072
2490
  secondary: "secondary";
2073
- fixed: "fixed";
2074
2491
  }>;
2075
2492
  text: z.ZodString;
2076
2493
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -2097,6 +2514,10 @@ export declare const frameSpecSchema: z.ZodObject<{
2097
2514
  bold: "bold";
2098
2515
  regular: "regular";
2099
2516
  }>>;
2517
+ collapse: z.ZodOptional<z.ZodObject<{
2518
+ y: z.ZodNumber;
2519
+ height: z.ZodNumber;
2520
+ }, z.core.$strict>>;
2100
2521
  type: z.ZodLiteral<"curved">;
2101
2522
  }, z.core.$strict>], "type">>;
2102
2523
  bleed: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
@@ -2148,10 +2569,26 @@ export declare const customFrameSchema: z.ZodObject<{
2148
2569
  size: z.ZodNumber;
2149
2570
  padding: z.ZodOptional<z.ZodNumber>;
2150
2571
  radius: z.ZodOptional<z.ZodNumber>;
2572
+ plate: z.ZodOptional<z.ZodEnum<{
2573
+ none: "none";
2574
+ background: "background";
2575
+ opaque: "opaque";
2576
+ }>>;
2151
2577
  }, z.core.$strict>;
2152
2578
  colors: z.ZodObject<{
2153
2579
  frame: z.ZodString;
2154
- text: z.ZodOptional<z.ZodString>;
2580
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2581
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
2582
+ frame: "frame";
2583
+ accent: "accent";
2584
+ background: "background";
2585
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
2586
+ frame: "frame";
2587
+ accent: "accent";
2588
+ background: "background";
2589
+ }>, z.ZodString]>], null>;
2590
+ amount: z.ZodNumber;
2591
+ }, z.core.$strict>]>>;
2155
2592
  accent: z.ZodOptional<z.ZodString>;
2156
2593
  }, z.core.$strict>;
2157
2594
  shapes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2228,6 +2665,28 @@ export declare const customFrameSchema: z.ZodObject<{
2228
2665
  width: z.ZodNumber;
2229
2666
  height: z.ZodNumber;
2230
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>>;
2231
2690
  x: z.ZodNumber;
2232
2691
  y: z.ZodNumber;
2233
2692
  width: z.ZodNumber;
@@ -2304,6 +2763,28 @@ export declare const customFrameSchema: z.ZodObject<{
2304
2763
  steps: z.ZodOptional<z.ZodInt>;
2305
2764
  }, z.core.$strict>;
2306
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>>;
2307
2788
  }, z.core.$strict>, z.ZodObject<{
2308
2789
  type: z.ZodLiteral<"ellipse">;
2309
2790
  cx: z.ZodNumber;
@@ -2375,6 +2856,28 @@ export declare const customFrameSchema: z.ZodObject<{
2375
2856
  steps: z.ZodOptional<z.ZodInt>;
2376
2857
  }, z.core.$strict>;
2377
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>>;
2378
2881
  }, z.core.$strict>, z.ZodObject<{
2379
2882
  type: z.ZodLiteral<"polygon">;
2380
2883
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -2443,6 +2946,28 @@ export declare const customFrameSchema: z.ZodObject<{
2443
2946
  steps: z.ZodOptional<z.ZodInt>;
2444
2947
  }, z.core.$strict>;
2445
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>>;
2446
2971
  }, z.core.$strict>, z.ZodObject<{
2447
2972
  type: z.ZodLiteral<"path">;
2448
2973
  d: z.ZodString;
@@ -2515,6 +3040,28 @@ export declare const customFrameSchema: z.ZodObject<{
2515
3040
  nonzero: "nonzero";
2516
3041
  evenodd: "evenodd";
2517
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>>;
2518
3065
  }, z.core.$strict>, z.ZodObject<{
2519
3066
  type: z.ZodLiteral<"line">;
2520
3067
  x1: z.ZodNumber;
@@ -2704,9 +3251,9 @@ export declare const customFrameSchema: z.ZodObject<{
2704
3251
  fontSize: z.ZodOptional<z.ZodNumber>;
2705
3252
  id: z.ZodString;
2706
3253
  slot: z.ZodEnum<{
3254
+ fixed: "fixed";
2707
3255
  primary: "primary";
2708
3256
  secondary: "secondary";
2709
- fixed: "fixed";
2710
3257
  }>;
2711
3258
  text: z.ZodString;
2712
3259
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -2733,6 +3280,10 @@ export declare const customFrameSchema: z.ZodObject<{
2733
3280
  bold: "bold";
2734
3281
  regular: "regular";
2735
3282
  }>>;
3283
+ collapse: z.ZodOptional<z.ZodObject<{
3284
+ y: z.ZodNumber;
3285
+ height: z.ZodNumber;
3286
+ }, z.core.$strict>>;
2736
3287
  type: z.ZodLiteral<"text">;
2737
3288
  }, z.core.$strict>, z.ZodObject<{
2738
3289
  curve: z.ZodObject<{
@@ -2748,9 +3299,9 @@ export declare const customFrameSchema: z.ZodObject<{
2748
3299
  fontSize: z.ZodNumber;
2749
3300
  id: z.ZodString;
2750
3301
  slot: z.ZodEnum<{
3302
+ fixed: "fixed";
2751
3303
  primary: "primary";
2752
3304
  secondary: "secondary";
2753
- fixed: "fixed";
2754
3305
  }>;
2755
3306
  text: z.ZodString;
2756
3307
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -2777,6 +3328,10 @@ export declare const customFrameSchema: z.ZodObject<{
2777
3328
  bold: "bold";
2778
3329
  regular: "regular";
2779
3330
  }>>;
3331
+ collapse: z.ZodOptional<z.ZodObject<{
3332
+ y: z.ZodNumber;
3333
+ height: z.ZodNumber;
3334
+ }, z.core.$strict>>;
2780
3335
  type: z.ZodLiteral<"curved">;
2781
3336
  }, z.core.$strict>], "type">>;
2782
3337
  bleed: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{
@@ -2851,10 +3406,26 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2851
3406
  size: z.ZodNumber;
2852
3407
  padding: z.ZodOptional<z.ZodNumber>;
2853
3408
  radius: z.ZodOptional<z.ZodNumber>;
3409
+ plate: z.ZodOptional<z.ZodEnum<{
3410
+ none: "none";
3411
+ background: "background";
3412
+ opaque: "opaque";
3413
+ }>>;
2854
3414
  }, z.core.$strict>;
2855
3415
  colors: z.ZodObject<{
2856
3416
  frame: z.ZodString;
2857
- text: z.ZodOptional<z.ZodString>;
3417
+ text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3418
+ mix: z.ZodTuple<[z.ZodUnion<readonly [z.ZodEnum<{
3419
+ frame: "frame";
3420
+ accent: "accent";
3421
+ background: "background";
3422
+ }>, z.ZodString]>, z.ZodUnion<readonly [z.ZodEnum<{
3423
+ frame: "frame";
3424
+ accent: "accent";
3425
+ background: "background";
3426
+ }>, z.ZodString]>], null>;
3427
+ amount: z.ZodNumber;
3428
+ }, z.core.$strict>]>>;
2858
3429
  accent: z.ZodOptional<z.ZodString>;
2859
3430
  }, z.core.$strict>;
2860
3431
  shapes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2931,6 +3502,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2931
3502
  width: z.ZodNumber;
2932
3503
  height: z.ZodNumber;
2933
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>>;
2934
3527
  x: z.ZodNumber;
2935
3528
  y: z.ZodNumber;
2936
3529
  width: z.ZodNumber;
@@ -3007,6 +3600,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3007
3600
  steps: z.ZodOptional<z.ZodInt>;
3008
3601
  }, z.core.$strict>;
3009
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>>;
3010
3625
  }, z.core.$strict>, z.ZodObject<{
3011
3626
  type: z.ZodLiteral<"ellipse">;
3012
3627
  cx: z.ZodNumber;
@@ -3078,6 +3693,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3078
3693
  steps: z.ZodOptional<z.ZodInt>;
3079
3694
  }, z.core.$strict>;
3080
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>>;
3081
3718
  }, z.core.$strict>, z.ZodObject<{
3082
3719
  type: z.ZodLiteral<"polygon">;
3083
3720
  points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
@@ -3146,6 +3783,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3146
3783
  steps: z.ZodOptional<z.ZodInt>;
3147
3784
  }, z.core.$strict>;
3148
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>>;
3149
3808
  }, z.core.$strict>, z.ZodObject<{
3150
3809
  type: z.ZodLiteral<"path">;
3151
3810
  d: z.ZodString;
@@ -3218,6 +3877,28 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3218
3877
  nonzero: "nonzero";
3219
3878
  evenodd: "evenodd";
3220
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>>;
3221
3902
  }, z.core.$strict>, z.ZodObject<{
3222
3903
  type: z.ZodLiteral<"line">;
3223
3904
  x1: z.ZodNumber;
@@ -3407,9 +4088,9 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3407
4088
  fontSize: z.ZodOptional<z.ZodNumber>;
3408
4089
  id: z.ZodString;
3409
4090
  slot: z.ZodEnum<{
4091
+ fixed: "fixed";
3410
4092
  primary: "primary";
3411
4093
  secondary: "secondary";
3412
- fixed: "fixed";
3413
4094
  }>;
3414
4095
  text: z.ZodString;
3415
4096
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -3436,6 +4117,10 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3436
4117
  bold: "bold";
3437
4118
  regular: "regular";
3438
4119
  }>>;
4120
+ collapse: z.ZodOptional<z.ZodObject<{
4121
+ y: z.ZodNumber;
4122
+ height: z.ZodNumber;
4123
+ }, z.core.$strict>>;
3439
4124
  type: z.ZodLiteral<"text">;
3440
4125
  }, z.core.$strict>, z.ZodObject<{
3441
4126
  curve: z.ZodObject<{
@@ -3451,9 +4136,9 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3451
4136
  fontSize: z.ZodNumber;
3452
4137
  id: z.ZodString;
3453
4138
  slot: z.ZodEnum<{
4139
+ fixed: "fixed";
3454
4140
  primary: "primary";
3455
4141
  secondary: "secondary";
3456
- fixed: "fixed";
3457
4142
  }>;
3458
4143
  text: z.ZodString;
3459
4144
  maxLength: z.ZodOptional<z.ZodInt>;
@@ -3480,6 +4165,10 @@ export declare const anyFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3480
4165
  bold: "bold";
3481
4166
  regular: "regular";
3482
4167
  }>>;
4168
+ collapse: z.ZodOptional<z.ZodObject<{
4169
+ y: z.ZodNumber;
4170
+ height: z.ZodNumber;
4171
+ }, z.core.$strict>>;
3483
4172
  type: z.ZodLiteral<"curved">;
3484
4173
  }, z.core.$strict>], "type">>;
3485
4174
  bleed: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodEnum<{