Skip to content

Commit

Permalink
feat(lab): export
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk authored and BroKun committed Dec 22, 2023
1 parent 2fa06f1 commit e728e8f
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 4 deletions.
9 changes: 9 additions & 0 deletions packages/libro-lab/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
export * from './module.js';
export * from './lab-app.js';
export * from './github-link/index.js';
export * from './config/index.js';
export * from './layout/index.js';
export * from './menu/index.js';
export * from './toc/index.js';
export * from './welcome/index.js';
export * from './kernel-manager/index.js';
export * from './common/index.js';
8 changes: 8 additions & 0 deletions packages/libro-lab/src/layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
export * from './protocol.js';
export * from './module.js';
export * from './layout.js';
export * from './layout-service.js';
export * from './saveable-tab-view.js';
export * from './footer/footer-view.js';
export * from './footer/status-footer-view.js';
export * from './footer/current-file-footer-view.js';
export * from './brand/brand.js';
export * from './main.js';
export * from './container.js';
export * from './content-bottom-tab-view.js';
6 changes: 3 additions & 3 deletions packages/libro-lab/src/layout/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import type { VisibilityMap } from './layout-service.js';
import { LayoutService } from './layout-service.js';
import { LibroLabLayoutSlots } from './protocol.js';

export const LibroLabLayoutContainerComponent = forwardRef(
function LibroLabLayoutContainerComponent() {
export const LibroLabLayoutComponent = forwardRef(
function LibroLabLayoutComponent() {
const layoutService = useInject(LayoutService);

return (
Expand Down Expand Up @@ -46,7 +46,7 @@ export const LibroLabLayoutContainerComponent = forwardRef(
@singleton()
@view('libro-lab-layout')
export class LibroLabLayoutView extends BaseView {
override view = LibroLabLayoutContainerComponent;
override view = LibroLabLayoutComponent;

@inject(LayoutService) layoutService: LayoutService;

Expand Down
2 changes: 1 addition & 1 deletion packages/libro-lab/src/layout/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
ManaModule,
} from '@difizen/mana-app';

import { BrandView } from './brand/index.js';
import { BrandView } from './brand/brand.js';
import { LibroLabLayoutContainerView } from './container.js';
import { ContentBottomTabView } from './content-bottom-tab-view.js';
import { LibroLabCurrentFileFooterView } from './footer/current-file-footer-view.js';
Expand Down
4 changes: 4 additions & 0 deletions packages/libro-lab/src/menu/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export * from './menu-bar-view.js';
export * from './menu-command.js';
export * from './menu-contribution.js';
export * from './module.js';
2 changes: 2 additions & 0 deletions packages/libro-lab/src/toc/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './libro-toc-panel-view.js';
export * from './module.js';
2 changes: 2 additions & 0 deletions packages/libro-lab/src/welcome/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './welcome-view.js';
export * from './entry-point-view.js';
File renamed without changes.

0 comments on commit e728e8f

Please sign in to comment.