@balena/ui-shared-components 15.5.1-build-renovate-major-7-react-router-dom-227c740d2480ebd3f4a25cedb6ff3c19c2c83d03-1 → 15.5.1-build-remove-lock-file-f0381c4dc35c2d07bdf60d4d80cd846b895e3d33-1
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.
|
@@ -2,4 +2,4 @@ import type { TypographyProps } from '@mui/material';
|
|
|
2
2
|
/**
|
|
3
3
|
* This component will display a text as code.
|
|
4
4
|
*/
|
|
5
|
-
export declare const Code: import("react").ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import("react").RefAttributes<((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined>>;
|
|
5
|
+
export declare const Code: import("react").ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import("react").RefAttributes<((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined>>;
|
|
@@ -156,9 +156,9 @@ export const ImageForm = memo(function ImageForm({ compatibleDeviceTypes, osVers
|
|
|
156
156
|
hasEsrVersions &&
|
|
157
157
|
model.deviceType && (_jsx(OsTypeSelector, { supportedOsTypes: osTypes, hasEsrVersions: hasEsrVersions !== null && hasEsrVersions !== void 0 ? hasEsrVersions : false, selectedOsTypeSlug: osType, onSelectedOsTypeChange: onSelectedOsTypeChange }))] }), !isInitialDefault && version && (_jsxs(Stack, { direction: "row", flexWrap: "wrap", maxWidth: "100%", gap: 2, alignItems: "center", children: [_jsx(Autocomplete, { fullWidth: true, id: "e2e-download-image-versions-list", value: version, getOptionLabel: (option) => option.value, isOptionEqualToValue: (option, value) => option.value === value.value, options: versionSelectionOpts, onChange: (_event, ver) => {
|
|
158
158
|
handleVersionChange(ver);
|
|
159
|
-
},
|
|
159
|
+
}, renderOption: (props, option) => (_jsx(Box, Object.assign({ component: "li" }, props, { children: _jsx(VersionSelectItem, { option: option, isRecommended: option.value === recommendedVersion }) }))), renderInput: (_a) => {
|
|
160
160
|
var { InputProps } = _a, params = __rest(_a, ["InputProps"]);
|
|
161
|
-
return (_jsx(TextField, Object.assign({}, params, { slotProps: {
|
|
161
|
+
return (_jsx(TextField, Object.assign({}, params, { placeholder: "Choose a version...", slotProps: {
|
|
162
162
|
input: Object.assign(Object.assign({}, InputProps), { endAdornment: (_jsxs(_Fragment, { children: [version.value === recommendedVersion && (_jsx(Chip, { sx: { ml: 1 }, color: "green", label: "recommended" })), !!(version === null || version === void 0 ? void 0 : version.knownIssueList) && (_jsx(Tooltip, { title: version.knownIssueList, children: _jsx(FontAwesomeIcon, { icon: faTriangleExclamation, color: token('color.icon.warning') }) })), InputProps.endAdornment] })) }),
|
|
163
163
|
}, label: "OS version" })));
|
|
164
164
|
}, disableClearable: true, sx: { flex: 1 } }), showAllVersionsToggle && (_jsx(FormControlLabel, { control: _jsx(Checkbox, { id: "e2e-show-all-versions-check", checked: showAllVersions, onChange: handleShowAllVersions }), label: "Show outdated versions",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/ui-shared-components",
|
|
3
|
-
"version": "15.5.1-build-
|
|
3
|
+
"version": "15.5.1-build-remove-lock-file-f0381c4dc35c2d07bdf60d4d80cd846b895e3d33-1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react-helmet": "^6.1.0",
|
|
50
50
|
"react-is": "^18.2.0",
|
|
51
51
|
"react-markdown": "^10.0.0",
|
|
52
|
-
"react-router-dom": "^
|
|
52
|
+
"react-router-dom": "^6.28.0",
|
|
53
53
|
"remark-breaks": "^4.0.0",
|
|
54
54
|
"remark-gfm": "^4.0.0",
|
|
55
55
|
"rimraf": "^6.0.0",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@types/react-dom": "^18.0.11",
|
|
75
75
|
"@types/react-helmet": "^6.1.6",
|
|
76
76
|
"@types/zxcvbn": "^4.4.4",
|
|
77
|
+
"@vitest/mocker": "^4.0.16",
|
|
77
78
|
"eslint-plugin-storybook": "^10.0.1",
|
|
78
79
|
"husky": "^9.0.0",
|
|
79
80
|
"lint-staged": "^16.0.0",
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
"prepare": "husky",
|
|
93
94
|
"storybook": "storybook dev -p 6006",
|
|
94
95
|
"build-storybook": "storybook build --docs",
|
|
95
|
-
"deploy-docs": "npm
|
|
96
|
+
"deploy-docs": "npm install && storybook build --docs && mv storybook-static build"
|
|
96
97
|
},
|
|
97
98
|
"eslintConfig": {
|
|
98
99
|
"extends": [
|
|
@@ -137,7 +138,7 @@
|
|
|
137
138
|
},
|
|
138
139
|
"homepage": "https://github.com/balena-io/ui-shared-components#readme",
|
|
139
140
|
"versionist": {
|
|
140
|
-
"publishedAt": "2025-12-
|
|
141
|
+
"publishedAt": "2025-12-29T11:00:29.885Z"
|
|
141
142
|
},
|
|
142
143
|
"overrides": {
|
|
143
144
|
"storybook": "$storybook",
|