Skip to content

Commit f44e932

Browse files
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
1 parent ec11714 commit f44e932

File tree

1 file changed

+12
-0
lines changed
  • src/Umbraco.Web.UI.Client/src/external/lit

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
export * from 'lit';
22
export * from 'lit/decorators.js';
33
export { directive, AsyncDirective, type PartInfo } from 'lit/async-directive.js';
4+
export * from 'lit/directives/async-append.js';
5+
export * from 'lit/directives/async-replace.js';
6+
export * from 'lit/directives/cache.js';
7+
export * from 'lit/directives/choose.js';
48
export * from 'lit/directives/class-map.js';
9+
export * from 'lit/directives/guard.js';
510
export * from 'lit/directives/if-defined.js';
11+
export * from 'lit/directives/join.js';
12+
export * from 'lit/directives/keyed.js';
13+
export * from 'lit/directives/live.js';
614
export * from 'lit/directives/map.js';
15+
export * from 'lit/directives/range.js';
716
export * from 'lit/directives/ref.js';
817
export * from 'lit/directives/repeat.js';
918
export * from 'lit/directives/style-map.js';
19+
export * from 'lit/directives/template-content.js';
1020
export * from 'lit/directives/unsafe-html.js';
21+
export * from 'lit/directives/unsafe-mathml.js';
22+
export * from 'lit/directives/unsafe-svg.js';
1123
export * from 'lit/directives/until.js';
1224
export * from 'lit/directives/when.js';

0 commit comments

Comments
 (0)