Extensions: Adds all yet unused Lit directives to @umbraco-cms/backoffice/external/lit (closes #20961) (#20963)
* Adds choose directive to @umbraco-cms/backoffice/external/lit
This can then allow choose to be imported like so
import { html, customElement, LitElement, property, css, choose } from '@umbraco-cms/backoffice/external/lit';
* Exports all of Lits directives for @umbraco-cms/backoffice/external/lit
Also puts them in alphabetical order to help add any new ones Lit may add in the future
This commit is contained in:
@@ -1,12 +1,24 @@
|
|||||||
export * from 'lit';
|
export * from 'lit';
|
||||||
export * from 'lit/decorators.js';
|
export * from 'lit/decorators.js';
|
||||||
export { directive, AsyncDirective, type PartInfo } from 'lit/async-directive.js';
|
export { directive, AsyncDirective, type PartInfo } from 'lit/async-directive.js';
|
||||||
|
export * from 'lit/directives/async-append.js';
|
||||||
|
export * from 'lit/directives/async-replace.js';
|
||||||
|
export * from 'lit/directives/cache.js';
|
||||||
|
export * from 'lit/directives/choose.js';
|
||||||
export * from 'lit/directives/class-map.js';
|
export * from 'lit/directives/class-map.js';
|
||||||
|
export * from 'lit/directives/guard.js';
|
||||||
export * from 'lit/directives/if-defined.js';
|
export * from 'lit/directives/if-defined.js';
|
||||||
|
export * from 'lit/directives/join.js';
|
||||||
|
export * from 'lit/directives/keyed.js';
|
||||||
|
export * from 'lit/directives/live.js';
|
||||||
export * from 'lit/directives/map.js';
|
export * from 'lit/directives/map.js';
|
||||||
|
export * from 'lit/directives/range.js';
|
||||||
export * from 'lit/directives/ref.js';
|
export * from 'lit/directives/ref.js';
|
||||||
export * from 'lit/directives/repeat.js';
|
export * from 'lit/directives/repeat.js';
|
||||||
export * from 'lit/directives/style-map.js';
|
export * from 'lit/directives/style-map.js';
|
||||||
|
export * from 'lit/directives/template-content.js';
|
||||||
export * from 'lit/directives/unsafe-html.js';
|
export * from 'lit/directives/unsafe-html.js';
|
||||||
|
export * from 'lit/directives/unsafe-mathml.js';
|
||||||
|
export * from 'lit/directives/unsafe-svg.js';
|
||||||
export * from 'lit/directives/until.js';
|
export * from 'lit/directives/until.js';
|
||||||
export * from 'lit/directives/when.js';
|
export * from 'lit/directives/when.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user