@paygreen/pgui 2.14.3 → 2.14.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/dist/cjs/index.js CHANGED
@@ -7940,7 +7940,7 @@ var InputDayPicker = function (_a) {
7940
7940
  // Update the input value when the value prop changes
7941
7941
  React.useEffect(function () {
7942
7942
  setDateValue(dayjs(value).isValid() ? dayjs(value).format(defaultDateFormat) : '');
7943
- }, [value]);
7943
+ }, [value, locale]);
7944
7944
  // Add new state variables for hours and minutes
7945
7945
  var _e = React.useState('00'), hours = _e[0], setHours = _e[1];
7946
7946
  var _f = React.useState('00'), minutes = _f[0], setMinutes = _f[1];
@@ -7980,7 +7980,7 @@ var InputDayPicker = function (_a) {
7980
7980
  React.useEffect(function () {
7981
7981
  handleDateSelection(dayjs(dateValue, defaultDateFormat).toDate());
7982
7982
  }, [hours, minutes]);
7983
- return (React__default["default"].createElement(react.Box, null,
7983
+ return (React__default["default"].createElement(react.Box, { position: 'relative' },
7984
7984
  React__default["default"].createElement(react.InputGroup, null,
7985
7985
  React__default["default"].createElement(react.InputLeftElement, { role: "group", color: isDisabled ? inputLeftElementColor : inputLeftElementDisabledColor, _hover: {
7986
7986
  cursor: isDisabled ? 'not-allowed' : 'pointer'