@openpkg-ts/doc-generator 0.1.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 +324 -0
- package/dist/cli.js +389 -0
- package/dist/index.d.ts +827 -0
- package/dist/index.js +79 -0
- package/dist/react-styled.d.ts +588 -0
- package/dist/react-styled.js +766 -0
- package/dist/react.d.ts +221 -0
- package/dist/react.js +35 -0
- package/dist/shared/chunk-7hg53zpt.js +1160 -0
- package/dist/shared/chunk-e5fkh3kh.js +679 -0
- package/dist/shared/chunk-taeg9090.js +171 -0
- package/package.json +84 -0
- package/templates/embedded/README.md +81 -0
- package/templates/embedded/docusaurus/sidebars.js +38 -0
- package/templates/embedded/fumadocs/meta.json +26 -0
- package/templates/standalone/index.html +34 -0
- package/templates/standalone/package.json +17 -0
- package/templates/standalone/src/main.ts +223 -0
- package/templates/standalone/src/styles.css +43 -0
- package/templates/standalone/vite.config.ts +9 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
/* Custom styles for API docs */
|
|
4
|
+
.export-card {
|
|
5
|
+
@apply border border-zinc-200 dark:border-zinc-700 rounded-lg p-6 mb-6;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.signature {
|
|
9
|
+
@apply font-mono text-sm bg-zinc-100 dark:bg-zinc-800 p-4 rounded-lg overflow-x-auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.param-table {
|
|
13
|
+
@apply w-full text-sm;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.param-table th {
|
|
17
|
+
@apply text-left py-2 px-3 bg-zinc-50 dark:bg-zinc-800 font-medium;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.param-table td {
|
|
21
|
+
@apply py-2 px-3 border-t border-zinc-100 dark:border-zinc-800;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kind-section {
|
|
25
|
+
@apply mb-12;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
code:not(pre code) {
|
|
29
|
+
@apply bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded text-sm font-mono;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
pre {
|
|
33
|
+
@apply bg-zinc-100 dark:bg-zinc-800 p-4 rounded-lg overflow-x-auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Pagefind styles */
|
|
37
|
+
.pagefind-ui__search-input {
|
|
38
|
+
@apply w-full px-4 py-2 rounded-lg border border-zinc-200 dark:border-zinc-700;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pagefind-ui__result {
|
|
42
|
+
@apply border-b border-zinc-100 dark:border-zinc-800 py-4;
|
|
43
|
+
}
|