@wonderflow/react-components 2.39.5-next.2 → 2.39.5-next.3
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/chip/chip.d.ts +10 -3
- package/info-state/info-state.d.ts +12 -3
- package/modal/modal.d.ts +2 -2
- package/package.json +1 -1
- package/themes/dark.css +1 -1
- package/themes/light.css +1 -1
- package/themes.css +3 -3
- package/title/title.module.css +1 -1
package/chip/chip.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type ChipProps = PropsWithClass & {
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
|
+
export declare type ChipProps = PropsWithChildren<PropsWithClass> & {
|
|
3
3
|
dimension?: 'small' | 'regular' | 'big';
|
|
4
4
|
color?: 'gray' | 'cyan' | 'green' | 'purple' | 'yellow' | 'red' | 'blue';
|
|
5
5
|
interactive?: boolean;
|
|
6
6
|
onDismissClick?(): void;
|
|
7
7
|
};
|
|
8
|
-
export declare const Chip:
|
|
8
|
+
export declare const Chip: React.ForwardRefExoticComponent<PropsWithClass & {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
} & {
|
|
11
|
+
dimension?: "big" | "small" | "regular" | undefined;
|
|
12
|
+
color?: "gray" | "cyan" | "green" | "purple" | "yellow" | "red" | "blue" | undefined;
|
|
13
|
+
interactive?: boolean | undefined;
|
|
14
|
+
onDismissClick?(): void;
|
|
15
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import React, { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { IconNames } from '../icons/types';
|
|
3
3
|
import { StackProps } from '../';
|
|
4
|
-
export declare type InfoStateProps = PropsWithClass & {
|
|
4
|
+
export declare type InfoStateProps = PropsWithChildren<PropsWithClass> & {
|
|
5
5
|
title: ReactNode;
|
|
6
6
|
icon?: IconNames;
|
|
7
7
|
image?: string;
|
|
@@ -9,4 +9,13 @@ export declare type InfoStateProps = PropsWithClass & {
|
|
|
9
9
|
iconColor?: 'gray' | 'cyan' | 'green' | 'purple' | 'yellow' | 'red' | 'blue';
|
|
10
10
|
actions?: ReactNode;
|
|
11
11
|
};
|
|
12
|
-
export declare const InfoState:
|
|
12
|
+
export declare const InfoState: React.ForwardRefExoticComponent<PropsWithClass & {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
} & {
|
|
15
|
+
title: ReactNode;
|
|
16
|
+
icon?: IconNames | undefined;
|
|
17
|
+
image?: string | undefined;
|
|
18
|
+
direction?: StackProps['direction'];
|
|
19
|
+
iconColor?: "gray" | "cyan" | "green" | "purple" | "yellow" | "red" | "blue" | undefined;
|
|
20
|
+
actions?: ReactNode;
|
|
21
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
package/modal/modal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { ModalContentProps } from './modal-content';
|
|
3
|
-
export declare type ModalProps = PropsWithClass & {
|
|
3
|
+
export declare type ModalProps = PropsWithChildren<PropsWithClass> & {
|
|
4
4
|
visible?: boolean;
|
|
5
5
|
overlayColor?: 'light' | 'dark' | 'auto';
|
|
6
6
|
closeOnClickOutside?: boolean;
|
package/package.json
CHANGED
package/themes/dark.css
CHANGED
package/themes/light.css
CHANGED
package/themes.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
color: var(--global-foreground);
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on Mon, 13 Dec 2021
|
|
7
|
+
* Generated on Mon, 13 Dec 2021 16:09:51 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
color: var(--global-foreground);
|
|
52
52
|
/**
|
|
53
53
|
* Do not edit directly
|
|
54
|
-
* Generated on Mon, 13 Dec 2021
|
|
54
|
+
* Generated on Mon, 13 Dec 2021 16:09:51 GMT
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
color: var(--global-foreground);
|
|
100
100
|
/**
|
|
101
101
|
* Do not edit directly
|
|
102
|
-
* Generated on Mon, 13 Dec 2021
|
|
102
|
+
* Generated on Mon, 13 Dec 2021 16:09:51 GMT
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|