flipper-ui 0.31.3 → 0.31.4
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/core/data-display/advertise/advertise.stories.d.ts +1 -1
- package/core/data-display/advertise/index.d.ts +0 -14
- package/core/data-display/advertise/styles.d.ts +2 -2
- package/core/data-display/avatar/avatar.stories.d.ts +1 -1
- package/core/data-display/avatar/index.d.ts +0 -3
- package/core/data-display/badge/badge.stories.d.ts +1 -1
- package/core/data-display/badge/index.d.ts +0 -6
- package/core/data-display/chapter/chapter.stories.d.ts +1 -1
- package/core/data-display/chapter/index.d.ts +0 -15
- package/core/data-display/chip/chip.stories.d.ts +1 -1
- package/core/data-display/chip/index.d.ts +0 -3
- package/core/data-display/data-table/data-table-field.js +3 -1
- package/core/data-display/data-table/data-table-field.spec.d.ts +1 -0
- package/core/data-display/data-table/data-table-query-paginated.d.ts +0 -59
- package/core/data-display/data-table/data-table-query-paginated.stories.d.ts +1 -1
- package/core/data-display/data-table/data-table.d.ts +0 -50
- package/core/data-display/data-table/data-table.stories.d.ts +1 -1
- package/core/data-display/data-table/rows.d.ts +6 -6
- package/core/data-display/data-table/types.d.ts +0 -18
- package/core/data-display/data-table/use-paginated.js +5 -8
- package/core/data-display/data-table/use-rows-state.d.ts +1 -1
- package/core/data-display/divider/divider.stories.d.ts +1 -1
- package/core/data-display/editable-table/editable-table.stories.d.ts +1 -1
- package/core/data-display/editable-table/styles.d.ts +2 -2
- package/core/data-display/fab/fab.stories.d.ts +1 -1
- package/core/data-display/line/index.d.ts +0 -3
- package/core/data-display/line/line.stories.d.ts +1 -1
- package/core/data-display/list/index.d.ts +0 -6
- package/core/data-display/list/list.stories.d.ts +1 -1
- package/core/data-display/list-item/index.js +2 -5
- package/core/data-display/node/node.stories.d.ts +1 -1
- package/core/data-display/table/table.stories.d.ts +2 -2
- package/core/data-display/tree/tree.stories.d.ts +1 -1
- package/core/data-display/typography/typography.stories.d.ts +2 -2
- package/core/feedback/collapse/collapse.stories.d.ts +1 -1
- package/core/feedback/dialog/dialog.stories.d.ts +1 -1
- package/core/feedback/dialog/index.d.ts +1 -1
- package/core/feedback/fade/fade.stories.d.ts +1 -1
- package/core/feedback/grow/grow.stories.d.ts +1 -1
- package/core/feedback/progress/progress.stories.d.ts +1 -1
- package/core/feedback/slide/slide.stories.d.ts +1 -1
- package/core/feedback/snackbar/index.d.ts +1 -1
- package/core/feedback/snackbar/snackbar.stories.d.ts +1 -1
- package/core/feedback/tooltip/tooltip.stories.d.ts +1 -1
- package/core/feedback/validation-dialog/styles.d.ts +2 -2
- package/core/feedback/zoom/zooms.stories.d.ts +1 -1
- package/core/inputs/auto-complete/auto-complete.stories.d.ts +1 -1
- package/core/inputs/button/button.stories.d.ts +1 -1
- package/core/inputs/checkbox/checkbox.stories.d.ts +1 -1
- package/core/inputs/chip-field/chip-field.stories.d.ts +1 -1
- package/core/inputs/date-time/date-time.stories.d.ts +1 -1
- package/core/inputs/icon-button/icon-button.stories.d.ts +1 -1
- package/core/inputs/icon-button/index.d.ts +1 -1
- package/core/inputs/input-adornment/input-adornment.stories.d.ts +1 -1
- package/core/inputs/input-base/index.d.ts +1 -1
- package/core/inputs/input-base/input-base.stories.d.ts +1 -1
- package/core/inputs/mask-field/mask-field.stories.d.ts +1 -1
- package/core/inputs/pin-input/pin-input.stories.d.ts +1 -1
- package/core/inputs/radio/index.d.ts +1 -1
- package/core/inputs/radio/radio.stories.d.ts +1 -1
- package/core/inputs/radio-group/radio-group.stories.d.ts +1 -1
- package/core/inputs/select/select.stories.d.ts +1 -1
- package/core/inputs/slider/slider.stories.d.ts +1 -1
- package/core/inputs/text-field/index.js +3 -6
- package/core/inputs/text-field/text-field.stories.d.ts +1 -1
- package/core/navigation/breadcrumb/breadcrumb.stories.d.ts +2 -2
- package/core/navigation/breadcrumb/index.d.ts +1 -1
- package/core/navigation/breadcrumb/index.js +2 -5
- package/core/navigation/drawer/drawer.stories.d.ts +1 -1
- package/core/navigation/menu/menu.stories.d.ts +1 -1
- package/core/navigation/pagination/pagination.stories.d.ts +1 -1
- package/core/navigation/sidebar/sidebar.stories.d.ts +1 -1
- package/core/navigation/stepper/stepper.stories.d.ts +1 -1
- package/core/navigation/tabs/tabs.stories.d.ts +1 -1
- package/core/surfaces/box/box.stories.d.ts +1 -1
- package/core/surfaces/card/card.stories.d.ts +1 -1
- package/core/surfaces/container/container.stories.d.ts +1 -1
- package/core/surfaces/content/content.stories.d.ts +1 -1
- package/core/surfaces/expansion-panel/expansion-panel.stories.d.ts +1 -1
- package/core/surfaces/header/header.stories.d.ts +1 -1
- package/core/surfaces/paper/paper.stories.d.ts +1 -1
- package/core/surfaces/step-card/index.d.ts +0 -204
- package/core/surfaces/step-card/index.js +0 -39
- package/core/surfaces/step-card/step-card.stories.d.ts +1 -1
- package/experimental/actions/actions.stories.d.ts +1 -1
- package/experimental/auto-complete-lab/autocomplete-lab.spec.d.ts +1 -0
- package/experimental/auto-complete-lab/{auto-complete-lab.stories.d.ts → autocomplete-lab.stories.d.ts} +1 -1
- package/experimental/avatar/avatar.stories.d.ts +1 -1
- package/experimental/avatar/index.d.ts +0 -4
- package/experimental/avatar/index.js +1 -2
- package/experimental/breadcrumbs/breadcrumbs.stories.d.ts +1 -1
- package/experimental/breadcrumbs/index.d.ts +0 -4
- package/experimental/breadcrumbs/index.js +2 -9
- package/experimental/breadcrumbs/styles.d.ts +2 -2
- package/experimental/button/button.stories.d.ts +1 -1
- package/experimental/card/card.stories.d.ts +1 -1
- package/experimental/card/styles.d.ts +2 -2
- package/experimental/dialog/dialog.d.ts +1 -1
- package/experimental/dialog/dialog.stories.d.ts +1 -1
- package/experimental/fab/fab.d.ts +1 -1
- package/experimental/fab/fab.js +3 -6
- package/experimental/fab/fab.stories.d.ts +1 -1
- package/experimental/loading/loading.spec.d.ts +1 -4
- package/experimental/loading/loading.stories.d.ts +1 -1
- package/experimental/nothing-found/nothing-found.stories.d.ts +1 -1
- package/experimental/nothing-found/styles.d.ts +2 -2
- package/experimental/panel/panel.stories.d.ts +1 -1
- package/experimental/panel/styles.d.ts +2 -2
- package/experimental/sidebar/sidebar.stories.d.ts +1 -1
- package/experimental/skeleton/skeleton.stories.d.ts +1 -1
- package/experimental/visibility-icon/visibility-icon.stories.d.ts +1 -1
- package/package.json +119 -118
- package/test/mocks/date-time-mock.d.ts +1 -1
- package/test/mocks/date-time-mock.js +6 -6
- package/test/mocks/editable-table-date-mock.d.ts +1 -1
- package/test/mocks/editable-table-date-mock.js +2 -5
- package/test/mocks/editable-table-mock.d.ts +1 -1
- package/test/mocks/editable-table-mock.js +4 -7
- package/test/mocks/radio-group-mock.d.ts +1 -1
- package/test/mocks/radio-group-mock.js +6 -6
- package/test/mocks/select-mock.d.ts +1 -1
- package/test/mocks/select-mock.js +9 -9
- package/test/mocks/step-card-mock.d.ts +1 -1
- package/test/mocks/step-card-mock.js +6 -6
- package/test/mocks/text-field-mock.d.ts +1 -1
- package/test/mocks/text-field-mock.js +8 -8
- package/test/mocks/text-field-options-mock.d.ts +1 -1
- package/test/mocks/text-field-options-mock.js +6 -6
- package/experimental/dialog/__test__/remove-dialog.spec.d.ts +0 -1
- /package/core/feedback/tooltip/{tool-tip.spec.d.ts → tooltip.spec.d.ts} +0 -0
- /package/{experimental/dialog/__test__/confirm-dialog.spec.d.ts → core/navigation/breadcrumb/breadcrumb.spec.d.ts} +0 -0
- /package/experimental/dialog/{__test__/dialog.spec.d.ts → dialog.spec.d.ts} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").AdvertiseProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
@@ -2,23 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import type { CSSProperties } from 'react';
|
|
3
3
|
import type { DefaultProps } from '../../types';
|
|
4
4
|
export interface AdvertiseProps extends DefaultProps {
|
|
5
|
-
/**
|
|
6
|
-
* The comment to be displayed
|
|
7
|
-
*/
|
|
8
5
|
comment: string;
|
|
9
|
-
/**
|
|
10
|
-
* The author of the comment
|
|
11
|
-
*/
|
|
12
6
|
author: string;
|
|
13
|
-
/**
|
|
14
|
-
* The style of the comments
|
|
15
|
-
* @optional
|
|
16
|
-
*/
|
|
17
7
|
commentStyle?: CSSProperties;
|
|
18
|
-
/**
|
|
19
|
-
* The style of the author
|
|
20
|
-
* @optional
|
|
21
|
-
*/
|
|
22
8
|
authorStyle?: CSSProperties;
|
|
23
9
|
}
|
|
24
10
|
declare const Advertise: ({ comment, author, padding, commentStyle, authorStyle, ...otherProps }: AdvertiseProps) => React.JSX.Element;
|
|
@@ -11,7 +11,7 @@ export declare const AdvertiseTypography: import("styled-components").IStyledCom
|
|
|
11
11
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
12
12
|
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
13
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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" | "
|
|
14
|
+
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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"> & import("../../types").DefaultProps, never>> & Omit<({ children, margin, padding, style, variant, ...otherProps }: {
|
|
15
15
|
align?: import("@material-ui/core").PropTypes.Alignment | undefined;
|
|
16
16
|
children?: import("react").ReactNode;
|
|
17
17
|
color?: "inherit" | "initial" | "primary" | "secondary" | "textPrimary" | "textSecondary" | "error" | undefined;
|
|
@@ -23,5 +23,5 @@ export declare const AdvertiseTypography: import("styled-components").IStyledCom
|
|
|
23
23
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
24
24
|
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
25
25
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
26
|
-
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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" | "
|
|
26
|
+
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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"> & import("../../types").DefaultProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
27
27
|
export declare const Paper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("@/core/surfaces/paper").PaperProps, never>> & Omit<({ children, style, padding, margin, ...otherProps }: import("@/core/surfaces/paper").PaperProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").AvatarProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const Primary: any;
|
|
@@ -3,9 +3,6 @@ import type { ReactNode } from 'react';
|
|
|
3
3
|
import type { DefaultProps } from '../../types';
|
|
4
4
|
import type { AvatarProps as MuiAvatarProps } from '@material-ui/core';
|
|
5
5
|
export interface AvatarProps extends DefaultProps, MuiAvatarProps {
|
|
6
|
-
/**
|
|
7
|
-
* If true, the avatar will have a primary color background.
|
|
8
|
-
*/
|
|
9
6
|
primary?: boolean;
|
|
10
7
|
children?: ReactNode;
|
|
11
8
|
'data-testid'?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").BadgeProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const Primary: any;
|
|
@@ -4,13 +4,7 @@ import type { DefaultProps } from '../../types';
|
|
|
4
4
|
import type { BadgeProps as MuiBadgeProps } from '@material-ui/core/Badge';
|
|
5
5
|
export interface BadgeProps extends DefaultProps, MuiBadgeProps {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* The number to display in the badge.
|
|
9
|
-
*/
|
|
10
7
|
counter: number | string;
|
|
11
|
-
/**
|
|
12
|
-
* The position of the badge.
|
|
13
|
-
*/
|
|
14
8
|
position?: {
|
|
15
9
|
top?: number;
|
|
16
10
|
bottom?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").LineProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const WithCustomStyle: any;
|
|
@@ -3,25 +3,10 @@ import type { CSSProperties, ReactNode } from 'react';
|
|
|
3
3
|
import type { DefaultProps } from '../../types';
|
|
4
4
|
import type { TypographyProps } from '@material-ui/core/Typography';
|
|
5
5
|
export interface LineProps extends DefaultProps {
|
|
6
|
-
/**
|
|
7
|
-
* If true, the avatar will have a primary color background.
|
|
8
|
-
*/
|
|
9
6
|
primary?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The width of the component container.
|
|
12
|
-
*/
|
|
13
7
|
width?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The variant to use.
|
|
16
|
-
*/
|
|
17
8
|
variant?: TypographyProps['variant'];
|
|
18
|
-
/**
|
|
19
|
-
* The style applied to the children Typography component.
|
|
20
|
-
*/
|
|
21
9
|
childrenStyle?: CSSProperties;
|
|
22
|
-
/**
|
|
23
|
-
* The children of the component.
|
|
24
|
-
*/
|
|
25
10
|
children?: ReactNode;
|
|
26
11
|
'data-testid'?: string;
|
|
27
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").IChipProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const Squared: any;
|
|
@@ -2,9 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import type { DefaultProps } from '../../types';
|
|
3
3
|
import type { ChipProps as MuiChipProps } from '@material-ui/core';
|
|
4
4
|
export interface IChipProps extends MuiChipProps, Omit<DefaultProps, 'children'> {
|
|
5
|
-
/**
|
|
6
|
-
* If `true`, the chip will be squared.
|
|
7
|
-
*/
|
|
8
5
|
square?: boolean;
|
|
9
6
|
}
|
|
10
7
|
declare const Chip: ({ square, padding, margin, style, ...otherProps }: IChipProps) => React.JSX.Element;
|
|
@@ -113,7 +113,9 @@ var DataTableField = exports.DataTableField = function DataTableField(props) {
|
|
|
113
113
|
})), columns);
|
|
114
114
|
});
|
|
115
115
|
};
|
|
116
|
-
return /*#__PURE__*/_react["default"].createElement(_material.Table,
|
|
116
|
+
return /*#__PURE__*/_react["default"].createElement(_material.Table, {
|
|
117
|
+
"data-testid": "data-table-field"
|
|
118
|
+
}, /*#__PURE__*/_react["default"].createElement(_material.TableHead, null, checkbox && /*#__PURE__*/_react["default"].createElement(_material.TableCell, {
|
|
117
119
|
padding: "checkbox"
|
|
118
120
|
}, /*#__PURE__*/_react["default"].createElement(_material.Checkbox, {
|
|
119
121
|
color: "primary",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -2,83 +2,24 @@ import React from 'react';
|
|
|
2
2
|
import type { MouseEvent, MutableRefObject, CSSProperties, ReactNode } from 'react';
|
|
3
3
|
import type { ColumnSpec, Data, DataTableController, Errors, PaginationOptions, RowViewComponent, StackView } from './types';
|
|
4
4
|
export type DataTableProps<D extends Data, V extends StackView = Record<string, unknown>> = {
|
|
5
|
-
/**
|
|
6
|
-
* The data to be shown in the table
|
|
7
|
-
*/
|
|
8
5
|
data: D[];
|
|
9
|
-
/**
|
|
10
|
-
* The total elements present in query
|
|
11
|
-
*/
|
|
12
6
|
totalElements: number;
|
|
13
|
-
/**
|
|
14
|
-
* Change current page handler
|
|
15
|
-
*/
|
|
16
7
|
handleChangePage: (page: number) => void;
|
|
17
|
-
/**
|
|
18
|
-
* Per page value
|
|
19
|
-
*/
|
|
20
8
|
perPage: number;
|
|
21
|
-
/**
|
|
22
|
-
* Change page handler
|
|
23
|
-
*/
|
|
24
9
|
handleChangePerPage: (value: number) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Actual page
|
|
27
|
-
*/
|
|
28
10
|
page: number;
|
|
29
|
-
/**
|
|
30
|
-
* Errors as an object where the key is the ID of the row and the value is
|
|
31
|
-
* a Set with the fields of error
|
|
32
|
-
*/
|
|
33
11
|
errors?: Errors<D>;
|
|
34
|
-
/**
|
|
35
|
-
* The columns specification
|
|
36
|
-
*/
|
|
37
12
|
columns: ColumnSpec<D>[];
|
|
38
|
-
/**
|
|
39
|
-
* Hide the table header
|
|
40
|
-
*/
|
|
41
13
|
noHeader?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Component to show when there are no data
|
|
44
|
-
*/
|
|
45
14
|
componentForEmpty?: ReactNode;
|
|
46
|
-
/**
|
|
47
|
-
* Custom style to be applied to the table body
|
|
48
|
-
*/
|
|
49
15
|
bodyStyle?: CSSProperties;
|
|
50
|
-
/**
|
|
51
|
-
* Custom style to be applied to the table head
|
|
52
|
-
*/
|
|
53
16
|
headStyle?: CSSProperties;
|
|
54
|
-
/**
|
|
55
|
-
* Custom style to be applied to all rows of the table body
|
|
56
|
-
*/
|
|
57
17
|
bodyRowStyle?: CSSProperties;
|
|
58
|
-
/**
|
|
59
|
-
* Custom style to be applied to all rows of the table head
|
|
60
|
-
*/
|
|
61
18
|
headRowStyle?: CSSProperties;
|
|
62
|
-
/**
|
|
63
|
-
* Height of a hidden row, when you need to have some blank space in case
|
|
64
|
-
* you fill in the pagination.rowsPerPage
|
|
65
|
-
*/
|
|
66
19
|
hiddenRowHeight?: number;
|
|
67
|
-
/**
|
|
68
|
-
* The pagination configuration
|
|
69
|
-
*/
|
|
70
20
|
pagination?: Partial<PaginationOptions>;
|
|
71
|
-
/**
|
|
72
|
-
* A React MutableRefObject for the row controller
|
|
73
|
-
*/
|
|
74
21
|
controllerRef?: MutableRefObject<DataTableController<D, V> | undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* Initialize with hidden values
|
|
77
|
-
*/
|
|
78
22
|
hidden?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Custom rowViews used as a Stac
|
|
81
|
-
*/
|
|
82
23
|
rowViews?: Record<keyof V, RowViewComponent<D>>;
|
|
83
24
|
onRowClick?: (event: MouseEvent<HTMLTableRowElement>, rowData: D) => void;
|
|
84
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("./data-table-query-paginated").DataTableProps<import("./types").Data, import("./types").RecordUnknown>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
5
5
|
export declare const Empty: () => React.JSX.Element;
|
|
@@ -2,71 +2,21 @@ import React from 'react';
|
|
|
2
2
|
import type { MouseEvent, MutableRefObject, CSSProperties, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import type { ColumnSpec, Data, DataTableController, Errors, PaginationOptions, RowViewComponent, StackView } from './types';
|
|
4
4
|
export type DataTableProps<D extends Data, V extends StackView = Record<string, unknown>> = {
|
|
5
|
-
/**
|
|
6
|
-
* The data to be shown in the table
|
|
7
|
-
*/
|
|
8
5
|
data: D[];
|
|
9
|
-
/**
|
|
10
|
-
* Errors as an object where the key is the ID of the row and the value is
|
|
11
|
-
* a Set with the fields of error
|
|
12
|
-
*/
|
|
13
6
|
errors?: Errors<D>;
|
|
14
|
-
/**
|
|
15
|
-
* The columns specification
|
|
16
|
-
*/
|
|
17
7
|
columns: ColumnSpec<D>[];
|
|
18
|
-
/**
|
|
19
|
-
* Hide the table header
|
|
20
|
-
*/
|
|
21
8
|
noHeader?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Component to show when there are no data
|
|
24
|
-
*/
|
|
25
9
|
componentForEmpty?: ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* Custom style to be applied to the table body
|
|
28
|
-
*/
|
|
29
10
|
bodyStyle?: CSSProperties;
|
|
30
|
-
/**
|
|
31
|
-
* Custom style to be applied to the table head
|
|
32
|
-
*/
|
|
33
11
|
headStyle?: CSSProperties;
|
|
34
|
-
/**
|
|
35
|
-
* Custom style to be applied to all rows of the table body
|
|
36
|
-
*/
|
|
37
12
|
bodyRowStyle?: CSSProperties;
|
|
38
|
-
/**
|
|
39
|
-
* Custom style to be applied to all rows of the table head
|
|
40
|
-
*/
|
|
41
13
|
headRowStyle?: CSSProperties;
|
|
42
|
-
/**
|
|
43
|
-
* Height of a hidden row, when you need to have some blank space in case
|
|
44
|
-
* you fill in the pagination.rowsPerPage
|
|
45
|
-
*/
|
|
46
14
|
hiddenRowHeight?: number;
|
|
47
|
-
/**
|
|
48
|
-
* The pagination configuration
|
|
49
|
-
*/
|
|
50
15
|
pagination?: Partial<PaginationOptions>;
|
|
51
|
-
/**
|
|
52
|
-
* A React MutableRefObject for the row controller
|
|
53
|
-
*/
|
|
54
16
|
controllerRef?: MutableRefObject<DataTableController<D, V> | undefined>;
|
|
55
|
-
/**
|
|
56
|
-
* Initialize with hidden values
|
|
57
|
-
*/
|
|
58
17
|
hidden?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Custom rowViews used as a Stac
|
|
61
|
-
*/
|
|
62
18
|
rowViews?: Record<keyof V, RowViewComponent<D>>;
|
|
63
|
-
/**
|
|
64
|
-
* Hide or show the checkbox
|
|
65
|
-
*/
|
|
66
19
|
checkbox?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Handle the selected states and values
|
|
69
|
-
*/
|
|
70
20
|
checkboxProps?: {
|
|
71
21
|
checkRow?: boolean[];
|
|
72
22
|
checkAllRows?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("./data-table").DataTableProps<import("./types").Data, import("./types").RecordUnknown>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
5
5
|
export declare const Empty: () => React.JSX.Element;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ColumnSpec, Data, Errors, PartialData } from './types';
|
|
3
3
|
import { RowMode } from './types';
|
|
4
|
+
type NewRowProps<D extends Data> = {
|
|
5
|
+
data: PartialData<D>;
|
|
6
|
+
errors?: Errors<D>;
|
|
7
|
+
columns: ColumnSpec<D>[];
|
|
8
|
+
onUpdate?(partial: Partial<Data>): void;
|
|
9
|
+
};
|
|
4
10
|
type StatefulRowProps<D extends Data> = {
|
|
5
11
|
data: D;
|
|
6
12
|
mode: RowMode;
|
|
@@ -10,11 +16,5 @@ type StatefulRowProps<D extends Data> = {
|
|
|
10
16
|
onUpdate?(partial: Partial<Data>): void;
|
|
11
17
|
};
|
|
12
18
|
export declare const StatefulRow: <D extends Data>({ data, mode, errors, columns, onUpdate, isHidden }: StatefulRowProps<D>) => React.JSX.Element;
|
|
13
|
-
type NewRowProps<D extends Data> = {
|
|
14
|
-
data: PartialData<D>;
|
|
15
|
-
errors?: Errors<D>;
|
|
16
|
-
columns: ColumnSpec<D>[];
|
|
17
|
-
onUpdate?(partial: Partial<Data>): void;
|
|
18
|
-
};
|
|
19
19
|
export declare const NewRow: <D extends Data>({ data, columns, errors, onUpdate }: NewRowProps<D>) => React.JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -77,29 +77,11 @@ export type RowViewComponent<D> = FunctionComponent<{
|
|
|
77
77
|
data: D;
|
|
78
78
|
}>;
|
|
79
79
|
export type DataTableController<D extends Data, V extends StackView> = {
|
|
80
|
-
/**
|
|
81
|
-
* Actives the edit mode for a row
|
|
82
|
-
*/
|
|
83
80
|
editRow(id: Identifier): void;
|
|
84
|
-
/**
|
|
85
|
-
* Actives the view mode for a row
|
|
86
|
-
*/
|
|
87
81
|
viewRow(id: Identifier): void;
|
|
88
|
-
/**
|
|
89
|
-
* Hides the view mode for a row
|
|
90
|
-
*/
|
|
91
82
|
hideRow(id: Identifier): void;
|
|
92
|
-
/**
|
|
93
|
-
* Adds a new row on the DataTable
|
|
94
|
-
*/
|
|
95
83
|
addRow(data: PartialData<D>): void;
|
|
96
|
-
/**
|
|
97
|
-
* Returns only the edited properties of a row in edit mode
|
|
98
|
-
*/
|
|
99
84
|
getEditedRowData(id: Identifier): PartialData<D>;
|
|
100
|
-
/**
|
|
101
|
-
* Returns the edited properties and the old data of a row in edit mode
|
|
102
|
-
*/
|
|
103
85
|
getRowData(id: Identifier): {
|
|
104
86
|
edited: PartialData<D>;
|
|
105
87
|
current?: D;
|
|
@@ -31,13 +31,10 @@ var generateRandomDate = exports.generateRandomDate = function generateRandomDat
|
|
|
31
31
|
}
|
|
32
32
|
return content;
|
|
33
33
|
};
|
|
34
|
-
var
|
|
35
|
-
var DEFAULT_PAGE_SIZE = 5;
|
|
36
|
-
var DEFAULT_MOCK_LENGTH = 35;
|
|
37
|
-
var mockData = generateRandomDate(DEFAULT_MOCK_LENGTH);
|
|
34
|
+
var mockData = generateRandomDate(35);
|
|
38
35
|
var INITIAL_STATE = {
|
|
39
36
|
items: [],
|
|
40
|
-
size:
|
|
37
|
+
size: 5,
|
|
41
38
|
actualPage: 0,
|
|
42
39
|
totalItens: 0
|
|
43
40
|
};
|
|
@@ -61,7 +58,7 @@ var usePaginated = exports.usePaginated = function usePaginated() {
|
|
|
61
58
|
});
|
|
62
59
|
setTimeout(function () {
|
|
63
60
|
setLoading(false);
|
|
64
|
-
},
|
|
61
|
+
}, 1000);
|
|
65
62
|
}, []);
|
|
66
63
|
(0, _react.useEffect)(function () {
|
|
67
64
|
if (splitData[state.actualPage]) {
|
|
@@ -99,7 +96,7 @@ var usePaginated = exports.usePaginated = function usePaginated() {
|
|
|
99
96
|
});
|
|
100
97
|
setTimeout(function () {
|
|
101
98
|
setLoading(false);
|
|
102
|
-
},
|
|
99
|
+
}, 1000);
|
|
103
100
|
};
|
|
104
101
|
var handleChangePerPage = function handleChangePerPage(value) {
|
|
105
102
|
setLoading(true);
|
|
@@ -110,7 +107,7 @@ var usePaginated = exports.usePaginated = function usePaginated() {
|
|
|
110
107
|
});
|
|
111
108
|
setTimeout(function () {
|
|
112
109
|
setLoading(false);
|
|
113
|
-
},
|
|
110
|
+
}, 1000);
|
|
114
111
|
};
|
|
115
112
|
var setData = function setData(data) {
|
|
116
113
|
setState(function (prev) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Data, Identifier, RowState } from './types';
|
|
2
|
-
export declare const useRowsState: <D extends Data, V extends import("./types").RecordUnknown>(rows: D[], isHidden?: boolean, newRow?: Partial<D>
|
|
2
|
+
export declare const useRowsState: <D extends Data, V extends import("./types").RecordUnknown>(rows: D[], isHidden?: boolean, newRow?: Partial<D>) => {
|
|
3
3
|
getRowState: (id: Identifier) => RowState<D, V> | undefined;
|
|
4
4
|
setEditableRowState: (id: Identifier) => (patch: Partial<D>) => void;
|
|
5
5
|
setRowState: (id: Identifier, partial: Partial<RowState<D, V>>) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").DividerProps>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: () => React.JSX.Element;
|
|
5
5
|
export declare const WithDisabledFields: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").EditableTableProps<object>>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|
|
4
4
|
export declare const WithAutocomplete: any;
|
|
@@ -15,7 +15,7 @@ export declare const AddRowText: import("styled-components").IStyledComponent<"w
|
|
|
15
15
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
16
16
|
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
17
17
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
18
|
-
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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" | "
|
|
18
|
+
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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"> & import("../../types").DefaultProps, never>> & Omit<({ children, margin, padding, style, variant, ...otherProps }: {
|
|
19
19
|
align?: import("@material-ui/core").PropTypes.Alignment | undefined;
|
|
20
20
|
children?: import("react").ReactNode;
|
|
21
21
|
color?: "inherit" | "initial" | "primary" | "secondary" | "textPrimary" | "textSecondary" | "error" | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const AddRowText: import("styled-components").IStyledComponent<"w
|
|
|
27
27
|
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
28
28
|
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").TypographyTypeMap<{}, "span">> & Pick<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
29
29
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
30
|
-
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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" | "
|
|
30
|
+
}, "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "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"> & import("../../types").DefaultProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
31
31
|
export declare const FullWidthButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("@/core/inputs/button").ButtonProps, never>> & Omit<({ children, margin, padding, style, variant, ...otherProps }: import("@/core/inputs/button").ButtonProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
32
32
|
export declare const CustomRemove: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<any, never>> & Omit<(props: any) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, keyof import("react").Component<any, {}, any>>;
|
|
33
33
|
export declare const CustomRows: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<any, never>> & Omit<(props: any) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import(".").FabProps>;
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const Default: any;
|