@nice-digital/nds-grid 4.0.9 → 4.0.10-alpha.0
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/es/Grid.d.ts +1 -1
- package/es/GridItem.d.ts +3 -3
- package/package.json +3 -3
package/es/Grid.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { GridItem, type Columns, type PullOrPush, type BreakPointGridDefinition } from "./GridItem";
|
|
3
3
|
import "../scss/grid.scss";
|
|
4
4
|
export { GridItem, Columns, PullOrPush, BreakPointGridDefinition };
|
|
5
|
-
export
|
|
5
|
+
export type ValidGridItemProps = React.ReactElement<typeof GridItem> | boolean | null | undefined;
|
|
6
6
|
export declare const gutterTypes: {
|
|
7
7
|
readonly standard: "standard";
|
|
8
8
|
readonly none: "none";
|
package/es/GridItem.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
|
+
export type PullOrPush = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
4
|
+
export type BreakPointGridDefinition = Columns | {
|
|
5
5
|
/** The number of columns at this breakpoint */
|
|
6
6
|
cols: Columns;
|
|
7
7
|
/** The number of columns to pull at this breakpoint */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-grid",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10-alpha.0",
|
|
4
4
|
"description": "Grid component for the NICE Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"grid"
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"url": "https://github.com/nice-digital/nice-design-system/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nice-digital/nds-core": "^4.0.
|
|
37
|
+
"@nice-digital/nds-core": "^4.0.7-alpha.0",
|
|
38
38
|
"classnames": "^2.2.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^16 || ^17 || ^18"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "8b33a79ecc8fa224223615ebe8647378e97936ad",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@testing-library/jest-dom": "^5.16.5",
|
|
46
46
|
"@testing-library/react": "^13.4.0",
|