@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/cjs/index.js
CHANGED
|
@@ -19114,7 +19114,11 @@ var InputRangePicker = function (_a) {
|
|
|
19114
19114
|
React.useEffect(function () {
|
|
19115
19115
|
onChange({ from: fromValue, to: toValue });
|
|
19116
19116
|
}, [fromValue, toValue]);
|
|
19117
|
-
|
|
19117
|
+
var flexDirection = react.useBreakpointValue({
|
|
19118
|
+
base: 'column',
|
|
19119
|
+
sm: 'row'
|
|
19120
|
+
});
|
|
19121
|
+
return (React__default["default"].createElement(react.Flex, { flexDirection: flexDirection, gap: 2 },
|
|
19118
19122
|
React__default["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 }),
|
|
19119
19123
|
React__default["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 })));
|
|
19120
19124
|
};
|