@typespec/playground 0.4.0-dev.0 → 0.4.0-dev.5

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.
Files changed (35) hide show
  1. package/dist/manifest-DR4jWHsG-DR4jWHsG.js +6 -0
  2. package/dist/react/index.js +54265 -922
  3. package/dist/react/viewers/index.js +1 -1
  4. package/dist/{react-wrapper-CT3xxCSW.js → react-wrapper-BE4armyk.js} +1 -1
  5. package/dist/src/editor-command-bar/editor-command-bar.d.ts +2 -1
  6. package/dist/src/editor-command-bar/editor-command-bar.d.ts.map +1 -1
  7. package/dist/src/react/context/playground-context.d.ts +1 -0
  8. package/dist/src/react/context/playground-context.d.ts.map +1 -1
  9. package/dist/src/react/diagnostic-list/diagnostic-list.d.ts.map +1 -1
  10. package/dist/src/react/editor.d.ts.map +1 -1
  11. package/dist/src/react/file-output/file-output.d.ts.map +1 -1
  12. package/dist/src/react/footer/footer-version-item.d.ts +0 -1
  13. package/dist/src/react/footer/footer-version-item.d.ts.map +1 -1
  14. package/dist/src/react/index.d.ts +1 -0
  15. package/dist/src/react/index.d.ts.map +1 -1
  16. package/dist/src/react/output-view/file-viewer.d.ts.map +1 -1
  17. package/dist/src/react/output-view/output-view.d.ts.map +1 -1
  18. package/dist/src/react/output-view/type-graph-viewer.d.ts.map +1 -1
  19. package/dist/src/react/playground.d.ts +2 -0
  20. package/dist/src/react/playground.d.ts.map +1 -1
  21. package/dist/src/react/settings/emitter-options-form.d.ts.map +1 -1
  22. package/dist/style.css +374 -82
  23. package/package.json +23 -21
  24. package/dist/src/react/hooks.d.ts +0 -15
  25. package/dist/src/react/hooks.d.ts.map +0 -1
  26. package/dist/src/react/split-pane/index.d.ts +0 -2
  27. package/dist/src/react/split-pane/index.d.ts.map +0 -1
  28. package/dist/src/react/split-pane/pane.d.ts +0 -8
  29. package/dist/src/react/split-pane/pane.d.ts.map +0 -1
  30. package/dist/src/react/split-pane/sash-content.d.ts +0 -9
  31. package/dist/src/react/split-pane/sash-content.d.ts.map +0 -1
  32. package/dist/src/react/split-pane/sash.d.ts +0 -13
  33. package/dist/src/react/split-pane/sash.d.ts.map +0 -1
  34. package/dist/src/react/split-pane/split-pane.d.ts +0 -19
  35. package/dist/src/react/split-pane/split-pane.d.ts.map +0 -1
@@ -6,7 +6,7 @@ const style = {
6
6
  "swagger-ui-container": "_swagger-ui-container_1c81n_1"
7
7
  };
8
8
 
9
- const LazySwaggerUI = lazy(() => import('../../react-wrapper-CT3xxCSW.js'));
9
+ const LazySwaggerUI = lazy(() => import('../../react-wrapper-BE4armyk.js'));
10
10
  const SwaggerUI = (props) => {
11
11
  return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx("div", {}), children: /* @__PURE__ */ jsx("div", { className: style["swagger-ui-container"], children: /* @__PURE__ */ jsx(LazySwaggerUI, { spec: props.spec }) }) });
12
12
  };
@@ -13,7 +13,7 @@ const reactWrapper = (props) => {
13
13
  });
14
14
  }
15
15
  uiInstance.current.specActions.updateSpec(props.spec);
16
- }, [uiRef.current, props.spec]);
16
+ }, [props.spec]);
17
17
  return /* @__PURE__ */ jsx("div", { ref: uiRef });
18
18
  };
19
19
 
@@ -1,5 +1,5 @@
1
1
  import { CompilerOptions } from '@typespec/compiler';
2
- import { FunctionComponent } from 'react';
2
+ import { FunctionComponent, ReactNode } from 'react';
3
3
  import { BrowserHost, PlaygroundSample } from '../types.js';
4
4
 
5
5
  export interface EditorCommandBarProps {
@@ -7,6 +7,7 @@ export interface EditorCommandBarProps {
7
7
  saveCode: () => Promise<void> | void;
8
8
  formatCode: () => Promise<void> | void;
9
9
  fileBug?: () => Promise<void> | void;
10
+ commandBarButtons?: ReactNode;
10
11
  host: BrowserHost;
11
12
  selectedEmitter: string;
12
13
  onSelectedEmitterChange: (emitter: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"editor-command-bar.d.ts","sourceRoot":"","sources":["../../../src/editor-command-bar/editor-command-bar.tsx"],"names":[],"m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AW,qBAAqB;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACrC,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IACrC,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,IAAI,EAAE,WAAW,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,eAAe,CAAC;IACjC,uBAAuB,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAE5D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC3C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,0BAA0B,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D;AACD,eAAO,MAAM,gBAAgB,EAAE,iBAAiB,CAAC,qBAAqB,CA2ErE,CAAC"}
@@ -2,6 +2,7 @@ import { BrowserHost } from '../../types.js';
2
2
 
3
3
  export interface PlaygroundContext {
4
4
  readonly host: BrowserHost;
5
+ readonly setContent: (content: string) => void;
5
6
  }
6
7
  export declare const PlaygroundContextProvider: import('react').Provider<PlaygroundContext | undefined>;
7
8
  export declare function usePlaygroundContext(): PlaygroundContext;
@@ -1 +1 @@
1
- {"version":3,"file":"playground-context.d.ts","sourceRoot":"","sources":["../../../../src/react/context/playground-context.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;CAC5B;AAID,eAAO,MAAM,yBAAyB,yDAA6B,CAAC;AAEpE,wBAAgB,oBAAoB,IAAI,iBAAiB,CAMxD"}
1
+ {"version":3,"file":"playground-context.d.ts","sourceRoot":"","sources":["../../../../src/react/context/playground-context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAID,eAAO,MAAM,yBAAyB,yDAA6B,CAAC;AAEpE,wBAAgB,oBAAoB,IAAI,iBAAiB,CAMxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"diagnostic-list.d.ts","sourceRoot":"","sources":["../../../../src/react/diagnostic-list/diagnostic-list.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,UAAU,EAGhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;CAClE;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAqBjE,CAAC"}
1
+ {"version":3,"file":"diagnostic-list.d.ts","sourceRoot":"","sources":["../../../../src/react/diagnostic-list/diagnostic-list.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,UAAU,EAGhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAqB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;CAClE;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAoBjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../src/react/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE3E,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC,iBAAiB,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC,oCAAoC,CAAC;IACrD,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,WAAW,CAyCjD,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAK5E"}
1
+ {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../src/react/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,MAAM,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE3E,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC,iBAAiB,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC,oCAAoC,CAAC;IACrD,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,iBAAiB,CAAC,WAAW,CA2CjD,CAAC;AAEF,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAK5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"file-output.d.ts","sourceRoot":"","sources":["../../../../src/react/file-output/file-output.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CA2CzD,CAAC"}
1
+ {"version":3,"file":"file-output.d.ts","sourceRoot":"","sources":["../../../../src/react/file-output/file-output.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAyCzD,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" resolution-mode="require"/>
2
1
  export interface VersionSelectorVersion {
3
2
  name: string;
4
3
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"footer-version-item.d.ts","sourceRoot":"","sources":["../../../../src/react/footer/footer-version-item.tsx"],"names":[],"mappings":";AAmBA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAEnC,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IAEjB,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,oDAAoD;IACpD,QAAQ,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACrD;AAED,MAAM,WAAW,sBAAsB;IACrC,wEAAwE;IACxE,eAAe,CAAC,EAAE,oBAAoB,CAAC;CACxC;AAED,eAAO,MAAM,iBAAiB,4DAA8B,sBAAsB,6CAqBhF,CAAC"}
1
+ {"version":3,"file":"footer-version-item.d.ts","sourceRoot":"","sources":["../../../../src/react/footer/footer-version-item.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IAEnC,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IAEjB,mEAAmE;IACnE,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,oDAAoD;IACpD,QAAQ,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACrD;AAED,MAAM,WAAW,sBAAsB;IACrC,wEAAwE;IACxE,eAAe,CAAC,EAAE,oBAAoB,CAAC;CACxC;AAED,eAAO,MAAM,iBAAiB,4DAA8B,sBAAsB,6CAqBhF,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export { usePlaygroundContext } from './context/index.js';
2
+ export { Editor, useMonacoModel, type EditorProps } from './editor.js';
2
3
  export { Footer, FooterItem, FooterVersionItem, type FooterItemProps, type FooterProps, type FooterVersionItemProps, type VersionSelectorProps, type VersionSelectorVersion, } from './footer/index.js';
3
4
  export { Playground } from './playground.js';
4
5
  export type { PlaygroundProps, PlaygroundSaveData } from './playground.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EACL,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,sCAAsC,EACtC,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AACzB,mBAAmB,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EACL,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,sCAAsC,EACtC,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AACzB,mBAAmB,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"file-viewer.d.ts","sourceRoot":"","sources":["../../../../src/react/output-view/file-viewer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAqB,aAAa,EAAE,MAAM,aAAa,CAAC;AAkDtF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,gBAAgB,EAAE,GAAG,aAAa,CAU/E"}
1
+ {"version":3,"file":"file-viewer.d.ts","sourceRoot":"","sources":["../../../../src/react/output-view/file-viewer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAqB,aAAa,EAAE,MAAM,aAAa,CAAC;AAqDtF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,gBAAgB,EAAE,GAAG,aAAa,CAU/E"}
@@ -1 +1 @@
1
- {"version":3,"file":"output-view.d.ts","sourceRoot":"","sources":["../../../../src/react/output-view/output-view.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAiB,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAMpG,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE,wBAAwB,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAClC;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAoBzD,CAAC"}
1
+ {"version":3,"file":"output-view.d.ts","sourceRoot":"","sources":["../../../../src/react/output-view/output-view.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAiB,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAMpG,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE,wBAAwB,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAClC;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAwBzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"type-graph-viewer.d.ts","sourceRoot":"","sources":["../../../../src/react/output-view/type-graph-viewer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAqB,aAAa,EAAE,MAAM,aAAa,CAAC;AAwBpE,eAAO,MAAM,eAAe,EAAE,aAK7B,CAAC"}
1
+ {"version":3,"file":"type-graph-viewer.d.ts","sourceRoot":"","sources":["../../../../src/react/output-view/type-graph-viewer.tsx"],"names":[],"mappings":"AAEA,OAAO,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAqB,aAAa,EAAE,MAAM,aAAa,CAAC;AAWpE,eAAO,MAAM,eAAe,EAAE,aAK7B,CAAC"}
@@ -30,6 +30,8 @@ export interface PlaygroundProps {
30
30
  /** Callback when sample change */
31
31
  onSampleNameChange?: (sampleName: string) => void;
32
32
  onFileBug?: () => void;
33
+ /** Additional buttons to show up in the command bar */
34
+ commandBarButtons?: ReactNode;
33
35
  /** Playground links */
34
36
  links?: PlaygroundLinks;
35
37
  /** Custom viewers to view the typespec program */
@@ -1 +1 @@
1
- {"version":3,"file":"playground.d.ts","sourceRoot":"","sources":["../../../src/react/playground.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAc,MAAM,oBAAoB,CAAC;AAGtE,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAUjE,OAAO,KAAK,EAAoB,gBAAgB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGpF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,WAAW,CAAC;IAElB,iDAAiD;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,kCAAkC;IAClC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAEtC,qBAAqB;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5C,sBAAsB;IACtB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,yDAAyD;IACzD,sBAAsB,CAAC,EAAE,eAAe,CAAC;IACzC,2CAA2C;IAC3C,uBAAuB,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAE7D,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAE3C,oBAAoB;IACpB,UAAU,CAAC,EA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E,gBAAgB,EAAE,CAAC,CAAC;IAEpD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAE7C,aAAa,CAAC,EAAE,wBAAwB,CAAC;IAEzC;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAEhB,oBAAoB;IACpB,OAAO,EAAE,MAAM,CAAC;IAEhB,uBAAuB;IACvB,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,4BAA4B;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CA4NzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"emitter-options-form.d.ts","sourceRoot":"","sources":["../../../../src/react/settings/emitter-options-form.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAwB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,oBAAoB,CAAC;IACvC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,uBAAuB,CAuCzE,CAAC"}
1
+ {"version":3,"file":"emitter-options-form.d.ts","sourceRoot":"","sources":["../../../../src/react/settings/emitter-options-form.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAwB,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,oBAAoB,CAAC;IACvC,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,uBAAuB,CAwCzE,CAAC"}
package/dist/style.css CHANGED
@@ -24,6 +24,126 @@
24
24
  height: 100%;
25
25
  padding: 0 5px;
26
26
  }
27
+ ._split-pane_v2eo6_1 {
28
+ flex: 1;
29
+ height: 100%;
30
+ position: relative;
31
+ width: 100%;
32
+ }
33
+
34
+ ._split-disabled_v2eo6_8 {
35
+ user-select: none;
36
+ }
37
+
38
+ ._split-pane-dragging_v2eo6_12._react-split-vertical_v2eo6_12 {
39
+ cursor: col-resize;
40
+ }
41
+
42
+ ._split-pane-dragging_v2eo6_12._react-split-horizontal_v2eo6_16 {
43
+ cursor: row-resize;
44
+ }
45
+
46
+ ._sash_v2eo6_20 {
47
+ height: 100%;
48
+ position: absolute;
49
+ top: 0;
50
+ transition: background-color 0.1s;
51
+ width: 100%;
52
+ z-index: 2;
53
+ }
54
+
55
+ ._sash-disabled_v2eo6_29 {
56
+ pointer-events: none;
57
+ }
58
+
59
+ ._sash-vertical_v2eo6_33 {
60
+ cursor: col-resize;
61
+ }
62
+
63
+ ._sash-horizontal_v2eo6_37 {
64
+ cursor: row-resize;
65
+ }
66
+
67
+ ._sash-content_v2eo6_41 {
68
+ width: 100%;
69
+ height: 100%;
70
+ background-color: var(--colorNeutralStroke2);
71
+ }
72
+
73
+ ._sash-content-dragging_v2eo6_47,
74
+ ._sash-content_v2eo6_41:hover {
75
+ background-color: var(--colorNeutralStroke1Pressed);
76
+ }
77
+
78
+ ._sash-vertical_v2eo6_33 ._sash-content_v2eo6_41 {
79
+ width: 1px;
80
+ margin-left: 1px;
81
+ }
82
+
83
+ ._sash-horizontal_v2eo6_37 ._sash-content_v2eo6_41 {
84
+ height: 1px;
85
+ margin-top: 1px;
86
+ }
87
+
88
+ ._sash-vertical_v2eo6_33 ._sash-content-dragging_v2eo6_47 {
89
+ width: 100%;
90
+ }
91
+
92
+ ._sash-horizontal_v2eo6_37 ._sash-content-dragging_v2eo6_47 {
93
+ height: 100%;
94
+ }
95
+
96
+ ._pane_v2eo6_70 {
97
+ height: 100%;
98
+ position: absolute;
99
+ white-space: normal;
100
+ width: 100%;
101
+ overflow: hidden;
102
+ }
103
+ ._tree_16lfo_1 {
104
+ outline: none;
105
+ }
106
+ ._tree-row_16lfo_4 {
107
+ cursor: pointer;
108
+ display: block;
109
+ height: 22px;
110
+ line-height: 22px;
111
+ user-select: none;
112
+ text-overflow: ellipsis;
113
+ overflow: hidden;
114
+ white-space: nowrap;
115
+ font-size: 12px;
116
+ display: flex;
117
+ }
118
+
119
+ ._tree-row_16lfo_4:hover,
120
+ ._tree-row_16lfo_4._focus_16lfo_18 {
121
+ background: var(--colorNeutralBackground4);
122
+ }
123
+
124
+ ._tree-row_16lfo_4._active_16lfo_22 {
125
+ background: var(--colorNeutralBackground2Selected);
126
+ }
127
+
128
+ ._tree-row_16lfo_4 ._caret_16lfo_26 {
129
+ width: 16px;
130
+ display: flex;
131
+ align-items: center;
132
+ }
133
+
134
+ ._tree-row_16lfo_4 ._icon_16lfo_32 {
135
+ width: 16px;
136
+ display: flex;
137
+ align-items: center;
138
+ }
139
+
140
+ ._tree-row_16lfo_4 ._label_16lfo_38 {
141
+ flex: 1;
142
+ }
143
+
144
+ ._tree-row_16lfo_4 ._column_16lfo_42:last-child {
145
+ margin-right: 5px;
146
+ }
27
147
  ._form_sqeas_1 {
28
148
  display: flex;
29
149
  flex-direction: column;
@@ -80,34 +200,282 @@
80
200
  ._tab--selected_1x6x2_18 {
81
201
  background-color: var(--colorNeutralBackground5) !important;
82
202
  }
83
- ._output-view_18pnu_1 {
203
+ ._output-view_omce4_1 {
84
204
  display: flex;
85
205
  flex-direction: row;
86
206
  height: 100%;
87
207
  }
88
- ._file-viewer_18pnu_6 {
208
+ ._file-viewer_omce4_6 {
89
209
  display: flex;
90
210
  flex-direction: column;
91
211
  height: 100%;
92
212
  }
93
213
 
94
- ._output-content_18pnu_12 {
214
+ ._output-content_omce4_12 {
95
215
  flex: 1;
96
216
  min-width: 0;
97
217
  }
98
- ._file-viewer-content_18pnu_16 {
218
+ ._file-viewer-content_omce4_16 {
99
219
  flex: 1;
100
220
  min-height: 0;
101
221
  }
102
222
 
103
- ._type-graph-viewer_18pnu_21 {
223
+ ._type-graph-viewer_omce4_21 {
104
224
  height: 100%;
105
225
  overflow-y: auto;
106
226
  }
107
227
 
108
- ._viewer-tabs-container_18pnu_26 {
228
+ ._viewer-tabs-container_omce4_26 {
109
229
  background-color: var(--colorNeutralBackground3);
110
230
  }
231
+
232
+ ._viewer-error_omce4_30 {
233
+ padding: 20px;
234
+ }
235
+ ._type-kind-icon_1l8cz_1 {
236
+ color: var(--colorPaletteBerryForeground2);
237
+ font-weight: bold;
238
+ padding: 1px 1px;
239
+ border-radius: 2px;
240
+ line-height: 16px;
241
+ }
242
+ ._current-path_x1yb7_1 {
243
+ overflow-y: auto;
244
+ border: 1px solid var(--colorNeutralStroke1);
245
+ }
246
+
247
+ ._current-path_x1yb7_1._focus_x1yb7_6 {
248
+ border-bottom: 1px solid var(--colorBrandForeground1);
249
+ }
250
+ ._breadcrumb-search_x1yb7_9 {
251
+ width: 100%;
252
+ border-radius: 0 !important;
253
+ border: none !important;
254
+ }
255
+
256
+ ._breadcrumb-search_x1yb7_9::after {
257
+ border: none !important;
258
+ }
259
+
260
+ ._option_x1yb7_19 {
261
+ padding: 2px 4px !important;
262
+ }
263
+
264
+ ._option_x1yb7_19 ._doc_x1yb7_23 {
265
+ color: var(--colorNeutralForeground4);
266
+ text-overflow: ellipsis;
267
+ text-wrap: nowrap;
268
+ min-width: 0;
269
+ flex: 0 1 auto;
270
+ overflow: hidden;
271
+ }
272
+
273
+ ._flex-gap_x1yb7_32 {
274
+ flex: 1;
275
+ }
276
+
277
+ ._search-placeholder_x1yb7_36 {
278
+ color: var(--colorNeutralForeground4);
279
+ font-size: 12px;
280
+ margin: 5px;
281
+ text-wrap: nowrap;
282
+ }
283
+ ._item_1lyf1_1 {
284
+ border-top: 1px solid var(--colorNeutralStroke1);
285
+ padding: 5px 0 !important;
286
+ }
287
+
288
+ ._item_1lyf1_1:hover {
289
+ background-color: var(--colorNeutralBackground1Hover);
290
+ }
291
+ ._type-graph_yi03c_1 * {
292
+ box-sizing: border-box;
293
+ }
294
+
295
+ ._tree-navigation-pane_yi03c_5 {
296
+ height: 100%;
297
+ overflow-y: auto;
298
+ }
299
+
300
+ ._view-pane_yi03c_10 {
301
+ padding: 10px;
302
+ overflow-y: auto;
303
+ }
304
+
305
+ ._current-path_yi03c_15 {
306
+ margin-bottom: 10px;
307
+ }
308
+ ._mono_ouyit_1 {
309
+ font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
310
+ }
311
+
312
+ ._literal_ouyit_5 {
313
+ color: var(--colorPaletteLightGreenForeground2);
314
+ }
315
+
316
+ ._type-kind_ouyit_9 {
317
+ color: var(--colorPaletteBerryForeground2);
318
+ }
319
+ ._type-kind-tag_ouyit_12 {
320
+ color: white;
321
+ background-color: var(--colorPaletteBerryForeground2);
322
+ border-radius: 2px;
323
+ }
324
+ ._type-kind-tag-small_ouyit_17 {
325
+ height: 16px;
326
+ line-height: 16px;
327
+ font-size: 10px;
328
+ padding: 0 3px;
329
+ }
330
+
331
+ ._type-kind-tag-auto_ouyit_24 {
332
+ padding: 1px 5px;
333
+ }
334
+ ._string_yr0s7_1 {
335
+ color: var(--colorPaletteLightGreenForeground2);
336
+ }
337
+
338
+ ._boolean_yr0s7_5 {
339
+ color: var(--colorPaletteDarkOrangeForeground1);
340
+ }
341
+
342
+ ._number_yr0s7_9 {
343
+ color: var(--colorPaletteDarkOrangeForeground1);
344
+ }
345
+
346
+ ._intrinsic_yr0s7_13 {
347
+ color: var(--colorPaletteDarkOrangeForeground1);
348
+ }
349
+ ._inspect-type_pmg7n_1 {
350
+ font-size: 12px;
351
+ }
352
+ ._inspect-type_pmg7n_1 ul {
353
+ padding: 0 0 0 16px;
354
+ margin: 0;
355
+ }
356
+
357
+ ._inspect-type_pmg7n_1 > ul {
358
+ padding: 0;
359
+ }
360
+
361
+ ._inspect-type_pmg7n_1 li {
362
+ margin: 0;
363
+ list-style: none;
364
+ position: relative;
365
+ }
366
+
367
+ ._type-ui_pmg7n_19 {
368
+ display: inline;
369
+ }
370
+ ._type-ui-header_pmg7n_22 {
371
+ cursor: pointer;
372
+ display: inline;
373
+ }
374
+
375
+ ._type-ui-header_pmg7n_22:hover {
376
+ text-decoration: underline;
377
+ }
378
+
379
+ ._type-name_pmg7n_31 {
380
+ color: var(--colorNeutralForeground2);
381
+ }
382
+
383
+ ._property_pmg7n_35 {
384
+ color: var(--colorPaletteMarigoldForeground2);
385
+ }
386
+
387
+ ._named-type-ref_pmg7n_39 {
388
+ color: var(--colorBrandForeground1);
389
+ text-decoration: none;
390
+ cursor: pointer;
391
+ }
392
+
393
+ ._named-type-ref_pmg7n_39:hover {
394
+ text-decoration: underline;
395
+ }
396
+
397
+ ._js-value_pmg7n_49 {
398
+ color: var(--colorPaletteDarkOrangeForeground1);
399
+ }
400
+ ._object-description_1mqr2_1 {
401
+ font-style: italic;
402
+ }
403
+
404
+ ._preview_1mqr2_5 {
405
+ font-style: italic;
406
+ }
407
+
408
+ ._object-name_1mqr2_9 {
409
+ color: var(--colorPaletteMarigoldForeground2);
410
+ }
411
+
412
+ ._dimmed_1mqr2_13 {
413
+ opacity: 0.6;
414
+ }
415
+ ._table_1qvgd_1 {
416
+ table-layout: auto;
417
+ border-collapse: collapse;
418
+ }
419
+
420
+ ._table_1qvgd_1 th {
421
+ font-weight: bold;
422
+ }
423
+
424
+ ._table_1qvgd_1 thead tr,
425
+ ._table_1qvgd_1 tbody tr:not(:last-child) {
426
+ border-bottom: 1px solid var(--colorNeutralStroke1);
427
+ }
428
+
429
+ ._key_1qvgd_15 {
430
+ vertical-align: top;
431
+ color: var(--colorNeutralForeground2);
432
+ }
433
+
434
+ ._data_1qvgd_20 {
435
+ }
436
+
437
+ ._tsp-type-ref_1qvgd_23 {
438
+ display: inline-flex;
439
+ align-items: center;
440
+ gap: 3px;
441
+ }
442
+
443
+ ._tsp-type-logo_1qvgd_29 {
444
+ display: inline-block;
445
+ font-size: 7px;
446
+ width: 12px;
447
+ height: 12px;
448
+ line-height: 12px;
449
+ background-color: var(--colorPaletteBerryForeground2);
450
+ color: white;
451
+ }
452
+ ._type-view_d4sc6_1 {
453
+ display: flex;
454
+ flex-direction: column;
455
+ gap: 20px;
456
+ }
457
+
458
+ ._main_d4sc6_7 {
459
+ padding: var(--fui-Card--size) 0 !important;
460
+ }
461
+
462
+ ._header-section_d4sc6_11 {
463
+ padding: 0 var(--fui-Card--size);
464
+ }
465
+
466
+ ._inspect-section_d4sc6_15 {
467
+ padding: 0 var(--fui-Card--size);
468
+ }
469
+
470
+ ._header_d4sc6_11 {
471
+ display: flex;
472
+ align-items: center;
473
+ gap: 10px;
474
+ }
475
+
476
+ ._doc_d4sc6_25 {
477
+ color: var(--colorNeutralForeground3);
478
+ }
111
479
  ._layout_l03ni_1 {
112
480
  display: flex;
113
481
  flex-direction: column;
@@ -208,82 +576,6 @@
208
576
  ._internal-compiler-error_kxgwp_16 {
209
577
  padding: 10px;
210
578
  }
211
- ._split-pane_v2eo6_1 {
212
- flex: 1;
213
- height: 100%;
214
- position: relative;
215
- width: 100%;
216
- }
217
-
218
- ._split-disabled_v2eo6_8 {
219
- user-select: none;
220
- }
221
-
222
- ._split-pane-dragging_v2eo6_12._react-split-vertical_v2eo6_12 {
223
- cursor: col-resize;
224
- }
225
-
226
- ._split-pane-dragging_v2eo6_12._react-split-horizontal_v2eo6_16 {
227
- cursor: row-resize;
228
- }
229
-
230
- ._sash_v2eo6_20 {
231
- height: 100%;
232
- position: absolute;
233
- top: 0;
234
- transition: background-color 0.1s;
235
- width: 100%;
236
- z-index: 2;
237
- }
238
-
239
- ._sash-disabled_v2eo6_29 {
240
- pointer-events: none;
241
- }
242
-
243
- ._sash-vertical_v2eo6_33 {
244
- cursor: col-resize;
245
- }
246
-
247
- ._sash-horizontal_v2eo6_37 {
248
- cursor: row-resize;
249
- }
250
-
251
- ._sash-content_v2eo6_41 {
252
- width: 100%;
253
- height: 100%;
254
- background-color: var(--colorNeutralStroke2);
255
- }
256
-
257
- ._sash-content-dragging_v2eo6_47,
258
- ._sash-content_v2eo6_41:hover {
259
- background-color: var(--colorNeutralStroke1Pressed);
260
- }
261
-
262
- ._sash-vertical_v2eo6_33 ._sash-content_v2eo6_41 {
263
- width: 1px;
264
- margin-left: 1px;
265
- }
266
-
267
- ._sash-horizontal_v2eo6_37 ._sash-content_v2eo6_41 {
268
- height: 1px;
269
- margin-top: 1px;
270
- }
271
-
272
- ._sash-vertical_v2eo6_33 ._sash-content-dragging_v2eo6_47 {
273
- width: 100%;
274
- }
275
-
276
- ._sash-horizontal_v2eo6_37 ._sash-content-dragging_v2eo6_47 {
277
- height: 100%;
278
- }
279
-
280
- ._pane_v2eo6_70 {
281
- height: 100%;
282
- position: absolute;
283
- white-space: normal;
284
- width: 100%;
285
- overflow: hidden;
286
- }
287
579
  ._swagger-ui-container_1c81n_1 {
288
580
  width: 100%;
289
581
  height: 100%;