@balena/ui-shared-components 12.0.2-build-renovate-major-7-react-router-dom-591a9d391de2d33bdec9daa8f13684f5a2112f33-1 → 12.0.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.
@@ -170,7 +170,6 @@ export const DownloadImageDialog = ({ open, applicationId, releaseId, compatible
170
170
  return dropDownButtonActions;
171
171
  }, [
172
172
  authToken,
173
- isValidatingUrl,
174
173
  downloadConfig,
175
174
  downloadSize,
176
175
  downloadUrl,
@@ -20,9 +20,7 @@ export const HighlightedName = (_a) => {
20
20
  borderRadius: token('shape.borderRadius.xs'),
21
21
  display: 'inline-block',
22
22
  p: 2,
23
- color: token(color || isLight(bgColor)
24
- ? 'color.text'
25
- : 'color.text.inverse'),
23
+ color: token(color || isLight(bgColor) ? 'color.text' : 'color.text.inverse'),
26
24
  background: bgColor,
27
25
  } }, props, { children: children })));
28
26
  };
@@ -6,12 +6,14 @@ import findKey from 'lodash/findKey';
6
6
  import pick from 'lodash/pick';
7
7
  import mapValues from 'lodash/mapValues';
8
8
  const getKeyLabel = (schema) => {
9
+ var _a;
9
10
  const s = find(schema.properties, { description: 'key' });
10
- return (s === null || s === void 0 ? void 0 : s.title) ? s.title : 'key';
11
+ return (_a = s === null || s === void 0 ? void 0 : s.title) !== null && _a !== void 0 ? _a : 'key';
11
12
  };
12
13
  const getValueLabel = (schema) => {
14
+ var _a;
13
15
  const s = find(schema.properties, { description: 'value' });
14
- return (s === null || s === void 0 ? void 0 : s.title) ? s.title : 'value';
16
+ return (_a = s === null || s === void 0 ? void 0 : s.title) !== null && _a !== void 0 ? _a : 'value';
15
17
  };
16
18
  export const isKeyValueObj = (schema) => !!find(schema.properties, { description: 'key' }) ||
17
19
  !!find(schema.properties, { description: 'value' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/ui-shared-components",
3
- "version": "12.0.2-build-renovate-major-7-react-router-dom-591a9d391de2d33bdec9daa8f13684f5a2112f33-1",
3
+ "version": "12.0.2",
4
4
  "main": "./dist/index.js",
5
5
  "sideEffects": false,
6
6
  "files": [
@@ -44,7 +44,7 @@
44
44
  "react-dropzone": "^14.2.3",
45
45
  "react-helmet": "^6.1.0",
46
46
  "react-markdown": "^10.0.0",
47
- "react-router-dom": "^7.0.0",
47
+ "react-router-dom": "^6.28.0",
48
48
  "remark-breaks": "^4.0.0",
49
49
  "remark-gfm": "^4.0.0",
50
50
  "rimraf": "^6.0.0",
@@ -54,7 +54,7 @@
54
54
  "zxcvbn": "^4.4.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@balena/lint": "^9.1.0",
57
+ "@balena/lint": "^9.2.1",
58
58
  "@storybook/addon-essentials": "^8.6.12",
59
59
  "@storybook/addon-interactions": "^8.6.12",
60
60
  "@storybook/addon-links": "^8.6.12",
@@ -138,6 +138,6 @@
138
138
  },
139
139
  "homepage": "https://github.com/balena-io/ui-shared-components#readme",
140
140
  "versionist": {
141
- "publishedAt": "2025-04-07T14:58:51.984Z"
141
+ "publishedAt": "2025-04-08T17:48:30.366Z"
142
142
  }
143
143
  }