@portabletext/markdown 1.2.0 → 1.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/README.md CHANGED
@@ -70,6 +70,7 @@ const markdown = portableTextToMarkdown([
70
70
  | Blockquotes | ✅ | ✅ |
71
71
  | Ordered lists | ✅ | ✅ |
72
72
  | Unordered lists | ✅ | ✅ |
73
+ | Task lists | ✅\* | ✅\* |
73
74
  | Nested lists | ✅ | ✅ |
74
75
  | Code blocks | ✅ | ✅\* |
75
76
  | Horizontal rules | ✅ | ✅\* |
@@ -206,6 +207,7 @@ Matchers map Markdown concepts to Portable Text types defined in the Schema. Eac
206
207
  | | `blockquote` | `>` blockquotes | `'blockquote'` |
207
208
  | `listItem` | `bullet` | `- ` or `* ` lists | `'bullet'` |
208
209
  | | `number` | `1. ` ordered lists | `'number'` |
210
+ | | `task` | `- [ ]` / `- [x]` items | `'task'` |
209
211
  | `marks` | `strong` | `**bold**` | `'strong'` |
210
212
  | | `em` | `*italic*` | `'em'` |
211
213
  | | `code` | `` `inline code` `` | `'code'` |
@@ -216,6 +218,8 @@ Matchers map Markdown concepts to Portable Text types defined in the Schema. Eac
216
218
  | | `image` | `![alt](src)` | `'image'` |
217
219
  | | `html` | HTML blocks | `'html'` |
218
220
  | | `callout` | `> [!NOTE]`, etc. | `'callout'` |
221
+ | | `blockquote` | `>` blockquotes | `'blockquote'` |
222
+ | | `list` | `- ` or `1. ` lists | `'list'` |
219
223
 
220
224
  #### Configuring matchers
221
225
 
@@ -264,6 +268,77 @@ markdownToPortableText(markdown, {
264
268
  })
265
269
  ```
266
270
 
271
+ **List matcher:** By default, lists are emitted as flat text blocks with `listItem` and `level` fields, and adjacent blocks form a list at render time. If your schema models lists as a structural block-object instead (a `list` type with an `items` array holding `list-item` objects, each with a `content` array), provide a `types.list` matcher to opt into that shape:
272
+
273
+ ```ts
274
+ markdownToPortableText(markdown, {
275
+ schema: schemaWithList,
276
+ types: {
277
+ list: ({context, value}) => ({
278
+ _type: 'list',
279
+ _key: context.keyGenerator(),
280
+ kind: value.kind, // 'bullet' | 'number' | 'task'
281
+ items: value.items, // each item: {_type, _key, checked?, content: [...]}
282
+ }),
283
+ },
284
+ })
285
+ ```
286
+
287
+ The matcher receives `value.items` already assembled. Each item's `content` array holds whatever blocks the markdown produced inside the item: text blocks, code blocks, callouts, images, even nested lists. `kind` is promoted to `'task'` automatically when any item carries a GFM checkbox (`- [ ]` / `- [x]`); items only carry a `checked` field when the markdown actually has one. If the matcher returns `undefined`, the parser falls back to flat-list parsing for that list.
288
+
289
+ Without `types.list`, the existing flat-block path runs unchanged.
290
+
291
+ **GFM task lists** (`- [ ]` / `- [x]`): Task lists are recognized when the schema declares a `task` list item. Without a `task` definition, the checkbox markers are stripped from the text and the items render as their surrounding list type (bullet or number). With a `task` definition, items carrying a checkbox become text blocks with `listItem: 'task'` and a `checked: boolean` field; items without a checkbox keep their surrounding list type.
292
+
293
+ ```ts
294
+ markdownToPortableText('- [x] done\n- [ ] todo', {
295
+ schema: compileSchema(
296
+ defineSchema({
297
+ lists: [{name: 'bullet'}, {name: 'task'}],
298
+ }),
299
+ ),
300
+ })
301
+ // → [
302
+ // {_type: 'block', listItem: 'task', level: 1, checked: true, children: [{text: 'done', ...}], ...},
303
+ // {_type: 'block', listItem: 'task', level: 1, checked: false, children: [{text: 'todo', ...}], ...},
304
+ // ]
305
+ ```
306
+
307
+ If your schema uses a different name for the task list type (e.g. `'todo'`), provide a custom `listItem.task` matcher:
308
+
309
+ ```ts
310
+ markdownToPortableText(markdown, {
311
+ schema: compileSchema(defineSchema({lists: [{name: 'todo'}]})),
312
+ listItem: {
313
+ task: ({context}) =>
314
+ context.schema.lists.find((list) => list.name === 'todo')?.name,
315
+ },
316
+ })
317
+ ```
318
+
319
+ When emitting Portable Text back to Markdown, blocks with `listItem: 'task'` render as `- [x] ` or `- [ ] ` based on the `checked` field.
320
+
321
+ **Blockquote matcher:** By default, blockquotes are emitted as flat text blocks with `style: 'blockquote'`, and adjacent blocks form a visual blockquote at render time. If your schema models a blockquote as a structural block-object instead (a `blockquote` type with a `content` array), provide a `types.blockquote` matcher to opt into that shape:
322
+
323
+ ```ts
324
+ markdownToPortableText(markdown, {
325
+ schema: schemaWithBlockquote,
326
+ types: {
327
+ blockquote: ({context, value}) => ({
328
+ _type: 'blockquote',
329
+ _key: context.keyGenerator(),
330
+ content: value.content, // array of blocks the markdown produced inside the blockquote
331
+ }),
332
+ },
333
+ })
334
+ ```
335
+
336
+ The matcher receives `value.content` already assembled. The array holds whatever blocks the markdown produced inside the blockquote: text blocks, code blocks, images, even nested blockquotes. GFM alerts (`> [!NOTE]`, `> [!TIP]`, etc.) use a different token stream and produce callouts instead, so `types.blockquote` and `types.callout` can be registered side-by-side without conflict.
337
+
338
+ If the matcher returns `undefined`, the parser falls back to flat-style by re-emitting the content blocks with `style: 'blockquote'`.
339
+
340
+ Without `types.blockquote`, the existing flat-block path runs unchanged.
341
+
267
342
  Matchers receive:
268
343
 
269
344
  - `context.schema` – the compiled schema to validate against
@@ -374,24 +449,24 @@ The conversion is driven by **Renderers**: functions that render Portable Text e
374
449
 
375
450
  #### Default renderers
376
451
 
377
- | Group | Renderer | Renders | Output |
378
- | ------------------- | ---------------- | ---------------------------- | --------------------- |
379
- | `block` | `normal` | Paragraphs | `{children}` |
380
- | | `h1`–`h6` | Headings | `# `–`###### ` |
381
- | | `blockquote` | Blockquotes | `> {children}` |
382
- | `marks` | `strong` | Bold text | `**{children}**` |
383
- | | `em` | Italic text | `_{children}_` |
384
- | | `code` | Inline code | `` `{children}` `` |
385
- | | `underline` | Underlined text | `<u>{children}</u>` |
386
- | | `strike-through` | Strikethrough | `~~{children}~~` |
387
- | | `link` | Links | `[{children}](url)` |
388
- | `listItem` | | List items (bullet & number) | `- ` or `1. ` |
389
- | `hardBreak` | | Line breaks within blocks | ` \n` (two spaces) |
390
- | `blockSpacing` | | Spacing between blocks | `\n\n`, `\n`, `\n>\n` |
391
- | `unknownType` | | Unknown block types | JSON code block |
392
- | `unknownBlockStyle` | | Unknown block styles | `{children}` |
393
- | `unknownListItem` | | Unknown list item types | `- {children}` |
394
- | `unknownMark` | | Unknown marks | `{children}` |
452
+ | Group | Renderer | Renders | Output |
453
+ | ------------------- | ---------------- | --------------------------------- | ------------------------ |
454
+ | `block` | `normal` | Paragraphs | `{children}` |
455
+ | | `h1`–`h6` | Headings | `# `–`###### ` |
456
+ | | `blockquote` | Blockquotes | `> {children}` |
457
+ | `marks` | `strong` | Bold text | `**{children}**` |
458
+ | | `em` | Italic text | `_{children}_` |
459
+ | | `code` | Inline code | `` `{children}` `` |
460
+ | | `underline` | Underlined text | `<u>{children}</u>` |
461
+ | | `strike-through` | Strikethrough | `~~{children}~~` |
462
+ | | `link` | Links | `[{children}](url)` |
463
+ | `listItem` | | List items (bullet, number, task) | `- `, `1. `, or `- [x] ` |
464
+ | `hardBreak` | | Line breaks within blocks | ` \n` (two spaces) |
465
+ | `blockSpacing` | | Spacing between blocks | `\n\n`, `\n`, `\n>\n` |
466
+ | `unknownType` | | Unknown block types | JSON code block |
467
+ | `unknownBlockStyle` | | Unknown block styles | `{children}` |
468
+ | `unknownListItem` | | Unknown list item types | `- {children}` |
469
+ | `unknownMark` | | Unknown marks | `{children}` |
395
470
 
396
471
  Unknown types render as JSON code blocks by default; unknown styles, list items, and marks pass through their children.
397
472
 
@@ -429,35 +504,41 @@ portableTextToMarkdown(blocks, {
429
504
 
430
505
  ```ts
431
506
  import {
507
+ DefaultBlockquoteObjectRenderer,
432
508
  DefaultCalloutRenderer,
433
509
  DefaultCodeBlockRenderer,
434
510
  DefaultHorizontalRuleRenderer,
435
511
  DefaultHtmlRenderer,
436
512
  DefaultImageRenderer,
513
+ DefaultListRenderer,
437
514
  DefaultTableRenderer,
438
515
  portableTextToMarkdown,
439
516
  } from '@portabletext/markdown'
440
517
 
441
518
  portableTextToMarkdown(blocks, {
442
519
  types: {
520
+ 'blockquote': DefaultBlockquoteObjectRenderer,
443
521
  'callout': DefaultCalloutRenderer,
444
522
  'code': DefaultCodeBlockRenderer,
445
523
  'horizontal-rule': DefaultHorizontalRuleRenderer,
446
524
  'html': DefaultHtmlRenderer,
447
525
  'image': DefaultImageRenderer,
526
+ 'list': DefaultListRenderer,
448
527
  'table': DefaultTableRenderer,
449
528
  },
450
529
  })
451
530
  ```
452
531
 
453
- | Renderer | Expected value | Output |
454
- | ------------------------------- | ---------------------------------------------- | ---------------------- |
455
- | `DefaultCalloutRenderer` | `{tone: string, content: PortableTextBlock[]}` | `> [!TYPE]\n> content` |
456
- | `DefaultCodeBlockRenderer` | `{code: string, language?: string}` | ` ```lang\ncode\n``` ` |
457
- | `DefaultHorizontalRuleRenderer` | (no fields required) | `---` |
458
- | `DefaultHtmlRenderer` | `{html: string}` | Raw HTML |
459
- | `DefaultImageRenderer` | `{src: string, alt?: string, title?: string}` | `![alt](src "title")` |
460
- | `DefaultTableRenderer` | `{rows: [...], headerRows?: number}` | Markdown table |
532
+ | Renderer | Expected value | Output |
533
+ | --------------------------------- | ------------------------------------------------------ | ---------------------- |
534
+ | `DefaultBlockquoteObjectRenderer` | `{content: PortableTextBlock[]}` | `> content` |
535
+ | `DefaultCalloutRenderer` | `{tone: string, content: PortableTextBlock[]}` | `> [!TYPE]\n> content` |
536
+ | `DefaultCodeBlockRenderer` | `{code: string, language?: string}` | ` ```lang\ncode\n``` ` |
537
+ | `DefaultHorizontalRuleRenderer` | (no fields required) | `---` |
538
+ | `DefaultHtmlRenderer` | `{html: string}` | Raw HTML |
539
+ | `DefaultImageRenderer` | `{src: string, alt?: string, title?: string}` | `![alt](src "title")` |
540
+ | `DefaultListRenderer` | `{kind: 'bullet' \| 'number' \| 'task', items: [...]}` | Markdown list |
541
+ | `DefaultTableRenderer` | `{rows: [...], headerRows?: number}` | Markdown table |
461
542
 
462
543
  #### What renderers receive
463
544
 
package/dist/index.d.ts CHANGED
@@ -469,6 +469,42 @@ declare const DefaultCalloutRenderer: PortableTextTypeRenderer<{
469
469
  tone: string;
470
470
  content: Array<PortableTextBlock$1>;
471
471
  }>;
472
+ /**
473
+ * Renders a structural blockquote block-object (the `types.blockquote` shape
474
+ * produced by `markdownToPortableText` when a `types.blockquote` matcher is
475
+ * provided) back to Markdown. Each content block is rendered via the
476
+ * recursive renderer pipeline, joined with blank lines, and every line is
477
+ * prefixed with `> ` to form a Markdown blockquote.
478
+ *
479
+ * Distinct from `DefaultBlockquoteRenderer`, which renders flat-path text
480
+ * blocks with `style: 'blockquote'`.
481
+ *
482
+ * @public
483
+ */
484
+ declare const DefaultBlockquoteObjectRenderer: PortableTextTypeRenderer<{
485
+ _type: 'blockquote';
486
+ content: Array<PortableTextBlock$1>;
487
+ }>;
488
+ /**
489
+ * Renders a structural list block-object (the `types.list` shape produced by
490
+ * `markdownToPortableText` when a `types.list` matcher is provided) back to
491
+ * Markdown. Items render as `- ` for `kind: 'bullet'`, `1. `/`2. ` for `'number'`,
492
+ * and `- [x] ` / `- [ ] ` for `'task'`. Items can hold any blocks - text blocks,
493
+ * code blocks, callouts, images, and nested lists - and content other than the
494
+ * leading text block is indented to keep it inside the item.
495
+ *
496
+ * @public
497
+ */
498
+ declare const DefaultListRenderer: PortableTextTypeRenderer<{
499
+ _type: 'list';
500
+ kind: 'bullet' | 'number' | 'task';
501
+ items: Array<{
502
+ _type: 'list-item';
503
+ _key: string;
504
+ checked?: boolean;
505
+ content: Array<PortableTextBlock$1 | TypedObject>;
506
+ }>;
507
+ }>;
472
508
  /**
473
509
  * Matcher function for mapping markdown elements to Portable Text block styles.
474
510
  *
@@ -563,6 +599,7 @@ type Options = {
563
599
  listItem?: {
564
600
  number?: ListItemMatcher;
565
601
  bullet?: ListItemMatcher;
602
+ task?: ListItemMatcher;
566
603
  };
567
604
  types?: {
568
605
  code?: ObjectMatcher<{
@@ -594,6 +631,18 @@ type Options = {
594
631
  tone: string;
595
632
  content: Array<PortableTextBlock>;
596
633
  }>;
634
+ blockquote?: ObjectMatcher<{
635
+ content: Array<PortableTextBlock>;
636
+ }>;
637
+ list?: ObjectMatcher<{
638
+ kind: 'bullet' | 'number' | 'task';
639
+ items: Array<{
640
+ _type: 'list-item';
641
+ _key: string;
642
+ checked?: boolean;
643
+ content: Array<PortableTextBlock | PortableTextObject>;
644
+ }>;
645
+ }>;
597
646
  };
598
647
  html?: {
599
648
  /**
@@ -612,5 +661,5 @@ type Options = {
612
661
  * @public
613
662
  */
614
663
  declare function markdownToPortableText(markdown: string, options?: Options): Array<PortableTextBlock>;
615
- export { type AnnotationMatcher, type BlockSpacingRenderer, type DecoratorMatcher, DefaultBlockSpacingRenderer, DefaultBlockquoteRenderer, DefaultCalloutRenderer, DefaultCodeBlockRenderer, DefaultCodeRenderer, DefaultEmRenderer, DefaultH1Renderer, DefaultH2Renderer, DefaultH3Renderer, DefaultH4Renderer, DefaultH5Renderer, DefaultH6Renderer, DefaultHardBreakRenderer, DefaultHorizontalRuleRenderer, DefaultHtmlRenderer, DefaultImageRenderer, DefaultLinkRenderer, DefaultListItemRenderer, DefaultNormalRenderer, DefaultStrikeThroughRenderer, DefaultStrongRenderer, DefaultTableRenderer, DefaultUnderlineRenderer, type ListItemMatcher, type ObjectMatcher, type PortableTextBlockRenderer, type PortableTextListItemRenderer, type PortableTextMarkRenderer, type PortableTextMarkRendererOptions, type PortableTextRenderer, type PortableTextRendererOptions, type PortableTextRenderers, type PortableTextTypeRenderer, type PortableTextTypeRendererOptions, type StyleMatcher, markdownToPortableText, portableTextToMarkdown };
664
+ export { type AnnotationMatcher, type BlockSpacingRenderer, type DecoratorMatcher, DefaultBlockSpacingRenderer, DefaultBlockquoteObjectRenderer, DefaultBlockquoteRenderer, DefaultCalloutRenderer, DefaultCodeBlockRenderer, DefaultCodeRenderer, DefaultEmRenderer, DefaultH1Renderer, DefaultH2Renderer, DefaultH3Renderer, DefaultH4Renderer, DefaultH5Renderer, DefaultH6Renderer, DefaultHardBreakRenderer, DefaultHorizontalRuleRenderer, DefaultHtmlRenderer, DefaultImageRenderer, DefaultLinkRenderer, DefaultListItemRenderer, DefaultListRenderer, DefaultNormalRenderer, DefaultStrikeThroughRenderer, DefaultStrongRenderer, DefaultTableRenderer, DefaultUnderlineRenderer, type ListItemMatcher, type ObjectMatcher, type PortableTextBlockRenderer, type PortableTextListItemRenderer, type PortableTextMarkRenderer, type PortableTextMarkRendererOptions, type PortableTextRenderer, type PortableTextRendererOptions, type PortableTextRenderers, type PortableTextTypeRenderer, type PortableTextTypeRendererOptions, type StyleMatcher, markdownToPortableText, portableTextToMarkdown };
616
665
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["TypedObject","ArbitraryTypedObject","PortableTextBlock","M","C","S","L","PortableTextMarkDefinition","PortableTextSpan","PortableTextBlockStyle","PortableTextListItemType","PortableTextListItemBlock","Omit","PortableTextLink"],"sources":["../../../node_modules/.pnpm/@portabletext+types@4.0.2/node_modules/@portabletext/types/dist/index.d.ts","../src/from-portable-text/renderers/block-spacing.ts","../src/from-portable-text/types.ts","../src/from-portable-text/portable-text-to-markdown.ts","../src/from-portable-text/renderers/hard-break.ts","../src/from-portable-text/renderers/list-item.ts","../src/from-portable-text/renderers/style.ts","../src/from-portable-text/renderers/marks.ts","../src/from-portable-text/renderers/type.ts","../src/to-portable-text/matchers.ts","../src/to-portable-text/markdown-to-portable-text.ts"],"sourcesContent":["/**\n* Any object with an `_type` property (which is required in portable text arrays),\n* as well as a _potential_ `_key` (highly encouraged)\n* @public\n*/\ninterface TypedObject {\n /**\n * Identifies the type of object/span this is, and is used to pick the correct React components\n * to use when rendering a span or inline object with this type.\n */\n _type: string;\n /**\n * Uniquely identifies this object within its parent block.\n * Not _required_, but highly encouraged.\n */\n _key?: string;\n}\n/**\n* Any object with an `_type` that is a string. Can hold any other properties.\n* @public\n*/\ntype ArbitraryTypedObject = TypedObject & {\n [key: string]: any;\n};\n/**\n* A Portable Text Block can be thought of as one paragraph, quote or list item.\n* In other words, it is a container for text, that can have a visual style associated with it.\n* The actual text value is stored in portable text spans inside of the `childen` array.\n*\n* @typeParam M - Mark types that be used for text spans\n* @typeParam C - Types allowed as children of this block\n* @typeParam S - Allowed block styles (eg `normal`, `blockquote`, `h3` etc)\n* @typeParam L - Allowed list item types (eg `number`, `bullet` etc)\n* @public\n*/\ninterface PortableTextBlock<M extends PortableTextMarkDefinition = PortableTextMarkDefinition, C extends TypedObject = ArbitraryTypedObject | PortableTextSpan, S extends string = PortableTextBlockStyle, L extends string = PortableTextListItemType> extends TypedObject {\n /**\n * Type name identifying this as a portable text block.\n * All items within a portable text array should have a `_type` property.\n *\n * Usually 'block', but can be customized to other values\n */\n _type: \"block\" | (string & {});\n /**\n * A key that identifies this block uniquely within the parent array. Used to more easily address\n * the block when editing collaboratively, but is also very useful for keys inside of React and\n * other rendering frameworks that can use keys to optimize operations.\n */\n _key?: string;\n /**\n * Array of inline items for this block. Usually contain text spans, but can be\n * configured to include inline objects of other types as well.\n */\n children: C[];\n /**\n * Array of mark definitions used in child text spans. By having them be on the block level,\n * the same mark definition can be reused for multiple text spans, which is often the case\n * with nested marks.\n */\n markDefs?: M[];\n /**\n * Visual style of the block\n * Common values: 'normal', 'blockquote', 'h1'...'h6'\n */\n style?: S;\n /**\n * If this block is a list item, identifies which style of list item this is\n * Common values: 'bullet', 'number', but can be configured\n */\n listItem?: L;\n /**\n * If this block is a list item, identifies which level of nesting it belongs within\n */\n level?: number;\n}\n/**\n* Strictly speaking the same as a portable text block, but `listItem` is required\n*\n* @typeParam M - Mark types that be used for text spans\n* @typeParam C - Types allowed as children of this block\n* @typeParam S - Allowed block styles (eg `normal`, `blockquote`, `h3` etc)\n* @typeParam L - Allowed list item types (eg `number`, `bullet` etc)\n* @public\n*/\ninterface PortableTextListItemBlock<M extends PortableTextMarkDefinition = PortableTextMarkDefinition, C extends TypedObject = PortableTextSpan, S extends string = PortableTextBlockStyle, L extends string = PortableTextListItemType> extends Omit<PortableTextBlock<M, C, S, L>, \"listItem\"> {\n listItem: L;\n}\n/**\n* A set of _common_ (but not required/standarized) block styles\n* @public\n*/\ntype PortableTextBlockStyle = \"normal\" | \"blockquote\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | (string & {});\n/**\n* A set of _common_ (but not required/standardized) list item types\n* @public\n*/\ntype PortableTextListItemType = \"bullet\" | \"number\" | (string & {});\n/**\n* A mark definition holds information for marked text. For instance, a text span could reference\n* a mark definition for a hyperlink, a geoposition, a reference to a document or anything that is\n* representable as a JSON object.\n* @public\n*/\ninterface PortableTextMarkDefinition {\n /**\n * Unknown properties\n */\n [key: string]: unknown;\n /**\n * Identifies the type of mark this is, and is used to pick the correct React components to use\n * when rendering a text span marked with this mark type.\n */\n _type: string;\n /**\n * Uniquely identifies this mark definition within the block\n */\n _key: string;\n}\n/**\n* A Portable Text Span holds a chunk of the actual text value of a Portable Text Block\n* @public\n*/\ninterface PortableTextSpan {\n /**\n * Type is always `span` for portable text spans, as these don't vary in shape\n */\n _type: \"span\";\n /**\n * Unique (within parent block) key for this portable text span\n */\n _key?: string;\n /**\n * The actual text value of this text span\n */\n text: string;\n /**\n * An array of marks this text span is annotated with, identified by its `_key`.\n * If the key cannot be found in the parent blocks mark definition, the mark is assumed to be a\n * decorator (a simpler mark without any properties - for instance `strong` or `em`)\n */\n marks?: string[];\n}\n/**\n* The simplest representation of a link\n* @public\n*/\ninterface PortableTextLink {\n _type: \"link\";\n href: string;\n}\nexport { ArbitraryTypedObject, PortableTextBlock, PortableTextBlockStyle, PortableTextLink, PortableTextListItemBlock, PortableTextListItemType, PortableTextMarkDefinition, PortableTextSpan, TypedObject };\n//# sourceMappingURL=index.d.ts.map"],"x_google_ignoreList":[0],"mappings":";;;;AAKqB;AAgBkB;UAhB7BA,WAAAA,CA8B4BO;EAA6BA;;;;EAAgHE,KAAAA,EAAAA,MAAAA;EAA2CC;;;;EAkCjNJ,IAAAA,CAAAA,EAAAA,MAAAA;;;AAlC8P;;;KAdtQL,oBAAAA,GA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AAA;MASA,CAAA,CAAA;IAOA,CAAA,CAAA;IAQA,KAAA,CAAA,EQ8CA,aR9CA,CAAA;MAAmC,GAAA,EAAA,MAAA;MACJ,GAAA,EAAA,MAAA;MAAhC,KAAA,EAAA,MAAA,GAAA,SAAA;IAA+B,CAAA,CAAA;IAM9B,OAAA,CAAA,EQwCE,aRxCsB,CAAA;MAAW,IAAA,EAAA,MAAA;MACJ,OAAA,EQuCS,KRvCT,CQuCe,iBRvCf,CAAA;IAAhC,CAAA,CAAA;EAA+B,CAAA;EASzB,IAAA,CAAA,EAAA;IAWO;;;;;;;IAoBlB,MAAA,CAAA,EAAA,MAAA,GAAA,MAAA;EAYE,CAAA;CACA;;;;;;AA0BkC,iBQ+E1B,sBAAA,CR/E0B,QAAA,EAAA,MAAA,EAAA,OAAA,CAAA,EQiF9B,ORjF8B,CAAA,EQkFvC,KRlFuC,CQkFjC,iBRlFiC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","names":["TypedObject","ArbitraryTypedObject","PortableTextBlock","M","C","S","L","PortableTextMarkDefinition","PortableTextSpan","PortableTextBlockStyle","PortableTextListItemType","PortableTextListItemBlock","Omit","PortableTextLink"],"sources":["../../../node_modules/.pnpm/@portabletext+types@4.0.2/node_modules/@portabletext/types/dist/index.d.ts","../src/from-portable-text/renderers/block-spacing.ts","../src/from-portable-text/types.ts","../src/from-portable-text/portable-text-to-markdown.ts","../src/from-portable-text/renderers/hard-break.ts","../src/from-portable-text/renderers/list-item.ts","../src/from-portable-text/renderers/style.ts","../src/from-portable-text/renderers/marks.ts","../src/from-portable-text/renderers/type.ts","../src/to-portable-text/matchers.ts","../src/to-portable-text/markdown-to-portable-text.ts"],"sourcesContent":["/**\n* Any object with an `_type` property (which is required in portable text arrays),\n* as well as a _potential_ `_key` (highly encouraged)\n* @public\n*/\ninterface TypedObject {\n /**\n * Identifies the type of object/span this is, and is used to pick the correct React components\n * to use when rendering a span or inline object with this type.\n */\n _type: string;\n /**\n * Uniquely identifies this object within its parent block.\n * Not _required_, but highly encouraged.\n */\n _key?: string;\n}\n/**\n* Any object with an `_type` that is a string. Can hold any other properties.\n* @public\n*/\ntype ArbitraryTypedObject = TypedObject & {\n [key: string]: any;\n};\n/**\n* A Portable Text Block can be thought of as one paragraph, quote or list item.\n* In other words, it is a container for text, that can have a visual style associated with it.\n* The actual text value is stored in portable text spans inside of the `childen` array.\n*\n* @typeParam M - Mark types that be used for text spans\n* @typeParam C - Types allowed as children of this block\n* @typeParam S - Allowed block styles (eg `normal`, `blockquote`, `h3` etc)\n* @typeParam L - Allowed list item types (eg `number`, `bullet` etc)\n* @public\n*/\ninterface PortableTextBlock<M extends PortableTextMarkDefinition = PortableTextMarkDefinition, C extends TypedObject = ArbitraryTypedObject | PortableTextSpan, S extends string = PortableTextBlockStyle, L extends string = PortableTextListItemType> extends TypedObject {\n /**\n * Type name identifying this as a portable text block.\n * All items within a portable text array should have a `_type` property.\n *\n * Usually 'block', but can be customized to other values\n */\n _type: \"block\" | (string & {});\n /**\n * A key that identifies this block uniquely within the parent array. Used to more easily address\n * the block when editing collaboratively, but is also very useful for keys inside of React and\n * other rendering frameworks that can use keys to optimize operations.\n */\n _key?: string;\n /**\n * Array of inline items for this block. Usually contain text spans, but can be\n * configured to include inline objects of other types as well.\n */\n children: C[];\n /**\n * Array of mark definitions used in child text spans. By having them be on the block level,\n * the same mark definition can be reused for multiple text spans, which is often the case\n * with nested marks.\n */\n markDefs?: M[];\n /**\n * Visual style of the block\n * Common values: 'normal', 'blockquote', 'h1'...'h6'\n */\n style?: S;\n /**\n * If this block is a list item, identifies which style of list item this is\n * Common values: 'bullet', 'number', but can be configured\n */\n listItem?: L;\n /**\n * If this block is a list item, identifies which level of nesting it belongs within\n */\n level?: number;\n}\n/**\n* Strictly speaking the same as a portable text block, but `listItem` is required\n*\n* @typeParam M - Mark types that be used for text spans\n* @typeParam C - Types allowed as children of this block\n* @typeParam S - Allowed block styles (eg `normal`, `blockquote`, `h3` etc)\n* @typeParam L - Allowed list item types (eg `number`, `bullet` etc)\n* @public\n*/\ninterface PortableTextListItemBlock<M extends PortableTextMarkDefinition = PortableTextMarkDefinition, C extends TypedObject = PortableTextSpan, S extends string = PortableTextBlockStyle, L extends string = PortableTextListItemType> extends Omit<PortableTextBlock<M, C, S, L>, \"listItem\"> {\n listItem: L;\n}\n/**\n* A set of _common_ (but not required/standarized) block styles\n* @public\n*/\ntype PortableTextBlockStyle = \"normal\" | \"blockquote\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | (string & {});\n/**\n* A set of _common_ (but not required/standardized) list item types\n* @public\n*/\ntype PortableTextListItemType = \"bullet\" | \"number\" | (string & {});\n/**\n* A mark definition holds information for marked text. For instance, a text span could reference\n* a mark definition for a hyperlink, a geoposition, a reference to a document or anything that is\n* representable as a JSON object.\n* @public\n*/\ninterface PortableTextMarkDefinition {\n /**\n * Unknown properties\n */\n [key: string]: unknown;\n /**\n * Identifies the type of mark this is, and is used to pick the correct React components to use\n * when rendering a text span marked with this mark type.\n */\n _type: string;\n /**\n * Uniquely identifies this mark definition within the block\n */\n _key: string;\n}\n/**\n* A Portable Text Span holds a chunk of the actual text value of a Portable Text Block\n* @public\n*/\ninterface PortableTextSpan {\n /**\n * Type is always `span` for portable text spans, as these don't vary in shape\n */\n _type: \"span\";\n /**\n * Unique (within parent block) key for this portable text span\n */\n _key?: string;\n /**\n * The actual text value of this text span\n */\n text: string;\n /**\n * An array of marks this text span is annotated with, identified by its `_key`.\n * If the key cannot be found in the parent blocks mark definition, the mark is assumed to be a\n * decorator (a simpler mark without any properties - for instance `strong` or `em`)\n */\n marks?: string[];\n}\n/**\n* The simplest representation of a link\n* @public\n*/\ninterface PortableTextLink {\n _type: \"link\";\n href: string;\n}\nexport { ArbitraryTypedObject, PortableTextBlock, PortableTextBlockStyle, PortableTextLink, PortableTextListItemBlock, PortableTextListItemType, PortableTextMarkDefinition, PortableTextSpan, TypedObject };\n//# sourceMappingURL=index.d.ts.map"],"x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