dees-element/ts/index.ts

42 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2022-03-16 13:46:51 +00:00
import { CssManager } from './dees-element.classes.cssmanager.js';
2020-11-25 13:43:39 +00:00
2021-11-27 16:07:33 +00:00
// lit exports
2023-08-07 17:34:44 +00:00
export { html, type TemplateResult, css, unsafeCSS, render, type CSSResult } from 'lit';
2022-05-21 00:30:19 +00:00
export { unsafeHTML } from 'lit/directives/unsafe-html.js';
2021-11-27 16:07:33 +00:00
2021-12-14 00:59:50 +00:00
export { customElement } from 'lit/decorators/custom-element.js';
2022-03-24 14:32:01 +00:00
export { property, state, query, queryAll, queryAsync } from 'lit/decorators.js';
2020-11-25 13:43:39 +00:00
2022-05-12 16:53:19 +00:00
export { until } from 'lit/directives/until.js';
export { asyncAppend } from 'lit/directives/async-append.js';
2021-11-27 16:07:33 +00:00
// domtools exports
2023-08-07 07:19:53 +00:00
import * as domtools from '@design.estate/dees-domtools';
2021-12-14 00:59:50 +00:00
export { domtools };
2021-09-16 14:52:55 +00:00
2021-11-27 16:07:33 +00:00
// DeesElements exports
2023-03-15 21:22:30 +00:00
export * from './dees-element.classes.dees-element.js';
2023-03-29 18:29:12 +00:00
export * from './dees-element.classes.subscribedirective.js';
export * from './dees-element.classes.resolvedirective.js';
2020-11-25 13:43:39 +00:00
2021-11-27 16:07:33 +00:00
/**
* a singleton instance of CssManager
*/
2021-03-27 16:52:06 +00:00
export const cssManager = new CssManager();
2023-09-04 12:56:57 +00:00
// better scoped exports
import { resolve } from './dees-element.classes.resolvedirective.js';
import { subscribe } from './dees-element.classes.subscribedirective.js';
export const directives = {
resolve,
subscribe,
}
2023-10-23 15:20:08 +00:00
2023-10-23 15:22:09 +00:00
// type exports
2023-10-23 15:20:08 +00:00
import type { rxjs } from '@push.rocks/smartrx';
export type {
rxjs,
}