@reltio/components 1.4.1877 → 1.4.1879

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.
@@ -17,11 +17,11 @@ exports.useStyles = (0, styles_1.makeStyles)({
17
17
  flexShrink: 0
18
18
  },
19
19
  'entityType-medium': {
20
- padding: '2px 8px 3px',
20
+ padding: '2px 7px',
21
21
  borderRadius: '2px',
22
22
  fontSize: '13px',
23
23
  fontWeight: 500,
24
- lineHeight: '15px',
24
+ lineHeight: '16px',
25
25
  marginRight: '16px',
26
26
  flexShrink: 0
27
27
  }
@@ -16,3 +16,4 @@ export declare const mockBasicTableSizing: ({ width, height }?: {
16
16
  height?: number;
17
17
  }) => () => void;
18
18
  export declare const getMuiIconByName: (name: string, el?: HTMLElement) => HTMLElement;
19
+ export declare const getMuiIconsByName: (name: string, el?: HTMLElement) => HTMLElement[];
@@ -36,7 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.getMuiIconByName = exports.mockBasicTableSizing = exports.mockElementSizes = exports.rerenderWrapper = exports.deepFreeze = exports.awaitMockPromises = exports.delayPromise = void 0;
39
+ exports.getMuiIconsByName = exports.getMuiIconByName = exports.mockBasicTableSizing = exports.mockElementSizes = exports.rerenderWrapper = exports.deepFreeze = exports.awaitMockPromises = exports.delayPromise = void 0;
40
40
  var react_1 = require("@testing-library/react");
41
41
  var delayPromise = function (delay) {
42
42
  if (delay === void 0) { delay = 0; }
@@ -117,3 +117,9 @@ var getMuiIconByName = function (name, el) {
117
117
  return react_1.queryHelpers.queryByAttribute('data-testid', el, dataTestId);
118
118
  };
119
119
  exports.getMuiIconByName = getMuiIconByName;
120
+ var getMuiIconsByName = function (name, el) {
121
+ if (el === void 0) { el = document.documentElement; }
122
+ var dataTestId = name + 'Icon';
123
+ return react_1.queryHelpers.queryAllByAttribute('data-testid', el, dataTestId);
124
+ };
125
+ exports.getMuiIconsByName = getMuiIconsByName;
@@ -14,11 +14,11 @@ export var useStyles = makeStyles({
14
14
  flexShrink: 0
15
15
  },
16
16
  'entityType-medium': {
17
- padding: '2px 8px 3px',
17
+ padding: '2px 7px',
18
18
  borderRadius: '2px',
19
19
  fontSize: '13px',
20
20
  fontWeight: 500,
21
- lineHeight: '15px',
21
+ lineHeight: '16px',
22
22
  marginRight: '16px',
23
23
  flexShrink: 0
24
24
  }
@@ -16,3 +16,4 @@ export declare const mockBasicTableSizing: ({ width, height }?: {
16
16
  height?: number;
17
17
  }) => () => void;
18
18
  export declare const getMuiIconByName: (name: string, el?: HTMLElement) => HTMLElement;
19
+ export declare const getMuiIconsByName: (name: string, el?: HTMLElement) => HTMLElement[];
@@ -107,3 +107,8 @@ export var getMuiIconByName = function (name, el) {
107
107
  var dataTestId = name + 'Icon';
108
108
  return queryHelpers.queryByAttribute('data-testid', el, dataTestId);
109
109
  };
110
+ export var getMuiIconsByName = function (name, el) {
111
+ if (el === void 0) { el = document.documentElement; }
112
+ var dataTestId = name + 'Icon';
113
+ return queryHelpers.queryAllByAttribute('data-testid', el, dataTestId);
114
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.1877",
3
+ "version": "1.4.1879",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.js",
@@ -8,7 +8,7 @@
8
8
  "@fluentui/react-context-selector": "^9.1.26",
9
9
  "@react-google-maps/api": "2.7.0",
10
10
  "@react-sigma/core": "3.4.0",
11
- "@reltio/mdm-sdk": "^1.4.1815",
11
+ "@reltio/mdm-sdk": "^1.4.1816",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",