ingred-ui 9.4.2 → 9.7.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.
@@ -1,6 +1,7 @@
1
1
  import { Palette } from "./palette";
2
2
  import { Depth } from "../styles";
3
3
  import { DepthOptions } from "../styles/depth";
4
+ import { DeepPartial } from "../types";
4
5
  export declare type ThemeOptions = {
5
6
  palette?: DeepPartial<Palette>;
6
7
  spacing?: number;
@@ -1,3 +1,4 @@
1
+ import { DeepPartial } from "../types";
1
2
  export declare type PaletteColor = {
2
3
  deepDark: string;
3
4
  dark: string;
@@ -0,0 +1,3 @@
1
+ export declare type DeepPartial<T> = {
2
+ [K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
3
+ };
@@ -1 +1 @@
1
- export declare function renderWithThemeProvider(ui: JSX.Element): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;
1
+ export declare function renderWithThemeProvider(ui: JSX.Element): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingred-ui",
3
- "version": "9.4.2",
3
+ "version": "9.7.0",
4
4
  "description": "",
5
5
  "author": "voyagegroup",
6
6
  "license": "MIT",
@@ -38,9 +38,9 @@
38
38
  "styled-components": ">= 5.X"
39
39
  },
40
40
  "devDependencies": {
41
- "@rollup/plugin-commonjs": "21.0.1",
41
+ "@rollup/plugin-commonjs": "21.0.3",
42
42
  "@rollup/plugin-node-resolve": "13.1.3",
43
- "@rollup/plugin-typescript": "8.3.0",
43
+ "@rollup/plugin-typescript": "8.3.2",
44
44
  "@rollup/plugin-url": "6.1.0",
45
45
  "@storybook/addon-console": "1.2.3",
46
46
  "@storybook/addon-essentials": "6.3.12",
@@ -48,38 +48,38 @@
48
48
  "@storybook/addon-storysource": "6.3.12",
49
49
  "@storybook/react": "6.3.12",
50
50
  "@svgr/rollup": "6.2.1",
51
- "@testing-library/jest-dom": "5.16.2",
52
- "@testing-library/react": "12.1.2",
53
- "@types/jest": "27.4.0",
51
+ "@testing-library/jest-dom": "5.16.4",
52
+ "@testing-library/react": "13.0.1",
53
+ "@types/jest": "27.4.1",
54
54
  "@types/moment": "2.13.0",
55
- "@types/react": "17.0.39",
55
+ "@types/react": "17.0.44",
56
56
  "@types/react-dates": "21.8.3",
57
- "@types/react-dom": "17.0.11",
57
+ "@types/react-dom": "18.0.1",
58
58
  "@types/react-transition-group": "4.4.4",
59
- "@types/styled-components": "5.1.22",
60
- "@typescript-eslint/eslint-plugin": "5.11.0",
61
- "@typescript-eslint/parser": "5.11.0",
59
+ "@types/styled-components": "5.1.24",
60
+ "@typescript-eslint/eslint-plugin": "5.19.0",
61
+ "@typescript-eslint/parser": "5.19.0",
62
62
  "cross-env": "7.0.3",
63
- "eslint": "8.8.0",
64
- "eslint-config-prettier": "8.3.0",
63
+ "eslint": "8.13.0",
64
+ "eslint-config-prettier": "8.5.0",
65
65
  "eslint-plugin-import": "2.25.4",
66
- "eslint-plugin-jest": "25.7.0",
67
- "eslint-plugin-mdx": "1.16.0",
66
+ "eslint-plugin-jest": "26.1.4",
67
+ "eslint-plugin-mdx": "1.17.0",
68
68
  "eslint-plugin-prettier": "4.0.0",
69
- "eslint-plugin-react": "7.28.0",
70
- "eslint-plugin-react-hooks": "4.3.0",
71
- "jest": "27.4.7",
72
- "prettier": "2.5.1",
73
- "react": "17.0.2",
74
- "react-dom": "17.0.2",
75
- "rollup": "2.67.1",
69
+ "eslint-plugin-react": "7.29.4",
70
+ "eslint-plugin-react-hooks": "4.4.0",
71
+ "jest": "27.5.1",
72
+ "prettier": "2.6.2",
73
+ "react": "18.0.0",
74
+ "react-dom": "18.0.0",
75
+ "rollup": "2.70.1",
76
76
  "rollup-plugin-imagemin": "0.5.0",
77
77
  "rollup-plugin-peer-deps-external": "2.2.4",
78
78
  "rollup-plugin-postcss": "4.0.2",
79
- "rollup-plugin-terser": "^7.0.2",
79
+ "rollup-plugin-terser": "7.0.2",
80
80
  "scaffdog": "1.2.0",
81
81
  "styled-components": "5.3.3",
82
- "ts-jest": "27.1.3",
82
+ "ts-jest": "27.1.4",
83
83
  "typescript": "4.5.5"
84
84
  },
85
85
  "files": [
@@ -87,7 +87,7 @@
87
87
  ],
88
88
  "resolutions": {
89
89
  "colors": "1.4.0",
90
- "react": "17.0.2",
91
- "react-dom": "17.0.2"
90
+ "react": "18.0.0",
91
+ "react-dom": "18.0.0"
92
92
  }
93
93
  }