@majoo-ui/react 1.60.17-rc.1 → 1.60.19-rc.1
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.
|
@@ -161,6 +161,14 @@ export interface InputDatePickerProps {
|
|
|
161
161
|
* Only show in desktop view.
|
|
162
162
|
*/
|
|
163
163
|
desktopOnly?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Additional drawer css styles.
|
|
166
|
+
*/
|
|
167
|
+
drawerCss?: CSS;
|
|
168
|
+
/**
|
|
169
|
+
* Additional drawer content css styles.
|
|
170
|
+
*/
|
|
171
|
+
drawerContentCss?: CSS;
|
|
164
172
|
}
|
|
165
|
-
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, advanceOptions, }: InputDatePickerProps): JSX.Element;
|
|
173
|
+
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, advanceOptions, drawerCss, drawerContentCss }: InputDatePickerProps): JSX.Element;
|
|
166
174
|
export {};
|
package/index.esm.js
CHANGED
|
@@ -19783,7 +19783,9 @@ function InputDatePicker({
|
|
|
19783
19783
|
onClose,
|
|
19784
19784
|
mobileOnly,
|
|
19785
19785
|
desktopOnly,
|
|
19786
|
-
advanceOptions
|
|
19786
|
+
advanceOptions,
|
|
19787
|
+
drawerCss,
|
|
19788
|
+
drawerContentCss
|
|
19787
19789
|
}) {
|
|
19788
19790
|
const {
|
|
19789
19791
|
t,
|
|
@@ -20014,10 +20016,12 @@ function InputDatePicker({
|
|
|
20014
20016
|
!isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
|
|
20015
20017
|
},
|
|
20016
20018
|
side: "bottom",
|
|
20017
|
-
portalled: portalledMobile
|
|
20019
|
+
portalled: portalledMobile,
|
|
20020
|
+
css: drawerCss
|
|
20018
20021
|
}, {
|
|
20019
20022
|
children: jsx(DrawerContent, Object.assign({
|
|
20020
|
-
size: "full"
|
|
20023
|
+
size: "full",
|
|
20024
|
+
css: drawerContentCss
|
|
20021
20025
|
}, {
|
|
20022
20026
|
children: renderDatePicker()
|
|
20023
20027
|
}), void 0)
|
package/index.umd.js
CHANGED
|
@@ -20087,7 +20087,9 @@
|
|
|
20087
20087
|
onClose = _a.onClose,
|
|
20088
20088
|
mobileOnly = _a.mobileOnly,
|
|
20089
20089
|
desktopOnly = _a.desktopOnly,
|
|
20090
|
-
advanceOptions = _a.advanceOptions
|
|
20090
|
+
advanceOptions = _a.advanceOptions,
|
|
20091
|
+
drawerCss = _a.drawerCss,
|
|
20092
|
+
drawerContentCss = _a.drawerContentCss;
|
|
20091
20093
|
var _g = reactI18next.useTranslation('MajooUI/datePicker'),
|
|
20092
20094
|
t = _g.t,
|
|
20093
20095
|
i18n = _g.i18n;
|
|
@@ -20330,10 +20332,12 @@
|
|
|
20330
20332
|
!isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
|
|
20331
20333
|
},
|
|
20332
20334
|
side: "bottom",
|
|
20333
|
-
portalled: portalledMobile
|
|
20335
|
+
portalled: portalledMobile,
|
|
20336
|
+
css: drawerCss
|
|
20334
20337
|
}, {
|
|
20335
20338
|
children: jsxRuntime.jsx(DrawerContent, __assign({
|
|
20336
|
-
size: "full"
|
|
20339
|
+
size: "full",
|
|
20340
|
+
css: drawerContentCss
|
|
20337
20341
|
}, {
|
|
20338
20342
|
children: renderDatePicker()
|
|
20339
20343
|
}), void 0)
|