@truedat/auth 4.29.5 → 4.30.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/CHANGELOG.md +6 -0
- package/package.json +5 -5
- package/src/groups/components/__tests__/__snapshots__/GroupCard.spec.js.snap +4 -7
- package/src/groups/components/__tests__/__snapshots__/GroupCards.spec.js.snap +1 -2
- package/src/groups/components/__tests__/__snapshots__/GroupUsers.spec.js.snap +1 -2
- package/src/roles/components/__tests__/__snapshots__/Role.spec.js.snap +3 -6
- package/src/roles/components/__tests__/__snapshots__/RoleCards.spec.js.snap +4 -6
- package/src/roles/components/__tests__/__snapshots__/Roles.spec.js.snap +3 -6
- package/src/sessions/components/__tests__/__snapshots__/Auth0LoginButton.spec.js.snap +2 -4
- package/src/sessions/components/__tests__/__snapshots__/OidcLoginButton.spec.js.snap +2 -4
- package/src/users/components/__tests__/__snapshots__/User.spec.js.snap +1 -2
- package/src/users/components/__tests__/__snapshots__/UserActions.spec.js.snap +2 -4
- package/src/users/components/__tests__/__snapshots__/UsersAndGroups.spec.js.snap +2 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/auth",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.30.0",
|
|
4
4
|
"description": "Truedat Web Auth",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.14.1",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.
|
|
37
|
+
"@truedat/test": "4.30.0",
|
|
38
38
|
"babel-jest": "^27.0.6",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@truedat/core": "4.
|
|
85
|
+
"@truedat/core": "4.30.0",
|
|
86
86
|
"auth0-js": "^9.12.2",
|
|
87
87
|
"immutable": "^4.0.0-rc.12",
|
|
88
88
|
"jwt-decode": "^2.2.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"prop-types": "^15.7.2",
|
|
92
92
|
"query-string": "^6.11.0",
|
|
93
93
|
"react-hook-form": "^6.15.8",
|
|
94
|
-
"react-intl": "^
|
|
94
|
+
"react-intl": "^5.20.10",
|
|
95
95
|
"react-redux": "^7.2.4",
|
|
96
96
|
"react-router-dom": "^5.2.0",
|
|
97
97
|
"redux": "^4.1.1",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"react-dom": ">= 16.8.6 < 17",
|
|
105
105
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "43906b019b9b634bfbd6a25d24cd296f50e2842c"
|
|
108
108
|
}
|
|
@@ -57,16 +57,15 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
|
|
|
57
57
|
basic={true}
|
|
58
58
|
color="green"
|
|
59
59
|
content={
|
|
60
|
-
<
|
|
60
|
+
<Memo(MemoizedFormattedMessage)
|
|
61
61
|
id="actions.edit"
|
|
62
|
-
values={Object {}}
|
|
63
62
|
/>
|
|
64
63
|
}
|
|
65
64
|
to="/groups/1/edit"
|
|
66
65
|
/>
|
|
67
66
|
<ConfirmModal
|
|
68
67
|
content={
|
|
69
|
-
<
|
|
68
|
+
<Memo(MemoizedFormattedMessage)
|
|
70
69
|
id="group.actions.delete.confirmation.content"
|
|
71
70
|
values={
|
|
72
71
|
Object {
|
|
@@ -79,9 +78,8 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
|
|
|
79
78
|
}
|
|
80
79
|
handleSubmit={[Function]}
|
|
81
80
|
header={
|
|
82
|
-
<
|
|
81
|
+
<Memo(MemoizedFormattedMessage)
|
|
83
82
|
id="group.actions.delete.confirmation.header"
|
|
84
|
-
values={Object {}}
|
|
85
83
|
/>
|
|
86
84
|
}
|
|
87
85
|
icon="trash"
|
|
@@ -90,9 +88,8 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
|
|
|
90
88
|
as="button"
|
|
91
89
|
basic={true}
|
|
92
90
|
content={
|
|
93
|
-
<
|
|
91
|
+
<Memo(MemoizedFormattedMessage)
|
|
94
92
|
id="actions.delete"
|
|
95
|
-
values={Object {}}
|
|
96
93
|
/>
|
|
97
94
|
}
|
|
98
95
|
negative={true}
|
|
@@ -21,9 +21,8 @@ exports[`<Role /> matches the latest snapshot 1`] = `
|
|
|
21
21
|
}
|
|
22
22
|
to="/roles"
|
|
23
23
|
>
|
|
24
|
-
<
|
|
24
|
+
<MemoizedFormattedMessage
|
|
25
25
|
id="navigation.members.roles"
|
|
26
|
-
values={Object {}}
|
|
27
26
|
/>
|
|
28
27
|
</BreadcrumbSection>
|
|
29
28
|
<BreadcrumbDivider
|
|
@@ -49,9 +48,8 @@ exports[`<Role /> matches the latest snapshot 1`] = `
|
|
|
49
48
|
updateName={[Function]}
|
|
50
49
|
/>
|
|
51
50
|
<HeaderSubheader>
|
|
52
|
-
<
|
|
51
|
+
<MemoizedFormattedMessage
|
|
53
52
|
id="role.subheader"
|
|
54
|
-
values={Object {}}
|
|
55
53
|
/>
|
|
56
54
|
</HeaderSubheader>
|
|
57
55
|
</HeaderContent>
|
|
@@ -59,9 +57,8 @@ exports[`<Role /> matches the latest snapshot 1`] = `
|
|
|
59
57
|
<Checkbox
|
|
60
58
|
label={
|
|
61
59
|
Object {
|
|
62
|
-
"children": <
|
|
60
|
+
"children": <Memo(MemoizedFormattedMessage)
|
|
63
61
|
id="roles.default"
|
|
64
|
-
values={Object {}}
|
|
65
62
|
/>,
|
|
66
63
|
}
|
|
67
64
|
}
|
|
@@ -34,7 +34,7 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
|
|
|
34
34
|
>
|
|
35
35
|
<ConfirmModal
|
|
36
36
|
content={
|
|
37
|
-
<
|
|
37
|
+
<Memo(MemoizedFormattedMessage)
|
|
38
38
|
id="roles.actions.delete.confirmation.content"
|
|
39
39
|
values={
|
|
40
40
|
Object {
|
|
@@ -47,9 +47,8 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
|
|
|
47
47
|
}
|
|
48
48
|
handleSubmit={[Function]}
|
|
49
49
|
header={
|
|
50
|
-
<
|
|
50
|
+
<Memo(MemoizedFormattedMessage)
|
|
51
51
|
id="roles.actions.delete.confirmation.header"
|
|
52
|
-
values={Object {}}
|
|
53
52
|
/>
|
|
54
53
|
}
|
|
55
54
|
icon="trash"
|
|
@@ -97,7 +96,7 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
|
|
|
97
96
|
>
|
|
98
97
|
<ConfirmModal
|
|
99
98
|
content={
|
|
100
|
-
<
|
|
99
|
+
<Memo(MemoizedFormattedMessage)
|
|
101
100
|
id="roles.actions.delete.confirmation.content"
|
|
102
101
|
values={
|
|
103
102
|
Object {
|
|
@@ -110,9 +109,8 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
|
|
|
110
109
|
}
|
|
111
110
|
handleSubmit={[Function]}
|
|
112
111
|
header={
|
|
113
|
-
<
|
|
112
|
+
<Memo(MemoizedFormattedMessage)
|
|
114
113
|
id="roles.actions.delete.confirmation.header"
|
|
115
|
-
values={Object {}}
|
|
116
114
|
/>
|
|
117
115
|
}
|
|
118
116
|
icon="trash"
|
|
@@ -21,9 +21,8 @@ exports[`<Roles /> matches the latest snapshot 1`] = `
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
content={
|
|
24
|
-
<
|
|
24
|
+
<Memo(MemoizedFormattedMessage)
|
|
25
25
|
id="roles.create"
|
|
26
|
-
values={Object {}}
|
|
27
26
|
/>
|
|
28
27
|
}
|
|
29
28
|
floated="right"
|
|
@@ -36,14 +35,12 @@ exports[`<Roles /> matches the latest snapshot 1`] = `
|
|
|
36
35
|
name="student"
|
|
37
36
|
/>
|
|
38
37
|
<HeaderContent>
|
|
39
|
-
<
|
|
38
|
+
<MemoizedFormattedMessage
|
|
40
39
|
id="roles.header"
|
|
41
|
-
values={Object {}}
|
|
42
40
|
/>
|
|
43
41
|
<HeaderSubheader>
|
|
44
|
-
<
|
|
42
|
+
<MemoizedFormattedMessage
|
|
45
43
|
id="roles.subheader"
|
|
46
|
-
values={Object {}}
|
|
47
44
|
/>
|
|
48
45
|
</HeaderSubheader>
|
|
49
46
|
</HeaderContent>
|
|
@@ -8,9 +8,8 @@ exports[`<Auth0LoginButton /> matches the latest snapshot 1`] = `
|
|
|
8
8
|
<i
|
|
9
9
|
className="user icon"
|
|
10
10
|
/>
|
|
11
|
-
<
|
|
11
|
+
<MemoizedFormattedMessage
|
|
12
12
|
id="login.form.actions.auth0"
|
|
13
|
-
values={Object {}}
|
|
14
13
|
/>
|
|
15
14
|
</a>
|
|
16
15
|
`;
|
|
@@ -23,9 +22,8 @@ exports[`<Auth0LoginButton /> matches the latest snapshot with a default icon 1`
|
|
|
23
22
|
<i
|
|
24
23
|
className="sign-in icon"
|
|
25
24
|
/>
|
|
26
|
-
<
|
|
25
|
+
<MemoizedFormattedMessage
|
|
27
26
|
id="login.form.actions.auth0"
|
|
28
|
-
values={Object {}}
|
|
29
27
|
/>
|
|
30
28
|
</a>
|
|
31
29
|
`;
|
|
@@ -5,9 +5,8 @@ exports[`<OidcLoginButton /> matches the latest snapshot 1`] = `
|
|
|
5
5
|
className="ui secondary button yellow"
|
|
6
6
|
href="https://auth.oidc.org/authorize?foo=bar"
|
|
7
7
|
>
|
|
8
|
-
<
|
|
8
|
+
<MemoizedFormattedMessage
|
|
9
9
|
id="login.form.actions.oidc"
|
|
10
|
-
values={Object {}}
|
|
11
10
|
/>
|
|
12
11
|
</a>
|
|
13
12
|
`;
|
|
@@ -17,9 +16,8 @@ exports[`<OidcLoginButton /> matches the latest snapshot with a default icon 1`]
|
|
|
17
16
|
className="ui secondary button yellow"
|
|
18
17
|
href="https://auth.oidc.org/authorize?foo=bar"
|
|
19
18
|
>
|
|
20
|
-
<
|
|
19
|
+
<MemoizedFormattedMessage
|
|
21
20
|
id="login.form.actions.oidc"
|
|
22
|
-
values={Object {}}
|
|
23
21
|
/>
|
|
24
22
|
</a>
|
|
25
23
|
`;
|
|
@@ -21,10 +21,9 @@ exports[`<UserActions /> matches the latest snapshot 1`] = `
|
|
|
21
21
|
"icon": "edit",
|
|
22
22
|
"key": "edit",
|
|
23
23
|
"selected": false,
|
|
24
|
-
"text": <
|
|
24
|
+
"text": <Memo(MemoizedFormattedMessage)
|
|
25
25
|
defaultMessage="edit"
|
|
26
26
|
id="actions.edit"
|
|
27
|
-
values={Object {}}
|
|
28
27
|
/>,
|
|
29
28
|
"to": "/users/2/edit",
|
|
30
29
|
"value": "edit",
|
|
@@ -46,10 +45,9 @@ exports[`<UserActions /> matches the latest snapshot 1`] = `
|
|
|
46
45
|
"icon": "unlock alternate",
|
|
47
46
|
"key": "edit_password",
|
|
48
47
|
"selected": false,
|
|
49
|
-
"text": <
|
|
48
|
+
"text": <Memo(MemoizedFormattedMessage)
|
|
50
49
|
defaultMessage="Change password"
|
|
51
50
|
id="user.actions.edit_password"
|
|
52
|
-
values={Object {}}
|
|
53
51
|
/>,
|
|
54
52
|
"to": "/users/2/password",
|
|
55
53
|
"value": "edit_password",
|
|
@@ -11,14 +11,12 @@ exports[`<UsersAndGroups /> matches the latest snapshot 1`] = `
|
|
|
11
11
|
name="users"
|
|
12
12
|
/>
|
|
13
13
|
<HeaderContent>
|
|
14
|
-
<
|
|
14
|
+
<MemoizedFormattedMessage
|
|
15
15
|
id="users.header"
|
|
16
|
-
values={Object {}}
|
|
17
16
|
/>
|
|
18
17
|
<HeaderSubheader>
|
|
19
|
-
<
|
|
18
|
+
<MemoizedFormattedMessage
|
|
20
19
|
id="users.subheader"
|
|
21
|
-
values={Object {}}
|
|
22
20
|
/>
|
|
23
21
|
</HeaderSubheader>
|
|
24
22
|
</HeaderContent>
|