@odx/foundation 1.0.0-alpha.10 → 1.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/main.d.ts +1 -0
- package/dist/components/translate/index.d.ts +2 -0
- package/dist/components/translate/translate.component.d.ts +16 -0
- package/dist/components.js +590 -546
- package/dist/i18n/lib/config.d.ts +6 -6
- package/dist/i18n/lib/localization.d.ts +3 -3
- package/dist/i18n/lib/models.d.ts +1 -1
- package/dist/i18n/lib/translate.d.ts +4 -3
- package/dist/i18n.js +24 -17
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ export * from './switch/index.js';
|
|
|
48
48
|
export * from './text/index.js';
|
|
49
49
|
export * from './title/index.js';
|
|
50
50
|
export * from './toggle-button/index.js';
|
|
51
|
+
export * from './translate/index.js';
|
|
51
52
|
export * from './visually-hidden/index.js';
|
|
52
53
|
export * from './form-field/index.js';
|
|
53
54
|
export * from './table/index.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CustomElement } from '@odx/foundation';
|
|
2
|
+
import { IsLocalized, TranslateContext } from '../../i18n/main.js';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'odx-translate': OdxTranslateComponent;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
declare const OdxTranslateComponent_base: import('../../dist/lib/main.js', { with: { "resolution-mode": "import" } }).Constructor<IsLocalized> & typeof CustomElement;
|
|
10
|
+
export declare class OdxTranslateComponent extends OdxTranslateComponent_base {
|
|
11
|
+
key?: string | null;
|
|
12
|
+
context?: TranslateContext;
|
|
13
|
+
protected render(): TemplateResult | string;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=translate.component.d.ts.map
|