@bytebrand/fe-ui-core 4.1.45 → 4.1.47
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 +1 -1
- package/source/components/PriceRating/PriceRating.styl +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +2 -1
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.tsx +2 -2
- package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.tsx +5 -1
package/package.json
CHANGED
|
@@ -236,8 +236,8 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
|
|
|
236
236
|
{ListPrices}
|
|
237
237
|
{vehicleComponentName === 'favorite' && (
|
|
238
238
|
<div className={styles.wrapHandleCompare}>
|
|
239
|
-
<Button variant='
|
|
240
|
-
<IconSVG className={styles.removeIcon} name='
|
|
239
|
+
<Button variant='outlined' onClick={onRemoveClick} className={styles.btnCompareRemove} color='error'>
|
|
240
|
+
<IconSVG className={styles.removeIcon} name='trashRed' customDimensions />
|
|
241
241
|
</Button>
|
|
242
242
|
<Button className={styles.btnCarToCompare} variant='outlined' onClick={toggleCarToCompare}>
|
|
243
243
|
<span className={styles.btnPlusIcon}>{!toCompare ? '+' : '-'}</span>
|
|
@@ -4,6 +4,10 @@ import Button from '../../../Button/Button';
|
|
|
4
4
|
import styles from './PreviewCookieModal.styl';
|
|
5
5
|
|
|
6
6
|
const PreviewCookieModal = ({ toggleModal, modalCookieChange, setModal }) => {
|
|
7
|
+
const onAcceptAll = () => {
|
|
8
|
+
localStorage.setItem('cookieConfig', JSON.stringify([]));
|
|
9
|
+
toggleModal();
|
|
10
|
+
}
|
|
7
11
|
return (
|
|
8
12
|
<div className={styles.modalWrapper}>
|
|
9
13
|
<IconSVG name='autodeLogo' customDimensions />
|
|
@@ -11,7 +15,7 @@ const PreviewCookieModal = ({ toggleModal, modalCookieChange, setModal }) => {
|
|
|
11
15
|
<div className={styles.modalContent}>Für ein bestmögliches Nutzererlebnis setzen wir Cookies und andere Technologien ein. Diese können Sie hier verwalten.</div>
|
|
12
16
|
<div className={styles.buttonsContainer}>
|
|
13
17
|
<Button onClick={() => setModal('MANAGE_COOKIE_MODAL')} className={styles.modalBtn} variant='outlined'>Cookie-Einstellungen</Button>
|
|
14
|
-
<Button onClick={
|
|
18
|
+
<Button onClick={onAcceptAll} className={styles.modalBtn}>zustimmen</Button>
|
|
15
19
|
</div>
|
|
16
20
|
</div>
|
|
17
21
|
);
|