@stainless-api/docs-ui 0.1.0-beta.36 → 0.1.0-beta.38
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/dist/{breadcrumbs-dtzB0F5w.d.ts → breadcrumbs-CZg0Fk4V.d.ts} +2 -2
- package/dist/chunk-Bf_Gc_jT.js +18 -0
- package/dist/{component-generics-BDiaS39j.d.ts → component-generics-DUS50XL9.d.ts} +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +5 -5
- package/dist/components/icons.d.ts +10 -10
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +5 -5
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +5 -5
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +5 -5
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +5 -5
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +5 -5
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +5 -5
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +5 -5
- package/dist/components/snippets.d.ts +3 -3
- package/dist/components/snippets.js +5 -5
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -14
- package/dist/contexts/component.js +5 -5
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +18 -18
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +1 -1
- package/dist/contexts/navigation.d.ts +2 -2
- package/dist/contexts/search.d.ts +3 -3
- package/dist/contexts/search.js +5 -5
- package/dist/contexts/use-components.d.ts +10 -10
- package/dist/{contexts-BsscycD4.js → contexts-B-OYzYpz.js} +6 -6
- package/dist/{docs-M2vPMlOU.d.ts → docs-B9fkO7Mn.d.ts} +3 -3
- package/dist/{index-yemeeTKf.d.ts → index-B_jjXoVQ.d.ts} +6 -6
- package/dist/{index-QAn9oMm0.d.ts → index-CGDCia6s.d.ts} +26 -26
- package/dist/{index-rJGGwEE1.d.ts → index-DpCTx708.d.ts} +8 -8
- package/dist/index.d.ts +19 -19
- package/dist/index.js +5 -5
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +5 -5
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +5 -5
- package/dist/languages/index.d.ts +11 -11
- package/dist/languages/index.js +5 -5
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +5 -5
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +5 -5
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +5 -5
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +5 -5
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +5 -5
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/{markdown-DqmOO2yJ.d.ts → markdown-Dg4RmrDu.d.ts} +3 -3
- package/dist/{markdown-CI4kbU64.js → markdown-Diyg-eof.js} +5 -1
- package/dist/{method-CZzWOx_C.d.ts → method-DLeTa-A9.d.ts} +7 -7
- package/dist/{navigation-Cup7hBYA.d.ts → navigation-BY52fAW7.d.ts} +3 -3
- package/dist/{overview-DQbnFeID.d.ts → overview-h2O6tWc_.d.ts} +6 -6
- package/dist/{primitives-CLZY-K6r.d.ts → primitives-CpRm6eGm.d.ts} +9 -9
- package/dist/{properties-BbVUdVi5.d.ts → properties-CNjEj_vU.d.ts} +4 -4
- package/dist/{routing-DNN8R6bZ.d.ts → routing-CHvzedJA.d.ts} +1 -1
- package/dist/{routing-8itEXLx6.js → routing-qs2YNG9o.js} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{sdk-CrXkrSx-.d.ts → sdk-E3vq42RG.d.ts} +1 -1
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +5 -5
- package/dist/search/providers/algolia.d.ts +2 -2
- package/dist/search/providers/algolia.js +5 -5
- package/dist/search/providers/fuse.d.ts +2 -2
- package/dist/search/providers/fuse.js +5 -5
- package/dist/search/providers/pagefind.d.ts +2 -2
- package/dist/search/providers/walker.d.ts +2 -2
- package/dist/search/providers/walker.js +5 -5
- package/dist/search/types.d.ts +2 -2
- package/dist/{search-CuNBTBix.d.ts → search-CsvAdkNI.d.ts} +3 -3
- package/dist/{sidebar-eox2y7Tm.d.ts → sidebar-BQzTXTuq.d.ts} +5 -5
- package/dist/{snippets-De1PSCNy.d.ts → snippets-sEbo8iV-.d.ts} +7 -7
- package/dist/spec.d.ts +3 -3
- package/dist/spec.js +2 -2
- package/dist/{style-CuGfVeTo.js → style-BhhgPVF6.js} +0 -2
- package/dist/{style-Dku3IzwI.d.ts → style-p4qTfnmO.d.ts} +0 -2
- package/dist/style.d.ts +1 -1
- package/dist/style.js +1 -1
- package/dist/styles/main.css +158 -221
- package/dist/styles/primitives.css +36 -36
- package/dist/styles/resets.css +2 -2
- package/dist/styles/search.css +24 -24
- package/dist/styles/sidebar.css +6 -6
- package/dist/styles/variables.css +15 -76
- package/dist/styles.css +1753 -0
- package/dist/styles.mjs +1 -0
- package/dist/{types-DNSz4kuM.d.ts → types-fEIVKcbt.d.ts} +1 -1
- package/dist/{utils-2FmcHPHp.js → utils-FnJ4tyuN.js} +2 -2
- package/dist/{utils-BwsGzMOo.d.ts → utils-kJZFreWP.d.ts} +2 -2
- package/dist/utils.js +2 -2
- package/package.json +8 -5
- package/dist/chunk-DsStOjWQ.js +0 -13
- package/dist/styles/snippets.css +0 -131
- package/dist/styles/snippets.js +0 -0
package/dist/styles.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
2
|
-
import { f as parseStainlessPath } from "./routing-
|
|
1
|
+
import { t as __export } from "./chunk-Bf_Gc_jT.js";
|
|
2
|
+
import { f as parseStainlessPath } from "./routing-qs2YNG9o.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils.ts
|
|
5
5
|
var utils_exports = /* @__PURE__ */ __export({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
2
|
-
import { C as TransformRequestSnippetFn } from "./sdk-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-CHvzedJA.js";
|
|
2
|
+
import { C as TransformRequestSnippetFn } from "./sdk-E3vq42RG.js";
|
|
3
3
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/utils.d.ts
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./routing-
|
|
2
|
-
import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-
|
|
1
|
+
import "./routing-qs2YNG9o.js";
|
|
2
|
+
import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-FnJ4tyuN.js";
|
|
3
3
|
|
|
4
4
|
export { flatResources, getResourceFromSpec, isResourceEmpty };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.38",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"fuse.js": "^7.1.0",
|
|
21
21
|
"htmlparser2": "^10.0.0",
|
|
22
22
|
"lucide-react": "^0.554.0",
|
|
23
|
-
"@stainless-api/ui-primitives": "0.1.0-beta.
|
|
23
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.27"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "24.10.1",
|
|
27
|
-
"@types/react": "^19.2.
|
|
27
|
+
"@types/react": "^19.2.7",
|
|
28
28
|
"@types/react-dom": "^19.2.3",
|
|
29
29
|
"dotenv": "17.2.3",
|
|
30
30
|
"react": "^19.2.0",
|
|
31
31
|
"react-dom": "^19.2.0",
|
|
32
|
-
"tsdown": "^0.16.
|
|
33
|
-
"tsx": "^4.20.
|
|
32
|
+
"tsdown": "^0.16.6",
|
|
33
|
+
"tsx": "^4.20.6",
|
|
34
34
|
"typescript": "5.9.3",
|
|
35
35
|
"@stainless/eslint-config": "0.1.0-beta.0",
|
|
36
36
|
"@stainless/sdk-json": "^0.1.0-beta.0"
|
|
@@ -72,6 +72,9 @@
|
|
|
72
72
|
"./styles/*": {
|
|
73
73
|
"default": "./dist/styles/*"
|
|
74
74
|
},
|
|
75
|
+
"./styles.css": {
|
|
76
|
+
"default": "./dist/styles.css"
|
|
77
|
+
},
|
|
75
78
|
"./markdown": {
|
|
76
79
|
"default": "./dist/markdown/index.js"
|
|
77
80
|
},
|
package/dist/chunk-DsStOjWQ.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (all) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) __defProp(target, name, {
|
|
6
|
-
get: all[name],
|
|
7
|
-
enumerable: true
|
|
8
|
-
});
|
|
9
|
-
return target;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __export as t };
|
package/dist/styles/snippets.css
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
.stldocs-root {
|
|
2
|
-
.snippet {
|
|
3
|
-
color: #d8d8d8;
|
|
4
|
-
--orange: 24 76% 51%;
|
|
5
|
-
--teal: 208 100% 66%;
|
|
6
|
-
--magenta: 324 54% 48.6%;
|
|
7
|
-
--purple: 274 41% 47%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.hljs-comment,
|
|
11
|
-
.hljs-quote {
|
|
12
|
-
color: #adadad;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.hljs-doctag,
|
|
16
|
-
.hljs-keyword,
|
|
17
|
-
.hljs-formula {
|
|
18
|
-
color: #fb8f44;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.hljs-section,
|
|
22
|
-
.hljs-name,
|
|
23
|
-
.hljs-selector-tag,
|
|
24
|
-
.hljs-deletion,
|
|
25
|
-
.hljs-subst {
|
|
26
|
-
color: #f7585c;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.hjs-literal,
|
|
30
|
-
.hljs-string,
|
|
31
|
-
.hljs-regexp,
|
|
32
|
-
.hljs-addition,
|
|
33
|
-
.hljs-attribute,
|
|
34
|
-
.hljs-meta .hljs-string {
|
|
35
|
-
color: #54aeff;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.hljs-attr,
|
|
39
|
-
.hljs-variable,
|
|
40
|
-
.hljs-template-variable,
|
|
41
|
-
.hljs-type,
|
|
42
|
-
.hljs-selector-class,
|
|
43
|
-
.hljs-selector-attr,
|
|
44
|
-
.hljs-selector-pseudo,
|
|
45
|
-
.hljs-number {
|
|
46
|
-
color: #4ac26b;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.hljs-symbol,
|
|
50
|
-
.hljs-bullet,
|
|
51
|
-
.hljs-link,
|
|
52
|
-
.hljs-meta,
|
|
53
|
-
.hljs-selector-id,
|
|
54
|
-
.hljs-title,
|
|
55
|
-
.hljs-built_in,
|
|
56
|
-
.hljs-title.class_,
|
|
57
|
-
.hljs-class .hljs-title {
|
|
58
|
-
color: #b68eff;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.hljs-emphasis {
|
|
62
|
-
font-style: italic;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.hljs-strong {
|
|
66
|
-
font-weight: bold;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.hljs-link {
|
|
70
|
-
text-decoration: underline;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.snippet-json {
|
|
74
|
-
color: #a5a5ac;
|
|
75
|
-
|
|
76
|
-
.hljs-comment,
|
|
77
|
-
.hljs-quote {
|
|
78
|
-
color: #adadad;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.hljs-doctag,
|
|
82
|
-
.hljs-keyword,
|
|
83
|
-
.hljs-formula,
|
|
84
|
-
.hljs-number {
|
|
85
|
-
color: var(--stldocs-syntax-color-orange);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.hljs-section,
|
|
89
|
-
.hljs-name,
|
|
90
|
-
.hljs-selector-tag,
|
|
91
|
-
.hljs-deletion,
|
|
92
|
-
.hljs-subst {
|
|
93
|
-
color: var(--stldocs-syntax-color-red);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.hjs-literal,
|
|
97
|
-
.hljs-string,
|
|
98
|
-
.hljs-regexp,
|
|
99
|
-
.hljs-addition,
|
|
100
|
-
.hljs-attribute,
|
|
101
|
-
.hljs-meta .hljs-string {
|
|
102
|
-
color: var(--stldocs-syntax-color-green);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.hljs-attr,
|
|
106
|
-
.hljs-variable,
|
|
107
|
-
.hljs-template-variable,
|
|
108
|
-
.hljs-type,
|
|
109
|
-
.hljs-selector-class,
|
|
110
|
-
.hljs-selector-attr,
|
|
111
|
-
.hljs-selector-pseudo {
|
|
112
|
-
color: var(--stldocs-color-text);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.hljs-symbol,
|
|
116
|
-
.hljs-bullet,
|
|
117
|
-
.hljs-link,
|
|
118
|
-
.hljs-meta,
|
|
119
|
-
.hljs-selector-id,
|
|
120
|
-
.hljs-title {
|
|
121
|
-
color: var(--stldocs-syntax-color-purple);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.hljs-built_in,
|
|
125
|
-
.hljs-title.class_,
|
|
126
|
-
.hljs-class .hljs-title {
|
|
127
|
-
color: var(--stldocs-syntax-color-blue);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
package/dist/styles/snippets.js
DELETED
|
File without changes
|