From f5fd18cc016c3fa6910323ad6729ba1aaa8a885e Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Sat, 27 Apr 2019 15:17:39 +0200 Subject: [PATCH] fix: add missing exports to core, input-iban, localize --- packages/core/index.js | 22 ++++++++++++++++++++-- packages/input-iban/index.js | 8 ++++++++ packages/localize/index.js | 2 +- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/packages/core/index.js b/packages/core/index.js index ef9ddaa1b..99e7edb7a 100644 --- a/packages/core/index.js +++ b/packages/core/index.js @@ -1,5 +1,15 @@ // lit-html -export { html, render, nothing, isDirective } from 'lit-html'; +export { + html, + svg, + render, + noChange, + nothing, + directive, + isDirective, + TemplateResult, + SVGTemplateResult, +} from 'lit-html'; export { render as renderShady } from 'lit-html/lib/shady-render.js'; export { asyncAppend } from 'lit-html/directives/async-append.js'; export { asyncReplace } from 'lit-html/directives/async-replace.js'; @@ -12,7 +22,15 @@ export { styleMap } from 'lit-html/directives/style-map.js'; export { unsafeHTML } from 'lit-html/directives/unsafe-html.js'; export { until } from 'lit-html/directives/until.js'; // lit-element -export { css, LitElement, UpdatingElement } from 'lit-element'; +export { + css, + LitElement, + UpdatingElement, + unsafeCSS, + CSSResult, + defaultConverter, + notEqual, +} from 'lit-element'; // ours export { dedupeMixin } from './src/dedupeMixin.js'; export { DelegateMixin } from './src/DelegateMixin.js'; diff --git a/packages/input-iban/index.js b/packages/input-iban/index.js index e6e61aa97..0ab7b708b 100644 --- a/packages/input-iban/index.js +++ b/packages/input-iban/index.js @@ -1 +1,9 @@ export { LionInputIban } from './src/LionInputIban.js'; +export { formatIBAN } from './src/formatters.js'; +export { parseIBAN } from './src/parsers.js'; +export { + isCountryIBAN, + isCountryIBANValidator, + isIBAN, + isIBANValidator, +} from './src/validators.js'; diff --git a/packages/localize/index.js b/packages/localize/index.js index dbe9cc69f..f139078e0 100644 --- a/packages/localize/index.js +++ b/packages/localize/index.js @@ -6,6 +6,6 @@ export { getDecimalSeparator, getGroupSeparator, } from './src/formatNumber.js'; -export { localize } from './src/localize.js'; +export { localize, setLocalize } from './src/localize.js'; export { LocalizeManager } from './src/LocalizeManager.js'; export { LocalizeMixin } from './src/LocalizeMixin.js';