@majoo-ui/react 1.60.2-rc.2 → 1.60.2-rc.3
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,10 @@ export interface InputDatePickerProps {
|
|
|
149
149
|
* Wrapping DatePicker with FloatingPortal.
|
|
150
150
|
*/
|
|
151
151
|
portalled?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Wrapping Mobile DatePicker with FloatingPortal.
|
|
154
|
+
*/
|
|
155
|
+
portalledMobile?: boolean;
|
|
152
156
|
/**
|
|
153
157
|
* Only show in mobile view.
|
|
154
158
|
*/
|
|
@@ -158,5 +162,5 @@ export interface InputDatePickerProps {
|
|
|
158
162
|
*/
|
|
159
163
|
desktopOnly?: boolean;
|
|
160
164
|
}
|
|
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, onClose, mobileOnly, desktopOnly, advanceOptions, }: InputDatePickerProps): JSX.Element;
|
|
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;
|
|
162
166
|
export {};
|
package/index.esm.js
CHANGED
|
@@ -19705,7 +19705,8 @@ function InputDatePicker({
|
|
|
19705
19705
|
readOnly,
|
|
19706
19706
|
isInvalid,
|
|
19707
19707
|
allowReset,
|
|
19708
|
-
portalled
|
|
19708
|
+
portalled,
|
|
19709
|
+
portalledMobile = false,
|
|
19709
19710
|
onClose,
|
|
19710
19711
|
mobileOnly,
|
|
19711
19712
|
desktopOnly,
|
|
@@ -19940,7 +19941,7 @@ function InputDatePicker({
|
|
|
19940
19941
|
!isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
|
|
19941
19942
|
},
|
|
19942
19943
|
side: "bottom",
|
|
19943
|
-
portalled:
|
|
19944
|
+
portalled: portalledMobile
|
|
19944
19945
|
}, {
|
|
19945
19946
|
children: jsx(DrawerContent, Object.assign({
|
|
19946
19947
|
size: "full"
|
package/index.umd.js
CHANGED
|
@@ -20008,8 +20008,9 @@
|
|
|
20008
20008
|
readOnly = _a.readOnly,
|
|
20009
20009
|
isInvalid = _a.isInvalid,
|
|
20010
20010
|
allowReset = _a.allowReset,
|
|
20011
|
-
|
|
20012
|
-
|
|
20011
|
+
portalled = _a.portalled,
|
|
20012
|
+
_f = _a.portalledMobile,
|
|
20013
|
+
portalledMobile = _f === void 0 ? false : _f,
|
|
20013
20014
|
onClose = _a.onClose,
|
|
20014
20015
|
mobileOnly = _a.mobileOnly,
|
|
20015
20016
|
desktopOnly = _a.desktopOnly,
|
|
@@ -20256,7 +20257,7 @@
|
|
|
20256
20257
|
!isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
|
|
20257
20258
|
},
|
|
20258
20259
|
side: "bottom",
|
|
20259
|
-
portalled:
|
|
20260
|
+
portalled: portalledMobile
|
|
20260
20261
|
}, {
|
|
20261
20262
|
children: jsxRuntime.jsx(DrawerContent, __assign({
|
|
20262
20263
|
size: "full"
|