@wonderflow/react-components 2.38.0-next.7 → 2.38.0-next.8
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/grid/grid.d.ts +22 -1
- package/grid/grid.js +1 -1
- package/grid/index.d.ts +1 -2
- package/grid/index.js +1 -2
- package/package.json +1 -1
- package/themes/dark.css +1 -1
- package/themes/light.css +1 -1
- package/themes.css +3 -3
package/grid/grid.d.ts
CHANGED
|
@@ -10,4 +10,25 @@ export declare type GridProps = PropsWithClass & {
|
|
|
10
10
|
colMinWidth?: string;
|
|
11
11
|
rowMinHeight?: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const Grid: React.
|
|
13
|
+
export declare const Grid: React.ForwardRefExoticComponent<PropsWithClass & {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
columns?: number | undefined;
|
|
16
|
+
rows?: number | undefined;
|
|
17
|
+
rowGap?: 0 | 24 | 16 | 32 | 40 | 48 | 56 | 2 | 4 | 8 | 64 | 72 | 80 | 88 | 96 | 104 | 112 | 120 | 128 | 136 | 144 | 152 | 160 | 168 | 176 | 184 | 192 | 200 | undefined;
|
|
18
|
+
columnGap?: 0 | 24 | 16 | 32 | 40 | 48 | 56 | 2 | 4 | 8 | 64 | 72 | 80 | 88 | 96 | 104 | 112 | 120 | 128 | 136 | 144 | 152 | 160 | 168 | 176 | 184 | 192 | 200 | undefined;
|
|
19
|
+
filling?: false | "fill" | "fit" | undefined;
|
|
20
|
+
colMinWidth?: string | undefined;
|
|
21
|
+
rowMinHeight?: string | undefined;
|
|
22
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
23
|
+
export declare const GridRoot: React.ForwardRefExoticComponent<PropsWithClass & {
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
columns?: number | undefined;
|
|
26
|
+
rows?: number | undefined;
|
|
27
|
+
rowGap?: 0 | 24 | 16 | 32 | 40 | 48 | 56 | 2 | 4 | 8 | 64 | 72 | 80 | 88 | 96 | 104 | 112 | 120 | 128 | 136 | 144 | 152 | 160 | 168 | 176 | 184 | 192 | 200 | undefined;
|
|
28
|
+
columnGap?: 0 | 24 | 16 | 32 | 40 | 48 | 56 | 2 | 4 | 8 | 64 | 72 | 80 | 88 | 96 | 104 | 112 | 120 | 128 | 136 | 144 | 152 | 160 | 168 | 176 | 184 | 192 | 200 | undefined;
|
|
29
|
+
filling?: false | "fill" | "fit" | undefined;
|
|
30
|
+
colMinWidth?: string | undefined;
|
|
31
|
+
rowMinHeight?: string | undefined;
|
|
32
|
+
} & React.RefAttributes<HTMLUListElement>> & {
|
|
33
|
+
Item: React.FC<import("./grid-item").GridItemProps>;
|
|
34
|
+
};
|
package/grid/grid.js
CHANGED
|
@@ -15,4 +15,4 @@ export const Grid = forwardRef(({ className, children, columns, rows, rowGap = 8
|
|
|
15
15
|
return (React.createElement("ul", { className: clsx(GridClass, className), style: { ...computedStyle, ...style }, "data-grid-filling-type": filling, ref: forwardedRef, ...props }, children));
|
|
16
16
|
});
|
|
17
17
|
Grid.displayName = 'Grid';
|
|
18
|
-
Grid
|
|
18
|
+
export const GridRoot = Object.assign(Grid, { Item: GridItem });
|
package/grid/index.d.ts
CHANGED
package/grid/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { Grid } from './grid';
|
|
2
|
-
export { GridItem } from './grid-item';
|
|
1
|
+
export { GridRoot as Grid } from './grid';
|
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 Fri, 26 Nov 2021
|
|
7
|
+
* Generated on Fri, 26 Nov 2021 13:11:00 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 Fri, 26 Nov 2021
|
|
54
|
+
* Generated on Fri, 26 Nov 2021 13:11:00 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 Fri, 26 Nov 2021
|
|
102
|
+
* Generated on Fri, 26 Nov 2021 13:11:00 GMT
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|