@popcraft/kit 0.1.0 → 0.3.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/CHANGELOG.md +3 -1
- package/README.md +5 -0
- package/dist/index.js +402 -373
- package/package.json +1 -1
- package/types/lib/templates/vocabulary.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The PopCraft design kit: the library PopCraft templates and design scripts are written with — brand roles, text styles, layout, components, motion and music — with its helpers, design checks, a sandboxed script runner and .popcraft output.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://popcraft.app/docs/api/design-reference",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { TimelineFps } from '../document/types.js';
|
|
2
|
-
export declare const TEMPLATE_PLATFORMS: readonly ["instagram", "tiktok", "youtube", "facebook", "linkedin", "x", "pinterest", "threads", "snapchat", "twitch", "web", "email", "print", "slides", "ios", "android", "desktop", "broadcast", "product-hunt", "app-store", "google-play", "chrome-web-store", "github"];
|
|
2
|
+
export declare const TEMPLATE_PLATFORMS: readonly ["instagram", "tiktok", "youtube", "facebook", "linkedin", "x", "pinterest", "threads", "snapchat", "twitch", "web", "email", "print", "slides", "ios", "android", "desktop", "broadcast", "product-hunt", "app-store", "google-play", "chrome-web-store", "github", "messages"];
|
|
3
3
|
export type TemplatePlatform = typeof TEMPLATE_PLATFORMS[number];
|
|
4
|
-
export declare const TEMPLATE_FORMATS: readonly ["post", "portrait-post", "story", "reel", "short", "video", "thumbnail", "banner", "cover", "carousel", "lower-third", "intro", "outro", "end-screen", "title-card", "logo-sting", "ad", "slide-deck", "poster", "flyer", "card", "document", "page", "screen", "email", "board", "screenshot", "og-image", "gallery", "demo"];
|
|
4
|
+
export declare const TEMPLATE_FORMATS: readonly ["post", "portrait-post", "story", "reel", "short", "video", "thumbnail", "banner", "cover", "carousel", "lower-third", "intro", "outro", "end-screen", "title-card", "logo-sting", "ad", "slide-deck", "poster", "flyer", "card", "document", "page", "screen", "email", "board", "screenshot", "og-image", "gallery", "demo", "gif"];
|
|
5
5
|
export type TemplateFormat = typeof TEMPLATE_FORMATS[number];
|
|
6
|
-
export declare const TEMPLATE_USE_CASES: readonly ["announcement", "launch", "sale", "event", "brand-intro", "countdown", "stats", "quote", "tips", "hiring", "testimonial", "interview", "livestream", "podcast", "education", "report", "pitch", "invitation", "portfolio", "menu", "resume", "planning", "onboarding", "newsletter", "receipt", "comic", "title", "waitlist", "changelog", "comparison", "pricing", "milestone", "case-study", "presale"];
|
|
6
|
+
export declare const TEMPLATE_USE_CASES: readonly ["announcement", "launch", "sale", "event", "brand-intro", "countdown", "stats", "quote", "tips", "hiring", "testimonial", "interview", "livestream", "podcast", "education", "report", "pitch", "invitation", "portfolio", "menu", "resume", "planning", "onboarding", "newsletter", "receipt", "comic", "title", "waitlist", "changelog", "comparison", "pricing", "milestone", "case-study", "presale", "greeting"];
|
|
7
7
|
export type TemplateUseCase = typeof TEMPLATE_USE_CASES[number];
|
|
8
8
|
/**
|
|
9
9
|
* The categories — the types inside a kind — an official template may be, by kind. Derived from the one model
|