@bytebrand/fe-ui-core 4.2.2 → 4.2.4
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
|
@@ -115,9 +115,11 @@ const RangeControlled = ({
|
|
|
115
115
|
};
|
|
116
116
|
const { from = 0, to = 0 } = controls;
|
|
117
117
|
|
|
118
|
+
const transformValue = (value: number) => name === 'FIRST_REGISTRATION' ? value : numberWithDot(value); // skip dot appying for FIRST_REGISTRATION
|
|
119
|
+
|
|
118
120
|
const fromProps = {
|
|
119
121
|
size: 'custom',
|
|
120
|
-
value:from ?
|
|
122
|
+
value: from ? transformValue(from) : null,
|
|
121
123
|
label: `${t('filters.from')} ${unit ? unit : '€'}`,
|
|
122
124
|
onChange: (value: any) => onDropDownChange('from', value),
|
|
123
125
|
items: getOptions(sliceLessThan(getDropdownRange(name), to))
|
|
@@ -125,7 +127,7 @@ const RangeControlled = ({
|
|
|
125
127
|
|
|
126
128
|
const toProps = {
|
|
127
129
|
size: 'custom',
|
|
128
|
-
value:to ?
|
|
130
|
+
value:to ? transformValue(to) : null,
|
|
129
131
|
label: `${t('filters.to')} ${unit ? unit : '€'}`,
|
|
130
132
|
onChange: (value: any) => onDropDownChange('to', value),
|
|
131
133
|
items: getOptions(sliceMoreThan(getDropdownRange(name), from))
|
|
@@ -150,10 +150,9 @@
|
|
|
150
150
|
padding: 0 16px;
|
|
151
151
|
|
|
152
152
|
+media-tablet-landscape-up()
|
|
153
|
-
grid-template-columns:
|
|
153
|
+
grid-template-columns: 112px 1fr;
|
|
154
154
|
border: 1px solid rgba(76, 78, 100, 0.12);
|
|
155
155
|
border-radius: 10px;
|
|
156
|
-
padding-bottom: 15px;
|
|
157
156
|
margin-bottom: 0;
|
|
158
157
|
|
|
159
158
|
&.vehicleWrapMyVeicles
|