@bytebrand/fe-ui-core 4.1.77 → 4.1.79
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 +6 -6
- package/source/components/SearchFilters/common/RangeControlled/RangeControlled.tsx +1 -1
- package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.styled.tsx +17 -1
- package/source/components/_common/MaterialAccordionGroup/MaterialAccordionGroup.tsx +3 -4
- package/source/components/_common/Modal/Modal.styled.tsx +2 -1
- package/source/components/_common/Modal/modals/ManageCookieModal/ManageCookieModal.styl +7 -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.79",
|
|
4
4
|
"description": "UI components for the auto.de project",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "dist/common.js",
|
|
@@ -16,11 +16,6 @@
|
|
|
16
16
|
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
17
17
|
"@bytebrand/fe-histoslider": "^2.0.19",
|
|
18
18
|
"@bytebrand/i18n-dictionaries": "^0.7.5",
|
|
19
|
-
"@date-io/date-fns": "1.3.13",
|
|
20
|
-
"@mui/lab": "^5.0.0-alpha.90",
|
|
21
|
-
"@mui/material": "^5.9.0",
|
|
22
|
-
"@mui/styles": "^5.9.0",
|
|
23
|
-
"@mui/x-date-pickers": "^5.0.0-beta.1",
|
|
24
19
|
"@types/js-cookie": "^2.1.0",
|
|
25
20
|
"@types/uuid": "^8.3.1",
|
|
26
21
|
"axios": "^0.24.0",
|
|
@@ -50,6 +45,11 @@
|
|
|
50
45
|
"devDependencies": {
|
|
51
46
|
"@emotion/react": "^11.9.3",
|
|
52
47
|
"@emotion/styled": "^11.9.3",
|
|
48
|
+
"@date-io/date-fns": "1.3.13",
|
|
49
|
+
"@mui/lab": "^5.0.0-alpha.90",
|
|
50
|
+
"@mui/material": "^5.9.0",
|
|
51
|
+
"@mui/styles": "^5.9.0",
|
|
52
|
+
"@mui/x-date-pickers": "^5.0.0-beta.1",
|
|
53
53
|
"@storybook/addon-actions": "^5.1.11",
|
|
54
54
|
"@storybook/addon-backgrounds": "^5.1.11",
|
|
55
55
|
"@storybook/addon-centered": "^5.1.11",
|
|
@@ -119,7 +119,7 @@ const RangeControlled = ({
|
|
|
119
119
|
value:from ? numberWithDot(from) : null,
|
|
120
120
|
label: `${t('filters.from')} ${unit ? unit : '€'}`,
|
|
121
121
|
onChange: (value: any) => onDropDownChange('from', value),
|
|
122
|
-
items: getOptions(sliceLessThan(getDropdownRange(name), to))
|
|
122
|
+
items: getOptions(sliceLessThan(getDropdownRange(name), to))
|
|
123
123
|
};
|
|
124
124
|
|
|
125
125
|
const toProps = {
|
|
@@ -15,6 +15,15 @@ export const AccordionSummaryTitle = styled('div')({
|
|
|
15
15
|
color: 'rgba(76, 78, 100, 0.87)'
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
+
export const AccordionContent = styled('div')({
|
|
19
|
+
fontFamily: 'sans-serif',
|
|
20
|
+
fontSize: '10px',
|
|
21
|
+
lineHeight: '12px',
|
|
22
|
+
textAlign: 'justify',
|
|
23
|
+
letterSpacing: '0.4px',
|
|
24
|
+
color: 'rgba(76, 78, 100, 0.68)'
|
|
25
|
+
});
|
|
26
|
+
|
|
18
27
|
export const Theme = createTheme({
|
|
19
28
|
components: {
|
|
20
29
|
MuiAccordion: {
|
|
@@ -28,7 +37,7 @@ export const Theme = createTheme({
|
|
|
28
37
|
borderBottomRightRadius: '8px',
|
|
29
38
|
borderBottomLeftRadius: '8px'
|
|
30
39
|
},
|
|
31
|
-
'&:first-
|
|
40
|
+
'&:first-of-type': {
|
|
32
41
|
borderTopRightRadius: '8px',
|
|
33
42
|
borderTopLeftRadius: '8px'
|
|
34
43
|
},
|
|
@@ -50,6 +59,13 @@ export const Theme = createTheme({
|
|
|
50
59
|
}
|
|
51
60
|
}
|
|
52
61
|
}
|
|
62
|
+
},
|
|
63
|
+
MuiFormControlLabel: {
|
|
64
|
+
styleOverrides: {
|
|
65
|
+
root: {
|
|
66
|
+
marginRight: 0
|
|
67
|
+
}
|
|
68
|
+
}
|
|
53
69
|
}
|
|
54
70
|
}
|
|
55
71
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import { AccordionSummaryContent, AccordionSummaryTitle, Theme } from './MaterialAccordionGroup.styled';
|
|
2
|
+
import { AccordionSummaryContent, AccordionSummaryTitle, AccordionContent, Theme } from './MaterialAccordionGroup.styled';
|
|
4
3
|
import { ThemeProvider } from '@mui/material/styles';
|
|
5
4
|
import MaterialSwitch from '../MaterialSwitch/MaterialSwitch';
|
|
6
5
|
import MaterialTooltip from '../MaterialTooltip/MaterialTooltip';
|
|
@@ -29,9 +28,9 @@ const MaterialAccordionGroup = ({ title, tooltipText, children, switchProps, wit
|
|
|
29
28
|
{withSwitch && <MaterialSwitch { ...switchProps } />}
|
|
30
29
|
</MuiAccordionSummary>
|
|
31
30
|
<MuiAccordionDetails>
|
|
32
|
-
<
|
|
31
|
+
<AccordionContent>
|
|
33
32
|
{children}
|
|
34
|
-
</
|
|
33
|
+
</AccordionContent>
|
|
35
34
|
</MuiAccordionDetails>
|
|
36
35
|
</MuiAccordion>
|
|
37
36
|
</ThemeProvider>
|