ingred-ui 9.3.1 → 9.4.2

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.
@@ -19,6 +19,7 @@ declare type State = {
19
19
  toasts: ToastsType;
20
20
  };
21
21
  export declare class ToastProvider extends Component<ToastProviderProps, State> {
22
+ nodeRef: React.RefObject<HTMLDivElement>;
22
23
  static defaultProps: {
23
24
  autoDismiss: boolean;
24
25
  autoDismissTimeout: number;
@@ -34,7 +35,9 @@ export declare class ToastProvider extends Component<ToastProviderProps, State>
34
35
  newestOnTop: boolean;
35
36
  placement: string;
36
37
  transitionDuration: number;
38
+ nodeRef: null;
37
39
  };
40
+ constructor(props: ToastProviderProps | Readonly<ToastProviderProps>);
38
41
  state: {
39
42
  toasts: ToastsType;
40
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingred-ui",
3
- "version": "9.3.1",
3
+ "version": "9.4.2",
4
4
  "description": "",
5
5
  "author": "voyagegroup",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "test": "cross-env CI=1 jest --runInBand",
16
16
  "test:watch": "jest --watchAll",
17
17
  "test:update": "jest --updateSnapshot",
18
- "build": "rollup -c",
18
+ "build": "NODE_ENV=production rollup -c",
19
19
  "start": "rollup -c -w",
20
20
  "playground": "yarn build && cd testEnv && yarn install && yarn start",
21
21
  "storybook": "start-storybook -s ./assets -p 6006",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@rollup/plugin-commonjs": "21.0.1",
42
- "@rollup/plugin-node-resolve": "13.0.6",
42
+ "@rollup/plugin-node-resolve": "13.1.3",
43
43
  "@rollup/plugin-typescript": "8.3.0",
44
44
  "@rollup/plugin-url": "6.1.0",
45
45
  "@storybook/addon-console": "1.2.3",
@@ -47,44 +47,46 @@
47
47
  "@storybook/addon-links": "6.3.12",
48
48
  "@storybook/addon-storysource": "6.3.12",
49
49
  "@storybook/react": "6.3.12",
50
- "@svgr/rollup": "6.1.2",
51
- "@testing-library/jest-dom": "5.16.1",
50
+ "@svgr/rollup": "6.2.1",
51
+ "@testing-library/jest-dom": "5.16.2",
52
52
  "@testing-library/react": "12.1.2",
53
- "@types/jest": "27.0.3",
53
+ "@types/jest": "27.4.0",
54
54
  "@types/moment": "2.13.0",
55
- "@types/react": "17.0.37",
55
+ "@types/react": "17.0.39",
56
56
  "@types/react-dates": "21.8.3",
57
57
  "@types/react-dom": "17.0.11",
58
58
  "@types/react-transition-group": "4.4.4",
59
- "@types/styled-components": "5.1.18",
60
- "@typescript-eslint/eslint-plugin": "5.8.0",
61
- "@typescript-eslint/parser": "5.8.0",
59
+ "@types/styled-components": "5.1.22",
60
+ "@typescript-eslint/eslint-plugin": "5.11.0",
61
+ "@typescript-eslint/parser": "5.11.0",
62
62
  "cross-env": "7.0.3",
63
- "eslint": "8.4.1",
63
+ "eslint": "8.8.0",
64
64
  "eslint-config-prettier": "8.3.0",
65
- "eslint-plugin-import": "2.25.3",
66
- "eslint-plugin-jest": "25.3.0",
65
+ "eslint-plugin-import": "2.25.4",
66
+ "eslint-plugin-jest": "25.7.0",
67
67
  "eslint-plugin-mdx": "1.16.0",
68
68
  "eslint-plugin-prettier": "4.0.0",
69
69
  "eslint-plugin-react": "7.28.0",
70
70
  "eslint-plugin-react-hooks": "4.3.0",
71
- "jest": "27.4.5",
71
+ "jest": "27.4.7",
72
72
  "prettier": "2.5.1",
73
73
  "react": "17.0.2",
74
74
  "react-dom": "17.0.2",
75
- "rollup": "2.61.1",
76
- "rollup-plugin-imagemin": "0.4.1",
75
+ "rollup": "2.67.1",
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
- "scaffdog": "1.1.0",
79
+ "rollup-plugin-terser": "^7.0.2",
80
+ "scaffdog": "1.2.0",
80
81
  "styled-components": "5.3.3",
81
- "ts-jest": "27.1.2",
82
- "typescript": "4.5.4"
82
+ "ts-jest": "27.1.3",
83
+ "typescript": "4.5.5"
83
84
  },
84
85
  "files": [
85
86
  "dist"
86
87
  ],
87
88
  "resolutions": {
89
+ "colors": "1.4.0",
88
90
  "react": "17.0.2",
89
91
  "react-dom": "17.0.2"
90
92
  }