Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
Document component prop types with explicit unions
Aniket-508f2ac7ac28ca7
diff --git a/content/docs/components/forme/alert.mdx b/content/docs/components/forme/alert.mdxindex d70e4ff..05c6a81 100644--- a/content/docs/components/forme/alert.mdx+++ b/content/docs/components/forme/alert.mdx@@ -82,10 +82,10 @@ import { PdfAlert } from "@/components/pdf/alert";### PdfAlert-| Prop | Type | Default |-| ------------ | -------------- | ------- |-| `variant` | `AlertVariant` | 'info' |-| `title` | `string` | - |-| `children` | `ReactNode` | - |-| `showIcon` | `boolean` | true |-| `showBorder` | `boolean` | true |+| Prop | Type | Default |+| ------------ | --------------------------------------------- | ------- |+| `variant` | `'info' \| 'success' \| 'warning' \| 'error'` | 'info' |+| `title` | `string` | - |+| `children` | `ReactNode` | - |+| `showIcon` | `boolean` | true |+| `showBorder` | `boolean` | true |diff --git a/content/docs/components/forme/badge.mdx b/content/docs/components/forme/badge.mdxindex 3ed0615..9e459cc 100644--- a/content/docs/components/forme/badge.mdx+++ b/content/docs/components/forme/badge.mdx@@ -80,11 +80,11 @@ import { Badge } from "@/components/pdf/badge";### Badge-| Prop | Type | Default |-| ------------ | -------------- | --------- |-| `label` | `string` | - |-| `children` | `string` | - |-| `variant` | `BadgeVariant` | 'default' |-| `size` | `BadgeSize` | 'md' |-| `background` | `string` | - |-| `color` | `string` | - |+| Prop | Type | Default |+| ------------ | ------------------------------------------------------------------------------------------ | --------- |+| `label` | `string` | - |+| `children` | `string` | - |+| `variant` | `'default' \| 'primary' \| 'success' \| 'warning' \| 'destructive' \| 'info' \| 'outline'` | 'default' |+| `size` | `'sm' \| 'md' \| 'lg'` | 'md' |+| `background` | `string` | - |+| `color` | `string` | - |diff --git a/content/docs/components/forme/card.mdx b/content/docs/components/forme/card.mdxindex 72c32f0..cd8759b 100644--- a/content/docs/components/forme/card.mdx+++ b/content/docs/components/forme/card.mdx@@ -80,10 +80,10 @@ import { PdfCard } from "@/components/pdf/card";### PdfCard-| Prop | Type | Default |-| ---------- | ---------------------- | ----------- |-| `title` | `string` | - |-| `children` | `ReactNode` | - |-| `variant` | `CardVariant` | `'default'` |-| `padding` | `'sm' \| 'md' \| 'lg'` | `'md'` |-| `wrap` | `boolean` | `false` |+| Prop | Type | Default |+| ---------- | ------------------------------------ | ----------- |+| `title` | `string` | - |+| `children` | `ReactNode` | - |+| `variant` | `'default' \| 'bordered' \| 'muted'` | `'default'` |+| `padding` | `'sm' \| 'md' \| 'lg'` | `'md'` |+| `wrap` | `boolean` | `false` |diff --git a/content/docs/components/forme/data-table.mdx b/content/docs/components/forme/data-table.mdxindex 9120ead..24fe123 100644--- a/content/docs/components/forme/data-table.mdx+++ b/content/docs/components/forme/data-table.mdx@@ -91,19 +91,21 @@ Use any `TableVariant` for the table treatment and `size="compact"` for denser r### DataTable-| Prop | Type | Default |-| --------- | -------------------------------------------- | ----------- |-| `columns` | `DataTableColumn<T>[]` | - |-| `data` | `T[]` | - |-| `variant` | `TableVariant` | `'grid'` |-| `footer` | `Partial<Record<keyof T, string \| number>>` | - |-| `stripe` | `boolean` | `false` |-| `size` | `'default' \| 'compact'` | `'default'` |-| `noWrap` | `boolean` | `false` |-| `style` | `Style` | - |+| Prop | Type | Default |+| --------- | ------------------------------------------------------------------------------------------- | ----------- |+| `columns` | `DataTableColumn<T>[]` | - |+| `data` | `T[]` | - |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | `'grid'` |+| `footer` | `Partial<Record<keyof T, string \| number>>` | - |+| `stripe` | `boolean` | `false` |+| `size` | `'default' \| 'compact'` | `'default'` |+| `noWrap` | `boolean` | `false` |+| `style` | `Style` | - |### DataTableColumn+`key` is the row-field accessor—for example, `key: "name"` reads `row.name`. It is not React's reserved `key` prop.+| Prop | Type | Default || -------------- | ------------------------------- | -------- || `key` | `keyof T & string` | - |diff --git a/content/docs/components/forme/divider.mdx b/content/docs/components/forme/divider.mdxindex 94df2ab..8a23554 100644--- a/content/docs/components/forme/divider.mdx+++ b/content/docs/components/forme/divider.mdx@@ -80,11 +80,11 @@ import { Divider } from "@/components/pdf/divider";### Divider-| Prop | Type | Default |-| ----------- | ------------------ | --------- |-| `spacing` | `DividerSpacing` | `'md'` |-| `variant` | `DividerVariant` | `'solid'` |-| `color` | `string` | - |-| `thickness` | `DividerThickness` | `'thin'` |-| `label` | `string` | - |-| `width` | `string \| number` | - |+| Prop | Type | Default |+| ----------- | --------------------------------- | --------- |+| `spacing` | `'none' \| 'sm' \| 'md' \| 'lg'` | `'md'` |+| `variant` | `'solid' \| 'dashed' \| 'dotted'` | `'solid'` |+| `color` | `string` | - |+| `thickness` | `'thin' \| 'medium' \| 'thick'` | `'thin'` |+| `label` | `string` | - |+| `width` | `string \| number` | - |diff --git a/content/docs/components/forme/form.mdx b/content/docs/components/forme/form.mdxindex 83a1c07..c224e19 100644--- a/content/docs/components/forme/form.mdx+++ b/content/docs/components/forme/form.mdx@@ -90,14 +90,14 @@ import { PdfForm } from "@/components/pdf/form";### PdfForm-| Prop | Type | Default |-| --------------- | ------------------- | ------------- |-| `title` | `string` | - |-| `subtitle` | `string` | - |-| `groups` | `PdfFormGroup[]` | - |-| `variant` | `PdfFormVariant` | `'underline'` |-| `labelPosition` | `'above' \| 'left'` | `'above'` |-| `noWrap` | `boolean` | `false` |-| `style` | `Style` | - |--`PdfFormVariant` is `'underline' | 'box' | 'outlined' | 'ghost'`. Groups support `single`, `two-column`, and `three-column` layouts.+| Prop | Type | Default |+| --------------- | ----------------------------------------------- | ------------- |+| `title` | `string` | - |+| `subtitle` | `string` | - |+| `groups` | `PdfFormGroup[]` | - |+| `variant` | `'underline' \| 'box' \| 'outlined' \| 'ghost'` | `'underline'` |+| `labelPosition` | `'above' \| 'left'` | `'above'` |+| `noWrap` | `boolean` | `false` |+| `style` | `Style` | - |++Groups support `single`, `two-column`, and `three-column` layouts.diff --git a/content/docs/components/forme/graph.mdx b/content/docs/components/forme/graph.mdxindex ef92a8e..e439be6 100644--- a/content/docs/components/forme/graph.mdx+++ b/content/docs/components/forme/graph.mdx@@ -87,26 +87,24 @@ import { PdfGraph } from "@/components/pdf/graph";### PdfGraph-| Prop | Type | Default |-| ------------- | ----------------------------------- | ---------- |-| `variant` | `GraphVariant` | `'bar'` |-| `data` | `GraphDataPoint[] \| GraphSeries[]` | - |-| `title` | `string` | - |-| `subtitle` | `string` | - |-| `xLabel` | `string` | - |-| `yLabel` | `string` | - |-| `width` | `number` | `420` |-| `height` | `number` | `260` |-| `fullWidth` | `boolean` | `false` |-| `colors` | `string[]` | theme |-| `showValues` | `boolean` | `false` |-| `showGrid` | `boolean` | `true` |-| `legend` | `'bottom' \| 'right' \| 'none'` | `'bottom'` |-| `centerLabel` | `string` | - |-| `showDots` | `boolean` | `true` |-| `smooth` | `boolean` | `false` |-| `yTicks` | `number` | `5` |-| `noWrap` | `boolean` | `true` |-| `style` | `Style` | - |--`GraphVariant` is `'bar' | 'horizontal-bar' | 'line' | 'area' | 'pie' | 'donut'`.+| Prop | Type | Default |+| ------------- | ------------------------------------------------------------------- | ---------- |+| `variant` | `'bar' \| 'horizontal-bar' \| 'line' \| 'area' \| 'pie' \| 'donut'` | `'bar'` |+| `data` | `GraphDataPoint[] \| GraphSeries[]` | - |+| `title` | `string` | - |+| `subtitle` | `string` | - |+| `xLabel` | `string` | - |+| `yLabel` | `string` | - |+| `width` | `number` | `420` |+| `height` | `number` | `260` |+| `fullWidth` | `boolean` | `false` |+| `colors` | `string[]` | theme |+| `showValues` | `boolean` | `false` |+| `showGrid` | `boolean` | `true` |+| `legend` | `'bottom' \| 'right' \| 'none'` | `'bottom'` |+| `centerLabel` | `string` | - |+| `showDots` | `boolean` | `true` |+| `smooth` | `boolean` | `false` |+| `yTicks` | `number` | `5` |+| `noWrap` | `boolean` | `true` |+| `style` | `Style` | - |diff --git a/content/docs/components/forme/heading.mdx b/content/docs/components/forme/heading.mdxindex 62af489..568422d 100644--- a/content/docs/components/forme/heading.mdx+++ b/content/docs/components/forme/heading.mdx@@ -80,13 +80,13 @@ import { Heading } from "@/components/pdf/heading";### Heading-| Prop | Type | Default |-| -------------- | -------------------------------------------- | ---------- |-| `level` | `1 \| 2 \| 3 \| 4 \| 5 \| 6` | `1` |-| `align` | `'left' \| 'center' \| 'right'` | `'left'` |-| `color` | `string` | - |-| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |-| `weight` | `HeadingWeight` | `'bold'` |-| `tracking` | `HeadingTracking` | `'normal'` |-| `noMargin` | `boolean` | `false` |-| `keepWithNext` | `boolean` | - |+| Prop | Type | Default |+| -------------- | ------------------------------------------------------- | ---------- |+| `level` | `1 \| 2 \| 3 \| 4 \| 5 \| 6` | `1` |+| `align` | `'left' \| 'center' \| 'right'` | `'left'` |+| `color` | `string` | - |+| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |+| `weight` | `'normal' \| 'medium' \| 'semibold' \| 'bold'` | `'bold'` |+| `tracking` | `'tighter' \| 'tight' \| 'normal' \| 'wide' \| 'wider'` | `'normal'` |+| `noMargin` | `boolean` | `false` |+| `keepWithNext` | `boolean` | - |diff --git a/content/docs/components/forme/key-value.mdx b/content/docs/components/forme/key-value.mdxindex b68fd8f..49792c7 100644--- a/content/docs/components/forme/key-value.mdx+++ b/content/docs/components/forme/key-value.mdx@@ -80,17 +80,17 @@ import { KeyValue } from "@/components/pdf/key-value";### KeyValue-| Prop | Type | Default |-| ------------------ | ------------------- | ------------ |-| `items` | `KeyValueEntry[]` | - |-| `direction` | `KeyValueDirection` | 'horizontal' |-| `divided` | `boolean` | false |-| `size` | `KeyValueSize` | 'md' |-| `labelFlex` | `number` | 1 |-| `labelColor` | `string` | - |-| `valueColor` | `string` | - |-| `boldValue` | `boolean` | false |-| `noWrap` | `boolean` | false |-| `dividerColor` | `string` | - |-| `dividerThickness` | `number` | - |-| `dividerMargin` | `number` | - |+| Prop | Type | Default |+| ------------------ | ---------------------------- | ------------ |+| `items` | `KeyValueEntry[]` | - |+| `direction` | `'horizontal' \| 'vertical'` | 'horizontal' |+| `divided` | `boolean` | false |+| `size` | `'sm' \| 'md' \| 'lg'` | 'md' |+| `labelFlex` | `number` | 1 |+| `labelColor` | `string` | - |+| `valueColor` | `string` | - |+| `boldValue` | `boolean` | false |+| `noWrap` | `boolean` | false |+| `dividerColor` | `string` | - |+| `dividerThickness` | `number` | - |+| `dividerMargin` | `number` | - |diff --git a/content/docs/components/forme/link.mdx b/content/docs/components/forme/link.mdxindex ff35c76..d0f64e7 100644--- a/content/docs/components/forme/link.mdx+++ b/content/docs/components/forme/link.mdx@@ -80,10 +80,10 @@ import { Link } from "@/components/pdf/link";### Link-| Prop | Type | Default |-| ----------- | ------------------------------- | ----------- |-| `href` | `string` | - |-| `align` | `'left' \| 'center' \| 'right'` | `'left'` |-| `color` | `string` | - |-| `variant` | `LinkVariant` | `'default'` |-| `underline` | `LinkUnderline` | `'always'` |+| Prop | Type | Default |+| ----------- | ----------------------------------- | ----------- |+| `href` | `string` | - |+| `align` | `'left' \| 'center' \| 'right'` | `'left'` |+| `color` | `string` | - |+| `variant` | `'default' \| 'muted' \| 'primary'` | `'default'` |+| `underline` | `'always' \| 'none'` | `'always'` |diff --git a/content/docs/components/forme/list.mdx b/content/docs/components/forme/list.mdxindex 16a29d3..23ea207 100644--- a/content/docs/components/forme/list.mdx+++ b/content/docs/components/forme/list.mdx@@ -87,12 +87,10 @@ import { PdfList } from "@/components/pdf/list";### PdfList-| Prop | Type | Default |-| --------- | ---------------------- | ---------- |-| `items` | `ListItem[]` | - |-| `variant` | `ListVariant` | `'bullet'` |-| `gap` | `'xs' \| 'sm' \| 'md'` | `'sm'` |-| `noWrap` | `boolean` | `false` |-| `style` | `Style` | - |--`ListVariant` is `'bullet' | 'numbered' | 'checklist' | 'icon' | 'multi-level' | 'descriptive'`.+| Prop | Type | Default |+| --------- | ----------------------------------------------------------------------------------- | ---------- |+| `items` | `ListItem[]` | - |+| `variant` | `'bullet' \| 'numbered' \| 'checklist' \| 'icon' \| 'multi-level' \| 'descriptive'` | `'bullet'` |+| `gap` | `'xs' \| 'sm' \| 'md'` | `'sm'` |+| `noWrap` | `boolean` | `false` |+| `style` | `Style` | - |diff --git a/content/docs/components/forme/page-footer.mdx b/content/docs/components/forme/page-footer.mdxindex 19b4db6..23b82f0 100644--- a/content/docs/components/forme/page-footer.mdx+++ b/content/docs/components/forme/page-footer.mdx@@ -80,20 +80,20 @@ import { PageFooter } from "@/components/pdf/page-footer";### PageFooter-| Prop | Type | Default |-| ------------- | ------------------- | -------- |-| `leftText` | `string` | - |-| `rightText` | `string` | - |-| `centerText` | `string` | - |-| `variant` | `PageFooterVariant` | 'simple' |-| `background` | `string` | - |-| `textColor` | `string` | - |-| `marginTop` | `number` | - |-| `address` | `string` | - |-| `phone` | `string` | - |-| `email` | `string` | - |-| `website` | `string` | - |-| `fixed` | `boolean` | false |-| `sticky` | `boolean` | false |-| `pagePadding` | `number` | 0 |-| `noWrap` | `boolean` | true |+| Prop | Type | Default |+| ------------- | ---------------------------------------------------------------------------------- | -------- |+| `leftText` | `string` | - |+| `rightText` | `string` | - |+| `centerText` | `string` | - |+| `variant` | `'simple' \| 'centered' \| 'branded' \| 'minimal' \| 'three-column' \| 'detailed'` | 'simple' |+| `background` | `string` | - |+| `textColor` | `string` | - |+| `marginTop` | `number` | - |+| `address` | `string` | - |+| `phone` | `string` | - |+| `email` | `string` | - |+| `website` | `string` | - |+| `fixed` | `boolean` | false |+| `sticky` | `boolean` | false |+| `pagePadding` | `number` | 0 |+| `noWrap` | `boolean` | true |diff --git a/content/docs/components/forme/page-header.mdx b/content/docs/components/forme/page-header.mdxindex 27ba881..b3c4b72 100644--- a/content/docs/components/forme/page-header.mdx+++ b/content/docs/components/forme/page-header.mdx@@ -80,19 +80,19 @@ import { PageHeader } from "@/components/pdf/page-header";### PageHeader-| Prop | Type | Default |-| -------------- | ------------------- | -------- |-| `title` | `string` | - |-| `subtitle` | `string` | - |-| `rightText` | `string` | - |-| `rightSubText` | `string` | - |-| `variant` | `PageHeaderVariant` | 'simple' |-| `background` | `string` | - |-| `titleColor` | `string` | - |-| `marginBottom` | `number` | - |-| `address` | `string` | - |-| `phone` | `string` | - |-| `email` | `string` | - |-| `logo` | `ReactNode` | - |-| `fixed` | `boolean` | false |-| `noWrap` | `boolean` | true |+| Prop | Type | Default |+| -------------- | ------------------------------------------------------------------------------------------------- | -------- |+| `title` | `string` | - |+| `subtitle` | `string` | - |+| `rightText` | `string` | - |+| `rightSubText` | `string` | - |+| `variant` | `'simple' \| 'centered' \| 'minimal' \| 'branded' \| 'logo-left' \| 'logo-right' \| 'two-column'` | 'simple' |+| `background` | `string` | - |+| `titleColor` | `string` | - |+| `marginBottom` | `number` | - |+| `address` | `string` | - |+| `phone` | `string` | - |+| `email` | `string` | - |+| `logo` | `ReactNode` | - |+| `fixed` | `boolean` | false |+| `noWrap` | `boolean` | true |diff --git a/content/docs/components/forme/page-number.mdx b/content/docs/components/forme/page-number.mdxindex 57511b2..ac0a795 100644--- a/content/docs/components/forme/page-number.mdx+++ b/content/docs/components/forme/page-number.mdx@@ -80,11 +80,11 @@ import { PdfPageNumber } from "@/components/pdf/page-number";### PdfPageNumber-| Prop | Type | Default |-| ---------- | ----------------- | -------------------------------------------- |-| `format` | `string` | 'Page {page} of {total}' |-| `align` | `PageNumberAlign` | 'center' |-| `size` | `PageNumberSize` | 'sm' |-| `fixed` | `boolean` | false |-| `muted` | `boolean` | true |-| `children` | `never` | - |+| Prop | Type | Default |+| ---------- | ------------------------------- | -------------------------------------------- |+| `format` | `string` | 'Page {page} of {total}' |+| `align` | `'left' \| 'center' \| 'right'` | 'center' |+| `size` | `'xs' \| 'sm' \| 'md'` | 'sm' |+| `fixed` | `boolean` | false |+| `muted` | `boolean` | true |+| `children` | `never` | - |diff --git a/content/docs/components/forme/pdf-image.mdx b/content/docs/components/forme/pdf-image.mdxindex 850fa26..fa0a1ab 100644--- a/content/docs/components/forme/pdf-image.mdx+++ b/content/docs/components/forme/pdf-image.mdx@@ -80,16 +80,16 @@ import { PdfImage } from "@/components/pdf/pdf-image";### PdfImage-| Prop | Type | Default |-| -------------- | ------------------ | ----------- |-| `src` | `PdfImageSrc` | - |-| `variant` | `PdfImageVariant` | `'default'` |-| `width` | `number \| string` | - |-| `height` | `number \| string` | - |-| `fit` | `PdfImageFit` | - |-| `position` | `string` | `'50% 50%'` |-| `caption` | `string` | - |-| `aspectRatio` | `number` | - |-| `borderRadius` | `number` | - |-| `noWrap` | `boolean` | `true` |-| `style` | `Style` | - |+| Prop | Type | Default |+| -------------- | ------------------------------------------------------------------------------------------------------- | ----------- |+| `src` | `string \| { uri: string; method?: string; headers?: Record<string, string>; body?: string }` | - |+| `variant` | `'default' \| 'full-width' \| 'thumbnail' \| 'avatar' \| 'cover' \| 'bordered' \| 'rounded'` | `'default'` |+| `width` | `number \| string` | - |+| `height` | `number \| string` | - |+| `fit` | `'cover' \| 'contain' \| 'fill' \| 'none'` | - |+| `position` | `string` | `'50% 50%'` |+| `caption` | `string` | - |+| `aspectRatio` | `number` | - |+| `borderRadius` | `number` | - |+| `noWrap` | `boolean` | `true` |+| `style` | `Style` | - |diff --git a/content/docs/components/forme/qrcode.mdx b/content/docs/components/forme/qrcode.mdxindex 6064613..25f4635 100644--- a/content/docs/components/forme/qrcode.mdx+++ b/content/docs/components/forme/qrcode.mdx@@ -80,13 +80,13 @@ import { PdfQRCode } from "@/components/pdf/qrcode";### PdfQRCode-| Prop | Type | Default |-| ----------------- | ------------------ | ------- |-| `value` | `string` | - |-| `size` | `number` | - |-| `color` | `string` | - |-| `backgroundColor` | `string` | - |-| `errorLevel` | `QRCodeErrorLevel` | - |-| `margin` | `number` | - |-| `caption` | `string` | - |-| `children` | `never` | - |+| Prop | Type | Default |+| ----------------- | -------------------------- | ------- |+| `value` | `string` | - |+| `size` | `number` | - |+| `color` | `string` | - |+| `backgroundColor` | `string` | - |+| `errorLevel` | `'L' \| 'M' \| 'Q' \| 'H'` | - |+| `margin` | `number` | - |+| `caption` | `string` | - |+| `children` | `never` | - |diff --git a/content/docs/components/forme/section.mdx b/content/docs/components/forme/section.mdxindex da3bc3d..c1581d0 100644--- a/content/docs/components/forme/section.mdx+++ b/content/docs/components/forme/section.mdx@@ -83,12 +83,12 @@ import { Text } from "@/components/pdf/text";### Section-| Prop | Type | Default |-| ------------- | ---------------- | --------- |-| `spacing` | `SectionSpacing` | 'md' |-| `padding` | `SectionPadding` | - |-| `background` | `string` | - |-| `border` | `boolean` | false |-| `variant` | `SectionVariant` | 'default' |-| `accentColor` | `string` | - |-| `noWrap` | `boolean` | false |+| Prop | Type | Default |+| ------------- | ------------------------------------------------- | --------- |+| `spacing` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | 'md' |+| `padding` | `'none' \| 'sm' \| 'md' \| 'lg'` | - |+| `background` | `string` | - |+| `border` | `boolean` | false |+| `variant` | `'default' \| 'callout' \| 'highlight' \| 'card'` | 'default' |+| `accentColor` | `string` | - |+| `noWrap` | `boolean` | false |diff --git a/content/docs/components/forme/signature.mdx b/content/docs/components/forme/signature.mdxindex 70948e9..1fd653d 100644--- a/content/docs/components/forme/signature.mdx+++ b/content/docs/components/forme/signature.mdx@@ -82,7 +82,7 @@ import { PdfSignatureBlock } from "@/components/pdf/signature";| Prop | Type | Default || --------- | ------------------------------------ | -------- |-| `variant` | `SignatureVariant` | 'single' |+| `variant` | `'single' \| 'double' \| 'inline'` | 'single' || `label` | `string` | - || `name` | `string` | - || `title` | `string` | - |diff --git a/content/docs/components/forme/stack.mdx b/content/docs/components/forme/stack.mdxindex c086979..138a840 100644--- a/content/docs/components/forme/stack.mdx+++ b/content/docs/components/forme/stack.mdx@@ -84,11 +84,11 @@ import { Text } from "@/components/pdf/text";### Stack-| Prop | Type | Default |-| ----------- | ---------------- | ---------- |-| `gap` | `StackGap` | 'md' |-| `direction` | `StackDirection` | 'vertical' |-| `align` | `StackAlign` | 'start' |-| `justify` | `StackJustify` | 'start' |-| `wrap` | `boolean` | false |-| `noWrap` | `boolean` | false |+| Prop | Type | Default |+| ----------- | ------------------------------------------------------- | ---------- |+| `gap` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | 'md' |+| `direction` | `'vertical' \| 'horizontal'` | 'vertical' |+| `align` | `'start' \| 'center' \| 'end' \| 'stretch'` | 'start' |+| `justify` | `'start' \| 'center' \| 'end' \| 'between' \| 'around'` | 'start' |+| `wrap` | `boolean` | false |+| `noWrap` | `boolean` | false |diff --git a/content/docs/components/forme/table.mdx b/content/docs/components/forme/table.mdxindex 50cb7c1..ef9e522 100644--- a/content/docs/components/forme/table.mdx+++ b/content/docs/components/forme/table.mdx@@ -103,31 +103,29 @@ import {### Table-| Prop | Type | Default |-| ------------- | -------------- | -------- |-| `variant` | `TableVariant` | `'line'` |-| `zebraStripe` | `boolean` | `false` |-| `noWrap` | `boolean` | `false` |-| `children` | `ReactNode` | - |-| `style` | `Style` | - |+| Prop | Type | Default |+| ------------- | ------------------------------------------------------------------------------------------- | -------- |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | `'line'` |+| `zebraStripe` | `boolean` | `false` |+| `noWrap` | `boolean` | `false` |+| `children` | `ReactNode` | - |+| `style` | `Style` | - |### TableRow-| Prop | Type | Default |-| --------- | -------------- | --------- |-| `header` | `boolean` | `false` |-| `footer` | `boolean` | `false` |-| `stripe` | `boolean` | `false` |-| `variant` | `TableVariant` | inherited |+| Prop | Type | Default |+| --------- | ------------------------------------------------------------------------------------------- | --------- |+| `header` | `boolean` | `false` |+| `footer` | `boolean` | `false` |+| `stripe` | `boolean` | `false` |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | inherited |### TableCell-| Prop | Type | Default |-| --------- | ------------------------------- | --------- |-| `header` | `boolean` | `false` |-| `footer` | `boolean` | `false` |-| `align` | `'left' \| 'center' \| 'right'` | `'left'` |-| `width` | `string \| number` | - |-| `variant` | `TableVariant` | inherited |--`TableVariant` is `'line' | 'grid' | 'minimal' | 'striped' | 'compact' | 'bordered' | 'primary-header'`.+| Prop | Type | Default |+| --------- | ------------------------------------------------------------------------------------------- | --------- |+| `header` | `boolean` | `false` |+| `footer` | `boolean` | `false` |+| `align` | `'left' \| 'center' \| 'right'` | `'left'` |+| `width` | `string \| number` | - |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | inherited |diff --git a/content/docs/components/forme/text.mdx b/content/docs/components/forme/text.mdxindex beba65c..acbbe6e 100644--- a/content/docs/components/forme/text.mdx+++ b/content/docs/components/forme/text.mdx@@ -80,13 +80,13 @@ import { Text } from "@/components/pdf/text";### Text-| Prop | Type | Default |-| ------------ | -------------------------------------------- | ---------- |-| `variant` | `TextVariant` | `'base'` |-| `align` | `'left' \| 'center' \| 'right' \| 'justify'` | `'left'` |-| `color` | `string` | - |-| `weight` | `TextWeight` | `'normal'` |-| `italic` | `boolean` | `false` |-| `decoration` | `TextDecoration` | `'none'` |-| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |-| `noMargin` | `boolean` | `false` |+| Prop | Type | Default |+| ------------ | ---------------------------------------------------------- | ---------- |+| `variant` | `'xs' \| 'sm' \| 'base' \| 'lg' \| 'xl' \| '2xl' \| '3xl'` | `'base'` |+| `align` | `'left' \| 'center' \| 'right' \| 'justify'` | `'left'` |+| `color` | `string` | - |+| `weight` | `'normal' \| 'medium' \| 'semibold' \| 'bold'` | `'normal'` |+| `italic` | `boolean` | `false` |+| `decoration` | `'underline' \| 'line-through' \| 'none'` | `'none'` |+| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |+| `noMargin` | `boolean` | `false` |diff --git a/content/docs/components/forme/watermark.mdx b/content/docs/components/forme/watermark.mdxindex fd141ef..59a25dc 100644--- a/content/docs/components/forme/watermark.mdx+++ b/content/docs/components/forme/watermark.mdx@@ -81,13 +81,13 @@ import { Text } from "@/components/pdf/text";### PdfWatermark-| Prop | Type | Default |-| ---------- | ------------------- | ------- |-| `text` | `string` | - |-| `opacity` | `number` | - |-| `fontSize` | `number` | - |-| `color` | `string` | - |-| `angle` | `number` | - |-| `position` | `WatermarkPosition` | - |-| `fixed` | `boolean` | true |-| `children` | `never` | - |+| Prop | Type | Default |+| ---------- | -------------------------------------------------------------------------- | ------- |+| `text` | `string` | - |+| `opacity` | `number` | - |+| `fontSize` | `number` | - |+| `color` | `string` | - |+| `angle` | `number` | - |+| `position` | `'center' \| 'top-left' \| 'top-right' \| 'bottom-left' \| 'bottom-right'` | - |+| `fixed` | `boolean` | true |+| `children` | `never` | - |diff --git a/content/docs/components/takumi/alert.mdx b/content/docs/components/takumi/alert.mdxindex bc15e60..149feb3 100644--- a/content/docs/components/takumi/alert.mdx+++ b/content/docs/components/takumi/alert.mdx@@ -94,10 +94,10 @@ import { PdfAlert } from "@/components/pdf/alert";### PdfAlert-| Prop | Type | Default |-| ------------ | -------------- | ------- |-| `variant` | `AlertVariant` | 'info' |-| `title` | `string` | - |-| `children` | `ReactNode` | - |-| `showIcon` | `boolean` | true |-| `showBorder` | `boolean` | true |+| Prop | Type | Default |+| ------------ | --------------------------------------------- | ------- |+| `variant` | `'info' \| 'success' \| 'warning' \| 'error'` | 'info' |+| `title` | `string` | - |+| `children` | `ReactNode` | - |+| `showIcon` | `boolean` | true |+| `showBorder` | `boolean` | true |diff --git a/content/docs/components/takumi/badge.mdx b/content/docs/components/takumi/badge.mdxindex 18c8a0f..961e47b 100644--- a/content/docs/components/takumi/badge.mdx+++ b/content/docs/components/takumi/badge.mdx@@ -92,11 +92,11 @@ import { Badge } from "@/components/pdf/badge";### Badge-| Prop | Type | Default |-| ------------ | -------------- | --------- |-| `label` | `string` | - |-| `children` | `string` | - |-| `variant` | `BadgeVariant` | 'default' |-| `size` | `BadgeSize` | 'md' |-| `background` | `string` | - |-| `color` | `string` | - |+| Prop | Type | Default |+| ------------ | ------------------------------------------------------------------------------------------ | --------- |+| `label` | `string` | - |+| `children` | `string` | - |+| `variant` | `'default' \| 'primary' \| 'success' \| 'warning' \| 'destructive' \| 'info' \| 'outline'` | 'default' |+| `size` | `'sm' \| 'md' \| 'lg'` | 'md' |+| `background` | `string` | - |+| `color` | `string` | - |diff --git a/content/docs/components/takumi/card.mdx b/content/docs/components/takumi/card.mdxindex f162fc7..7853c00 100644--- a/content/docs/components/takumi/card.mdx+++ b/content/docs/components/takumi/card.mdx@@ -92,10 +92,10 @@ import { PdfCard } from "@/components/pdf/card";### PdfCard-| Prop | Type | Default |-| ---------- | ---------------------- | ----------- |-| `title` | `string` | - |-| `children` | `ReactNode` | - |-| `variant` | `CardVariant` | `'default'` |-| `padding` | `'sm' \| 'md' \| 'lg'` | `'md'` |-| `wrap` | `boolean` | `false` |+| Prop | Type | Default |+| ---------- | ------------------------------------ | ----------- |+| `title` | `string` | - |+| `children` | `ReactNode` | - |+| `variant` | `'default' \| 'bordered' \| 'muted'` | `'default'` |+| `padding` | `'sm' \| 'md' \| 'lg'` | `'md'` |+| `wrap` | `boolean` | `false` |diff --git a/content/docs/components/takumi/data-table.mdx b/content/docs/components/takumi/data-table.mdxindex 598711b..e269f32 100644--- a/content/docs/components/takumi/data-table.mdx+++ b/content/docs/components/takumi/data-table.mdx@@ -103,19 +103,21 @@ Use any `TableVariant` for the table treatment and `size="compact"` for denser r### DataTable-| Prop | Type | Default |-| --------- | -------------------------------------------- | ----------- |-| `columns` | `DataTableColumn<T>[]` | - |-| `data` | `T[]` | - |-| `variant` | `TableVariant` | `'grid'` |-| `footer` | `Partial<Record<keyof T, string \| number>>` | - |-| `stripe` | `boolean` | `false` |-| `size` | `'default' \| 'compact'` | `'default'` |-| `noWrap` | `boolean` | `false` |-| `style` | `Style` | - |+| Prop | Type | Default |+| --------- | ------------------------------------------------------------------------------------------- | ----------- |+| `columns` | `DataTableColumn<T>[]` | - |+| `data` | `T[]` | - |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | `'grid'` |+| `footer` | `Partial<Record<keyof T, string \| number>>` | - |+| `stripe` | `boolean` | `false` |+| `size` | `'default' \| 'compact'` | `'default'` |+| `noWrap` | `boolean` | `false` |+| `style` | `Style` | - |### DataTableColumn+`key` is the row-field accessor—for example, `key: "name"` reads `row.name`. It is not React's reserved `key` prop.+| Prop | Type | Default || -------------- | ------------------------------- | -------- || `key` | `keyof T & string` | - |diff --git a/content/docs/components/takumi/divider.mdx b/content/docs/components/takumi/divider.mdxindex 76a103c..ce90788 100644--- a/content/docs/components/takumi/divider.mdx+++ b/content/docs/components/takumi/divider.mdx@@ -92,11 +92,11 @@ import { Divider } from "@/components/pdf/divider";### Divider-| Prop | Type | Default |-| ----------- | ------------------ | --------- |-| `spacing` | `DividerSpacing` | `'md'` |-| `variant` | `DividerVariant` | `'solid'` |-| `color` | `string` | - |-| `thickness` | `DividerThickness` | `'thin'` |-| `label` | `string` | - |-| `width` | `string \| number` | - |+| Prop | Type | Default |+| ----------- | --------------------------------- | --------- |+| `spacing` | `'none' \| 'sm' \| 'md' \| 'lg'` | `'md'` |+| `variant` | `'solid' \| 'dashed' \| 'dotted'` | `'solid'` |+| `color` | `string` | - |+| `thickness` | `'thin' \| 'medium' \| 'thick'` | `'thin'` |+| `label` | `string` | - |+| `width` | `string \| number` | - |diff --git a/content/docs/components/takumi/form.mdx b/content/docs/components/takumi/form.mdxindex 38acfe1..426b8ca 100644--- a/content/docs/components/takumi/form.mdx+++ b/content/docs/components/takumi/form.mdx@@ -102,14 +102,14 @@ import { PdfForm } from "@/components/pdf/form";### PdfForm-| Prop | Type | Default |-| --------------- | ------------------- | ------------- |-| `title` | `string` | - |-| `subtitle` | `string` | - |-| `groups` | `PdfFormGroup[]` | - |-| `variant` | `PdfFormVariant` | `'underline'` |-| `labelPosition` | `'above' \| 'left'` | `'above'` |-| `noWrap` | `boolean` | `false` |-| `style` | `Style` | - |--`PdfFormVariant` is `'underline' | 'box' | 'outlined' | 'ghost'`. Groups support `single`, `two-column`, and `three-column` layouts.+| Prop | Type | Default |+| --------------- | ----------------------------------------------- | ------------- |+| `title` | `string` | - |+| `subtitle` | `string` | - |+| `groups` | `PdfFormGroup[]` | - |+| `variant` | `'underline' \| 'box' \| 'outlined' \| 'ghost'` | `'underline'` |+| `labelPosition` | `'above' \| 'left'` | `'above'` |+| `noWrap` | `boolean` | `false` |+| `style` | `Style` | - |++Groups support `single`, `two-column`, and `three-column` layouts.diff --git a/content/docs/components/takumi/graph.mdx b/content/docs/components/takumi/graph.mdxindex 2c862e6..f70c8e0 100644--- a/content/docs/components/takumi/graph.mdx+++ b/content/docs/components/takumi/graph.mdx@@ -99,26 +99,24 @@ import { PdfGraph } from "@/components/pdf/graph";### PdfGraph-| Prop | Type | Default |-| ------------- | ----------------------------------- | ---------- |-| `variant` | `GraphVariant` | `'bar'` |-| `data` | `GraphDataPoint[] \| GraphSeries[]` | - |-| `title` | `string` | - |-| `subtitle` | `string` | - |-| `xLabel` | `string` | - |-| `yLabel` | `string` | - |-| `width` | `number` | `420` |-| `height` | `number` | `260` |-| `fullWidth` | `boolean` | `false` |-| `colors` | `string[]` | theme |-| `showValues` | `boolean` | `false` |-| `showGrid` | `boolean` | `true` |-| `legend` | `'bottom' \| 'right' \| 'none'` | `'bottom'` |-| `centerLabel` | `string` | - |-| `showDots` | `boolean` | `true` |-| `smooth` | `boolean` | `false` |-| `yTicks` | `number` | `5` |-| `noWrap` | `boolean` | `true` |-| `style` | `Style` | - |--`GraphVariant` is `'bar' | 'horizontal-bar' | 'line' | 'area' | 'pie' | 'donut'`.+| Prop | Type | Default |+| ------------- | ------------------------------------------------------------------- | ---------- |+| `variant` | `'bar' \| 'horizontal-bar' \| 'line' \| 'area' \| 'pie' \| 'donut'` | `'bar'` |+| `data` | `GraphDataPoint[] \| GraphSeries[]` | - |+| `title` | `string` | - |+| `subtitle` | `string` | - |+| `xLabel` | `string` | - |+| `yLabel` | `string` | - |+| `width` | `number` | `420` |+| `height` | `number` | `260` |+| `fullWidth` | `boolean` | `false` |+| `colors` | `string[]` | theme |+| `showValues` | `boolean` | `false` |+| `showGrid` | `boolean` | `true` |+| `legend` | `'bottom' \| 'right' \| 'none'` | `'bottom'` |+| `centerLabel` | `string` | - |+| `showDots` | `boolean` | `true` |+| `smooth` | `boolean` | `false` |+| `yTicks` | `number` | `5` |+| `noWrap` | `boolean` | `true` |+| `style` | `Style` | - |diff --git a/content/docs/components/takumi/heading.mdx b/content/docs/components/takumi/heading.mdxindex 564031f..0a989fa 100644--- a/content/docs/components/takumi/heading.mdx+++ b/content/docs/components/takumi/heading.mdx@@ -92,13 +92,13 @@ import { Heading } from "@/components/pdf/heading";### Heading-| Prop | Type | Default |-| -------------- | -------------------------------------------- | ---------- |-| `level` | `1 \| 2 \| 3 \| 4 \| 5 \| 6` | `1` |-| `align` | `'left' \| 'center' \| 'right'` | `'left'` |-| `color` | `string` | - |-| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |-| `weight` | `HeadingWeight` | `'bold'` |-| `tracking` | `HeadingTracking` | `'normal'` |-| `noMargin` | `boolean` | `false` |-| `keepWithNext` | `boolean` | - |+| Prop | Type | Default |+| -------------- | ------------------------------------------------------- | ---------- |+| `level` | `1 \| 2 \| 3 \| 4 \| 5 \| 6` | `1` |+| `align` | `'left' \| 'center' \| 'right'` | `'left'` |+| `color` | `string` | - |+| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |+| `weight` | `'normal' \| 'medium' \| 'semibold' \| 'bold'` | `'bold'` |+| `tracking` | `'tighter' \| 'tight' \| 'normal' \| 'wide' \| 'wider'` | `'normal'` |+| `noMargin` | `boolean` | `false` |+| `keepWithNext` | `boolean` | - |diff --git a/content/docs/components/takumi/key-value.mdx b/content/docs/components/takumi/key-value.mdxindex bc1ecc6..a9b375b 100644--- a/content/docs/components/takumi/key-value.mdx+++ b/content/docs/components/takumi/key-value.mdx@@ -92,17 +92,17 @@ import { KeyValue } from "@/components/pdf/key-value";### KeyValue-| Prop | Type | Default |-| ------------------ | ------------------- | ------------ |-| `items` | `KeyValueEntry[]` | - |-| `direction` | `KeyValueDirection` | 'horizontal' |-| `divided` | `boolean` | false |-| `size` | `KeyValueSize` | 'md' |-| `labelFlex` | `number` | 1 |-| `labelColor` | `string` | - |-| `valueColor` | `string` | - |-| `boldValue` | `boolean` | false |-| `noWrap` | `boolean` | false |-| `dividerColor` | `string` | - |-| `dividerThickness` | `number` | - |-| `dividerMargin` | `number` | - |+| Prop | Type | Default |+| ------------------ | ---------------------------- | ------------ |+| `items` | `KeyValueEntry[]` | - |+| `direction` | `'horizontal' \| 'vertical'` | 'horizontal' |+| `divided` | `boolean` | false |+| `size` | `'sm' \| 'md' \| 'lg'` | 'md' |+| `labelFlex` | `number` | 1 |+| `labelColor` | `string` | - |+| `valueColor` | `string` | - |+| `boldValue` | `boolean` | false |+| `noWrap` | `boolean` | false |+| `dividerColor` | `string` | - |+| `dividerThickness` | `number` | - |+| `dividerMargin` | `number` | - |diff --git a/content/docs/components/takumi/link.mdx b/content/docs/components/takumi/link.mdxindex bdc749c..0c84977 100644--- a/content/docs/components/takumi/link.mdx+++ b/content/docs/components/takumi/link.mdx@@ -92,10 +92,10 @@ import { Link } from "@/components/pdf/link";### Link-| Prop | Type | Default |-| ----------- | ------------------------------- | ----------- |-| `href` | `string` | - |-| `align` | `'left' \| 'center' \| 'right'` | `'left'` |-| `color` | `string` | - |-| `variant` | `LinkVariant` | `'default'` |-| `underline` | `LinkUnderline` | `'always'` |+| Prop | Type | Default |+| ----------- | ----------------------------------- | ----------- |+| `href` | `string` | - |+| `align` | `'left' \| 'center' \| 'right'` | `'left'` |+| `color` | `string` | - |+| `variant` | `'default' \| 'muted' \| 'primary'` | `'default'` |+| `underline` | `'always' \| 'none'` | `'always'` |diff --git a/content/docs/components/takumi/list.mdx b/content/docs/components/takumi/list.mdxindex 25c8c13..3fb1a55 100644--- a/content/docs/components/takumi/list.mdx+++ b/content/docs/components/takumi/list.mdx@@ -99,12 +99,10 @@ import { PdfList } from "@/components/pdf/list";### PdfList-| Prop | Type | Default |-| --------- | ---------------------- | ---------- |-| `items` | `ListItem[]` | - |-| `variant` | `ListVariant` | `'bullet'` |-| `gap` | `'xs' \| 'sm' \| 'md'` | `'sm'` |-| `noWrap` | `boolean` | `false` |-| `style` | `Style` | - |--`ListVariant` is `'bullet' | 'numbered' | 'checklist' | 'icon' | 'multi-level' | 'descriptive'`.+| Prop | Type | Default |+| --------- | ----------------------------------------------------------------------------------- | ---------- |+| `items` | `ListItem[]` | - |+| `variant` | `'bullet' \| 'numbered' \| 'checklist' \| 'icon' \| 'multi-level' \| 'descriptive'` | `'bullet'` |+| `gap` | `'xs' \| 'sm' \| 'md'` | `'sm'` |+| `noWrap` | `boolean` | `false` |+| `style` | `Style` | - |diff --git a/content/docs/components/takumi/page-footer.mdx b/content/docs/components/takumi/page-footer.mdxindex 46f4f30..22b1243 100644--- a/content/docs/components/takumi/page-footer.mdx+++ b/content/docs/components/takumi/page-footer.mdx@@ -92,20 +92,20 @@ import { PageFooter } from "@/components/pdf/page-footer";### PageFooter-| Prop | Type | Default |-| ------------- | ------------------- | -------- |-| `leftText` | `string` | - |-| `rightText` | `string` | - |-| `centerText` | `string` | - |-| `variant` | `PageFooterVariant` | 'simple' |-| `background` | `string` | - |-| `textColor` | `string` | - |-| `marginTop` | `number` | - |-| `address` | `string` | - |-| `phone` | `string` | - |-| `email` | `string` | - |-| `website` | `string` | - |-| `fixed` | `boolean` | false |-| `sticky` | `boolean` | false |-| `pagePadding` | `number` | 0 |-| `noWrap` | `boolean` | true |+| Prop | Type | Default |+| ------------- | ---------------------------------------------------------------------------------- | -------- |+| `leftText` | `string` | - |+| `rightText` | `string` | - |+| `centerText` | `string` | - |+| `variant` | `'simple' \| 'centered' \| 'branded' \| 'minimal' \| 'three-column' \| 'detailed'` | 'simple' |+| `background` | `string` | - |+| `textColor` | `string` | - |+| `marginTop` | `number` | - |+| `address` | `string` | - |+| `phone` | `string` | - |+| `email` | `string` | - |+| `website` | `string` | - |+| `fixed` | `boolean` | false |+| `sticky` | `boolean` | false |+| `pagePadding` | `number` | 0 |+| `noWrap` | `boolean` | true |diff --git a/content/docs/components/takumi/page-header.mdx b/content/docs/components/takumi/page-header.mdxindex 927838e..9e37083 100644--- a/content/docs/components/takumi/page-header.mdx+++ b/content/docs/components/takumi/page-header.mdx@@ -92,19 +92,19 @@ import { PageHeader } from "@/components/pdf/page-header";### PageHeader-| Prop | Type | Default |-| -------------- | ------------------- | -------- |-| `title` | `string` | - |-| `subtitle` | `string` | - |-| `rightText` | `string` | - |-| `rightSubText` | `string` | - |-| `variant` | `PageHeaderVariant` | 'simple' |-| `background` | `string` | - |-| `titleColor` | `string` | - |-| `marginBottom` | `number` | - |-| `address` | `string` | - |-| `phone` | `string` | - |-| `email` | `string` | - |-| `logo` | `ReactNode` | - |-| `fixed` | `boolean` | false |-| `noWrap` | `boolean` | true |+| Prop | Type | Default |+| -------------- | ------------------------------------------------------------------------------------------------- | -------- |+| `title` | `string` | - |+| `subtitle` | `string` | - |+| `rightText` | `string` | - |+| `rightSubText` | `string` | - |+| `variant` | `'simple' \| 'centered' \| 'minimal' \| 'branded' \| 'logo-left' \| 'logo-right' \| 'two-column'` | 'simple' |+| `background` | `string` | - |+| `titleColor` | `string` | - |+| `marginBottom` | `number` | - |+| `address` | `string` | - |+| `phone` | `string` | - |+| `email` | `string` | - |+| `logo` | `ReactNode` | - |+| `fixed` | `boolean` | false |+| `noWrap` | `boolean` | true |diff --git a/content/docs/components/takumi/page-number.mdx b/content/docs/components/takumi/page-number.mdxindex 06f4aec..879a64b 100644--- a/content/docs/components/takumi/page-number.mdx+++ b/content/docs/components/takumi/page-number.mdx@@ -92,11 +92,11 @@ import { PdfPageNumber } from "@/components/pdf/page-number";### PdfPageNumber-| Prop | Type | Default |-| ---------- | ----------------- | -------------------------------------------- |-| `format` | `string` | 'Page {page} of {total}' |-| `align` | `PageNumberAlign` | 'center' |-| `size` | `PageNumberSize` | 'sm' |-| `fixed` | `boolean` | false |-| `muted` | `boolean` | true |-| `children` | `never` | - |+| Prop | Type | Default |+| ---------- | ------------------------------- | -------------------------------------------- |+| `format` | `string` | 'Page {page} of {total}' |+| `align` | `'left' \| 'center' \| 'right'` | 'center' |+| `size` | `'xs' \| 'sm' \| 'md'` | 'sm' |+| `fixed` | `boolean` | false |+| `muted` | `boolean` | true |+| `children` | `never` | - |diff --git a/content/docs/components/takumi/pdf-image.mdx b/content/docs/components/takumi/pdf-image.mdxindex 0dc2179..a77ed3d 100644--- a/content/docs/components/takumi/pdf-image.mdx+++ b/content/docs/components/takumi/pdf-image.mdx@@ -92,16 +92,16 @@ import { PdfImage } from "@/components/pdf/pdf-image";### PdfImage-| Prop | Type | Default |-| -------------- | ------------------ | ----------- |-| `src` | `PdfImageSrc` | - |-| `variant` | `PdfImageVariant` | `'default'` |-| `width` | `number \| string` | - |-| `height` | `number \| string` | - |-| `fit` | `PdfImageFit` | - |-| `position` | `string` | `'50% 50%'` |-| `caption` | `string` | - |-| `aspectRatio` | `number` | - |-| `borderRadius` | `number` | - |-| `noWrap` | `boolean` | `true` |-| `style` | `Style` | - |+| Prop | Type | Default |+| -------------- | ------------------------------------------------------------------------------------------------------- | ----------- |+| `src` | `string \| { uri: string; method?: string; headers?: Record<string, string>; body?: string }` | - |+| `variant` | `'default' \| 'full-width' \| 'thumbnail' \| 'avatar' \| 'cover' \| 'bordered' \| 'rounded'` | `'default'` |+| `width` | `number \| string` | - |+| `height` | `number \| string` | - |+| `fit` | `'cover' \| 'contain' \| 'fill' \| 'none'` | - |+| `position` | `string` | `'50% 50%'` |+| `caption` | `string` | - |+| `aspectRatio` | `number` | - |+| `borderRadius` | `number` | - |+| `noWrap` | `boolean` | `true` |+| `style` | `Style` | - |diff --git a/content/docs/components/takumi/qrcode.mdx b/content/docs/components/takumi/qrcode.mdxindex 6085ca5..1dee734 100644--- a/content/docs/components/takumi/qrcode.mdx+++ b/content/docs/components/takumi/qrcode.mdx@@ -92,13 +92,13 @@ import { PdfQRCode } from "@/components/pdf/qrcode";### PdfQRCode-| Prop | Type | Default |-| ----------------- | ------------------ | ------- |-| `value` | `string` | - |-| `size` | `number` | - |-| `color` | `string` | - |-| `backgroundColor` | `string` | - |-| `errorLevel` | `QRCodeErrorLevel` | - |-| `margin` | `number` | - |-| `caption` | `string` | - |-| `children` | `never` | - |+| Prop | Type | Default |+| ----------------- | -------------------------- | ------- |+| `value` | `string` | - |+| `size` | `number` | - |+| `color` | `string` | - |+| `backgroundColor` | `string` | - |+| `errorLevel` | `'L' \| 'M' \| 'Q' \| 'H'` | - |+| `margin` | `number` | - |+| `caption` | `string` | - |+| `children` | `never` | - |diff --git a/content/docs/components/takumi/section.mdx b/content/docs/components/takumi/section.mdxindex e9ffc21..e2d75b0 100644--- a/content/docs/components/takumi/section.mdx+++ b/content/docs/components/takumi/section.mdx@@ -95,12 +95,12 @@ import { Text } from "@/components/pdf/text";### Section-| Prop | Type | Default |-| ------------- | ---------------- | --------- |-| `spacing` | `SectionSpacing` | 'md' |-| `padding` | `SectionPadding` | - |-| `background` | `string` | - |-| `border` | `boolean` | false |-| `variant` | `SectionVariant` | 'default' |-| `accentColor` | `string` | - |-| `noWrap` | `boolean` | false |+| Prop | Type | Default |+| ------------- | ------------------------------------------------- | --------- |+| `spacing` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | 'md' |+| `padding` | `'none' \| 'sm' \| 'md' \| 'lg'` | - |+| `background` | `string` | - |+| `border` | `boolean` | false |+| `variant` | `'default' \| 'callout' \| 'highlight' \| 'card'` | 'default' |+| `accentColor` | `string` | - |+| `noWrap` | `boolean` | false |diff --git a/content/docs/components/takumi/signature.mdx b/content/docs/components/takumi/signature.mdxindex b9485fa..d5491f2 100644--- a/content/docs/components/takumi/signature.mdx+++ b/content/docs/components/takumi/signature.mdx@@ -94,7 +94,7 @@ import { PdfSignatureBlock } from "@/components/pdf/signature";| Prop | Type | Default || --------- | ------------------------------------ | -------- |-| `variant` | `SignatureVariant` | 'single' |+| `variant` | `'single' \| 'double' \| 'inline'` | 'single' || `label` | `string` | - || `name` | `string` | - || `title` | `string` | - |diff --git a/content/docs/components/takumi/stack.mdx b/content/docs/components/takumi/stack.mdxindex 7d1803b..8bbef8f 100644--- a/content/docs/components/takumi/stack.mdx+++ b/content/docs/components/takumi/stack.mdx@@ -96,11 +96,11 @@ import { Text } from "@/components/pdf/text";### Stack-| Prop | Type | Default |-| ----------- | ---------------- | ---------- |-| `gap` | `StackGap` | 'md' |-| `direction` | `StackDirection` | 'vertical' |-| `align` | `StackAlign` | 'start' |-| `justify` | `StackJustify` | 'start' |-| `wrap` | `boolean` | false |-| `noWrap` | `boolean` | false |+| Prop | Type | Default |+| ----------- | ------------------------------------------------------- | ---------- |+| `gap` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl'` | 'md' |+| `direction` | `'vertical' \| 'horizontal'` | 'vertical' |+| `align` | `'start' \| 'center' \| 'end' \| 'stretch'` | 'start' |+| `justify` | `'start' \| 'center' \| 'end' \| 'between' \| 'around'` | 'start' |+| `wrap` | `boolean` | false |+| `noWrap` | `boolean` | false |diff --git a/content/docs/components/takumi/table.mdx b/content/docs/components/takumi/table.mdxindex 71a86c8..c55a4fb 100644--- a/content/docs/components/takumi/table.mdx+++ b/content/docs/components/takumi/table.mdx@@ -115,31 +115,29 @@ import {### Table-| Prop | Type | Default |-| ------------- | -------------- | -------- |-| `variant` | `TableVariant` | `'line'` |-| `zebraStripe` | `boolean` | `false` |-| `noWrap` | `boolean` | `false` |-| `children` | `ReactNode` | - |-| `style` | `Style` | - |+| Prop | Type | Default |+| ------------- | ------------------------------------------------------------------------------------------- | -------- |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | `'line'` |+| `zebraStripe` | `boolean` | `false` |+| `noWrap` | `boolean` | `false` |+| `children` | `ReactNode` | - |+| `style` | `Style` | - |### TableRow-| Prop | Type | Default |-| --------- | -------------- | --------- |-| `header` | `boolean` | `false` |-| `footer` | `boolean` | `false` |-| `stripe` | `boolean` | `false` |-| `variant` | `TableVariant` | inherited |+| Prop | Type | Default |+| --------- | ------------------------------------------------------------------------------------------- | --------- |+| `header` | `boolean` | `false` |+| `footer` | `boolean` | `false` |+| `stripe` | `boolean` | `false` |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | inherited |### TableCell-| Prop | Type | Default |-| --------- | ------------------------------- | --------- |-| `header` | `boolean` | `false` |-| `footer` | `boolean` | `false` |-| `align` | `'left' \| 'center' \| 'right'` | `'left'` |-| `width` | `string \| number` | - |-| `variant` | `TableVariant` | inherited |--`TableVariant` is `'line' | 'grid' | 'minimal' | 'striped' | 'compact' | 'bordered' | 'primary-header'`.+| Prop | Type | Default |+| --------- | ------------------------------------------------------------------------------------------- | --------- |+| `header` | `boolean` | `false` |+| `footer` | `boolean` | `false` |+| `align` | `'left' \| 'center' \| 'right'` | `'left'` |+| `width` | `string \| number` | - |+| `variant` | `'line' \| 'grid' \| 'minimal' \| 'striped' \| 'compact' \| 'bordered' \| 'primary-header'` | inherited |diff --git a/content/docs/components/takumi/text.mdx b/content/docs/components/takumi/text.mdxindex 6a3ee5e..caa47b1 100644--- a/content/docs/components/takumi/text.mdx+++ b/content/docs/components/takumi/text.mdx@@ -92,13 +92,13 @@ import { Text } from "@/components/pdf/text";### Text-| Prop | Type | Default |-| ------------ | -------------------------------------------- | ---------- |-| `variant` | `TextVariant` | `'base'` |-| `align` | `'left' \| 'center' \| 'right' \| 'justify'` | `'left'` |-| `color` | `string` | - |-| `weight` | `TextWeight` | `'normal'` |-| `italic` | `boolean` | `false` |-| `decoration` | `TextDecoration` | `'none'` |-| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |-| `noMargin` | `boolean` | `false` |+| Prop | Type | Default |+| ------------ | ---------------------------------------------------------- | ---------- |+| `variant` | `'xs' \| 'sm' \| 'base' \| 'lg' \| 'xl' \| '2xl' \| '3xl'` | `'base'` |+| `align` | `'left' \| 'center' \| 'right' \| 'justify'` | `'left'` |+| `color` | `string` | - |+| `weight` | `'normal' \| 'medium' \| 'semibold' \| 'bold'` | `'normal'` |+| `italic` | `boolean` | `false` |+| `decoration` | `'underline' \| 'line-through' \| 'none'` | `'none'` |+| `transform` | `'uppercase' \| 'lowercase' \| 'capitalize'` | - |+| `noMargin` | `boolean` | `false` |diff --git a/content/docs/components/takumi/watermark.mdx b/content/docs/components/takumi/watermark.mdxindex c4576ab..6af7260 100644--- a/content/docs/components/takumi/watermark.mdx+++ b/content/docs/components/takumi/watermark.mdx@@ -93,13 +93,13 @@ import { Text } from "@/components/pdf/text";### PdfWatermark-| Prop | Type | Default |-| ---------- | ------------------- | ------- |-| `text` | `string` | - |-| `opacity` | `number` | - |-| `fontSize` | `number` | - |-| `color` | `string` | - |-| `angle` | `number` | - |-| `position` | `WatermarkPosition` | - |-| `fixed` | `boolean` | true |-| `children` | `never` | - |+| Prop | Type | Default |+| ---------- | -------------------------------------------------------------------------- | ------- |+| `text` | `string` | - |+| `opacity` | `number` | - |+| `fontSize` | `number` | - |+| `color` | `string` | - |+| `angle` | `number` | - |+| `position` | `'center' \| 'top-left' \| 'top-right' \| 'bottom-left' \| 'bottom-right'` | - |+| `fixed` | `boolean` | true |+| `children` | `never` | - |