@telia-ace/widget-ui 1.0.28-experimental.12 → 1.0.28-experimental.14
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/index.d.ts +2 -2
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/mixins/widget-component.d.ts +3 -3
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { default as createWebComponent } from './create-web-component';
|
|
|
5
5
|
import { DispatchAction, useAction, useChildren, useColumns, useComponent, useComponentDescriptor, useComponentNode, useComponentPlatform, useContainer, useContext, useConversation, useDispatch, useEventListener, useEvents, useIsMounted, useIsTabbing, useKeyPress, useLayout, usePrevious, useProperties, useRenderState, useRouteData, useRouter, useScroll, useSettings, useToggle, useTransitionEnd, useUniqueMenu, useWidgetEvent } from './hooks';
|
|
6
6
|
import { borderTabStyle, buttonCss, contentBox, genericHtml, invertedHoverButton, itemList, linkTabStyle, list, paddedBorderTabStyle, StyledText } from './styles';
|
|
7
7
|
import { browser, Browsers, convertToStringAttributes, createEmptyComponent, defaultRenderInstructions, embeddedLinkMapper, filterCssProps, filterCssPropsStyle, genericHashLink, GenericHashLinkProps, headingElement, imageLightboxRenderer, processHtmlString, transitionComposer, TransitionStateSettings } from './utils';
|
|
8
|
-
|
|
8
|
+
export { Typography as TypographyUi } from './components/ui-typography';
|
|
9
9
|
export * from './controllers';
|
|
10
10
|
export { DataProvider } from './data-provider';
|
|
11
11
|
export * from './mixins';
|
|
12
|
-
export {
|
|
12
|
+
export type { WidgetComponentConstructor, _LitElement } from './mixins/widget-component';
|
|
13
13
|
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, };
|
|
14
14
|
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, };
|
|
15
15
|
export type { DispatchAction };
|
package/dist/index.js
CHANGED
|
@@ -3426,25 +3426,25 @@ const Tr = (e) => `w-${e}`, Ds = (e) => {
|
|
|
3426
3426
|
}
|
|
3427
3427
|
render() {
|
|
3428
3428
|
const o = super.render(), r = this._getContextStyles(), i = Ne`
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3429
|
+
<style>
|
|
3430
|
+
:host {
|
|
3431
|
+
${Object.entries(r).map(([a, l]) => qe`
|
|
3432
|
+
${Dt(`${a}: ${l};`)}
|
|
3433
|
+
`)}
|
|
3434
|
+
}
|
|
3435
|
+
</style>
|
|
3436
|
+
`;
|
|
3437
3437
|
return Ne`
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3438
|
+
<style>
|
|
3439
|
+
:host {
|
|
3440
|
+
--size: ${this._layout.size || "full"};
|
|
3441
|
+
--width: ${(this._layout.size || "full") === "full" ? "var(--columns)" : `min(var(--columns), ${this._layout.size})`};
|
|
3442
|
+
grid-column: span var(--width);
|
|
3443
|
+
}
|
|
3444
|
+
</style>
|
|
3445
3445
|
|
|
3446
|
-
|
|
3447
|
-
|
|
3446
|
+
${i} ${o}
|
|
3447
|
+
`;
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
3450
|
return P([
|