|
|
@@ -2343,7 +2343,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
'client-ui-sidebar-documentpreview TextPreview',
|
|
|
'client-ui-sidebar-files FilesBody',
|
|
|
'client-ui-sidebar-right GuideBody',
|
|
|
- 'client-ui-sidebar-terminal TerminalBody',
|
|
|
+ 'client-ui-sidebar-terminal LazyTerminalBody',
|
|
|
],
|
|
|
replaceRisk: 'none',
|
|
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.pane.tab\', () => ctx.slots.register(\n { name: \'sidebar.right.pane.tab\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
|
@@ -2440,7 +2440,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
'client-ui-sidebar-documentpreview HtmlBody',
|
|
|
'client-ui-sidebar-documentpreview ImageBody',
|
|
|
'client-ui-sidebar-documentpreview MarkdownBody',
|
|
|
- 'client-ui-sidebar-documentpreview PdfBody',
|
|
|
+ 'client-ui-sidebar-documentpreview LazyPdfBody',
|
|
|
'client-ui-sidebar-documentpreview TextBody',
|
|
|
],
|
|
|
replaceRisk: 'none',
|