@neo4j-ndl/react 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/types/_common/input/RadioAndCheckboxWrapper.d.ts +2 -1
- package/lib/types/_common/utils.d.ts +1 -0
- package/lib/types/checkbox/Checkbox.d.ts +1 -1
- package/lib/types/context-menu/ContextMenu.d.ts +8 -8
- package/lib/types/context-menu/SafeArea.d.ts +1 -0
- package/lib/types/popover/Popover.d.ts +1 -1
- package/lib/types/progress-bar/ProgressBar.d.ts +1 -1
- package/lib/types/radio/Radio.d.ts +1 -1
- package/lib/types/switch/Switch.d.ts +1 -1
- package/lib/types/table/TableContext.d.ts +1 -0
- package/lib/types/table-deprecated/helpers.d.ts +1 -0
- package/lib/types/text-input/TextInput.d.ts +1 -1
- package/lib/types/tooltip/SmartTooltip.d.ts +1 -1
- package/lib/types/tooltip/Tooltip.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
/// <reference types="react" />
|
|
22
|
+
/// <reference types="react" />
|
|
22
23
|
import { CommonInputProps } from './types';
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -43,5 +44,5 @@ export interface RadioAndCheckboxProps extends Omit<CommonInputProps, 'label'> {
|
|
|
43
44
|
*
|
|
44
45
|
*/
|
|
45
46
|
export declare const customLabelAndNoAriaLabelWarningMessage = "aria label not detected when using a custom label, be sure to include an aria label for screen readers link: https://dequeuniversity.com/rules/axe/4.2/label?application=axeAPI";
|
|
46
|
-
declare const _default: import("react").ForwardRefExoticComponent<
|
|
47
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
47
48
|
export default _default;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
/// <reference types="react" />
|
|
22
|
+
/// <reference types="react" />
|
|
22
23
|
export declare const removeNewlines: (input: string) => string;
|
|
23
24
|
/** Remove extra spaces from sting */
|
|
24
25
|
export declare const removeSpaces: (input: string) => string;
|
|
@@ -35,5 +35,5 @@ import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper'
|
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
declare const Checkbox: React.ForwardRefExoticComponent<
|
|
38
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
39
|
export default Checkbox;
|
|
@@ -39,13 +39,13 @@ export interface ContextMenuProps extends PopoverProps {
|
|
|
39
39
|
/** Whether the menu is nested. Internal prop provided when nesting menu elements */
|
|
40
40
|
nested?: boolean;
|
|
41
41
|
}
|
|
42
|
-
declare const Menu: React.ForwardRefExoticComponent<
|
|
42
|
+
declare const Menu: React.ForwardRefExoticComponent<Omit<ContextMenuProps, "ref"> & React.RefAttributes<unknown>>;
|
|
43
43
|
interface MenuItemsProps extends ElementBase {
|
|
44
44
|
children: React.ReactNode | string;
|
|
45
45
|
/** Additional classes */
|
|
46
46
|
className?: string;
|
|
47
47
|
}
|
|
48
|
-
export declare const MenuItems: React.ForwardRefExoticComponent<
|
|
48
|
+
export declare const MenuItems: React.ForwardRefExoticComponent<Omit<MenuItemsProps, "ref"> & React.RefAttributes<unknown>>;
|
|
49
49
|
interface StandardMenuItemProps extends Omit<ElementBase, 'title' | 'onClick' | 'children'> {
|
|
50
50
|
/** Item title text */
|
|
51
51
|
title: string | React.ReactNode;
|
|
@@ -65,8 +65,8 @@ interface StandardMenuItemProps extends Omit<ElementBase, 'title' | 'onClick' |
|
|
|
65
65
|
/** Enforces no children on standard menu item. Overridden by nested menu item*/
|
|
66
66
|
children?: never;
|
|
67
67
|
}
|
|
68
|
-
export declare const MenuItem: React.ForwardRefExoticComponent<(Pick<StandardMenuItemProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "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-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "icon" | "description" | "nested" | "safeArea"> | Pick<NestedMenuItemProps, "size" | "className" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "list" | "children" | "role" | "as" | "selected" | "onChange" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "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-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "icon" | "description" | "nested" | "safeArea">) & React.RefAttributes<unknown>>;
|
|
69
|
-
declare const StandardMenuItem: React.ForwardRefExoticComponent<
|
|
68
|
+
export declare const MenuItem: React.ForwardRefExoticComponent<(Omit<StandardMenuItemProps, "ref"> | Omit<NestedMenuItemProps, "ref">) & React.RefAttributes<unknown>>;
|
|
69
|
+
declare const StandardMenuItem: React.ForwardRefExoticComponent<Omit<StandardMenuItemProps, "ref"> & React.RefAttributes<unknown>>;
|
|
70
70
|
interface MenuHeaderProps extends Omit<ElementBase, 'title'> {
|
|
71
71
|
/** Header title text */
|
|
72
72
|
title: string | React.ReactNode;
|
|
@@ -75,8 +75,8 @@ interface MenuHeaderProps extends Omit<ElementBase, 'title'> {
|
|
|
75
75
|
/** Additional classes */
|
|
76
76
|
className?: string;
|
|
77
77
|
}
|
|
78
|
-
export declare const MenuHeader: React.ForwardRefExoticComponent<
|
|
79
|
-
declare const MenuNamespace: React.ForwardRefExoticComponent<
|
|
78
|
+
export declare const MenuHeader: React.ForwardRefExoticComponent<Omit<MenuHeaderProps, "ref"> & React.RefAttributes<unknown>>;
|
|
79
|
+
declare const MenuNamespace: React.ForwardRefExoticComponent<Omit<ContextMenuProps, "ref"> & React.RefAttributes<unknown>> & {
|
|
80
80
|
Divider: () => JSX.Element;
|
|
81
81
|
Subheader: (props: {
|
|
82
82
|
title: string;
|
|
@@ -88,8 +88,8 @@ declare type NestedMenuItemProps = Omit<React.ComponentProps<typeof StandardMenu
|
|
|
88
88
|
nestedMenuProps: Pick<React.ComponentProps<typeof Menu>, 'className' | 'open' | 'anchorEl' | 'onClose' | 'onMouseLeave' | 'onKeyDown' | 'nested'>;
|
|
89
89
|
}) => JSX.Element;
|
|
90
90
|
};
|
|
91
|
-
export declare const NestedMenuItem: React.ForwardRefExoticComponent<
|
|
91
|
+
export declare const NestedMenuItem: React.ForwardRefExoticComponent<Omit<Omit<Omit<StandardMenuItemProps, "ref"> & React.RefAttributes<unknown>, "children"> & {
|
|
92
92
|
children: ({ nestedMenuProps, }: {
|
|
93
93
|
nestedMenuProps: Pick<React.ComponentProps<typeof Menu>, 'className' | 'open' | 'anchorEl' | 'onClose' | 'onMouseLeave' | 'onKeyDown' | 'nested'>;
|
|
94
94
|
}) => JSX.Element;
|
|
95
|
-
}, "
|
|
95
|
+
}, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -79,5 +79,5 @@ export interface PopoverProps extends ElementBase {
|
|
|
79
79
|
/** If the popover should constrain the focus inside the popover while open */
|
|
80
80
|
captureFocus?: boolean;
|
|
81
81
|
}
|
|
82
|
-
export declare const Popover: React.ForwardRefExoticComponent<
|
|
82
|
+
export declare const Popover: React.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React.RefAttributes<unknown>>;
|
|
83
83
|
export {};
|
|
@@ -25,5 +25,5 @@ export interface ProgressBarProps extends Omit<React.HTMLProps<HTMLDivElement>,
|
|
|
25
25
|
size: 'small' | 'large';
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
declare const ProgressBar: React.ForwardRefExoticComponent<
|
|
28
|
+
declare const ProgressBar: React.ForwardRefExoticComponent<Omit<ProgressBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
export default ProgressBar;
|
|
@@ -35,5 +35,5 @@ import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper'
|
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
declare const Radio: React.ForwardRefExoticComponent<
|
|
38
|
+
declare const Radio: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
39
|
export default Radio;
|
|
@@ -35,5 +35,5 @@ import { RadioAndCheckboxProps } from '../_common/input/RadioAndCheckboxWrapper'
|
|
|
35
35
|
*
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
declare const Switch: React.ForwardRefExoticComponent<
|
|
38
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<RadioAndCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
39
|
export default Switch;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
/// <reference types="react" />
|
|
22
|
+
/// <reference types="react" />
|
|
22
23
|
import type { RowData, Table as TableType } from '@tanstack/react-table';
|
|
23
24
|
import { Body, BodyCell, BodyRow, TableResults, ResizingBar, Navigation, Header, Pagination, NoDataPlaceholder, LoadingPlaceholder, PaginationNumericButtons, PaginationNumericButton, HeaderCell, PaginationArrowButton, RowsPerPage, ColumnControls, SortingButton } from './Components';
|
|
24
25
|
declare type Nullable<T> = T | null;
|
|
@@ -50,5 +50,5 @@ export interface TextInputProperties extends Omit<CommonInputProps, 'label'> {
|
|
|
50
50
|
*
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
|
-
declare const TextInput: import("react").ForwardRefExoticComponent<
|
|
53
|
+
declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProperties, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
54
54
|
export default TextInput;
|
|
@@ -32,5 +32,5 @@ export interface SmartTooltipProps extends Omit<TooltipProps, 'arrowPosition'> {
|
|
|
32
32
|
*/
|
|
33
33
|
portal?: boolean;
|
|
34
34
|
}
|
|
35
|
-
declare const SmartTooltip: React.ForwardRefExoticComponent<
|
|
35
|
+
declare const SmartTooltip: React.ForwardRefExoticComponent<Omit<SmartTooltipProps, "ref"> & React.RefAttributes<unknown>>;
|
|
36
36
|
export default SmartTooltip;
|
|
@@ -25,5 +25,5 @@ export interface TooltipProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
25
25
|
children: React.ReactNode | string;
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
declare const Tooltip: React.ForwardRefExoticComponent<
|
|
28
|
+
declare const Tooltip: React.ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
export default Tooltip;
|