@telia-ace/widget-ui 1.0.28-experimental.17 → 1.0.28-experimental.18

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.
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export type Props = Merge<React.HTMLProps<HTMLElement>, {
3
+ className?: string;
4
+ faIcon: string;
5
+ }>;
6
+ declare const Icon: React.FC<Props>;
7
+ export default Icon;
@@ -1,7 +1,9 @@
1
- import React from 'react';
2
- export type Props = Merge<React.HTMLProps<HTMLElement>, {
3
- className?: string;
1
+ import { LitElement } from 'lit';
2
+ export declare class Icon extends LitElement {
3
+ static styles: import("lit").CSSResult[];
4
4
  faIcon: string;
5
- }>;
6
- declare const Icon: React.FC<Props>;
7
- export default Icon;
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 { default as Icon } from './icon';
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';
@@ -4,6 +4,7 @@ export declare class Html extends LitElement {
4
4
  html: string;
5
5
  constructor();
6
6
  render(): import("lit").TemplateResult<1 | 2>;
7
+ protected createRenderRoot(): Element | ShadowRoot;
7
8
  }
8
9
  declare global {
9
10
  interface HTMLElementTagNameMap {
@@ -1,5 +1,6 @@
1
1
  import { LitElement, nothing } from 'lit';
2
2
  import { StyleInfo } from 'lit/directives/style-map.js';
3
+ import './icon';
3
4
  export declare class SymbolBadge extends LitElement {
4
5
  symbol: {
5
6
  content: string;
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, IconProps, 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';
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';
@@ -14,6 +14,6 @@ export { DataProvider } from './data-provider';
14
14
  export * from './mixins';
15
15
  export type { WidgetComponentConstructor, _LitElement } from './mixins/widget-component';
16
16
  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, IconProps, 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, };
17
+ 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
18
  export type { DispatchAction };
19
19
  export { createWebComponent };