@mezzanine-ui/react 0.13.11 → 0.13.13
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/AccordionControlContext.d.ts +0 -1
- package/Accordion/AccordionDetails.d.ts +0 -1
- package/AppBar/AppBarBrand.d.ts +0 -1
- package/AppBar/AppBarMain.d.ts +0 -1
- package/AppBar/AppBarSupport.d.ts +0 -1
- package/Badge/Badge.d.ts +0 -1
- package/Badge/BadgeContainer.d.ts +0 -1
- package/Button/Button.d.ts +0 -1
- package/Button/Button.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/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/Checkbox/CheckboxGroupContext.d.ts +0 -1
- package/DatePicker/DatePicker.d.ts +0 -1
- package/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/DateRangePicker/useDateRangePickerValue.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +0 -1
- package/DateTimePicker/DateTimePickerPanel.d.ts +0 -1
- package/Drawer/Drawer.d.ts +0 -1
- package/Form/FormControlContext.d.ts +0 -1
- package/Form/FormField.d.ts +0 -1
- package/Form/FormMessage.d.ts +0 -1
- package/Form/useAutoCompleteValueControl.js +4 -1
- package/Form/useCheckboxControlValue.d.ts +1 -1
- package/Form/useControlValueState.d.ts +0 -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.d.ts +0 -1
- package/Loading/Loading.d.ts +0 -1
- package/Menu/Menu.d.ts +0 -1
- package/Menu/MenuDivider.d.ts +0 -1
- package/Menu/MenuItem.d.ts +0 -1
- package/Modal/Modal.d.ts +0 -1
- package/Modal/ModalActions.d.ts +0 -1
- package/Modal/ModalBody.d.ts +0 -1
- package/Modal/ModalControl.d.ts +0 -1
- package/Modal/ModalFooter.d.ts +0 -1
- package/Modal/ModalHeader.d.ts +0 -1
- package/Modal/useModalContainer.d.ts +1 -2
- package/Navigation/NavigationContext.d.ts +0 -1
- package/Notifier/NotifierManager.d.ts +1 -1
- package/Pagination/Pagination.d.ts +1 -1
- package/Pagination/PaginationJumper.d.ts +1 -1
- package/Pagination/PaginationPageSize.d.ts +1 -1
- package/Progress/Progress.d.ts +0 -1
- package/Provider/context.d.ts +0 -1
- package/Radio/RadioGroupContext.d.ts +0 -1
- package/Select/AutoComplete.d.ts +0 -1
- package/Select/Option.d.ts +0 -1
- package/Select/Select.d.ts +0 -1
- package/Select/SelectControlContext.d.ts +0 -1
- package/Select/TreeSelect.d.ts +0 -1
- package/Skeleton/Skeleton.d.ts +0 -1
- package/Slider/useSlider.js +1 -1
- package/Stepper/Step.d.ts +0 -1
- 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/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/pagination/useTablePagination.d.ts +1 -1
- package/Table/rowSelection/TableRowSelection.d.ts +0 -1
- package/Table/rowSelection/TableRowSelection.js +1 -2
- package/Table/rowSelection/useTableRowSelection.d.ts +1 -1
- package/Table/sorting/TableSortingIcon.d.ts +0 -1
- package/Table/sorting/TableSortingIcon.js +1 -2
- package/Table/sorting/useTableSorting.d.ts +1 -2
- package/Table/useTableFetchMore.d.ts +1 -1
- package/Table/useTableLoading.d.ts +1 -1
- package/Table/useTableScroll.d.ts +126 -114
- package/Tabs/Tab.d.ts +0 -1
- package/TimePicker/TimePicker.d.ts +0 -1
- package/TimePicker/TimePickerPanel.d.ts +0 -1
- package/Tooltip/useDelayMouseEnterLeave.d.ts +0 -1
- package/Transition/Collapse.d.ts +0 -1
- package/Transition/Fade.d.ts +0 -1
- package/Transition/Grow.d.ts +0 -1
- package/Transition/SlideFade.d.ts +0 -1
- package/Transition/Transition.d.ts +1 -1
- package/Transition/Zoom.d.ts +0 -1
- package/Transition/useAutoTransitionDuration.d.ts +0 -1
- package/Tree/TreeNode.d.ts +0 -1
- package/Tree/TreeNodeList.d.ts +0 -1
- package/Tree/useTreeExpandedValue.d.ts +0 -1
- package/Typography/Typography.js +1 -2
- package/Upload/UploadButton.d.ts +0 -1
- package/Upload/UploadInput.d.ts +0 -1
- package/Upload/UploadInput.js +1 -2
- package/Upload/UploadPictureWallItem.d.ts +1 -1
- package/Upload/UploadPictureWallItem.js +1 -2
- package/_internal/InputTriggerPopper/InputTriggerPopper.d.ts +0 -1
- package/_internal/SlideFadeOverlay/SlideFadeOverlay.d.ts +0 -1
- package/index.d.ts +1 -0
- 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/Table/TableBody.js
CHANGED
|
@@ -20,6 +20,5 @@ const TableBody = forwardRef(function TableBody(props, ref) {
|
|
|
20
20
|
const currentDataSource = pagination && !disableAutoSlicing ? (dataSource.slice(currentStartCount, currentEndCount)) : dataSource;
|
|
21
21
|
return (jsxs("tbody", { ...rest, ref: ref, className: cx(tableClasses.body, className), children: [currentDataSource.length ? currentDataSource.map((rowData, index) => (jsx(TableBodyRow, { className: rowClassName, rowData: rowData, rowIndex: index }, (rowData.key || rowData.id)))) : (jsx("tr", { children: jsx("td", { children: jsx(Empty, { ...restEmptyProps, className: cx(tableClasses.bodyEmpty, emptyComponentClassName), fullHeight: emptyComponentFullHeight, children: emptyComponentChildren }) }) })), (fetchMore === null || fetchMore === void 0 ? void 0 : fetchMore.isFetching) ? (jsx("tr", { className: tableClasses.bodyFetchMore, children: jsx("td", { "aria-label": "Loading", children: jsx(Loading, { loading: true }) }) })) : null] }));
|
|
22
22
|
});
|
|
23
|
-
var TableBody$1 = TableBody;
|
|
24
23
|
|
|
25
|
-
export { TableBody
|
|
24
|
+
export { TableBody as default };
|
package/Table/TableBodyRow.d.ts
CHANGED
package/Table/TableBodyRow.js
CHANGED
|
@@ -58,6 +58,5 @@ const TableBodyRow = forwardRef(function TableBodyRow(props, ref) {
|
|
|
58
58
|
return (jsx("td", { className: cx(tableClasses.bodyRowCellWrapper, isFirstColumnShouldSticky && idx === 0 && tableClasses.bodyRowCellWrapperFixed, isFirstColumnShouldSticky && idx === 0 && isHorizontalScrolling && tableClasses.bodyRowCellWrapperFixedStuck, column.bodyClassName), style: getColumnStyle(column), children: jsx(TableEditRenderWrapper, { ...column, rowData: rowData, children: jsx(TableCell, { ellipsis: ellipsis, forceShownTooltipWhenHovered: column.forceShownTooltipWhenHovered, style: getCellStyle(column), tooltipTitle: tooltipTitle, children: ((_d = column.render) === null || _d === void 0 ? void 0 : _d.call(column, rowData, rowIndex, column)) || get(rowData, column.dataIndex) }) }) }, `${column.dataIndex}-${column.title}-${(rowData.key || rowData.id)}`));
|
|
59
59
|
})] })) }, rowData.key || rowData.id), renderedExpandedContent ? (jsx("tr", { children: jsx("td", { style: { padding: 0 }, children: jsx(AccordionDetails, { className: cx(expanding.className, tableClasses.bodyRowExpandedTableWrapper), expanded: expanded, children: (renderedExpandedContent === null || renderedExpandedContent === void 0 ? void 0 : renderedExpandedContent.dataSource) ? (jsx(TableExpandedTable, { renderedExpandedContent: renderedExpandedContent })) : renderedExpandedContent }) }) })) : null] }));
|
|
60
60
|
});
|
|
61
|
-
var TableBodyRow$1 = TableBodyRow;
|
|
62
61
|
|
|
63
|
-
export { TableBodyRow
|
|
62
|
+
export { TableBodyRow as default };
|
package/Table/TableCell.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TableDataSource, ExpandedTableColumn } from '@mezzanine-ui/core/table';
|
|
3
2
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
4
3
|
export interface TableExpandedTableProps extends NativeElementPropsWithoutKeyAndRef<'div'> {
|
|
@@ -21,6 +21,5 @@ const TableExpandedTable = forwardRef(function TableExpandedTable(props, ref) {
|
|
|
21
21
|
})] }, (source.key || source.id)));
|
|
22
22
|
}) }));
|
|
23
23
|
});
|
|
24
|
-
var TableExpandedTable$1 = TableExpandedTable;
|
|
25
24
|
|
|
26
|
-
export { TableExpandedTable
|
|
25
|
+
export { TableExpandedTable as default };
|
package/Table/TableHeader.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
declare const TableHeader: import("react").ForwardRefExoticComponent<NativeElementPropsWithoutKeyAndRef<"div"> & import("react").RefAttributes<HTMLTableRowElement>>;
|
|
4
3
|
export default TableHeader;
|
package/Table/TableHeader.js
CHANGED
|
@@ -29,6 +29,5 @@ const TableHeader = forwardRef(function TableHeader(props, ref) {
|
|
|
29
29
|
return (jsx("th", { className: cx(tableClasses.headerCellWrapper, isFirstColumnShouldSticky && idx === 0 && tableClasses.headerCellWrapperFixed, isFirstColumnShouldSticky && idx === 0 && isHorizontalScrolling && tableClasses.headerCellWrapperFixedStuck, column.headerClassName), style: getColumnStyle(column), children: jsxs(TableCell, { ellipsis: false, style: getCellStyle(column), children: [((_a = column.renderTitle) === null || _a === void 0 ? void 0 : _a.call(column, tableClasses)) || column.title, typeof column.sorter === 'function' || typeof column.onSorted === 'function' ? (jsx(TableSortingIcon, { column: column })) : null] }) }, `${column.dataIndex}-${column.title}`));
|
|
30
30
|
})] }) }));
|
|
31
31
|
});
|
|
32
|
-
var TableHeader$1 = TableHeader;
|
|
33
32
|
|
|
34
|
-
export { TableHeader
|
|
33
|
+
export { TableHeader as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TableColumn, TableDataSource, TableRecord } from '@mezzanine-ui/core/table';
|
|
3
2
|
import { NativeElementPropsWithoutKeyAndRef } from '../../utils/jsx-types';
|
|
4
3
|
export interface EditableBodyCellProps extends NativeElementPropsWithoutKeyAndRef<'div'>, TableColumn<TableRecord<unknown>> {
|
|
5
4
|
rowData: TableDataSource;
|
|
6
5
|
}
|
|
7
|
-
declare function TableEditRenderWrapper({ children, dataIndex, editable, rowData, setCellProps, ...rest }: EditableBodyCellProps): JSX.Element;
|
|
6
|
+
declare function TableEditRenderWrapper({ children, dataIndex, editable, rowData, setCellProps, ...rest }: EditableBodyCellProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default TableEditRenderWrapper;
|
|
@@ -20,6 +20,5 @@ const TableExpandable = forwardRef(function TableExpandable(props, ref) {
|
|
|
20
20
|
[tableClasses.iconClickable]: expandable,
|
|
21
21
|
}), color: expandable ? 'primary' : 'disabled', icon: ChevronDownIcon, onClick: onClick, style: { transform: `rotate(${expanded ? '180deg' : '0'})` } })) : null }) }));
|
|
22
22
|
});
|
|
23
|
-
var TableExpandable$1 = TableExpandable;
|
|
24
23
|
|
|
25
|
-
export { TableExpandable
|
|
24
|
+
export { TableExpandable as default };
|
|
@@ -21,6 +21,5 @@ const TablePagination = forwardRef(function TablePagination(props, ref) {
|
|
|
21
21
|
const currentEndCount = Math.min(pageSizeProp * currentPage, total);
|
|
22
22
|
return (jsxs("div", { ...rest, ref: ref, className: cx(tableClasses.pagination, className), children: [jsx("span", { className: tableClasses.paginationIndicator, children: (_a = renderPaginationSummary === null || renderPaginationSummary === void 0 ? void 0 : renderPaginationSummary(currentStartCount, currentEndCount)) !== null && _a !== void 0 ? _a : `目前顯示 ${currentStartCount} - ${currentEndCount} 筆,共 ${total} 筆資料` }), jsx("div", { className: tableClasses.paginationActions, children: jsx(Pagination, { boundaryCount: boundaryCount, buttonText: jumperButtonText, className: paginationClassName, current: currentPage, disabled: disabled, hideNextButton: hideNextButton, hidePreviousButton: hidePreviousButton, hintText: jumperHintText, inputPlaceholder: jumperInputPlaceholder, onChange: setCurrentPage, onChangePageSize: onChangePageSize, pageSize: pageSizeProp, pageSizeLabel: pageSizeLabel, pageSizeOptions: pageSizeOptions, pageSizeUnit: pageSizeUnit, renderPageSizeOptionName: renderPageSizeOptionName, showJumper: showJumper, showPageSizeOptions: showPageSizeOptions, siblingCount: siblingCount, total: total }) })] }));
|
|
23
23
|
});
|
|
24
|
-
var TablePagination$1 = TablePagination;
|
|
25
24
|
|
|
26
|
-
export { TablePagination
|
|
25
|
+
export { TablePagination as default };
|
|
@@ -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) => void];
|
|
8
|
+
export declare function useTablePagination(props: UseTablePagination): readonly [number, (c: number) => ReturnType<(c: number) => void>];
|
|
@@ -81,6 +81,5 @@ const TableRowSelection = forwardRef(function TableRowSelection(props, ref) {
|
|
|
81
81
|
[tableClasses.iconClickable]: isMenuAllowOpen,
|
|
82
82
|
}), color: isMenuAllowOpen ? 'primary' : 'disabled', icon: MoreVerticalIcon, onClick: onIconClicked })) })) : null })) : null] }));
|
|
83
83
|
});
|
|
84
|
-
var TableRowSelection$1 = TableRowSelection;
|
|
85
84
|
|
|
86
|
-
export { TableRowSelection
|
|
85
|
+
export { TableRowSelection 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) => void];
|
|
6
|
+
export declare function useTableRowSelection(props: UseTableRowSelection): readonly [string[], (v: string) => ReturnType<(v: string) => void>];
|
|
@@ -24,6 +24,5 @@ const TableSortingIcon = forwardRef(function TableSortingIcon(props, ref) {
|
|
|
24
24
|
(_a = sorting === null || sorting === void 0 ? void 0 : sorting.onSort) === null || _a === void 0 ? void 0 : _a.call(sorting, column);
|
|
25
25
|
}, style: currentIconStyle.style }));
|
|
26
26
|
});
|
|
27
|
-
var TableSortingIcon$1 = TableSortingIcon;
|
|
28
27
|
|
|
29
|
-
export { TableSortingIcon
|
|
28
|
+
export { TableSortingIcon as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TableDataSource, TableColumn, TableRecord } from '@mezzanine-ui/core/table';
|
|
3
2
|
export interface UseTableSorting {
|
|
4
3
|
dataSource: TableDataSource[];
|
|
5
4
|
}
|
|
6
5
|
export type SortedType = 'desc' | 'asc' | 'none';
|
|
7
|
-
export declare function useTableSorting(props: UseTableSorting): readonly [TableDataSource[], (v: Pick<TableColumn<TableRecord<unknown>>, "dataIndex" | "sorter" | "onSorted">) => void
|
|
6
|
+
export declare function useTableSorting(props: UseTableSorting): readonly [TableDataSource[], (v: Pick<TableColumn<TableRecord<unknown>>, "dataIndex" | "sorter" | "onSorted">) => ReturnType<(v: Pick<TableColumn<TableRecord<unknown>>, "dataIndex" | "sorter" | "onSorted">) => void>, {
|
|
8
7
|
readonly sortedOn: string;
|
|
9
8
|
readonly sortedType: SortedType;
|
|
10
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: (() => void) | undefined;
|
|
7
|
+
readonly fetchMore: (() => ReturnType<() => 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) => void];
|
|
5
|
+
export declare function useTableLoading(props: UseTableLoading): readonly [boolean, (l: boolean) => ReturnType<(l: boolean) => void>];
|
|
@@ -27,18 +27,18 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
27
27
|
suppressContentEditableWarning?: boolean | undefined;
|
|
28
28
|
suppressHydrationWarning?: boolean | undefined;
|
|
29
29
|
accessKey?: string | undefined;
|
|
30
|
+
autoFocus?: boolean | undefined;
|
|
30
31
|
className?: string | undefined;
|
|
31
|
-
contentEditable?: (boolean | "
|
|
32
|
+
contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
|
|
32
33
|
contextMenu?: string | undefined;
|
|
33
34
|
dir?: string | undefined;
|
|
34
|
-
draggable?: (boolean | "
|
|
35
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
35
36
|
hidden?: boolean | undefined;
|
|
36
37
|
id?: string | undefined;
|
|
37
38
|
lang?: string | undefined;
|
|
38
39
|
nonce?: string | undefined;
|
|
39
|
-
placeholder?: string | undefined;
|
|
40
40
|
slot?: string | undefined;
|
|
41
|
-
spellCheck?: (boolean | "
|
|
41
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
42
42
|
style?: import("react").CSSProperties | undefined;
|
|
43
43
|
tabIndex?: number | undefined;
|
|
44
44
|
title?: string | undefined;
|
|
@@ -46,11 +46,14 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
46
46
|
radioGroup?: string | undefined;
|
|
47
47
|
role?: import("react").AriaRole | undefined;
|
|
48
48
|
about?: string | undefined;
|
|
49
|
+
content?: string | undefined;
|
|
49
50
|
datatype?: string | undefined;
|
|
50
51
|
inlist?: any;
|
|
51
52
|
prefix?: string | undefined;
|
|
52
53
|
property?: string | undefined;
|
|
54
|
+
rel?: string | undefined;
|
|
53
55
|
resource?: string | undefined;
|
|
56
|
+
rev?: string | undefined;
|
|
54
57
|
typeof?: string | undefined;
|
|
55
58
|
vocab?: string | undefined;
|
|
56
59
|
autoCapitalize?: string | undefined;
|
|
@@ -65,59 +68,64 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
65
68
|
results?: number | undefined;
|
|
66
69
|
security?: string | undefined;
|
|
67
70
|
unselectable?: "on" | "off" | undefined;
|
|
68
|
-
inputMode?: "none" | "
|
|
71
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
69
72
|
is?: string | undefined;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
73
|
+
"aria-activedescendant"?: string | undefined;
|
|
74
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
75
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
76
|
+
"aria-braillelabel"?: string | undefined;
|
|
77
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
78
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
79
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
80
|
+
"aria-colcount"?: number | undefined;
|
|
81
|
+
"aria-colindex"?: number | undefined;
|
|
82
|
+
"aria-colindextext"?: string | undefined;
|
|
83
|
+
"aria-colspan"?: number | undefined;
|
|
84
|
+
"aria-controls"?: string | undefined;
|
|
85
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
86
|
+
"aria-describedby"?: string | undefined;
|
|
87
|
+
"aria-description"?: string | undefined;
|
|
88
|
+
"aria-details"?: string | undefined;
|
|
89
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
90
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
91
|
+
"aria-errormessage"?: string | undefined;
|
|
92
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
93
|
+
"aria-flowto"?: string | undefined;
|
|
94
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
95
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
96
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
97
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
98
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
99
|
+
"aria-label"?: string | undefined;
|
|
100
|
+
"aria-labelledby"?: string | undefined;
|
|
101
|
+
"aria-level"?: number | undefined;
|
|
102
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
103
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
104
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
105
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
106
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
107
|
+
"aria-owns"?: string | undefined;
|
|
108
|
+
"aria-placeholder"?: string | undefined;
|
|
109
|
+
"aria-posinset"?: number | undefined;
|
|
110
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
111
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
112
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
113
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
114
|
+
"aria-roledescription"?: string | undefined;
|
|
115
|
+
"aria-rowcount"?: number | undefined;
|
|
116
|
+
"aria-rowindex"?: number | undefined;
|
|
117
|
+
"aria-rowindextext"?: string | undefined;
|
|
118
|
+
"aria-rowspan"?: number | undefined;
|
|
119
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
120
|
+
"aria-setsize"?: number | undefined;
|
|
121
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
122
|
+
"aria-valuemax"?: number | undefined;
|
|
123
|
+
"aria-valuemin"?: number | undefined;
|
|
124
|
+
"aria-valuenow"?: number | undefined;
|
|
125
|
+
"aria-valuetext"?: string | undefined;
|
|
126
|
+
children?: import("react").ReactNode | undefined;
|
|
119
127
|
dangerouslySetInnerHTML?: {
|
|
120
|
-
__html: string;
|
|
128
|
+
__html: string | TrustedHTML;
|
|
121
129
|
} | undefined;
|
|
122
130
|
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
123
131
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -258,9 +266,7 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
258
266
|
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
267
|
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
268
|
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
261
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
262
269
|
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
263
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
264
270
|
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
265
271
|
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
266
272
|
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
@@ -291,18 +297,18 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
291
297
|
suppressContentEditableWarning?: boolean | undefined;
|
|
292
298
|
suppressHydrationWarning?: boolean | undefined;
|
|
293
299
|
accessKey?: string | undefined;
|
|
300
|
+
autoFocus?: boolean | undefined;
|
|
294
301
|
className?: string | undefined;
|
|
295
|
-
contentEditable?: (boolean | "
|
|
302
|
+
contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
|
|
296
303
|
contextMenu?: string | undefined;
|
|
297
304
|
dir?: string | undefined;
|
|
298
|
-
draggable?: (boolean | "
|
|
305
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
299
306
|
hidden?: boolean | undefined;
|
|
300
307
|
id?: string | undefined;
|
|
301
308
|
lang?: string | undefined;
|
|
302
309
|
nonce?: string | undefined;
|
|
303
|
-
placeholder?: string | undefined;
|
|
304
310
|
slot?: string | undefined;
|
|
305
|
-
spellCheck?: (boolean | "
|
|
311
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
306
312
|
style?: import("react").CSSProperties | undefined;
|
|
307
313
|
tabIndex?: number | undefined;
|
|
308
314
|
title?: string | undefined;
|
|
@@ -310,11 +316,14 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
310
316
|
radioGroup?: string | undefined;
|
|
311
317
|
role?: import("react").AriaRole | undefined;
|
|
312
318
|
about?: string | undefined;
|
|
319
|
+
content?: string | undefined;
|
|
313
320
|
datatype?: string | undefined;
|
|
314
321
|
inlist?: any;
|
|
315
322
|
prefix?: string | undefined;
|
|
316
323
|
property?: string | undefined;
|
|
324
|
+
rel?: string | undefined;
|
|
317
325
|
resource?: string | undefined;
|
|
326
|
+
rev?: string | undefined;
|
|
318
327
|
typeof?: string | undefined;
|
|
319
328
|
vocab?: string | undefined;
|
|
320
329
|
autoCapitalize?: string | undefined;
|
|
@@ -329,59 +338,64 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
329
338
|
results?: number | undefined;
|
|
330
339
|
security?: string | undefined;
|
|
331
340
|
unselectable?: "on" | "off" | undefined;
|
|
332
|
-
inputMode?: "none" | "
|
|
341
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
333
342
|
is?: string | undefined;
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
343
|
+
"aria-activedescendant"?: string | undefined;
|
|
344
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
345
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
346
|
+
"aria-braillelabel"?: string | undefined;
|
|
347
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
348
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
349
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
350
|
+
"aria-colcount"?: number | undefined;
|
|
351
|
+
"aria-colindex"?: number | undefined;
|
|
352
|
+
"aria-colindextext"?: string | undefined;
|
|
353
|
+
"aria-colspan"?: number | undefined;
|
|
354
|
+
"aria-controls"?: string | undefined;
|
|
355
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
356
|
+
"aria-describedby"?: string | undefined;
|
|
357
|
+
"aria-description"?: string | undefined;
|
|
358
|
+
"aria-details"?: string | undefined;
|
|
359
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
360
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
361
|
+
"aria-errormessage"?: string | undefined;
|
|
362
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
363
|
+
"aria-flowto"?: string | undefined;
|
|
364
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
365
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
366
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
367
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
368
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
369
|
+
"aria-label"?: string | undefined;
|
|
370
|
+
"aria-labelledby"?: string | undefined;
|
|
371
|
+
"aria-level"?: number | undefined;
|
|
372
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
373
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
374
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
375
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
376
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
377
|
+
"aria-owns"?: string | undefined;
|
|
378
|
+
"aria-placeholder"?: string | undefined;
|
|
379
|
+
"aria-posinset"?: number | undefined;
|
|
380
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
381
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
382
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
383
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
384
|
+
"aria-roledescription"?: string | undefined;
|
|
385
|
+
"aria-rowcount"?: number | undefined;
|
|
386
|
+
"aria-rowindex"?: number | undefined;
|
|
387
|
+
"aria-rowindextext"?: string | undefined;
|
|
388
|
+
"aria-rowspan"?: number | undefined;
|
|
389
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
390
|
+
"aria-setsize"?: number | undefined;
|
|
391
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
392
|
+
"aria-valuemax"?: number | undefined;
|
|
393
|
+
"aria-valuemin"?: number | undefined;
|
|
394
|
+
"aria-valuenow"?: number | undefined;
|
|
395
|
+
"aria-valuetext"?: string | undefined;
|
|
396
|
+
children?: import("react").ReactNode | undefined;
|
|
383
397
|
dangerouslySetInnerHTML?: {
|
|
384
|
-
__html: string;
|
|
398
|
+
__html: string | TrustedHTML;
|
|
385
399
|
} | undefined;
|
|
386
400
|
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
387
401
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -522,9 +536,7 @@ export default function useTableScroll(props: TableScrollProps): readonly [{
|
|
|
522
536
|
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
523
537
|
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
524
538
|
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
525
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
526
539
|
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
527
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
528
540
|
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
529
541
|
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
530
542
|
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
package/Tabs/Tab.d.ts
CHANGED
package/Transition/Collapse.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types';
|
|
3
2
|
import { TransitionImplementationProps } from './Transition';
|
|
4
3
|
export interface CollapseProps extends TransitionImplementationProps, Omit<NativeElementPropsWithoutKeyAndRef<'div'>, 'children'> {
|
package/Transition/Fade.d.ts
CHANGED
package/Transition/Grow.d.ts
CHANGED
|
@@ -94,5 +94,5 @@ export interface TransitionImplementationProps extends Omit<TransitionProps, 'ad
|
|
|
94
94
|
/**
|
|
95
95
|
* The react component for `mezzanine` transition.
|
|
96
96
|
*/
|
|
97
|
-
declare function Transition(props: TransitionProps): JSX.Element;
|
|
97
|
+
declare function Transition(props: TransitionProps): import("react/jsx-runtime").JSX.Element;
|
|
98
98
|
export default Transition;
|
package/Transition/Zoom.d.ts
CHANGED
package/Tree/TreeNode.d.ts
CHANGED