@bytebrand/fe-ui-core 4.1.32 → 4.1.34

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.1.32",
3
+ "version": "4.1.34",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -345,12 +345,14 @@ export default memo(VehicleSmallCard, (props, nextProps) => { // shouldComponent
345
345
  price: {
346
346
  financing: { monthlyInstallment, annualMileage, withFinalInstallment },
347
347
  leasing: { monthlyInstallment: lMonthlyInstallment }
348
- }
348
+ },
349
+ children
349
350
  } = props;
350
351
 
351
352
  return t === nextProps.t
352
353
  && monthlyInstallment === nextProps.price.financing.monthlyInstallment
353
354
  && annualMileage === nextProps.price.financing.annualMileage
354
355
  && withFinalInstallment === nextProps.price.financing.withFinalInstallment
355
- && lMonthlyInstallment === nextProps.price.leasing.monthlyInstallment;
356
+ && lMonthlyInstallment === nextProps.price.leasing.monthlyInstallment
357
+ && children === nextProps.children;
356
358
  });
@@ -20,23 +20,23 @@ export const useStyles = {
20
20
  whiteSpace: 'nowrap',
21
21
  overflow: 'hidden',
22
22
  textOverflow: 'ellipsis',
23
- '&.MuiButton-containedPrimary': {
23
+ '&.MuiButton-containedPrimary:not(.Mui-disabled)': {
24
24
  backgroundColor: '#005ccb',
25
25
  borderRadius: '4px !important'
26
26
  },
27
- '&.MuiButton-containedSecondary': {
27
+ '&.MuiButton-containedSecondary:not(.Mui-disabled)': {
28
28
  backgroundColor: 'red'
29
29
  },
30
- '&.MuiButton-outlinedPrimary': {
30
+ '&.MuiButton-outlinedPrimary:not(.Mui-disabled)': {
31
31
  border: '1px solid #005ccb',
32
32
  background: 'transparent',
33
33
  color: '#005ccb'
34
34
  },
35
- '&.MuiButton-textPrimary': {
35
+ '&.MuiButton-textPrimary:not(.Mui-disabled)': {
36
36
  background: 'transparent',
37
37
  color: '#005ccb'
38
38
  },
39
- '&.MuiButton-textSecondary': {
39
+ '&.MuiButton-textSecondary:not(.Mui-disabled)': {
40
40
  background: 'transparent',
41
41
  color: '#FF0266'
42
42
  },