ab-ui-library 1.51.1 → 1.51.2

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.
@@ -11,7 +11,8 @@ var IconDismiss = function IconDismiss(_ref) {
11
11
  onClick = _ref.onClick,
12
12
  refHandler = _ref.refHandler,
13
13
  id = _ref.id,
14
- dataId = _ref.dataId;
14
+ _ref$dataId = _ref.dataId,
15
+ dataId = _ref$dataId === void 0 ? 'dismiss' : _ref$dataId;
15
16
  return /*#__PURE__*/React.createElement("svg", {
16
17
  xmlns: "http://www.w3.org/2000/svg",
17
18
  className: classNames('svg-icon', _defineProperty(_defineProperty(_defineProperty({}, "svg-icon__size-".concat(size), size), "svg-icon__type-".concat(type), type), className, className)),
@@ -20,7 +21,7 @@ var IconDismiss = function IconDismiss(_ref) {
20
21
  onClick: onClick,
21
22
  ref: refHandler,
22
23
  id: id,
23
- "data-id": dataId ? "".concat(dataId, "-svg-icon") : ''
24
+ "data-id": "".concat(dataId, "-svg-icon")
24
25
  }, /*#__PURE__*/React.createElement("path", {
25
26
  d: "M4.39705 4.55379L4.46967 4.46967C4.73594 4.2034 5.1526 4.1792 5.44621 4.39705L5.53033 4.46967L12 10.939L18.4697 4.46967C18.7626 4.17678 19.2374 4.17678 19.5303 4.46967C19.8232 4.76256 19.8232 5.23744 19.5303 5.53033L13.061 12L19.5303 18.4697C19.7966 18.7359 19.8208 19.1526 19.6029 19.4462L19.5303 19.5303C19.2641 19.7966 18.8474 19.8208 18.5538 19.6029L18.4697 19.5303L12 13.061L5.53033 19.5303C5.23744 19.8232 4.76256 19.8232 4.46967 19.5303C4.17678 19.2374 4.17678 18.7626 4.46967 18.4697L10.939 12L4.46967 5.53033C4.2034 5.26406 4.1792 4.8474 4.39705 4.55379L4.46967 4.46967L4.39705 4.55379Z",
26
27
  fill: "#222222"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ui-library",
3
- "version": "1.51.1",
3
+ "version": "1.51.2",
4
4
  "description": "UI library for AM",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",