@bytebrand/fe-ui-core 4.2.16 → 4.2.18

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.2.16",
3
+ "version": "4.2.18",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -108,3 +108,6 @@
108
108
 
109
109
  .arrowUpIcon
110
110
  transform: rotate(180deg);
111
+
112
+ .wrapper
113
+ padding-right: 15px;
@@ -95,7 +95,7 @@ const PriceContent: React.FunctionComponent<IPriceContentProps> = ({
95
95
  </div>
96
96
  ) : null}
97
97
  </span>
98
- <div>
98
+ <div className={styles.wrapper}>
99
99
  <PriceRating {...priceRatingProps} />
100
100
  <span className={styles.priceInfo}>
101
101
  <span className={styles.priceInfoLabel} onClick={onAdjustRateClick}>
@@ -259,6 +259,7 @@ import PriceGuarantee from './SVG/infoBlocks/PriceGuarantee';
259
259
  import PriceGuaranteeWhite from './SVG/infoBlocks/PriceGuaranteeWhite';
260
260
  import TransportAndDelivery from './SVG/infoBlocks/TransportAndDelivery';
261
261
  import Warranty from './SVG/infoBlocks/Warranty';
262
+ import AlertInfo from './SVG/infoBlocks/AlertInfo';
262
263
 
263
264
  // popower
264
265
  import PhoneIcon from './SVG/popower/Phone';
@@ -569,6 +570,7 @@ const components: IComponentsProp = {
569
570
  priceGuaranteeWhite: PriceGuaranteeWhite,
570
571
  transportAndDelivery: TransportAndDelivery,
571
572
  warranty: Warranty,
573
+ alertInfo:AlertInfo,
572
574
 
573
575
  // search widget related
574
576
  check: CheckBlue,
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+
3
+ const AlertInfo = (props: any) => (
4
+ <svg
5
+ width='32'
6
+ height='32'
7
+ viewBox='0 0 32 32'
8
+ fill='none'
9
+ {...props}
10
+ xmlns='http://www.w3.org/2000/svg'
11
+ >
12
+ <path
13
+ d='M14.6665 9.33329H17.3332V12H14.6665V9.33329ZM14.6665 14.6666H17.3332V22.6666H14.6665V14.6666ZM15.9998 2.66663C8.63984 2.66663 2.6665 8.63996 2.6665 16C2.6665 23.36 8.63984 29.3333 15.9998 29.3333C23.3598 29.3333 29.3332 23.36 29.3332 16C29.3332 8.63996 23.3598 2.66663 15.9998 2.66663ZM15.9998 26.6666C10.1198 26.6666 5.33317 21.88 5.33317 16C5.33317 10.12 10.1198 5.33329 15.9998 5.33329C21.8798 5.33329 26.6665 10.12 26.6665 16C26.6665 21.88 21.8798 26.6666 15.9998 26.6666Z'
14
+ fill='#005CCB'
15
+ />
16
+ </svg>
17
+ );
18
+
19
+ export default AlertInfo;
@@ -70,7 +70,7 @@ const MaterialField: React.FC<IVehicleModalProps> = ({
70
70
  value={value}
71
71
  name={name}
72
72
  sx={sx}
73
- error={error}
73
+ error={!!error}
74
74
  type={type === 'password' ? passType : type}
75
75
  disabled={disabled}
76
76
  required={required}