@workbench-kit/react 0.0.2-prototype.0.2.14 → 0.0.2-prototype.0.2.15

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/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@workbench-kit/react",
3
- "version": "0.0.2-prototype.0.2.14",
3
+ "version": "0.0.2-prototype.0.2.15",
4
4
  "private": false,
5
+ "sideEffects": [
6
+ "**/*.css"
7
+ ],
5
8
  "type": "module",
6
9
  "exports": {
7
10
  ".": "./src/index.ts",
@@ -21,8 +24,11 @@
21
24
  "./workbench/settings": "./src/workbench/settings/index.ts",
22
25
  "./workbench": "./src/workbench/index.ts",
23
26
  "./workbench/activityBarOrder": "./src/workbench/shell/activityBarOrder.ts",
27
+ "./workbench/command-ui": "./src/workbench/commands/command-ui.ts",
24
28
  "./workbench/markdown-preview": "./src/workbench/markdown/MarkdownPreview.tsx",
25
29
  "./workbench/shell": "./src/workbench/shell/shell.ts",
30
+ "./workbench/standalone": "./src/workbench/shell/standalone.ts",
31
+ "./workbench/theme": "./src/workbench/theme/theme.ts",
26
32
  "./workbench/theme-provider": "./src/workbench/theme/WorkbenchThemeProvider.tsx",
27
33
  "./workbench/themePresets": "./src/workbench/theme/themePresets.ts",
28
34
  "./workbench/split-view": "./src/workbench/shell/SplitView.tsx",
@@ -54,19 +60,18 @@
54
60
  "!src/**/*.stories.tsx"
55
61
  ],
56
62
  "dependencies": {
57
- "@dnd-kit/core": "^6.3.1",
58
63
  "@vscode/codicons": "^0.0.45",
59
64
  "remark-gfm": "^4.0.1",
60
65
  "rehype-sanitize": "^6.0.0",
61
- "@workbench-kit/contracts": "0.0.2-prototype.0.2.14",
62
- "@workbench-kit/jdw": "0.0.2-prototype.0.2.14",
63
- "@workbench-kit/adapters": "0.0.2-prototype.0.2.14",
64
- "@workbench-kit/monaco": "0.0.2-prototype.0.2.14",
65
- "@workbench-kit/runtime": "0.0.2-prototype.0.2.14",
66
- "@workbench-kit/services": "0.0.2-prototype.0.2.14",
67
- "@workbench-kit/workspace": "0.0.2-prototype.0.2.14",
68
- "@workbench-kit/platform": "0.0.2-prototype.0.2.14",
69
- "@workbench-kit/tokens": "0.0.2-prototype.0.2.14"
66
+ "@workbench-kit/adapters": "0.0.2-prototype.0.2.15",
67
+ "@workbench-kit/contracts": "0.0.2-prototype.0.2.15",
68
+ "@workbench-kit/monaco": "0.0.2-prototype.0.2.15",
69
+ "@workbench-kit/jdw": "0.0.2-prototype.0.2.15",
70
+ "@workbench-kit/runtime": "0.0.2-prototype.0.2.15",
71
+ "@workbench-kit/platform": "0.0.2-prototype.0.2.15",
72
+ "@workbench-kit/workspace": "0.0.2-prototype.0.2.15",
73
+ "@workbench-kit/services": "0.0.2-prototype.0.2.15",
74
+ "@workbench-kit/tokens": "0.0.2-prototype.0.2.15"
70
75
  },
71
76
  "peerDependencies": {
72
77
  "react": "^19.0.0",
@@ -89,7 +94,7 @@
89
94
  "directory": "packages/react"
90
95
  },
91
96
  "scripts": {
92
- "test": "pnpm exec vitest run --config ../../vitest.config.ts src/widget-tree",
97
+ "test": "pnpm exec vitest run --config ../../vitest.config.ts src",
93
98
  "typecheck": "tsc -p tsconfig.json --noEmit",
94
99
  "typecheck:exact-optional": "tsc -p typecheck-exact-optional/tsconfig.emit.json && tsc -p typecheck-exact-optional/tsconfig.json --noEmit"
95
100
  }
@@ -151,6 +151,8 @@ export type {
151
151
  } from './propertyFieldFilter';
152
152
  export { WorkbenchMediaPreviewViewport } from './WorkbenchMediaPreviewViewport';
153
153
  export type { WorkbenchMediaPreviewViewportProps } from './WorkbenchMediaPreviewViewport';
154
+ export { WorkbenchPreviewCanvas } from './WorkbenchCanvas';
155
+ export type { WorkbenchPreviewCanvasProps } from './WorkbenchCanvas';
154
156
  export {
155
157
  clampPreviewViewportZoom,
156
158
  computePreviewViewportFitScale,
@@ -0,0 +1,3 @@
1
+ export * from './CommandPalette';
2
+ export * from './ShortcutCommandBridge';
3
+ export * from './WorkbenchQuickOpen';
@@ -99,3 +99,15 @@ export type WorkbenchStandaloneBootstrapEvent<TActivityId extends string = strin
99
99
  | { type: 'activity-change'; payload: WorkbenchActivityChangeEvent<TActivityId> }
100
100
  | { type: 'status-message'; message: string }
101
101
  | { type: 'error'; error: Error };
102
+
103
+ export * from './WorkbenchStandaloneShell';
104
+ export {
105
+ createWorkbenchStandaloneShellStateSnapshot,
106
+ useWorkbenchStandaloneShellContext,
107
+ } from './workbenchStandaloneShellReactContext';
108
+ export type {
109
+ WorkbenchStandaloneShellStateChange,
110
+ WorkbenchStandaloneShellStateChangeKind,
111
+ WorkbenchStandaloneShellStateSnapshot,
112
+ } from './workbenchStandaloneShellReactContext';
113
+ export { useWorkbenchStandaloneShellStateSync } from './useWorkbenchStandaloneShellStateSync';