@telia-ace/widget-ui 1.0.35 → 1.0.36
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/button.d.ts +1 -1
- package/dist/components/grid.d.ts +1 -1
- package/dist/components/html.d.ts +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/item-list.d.ts +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/list.d.ts +1 -1
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/paragraph.d.ts +1 -1
- package/dist/components/route-link.d.ts +1 -1
- package/dist/components/tab-stop.d.ts +2 -2
- package/dist/components/text-link.d.ts +1 -1
- package/dist/components/text.d.ts +1 -1
- package/dist/components/widget-link.d.ts +1 -1
- package/dist/index.js +4 -16
- package/dist/index.js.map +1 -1
- package/dist/styles.d.ts +1 -1
- package/dist/utils/create-empty-component.d.ts +2 -2
- package/dist/utils/embedded-link-mapper.d.ts +2 -2
- package/dist/utils/generic-hash-link.d.ts +1 -1
- package/dist/utils/render-instructions.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type Props = React.ComponentProps<'button'>;
|
|
3
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export default _default;
|
|
@@ -3,5 +3,5 @@ export type Props = Merge<React.ComponentProps<'div'>, {
|
|
|
3
3
|
columns: number;
|
|
4
4
|
gap: string;
|
|
5
5
|
}>;
|
|
6
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export type Props = Merge<React.ComponentProps<'div'>, {
|
|
|
8
8
|
html: string;
|
|
9
9
|
htmlParseInstruction?: HtmlParseInstruction;
|
|
10
10
|
}>;
|
|
11
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export type Props = Merge<React.ComponentProps<'input'>, {
|
|
|
6
6
|
onFocusChange?: (focused: boolean) => void;
|
|
7
7
|
selectAllOnFocus?: boolean;
|
|
8
8
|
}>;
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
10
10
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export type ItemListProps = {
|
|
|
6
6
|
ulProps?: any;
|
|
7
7
|
};
|
|
8
8
|
export type Props = Merge<ListProps, ParagraphProps> & ItemListProps;
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export type Props = Merge<React.ComponentProps<'a'>, {
|
|
|
8
8
|
to?: string;
|
|
9
9
|
as?: ElementType<any>;
|
|
10
10
|
}>;
|
|
11
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
12
12
|
export default _default;
|
|
@@ -5,5 +5,5 @@ export type Props = Merge<React.ComponentProps<'ul'>, {
|
|
|
5
5
|
items: any[];
|
|
6
6
|
renderLi?: boolean;
|
|
7
7
|
}>;
|
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
9
9
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export type Props = Merge<{
|
|
|
6
6
|
close?: boolean;
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}, React.ComponentProps<'div'>>;
|
|
9
|
-
declare const Modal: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const Modal: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<any>>;
|
|
10
10
|
export default Modal;
|
|
@@ -7,5 +7,5 @@ export type Props = Merge<HtmlProps, {
|
|
|
7
7
|
header?: string;
|
|
8
8
|
symbol?: Symbol;
|
|
9
9
|
}>;
|
|
10
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
10
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export type Props = Merge<React.ComponentProps<'a'>, {
|
|
|
8
8
|
to?: string;
|
|
9
9
|
as?: ElementType<any>;
|
|
10
10
|
}>;
|
|
11
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
12
12
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container } from '@webprovisions/platform';
|
|
2
|
-
import { Component } from 'react';
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
3
|
export type Props = {
|
|
4
4
|
container: Container;
|
|
5
5
|
};
|
|
@@ -13,6 +13,6 @@ declare class TabStop extends Component<Props, State> {
|
|
|
13
13
|
componentWillMount(): void;
|
|
14
14
|
componentDidMount(): void;
|
|
15
15
|
componentWillUnmount(): void;
|
|
16
|
-
render(): JSX.Element | null;
|
|
16
|
+
render(): React.JSX.Element | null;
|
|
17
17
|
}
|
|
18
18
|
export default TabStop;
|
|
@@ -4,5 +4,5 @@ export type Props = Merge<LinkProps, {
|
|
|
4
4
|
text: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
}>;
|
|
7
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
7
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
8
8
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type Props = React.ComponentProps<'span'>;
|
|
3
|
-
declare const Text: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
4
|
export default Text;
|
|
@@ -6,5 +6,5 @@ export type Props = Merge<LinkProps, {
|
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
8
|
}>;
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
10
|
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -1539,22 +1539,10 @@ const Dn = 300, Bn = ({
|
|
|
1539
1539
|
height: 0;
|
|
1540
1540
|
}
|
|
1541
1541
|
`, In = {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
[
|
|
1547
|
-
"slide-in-right"
|
|
1548
|
-
/* SlideInRight */
|
|
1549
|
-
]: Vn,
|
|
1550
|
-
[
|
|
1551
|
-
"slide-in-left"
|
|
1552
|
-
/* SlideInLeft */
|
|
1553
|
-
]: Wn,
|
|
1554
|
-
[
|
|
1555
|
-
"slide-in-top"
|
|
1556
|
-
/* SlideInTop */
|
|
1557
|
-
]: Zn
|
|
1542
|
+
"slide-in-bottom": Nn,
|
|
1543
|
+
"slide-in-right": Vn,
|
|
1544
|
+
"slide-in-left": Wn,
|
|
1545
|
+
"slide-in-top": Zn
|
|
1558
1546
|
}, On = (e, t, n) => {
|
|
1559
1547
|
const [o, s] = $(0), [i, a] = $(0), l = T(
|
|
1560
1548
|
(u, c) => {
|