@mezzanine-ui/react 0.6.3 → 0.7.2
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/Accordion/Accordion.js +3 -2
- package/Accordion/AccordionDetails.js +3 -2
- package/Accordion/AccordionSummary.js +3 -2
- package/Alert/Alert.js +3 -2
- package/AppBar/AppBar.js +3 -2
- package/AppBar/AppBarBrand.js +3 -2
- package/AppBar/AppBarMain.js +3 -2
- package/AppBar/AppBarSupport.js +3 -2
- package/Badge/Badge.js +3 -2
- package/Badge/BadgeContainer.js +3 -2
- package/Button/Button.d.ts +1 -1
- package/Button/Button.js +3 -2
- package/Button/ButtonGroup.js +3 -2
- package/Button/IconButton.js +3 -2
- package/Button/index.js +2 -2
- package/Calendar/Calendar.js +3 -2
- package/Calendar/CalendarCell.js +1 -1
- package/Calendar/CalendarContext.js +1 -2
- package/Calendar/CalendarControls.js +1 -1
- package/Calendar/CalendarDayOfWeek.js +1 -1
- package/Calendar/CalendarDays.js +1 -1
- package/Calendar/CalendarMonths.js +1 -1
- package/Calendar/CalendarWeeks.js +1 -1
- package/Calendar/CalendarYears.js +1 -1
- package/Card/Card.js +3 -2
- package/Card/CardActions.js +3 -2
- package/Checkbox/CheckAll.js +3 -2
- package/Checkbox/Checkbox.js +3 -2
- package/Checkbox/CheckboxGroup.js +3 -2
- package/ConfirmActions/ConfirmActions.js +3 -2
- package/DatePicker/DatePicker.js +3 -2
- package/DatePicker/DatePickerCalendar.js +3 -2
- package/DateRangePicker/DateRangePicker.js +3 -2
- package/DateRangePicker/DateRangePickerCalendar.js +3 -2
- package/DateRangePicker/useDateRangePickerValue.d.ts +2 -2
- package/DateTimePicker/DateTimePicker.js +3 -2
- package/DateTimePicker/DateTimePickerPanel.js +3 -2
- package/Drawer/Drawer.d.ts +2 -7
- package/Drawer/Drawer.js +8 -23
- package/Dropdown/Dropdown.js +3 -2
- package/Empty/Empty.js +3 -2
- package/Form/FormField.js +3 -2
- package/Form/FormLabel.js +3 -2
- package/Form/FormMessage.js +3 -2
- package/Form/useSelectValueControl.js +8 -2
- package/Icon/Icon.d.ts +4 -0
- package/Icon/Icon.js +6 -4
- package/Input/Input.js +3 -2
- package/Loading/Loading.js +3 -2
- package/Menu/Menu.js +3 -2
- package/Menu/MenuDivider.js +3 -2
- package/Menu/MenuItem.js +3 -2
- package/Menu/MenuItemGroup.js +3 -2
- package/Message/Message.d.ts +8 -5
- package/Message/Message.js +29 -13
- package/Message/index.d.ts +1 -1
- package/Modal/Modal.d.ts +2 -7
- package/Modal/Modal.js +11 -59
- package/Modal/ModalActions.js +3 -2
- package/Modal/ModalBody.js +3 -2
- package/Modal/ModalFooter.js +3 -2
- package/Modal/ModalHeader.js +3 -2
- package/Modal/index.d.ts +1 -0
- package/Modal/index.js +1 -0
- package/Modal/useModalContainer.d.ts +6 -0
- package/Modal/useModalContainer.js +27 -0
- package/Navigation/Navigation.js +3 -2
- package/Navigation/NavigationItem.js +3 -2
- package/Navigation/NavigationSubMenu.js +3 -2
- package/Notification/Notification.js +3 -2
- package/Notifier/NotifierManager.js +1 -1
- package/Overlay/Overlay.js +3 -2
- package/PageFooter/PageFooter.js +3 -2
- package/Pagination/Pagination.js +3 -2
- package/Pagination/PaginationItem.js +3 -2
- package/Pagination/PaginationJumper.js +3 -2
- package/Picker/PickerTrigger.js +3 -2
- package/Picker/RangePickerTrigger.js +3 -2
- package/Picker/usePickerInputValue.js +1 -2
- package/Picker/usePickerValue.d.ts +1 -1
- package/Picker/useRangePickerValue.d.ts +2 -2
- package/Popconfirm/Popconfirm.js +3 -2
- package/Popover/Popover.js +3 -2
- package/Popper/Popper.js +3 -2
- package/Portal/Portal.js +3 -2
- package/Progress/Progress.js +3 -2
- package/Radio/Radio.js +3 -2
- package/Radio/RadioGroup.js +3 -2
- package/Select/AutoComplete.d.ts +1 -1
- package/Select/AutoComplete.js +3 -2
- package/Select/Option.js +3 -2
- package/Select/Select.d.ts +1 -1
- package/Select/Select.js +3 -2
- package/Select/SelectTrigger.js +3 -2
- package/Select/TreeSelect.d.ts +1 -1
- package/Select/TreeSelect.js +3 -2
- package/Skeleton/Skeleton.js +3 -2
- package/Slider/Slider.js +20 -3
- package/Slider/useSlider.js +8 -6
- package/Stepper/Step.js +3 -2
- package/Stepper/Stepper.js +3 -2
- package/Switch/Switch.js +3 -2
- package/Table/Table.d.ts +51 -44
- package/Table/Table.js +42 -23
- package/Table/TableBody.js +10 -4
- package/Table/TableBodyRow.js +3 -2
- package/Table/TableCell.js +3 -2
- package/Table/TableHeader.js +3 -2
- package/Table/editable/TableEditRenderWrapper.js +1 -1
- package/Table/expandable/TableExpandable.js +3 -2
- package/Table/pagination/TablePagination.js +13 -14
- package/Table/pagination/useTablePagination.d.ts +5 -13
- package/Table/pagination/useTablePagination.js +3 -23
- package/Table/refresh/TableRefresh.js +3 -2
- package/Table/rowSelection/TableRowSelection.js +3 -2
- package/Table/sorting/TableSortingIcon.js +3 -2
- package/Table/useTableScroll.d.ts +4 -4
- package/Table/useTableScroll.js +1 -1
- package/Tabs/Tab.js +3 -2
- package/Tabs/TabPane.js +3 -2
- package/Tabs/Tabs.js +3 -2
- package/Tabs/useTabsOverflow.js +1 -1
- package/Tag/Tag.js +3 -2
- package/TextField/TextField.js +3 -2
- package/Textarea/Textarea.js +3 -2
- package/TimePanel/TimePanel.js +3 -2
- package/TimePanel/TimePanelAction.js +3 -2
- package/TimePanel/TimePanelColumn.js +3 -2
- package/TimePicker/TimePicker.js +3 -2
- package/TimePicker/TimePickerPanel.js +3 -2
- package/Tooltip/Tooltip.js +3 -2
- package/Transition/Collapse.js +3 -2
- package/Transition/Fade.js +3 -2
- package/Transition/Grow.js +3 -2
- package/Transition/SlideFade.js +3 -2
- package/Transition/Transition.d.ts +1 -1
- package/Transition/Transition.js +1 -1
- package/Transition/Zoom.js +3 -2
- package/Tree/Tree.js +3 -2
- package/Tree/TreeNode.js +3 -2
- package/Tree/TreeNodeList.js +3 -2
- package/Typography/Typography.d.ts +1 -1
- package/Typography/Typography.js +3 -2
- package/Upload/UploadButton.js +3 -2
- package/Upload/UploadInput.js +3 -2
- package/Upload/UploadResult.js +3 -2
- package/_internal/InputCheck/InputCheck.js +3 -2
- package/_internal/InputCheck/InputCheckGroup.js +3 -2
- package/_internal/InputTriggerPopper/InputTriggerPopper.js +3 -2
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.d.ts +21 -0
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.js +66 -0
- package/_internal/SlideFadeOverlay/index.d.ts +1 -0
- package/_internal/SlideFadeOverlay/index.js +1 -0
- package/_internal/SlideFadeOverlay/useTopStack.d.ts +1 -0
- package/{Modal/useIsTopModal.js → _internal/SlideFadeOverlay/useTopStack.js} +3 -3
- package/index.d.ts +5 -3
- package/index.js +52 -49
- package/package.json +5 -5
- package/utils/{rename-types.d.ts → general.d.ts} +3 -0
- package/Modal/useIsTopModal.d.ts +0 -1
package/Accordion/Accordion.js
CHANGED
|
@@ -27,6 +27,7 @@ const Accordion = forwardRef(function Accordion(props, ref) {
|
|
|
27
27
|
});
|
|
28
28
|
}, [disabled, expandedProp, expanded, onToggleExpanded, summary]);
|
|
29
29
|
return (jsx("div", Object.assign({}, rest, { ref: ref, className: cx(accordionClasses.host, className) }, { children: jsxs(AccordionControlContext.Provider, Object.assign({ value: contextValue }, { children: [summary, children] }), void 0) }), void 0));
|
|
30
|
-
});
|
|
30
|
+
});
|
|
31
|
+
var Accordion$1 = Accordion;
|
|
31
32
|
|
|
32
|
-
export default
|
|
33
|
+
export { Accordion$1 as default };
|
|
@@ -20,6 +20,7 @@ const AccordionDetails = forwardRef(function AccordionDetails(props, ref) {
|
|
|
20
20
|
return (jsx(Collapse, Object.assign({ style: { width: '100%' }, in: expandedProp || expanded }, { children: jsx("div", Object.assign({}, rest, ariaProps, { ref: ref, className: cx(accordionClasses.details, {
|
|
21
21
|
[accordionClasses.detailsExpanded]: expandedProp || expanded,
|
|
22
22
|
}, className), role: "region" }, { children: children }), void 0) }), void 0));
|
|
23
|
-
});
|
|
23
|
+
});
|
|
24
|
+
var AccordionDetails$1 = AccordionDetails;
|
|
24
25
|
|
|
25
|
-
export default
|
|
26
|
+
export { AccordionDetails$1 as default };
|
|
@@ -45,6 +45,7 @@ const AccordionSummary = forwardRef(function AccordionSummary(props, ref) {
|
|
|
45
45
|
[accordionClasses.summaryDisabled]: disabled,
|
|
46
46
|
}, className), onClick: onToggle, onKeyDown: onKeyDown, role: "button", tabIndex: 0 }, { children: [jsxs("div", Object.assign({ className: accordionClasses.summaryMainPart }, { children: [suffixActions ? (prefixIcon || (jsx(DefaultIcon, { className: accordionClasses.summaryMainPartPrefix }, void 0))) : null, children] }), void 0),
|
|
47
47
|
suffixActions || (jsx(DefaultIcon, {}, void 0))] }), void 0));
|
|
48
|
-
});
|
|
48
|
+
});
|
|
49
|
+
var AccordionSummary$1 = AccordionSummary;
|
|
49
50
|
|
|
50
|
-
export default
|
|
51
|
+
export { AccordionSummary$1 as default };
|
package/Alert/Alert.js
CHANGED
|
@@ -15,6 +15,7 @@ const Alert = forwardRef(function Alert(props, ref) {
|
|
|
15
15
|
return (jsxs("div", Object.assign({ ref: ref, className: cx(alertClasses.host, alertClasses.severity(severity), className) }, rest, { children: [jsx(Icon, { className: alertClasses.icon, icon: targetIcon }, void 0),
|
|
16
16
|
jsx("p", Object.assign({ className: alertClasses.message }, { children: children }), void 0),
|
|
17
17
|
jsx(Icon, { className: alertClasses.closeIcon, icon: TimesIcon, onClick: onClose, role: "button" }, void 0)] }), void 0));
|
|
18
|
-
});
|
|
18
|
+
});
|
|
19
|
+
var Alert$1 = Alert;
|
|
19
20
|
|
|
20
|
-
export default
|
|
21
|
+
export { Alert$1 as default };
|
package/AppBar/AppBar.js
CHANGED
|
@@ -30,6 +30,7 @@ const AppBar = forwardRef((props, ref) => {
|
|
|
30
30
|
return beforeOrder - afterOrder;
|
|
31
31
|
});
|
|
32
32
|
return (jsx("header", Object.assign({}, rest, { ref: ref, className: cx(appBarClasses.host, appBarClasses[orientation], className) }, { children: SortedChildren }), void 0));
|
|
33
|
-
});
|
|
33
|
+
});
|
|
34
|
+
var AppBar$1 = AppBar;
|
|
34
35
|
|
|
35
|
-
export default
|
|
36
|
+
export { AppBar$1 as default };
|
package/AppBar/AppBarBrand.js
CHANGED
|
@@ -6,6 +6,7 @@ import cx from 'clsx';
|
|
|
6
6
|
const AppBarBrand = forwardRef((props, ref) => {
|
|
7
7
|
const { className, children, ...rest } = props;
|
|
8
8
|
return (jsx("div", Object.assign({}, rest, { ref: ref, className: cx(appBarBrandClasses.host, className) }, { children: children }), void 0));
|
|
9
|
-
});
|
|
9
|
+
});
|
|
10
|
+
var AppBarBrand$1 = AppBarBrand;
|
|
10
11
|
|
|
11
|
-
export default
|
|
12
|
+
export { AppBarBrand$1 as default };
|
package/AppBar/AppBarMain.js
CHANGED
|
@@ -6,6 +6,7 @@ import cx from 'clsx';
|
|
|
6
6
|
const AppBarMain = forwardRef((props, ref) => {
|
|
7
7
|
const { className, children, ...rest } = props;
|
|
8
8
|
return (jsx("div", Object.assign({}, rest, { ref: ref, className: cx(appBarMainClasses.host, className) }, { children: children }), void 0));
|
|
9
|
-
});
|
|
9
|
+
});
|
|
10
|
+
var AppBarMain$1 = AppBarMain;
|
|
10
11
|
|
|
11
|
-
export default
|
|
12
|
+
export { AppBarMain$1 as default };
|
package/AppBar/AppBarSupport.js
CHANGED
|
@@ -6,6 +6,7 @@ import cx from 'clsx';
|
|
|
6
6
|
const AppBarSupport = forwardRef((props, ref) => {
|
|
7
7
|
const { className, children, ...rest } = props;
|
|
8
8
|
return (jsx("div", Object.assign({}, rest, { ref: ref, className: cx(appBarSupportClasses.host, className) }, { children: children }), void 0));
|
|
9
|
-
});
|
|
9
|
+
});
|
|
10
|
+
var AppBarSupport$1 = AppBarSupport;
|
|
10
11
|
|
|
11
|
-
export default
|
|
12
|
+
export { AppBarSupport$1 as default };
|
package/Badge/Badge.js
CHANGED
|
@@ -22,6 +22,7 @@ const Badge = forwardRef(function Badge(props, ref) {
|
|
|
22
22
|
[badgeClasses.dot]: dot,
|
|
23
23
|
[badgeClasses.hide]: !dot && children === 0,
|
|
24
24
|
}, className) }, { children: children }), void 0));
|
|
25
|
-
});
|
|
25
|
+
});
|
|
26
|
+
var Badge$1 = Badge;
|
|
26
27
|
|
|
27
|
-
export default
|
|
28
|
+
export { Badge$1 as default };
|
package/Badge/BadgeContainer.js
CHANGED
|
@@ -9,6 +9,7 @@ import cx from 'clsx';
|
|
|
9
9
|
const BadgeContainer = forwardRef(function BadgeContainer(props, ref) {
|
|
10
10
|
const { children, className, ...rest } = props;
|
|
11
11
|
return (jsx("span", Object.assign({}, rest, { ref: ref, className: cx(badgeClasses.container, className) }, { children: children }), void 0));
|
|
12
|
-
});
|
|
12
|
+
});
|
|
13
|
+
var BadgeContainer$1 = BadgeContainer;
|
|
13
14
|
|
|
14
|
-
export default
|
|
15
|
+
export { BadgeContainer$1 as default };
|
package/Button/Button.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare type ButtonProps<C extends ButtonComponent = 'button'> = Componen
|
|
|
5
5
|
/**
|
|
6
6
|
* The react component for `mezzanine` button.
|
|
7
7
|
*/
|
|
8
|
-
declare const Button: import("react").ForwardRefExoticComponent<Pick<Pick<Pick<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | "form" | "slot" | "style" | "title" | "children" | "color" | "disabled" | "prefix" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, "form" | "slot" | "style" | "title" | "children" | "color" | "disabled" | "prefix" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, "form" | "slot" | "style" | "title" | "children" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & ButtonPropsBase, "form" | "slot" | "style" | "title" | "children" | "color" | "danger" | "disabled" | "loading" | "prefix" | "size" | "suffix" | "variant" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
8
|
+
declare const Button: import("react").ForwardRefExoticComponent<Pick<Pick<Pick<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | "form" | "slot" | "style" | "title" | "color" | "disabled" | "prefix" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, "form" | "slot" | "style" | "title" | "color" | "disabled" | "prefix" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, "form" | "slot" | "style" | "title" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & ButtonPropsBase, "form" | "slot" | "style" | "title" | "color" | "danger" | "disabled" | "loading" | "prefix" | "size" | "suffix" | "variant" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
9
9
|
component?: "button" | "a" | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>) | undefined;
|
|
10
10
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export default Button;
|
package/Button/Button.js
CHANGED
|
@@ -32,6 +32,7 @@ const Button = forwardRef(function Button(props, ref) {
|
|
|
32
32
|
onClick(event);
|
|
33
33
|
}
|
|
34
34
|
} }, { children: [prefix, children && jsx("span", Object.assign({ className: buttonClasses.label }, { children: children }), void 0), suffix] }), void 0));
|
|
35
|
-
});
|
|
35
|
+
});
|
|
36
|
+
var Button$1 = Button;
|
|
36
37
|
|
|
37
|
-
export default
|
|
38
|
+
export { Button$1 as default };
|
package/Button/ButtonGroup.js
CHANGED
|
@@ -30,6 +30,7 @@ const ButtonGroup = forwardRef(function ButtonGroup(props, ref) {
|
|
|
30
30
|
variant: child.props.variant || variant,
|
|
31
31
|
});
|
|
32
32
|
}) }), void 0));
|
|
33
|
-
});
|
|
33
|
+
});
|
|
34
|
+
var ButtonGroup$1 = ButtonGroup;
|
|
34
35
|
|
|
35
|
-
export default
|
|
36
|
+
export { ButtonGroup$1 as default };
|
package/Button/IconButton.js
CHANGED
|
@@ -8,6 +8,7 @@ import Button from './Button.js';
|
|
|
8
8
|
const IconButton = forwardRef(function IconButton(props, ref) {
|
|
9
9
|
const { children, ...rest } = props;
|
|
10
10
|
return (jsx(Button, Object.assign({}, rest, { ref: ref, prefix: children }), void 0));
|
|
11
|
-
});
|
|
11
|
+
});
|
|
12
|
+
var _IconButton = IconButton;
|
|
12
13
|
|
|
13
|
-
export default
|
|
14
|
+
export { _IconButton as default };
|
package/Button/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Button from './Button.js';
|
|
2
2
|
export { default } from './Button.js';
|
|
3
|
-
import
|
|
3
|
+
import _IconButton from './IconButton.js';
|
|
4
4
|
export { default as ButtonGroup } from './ButtonGroup.js';
|
|
5
5
|
|
|
6
|
-
const IconButton =
|
|
6
|
+
const IconButton = _IconButton;
|
|
7
7
|
|
|
8
8
|
export { IconButton };
|
package/Calendar/Calendar.js
CHANGED
|
@@ -48,6 +48,7 @@ const Calendar = forwardRef(function Calendar(props, ref) {
|
|
|
48
48
|
controls = (jsx("button", Object.assign({ type: "button", className: cx(calendarClasses.button, calendarClasses.controlsButton, calendarClasses.buttonDisabled), disabled: true, "aria-disabled": true }, { children: displayYearRange }), void 0));
|
|
49
49
|
}
|
|
50
50
|
return (jsxs("div", Object.assign({}, restCalendarProps, { ref: ref, className: cx(calendarClasses.host, className) }, { children: [jsx(CalendarControls, Object.assign({ disableOnNext: disableOnNext, disableOnPrev: disableOnPrev, onNext: onNext ? () => { onNext(mode); } : undefined, onPrev: onPrev ? () => { onPrev(mode); } : undefined }, { children: controls }), void 0), displayCalendar] }), void 0));
|
|
51
|
-
});
|
|
51
|
+
});
|
|
52
|
+
var Calendar$1 = Calendar;
|
|
52
53
|
|
|
53
|
-
export default
|
|
54
|
+
export { Calendar$1 as default };
|
package/Calendar/CalendarCell.js
CHANGED
|
@@ -15,4 +15,4 @@ function CalendarCell(props) {
|
|
|
15
15
|
}, className) }, restCalendarCellProps, { children: jsx("span", Object.assign({ className: calendarClasses.cellInner }, { children: children }), void 0) }), void 0));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export default
|
|
18
|
+
export { CalendarCell as default };
|
|
@@ -23,5 +23,4 @@ function CalendarConfigProvider(props) {
|
|
|
23
23
|
} }, { children: children }), void 0));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export default
|
|
27
|
-
export { CalendarContext, useCalendarContext };
|
|
26
|
+
export { CalendarContext, CalendarConfigProvider as default, useCalendarContext };
|
|
@@ -15,4 +15,4 @@ function CalendarDayOfWeek(props) {
|
|
|
15
15
|
return (jsx("div", Object.assign({ className: cx(calendarClasses.row, className) }, restRowProps, { children: weekDayNames.map((name) => (jsx(CalendarCell, { children: name }, `CALENDAR_DAY_OF_WEEK/${name}`))) }), void 0));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export default
|
|
18
|
+
export { CalendarDayOfWeek as default };
|
package/Calendar/CalendarDays.js
CHANGED
package/Card/Card.js
CHANGED
|
@@ -15,6 +15,7 @@ const Card = forwardRef(function Card(props, ref) {
|
|
|
15
15
|
const contentHeader = (titleTypography || subtitleTypography ? (jsxs("div", Object.assign({ className: cardClasses.metaContentsHeader }, { children: [titleTypography, subtitleTypography] }), void 0)) : null);
|
|
16
16
|
const descriptionTypography = (description ? (jsx(Typography, Object.assign({}, descriptionProps, { children: description }), void 0)) : null);
|
|
17
17
|
return (jsxs("div", Object.assign({ ref: ref, className: cx(cardClasses.host, className) }, rest, { children: [cover, jsxs("div", Object.assign({ className: cardClasses.meta }, metaProps, { children: [jsxs("div", Object.assign({ className: cardClasses.metaContents }, contentProps, { children: [contentHeader, descriptionTypography] }), void 0), actions] }), void 0)] }), void 0));
|
|
18
|
-
});
|
|
18
|
+
});
|
|
19
|
+
var Card$1 = Card;
|
|
19
20
|
|
|
20
|
-
export default
|
|
21
|
+
export { Card$1 as default };
|
package/Card/CardActions.js
CHANGED
|
@@ -11,6 +11,7 @@ const CardActions = forwardRef(function CardActions(props, ref) {
|
|
|
11
11
|
const { cancelText, cancelButtonProps, className, confirmText, confirmButtonProps, hideCancelButton, hideConfirmButton, loading, onCancel, onConfirm, otherActions, ...rest } = props;
|
|
12
12
|
return (jsxs("div", Object.assign({ ref: ref, className: cx(cardActionsClasses.host, className) }, rest, { children: [otherActions || (jsx("div", {}, void 0)),
|
|
13
13
|
jsx(ConfirmActions, { cancelText: cancelText, confirmText: confirmText, cancelButtonProps: cancelButtonProps, confirmButtonProps: confirmButtonProps, hideCancelButton: hideCancelButton || !cancelText, hideConfirmButton: hideConfirmButton || !confirmText, loading: loading }, void 0)] }), void 0));
|
|
14
|
-
});
|
|
14
|
+
});
|
|
15
|
+
var CardActions$1 = CardActions;
|
|
15
16
|
|
|
16
|
-
export default
|
|
17
|
+
export { CardActions$1 as default };
|
package/Checkbox/CheckAll.js
CHANGED
|
@@ -31,6 +31,7 @@ const CheckAll = forwardRef(function CheckAll(props, ref) {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}, size: size }, { children: label }), void 0) }, void 0), children] }), void 0));
|
|
34
|
-
});
|
|
34
|
+
});
|
|
35
|
+
var CheckAll$1 = CheckAll;
|
|
35
36
|
|
|
36
|
-
export default
|
|
37
|
+
export { CheckAll$1 as default };
|
package/Checkbox/Checkbox.js
CHANGED
|
@@ -28,6 +28,7 @@ const Checkbox = forwardRef(function Checkbox(props, ref) {
|
|
|
28
28
|
[checkboxClasses.checked]: checked,
|
|
29
29
|
[checkboxClasses.indeterminate]: indeterminate,
|
|
30
30
|
}) }, { children: jsx("input", Object.assign({}, restInputProps, { "aria-checked": indeterminate ? 'mixed' : checked, "aria-disabled": disabled, checked: checked, disabled: disabled, id: inputId, onChange: onChange, name: name, type: "checkbox", value: value }), void 0) }), void 0)), disabled: disabled, error: error, htmlFor: inputId, size: size }, { children: children }), void 0));
|
|
31
|
-
});
|
|
31
|
+
});
|
|
32
|
+
var Checkbox$1 = Checkbox;
|
|
32
33
|
|
|
33
|
-
export default
|
|
34
|
+
export { Checkbox$1 as default };
|
|
@@ -31,6 +31,7 @@ const CheckboxGroup = forwardRef(function CheckboxGroup(props, ref) {
|
|
|
31
31
|
};
|
|
32
32
|
const children = childrenProp || options.map(renderOption);
|
|
33
33
|
return (jsx(CheckboxGroupContext.Provider, Object.assign({ value: context }, { children: jsx(InputCheckGroup, Object.assign({}, rest, { ref: ref }, { children: children }), void 0) }), void 0));
|
|
34
|
-
});
|
|
34
|
+
});
|
|
35
|
+
var CheckboxGroup$1 = CheckboxGroup;
|
|
35
36
|
|
|
36
|
-
export default
|
|
37
|
+
export { CheckboxGroup$1 as default };
|
|
@@ -11,6 +11,7 @@ const ConfirmActions = forwardRef(function ConfirmActions(props, ref) {
|
|
|
11
11
|
const { disabled: cancelButtonDisabled = loading, } = cancelButtonProps || {};
|
|
12
12
|
return (jsxs(ButtonGroup, Object.assign({}, rest, { ref: ref }, { children: [!hideCancelButton && (jsx(Button, Object.assign({ variant: "outlined" }, cancelButtonProps, { disabled: cancelButtonDisabled, onClick: onCancel }, { children: cancelText }), void 0)),
|
|
13
13
|
!hideConfirmButton && (jsx(Button, Object.assign({ variant: "contained" }, confirmButtonProps, { loading: loading, onClick: onConfirm }, { children: confirmText }), void 0))] }), void 0));
|
|
14
|
-
});
|
|
14
|
+
});
|
|
15
|
+
var ConfirmActions$1 = ConfirmActions;
|
|
15
16
|
|
|
16
|
-
export default
|
|
17
|
+
export { ConfirmActions$1 as default };
|
package/DatePicker/DatePicker.js
CHANGED
|
@@ -130,6 +130,7 @@ const DatePicker = forwardRef(function DatePicker(props, ref) {
|
|
|
130
130
|
const suffixActionIcon = (jsx(Icon, { icon: CalendarIcon, onClick: onIconClick }, void 0));
|
|
131
131
|
return (jsxs(Fragment, { children: [jsx(PickerTrigger, Object.assign({}, restTriggerProps, { ref: triggerComposedRef, className: className, clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, inputProps: resolvedInputProps, inputRef: inputRef, onChange: onInputChange, onClear: onClear, placeholder: placeholder, prefix: prefix, readOnly: readOnly, required: required, size: size, suffixActionIcon: suffixActionIcon, value: inputValue }), void 0),
|
|
132
132
|
jsx(DatePickerCalendar, { ref: calendarRef, anchor: anchorRef, calendarProps: calendarProps, disableOnNext: disableOnNext, disableOnPrev: disableOnPrev, displayMonthLocale: displayMonthLocale, fadeProps: fadeProps, isDateDisabled: isDateDisabled, isMonthDisabled: isMonthDisabled, isYearDisabled: isYearDisabled, mode: mode, onChange: onCalendarChange, open: open, popperProps: popperProps, referenceDate: referenceDate, value: internalValue }, void 0)] }, void 0));
|
|
133
|
-
});
|
|
133
|
+
});
|
|
134
|
+
var DatePicker$1 = DatePicker;
|
|
134
135
|
|
|
135
|
-
export default
|
|
136
|
+
export { DatePicker$1 as default };
|
|
@@ -56,6 +56,7 @@ const DatePickerCalendar = forwardRef(function DatePickerCalendar(props, ref) {
|
|
|
56
56
|
getYear,
|
|
57
57
|
]);
|
|
58
58
|
return (jsx(InputTriggerPopper, Object.assign({}, popperProps, { ref: ref, anchor: anchor, open: open, fadeProps: fadeProps }, { children: jsx(Calendar, Object.assign({}, restCalendarProps, { ref: calendarRef, className: calendarClassName, disableOnNext: disableOnNext, disableOnPrev: disableOnPrev, displayMonthLocale: displayMonthLocale, isDateDisabled: isDateDisabled, isMonthDisabled: isMonthDisabled, isYearDisabled: isYearDisabled, mode: currentMode, onChange: onChange, onMonthControlClick: onMonthControlClick, onNext: onNext, onPrev: onPrev, onYearControlClick: onYearControlClick, referenceDate: referenceDate, value: value }), void 0) }), void 0));
|
|
59
|
-
});
|
|
59
|
+
});
|
|
60
|
+
var DatePickerCalendar$1 = DatePickerCalendar;
|
|
60
61
|
|
|
61
|
-
export default
|
|
62
|
+
export { DatePickerCalendar$1 as default };
|
|
@@ -182,6 +182,7 @@ const DateRangePicker = forwardRef(function DateRangePicker(props, ref) {
|
|
|
182
182
|
const suffixActionIcon = (jsx(Icon, { icon: CalendarIcon, onClick: onIconClick }, void 0));
|
|
183
183
|
return (jsxs(Fragment, { children: [jsx(RangePickerTrigger, { ref: triggerComposedRef, className: className, clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, inputFromPlaceholder: inputFromPlaceholder, inputFromProps: resolvedInputFromProps, inputFromRef: inputFromRef, inputFromValue: inputFromValue, inputToPlaceholder: inputToPlaceholder, inputToProps: resolvedInputToProps, inputToRef: inputToRef, inputToValue: inputToValue, onClear: onClear, onInputFromChange: onInputFromChange, onInputToChange: onInputToChange, prefix: prefix, readOnly: readOnly, required: required, size: size, suffixActionIcon: suffixActionIcon }, void 0),
|
|
184
184
|
jsx(DateRangePickerCalendar, { ref: calendarRef, open: open, anchor: anchorRef, calendarProps: calendarProps, displayMonthLocale: displayMonthLocale, fadeProps: fadeProps, isDateDisabled: isDateDisabled, isDateInRange: getIsInRangeHandler('date'), isMonthDisabled: isMonthDisabled, isMonthInRange: getIsInRangeHandler('month'), isWeekInRange: getIsInRangeHandler('week'), isYearDisabled: isYearDisabled, isYearInRange: getIsInRangeHandler('year'), mode: mode, onChange: onCalendarChangeWithCloseControl, onDateHover: onCalendarHover, onWeekHover: onCalendarHover, onMonthHover: onCalendarHover, onYearHover: onCalendarHover, popperProps: popperProps, referenceDate: referenceDate, value: calendarValue }, void 0)] }, void 0));
|
|
185
|
-
});
|
|
185
|
+
});
|
|
186
|
+
var DateRangePicker$1 = DateRangePicker;
|
|
186
187
|
|
|
187
|
-
export default
|
|
188
|
+
export { DateRangePicker$1 as default };
|
|
@@ -93,6 +93,7 @@ const DateRangePickerCalendar = forwardRef(function DateRangePickerCalendar(prop
|
|
|
93
93
|
jsx(Calendar, Object.assign({}, restCalendarProps, { className: cx(dateRangePickerClasses.calendar, {
|
|
94
94
|
[dateRangePickerClasses.calendarInactive]: isSettingFirstCalendar,
|
|
95
95
|
}, className), displayMonthLocale: displayMonthLocale, isDateDisabled: isDateDisabled, isDateInRange: isDateInRange, isMonthDisabled: isMonthDisabled, isMonthInRange: isMonthInRange, isWeekInRange: isWeekInRange, isYearDisabled: isYearDisabled, isYearInRange: isYearInRange, mode: !controlPanelOnLeft ? currentMode : mode, onChange: onChangeFactory(1), onDateHover: currentMode === mode ? onDateHover : undefined, onMonthHover: currentMode === mode ? onMonthHover : undefined, onWeekHover: currentMode === mode ? onWeekHover : undefined, onYearHover: currentMode === mode ? onYearHover : undefined, onMonthControlClick: onMonthControlClickFactory(1), onNext: onSecondNext, onPrev: isSettingSecondCalendar ? onSecondPrev : undefined, onYearControlClick: onYearControlClickFactory(1), ref: secondCalendarRef, referenceDate: referenceDates[1], value: isSettingSecondCalendar ? referenceDates[1] : value }), void 0)] }), void 0) }), void 0));
|
|
96
|
-
});
|
|
96
|
+
});
|
|
97
|
+
var DateRangePickerCalendar$1 = DateRangePickerCalendar;
|
|
97
98
|
|
|
98
|
-
export default
|
|
99
|
+
export { DateRangePickerCalendar$1 as default };
|
|
@@ -13,11 +13,11 @@ export declare function useDateRangePickerValue({ format, formats, inputFromRef,
|
|
|
13
13
|
onCalendarHover: import("react").Dispatch<import("react").SetStateAction<import("moment").Moment | undefined>> | undefined;
|
|
14
14
|
onChange: (target?: undefined[] | [import("moment").Moment, import("moment").Moment] | [import("moment").Moment] | [undefined, import("moment").Moment] | [import("moment").Moment, undefined] | undefined) => undefined[] | [import("moment").Moment, import("moment").Moment] | [import("moment").Moment] | [undefined, import("moment").Moment] | [import("moment").Moment, undefined] | undefined;
|
|
15
15
|
onClear: () => void;
|
|
16
|
-
onFromBlur: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
|
16
|
+
onFromBlur: (event: import("react").FocusEvent<HTMLInputElement, Element>) => void;
|
|
17
17
|
onFromKeyDown: (event: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
|
18
18
|
onInputFromChange: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
19
19
|
onInputToChange: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
20
|
-
onToBlur: (event: import("react").FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
onToBlur: (event: import("react").FocusEvent<HTMLInputElement, Element>) => void;
|
|
21
21
|
onToKeyDown: (event: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
|
22
22
|
value: RangePickerPickingValue;
|
|
23
23
|
};
|
|
@@ -117,6 +117,7 @@ const DateTimePicker = forwardRef(function DateTimePicker(props, ref) {
|
|
|
117
117
|
const suffixActionIcon = (jsx(Icon, { icon: ClockIcon, onClick: onIconClick }, void 0));
|
|
118
118
|
return (jsxs(Fragment, { children: [jsx(PickerTrigger, { ref: triggerComposedRef, className: className, clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, inputProps: resolvedInputProps, inputRef: inputRef, onChange: onInputChange, onClear: onClear, placeholder: placeholder, prefix: prefix, readOnly: readOnly, required: required, size: sizeProp, suffixActionIcon: suffixActionIcon, value: inputValue }, void 0),
|
|
119
119
|
jsx(DateTimePickerPanel, { ref: panelRef, anchor: anchorRef, calendarProps: calendarProps, confirmText: confirmText, disableOnNext: disableOnNext, disableOnPrev: disableOnPrev, displayMonthLocale: displayMonthLocale, fadeProps: fadeProps, hideHour: hideHour, hideMinute: hideMinute, hideSecond: hideSecond, hourPrefix: hourPrefix, hourStep: hourStep, isDateDisabled: isDateDisabled, isMonthDisabled: isMonthDisabled, isYearDisabled: isYearDisabled, minutePrefix: minutePrefix, minuteStep: minuteStep, onChange: onChange, onConfirm: onConfirm, open: open, popperProps: popperProps, referenceDate: referenceDate, secondPrefix: secondPrefix, secondStep: secondStep, value: internalValue }, void 0)] }, void 0));
|
|
120
|
-
});
|
|
120
|
+
});
|
|
121
|
+
var DateTimePicker$1 = DateTimePicker;
|
|
121
122
|
|
|
122
|
-
export default
|
|
123
|
+
export { DateTimePicker$1 as default };
|
|
@@ -46,6 +46,7 @@ const DateTimePickerPanel = forwardRef(function TimePickerPanel(props, ref) {
|
|
|
46
46
|
return (jsx(InputTriggerPopper, Object.assign({}, popperProps, { ref: ref, anchor: anchor, open: open, fadeProps: fadeProps }, { children: jsxs("div", Object.assign({}, restHostProps, { className: cx(dateTimePickerClasses.panel, className) }, { children: [jsxs("div", Object.assign({ className: dateTimePickerClasses.panelSelectors }, { children: [jsx(Calendar, Object.assign({}, calendarProps, { disableOnNext: disableOnNext, disableOnPrev: disableOnPrev, displayMonthLocale: displayMonthLocale, isDateDisabled: isDateDisabled, isMonthDisabled: isMonthDisabled, isYearDisabled: isYearDisabled, mode: currentMode, onChange: onCalendarChange, onMonthControlClick: onMonthControlClick, onNext: onNext, onPrev: onPrev, onYearControlClick: onYearControlClick, referenceDate: referenceDate, value: value, className: dateTimePickerClasses.panelCalendar }), void 0),
|
|
47
47
|
jsx(TimePanel, { hideHour: hideHour, hourStep: hourStep, hideMinute: hideMinute, minuteStep: minuteStep, hideSecond: hideSecond, secondStep: secondStep, hourPrefix: hourPrefix, minutePrefix: minutePrefix, secondPrefix: secondPrefix, onChange: onTimePanelChange, value: value, withoutAction: true }, void 0)] }), void 0),
|
|
48
48
|
jsx(TimePanelAction, { onConfirm: onConfirm, confirmText: confirmText }, void 0)] }), void 0) }), void 0));
|
|
49
|
-
});
|
|
49
|
+
});
|
|
50
|
+
var DateTimePickerPanel$1 = DateTimePickerPanel;
|
|
50
51
|
|
|
51
|
-
export default
|
|
52
|
+
export { DateTimePickerPanel$1 as default };
|
package/Drawer/Drawer.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DrawerPlacement } from '@mezzanine-ui/core/drawer';
|
|
3
|
-
import {
|
|
3
|
+
import { SlideFadeOverlayProps } from '../_internal/SlideFadeOverlay';
|
|
4
4
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
5
|
-
export interface DrawerProps extends
|
|
6
|
-
/**
|
|
7
|
-
* Controls whether to disable closing drawer while escape key down.
|
|
8
|
-
* @default false
|
|
9
|
-
*/
|
|
10
|
-
disableCloseOnEscapeKeyDown?: boolean;
|
|
5
|
+
export interface DrawerProps extends Omit<SlideFadeOverlayProps, 'children'>, Pick<NativeElementPropsWithoutKeyAndRef<'div'>, 'children'> {
|
|
11
6
|
/**
|
|
12
7
|
* Whether the drawer placement.
|
|
13
8
|
* @default 'left'
|
package/Drawer/Drawer.js
CHANGED
|
@@ -1,34 +1,19 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { forwardRef,
|
|
2
|
+
import { forwardRef, useMemo } from 'react';
|
|
3
3
|
import { drawerClasses } from '@mezzanine-ui/core/drawer';
|
|
4
|
-
import
|
|
5
|
-
import Overlay from '../Overlay/Overlay.js';
|
|
6
|
-
import SlideFade from '../Transition/SlideFade.js';
|
|
4
|
+
import SlideFadeOverlay from '../_internal/SlideFadeOverlay/SlideFadeOverlay.js';
|
|
7
5
|
import cx from 'clsx';
|
|
8
6
|
|
|
9
7
|
const Drawer = forwardRef((props, ref) => {
|
|
10
8
|
const { className, children, container, disableCloseOnBackdropClick = false, disableCloseOnEscapeKeyDown = false, disablePortal, hideBackdrop, invisibleBackdrop, onBackdropClick, onClose, open, placement = 'left', ...rest } = props;
|
|
11
|
-
const
|
|
12
|
-
useDocumentEscapeKeyDown(() => {
|
|
13
|
-
if (!open || disableCloseOnEscapeKeyDown || !onClose) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
return onClose;
|
|
17
|
-
}, [
|
|
18
|
-
disableCloseOnEscapeKeyDown,
|
|
19
|
-
open,
|
|
20
|
-
onClose,
|
|
21
|
-
]);
|
|
22
|
-
if (!open && exited) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
const slideFadeDirection = {
|
|
9
|
+
const slideFadeDirection = useMemo(() => ({
|
|
26
10
|
top: 'down',
|
|
27
11
|
left: 'right',
|
|
28
12
|
right: 'left',
|
|
29
13
|
bottom: 'up',
|
|
30
|
-
};
|
|
31
|
-
return (jsx(
|
|
32
|
-
});
|
|
14
|
+
}), []);
|
|
15
|
+
return (jsx(SlideFadeOverlay, Object.assign({ className: drawerClasses.overlay, container: container, direction: slideFadeDirection[placement], disableCloseOnBackdropClick: disableCloseOnBackdropClick, disableCloseOnEscapeKeyDown: disableCloseOnEscapeKeyDown, disablePortal: disablePortal, hideBackdrop: hideBackdrop, invisibleBackdrop: invisibleBackdrop, onBackdropClick: onBackdropClick, onClose: onClose, open: open, ref: ref }, { children: jsx("div", Object.assign({}, rest, { className: cx(drawerClasses.host, drawerClasses[placement], className) }, { children: children }), void 0) }), void 0));
|
|
16
|
+
});
|
|
17
|
+
var Drawer$1 = Drawer;
|
|
33
18
|
|
|
34
|
-
export default
|
|
19
|
+
export { Drawer$1 as default };
|
package/Dropdown/Dropdown.js
CHANGED