@nice-digital/nds-grid 4.0.7 → 4.0.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/es/Grid.d.ts +1 -1
- package/es/GridItem.d.ts +3 -4
- package/package.json +2 -2
package/es/Grid.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { GridItem } from "./GridItem";
|
|
3
3
|
import "../scss/grid.scss";
|
|
4
4
|
export { GridItem };
|
|
5
|
-
declare type ValidGridItemProps = React.ReactElement<typeof GridItem> | boolean | null | undefined;
|
|
5
|
+
export declare 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
|
-
declare type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
|
-
declare type PullOrPush = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
4
|
-
declare type BreakPointGridDefinition = Columns | {
|
|
2
|
+
export declare type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
3
|
+
export declare type PullOrPush = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
4
|
+
export declare 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 */
|
|
@@ -34,4 +34,3 @@ export interface GridItemProps {
|
|
|
34
34
|
elementType?: React.ElementType;
|
|
35
35
|
}
|
|
36
36
|
export declare const GridItem: React.FC<GridItemProps>;
|
|
37
|
-
export {};
|
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.8",
|
|
4
4
|
"description": "Grid component for the NICE Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"grid"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^16 || ^17 || ^18"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "239204ca6a651e00d2eb587dfd730756cee53351",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@testing-library/jest-dom": "^5.16.5",
|
|
46
46
|
"@testing-library/react": "^13.4.0",
|