@telia-ace/widget-ui 1.0.28-experimental.18 → 1.0.28-experimental.19
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/ui-html.d.ts +1 -1
- package/dist/components/ui-timestamp.d.ts +23 -0
- package/dist/components/ui-typography.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +677 -630
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -3,7 +3,7 @@ export declare class Html extends LitElement {
|
|
|
3
3
|
static styles: import("lit").CSSResult[];
|
|
4
4
|
html: string;
|
|
5
5
|
constructor();
|
|
6
|
-
render(): import("lit").TemplateResult<
|
|
6
|
+
render(): import("lit").TemplateResult<2 | 1>;
|
|
7
7
|
protected createRenderRoot(): Element | ShadowRoot;
|
|
8
8
|
}
|
|
9
9
|
declare global {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare enum DateFormats {
|
|
3
|
+
HH_MM = "hh:mm",
|
|
4
|
+
YYYY_MM_DD = "yyyy-mm-dd",
|
|
5
|
+
YYYY_MM_DD_HH_MM = "yyyy-mm-dd hh:mm"
|
|
6
|
+
}
|
|
7
|
+
export type Props = {
|
|
8
|
+
timestamp: string;
|
|
9
|
+
format?: DateFormats;
|
|
10
|
+
};
|
|
11
|
+
export declare class Timestamp extends LitElement {
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
timestamp: string;
|
|
14
|
+
format: DateFormats;
|
|
15
|
+
constructor();
|
|
16
|
+
render(): import("lit").TemplateResult<1>;
|
|
17
|
+
protected createRenderRoot(): Element | ShadowRoot;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'ui-timestamp': Timestamp;
|
|
22
|
+
}
|
|
23
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { browser, Browsers, convertToStringAttributes, createEmptyComponent, def
|
|
|
8
8
|
export { Button as ButtonUi } from './components/button/button';
|
|
9
9
|
export { Html as HtmlUi } from './components/ui-html';
|
|
10
10
|
export { SymbolBadge as SymbolBadgeUi } from './components/ui-symbol-badge';
|
|
11
|
+
export { Timestamp as TimestampUi } from './components/ui-timestamp';
|
|
11
12
|
export { Typography as TypographyUi } from './components/ui-typography';
|
|
12
13
|
export * from './controllers';
|
|
13
14
|
export { DataProvider } from './data-provider';
|