@typespec/html-program-viewer 0.74.0 → 0.75.0-dev.1

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.
@@ -981,7 +981,7 @@ const isIterable = (value)=>typeof value === 'object' && value !== null && Symbo
981
981
  *
982
982
  * @example
983
983
  * ```tsx
984
- * export const renderInput_unstable = (state: InputState) => {
984
+ * export const renderInput_unstable = (state: InputState): JSXElement => {
985
985
  assertSlots<InputSlots>(state);
986
986
  return (
987
987
  <state.root>
@@ -5110,7 +5110,7 @@ const insertSheet = (tag, rule)=>{
5110
5110
  */ const useFluentProviderThemeStyleTag = (options)=>{
5111
5111
  'use no memo';
5112
5112
  const { targetDocument, theme, rendererAttributes } = options;
5113
- const styleTag = React.useRef();
5113
+ const styleTag = React.useRef(undefined);
5114
5114
  const styleTagId = useId(fluentProviderClassNames.root);
5115
5115
  const styleElementAttributes = rendererAttributes;
5116
5116
  const rule = React.useMemo(()=>createCSSRuleFromTheme(`.${styleTagId}`, theme), [
@@ -1,6 +1,6 @@
1
1
  const manifest = {
2
2
  "version": "1.4.0",
3
- "commit": "f971ed2598c5bcf24776119f8dc24131ebc070c9"
3
+ "commit": "05226a5b38072c996b61ea021ea3edebc634baab"
4
4
  };
5
5
 
6
6
  export { manifest as default };
@@ -34357,7 +34357,7 @@ let manifest;
34357
34357
  try {
34358
34358
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
34359
34359
  // @ts-ignore
34360
- manifest = (await import('../manifest-CRrj_9sQ.js')).default;
34360
+ manifest = (await import('../manifest-BqvjRkpI.js')).default;
34361
34361
  }
34362
34362
  catch {
34363
34363
  const name = "../dist/manifest.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/html-program-viewer",
3
- "version": "0.74.0",
3
+ "version": "0.75.0-dev.1",
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,7 +39,7 @@
39
39
  "@typespec/compiler": "^1.4.0"
40
40
  },
41
41
  "dependencies": {
42
- "@fluentui/react-components": "~9.69.0",
42
+ "@fluentui/react-components": "~9.70.0",
43
43
  "@fluentui/react-icons": "^2.0.292",
44
44
  "@fluentui/react-list": "^9.1.2",
45
45
  "react": "~18.3.1",
@@ -54,7 +54,8 @@
54
54
  "@types/node": "~24.3.0",
55
55
  "@types/react": "~18.3.11",
56
56
  "@types/react-dom": "~18.3.0",
57
- "@vitejs/plugin-react": "~4.7.0",
57
+ "@typespec/compiler": "^1.4.0",
58
+ "@vitejs/plugin-react": "~5.0.2",
58
59
  "@vitest/coverage-v8": "^3.1.2",
59
60
  "@vitest/ui": "^3.1.2",
60
61
  "c8": "^10.1.3",
@@ -65,7 +66,6 @@
65
66
  "vite-plugin-dts": "4.5.4",
66
67
  "vite-plugin-node-polyfills": "^0.24.0",
67
68
  "vitest": "^3.1.2",
68
- "@typespec/compiler": "^1.4.0",
69
69
  "@typespec/react-components": "^0.57.0"
70
70
  },
71
71
  "scripts": {