@paygreen/pgui 2.13.4 → 2.13.5
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/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -19088,7 +19088,11 @@ var InputRangePicker = function (_a) {
|
|
|
19088
19088
|
useEffect(function () {
|
|
19089
19089
|
onChange({ from: fromValue, to: toValue });
|
|
19090
19090
|
}, [fromValue, toValue]);
|
|
19091
|
-
|
|
19091
|
+
var flexDirection = useBreakpointValue({
|
|
19092
|
+
base: 'column',
|
|
19093
|
+
sm: 'row'
|
|
19094
|
+
});
|
|
19095
|
+
return (React__default.createElement(Flex, { flexDirection: flexDirection, gap: 2 },
|
|
19092
19096
|
React__default.createElement(InputDayPicker, { value: fromValue, onChange: setFromValue, placeholder: placeholder, name: name, isDisabled: isDisabled, withTime: withTime, locale: locale, minDate: minDate, maxDate: maxDate, dateFormat: dateFormat, variant: variant }),
|
|
19093
19097
|
React__default.createElement(InputDayPicker, { value: toValue, onChange: setToValue, placeholder: placeholder, name: name, isDisabled: isDisabled, withTime: withTime, locale: locale, minDate: minDate, maxDate: maxDate, dateFormat: dateFormat, variant: variant })));
|
|
19094
19098
|
};
|