@truedat/qx 7.5.4 → 7.5.5

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/qx",
3
- "version": "7.5.4",
3
+ "version": "7.5.5",
4
4
  "description": "Truedat Web Quality Experience package",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -35,7 +35,7 @@
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/react-hooks": "^8.0.1",
37
37
  "@testing-library/user-event": "^13.2.1",
38
- "@truedat/test": "7.5.4",
38
+ "@truedat/test": "7.5.5",
39
39
  "babel-jest": "^28.1.0",
40
40
  "babel-plugin-dynamic-import-node": "^2.3.3",
41
41
  "babel-plugin-lodash": "^3.3.4",
@@ -90,7 +90,7 @@
90
90
  ]
91
91
  },
92
92
  "dependencies": {
93
- "@truedat/core": "7.5.4",
93
+ "@truedat/core": "7.5.5",
94
94
  "prop-types": "^15.8.1",
95
95
  "react-hook-form": "^7.45.4",
96
96
  "react-intl": "^5.20.10",
@@ -106,5 +106,5 @@
106
106
  "overrides": {
107
107
  "jsdom": "26.0.0"
108
108
  },
109
- "gitHead": "e41d75322f4e11f804d9e834c21f6416c8586963"
109
+ "gitHead": "2a4343b3b2837540358b57d3d647408ab292aa21"
110
110
  }
@@ -63,7 +63,7 @@ const ClauseExpression = ({ groupIndex, removeGroup, lastGroup }) => {
63
63
  <div className="clause-and-group">
64
64
  {isShownDelete && removeGroup ? (
65
65
  <Button
66
- size="mini"
66
+ size="tiny"
67
67
  onClick={() => removeGroup(groupIndex)}
68
68
  icon="trash alternate outline"
69
69
  basic
@@ -155,7 +155,7 @@ export default function Condition({ onDelete }) {
155
155
  </QxContext.Provider>
156
156
  </Grid.Column>
157
157
 
158
- <Grid.Column width={1} verticalAlign="middle">
158
+ <Grid.Column width={1} verticalAlign="top">
159
159
  {onDelete && isShownDelete ? (
160
160
  <div className="delete-expression-column">
161
161
  <Button
@@ -194,7 +194,7 @@ exports[`<Condition /> matches the latest snapshot 1`] = `
194
194
  </div>
195
195
  </div>
196
196
  <div
197
- class="middle aligned one wide column"
197
+ class="top aligned one wide column"
198
198
  />
199
199
  </div>
200
200
  </div>
@@ -99,6 +99,7 @@ export default function SelectField({ onDelete }) {
99
99
  onClick={onDelete}
100
100
  icon="trash alternate outline"
101
101
  basic
102
+ size="mini"
102
103
  color="red"
103
104
  aria-label="delete"
104
105
  />
@@ -91,6 +91,7 @@ const ParamItem = ({ index, onDelete }) => {
91
91
  icon="trash alternate outline"
92
92
  basic
93
93
  color="red"
94
+ size="mini"
94
95
  aria-label="delete"
95
96
  />
96
97
  ) : null}
@@ -3,7 +3,7 @@ import React, { useContext } from "react";
3
3
  import PropTypes from "prop-types";
4
4
  import { useIntl } from "react-intl";
5
5
  import { Link, useHistory } from "react-router-dom";
6
- import { Button, Container } from "semantic-ui-react";
6
+ import { Button, Container, Icon } from "semantic-ui-react";
7
7
  import { linkTo, QUALITY_CONTROLS } from "@truedat/core/routes";
8
8
  import { useAuthorized } from "@truedat/core/hooks";
9
9
  import { ConfirmModal, GroupActions } from "@truedat/core/components";
@@ -59,7 +59,7 @@ const ConfirmDeletionModal = ({ qualityControl, onConfirm }) => {
59
59
  icon={icon}
60
60
  trigger={
61
61
  <Button
62
- icon={icon}
62
+ icon={<Icon name={icon} color="red" />}
63
63
  content={formatMessage({ id: `quality_controls.actions.delete` })}
64
64
  />
65
65
  }
@@ -115,7 +115,7 @@ export default function QualityControlScores() {
115
115
  <ConfirmModal
116
116
  icon="trash"
117
117
  trigger={
118
- <Button icon basic color="red">
118
+ <Button icon basic color="red" size="mini">
119
119
  <Icon name="trash alternate outline" color="red" />
120
120
  </Button>
121
121
  }
@@ -140,7 +140,7 @@ exports[`<QualityControlHeader /> matches the latest snapshot with control quali
140
140
  >
141
141
  <i
142
142
  aria-hidden="true"
143
- class="trash alternate outline icon"
143
+ class="red trash alternate outline icon"
144
144
  />
145
145
  quality_controls.actions.delete
146
146
  </button>
@@ -102,7 +102,7 @@ exports[`<QualityControlScores /> matches the latest snapshot 1`] = `
102
102
  class=""
103
103
  >
104
104
  <button
105
- class="ui red basic icon button"
105
+ class="ui red mini basic icon button"
106
106
  >
107
107
  <i
108
108
  aria-hidden="true"