@dfds-ui/grid 2.2.0-alpha.e010e72f → 2.2.0-alpha.ea72a60a
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/cjs/grid/Grid.d.ts +2 -2
- package/cjs/grid/GridItem.d.ts +2 -2
- package/cjs/grid/index.js +2 -2
- package/cjs/index.js +1 -1
- package/grid/Grid.d.ts +2 -2
- package/grid/GridItem.d.ts +2 -2
- package/package.json +11 -11
package/cjs/grid/Grid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export declare type GridProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
gap?: 's' | 'l';
|
|
@@ -7,5 +7,5 @@ export declare type GridProps = {
|
|
|
7
7
|
bottom?: 's' | 'l';
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const Grid: ({ gap, surface, top, bottom, children, className }: GridProps) => JSX.Element;
|
|
10
|
+
export declare const Grid: ({ gap, surface, top, bottom, children, className }: GridProps) => React.JSX.Element;
|
|
11
11
|
export default Grid;
|
package/cjs/grid/GridItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export declare type GridItemProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
small?: 6 | 12;
|
|
@@ -10,5 +10,5 @@ export declare type GridItemProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
className?: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const GridItem: (props: GridItemProps) => JSX.Element;
|
|
13
|
+
export declare const GridItem: (props: GridItemProps) => React.JSX.Element;
|
|
14
14
|
export default GridItem;
|
package/cjs/grid/index.js
CHANGED
|
@@ -9,7 +9,7 @@ Object.keys(_Grid).forEach(function (key) {
|
|
|
9
9
|
if (key in exports && exports[key] === _Grid[key]) return;
|
|
10
10
|
Object.defineProperty(exports, key, {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function
|
|
12
|
+
get: function () {
|
|
13
13
|
return _Grid[key];
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -20,7 +20,7 @@ Object.keys(_GridItem).forEach(function (key) {
|
|
|
20
20
|
if (key in exports && exports[key] === _GridItem[key]) return;
|
|
21
21
|
Object.defineProperty(exports, key, {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function
|
|
23
|
+
get: function () {
|
|
24
24
|
return _GridItem[key];
|
|
25
25
|
}
|
|
26
26
|
});
|
package/cjs/index.js
CHANGED
package/grid/Grid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export declare type GridProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
gap?: 's' | 'l';
|
|
@@ -7,5 +7,5 @@ export declare type GridProps = {
|
|
|
7
7
|
bottom?: 's' | 'l';
|
|
8
8
|
className?: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const Grid: ({ gap, surface, top, bottom, children, className }: GridProps) => JSX.Element;
|
|
10
|
+
export declare const Grid: ({ gap, surface, top, bottom, children, className }: GridProps) => React.JSX.Element;
|
|
11
11
|
export default Grid;
|
package/grid/GridItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export declare type GridItemProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
small?: 6 | 12;
|
|
@@ -10,5 +10,5 @@ export declare type GridItemProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
className?: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const GridItem: (props: GridItemProps) => JSX.Element;
|
|
13
|
+
export declare const GridItem: (props: GridItemProps) => React.JSX.Element;
|
|
14
14
|
export default GridItem;
|
package/package.json
CHANGED
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
"description": "Grid components",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.2.0-alpha.
|
|
6
|
+
"version": "2.2.0-alpha.ea72a60a",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
10
10
|
"esnext": "./index.js",
|
|
11
11
|
"typings": "./index.d.ts",
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@emotion/react": "11.
|
|
14
|
-
"@emotion/styled": "11.
|
|
15
|
-
"react": ">=
|
|
16
|
-
"react-dom": ">=
|
|
13
|
+
"@emotion/react": "11.14.0",
|
|
14
|
+
"@emotion/styled": "11.14.1",
|
|
15
|
+
"react": ">= 18.3.1",
|
|
16
|
+
"react-dom": ">= 18.3.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dfds-ui/colors": "2.2.0-alpha.
|
|
20
|
-
"@dfds-ui/icons": "2.2.0-alpha.
|
|
21
|
-
"@dfds-ui/react-components": "2.2.0-alpha.
|
|
22
|
-
"@dfds-ui/theme": "2.2.0-alpha.
|
|
23
|
-
"classnames": "^2.
|
|
19
|
+
"@dfds-ui/colors": "2.2.0-alpha.ea72a60a",
|
|
20
|
+
"@dfds-ui/icons": "2.2.0-alpha.ea72a60a",
|
|
21
|
+
"@dfds-ui/react-components": "2.2.0-alpha.ea72a60a",
|
|
22
|
+
"@dfds-ui/theme": "2.2.0-alpha.ea72a60a",
|
|
23
|
+
"classnames": "^2.5.1"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "ea72a60a96392ec89dc55677d4e1f6ca13c547c9",
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
}
|