@majoo-ui/react 1.60.17 → 1.60.19
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.
|
@@ -149,6 +149,14 @@ export interface InputDatePickerProps {
|
|
|
149
149
|
* Only show in desktop view.
|
|
150
150
|
*/
|
|
151
151
|
desktopOnly?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Additional drawer css styles.
|
|
154
|
+
*/
|
|
155
|
+
drawerCss?: CSS;
|
|
156
|
+
/**
|
|
157
|
+
* Additional drawer content css styles.
|
|
158
|
+
*/
|
|
159
|
+
drawerContentCss?: CSS;
|
|
152
160
|
}
|
|
153
|
-
export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, portalledMobile, onClose, mobileOnly, desktopOnly, }: InputDatePickerProps): JSX.Element;
|
|
161
|
+
export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, portalledMobile, onClose, mobileOnly, desktopOnly, drawerCss, drawerContentCss }: InputDatePickerProps): JSX.Element;
|
|
154
162
|
export {};
|
package/index.esm.js
CHANGED
|
@@ -19888,7 +19888,9 @@ function InputDatePicker({
|
|
|
19888
19888
|
portalledMobile = false,
|
|
19889
19889
|
onClose,
|
|
19890
19890
|
mobileOnly,
|
|
19891
|
-
desktopOnly
|
|
19891
|
+
desktopOnly,
|
|
19892
|
+
drawerCss,
|
|
19893
|
+
drawerContentCss
|
|
19892
19894
|
}) {
|
|
19893
19895
|
const {
|
|
19894
19896
|
t,
|
|
@@ -20117,10 +20119,12 @@ function InputDatePicker({
|
|
|
20117
20119
|
!isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
|
|
20118
20120
|
},
|
|
20119
20121
|
side: "bottom",
|
|
20120
|
-
portalled: portalledMobile
|
|
20122
|
+
portalled: portalledMobile,
|
|
20123
|
+
css: drawerCss
|
|
20121
20124
|
}, {
|
|
20122
20125
|
children: jsx(DrawerContent, Object.assign({
|
|
20123
|
-
size: "full"
|
|
20126
|
+
size: "full",
|
|
20127
|
+
css: drawerContentCss
|
|
20124
20128
|
}, {
|
|
20125
20129
|
children: renderDatePicker()
|
|
20126
20130
|
}), void 0)
|
package/index.umd.js
CHANGED
|
@@ -20172,7 +20172,9 @@
|
|
|
20172
20172
|
portalledMobile = _f === void 0 ? false : _f,
|
|
20173
20173
|
onClose = _a.onClose,
|
|
20174
20174
|
mobileOnly = _a.mobileOnly,
|
|
20175
|
-
desktopOnly = _a.desktopOnly
|
|
20175
|
+
desktopOnly = _a.desktopOnly,
|
|
20176
|
+
drawerCss = _a.drawerCss,
|
|
20177
|
+
drawerContentCss = _a.drawerContentCss;
|
|
20176
20178
|
var _g = reactI18next.useTranslation('MajooUI/datePicker'),
|
|
20177
20179
|
t = _g.t,
|
|
20178
20180
|
i18n = _g.i18n;
|
|
@@ -20413,10 +20415,12 @@
|
|
|
20413
20415
|
!isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
|
|
20414
20416
|
},
|
|
20415
20417
|
side: "bottom",
|
|
20416
|
-
portalled: portalledMobile
|
|
20418
|
+
portalled: portalledMobile,
|
|
20419
|
+
css: drawerCss
|
|
20417
20420
|
}, {
|
|
20418
20421
|
children: jsxRuntime.jsx(DrawerContent, __assign({
|
|
20419
|
-
size: "full"
|
|
20422
|
+
size: "full",
|
|
20423
|
+
css: drawerContentCss
|
|
20420
20424
|
}, {
|
|
20421
20425
|
children: renderDatePicker()
|
|
20422
20426
|
}), void 0)
|