@md-plugins/quasar-app-extension-q-press 0.1.0-alpha.10
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/LICENSE.md +21 -0
- package/README.md +230 -0
- package/old/prompts.js +44 -0
- package/old/uninstall.js +9 -0
- package/package.json +60 -0
- package/scripts/build.js +33 -0
- package/src/index.js +63 -0
- package/src/install.js +49 -0
- package/src/templates/.gitkeep +0 -0
- package/src/templates/init/src/_q-press/.gitkeep +0 -0
- package/src/templates/init/src/_q-press/api/components/DarkModeToggle.json +37 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownApi.json +67 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownApiEntry.json +76 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownCardLink.json +28 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownCardTitle.json +48 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownCode.json +37 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownCodePrism.json +29 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownCodepen.json +21 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownCopyButton.json +36 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownDrawerSidebar.json +17 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownDrawerToc.json +17 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownExample.json +22 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownHeader.json +28 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownHeaderIconLinks.json +16 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownHeaderMenu.json +77 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownHeaderTextLinks.json +33 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownInstallation.json +33 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownLayout.json +52 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownLink.json +23 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownPage.json +71 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownPageFooter.json +21 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownPageSidebar.json +56 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownPageToc.json +17 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownPrerender.json +25 -0
- package/src/templates/init/src/_q-press/api/components/MarkdownTree.json +27 -0
- package/src/templates/init/src/_q-press/api/composables/dark.json +29 -0
- package/src/templates/init/src/_q-press/api/composables/scroll.json +34 -0
- package/src/templates/init/src/_q-press/assets/get-meta.ts +29 -0
- package/src/templates/init/src/_q-press/components/DarkModeToggle.vue +105 -0
- package/src/templates/init/src/_q-press/components/MarkdownApi.vue +588 -0
- package/src/templates/init/src/_q-press/components/MarkdownApiEntry.ts +594 -0
- package/src/templates/init/src/_q-press/components/MarkdownCardLink.vue +25 -0
- package/src/templates/init/src/_q-press/components/MarkdownCardTitle.vue +21 -0
- package/src/templates/init/src/_q-press/components/MarkdownCode.vue +25 -0
- package/src/templates/init/src/_q-press/components/MarkdownCodePrism.ts +36 -0
- package/src/templates/init/src/_q-press/components/MarkdownCodepen.vue +183 -0
- package/src/templates/init/src/_q-press/components/MarkdownCopyButton.vue +104 -0
- package/src/templates/init/src/_q-press/components/MarkdownExample.vue +221 -0
- package/src/templates/init/src/_q-press/components/MarkdownInstallation.vue +166 -0
- package/src/templates/init/src/_q-press/components/MarkdownLink.vue +38 -0
- package/src/templates/init/src/_q-press/components/MarkdownPrerender.ts +82 -0
- package/src/templates/init/src/_q-press/components/MarkdownTree.vue +105 -0
- package/src/templates/init/src/_q-press/components/markdown-utils.ts +105 -0
- package/src/templates/init/src/_q-press/composables/dark.ts +39 -0
- package/src/templates/init/src/_q-press/composables/scroll.ts +115 -0
- package/src/templates/init/src/_q-press/css/app.scss +662 -0
- package/src/templates/init/src/_q-press/css/fonts.scss +100 -0
- package/src/templates/init/src/_q-press/css/prism-theme.scss +298 -0
- package/src/templates/init/src/_q-press/css/themes/default.scss +68 -0
- package/src/templates/init/src/_q-press/css/themes/newspaper.scss +69 -0
- package/src/templates/init/src/_q-press/css/themes/sunrise.scss +67 -0
- package/src/templates/init/src/_q-press/css/themes/tawny.scss +69 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownDrawerSidebar.vue +32 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownDrawerToc.vue +37 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownHeader.vue +412 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownHeaderIconLinks.vue +31 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownHeaderMenu.ts +93 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownHeaderTextLinks.vue +37 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownLayout.vue +239 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownPage.vue +307 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownPageFooter.vue +187 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownPageSidebar.scss +54 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownPageSidebar.ts +218 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownPageToc.vue +23 -0
- package/src/templates/init/src/_q-press/layouts/MarkdownSearch.vue +449 -0
- package/src/templates/init/src/_q-press/stores/markdown.ts +101 -0
- package/src/templates/init/src/components/LandingPage/LandingPage.vue +341 -0
- package/src/templates/init/src/components/Releases/PackageReleases.vue +164 -0
- package/src/templates/init/src/components/Releases/PublicReleases.vue +149 -0
- package/src/templates/init/src/components/Releases/ReleasesAvailable.vue +74 -0
- package/src/templates/init/src/examples/QAvatar/BasicExample.vue +11 -0
- package/src/templates/init/src/markdown/__elements.md +548 -0
- package/src/templates/init/src/markdown/__elements2.md +347 -0
- package/src/templates/init/src/markdown/faq/best-practices.md +0 -0
- package/src/templates/init/src/markdown/faq/general.md +0 -0
- package/src/templates/init/src/markdown/faq/troubleshooting.md +0 -0
- package/src/templates/init/src/markdown/getting-started/introduction.md +67 -0
- package/src/templates/init/src/markdown/guides/contributing.md +101 -0
- package/src/templates/init/src/markdown/guides/faq.md +115 -0
- package/src/templates/init/src/markdown/guides/release-notes.md +0 -0
- package/src/templates/init/src/markdown/guides/style-guide.md +0 -0
- package/src/templates/init/src/markdown/landing-page.md +11 -0
- package/src/templates/init/src/markdown/listing.ts +3 -0
- package/src/templates/init/src/markdown/md-plugins/blockquote/advanced.md +83 -0
- package/src/templates/init/src/markdown/md-plugins/blockquote/overview.md +183 -0
- package/src/templates/init/src/markdown/md-plugins/codeblocks/advanced.md +210 -0
- package/src/templates/init/src/markdown/md-plugins/codeblocks/overview.md +616 -0
- package/src/templates/init/src/markdown/md-plugins/containers/advanced.md +301 -0
- package/src/templates/init/src/markdown/md-plugins/containers/overview.md +206 -0
- package/src/templates/init/src/markdown/md-plugins/frontmatter/advanced.md +164 -0
- package/src/templates/init/src/markdown/md-plugins/frontmatter/overview.md +131 -0
- package/src/templates/init/src/markdown/md-plugins/headers/advanced.md +236 -0
- package/src/templates/init/src/markdown/md-plugins/headers/overview.md +134 -0
- package/src/templates/init/src/markdown/md-plugins/image/advanced.md +114 -0
- package/src/templates/init/src/markdown/md-plugins/image/overview.md +124 -0
- package/src/templates/init/src/markdown/md-plugins/imports/advanced.md +105 -0
- package/src/templates/init/src/markdown/md-plugins/imports/overview.md +80 -0
- package/src/templates/init/src/markdown/md-plugins/inline-code/advanced.md +133 -0
- package/src/templates/init/src/markdown/md-plugins/inline-code/overview.md +101 -0
- package/src/templates/init/src/markdown/md-plugins/link/advanced.md +157 -0
- package/src/templates/init/src/markdown/md-plugins/link/overview.md +126 -0
- package/src/templates/init/src/markdown/md-plugins/shared/overview.md +175 -0
- package/src/templates/init/src/markdown/md-plugins/table/advanced.md +190 -0
- package/src/templates/init/src/markdown/md-plugins/table/overview.md +186 -0
- package/src/templates/init/src/markdown/md-plugins/title/advanced.md +88 -0
- package/src/templates/init/src/markdown/md-plugins/title/overview.md +99 -0
- package/src/templates/init/src/markdown/other/release-notes.md +12 -0
- package/src/templates/init/src/markdown/privacy-policy.md +12 -0
- package/src/templates/init/src/markdown/quasar-app-extensions/qpress/advanced.md +101 -0
- package/src/templates/init/src/markdown/quasar-app-extensions/qpress/components.md +69 -0
- package/src/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +254 -0
- package/src/templates/init/src/markdown/quasar-app-extensions/qpress/themes.md +4 -0
- package/src/templates/init/src/markdown/quasar-app-extensions/vitemdpluginappext/advanced.md +4 -0
- package/src/templates/init/src/markdown/quasar-app-extensions/vitemdpluginappext/overview.md +103 -0
- package/src/templates/init/src/markdown/vite-plugins/index.md +6 -0
- package/src/templates/init/src/markdown/vite-plugins/viteexamplesplugin/advanced.md +138 -0
- package/src/templates/init/src/markdown/vite-plugins/viteexamplesplugin/overview.md +88 -0
- package/src/templates/init/src/markdown/vite-plugins/vitemdplugin/advanced.md +226 -0
- package/src/templates/init/src/markdown/vite-plugins/vitemdplugin/index.md +6 -0
- package/src/templates/init/src/markdown/vite-plugins/vitemdplugin/overview.md +166 -0
- package/src/templates/init/src/q-press.globals.d.ts +36 -0
- package/src/templates/init/src/siteConfig/index.ts +440 -0
- package/src/templates/update/src/_q-press/.gitkeep +0 -0
- package/src/templates/update/src/_q-press/api/components/DarkModeToggle.json +37 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownApi.json +67 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownApiEntry.json +76 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownCardLink.json +28 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownCardTitle.json +48 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownCode.json +37 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownCodePrism.json +29 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownCodepen.json +21 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownCopyButton.json +36 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownDrawerSidebar.json +17 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownDrawerToc.json +17 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownExample.json +22 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownHeader.json +28 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownHeaderIconLinks.json +16 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownHeaderMenu.json +77 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownHeaderTextLinks.json +33 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownInstallation.json +33 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownLayout.json +52 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownLink.json +23 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownPage.json +71 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownPageFooter.json +21 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownPageSidebar.json +56 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownPageToc.json +17 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownPrerender.json +25 -0
- package/src/templates/update/src/_q-press/api/components/MarkdownTree.json +27 -0
- package/src/templates/update/src/_q-press/api/composables/dark.json +29 -0
- package/src/templates/update/src/_q-press/api/composables/scroll.json +34 -0
- package/src/templates/update/src/_q-press/assets/get-meta.ts +29 -0
- package/src/templates/update/src/_q-press/components/DarkModeToggle.vue +105 -0
- package/src/templates/update/src/_q-press/components/MarkdownApi.vue +588 -0
- package/src/templates/update/src/_q-press/components/MarkdownApiEntry.ts +594 -0
- package/src/templates/update/src/_q-press/components/MarkdownCardLink.vue +25 -0
- package/src/templates/update/src/_q-press/components/MarkdownCardTitle.vue +21 -0
- package/src/templates/update/src/_q-press/components/MarkdownCode.vue +25 -0
- package/src/templates/update/src/_q-press/components/MarkdownCodePrism.ts +36 -0
- package/src/templates/update/src/_q-press/components/MarkdownCodepen.vue +183 -0
- package/src/templates/update/src/_q-press/components/MarkdownCopyButton.vue +104 -0
- package/src/templates/update/src/_q-press/components/MarkdownExample.vue +221 -0
- package/src/templates/update/src/_q-press/components/MarkdownInstallation.vue +166 -0
- package/src/templates/update/src/_q-press/components/MarkdownLink.vue +38 -0
- package/src/templates/update/src/_q-press/components/MarkdownPrerender.ts +82 -0
- package/src/templates/update/src/_q-press/components/MarkdownTree.vue +105 -0
- package/src/templates/update/src/_q-press/components/markdown-utils.ts +105 -0
- package/src/templates/update/src/_q-press/composables/dark.ts +39 -0
- package/src/templates/update/src/_q-press/composables/scroll.ts +115 -0
- package/src/templates/update/src/_q-press/css/app.scss +662 -0
- package/src/templates/update/src/_q-press/css/fonts.scss +100 -0
- package/src/templates/update/src/_q-press/css/prism-theme.scss +298 -0
- package/src/templates/update/src/_q-press/css/themes/default.scss +68 -0
- package/src/templates/update/src/_q-press/css/themes/newspaper.scss +69 -0
- package/src/templates/update/src/_q-press/css/themes/sunrise.scss +67 -0
- package/src/templates/update/src/_q-press/css/themes/tawny.scss +69 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownDrawerSidebar.vue +32 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownDrawerToc.vue +37 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownHeader.vue +412 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownHeaderIconLinks.vue +31 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownHeaderMenu.ts +93 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownHeaderTextLinks.vue +37 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownLayout.vue +239 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownPage.vue +307 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownPageFooter.vue +187 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownPageSidebar.scss +54 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownPageSidebar.ts +218 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownPageToc.vue +23 -0
- package/src/templates/update/src/_q-press/layouts/MarkdownSearch.vue +449 -0
- package/src/templates/update/src/_q-press/stores/markdown.ts +101 -0
- package/src/templates/update/src/q-press.globals.d.ts +36 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-api"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"nameBanner": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "Title to display in the banner",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'API Documentation'",
|
|
12
|
+
"'Component API'"
|
|
13
|
+
],
|
|
14
|
+
"category": "content"
|
|
15
|
+
},
|
|
16
|
+
"pageLink": {
|
|
17
|
+
"type": "String",
|
|
18
|
+
"desc": "URL for the page link",
|
|
19
|
+
"examples": [
|
|
20
|
+
"'https://github.com/user/repo/edit/main/docs/page.md'"
|
|
21
|
+
],
|
|
22
|
+
"category": "navigation"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"events": {
|
|
26
|
+
"searchFieldClick": {
|
|
27
|
+
"desc": "Emitted when the search field is clicked",
|
|
28
|
+
"params": {
|
|
29
|
+
"evt": {
|
|
30
|
+
"type": "Event",
|
|
31
|
+
"desc": "JS event object"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"filterClick": {
|
|
36
|
+
"desc": "Emitted when the filter button is clicked",
|
|
37
|
+
"params": {
|
|
38
|
+
"evt": {
|
|
39
|
+
"type": "Event",
|
|
40
|
+
"desc": "JS event object"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"methods": {
|
|
46
|
+
"onSearchFieldClick": {
|
|
47
|
+
"desc": "Handler for the search field click event",
|
|
48
|
+
"params": {
|
|
49
|
+
"evt": {
|
|
50
|
+
"type": "Event",
|
|
51
|
+
"desc": "JS event object"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"returns": null
|
|
55
|
+
},
|
|
56
|
+
"onFilterClick": {
|
|
57
|
+
"desc": "Handler for the filter button click event",
|
|
58
|
+
"params": {
|
|
59
|
+
"evt": {
|
|
60
|
+
"type": "Event",
|
|
61
|
+
"desc": "JS event object"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"returns": null
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-api-entry"
|
|
5
|
+
},
|
|
6
|
+
"functions": {
|
|
7
|
+
"getProp": {
|
|
8
|
+
"desc": "Function to get a property node for the API entry.",
|
|
9
|
+
"params": {
|
|
10
|
+
"openState": {
|
|
11
|
+
"type": "Object",
|
|
12
|
+
"desc": "The state object to manage open/close state of nodes."
|
|
13
|
+
},
|
|
14
|
+
"masterKey": {
|
|
15
|
+
"type": "String",
|
|
16
|
+
"desc": "The master key for the API entry."
|
|
17
|
+
},
|
|
18
|
+
"prop": {
|
|
19
|
+
"type": "Object",
|
|
20
|
+
"desc": "The property object to generate the node for."
|
|
21
|
+
},
|
|
22
|
+
"paramName": {
|
|
23
|
+
"type": "String",
|
|
24
|
+
"desc": "The name of the parameter."
|
|
25
|
+
},
|
|
26
|
+
"level": {
|
|
27
|
+
"type": "Number",
|
|
28
|
+
"desc": "The level of the property in the hierarchy."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"returns": {
|
|
32
|
+
"type": "Array<VNode>",
|
|
33
|
+
"desc": "An array of VNode elements representing the property."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"getDiv": {
|
|
37
|
+
"desc": "Function to create a div element for the API entry.",
|
|
38
|
+
"params": {
|
|
39
|
+
"cols": {
|
|
40
|
+
"type": "Number",
|
|
41
|
+
"desc": "The number of columns the div should span."
|
|
42
|
+
},
|
|
43
|
+
"label": {
|
|
44
|
+
"type": "String",
|
|
45
|
+
"desc": "The label for the div."
|
|
46
|
+
},
|
|
47
|
+
"key": {
|
|
48
|
+
"type": "String",
|
|
49
|
+
"desc": "The key for the div."
|
|
50
|
+
},
|
|
51
|
+
"children": {
|
|
52
|
+
"type": "Array<VNode>",
|
|
53
|
+
"desc": "The child nodes for the div."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"returns": {
|
|
57
|
+
"type": "VNode",
|
|
58
|
+
"desc": "A VNode element representing the div."
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"getStringType": {
|
|
62
|
+
"desc": "Function to get the string representation of a type.",
|
|
63
|
+
"params": {
|
|
64
|
+
"type": {
|
|
65
|
+
"type": "Object",
|
|
66
|
+
"desc": "The type object to get the string representation for."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"returns": {
|
|
70
|
+
"type": "String",
|
|
71
|
+
"desc": "The string representation of the type."
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"types": {}
|
|
76
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-card-link"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"to": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "The target URL or path for the link",
|
|
10
|
+
"examples": [
|
|
11
|
+
"/home",
|
|
12
|
+
"https://example.com"
|
|
13
|
+
],
|
|
14
|
+
"required": true,
|
|
15
|
+
"category": "navigation"
|
|
16
|
+
},
|
|
17
|
+
"external": {
|
|
18
|
+
"type": "Boolean",
|
|
19
|
+
"desc": "Flag to indicate if the link is external",
|
|
20
|
+
"category": "navigation"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"slots": {
|
|
24
|
+
"default": {
|
|
25
|
+
"desc": "Slot for custom content inside the link"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-card-title"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "The title text to display",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'Introduction'",
|
|
12
|
+
"'Chapter 1'"
|
|
13
|
+
],
|
|
14
|
+
"category": "content"
|
|
15
|
+
},
|
|
16
|
+
"prefix": {
|
|
17
|
+
"type": "String",
|
|
18
|
+
"desc": "Prefix to add to the slugified title",
|
|
19
|
+
"examples": [
|
|
20
|
+
"'section-'"
|
|
21
|
+
],
|
|
22
|
+
"category": "content"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"events": {
|
|
26
|
+
"click": {
|
|
27
|
+
"desc": "Emitted when the title is clicked",
|
|
28
|
+
"params": {
|
|
29
|
+
"evt": {
|
|
30
|
+
"type": "Event",
|
|
31
|
+
"desc": "JS event object"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"methods": {
|
|
37
|
+
"onClick": {
|
|
38
|
+
"desc": "Handler for the click event on the title",
|
|
39
|
+
"params": {
|
|
40
|
+
"evt": {
|
|
41
|
+
"type": "Event",
|
|
42
|
+
"desc": "JS event object"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"returns": null
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-code"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"code": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "The code to display",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'const a = 1;'",
|
|
12
|
+
"'<div>Hello World</div>'"
|
|
13
|
+
],
|
|
14
|
+
"category": "content"
|
|
15
|
+
},
|
|
16
|
+
"maxHeight": {
|
|
17
|
+
"type": "String",
|
|
18
|
+
"desc": "Maximum height for the code block",
|
|
19
|
+
"examples": [
|
|
20
|
+
"'200px'",
|
|
21
|
+
"'50vh'"
|
|
22
|
+
],
|
|
23
|
+
"category": "style"
|
|
24
|
+
},
|
|
25
|
+
"lang": {
|
|
26
|
+
"type": "String",
|
|
27
|
+
"desc": "Language of the code for syntax highlighting",
|
|
28
|
+
"default": "js",
|
|
29
|
+
"examples": [
|
|
30
|
+
"'js'",
|
|
31
|
+
"'html'",
|
|
32
|
+
"'css'"
|
|
33
|
+
],
|
|
34
|
+
"category": "content"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-code-prism"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"code": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "The code to display with syntax highlighting",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'const a = 1;'",
|
|
12
|
+
"'<div>Hello World</div>'"
|
|
13
|
+
],
|
|
14
|
+
"required": true,
|
|
15
|
+
"category": "content"
|
|
16
|
+
},
|
|
17
|
+
"lang": {
|
|
18
|
+
"type": "String",
|
|
19
|
+
"desc": "Language of the code for syntax highlighting",
|
|
20
|
+
"examples": [
|
|
21
|
+
"'js'",
|
|
22
|
+
"'html'",
|
|
23
|
+
"'css'"
|
|
24
|
+
],
|
|
25
|
+
"required": true,
|
|
26
|
+
"category": "content"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-codepen"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"active": {
|
|
8
|
+
"type": "Boolean",
|
|
9
|
+
"desc": "Flag to indicate if the form should be active",
|
|
10
|
+
"category": "state"
|
|
11
|
+
},
|
|
12
|
+
"options": {
|
|
13
|
+
"type": "String",
|
|
14
|
+
"desc": "JSON string containing the CodePen options",
|
|
15
|
+
"examples": [
|
|
16
|
+
"'{\"title\":\"My Pen\",\"html\":\"<div>Hello World</div>\"}'"
|
|
17
|
+
],
|
|
18
|
+
"category": "content"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-copy-button"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"lang": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "Language of the code block to copy",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'js'",
|
|
12
|
+
"'html'",
|
|
13
|
+
"'css'"
|
|
14
|
+
],
|
|
15
|
+
"category": "content"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"events": {
|
|
19
|
+
"copy": {
|
|
20
|
+
"desc": "Emitted when the copy button is clicked",
|
|
21
|
+
"params": {
|
|
22
|
+
"evt": {
|
|
23
|
+
"type": "Event",
|
|
24
|
+
"desc": "JS event object"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"methods": {
|
|
30
|
+
"copy": {
|
|
31
|
+
"desc": "Method to copy the code block to the clipboard",
|
|
32
|
+
"params": {},
|
|
33
|
+
"returns": null
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-drawer-toc"
|
|
5
|
+
},
|
|
6
|
+
"events": {
|
|
7
|
+
"toggleTocDrawer": {
|
|
8
|
+
"desc": "Emitted when the close button is clicked to toggle the Table of Contents drawer",
|
|
9
|
+
"params": {
|
|
10
|
+
"evt": {
|
|
11
|
+
"type": "Event",
|
|
12
|
+
"desc": "JS event object"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-drawer-toc"
|
|
5
|
+
},
|
|
6
|
+
"events": {
|
|
7
|
+
"toggleTocDrawer": {
|
|
8
|
+
"desc": "Emitted when the close button is clicked to toggle the Table of Contents drawer",
|
|
9
|
+
"params": {
|
|
10
|
+
"evt": {
|
|
11
|
+
"type": "Event",
|
|
12
|
+
"desc": "JS event object"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-example"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "Title of the example",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'Example 1'",
|
|
12
|
+
"'Sample Code'"
|
|
13
|
+
],
|
|
14
|
+
"category": "content"
|
|
15
|
+
},
|
|
16
|
+
"noGithub": {
|
|
17
|
+
"type": "Boolean",
|
|
18
|
+
"desc": "Flag to indicate if the GitHub button should be hidden",
|
|
19
|
+
"category": "behavior"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-header"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"heightHint": {
|
|
8
|
+
"type": "Number",
|
|
9
|
+
"desc": "Height hint for the header",
|
|
10
|
+
"examples": [
|
|
11
|
+
128,
|
|
12
|
+
64
|
|
13
|
+
],
|
|
14
|
+
"category": "style"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"events": {
|
|
18
|
+
"toggleMenuDrawer": {
|
|
19
|
+
"desc": "Emitted when the menu button is clicked to toggle the menu drawer",
|
|
20
|
+
"params": {
|
|
21
|
+
"evt": {
|
|
22
|
+
"type": "Event",
|
|
23
|
+
"desc": "JS event object"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-header-icon-links"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"menu": {
|
|
8
|
+
"type": "Array",
|
|
9
|
+
"desc": "Array of menu entries to display as icon links in the header",
|
|
10
|
+
"examples": [
|
|
11
|
+
"[{ icon: 'home', path: '/' }, { icon: 'info', path: '/about' }]"
|
|
12
|
+
],
|
|
13
|
+
"category": "content"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-header-menu"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"elements": {
|
|
8
|
+
"type": "Array",
|
|
9
|
+
"desc": "Array of menu elements to display in the header menu",
|
|
10
|
+
"examples": [
|
|
11
|
+
"[{ name: 'Home', path: '/' }, { name: 'Docs', path: '/docs' }]"
|
|
12
|
+
],
|
|
13
|
+
"category": "content"
|
|
14
|
+
},
|
|
15
|
+
"mqPrefix": {
|
|
16
|
+
"type": "String",
|
|
17
|
+
"desc": "Prefix for media query classes",
|
|
18
|
+
"examples": [
|
|
19
|
+
"'md'",
|
|
20
|
+
"'lg'"
|
|
21
|
+
],
|
|
22
|
+
"category": "style"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"types": {
|
|
26
|
+
"MenuElement": {
|
|
27
|
+
"desc": "Interface representing a menu element.",
|
|
28
|
+
"properties": {
|
|
29
|
+
"header": {
|
|
30
|
+
"type": "String",
|
|
31
|
+
"desc": "Header text for the menu element."
|
|
32
|
+
},
|
|
33
|
+
"separator": {
|
|
34
|
+
"type": "Boolean",
|
|
35
|
+
"desc": "Flag to indicate if the element is a separator."
|
|
36
|
+
},
|
|
37
|
+
"path": {
|
|
38
|
+
"type": "String",
|
|
39
|
+
"desc": "Path for the menu element."
|
|
40
|
+
},
|
|
41
|
+
"external": {
|
|
42
|
+
"type": "Boolean",
|
|
43
|
+
"desc": "Flag to indicate if the path is external."
|
|
44
|
+
},
|
|
45
|
+
"icon": {
|
|
46
|
+
"type": "String",
|
|
47
|
+
"desc": "Icon name for the menu element."
|
|
48
|
+
},
|
|
49
|
+
"name": {
|
|
50
|
+
"type": "String",
|
|
51
|
+
"desc": "Name of the menu element."
|
|
52
|
+
},
|
|
53
|
+
"mq": {
|
|
54
|
+
"type": "String",
|
|
55
|
+
"desc": "Media query for the menu element."
|
|
56
|
+
},
|
|
57
|
+
"children": {
|
|
58
|
+
"type": "Array<MenuElement>",
|
|
59
|
+
"desc": "Array of child menu elements."
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"Props": {
|
|
64
|
+
"desc": "Interface representing the props for the component.",
|
|
65
|
+
"properties": {
|
|
66
|
+
"elements": {
|
|
67
|
+
"type": "Array<MenuElement>",
|
|
68
|
+
"desc": "Array of menu elements to display in the header menu."
|
|
69
|
+
},
|
|
70
|
+
"mqPrefix": {
|
|
71
|
+
"type": "String",
|
|
72
|
+
"desc": "Prefix for media query classes."
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-header-text-links"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"menu": {
|
|
8
|
+
"type": "Array",
|
|
9
|
+
"desc": "Array of menu items to display in the header",
|
|
10
|
+
"examples": [
|
|
11
|
+
"[{ name: 'Home', path: '/' }, { name: 'Docs', path: '/docs' }]"
|
|
12
|
+
],
|
|
13
|
+
"category": "content"
|
|
14
|
+
},
|
|
15
|
+
"mqPrefix": {
|
|
16
|
+
"type": "String",
|
|
17
|
+
"desc": "Prefix for media query classes",
|
|
18
|
+
"examples": [
|
|
19
|
+
"'md'",
|
|
20
|
+
"'lg'"
|
|
21
|
+
],
|
|
22
|
+
"category": "style"
|
|
23
|
+
},
|
|
24
|
+
"navClass": {
|
|
25
|
+
"type": "String",
|
|
26
|
+
"desc": "Additional CSS class to apply to navigation items",
|
|
27
|
+
"examples": [
|
|
28
|
+
"'custom-nav-class'"
|
|
29
|
+
],
|
|
30
|
+
"category": "style"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-installation"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "Title of the installation section",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'Installation'",
|
|
12
|
+
"'Setup Guide'"
|
|
13
|
+
],
|
|
14
|
+
"category": "content"
|
|
15
|
+
},
|
|
16
|
+
"id": {
|
|
17
|
+
"type": "String",
|
|
18
|
+
"desc": "ID for the installation card",
|
|
19
|
+
"examples": [
|
|
20
|
+
"'installation-section'"
|
|
21
|
+
],
|
|
22
|
+
"category": "content"
|
|
23
|
+
},
|
|
24
|
+
"tabList": {
|
|
25
|
+
"type": "Array",
|
|
26
|
+
"desc": "List of tabs to display",
|
|
27
|
+
"examples": [
|
|
28
|
+
"['npm', 'yarn', 'pnpm']"
|
|
29
|
+
],
|
|
30
|
+
"category": "content"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-layout"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"pageClass": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "CSS class to apply to the q-page component",
|
|
10
|
+
"examples": [
|
|
11
|
+
"'custom-page-class'"
|
|
12
|
+
],
|
|
13
|
+
"category": "style"
|
|
14
|
+
},
|
|
15
|
+
"pageContentClass": {
|
|
16
|
+
"type": "String",
|
|
17
|
+
"desc": "CSS class to apply to the page content container",
|
|
18
|
+
"examples": [
|
|
19
|
+
"'custom-page-content-class'"
|
|
20
|
+
],
|
|
21
|
+
"category": "style"
|
|
22
|
+
},
|
|
23
|
+
"isFullscreen": {
|
|
24
|
+
"type": "Boolean",
|
|
25
|
+
"desc": "Flag to indicate if the page is in fullscreen mode",
|
|
26
|
+
"category": "state"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"events": {
|
|
30
|
+
"scroll": {
|
|
31
|
+
"desc": "Emitted when the page is scrolled",
|
|
32
|
+
"params": {
|
|
33
|
+
"evt": {
|
|
34
|
+
"type": "Event",
|
|
35
|
+
"desc": "JS event object"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"methods": {
|
|
41
|
+
"onPageScroll": {
|
|
42
|
+
"desc": "Handler for the page scroll event",
|
|
43
|
+
"params": {
|
|
44
|
+
"evt": {
|
|
45
|
+
"type": "Event",
|
|
46
|
+
"desc": "JS event object"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"returns": null
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "component",
|
|
3
|
+
"meta": {
|
|
4
|
+
"docsUrl": "https://path-to-your-docs/markdown-link"
|
|
5
|
+
},
|
|
6
|
+
"props": {
|
|
7
|
+
"to": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"desc": "The target URL or path for the link",
|
|
10
|
+
"examples": [
|
|
11
|
+
"/home",
|
|
12
|
+
"https://example.com"
|
|
13
|
+
],
|
|
14
|
+
"required": true,
|
|
15
|
+
"category": "navigation"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"slots": {
|
|
19
|
+
"default": {
|
|
20
|
+
"desc": "Slot for custom content inside the link"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|