@bytebrand/fe-ui-core 4.1.212 → 4.1.214
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/package.json +2 -2
- package/source/components/SearchFilters/filters/Fuel.tsx +2 -1
- package/source/components/SearchPageMobile/FiltersDetailed/Fuel.tsx +2 -1
- package/source/components/SearchWidgetsMobile/EngineTransDriveWidget/EngineTransDriveWidget.tsx +1 -0
- package/source/components/_common/MaterialSelect/MaterialSelect.tsx +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/fe-ui-core",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.214",
|
|
4
4
|
"description": "UI components for the auto.de project",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "dist/common.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@babel/preset-react": "^7.16.7",
|
|
15
15
|
"@babel/preset-typescript": "^7.16.7",
|
|
16
16
|
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
17
|
-
"@bytebrand/fe-histoslider": "^2.1.
|
|
17
|
+
"@bytebrand/fe-histoslider": "^2.1.3",
|
|
18
18
|
"@bytebrand/i18n-dictionaries": "^0.7.5",
|
|
19
19
|
"@date-io/date-fns": "1.3.13",
|
|
20
20
|
"@emotion/react": "^11.9.3",
|
|
@@ -54,7 +54,8 @@ class Fuel extends React.Component<IFuelProps, {}> {
|
|
|
54
54
|
items: this.getOptions(options),
|
|
55
55
|
value: values || [],
|
|
56
56
|
onChange: (values: any) => this.onDropDownChange(values),
|
|
57
|
-
multiple: true
|
|
57
|
+
multiple: true,
|
|
58
|
+
dense:true
|
|
58
59
|
};
|
|
59
60
|
|
|
60
61
|
return <MaterialSelect {...ddProps} />;
|
|
@@ -59,7 +59,8 @@ class Fuel extends React.Component<IFuelProps, {}> {
|
|
|
59
59
|
items: this.getOptions(options),
|
|
60
60
|
value: values || [],
|
|
61
61
|
onChange: (values: any) => this.onDropDownChange(values),
|
|
62
|
-
multiple: true
|
|
62
|
+
multiple: true,
|
|
63
|
+
dense:true
|
|
63
64
|
};
|
|
64
65
|
|
|
65
66
|
return <MaterialSelect {...ddProps} />;
|
|
@@ -36,6 +36,7 @@ export interface IVehicleModalProps {
|
|
|
36
36
|
selectClassName?: string;
|
|
37
37
|
amountOfItems?: number;
|
|
38
38
|
customDimensionsIcon?: boolean;
|
|
39
|
+
dense?:boolean;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
const ITEM_HEIGHT = isMobileOnly ? 56 : 48;
|
|
@@ -63,6 +64,7 @@ const MaterialSelect: React.FC<IVehicleModalProps> = ({
|
|
|
63
64
|
items,
|
|
64
65
|
icon,
|
|
65
66
|
customDimensionsIcon,
|
|
67
|
+
dense,
|
|
66
68
|
amountOfItems = MENU_ITEMS
|
|
67
69
|
}: IVehicleModalProps) => {
|
|
68
70
|
const [newValue, setValue] = useState('');
|
|
@@ -109,7 +111,7 @@ const MaterialSelect: React.FC<IVehicleModalProps> = ({
|
|
|
109
111
|
const setDisabled = isDisabled || isSeries;
|
|
110
112
|
if (multiple) {
|
|
111
113
|
return (
|
|
112
|
-
<MenuItem key={`${value}_${index}`} value={value}>
|
|
114
|
+
<MenuItem key={`${value}_${index}`} value={value} dense={dense}>
|
|
113
115
|
<Checkbox checked={multipleValue.indexOf(value) > -1} />
|
|
114
116
|
<ListItemText primary={label} />
|
|
115
117
|
</MenuItem>
|