react-magma-dom 4.10.1-next.0 → 5.0.1-rc.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/dist/components/AIButton/AIButton.stories.d.ts +37 -0
- package/dist/components/AIButton/StyledAIButtonTemplate.d.ts +2 -2
- package/dist/components/Accordion/Accordion.d.ts +4 -3
- package/dist/components/Accordion/Accordion.stories.d.ts +49 -0
- package/dist/components/Accordion/AccordionButton.d.ts +4 -3
- package/dist/components/Accordion/AccordionItem.d.ts +4 -3
- package/dist/components/Accordion/AccordionPanel.d.ts +4 -3
- package/dist/components/Alert/Alert.stories.d.ts +5 -0
- package/dist/components/Alert/index.d.ts +4 -3
- package/dist/components/AlertBase/index.d.ts +1 -1
- package/dist/components/Announce/Announce.stories.d.ts +4 -0
- package/dist/components/Announce/index.d.ts +5 -4
- package/dist/components/AppBar/AppBar.d.ts +4 -3
- package/dist/components/AppBar/AppBar.stories.d.ts +21 -0
- package/dist/components/Badge/Badge.stories.d.ts +5 -0
- package/dist/components/Badge/index.d.ts +4 -3
- package/dist/components/Banner/Banner.stories.d.ts +15 -0
- package/dist/components/Banner/index.d.ts +4 -3
- package/dist/components/BlockQuote/BlockQuote.d.ts +4 -3
- package/dist/components/BlockQuote/BlockQuote.stories.d.ts +17 -0
- package/dist/components/BlockQuote/BlockQuoteItem.d.ts +4 -3
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +4 -3
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +17 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +4 -3
- package/dist/components/BreakpointsContainer/BreakpointsContainer.stories.d.ts +4 -0
- package/dist/components/BreakpointsContainer/index.d.ts +4 -3
- package/dist/components/Button/Button.stories.d.ts +42 -0
- package/dist/components/Button/index.d.ts +4 -3
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +24 -0
- package/dist/components/ButtonGroup/index.d.ts +4 -3
- package/dist/components/Card/Card.d.ts +4 -3
- package/dist/components/Card/Card.stories.d.ts +13 -0
- package/dist/components/Card/CardBody.d.ts +4 -3
- package/dist/components/Card/CardHeading.d.ts +4 -3
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +39 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/components/Checkbox/index.d.ts +3 -3
- package/dist/components/Combobox/Combobox.stories.d.ts +142 -0
- package/dist/components/Container/Container.d.ts +4 -3
- package/dist/components/Container/Container.stories.d.ts +34 -0
- package/dist/components/Datagrid/Datagrid.d.ts +4 -3
- package/dist/components/Datagrid/Datagrid.stories.d.ts +296 -0
- package/dist/components/DatePicker/DatePicker.stories.d.ts +36 -0
- package/dist/components/DatePicker/StyledSelect.d.ts +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts +25 -0
- package/dist/components/DefinitionList/DefinitionList.stories.d.ts +32 -0
- package/dist/components/Drawer/Drawer.stories.d.ts +36 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +76 -0
- package/dist/components/Dropdown/DropdownContent.d.ts +4 -3
- package/dist/components/Dropdown/DropdownExpandableMenuPanel.d.ts +3 -2
- package/dist/components/Dropdown/DropdownHeader.d.ts +4 -3
- package/dist/components/Dropdown/DropdownMenuGroup.d.ts +4 -3
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +1 -1
- package/dist/components/Flex/Flex.d.ts +4 -3
- package/dist/components/Flex/Flex.stories.d.ts +46 -0
- package/dist/components/Form/Form.stories.d.ts +27 -0
- package/dist/components/Form/index.d.ts +4 -3
- package/dist/components/FormGroup/FormGroup.stories.d.ts +4 -0
- package/dist/components/FormGroup/index.d.ts +4 -3
- package/dist/components/Grid/Grid.d.ts +14 -12
- package/dist/components/Grid/Grid.stories.d.ts +6 -0
- package/dist/components/Heading/Heading.stories.d.ts +14 -0
- package/dist/components/Heading/index.d.ts +5 -4
- package/dist/components/HideAtBreakpoint/HideAtBreakpoint.stories.d.ts +4 -0
- package/dist/components/HideAtBreakpoint/index.d.ts +4 -3
- package/dist/components/Hyperlink/Hyperlink.stories.d.ts +33 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +75 -0
- package/dist/components/IndeterminateCheckbox/IndeterminateCheckbox.stories.d.ts +6 -0
- package/dist/components/Input/Input.stories.d.ts +169 -0
- package/dist/components/InputBase/InputBase.stories.d.ts +10 -0
- package/dist/components/InputBase/index.d.ts +3 -3
- package/dist/components/List/List.d.ts +4 -3
- package/dist/components/List/List.stories.d.ts +65 -0
- package/dist/components/List/ListItem.d.ts +4 -3
- package/dist/components/LoadingIndicator/LoadingIndicator.stories.d.ts +11 -0
- package/dist/components/Modal/Modal.d.ts +4 -3
- package/dist/components/Modal/Modal.stories.d.ts +16 -0
- package/dist/components/NativeSelect/NativeSelect.d.ts +4 -3
- package/dist/components/NativeSelect/NativeSelect.stories.d.ts +86 -0
- package/dist/components/NavTabs/NavTabs.d.ts +1 -1
- package/dist/components/NavTabs/NavTabs.stories.d.ts +27 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +88 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts +6 -0
- package/dist/components/Paragraph/index.d.ts +4 -3
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +28 -0
- package/dist/components/Popover/Popover.stories.d.ts +135 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +30 -0
- package/dist/components/Radio/Radio.stories.d.ts +5 -0
- package/dist/components/RadioGroup/index.d.ts +4 -3
- package/dist/components/Search/Search.stories.d.ts +9 -0
- package/dist/components/Select/Select.stories.d.ts +247 -0
- package/dist/components/Select/SelectContainer.d.ts +1 -1
- package/dist/components/Select/shared.d.ts +8 -8
- package/dist/components/SkipLink/SkipLink.stories.d.ts +4 -0
- package/dist/components/SkipLinkContent/index.d.ts +4 -3
- package/dist/components/Spacer/Spacer.stories.d.ts +14 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +7 -0
- package/dist/components/Stepper/Step.d.ts +1 -1
- package/dist/components/Stepper/Stepper.stories.d.ts +29 -0
- package/dist/components/StyledButton/index.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +8 -7
- package/dist/components/Table/Table.stories.d.ts +176 -0
- package/dist/components/Table/TableBody.d.ts +4 -3
- package/dist/components/Table/TableHead.d.ts +4 -3
- package/dist/components/Table/TableRow.d.ts +4 -3
- package/dist/components/Tabs/Tab.d.ts +2 -2
- package/dist/components/Tabs/TabPanelsContainer.d.ts +1 -2
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Tabs/Tabs.stories.d.ts +82 -0
- package/dist/components/Tabs/TabsContainer.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +4 -3
- package/dist/components/Tag/Tag.stories.d.ts +25 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +16 -0
- package/dist/components/TimePicker/TimePicker.stories.d.ts +22 -0
- package/dist/components/Toast/Toast.stories.d.ts +22 -0
- package/dist/components/Toast/index.d.ts +4 -3
- package/dist/components/Toggle/Toggle.stories.d.ts +5 -0
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +26 -0
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -3
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +26 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +53 -0
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Transition/Transition.d.ts +5 -4
- package/dist/components/Transition/Transition.stories.d.ts +81 -0
- package/dist/components/TreeView/TreeView.stories.d.ts +199 -0
- package/dist/components/TreeView/index.d.ts +1 -1
- package/dist/components/TreeView/useTreeItem.d.ts +1 -1
- package/dist/components/TreeView/useTreeView.d.ts +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +4 -0
- package/dist/components/VisuallyHidden/index.d.ts +4 -3
- package/dist/esm/index.js +1145 -1307
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +143 -71
- package/dist/properties.json +10418 -11030
- package/dist/react-magma-dom.cjs.development.js +773 -725
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +24 -21
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import { DatagridProps } from './Datagrid';
|
|
4
|
+
import { TableDensity, TablePaginationProps, TableRowColor } from '../Table';
|
|
5
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: {
|
|
8
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
9
|
+
args: {
|
|
10
|
+
tableTitle: string;
|
|
11
|
+
density: TableDensity;
|
|
12
|
+
columns: {
|
|
13
|
+
field: string;
|
|
14
|
+
header: string;
|
|
15
|
+
}[];
|
|
16
|
+
rows: {
|
|
17
|
+
id: number;
|
|
18
|
+
col1: string;
|
|
19
|
+
col2: string;
|
|
20
|
+
col3: string;
|
|
21
|
+
col4: string;
|
|
22
|
+
rowName: string;
|
|
23
|
+
}[];
|
|
24
|
+
hasHoverStyles: boolean;
|
|
25
|
+
hasSquareCorners: boolean;
|
|
26
|
+
hasVerticalBorders: boolean;
|
|
27
|
+
hasZebraStripes: boolean;
|
|
28
|
+
isSelectable: boolean;
|
|
29
|
+
isInverse: boolean;
|
|
30
|
+
isSortableBySelected: boolean;
|
|
31
|
+
paginationProps: {};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const ColoredRows: {
|
|
35
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
36
|
+
args: {
|
|
37
|
+
rows: {
|
|
38
|
+
id: number;
|
|
39
|
+
color: TableRowColor;
|
|
40
|
+
col1: string;
|
|
41
|
+
col2: string;
|
|
42
|
+
col3: string;
|
|
43
|
+
col4: string;
|
|
44
|
+
rowName: string;
|
|
45
|
+
}[];
|
|
46
|
+
tableTitle: string;
|
|
47
|
+
density: TableDensity;
|
|
48
|
+
columns: {
|
|
49
|
+
field: string;
|
|
50
|
+
header: string;
|
|
51
|
+
}[];
|
|
52
|
+
hasHoverStyles: boolean;
|
|
53
|
+
hasSquareCorners: boolean;
|
|
54
|
+
hasVerticalBorders: boolean;
|
|
55
|
+
hasZebraStripes: boolean;
|
|
56
|
+
isSelectable: boolean;
|
|
57
|
+
isInverse: boolean;
|
|
58
|
+
isSortableBySelected: boolean;
|
|
59
|
+
paginationProps: {};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const Selectable: {
|
|
63
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
64
|
+
args: {
|
|
65
|
+
isSelectable: boolean;
|
|
66
|
+
tableTitle: string;
|
|
67
|
+
density: TableDensity;
|
|
68
|
+
columns: {
|
|
69
|
+
field: string;
|
|
70
|
+
header: string;
|
|
71
|
+
}[];
|
|
72
|
+
rows: {
|
|
73
|
+
id: number;
|
|
74
|
+
col1: string;
|
|
75
|
+
col2: string;
|
|
76
|
+
col3: string;
|
|
77
|
+
col4: string;
|
|
78
|
+
rowName: string;
|
|
79
|
+
}[];
|
|
80
|
+
hasHoverStyles: boolean;
|
|
81
|
+
hasSquareCorners: boolean;
|
|
82
|
+
hasVerticalBorders: boolean;
|
|
83
|
+
hasZebraStripes: boolean;
|
|
84
|
+
isInverse: boolean;
|
|
85
|
+
isSortableBySelected: boolean;
|
|
86
|
+
paginationProps: {};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export declare const SelectableAndSortable: StoryObj<DatagridProps>;
|
|
90
|
+
export declare const ControlledSelectable: {
|
|
91
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "selectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
92
|
+
args: {
|
|
93
|
+
isSelectable: boolean;
|
|
94
|
+
tableTitle: string;
|
|
95
|
+
density: TableDensity;
|
|
96
|
+
columns: {
|
|
97
|
+
field: string;
|
|
98
|
+
header: string;
|
|
99
|
+
}[];
|
|
100
|
+
rows: {
|
|
101
|
+
id: number;
|
|
102
|
+
col1: string;
|
|
103
|
+
col2: string;
|
|
104
|
+
col3: string;
|
|
105
|
+
col4: string;
|
|
106
|
+
rowName: string;
|
|
107
|
+
}[];
|
|
108
|
+
hasHoverStyles: boolean;
|
|
109
|
+
hasSquareCorners: boolean;
|
|
110
|
+
hasVerticalBorders: boolean;
|
|
111
|
+
hasZebraStripes: boolean;
|
|
112
|
+
isInverse: boolean;
|
|
113
|
+
isSortableBySelected: boolean;
|
|
114
|
+
paginationProps: {};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export declare const DisabledSelectableRow: {
|
|
118
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
119
|
+
args: {
|
|
120
|
+
isSelectable: boolean;
|
|
121
|
+
tableTitle: string;
|
|
122
|
+
rows: ({
|
|
123
|
+
id: number;
|
|
124
|
+
col1: string;
|
|
125
|
+
col2: string;
|
|
126
|
+
col3: string;
|
|
127
|
+
col4: string;
|
|
128
|
+
rowName: string;
|
|
129
|
+
} | {
|
|
130
|
+
id: number;
|
|
131
|
+
col1: string;
|
|
132
|
+
isSelectableDisabled: boolean;
|
|
133
|
+
col2: string;
|
|
134
|
+
col3: string;
|
|
135
|
+
col4: string;
|
|
136
|
+
})[];
|
|
137
|
+
density: TableDensity;
|
|
138
|
+
columns: {
|
|
139
|
+
field: string;
|
|
140
|
+
header: string;
|
|
141
|
+
}[];
|
|
142
|
+
hasHoverStyles: boolean;
|
|
143
|
+
hasSquareCorners: boolean;
|
|
144
|
+
hasVerticalBorders: boolean;
|
|
145
|
+
hasZebraStripes: boolean;
|
|
146
|
+
isInverse: boolean;
|
|
147
|
+
isSortableBySelected: boolean;
|
|
148
|
+
paginationProps: {};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
export declare const PaginationChangedDefaults: {
|
|
152
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
153
|
+
args: {
|
|
154
|
+
tableTitle: string;
|
|
155
|
+
paginationProps: {
|
|
156
|
+
defaultPage: number;
|
|
157
|
+
defaultRowsPerPage: number;
|
|
158
|
+
rowsPerPageValues: number[];
|
|
159
|
+
};
|
|
160
|
+
density: TableDensity;
|
|
161
|
+
columns: {
|
|
162
|
+
field: string;
|
|
163
|
+
header: string;
|
|
164
|
+
}[];
|
|
165
|
+
rows: {
|
|
166
|
+
id: number;
|
|
167
|
+
col1: string;
|
|
168
|
+
col2: string;
|
|
169
|
+
col3: string;
|
|
170
|
+
col4: string;
|
|
171
|
+
rowName: string;
|
|
172
|
+
}[];
|
|
173
|
+
hasHoverStyles: boolean;
|
|
174
|
+
hasSquareCorners: boolean;
|
|
175
|
+
hasVerticalBorders: boolean;
|
|
176
|
+
hasZebraStripes: boolean;
|
|
177
|
+
isSelectable: boolean;
|
|
178
|
+
isInverse: boolean;
|
|
179
|
+
isSortableBySelected: boolean;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
export declare const ControlledPagination: {
|
|
183
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, DatagridProps>;
|
|
184
|
+
args: {
|
|
185
|
+
tableTitle: string;
|
|
186
|
+
paginationProps: {
|
|
187
|
+
rowsPerPageValues: number[];
|
|
188
|
+
};
|
|
189
|
+
density: TableDensity;
|
|
190
|
+
columns: {
|
|
191
|
+
field: string;
|
|
192
|
+
header: string;
|
|
193
|
+
}[];
|
|
194
|
+
rows: {
|
|
195
|
+
id: number;
|
|
196
|
+
col1: string;
|
|
197
|
+
col2: string;
|
|
198
|
+
col3: string;
|
|
199
|
+
col4: string;
|
|
200
|
+
rowName: string;
|
|
201
|
+
}[];
|
|
202
|
+
hasHoverStyles: boolean;
|
|
203
|
+
hasSquareCorners: boolean;
|
|
204
|
+
hasVerticalBorders: boolean;
|
|
205
|
+
hasZebraStripes: boolean;
|
|
206
|
+
isSelectable: boolean;
|
|
207
|
+
isInverse: boolean;
|
|
208
|
+
isSortableBySelected: boolean;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
export declare const WithoutPagination: {
|
|
212
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
213
|
+
args: {
|
|
214
|
+
hasPagination: boolean;
|
|
215
|
+
tableTitle: string;
|
|
216
|
+
density: TableDensity;
|
|
217
|
+
columns: {
|
|
218
|
+
field: string;
|
|
219
|
+
header: string;
|
|
220
|
+
}[];
|
|
221
|
+
rows: {
|
|
222
|
+
id: number;
|
|
223
|
+
col1: string;
|
|
224
|
+
col2: string;
|
|
225
|
+
col3: string;
|
|
226
|
+
col4: string;
|
|
227
|
+
rowName: string;
|
|
228
|
+
}[];
|
|
229
|
+
hasHoverStyles: boolean;
|
|
230
|
+
hasSquareCorners: boolean;
|
|
231
|
+
hasVerticalBorders: boolean;
|
|
232
|
+
hasZebraStripes: boolean;
|
|
233
|
+
isSelectable: boolean;
|
|
234
|
+
isInverse: boolean;
|
|
235
|
+
isSortableBySelected: boolean;
|
|
236
|
+
paginationProps: {};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
export declare const PaginationWithCustomComponent: {
|
|
240
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
241
|
+
args: {
|
|
242
|
+
tableTitle: string;
|
|
243
|
+
components: {
|
|
244
|
+
Pagination: React.FunctionComponent<TablePaginationProps>;
|
|
245
|
+
};
|
|
246
|
+
density: TableDensity;
|
|
247
|
+
columns: {
|
|
248
|
+
field: string;
|
|
249
|
+
header: string;
|
|
250
|
+
}[];
|
|
251
|
+
rows: {
|
|
252
|
+
id: number;
|
|
253
|
+
col1: string;
|
|
254
|
+
col2: string;
|
|
255
|
+
col3: string;
|
|
256
|
+
col4: string;
|
|
257
|
+
rowName: string;
|
|
258
|
+
}[];
|
|
259
|
+
hasHoverStyles: boolean;
|
|
260
|
+
hasSquareCorners: boolean;
|
|
261
|
+
hasVerticalBorders: boolean;
|
|
262
|
+
hasZebraStripes: boolean;
|
|
263
|
+
isSelectable: boolean;
|
|
264
|
+
isInverse: boolean;
|
|
265
|
+
isSortableBySelected: boolean;
|
|
266
|
+
paginationProps: {};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
export declare const TitleTable: {
|
|
270
|
+
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/dist/types-5617c98e").R, Pick<DatagridProps, "slot" | "style" | "title" | "color" | "content" | "minWidth" | "translate" | "columns" | "children" | "isInverse" | "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "rows" | "components" | "selectedItems" | "defaultSelectedRows" | "componentsProps" | "hasPagination" | "onHeaderSelect" | "onRowSelect" | "onSelectedRowsChange" | "paginationProps" | "onSortBySelected" | "sortDirection" | "density" | "hasHoverStyles" | "hasTablePagination" | "hasSquareCorners" | "hasOutsideBorder" | "hasVerticalBorders" | "hasZebraStripes" | "isSelectable" | "isSortableBySelected" | "rowCount" | "tableTitle">>;
|
|
271
|
+
args: {
|
|
272
|
+
hasOutsideBorder: boolean;
|
|
273
|
+
hasSquareCorners: boolean;
|
|
274
|
+
tableTitle: React.JSX.Element;
|
|
275
|
+
density: TableDensity;
|
|
276
|
+
columns: {
|
|
277
|
+
field: string;
|
|
278
|
+
header: string;
|
|
279
|
+
}[];
|
|
280
|
+
rows: {
|
|
281
|
+
id: number;
|
|
282
|
+
col1: string;
|
|
283
|
+
col2: string;
|
|
284
|
+
col3: string;
|
|
285
|
+
col4: string;
|
|
286
|
+
rowName: string;
|
|
287
|
+
}[];
|
|
288
|
+
hasHoverStyles: boolean;
|
|
289
|
+
hasVerticalBorders: boolean;
|
|
290
|
+
hasZebraStripes: boolean;
|
|
291
|
+
isSelectable: boolean;
|
|
292
|
+
isInverse: boolean;
|
|
293
|
+
isSortableBySelected: boolean;
|
|
294
|
+
paginationProps: {};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: {
|
|
5
|
+
render: (args: any) => React.JSX.Element;
|
|
6
|
+
args: {
|
|
7
|
+
labelText: string;
|
|
8
|
+
minDate: Date;
|
|
9
|
+
errorMessage: string;
|
|
10
|
+
helperMessage: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const NonDefaultFormats: () => React.JSX.Element;
|
|
14
|
+
export declare const Inverse: {
|
|
15
|
+
render: (args: any) => React.JSX.Element;
|
|
16
|
+
args: {
|
|
17
|
+
isInverse: boolean;
|
|
18
|
+
labelText: string;
|
|
19
|
+
minDate: Date;
|
|
20
|
+
errorMessage: string;
|
|
21
|
+
helperMessage: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const ClearingTheDate: {
|
|
25
|
+
render: (args: any) => React.JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export declare const Events: {
|
|
28
|
+
render: (args: any) => React.JSX.Element;
|
|
29
|
+
args: {
|
|
30
|
+
minDate: string;
|
|
31
|
+
maxDate: string;
|
|
32
|
+
labelText: string;
|
|
33
|
+
errorMessage: string;
|
|
34
|
+
helperMessage: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Theme } from '@emotion/react';
|
|
3
3
|
export declare const StyledSelect: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: Theme;
|
|
5
|
-
as?: import("react").ElementType<any>;
|
|
5
|
+
as?: import("react").ElementType<any, "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view">;
|
|
6
6
|
} & {
|
|
7
7
|
isInverse: boolean;
|
|
8
8
|
theme: Theme;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: {
|
|
5
|
+
render: (args: any) => React.JSX.Element;
|
|
6
|
+
args: {
|
|
7
|
+
labelText: string;
|
|
8
|
+
minDate: Date;
|
|
9
|
+
errorMessage: string;
|
|
10
|
+
helperMessage: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const Inverse: {
|
|
14
|
+
render: (args: any) => React.JSX.Element;
|
|
15
|
+
args: {
|
|
16
|
+
isInverse: boolean;
|
|
17
|
+
labelText: string;
|
|
18
|
+
minDate: Date;
|
|
19
|
+
errorMessage: string;
|
|
20
|
+
helperMessage: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const ClearingTheDateAndTime: {
|
|
24
|
+
render: (args: any) => React.JSX.Element;
|
|
25
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TypographyVisualStyle } from '../Typography';
|
|
3
|
+
declare const _default: import("storybook/internal/csf").ComponentAnnotations<import("@storybook/react/dist/types-5617c98e").R, import("storybook/internal/csf").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Simple: {
|
|
6
|
+
render: (args: any) => React.JSX.Element;
|
|
7
|
+
args: {
|
|
8
|
+
isInverse: boolean;
|
|
9
|
+
visualStyle: TypographyVisualStyle;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const WithMultipleTerms: {
|
|
13
|
+
render: (args: any) => React.JSX.Element;
|
|
14
|
+
args: {
|
|
15
|
+
isInverse: boolean;
|
|
16
|
+
visualStyle: TypographyVisualStyle;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const WithMultipleDescriptions: {
|
|
20
|
+
render: (args: any) => React.JSX.Element;
|
|
21
|
+
args: {
|
|
22
|
+
isInverse: boolean;
|
|
23
|
+
visualStyle: TypographyVisualStyle;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const CustomStyles: {
|
|
27
|
+
render: (args: any) => React.JSX.Element;
|
|
28
|
+
args: {
|
|
29
|
+
isInverse: boolean;
|
|
30
|
+
visualStyle: TypographyVisualStyle;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawerPosition, DrawerProps } from './Drawer';
|
|
3
|
+
declare const info: {
|
|
4
|
+
component: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
title: string;
|
|
6
|
+
argTypes: {
|
|
7
|
+
position: {
|
|
8
|
+
control: {
|
|
9
|
+
type: string;
|
|
10
|
+
options: typeof DrawerPosition;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
isInverse: {
|
|
14
|
+
control: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
showBackgroundOverlay: {
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
isAnimated: {
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default info;
|
|
31
|
+
export declare const Default: {
|
|
32
|
+
render: (args: React.JSX.IntrinsicAttributes & DrawerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export declare const SiteNavigation: {
|
|
35
|
+
render: (args: React.JSX.IntrinsicAttributes & DrawerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
36
|
+
};
|