@balena/ui-shared-components 9.2.1 → 9.2.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.
|
@@ -116,9 +116,9 @@ export const ImageForm = memo(({ compatibleDeviceTypes, osVersions, isInitialDef
|
|
|
116
116
|
return _jsx(VersionSelectItem, { option: version });
|
|
117
117
|
}, children: versionSelectionOpts === null || versionSelectionOpts === void 0 ? void 0 : versionSelectionOpts.map((option, index) => {
|
|
118
118
|
return (_jsx(MenuItem, { value: option.value, children: _jsx(VersionSelectItem, { option: option }) }, index));
|
|
119
|
-
}) })] }), showAllVersionsToggle && (
|
|
119
|
+
}) })] }), showAllVersionsToggle && (_jsx(Box, { mx: 2, display: "flex", alignItems: "center", alignSelf: "flex-end",
|
|
120
120
|
// TODO: find a better way to center the checkbox with the input only (without label)
|
|
121
|
-
height: 54, children:
|
|
121
|
+
height: 54, children: _jsx(FormControlLabel, { control: _jsx(Checkbox, { id: "e2e-show-all-versions-check", checked: showAllVersions, onChange: handleShowAllVersions }), label: "Show outdated versions" }) }))] })), (!isInitialDefault || !variant) && (_jsx(Box, { sx: { mt: 3 }, children: _jsx(VariantSelector, { version: version, variant: variant, onVariantChange: (variant) => {
|
|
122
122
|
setVariant(variant ? 'dev' : 'prod');
|
|
123
123
|
} }) })), _jsx(Divider, { variant: "fullWidth", sx: { my: 3, borderStyle: 'dashed' } }), _jsxs(Box, { display: "flex", flexDirection: "column", children: [_jsxs(FormControl, { children: [_jsx(FormLabel, { id: "network-radio-buttons-group-label", children: "Network" }), _jsxs(RadioGroup, { "aria-labelledby": "network-radio-buttons-group-label", value: model.network, name: "network", onChange: (event) => onChange('network', event.target.value), children: [_jsx(FormControlLabel, { value: "ethernet", control: _jsx(Radio, {}), label: "Ethernet only" }), _jsx(FormControlLabel, { value: "wifi", control: _jsx(Radio, {}), label: "Wifi + Ethernet" })] })] }), model.network === 'wifi' && (_jsxs(_Fragment, { children: [_jsx(InputLabel, { htmlFor: "device-wifi-ssid", sx: { mb: 2 }, children: "WiFi SSID" }), _jsx(TextField, { value: model.wifiSsid, id: "device-wifi-ssid", inputProps: {
|
|
124
124
|
name: 'wifiSsid',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/ui-shared-components",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
},
|
|
111
111
|
"homepage": "https://github.com/balena-io/ui-shared-components#readme",
|
|
112
112
|
"versionist": {
|
|
113
|
-
"publishedAt": "2024-10-
|
|
113
|
+
"publishedAt": "2024-10-21T15:21:41.995Z"
|
|
114
114
|
}
|
|
115
115
|
}
|