@npm_leadtech/legal-lib-components 2.21.5 → 2.22.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/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.21.5",
3
+ "version": "2.22.0",
4
4
  "dependencies": {
5
- "@testing-library/jest-dom": "^5.16.5",
5
+ "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
7
7
  "node-fetch": "^3.3.2",
8
8
  "postcss-url": "^10.1.3",
9
- "react-datepicker": "^4.12.0",
9
+ "react-datepicker": "^4.23.0",
10
10
  "react-input-mask": "^2.0.4",
11
- "react-number-format": "^5.2.2",
12
- "react-select": "^5.7.3",
11
+ "react-number-format": "^5.3.1",
12
+ "react-select": "^5.8.0",
13
13
  "react-swipeable": "^7.0.1",
14
- "sanitize-html": "^2.10.0"
14
+ "sanitize-html": "^2.11.0"
15
15
  },
16
16
  "license": "MIT",
17
17
  "browserslist": {
@@ -27,90 +27,93 @@
27
27
  ]
28
28
  },
29
29
  "devDependencies": {
30
- "@babel/cli": "^7.21.5",
31
- "@babel/core": "^7.22.1",
32
- "@babel/plugin-transform-runtime": "^7.22.4",
33
- "@babel/preset-env": "^7.22.4",
34
- "@babel/preset-flow": "^7.21.4",
35
- "@babel/preset-react": "^7.22.3",
36
- "@babel/preset-typescript": "^7.21.5",
30
+ "@babel/cli": "^7.23.4",
31
+ "@babel/core": "^7.23.3",
32
+ "@babel/plugin-transform-runtime": "^7.23.4",
33
+ "@babel/preset-env": "^7.23.3",
34
+ "@babel/preset-flow": "^7.23.3",
35
+ "@babel/preset-react": "^7.23.3",
36
+ "@babel/preset-typescript": "^7.23.3",
37
37
  "@gatsbyjs/reach-router": "^2.0.1",
38
- "@jest/globals": "^29.5.0",
39
- "@rollup/plugin-babel": "^6.0.3",
40
- "@rollup/plugin-commonjs": "^24.1.0",
41
- "@rollup/plugin-image": "^3.0.2",
42
- "@rollup/plugin-node-resolve": "^15.1.0",
43
- "@rollup/plugin-typescript": "^11.1.1",
44
- "@storybook/addon-a11y": "^7.2.1",
45
- "@storybook/addon-actions": "^7.2.1",
46
- "@storybook/addon-controls": "^7.2.1",
47
- "@storybook/addon-essentials": "^7.2.1",
48
- "@storybook/addon-links": "^7.2.1",
49
- "@storybook/addon-mdx-gfm": "^7.2.1",
50
- "@storybook/react": "^7.2.1",
51
- "@storybook/react-webpack5": "^7.2.1",
52
- "@testing-library/jest-dom": "^5.16.5",
53
- "@testing-library/react": "^14.0.0",
54
- "@types/jest": "^29.5.2",
55
- "@types/node": "^18.16.16",
56
- "@types/react": "^18.2.8",
57
- "@types/react-datepicker": "^4.11.2",
58
- "@typescript-eslint/eslint-plugin": "^5.59.9",
59
- "@typescript-eslint/parser": "^5.59.9",
60
- "autoprefixer": "^10.4.14",
38
+ "@jest/globals": "^29.7.0",
39
+ "@rollup/plugin-babel": "^6.0.4",
40
+ "@rollup/plugin-commonjs": "^25.0.7",
41
+ "@rollup/plugin-image": "^3.0.3",
42
+ "@rollup/plugin-node-resolve": "^15.2.3",
43
+ "@rollup/plugin-typescript": "^11.1.5",
44
+ "@storybook/addon-a11y": "^7.5.3",
45
+ "@storybook/addon-actions": "^7.5.3",
46
+ "@storybook/addon-controls": "^7.5.3",
47
+ "@storybook/addon-essentials": "^7.5.3",
48
+ "@storybook/addon-links": "^7.5.3",
49
+ "@storybook/addon-mdx-gfm": "^7.5.3",
50
+ "@storybook/react": "^7.5.3",
51
+ "@storybook/react-webpack5": "^7.5.3",
52
+ "@testing-library/jest-dom": "^6.1.4",
53
+ "@testing-library/react": "^14.1.2",
54
+ "@types/jest": "^29.5.10",
55
+ "@types/node": "^20.10.0",
56
+ "@types/react": "^18.2.38",
57
+ "@types/react-datepicker": "^4.19.3",
58
+ "@typescript-eslint/eslint-plugin": "^6.12.0",
59
+ "@typescript-eslint/parser": "^6.12.0",
60
+ "autoprefixer": "^10.4.16",
61
61
  "babel-eslint": "^10.1.0",
62
- "babel-jest": "^29.5.0",
63
- "babel-loader": "^9.1.2",
62
+ "babel-jest": "^29.7.0",
63
+ "babel-loader": "^9.1.3",
64
64
  "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
65
65
  "babel-preset-react-app": "^10.0.1",
66
+ "chromatic": "^9.1.0",
66
67
  "classnames": "^2.3.2",
67
68
  "clean-webpack-plugin": "^4.0.0",
68
69
  "cross-env": "^7.0.3",
69
70
  "css-loader": "^6.8.1",
70
71
  "enzyme": "^3.11.0",
71
- "eslint": "^8.42.0",
72
- "eslint-config-prettier": "^8.8.0",
73
- "eslint-config-standard-with-typescript": "^35.0.0",
74
- "eslint-plugin-import": "^2.27.5",
75
- "eslint-plugin-jsx-a11y": "^6.7.1",
76
- "eslint-plugin-n": "^16.0.0",
77
- "eslint-plugin-prettier": "^4.2.1",
72
+ "eslint": "^8.54.0",
73
+ "eslint-config-prettier": "^9.0.0",
74
+ "eslint-config-standard-with-typescript": "^40.0.0",
75
+ "eslint-plugin-import": "^2.29.0",
76
+ "eslint-plugin-jsx-a11y": "^6.8.0",
77
+ "eslint-plugin-n": "^16.3.1",
78
+ "eslint-plugin-prettier": "^5.0.1",
78
79
  "eslint-plugin-promise": "^6.1.1",
79
- "eslint-plugin-react": "^7.32.2",
80
+ "eslint-plugin-react": "^7.33.2",
80
81
  "eslint-plugin-react-hooks": "^4.6.0",
81
- "eslint-plugin-storybook": "^0.6.13",
82
- "gatsby-link": "^5.10.0",
83
- "gatsby-plugin-image": "^3.10.0",
82
+ "eslint-plugin-require-explicit-generics": "^1.0.0",
83
+ "eslint-plugin-storybook": "^0.6.15",
84
+ "gatsby-link": "^5.12.1",
85
+ "gatsby-plugin-image": "^3.12.3",
84
86
  "husky": "^8.0.3",
85
87
  "identity-obj-proxy": "^3.0.0",
86
- "jest": "^29.5.0",
87
- "jest-environment-jsdom": "^29.5.0",
88
+ "jest": "^29.7.0",
89
+ "jest-environment-jsdom": "^29.7.0",
88
90
  "jest-sonar-reporter": "^2.0.0",
89
91
  "jest-svg-transformer": "^1.0.0",
92
+ "lint-staged": "^15.1.0",
90
93
  "node-sass": "^8.0.0",
91
94
  "path": "^0.12.7",
92
- "postcss": "^8.4.24",
93
- "postcss-loader": "^7.3.2",
94
- "prettier": "^2.8.8",
95
+ "postcss": "^8.4.31",
96
+ "postcss-loader": "^7.3.3",
97
+ "prettier": "3.1.0",
95
98
  "react": "^18.2.0",
96
99
  "react-dom": "^18.2.0",
97
100
  "react-test-renderer": "^18.2.0",
98
- "rollup": "^3.24.0",
101
+ "rollup": "^4.5.2",
99
102
  "rollup-plugin-babel": "^4.4.0",
100
- "rollup-plugin-copy": "^3.4.0",
101
- "rollup-plugin-dts": "^5.3.0",
103
+ "rollup-plugin-copy": "^3.5.0",
104
+ "rollup-plugin-dts": "^6.1.0",
102
105
  "rollup-plugin-peer-deps-external": "^2.2.4",
103
106
  "rollup-plugin-postcss": "^4.0.2",
104
107
  "rollup-plugin-terser": "^7.0.2",
105
108
  "rollup-plugin-uglify": "^6.0.4",
106
- "rollup-plugin-visualizer": "^5.9.0",
107
- "sass-loader": "13.3.1",
108
- "storybook": "^7.2.1",
109
+ "rollup-plugin-visualizer": "^5.9.3",
110
+ "sass-loader": "13.3.2",
111
+ "storybook": "^7.5.3",
109
112
  "style-loader": "^3.3.3",
110
- "ts-jest": "^29.1.0",
113
+ "ts-jest": "^29.1.1",
111
114
  "ts-node": "^10.9.1",
112
- "tslib": "^2.5.3",
113
- "typescript": "^5.1.3"
115
+ "tslib": "^2.6.2",
116
+ "typescript": "^5.3.2"
114
117
  },
115
118
  "peerDependencies": {
116
119
  "react": "^18.2.0",
@@ -120,6 +123,7 @@
120
123
  "start": "storybook dev -p 6006",
121
124
  "figma": "node src/figma/index.js",
122
125
  "build": "rm -rf dist && rollup -c",
126
+ "build-storybook": "storybook build -o ./build/",
123
127
  "reinstall-force": "rm -Rf node_modules && yarn",
124
128
  "prepare-upgrade": "yarn reinstall-force && yarn build && git add . && git commit -m \"$MSG\" --allow-empty && npm config set tag-version-prefix ''",
125
129
  "upgrade-patch": "yarn prepare-upgrade && npm version patch -m \"Update patch version number\" && git push && git push --tags",
@@ -129,7 +133,8 @@
129
133
  "jest": "jest --maxWorkers=2",
130
134
  "test": "jest --coverage",
131
135
  "prepare": "husky install",
132
- "eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\""
136
+ "eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
137
+ "chromatic": "npx chromatic --project-token=chpt_40b7839227248f8"
133
138
  },
134
139
  "main": "dist/cjs/index.js",
135
140
  "module": "dist/esm/index.js",
@@ -147,5 +152,9 @@
147
152
  "strip-ansi": "^6.0.1",
148
153
  "string-width": "^4.2.2",
149
154
  "wrap-ansi": "^7.0.0"
150
- }
155
+ },
156
+ "lint-staged": {
157
+ "**/*": "prettier --write --ignore-unknown"
158
+ },
159
+ "readme": "ERROR: No README data found!"
151
160
  }