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/event-ticket-block

Aniket-508bc56269cc803
diff --cc apps/web/content/docs/blocks/takumi/meta.json
index bc84acb,72573c5..9478bfa
--- a/apps/web/content/docs/blocks/takumi/meta.json
+++ b/apps/web/content/docs/blocks/takumi/meta.json
@@@ -1,7 -1,8 +1,9 @@@
{
"pages": [
"index",
+ "gift-certificate",
+ "event-agenda",
+ "event-ticket",
"invoice-classic",
"invoice-consultant",
"invoice-corporate",
diff --cc apps/web/examples/__index__.ts
index b247e88,a37f213..0c76a38
--- a/apps/web/examples/__index__.ts
+++ b/apps/web/examples/__index__.ts
@@@ -39,8 -43,9 +43,10 @@@ import takumi_badge from "@/examples/ta
import takumi_card from "@/examples/takumi/card";
import takumi_data_table from "@/examples/takumi/data-table";
import takumi_divider from "@/examples/takumi/divider";
+ import takumi_event_agenda from "@/examples/takumi/event-agenda";
+import takumi_event_ticket from "@/examples/takumi/event-ticket";
import takumi_form from "@/examples/takumi/form";
+ import takumi_gift_certificate from "@/examples/takumi/gift-certificate";
import takumi_graph from "@/examples/takumi/graph";
import takumi_heading from "@/examples/takumi/heading";
import takumi_invoice_classic from "@/examples/takumi/invoice-classic";
@@@ -116,8 -130,9 +131,10 @@@ export const demos: Record<BaseName, De
card: takumi_card,
"data-table": takumi_data_table,
divider: takumi_divider,
+ "event-agenda": takumi_event_agenda,
+ "event-ticket": takumi_event_ticket,
form: takumi_form,
+ "gift-certificate": takumi_gift_certificate,
graph: takumi_graph,
heading: takumi_heading,
"invoice-classic": takumi_invoice_classic,
diff --cc apps/web/examples/preview-config.tsx
index 24cb74c,d140848..86b7d87
--- a/apps/web/examples/preview-config.tsx
+++ b/apps/web/examples/preview-config.tsx
@@@ -5,7 -5,7 +5,8 @@@ import { pointToCssPixel } from "@/regi
const DEFAULT_MARGIN = 40;
const BLOCK_NAMES = new Set([
+ "event-agenda",
+ "event-ticket",
"invoice-classic",
"invoice-consultant",
"invoice-corporate",
diff --cc apps/web/public/r/registry.json
index 38ba32c,cabc45c..8f66d88
--- a/apps/web/public/r/registry.json
+++ b/apps/web/public/r/registry.json
@@@ -446,31 -446,32 +446,57 @@@
"title": "Watermark",
"type": "registry:ui"
},
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers", "qrcode"],
+ "description": "Event Ticket PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-ticket/event-ticket.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-ticket/event-ticket.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-ticket/event-ticket.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-ticket/event-ticket.types.ts"
+ }
+ ],
+ "name": "takumi/event-ticket",
+ "registryDependencies": [
+ "@pdfcn/takumi/pdf-image",
+ "@pdfcn/takumi/qrcode",
+ "@pdfcn/takumi/text",
+ "@pdfcn/takumi/utils"
+ ],
+ "title": "Event Ticket",
+ "type": "registry:block"
+ },
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Event Agenda PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.types.ts"
+ }
+ ],
+ "name": "takumi/event-agenda",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/badge",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Event Agenda",
+ "type": "registry:block"
+ },
{
"dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
"description": "Invoice Classic PDF block (takumi)",
diff --cc apps/web/registry.json
index 38ba32c,cabc45c..8f66d88
--- a/apps/web/registry.json
+++ b/apps/web/registry.json
@@@ -446,31 -446,32 +446,57 @@@
"title": "Watermark",
"type": "registry:ui"
},
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers", "qrcode"],
+ "description": "Event Ticket PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-ticket/event-ticket.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-ticket/event-ticket.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-ticket/event-ticket.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-ticket/event-ticket.types.ts"
+ }
+ ],
+ "name": "takumi/event-ticket",
+ "registryDependencies": [
+ "@pdfcn/takumi/pdf-image",
+ "@pdfcn/takumi/qrcode",
+ "@pdfcn/takumi/text",
+ "@pdfcn/takumi/utils"
+ ],
+ "title": "Event Ticket",
+ "type": "registry:block"
+ },
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Event Agenda PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.types.ts"
+ }
+ ],
+ "name": "takumi/event-agenda",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/badge",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Event Agenda",
+ "type": "registry:block"
+ },
{
"dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
"description": "Invoice Classic PDF block (takumi)",