@availity/change-password 4.0.0 → 4.0.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.
- package/CHANGELOG.md +9 -0
- package/package.json +10 -10
- package/project.json +0 -3
- package/stories/change-password.stories.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [4.0.1](https://github.com/Availity/availity-react/compare/@availity/change-password@4.0.0...@availity/change-password@4.0.1) (2026-06-16)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@availity/block-ui` updated to version `4.0.0`
|
|
10
|
+
* `@availity/form` updated to version `4.0.0`
|
|
11
|
+
* `@availity/icon` updated to version `4.0.0`
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
# [4.0.0](https://github.com/Availity/availity-react/compare/@availity/change-password@3.0.7...@availity/change-password@4.0.0) (2026-06-12)
|
|
6
15
|
|
|
7
16
|
### Dependency Updates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/change-password",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Easy to use change-password components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@availity/block-ui": "^2.0.
|
|
31
|
-
"@availity/form": "2.0.
|
|
32
|
-
"@availity/icon": "1.0.
|
|
30
|
+
"@availity/block-ui": "^2.0.1",
|
|
31
|
+
"@availity/form": "2.0.1",
|
|
32
|
+
"@availity/icon": "1.0.1",
|
|
33
33
|
"classnames": "^2.5.1",
|
|
34
34
|
"dayjs": "^1.11.13",
|
|
35
35
|
"lodash": "^4.18.1",
|
|
36
36
|
"prop-types": "^15.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@availity/api-axios": "^13.0
|
|
39
|
+
"@availity/api-axios": "^13.2.0",
|
|
40
40
|
"@tanstack/react-query": "^5.75.5",
|
|
41
41
|
"axios": "^1.17.0",
|
|
42
42
|
"react": "^18.3.1",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
+
"main": "./dist/index.js",
|
|
57
58
|
"exports": {
|
|
58
59
|
".": {
|
|
59
60
|
"source": "./index.js",
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
61
|
+
"types": "./index.d.ts",
|
|
62
|
+
"import": "./dist/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./package.json": "./package.json"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/project.json
CHANGED
|
@@ -28,15 +28,12 @@
|
|
|
28
28
|
"lint": {
|
|
29
29
|
"executor": "@nx/eslint:lint",
|
|
30
30
|
"options": {
|
|
31
|
-
"eslintConfig": ".eslintrc.yaml",
|
|
32
31
|
"silent": false,
|
|
33
32
|
"fix": false,
|
|
34
33
|
"cache": true,
|
|
35
34
|
"cacheLocation": "./node_modules/.cache/change-password/.eslintcache",
|
|
36
35
|
"maxWarnings": -1,
|
|
37
36
|
"quiet": false,
|
|
38
|
-
"noEslintrc": false,
|
|
39
|
-
"hasTypeAwareRules": true,
|
|
40
37
|
"cacheStrategy": "metadata"
|
|
41
38
|
}
|
|
42
39
|
},
|
|
@@ -55,6 +55,7 @@ export const _Default: StoryObj<typeof ChangePassword> = {
|
|
|
55
55
|
confirmNewPassword: yup
|
|
56
56
|
.string()
|
|
57
57
|
.test('passMatches', 'Passwords do not match', function (value) {
|
|
58
|
+
// eslint-disable-next-line unicorn/no-this-outside-of-class
|
|
58
59
|
const { resolve } = this;
|
|
59
60
|
const password = resolve(yup.ref('newPassword'));
|
|
60
61
|
const passwordsMatch = password === value; // true when confirmNewPassword === password
|