@atlaskit/link-datasource 0.34.6 → 0.34.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 0.34.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3f3b63589a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3b63589a1) - Fix issue where icon sizing is inconsitent. Also added some icons that are larger and were causing problems in prod to the mock data so we can have some examples on hand.
8
+
9
+ ## 0.34.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
14
+ - Updated dependencies
15
+
3
16
  ## 0.34.6
4
17
 
5
18
  ### Patch Changes
@@ -18,16 +18,14 @@ var IconRenderType = function IconRenderType(_ref) {
18
18
  source = _ref.source,
19
19
  _ref$testId = _ref.testId,
20
20
  testId = _ref$testId === void 0 ? ICON_TYPE_TEST_ID : _ref$testId;
21
- var style = /svg/i.test(source) ? {
22
- minWidth: '20px',
23
- maxWidth: '20px'
24
- } // having just width: '20px' shriks it when table width is reduced
25
- : {};
26
21
  return /*#__PURE__*/_react.default.createElement(IconWrapper, null, /*#__PURE__*/_react.default.createElement(_image.default, {
27
22
  src: source,
28
23
  alt: label,
29
24
  "data-testid": testId,
30
- style: style
25
+ style: {
26
+ minWidth: '20px',
27
+ maxWidth: '20px'
28
+ } // having just width: '20px' shrinks it when table width is reduced
31
29
  }));
32
30
  };
33
31
  var _default = IconRenderType;
@@ -344,7 +344,7 @@ var analyticsContextAttributes = {
344
344
  };
345
345
  var analyticsContextData = {
346
346
  packageName: "@atlaskit/link-datasource",
347
- packageVersion: "0.34.6",
347
+ packageVersion: "0.34.8",
348
348
  source: 'datasourceConfigModal'
349
349
  };
350
350
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -12,16 +12,15 @@ const IconRenderType = ({
12
12
  source,
13
13
  testId = ICON_TYPE_TEST_ID
14
14
  }) => {
15
- const style = /svg/i.test(source) ? {
16
- minWidth: '20px',
17
- maxWidth: '20px'
18
- } // having just width: '20px' shriks it when table width is reduced
19
- : {};
20
15
  return /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(Image, {
21
16
  src: source,
22
17
  alt: label,
23
18
  "data-testid": testId,
24
- style: style
19
+ style: {
20
+ minWidth: '20px',
21
+ maxWidth: '20px'
22
+ } // having just width: '20px' shrinks it when table width is reduced
25
23
  }));
26
24
  };
25
+
27
26
  export default IconRenderType;
@@ -290,7 +290,7 @@ const analyticsContextAttributes = {
290
290
  };
291
291
  const analyticsContextData = {
292
292
  packageName: "@atlaskit/link-datasource",
293
- packageVersion: "0.34.6",
293
+ packageVersion: "0.34.8",
294
294
  source: 'datasourceConfigModal'
295
295
  };
296
296
  const contextData = {
@@ -10,16 +10,15 @@ var IconRenderType = function IconRenderType(_ref) {
10
10
  source = _ref.source,
11
11
  _ref$testId = _ref.testId,
12
12
  testId = _ref$testId === void 0 ? ICON_TYPE_TEST_ID : _ref$testId;
13
- var style = /svg/i.test(source) ? {
14
- minWidth: '20px',
15
- maxWidth: '20px'
16
- } // having just width: '20px' shriks it when table width is reduced
17
- : {};
18
13
  return /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(Image, {
19
14
  src: source,
20
15
  alt: label,
21
16
  "data-testid": testId,
22
- style: style
17
+ style: {
18
+ minWidth: '20px',
19
+ maxWidth: '20px'
20
+ } // having just width: '20px' shrinks it when table width is reduced
23
21
  }));
24
22
  };
23
+
25
24
  export default IconRenderType;
@@ -334,7 +334,7 @@ var analyticsContextAttributes = {
334
334
  };
335
335
  var analyticsContextData = {
336
336
  packageName: "@atlaskit/link-datasource",
337
- packageVersion: "0.34.6",
337
+ packageVersion: "0.34.8",
338
338
  source: 'datasourceConfigModal'
339
339
  };
340
340
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.34.6",
3
+ "version": "0.34.8",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/tag": "^11.5.0",
58
58
  "@atlaskit/textfield": "5.6.4",
59
59
  "@atlaskit/theme": "^12.5.0",
60
- "@atlaskit/tokens": "^1.14.0",
60
+ "@atlaskit/tokens": "^1.15.0",
61
61
  "@atlaskit/tooltip": "^17.8.0",
62
62
  "@atlassianlabs/jql-editor": "^2.0.1",
63
63
  "@atlassianlabs/jql-editor-autocomplete-rest": "^1.1.2",