@telia-ace/widget-ui 1.0.28-experimental.17 → 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/_icon.d.ts +7 -0
- package/dist/components/icon.d.ts +8 -6
- package/dist/components/index.d.ts +1 -2
- package/dist/components/ui-html.d.ts +2 -1
- package/dist/components/ui-symbol-badge.d.ts +1 -0
- package/dist/components/ui-timestamp.d.ts +23 -0
- package/dist/components/ui-typography.d.ts +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1426 -1829
- package/dist/index.js.map +1 -1
- package/package.json +8 -9
- package/src/styles/mixins.scss +257 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class Icon extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
4
|
faIcon: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
title: string;
|
|
6
|
+
role: string;
|
|
7
|
+
constructor();
|
|
8
|
+
render(): import("lit").TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -12,8 +12,7 @@ export { default as Grid } from './grid';
|
|
|
12
12
|
export type { Props as GridProps } from './grid';
|
|
13
13
|
export { default as Html } from './html';
|
|
14
14
|
export type { HtmlParseInstruction, Props as HtmlProps } from './html';
|
|
15
|
-
export {
|
|
16
|
-
export type { Props as IconProps } from './icon';
|
|
15
|
+
export { Icon } from './icon';
|
|
17
16
|
export { default as Input } from './input';
|
|
18
17
|
export type { Props as InputProps } from './input';
|
|
19
18
|
export { default as ItemList } from './item-list';
|
|
@@ -3,7 +3,8 @@ 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
|
+
protected createRenderRoot(): Element | ShadowRoot;
|
|
7
8
|
}
|
|
8
9
|
declare global {
|
|
9
10
|
interface HTMLElementTagNameMap {
|
|
@@ -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnchorLink, Button, ButtonProps, Checkbox, CheckboxProps, Confirm, DateFormats, Drawer, DrawerAnimationType, Dropdown, DropdownProps, Empty, EmptyProps, Grid, GridProps, Html, HtmlIconProps, HtmlParseInstruction, HtmlProps, Icon,
|
|
1
|
+
import { AnchorLink, Button, ButtonProps, Checkbox, CheckboxProps, Confirm, DateFormats, Drawer, DrawerAnimationType, Dropdown, DropdownProps, Empty, EmptyProps, Grid, GridProps, Html, HtmlIconProps, HtmlParseInstruction, HtmlProps, Icon, Input, InputProps, ItemList, ItemListProps, ItemRenderer, ItemTree, ItemTreeProps, Lightbox, LightboxProps, Link, LinkProps, List, ListProps, Modal, ModalProps, NotFound, NotFoundProps, Overlay, OverlayProps, Paragraph, ParagraphProps, Portal, PortalProps, RouteLink, RouteLinkProps, Symbol, SymbolBadge, SymbolBadgeProps, TabStop, TabStopProps, Text, TextLink, TextLinkProps, TextProps, Timestamp, TimestampProps, Tooltip, TooltipProps, TransitionComponent, TransitionComponentProps, Typography, TypographyProps, WidgetLink, WidgetLinkProps, WidgetOverlayOutlet } from './components';
|
|
2
2
|
import { ColumnContext, ComponentNodeContext, ComponentPropertyContext, ContainerContext, ConversationContext, RoutingContext } from './contexts';
|
|
3
3
|
import { default as createReactComponent } from './create-react-component';
|
|
4
4
|
import { default as createWebComponent } from './create-web-component';
|
|
@@ -8,12 +8,13 @@ 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';
|
|
14
15
|
export * from './mixins';
|
|
15
16
|
export type { WidgetComponentConstructor, _LitElement } from './mixins/widget-component';
|
|
16
17
|
export { AnchorLink, borderTabStyle, Button, buttonCss, Checkbox, ColumnContext, ComponentNodeContext, ComponentPropertyContext, ConversationContext, Confirm, ContainerContext, contentBox, createEmptyComponent, createReactComponent, DateFormats, Drawer, DrawerAnimationType, Dropdown, filterCssProps, filterCssPropsStyle, Grid, headingElement, Html, Icon, Input, genericHtml, invertedHoverButton, ItemList, ItemTree, Lightbox, Link, linkTabStyle, List, paddedBorderTabStyle, RoutingContext, SymbolBadge, Text, TextLink, TransitionComponent, transitionComposer, Typography, useChildren, useColumns, useComponent, useIsTabbing, useComponentDescriptor, useComponentNode, useComponentPlatform, useContainer, useContext, useDispatch, useIsMounted, useLayout, useProperties, useRenderState, useRouteData, useRouter, useScroll, useTransitionEnd, useAction, useEventListener, useEvents, useKeyPress, usePrevious, useSettings, useToggle, useConversation, useUniqueMenu, useWidgetEvent, Empty, Modal, NotFound, Overlay, Paragraph, Portal, RouteLink, TabStop, Timestamp, Tooltip, WidgetLink, WidgetOverlayOutlet, itemList, list, StyledText, browser, convertToStringAttributes, defaultRenderInstructions, embeddedLinkMapper, genericHashLink, processHtmlString, imageLightboxRenderer, };
|
|
17
|
-
export type { ButtonProps, CheckboxProps, DropdownProps, EmptyProps, GridProps, HtmlIconProps, HtmlParseInstruction, HtmlProps,
|
|
18
|
+
export type { ButtonProps, CheckboxProps, DropdownProps, EmptyProps, GridProps, HtmlIconProps, HtmlParseInstruction, HtmlProps, InputProps, ItemListProps, ItemRenderer, ItemTreeProps, LightboxProps, LinkProps, ListProps, ModalProps, NotFoundProps, OverlayProps, ParagraphProps, PortalProps, RouteLinkProps, Symbol, SymbolBadgeProps, TabStopProps, TextLinkProps, TextProps, TimestampProps, TooltipProps, TransitionComponentProps, TypographyProps, WidgetLinkProps, Browsers, GenericHashLinkProps, TransitionStateSettings, };
|
|
18
19
|
export type { DispatchAction };
|
|
19
20
|
export { createWebComponent };
|