@telia-ace/widget-ui 1.0.21 → 1.0.22
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/dropdown/use-position.d.ts +2 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/lightbox.d.ts +8 -2
- package/dist/components/loader.d.ts +10 -0
- package/dist/components/portal.d.ts +3 -2
- package/dist/components/widget-overlay-outlet.d.ts +8 -0
- package/dist/components/zoomable-img.d.ts +9 -0
- package/dist/create-react-component.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use-action.d.ts +1 -1
- package/dist/hooks/use-component-node.d.ts +1 -1
- package/dist/hooks/use-component-platform.d.ts +1 -1
- package/dist/hooks/use-component.d.ts +1 -1
- package/dist/hooks/use-context.d.ts +1 -1
- package/dist/hooks/use-events.d.ts +1 -1
- package/dist/hooks/use-is-tabbing.d.ts +2 -0
- package/dist/hooks/use-layout.d.ts +1 -1
- package/dist/hooks/use-render-state.d.ts +1 -1
- package/dist/hooks/use-route-data.d.ts +1 -1
- package/dist/hooks/use-toggle.d.ts +1 -1
- package/dist/hooks/use-widget-event.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1952 -1143
- package/dist/index.js.map +1 -1
- package/dist/styles.d.ts +1 -0
- package/dist/utils/animations.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/render-instructions.d.ts +2 -1
- package/package.json +6 -5
package/dist/styles.d.ts
CHANGED
|
@@ -16,4 +16,5 @@ export declare const CloseButton: import("styled-components").StyledComponent<im
|
|
|
16
16
|
export declare const StyledText: import("styled-components").StyledComponent<import("react").FC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, any, {}, never>;
|
|
17
17
|
export declare const list: import("styled-components").FlattenInterpolation<any>;
|
|
18
18
|
export declare const itemList: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
19
|
+
export declare const genericHtml: import("styled-components").FlattenInterpolation<any>;
|
|
19
20
|
export {};
|
|
@@ -13,6 +13,6 @@ export declare const transitionComposer: {
|
|
|
13
13
|
enter: TransitionStateSettings;
|
|
14
14
|
exit: TransitionStateSettings;
|
|
15
15
|
}) => false | import("styled-components").FlattenSimpleInterpolation | "" | undefined;
|
|
16
|
-
composeViewTransition: (status: TransitionStatus, type: string, direction?:
|
|
16
|
+
composeViewTransition: (status: TransitionStatus, type: string, direction?: 'forth' | 'back') => false | import("styled-components").FlattenSimpleInterpolation | "" | undefined;
|
|
17
17
|
get: (title: string) => any;
|
|
18
18
|
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ export { genericHashLink } from './generic-hash-link';
|
|
|
9
9
|
export type { Props as GenericHashLinkProps } from './generic-hash-link';
|
|
10
10
|
export { headingElement } from './heading-styles';
|
|
11
11
|
export { default as processHtmlString } from './process-html-string';
|
|
12
|
-
export { defaultRenderInstructions } from './render-instructions';
|
|
12
|
+
export { defaultRenderInstructions, imageLightboxRenderer } from './render-instructions';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Container } from '@webprovisions/platform';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const imageLightboxRenderer: (htmlBody: string) => (attrs: React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => JSX.Element;
|
|
4
|
+
export declare const defaultRenderInstructions: (container: Container, htmlBody: string) => {
|
|
4
5
|
transform: {
|
|
5
6
|
a: ({ children, ...props }: any) => JSX.Element;
|
|
6
7
|
img: (attrs: React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/widget-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"description": "UI components used by ACE Widgets.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"telia"
|
|
9
9
|
],
|
|
10
10
|
"main": "dist/index.js",
|
|
11
|
+
"sourceMain": "src/index.ts",
|
|
11
12
|
"type": "module",
|
|
12
13
|
"types": "dist/index.d.ts",
|
|
13
14
|
"files": [
|
|
@@ -25,9 +26,9 @@
|
|
|
25
26
|
},
|
|
26
27
|
"sideEffects": false,
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"@telia-ace/widget-core": "^1.0.
|
|
29
|
-
"@telia-ace/widget-routing": "^1.0.
|
|
30
|
-
"@telia-ace/widget-utilities": "^1.0.
|
|
29
|
+
"@telia-ace/widget-core": "^1.0.15",
|
|
30
|
+
"@telia-ace/widget-routing": "^1.0.16",
|
|
31
|
+
"@telia-ace/widget-utilities": "^1.0.4",
|
|
31
32
|
"@webprovisions/platform": "^1.1.2",
|
|
32
33
|
"htmr": "0.8.8"
|
|
33
34
|
},
|
|
@@ -45,5 +46,5 @@
|
|
|
45
46
|
"@types/react-transition-group": "^4.2.3",
|
|
46
47
|
"@types/styled-components": "^5.1.7"
|
|
47
48
|
},
|
|
48
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "9cb0d80e6c65317a2e27a381ebe24fd0662f33e8"
|
|
49
50
|
}
|