@workbench-kit/react 0.0.1-prototype.0 → 0.0.2-prototype.0.1.2

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 (155) hide show
  1. package/package.json +33 -9
  2. package/src/index.ts +545 -43
  3. package/src/jdw/JdwPreview.tsx +38 -0
  4. package/src/jdw/JsonCodeEditorPane.tsx +274 -0
  5. package/src/jdw/builtins/renderBuiltinWidgetLeaf.tsx +29 -0
  6. package/src/jdw/builtins/renderBuiltinWidgetNode.tsx +126 -0
  7. package/src/jdw/createBuiltinJdwRegistry.ts +111 -0
  8. package/src/jdw/cssRenderBackend.tsx +134 -0
  9. package/src/jdw/document.ts +38 -0
  10. package/src/jdw/fixtures/jdw-fixtures.ts +52 -0
  11. package/src/jdw/fixtures/jdw-sample-screens.ts +522 -0
  12. package/src/jdw/index.ts +45 -0
  13. package/src/jdw/parse.ts +1 -0
  14. package/src/jdw/renderJdw.tsx +32 -0
  15. package/src/json-config/JsonConfigWorkbench.tsx +316 -0
  16. package/src/json-config/index.ts +6 -0
  17. package/src/json-config/json-config-editor-state.ts +42 -0
  18. package/src/layout/Panel.tsx +146 -1
  19. package/src/layout/SideBarViewFrame.tsx +367 -328
  20. package/src/layout/WorkbenchCanvas.tsx +849 -0
  21. package/src/layout/WorkbenchFullscreen.tsx +368 -0
  22. package/src/layout/WorkbenchLayout.tsx +5 -0
  23. package/src/layout/WorkbenchLayoutBase.tsx +294 -0
  24. package/src/layout/WorkbenchPropertyPanel.tsx +497 -0
  25. package/src/layout/WorkbenchSidebarActions.tsx +274 -0
  26. package/src/layout/WorkbenchTree.tsx +351 -0
  27. package/src/layout/layoutHelpers.ts +25 -0
  28. package/src/modal/ConfirmDialog.tsx +61 -53
  29. package/src/modal/Modal.tsx +295 -35
  30. package/src/overlay/ContextMenu.tsx +146 -145
  31. package/src/primitives/AbsoluteBox.tsx +46 -0
  32. package/src/primitives/Badge.tsx +12 -12
  33. package/src/primitives/Button.tsx +44 -14
  34. package/src/primitives/Checkbox.tsx +11 -5
  35. package/src/primitives/EmptyState.tsx +27 -26
  36. package/src/primitives/Field.tsx +38 -38
  37. package/src/primitives/IconButton.tsx +5 -2
  38. package/src/primitives/List.tsx +111 -0
  39. package/src/primitives/NumberInput.tsx +38 -0
  40. package/src/primitives/ScrollArea.tsx +42 -0
  41. package/src/primitives/Select.tsx +1 -12
  42. package/src/primitives/StatusBar.tsx +46 -0
  43. package/src/primitives/TextArea.tsx +36 -0
  44. package/src/primitives/TextInput.tsx +11 -2
  45. package/src/primitives/WorkbenchChrome.tsx +424 -0
  46. package/src/primitives/WorkbenchEditor.tsx +394 -0
  47. package/src/primitives/index.ts +105 -0
  48. package/src/primitives/select/Select.tsx +266 -0
  49. package/src/primitives/select/index.ts +2 -0
  50. package/src/primitives/select/options.ts +38 -0
  51. package/src/primitives/select/overlay.ts +63 -0
  52. package/src/primitives/select/select.app.css +9 -0
  53. package/src/primitives/select/select.css +140 -0
  54. package/src/primitives/select/types.ts +18 -0
  55. package/src/primitives/styles.css +955 -0
  56. package/src/scrollbars.css +69 -0
  57. package/src/styles.css +7738 -1762
  58. package/src/utils/codicon.ts +17 -0
  59. package/src/widget-asset/WidgetAssetEditor.tsx +140 -0
  60. package/src/widget-asset/WidgetAssetMetadataForm.tsx +82 -0
  61. package/src/widget-asset/WidgetAssetModeControls.tsx +42 -0
  62. package/src/widget-asset/WidgetAssetSourceEditor.tsx +50 -0
  63. package/src/widget-asset/WidgetAssetWorkbench.tsx +112 -0
  64. package/src/widget-asset/index.ts +17 -0
  65. package/src/widget-asset/widget-asset-document.ts +37 -0
  66. package/src/widget-asset/widget-asset-mode.ts +3 -0
  67. package/src/widget-studio/builtin-widget-asset-catalog.ts +12 -0
  68. package/src/widget-studio/create-widget-studio-workspace-editor.tsx +79 -0
  69. package/src/widget-studio/index.ts +7 -0
  70. package/src/widget-studio/resolve-widget-studio-asset-catalog.ts +26 -0
  71. package/src/widget-tree/WidgetAssetPalette.tsx +77 -0
  72. package/src/widget-tree/WidgetInspectorPanel.tsx +266 -0
  73. package/src/widget-tree/WidgetSourceEditor.tsx +56 -0
  74. package/src/widget-tree/WidgetTreeLab.tsx +272 -0
  75. package/src/widget-tree/WidgetTreeModeControls.tsx +44 -0
  76. package/src/widget-tree/WidgetTreeSidePanel.tsx +49 -0
  77. package/src/widget-tree/WidgetTreeView.tsx +97 -0
  78. package/src/widget-tree/WidgetTreeWorkbench.tsx +111 -0
  79. package/src/widget-tree/WidgetTreeWorkspaceShell.tsx +154 -0
  80. package/src/widget-tree/demo-registry.ts +32 -0
  81. package/src/widget-tree/demo-widget-assets.ts +4 -0
  82. package/src/widget-tree/index.ts +27 -0
  83. package/src/widget-tree/widget-tree-document.ts +20 -0
  84. package/src/widget-tree/widget-tree-layout.ts +31 -0
  85. package/src/widget-tree/widget-tree-mode.ts +7 -0
  86. package/src/widget-tree/widget-tree-play-helpers.ts +74 -0
  87. package/src/workbench/ActivityBar.tsx +52 -52
  88. package/src/workbench/ArtifactShell.tsx +397 -0
  89. package/src/workbench/CommandPalette.tsx +819 -0
  90. package/src/workbench/ConfirmationFlow.tsx +245 -0
  91. package/src/workbench/MarkdownPreview.tsx +151 -0
  92. package/src/workbench/ShortcutCommandBridge.tsx +368 -0
  93. package/src/workbench/SplitView.tsx +136 -136
  94. package/src/workbench/StatusBar.tsx +178 -123
  95. package/src/workbench/StructuredArtifactEditor.tsx +205 -0
  96. package/src/workbench/Timeline.tsx +302 -0
  97. package/src/workbench/WorkbenchCanvasShell.tsx +941 -0
  98. package/src/workbench/WorkbenchShell.tsx +74 -70
  99. package/src/workbench/WorkbenchStandaloneShell.tsx +318 -291
  100. package/src/workbench/auth/WorkbenchAuthGate.tsx +61 -0
  101. package/src/workbench/auth/WorkbenchLoginView.tsx +635 -0
  102. package/src/workbench/auth/index.ts +19 -0
  103. package/src/workbench/chat/ChatComposer.tsx +165 -148
  104. package/src/workbench/chat/ChatMessageItem.tsx +10 -1
  105. package/src/workbench/chat/index.ts +9 -0
  106. package/src/workbench/chat/slashCommand.ts +28 -0
  107. package/src/workbench/chat/useChatRuntimeState.ts +76 -0
  108. package/src/workbench/chat/useSlashCommandSuggest.ts +101 -0
  109. package/src/workbench/commands.ts +520 -490
  110. package/src/workbench/index.ts +443 -98
  111. package/src/workbench/keyboard.ts +53 -0
  112. package/src/workbench/schema/index.ts +48 -0
  113. package/src/workbench/schema/workbenchDocument.ts +31 -0
  114. package/src/workbench/schema/workbenchDocumentActions.ts +6 -0
  115. package/src/workbench/schema/workbenchDocumentAdapter.ts +9 -0
  116. package/src/workbench/schema/workbenchDocumentPatch.ts +13 -0
  117. package/src/workbench/schema/workbenchDocumentRenderer.tsx +702 -0
  118. package/src/workbench/settings/NavigationPanel.tsx +47 -0
  119. package/src/workbench/settings/SchemaForm.tsx +420 -0
  120. package/src/workbench/settings/SectionedPanel.tsx +415 -0
  121. package/src/workbench/settings/StructuredDataForm.tsx +539 -0
  122. package/src/workbench/settings/StructuredDataSchemaPanel.tsx +559 -0
  123. package/src/workbench/settings/StructuredDataSchemaPanelEmbed.tsx +21 -0
  124. package/src/workbench/settings/StructuredDataSchemaPanelFrame.tsx +76 -0
  125. package/src/workbench/settings/StructuredDataTableView.tsx +127 -0
  126. package/src/workbench/settings/WorkbenchPanelRegion.tsx +46 -0
  127. package/src/workbench/settings/WorkbenchSettingsModal.tsx +21 -12
  128. package/src/workbench/settings/WorkbenchSettingsNav.tsx +38 -22
  129. package/src/workbench/settings/index.ts +135 -0
  130. package/src/workbench/settings/panel-region.css +21 -0
  131. package/src/workbench/settings/sectionedPanelScrollSpy.ts +143 -0
  132. package/src/workbench/settings/structured-data-schema-panel.css +330 -0
  133. package/src/workbench/settings/structured-data-table-view.css +85 -0
  134. package/src/workbench/settings/structuredDataSchema.ts +886 -0
  135. package/src/workbench/shell.ts +15 -0
  136. package/src/workbench/shellState.ts +203 -203
  137. package/src/workbench/standalone.ts +101 -94
  138. package/src/workbench/status.ts +129 -0
  139. package/src/workbench/theme.ts +44 -0
  140. package/src/workbench/workspace/MultiProviderExplorer.tsx +625 -0
  141. package/src/workbench/workspace/WorkspaceDraftsContext.tsx +111 -0
  142. package/src/workbench/workspace/WorkspaceEditor.tsx +47 -12
  143. package/src/workbench/workspace/WorkspaceEditorPanel.tsx +334 -353
  144. package/src/workbench/workspace/WorkspaceExplorer.tsx +532 -524
  145. package/src/workbench/workspace/WorkspaceFileIcon.tsx +32 -2
  146. package/src/workbench/workspace/WorkspaceSearchPanel.tsx +113 -113
  147. package/src/workbench/workspace/WorkspaceSearchResults.tsx +47 -47
  148. package/src/workbench/workspace/index.ts +156 -98
  149. package/src/workbench/workspace/mimeType.ts +45 -0
  150. package/src/workbench/workspace/path.ts +10 -10
  151. package/src/workbench/workspace/search.ts +6 -6
  152. package/src/workbench/workspace/tree.ts +1 -1
  153. package/src/workbench/workspace/types.ts +10 -10
  154. package/src/workbench/workspace/useVirtualWorkspace.ts +111 -98
  155. package/src/workbench/workspace/workspaceJsonDiagnostics.ts +83 -0
package/package.json CHANGED
@@ -1,32 +1,55 @@
1
1
  {
2
2
  "name": "@workbench-kit/react",
3
- "version": "0.0.1-prototype.0",
3
+ "version": "0.0.2-prototype.0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
+ "./modal": "./src/modal/Modal.tsx",
9
+ "./overlay": "./src/overlay/ContextMenu.tsx",
10
+ "./primitives": "./src/primitives/index.ts",
11
+ "./primitives.css": "./src/primitives/styles.css",
12
+ "./workbench/auth": "./src/workbench/auth/index.ts",
8
13
  "./workbench/chat": "./src/workbench/chat/index.ts",
9
14
  "./workbench/settings": "./src/workbench/settings/index.ts",
10
15
  "./workbench": "./src/workbench/index.ts",
16
+ "./workbench/markdown-preview": "./src/workbench/MarkdownPreview.tsx",
17
+ "./workbench/shell": "./src/workbench/shell.ts",
18
+ "./workbench/split-view": "./src/workbench/SplitView.tsx",
11
19
  "./workbench/workspace": "./src/workbench/workspace/index.ts",
20
+ "./workbench/workspace/editor": "./src/workbench/workspace/WorkspaceEditor.tsx",
21
+ "./workbench/workspace/explorer": "./src/workbench/workspace/WorkspaceExplorer.tsx",
22
+ "./workbench/workspace/file-icon": "./src/workbench/workspace/WorkspaceFileIcon.tsx",
23
+ "./jdw": "./src/jdw/index.ts",
24
+ "./jdw/document": "./src/jdw/document.ts",
25
+ "./jdw/parse": "./src/jdw/parse.ts",
26
+ "./jdw/preview": "./src/jdw/JdwPreview.tsx",
27
+ "./jdw/samples": "./src/jdw/fixtures/jdw-sample-screens.ts",
28
+ "./jdw/config": "./src/json-config/index.ts",
29
+ "./widget-tree": "./src/widget-tree/index.ts",
30
+ "./widget-asset": "./src/widget-asset/index.ts",
31
+ "./widget-studio": "./src/widget-studio/index.ts",
12
32
  "./styles.css": "./src/styles.css"
13
33
  },
14
34
  "files": [
15
35
  "src",
36
+ "!src/workbench/demo",
16
37
  "!src/**/*.test.ts",
17
38
  "!src/**/*.test.tsx",
18
39
  "!src/**/*.stories.ts",
19
40
  "!src/**/*.stories.tsx"
20
41
  ],
21
42
  "dependencies": {
43
+ "@dnd-kit/core": "^6.3.1",
22
44
  "@vscode/codicons": "^0.0.45",
23
- "@workbench-kit/core": "0.0.1-prototype.0",
24
- "@workbench-kit/runtime": "0.0.1-prototype.0",
25
- "@workbench-kit/adapters": "0.0.1-prototype.0",
26
- "@workbench-kit/workspace": "0.0.1-prototype.0",
27
- "@workbench-kit/tokens": "0.0.1-prototype.0",
28
- "@workbench-kit/services": "0.0.1-prototype.0",
29
- "@workbench-kit/contracts": "0.0.1-prototype.0"
45
+ "@workbench-kit/adapters": "0.0.2-prototype.0.1.2",
46
+ "@workbench-kit/contracts": "0.0.2-prototype.0.1.2",
47
+ "@workbench-kit/platform": "0.0.2-prototype.0.1.2",
48
+ "@workbench-kit/services": "0.0.2-prototype.0.1.2",
49
+ "@workbench-kit/tokens": "0.0.2-prototype.0.1.2",
50
+ "@workbench-kit/workspace": "0.0.2-prototype.0.1.2",
51
+ "@workbench-kit/runtime": "0.0.2-prototype.0.1.2",
52
+ "@workbench-kit/jdw": "0.0.2-prototype.0.1.2"
30
53
  },
31
54
  "peerDependencies": {
32
55
  "@monaco-editor/react": "^4.7.0",
@@ -53,10 +76,11 @@
53
76
  },
54
77
  "repository": {
55
78
  "type": "git",
56
- "url": "git+https://github.com/NewChoBo/newchobo-ui-package.git",
79
+ "url": "git+https://github.com/NewChoBo/workbench-kit.git",
57
80
  "directory": "packages/react"
58
81
  },
59
82
  "scripts": {
83
+ "test": "pnpm exec vitest run --config ../../vitest.config.ts src/widget-tree",
60
84
  "typecheck": "tsc -p tsconfig.json --noEmit"
61
85
  }
62
86
  }
package/src/index.ts CHANGED
@@ -1,43 +1,545 @@
1
- export { Modal } from './modal/Modal';
2
- export type { ModalProps } from './modal/Modal';
3
- export { commandMenuItemsToContextMenuItems } from './workbench/commands';
4
- export { ConfirmDialog } from './modal/ConfirmDialog';
5
- export type { ConfirmDialogProps } from './modal/ConfirmDialog';
6
- export { ContextMenu } from './overlay/ContextMenu';
7
- export type { ContextMenuItem, ContextMenuProps } from './overlay/ContextMenu';
8
- export { Panel, PanelBody, PanelHeader } from './layout/Panel';
9
- export type { PanelBodyProps, PanelHeaderProps, PanelProps } from './layout/Panel';
10
- export {
11
- SideBarHeaderControl,
12
- SideBarList,
13
- SideBarListItem,
14
- SideBarViewFrame,
15
- SideBarRow,
16
- SideBarScrollSpacer,
17
- } from './layout/SideBarViewFrame';
18
- export type {
19
- SideBarHeaderControlProps,
20
- SideBarListItemProps,
21
- SideBarListProps,
22
- SideBarViewFrameProps,
23
- SideBarRowProps,
24
- SideBarScrollSpacerProps,
25
- } from './layout/SideBarViewFrame';
26
- export { Badge } from './primitives/Badge';
27
- export type { BadgeProps } from './primitives/Badge';
28
- export { Button } from './primitives/Button';
29
- export type { ButtonProps } from './primitives/Button';
30
- export { Checkbox } from './primitives/Checkbox';
31
- export type { CheckboxProps } from './primitives/Checkbox';
32
- export { EmptyState } from './primitives/EmptyState';
33
- export type { EmptyStateProps } from './primitives/EmptyState';
34
- export { Field } from './primitives/Field';
35
- export type { FieldProps } from './primitives/Field';
36
- export { IconButton } from './primitives/IconButton';
37
- export type { IconButtonProps } from './primitives/IconButton';
38
- export { Select } from './primitives/Select';
39
- export type { SelectProps } from './primitives/Select';
40
- export { TextInput } from './primitives/TextInput';
41
- export type { TextInputProps } from './primitives/TextInput';
42
- export { Toolbar } from './primitives/Toolbar';
43
- export type { ToolbarProps } from './primitives/Toolbar';
1
+ export { Modal } from './modal/Modal';
2
+ export type { ModalProps } from './modal/Modal';
3
+ export { commandMenuItemsToContextMenuItems } from './workbench/commands';
4
+ export {
5
+ WorkbenchArtifactModeControls,
6
+ WorkbenchArtifactPreview,
7
+ WorkbenchArtifactShell,
8
+ formatWorkbenchArtifactContent,
9
+ getWorkbenchArtifactExtension,
10
+ getWorkbenchArtifactTitle,
11
+ getWorkbenchPreviewRenderer,
12
+ getWorkbenchPreviewRendererMatch,
13
+ selectWorkbenchPreviewRenderer,
14
+ } from './workbench/ArtifactShell';
15
+ export type {
16
+ WorkbenchArtifactDescriptor,
17
+ WorkbenchArtifactMode,
18
+ WorkbenchArtifactModeControlsProps,
19
+ WorkbenchArtifactPreviewProps,
20
+ WorkbenchArtifactShellProps,
21
+ WorkbenchArtifactShellRenderCode,
22
+ WorkbenchArtifactShellRenderPreview,
23
+ WorkbenchPreviewRenderer,
24
+ WorkbenchPreviewRendererContext,
25
+ WorkbenchPreviewRendererMatch,
26
+ WorkbenchPreviewRendererMatchReason,
27
+ } from './workbench/ArtifactShell';
28
+ export {
29
+ WorkbenchCommandGroupShell,
30
+ WorkbenchCommandList,
31
+ WorkbenchCommandPalette,
32
+ WorkbenchCommandSuggest,
33
+ commandMenuItemsToWorkbenchCommandDescriptors,
34
+ commandMenuItemToWorkbenchCommandDescriptor,
35
+ filterWorkbenchCommands,
36
+ getNextWorkbenchCommandIndex,
37
+ getWorkbenchCommandExecutionLabel,
38
+ getWorkbenchCommandStatusLabel,
39
+ groupWorkbenchCommands,
40
+ isWorkbenchCommandRunnable,
41
+ } from './workbench/CommandPalette';
42
+ export {
43
+ WorkbenchShortcutCommandBridge,
44
+ getWorkbenchShortcutCommandBindings,
45
+ getWorkbenchShortcutFromEvent,
46
+ matchesWorkbenchShortcut,
47
+ runWorkbenchShortcutCommand,
48
+ useWorkbenchShortcutCommands,
49
+ } from './workbench/ShortcutCommandBridge';
50
+ export type {
51
+ WorkbenchCommandDescriptor,
52
+ WorkbenchCommandDescriptorOverrides,
53
+ WorkbenchCommandExecution,
54
+ WorkbenchCommandFeedback,
55
+ WorkbenchCommandFilterInput,
56
+ WorkbenchCommandGroup,
57
+ WorkbenchCommandGroupBy,
58
+ WorkbenchCommandGroupShellProps,
59
+ WorkbenchCommandGroupingInput,
60
+ WorkbenchCommandListProps,
61
+ WorkbenchCommandNavigationInput,
62
+ WorkbenchCommandOutput,
63
+ WorkbenchCommandPaletteProps,
64
+ WorkbenchCommandRunContext,
65
+ WorkbenchCommandRunSource,
66
+ WorkbenchCommandSideEffect,
67
+ WorkbenchCommandStatus,
68
+ WorkbenchCommandSuggestProps,
69
+ } from './workbench/CommandPalette';
70
+ export type {
71
+ UseWorkbenchShortcutCommandsOptions,
72
+ WorkbenchShortcutCommandBinding,
73
+ WorkbenchShortcutCommandBindingInput,
74
+ WorkbenchShortcutCommandBridgeProps,
75
+ WorkbenchShortcutCommandMissReason,
76
+ WorkbenchShortcutCommandRunInput,
77
+ WorkbenchShortcutCommandRunResult,
78
+ WorkbenchShortcutEventLike,
79
+ WorkbenchShortcutMatchInput,
80
+ WorkbenchShortcutPlatform,
81
+ } from './workbench/ShortcutCommandBridge';
82
+ export {
83
+ WorkbenchConfirmationFlow,
84
+ getWorkbenchConfirmationButtonVariant,
85
+ getWorkbenchConfirmationConfirmLabel,
86
+ getWorkbenchConfirmationSideEffect,
87
+ getWorkbenchConfirmationStatus,
88
+ getWorkbenchConfirmationVariant,
89
+ isWorkbenchConfirmationActionDisabled,
90
+ } from './workbench/ConfirmationFlow';
91
+ export type {
92
+ WorkbenchConfirmationAction,
93
+ WorkbenchConfirmationCancelContext,
94
+ WorkbenchConfirmationCloseContext,
95
+ WorkbenchConfirmationConfirmContext,
96
+ WorkbenchConfirmationContext,
97
+ WorkbenchConfirmationFlowProps,
98
+ WorkbenchConfirmationReason,
99
+ WorkbenchConfirmationSideEffect,
100
+ WorkbenchConfirmationVariant,
101
+ } from './workbench/ConfirmationFlow';
102
+ export {
103
+ WorkbenchAuthGate,
104
+ WorkbenchLoginBrandMark,
105
+ WorkbenchLoginView,
106
+ WorkbenchPasswordResetView,
107
+ WorkbenchSignUpView,
108
+ } from './workbench/auth';
109
+ export type {
110
+ WorkbenchAuthGateProps,
111
+ WorkbenchAuthStatus,
112
+ WorkbenchLoginCredentials,
113
+ WorkbenchLoginSubmitContext,
114
+ WorkbenchLoginViewProps,
115
+ WorkbenchPasswordResetCredentials,
116
+ WorkbenchPasswordResetSubmitContext,
117
+ WorkbenchPasswordResetViewProps,
118
+ WorkbenchSignUpCredentials,
119
+ WorkbenchSignUpSubmitContext,
120
+ WorkbenchSignUpViewProps,
121
+ } from './workbench/auth';
122
+ export {
123
+ WorkbenchTimeline,
124
+ WorkbenchTimelineItem,
125
+ formatWorkbenchTimelineMetadataValue,
126
+ getWorkbenchTimelineEventIconClass,
127
+ getWorkbenchTimelineEventLabel,
128
+ getWorkbenchTimelineEventStatus,
129
+ getWorkbenchTimelineMetadataEntries,
130
+ } from './workbench/Timeline';
131
+ export type {
132
+ WorkbenchTimelineEvent,
133
+ WorkbenchTimelineEventKind,
134
+ WorkbenchTimelineItemProps,
135
+ WorkbenchTimelineMessageSource,
136
+ WorkbenchTimelineMetadataEntry,
137
+ WorkbenchTimelineProps,
138
+ WorkbenchTimelineRenderContext,
139
+ WorkbenchTimelineRenderMetadata,
140
+ WorkbenchTimelineRenderPayload,
141
+ WorkbenchTimelineVariant,
142
+ } from './workbench/Timeline';
143
+ export { ConfirmDialog } from './modal/ConfirmDialog';
144
+ export type { ConfirmDialogProps } from './modal/ConfirmDialog';
145
+ export { ContextMenu } from './overlay/ContextMenu';
146
+ export type { ContextMenuItem, ContextMenuProps } from './overlay/ContextMenu';
147
+ export {
148
+ getWorkbenchStatusDescriptor,
149
+ getWorkbenchStatusLabel,
150
+ getWorkbenchStatusVariant,
151
+ isWorkbenchStatus,
152
+ isWorkbenchStatusBusy,
153
+ isWorkbenchStatusDisabled,
154
+ isWorkbenchStatusUnavailable,
155
+ workbenchStatusFromLifecycleStatus,
156
+ } from './workbench/status';
157
+ export type {
158
+ WorkbenchStatus,
159
+ WorkbenchStatusDescriptor,
160
+ WorkbenchStatusVariant,
161
+ } from './workbench/status';
162
+ export {
163
+ FilterBar,
164
+ FilterBarActiveChips,
165
+ FilterBarRow,
166
+ FilterChip,
167
+ HelpText,
168
+ Panel,
169
+ PanelBody,
170
+ PanelFooter,
171
+ PanelHeader,
172
+ PreviewPane,
173
+ PreviewPaneContent,
174
+ PreviewPaneDetails,
175
+ PreviewPaneText,
176
+ PreviewPaneTitle,
177
+ PreviewPaneViewport,
178
+ } from './layout/Panel';
179
+ export type {
180
+ FilterBarActiveChipsProps,
181
+ FilterBarRowProps,
182
+ FilterBarProps,
183
+ FilterChipProps,
184
+ HelpTextProps,
185
+ PanelBodyProps,
186
+ PanelFooterProps,
187
+ PanelHeaderProps,
188
+ PanelProps,
189
+ PreviewPaneContentProps,
190
+ PreviewPaneDetailsProps,
191
+ PreviewPaneProps,
192
+ PreviewPaneTextProps,
193
+ PreviewPaneTitleProps,
194
+ PreviewPaneViewportProps,
195
+ } from './layout/Panel';
196
+ export {
197
+ SideBarHeaderControl,
198
+ SideBarList,
199
+ SideBarListItem,
200
+ SideBarViewFrame,
201
+ SideBarRow,
202
+ SideBarScrollSpacer,
203
+ } from './layout/SideBarViewFrame';
204
+ export type {
205
+ SideBarHeaderControlProps,
206
+ SideBarListItemProps,
207
+ SideBarListProps,
208
+ SideBarViewFrameProps,
209
+ SideBarRowProps,
210
+ SideBarScrollSpacerProps,
211
+ } from './layout/SideBarViewFrame';
212
+ export {
213
+ WorkbenchActionList,
214
+ WorkbenchActionListItem,
215
+ WorkbenchSidebarSection,
216
+ } from './layout/WorkbenchSidebarActions';
217
+ export type {
218
+ WorkbenchActionItem,
219
+ WorkbenchActionListItemProps,
220
+ WorkbenchActionListProps,
221
+ WorkbenchActionStatus,
222
+ WorkbenchSidebarSectionProps,
223
+ } from './layout/WorkbenchSidebarActions';
224
+ export {
225
+ WorkbenchBanner,
226
+ WorkbenchBannerIcon,
227
+ WorkbenchBannerMessage,
228
+ WorkbenchCanvasDragGhost,
229
+ WorkbenchCanvasDragGhostContent,
230
+ WorkbenchCanvasDragPreviewFrame,
231
+ WorkbenchCanvasFrameSurface,
232
+ WorkbenchCanvasDropIndicator,
233
+ WorkbenchCanvasGuideBlock,
234
+ WorkbenchCanvasGuideLayer,
235
+ WorkbenchCanvasGuideLine,
236
+ WorkbenchCanvasItemBadge,
237
+ WorkbenchCanvasItemFrame,
238
+ WorkbenchCanvasFrameHandle,
239
+ WorkbenchCanvasPaneSurface,
240
+ WorkbenchCanvasPlaceholder,
241
+ WorkbenchCanvasResizeHandle,
242
+ WorkbenchCanvasResizeFrame,
243
+ WorkbenchCanvasResizePreview,
244
+ WorkbenchCanvasSelectionMarquee,
245
+ WorkbenchCanvasViewport,
246
+ WorkbenchCenter,
247
+ WorkbenchColorInput,
248
+ WorkbenchColorRow,
249
+ WorkbenchColumn,
250
+ WorkbenchDivider,
251
+ WorkbenchDragPreview,
252
+ WorkbenchEditorBody,
253
+ WorkbenchEditorBottomPanel,
254
+ WorkbenchEditorBottomPanelBody,
255
+ WorkbenchEditorBottomPanelHeader,
256
+ WorkbenchEditorBottomPanelTitle,
257
+ WorkbenchEditorFrame,
258
+ WorkbenchEditorViewport,
259
+ WorkbenchFill,
260
+ WorkbenchFloatingMenu,
261
+ WorkbenchFloatingMenuItem,
262
+ WorkbenchFullscreenBackdrop,
263
+ WorkbenchFullscreenBackdropImage,
264
+ WorkbenchFullscreenBackdropScrim,
265
+ WorkbenchFullscreenButton,
266
+ WorkbenchFullscreenCarousel,
267
+ WorkbenchFullscreenCarouselViewport,
268
+ WorkbenchFullscreenContent,
269
+ WorkbenchFullscreenEmpty,
270
+ WorkbenchFullscreenEmptyText,
271
+ WorkbenchFullscreenEmptyTitle,
272
+ WorkbenchFullscreenHeader,
273
+ WorkbenchFullscreenHeaderActions,
274
+ WorkbenchFullscreenHeaderBrand,
275
+ WorkbenchFullscreenHeaderSubtitle,
276
+ WorkbenchFullscreenHeaderTitle,
277
+ WorkbenchFullscreenHero,
278
+ WorkbenchFullscreenHeroActionRow,
279
+ WorkbenchFullscreenHeroMeta,
280
+ WorkbenchFullscreenHeroStatus,
281
+ WorkbenchFullscreenHeroTitle,
282
+ WorkbenchFullscreenNavButton,
283
+ WorkbenchFullscreenOption,
284
+ WorkbenchFullscreenOptionArtwork,
285
+ WorkbenchFullscreenOptionBody,
286
+ WorkbenchFullscreenOptionImage,
287
+ WorkbenchFullscreenOptionMeta,
288
+ WorkbenchFullscreenOptionPlaceholder,
289
+ WorkbenchFullscreenOptionTitle,
290
+ WorkbenchFullscreenPill,
291
+ WorkbenchFullscreenPillRow,
292
+ WorkbenchFullscreenLauncherRoot,
293
+ WorkbenchPane,
294
+ WorkbenchPanelScroll,
295
+ WorkbenchPanelSurface,
296
+ WorkbenchParseError,
297
+ WorkbenchPreviewCanvas,
298
+ WorkbenchProblemItem,
299
+ WorkbenchProblemList,
300
+ WorkbenchPropertyCard,
301
+ WorkbenchPropertyCheckboxRow,
302
+ WorkbenchPropertyColorRow,
303
+ WorkbenchPropertyGrid,
304
+ WorkbenchPropertyHint,
305
+ WorkbenchPropertyInline,
306
+ WorkbenchPropertyKeyValue,
307
+ WorkbenchPropertyNumberRow,
308
+ WorkbenchPropertyPanel,
309
+ WorkbenchPropertyRangeRow,
310
+ WorkbenchPropertyRow,
311
+ WorkbenchPropertySection,
312
+ WorkbenchPropertySelectActionRow,
313
+ WorkbenchPropertySelectRow,
314
+ WorkbenchPropertyStack,
315
+ WorkbenchPropertyTextRow,
316
+ WorkbenchPropertyToggleButton,
317
+ WorkbenchRenderSurface,
318
+ WorkbenchRoot,
319
+ WorkbenchSectionTitle,
320
+ WorkbenchTemplateGlyph,
321
+ WorkbenchTree,
322
+ WorkbenchTreeActionButton,
323
+ WorkbenchTreeDragOverlay,
324
+ WorkbenchTreeDropLine,
325
+ WorkbenchTreeDropZone,
326
+ WorkbenchTreeExpander,
327
+ WorkbenchTreeItem,
328
+ } from './layout/WorkbenchLayout';
329
+ export type {
330
+ WorkbenchBannerIconProps,
331
+ WorkbenchBannerMessageProps,
332
+ WorkbenchBannerProps,
333
+ WorkbenchCanvasDragGhostContentProps,
334
+ WorkbenchCanvasDragGhostProps,
335
+ WorkbenchCanvasDragPreviewFrameProps,
336
+ WorkbenchCanvasFrameSurfaceProps,
337
+ WorkbenchCanvasDropIndicatorProps,
338
+ WorkbenchCanvasGuideBlockProps,
339
+ WorkbenchCanvasGuideBlockTone,
340
+ WorkbenchCanvasGuideLayerProps,
341
+ WorkbenchCanvasGuideLineAxis,
342
+ WorkbenchCanvasGuideLineProps,
343
+ WorkbenchCanvasGuideLineSource,
344
+ WorkbenchCanvasItemBadgeProps,
345
+ WorkbenchCanvasItemFrameProps,
346
+ WorkbenchCanvasFrameHandleProps,
347
+ WorkbenchCanvasPaneSurfaceProps,
348
+ WorkbenchCanvasPlaceholderProps,
349
+ WorkbenchCanvasResizeHandleProps,
350
+ WorkbenchCanvasResizeFrameProps,
351
+ WorkbenchCanvasResizeHandlePosition,
352
+ WorkbenchCanvasResizePreviewProps,
353
+ WorkbenchCanvasSelectionMarqueeProps,
354
+ WorkbenchCanvasViewportProps,
355
+ WorkbenchCenterProps,
356
+ WorkbenchColorInputProps,
357
+ WorkbenchColorRowProps,
358
+ WorkbenchColumnProps,
359
+ WorkbenchDividerProps,
360
+ WorkbenchDragPreviewProps,
361
+ WorkbenchEditorBodyProps,
362
+ WorkbenchEditorBottomPanelBodyProps,
363
+ WorkbenchEditorBottomPanelHeaderProps,
364
+ WorkbenchEditorBottomPanelProps,
365
+ WorkbenchEditorBottomPanelTitleProps,
366
+ WorkbenchEditorFrameProps,
367
+ WorkbenchEditorViewportProps,
368
+ WorkbenchFillProps,
369
+ WorkbenchFloatingMenuAlign,
370
+ WorkbenchFloatingMenuItemProps,
371
+ WorkbenchFloatingMenuPlacement,
372
+ WorkbenchFloatingMenuProps,
373
+ WorkbenchFullscreenArtworkTone,
374
+ WorkbenchFullscreenBackdropImageProps,
375
+ WorkbenchFullscreenBackdropProps,
376
+ WorkbenchFullscreenBackdropScrimProps,
377
+ WorkbenchFullscreenButtonProps,
378
+ WorkbenchFullscreenCarouselProps,
379
+ WorkbenchFullscreenCarouselViewportProps,
380
+ WorkbenchFullscreenContentProps,
381
+ WorkbenchFullscreenEmptyProps,
382
+ WorkbenchFullscreenEmptyTextProps,
383
+ WorkbenchFullscreenEmptyTitleProps,
384
+ WorkbenchFullscreenHeaderActionsProps,
385
+ WorkbenchFullscreenHeaderBrandProps,
386
+ WorkbenchFullscreenHeaderProps,
387
+ WorkbenchFullscreenHeaderSubtitleProps,
388
+ WorkbenchFullscreenHeaderTitleProps,
389
+ WorkbenchFullscreenHeroActionRowProps,
390
+ WorkbenchFullscreenHeroMetaProps,
391
+ WorkbenchFullscreenHeroProps,
392
+ WorkbenchFullscreenHeroStatusProps,
393
+ WorkbenchFullscreenHeroTitleProps,
394
+ WorkbenchFullscreenLauncherRootProps,
395
+ WorkbenchFullscreenNavButtonProps,
396
+ WorkbenchFullscreenOptionArtworkProps,
397
+ WorkbenchFullscreenOptionBodyProps,
398
+ WorkbenchFullscreenOptionImageProps,
399
+ WorkbenchFullscreenOptionMetaProps,
400
+ WorkbenchFullscreenOptionPlaceholderProps,
401
+ WorkbenchFullscreenOptionProps,
402
+ WorkbenchFullscreenOptionTitleProps,
403
+ WorkbenchFullscreenPillProps,
404
+ WorkbenchFullscreenPillRowProps,
405
+ WorkbenchPaneProps,
406
+ WorkbenchPanelScrollProps,
407
+ WorkbenchPanelSurfaceProps,
408
+ WorkbenchParseErrorProps,
409
+ WorkbenchPreviewCanvasProps,
410
+ WorkbenchProblemItemProps,
411
+ WorkbenchProblemListProps,
412
+ WorkbenchProblemSeverity,
413
+ WorkbenchPropertyCardProps,
414
+ WorkbenchPropertyCheckboxRowProps,
415
+ WorkbenchPropertyColorRowProps,
416
+ WorkbenchPropertyGridProps,
417
+ WorkbenchPropertyHintProps,
418
+ WorkbenchPropertyInlineProps,
419
+ WorkbenchPropertyKeyValueProps,
420
+ WorkbenchPropertyNumberRowProps,
421
+ WorkbenchPropertyPanelProps,
422
+ WorkbenchPropertyRangeRowProps,
423
+ WorkbenchPropertyRowProps,
424
+ WorkbenchPropertySectionProps,
425
+ WorkbenchPropertySelectOption,
426
+ WorkbenchPropertySelectActionRowProps,
427
+ WorkbenchPropertySelectRowProps,
428
+ WorkbenchPropertyStackProps,
429
+ WorkbenchPropertyTextRowProps,
430
+ WorkbenchPropertyToggleButtonProps,
431
+ WorkbenchRenderSurfaceProps,
432
+ WorkbenchRootProps,
433
+ WorkbenchSectionTitleProps,
434
+ WorkbenchTemplateGlyphIcon,
435
+ WorkbenchTemplateGlyphProps,
436
+ WorkbenchTreeActionButtonProps,
437
+ WorkbenchTreeDragOverlayProps,
438
+ WorkbenchTreeDropLineProps,
439
+ WorkbenchTreeDropZoneProps,
440
+ WorkbenchTreeExpanderProps,
441
+ WorkbenchTreeInteraction,
442
+ WorkbenchTreeItemProps,
443
+ WorkbenchTreeProps,
444
+ } from './layout/WorkbenchLayout';
445
+ export {
446
+ StatusBar as WorkbenchStatusBar,
447
+ StatusBarItem as WorkbenchStatusBarItem,
448
+ StatusBarSection as WorkbenchStatusBarSection,
449
+ } from './workbench/StatusBar';
450
+ export type {
451
+ StatusBarItemModel as WorkbenchStatusBarItemModel,
452
+ StatusBarItemProps as WorkbenchStatusBarItemProps,
453
+ StatusBarProps as WorkbenchStatusBarProps,
454
+ StatusBarSectionAlign as WorkbenchStatusBarSectionAlign,
455
+ StatusBarSectionModel as WorkbenchStatusBarSectionModel,
456
+ StatusBarSectionProps as WorkbenchStatusBarSectionProps,
457
+ } from './workbench/StatusBar';
458
+ export { AbsoluteBox } from './primitives/AbsoluteBox';
459
+ export type { AbsoluteBoxProps, WorkbenchRect } from './primitives/AbsoluteBox';
460
+ export { Badge } from './primitives/Badge';
461
+ export type { BadgeProps } from './primitives/Badge';
462
+ export { Button } from './primitives/Button';
463
+ export type { ButtonProps } from './primitives/Button';
464
+ export { Checkbox } from './primitives/Checkbox';
465
+ export type { CheckboxProps } from './primitives/Checkbox';
466
+ export { EmptyState } from './primitives/EmptyState';
467
+ export type { EmptyStateProps } from './primitives/EmptyState';
468
+ export { Field } from './primitives/Field';
469
+ export type { FieldProps } from './primitives/Field';
470
+ export { IconButton } from './primitives/IconButton';
471
+ export type { IconButtonProps } from './primitives/IconButton';
472
+ export { List, ListEmptyState, ListItem, ListItemActionButton } from './primitives/List';
473
+ export type {
474
+ ListEmptyStateProps,
475
+ ListItemActionButtonProps,
476
+ ListItemProps,
477
+ ListProps,
478
+ } from './primitives/List';
479
+ export { NumberInput } from './primitives/NumberInput';
480
+ export type { NumberInputProps } from './primitives/NumberInput';
481
+ export { StatusBar, StatusBarLabel, StatusBarSection } from './primitives/StatusBar';
482
+ export type {
483
+ StatusBarLabelProps,
484
+ StatusBarProps,
485
+ StatusBarSectionAlign,
486
+ StatusBarSectionProps,
487
+ StatusBarSeverity,
488
+ } from './primitives/StatusBar';
489
+ export {
490
+ ActivityBar,
491
+ Collapsible,
492
+ SideBar,
493
+ TabbedPanels,
494
+ WorkbenchShell,
495
+ } from './primitives/WorkbenchChrome';
496
+ export type {
497
+ ActivityBarProps,
498
+ ActivityItem,
499
+ CollapsibleProps,
500
+ SideBarProps,
501
+ TabbedPanelItem,
502
+ TabbedPanelsProps,
503
+ WorkbenchShellProps,
504
+ } from './primitives/WorkbenchChrome';
505
+ export {
506
+ ButtonGroup,
507
+ EditorTabs,
508
+ ResizablePanels,
509
+ SegmentedControl,
510
+ } from './primitives/WorkbenchEditor';
511
+ export type {
512
+ ButtonGroupProps,
513
+ EditorTab,
514
+ EditorTabDropPosition,
515
+ EditorTabsProps,
516
+ ResizablePanelsProps,
517
+ SegmentedControlOption,
518
+ SegmentedControlProps,
519
+ } from './primitives/WorkbenchEditor';
520
+ export { Select } from './primitives/Select';
521
+ export type { SelectProps } from './primitives/Select';
522
+ export { ScrollArea } from './primitives/ScrollArea';
523
+ export type {
524
+ ScrollAreaGutter,
525
+ ScrollAreaOrientation,
526
+ ScrollAreaProps,
527
+ ScrollAreaScrollbarVisibility,
528
+ } from './primitives/ScrollArea';
529
+ export { TextInput } from './primitives/TextInput';
530
+ export type { ControlWidth, TextInputProps } from './primitives/TextInput';
531
+ export { TextArea } from './primitives/TextArea';
532
+ export type { TextAreaProps } from './primitives/TextArea';
533
+ export { Toolbar } from './primitives/Toolbar';
534
+ export type { ToolbarProps } from './primitives/Toolbar';
535
+ export {
536
+ WorkspaceDraftsContext,
537
+ WorkspaceDraftsProvider,
538
+ useWorkspaceDrafts,
539
+ } from './workbench/workspace/WorkspaceDraftsContext';
540
+ export type {
541
+ WorkspaceDraftsContextValue,
542
+ WorkspaceDraftsProviderProps,
543
+ } from './workbench/workspace/WorkspaceDraftsContext';
544
+ export { StructuredArtifactEditor } from './workbench/StructuredArtifactEditor';
545
+ export type { StructuredArtifactEditorProps } from './workbench/StructuredArtifactEditor';