@purpurds/grid 4.3.0 → 4.5.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/dist/col.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import React, { ReactNode } from "react";
1
+ import { default as React, ReactNode } from 'react';
2
+
2
3
  export type ColumnWidthType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
3
4
  export type ColProps = {
4
5
  children: ReactNode;
package/dist/grid.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import React, { ReactNode } from "react";
2
- import { Col } from "./col";
3
- import { Row } from "./row";
1
+ import { Row } from './row';
2
+ import { Col } from './col';
3
+ import { default as React, ReactNode } from 'react';
4
+
4
5
  type GridCmp<P> = React.FunctionComponent<P> & {
5
6
  Row: typeof Row;
6
7
  Col: typeof Col;
@@ -10,6 +11,6 @@ export type GridProps = {
10
11
  ["data-testid"]?: string;
11
12
  className?: string;
12
13
  };
13
- export type { ColumnWidthType } from "./col";
14
+ export type { ColumnWidthType } from './col';
14
15
  export declare const Grid: GridCmp<GridProps>;
15
16
  //# sourceMappingURL=grid.d.ts.map
package/dist/row.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import React, { ReactNode } from "react";
1
+ import { default as React, ReactNode } from 'react';
2
+
2
3
  export declare const RowSpacings: {
3
4
  readonly SM: "sm";
4
5
  readonly MD: "md";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/grid",
3
- "version": "4.3.0",
3
+ "version": "4.5.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/grid.cjs.js",
6
6
  "types": "./dist/grid.d.ts",
@@ -15,31 +15,31 @@
15
15
  "source": "src/grid.tsx",
16
16
  "dependencies": {
17
17
  "classnames": "~2.5.0",
18
- "@purpurds/tokens": "4.3.0"
18
+ "@purpurds/tokens": "4.5.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@rushstack/eslint-patch": "~1.7.0",
21
+ "@rushstack/eslint-patch": "~1.10.0",
22
22
  "@storybook/blocks": "~7.6.0",
23
23
  "@storybook/react": "~7.6.0",
24
24
  "@telia/base-rig": "~8.2.0",
25
25
  "@telia/react-rig": "~3.2.0",
26
26
  "@testing-library/dom": "~9.3.3",
27
27
  "@testing-library/jest-dom": "~6.4.0",
28
- "@testing-library/react": "~14.2.0",
28
+ "@testing-library/react": "~14.3.0",
29
29
  "@types/node": "18",
30
- "@types/react-dom": "~18.2.17",
31
- "@types/react": "~18.2.42",
30
+ "@types/react-dom": "~18.3.0",
31
+ "@types/react": "~18.3.0",
32
32
  "builtin-modules": "~3.3.0",
33
33
  "eslint-plugin-testing-library": "~6.2.0",
34
34
  "eslint": "~8.57.0",
35
35
  "jsdom": "~22.1.0",
36
36
  "lint-staged": "~10.5.3",
37
37
  "prettier": "~2.8.8",
38
- "react-dom": "~18.2.0",
39
- "react": "~18.2.0",
38
+ "react-dom": "~18.3.0",
39
+ "react": "~18.3.0",
40
40
  "typescript": "~5.4.2",
41
41
  "vite": "~5.2.2",
42
- "vitest": "~1.4.0",
42
+ "vitest": "~1.5.0",
43
43
  "@purpurds/component-rig": "1.0.0"
44
44
  },
45
45
  "scripts": {