@popcraft/kit 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{agent-45ZGYKTC.js → agent-NTEAEZBN.js} +1 -1
- package/dist/chunks/{build-K6QBTLT7.js → build-W5O2ZVN7.js} +2 -2
- package/dist/chunks/{builtin-ZS3HJHZL.js → builtin-KX2SGDND.js} +3 -3
- package/dist/chunks/{check-template-RZ7IO333.js → check-template-B2KKE6BW.js} +2 -2
- package/dist/chunks/{chunk-ZKHYC3QO.js → chunk-37WES5PM.js} +2 -2
- package/dist/chunks/chunk-45JABNLR.js +161 -0
- package/dist/chunks/chunk-4OGILN7Y.js +141 -0
- package/dist/chunks/{chunk-63X37RCC.js → chunk-5NWVUAWR.js} +4 -4
- package/dist/chunks/{chunk-QREG6HEK.js → chunk-67SLLJJB.js} +40 -40
- package/dist/chunks/chunk-6DV5JZ5M.js +121 -0
- package/dist/chunks/chunk-7Q67MXXL.js +140 -0
- package/dist/chunks/{chunk-R5CW4CNP.js → chunk-A6GPFR5O.js} +11 -11
- package/dist/chunks/chunk-AISWLDDO.js +895 -0
- package/dist/chunks/{chunk-ADZXK6SM.js → chunk-AQGECTRJ.js} +1 -1
- package/dist/chunks/chunk-ASWWZNTY.js +130 -0
- package/dist/chunks/chunk-BNEFANT2.js +134 -0
- package/dist/chunks/{chunk-REJO7GXO.js → chunk-CFEKYNGQ.js} +2 -2
- package/dist/chunks/{chunk-5HG4LWF5.js → chunk-D4HEDPVN.js} +161 -0
- package/dist/chunks/chunk-DRESZDOP.js +130 -0
- package/dist/chunks/{chunk-3W2MSVJA.js → chunk-EBLHS2EG.js} +5 -5
- package/dist/chunks/chunk-EHTLT6XJ.js +131 -0
- package/dist/chunks/{chunk-2AQK4IIV.js → chunk-EVFG2K4L.js} +1 -1
- package/dist/chunks/{chunk-6TJIEERG.js → chunk-F4NTIOTT.js} +26 -26
- package/dist/chunks/chunk-FC7B22QS.js +150 -0
- package/dist/chunks/{chunk-V6COW3DB.js → chunk-G6MIC23V.js} +1 -1
- package/dist/chunks/{chunk-4QBQ4RAA.js → chunk-GODXMHO3.js} +4 -4
- package/dist/chunks/chunk-GT22XGDH.js +152 -0
- package/dist/chunks/chunk-HL4M53ZR.js +143 -0
- package/dist/chunks/{chunk-MPI6SCA7.js → chunk-IDL5KKIC.js} +5 -5
- package/dist/chunks/{chunk-HR7HCFPX.js → chunk-IM6HORNC.js} +5 -5
- package/dist/chunks/{chunk-UVMU6CXR.js → chunk-IWCZDFXL.js} +17 -17
- package/dist/chunks/{chunk-OCSLBM6W.js → chunk-JXAJ6OST.js} +1 -1
- package/dist/chunks/{chunk-5WGMPGKY.js → chunk-KS7DVWDB.js} +1 -1
- package/dist/chunks/chunk-NHDBQ4G7.js +137 -0
- package/dist/chunks/chunk-NKPU5TF2.js +103 -0
- package/dist/chunks/chunk-NO734F3F.js +146 -0
- package/dist/chunks/{chunk-ASWAIYNC.js → chunk-NR2SFSJU.js} +3 -3
- package/dist/chunks/{chunk-CJY4TNOS.js → chunk-O3BEBIDN.js} +3 -1
- package/dist/chunks/{chunk-UDO3ZU5T.js → chunk-OR6HMJRM.js} +1 -1
- package/dist/chunks/chunk-OTICJQ4T.js +267 -0
- package/dist/chunks/chunk-PWZZRGWI.js +141 -0
- package/dist/chunks/{chunk-AE6S2M2B.js → chunk-QX4U3VTU.js} +25 -25
- package/dist/chunks/{chunk-TRUFIU5W.js → chunk-R3YD6VL6.js} +3 -3
- package/dist/chunks/{chunk-YSYZW4VZ.js → chunk-SFPM3UJA.js} +7 -7
- package/dist/chunks/chunk-SNXQM4UO.js +115 -0
- package/dist/chunks/chunk-T3LV66CQ.js +139 -0
- package/dist/chunks/chunk-TDGIO2S7.js +145 -0
- package/dist/chunks/chunk-TFNV2UP4.js +87 -0
- package/dist/chunks/chunk-UJZXKOTP.js +136 -0
- package/dist/chunks/{chunk-QAVWMRRM.js → chunk-V5HI55XO.js} +2 -2
- package/dist/chunks/chunk-VVNPBBPL.js +174 -0
- package/dist/chunks/{chunk-22RNC42G.js → chunk-YHA45NK5.js} +1 -1
- package/dist/chunks/{chunk-27EVM272.js → chunk-YPMT4Y4N.js} +2 -2
- package/dist/chunks/chunk-YRSDFRCX.js +122 -0
- package/dist/chunks/chunk-ZNARVSMD.js +140 -0
- package/dist/chunks/{chunk-3DWOQ4LW.js → chunk-ZTBKAGBN.js} +2 -2
- package/dist/chunks/{client-6DUSRTZG.js → client-25NJXQWL.js} +1 -1
- package/dist/chunks/{client-XYPBNSQ7.js → client-7AQTKZHV.js} +2 -2
- package/dist/chunks/{client-TRFNJJHQ.js → client-LWBTUXQK.js} +2 -2
- package/dist/chunks/{client-actions-SSUZUEG7.js → client-actions-3HIRRSOL.js} +4 -4
- package/dist/chunks/{dangerous-UX4DHJ7U.js → dangerous-XJOHEWL6.js} +3 -3
- package/dist/chunks/{editor-seams-V7ZP7XH3.js → editor-seams-4DREZRTT.js} +9 -9
- package/dist/chunks/{editor-store-OIHZT244.js → editor-store-C4VWC23J.js} +1 -1
- package/dist/chunks/{export-watermark-4NAP5RVM.js → export-watermark-OKGRZNOU.js} +5 -5
- package/dist/chunks/{eyedropper-QXEY7LVL.js → eyedropper-WZYSTUTM.js} +1 -1
- package/dist/chunks/{generate-media-JAEHWNF6.js → generate-media-DFSHOPOI.js} +2 -2
- package/dist/chunks/{host-IKFYVZS7.js → host-4ZE7SIWR.js} +6 -6
- package/dist/chunks/{integrations-U5X2BHVK.js → integrations-LPC35FKX.js} +1 -1
- package/dist/chunks/{kit-modules-BAUMECYQ.js → kit-modules-BAKTDLOZ.js} +1 -1
- package/dist/chunks/{libraries-Q5TCHWGI.js → libraries-ACERXG2O.js} +5 -5
- package/dist/chunks/{live-4XQEGNLA.js → live-ZIVBFX3G.js} +3 -3
- package/dist/chunks/{media-tool-OSQR45HY.js → media-tool-2ZPIQKJD.js} +1 -1
- package/dist/chunks/{new-file-VVLWHEJ4.js → new-file-XS3KCMGM.js} +3 -3
- package/dist/chunks/{plugin-44ZW5UEP.js → plugin-6RNMUP5I.js} +2 -2
- package/dist/chunks/{plugin-import-3ISLDX7T.js → plugin-import-UC5BHZFE.js} +13 -13
- package/dist/chunks/{presence-WVU4OIUA.js → presence-TLDOMBPD.js} +2 -2
- package/dist/chunks/{project-EG7XFEJU.js → project-NMPK4R5M.js} +1 -1
- package/dist/chunks/{publish-site-WFIX42D3.js → publish-site-R46ZILSS.js} +6 -6
- package/dist/chunks/{publish-store-6BS7OIP4.js → publish-store-MIPHEDLV.js} +4 -4
- package/dist/chunks/{raster-actions-37XUQSVZ.js → raster-actions-7EI5THLB.js} +1 -1
- package/dist/chunks/{runner-HZ7MU6ER.js → runner-I66TTKKZ.js} +16 -16
- package/dist/chunks/{store-PHWBXKNY.js → store-7WMR3JKP.js} +5 -5
- package/dist/chunks/{sync-IJNKHQRF.js → sync-OFINS45Q.js} +5 -5
- package/dist/chunks/{tabs-G6OTEGA5.js → tabs-PEH6VX3X.js} +8 -8
- package/dist/chunks/{team-M2EN4JT5.js → team-GGW3O32G.js} +1 -1
- package/dist/chunks/{tools-WDFCY4BH.js → tools-TKCA46ZS.js} +2 -2
- package/dist/chunks/{ui-commands-QHFGR33P.js → ui-commands-6K4PYKU5.js} +11 -11
- package/dist/chunks/{versions-S7COCZSQ.js → versions-KHRNQFGF.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/seed/files.json +1 -1
- package/dist/templates/count.js +1 -1
- package/dist/templates/index.js +125 -101
- package/dist/templates/index.json +756 -0
- package/dist/templates/motion/landing-hero/index.js +4 -4
- package/dist/templates/motion/launch-trailer/document.js +125 -101
- package/dist/templates/motion/launch-trailer/index.js +4 -4
- package/dist/templates/motion/launch-trailer/scenes.js +3 -3
- package/dist/templates/motion/template-wall.js +2 -2
- package/dist/templates/print/holidays-christmas-church-newsletter.js +94 -0
- package/dist/templates/print/holidays-christmas-eve-invitation.js +94 -0
- package/dist/templates/print/holidays-christmas-gift-tags.js +94 -0
- package/dist/templates/print/holidays-diwali-party-invitation.js +95 -0
- package/dist/templates/print/holidays-easter-activity-sheet.js +94 -0
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +94 -0
- package/dist/templates/print/holidays-eid-dinner-invitation.js +95 -0
- package/dist/templates/print/holidays-eid-gift-tags.js +94 -0
- package/dist/templates/print/holidays-halloween-party-invitation.js +95 -0
- package/dist/templates/print/holidays-halloween-treat-labels.js +94 -0
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +94 -0
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +94 -0
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +94 -0
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +95 -0
- package/dist/templates/print/holidays-new-years-eve-poster.js +94 -0
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +94 -0
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +94 -0
- package/dist/templates/print/holidays-valentines-dinner-menu.js +94 -0
- package/dist/templates/saas/email-decks.js +2 -2
- package/dist/templates/saas/index.js +37 -37
- package/dist/templates/saas/launch-kit.js +2 -2
- package/dist/templates/saas/launch-video.js +2 -2
- package/dist/templates/saas/stores.js +2 -2
- package/dist/templates/saas/style-bento.js +2 -2
- package/dist/templates/saas/style-dark.js +2 -2
- package/dist/templates/saas/style-editorial.js +2 -2
- package/dist/templates/saas/style-gradient.js +2 -2
- package/dist/templates/saas/style-pastel.js +2 -2
- package/dist/templates/saas/style-swiss.js +2 -2
- package/dist/templates/slideshow/index.js +3 -3
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +96 -0
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +96 -0
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +96 -0
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +96 -0
- package/dist/templates/social/holidays-valentines-florist-post.js +96 -0
- package/dist/templates/themes/black-friday-coupons.js +2 -2
- package/dist/templates/themes/black-friday-neon.js +2 -2
- package/dist/templates/themes/blueprint.js +2 -2
- package/dist/templates/themes/broadsheet.js +2 -2
- package/dist/templates/themes/cyberpunk.js +2 -2
- package/dist/templates/themes/departure-board.js +2 -2
- package/dist/templates/themes/festival-presale-family-a.js +2 -2
- package/dist/templates/themes/festival-presale-family-b.js +2 -2
- package/dist/templates/themes/holidays-shared.js +172 -0
- package/dist/templates/themes/holidays.js +107 -1
- package/dist/templates/themes/index.js +72 -48
- package/dist/templates/themes/lunar-new-year.js +2 -2
- package/dist/templates/themes/noir.js +2 -2
- package/dist/templates/themes/psychedelic.js +2 -2
- package/dist/templates/themes/space-opera.js +2 -2
- package/dist/templates/themes/studio.js +3 -3
- package/dist/templates/themes/tour-tickets.js +2 -2
- package/dist/templates/themes/vaporwave.js +2 -2
- package/package.json +1 -1
- package/src/templates/print/holidays-christmas-church-newsletter.ts +246 -0
- package/src/templates/print/holidays-christmas-eve-invitation.ts +121 -0
- package/src/templates/print/holidays-christmas-gift-tags.ts +117 -0
- package/src/templates/print/holidays-diwali-party-invitation.ts +98 -0
- package/src/templates/print/holidays-easter-activity-sheet.ts +108 -0
- package/src/templates/print/holidays-easter-egg-hunt-flyer.ts +118 -0
- package/src/templates/print/holidays-eid-dinner-invitation.ts +104 -0
- package/src/templates/print/holidays-eid-gift-tags.ts +94 -0
- package/src/templates/print/holidays-halloween-party-invitation.ts +101 -0
- package/src/templates/print/holidays-halloween-treat-labels.ts +86 -0
- package/src/templates/print/holidays-halloween-trunk-or-treat-poster.ts +148 -0
- package/src/templates/print/holidays-hanukkah-activity-sheet.ts +112 -0
- package/src/templates/print/holidays-hanukkah-party-invitation.ts +112 -0
- package/src/templates/print/holidays-lunar-new-year-banquet-menu.ts +110 -0
- package/src/templates/print/holidays-new-years-eve-poster.ts +117 -0
- package/src/templates/print/holidays-thanksgiving-dinner-menu.ts +110 -0
- package/src/templates/print/holidays-thanksgiving-place-cards.ts +80 -0
- package/src/templates/print/holidays-valentines-dinner-menu.ts +95 -0
- package/src/templates/social/holidays-diwali-sweet-shop-post.ts +121 -0
- package/src/templates/social/holidays-lunar-new-year-bakery-post.ts +110 -0
- package/src/templates/social/holidays-new-years-eve-shop-hours.ts +118 -0
- package/src/templates/social/holidays-thanksgiving-pie-orders-post.ts +115 -0
- package/src/templates/social/holidays-valentines-florist-post.ts +102 -0
- package/src/templates/themes/holidays-shared.ts +903 -0
- package/src/templates/themes/holidays.ts +24 -1
- package/types/templates/src/print/holidays-christmas-church-newsletter.d.ts +2 -0
- package/types/templates/src/print/holidays-christmas-eve-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-christmas-gift-tags.d.ts +2 -0
- package/types/templates/src/print/holidays-diwali-party-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-easter-activity-sheet.d.ts +2 -0
- package/types/templates/src/print/holidays-easter-egg-hunt-flyer.d.ts +2 -0
- package/types/templates/src/print/holidays-eid-dinner-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-eid-gift-tags.d.ts +2 -0
- package/types/templates/src/print/holidays-halloween-party-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-halloween-treat-labels.d.ts +2 -0
- package/types/templates/src/print/holidays-halloween-trunk-or-treat-poster.d.ts +2 -0
- package/types/templates/src/print/holidays-hanukkah-activity-sheet.d.ts +2 -0
- package/types/templates/src/print/holidays-hanukkah-party-invitation.d.ts +2 -0
- package/types/templates/src/print/holidays-lunar-new-year-banquet-menu.d.ts +2 -0
- package/types/templates/src/print/holidays-new-years-eve-poster.d.ts +2 -0
- package/types/templates/src/print/holidays-thanksgiving-dinner-menu.d.ts +2 -0
- package/types/templates/src/print/holidays-thanksgiving-place-cards.d.ts +2 -0
- package/types/templates/src/print/holidays-valentines-dinner-menu.d.ts +2 -0
- package/types/templates/src/social/holidays-diwali-sweet-shop-post.d.ts +2 -0
- package/types/templates/src/social/holidays-lunar-new-year-bakery-post.d.ts +2 -0
- package/types/templates/src/social/holidays-new-years-eve-shop-hours.d.ts +2 -0
- package/types/templates/src/social/holidays-thanksgiving-pie-orders-post.d.ts +2 -0
- package/types/templates/src/social/holidays-valentines-florist-post.d.ts +2 -0
- package/types/templates/src/themes/holidays-shared.d.ts +374 -0
- package/dist/chunks/chunk-OWZLREWX.js +0 -18
- package/dist/chunks/{chunk-IFJTWD4O.js → chunk-2R3MZKA2.js} +3 -3
- package/dist/chunks/{chunk-P67L32AF.js → chunk-3DBNMCGN.js} +3 -3
- package/dist/chunks/{chunk-DZDTVMUO.js → chunk-3VHOXVMF.js} +3 -3
- package/dist/chunks/{chunk-2PQI2R5L.js → chunk-64RMGOTG.js} +0 -0
- package/dist/chunks/{chunk-7BDCMMSD.js → chunk-6Y46SDFE.js} +3 -3
- package/dist/chunks/{chunk-6VCQ4ZEG.js → chunk-AFARXTNQ.js} +3 -3
- package/dist/chunks/{chunk-ITSYENCT.js → chunk-BI3M4RUH.js} +3 -3
- package/dist/chunks/{chunk-25FM5JIR.js → chunk-BP7CHO7K.js} +3 -3
- package/dist/chunks/{chunk-D22534DX.js → chunk-DPTFZDOS.js} +3 -3
- package/dist/chunks/{chunk-JWLR6K62.js → chunk-FNUM5W3W.js} +3 -3
- package/dist/chunks/{chunk-JPH6HOYU.js → chunk-HJQU5POV.js} +3 -3
- package/dist/chunks/{chunk-HQYZ4URA.js → chunk-IJ65QZLL.js} +3 -3
- package/dist/chunks/{chunk-47VVF5TM.js → chunk-INT2OPPY.js} +8 -8
- package/dist/chunks/{chunk-AYVAHMWQ.js → chunk-JPMLUHZX.js} +3 -3
- package/dist/chunks/{chunk-LFYNAAAQ.js → chunk-LMRTRVPC.js} +3 -3
- package/dist/chunks/{chunk-HJIMF4NA.js → chunk-NGMCQZA6.js} +3 -3
- package/dist/chunks/{chunk-B3ASV6KS.js → chunk-PQBYL7AI.js} +3 -3
- package/dist/chunks/{chunk-NHXNUDC5.js → chunk-QD4QORNR.js} +3 -3
- package/dist/chunks/{chunk-P6TPDLAF.js → chunk-S3C6L5KF.js} +3 -3
- package/dist/chunks/{chunk-TIRPXUK2.js → chunk-S7L2D7NH.js} +3 -3
- package/dist/chunks/{chunk-QFGFR5FQ.js → chunk-TYOOL27R.js} +3 -3
- package/dist/chunks/{chunk-32V4D45K.js → chunk-TYW7EXV6.js} +3 -3
- package/dist/chunks/{chunk-3QIDCP4M.js → chunk-VOEAQIQT.js} +3 -3
- package/dist/chunks/{chunk-ASVDOX62.js → chunk-VVUQG4ME.js} +3 -3
- package/dist/chunks/{chunk-ZXZ22FKF.js → chunk-XTWKSMJC.js} +3 -3
- package/dist/chunks/{chunk-6NG5K7WN.js → chunk-YHEMML5Q.js} +3 -3
- package/dist/chunks/{chunk-MVFPEBMY.js → chunk-ZKRSVNY4.js} +3 -3
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
// Holidays pack: printable and social pieces for real holidays and parties (not product campaigns). Registered empty so its pack PR never edits index.ts; every source in it, in gallery order.
|
|
2
2
|
import type { TemplateSource } from '../build'
|
|
3
|
+
import christmasEveInvitation from '../print/holidays-christmas-eve-invitation'
|
|
4
|
+
import christmasGiftTags from '../print/holidays-christmas-gift-tags'
|
|
5
|
+
import christmasNewsletter from '../print/holidays-christmas-church-newsletter'
|
|
6
|
+
import hanukkahInvitation from '../print/holidays-hanukkah-party-invitation'
|
|
7
|
+
import hanukkahActivity from '../print/holidays-hanukkah-activity-sheet'
|
|
8
|
+
import nyePoster from '../print/holidays-new-years-eve-poster'
|
|
9
|
+
import nyeShopHours from '../social/holidays-new-years-eve-shop-hours'
|
|
10
|
+
import valentinesMenu from '../print/holidays-valentines-dinner-menu'
|
|
11
|
+
import valentinesFlorist from '../social/holidays-valentines-florist-post'
|
|
12
|
+
import easterEggHunt from '../print/holidays-easter-egg-hunt-flyer'
|
|
13
|
+
import easterActivity from '../print/holidays-easter-activity-sheet'
|
|
14
|
+
import halloweenInvitation from '../print/holidays-halloween-party-invitation'
|
|
15
|
+
import halloweenLabels from '../print/holidays-halloween-treat-labels'
|
|
16
|
+
import halloweenTrunk from '../print/holidays-halloween-trunk-or-treat-poster'
|
|
17
|
+
import thanksgivingMenu from '../print/holidays-thanksgiving-dinner-menu'
|
|
18
|
+
import thanksgivingPlaceCards from '../print/holidays-thanksgiving-place-cards'
|
|
19
|
+
import thanksgivingPies from '../social/holidays-thanksgiving-pie-orders-post'
|
|
20
|
+
import diwaliInvitation from '../print/holidays-diwali-party-invitation'
|
|
21
|
+
import diwaliSweets from '../social/holidays-diwali-sweet-shop-post'
|
|
22
|
+
import eidInvitation from '../print/holidays-eid-dinner-invitation'
|
|
23
|
+
import eidTags from '../print/holidays-eid-gift-tags'
|
|
24
|
+
import lnyMenu from '../print/holidays-lunar-new-year-banquet-menu'
|
|
25
|
+
import lnyBakery from '../social/holidays-lunar-new-year-bakery-post'
|
|
3
26
|
|
|
4
|
-
const pack: readonly TemplateSource[] = []
|
|
27
|
+
const pack: readonly TemplateSource[] = [christmasEveInvitation, christmasGiftTags, christmasNewsletter, hanukkahInvitation, hanukkahActivity, nyePoster, nyeShopHours, valentinesMenu, valentinesFlorist, easterEggHunt, easterActivity, halloweenInvitation, halloweenLabels, halloweenTrunk, thanksgivingMenu, thanksgivingPlaceCards, thanksgivingPies, diwaliInvitation, diwaliSweets, eidInvitation, eidTags, lnyMenu, lnyBakery]
|
|
5
28
|
export default pack
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
import type { VectorPath } from '../../../lib/document/types.js';
|
|
2
|
+
import type { Kit, VariantSpec } from '../kit.js';
|
|
3
|
+
import { pt3, r3, rng, type P } from '../shared/draw.js';
|
|
4
|
+
type VectorOpts = Parameters<Kit['vector']>[5];
|
|
5
|
+
/** `paths` (in the parent's px) boxed tight: the box, and the paths moved into it, handles and all. */
|
|
6
|
+
export declare function boxTight(paths: VectorPath[]): {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
paths: VectorPath[];
|
|
12
|
+
};
|
|
13
|
+
/** A drawing as named layers: what `draw` makes once, and `redraw` patches in a resized copy. */
|
|
14
|
+
export interface Drawn {
|
|
15
|
+
name: string;
|
|
16
|
+
paths: VectorPath[];
|
|
17
|
+
color: string;
|
|
18
|
+
o?: VectorOpts;
|
|
19
|
+
}
|
|
20
|
+
/** Draw every part of `parts` on `parent`, each a vector boxed tight round its paths. Empty parts are skipped. */
|
|
21
|
+
export declare function draw(k: Kit, parent: string, parts: readonly Drawn[]): string[];
|
|
22
|
+
/**
|
|
23
|
+
* The same drawing worked out for a copy of another size: each layer named as a part, in order, takes the part's box
|
|
24
|
+
* and paths (magic resize stretches a vector's box but not its paths).
|
|
25
|
+
*/
|
|
26
|
+
export declare function redraw(k: Kit, root: string, parts: readonly Drawn[]): void;
|
|
27
|
+
/** Restyle every layer named `layer` under `root`. */
|
|
28
|
+
export declare function restyleAll(k: Kit, root: string, pairs: readonly (readonly [string, string])[]): void;
|
|
29
|
+
/** Scale the height of every spacer named `Gap` under `root` by `s`. */
|
|
30
|
+
export declare function scaleGaps(k: Kit, root: string, s: number): void;
|
|
31
|
+
/**
|
|
32
|
+
* A print size made from the master: the art worked out again at the new size, the padding scaled from the master's
|
|
33
|
+
* by the ratio of widths, the gaps scaled, and the type restyled.
|
|
34
|
+
*/
|
|
35
|
+
export declare function printVariant(preset: string, o: {
|
|
36
|
+
art: (w: number, h: number) => Drawn[];
|
|
37
|
+
pad: {
|
|
38
|
+
top: number;
|
|
39
|
+
right: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
left: number;
|
|
42
|
+
};
|
|
43
|
+
masterWidth: number;
|
|
44
|
+
styles?: readonly (readonly [string, string])[];
|
|
45
|
+
more?: (k: Kit, id: string, s: number) => void;
|
|
46
|
+
}): VariantSpec;
|
|
47
|
+
/** A closed ellipse through four points with handles. */
|
|
48
|
+
export declare function disc(cx: number, cy: number, r: number, ry?: number): VectorPath;
|
|
49
|
+
/** A rectangle with round corners of radius `r`. */
|
|
50
|
+
export declare function roundRect(x: number, y: number, w: number, h: number, r: number): VectorPath;
|
|
51
|
+
/** A plain rectangle. */
|
|
52
|
+
export declare const rectPath: (x: number, y: number, w: number, h: number) => VectorPath;
|
|
53
|
+
/** A straight stroke. */
|
|
54
|
+
export declare const seg: (a: P, b: P) => VectorPath;
|
|
55
|
+
/** A polygon through `pts`. */
|
|
56
|
+
export declare const polyP: (pts: P[], closed?: boolean) => VectorPath;
|
|
57
|
+
/** An open arc of a circle from angle `a0` to `a1`, as a polyline of `n` steps. */
|
|
58
|
+
export declare function arc(cx: number, cy: number, r: number, a0: number, a1: number, n?: number, ry?: number): VectorPath;
|
|
59
|
+
/** An n-pointed star (outer radius `R`, inner `r`), its first point up. */
|
|
60
|
+
export declare function starPath(cx: number, cy: number, R: number, r?: number, n?: number, turn?: number): VectorPath;
|
|
61
|
+
/** A four-pointed sparkle with curved sides. */
|
|
62
|
+
export declare function sparkle(cx: number, cy: number, s: number, pinch?: number): VectorPath;
|
|
63
|
+
/** A heart, `s` wide, its point at the bottom, tilted by `turn` radians. */
|
|
64
|
+
export declare function heart(cx: number, cy: number, s: number, turn?: number): VectorPath;
|
|
65
|
+
/** A pointed leaf from `base`, `len` long and `w` wide, pointing at `angle` (radians, 0 = right). */
|
|
66
|
+
export declare function leaf(base: P, len: number, w: number, angle: number): VectorPath;
|
|
67
|
+
/** A rounded petal (a teardrop from the centre outwards). */
|
|
68
|
+
export declare function petal(base: P, len: number, w: number, angle: number): VectorPath;
|
|
69
|
+
/** A flame (a teardrop pointing up), `w` wide and `h` tall, standing on (cx, cy). */
|
|
70
|
+
export declare function flame(cx: number, cy: number, w: number, h: number): VectorPath;
|
|
71
|
+
/** A crescent moon, `r` its radius, the bite `bite` (0…1) of it taken from the `side` (1 = bite on the right). */
|
|
72
|
+
export declare function crescent(cx: number, cy: number, r: number, bite?: number, side?: number, turn?: number): VectorPath;
|
|
73
|
+
/** Scattered confetti over a `w` × `h` box: little bars and dots, kept off the `keepOut` boxes. */
|
|
74
|
+
export declare function confetti(w: number, h: number, n: number, seed: number, size?: number, keepOut?: readonly {
|
|
75
|
+
x: number;
|
|
76
|
+
y: number;
|
|
77
|
+
w: number;
|
|
78
|
+
h: number;
|
|
79
|
+
}[]): {
|
|
80
|
+
bars: VectorPath[];
|
|
81
|
+
dots: VectorPath[];
|
|
82
|
+
};
|
|
83
|
+
/** Specks of grain over a `w` × `h` box (paper fibre, chalk, sparkle dust). */
|
|
84
|
+
export declare function specks(w: number, h: number, n: number, seed: number, size?: number): VectorPath[];
|
|
85
|
+
/** A box. */
|
|
86
|
+
export interface Rect {
|
|
87
|
+
x: number;
|
|
88
|
+
y: number;
|
|
89
|
+
w: number;
|
|
90
|
+
h: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The bands of a `w` × `h` sheet round a box kept clear for type: above it, below it, and the two margins beside it.
|
|
94
|
+
* Scatter (snow, confetti, stars) is drawn as one layer per band, so no layer's box lies under the words: the
|
|
95
|
+
* contrast check reads a layer's whole box as the ground of any text over it.
|
|
96
|
+
*/
|
|
97
|
+
export declare function bandsAround(w: number, h: number, keep: Rect, bleed?: number): Rect[];
|
|
98
|
+
/** One part per band: `paths(band, i)` drawn in each, under the same name. */
|
|
99
|
+
export declare function perBand(name: string, color: string, bands: readonly Rect[], paths: (b: Rect, i: number) => VectorPath[], o?: VectorOpts): Drawn[];
|
|
100
|
+
/** Specks scattered over one band. */
|
|
101
|
+
export declare const specksIn: (b: Rect, density: number, seed: number, size?: number) => {
|
|
102
|
+
points: {
|
|
103
|
+
x: number;
|
|
104
|
+
y: number;
|
|
105
|
+
}[];
|
|
106
|
+
closed: boolean;
|
|
107
|
+
data?: (string | number)[];
|
|
108
|
+
}[];
|
|
109
|
+
/**
|
|
110
|
+
* A small ornament between two rules (a lozenge, a star, a heart…), as a component: the pack's dividers and
|
|
111
|
+
* kicker flourishes, so a person restyles every one at once.
|
|
112
|
+
*/
|
|
113
|
+
export declare function flourishComponent(k: Kit, name: string, role: string, mark: VectorPath, o?: {
|
|
114
|
+
rule?: number;
|
|
115
|
+
size?: number;
|
|
116
|
+
gap?: number;
|
|
117
|
+
}): void;
|
|
118
|
+
/** A glass bauble hanging from `top`: its body, its cap, the hook and a band across it. */
|
|
119
|
+
export declare function bauble(cx: number, top: number, r: number, o?: {
|
|
120
|
+
string?: number;
|
|
121
|
+
}): {
|
|
122
|
+
body: VectorPath[];
|
|
123
|
+
cap: VectorPath[];
|
|
124
|
+
band: VectorPath[];
|
|
125
|
+
shine: VectorPath[];
|
|
126
|
+
string: VectorPath[];
|
|
127
|
+
shade: VectorPath[];
|
|
128
|
+
};
|
|
129
|
+
/** A sprig of pine along a → b → c: a stem and fine needles in two tones. */
|
|
130
|
+
export declare function pine(a: P, b: P, c: P, o: {
|
|
131
|
+
needle: number;
|
|
132
|
+
seed: number;
|
|
133
|
+
density?: number;
|
|
134
|
+
}): {
|
|
135
|
+
stem: VectorPath;
|
|
136
|
+
dark: VectorPath[];
|
|
137
|
+
light: VectorPath[];
|
|
138
|
+
};
|
|
139
|
+
/** A holly leaf with spines, `len` long, pointing at `angle`. */
|
|
140
|
+
export declare function holly(base: P, len: number, angle: number): VectorPath;
|
|
141
|
+
/** A six-armed snowflake of strokes, radius `r`. */
|
|
142
|
+
export declare function snowflake(cx: number, cy: number, r: number, turn?: number): VectorPath[];
|
|
143
|
+
/** A point and its direction along a quadratic curve a → b → c at `t`. */
|
|
144
|
+
export declare function along(a: P, b: P, c: P, t: number): {
|
|
145
|
+
p: P;
|
|
146
|
+
angle: number;
|
|
147
|
+
};
|
|
148
|
+
/** A quadratic curve a → b → c as an open polyline of `n` steps. */
|
|
149
|
+
export declare const quad: (a: P, b: P, c: P, n?: number) => VectorPath;
|
|
150
|
+
/** A sprig of leaves along a → b → c, in two tones, with berries. */
|
|
151
|
+
export declare function sprig(a: P, b: P, c: P, o: {
|
|
152
|
+
leaves: number;
|
|
153
|
+
size: number;
|
|
154
|
+
seed: number;
|
|
155
|
+
berries?: number;
|
|
156
|
+
narrow?: number;
|
|
157
|
+
}): {
|
|
158
|
+
stem: VectorPath;
|
|
159
|
+
dark: VectorPath[];
|
|
160
|
+
light: VectorPath[];
|
|
161
|
+
berries: VectorPath[];
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* A hanukkiah (the Hanukkah menorah) of nine branches standing on `base` (the middle of its foot), `w` wide and `h`
|
|
165
|
+
* tall to the cups, the shamash in the middle standing higher. Candles stand only for the nights so far, placed
|
|
166
|
+
* from the right as they are, and every one placed is lit, the shamash too. Returns the stand (strokes), its foot,
|
|
167
|
+
* the candles, the empty cups and the flames.
|
|
168
|
+
*/
|
|
169
|
+
export declare function menorah(cx: number, base: number, w: number, h: number, nights?: number): {
|
|
170
|
+
stand: VectorPath[];
|
|
171
|
+
candles: VectorPath[];
|
|
172
|
+
flames: VectorPath[];
|
|
173
|
+
foot: VectorPath[];
|
|
174
|
+
cups: VectorPath[];
|
|
175
|
+
};
|
|
176
|
+
/** A dreidel, `s` tall, tilted by `turn`: its body, its handle and the panel the letter would sit on. */
|
|
177
|
+
export declare function dreidel(cx: number, cy: number, s: number, turn?: number): {
|
|
178
|
+
body: VectorPath[];
|
|
179
|
+
side: VectorPath[];
|
|
180
|
+
handle: VectorPath[];
|
|
181
|
+
};
|
|
182
|
+
/** A six-pointed star of two interlaced triangles, as outlines. */
|
|
183
|
+
export declare function starOfDavid(cx: number, cy: number, r: number): VectorPath[];
|
|
184
|
+
/** A gold coin of gelt: a disc and an inner rim. */
|
|
185
|
+
export declare const gelt: (cx: number, cy: number, r: number) => {
|
|
186
|
+
coin: VectorPath[];
|
|
187
|
+
rim: VectorPath[];
|
|
188
|
+
};
|
|
189
|
+
/** A firework: `n` rays from `r0` to `r1`, each ending in a spark, and a ring of dots. */
|
|
190
|
+
export declare function burst(cx: number, cy: number, r1: number, n?: number, seed?: number, r0?: number): {
|
|
191
|
+
rays: VectorPath[];
|
|
192
|
+
sparks: VectorPath[];
|
|
193
|
+
};
|
|
194
|
+
/** A champagne coupe, `s` tall, its foot on (cx, base): the bowl, the stem and foot, and the wine in it. */
|
|
195
|
+
export declare function coupe(cx: number, base: number, s: number, tilt?: number): {
|
|
196
|
+
glass: VectorPath[];
|
|
197
|
+
wine: VectorPath[];
|
|
198
|
+
};
|
|
199
|
+
/** A curling streamer from `a` across `len`, waving `amp` up and down `waves` times. */
|
|
200
|
+
export declare function streamer(a: P, len: number, angle: number, amp: number, waves: number): VectorPath;
|
|
201
|
+
/** A clock face: the ring, twelve ticks and two hands at five to midnight. */
|
|
202
|
+
export declare function clock(cx: number, cy: number, r: number): {
|
|
203
|
+
ring: VectorPath[];
|
|
204
|
+
ticks: VectorPath[];
|
|
205
|
+
hands: VectorPath[];
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* A rose from above, `r` across: an outer ring of broad overlapping petals, a middle ring, a tight heart and a
|
|
209
|
+
* swirl of strokes into the centre. `inner` is the middle ring and the heart together, for a two-tone rose.
|
|
210
|
+
*/
|
|
211
|
+
export declare function rose(cx: number, cy: number, r: number, seed?: number): {
|
|
212
|
+
outer: VectorPath[];
|
|
213
|
+
inner: VectorPath[];
|
|
214
|
+
mid: VectorPath[];
|
|
215
|
+
core: VectorPath[];
|
|
216
|
+
swirl: VectorPath[];
|
|
217
|
+
};
|
|
218
|
+
/** An egg, `w` wide and `h` tall, its middle at (cx, cy), tilted by `turn`. */
|
|
219
|
+
export declare function egg(cx: number, cy: number, w: number, h: number, turn?: number): VectorPath;
|
|
220
|
+
/** The bands painted on an egg: a zigzag and two lines across it, and dots, clipped to the egg's width by eye. */
|
|
221
|
+
export declare function eggBands(cx: number, cy: number, w: number, h: number, turn?: number, kind?: 'zigzag' | 'dots' | 'waves'): {
|
|
222
|
+
lines: VectorPath[];
|
|
223
|
+
dots: VectorPath[];
|
|
224
|
+
};
|
|
225
|
+
/** A tulip on a stem from (x, ground), `h` tall: the cup, the stem and two leaves. */
|
|
226
|
+
export declare function tulip(x: number, ground: number, h: number, lean?: number): {
|
|
227
|
+
cup: VectorPath[];
|
|
228
|
+
stem: VectorPath[];
|
|
229
|
+
leaves: VectorPath[];
|
|
230
|
+
};
|
|
231
|
+
/** A tuft of grass blades along the ground from x0 to x1. */
|
|
232
|
+
export declare function grass(x0: number, x1: number, ground: number, h: number, seed: number, n?: number): VectorPath[];
|
|
233
|
+
/** A sitting rabbit seen from behind and the side, as one silhouette made of discs and ears, `s` tall. */
|
|
234
|
+
export declare function rabbit(cx: number, ground: number, s: number, facing?: number): {
|
|
235
|
+
body: VectorPath[];
|
|
236
|
+
tail: VectorPath[];
|
|
237
|
+
};
|
|
238
|
+
/** A pumpkin, `w` wide and `h` tall, sitting on (cx, ground): its lobes, the creases between, its stem and a curl. */
|
|
239
|
+
export declare function pumpkin(cx: number, ground: number, w: number, h: number): {
|
|
240
|
+
lobes: VectorPath[];
|
|
241
|
+
creases: VectorPath[];
|
|
242
|
+
stem: VectorPath[];
|
|
243
|
+
};
|
|
244
|
+
/** A jack-o'-lantern's face cut into a pumpkin `w` wide at (cx, cy): two triangle eyes, a nose and a toothy grin. */
|
|
245
|
+
export declare function jackFace(cx: number, cy: number, w: number): VectorPath[];
|
|
246
|
+
/** A bat with scalloped wings, `s` across. */
|
|
247
|
+
export declare function bat(cx: number, cy: number, s: number, flap?: number): VectorPath;
|
|
248
|
+
/** A spider's web in a corner: spokes from (cx, cy) between angles a0 and a1, and sagging threads across them. */
|
|
249
|
+
export declare function web(cx: number, cy: number, r: number, a0: number, a1: number, spokes?: number, rings?: number): VectorPath[];
|
|
250
|
+
/** A ghost, `s` tall, with a wavy hem: the sheet and its two eyes and mouth. */
|
|
251
|
+
export declare function ghost(cx: number, top: number, s: number): {
|
|
252
|
+
sheet: VectorPath[];
|
|
253
|
+
face: VectorPath[];
|
|
254
|
+
};
|
|
255
|
+
/** A piece of candy corn, `s` tall: its three bands. */
|
|
256
|
+
export declare function candyCorn(cx: number, cy: number, s: number, turn?: number): {
|
|
257
|
+
base: VectorPath[];
|
|
258
|
+
mid: VectorPath[];
|
|
259
|
+
tip: VectorPath[];
|
|
260
|
+
};
|
|
261
|
+
/** A maple leaf, `s` across, its stem down, turned by `turn`. */
|
|
262
|
+
export declare function maple(cx: number, cy: number, s: number, turn?: number): VectorPath[];
|
|
263
|
+
/** A maple leaf's veins, to lay over it in a darker tone. */
|
|
264
|
+
export declare function mapleVeins(cx: number, cy: number, s: number, turn?: number): VectorPath[];
|
|
265
|
+
/** An oak leaf with rounded lobes, `len` long, pointing at `angle`. */
|
|
266
|
+
export declare function oak(base: P, len: number, angle: number): VectorPath;
|
|
267
|
+
/** A closed curve through `pts`. */
|
|
268
|
+
export declare function smoothP(pts: P[], tension?: number): VectorPath;
|
|
269
|
+
/** A stalk of wheat from (x, ground) up to its ear, `h` tall: the stalk and the grains. */
|
|
270
|
+
export declare function wheat(x: number, ground: number, h: number, lean?: number): {
|
|
271
|
+
stalk: VectorPath[];
|
|
272
|
+
grains: VectorPath[];
|
|
273
|
+
};
|
|
274
|
+
/** An acorn, `s` tall: its nut, its cap and the stalk. */
|
|
275
|
+
export declare function acorn(cx: number, cy: number, s: number, turn?: number): {
|
|
276
|
+
nut: VectorPath[];
|
|
277
|
+
cap: VectorPath[];
|
|
278
|
+
};
|
|
279
|
+
/** A clay diya, `w` wide, sitting on (cx, ground): its bowl, the painted rim, and the flame with its glow. */
|
|
280
|
+
export declare function diya(cx: number, ground: number, w: number): {
|
|
281
|
+
bowl: VectorPath[];
|
|
282
|
+
rim: VectorPath[];
|
|
283
|
+
flame: VectorPath[];
|
|
284
|
+
core: VectorPath[];
|
|
285
|
+
};
|
|
286
|
+
/** A marigold bloom: a ruff of petals in two rings and a dark heart. */
|
|
287
|
+
export declare function marigold(cx: number, cy: number, r: number, seed?: number): {
|
|
288
|
+
outer: VectorPath[];
|
|
289
|
+
inner: VectorPath[];
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* A rangoli: rings of petals, lozenges and dots about (cx, cy), `R` across. Returns its layers from the back, each
|
|
293
|
+
* for its own colour.
|
|
294
|
+
*/
|
|
295
|
+
export declare function rangoli(cx: number, cy: number, R: number, petals?: number): {
|
|
296
|
+
outer: VectorPath[];
|
|
297
|
+
middle: VectorPath[];
|
|
298
|
+
inner: VectorPath[];
|
|
299
|
+
dots: VectorPath[];
|
|
300
|
+
heart: VectorPath[];
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* A toran across the top of a `w` wide frame: a string that dips between hooks, marigolds hung from it and pairs of
|
|
304
|
+
* mango leaves between them.
|
|
305
|
+
*/
|
|
306
|
+
export declare function toran(x0: number, x1: number, y: number, sag: number, n: number, r: number, seed?: number): {
|
|
307
|
+
string: VectorPath[];
|
|
308
|
+
blooms: {
|
|
309
|
+
outer: VectorPath[];
|
|
310
|
+
inner: VectorPath[];
|
|
311
|
+
};
|
|
312
|
+
leaves: VectorPath[];
|
|
313
|
+
};
|
|
314
|
+
/** An eight-pointed star of two squares (the khatam), radius `r`. */
|
|
315
|
+
export declare function eightStar(cx: number, cy: number, r: number): VectorPath;
|
|
316
|
+
/**
|
|
317
|
+
* A hanging lantern (fanous), `s` tall from its ring at (cx, top): the ring and chain, the domed cap, the glass body
|
|
318
|
+
* with its frame, the glow inside and the foot.
|
|
319
|
+
*/
|
|
320
|
+
export declare function fanous(cx: number, top: number, s: number): {
|
|
321
|
+
metal: VectorPath[];
|
|
322
|
+
glass: VectorPath[];
|
|
323
|
+
frame: VectorPath[];
|
|
324
|
+
glow: VectorPath[];
|
|
325
|
+
};
|
|
326
|
+
/** A pointed (ogee-topped) arch, `w` wide, standing on y = `base` with its springing at `spring` and its tip at `tip`. */
|
|
327
|
+
export declare function archPath(cx: number, w: number, base: number, spring: number, tip: number): VectorPath;
|
|
328
|
+
/** A field of eight-pointed stars on a grid, with small lozenges between them (a tile pattern), over a `w` × `h` box. */
|
|
329
|
+
export declare function tilePattern(w: number, h: number, step: number, x0?: number, y0?: number): {
|
|
330
|
+
stars: VectorPath[];
|
|
331
|
+
joins: VectorPath[];
|
|
332
|
+
};
|
|
333
|
+
/** A round red lantern, `w` wide, hanging from (cx, top): the cord, the caps, the body, its ribs and the tassel. */
|
|
334
|
+
export declare function redLantern(cx: number, top: number, w: number, cord?: number): {
|
|
335
|
+
cord: VectorPath[];
|
|
336
|
+
caps: VectorPath[];
|
|
337
|
+
body: VectorPath[];
|
|
338
|
+
ribs: VectorPath[];
|
|
339
|
+
tassel: VectorPath[];
|
|
340
|
+
};
|
|
341
|
+
/** A plum blossom: five round petals and a heart of stamens. */
|
|
342
|
+
export declare function plum(cx: number, cy: number, r: number, turn?: number): {
|
|
343
|
+
petals: VectorPath[];
|
|
344
|
+
heart: VectorPath[];
|
|
345
|
+
};
|
|
346
|
+
/** A gnarled branch: a main limb through `pts` with twigs off it. Returns the strokes, thick and thin. */
|
|
347
|
+
export declare function branch(pts: P[], seed: number, twigs?: number, len?: number): {
|
|
348
|
+
limb: VectorPath[];
|
|
349
|
+
twigs: VectorPath[];
|
|
350
|
+
ends: P[];
|
|
351
|
+
};
|
|
352
|
+
/** An auspicious cloud (xiangyun): three curls on a flat tail, as one stroke, `s` wide. */
|
|
353
|
+
export declare function cloudCurl(x: number, y: number, s: number, flip?: number): VectorPath[];
|
|
354
|
+
/** A cash coin: a disc with a square hole (drawn as a square in the ground's colour on top). */
|
|
355
|
+
export declare function coin(cx: number, cy: number, r: number): {
|
|
356
|
+
coin: VectorPath[];
|
|
357
|
+
hole: VectorPath[];
|
|
358
|
+
rim: VectorPath[];
|
|
359
|
+
};
|
|
360
|
+
/** A string of firecrackers hanging from (cx, top): the cord and `n` crackers in pairs. */
|
|
361
|
+
export declare function firecrackers(cx: number, top: number, n: number, s: number): {
|
|
362
|
+
cord: VectorPath[];
|
|
363
|
+
crackers: VectorPath[];
|
|
364
|
+
tips: VectorPath[];
|
|
365
|
+
};
|
|
366
|
+
/** A border of short dashes round a `w` × `h` box at inset `m` (a stitch, a cut line). */
|
|
367
|
+
export declare function dashedFrame(w: number, h: number, m: number, r?: number): VectorPath[];
|
|
368
|
+
/** Two fine rules, one inside the other, round a `w` × `h` box at insets `m` and `m + gap`. */
|
|
369
|
+
export declare function doubleRule(w: number, h: number, m: number, gap: number, r?: number): VectorPath[];
|
|
370
|
+
/** A seeded maze of `cols` × `rows` cells at (x, y), `cell` px each, with an entrance top left and an exit bottom right. */
|
|
371
|
+
export declare function maze(x: number, y: number, cols: number, rows: number, cell: number, seed: number): VectorPath[];
|
|
372
|
+
/** A word-search grid: the `words` hidden across, down and diagonally in a `n` × `n` grid, the rest filled at random. */
|
|
373
|
+
export declare function wordSearch(words: readonly string[], n: number, seed: number): string[];
|
|
374
|
+
export { r3, rng, pt3, type P };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createRequire as __popcraftRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __popcraftPath } from 'node:url';
|
|
3
|
-
import { dirname as __popcraftDirname } from 'node:path';
|
|
4
|
-
const require = __popcraftRequire(import.meta.url);
|
|
5
|
-
const __filename = __popcraftPath(import.meta.url);
|
|
6
|
-
const __dirname = __popcraftDirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
init_define_POPCRAFT_COMPONENT_IDS
|
|
9
|
-
} from "./chunk-6VMOKHMF.js";
|
|
10
|
-
|
|
11
|
-
// templates/src/themes/holidays.ts
|
|
12
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
13
|
-
var pack = [];
|
|
14
|
-
var holidays_default = pack;
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
holidays_default
|
|
18
|
-
};
|
|
@@ -10,9 +10,6 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
style_gradient_pricing_default
|
|
12
12
|
} from "./chunk-SMGOXFBP.js";
|
|
13
|
-
import {
|
|
14
|
-
style_gradient_testimonial_default
|
|
15
|
-
} from "./chunk-HVD6EQ67.js";
|
|
16
13
|
import {
|
|
17
14
|
style_gradient_announcement_default
|
|
18
15
|
} from "./chunk-2ELQVHTV.js";
|
|
@@ -22,6 +19,9 @@ import {
|
|
|
22
19
|
import {
|
|
23
20
|
style_gradient_milestone_default
|
|
24
21
|
} from "./chunk-77XDHDHG.js";
|
|
22
|
+
import {
|
|
23
|
+
style_gradient_testimonial_default
|
|
24
|
+
} from "./chunk-HVD6EQ67.js";
|
|
25
25
|
import {
|
|
26
26
|
style_gradient_feature_demo_default
|
|
27
27
|
} from "./chunk-J4PFKKUW.js";
|
|
@@ -10,9 +10,6 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
style_dark_pricing_default
|
|
12
12
|
} from "./chunk-4TPWXYGK.js";
|
|
13
|
-
import {
|
|
14
|
-
style_dark_testimonial_default
|
|
15
|
-
} from "./chunk-64W72FBA.js";
|
|
16
13
|
import {
|
|
17
14
|
style_dark_announcement_default
|
|
18
15
|
} from "./chunk-3NCU3RLR.js";
|
|
@@ -22,6 +19,9 @@ import {
|
|
|
22
19
|
import {
|
|
23
20
|
style_dark_milestone_default
|
|
24
21
|
} from "./chunk-GLMZTQBN.js";
|
|
22
|
+
import {
|
|
23
|
+
style_dark_testimonial_default
|
|
24
|
+
} from "./chunk-64W72FBA.js";
|
|
25
25
|
import {
|
|
26
26
|
style_dark_feature_demo_default
|
|
27
27
|
} from "./chunk-PR5DHSB2.js";
|
|
@@ -7,12 +7,12 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
lunar_new_year_landing_default
|
|
9
9
|
} from "./chunk-GAQD6CN2.js";
|
|
10
|
-
import {
|
|
11
|
-
lunar_new_year_greeting_post_default
|
|
12
|
-
} from "./chunk-XTXT3DO7.js";
|
|
13
10
|
import {
|
|
14
11
|
lunar_new_year_link_preview_default
|
|
15
12
|
} from "./chunk-PJLNZH45.js";
|
|
13
|
+
import {
|
|
14
|
+
lunar_new_year_greeting_post_default
|
|
15
|
+
} from "./chunk-XTXT3DO7.js";
|
|
16
16
|
import {
|
|
17
17
|
lunar_new_year_envelope_reel_default
|
|
18
18
|
} from "./chunk-N345MTET.js";
|
|
File without changes
|
|
@@ -7,12 +7,12 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
black_friday_coupons_landing_default
|
|
9
9
|
} from "./chunk-7SKWTK22.js";
|
|
10
|
-
import {
|
|
11
|
-
black_friday_coupons_ads_default
|
|
12
|
-
} from "./chunk-4FSACN3Q.js";
|
|
13
10
|
import {
|
|
14
11
|
black_friday_coupons_countdown_default
|
|
15
12
|
} from "./chunk-3B5AXYYL.js";
|
|
13
|
+
import {
|
|
14
|
+
black_friday_coupons_ads_default
|
|
15
|
+
} from "./chunk-4FSACN3Q.js";
|
|
16
16
|
import {
|
|
17
17
|
black_friday_coupons_deal_reel_default
|
|
18
18
|
} from "./chunk-3RWLFAIA.js";
|
|
@@ -4,15 +4,15 @@ import { dirname as __popcraftDirname } from 'node:path';
|
|
|
4
4
|
const require = __popcraftRequire(import.meta.url);
|
|
5
5
|
const __filename = __popcraftPath(import.meta.url);
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
festival_presale_family_ads_default
|
|
9
|
+
} from "./chunk-PGVZFKTB.js";
|
|
7
10
|
import {
|
|
8
11
|
festival_presale_food_ads_default
|
|
9
12
|
} from "./chunk-GLEAW73L.js";
|
|
10
13
|
import {
|
|
11
14
|
festival_presale_street_ads_default
|
|
12
15
|
} from "./chunk-NU33AI32.js";
|
|
13
|
-
import {
|
|
14
|
-
festival_presale_family_ads_default
|
|
15
|
-
} from "./chunk-PGVZFKTB.js";
|
|
16
16
|
import {
|
|
17
17
|
festival_presale_street_lineup_default
|
|
18
18
|
} from "./chunk-EKIQ77SE.js";
|
|
@@ -4,12 +4,12 @@ import { dirname as __popcraftDirname } from 'node:path';
|
|
|
4
4
|
const require = __popcraftRequire(import.meta.url);
|
|
5
5
|
const __filename = __popcraftPath(import.meta.url);
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
saas_mail_investor_update_default
|
|
9
|
-
} from "./chunk-4UXEXYYZ.js";
|
|
10
7
|
import {
|
|
11
8
|
saas_mail_seed_pitch_default
|
|
12
9
|
} from "./chunk-RKGHMFRL.js";
|
|
10
|
+
import {
|
|
11
|
+
saas_mail_investor_update_default
|
|
12
|
+
} from "./chunk-4UXEXYYZ.js";
|
|
13
13
|
import {
|
|
14
14
|
saas_mail_launch_default
|
|
15
15
|
} from "./chunk-7N7GWTB5.js";
|
|
@@ -7,15 +7,15 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
departure_board_download_default
|
|
9
9
|
} from "./chunk-CIYZFYTU.js";
|
|
10
|
+
import {
|
|
11
|
+
departure_board_pass_ad_default
|
|
12
|
+
} from "./chunk-44GLC6RY.js";
|
|
10
13
|
import {
|
|
11
14
|
departure_board_store_set_default
|
|
12
15
|
} from "./chunk-N2A7IYXU.js";
|
|
13
16
|
import {
|
|
14
17
|
departure_board_thanks_post_default
|
|
15
18
|
} from "./chunk-BPWIA36F.js";
|
|
16
|
-
import {
|
|
17
|
-
departure_board_pass_ad_default
|
|
18
|
-
} from "./chunk-44GLC6RY.js";
|
|
19
19
|
import {
|
|
20
20
|
departure_board_reel_default
|
|
21
21
|
} from "./chunk-S3IBBQ6X.js";
|