|
5 | 5 | "Headmatter": {
|
6 | 6 | "type": "object",
|
7 | 7 | "properties": {
|
8 |
| - "transition": { |
9 |
| - "anyOf": [ |
10 |
| - { |
11 |
| - "$ref": "#/definitions/BuiltinSlideTransition" |
12 |
| - }, |
13 |
| - { |
14 |
| - "type": "string" |
15 |
| - }, |
16 |
| - { |
17 |
| - "$ref": "#/definitions/TransitionGroupProps" |
18 |
| - }, |
19 |
| - { |
20 |
| - "type": "null" |
21 |
| - } |
22 |
| - ], |
23 |
| - "description": "Page transition, powered by Vue's `<TransitionGroup/>`\n\nBuilt-in transitions:\n- fade\n- fade-out\n- slide-left\n- slide-right\n- slide-up\n- slide-down\n\nSee https://sli.dev/guide/animations.html#pages-transitions\n\nSee https://vuejs.org/guide/built-ins/transition.html", |
24 |
| - "markdownDescription": "Page transition, powered by Vue's `<TransitionGroup/>`\n\nBuilt-in transitions:\n- fade\n- fade-out\n- slide-left\n- slide-right\n- slide-up\n- slide-down\n\nSee https://sli.dev/guide/animations.html#pages-transitions\n\nSee https://vuejs.org/guide/built-ins/transition.html" |
25 |
| - }, |
26 | 8 | "layout": {
|
27 | 9 | "anyOf": [
|
28 | 10 | {
|
|
83 | 65 | },
|
84 | 66 | "hideInToc": {
|
85 | 67 | "type": "boolean",
|
86 |
| - "description": "hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc", |
87 |
| - "markdownDescription": "hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc" |
| 68 | + "description": "Hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc", |
| 69 | + "markdownDescription": "Hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc" |
88 | 70 | },
|
89 | 71 | "level": {
|
90 | 72 | "type": "number",
|
91 |
| - "description": "Override the title level for the <TitleRenderer> and <Toc> components Only if `title` has also been declared", |
92 |
| - "markdownDescription": "Override the title level for the <TitleRenderer> and <Toc> components\nOnly if `title` has also been declared" |
| 73 | + "description": "Override the title level for the `<TitleRenderer>` and `<Toc>` components Only if `title` has also been declared", |
| 74 | + "markdownDescription": "Override the title level for the `<TitleRenderer>` and `<Toc>` components\nOnly if `title` has also been declared" |
93 | 75 | },
|
94 | 76 | "routeAlias": {
|
95 | 77 | "type": "string",
|
96 |
| - "description": "Create a route alias that can be used in the URL or with the <Link> component", |
97 |
| - "markdownDescription": "Create a route alias that can be used in the URL or with the <Link> component" |
| 78 | + "description": "Create a route alias that can be used in the URL or with the `<Link>` component", |
| 79 | + "markdownDescription": "Create a route alias that can be used in the URL or with the `<Link>` component" |
98 | 80 | },
|
99 | 81 | "zoom": {
|
100 | 82 | "type": "number",
|
|
103 | 85 | "default": 1
|
104 | 86 | },
|
105 | 87 | "dragPos": {
|
106 |
| - "type": "array", |
107 |
| - "items": { |
108 |
| - "type": "object", |
109 |
| - "additionalProperties": { |
110 |
| - "type": "string" |
111 |
| - } |
| 88 | + "type": "object", |
| 89 | + "additionalProperties": { |
| 90 | + "type": "string" |
112 | 91 | },
|
113 | 92 | "description": "Store the positions of draggable elements Normally you don't need to set this manually\n\nSee https://sli.dev/features/draggable",
|
114 | 93 | "markdownDescription": "Store the positions of draggable elements\nNormally you don't need to set this manually\n\nSee https://sli.dev/features/draggable"
|
|
118 | 97 | "description": "Includes a markdown file\n\nSee https://sli.dev/guide/syntax.html#importing-slides",
|
119 | 98 | "markdownDescription": "Includes a markdown file\n\nSee https://sli.dev/guide/syntax.html#importing-slides"
|
120 | 99 | },
|
| 100 | + "transition": { |
| 101 | + "anyOf": [ |
| 102 | + { |
| 103 | + "$ref": "#/definitions/BuiltinSlideTransition" |
| 104 | + }, |
| 105 | + { |
| 106 | + "type": "string" |
| 107 | + }, |
| 108 | + { |
| 109 | + "$ref": "#/definitions/TransitionGroupProps" |
| 110 | + }, |
| 111 | + { |
| 112 | + "type": "null" |
| 113 | + } |
| 114 | + ], |
| 115 | + "description": "Page transition, powered by Vue's `<TransitionGroup/>`\n\nBuilt-in transitions:\n- fade\n- fade-out\n- slide-left\n- slide-right\n- slide-up\n- slide-down\n\nSee https://sli.dev/guide/animations.html#pages-transitions\n\nSee https://vuejs.org/guide/built-ins/transition.html", |
| 116 | + "markdownDescription": "Page transition, powered by Vue's `<TransitionGroup/>`\n\nBuilt-in transitions:\n- fade\n- fade-out\n- slide-left\n- slide-right\n- slide-up\n- slide-down\n\nSee https://sli.dev/guide/animations.html#pages-transitions\n\nSee https://vuejs.org/guide/built-ins/transition.html" |
| 117 | + }, |
121 | 118 | "title": {
|
122 | 119 | "type": "string",
|
123 | 120 | "description": "Title of the slides",
|
|
492 | 489 | "description": "Default frontmatter options applied to all slides",
|
493 | 490 | "markdownDescription": "Default frontmatter options applied to all slides"
|
494 | 491 | }
|
495 |
| - } |
| 492 | + }, |
| 493 | + "required": [ |
| 494 | + "transition" |
| 495 | + ] |
| 496 | + }, |
| 497 | + "BuiltinLayouts": { |
| 498 | + "type": "string", |
| 499 | + "enum": [ |
| 500 | + "404", |
| 501 | + "center", |
| 502 | + "cover", |
| 503 | + "default", |
| 504 | + "end", |
| 505 | + "error", |
| 506 | + "fact", |
| 507 | + "full", |
| 508 | + "iframe-left", |
| 509 | + "iframe-right", |
| 510 | + "iframe", |
| 511 | + "image-left", |
| 512 | + "image-right", |
| 513 | + "image", |
| 514 | + "intro", |
| 515 | + "none", |
| 516 | + "quote", |
| 517 | + "section", |
| 518 | + "statement", |
| 519 | + "two-cols-header", |
| 520 | + "two-cols" |
| 521 | + ] |
496 | 522 | },
|
497 | 523 | "BuiltinSlideTransition": {
|
498 | 524 | "type": "string",
|
|
575 | 601 | }
|
576 | 602 | }
|
577 | 603 | },
|
578 |
| - "BuiltinLayouts": { |
579 |
| - "type": "string", |
580 |
| - "enum": [ |
581 |
| - "404", |
582 |
| - "center", |
583 |
| - "cover", |
584 |
| - "default", |
585 |
| - "end", |
586 |
| - "error", |
587 |
| - "fact", |
588 |
| - "full", |
589 |
| - "iframe-left", |
590 |
| - "iframe-right", |
591 |
| - "iframe", |
592 |
| - "image-left", |
593 |
| - "image-right", |
594 |
| - "image", |
595 |
| - "intro", |
596 |
| - "none", |
597 |
| - "quote", |
598 |
| - "section", |
599 |
| - "statement", |
600 |
| - "two-cols-header", |
601 |
| - "two-cols" |
602 |
| - ] |
603 |
| - }, |
604 | 604 | "SlidevThemeConfig": {
|
605 | 605 | "type": "object",
|
606 | 606 | "additionalProperties": {
|
|
858 | 858 | },
|
859 | 859 | "hideInToc": {
|
860 | 860 | "type": "boolean",
|
861 |
| - "description": "hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc", |
862 |
| - "markdownDescription": "hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc" |
| 861 | + "description": "Hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc", |
| 862 | + "markdownDescription": "Hide the slide for the `<Toc>` components\n\nSee https://sli.dev/builtin/components#toc" |
| 863 | + }, |
| 864 | + "title": { |
| 865 | + "type": "string", |
| 866 | + "description": "Override the title for the `<TitleRenderer>` and `<Toc>` components Only if `title` has also been declared", |
| 867 | + "markdownDescription": "Override the title for the `<TitleRenderer>` and `<Toc>` components\nOnly if `title` has also been declared" |
863 | 868 | },
|
864 | 869 | "level": {
|
865 | 870 | "type": "number",
|
866 |
| - "description": "Override the title level for the <TitleRenderer> and <Toc> components Only if `title` has also been declared", |
867 |
| - "markdownDescription": "Override the title level for the <TitleRenderer> and <Toc> components\nOnly if `title` has also been declared" |
| 871 | + "description": "Override the title level for the `<TitleRenderer>` and `<Toc>` components Only if `title` has also been declared", |
| 872 | + "markdownDescription": "Override the title level for the `<TitleRenderer>` and `<Toc>` components\nOnly if `title` has also been declared" |
868 | 873 | },
|
869 | 874 | "routeAlias": {
|
870 | 875 | "type": "string",
|
871 |
| - "description": "Create a route alias that can be used in the URL or with the <Link> component", |
872 |
| - "markdownDescription": "Create a route alias that can be used in the URL or with the <Link> component" |
| 876 | + "description": "Create a route alias that can be used in the URL or with the `<Link>` component", |
| 877 | + "markdownDescription": "Create a route alias that can be used in the URL or with the `<Link>` component" |
873 | 878 | },
|
874 | 879 | "zoom": {
|
875 | 880 | "type": "number",
|
|
878 | 883 | "default": 1
|
879 | 884 | },
|
880 | 885 | "dragPos": {
|
881 |
| - "type": "array", |
882 |
| - "items": { |
883 |
| - "type": "object", |
884 |
| - "additionalProperties": { |
885 |
| - "type": "string" |
886 |
| - } |
| 886 | + "type": "object", |
| 887 | + "additionalProperties": { |
| 888 | + "type": "string" |
887 | 889 | },
|
888 | 890 | "description": "Store the positions of draggable elements Normally you don't need to set this manually\n\nSee https://sli.dev/features/draggable",
|
889 | 891 | "markdownDescription": "Store the positions of draggable elements\nNormally you don't need to set this manually\n\nSee https://sli.dev/features/draggable"
|
|
0 commit comments