@workbench-kit/react 0.0.1-prototype.0 → 0.0.2-prototype.0.1.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.
- package/package.json +33 -9
- package/src/index.ts +545 -43
- package/src/jdw/JdwPreview.tsx +38 -0
- package/src/jdw/JsonCodeEditorPane.tsx +274 -0
- package/src/jdw/builtins/renderBuiltinWidgetLeaf.tsx +29 -0
- package/src/jdw/builtins/renderBuiltinWidgetNode.tsx +126 -0
- package/src/jdw/createBuiltinJdwRegistry.ts +111 -0
- package/src/jdw/cssRenderBackend.tsx +134 -0
- package/src/jdw/document.ts +38 -0
- package/src/jdw/fixtures/jdw-fixtures.ts +52 -0
- package/src/jdw/fixtures/jdw-sample-screens.ts +522 -0
- package/src/jdw/index.ts +45 -0
- package/src/jdw/parse.ts +1 -0
- package/src/jdw/renderJdw.tsx +32 -0
- package/src/json-config/JsonConfigWorkbench.tsx +316 -0
- package/src/json-config/index.ts +6 -0
- package/src/json-config/json-config-editor-state.ts +42 -0
- package/src/layout/Panel.tsx +146 -1
- package/src/layout/SideBarViewFrame.tsx +367 -328
- package/src/layout/WorkbenchCanvas.tsx +849 -0
- package/src/layout/WorkbenchFullscreen.tsx +368 -0
- package/src/layout/WorkbenchLayout.tsx +5 -0
- package/src/layout/WorkbenchLayoutBase.tsx +294 -0
- package/src/layout/WorkbenchPropertyPanel.tsx +497 -0
- package/src/layout/WorkbenchSidebarActions.tsx +274 -0
- package/src/layout/WorkbenchTree.tsx +351 -0
- package/src/layout/layoutHelpers.ts +25 -0
- package/src/modal/ConfirmDialog.tsx +61 -53
- package/src/modal/Modal.tsx +295 -35
- package/src/overlay/ContextMenu.tsx +146 -145
- package/src/primitives/AbsoluteBox.tsx +46 -0
- package/src/primitives/Badge.tsx +12 -12
- package/src/primitives/Button.tsx +44 -14
- package/src/primitives/Checkbox.tsx +11 -5
- package/src/primitives/EmptyState.tsx +27 -26
- package/src/primitives/Field.tsx +38 -38
- package/src/primitives/IconButton.tsx +5 -2
- package/src/primitives/List.tsx +111 -0
- package/src/primitives/NumberInput.tsx +38 -0
- package/src/primitives/ScrollArea.tsx +42 -0
- package/src/primitives/Select.tsx +1 -12
- package/src/primitives/StatusBar.tsx +46 -0
- package/src/primitives/TextArea.tsx +36 -0
- package/src/primitives/TextInput.tsx +11 -2
- package/src/primitives/WorkbenchChrome.tsx +424 -0
- package/src/primitives/WorkbenchEditor.tsx +394 -0
- package/src/primitives/index.ts +105 -0
- package/src/primitives/select/Select.tsx +266 -0
- package/src/primitives/select/index.ts +2 -0
- package/src/primitives/select/options.ts +38 -0
- package/src/primitives/select/overlay.ts +63 -0
- package/src/primitives/select/select.app.css +9 -0
- package/src/primitives/select/select.css +140 -0
- package/src/primitives/select/types.ts +18 -0
- package/src/primitives/styles.css +955 -0
- package/src/scrollbars.css +69 -0
- package/src/styles.css +7738 -1762
- package/src/utils/codicon.ts +17 -0
- package/src/widget-asset/WidgetAssetEditor.tsx +140 -0
- package/src/widget-asset/WidgetAssetMetadataForm.tsx +82 -0
- package/src/widget-asset/WidgetAssetModeControls.tsx +42 -0
- package/src/widget-asset/WidgetAssetSourceEditor.tsx +50 -0
- package/src/widget-asset/WidgetAssetWorkbench.tsx +112 -0
- package/src/widget-asset/index.ts +17 -0
- package/src/widget-asset/widget-asset-document.ts +37 -0
- package/src/widget-asset/widget-asset-mode.ts +3 -0
- package/src/widget-studio/builtin-widget-asset-catalog.ts +12 -0
- package/src/widget-studio/create-widget-studio-workspace-editor.tsx +79 -0
- package/src/widget-studio/index.ts +7 -0
- package/src/widget-studio/resolve-widget-studio-asset-catalog.ts +26 -0
- package/src/widget-tree/WidgetAssetPalette.tsx +77 -0
- package/src/widget-tree/WidgetInspectorPanel.tsx +266 -0
- package/src/widget-tree/WidgetSourceEditor.tsx +56 -0
- package/src/widget-tree/WidgetTreeLab.tsx +272 -0
- package/src/widget-tree/WidgetTreeModeControls.tsx +44 -0
- package/src/widget-tree/WidgetTreeSidePanel.tsx +49 -0
- package/src/widget-tree/WidgetTreeView.tsx +97 -0
- package/src/widget-tree/WidgetTreeWorkbench.tsx +111 -0
- package/src/widget-tree/WidgetTreeWorkspaceShell.tsx +154 -0
- package/src/widget-tree/demo-registry.ts +32 -0
- package/src/widget-tree/demo-widget-assets.ts +4 -0
- package/src/widget-tree/index.ts +27 -0
- package/src/widget-tree/widget-tree-document.ts +20 -0
- package/src/widget-tree/widget-tree-layout.ts +31 -0
- package/src/widget-tree/widget-tree-mode.ts +7 -0
- package/src/widget-tree/widget-tree-play-helpers.ts +74 -0
- package/src/workbench/ActivityBar.tsx +52 -52
- package/src/workbench/ArtifactShell.tsx +397 -0
- package/src/workbench/CommandPalette.tsx +819 -0
- package/src/workbench/ConfirmationFlow.tsx +245 -0
- package/src/workbench/MarkdownPreview.tsx +151 -0
- package/src/workbench/ShortcutCommandBridge.tsx +368 -0
- package/src/workbench/SplitView.tsx +136 -136
- package/src/workbench/StatusBar.tsx +178 -123
- package/src/workbench/StructuredArtifactEditor.tsx +205 -0
- package/src/workbench/Timeline.tsx +302 -0
- package/src/workbench/WorkbenchCanvasShell.tsx +941 -0
- package/src/workbench/WorkbenchShell.tsx +74 -70
- package/src/workbench/WorkbenchStandaloneShell.tsx +318 -291
- package/src/workbench/auth/WorkbenchAuthGate.tsx +61 -0
- package/src/workbench/auth/WorkbenchLoginView.tsx +635 -0
- package/src/workbench/auth/index.ts +19 -0
- package/src/workbench/chat/ChatComposer.tsx +165 -148
- package/src/workbench/chat/ChatMessageItem.tsx +10 -1
- package/src/workbench/chat/index.ts +9 -0
- package/src/workbench/chat/slashCommand.ts +28 -0
- package/src/workbench/chat/useChatRuntimeState.ts +76 -0
- package/src/workbench/chat/useSlashCommandSuggest.ts +101 -0
- package/src/workbench/commands.ts +520 -490
- package/src/workbench/index.ts +443 -98
- package/src/workbench/keyboard.ts +53 -0
- package/src/workbench/schema/index.ts +48 -0
- package/src/workbench/schema/workbenchDocument.ts +31 -0
- package/src/workbench/schema/workbenchDocumentActions.ts +6 -0
- package/src/workbench/schema/workbenchDocumentAdapter.ts +9 -0
- package/src/workbench/schema/workbenchDocumentPatch.ts +13 -0
- package/src/workbench/schema/workbenchDocumentRenderer.tsx +702 -0
- package/src/workbench/settings/NavigationPanel.tsx +47 -0
- package/src/workbench/settings/SchemaForm.tsx +420 -0
- package/src/workbench/settings/SectionedPanel.tsx +415 -0
- package/src/workbench/settings/StructuredDataForm.tsx +539 -0
- package/src/workbench/settings/StructuredDataSchemaPanel.tsx +559 -0
- package/src/workbench/settings/StructuredDataSchemaPanelEmbed.tsx +21 -0
- package/src/workbench/settings/StructuredDataSchemaPanelFrame.tsx +76 -0
- package/src/workbench/settings/StructuredDataTableView.tsx +127 -0
- package/src/workbench/settings/WorkbenchPanelRegion.tsx +46 -0
- package/src/workbench/settings/WorkbenchSettingsModal.tsx +21 -12
- package/src/workbench/settings/WorkbenchSettingsNav.tsx +38 -22
- package/src/workbench/settings/index.ts +135 -0
- package/src/workbench/settings/panel-region.css +21 -0
- package/src/workbench/settings/sectionedPanelScrollSpy.ts +143 -0
- package/src/workbench/settings/structured-data-schema-panel.css +330 -0
- package/src/workbench/settings/structured-data-table-view.css +85 -0
- package/src/workbench/settings/structuredDataSchema.ts +886 -0
- package/src/workbench/shell.ts +15 -0
- package/src/workbench/shellState.ts +203 -203
- package/src/workbench/standalone.ts +101 -94
- package/src/workbench/status.ts +129 -0
- package/src/workbench/theme.ts +44 -0
- package/src/workbench/workspace/MultiProviderExplorer.tsx +625 -0
- package/src/workbench/workspace/WorkspaceDraftsContext.tsx +111 -0
- package/src/workbench/workspace/WorkspaceEditor.tsx +47 -12
- package/src/workbench/workspace/WorkspaceEditorPanel.tsx +334 -353
- package/src/workbench/workspace/WorkspaceExplorer.tsx +532 -524
- package/src/workbench/workspace/WorkspaceFileIcon.tsx +32 -2
- package/src/workbench/workspace/WorkspaceSearchPanel.tsx +113 -113
- package/src/workbench/workspace/WorkspaceSearchResults.tsx +47 -47
- package/src/workbench/workspace/index.ts +156 -98
- package/src/workbench/workspace/mimeType.ts +45 -0
- package/src/workbench/workspace/path.ts +10 -10
- package/src/workbench/workspace/search.ts +6 -6
- package/src/workbench/workspace/tree.ts +1 -1
- package/src/workbench/workspace/types.ts +10 -10
- package/src/workbench/workspace/useVirtualWorkspace.ts +111 -98
- package/src/workbench/workspace/workspaceJsonDiagnostics.ts +83 -0
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
.ui-workbench-structured-data-schema-panel {
|
|
2
|
+
min-width: 0;
|
|
3
|
+
display: grid;
|
|
4
|
+
gap: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ui-workbench-structured-data-schema-panel-embed {
|
|
8
|
+
min-width: 0;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-rows: minmax(0, 1fr);
|
|
13
|
+
align-content: stretch;
|
|
14
|
+
gap: 0;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
padding: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ui-workbench-structured-data-schema-panel-frame {
|
|
20
|
+
min-width: 0;
|
|
21
|
+
min-height: 0;
|
|
22
|
+
margin: 0;
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
25
|
+
gap: 0;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
padding: 0;
|
|
28
|
+
background: var(--color-bg);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ui-workbench-structured-data-schema-panel-frame__header {
|
|
32
|
+
min-width: 0;
|
|
33
|
+
min-height: 50px;
|
|
34
|
+
margin: 0;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
gap: 12px;
|
|
39
|
+
padding: 8px 14px;
|
|
40
|
+
border-bottom: 1px solid var(--color-border);
|
|
41
|
+
background: var(--color-bg);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ui-workbench-structured-data-schema-panel-frame__eyebrow {
|
|
45
|
+
display: block;
|
|
46
|
+
margin: 0;
|
|
47
|
+
color: var(--color-text-subtle);
|
|
48
|
+
font-size: 10px;
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
letter-spacing: 0;
|
|
51
|
+
line-height: 1.2;
|
|
52
|
+
text-transform: uppercase;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ui-workbench-structured-data-schema-panel-frame__title-group {
|
|
56
|
+
min-width: 0;
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
gap: 10px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ui-workbench-structured-data-schema-panel-frame__icon {
|
|
63
|
+
width: 28px;
|
|
64
|
+
height: 28px;
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
flex-shrink: 0;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
border: 1px solid var(--color-border);
|
|
70
|
+
color: var(--color-text-subtle);
|
|
71
|
+
background: var(--color-bg);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.ui-workbench-structured-data-schema-panel-frame__title-group div {
|
|
75
|
+
min-width: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.ui-workbench-structured-data-schema-panel-frame__title-group h2 {
|
|
79
|
+
margin: 1px 0 0;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
color: var(--color-text);
|
|
82
|
+
font-size: 13px;
|
|
83
|
+
font-weight: 700;
|
|
84
|
+
line-height: 1.25;
|
|
85
|
+
text-overflow: ellipsis;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ui-workbench-structured-data-schema-panel-frame__title-group p {
|
|
90
|
+
margin: 2px 0 0;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
color: var(--color-text-subtle);
|
|
93
|
+
font-size: 11px;
|
|
94
|
+
line-height: 1.25;
|
|
95
|
+
text-overflow: ellipsis;
|
|
96
|
+
white-space: nowrap;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.ui-workbench-structured-data-schema-panel-frame__meta {
|
|
100
|
+
min-width: max-content;
|
|
101
|
+
display: inline-flex;
|
|
102
|
+
flex-shrink: 0;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: 6px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel--fill {
|
|
108
|
+
min-height: 0;
|
|
109
|
+
height: 100%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel--fill
|
|
113
|
+
.ui-workbench-sectioned-panel__nav-links {
|
|
114
|
+
padding-top: 12px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel--fill
|
|
118
|
+
.ui-workbench-structured-data-schema-panel__section:first-child {
|
|
119
|
+
padding-top: 12px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ui-workbench-structured-data-schema-panel__section {
|
|
123
|
+
min-width: 0;
|
|
124
|
+
display: block;
|
|
125
|
+
padding: 26px 0 28px;
|
|
126
|
+
scroll-margin-top: 12px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ui-workbench-sectioned-panel__scroll
|
|
130
|
+
.ui-workbench-structured-data-schema-panel__section
|
|
131
|
+
+ .ui-workbench-structured-data-schema-panel__section {
|
|
132
|
+
border-top: 1px solid var(--color-border);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ui-workbench-sectioned-panel__scroll
|
|
136
|
+
.ui-workbench-structured-data-schema-panel__section:last-child {
|
|
137
|
+
padding-bottom: 16px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.ui-workbench-structured-data-schema-panel__section-header {
|
|
141
|
+
min-width: 0;
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: flex-start;
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
gap: 12px;
|
|
146
|
+
margin-bottom: 24px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ui-workbench-structured-data-schema-panel__section-header div {
|
|
150
|
+
min-width: 0;
|
|
151
|
+
display: grid;
|
|
152
|
+
gap: 2px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.ui-workbench-structured-data-schema-panel__section-header h2 {
|
|
156
|
+
margin: 0;
|
|
157
|
+
color: var(--color-text);
|
|
158
|
+
font-size: 22px;
|
|
159
|
+
font-weight: 700;
|
|
160
|
+
line-height: 1.25;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ui-workbench-structured-data-schema-panel__section-actions {
|
|
164
|
+
min-width: max-content;
|
|
165
|
+
display: inline-flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: flex-end;
|
|
168
|
+
gap: 6px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ui-workbench-structured-data-schema-panel__section-actions .ui-button {
|
|
172
|
+
min-height: 28px;
|
|
173
|
+
display: inline-flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
gap: 6px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ui-workbench-structured-data-schema-panel__section-header span:not(.ui-badge) {
|
|
179
|
+
color: var(--color-text-subtle);
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
line-height: 1.45;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.ui-workbench-structured-data-schema-panel__empty {
|
|
185
|
+
margin: 0;
|
|
186
|
+
padding: 7px 0;
|
|
187
|
+
border-top: 1px solid var(--color-border);
|
|
188
|
+
color: var(--color-text-muted);
|
|
189
|
+
font-size: 12px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.ui-workbench-structured-data-schema-panel__settings-list {
|
|
193
|
+
min-width: 0;
|
|
194
|
+
display: block;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ui-workbench-structured-data-schema-panel__setting-row {
|
|
198
|
+
min-width: 0;
|
|
199
|
+
display: block;
|
|
200
|
+
padding: 0 0 28px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.ui-workbench-structured-data-schema-panel__settings-list
|
|
204
|
+
> .ui-workbench-structured-data-schema-panel__setting-row:last-child {
|
|
205
|
+
padding-bottom: 0;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ui-workbench-structured-data-schema-panel__field-input {
|
|
209
|
+
min-width: 0;
|
|
210
|
+
width: min(100%, 432px);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.ui-workbench-structured-data-schema-panel__field.ui-field {
|
|
214
|
+
max-width: 820px;
|
|
215
|
+
margin: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.ui-workbench-structured-data-schema-panel__field .ui-field__label {
|
|
219
|
+
margin-bottom: 11px;
|
|
220
|
+
font-size: 13px;
|
|
221
|
+
line-height: 1.4;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ui-workbench-structured-data-schema-panel__field .ui-field__description {
|
|
225
|
+
max-width: 820px;
|
|
226
|
+
margin-bottom: 11px;
|
|
227
|
+
color: var(--color-text-muted);
|
|
228
|
+
font-size: 13px;
|
|
229
|
+
line-height: 1.45;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel[data-readonly='true']
|
|
233
|
+
:is(.ui-input, .ui-select, .ui-textarea),
|
|
234
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel
|
|
235
|
+
:is(.ui-input:disabled, .ui-select:disabled, .ui-textarea:disabled),
|
|
236
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel
|
|
237
|
+
:is(.ui-input[readonly], .ui-textarea[readonly]) {
|
|
238
|
+
color: var(--color-text-muted);
|
|
239
|
+
background: var(--color-surface);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel[data-readonly='true']
|
|
243
|
+
:is(.ui-input, .ui-select, .ui-textarea):focus,
|
|
244
|
+
.ui-workbench-sectioned-panel.ui-workbench-structured-data-schema-panel
|
|
245
|
+
:is(.ui-input[readonly], .ui-textarea[readonly]):focus {
|
|
246
|
+
border-color: var(--color-border);
|
|
247
|
+
outline: none;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.ui-workbench-structured-data-schema-panel__table-editor {
|
|
251
|
+
min-width: 0;
|
|
252
|
+
display: grid;
|
|
253
|
+
gap: 9px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ui-workbench-structured-data-schema-panel__table-scroll {
|
|
257
|
+
min-width: 0;
|
|
258
|
+
border: 1px solid var(--color-border);
|
|
259
|
+
border-radius: 4px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.ui-workbench-structured-data-schema-panel__table-grid {
|
|
263
|
+
min-width: 760px;
|
|
264
|
+
display: grid;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ui-workbench-structured-data-schema-panel__table-row {
|
|
268
|
+
min-width: 0;
|
|
269
|
+
display: grid;
|
|
270
|
+
grid-auto-columns: minmax(124px, 1fr);
|
|
271
|
+
grid-auto-flow: column;
|
|
272
|
+
align-items: start;
|
|
273
|
+
border-bottom: 1px solid var(--color-border);
|
|
274
|
+
color: var(--color-text-muted);
|
|
275
|
+
font-size: 12px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.ui-workbench-structured-data-schema-panel__table-row:last-child {
|
|
279
|
+
border-bottom: 0;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.ui-workbench-structured-data-schema-panel__table-row--head {
|
|
283
|
+
position: sticky;
|
|
284
|
+
top: 0;
|
|
285
|
+
z-index: 1;
|
|
286
|
+
color: var(--color-text);
|
|
287
|
+
background: var(--color-surface);
|
|
288
|
+
font-weight: 600;
|
|
289
|
+
box-shadow: 0 1px 0 var(--color-border);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.ui-workbench-structured-data-schema-panel__table-row--head > span {
|
|
293
|
+
color: var(--color-text-subtle);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.ui-workbench-structured-data-schema-panel__table-row > span {
|
|
297
|
+
min-width: 0;
|
|
298
|
+
display: flex;
|
|
299
|
+
align-items: center;
|
|
300
|
+
padding: 8px;
|
|
301
|
+
border-right: 1px solid var(--color-border);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.ui-workbench-structured-data-schema-panel__table-row > span:last-child {
|
|
305
|
+
border-right: 0;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.ui-workbench-structured-data-schema-panel__table-row
|
|
309
|
+
> span
|
|
310
|
+
:is(.ui-input, .ui-select, .ui-textarea) {
|
|
311
|
+
min-height: 26px;
|
|
312
|
+
font-size: 12px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.ui-workbench-structured-data-schema-panel__table-actions {
|
|
316
|
+
display: flex;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.ui-workbench-structured-data-schema-panel__table-footer {
|
|
321
|
+
display: flex;
|
|
322
|
+
justify-content: flex-start;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.ui-workbench-structured-data-schema-panel__table-footer .ui-button {
|
|
326
|
+
min-height: 28px;
|
|
327
|
+
display: inline-flex;
|
|
328
|
+
align-items: center;
|
|
329
|
+
gap: 6px;
|
|
330
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.ui-workbench-structured-data-table-view {
|
|
2
|
+
min-width: 0;
|
|
3
|
+
margin: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ui-workbench-structured-data-table-view__label {
|
|
7
|
+
margin: 0;
|
|
8
|
+
color: var(--color-text);
|
|
9
|
+
font-size: 1rem;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
line-height: 1.3;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ui-workbench-structured-data-table-view__description {
|
|
15
|
+
max-width: 680px;
|
|
16
|
+
margin: 8px 0 0;
|
|
17
|
+
color: var(--color-text-muted);
|
|
18
|
+
font-size: var(--font-size-sm);
|
|
19
|
+
line-height: 1.5;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ui-workbench-structured-data-table-view__scroll {
|
|
23
|
+
min-width: 0;
|
|
24
|
+
min-height: 0;
|
|
25
|
+
margin: 0;
|
|
26
|
+
border: 1px solid var(--color-border);
|
|
27
|
+
border-radius: 6px;
|
|
28
|
+
background: var(--color-surface);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ui-workbench-structured-data-table-view--with-header
|
|
32
|
+
.ui-workbench-structured-data-table-view__scroll {
|
|
33
|
+
margin-top: 12px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ui-workbench-structured-data-table-view__table {
|
|
37
|
+
width: 100%;
|
|
38
|
+
min-width: 520px;
|
|
39
|
+
margin: 0;
|
|
40
|
+
border-collapse: collapse;
|
|
41
|
+
color: var(--color-text);
|
|
42
|
+
font-size: var(--font-size-sm);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ui-workbench-structured-data-table-view__table th,
|
|
46
|
+
.ui-workbench-structured-data-table-view__table td {
|
|
47
|
+
padding: 8px 10px;
|
|
48
|
+
border-bottom: 1px solid var(--color-border);
|
|
49
|
+
text-align: left;
|
|
50
|
+
vertical-align: top;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ui-workbench-structured-data-table-view__table th {
|
|
54
|
+
position: sticky;
|
|
55
|
+
top: 0;
|
|
56
|
+
z-index: 1;
|
|
57
|
+
color: var(--color-text-muted);
|
|
58
|
+
background: var(--color-bg);
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
box-shadow: 0 1px 0 var(--color-border);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ui-workbench-structured-data-table-view__table tr:last-child td {
|
|
64
|
+
border-bottom: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ui-workbench-structured-data-table-view__table [data-align='end'] {
|
|
68
|
+
text-align: right;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ui-workbench-structured-data-table-view__stacked-cell {
|
|
72
|
+
min-width: 0;
|
|
73
|
+
display: grid;
|
|
74
|
+
gap: 4px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ui-workbench-structured-data-table-view__stacked-cell code {
|
|
78
|
+
color: var(--color-text);
|
|
79
|
+
font-family: var(--font-mono, Consolas, 'Courier New', monospace);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ui-workbench-structured-data-table-view__stacked-cell strong {
|
|
83
|
+
color: var(--color-text);
|
|
84
|
+
font-weight: 600;
|
|
85
|
+
}
|