@truedat/lm 4.36.7 → 4.37.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/lm",
3
- "version": "4.36.7",
3
+ "version": "4.37.1",
4
4
  "description": "Truedat Link Manager",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -45,7 +45,7 @@
45
45
  "jest": "^27.0.6",
46
46
  "react": "^16.14.0",
47
47
  "react-dom": "^16.14.0",
48
- "redux-saga-test-plan": "^4.0.1",
48
+ "redux-saga-test-plan": "^4.0.4",
49
49
  "rimraf": "^3.0.2",
50
50
  "semantic-ui-react": "^2.0.3"
51
51
  },
@@ -82,7 +82,7 @@
82
82
  ]
83
83
  },
84
84
  "dependencies": {
85
- "@truedat/core": "4.36.7",
85
+ "@truedat/core": "4.37.1",
86
86
  "path-to-regexp": "^1.7.0",
87
87
  "prop-types": "^15.7.2",
88
88
  "react-graph-vis": "1.0.5",
@@ -99,5 +99,5 @@
99
99
  "react-dom": ">= 16.8.6 < 17",
100
100
  "semantic-ui-react": ">= 0.88.2 < 2.1"
101
101
  },
102
- "gitHead": "f5b0b7da7d61e1e8fff39337fe411f4174055b73"
102
+ "gitHead": "36ffd7e86efe27f38c3ae1bb616eb9eb4d444d12"
103
103
  }
@@ -16,7 +16,7 @@ export const ConfirmDeleteRelation = ({ id, deleteRelation }) => (
16
16
  content={
17
17
  <FormattedMessage id="relations.actions.data_field.delete.confirmation.content" />
18
18
  }
19
- handleSubmit={() => deleteRelation({ id })}
19
+ onConfirm={() => deleteRelation({ id })}
20
20
  onOpen={(e) => e.stopPropagation()}
21
21
  onClose={(e) => e.stopPropagation()}
22
22
  />
@@ -36,9 +36,7 @@ export const RelationRow = ({
36
36
  content={
37
37
  <FormattedMessage id="relation.actions.delete.confirmation.content" />
38
38
  }
39
- handleSubmit={() => {
40
- deleteRelation({ id });
41
- }}
39
+ onConfirm={() => deleteRelation({ id })}
42
40
  onOpen={(e) => e.stopPropagation()}
43
41
  onClose={(e) => e.stopPropagation()}
44
42
  />
@@ -81,9 +79,7 @@ export const RelationRow = ({
81
79
  content={
82
80
  <FormattedMessage id="relation.actions.delete.confirmation.content" />
83
81
  }
84
- handleSubmit={() => {
85
- deleteRelation({ id });
86
- }}
82
+ onConfirm={() => deleteRelation({ id })}
87
83
  />
88
84
  )}
89
85
  </Table.Cell>
@@ -41,7 +41,7 @@ export const RelationTagCards = ({
41
41
  values={{ type: <i>{tag.value.type}</i> }}
42
42
  />
43
43
  }
44
- handleSubmit={() => deleteRelationTag({ id: tag.id })}
44
+ onConfirm={() => deleteRelationTag({ id: tag.id })}
45
45
  />
46
46
  </div>
47
47
  </Card.Content>
@@ -36,13 +36,13 @@ exports[`<RelationTagCards /> matches the latest snapshot 1`] = `
36
36
  }
37
37
  />
38
38
  }
39
- handleSubmit={[Function]}
40
39
  header={
41
40
  <Memo(MemoizedFormattedMessage)
42
41
  id="relationTag.actions.delete.confirmation.header"
43
42
  />
44
43
  }
45
44
  icon="trash"
45
+ onConfirm={[Function]}
46
46
  trigger={
47
47
  <Button
48
48
  as="button"
@@ -88,13 +88,13 @@ exports[`<RelationTagCards /> matches the latest snapshot 1`] = `
88
88
  }
89
89
  />
90
90
  }
91
- handleSubmit={[Function]}
92
91
  header={
93
92
  <Memo(MemoizedFormattedMessage)
94
93
  id="relationTag.actions.delete.confirmation.header"
95
94
  />
96
95
  }
97
96
  icon="trash"
97
+ onConfirm={[Function]}
98
98
  trigger={
99
99
  <Button
100
100
  as="button"
@@ -140,13 +140,13 @@ exports[`<RelationTagCards /> matches the latest snapshot 1`] = `
140
140
  }
141
141
  />
142
142
  }
143
- handleSubmit={[Function]}
144
143
  header={
145
144
  <Memo(MemoizedFormattedMessage)
146
145
  id="relationTag.actions.delete.confirmation.header"
147
146
  />
148
147
  }
149
148
  icon="trash"
149
+ onConfirm={[Function]}
150
150
  trigger={
151
151
  <Button
152
152
  as="button"