@oc-digital/react-component-library 2.1.0-beta.0 → 2.1.0-beta.1

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.
@@ -2,4 +2,4 @@ import { TableCellValues } from "../EditableTable/EditableTable.types";
2
2
  export declare function sortDescendingStartDateString<T extends {
3
3
  startDate: string;
4
4
  }>(array: T[]): T[];
5
- export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean | undefined) => boolean;
5
+ export declare const didCellValueChange: (oldVal: TableCellValues, newVal: TableCellValues, isDateValue?: boolean) => boolean;
package/package.json CHANGED
@@ -1,132 +1,135 @@
1
- {
2
- "name": "@oc-digital/react-component-library",
3
- "version": "2.1.0-beta.0",
4
- "description": "React component library for Optimal Compliance",
5
- "main": "build/index.js",
6
- "types": "build/index.d.ts",
7
- "files": [
8
- "build"
9
- ],
10
- "scripts": {
11
- "start": "npm run storybook",
12
- "build": "rollup -c",
13
- "prepublishOnly": "npm run build",
14
- "test": "echo \"Error: no test specified\" && exit 1",
15
- "storybook": "start-storybook -p 6006",
16
- "build-storybook": "build-storybook"
17
- },
18
- "author": "Sergej-Vlasov",
19
- "license": "ISC",
20
- "devDependencies": {
21
- "@babel/core": "^7.15.5",
22
- "@date-io/date-fns": "^1.3.13",
23
- "@emotion/react": "^11.10.6",
24
- "@material-ui/core": "^4.12.3",
25
- "@material-ui/icons": "^4.11.2",
26
- "@material-ui/lab": "^4.0.0-alpha.60",
27
- "@material-ui/pickers": "^3.3.10",
28
- "@mui/material": "^5.11.12",
29
- "@rollup/plugin-commonjs": "^20.0.0",
30
- "@rollup/plugin-node-resolve": "^13.0.4",
31
- "@storybook/addon-actions": "^6.3.8",
32
- "@storybook/addon-essentials": "^6.3.8",
33
- "@storybook/addon-links": "^6.3.8",
34
- "@storybook/react": "^6.3.8",
35
- "@types/react": "^17.0.21",
36
- "@types/react-router-dom": "^5.3.1",
37
- "@types/react-table": "^7.7.8",
38
- "@typescript-eslint/eslint-plugin": "^4.31.1",
39
- "@typescript-eslint/parser": "^4.31.1",
40
- "babel-eslint": "^10.1.0",
41
- "babel-loader": "^8.2.2",
42
- "date-fns": "^2.25.0",
43
- "eslint": "^7.32.0",
44
- "eslint-config-prettier": "^8.3.0",
45
- "eslint-config-react-app": "^6.0.0",
46
- "eslint-plugin-flowtype": "^5.10.0",
47
- "eslint-plugin-import": "^2.24.2",
48
- "eslint-plugin-jsx-a11y": "^6.4.1",
49
- "eslint-plugin-prettier": "^4.0.0",
50
- "eslint-plugin-react": "^7.25.2",
51
- "eslint-plugin-react-hooks": "^4.2.0",
52
- "husky": "^4.3.0",
53
- "lint-staged": "^11.1.2",
54
- "lodash": "^4.17.21",
55
- "prettier": "^2.4.1",
56
- "react": "^17.0.2",
57
- "react-dom": "^17.0.2",
58
- "react-number-format": "^4.8.0",
59
- "react-router-dom": "^5.3.0",
60
- "react-table": "^7.7.0",
61
- "react-virtual": "=2.8.2",
62
- "rollup": "^2.56.3",
63
- "rollup-plugin-peer-deps-external": "^2.2.4",
64
- "rollup-plugin-terser": "^7.0.2",
65
- "rollup-plugin-typescript2": "^0.34.1",
66
- "storybook-addon-material-ui": "^0.9.0-alpha.24",
67
- "tslib": "^2.3.1",
68
- "typescript": "^4.4.3",
69
- "yup": "^0.32.11"
70
- },
71
- "peerDependencies": {
72
- "@date-io/date-fns": "=1.3.13",
73
- "@material-ui/core": "=4.12.3",
74
- "@material-ui/icons": "=4.11.2",
75
- "@material-ui/lab": ">=4.0.0-alpha.60",
76
- "@material-ui/pickers": "=3.3.10",
77
- "date-fns": "=2.25.0",
78
- "lodash": "^4.17.21",
79
- "react": ">=17.0.0",
80
- "react-dom": ">=17.0.0",
81
- "react-number-format": "=4.8.0",
82
- "react-router-dom": ">=5.0.0",
83
- "react-table": "=7.7.0",
84
- "react-virtual": "=2.8.2",
85
- "yup": "=0.32.11"
86
- },
87
- "eslintConfig": {
88
- "parser": "@typescript-eslint/parser",
89
- "parserOptions": {
90
- "ecmaVersion": 2020,
91
- "sourceType": "module",
92
- "ecmaFeatures": {
93
- "jsx": true
94
- }
95
- },
96
- "settings": {
97
- "react": {
98
- "version": "detect"
99
- }
100
- },
101
- "ignorePatterns": [
102
- "build/"
103
- ],
104
- "extends": [
105
- "react-app",
106
- "plugin:@typescript-eslint/eslint-recommended",
107
- "plugin:prettier/recommended"
108
- ],
109
- "rules": {
110
- "no-use-before-define": "off",
111
- "@typescript-eslint/no-use-before-define": [
112
- "error"
113
- ]
114
- }
115
- },
116
- "prettier": {
117
- "printWidth": 90,
118
- "bracketSpacing": true,
119
- "trailingComma": "es5",
120
- "useTabs": false,
121
- "tabWidth": 2
122
- },
123
- "husky": {
124
- "hooks": {
125
- "pre-commit": "lint-staged"
126
- }
127
- },
128
- "lint-staged": {
129
- "*.+(js|ts|jsx|tsx)": "eslint --fix",
130
- "*.+(json|css|md)": "prettier --write"
131
- }
132
- }
1
+ {
2
+ "name": "@oc-digital/react-component-library",
3
+ "version": "2.1.0-beta.1",
4
+ "description": "React component library for Optimal Compliance",
5
+ "main": "build/index.js",
6
+ "types": "build/index.d.ts",
7
+ "files": [
8
+ "build"
9
+ ],
10
+ "scripts": {
11
+ "start": "npm run storybook",
12
+ "build": "rollup -c",
13
+ "prepublishOnly": "npm run build",
14
+ "test": "echo \"Error: no test specified\" && exit 1",
15
+ "storybook": "start-storybook -p 6006",
16
+ "build-storybook": "build-storybook"
17
+ },
18
+ "author": "Sergej-Vlasov",
19
+ "license": "ISC",
20
+ "devDependencies": {
21
+ "@babel/core": "^7.15.5",
22
+ "@date-io/date-fns": "^1.3.13",
23
+ "@emotion/react": "^11.10.6",
24
+ "@material-ui/core": "^4.12.3",
25
+ "@material-ui/icons": "^4.11.2",
26
+ "@material-ui/lab": "^4.0.0-alpha.60",
27
+ "@material-ui/pickers": "^3.3.10",
28
+ "@mui/material": "^5.11.12",
29
+ "@rollup/plugin-commonjs": "^20.0.0",
30
+ "@rollup/plugin-node-resolve": "^13.0.4",
31
+ "@storybook/addon-actions": "^6.3.8",
32
+ "@storybook/addon-essentials": "^6.3.8",
33
+ "@storybook/addon-links": "^6.3.8",
34
+ "@storybook/react": "^6.3.8",
35
+ "@types/react": "^17.0.21",
36
+ "@types/react-router-dom": "^5.3.1",
37
+ "@types/react-table": "^7.7.8",
38
+ "@typescript-eslint/eslint-plugin": "^4.31.1",
39
+ "@typescript-eslint/parser": "^4.31.1",
40
+ "babel-eslint": "^10.1.0",
41
+ "babel-loader": "^8.2.2",
42
+ "date-fns": "^2.25.0",
43
+ "eslint": "^7.32.0",
44
+ "eslint-config-prettier": "^8.3.0",
45
+ "eslint-config-react-app": "^6.0.0",
46
+ "eslint-plugin-flowtype": "^5.10.0",
47
+ "eslint-plugin-import": "^2.24.2",
48
+ "eslint-plugin-jsx-a11y": "^6.4.1",
49
+ "eslint-plugin-prettier": "^4.0.0",
50
+ "eslint-plugin-react": "^7.25.2",
51
+ "eslint-plugin-react-hooks": "^4.2.0",
52
+ "husky": "^4.3.0",
53
+ "lint-staged": "^11.1.2",
54
+ "lodash": "^4.17.21",
55
+ "prettier": "^2.4.1",
56
+ "react": "^17.0.2",
57
+ "react-dom": "^17.0.2",
58
+ "react-number-format": "^4.8.0",
59
+ "react-router-dom": "^5.3.0",
60
+ "react-table": "^7.7.0",
61
+ "react-virtual": "=2.8.2",
62
+ "rollup": "^2.56.3",
63
+ "rollup-plugin-peer-deps-external": "^2.2.4",
64
+ "rollup-plugin-terser": "^7.0.2",
65
+ "rollup-plugin-typescript2": "^0.34.1",
66
+ "storybook-addon-material-ui": "^0.9.0-alpha.24",
67
+ "tslib": "^2.3.1",
68
+ "typescript": "^4.4.3",
69
+ "yup": "^0.32.11"
70
+ },
71
+ "peerDependencies": {
72
+ "@date-io/date-fns": "=1.3.13",
73
+ "@material-ui/core": "=4.12.3",
74
+ "@material-ui/icons": "=4.11.2",
75
+ "@material-ui/lab": ">=4.0.0-alpha.60",
76
+ "@material-ui/pickers": "=3.3.10",
77
+ "date-fns": "=2.25.0",
78
+ "lodash": "^4.17.21",
79
+ "react": ">=17.0.0",
80
+ "react-dom": ">=17.0.0",
81
+ "react-number-format": "=4.8.0",
82
+ "react-router-dom": ">=5.0.0",
83
+ "react-table": "=7.7.0",
84
+ "react-virtual": "=2.8.2",
85
+ "yup": "=0.32.11"
86
+ },
87
+ "eslintConfig": {
88
+ "parser": "@typescript-eslint/parser",
89
+ "parserOptions": {
90
+ "ecmaVersion": 2020,
91
+ "sourceType": "module",
92
+ "ecmaFeatures": {
93
+ "jsx": true
94
+ }
95
+ },
96
+ "settings": {
97
+ "react": {
98
+ "version": "detect"
99
+ }
100
+ },
101
+ "ignorePatterns": [
102
+ "build/"
103
+ ],
104
+ "extends": [
105
+ "react-app",
106
+ "plugin:@typescript-eslint/eslint-recommended",
107
+ "plugin:prettier/recommended"
108
+ ],
109
+ "rules": {
110
+ "no-use-before-define": "off",
111
+ "@typescript-eslint/no-use-before-define": [
112
+ "error"
113
+ ]
114
+ }
115
+ },
116
+ "prettier": {
117
+ "printWidth": 90,
118
+ "bracketSpacing": true,
119
+ "trailingComma": "es5",
120
+ "useTabs": false,
121
+ "tabWidth": 2
122
+ },
123
+ "husky": {
124
+ "hooks": {
125
+ "pre-commit": "lint-staged"
126
+ }
127
+ },
128
+ "lint-staged": {
129
+ "*.+(js|ts|jsx|tsx)": "eslint --fix",
130
+ "*.+(json|css|md)": "prettier --write"
131
+ },
132
+ "dependencies": {
133
+ "@mui/styles": "^5.11.13"
134
+ }
135
+ }