@atlaskit/dynamic-table 14.13.1 → 14.15.0
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/CHANGELOG.md +16 -0
- package/dist/cjs/components/body.js +1 -1
- package/dist/cjs/components/error-boundary.js +1 -1
- package/dist/cjs/components/loading-container-advanced.js +7 -4
- package/dist/cjs/components/loading-container.js +7 -4
- package/dist/cjs/components/managed-pagination.js +4 -2
- package/dist/cjs/components/rankable/body.js +1 -1
- package/dist/cjs/components/rankable/table-cell.js +4 -3
- package/dist/cjs/components/rankable/table-head-cell.js +1 -1
- package/dist/cjs/components/rankable/table-row.js +1 -1
- package/dist/cjs/components/stateful.js +3 -1
- package/dist/cjs/components/stateless.js +15 -8
- package/dist/cjs/components/table-head.js +1 -1
- package/dist/cjs/components/table-row.js +3 -2
- package/dist/cjs/hoc/with-dimensions.js +1 -1
- package/dist/cjs/hoc/with-sorted-page-rows.js +1 -1
- package/dist/cjs/styled/dynamic-table.js +11 -12
- package/dist/cjs/theme.js +2 -2
- package/dist/es2019/components/loading-container-advanced.js +6 -3
- package/dist/es2019/components/loading-container.js +6 -3
- package/dist/es2019/components/managed-pagination.js +3 -1
- package/dist/es2019/components/rankable/table-cell.js +2 -1
- package/dist/es2019/components/stateful.js +2 -0
- package/dist/es2019/components/stateless.js +12 -5
- package/dist/es2019/components/table-row.js +2 -1
- package/dist/es2019/styled/dynamic-table.js +10 -11
- package/dist/esm/components/body.js +1 -1
- package/dist/esm/components/error-boundary.js +1 -1
- package/dist/esm/components/loading-container-advanced.js +7 -4
- package/dist/esm/components/loading-container.js +7 -4
- package/dist/esm/components/managed-pagination.js +4 -2
- package/dist/esm/components/rankable/body.js +1 -1
- package/dist/esm/components/rankable/table-cell.js +4 -3
- package/dist/esm/components/rankable/table-head-cell.js +1 -1
- package/dist/esm/components/rankable/table-row.js +1 -1
- package/dist/esm/components/stateful.js +3 -1
- package/dist/esm/components/stateless.js +13 -6
- package/dist/esm/components/table-head.js +1 -1
- package/dist/esm/components/table-row.js +3 -2
- package/dist/esm/hoc/with-dimensions.js +1 -1
- package/dist/esm/hoc/with-sorted-page-rows.js +1 -1
- package/dist/esm/styled/dynamic-table.js +11 -12
- package/dist/types/components/loading-container-advanced.d.ts +2 -0
- package/dist/types/components/loading-container.d.ts +2 -0
- package/dist/types/components/managed-pagination.d.ts +1 -0
- package/dist/types/components/stateless.d.ts +2 -2
- package/dist/types/styled/dynamic-table.d.ts +3 -1
- package/dist/types/types.d.ts +50 -44
- package/dist/types-ts4.5/components/loading-container-advanced.d.ts +2 -0
- package/dist/types-ts4.5/components/loading-container.d.ts +2 -0
- package/dist/types-ts4.5/components/managed-pagination.d.ts +1 -0
- package/dist/types-ts4.5/components/stateless.d.ts +2 -2
- package/dist/types-ts4.5/styled/dynamic-table.d.ts +3 -1
- package/dist/types-ts4.5/types.d.ts +50 -44
- package/package.json +6 -5
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { FC, HTMLProps, ReactNode } from 'react';
|
|
3
3
|
export type TableProps = HTMLProps<HTMLTableElement> & {
|
|
4
4
|
isFixedSize?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
5
6
|
hasDataRow: boolean;
|
|
6
7
|
testId?: string;
|
|
7
8
|
};
|
|
@@ -11,10 +12,11 @@ export declare const tableRowCSSVars: {
|
|
|
11
12
|
CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND: string;
|
|
12
13
|
CSS_VAR_ROW_FOCUS_OUTLINE: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const Table: import("react").ForwardRefExoticComponent<Pick<TableProps, "headers" | "method" | "rows" | "isFixedSize" | "testId" | "label" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "default" | "width" | "height" | "content" | "hasDataRow" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
15
|
+
export declare const Table: import("react").ForwardRefExoticComponent<Pick<TableProps, "headers" | "method" | "rows" | "isLoading" | "isFixedSize" | "testId" | "label" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "default" | "width" | "height" | "content" | "hasDataRow" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
15
16
|
export declare const Caption: FC<{
|
|
16
17
|
children: ReactNode;
|
|
17
18
|
}>;
|
|
18
19
|
export declare const PaginationWrapper: FC<{
|
|
19
20
|
children: ReactNode;
|
|
21
|
+
testId?: string;
|
|
20
22
|
}>;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -42,7 +42,8 @@ export interface I18nShape {
|
|
|
42
42
|
}
|
|
43
43
|
export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
44
44
|
/**
|
|
45
|
-
* Caption for the table styled as a heading.
|
|
45
|
+
* Caption for the table styled as a heading. This appears before the table header, and is announced when people who use assistive technology land on the table.
|
|
46
|
+
* If you don’t want the caption to appear on the page but do want it to be available for assistive technology, surround the caption with `<VisuallyHidden>`.
|
|
46
47
|
*/
|
|
47
48
|
caption?: React.ReactNode;
|
|
48
49
|
/**
|
|
@@ -62,8 +63,8 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
62
63
|
*/
|
|
63
64
|
emptyView?: React.ReactElement<any>;
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
-
* Defaults to `"large"` when a page has more than two rows,
|
|
66
|
+
* Sets the size of the loading spinner when `isLoading` is true.
|
|
67
|
+
* Defaults to `"large"` when a page has more than two rows, otherwise it will be `"small"`.
|
|
67
68
|
*/
|
|
68
69
|
loadingSpinnerSize?: LoadingSpinnerSizeType;
|
|
69
70
|
/**
|
|
@@ -71,7 +72,11 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
71
72
|
*/
|
|
72
73
|
isLoading?: boolean;
|
|
73
74
|
/**
|
|
74
|
-
*
|
|
75
|
+
* Accessible name for loading states spinner. Can be used for internationalization. Default is "Loading table".
|
|
76
|
+
*/
|
|
77
|
+
loadingLabel?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Use this to force columns to use their initial width regardless of the size of the content that loads in.
|
|
75
80
|
*/
|
|
76
81
|
isFixedSize?: boolean;
|
|
77
82
|
/**
|
|
@@ -83,21 +88,20 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
83
88
|
*/
|
|
84
89
|
totalRows?: number;
|
|
85
90
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
91
|
+
* A callback that happens when the table page has changed.
|
|
92
|
+
* Use this when you want to control the pagination of the table.
|
|
88
93
|
*/
|
|
89
94
|
onSetPage?: (page: number, UIAnalyticsEvent?: UIAnalyticsEvent) => void;
|
|
90
95
|
/**
|
|
91
|
-
*
|
|
92
|
-
* useful when wanting to control the sort order of the table.
|
|
96
|
+
* A callback that happens when a column heading has been sorted. Use this to provide custom sorting for the table.
|
|
93
97
|
*/
|
|
94
98
|
onSort?: (data: any, UIAnalyticsEvent?: UIAnalyticsEvent) => void;
|
|
95
99
|
/**
|
|
96
|
-
*
|
|
100
|
+
* A callback that happens when the rows displayed on a page have changed.
|
|
97
101
|
*/
|
|
98
102
|
onPageRowsUpdate?: (pageRows: Array<RowType>) => void;
|
|
99
103
|
/**
|
|
100
|
-
* Page the table should show. Set by default to 1, so never undefined.
|
|
104
|
+
* Page the table should show. Set by default to 1, so that it's never undefined.
|
|
101
105
|
*/
|
|
102
106
|
page?: number;
|
|
103
107
|
/**
|
|
@@ -110,29 +114,29 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
110
114
|
*/
|
|
111
115
|
sortOrder?: SortOrderType;
|
|
112
116
|
/**
|
|
113
|
-
*
|
|
117
|
+
* Use this to enable drag and drop sorting of table rows.
|
|
114
118
|
*/
|
|
115
119
|
isRankable?: boolean;
|
|
116
120
|
/**
|
|
117
121
|
* Disables being able to drop rows on the table.
|
|
118
|
-
*
|
|
122
|
+
* We recommend using `isRankable` instead of this prop, and it will be deprecated in a future release.
|
|
119
123
|
*/
|
|
120
124
|
isRankingDisabled?: boolean;
|
|
121
125
|
/**
|
|
122
|
-
*
|
|
126
|
+
* A callback that happens when a drag of a row has started.
|
|
123
127
|
*/
|
|
124
128
|
onRankStart?: (rankStart: RankStart) => void;
|
|
125
129
|
/**
|
|
126
|
-
*
|
|
130
|
+
* A callback that happens when a drop of a row has completed.
|
|
127
131
|
*/
|
|
128
132
|
onRankEnd?: (rankEnd: RankEnd, uiAnalyticsEvent?: UIAnalyticsEvent) => void;
|
|
129
133
|
/**
|
|
130
134
|
* Labels for the pagination wrapper, previous and next buttons used in pagination.
|
|
131
|
-
* Defaults to `"
|
|
135
|
+
* Defaults to `"Page"`, `"Pagination"`, `"Previous"` and `"Next"`.
|
|
132
136
|
*/
|
|
133
137
|
paginationi18n?: I18nShape;
|
|
134
138
|
/**
|
|
135
|
-
*
|
|
139
|
+
* Use this to set which rows will be highlighted. Never use highlighted rows to indicate that a person has selected or focused on the row.
|
|
136
140
|
*/
|
|
137
141
|
highlightedRowIndex?: number | number[];
|
|
138
142
|
/**
|
|
@@ -152,19 +156,20 @@ export interface StatelessProps extends WithAnalyticsEventsProps {
|
|
|
152
156
|
*/
|
|
153
157
|
testId?: string;
|
|
154
158
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* allows a custom message like "Entering
|
|
159
|
+
* If you don’t use a caption, then you’ll need to use label to describe the table for assistive technologies.
|
|
160
|
+
* Avoid using both at the same time as they may conflict.
|
|
161
|
+
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira Issues table".
|
|
158
162
|
*/
|
|
159
163
|
label?: string;
|
|
160
164
|
}
|
|
161
165
|
export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
162
166
|
/**
|
|
163
|
-
* Caption for the table styled as a heading.
|
|
167
|
+
* Caption for the table styled as a heading. This appears before the table header, and is announced when people who use assistive technology land on the table.
|
|
168
|
+
* If you don’t want the caption to appear on the page but do want it to be available for assistive technology, surround the caption with `<VisuallyHidden>`.
|
|
164
169
|
*/
|
|
165
170
|
caption?: React.ReactNode;
|
|
166
171
|
/**
|
|
167
|
-
* Cells to be placed in the head of the table.
|
|
172
|
+
* Cells to be placed in the head of the table. Never put controls, like links and buttons in the table header.
|
|
168
173
|
* Each element in the head creates a new column.
|
|
169
174
|
*/
|
|
170
175
|
head?: HeadType;
|
|
@@ -189,50 +194,51 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
189
194
|
*/
|
|
190
195
|
isLoading?: boolean;
|
|
191
196
|
/**
|
|
192
|
-
*
|
|
197
|
+
* Use this to set a label for assistive technology that describes the loading state.
|
|
198
|
+
* The default label is "Loading table". You can customize this to be more specific to your table, for example “Loading issue table”.
|
|
199
|
+
*/
|
|
200
|
+
loadingLabel?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Use this to force columns to use their initial width regardless of the size of the content that loads in.
|
|
193
203
|
*/
|
|
194
204
|
isFixedSize?: boolean;
|
|
195
205
|
/**
|
|
196
|
-
*
|
|
206
|
+
* Use this to control how many rows should be displayed per page. If the number of rows exceed one page, this will enable pagination.
|
|
197
207
|
*/
|
|
198
208
|
rowsPerPage?: number;
|
|
199
209
|
/**
|
|
200
|
-
*
|
|
201
|
-
* useful when wanting to control dynamic table.
|
|
210
|
+
* A callback that happens when the table page has changed.
|
|
202
211
|
*/
|
|
203
212
|
onSetPage?: (page: number, UIAnalyticsEvent?: UIAnalyticsEvent) => void;
|
|
204
213
|
/**
|
|
205
|
-
*
|
|
206
|
-
* useful when wanting to control dynamic table.
|
|
214
|
+
* A callback that happens when a column heading has been sorted. Use this to provide custom sorting.
|
|
207
215
|
*/
|
|
208
216
|
onSort?: (data: any, UIAnalyticsEvent?: UIAnalyticsEvent) => void;
|
|
209
217
|
/**
|
|
210
|
-
*
|
|
218
|
+
* A callback that happens when the rows displayed on a page have changed.
|
|
211
219
|
*/
|
|
212
220
|
onPageRowsUpdate?: (pageRows: Array<RowType>) => void;
|
|
213
221
|
/**
|
|
214
222
|
* Page the table should show.
|
|
215
|
-
* Useful when wanting to control dynamic table.
|
|
216
223
|
*/
|
|
217
224
|
page?: number;
|
|
218
225
|
/**
|
|
219
|
-
*
|
|
226
|
+
* When the table is initially rendered, use this to set which page number is shown by default.
|
|
227
|
+
* In most circumstances, people will expect this to be page `1`.
|
|
220
228
|
*/
|
|
221
229
|
defaultPage?: number;
|
|
222
230
|
/**
|
|
223
231
|
* Column key that the rows should be sorted by.
|
|
224
232
|
* Corresponds to the `key`'s defined in the `head` prop.
|
|
225
|
-
* Useful when wanting to control dynamic table.
|
|
226
233
|
*/
|
|
227
234
|
sortKey?: string;
|
|
228
235
|
/**
|
|
229
|
-
*
|
|
236
|
+
* Sets which column the rows should be sorted by when the table is initially rendered.
|
|
230
237
|
* Corresponds to the `key`'s defined in the `head` prop.
|
|
231
238
|
*/
|
|
232
239
|
defaultSortKey?: string;
|
|
233
240
|
/**
|
|
234
241
|
* Column sort order.
|
|
235
|
-
* Useful when wanting to control dynamic table.
|
|
236
242
|
*/
|
|
237
243
|
sortOrder?: SortOrderType;
|
|
238
244
|
/**
|
|
@@ -241,29 +247,29 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
241
247
|
*/
|
|
242
248
|
defaultSortOrder?: SortOrderType;
|
|
243
249
|
/**
|
|
244
|
-
*
|
|
250
|
+
* Use this to enable drag and drop sorting of table rows.
|
|
245
251
|
*/
|
|
246
252
|
isRankable?: boolean;
|
|
247
253
|
/**
|
|
248
254
|
* Disables being able to drop rows on the table.
|
|
249
|
-
*
|
|
255
|
+
* We recommend using `isRankable` instead of this prop, and it will be deprecated in a future release.
|
|
250
256
|
*/
|
|
251
257
|
isRankingDisabled?: boolean;
|
|
252
258
|
/**
|
|
253
|
-
*
|
|
259
|
+
* A callback that happens when a drag of a row has started.
|
|
254
260
|
*/
|
|
255
261
|
onRankStart?: (rankStart: RankStart) => void;
|
|
256
262
|
/**
|
|
257
|
-
*
|
|
263
|
+
* A callback that happens when a drop of a row has completed.
|
|
258
264
|
*/
|
|
259
265
|
onRankEnd?: (rankEnd: RankEnd) => void;
|
|
260
266
|
/**
|
|
261
267
|
* Labels for the previous and next buttons used in pagination.
|
|
262
|
-
* Defaults to `"
|
|
268
|
+
* Defaults to `"Previous"` and `"Next"`.
|
|
263
269
|
*/
|
|
264
270
|
paginationi18n?: I18nShape;
|
|
265
271
|
/**
|
|
266
|
-
*
|
|
272
|
+
* Use this to set if the row will be highlighted. Never use highlighted rows to indicate that a person has selected or focused on the row.
|
|
267
273
|
*/
|
|
268
274
|
highlightedRowIndex?: number | number[];
|
|
269
275
|
/**
|
|
@@ -282,9 +288,9 @@ export interface StatefulProps extends WithAnalyticsEventsProps {
|
|
|
282
288
|
*/
|
|
283
289
|
testId?: string;
|
|
284
290
|
/**
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
* allows a custom message like "Entering
|
|
291
|
+
* If you don’t use a caption, then you’ll need to use label to describe the table for assistive technologies.
|
|
292
|
+
* Avoid using both at the same time as they may conflict.
|
|
293
|
+
* Rather than a screen reader speaking "Entering table", passing in an label allows a custom message like "Entering Jira Issues table".
|
|
288
294
|
*/
|
|
289
295
|
label?: string;
|
|
290
296
|
}
|
|
@@ -300,7 +306,7 @@ export interface RowType extends React.ComponentPropsWithoutRef<'tr'> {
|
|
|
300
306
|
*/
|
|
301
307
|
onKeyPress?: React.KeyboardEventHandler;
|
|
302
308
|
/**
|
|
303
|
-
*
|
|
309
|
+
* Use this to set if the row will be highlighted. Never use highlighted rows to indicate that a person has selected or focused on the row.
|
|
304
310
|
*/
|
|
305
311
|
isHighlighted?: boolean;
|
|
306
312
|
/**
|
|
@@ -329,7 +335,7 @@ export interface HeadCellType extends RowCellType {
|
|
|
329
335
|
*/
|
|
330
336
|
width?: number;
|
|
331
337
|
/**
|
|
332
|
-
* Whether the text in the cell will truncate or not if constrained.
|
|
338
|
+
* Whether the text in the cell will truncate or not if constrained. Avoid truncating content wherever possible.
|
|
333
339
|
*/
|
|
334
340
|
shouldTruncate?: boolean;
|
|
335
341
|
}
|
|
@@ -6,6 +6,7 @@ export interface LoadingContainerAdvancedProps {
|
|
|
6
6
|
contentsOpacity: number | string;
|
|
7
7
|
targetRef?: () => HTMLTableSectionElement | null;
|
|
8
8
|
testId?: string;
|
|
9
|
+
loadingLabel?: string;
|
|
9
10
|
}
|
|
10
11
|
export default class LoadingContainerAdvanced extends React.Component<LoadingContainerAdvancedProps, {}> {
|
|
11
12
|
spinnerRef: React.RefObject<HTMLDivElement>;
|
|
@@ -14,6 +15,7 @@ export default class LoadingContainerAdvanced extends React.Component<LoadingCon
|
|
|
14
15
|
isLoading: boolean;
|
|
15
16
|
spinnerSize: string;
|
|
16
17
|
contentsOpacity: "var(--ds-opacity-loading)";
|
|
18
|
+
loadingLabel: string;
|
|
17
19
|
};
|
|
18
20
|
componentDidMount: () => void;
|
|
19
21
|
UNSAFE_componentWillReceiveProps: (nextProps: LoadingContainerAdvancedProps) => void;
|
|
@@ -6,12 +6,14 @@ interface LoadingContainerProps {
|
|
|
6
6
|
spinnerSize?: SpinnerSizeType;
|
|
7
7
|
contentsOpacity: number;
|
|
8
8
|
testId?: string;
|
|
9
|
+
loadingLabel?: string;
|
|
9
10
|
}
|
|
10
11
|
export default class LoadingContainer extends React.Component<LoadingContainerProps> {
|
|
11
12
|
static defaultProps: {
|
|
12
13
|
isLoading: boolean;
|
|
13
14
|
spinnerSize: string;
|
|
14
15
|
contentsOpacity: number;
|
|
16
|
+
loadingLabel: string;
|
|
15
17
|
};
|
|
16
18
|
render(): JSX.Element;
|
|
17
19
|
}
|
|
@@ -7,6 +7,7 @@ interface ManagedPaginationProps {
|
|
|
7
7
|
total: number;
|
|
8
8
|
i18n?: I18nShape;
|
|
9
9
|
testId?: string;
|
|
10
|
+
isDisabled?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export default class ManagedPagination extends React.Component<ManagedPaginationProps> {
|
|
12
13
|
onChange: (_event: any, newValue: any, analyticsEvent?: UIAnalyticsEvent) => void;
|
|
@@ -39,7 +39,7 @@ declare class DynamicTable extends React.Component<Props, State> {
|
|
|
39
39
|
render(): JSX.Element;
|
|
40
40
|
}
|
|
41
41
|
export { DynamicTable as DynamicTableWithoutAnalytics };
|
|
42
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "head" | "caption" | "rows" | "emptyView" | "loadingSpinnerSize" | "totalRows" | "onPageRowsUpdate" | "sortKey" | "sortOrder" | "highlightedRowIndex" | "testId" | "label"> & Partial<Pick<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "isLoading" | "isFixedSize" | "rowsPerPage" | "onSetPage" | "onSort" | "page" | "isRankable" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "paginationi18n">> & Partial<Pick<{
|
|
42
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "head" | "caption" | "rows" | "emptyView" | "loadingSpinnerSize" | "loadingLabel" | "totalRows" | "onPageRowsUpdate" | "sortKey" | "sortOrder" | "highlightedRowIndex" | "testId" | "label"> & Partial<Pick<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "isLoading" | "isFixedSize" | "rowsPerPage" | "onSetPage" | "onSort" | "page" | "isRankable" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "paginationi18n">> & Partial<Pick<{
|
|
43
43
|
isLoading: boolean;
|
|
44
44
|
isFixedSize: boolean;
|
|
45
45
|
rowsPerPage: number;
|
|
@@ -56,5 +56,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<Props, ke
|
|
|
56
56
|
label: string;
|
|
57
57
|
pageLabel: string;
|
|
58
58
|
};
|
|
59
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "head" | "caption" | "rows" | "emptyView" | "loadingSpinnerSize" | "isLoading" | "isFixedSize" | "rowsPerPage" | "totalRows" | "onSetPage" | "onSort" | "onPageRowsUpdate" | "page" | "sortKey" | "sortOrder" | "isRankable" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "paginationi18n" | "highlightedRowIndex" | "testId" | "label" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
|
|
59
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "head" | "caption" | "rows" | "emptyView" | "loadingSpinnerSize" | "isLoading" | "loadingLabel" | "isFixedSize" | "rowsPerPage" | "totalRows" | "onSetPage" | "onSort" | "onPageRowsUpdate" | "page" | "sortKey" | "sortOrder" | "isRankable" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "paginationi18n" | "highlightedRowIndex" | "testId" | "label" | "key" | "analyticsContext"> & React.RefAttributes<any>>;
|
|
60
60
|
export default _default;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { FC, HTMLProps, ReactNode } from 'react';
|
|
3
3
|
export type TableProps = HTMLProps<HTMLTableElement> & {
|
|
4
4
|
isFixedSize?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
5
6
|
hasDataRow: boolean;
|
|
6
7
|
testId?: string;
|
|
7
8
|
};
|
|
@@ -11,10 +12,11 @@ export declare const tableRowCSSVars: {
|
|
|
11
12
|
CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND: string;
|
|
12
13
|
CSS_VAR_ROW_FOCUS_OUTLINE: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const Table: import("react").ForwardRefExoticComponent<Pick<TableProps, "headers" | "method" | "rows" | "isFixedSize" | "testId" | "label" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "default" | "width" | "height" | "content" | "hasDataRow" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
15
|
+
export declare const Table: import("react").ForwardRefExoticComponent<Pick<TableProps, "headers" | "method" | "rows" | "isLoading" | "isFixedSize" | "testId" | "label" | "cite" | "data" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "default" | "width" | "height" | "content" | "hasDataRow" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
15
16
|
export declare const Caption: FC<{
|
|
16
17
|
children: ReactNode;
|
|
17
18
|
}>;
|
|
18
19
|
export declare const PaginationWrapper: FC<{
|
|
19
20
|
children: ReactNode;
|
|
21
|
+
testId?: string;
|
|
20
22
|
}>;
|