@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
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
placeDesign,
|
|
12
12
|
sizePreset,
|
|
13
13
|
templateOfBuild
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OR6HMJRM.js";
|
|
15
15
|
import "./chunk-7BXAKNBN.js";
|
|
16
16
|
import "./chunk-U3SNMHEE.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-64RMGOTG.js";
|
|
18
18
|
import "./chunk-XAGVE2C6.js";
|
|
19
19
|
import "./chunk-VZOW336W.js";
|
|
20
20
|
import "./chunk-2Y24BYTM.js";
|
|
@@ -7,8 +7,8 @@ const __dirname = __popcraftDirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
builtinTools,
|
|
9
9
|
registerBuiltinTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-ZTBKAGBN.js";
|
|
11
|
+
import "./chunk-67SLLJJB.js";
|
|
12
12
|
import "./chunk-3OKZ57OD.js";
|
|
13
13
|
import "./chunk-FENVY7S5.js";
|
|
14
14
|
import "./chunk-U57RZGPM.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-WPV57UKC.js";
|
|
|
18
18
|
import "./chunk-3CLJHQC5.js";
|
|
19
19
|
import "./chunk-HXDZI7ZZ.js";
|
|
20
20
|
import "./chunk-EZVFNLBJ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-R3YD6VL6.js";
|
|
22
22
|
import "./chunk-XPLI2SES.js";
|
|
23
23
|
import "./chunk-DHZBRKFZ.js";
|
|
24
24
|
import "./chunk-YZ2OHMU7.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __popcraftPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __popcraftDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
appCommands
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SFPM3UJA.js";
|
|
10
10
|
import {
|
|
11
11
|
builtinCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-67SLLJJB.js";
|
|
13
13
|
import "./chunk-3OKZ57OD.js";
|
|
14
14
|
import "./chunk-FENVY7S5.js";
|
|
15
15
|
import "./chunk-U57RZGPM.js";
|
|
@@ -91,9 +91,9 @@ async function placeStockPhoto(photo, opts = {}) {
|
|
|
91
91
|
}
|
|
92
92
|
async function placePicture(imported, opts = {}) {
|
|
93
93
|
const [{ useEditorStore }, { photoFrameOf }, { placeImage }] = await Promise.all([
|
|
94
|
-
import("./editor-store-
|
|
94
|
+
import("./editor-store-C4VWC23J.js"),
|
|
95
95
|
import("../lib/document/photo-frames.js"),
|
|
96
|
-
import("./media-tool-
|
|
96
|
+
import("./media-tool-2ZPIQKJD.js")
|
|
97
97
|
]);
|
|
98
98
|
const st = useEditorStore.getState();
|
|
99
99
|
const frame = photoFrameOf(st.document.nodes, opts.targetId !== void 0 ? opts.targetId : st.selection[0] ?? null);
|
|
@@ -0,0 +1,161 @@
|
|
|
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
|
+
arc,
|
|
9
|
+
disc,
|
|
10
|
+
diya,
|
|
11
|
+
draw,
|
|
12
|
+
polyP,
|
|
13
|
+
rangoli,
|
|
14
|
+
rectPath,
|
|
15
|
+
redraw,
|
|
16
|
+
restyleAll,
|
|
17
|
+
roundRect,
|
|
18
|
+
scaleGaps,
|
|
19
|
+
seg
|
|
20
|
+
} from "./chunk-AISWLDDO.js";
|
|
21
|
+
import {
|
|
22
|
+
SERIF
|
|
23
|
+
} from "./chunk-X23ZWFW2.js";
|
|
24
|
+
import {
|
|
25
|
+
verticalPadding
|
|
26
|
+
} from "./chunk-EK5CFFJO.js";
|
|
27
|
+
import {
|
|
28
|
+
defineTemplate
|
|
29
|
+
} from "./chunk-A44WEVKR.js";
|
|
30
|
+
import {
|
|
31
|
+
Kit,
|
|
32
|
+
preset
|
|
33
|
+
} from "./chunk-T3SGRYUX.js";
|
|
34
|
+
import {
|
|
35
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
36
|
+
} from "./chunk-6VMOKHMF.js";
|
|
37
|
+
|
|
38
|
+
// templates/src/social/holidays-diwali-sweet-shop-post.ts
|
|
39
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
40
|
+
var NAME = "Diwali sweet shop mithai post";
|
|
41
|
+
var jalebi = (cx, cy, r) => polyP(Array.from({ length: 40 }, (_, i) => {
|
|
42
|
+
const t = i / 39, a = t * Math.PI * 5, rr = r * (0.15 + t * 0.85);
|
|
43
|
+
return { x: cx + Math.cos(a) * rr, y: cy + Math.sin(a) * rr };
|
|
44
|
+
}), false);
|
|
45
|
+
function art(w, h, safe = { top: 0, bottom: 0 }) {
|
|
46
|
+
const s = w / 1080;
|
|
47
|
+
const bx = w - 470 * s, by = h - 470 * s - safe.bottom * 0.5, cell = 128 * s, gap = 10 * s;
|
|
48
|
+
const tray = roundRect(bx - 22 * s, by - 22 * s, 3 * cell + 2 * gap + 44 * s, 3 * cell + 2 * gap + 44 * s, 18 * s);
|
|
49
|
+
const cells = [], ladoo = [], ladooDots = [], katli = [], silver = [], jal = [];
|
|
50
|
+
for (let r = 0; r < 3; r++) for (let c = 0; c < 3; c++) {
|
|
51
|
+
const x = bx + c * (cell + gap), y = by + r * (cell + gap), mx = x + cell / 2, my = y + cell / 2;
|
|
52
|
+
cells.push(roundRect(x, y, cell, cell, 10 * s));
|
|
53
|
+
const kind = (r + c) % 3;
|
|
54
|
+
if (kind === 0) for (const [dx, dy] of [[-0.2, -0.2], [0.2, -0.2], [-0.2, 0.2], [0.2, 0.2]]) {
|
|
55
|
+
ladoo.push(disc(mx + dx * cell, my + dy * cell, cell * 0.19));
|
|
56
|
+
ladooDots.push(disc(mx + dx * cell - 6 * s, my + dy * cell - 6 * s, 2.4 * s), disc(mx + dx * cell + 5 * s, my + dy * cell + 2 * s, 2 * s));
|
|
57
|
+
}
|
|
58
|
+
if (kind === 1) for (const [dx, dy] of [[-0.18, 0], [0.18, 0], [0, -0.26], [0, 0.26]]) {
|
|
59
|
+
const q = (u, v) => ({ x: mx + dx * cell + u, y: my + dy * cell + v }), d = cell * 0.17;
|
|
60
|
+
katli.push(polyP([q(0, -d), q(d * 1.2, 0), q(0, d), q(-d * 1.2, 0)]));
|
|
61
|
+
silver.push(polyP([q(0, -d * 0.6), q(d * 0.7, 0), q(0, d * 0.6), q(-d * 0.7, 0)]));
|
|
62
|
+
}
|
|
63
|
+
if (kind === 2) jal.push(jalebi(mx - cell * 0.18, my - cell * 0.12, cell * 0.2), jalebi(mx + cell * 0.18, my + cell * 0.14, cell * 0.2));
|
|
64
|
+
}
|
|
65
|
+
const arches = [], chains = [];
|
|
66
|
+
const n = 6, aw = w / n, top = safe.top * 0.6;
|
|
67
|
+
for (let i = 0; i < n; i++) {
|
|
68
|
+
const x = i * aw;
|
|
69
|
+
arches.push(arc(x + aw / 2, top + 40 * s, aw / 2, Math.PI, 0, 18, 46 * s));
|
|
70
|
+
chains.push(seg({ x: x + aw / 2, y: top }, { x: x + aw / 2, y: top + 92 * s }));
|
|
71
|
+
}
|
|
72
|
+
const lamps = Array.from({ length: n }, (_, i) => diya(i * aw + aw / 2 - 6 * s, top + 128 * s, 50 * s));
|
|
73
|
+
const rg = rangoli(w + 30 * s, top + 470 * s, 330 * s, 8);
|
|
74
|
+
return [
|
|
75
|
+
{ name: "Rangoli outer", paths: rg.outer, color: "pink" },
|
|
76
|
+
{ name: "Rangoli middle", paths: rg.middle, color: "saffron" },
|
|
77
|
+
{ name: "Rangoli inner", paths: rg.inner, color: "gold" },
|
|
78
|
+
{ name: "Rangoli dots", paths: rg.dots, color: "paperCup" },
|
|
79
|
+
{ name: "Rangoli heart", paths: rg.heart, color: "clay" },
|
|
80
|
+
{ name: "Arches", paths: arches, color: "gold", o: { strokeWidth: 4 * s } },
|
|
81
|
+
{ name: "Chains", paths: chains, color: "gold", o: { strokeWidth: 2 * s } },
|
|
82
|
+
{ name: "Hanging diyas", paths: lamps.flatMap((d) => d.bowl), color: "clay" },
|
|
83
|
+
{ name: "Hanging diya rims", paths: lamps.flatMap((d) => d.rim), color: "gold" },
|
|
84
|
+
{ name: "Hanging flames", paths: lamps.flatMap((d) => d.flame), color: "saffron" },
|
|
85
|
+
{ name: "Box shadow", paths: [roundRect(bx - 4 * s, by + 4 * s, 3 * cell + 2 * gap + 44 * s, 3 * cell + 2 * gap + 44 * s, 18 * s)], color: "shadow", o: { opacity: 0.35 } },
|
|
86
|
+
{ name: "Box", paths: [tray], color: "pink" },
|
|
87
|
+
{ name: "Box trim", paths: [rectPath(bx - 22 * s, by + 3 * cell + 2 * gap + 10 * s, 3 * cell + 2 * gap + 44 * s, 8 * s)], color: "gold" },
|
|
88
|
+
{ name: "Compartments", paths: cells, color: "paperCup" },
|
|
89
|
+
{ name: "Ladoos", paths: ladoo, color: "saffron" },
|
|
90
|
+
{ name: "Ladoo specks", paths: ladooDots, color: "clay" },
|
|
91
|
+
{ name: "Kaju katli", paths: katli, color: "katli" },
|
|
92
|
+
{ name: "Silver leaf", paths: silver, color: "silver" },
|
|
93
|
+
{ name: "Jalebi", paths: jal, color: "jalebi", o: { strokeWidth: 9 * s } }
|
|
94
|
+
];
|
|
95
|
+
}
|
|
96
|
+
var holidays_diwali_sweet_shop_post_default = defineTemplate({
|
|
97
|
+
id: "social-holidays-diwali-sweet-shop-post",
|
|
98
|
+
meta: {
|
|
99
|
+
name: NAME,
|
|
100
|
+
description: "A sweet shop\u2019s Diwali mithai-box post: an open box from above full of ladoos, silver-leafed kaju katli and coils of jalebi in the corner of a deep emerald ground, scalloped arches with hanging diyas along the top, \u201CDiwali mithai boxes\u201D in a gold serif, three boxes with prices and the order-by date. 4:5 for the feed and 9:16 for stories",
|
|
101
|
+
category: "social",
|
|
102
|
+
tags: ["diwali", "deepavali", "mithai", "sweets", "sweet shop", "ladoo", "kaju katli", "jalebi", "gift box", "pre-order", "small business", "indian", "instagram", "story", "post"],
|
|
103
|
+
platforms: ["instagram", "facebook"],
|
|
104
|
+
formats: ["portrait-post", "story"],
|
|
105
|
+
useCases: ["sale", "announcement"],
|
|
106
|
+
created: "2026-10-10",
|
|
107
|
+
updated: "2026-10-10"
|
|
108
|
+
},
|
|
109
|
+
stableNumbers: true,
|
|
110
|
+
build() {
|
|
111
|
+
const k = new Kit(NAME, preset("ig-portrait"));
|
|
112
|
+
k.quantizeGeometry = true;
|
|
113
|
+
k.brand(
|
|
114
|
+
{ paper: "#0E4B3B", text: "#FFF4DE", onPaper: "#F2C14E", primary: "#F2C14E", onPrimary: "#0E4B3B", line: "#2C6B58" },
|
|
115
|
+
{ name: "Sweet Saffron", site: "sweetsaffron.nyc" }
|
|
116
|
+
);
|
|
117
|
+
k.palette({ gold: "#F2C14E", saffron: "#FFA41B", clay: "#B9572B", pink: "#D63D78", paperCup: "#FFF4DE", katli: "#EFE1C2", silver: "#C9CED6", jalebi: "#F28A1A", shadow: "#05261D" });
|
|
118
|
+
k.textStyle("Kicker 26", { size: 26, fontWeight: 700, letterSpacing: 5, lineHeight: 34 });
|
|
119
|
+
k.textStyle("Title 98", { ...SERIF, size: 98, fontWeight: 700, fontStyle: "italic", letterSpacing: -2.4, lineHeight: 96 });
|
|
120
|
+
k.textStyle("Box 31", { ...SERIF, size: 31, fontWeight: 600, lineHeight: 38 });
|
|
121
|
+
k.textStyle("Price 31", { size: 31, fontWeight: 800, lineHeight: 38, fontFeatures: { tnum: 1 } });
|
|
122
|
+
k.textStyle("Body 26", { size: 26, fontWeight: 500, lineHeight: 35 });
|
|
123
|
+
k.component("Mithai box", { gap: 2, width: 520, padding: { top: 10, right: 0, bottom: 10, left: 0 }, props: { Box: "Box", Price: "$0" } }, (id) => {
|
|
124
|
+
k.propText(id, "Box", { style: "Box 31", color: "text", width: "FILL", name: "Box name" });
|
|
125
|
+
k.propText(id, "Price", { style: "Price 31", color: "onPaper", width: "FILL", name: "Box price" });
|
|
126
|
+
});
|
|
127
|
+
const sheet = k.sheet;
|
|
128
|
+
const { width: W, height: H } = k.node(sheet);
|
|
129
|
+
k.flowSheet(sheet, 0, { top: 236, right: 476, bottom: 80, left: 84 }, "paper", "MIN", "MIN");
|
|
130
|
+
draw(k, sheet, art(W, H));
|
|
131
|
+
k.text(sheet, "HAPPY DIWALI", { style: "Kicker 26", color: "text", width: "FILL", name: "Kicker" });
|
|
132
|
+
k.stack(sheet, { height: 14, name: "Gap" });
|
|
133
|
+
k.text(sheet, "Diwali mithai boxes", { style: "Title 98", color: "onPaper", width: "FILL", name: "Title" });
|
|
134
|
+
k.stack(sheet, { height: 22, name: "Gap" });
|
|
135
|
+
const list = k.stack(sheet, { width: 520, name: "Boxes" });
|
|
136
|
+
for (const [i, [n, p]] of [["Motichoor ladoo, 12", "$18"], ["Kaju katli, 500 g", "$22"], ["Mixed mithai, 1 kg", "$34"]].entries()) {
|
|
137
|
+
k.instance(list, "Mithai box", { Box: n, Price: p }, { name: "Mithai box", width: "FILL" });
|
|
138
|
+
if (i < 2) k.rect(list, "FILL", 2, "line", { name: "Rule" });
|
|
139
|
+
}
|
|
140
|
+
k.stack(sheet, { height: 22, name: "Gap" });
|
|
141
|
+
k.text(sheet, "Order by Thursday 5 November. Pick up Friday to Sunday at {{brand.name}}, 74th Street, or {{brand.site}}", { style: "Body 26", color: "text", width: "FILL", name: "Body" });
|
|
142
|
+
k.textStyle("Title 110", { ...SERIF, size: 110, fontWeight: 700, fontStyle: "italic", letterSpacing: -2.8, lineHeight: 106 });
|
|
143
|
+
const story = {
|
|
144
|
+
preset: "ig-story",
|
|
145
|
+
adjust: (kit, id) => {
|
|
146
|
+
const { width: w, height: h } = kit.node(id);
|
|
147
|
+
const safe = verticalPadding(84);
|
|
148
|
+
redraw(kit, id, art(w, h, { top: safe.top - 84, bottom: safe.bottom - 84 }));
|
|
149
|
+
kit.patch(id, { padding: { top: safe.top + 160, right: w - safe.left - 520, bottom: safe.bottom, left: safe.left } });
|
|
150
|
+
restyleAll(kit, id, [["Title", "Title 110"]]);
|
|
151
|
+
scaleGaps(kit, id, 1.3);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
k.variants(sheet, [story]);
|
|
155
|
+
return k.finish();
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export {
|
|
160
|
+
holidays_diwali_sweet_shop_post_default
|
|
161
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
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
|
+
bandsAround,
|
|
9
|
+
disc,
|
|
10
|
+
draw,
|
|
11
|
+
dreidel,
|
|
12
|
+
flourishComponent,
|
|
13
|
+
gelt,
|
|
14
|
+
menorah,
|
|
15
|
+
perBand,
|
|
16
|
+
polyP,
|
|
17
|
+
printVariant,
|
|
18
|
+
sparkle,
|
|
19
|
+
specksIn,
|
|
20
|
+
starOfDavid
|
|
21
|
+
} from "./chunk-AISWLDDO.js";
|
|
22
|
+
import {
|
|
23
|
+
SERIF
|
|
24
|
+
} from "./chunk-X23ZWFW2.js";
|
|
25
|
+
import {
|
|
26
|
+
defineTemplate
|
|
27
|
+
} from "./chunk-A44WEVKR.js";
|
|
28
|
+
import {
|
|
29
|
+
Kit,
|
|
30
|
+
preset
|
|
31
|
+
} from "./chunk-T3SGRYUX.js";
|
|
32
|
+
import {
|
|
33
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
34
|
+
} from "./chunk-6VMOKHMF.js";
|
|
35
|
+
|
|
36
|
+
// templates/src/print/holidays-hanukkah-party-invitation.ts
|
|
37
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
38
|
+
var NAME = "Hanukkah latke party invitation";
|
|
39
|
+
var PAD = { top: 334, right: 40, bottom: 70, left: 40 };
|
|
40
|
+
function art(w, h) {
|
|
41
|
+
const s = w / 480, B = 14 * s, cx = w / 2;
|
|
42
|
+
const base = 292 * s;
|
|
43
|
+
const m = menorah(cx, base, 300 * s, 150 * s, 2);
|
|
44
|
+
const d1 = dreidel(62 * s, 252 * s, 64 * s, -0.35), d2 = dreidel(w - 66 * s, 246 * s, 56 * s, 0.4);
|
|
45
|
+
const coins = [[-104, 8, 13], [-78, 13, 10], [88, 9, 12], [112, 14, 9]].map(([dx, dy, r]) => gelt(cx + dx * s, base + dy * s, r * s));
|
|
46
|
+
const by = h - 32 * s, step = 26 * s;
|
|
47
|
+
const border = [], borderDots = [];
|
|
48
|
+
for (let x = -B, i = 0; x < w + B; x += step, i++) {
|
|
49
|
+
if (Math.abs(x - cx) < 34 * s) continue;
|
|
50
|
+
border.push(polyP([{ x, y: by - 7 * s }, { x: x + 7 * s, y: by }, { x, y: by + 7 * s }, { x: x - 7 * s, y: by }]));
|
|
51
|
+
borderDots.push(disc(x + step / 2, by, 2.6 * s));
|
|
52
|
+
}
|
|
53
|
+
const borderStars = starOfDavid(cx, by, 14 * s);
|
|
54
|
+
const keep = { x: 28 * s, y: 318 * s, w: w - 56 * s, h: h - 380 * s };
|
|
55
|
+
const big = [[0.1, 0.07, 16], [0.9, 0.06, 18], [0.25, 0.04, 8], [0.72, 0.04, 9], [0.94, 0.27, 8], [0.06, 0.27, 10]].map(([x, y, r]) => sparkle(w * x, h * y, r * s, 0.16));
|
|
56
|
+
return [
|
|
57
|
+
...perBand("Stardust", "sky", bandsAround(w, h, keep, B), (b, i) => specksIn(b, 520 * s * s, 40 + i, 2.6 * s), { opacity: 0.55 }),
|
|
58
|
+
{ name: "Sparkles", paths: big, color: "sky" },
|
|
59
|
+
{ name: "Glow", paths: [disc(cx, 176 * s, 160 * s, 116 * s)], color: "glow", o: { opacity: 0.2 } },
|
|
60
|
+
{ name: "Border", paths: border, color: "sky" },
|
|
61
|
+
{ name: "Border dots", paths: borderDots, color: "brass" },
|
|
62
|
+
{ name: "Border stars", paths: borderStars, color: "sky", o: { strokeWidth: 1.4 * s } },
|
|
63
|
+
{ name: "Menorah", paths: m.stand, color: "brass", o: { strokeWidth: 7 * s } },
|
|
64
|
+
{ name: "Menorah foot", paths: m.foot, color: "brass" },
|
|
65
|
+
{ name: "Cups", paths: m.cups, color: "brass" },
|
|
66
|
+
{ name: "Candles", paths: m.candles, color: "candle" },
|
|
67
|
+
{ name: "Flames", paths: m.flames, color: "flame" },
|
|
68
|
+
{ name: "Dreidel", paths: [...d1.body, ...d2.body], color: "sky" },
|
|
69
|
+
{ name: "Dreidel side", paths: [...d1.side, ...d2.side], color: "skyDeep" },
|
|
70
|
+
{ name: "Dreidel handle", paths: [...d1.handle, ...d2.handle], color: "brass" },
|
|
71
|
+
{ name: "Gelt", paths: coins.flatMap((c) => c.coin), color: "brass" },
|
|
72
|
+
{ name: "Gelt rim", paths: coins.flatMap((c) => c.rim), color: "brassDeep", o: { strokeWidth: 1.2 * s } },
|
|
73
|
+
{ name: "Table", paths: [{ closed: false, points: [{ x: 40 * s, y: base + 22 * s }, { x: w - 40 * s, y: base + 22 * s }] }], color: "sky", o: { strokeWidth: 1.4 * s, opacity: 0.6 } }
|
|
74
|
+
];
|
|
75
|
+
}
|
|
76
|
+
var holidays_hanukkah_party_invitation_default = defineTemplate({
|
|
77
|
+
id: "print-holidays-hanukkah-party-invitation",
|
|
78
|
+
meta: {
|
|
79
|
+
name: NAME,
|
|
80
|
+
description: "A printed invitation to a Hanukkah latke party on the second night, in a mid-century style: a brass hanukkiah with the shamash and two candles lit under a starburst sky, spinning dreidels and gelt, then \u201CLatkes & Light\u201D in a heavy wide sans with a serif italic and the details. 5 \xD7 7 inches with bleed, and an A6 copy",
|
|
81
|
+
category: "invitation",
|
|
82
|
+
tags: ["hanukkah", "chanukah", "latke party", "menorah", "hanukkiah", "dreidel", "gelt", "jewish", "holiday party", "invitation", "mid-century", "retro", "print", "card"],
|
|
83
|
+
platforms: ["print"],
|
|
84
|
+
formats: ["card"],
|
|
85
|
+
useCases: ["invitation", "event"],
|
|
86
|
+
created: "2026-10-10",
|
|
87
|
+
updated: "2026-10-10"
|
|
88
|
+
},
|
|
89
|
+
stableNumbers: true,
|
|
90
|
+
build() {
|
|
91
|
+
const k = new Kit(NAME, preset("invitation-5x7"));
|
|
92
|
+
k.quantizeGeometry = true;
|
|
93
|
+
k.brand(
|
|
94
|
+
{ paper: "#1E2F5C", text: "#F6F2E8", onPaper: "#EDBE4E", primary: "#E9B949", onPrimary: "#1E2F5C" },
|
|
95
|
+
{ name: "Dana & Eli Rosen" }
|
|
96
|
+
);
|
|
97
|
+
k.palette({ sky: "#8FB4E6", skyDeep: "#5C82BE", brass: "#E2B04A", brassDeep: "#A87A22", candle: "#F6F2E8", flame: "#FFC94D", glow: "#4E6BA6" });
|
|
98
|
+
k.textStyle("Kicker 11", { size: 11, fontWeight: 700, letterSpacing: 3.4, lineHeight: 16 });
|
|
99
|
+
k.textStyle("Title 52", { size: 50, fontWeight: 900, letterSpacing: -1.8, lineHeight: 50 });
|
|
100
|
+
k.textStyle("Sub 22", { ...SERIF, size: 22, fontWeight: 400, fontStyle: "italic", lineHeight: 28 });
|
|
101
|
+
k.textStyle("When 15", { size: 15, fontWeight: 700, lineHeight: 21 });
|
|
102
|
+
k.textStyle("Body 12", { ...SERIF, size: 12, fontWeight: 400, lineHeight: 17 });
|
|
103
|
+
k.textStyle("Rsvp 10", { size: 10, fontWeight: 600, letterSpacing: 1.4, lineHeight: 15 });
|
|
104
|
+
const sheet = k.sheet;
|
|
105
|
+
const { width: W, height: H } = k.node(sheet);
|
|
106
|
+
k.flowSheet(sheet, 0, PAD, "paper", "MIN", "CENTER");
|
|
107
|
+
draw(k, sheet, art(W, H));
|
|
108
|
+
const c = { align: "CENTER", width: "FILL" };
|
|
109
|
+
k.text(sheet, "CHAG SAMEACH! COME FOR", { style: "Kicker 11", color: "text", ...c, name: "Kicker" });
|
|
110
|
+
k.stack(sheet, { height: 10, name: "Gap" });
|
|
111
|
+
k.text(sheet, "LATKES & LIGHT", { style: "Title 52", color: "text", ...c, name: "Title" });
|
|
112
|
+
k.text(sheet, "a Hanukkah party on the second night", { style: "Sub 22", color: "onPaper", ...c, name: "Sub" });
|
|
113
|
+
k.stack(sheet, { height: 14, name: "Gap" });
|
|
114
|
+
flourishComponent(k, "Dot rule", "onPaper", disc(0, 0, 4), { rule: 30, size: 6 });
|
|
115
|
+
k.instance(sheet, "Dot rule", {}, { name: "Divider" });
|
|
116
|
+
k.stack(sheet, { height: 14, name: "Gap" });
|
|
117
|
+
k.text(sheet, "Saturday 5 December \xB7 5:30 pm", { style: "When 15", color: "text", ...c, name: "When" });
|
|
118
|
+
k.text(sheet, "at {{brand.name}}\u2019s, 22 Maple Row, Brookline", { style: "Body 12", color: "text", ...c, name: "Where" });
|
|
119
|
+
k.stack(sheet, { height: 10, name: "Gap" });
|
|
120
|
+
k.text(sheet, "We light the candles at sundown, then it\u2019s latkes three ways, sufganiyot and a cutthroat dreidel tournament. Bring your own menorah if you like.", { style: "Body 12", color: "text", ...c, name: "Body" });
|
|
121
|
+
k.stack(sheet, { height: 12, name: "Gap" });
|
|
122
|
+
k.text(sheet, "RSVP TO DANA \xB7 (617) 555-0193", { style: "Rsvp 10", color: "text", ...c, name: "Rsvp" });
|
|
123
|
+
k.textStyle("Title 43", { size: 41, fontWeight: 900, letterSpacing: -1.4, lineHeight: 42 });
|
|
124
|
+
k.textStyle("Sub 18", { ...SERIF, size: 18, fontWeight: 400, fontStyle: "italic", lineHeight: 23 });
|
|
125
|
+
k.textStyle("When 13", { size: 13, fontWeight: 700, lineHeight: 18 });
|
|
126
|
+
k.textStyle("Body 10.5", { ...SERIF, size: 10.5, fontWeight: 400, lineHeight: 15 });
|
|
127
|
+
k.textStyle("Rsvp 8.5", { size: 8.5, fontWeight: 600, letterSpacing: 1.1, lineHeight: 13 });
|
|
128
|
+
k.textStyle("Kicker 9.5", { size: 9.5, fontWeight: 700, letterSpacing: 2.8, lineHeight: 14 });
|
|
129
|
+
k.variants(sheet, [printVariant("a6", {
|
|
130
|
+
art,
|
|
131
|
+
pad: PAD,
|
|
132
|
+
masterWidth: W,
|
|
133
|
+
styles: [["Title", "Title 43"], ["Sub", "Sub 18"], ["When", "When 13"], ["Where", "Body 10.5"], ["Body", "Body 10.5"], ["Rsvp", "Rsvp 8.5"], ["Kicker", "Kicker 9.5"]]
|
|
134
|
+
})]);
|
|
135
|
+
return k.finish();
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
export {
|
|
140
|
+
holidays_hanukkah_party_invitation_default
|
|
141
|
+
};
|
|
@@ -14,17 +14,17 @@ import {
|
|
|
14
14
|
newFileRefusal,
|
|
15
15
|
reportNewFileBlocked,
|
|
16
16
|
setCloudLink
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YPMT4Y4N.js";
|
|
18
18
|
import {
|
|
19
19
|
parseDeepLink,
|
|
20
20
|
withDeepLink
|
|
21
21
|
} from "./chunk-J2SFBGA7.js";
|
|
22
22
|
import {
|
|
23
23
|
activeTeamWorkspaceId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EVFG2K4L.js";
|
|
25
25
|
import {
|
|
26
26
|
attachPresence
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JXAJ6OST.js";
|
|
28
28
|
import {
|
|
29
29
|
isPersistableDocument,
|
|
30
30
|
isUnsavedPlaceholder,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
setCollabHistory,
|
|
36
36
|
storedDocument,
|
|
37
37
|
useEditorStore
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IM6HORNC.js";
|
|
39
39
|
import {
|
|
40
40
|
deleteDocFromLibrary,
|
|
41
41
|
docExists,
|