@typespec/playground 0.11.3 → 0.11.4
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 +2 -0
- package/package.json +21 -21
package/dist/react/index.js
CHANGED
|
@@ -2643,6 +2643,7 @@ const Container = ({ children, className, status, onClick, collaped }) => {
|
|
|
2643
2643
|
return /* @__PURE__ */ jsxs(
|
|
2644
2644
|
"div",
|
|
2645
2645
|
{
|
|
2646
|
+
role: "button",
|
|
2646
2647
|
tabIndex: onClick === void 0 ? void 0 : 0,
|
|
2647
2648
|
className: mergeClasses(
|
|
2648
2649
|
style$1["header"],
|
|
@@ -2651,6 +2652,7 @@ const Container = ({ children, className, status, onClick, collaped }) => {
|
|
|
2651
2652
|
className
|
|
2652
2653
|
),
|
|
2653
2654
|
onClick,
|
|
2655
|
+
onKeyDown: (evt) => (evt.code === "Enter" || evt.code === "Space") && onClick?.(evt),
|
|
2654
2656
|
children: [
|
|
2655
2657
|
/* @__PURE__ */ jsx("div", { className: style$1["header-content"], children }),
|
|
2656
2658
|
/* @__PURE__ */ jsx(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/playground",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec playground UI components.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -71,37 +71,37 @@
|
|
|
71
71
|
"swagger-ui-dist": "^5.20.1",
|
|
72
72
|
"vscode-languageserver": "~9.0.1",
|
|
73
73
|
"vscode-languageserver-textdocument": "~1.0.12",
|
|
74
|
-
"@typespec/
|
|
75
|
-
"@typespec/
|
|
76
|
-
"@typespec/
|
|
77
|
-
"@typespec/
|
|
78
|
-
"@typespec/
|
|
79
|
-
"@typespec/openapi3": "^1.
|
|
80
|
-
"@typespec/
|
|
81
|
-
"@typespec/
|
|
82
|
-
"@typespec/versioning": "^0.
|
|
74
|
+
"@typespec/compiler": "^1.8.0",
|
|
75
|
+
"@typespec/bundler": "^0.4.7",
|
|
76
|
+
"@typespec/openapi": "^1.8.0",
|
|
77
|
+
"@typespec/html-program-viewer": "^0.78.0",
|
|
78
|
+
"@typespec/http": "^1.8.0",
|
|
79
|
+
"@typespec/openapi3": "^1.8.0",
|
|
80
|
+
"@typespec/rest": "^0.78.0",
|
|
81
|
+
"@typespec/protobuf": "^0.78.0",
|
|
82
|
+
"@typespec/versioning": "^0.78.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@babel/core": "^7.26.10",
|
|
86
|
-
"@playwright/test": "^1.
|
|
87
|
-
"@storybook/cli": "^10.
|
|
88
|
-
"@storybook/react-vite": "^10.
|
|
86
|
+
"@playwright/test": "^1.57.0",
|
|
87
|
+
"@storybook/cli": "^10.1.8",
|
|
88
|
+
"@storybook/react-vite": "^10.1.8",
|
|
89
89
|
"@types/debounce": "~1.2.4",
|
|
90
|
-
"@types/node": "~
|
|
91
|
-
"@types/react": "~19.2.
|
|
90
|
+
"@types/node": "~25.0.2",
|
|
91
|
+
"@types/react": "~19.2.7",
|
|
92
92
|
"@types/react-dom": "~19.2.2",
|
|
93
93
|
"@types/swagger-ui-dist": "~3.30.5",
|
|
94
|
-
"@vitejs/plugin-react": "~5.1.
|
|
94
|
+
"@vitejs/plugin-react": "~5.1.2",
|
|
95
95
|
"c8": "^10.1.3",
|
|
96
96
|
"cross-env": "~10.1.0",
|
|
97
|
-
"es-module-shims": "~2.
|
|
97
|
+
"es-module-shims": "~2.7.0",
|
|
98
98
|
"rimraf": "~6.1.2",
|
|
99
|
-
"storybook": "^10.
|
|
99
|
+
"storybook": "^10.1.8",
|
|
100
100
|
"typescript": "~5.9.2",
|
|
101
|
-
"vite": "^7.
|
|
102
|
-
"vite-plugin-checker": "^0.
|
|
101
|
+
"vite": "^7.2.7",
|
|
102
|
+
"vite-plugin-checker": "^0.12.0",
|
|
103
103
|
"vite-plugin-dts": "4.5.4",
|
|
104
|
-
"@typespec/bundler": "^0.4.
|
|
104
|
+
"@typespec/bundler": "^0.4.7",
|
|
105
105
|
"@typespec/react-components": "^0.57.0"
|
|
106
106
|
},
|
|
107
107
|
"scripts": {
|