@truedat/cx 7.5.4 → 7.5.6

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/cx",
3
- "version": "7.5.4",
3
+ "version": "7.5.6",
4
4
  "description": "Truedat Web Connectors",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.16.5",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "7.5.4",
37
+ "@truedat/test": "7.5.6",
38
38
  "babel-jest": "^28.1.0",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "@apollo/client": "^3.7.1",
94
- "@truedat/core": "7.5.4",
94
+ "@truedat/core": "7.5.6",
95
95
  "lodash": "^4.17.21",
96
96
  "match-sorter": "^6.3.1",
97
97
  "moment": "^2.29.4",
@@ -112,5 +112,5 @@
112
112
  "react-dom": ">= 16.8.6 < 17",
113
113
  "semantic-ui-react": ">= 2.0.3 < 2.2"
114
114
  },
115
- "gitHead": "e41d75322f4e11f804d9e834c21f6416c8586963"
115
+ "gitHead": "23d70104f45068aea9795621334ee2df022d21b2"
116
116
  }
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { Link } from "react-router-dom";
4
4
  import { connect } from "react-redux";
5
5
  import PropTypes from "prop-types";
6
- import { Button } from "semantic-ui-react";
6
+ import { Button, Icon } from "semantic-ui-react";
7
7
  import { FormattedMessage } from "react-intl";
8
8
  import { ConfirmModal, GroupActions } from "@truedat/core/components";
9
9
  import { linkTo } from "@truedat/core/routes";
@@ -14,7 +14,7 @@ const ModalDelete = ({ deleteConfiguration, external_id }) => (
14
14
  icon="trash"
15
15
  trigger={
16
16
  <Button
17
- icon="trash"
17
+ icon={<Icon name="trash alternate outline" color="red" />}
18
18
  content={<FormattedMessage id="configurations.actions.remove" />}
19
19
  />
20
20
  }
@@ -64,7 +64,7 @@ export const ConfigurationActions = ({
64
64
  },
65
65
  delete: {
66
66
  key: "delete",
67
- icon: "trash",
67
+ icon: "trash alternate outline",
68
68
  value: "delete",
69
69
  as: ModalDelete,
70
70
  deleteConfiguration,
@@ -45,7 +45,13 @@ export const ConfigurationCards = ({
45
45
  <div className="ui actions">
46
46
  <ConfirmModal
47
47
  icon="trash"
48
- trigger={<Button icon="trash" basic color="red" />}
48
+ trigger={
49
+ <Button
50
+ icon={<Icon name="trash alternate outline" color="red" />}
51
+ color="red"
52
+ basic
53
+ />
54
+ }
49
55
  header={
50
56
  <FormattedMessage id="configurations.actions.delete.confirmation.header" />
51
57
  }
@@ -66,7 +66,13 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
66
66
  as="button"
67
67
  basic={true}
68
68
  color="red"
69
- icon="trash"
69
+ icon={
70
+ <Icon
71
+ as="i"
72
+ color="red"
73
+ name="trash alternate outline"
74
+ />
75
+ }
70
76
  />
71
77
  }
72
78
  />
@@ -137,7 +143,13 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
137
143
  as="button"
138
144
  basic={true}
139
145
  color="red"
140
- icon="trash"
146
+ icon={
147
+ <Icon
148
+ as="i"
149
+ color="red"
150
+ name="trash alternate outline"
151
+ />
152
+ }
141
153
  />
142
154
  }
143
155
  />
@@ -208,7 +220,13 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
208
220
  as="button"
209
221
  basic={true}
210
222
  color="red"
211
- icon="trash"
223
+ icon={
224
+ <Icon
225
+ as="i"
226
+ color="red"
227
+ name="trash alternate outline"
228
+ />
229
+ }
212
230
  />
213
231
  }
214
232
  />
@@ -279,7 +297,13 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
279
297
  as="button"
280
298
  basic={true}
281
299
  color="red"
282
- icon="trash"
300
+ icon={
301
+ <Icon
302
+ as="i"
303
+ color="red"
304
+ name="trash alternate outline"
305
+ />
306
+ }
283
307
  />
284
308
  }
285
309
  />
@@ -350,7 +374,13 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
350
374
  as="button"
351
375
  basic={true}
352
376
  color="red"
353
- icon="trash"
377
+ icon={
378
+ <Icon
379
+ as="i"
380
+ color="red"
381
+ name="trash alternate outline"
382
+ />
383
+ }
354
384
  />
355
385
  }
356
386
  />
@@ -3,7 +3,7 @@ import { Link } from "react-router-dom";
3
3
  import { connect } from "react-redux";
4
4
  import PropTypes from "prop-types";
5
5
  import { useIntl } from "react-intl";
6
- import { Button } from "semantic-ui-react";
6
+ import { Button, Icon } from "semantic-ui-react";
7
7
  import { ConfirmModal, GroupActions } from "@truedat/core/components";
8
8
  import { linkTo } from "@truedat/core/routes";
9
9
  import { deleteSource, disableSource, enableSource } from "../routines";
@@ -47,7 +47,7 @@ export const ConfirmDeleteModal = ({ deleteSource, externalId, id }) => {
47
47
  icon="trash"
48
48
  trigger={
49
49
  <Button
50
- icon="trash"
50
+ icon={<Icon name="trash alternate outline" color="red" />}
51
51
  content={formatMessage({ id: "source.actions.delete" })}
52
52
  />
53
53
  }
@@ -48,7 +48,7 @@ exports[`<SourceActions /> matches the latest snapshot 1`] = `
48
48
  >
49
49
  <i
50
50
  aria-hidden="true"
51
- class="trash icon"
51
+ class="red trash alternate outline icon"
52
52
  />
53
53
  delete
54
54
  </button>
@@ -74,7 +74,7 @@ exports[`<SourceHeader /> matches the latest snapshot 1`] = `
74
74
  >
75
75
  <i
76
76
  aria-hidden="true"
77
- class="trash icon"
77
+ class="red trash alternate outline icon"
78
78
  />
79
79
  Delete source
80
80
  </button>