Skip to content

armgit / pdfcn

Public Imported from GitHub
0

Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.

Merge branch 'main' into feat/packing-slip-block

Aniket-508e4e4d7e8ccdf
diff --cc apps/web/content/docs/blocks/takumi/meta.json
index 3fc2c62,4a4c1a6..6e2fc51
--- a/apps/web/content/docs/blocks/takumi/meta.json
+++ b/apps/web/content/docs/blocks/takumi/meta.json
@@@ -7,7 -9,7 +9,8 @@@
"invoice-creative",
"invoice-minimal",
"invoice-modern",
+ "medical-intake-form",
+ "packing-slip",
"report-financial",
"report-marketing",
"report-operations",
diff --cc apps/web/examples/__index__.ts
index 3a91b52,1f611eb..ca68475
--- a/apps/web/examples/__index__.ts
+++ b/apps/web/examples/__index__.ts
@@@ -53,7 -55,7 +56,8 @@@ import takumi_keep_together from "@/exa
import takumi_key_value from "@/examples/takumi/key-value";
import takumi_link from "@/examples/takumi/link";
import takumi_list from "@/examples/takumi/list";
+ import takumi_medical_intake_form from "@/examples/takumi/medical-intake-form";
+import takumi_packing_slip from "@/examples/takumi/packing-slip";
import takumi_page_break from "@/examples/takumi/page-break";
import takumi_page_footer from "@/examples/takumi/page-footer";
import takumi_page_header from "@/examples/takumi/page-header";
@@@ -131,7 -135,7 +138,8 @@@ export const demos: Record<BaseName, De
"key-value": takumi_key_value,
link: takumi_link,
list: takumi_list,
+ "medical-intake-form": takumi_medical_intake_form,
+ "packing-slip": takumi_packing_slip,
"page-break": takumi_page_break,
"page-footer": takumi_page_footer,
"page-header": takumi_page_header,
diff --cc apps/web/examples/preview-config.tsx
index fc1b4a4,e2cf5a2..9fda977
--- a/apps/web/examples/preview-config.tsx
+++ b/apps/web/examples/preview-config.tsx
@@@ -11,7 -12,7 +12,8 @@@ const BLOCK_NAMES = new Set(
"invoice-creative",
"invoice-minimal",
"invoice-modern",
+ "medical-intake-form",
+ "packing-slip",
"report-financial",
"report-marketing",
"report-operations",
diff --cc apps/web/public/r/registry.json
index 285ef8e,0dbe9e4..832891e
--- a/apps/web/public/r/registry.json
+++ b/apps/web/public/r/registry.json
@@@ -614,35 -640,31 +640,60 @@@
"title": "Invoice Modern",
"type": "registry:block"
},
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Gift Certificate PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/gift-certificate/gift-certificate.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/gift-certificate/gift-certificate.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/gift-certificate/gift-certificate.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/gift-certificate/gift-certificate.types.ts"
+ }
+ ],
+ "name": "takumi/gift-certificate",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Gift Certificate",
+ "type": "registry:block"
+ },
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Packing Slip PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/packing-slip/packing-slip.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/packing-slip/packing-slip.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/packing-slip/packing-slip.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/packing-slip/packing-slip.types.ts"
+ }
+ ],
+ "name": "takumi/packing-slip",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/key-value",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/page-header",
+ "@pdfcn/takumi/pdf-image",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/table",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Packing Slip",
+ "type": "registry:block"
+ },
{
"dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
"description": "Report Financial PDF block (takumi)",
diff --cc apps/web/registry.json
index 285ef8e,0dbe9e4..832891e
--- a/apps/web/registry.json
+++ b/apps/web/registry.json
@@@ -614,35 -640,31 +640,60 @@@
"title": "Invoice Modern",
"type": "registry:block"
},
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Gift Certificate PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/gift-certificate/gift-certificate.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/gift-certificate/gift-certificate.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/gift-certificate/gift-certificate.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/gift-certificate/gift-certificate.types.ts"
+ }
+ ],
+ "name": "takumi/gift-certificate",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Gift Certificate",
+ "type": "registry:block"
+ },
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Packing Slip PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/packing-slip/packing-slip.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/packing-slip/packing-slip.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/packing-slip/packing-slip.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/packing-slip/packing-slip.types.ts"
+ }
+ ],
+ "name": "takumi/packing-slip",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/key-value",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/page-header",
+ "@pdfcn/takumi/pdf-image",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/table",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Packing Slip",
+ "type": "registry:block"
+ },
{
"dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
"description": "Report Financial PDF block (takumi)",