@typespec/playground 0.5.0-dev.2 → 0.5.0-dev.3
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/react/index.js
CHANGED
|
@@ -67,10 +67,10 @@ function useMonacoModel(uri, language) {
|
|
|
67
67
|
}, [uri, language]);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
const footer = "
|
|
70
|
+
const footer = "_footer_e6dic_1";
|
|
71
71
|
const style$i = {
|
|
72
72
|
footer: footer,
|
|
73
|
-
"footer-item": "_footer-
|
|
73
|
+
"footer-item": "_footer-item_e6dic_9"
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
const FooterItem = ({ children, link, className }) => {
|
|
@@ -38698,9 +38698,9 @@ function absolutePathStatus(path) {
|
|
|
38698
38698
|
if (path.startsWith(".") || !isPathAbsolute(path)) {
|
|
38699
38699
|
return "not-absolute";
|
|
38700
38700
|
}
|
|
38701
|
-
if (path.includes("\\")) {
|
|
38702
|
-
|
|
38703
|
-
}
|
|
38701
|
+
// if (path.includes("\\")) {
|
|
38702
|
+
// return "windows-style";
|
|
38703
|
+
// }
|
|
38704
38704
|
return "valid";
|
|
38705
38705
|
}
|
|
38706
38706
|
function createJSONSchemaValidator(schema, options = { strict: true }) {
|
|
@@ -38731,21 +38731,11 @@ function ajvErrorToDiagnostic(obj, error, target) {
|
|
|
38731
38731
|
const tspTarget = resolveTarget(error, target);
|
|
38732
38732
|
if (error.params.format === "absolute-path") {
|
|
38733
38733
|
const value = getErrorValue(obj, error);
|
|
38734
|
-
|
|
38735
|
-
|
|
38736
|
-
|
|
38737
|
-
|
|
38738
|
-
|
|
38739
|
-
target: tspTarget,
|
|
38740
|
-
});
|
|
38741
|
-
}
|
|
38742
|
-
else {
|
|
38743
|
-
return createDiagnostic({
|
|
38744
|
-
code: "config-path-absolute",
|
|
38745
|
-
format: { path: value },
|
|
38746
|
-
target: tspTarget,
|
|
38747
|
-
});
|
|
38748
|
-
}
|
|
38734
|
+
return createDiagnostic({
|
|
38735
|
+
code: "config-path-absolute",
|
|
38736
|
+
format: { path: value },
|
|
38737
|
+
target: tspTarget,
|
|
38738
|
+
});
|
|
38749
38739
|
}
|
|
38750
38740
|
const messageLines = [`Schema violation: ${error.message} (${error.instancePath || "/"})`];
|
|
38751
38741
|
for (const [name, value] of Object.entries(error.params).filter(([name]) => !IGNORED_AJV_PARAMS.has(name))) {
|
|
@@ -38817,7 +38807,7 @@ let manifest;
|
|
|
38817
38807
|
try {
|
|
38818
38808
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
38819
38809
|
// @ts-ignore
|
|
38820
|
-
manifest = (await import('../manifest-
|
|
38810
|
+
manifest = (await import('../manifest-fUEUc7Kt-fUEUc7Kt.js')).default;
|
|
38821
38811
|
}
|
|
38822
38812
|
catch {
|
|
38823
38813
|
const name = "../dist/manifest.js";
|
package/dist/style.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
.
|
|
1
|
+
._footer_e6dic_1 {
|
|
2
2
|
grid-area: footer;
|
|
3
3
|
display: flex;
|
|
4
4
|
font-size: 14px;
|
|
5
5
|
|
|
6
|
-
background-color: #
|
|
6
|
+
background-color: #0073c1;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
._footer-
|
|
9
|
+
._footer-item_e6dic_9 {
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
color: #fefefe;
|
|
12
12
|
border-right: 1px solid #d5d5d5;
|
|
13
13
|
padding: 0 5px;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
._footer-
|
|
16
|
+
._footer-item_e6dic_9:hover {
|
|
17
17
|
background-color: #063a5c;
|
|
18
18
|
}
|
|
19
19
|
._version-item_1c15n_1 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/playground",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.3",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec playground UI components.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"@fluentui/react-components": "~9.54.5",
|
|
59
59
|
"@fluentui/react-icons": "^2.0.249",
|
|
60
60
|
"@typespec/bundler": "~0.1.6 || >=0.2.0-dev <0.2.0",
|
|
61
|
-
"@typespec/compiler": "~0.59.
|
|
61
|
+
"@typespec/compiler": "~0.59.1 || >=0.60.0-dev <0.60.0",
|
|
62
62
|
"@typespec/html-program-viewer": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
63
|
-
"@typespec/http": "~0.59.
|
|
63
|
+
"@typespec/http": "~0.59.1 || >=0.60.0-dev <0.60.0",
|
|
64
64
|
"@typespec/openapi": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
65
|
-
"@typespec/openapi3": "~0.59.
|
|
65
|
+
"@typespec/openapi3": "~0.59.1 || >=0.60.0-dev <0.60.0",
|
|
66
66
|
"@typespec/protobuf": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
67
|
-
"@typespec/rest": "~0.59.
|
|
67
|
+
"@typespec/rest": "~0.59.1 || >=0.60.0-dev <0.60.0",
|
|
68
68
|
"@typespec/versioning": "~0.59.0 || >=0.60.0-dev <0.60.0",
|
|
69
69
|
"clsx": "^2.1.1",
|
|
70
70
|
"debounce": "~2.1.0",
|