@typespec/html-program-viewer 0.73.0-dev.1 → 0.73.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.
@@ -1,4 +1,9 @@
1
1
  import { TreeNavigator, TypeGraphTypeNode } from '../use-tree-navigation.js';
2
+ declare global {
3
+ interface Window {
4
+ vars?: Record<string, unknown>;
5
+ }
6
+ }
2
7
  export interface TypeNodeViewProps {
3
8
  readonly nav: TreeNavigator;
4
9
  readonly node: TypeGraphTypeNode;
@@ -1 +1 @@
1
- {"version":3,"file":"type-view.d.ts","sourceRoot":"","sources":["../../../src/react/type-view/type-view.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGlF,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,GAAI,UAAU,iBAAiB,4CA+BvD,CAAC"}
1
+ {"version":3,"file":"type-view.d.ts","sourceRoot":"","sources":["../../../src/react/type-view/type-view.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGlF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAChC;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,GAAI,UAAU,iBAAiB,4CA+DvD,CAAC"}
package/dist/style.css CHANGED
@@ -215,30 +215,40 @@
215
215
  background-color: var(--colorPaletteBerryForeground2);
216
216
  color: white;
217
217
  }
218
- ._type-view_d4sc6_1 {
218
+ ._type-view_12y74_1 {
219
219
  display: flex;
220
220
  flex-direction: column;
221
221
  gap: 20px;
222
222
  }
223
223
 
224
- ._main_d4sc6_7 {
224
+ ._main_12y74_7 {
225
225
  padding: var(--fui-Card--size) 0 !important;
226
226
  }
227
227
 
228
- ._header-section_d4sc6_11 {
228
+ ._header-section_12y74_11 {
229
229
  padding: 0 var(--fui-Card--size);
230
230
  }
231
231
 
232
- ._inspect-section_d4sc6_15 {
232
+ ._inspect-section_12y74_15 {
233
233
  padding: 0 var(--fui-Card--size);
234
234
  }
235
235
 
236
- ._header_d4sc6_11 {
236
+ ._header_12y74_11 {
237
+ display: flex;
238
+ align-items: center;
239
+ width: 100%;
240
+ }
241
+
242
+ ._header-left_12y74_25 {
237
243
  display: flex;
238
244
  align-items: center;
239
245
  gap: 10px;
240
246
  }
241
247
 
242
- ._doc_d4sc6_25 {
248
+ ._header-spacer_12y74_31 {
249
+ margin-left: auto;
250
+ }
251
+
252
+ ._doc_12y74_35 {
243
253
  color: var(--colorNeutralForeground3);
244
254
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/html-program-viewer",
3
- "version": "0.73.0-dev.1",
3
+ "version": "0.73.0-dev.3",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting an html view of the program.",
6
6
  "homepage": "https://typespec.io",
@@ -39,32 +39,32 @@
39
39
  "@typespec/compiler": "^1.2.1"
40
40
  },
41
41
  "dependencies": {
42
- "@fluentui/react-components": "~9.66.1",
42
+ "@fluentui/react-components": "~9.67.0",
43
43
  "@fluentui/react-icons": "^2.0.292",
44
44
  "@fluentui/react-list": "^9.1.2",
45
45
  "react": "~18.3.1",
46
46
  "react-dom": "~18.3.1",
47
- "react-hotkeys-hook": "^4.6.1"
47
+ "react-hotkeys-hook": "^5.1.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@babel/core": "^7.26.10",
51
51
  "@testing-library/dom": "^10.4.0",
52
52
  "@testing-library/jest-dom": "^6.6.3",
53
53
  "@testing-library/react": "^16.2.0",
54
- "@types/node": "~24.0.3",
54
+ "@types/node": "~24.1.0",
55
55
  "@types/react": "~18.3.11",
56
56
  "@types/react-dom": "~18.3.0",
57
57
  "@typespec/compiler": "^1.2.1",
58
- "@vitejs/plugin-react": "~4.4.1",
58
+ "@vitejs/plugin-react": "~4.7.0",
59
59
  "@vitest/coverage-v8": "^3.1.2",
60
60
  "@vitest/ui": "^3.1.2",
61
61
  "c8": "^10.1.3",
62
62
  "rimraf": "~6.0.1",
63
63
  "typescript": "~5.8.2",
64
- "vite": "^6.2.7",
65
- "vite-plugin-checker": "^0.9.1",
64
+ "vite": "^7.0.5",
65
+ "vite-plugin-checker": "^0.10.1",
66
66
  "vite-plugin-dts": "4.5.4",
67
- "vite-plugin-node-polyfills": "^0.23.0",
67
+ "vite-plugin-node-polyfills": "^0.24.0",
68
68
  "vitest": "^3.1.2",
69
69
  "@typespec/react-components": "^0.57.0"
70
70
  },