Skip to content

Commit

Permalink
fix(fract): exports
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Jun 26, 2023
1 parent 0d8b499 commit 10f6148
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/fract/src/directive.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {createLogger, globalAlwatr} from '@alwatr/logger';

import {Directive, PartType, type PartInfo, type Part} from './lit.js';
import {Directive, PartType, type PartInfo, type Part} from './lit-html.js';

globalAlwatr.registeredList.push({
name: '@alwatr/fract',
Expand Down
2 changes: 1 addition & 1 deletion core/fract/src/dynamic-directive.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {createLogger} from '@alwatr/logger';

import {PartType, type PartInfo, AsyncDirective, Part} from './lit.js';
import {PartType, type PartInfo, AsyncDirective, Part} from './lit-html.js';

export abstract class AlwatrDynamicDirective extends AsyncDirective {
protected _logger;
Expand Down
5 changes: 3 additions & 2 deletions core/fract/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export {AlwatrDirective} from './directive.js';
export {AlwatrDynamicDirective} from './dynamic-directive.js';
export * from './directive.js';
export * from './dynamic-directive.js';
export * from './lit-html.js';
6 changes: 6 additions & 0 deletions core/fract/src/lit-html.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export {html, render} from 'lit-html';
export {Directive, PartType, directive} from 'lit-html/directive.js';
export {AsyncDirective} from 'lit-html/async-directive.js';
export {unsafeSVG} from 'lit-html/directives/unsafe-svg.js';

export type {Part, PartInfo} from 'lit-html/directive.js';
4 changes: 0 additions & 4 deletions core/fract/src/lit.ts

This file was deleted.

0 comments on commit 10f6148

Please sign in to comment.