@7shifts/sous-chef 2.10.0 → 2.11.0
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/CHANGELOG.md +450 -0
- package/dist/forms/DateField/DateField.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -5367,7 +5367,8 @@ var DateField = function DateField(_ref) {
|
|
|
5367
5367
|
disabled = _ref.disabled,
|
|
5368
5368
|
defaultValue = _ref.defaultValue,
|
|
5369
5369
|
_ref$readOnly = _ref.readOnly,
|
|
5370
|
-
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly
|
|
5370
|
+
readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
|
|
5371
|
+
onMonthChange = _ref.onMonthChange;
|
|
5371
5372
|
var inputRef = useRef();
|
|
5372
5373
|
|
|
5373
5374
|
var _useState = useState(false),
|
|
@@ -5400,7 +5401,8 @@ var DateField = function DateField(_ref) {
|
|
|
5400
5401
|
weekdaysLong: DAYS,
|
|
5401
5402
|
weekdaysShort: DAYS.map(function (day) {
|
|
5402
5403
|
return day.substring(0, 2);
|
|
5403
|
-
})
|
|
5404
|
+
}),
|
|
5405
|
+
onMonthChange: onMonthChange
|
|
5404
5406
|
};
|
|
5405
5407
|
return React__default.createElement(Field, Object.assign({}, fieldProps), React__default.createElement(AffixContainer, {
|
|
5406
5408
|
prefix: React__default.createElement(IconCalendarAlt, {
|