@mezzanine-ui/react 0.13.13 → 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.js +1 -2
- 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.js +1 -2
- package/AppBar/AppBarMain.js +1 -2
- package/AppBar/AppBarSupport.js +1 -2
- package/Badge/Badge.js +1 -2
- package/Badge/BadgeContainer.js +1 -2
- package/Button/ButtonGroup.js +1 -2
- package/Calendar/Calendar.js +1 -2
- 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/ConfirmActions/ConfirmActions.js +1 -2
- package/DatePicker/DatePicker.js +1 -2
- package/DatePicker/DatePickerCalendar.js +1 -2
- package/DateRangePicker/DateRangePicker.js +1 -2
- package/DateRangePicker/DateRangePickerCalendar.js +1 -2
- package/DateTimePicker/DateTimePicker.js +1 -2
- package/DateTimePicker/DateTimePickerPanel.js +1 -2
- package/Drawer/Drawer.js +1 -2
- package/Dropdown/Dropdown.js +1 -2
- package/Empty/Empty.js +1 -2
- package/Form/FormField.js +1 -2
- package/Form/FormLabel.js +1 -2
- package/Form/FormMessage.js +1 -2
- package/Form/useCheckboxControlValue.d.ts +1 -1
- package/Form/useCustomControlValue.d.ts +1 -1
- package/Form/useInputControlValue.d.ts +1 -1
- package/Form/useInputWithClearControlValue.d.ts +1 -1
- package/Form/useRadioControlValue.d.ts +1 -1
- package/Form/useSwitchControlValue.d.ts +1 -1
- package/Icon/Icon.js +1 -2
- package/Input/Input.js +1 -2
- package/Loading/Loading.js +1 -2
- package/Menu/Menu.js +1 -2
- package/Menu/MenuDivider.js +1 -2
- package/Menu/MenuItem.js +1 -2
- package/Menu/MenuItemGroup.js +1 -2
- package/Message/Message.js +1 -2
- package/Modal/Modal.js +1 -2
- package/Modal/ModalActions.js +1 -2
- package/Modal/ModalBody.js +1 -2
- package/Modal/ModalFooter.js +1 -2
- package/Modal/ModalHeader.js +1 -2
- package/Navigation/Navigation.js +1 -2
- package/Navigation/NavigationItem.js +1 -2
- package/Navigation/NavigationSubMenu.js +1 -2
- package/Notification/Notification.js +1 -2
- package/Overlay/Overlay.js +1 -2
- package/PageFooter/PageFooter.js +1 -2
- package/Pagination/Pagination.js +1 -2
- package/Pagination/PaginationItem.js +1 -2
- package/Pagination/PaginationJumper.js +1 -2
- 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.js +1 -2
- package/Radio/Radio.js +1 -2
- package/Radio/RadioGroup.js +1 -2
- package/Select/AutoComplete.js +1 -2
- package/Select/Option.js +1 -2
- package/Select/Select.js +1 -2
- package/Select/SelectTrigger.js +1 -2
- package/Select/SelectTriggerTags.js +1 -2
- package/Select/TreeSelect.js +1 -2
- package/Skeleton/Skeleton.js +1 -2
- package/Slider/Slider.js +1 -2
- 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/TableCell.js +1 -2
- package/Table/pagination/useTablePagination.d.ts +1 -1
- package/Table/refresh/TableRefresh.js +1 -2
- package/Table/rowSelection/useTableRowSelection.d.ts +1 -1
- package/Table/sorting/useTableSorting.d.ts +1 -1
- package/Table/useTableFetchMore.d.ts +1 -1
- package/Table/useTableLoading.d.ts +1 -1
- package/Table/useTableScroll.d.ts +4 -2
- 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.js +1 -2
- package/TimePicker/TimePickerPanel.js +1 -2
- package/Tooltip/Tooltip.js +1 -2
- package/Transition/Collapse.js +1 -2
- package/Transition/Fade.js +1 -2
- package/Transition/Grow.js +1 -2
- package/Transition/SlideFade.js +1 -2
- package/Transition/Zoom.js +1 -2
- package/Tree/Tree.js +1 -2
- package/Tree/TreeNode.js +1 -2
- package/Tree/TreeNodeList.js +1 -2
- package/Upload/UploadButton.js +1 -2
- package/Upload/UploadPicture.js +1 -2
- package/Upload/UploadPictureBlock.js +1 -2
- package/Upload/UploadPictureWall.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.js +1 -2
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.js +1 -2
- package/index.js +53 -53
- package/package.json +4 -4
package/Portal/Portal.js
CHANGED
package/Progress/Progress.js
CHANGED
|
@@ -28,6 +28,5 @@ const Progress = forwardRef(function Progress(props, ref) {
|
|
|
28
28
|
};
|
|
29
29
|
return (jsxs("div", { ref: ref, className: cx(progressClasses.host, className, status === ProgressStatuses.success && progressClasses.success, status === ProgressStatuses.error && progressClasses.error, type === ProgressTypes.line && progressClasses.lineVariant, type === ProgressTypes.circle && progressClasses.circleVariant, progressClasses.size(size)), ...rest, children: [type === ProgressTypes.line && renderLine(), type === ProgressTypes.circle && renderCircle()] }));
|
|
30
30
|
});
|
|
31
|
-
var Progress$1 = Progress;
|
|
32
31
|
|
|
33
|
-
export { Progress
|
|
32
|
+
export { Progress as default };
|
package/Radio/Radio.js
CHANGED
|
@@ -29,6 +29,5 @@ const Radio = forwardRef(function Radio(props, ref) {
|
|
|
29
29
|
[radioClasses.checked]: checked,
|
|
30
30
|
}), children: jsx("input", { ...restInputProps, "aria-checked": checked, "aria-disabled": disabled, checked: checked, disabled: disabled, id: inputId, onChange: onChange, name: name, type: "radio", value: value }) })), disabled: disabled, error: error, htmlFor: inputId, size: size, children: children }));
|
|
31
31
|
});
|
|
32
|
-
var Radio$1 = Radio;
|
|
33
32
|
|
|
34
|
-
export { Radio
|
|
33
|
+
export { Radio as default };
|
package/Radio/RadioGroup.js
CHANGED
|
@@ -25,6 +25,5 @@ const RadioGroup = forwardRef(function RadioGroup(props, ref) {
|
|
|
25
25
|
const children = childrenProp || options.map((option) => (jsx(Radio, { disabled: option.disabled, value: option.value, children: option.label }, option.value)));
|
|
26
26
|
return (jsx(RadioGroupContext.Provider, { value: context, children: jsx(InputCheckGroup, { ...rest, ref: ref, role: "radiogroup", children: children }) }));
|
|
27
27
|
});
|
|
28
|
-
var RadioGroup$1 = RadioGroup;
|
|
29
28
|
|
|
30
|
-
export { RadioGroup
|
|
29
|
+
export { RadioGroup as default };
|
package/Select/AutoComplete.js
CHANGED
|
@@ -116,6 +116,5 @@ const AutoComplete = forwardRef(function Select(props, ref) {
|
|
|
116
116
|
}
|
|
117
117
|
}, children: [jsx("p", { children: insertText }), jsx(Icon, { className: selectClasses.autoCompleteIcon, icon: PlusIcon })] })) : null] })] }) }));
|
|
118
118
|
});
|
|
119
|
-
var AutoComplete$1 = AutoComplete;
|
|
120
119
|
|
|
121
|
-
export { AutoComplete
|
|
120
|
+
export { AutoComplete as default };
|
package/Select/Option.js
CHANGED
package/Select/Select.js
CHANGED
|
@@ -123,6 +123,5 @@ const Select = forwardRef(function Select(props, ref) {
|
|
|
123
123
|
}), [onChange, value]);
|
|
124
124
|
return (jsx(SelectControlContext.Provider, { value: context, children: jsxs("div", { ref: nodeRef, className: cx(selectClasses.host, fullWidth && selectClasses.hostFullWidth), children: [jsx(SelectTrigger, { ref: composedRef, active: open, className: className, clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, inputRef: inputRef, mode: mode, onTagClose: onChange, onClear: onClear, onClick: onClickTextField, onKeyDown: onKeyDownTextField, prefix: prefix, readOnly: true, renderValue: renderValue, required: required, inputProps: resolvedInputProps, size: size, suffixActionIcon: suffixActionIcon, value: value }), jsx(InputTriggerPopper, { ref: popperRef, anchor: controlRef, className: selectClasses.popper, disablePortal: disablePortal, open: open, options: popperOptions, sameWidth: true, children: jsx(Menu, { id: MENU_ID, "aria-activedescendant": Array.isArray(value) ? (_b = (_a = value === null || value === void 0 ? void 0 : value[0]) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : '' : value === null || value === void 0 ? void 0 : value.id, itemsInView: itemsInView, maxHeight: menuMaxHeight, onScroll: onMenuScrollCallback, role: menuRole, size: menuSize, style: { border: 0 }, children: children }) })] }) }));
|
|
125
125
|
});
|
|
126
|
-
var Select$1 = Select;
|
|
127
126
|
|
|
128
|
-
export { Select
|
|
127
|
+
export { Select as default };
|
package/Select/SelectTrigger.js
CHANGED
|
@@ -28,6 +28,5 @@ const SelectTriggerTags = forwardRef(function SelectTriggerTags(props, ref) {
|
|
|
28
28
|
onTagClose === null || onTagClose === void 0 ? void 0 : onTagClose(selection);
|
|
29
29
|
}, size: size, children: selection.name }, selection.id)))), ellipsis ? renderFakeTags() : null] }), showTextInputAfterTags ? (jsx("div", { className: selectClasses.triggerTagsInput, children: jsx("input", { ...inputProps, ref: inputRef, "aria-autocomplete": "list", "aria-disabled": disabled, "aria-haspopup": "listbox", "aria-readonly": readOnly, "aria-required": required, autoComplete: "off", disabled: disabled, readOnly: readOnly, required: required, type: "search", value: searchText }) })) : null] }));
|
|
30
30
|
});
|
|
31
|
-
var SelectTriggerTags$1 = SelectTriggerTags;
|
|
32
31
|
|
|
33
|
-
export { SelectTriggerTags
|
|
32
|
+
export { SelectTriggerTags as default };
|
package/Select/TreeSelect.js
CHANGED
|
@@ -196,6 +196,5 @@ const TreeSelect = forwardRef((props, ref) => {
|
|
|
196
196
|
width: width || `${panelWidth}px`,
|
|
197
197
|
}, children: jsx(Tree, { ...restTreeProps, ref: ref, className: cx(selectClasses.tree, treeClassName), disabledValues: disabledValues, expandControllerRef: expandControllerRef, expandedValues: expandedValues, multiple: multiple, nodes: nodes, onExpand: onExpand, onSelect: onSelect, selectMethod: "target", selectable: true, values: selectedValues }) }) })] }));
|
|
198
198
|
});
|
|
199
|
-
var TreeSelect$1 = TreeSelect;
|
|
200
199
|
|
|
201
|
-
export { TreeSelect
|
|
200
|
+
export { TreeSelect as default };
|
package/Skeleton/Skeleton.js
CHANGED
|
@@ -10,6 +10,5 @@ const Skeleton = forwardRef(function Skeleton(props, ref) {
|
|
|
10
10
|
const { className, height: skeletonHeight, style: skeletonStyle, type, width: skeletonWidth, ...rest } = props;
|
|
11
11
|
return (jsx("div", { ...rest, ref: ref, className: cx(skeletonClasses.host, type === 'circle' && skeletonClasses.circle, className), style: { width: skeletonWidth, height: skeletonHeight, ...skeletonStyle }, ...rest }));
|
|
12
12
|
});
|
|
13
|
-
var Skeleton$1 = Skeleton;
|
|
14
13
|
|
|
15
|
-
export { Skeleton
|
|
14
|
+
export { Skeleton as default };
|
package/Slider/Slider.js
CHANGED
package/Stepper/Step.js
CHANGED
|
@@ -15,6 +15,5 @@ const Step = forwardRef(function Step(props, ref) {
|
|
|
15
15
|
const iconRender = (jsx(Typography, { className: stepClasses.iconBackground, variant: "button3", children: completed ? (jsx(Icon, { className: stepClasses.completedIcon, icon: CheckIcon, ...completedIconProps })) : index + 1 }));
|
|
16
16
|
return (jsxs("div", { className: cx(stepClasses.host, disabled && stepClasses.disabled, className), ref: ref, ...rest, children: [iconRender, /** title (optional) */ title && (jsx(Typography, { className: stepClasses.title, variant: "button2", ...titleProps, children: title })), children] }));
|
|
17
17
|
});
|
|
18
|
-
var Step$1 = Step;
|
|
19
18
|
|
|
20
|
-
export { Step
|
|
19
|
+
export { Step as default };
|
package/Stepper/Stepper.js
CHANGED
|
@@ -29,6 +29,5 @@ const Stepper = forwardRef(function Stepper(props, ref) {
|
|
|
29
29
|
});
|
|
30
30
|
return (jsx("div", { className: cx(stepperClasses.host, className), ref: ref, ...rest, children: stepsWithState }));
|
|
31
31
|
});
|
|
32
|
-
var Stepper$1 = Stepper;
|
|
33
32
|
|
|
34
|
-
export { Stepper
|
|
33
|
+
export { Stepper as default };
|
package/Switch/Switch.js
CHANGED
|
@@ -24,6 +24,5 @@ const Switch = forwardRef(function Switch(props, ref) {
|
|
|
24
24
|
[switchClasses.large]: size === 'large',
|
|
25
25
|
}, className), children: [jsx("span", { className: switchClasses.control, children: loading && jsx(Icon, { icon: SwitchSpinnerIcon, spin: true }) }), jsx("input", { ...inputProps, "aria-checked": checked, "aria-disabled": disabled, checked: checked, className: switchClasses.input, disabled: disabled, onChange: onChange, type: "checkbox" })] }));
|
|
26
26
|
});
|
|
27
|
-
var Switch$1 = Switch;
|
|
28
27
|
|
|
29
|
-
export { Switch
|
|
28
|
+
export { Switch as default };
|
package/Table/Table.js
CHANGED
package/Table/TableCell.js
CHANGED
|
@@ -5,4 +5,4 @@ export interface UseTablePagination {
|
|
|
5
5
|
current?: TablePagination['current'];
|
|
6
6
|
onChange?: TablePagination['onChange'];
|
|
7
7
|
}
|
|
8
|
-
export declare function useTablePagination(props: UseTablePagination): readonly [number, (c: number) =>
|
|
8
|
+
export declare function useTablePagination(props: UseTablePagination): readonly [number, (c: number) => void];
|
|
@@ -19,6 +19,5 @@ const TableRefresh = forwardRef(function TableRefresh(props, ref) {
|
|
|
19
19
|
]);
|
|
20
20
|
return (jsx("div", { ref: ref, className: tableClasses.refresh, ...rest, children: jsx(Button, { onClick: onRefreshClicked, prefix: jsx(Icon, { icon: ResetIcon }), children: children || '重新整理' }) }));
|
|
21
21
|
});
|
|
22
|
-
var TableRefresh$1 = TableRefresh;
|
|
23
22
|
|
|
24
|
-
export { TableRefresh
|
|
23
|
+
export { TableRefresh as default };
|
|
@@ -3,4 +3,4 @@ export declare const SELECTED_ALL_KEY = "MZN-TABLE-ROW-SELECTION-ALL";
|
|
|
3
3
|
export interface UseTableRowSelection extends Omit<TableRowSelection, 'actions'> {
|
|
4
4
|
dataSource: TableDataSource[];
|
|
5
5
|
}
|
|
6
|
-
export declare function useTableRowSelection(props: UseTableRowSelection): readonly [string[], (v: string) =>
|
|
6
|
+
export declare function useTableRowSelection(props: UseTableRowSelection): readonly [string[], (v: string) => void];
|
|
@@ -3,7 +3,7 @@ export interface UseTableSorting {
|
|
|
3
3
|
dataSource: TableDataSource[];
|
|
4
4
|
}
|
|
5
5
|
export type SortedType = 'desc' | 'asc' | 'none';
|
|
6
|
-
export declare function useTableSorting(props: UseTableSorting): readonly [TableDataSource[], (v: Pick<TableColumn<TableRecord<unknown>>, "dataIndex" | "sorter" | "onSorted">) =>
|
|
6
|
+
export declare function useTableSorting(props: UseTableSorting): readonly [TableDataSource[], (v: Pick<TableColumn<TableRecord<unknown>>, "dataIndex" | "sorter" | "onSorted">) => void, {
|
|
7
7
|
readonly sortedOn: string;
|
|
8
8
|
readonly sortedType: SortedType;
|
|
9
9
|
readonly onResetAll: () => void;
|
|
@@ -4,7 +4,7 @@ export interface UseTableFetchMore extends TableFetchMore {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare function useTableFetchMore(props: UseTableFetchMore): {
|
|
7
|
-
readonly fetchMore: (() =>
|
|
7
|
+
readonly fetchMore: (() => void) | undefined;
|
|
8
8
|
readonly isFetching: boolean;
|
|
9
9
|
readonly isReachEnd: boolean;
|
|
10
10
|
};
|
|
@@ -2,4 +2,4 @@ export declare const SELECTED_ALL_KEY = "MZN-TABLE-ROW-SELECTION-ALL";
|
|
|
2
2
|
export interface UseTableLoading {
|
|
3
3
|
loading?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare function useTableLoading(props: UseTableLoading): readonly [boolean, (l: boolean) =>
|
|
5
|
+
export declare function useTableLoading(props: UseTableLoading): readonly [boolean, (l: boolean) => void];
|
|
@@ -27,12 +27,14 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
27
27
|
suppressContentEditableWarning?: boolean | undefined;
|
|
28
28
|
suppressHydrationWarning?: boolean | undefined;
|
|
29
29
|
accessKey?: string | undefined;
|
|
30
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
30
31
|
autoFocus?: boolean | undefined;
|
|
31
32
|
className?: string | undefined;
|
|
32
33
|
contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
|
|
33
34
|
contextMenu?: string | undefined;
|
|
34
35
|
dir?: string | undefined;
|
|
35
36
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
37
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
36
38
|
hidden?: boolean | undefined;
|
|
37
39
|
id?: string | undefined;
|
|
38
40
|
lang?: string | undefined;
|
|
@@ -56,7 +58,6 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
56
58
|
rev?: string | undefined;
|
|
57
59
|
typeof?: string | undefined;
|
|
58
60
|
vocab?: string | undefined;
|
|
59
|
-
autoCapitalize?: string | undefined;
|
|
60
61
|
autoCorrect?: string | undefined;
|
|
61
62
|
autoSave?: string | undefined;
|
|
62
63
|
color?: string | undefined;
|
|
@@ -297,12 +298,14 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
297
298
|
suppressContentEditableWarning?: boolean | undefined;
|
|
298
299
|
suppressHydrationWarning?: boolean | undefined;
|
|
299
300
|
accessKey?: string | undefined;
|
|
301
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
300
302
|
autoFocus?: boolean | undefined;
|
|
301
303
|
className?: string | undefined;
|
|
302
304
|
contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
|
|
303
305
|
contextMenu?: string | undefined;
|
|
304
306
|
dir?: string | undefined;
|
|
305
307
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
308
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
306
309
|
hidden?: boolean | undefined;
|
|
307
310
|
id?: string | undefined;
|
|
308
311
|
lang?: string | undefined;
|
|
@@ -326,7 +329,6 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
326
329
|
rev?: string | undefined;
|
|
327
330
|
typeof?: string | undefined;
|
|
328
331
|
vocab?: string | undefined;
|
|
329
|
-
autoCapitalize?: string | undefined;
|
|
330
332
|
autoCorrect?: string | undefined;
|
|
331
333
|
autoSave?: string | undefined;
|
|
332
334
|
color?: string | undefined;
|
package/Tabs/Tab.js
CHANGED
package/Tabs/TabPane.js
CHANGED
|
@@ -14,6 +14,5 @@ const TabPane = forwardRef(function TabPane(props, ref) {
|
|
|
14
14
|
tab, ...rest } = props;
|
|
15
15
|
return (jsx("div", { ...rest, ref: ref, className: cx(tabsClasses.pane, className), children: children }));
|
|
16
16
|
});
|
|
17
|
-
var TabPane$1 = TabPane;
|
|
18
17
|
|
|
19
|
-
export { TabPane
|
|
18
|
+
export { TabPane as default };
|
package/Tabs/Tabs.js
CHANGED
|
@@ -43,6 +43,5 @@ const Tabs = forwardRef(function Tabs(props, ref) {
|
|
|
43
43
|
const { isOverflowing, isScrollToBegin, isScrollToEnd, scrollToLeft, scrollToRight, } = useTabsOverflow(tabsRef);
|
|
44
44
|
return (jsxs("div", { ...rest, ref: ref, className: cx(tabsClasses.host, className), children: [jsxs("div", { className: cx(tabsClasses.tabBar, tabBarClassName), children: [jsxs("div", { className: tabsClasses.overflow, children: [isOverflowing && !isScrollToBegin && (jsx("button", { "aria-label": "scrollToLeft", className: tabsClasses.scrollBtn, onClick: () => scrollToLeft(), type: "button", children: jsx(Icon, { icon: ChevronLeftIcon }) })), jsx("div", { ref: tabsRef, className: tabsClasses.tabs, children: tabs }), isOverflowing && !isScrollToEnd && (jsx("button", { "aria-label": "scrollToRight", className: tabsClasses.scrollBtn, onClick: () => scrollToRight(), type: "button", children: jsx(Icon, { icon: ChevronRightIcon }) }))] }), actions] }), pane] }));
|
|
45
45
|
});
|
|
46
|
-
var Tabs$1 = Tabs;
|
|
47
46
|
|
|
48
|
-
export { Tabs
|
|
47
|
+
export { Tabs as default };
|
package/Tag/Tag.js
CHANGED
package/TextField/TextField.js
CHANGED
|
@@ -40,6 +40,5 @@ const TextField = forwardRef(function TextField(props, ref) {
|
|
|
40
40
|
}
|
|
41
41
|
}, onMouseDown: (event) => event.preventDefault(), role: "button", tabIndex: -1 }))] }));
|
|
42
42
|
});
|
|
43
|
-
var TextField$1 = TextField;
|
|
44
43
|
|
|
45
|
-
export { TextField
|
|
44
|
+
export { TextField as default };
|
package/Textarea/Textarea.js
CHANGED
|
@@ -30,6 +30,5 @@ const Textarea = forwardRef(function Textarea(props, ref) {
|
|
|
30
30
|
[textareaClasses.upperLimit]: upperLimit,
|
|
31
31
|
}, className), clearable: clearable, disabled: disabled, error: error, fullWidth: fullWidth, onClear: onClear, size: size, children: [jsx("textarea", { ...textareaProps, ref: composedTextareaRef, "aria-disabled": disabled, "aria-multiline": true, "aria-readonly": readOnly, "aria-required": required, disabled: disabled, maxLength: maxLength, onChange: onChange, placeholder: placeholder, readOnly: readOnly, required: required, rows: rows, value: value }), typeof maxLength === 'number' && (jsxs("span", { className: textareaClasses.count, children: [value.length, "/", maxLength] }))] }));
|
|
32
32
|
});
|
|
33
|
-
var Textarea$1 = Textarea;
|
|
34
33
|
|
|
35
|
-
export { Textarea
|
|
34
|
+
export { Textarea as default };
|
package/TimePanel/TimePanel.js
CHANGED
|
@@ -60,6 +60,5 @@ const TimePanel = forwardRef(function TimePanel(props, ref) {
|
|
|
60
60
|
}
|
|
61
61
|
return (jsxs("div", { ...restHostProps, ref: ref, className: cx(timePanelClasses.host, className), children: [jsxs("div", { className: timePanelClasses.columns, children: [!hideHour && hourUnits && (jsx(TimePanelColumn, { prefix: hourPrefix, units: hourUnits, activeUnit: activeHour, onChange: getChangeHandle('hour'), onNext: getControlHandle('hour', hourUnits, hourStep), onPrev: getControlHandle('hour', hourUnits, -hourStep) })), !hideMinute && minuteUnits && (jsx(TimePanelColumn, { prefix: minutePrefix, units: minuteUnits, activeUnit: activeMinute, onChange: getChangeHandle('minute'), onNext: getControlHandle('minute', minuteUnits, minuteStep), onPrev: getControlHandle('minute', minuteUnits, -minuteStep) })), !hideSecond && secondUnits && (jsx(TimePanelColumn, { prefix: secondPrefix, units: secondUnits, activeUnit: activeSecond, onChange: getChangeHandle('second'), onNext: getControlHandle('second', secondUnits, secondStep), onPrev: getControlHandle('second', secondUnits, -secondStep) }))] }), !withoutAction && (jsx(TimePanelAction, { onConfirm: onConfirm, confirmText: confirmText }))] }));
|
|
62
62
|
});
|
|
63
|
-
var TimePanel$1 = TimePanel;
|
|
64
63
|
|
|
65
|
-
export { TimePanel
|
|
64
|
+
export { TimePanel as default };
|
|
@@ -11,6 +11,5 @@ const TimePanelAction = forwardRef(function TimePanelAction(props, ref) {
|
|
|
11
11
|
const { className, confirmText = 'OK', onConfirm, ...rest } = props;
|
|
12
12
|
return (jsx("div", { ...rest, ref: ref, className: cx(timePanelClasses.action, className), children: jsx(Button, { variant: "contained", size: "small", onClick: onConfirm, children: confirmText }) }));
|
|
13
13
|
});
|
|
14
|
-
var TimePanelAction$1 = TimePanelAction;
|
|
15
14
|
|
|
16
|
-
export { TimePanelAction
|
|
15
|
+
export { TimePanelAction as default };
|
|
@@ -33,6 +33,5 @@ const TimePanelColumn = forwardRef(function TimePanelColumn(props, ref) {
|
|
|
33
33
|
[timePanelClasses.buttonActive]: unit.value === activeUnit,
|
|
34
34
|
}), onClick: getChangeHandler(unit), children: unit.label }, unit.value))) }), jsx("button", { type: "button", className: cx(timePanelClasses.button, timePanelClasses.columnControlButton), onClick: onNext, children: jsx(Icon, { icon: ChevronDownIcon }) })] }));
|
|
35
35
|
});
|
|
36
|
-
var TimePanelColumn$1 = TimePanelColumn;
|
|
37
36
|
|
|
38
|
-
export { TimePanelColumn
|
|
37
|
+
export { TimePanelColumn as default };
|
package/TimePicker/TimePicker.js
CHANGED
|
@@ -109,6 +109,5 @@ const TimePicker = forwardRef(function TimePicker(props, ref) {
|
|
|
109
109
|
const suffixActionIcon = (jsx(Icon, { icon: ClockIcon, onClick: onIconClick }));
|
|
110
110
|
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(TimePickerPanel, { ref: panelRef, anchor: anchorRef, confirmText: confirmText, hideHour: hideHour, hideMinute: hideMinute, hideSecond: hideSecond, hourPrefix: hourPrefix, hourStep: hourStep, minutePrefix: minutePrefix, minuteStep: minuteStep, onChange: onChange, onConfirm: onConfirm, open: open, popperProps: popperProps, secondPrefix: secondPrefix, secondStep: secondStep, value: internalValue })] }));
|
|
111
111
|
});
|
|
112
|
-
var TimePicker$1 = TimePicker;
|
|
113
112
|
|
|
114
|
-
export { TimePicker
|
|
113
|
+
export { TimePicker as default };
|
|
@@ -10,6 +10,5 @@ const TimePickerPanel = forwardRef(function TimePickerPanel(props, ref) {
|
|
|
10
10
|
const { anchor, confirmText, fadeProps, hideHour, hideMinute, hideSecond, hourPrefix, hourStep, minutePrefix, minuteStep, onChange, onConfirm, open, popperProps, secondPrefix, secondStep, value, ...restHostProps } = props;
|
|
11
11
|
return (jsx(InputTriggerPopper, { ...popperProps, ref: ref, anchor: anchor, open: open, fadeProps: fadeProps, children: jsx(TimePanel, { ...restHostProps, hideHour: hideHour, hourStep: hourStep, hideMinute: hideMinute, minuteStep: minuteStep, hideSecond: hideSecond, secondStep: secondStep, hourPrefix: hourPrefix, minutePrefix: minutePrefix, secondPrefix: secondPrefix, onChange: onChange, value: value, onConfirm: onConfirm, confirmText: confirmText }) }));
|
|
12
12
|
});
|
|
13
|
-
var TimePickerPanel$1 = TimePickerPanel;
|
|
14
13
|
|
|
15
|
-
export { TimePickerPanel
|
|
14
|
+
export { TimePickerPanel as default };
|
package/Tooltip/Tooltip.js
CHANGED
package/Transition/Collapse.js
CHANGED
|
@@ -104,6 +104,5 @@ const Collapse = forwardRef(function Collapse(props, ref) {
|
|
|
104
104
|
...style,
|
|
105
105
|
}, children: jsx("div", { ref: wrapperRef, style: { display: 'flex', width: '100%' }, children: jsx("div", { style: { width: '100%' }, children: children }) }) })) }));
|
|
106
106
|
});
|
|
107
|
-
var Collapse$1 = Collapse;
|
|
108
107
|
|
|
109
|
-
export { Collapse
|
|
108
|
+
export { Collapse as default };
|
package/Transition/Fade.js
CHANGED
package/Transition/Grow.js
CHANGED
package/Transition/SlideFade.js
CHANGED
package/Transition/Zoom.js
CHANGED
package/Tree/Tree.js
CHANGED
|
@@ -127,6 +127,5 @@ const Tree = forwardRef(function Tree(props, ref) {
|
|
|
127
127
|
const onSelect = selectable ? selectHandler : undefined;
|
|
128
128
|
return (jsx("div", { ref: ref, className: cx(treeClasses.host, className), ...restRootProp, children: jsx(TreeNodeList, { ...treeNodeListProps, multiple: multiple, nodes: displayNodes, onExpand: onExpand, onSelect: onSelect, selectable: selectable, size: size, treeNodeProps: treeNodeProps, treeNodeRefs: treeNodeRefs }) }));
|
|
129
129
|
});
|
|
130
|
-
var Tree$1 = Tree;
|
|
131
130
|
|
|
132
|
-
export { Tree
|
|
131
|
+
export { Tree as default };
|
package/Tree/TreeNode.js
CHANGED
|
@@ -39,6 +39,5 @@ const TreeNode = forwardRef(function TreeNode(props, ref) {
|
|
|
39
39
|
[treeClasses.nodeLabelDisabled]: disabled,
|
|
40
40
|
}), children: label }))] }), mayHaveChildren && (jsx(Collapse, { in: expanded, appear: false, children: children || jsx(Loading, { loading: true, iconProps: { size: 16 } }) }))] }));
|
|
41
41
|
});
|
|
42
|
-
var TreeNode$1 = TreeNode;
|
|
43
42
|
|
|
44
|
-
export { TreeNode
|
|
43
|
+
export { TreeNode as default };
|
package/Tree/TreeNodeList.js
CHANGED
package/Upload/UploadButton.js
CHANGED
|
@@ -19,6 +19,5 @@ const UploadButton = forwardRef(function UploadButton(props, ref) {
|
|
|
19
19
|
}
|
|
20
20
|
}, prefix: jsx(Icon, { icon: UploadIcon }), children: [jsx(UploadInput, { ref: inputRef, accept: accept, disabled: disabled, multiple: multiple, onUpload: onUpload }), children] }));
|
|
21
21
|
});
|
|
22
|
-
var UploadButton$1 = UploadButton;
|
|
23
22
|
|
|
24
|
-
export { UploadButton
|
|
23
|
+
export { UploadButton as default };
|
package/Upload/UploadPicture.js
CHANGED
|
@@ -47,6 +47,5 @@ const UploadPicture = forwardRef(function UploadPicture(props, ref) {
|
|
|
47
47
|
}));
|
|
48
48
|
return (jsx("div", { ref: ref, className: cx(uploadPictureClasses.host, className), style: style, children: jsx(UploadPictureBlock, { accept: accept, defaultUploadErrorLabel: defaultUploadErrorLabel, defaultUploadingLabel: defaultUploadingLabel, defaultUploadLabel: defaultUploadLabel, disabled: disabled, imageLoader: uploadPictureImageLoader.current, multiple: false, onDelete: onImageDelete, onUpload: onImageUpload, onValueChange: onChange }) }));
|
|
49
49
|
});
|
|
50
|
-
var UploadPicture$1 = UploadPicture;
|
|
51
50
|
|
|
52
|
-
export { UploadPicture
|
|
51
|
+
export { UploadPicture as default };
|
|
@@ -77,6 +77,5 @@ const UploadPictureBlock = forwardRef(function UploadPictureBlock(props, ref) {
|
|
|
77
77
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
78
78
|
jsx(Fragment, { children: showImage ? (jsxs(Fragment, { children: [jsx("img", { alt: "", src: (value ? `${fileHost || ''}${value}` : previewImage), className: uploadPictureBlockClasses.preview }), isLoading ? (jsxs("div", { className: uploadPictureBlockClasses.group, children: [jsx(Icon, { icon: SpinnerIcon, spin: true }), jsx("span", { className: uploadPictureBlockClasses.status, children: defaultUploadingLabel })] })) : null] })) : (jsxs("div", { className: uploadPictureBlockClasses.group, children: [jsx(Icon, { icon: UploadIcon }), jsx("span", { className: uploadPictureBlockClasses.status, children: defaultUploadLabel })] })) })), !disabled && canDeleteImage && (jsx("div", { className: uploadPictureBlockClasses.delete, children: jsx(Icon, { icon: TrashIcon }) }))] }));
|
|
79
79
|
});
|
|
80
|
-
var UploadPictureBlock$1 = UploadPictureBlock;
|
|
81
80
|
|
|
82
|
-
export { UploadPictureBlock
|
|
81
|
+
export { UploadPictureBlock as default };
|
|
@@ -152,6 +152,5 @@ const UploadPictureWall = forwardRef(function UploadPictureWall(props, ref) {
|
|
|
152
152
|
}));
|
|
153
153
|
return (jsxs("div", { ref: ref, className: cx(uploadPictureWallClasses.host, className), style: style, children: [loaderList.map((up) => (jsx(UploadPictureWallItem, { accept: accept, defaultUploadErrorLabel: defaultUploadErrorLabel, defaultUploadingLabel: defaultUploadingLabel, defaultUploadLabel: defaultUploadLabel, disabled: disabled, imageLoader: up, multiple: multiple, onDelete: () => onImageDelete(up.getUid()), fileHost: fileHost }, up.getUid()))), maxLength && loaderList.length >= maxLength ? null : (jsx(UploadPictureWallItem, { accept: accept, defaultUploadErrorLabel: defaultUploadErrorLabel, defaultUploadingLabel: defaultUploadingLabel, defaultUploadLabel: defaultUploadLabel, disabled: disabled, imageLoader: new ImageUploader(), multiple: multiple, onUpload: onImagesUpload, fileHost: fileHost }))] }));
|
|
154
154
|
});
|
|
155
|
-
var UploadPictureWall$1 = UploadPictureWall;
|
|
156
155
|
|
|
157
|
-
export { UploadPictureWall
|
|
156
|
+
export { UploadPictureWall as default };
|
package/Upload/UploadResult.js
CHANGED
|
@@ -25,6 +25,5 @@ const UploadResult = forwardRef(function UploadResult(props, ref) {
|
|
|
25
25
|
[uploadResultClasses.loading]: loading,
|
|
26
26
|
}, className), style: style, children: [jsx("span", { className: uploadResultClasses.name, children: name }), jsxs("div", { className: uploadResultClasses.actions, children: [loading && (jsx(Icon, { icon: SpinnerIcon, spin: true })), done && (jsx(Icon, { icon: DownloadIcon, onClick: onDownload, role: "button" })), (done || error) && (jsx(Icon, { icon: TimesIcon, onClick: onDelete, role: "button" }))] })] }));
|
|
27
27
|
});
|
|
28
|
-
var UploadResult$1 = UploadResult;
|
|
29
28
|
|
|
30
|
-
export { UploadResult
|
|
29
|
+
export { UploadResult as default };
|
|
@@ -14,6 +14,5 @@ const InputCheck = forwardRef(function InputCheck(props, ref) {
|
|
|
14
14
|
[inputCheckClasses.withLabel]: !!children,
|
|
15
15
|
}, className), htmlFor: htmlFor, children: [jsx("span", { className: inputCheckClasses.control, children: control }), children && (jsx("span", { className: inputCheckClasses.label, children: children }))] }));
|
|
16
16
|
});
|
|
17
|
-
var InputCheck$1 = InputCheck;
|
|
18
17
|
|
|
19
|
-
export { InputCheck
|
|
18
|
+
export { InputCheck as default };
|
|
@@ -10,6 +10,5 @@ const InputCheckGroup = forwardRef(function InputCheckGroup(props, ref) {
|
|
|
10
10
|
const { children, className, orientation = 'horizontal', ...rest } = props;
|
|
11
11
|
return (jsx("div", { ...rest, ref: ref, "aria-orientation": orientation, className: cx(inputCheckGroupClasses.host, inputCheckGroupClasses.orientation(orientation), className), children: children }));
|
|
12
12
|
});
|
|
13
|
-
var InputCheckGroup$1 = InputCheckGroup;
|
|
14
13
|
|
|
15
|
-
export { InputCheckGroup
|
|
14
|
+
export { InputCheckGroup as default };
|
|
@@ -40,6 +40,5 @@ const InputTriggerPopper = forwardRef(function InputTriggerPopper(props, ref) {
|
|
|
40
40
|
],
|
|
41
41
|
}, children: children }) }));
|
|
42
42
|
});
|
|
43
|
-
var InputTriggerPopper$1 = InputTriggerPopper;
|
|
44
43
|
|
|
45
|
-
export { InputTriggerPopper
|
|
44
|
+
export { InputTriggerPopper as default };
|
|
@@ -61,6 +61,5 @@ const SlideFadeOverlay = forwardRef(function SlideFadeOverlay(props, ref) {
|
|
|
61
61
|
}
|
|
62
62
|
return (jsx(Overlay, { className: cx(overlayWithSlideFadeClasses.host, className), container: container, disableCloseOnBackdropClick: disableCloseOnBackdropClick, disablePortal: disablePortal, hideBackdrop: hideBackdrop, invisibleBackdrop: invisibleBackdrop, onBackdropClick: onBackdropClick, onClose: onClose, open: open, role: "presentation", children: jsx(SlideFade, { ref: ref, in: open, direction: direction, onEntered: () => setExited(false), onExited: () => setExited(true), children: children }) }));
|
|
63
63
|
});
|
|
64
|
-
var SlideFadeOverlay$1 = SlideFadeOverlay;
|
|
65
64
|
|
|
66
|
-
export { SlideFadeOverlay
|
|
65
|
+
export { SlideFadeOverlay as default };
|