@bytebrand/fe-ui-core 4.1.204 → 4.1.205
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 +1 -1
- package/source/components/_common/MaterialTooltip/MaterialTooltip.styled.tsx +1 -1
- package/source/components/_common/MaterialTooltip/MaterialTooltip.tsx +3 -3
- package/source/components/_common/UserMenu/MaterialMenuItem.tsx +3 -2
- package/source/framework/factories/BreadcrumbsFactory.tsx +3 -3
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.205",
|
|
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.0
|
|
17
|
+
"@bytebrand/fe-histoslider": "^2.1.0",
|
|
18
18
|
"@bytebrand/i18n-dictionaries": "^0.7.5",
|
|
19
19
|
"@date-io/date-fns": "1.3.13",
|
|
20
20
|
"@emotion/react": "^11.9.3",
|
|
@@ -37,7 +37,7 @@ class Fuel extends React.Component<IFuelProps, {}> {
|
|
|
37
37
|
value: option,
|
|
38
38
|
label: (
|
|
39
39
|
<span className={styles.wrapOptions}>
|
|
40
|
-
{!isNotDetailed
|
|
40
|
+
{!isNotDetailed ? <IconSVG name={option} customDimensions /> : null}
|
|
41
41
|
<FilterLabel text={t(`cbd:${option}`)} agg={agg} />
|
|
42
42
|
</span>
|
|
43
43
|
)
|
|
@@ -18,8 +18,8 @@ const LightTooltip = styled(({ className, ...props }: TooltipProps) => (
|
|
|
18
18
|
backgroundColor: theme.palette.common.white,
|
|
19
19
|
color: 'rgba(0, 0, 0, 0.87)',
|
|
20
20
|
boxShadow: theme.shadows[1],
|
|
21
|
-
fontSize: 11
|
|
22
|
-
}
|
|
21
|
+
fontSize: 11
|
|
22
|
+
}
|
|
23
23
|
}));
|
|
24
24
|
|
|
25
25
|
const MaterialTooltip = ({ text, icon = 'infoIcon', placement, className }: IMaterialTooltip) => {
|
|
@@ -32,4 +32,4 @@ const MaterialTooltip = ({ text, icon = 'infoIcon', placement, className }: IMat
|
|
|
32
32
|
);
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
export default MaterialTooltip;
|
|
35
|
+
export default MaterialTooltip;
|
|
@@ -12,12 +12,13 @@ interface IListItem {
|
|
|
12
12
|
divider?: boolean;
|
|
13
13
|
onClick?: () => void;
|
|
14
14
|
href?: string;
|
|
15
|
+
isComponent?: boolean;
|
|
15
16
|
isSelect?: boolean;
|
|
16
17
|
Link?: any;
|
|
17
18
|
handleClose?: () => void;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
const ListItem = ({ icon, label, amount, divider, onClick, href, Link, handleClose }: IListItem) => {
|
|
21
|
+
const ListItem = ({ icon, label, amount, divider, onClick, href, isComponent, Link, handleClose }: IListItem) => {
|
|
21
22
|
return !!href ? (
|
|
22
23
|
<Link color='#4C4E64DE' variant='caption' to={href} underline='none' onClick={onClick}>
|
|
23
24
|
<MenuItem
|
|
@@ -37,7 +38,7 @@ const ListItem = ({ icon, label, amount, divider, onClick, href, Link, handleClo
|
|
|
37
38
|
handleClose();
|
|
38
39
|
}}
|
|
39
40
|
divider={divider}
|
|
40
|
-
disableRipple={true}
|
|
41
|
+
disableRipple={isComponent ? true : false}
|
|
41
42
|
>
|
|
42
43
|
{icon && <ListItemIcon><IconSVG customDimensions name={icon} /></ListItemIcon>}
|
|
43
44
|
<ListItemText>
|
|
@@ -162,12 +162,12 @@ const BreadcrumbsFactory: IBreadcrumbsFactoryConfig = {
|
|
|
162
162
|
MY_VEHICLES: (props: any) => ({
|
|
163
163
|
list: [
|
|
164
164
|
{
|
|
165
|
-
link: '/
|
|
166
|
-
title: props.t('common:breadcrumbs.
|
|
165
|
+
link: '/account/dashboard',
|
|
166
|
+
title: props.t('common:breadcrumbs.DashboardNew')
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
link: '',
|
|
170
|
-
title: props.t('common:breadcrumbs.
|
|
170
|
+
title: props.t('common:breadcrumbs.MyVehicles')
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}),
|