@mezzanine-ui/react 0.13.12 → 0.13.14
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.d.ts +0 -1
- package/Accordion/Accordion.js +1 -2
- package/Accordion/AccordionControlContext.d.ts +0 -1
- package/Accordion/AccordionDetails.d.ts +0 -1
- package/Accordion/AccordionDetails.js +1 -2
- package/Accordion/AccordionSummary.js +1 -2
- package/Alert/Alert.js +1 -2
- package/AppBar/AppBar.js +1 -2
- package/AppBar/AppBarBrand.d.ts +0 -1
- package/AppBar/AppBarBrand.js +1 -2
- package/AppBar/AppBarMain.d.ts +0 -1
- package/AppBar/AppBarMain.js +1 -2
- package/AppBar/AppBarSupport.d.ts +0 -1
- package/AppBar/AppBarSupport.js +1 -2
- package/Badge/Badge.d.ts +0 -1
- package/Badge/Badge.js +1 -2
- package/Badge/BadgeContainer.d.ts +0 -1
- package/Badge/BadgeContainer.js +1 -2
- package/Button/Button.d.ts +0 -1
- package/Button/Button.js +1 -2
- package/Button/ButtonGroup.js +1 -2
- package/Button/IconButton.d.ts +1 -1
- package/Button/IconButton.js +1 -2
- package/Button/index.js +2 -2
- package/Calendar/Calendar.d.ts +0 -1
- package/Calendar/Calendar.js +1 -2
- package/Calendar/CalendarCell.d.ts +1 -2
- package/Calendar/CalendarContext.d.ts +1 -1
- package/Calendar/CalendarControls.d.ts +1 -2
- package/Calendar/CalendarDayOfWeek.d.ts +1 -2
- package/Calendar/CalendarDays.d.ts +1 -2
- package/Calendar/CalendarMonths.d.ts +1 -2
- package/Calendar/CalendarWeeks.d.ts +1 -2
- package/Calendar/CalendarYears.d.ts +1 -2
- package/Calendar/useCalendarControls.d.ts +0 -1
- package/Card/Card.js +1 -2
- package/Card/CardActions.js +1 -2
- package/Checkbox/CheckAll.js +1 -2
- package/Checkbox/Checkbox.js +1 -2
- package/Checkbox/CheckboxGroup.js +1 -2
- package/Checkbox/CheckboxGroupContext.d.ts +0 -1
- package/ConfirmActions/ConfirmActions.js +1 -2
- package/DatePicker/DatePicker.d.ts +0 -1
- package/DatePicker/DatePicker.js +1 -2
- package/DatePicker/DatePickerCalendar.js +1 -2
- package/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/DateRangePicker/DateRangePicker.js +1 -2
- package/DateRangePicker/DateRangePickerCalendar.js +1 -2
- package/DateRangePicker/useDateRangePickerValue.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +0 -1
- package/DateTimePicker/DateTimePicker.js +1 -2
- package/DateTimePicker/DateTimePickerPanel.d.ts +0 -1
- package/DateTimePicker/DateTimePickerPanel.js +1 -2
- package/Drawer/Drawer.d.ts +0 -1
- package/Drawer/Drawer.js +1 -2
- package/Dropdown/Dropdown.js +1 -2
- package/Empty/Empty.js +1 -2
- package/Form/FormControlContext.d.ts +0 -1
- package/Form/FormField.d.ts +0 -1
- package/Form/FormField.js +1 -2
- package/Form/FormLabel.js +1 -2
- package/Form/FormMessage.d.ts +0 -1
- package/Form/FormMessage.js +1 -2
- package/Form/useControlValueState.d.ts +0 -1
- package/Icon/Icon.d.ts +0 -1
- package/Icon/Icon.js +1 -2
- package/Input/Input.js +1 -2
- package/Loading/Loading.d.ts +0 -1
- package/Loading/Loading.js +1 -2
- package/Menu/Menu.d.ts +0 -1
- package/Menu/Menu.js +1 -2
- package/Menu/MenuDivider.d.ts +0 -1
- package/Menu/MenuDivider.js +1 -2
- package/Menu/MenuItem.d.ts +0 -1
- package/Menu/MenuItem.js +1 -2
- package/Menu/MenuItemGroup.js +1 -2
- package/Message/Message.js +1 -2
- package/Modal/Modal.d.ts +0 -1
- package/Modal/Modal.js +1 -2
- package/Modal/ModalActions.d.ts +0 -1
- package/Modal/ModalActions.js +1 -2
- package/Modal/ModalBody.d.ts +0 -1
- package/Modal/ModalBody.js +1 -2
- package/Modal/ModalControl.d.ts +0 -1
- package/Modal/ModalFooter.d.ts +0 -1
- package/Modal/ModalFooter.js +1 -2
- package/Modal/ModalHeader.d.ts +0 -1
- package/Modal/ModalHeader.js +1 -2
- package/Modal/useModalContainer.d.ts +1 -2
- package/Navigation/Navigation.js +1 -2
- package/Navigation/NavigationContext.d.ts +0 -1
- package/Navigation/NavigationItem.js +1 -2
- package/Navigation/NavigationSubMenu.js +1 -2
- package/Notification/Notification.js +1 -2
- package/Notifier/NotifierManager.d.ts +1 -1
- package/Overlay/Overlay.js +1 -2
- package/PageFooter/PageFooter.js +1 -2
- package/Pagination/Pagination.d.ts +1 -1
- package/Pagination/Pagination.js +1 -2
- package/Pagination/PaginationItem.js +1 -2
- package/Pagination/PaginationJumper.d.ts +1 -1
- package/Pagination/PaginationJumper.js +1 -2
- package/Pagination/PaginationPageSize.d.ts +1 -1
- package/Pagination/PaginationPageSize.js +1 -2
- package/Picker/PickerTrigger.js +1 -2
- package/Picker/RangePickerTrigger.js +1 -2
- package/Popconfirm/Popconfirm.js +1 -2
- package/Popover/Popover.js +1 -2
- package/Popper/Popper.js +1 -2
- package/Portal/Portal.js +1 -2
- package/Progress/Progress.d.ts +0 -1
- package/Progress/Progress.js +1 -2
- package/Provider/context.d.ts +0 -1
- package/Radio/Radio.js +1 -2
- package/Radio/RadioGroup.js +1 -2
- package/Radio/RadioGroupContext.d.ts +0 -1
- package/Select/AutoComplete.d.ts +0 -1
- package/Select/AutoComplete.js +1 -2
- package/Select/Option.d.ts +0 -1
- package/Select/Option.js +1 -2
- package/Select/Select.d.ts +0 -1
- package/Select/Select.js +1 -2
- package/Select/SelectControlContext.d.ts +0 -1
- package/Select/SelectTrigger.js +1 -2
- package/Select/SelectTriggerTags.js +1 -2
- package/Select/TreeSelect.d.ts +0 -1
- package/Select/TreeSelect.js +1 -2
- package/Skeleton/Skeleton.d.ts +0 -1
- package/Skeleton/Skeleton.js +1 -2
- package/Slider/Slider.js +1 -2
- package/Slider/useSlider.js +1 -1
- package/Stepper/Step.d.ts +0 -1
- package/Stepper/Step.js +1 -2
- package/Stepper/Stepper.js +1 -2
- package/Switch/Switch.js +1 -2
- package/Table/Table.js +1 -2
- package/Table/TableBody.d.ts +0 -1
- package/Table/TableBody.js +1 -2
- package/Table/TableBodyRow.d.ts +0 -1
- package/Table/TableBodyRow.js +1 -2
- package/Table/TableCell.d.ts +0 -1
- package/Table/TableCell.js +1 -2
- package/Table/TableExpandedTable.d.ts +0 -1
- package/Table/TableExpandedTable.js +1 -2
- package/Table/TableHeader.d.ts +0 -1
- package/Table/TableHeader.js +1 -2
- package/Table/editable/TableEditRenderWrapper.d.ts +1 -2
- package/Table/expandable/TableExpandable.d.ts +0 -1
- package/Table/expandable/TableExpandable.js +1 -2
- package/Table/pagination/TablePagination.js +1 -2
- package/Table/refresh/TableRefresh.js +1 -2
- package/Table/rowSelection/TableRowSelection.d.ts +0 -1
- package/Table/rowSelection/TableRowSelection.js +1 -2
- package/Table/sorting/TableSortingIcon.d.ts +0 -1
- package/Table/sorting/TableSortingIcon.js +1 -2
- package/Table/sorting/useTableSorting.d.ts +0 -1
- package/Table/useTableScroll.d.ts +130 -116
- package/Tabs/Tab.d.ts +0 -1
- package/Tabs/Tab.js +1 -2
- package/Tabs/TabPane.js +1 -2
- package/Tabs/Tabs.js +1 -2
- package/Tag/Tag.js +1 -2
- package/TextField/TextField.js +1 -2
- package/Textarea/Textarea.js +1 -2
- package/TimePanel/TimePanel.js +1 -2
- package/TimePanel/TimePanelAction.js +1 -2
- package/TimePanel/TimePanelColumn.js +1 -2
- package/TimePicker/TimePicker.d.ts +0 -1
- package/TimePicker/TimePicker.js +1 -2
- package/TimePicker/TimePickerPanel.d.ts +0 -1
- package/TimePicker/TimePickerPanel.js +1 -2
- package/Tooltip/Tooltip.js +1 -2
- package/Tooltip/useDelayMouseEnterLeave.d.ts +0 -1
- package/Transition/Collapse.d.ts +0 -1
- package/Transition/Collapse.js +1 -2
- package/Transition/Fade.d.ts +0 -1
- package/Transition/Fade.js +1 -2
- package/Transition/Grow.d.ts +0 -1
- package/Transition/Grow.js +1 -2
- package/Transition/SlideFade.d.ts +0 -1
- package/Transition/SlideFade.js +1 -2
- package/Transition/Transition.d.ts +1 -1
- package/Transition/Zoom.d.ts +0 -1
- package/Transition/Zoom.js +1 -2
- package/Transition/useAutoTransitionDuration.d.ts +0 -1
- package/Tree/Tree.js +1 -2
- package/Tree/TreeNode.d.ts +0 -1
- package/Tree/TreeNode.js +1 -2
- package/Tree/TreeNodeList.d.ts +0 -1
- package/Tree/TreeNodeList.js +1 -2
- package/Tree/useTreeExpandedValue.d.ts +0 -1
- package/Typography/Typography.js +1 -2
- package/Upload/UploadButton.d.ts +0 -1
- package/Upload/UploadButton.js +1 -2
- package/Upload/UploadInput.d.ts +0 -1
- package/Upload/UploadInput.js +1 -2
- package/Upload/UploadPicture.js +1 -2
- package/Upload/UploadPictureBlock.js +1 -2
- package/Upload/UploadPictureWall.js +1 -2
- package/Upload/UploadPictureWallItem.d.ts +1 -1
- package/Upload/UploadPictureWallItem.js +1 -2
- package/Upload/UploadResult.js +1 -2
- package/_internal/InputCheck/InputCheck.js +1 -2
- package/_internal/InputCheck/InputCheckGroup.js +1 -2
- package/_internal/InputTriggerPopper/InputTriggerPopper.d.ts +0 -1
- package/_internal/InputTriggerPopper/InputTriggerPopper.js +1 -2
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.d.ts +0 -1
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.js +1 -2
- package/index.d.ts +1 -0
- package/index.js +53 -53
- package/package.json +4 -4
- package/utils/get-scrollbar-width.d.ts +1 -0
- package/utils/get-scrollbar-width.js +22 -0
- package/utils/scroll-lock.js +6 -2
package/Accordion/Accordion.d.ts
CHANGED
package/Accordion/Accordion.js
CHANGED
|
@@ -29,6 +29,5 @@ const Accordion = forwardRef(function Accordion(props, ref) {
|
|
|
29
29
|
}, [disabled, expandedProp, expanded, onToggleExpanded, summary]);
|
|
30
30
|
return (jsx("div", { ...rest, ref: ref, className: cx(accordionClasses.host, className), children: jsxs(AccordionControlContext.Provider, { value: contextValue, children: [summary, children] }) }));
|
|
31
31
|
});
|
|
32
|
-
var Accordion$1 = Accordion;
|
|
33
32
|
|
|
34
|
-
export { Accordion
|
|
33
|
+
export { Accordion as default };
|
|
@@ -21,6 +21,5 @@ const AccordionDetails = forwardRef(function AccordionDetails(props, ref) {
|
|
|
21
21
|
[accordionClasses.detailsExpanded]: expandedProp || expanded,
|
|
22
22
|
}, className), role: "region", children: children }) }));
|
|
23
23
|
});
|
|
24
|
-
var AccordionDetails$1 = AccordionDetails;
|
|
25
24
|
|
|
26
|
-
export { AccordionDetails
|
|
25
|
+
export { AccordionDetails as default };
|
|
@@ -45,6 +45,5 @@ 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", { className: accordionClasses.summaryMainPart, children: [suffixActions ? (prefixIcon || (jsx(DefaultIcon, { className: accordionClasses.summaryMainPartPrefix }))) : null, children] }), suffixActions || (jsx(DefaultIcon, {}))] }));
|
|
47
47
|
});
|
|
48
|
-
var AccordionSummary$1 = AccordionSummary;
|
|
49
48
|
|
|
50
|
-
export { AccordionSummary
|
|
49
|
+
export { AccordionSummary as default };
|
package/Alert/Alert.js
CHANGED
|
@@ -14,6 +14,5 @@ const Alert = forwardRef(function Alert(props, ref) {
|
|
|
14
14
|
const targetIcon = alertIcons[severity];
|
|
15
15
|
return (jsxs("div", { ref: ref, className: cx(alertClasses.host, alertClasses.severity(severity), className), ...rest, children: [jsx(Icon, { className: alertClasses.icon, icon: targetIcon }), jsx("p", { className: alertClasses.message, children: children }), jsx(Icon, { className: alertClasses.closeIcon, icon: TimesIcon, onClick: onClose, role: "button" })] }));
|
|
16
16
|
});
|
|
17
|
-
var Alert$1 = Alert;
|
|
18
17
|
|
|
19
|
-
export { Alert
|
|
18
|
+
export { Alert as default };
|
package/AppBar/AppBar.js
CHANGED
|
@@ -31,6 +31,5 @@ const AppBar = forwardRef((props, ref) => {
|
|
|
31
31
|
});
|
|
32
32
|
return (jsx("header", { ...rest, ref: ref, className: cx(appBarClasses.host, appBarClasses[orientation], className), children: SortedChildren }));
|
|
33
33
|
});
|
|
34
|
-
var AppBar$1 = AppBar;
|
|
35
34
|
|
|
36
|
-
export { AppBar
|
|
35
|
+
export { AppBar as default };
|
package/AppBar/AppBarBrand.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
export type AppBarBrandProps = NativeElementPropsWithoutKeyAndRef<'div'>;
|
|
4
3
|
declare const AppBarBrand: import("react").ForwardRefExoticComponent<AppBarBrandProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/AppBar/AppBarBrand.js
CHANGED
|
@@ -7,6 +7,5 @@ const AppBarBrand = forwardRef((props, ref) => {
|
|
|
7
7
|
const { className, children, ...rest } = props;
|
|
8
8
|
return (jsx("div", { ...rest, ref: ref, className: cx(appBarBrandClasses.host, className), children: children }));
|
|
9
9
|
});
|
|
10
|
-
var AppBarBrand$1 = AppBarBrand;
|
|
11
10
|
|
|
12
|
-
export { AppBarBrand
|
|
11
|
+
export { AppBarBrand as default };
|
package/AppBar/AppBarMain.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
export type AppBarMainProps = NativeElementPropsWithoutKeyAndRef<'div'>;
|
|
4
3
|
declare const AppBarMain: import("react").ForwardRefExoticComponent<AppBarMainProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/AppBar/AppBarMain.js
CHANGED
|
@@ -7,6 +7,5 @@ const AppBarMain = forwardRef((props, ref) => {
|
|
|
7
7
|
const { className, children, ...rest } = props;
|
|
8
8
|
return (jsx("div", { ...rest, ref: ref, className: cx(appBarMainClasses.host, className), children: children }));
|
|
9
9
|
});
|
|
10
|
-
var AppBarMain$1 = AppBarMain;
|
|
11
10
|
|
|
12
|
-
export { AppBarMain
|
|
11
|
+
export { AppBarMain as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
export type AppBarSupportProps = NativeElementPropsWithoutKeyAndRef<'div'>;
|
|
4
3
|
declare const AppBarSupport: import("react").ForwardRefExoticComponent<AppBarSupportProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/AppBar/AppBarSupport.js
CHANGED
|
@@ -7,6 +7,5 @@ const AppBarSupport = forwardRef((props, ref) => {
|
|
|
7
7
|
const { className, children, ...rest } = props;
|
|
8
8
|
return (jsx("div", { ...rest, ref: ref, className: cx(appBarSupportClasses.host, className), children: children }));
|
|
9
9
|
});
|
|
10
|
-
var AppBarSupport$1 = AppBarSupport;
|
|
11
10
|
|
|
12
|
-
export { AppBarSupport
|
|
11
|
+
export { AppBarSupport as default };
|
package/Badge/Badge.d.ts
CHANGED
package/Badge/Badge.js
CHANGED
package/Badge/BadgeContainer.js
CHANGED
|
@@ -10,6 +10,5 @@ const BadgeContainer = forwardRef(function BadgeContainer(props, ref) {
|
|
|
10
10
|
const { children, className, ...rest } = props;
|
|
11
11
|
return (jsx("span", { ...rest, ref: ref, className: cx(badgeClasses.container, className), children: children }));
|
|
12
12
|
});
|
|
13
|
-
var BadgeContainer$1 = BadgeContainer;
|
|
14
13
|
|
|
15
|
-
export { BadgeContainer
|
|
14
|
+
export { BadgeContainer as default };
|
package/Button/Button.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentOverridableForwardRefComponentPropsFactory } from '../utils/jsx-types';
|
|
3
2
|
import { ButtonComponent, ButtonPropsBase } from './typings';
|
|
4
3
|
export type ButtonProps<C extends ButtonComponent = 'button'> = ComponentOverridableForwardRefComponentPropsFactory<ButtonComponent, C, ButtonPropsBase>;
|
package/Button/Button.js
CHANGED
|
@@ -35,6 +35,5 @@ const Button = forwardRef(function Button(props, ref) {
|
|
|
35
35
|
}
|
|
36
36
|
}, children: [prefix, children && jsx("span", { className: buttonClasses.label, children: children }), suffix] }));
|
|
37
37
|
});
|
|
38
|
-
var Button$1 = Button;
|
|
39
38
|
|
|
40
|
-
export { Button
|
|
39
|
+
export { Button as default };
|
package/Button/ButtonGroup.js
CHANGED
package/Button/IconButton.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type IconButtonProps<C extends ButtonComponent = 'button'> = ComponentOve
|
|
|
10
10
|
/**
|
|
11
11
|
* The react component for `mezzanine` button only has icon.
|
|
12
12
|
*/
|
|
13
|
-
declare const IconButton: import("react").ForwardRefExoticComponent<Omit<Omit<import("../utils/jsx-types").ComponentPropsWithoutKeyAndRef<"button">, "
|
|
13
|
+
declare const IconButton: import("react").ForwardRefExoticComponent<Omit<Omit<import("../utils/jsx-types").ComponentPropsWithoutKeyAndRef<"button">, "size" | "color" | "children" | "disabled" | "danger" | "loading" | "variant"> & Omit<ButtonPropsBase, "prefix" | "suffix"> & {
|
|
14
14
|
/**
|
|
15
15
|
* The icon element.
|
|
16
16
|
*/
|
package/Button/IconButton.js
CHANGED
|
@@ -9,6 +9,5 @@ const IconButton = forwardRef(function IconButton(props, ref) {
|
|
|
9
9
|
const { children, ...rest } = props;
|
|
10
10
|
return (jsx(Button, { ...rest, ref: ref, prefix: children }));
|
|
11
11
|
});
|
|
12
|
-
var _IconButton = IconButton;
|
|
13
12
|
|
|
14
|
-
export {
|
|
13
|
+
export { IconButton as default };
|
package/Button/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Button from './Button.js';
|
|
2
|
-
import
|
|
2
|
+
import IconButton$1 from './IconButton.js';
|
|
3
3
|
export { default as ButtonGroup } from './ButtonGroup.js';
|
|
4
4
|
|
|
5
|
-
const IconButton =
|
|
5
|
+
const IconButton = IconButton$1;
|
|
6
6
|
|
|
7
7
|
export { IconButton, Button as default };
|
package/Calendar/Calendar.d.ts
CHANGED
package/Calendar/Calendar.js
CHANGED
|
@@ -48,6 +48,5 @@ const Calendar = forwardRef(function Calendar(props, ref) {
|
|
|
48
48
|
}
|
|
49
49
|
return (jsxs("div", { ...restCalendarProps, ref: ref, className: cx(calendarClasses.host, className), children: [jsx(CalendarControls, { disableOnNext: disableOnNext, disableOnPrev: disableOnPrev, onNext: onNext ? () => { onNext(mode); } : undefined, onPrev: onPrev ? () => { onPrev(mode); } : undefined, children: controls }), displayCalendar] }));
|
|
50
50
|
});
|
|
51
|
-
var Calendar$1 = Calendar;
|
|
52
51
|
|
|
53
|
-
export { Calendar
|
|
52
|
+
export { Calendar as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
export interface CalendarCellProps extends NativeElementPropsWithoutKeyAndRef<'div'> {
|
|
4
3
|
/**
|
|
@@ -18,5 +17,5 @@ export interface CalendarCellProps extends NativeElementPropsWithoutKeyAndRef<'d
|
|
|
18
17
|
* The react component for `mezzanine` calendar cell.
|
|
19
18
|
* You may use it to compose your own calendar.
|
|
20
19
|
*/
|
|
21
|
-
declare function CalendarCell(props: CalendarCellProps): JSX.Element;
|
|
20
|
+
declare function CalendarCell(props: CalendarCellProps): import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
export default CalendarCell;
|
|
@@ -18,5 +18,5 @@ export type CalendarConfigProviderProps = {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const CalendarContext: import("react").Context<CalendarConfigs | undefined>;
|
|
20
20
|
export declare function useCalendarContext(): CalendarConfigs;
|
|
21
|
-
declare function CalendarConfigProvider(props: CalendarConfigProviderProps): JSX.Element;
|
|
21
|
+
declare function CalendarConfigProvider(props: CalendarConfigProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default CalendarConfigProvider;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
export interface CalendarControlsProps extends Omit<NativeElementPropsWithoutKeyAndRef<'div'>, 'onClick'> {
|
|
4
3
|
/**
|
|
@@ -22,5 +21,5 @@ export interface CalendarControlsProps extends Omit<NativeElementPropsWithoutKey
|
|
|
22
21
|
* The react component for `mezzanine` calendar controls.
|
|
23
22
|
* You may use it to compose your own calendar.
|
|
24
23
|
*/
|
|
25
|
-
declare function CalendarControls(props: CalendarControlsProps): JSX.Element;
|
|
24
|
+
declare function CalendarControls(props: CalendarControlsProps): import("react/jsx-runtime").JSX.Element;
|
|
26
25
|
export default CalendarControls;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
export interface CalendarDayOfWeekProps extends Omit<NativeElementPropsWithoutKeyAndRef<'div'>, 'onClick' | 'children'> {
|
|
4
3
|
/**
|
|
@@ -11,5 +10,5 @@ export interface CalendarDayOfWeekProps extends Omit<NativeElementPropsWithoutKe
|
|
|
11
10
|
* The react component for `mezzanine` calendar day of week.
|
|
12
11
|
* You may use it to compose your own calendar.
|
|
13
12
|
*/
|
|
14
|
-
declare function CalendarDayOfWeek(props: CalendarDayOfWeekProps): JSX.Element;
|
|
13
|
+
declare function CalendarDayOfWeek(props: CalendarDayOfWeekProps): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export default CalendarDayOfWeek;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DateType } from '@mezzanine-ui/core/calendar';
|
|
3
2
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
4
3
|
import { CalendarDayOfWeekProps } from './CalendarDayOfWeek';
|
|
@@ -34,5 +33,5 @@ export interface CalendarDaysProps extends Pick<CalendarDayOfWeekProps, 'display
|
|
|
34
33
|
* This component displays a monthly calendar whose month is the same as `referenceDate`.
|
|
35
34
|
* You may use it to compose your own calendar.
|
|
36
35
|
*/
|
|
37
|
-
declare function CalendarDays(props: CalendarDaysProps): JSX.Element;
|
|
36
|
+
declare function CalendarDays(props: CalendarDaysProps): import("react/jsx-runtime").JSX.Element;
|
|
38
37
|
export default CalendarDays;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DateType } from '@mezzanine-ui/core/calendar';
|
|
3
2
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
4
3
|
export interface CalendarMonthsProps extends Omit<NativeElementPropsWithoutKeyAndRef<'div'>, 'onClick' | 'children'> {
|
|
@@ -38,5 +37,5 @@ export interface CalendarMonthsProps extends Omit<NativeElementPropsWithoutKeyAn
|
|
|
38
37
|
* This component displays a 12 months grid.
|
|
39
38
|
* You may use it to compose your own calendar.
|
|
40
39
|
*/
|
|
41
|
-
declare function CalendarMonths(props: CalendarMonthsProps): JSX.Element;
|
|
40
|
+
declare function CalendarMonths(props: CalendarMonthsProps): import("react/jsx-runtime").JSX.Element;
|
|
42
41
|
export default CalendarMonths;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DateType } from '@mezzanine-ui/core/calendar';
|
|
3
2
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
4
3
|
import { CalendarDayOfWeekProps } from './CalendarDayOfWeek';
|
|
@@ -37,5 +36,5 @@ export interface CalendarWeeksProps extends Pick<CalendarDayOfWeekProps, 'displa
|
|
|
37
36
|
* This component displays a monthly calendar whose month is the same as `referenceDate`.
|
|
38
37
|
* You may use it to compose your own calendar.
|
|
39
38
|
*/
|
|
40
|
-
declare function CalendarWeeks(props: CalendarWeeksProps): JSX.Element;
|
|
39
|
+
declare function CalendarWeeks(props: CalendarWeeksProps): import("react/jsx-runtime").JSX.Element;
|
|
41
40
|
export default CalendarWeeks;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DateType } from '@mezzanine-ui/core/calendar';
|
|
3
2
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
4
3
|
export interface CalendarYearsProps extends Omit<NativeElementPropsWithoutKeyAndRef<'div'>, 'onClick' | 'children'> {
|
|
@@ -36,5 +35,5 @@ export interface CalendarYearsProps extends Omit<NativeElementPropsWithoutKeyAnd
|
|
|
36
35
|
* This component displays a 12 year grid.
|
|
37
36
|
* You may use it to compose your own calendar.
|
|
38
37
|
*/
|
|
39
|
-
declare function CalendarYears(props: CalendarYearsProps): JSX.Element;
|
|
38
|
+
declare function CalendarYears(props: CalendarYearsProps): import("react/jsx-runtime").JSX.Element;
|
|
40
39
|
export default CalendarYears;
|
package/Card/Card.js
CHANGED
|
@@ -16,6 +16,5 @@ const Card = forwardRef(function Card(props, ref) {
|
|
|
16
16
|
const descriptionTypography = (description ? (jsx(Typography, { ...descriptionProps, children: description })) : null);
|
|
17
17
|
return (jsxs("div", { ref: ref, className: cx(cardClasses.host, className), ...rest, children: [cover, jsxs("div", { className: cardClasses.meta, ...metaProps, children: [jsxs("div", { className: cardClasses.metaContents, ...contentProps, children: [contentHeader, descriptionTypography] }), actions] })] }));
|
|
18
18
|
});
|
|
19
|
-
var Card$1 = Card;
|
|
20
19
|
|
|
21
|
-
export { Card
|
|
20
|
+
export { Card as default };
|
package/Card/CardActions.js
CHANGED
|
@@ -11,6 +11,5 @@ 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", { ref: ref, className: cx(cardActionsClasses.host, className), ...rest, children: [otherActions || (jsx("div", {})), jsx(ConfirmActions, { cancelText: cancelText, confirmText: confirmText, cancelButtonProps: cancelButtonProps, confirmButtonProps: confirmButtonProps, hideCancelButton: hideCancelButton || !cancelText, hideConfirmButton: hideConfirmButton || !confirmText, loading: loading })] }));
|
|
13
13
|
});
|
|
14
|
-
var CardActions$1 = CardActions;
|
|
15
14
|
|
|
16
|
-
export { CardActions
|
|
15
|
+
export { CardActions as default };
|
package/Checkbox/CheckAll.js
CHANGED
package/Checkbox/Checkbox.js
CHANGED
|
@@ -31,6 +31,5 @@ const Checkbox = forwardRef(function Checkbox(props, ref) {
|
|
|
31
31
|
[checkboxClasses.indeterminate]: indeterminate,
|
|
32
32
|
}), children: jsx("input", { ...restInputProps, "aria-checked": indeterminate ? 'mixed' : checked, "aria-disabled": disabled, checked: checked, disabled: disabled, id: inputId, onChange: onChange, name: name, type: "checkbox", value: value }) })), disabled: disabled, error: error, htmlFor: inputId, size: size, children: children }));
|
|
33
33
|
});
|
|
34
|
-
var Checkbox$1 = Checkbox;
|
|
35
34
|
|
|
36
|
-
export { Checkbox
|
|
35
|
+
export { Checkbox as default };
|
|
@@ -32,6 +32,5 @@ const CheckboxGroup = forwardRef(function CheckboxGroup(props, ref) {
|
|
|
32
32
|
const children = childrenProp || options.map(renderOption);
|
|
33
33
|
return (jsx(CheckboxGroupContext.Provider, { value: context, children: jsx(InputCheckGroup, { ...rest, ref: ref, children: children }) }));
|
|
34
34
|
});
|
|
35
|
-
var CheckboxGroup$1 = CheckboxGroup;
|
|
36
35
|
|
|
37
|
-
export { CheckboxGroup
|
|
36
|
+
export { CheckboxGroup as default };
|
|
@@ -11,6 +11,5 @@ const ConfirmActions = forwardRef(function ConfirmActions(props, ref) {
|
|
|
11
11
|
const { disabled: cancelButtonDisabled = loading, } = cancelButtonProps || {};
|
|
12
12
|
return (jsxs(ButtonGroup, { ...rest, ref: ref, children: [!hideCancelButton && (jsx(Button, { variant: "outlined", ...cancelButtonProps, disabled: cancelButtonDisabled, onClick: onCancel, children: cancelText })), !hideConfirmButton && (jsx(Button, { variant: "contained", ...confirmButtonProps, loading: loading, onClick: onConfirm, children: confirmText }))] }));
|
|
13
13
|
});
|
|
14
|
-
var ConfirmActions$1 = ConfirmActions;
|
|
15
14
|
|
|
16
|
-
export { ConfirmActions
|
|
15
|
+
export { ConfirmActions as default };
|
package/DatePicker/DatePicker.js
CHANGED
|
@@ -130,6 +130,5 @@ const DatePicker = forwardRef(function DatePicker(props, ref) {
|
|
|
130
130
|
const suffixActionIcon = (jsx(Icon, { icon: CalendarIcon, onClick: onIconClick }));
|
|
131
131
|
return (jsxs(Fragment, { children: [jsx(PickerTrigger, { ...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 }), 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 })] }));
|
|
132
132
|
});
|
|
133
|
-
var DatePicker$1 = DatePicker;
|
|
134
133
|
|
|
135
|
-
export { DatePicker
|
|
134
|
+
export { DatePicker as default };
|
|
@@ -57,6 +57,5 @@ const DatePickerCalendar = forwardRef(function DatePickerCalendar(props, ref) {
|
|
|
57
57
|
]);
|
|
58
58
|
return (jsx(InputTriggerPopper, { ...popperProps, ref: ref, anchor: anchor, open: open, fadeProps: fadeProps, children: jsx(Calendar, { ...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 }) }));
|
|
59
59
|
});
|
|
60
|
-
var DatePickerCalendar$1 = DatePickerCalendar;
|
|
61
60
|
|
|
62
|
-
export { DatePickerCalendar
|
|
61
|
+
export { DatePickerCalendar as default };
|
|
@@ -184,6 +184,5 @@ const DateRangePicker = forwardRef(function DateRangePicker(props, ref) {
|
|
|
184
184
|
const suffixActionIcon = (jsx(Icon, { icon: CalendarIcon, onClick: onIconClick }));
|
|
185
185
|
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 }), 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 })] }));
|
|
186
186
|
});
|
|
187
|
-
var DateRangePicker$1 = DateRangePicker;
|
|
188
187
|
|
|
189
|
-
export { DateRangePicker
|
|
188
|
+
export { DateRangePicker as default };
|
|
@@ -93,6 +93,5 @@ const DateRangePickerCalendar = forwardRef(function DateRangePickerCalendar(prop
|
|
|
93
93
|
[dateRangePickerClasses.calendarInactive]: isSettingFirstCalendar,
|
|
94
94
|
}, 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 })] }) }));
|
|
95
95
|
});
|
|
96
|
-
var DateRangePickerCalendar$1 = DateRangePickerCalendar;
|
|
97
96
|
|
|
98
|
-
export { DateRangePickerCalendar
|
|
97
|
+
export { DateRangePickerCalendar as default };
|
|
@@ -11,7 +11,7 @@ export declare function useDateRangePickerValue({ format, formats, inputFromRef,
|
|
|
11
11
|
inputToValue: string;
|
|
12
12
|
onCalendarChange: (val?: DateType) => void;
|
|
13
13
|
onCalendarHover: import("react").Dispatch<import("react").SetStateAction<string | undefined>> | undefined;
|
|
14
|
-
onChange: (target?: RangePickerPickingValue
|
|
14
|
+
onChange: (target?: RangePickerPickingValue) => RangePickerPickingValue | undefined;
|
|
15
15
|
onClear: () => void;
|
|
16
16
|
onFromBlur: import("react").FocusEventHandler<HTMLInputElement>;
|
|
17
17
|
onFromKeyDown: KeyboardEventHandler<HTMLInputElement>;
|
|
@@ -117,6 +117,5 @@ const DateTimePicker = forwardRef(function DateTimePicker(props, ref) {
|
|
|
117
117
|
const suffixActionIcon = (jsx(Icon, { icon: ClockIcon, onClick: onIconClick }));
|
|
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 }), 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 })] }));
|
|
119
119
|
});
|
|
120
|
-
var DateTimePicker$1 = DateTimePicker;
|
|
121
120
|
|
|
122
|
-
export { DateTimePicker
|
|
121
|
+
export { DateTimePicker as default };
|
|
@@ -45,6 +45,5 @@ const DateTimePickerPanel = forwardRef(function TimePickerPanel(props, ref) {
|
|
|
45
45
|
};
|
|
46
46
|
return (jsx(InputTriggerPopper, { ...popperProps, ref: ref, anchor: anchor, open: open, fadeProps: fadeProps, children: jsxs("div", { ...restHostProps, className: cx(dateTimePickerClasses.panel, className), children: [jsxs("div", { className: dateTimePickerClasses.panelSelectors, children: [jsx(Calendar, { ...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 }), 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 })] }), jsx(TimePanelAction, { onConfirm: onConfirm, confirmText: confirmText })] }) }));
|
|
47
47
|
});
|
|
48
|
-
var DateTimePickerPanel$1 = DateTimePickerPanel;
|
|
49
48
|
|
|
50
|
-
export { DateTimePickerPanel
|
|
49
|
+
export { DateTimePickerPanel as default };
|
package/Drawer/Drawer.d.ts
CHANGED
package/Drawer/Drawer.js
CHANGED
|
@@ -14,6 +14,5 @@ const Drawer = forwardRef((props, ref) => {
|
|
|
14
14
|
}), []);
|
|
15
15
|
return (jsx(SlideFadeOverlay, { 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", { ...rest, className: cx(drawerClasses.host, drawerClasses[placement], className), children: children }) }));
|
|
16
16
|
});
|
|
17
|
-
var Drawer$1 = Drawer;
|
|
18
17
|
|
|
19
|
-
export { Drawer
|
|
18
|
+
export { Drawer as default };
|
package/Dropdown/Dropdown.js
CHANGED
package/Empty/Empty.js
CHANGED
|
@@ -11,6 +11,5 @@ const Empty = forwardRef(function Empty(props, ref) {
|
|
|
11
11
|
[emptyClasses.fullHeight]: fullHeight,
|
|
12
12
|
}, className), children: [image, title && jsx("div", { className: emptyClasses.title, children: title }), children && jsx("div", { className: emptyClasses.description, children: children })] }));
|
|
13
13
|
});
|
|
14
|
-
var Empty$1 = Empty;
|
|
15
14
|
|
|
16
|
-
export { Empty
|
|
15
|
+
export { Empty as default };
|
package/Form/FormField.d.ts
CHANGED
package/Form/FormField.js
CHANGED
|
@@ -20,6 +20,5 @@ const FormField = forwardRef(function FormField(props, ref) {
|
|
|
20
20
|
[formFieldClasses.fullWidth]: fullWidth,
|
|
21
21
|
}, className), children: jsx(FormControlContext.Provider, { value: formControl, children: children }) }));
|
|
22
22
|
});
|
|
23
|
-
var FormField$1 = FormField;
|
|
24
23
|
|
|
25
|
-
export { FormField
|
|
24
|
+
export { FormField as default };
|
package/Form/FormLabel.js
CHANGED
|
@@ -12,6 +12,5 @@ const FormLabel = forwardRef(function FormLabel(props, ref) {
|
|
|
12
12
|
const { required } = useContext(FormControlContext) || {};
|
|
13
13
|
return (jsxs("label", { ...rest, ref: ref, className: cx(formFieldClasses.label, className), htmlFor: htmlFor, children: [jsxs("span", { children: [children, required && jsx("span", { className: formFieldClasses.asterisk, children: "*" })] }), (remark || remarkIcon) && (jsxs("span", { className: formFieldClasses.remark, children: [jsx("span", { children: remark }), remarkIcon] }))] }));
|
|
14
14
|
});
|
|
15
|
-
var FormLabel$1 = FormLabel;
|
|
16
15
|
|
|
17
|
-
export { FormLabel
|
|
16
|
+
export { FormLabel as default };
|
package/Form/FormMessage.d.ts
CHANGED
package/Form/FormMessage.js
CHANGED
|
@@ -14,6 +14,5 @@ const FormMessage = forwardRef(function FormMessage(props, ref) {
|
|
|
14
14
|
const icon = severity ? formMessageIcons[severity] : null;
|
|
15
15
|
return (jsxs("span", { ...rest, ref: ref, className: cx(formFieldClasses.message, className), children: [icon && (jsx(Icon, { className: formFieldClasses.severityIcon, icon: icon })), children] }));
|
|
16
16
|
});
|
|
17
|
-
var FormMessage$1 = FormMessage;
|
|
18
17
|
|
|
19
|
-
export { FormMessage
|
|
18
|
+
export { FormMessage as default };
|
package/Icon/Icon.d.ts
CHANGED
package/Icon/Icon.js
CHANGED
|
@@ -21,6 +21,5 @@ const Icon = forwardRef(function Icon(props, ref) {
|
|
|
21
21
|
[iconClasses.size]: size,
|
|
22
22
|
}, className), "data-icon-name": icon.name, style: style, children: jsxs("svg", { ...definition.svg, focusable: false, children: [title || definition.title ? (jsx("title", { children: title || definition.title })) : null, jsx("path", { ...definition.path })] }) }));
|
|
23
23
|
});
|
|
24
|
-
var Icon$1 = Icon;
|
|
25
24
|
|
|
26
|
-
export { Icon
|
|
25
|
+
export { Icon as default };
|
package/Input/Input.js
CHANGED
|
@@ -45,6 +45,5 @@ const Input = forwardRef(function Input(props, ref) {
|
|
|
45
45
|
tagsModeOnRemove(tag);
|
|
46
46
|
}, children: tag }, tag))) })), mountInput && (jsx("input", { ...inputProps, "aria-disabled": disabled, "aria-multiline": false, "aria-readonly": readOnly, "aria-required": required, disabled: disabled, onChange: tagsMode ? tagsModeOnChange : onChange, onKeyDown: tagsMode ? onKeyDown : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onKeyDown, placeholder: placeholder, readOnly: readOnly, ref: composedInputRef, required: required, value: tagsMode ? undefined : value }))] }));
|
|
47
47
|
});
|
|
48
|
-
var Input$1 = Input;
|
|
49
48
|
|
|
50
|
-
export { Input
|
|
49
|
+
export { Input as default };
|
package/Loading/Loading.d.ts
CHANGED