@bytebrand/fe-ui-core 4.2.62 → 4.2.63

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/commonUtils.ts ADDED
@@ -0,0 +1,11 @@
1
+ import {
2
+ addPrefixToKeys,
3
+ arrToObj,
4
+ checkRangeValuesOnEqual
5
+ } from "./source/framework/utils/CommonUtils";
6
+
7
+ export {
8
+ addPrefixToKeys,
9
+ arrToObj,
10
+ checkRangeValuesOnEqual
11
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.62",
3
+ "version": "4.2.63",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -73,12 +73,11 @@ const OrderStatusSection = ({
73
73
  { label: 'vehicle registration', value: getFormattedPrice(registrationCost, '$,.2f', ' €') },
74
74
  { label: 'license plates', value: getFormattedPrice(licensePlateCost, '$,.2f', ' €') },
75
75
  { label: 'Delivery', value: getFormattedPrice(transportationCost, '$,.2f', ' €') },
76
- buyingType !== 'buy' &&
76
+ ...buyingType !== 'buy' ? [
77
77
  { label: `${buyingType} rate`, value: `${getFormattedPrice(monthlyInstallment, '$,.2f', '', '€')} per month` },
78
- buyingType !== 'buy' &&
79
78
  { label: 'Running time (months)', value: `${paybackPeriod} months` },
80
- buyingType !== 'buy' &&
81
79
  { label: 'Deposit', value: getFormattedPrice(deposit, '$,.2f', ' €') }
80
+ ] : []
82
81
  ],
83
82
  overallRate: {
84
83
  label: 'Your overall rate',