@truedat/auth 4.36.6 → 4.37.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/auth",
3
- "version": "4.36.6",
3
+ "version": "4.37.0",
4
4
  "description": "Truedat Web Auth",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -46,7 +46,7 @@
46
46
  "jest": "^27.0.6",
47
47
  "react": "^16.14.0",
48
48
  "react-dom": "^16.14.0",
49
- "redux-saga-test-plan": "^4.0.1",
49
+ "redux-saga-test-plan": "^4.0.4",
50
50
  "rimraf": "^3.0.2",
51
51
  "semantic-ui-react": "^2.0.3"
52
52
  },
@@ -82,7 +82,7 @@
82
82
  ]
83
83
  },
84
84
  "dependencies": {
85
- "@truedat/core": "4.36.6",
85
+ "@truedat/core": "4.37.0",
86
86
  "auth0-js": "^9.12.2",
87
87
  "immutable": "^4.0.0-rc.12",
88
88
  "jwt-decode": "^2.2.0",
@@ -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": "24162cf652f85f30de8669736abc28391fd5f6a8"
107
+ "gitHead": "a2584d116d738be9a237f26c617e1400d4a24803"
108
108
  }
@@ -25,7 +25,7 @@ const ModalDelete = ({ group: { id, name }, deleteGroup }) => {
25
25
  values={{ name: <i>{name}</i> }}
26
26
  />
27
27
  }
28
- handleSubmit={() => deleteGroup({ id })}
28
+ onConfirm={() => deleteGroup({ id })}
29
29
  />
30
30
  );
31
31
  };
@@ -46,7 +46,7 @@ export const GroupCard = ({
46
46
  values={{ name: <i>{name}</i> }}
47
47
  />
48
48
  }
49
- handleSubmit={() => deleteGroup({ id })}
49
+ onConfirm={() => deleteGroup({ id })}
50
50
  />
51
51
  </div>
52
52
  </Card.Content>
@@ -109,9 +109,7 @@ export const GroupUsersTable = ({
109
109
  content={formatMessage({
110
110
  id: "groupUsers.actions.delete.confirmation.content",
111
111
  })}
112
- handleSubmit={() =>
113
- deleteGroupUser({ user, group, groupUsers })
114
- }
112
+ onConfirm={() => deleteGroupUser({ user, group, groupUsers })}
115
113
  onOpen={(e) => e.stopPropagation()}
116
114
  onClose={(e) => e.stopPropagation()}
117
115
  />
@@ -76,13 +76,13 @@ exports[`<GroupCard /> matches the latest snapshot 1`] = `
76
76
  }
77
77
  />
78
78
  }
79
- handleSubmit={[Function]}
80
79
  header={
81
80
  <Memo(MemoizedFormattedMessage)
82
81
  id="group.actions.delete.confirmation.header"
83
82
  />
84
83
  }
85
84
  icon="trash"
85
+ onConfirm={[Function]}
86
86
  trigger={
87
87
  <Button
88
88
  as="button"
@@ -85,10 +85,10 @@ exports[`<GroupUsersTable /> matches the latest snapshot 1`] = `
85
85
  >
86
86
  <ConfirmModal
87
87
  content="groupUsers.actions.delete.confirmation.content"
88
- handleSubmit={[Function]}
89
88
  header="groupUsers.actions.delete.confirmation.header"
90
89
  icon="trash"
91
90
  onClose={[Function]}
91
+ onConfirm={[Function]}
92
92
  onOpen={[Function]}
93
93
  trigger={
94
94
  <Icon
@@ -136,10 +136,10 @@ exports[`<GroupUsersTable /> matches the latest snapshot 1`] = `
136
136
  >
137
137
  <ConfirmModal
138
138
  content="groupUsers.actions.delete.confirmation.content"
139
- handleSubmit={[Function]}
140
139
  header="groupUsers.actions.delete.confirmation.header"
141
140
  icon="trash"
142
141
  onClose={[Function]}
142
+ onConfirm={[Function]}
143
143
  onOpen={[Function]}
144
144
  trigger={
145
145
  <Icon
@@ -187,10 +187,10 @@ exports[`<GroupUsersTable /> matches the latest snapshot 1`] = `
187
187
  >
188
188
  <ConfirmModal
189
189
  content="groupUsers.actions.delete.confirmation.content"
190
- handleSubmit={[Function]}
191
190
  header="groupUsers.actions.delete.confirmation.header"
192
191
  icon="trash"
193
192
  onClose={[Function]}
193
+ onConfirm={[Function]}
194
194
  onOpen={[Function]}
195
195
  trigger={
196
196
  <Icon
@@ -38,7 +38,7 @@ export const RoleCards = ({ deleteRole, roles }) => (
38
38
  values={{ name: <b>{role.name}</b> }}
39
39
  />
40
40
  }
41
- handleSubmit={() => deleteRole({ id: role.id })}
41
+ onConfirm={() => deleteRole({ id: role.id })}
42
42
  />
43
43
  </div>
44
44
  </Card.Content>
@@ -45,13 +45,13 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
45
45
  }
46
46
  />
47
47
  }
48
- handleSubmit={[Function]}
49
48
  header={
50
49
  <Memo(MemoizedFormattedMessage)
51
50
  id="roles.actions.delete.confirmation.header"
52
51
  />
53
52
  }
54
53
  icon="trash"
54
+ onConfirm={[Function]}
55
55
  trigger={
56
56
  <Button
57
57
  as="button"
@@ -107,13 +107,13 @@ exports[`<RoleCards /> matches the latest snapshot 1`] = `
107
107
  }
108
108
  />
109
109
  }
110
- handleSubmit={[Function]}
111
110
  header={
112
111
  <Memo(MemoizedFormattedMessage)
113
112
  id="roles.actions.delete.confirmation.header"
114
113
  />
115
114
  }
116
115
  icon="trash"
116
+ onConfirm={[Function]}
117
117
  trigger={
118
118
  <Button
119
119
  as="button"
@@ -23,7 +23,7 @@ const ModalDelete = ({ deleteUser, id }) => (
23
23
  values={{ name: <i>{name}</i> }}
24
24
  />
25
25
  }
26
- handleSubmit={() => deleteUser({ id })}
26
+ onConfirm={() => deleteUser({ id })}
27
27
  />
28
28
  );
29
29