@economic/taco 0.0.1-alpha.1543 → 0.0.1-alpha.2
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/Button/Button.d.ts +39 -1
- package/dist/components/Button/util.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Dialog/Context.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +14 -12
- package/dist/components/Hanger/Hanger.d.ts +4 -9
- package/dist/components/IconButton/IconButton.d.ts +38 -1
- package/dist/components/Navigation/Navigation.d.ts +4 -4
- package/dist/components/Popover/Popover.d.ts +5 -9
- package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/Select/useSelect.d.ts +1 -1
- package/dist/components/Table/Table.storyexample.d.ts +1 -1
- package/dist/components/Table/components/PaginatedTable.d.ts +2 -2
- package/dist/components/Table/components/Table.d.ts +2 -2
- package/dist/components/Table/components/WindowedTable.d.ts +2 -2
- package/dist/components/Table/types.d.ts +2 -2
- package/dist/components/Tabs/Tabs.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +11 -1
- package/dist/components/Treeview/Treeview.d.ts +2 -2
- package/dist/esm/index.css +70 -93
- package/dist/esm/src/components/Button/Button.js +6 -9
- package/dist/esm/src/components/Button/Button.js.map +1 -1
- package/dist/esm/src/components/Button/util.js +42 -1
- package/dist/esm/src/components/Button/util.js.map +1 -1
- package/dist/esm/src/components/Calendar/Calendar.js +1 -1
- package/dist/esm/src/components/Checkbox/Checkbox.js +9 -1
- package/dist/esm/src/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/src/components/Combobox/useCombobox.js +1 -1
- package/dist/esm/src/components/Datepicker/Datepicker.js +2 -2
- package/dist/esm/src/components/Dialog/Context.js +1 -0
- package/dist/esm/src/components/Dialog/Context.js.map +1 -1
- package/dist/esm/src/components/Dialog/Dialog.js +5 -4
- package/dist/esm/src/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/src/components/Dialog/components/Content.js +5 -5
- package/dist/esm/src/components/Dialog/components/Content.js.map +1 -1
- package/dist/esm/src/components/Dialog/components/Trigger.js +2 -1
- package/dist/esm/src/components/Dialog/components/Trigger.js.map +1 -1
- package/dist/esm/src/components/Hanger/Hanger.js +12 -9
- package/dist/esm/src/components/Hanger/Hanger.js.map +1 -1
- package/dist/esm/src/components/IconButton/IconButton.js +9 -11
- package/dist/esm/src/components/IconButton/IconButton.js.map +1 -1
- package/dist/esm/src/components/Listbox/ScrollableList.js +1 -1
- package/dist/esm/src/components/Navigation/Navigation.js +4 -4
- package/dist/esm/src/components/Navigation/Navigation.js.map +1 -1
- package/dist/esm/src/components/Pagination/PageNumbers.js +1 -1
- package/dist/esm/src/components/Pagination/Pagination.js +1 -1
- package/dist/esm/src/components/Popover/Popover.js +9 -6
- package/dist/esm/src/components/Popover/Popover.js.map +1 -1
- package/dist/esm/src/components/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/esm/src/components/SearchInput/SearchInput.js +7 -7
- package/dist/esm/src/components/Select/Select.js +2 -1
- package/dist/esm/src/components/Select/Select.js.map +1 -1
- package/dist/esm/src/components/Select/useSelect.js +12 -5
- package/dist/esm/src/components/Select/useSelect.js.map +1 -1
- package/dist/esm/src/components/Table/components/PaginatedTable.js.map +1 -1
- package/dist/esm/src/components/Table/components/Table.js.map +1 -1
- package/dist/esm/src/components/Table/components/WindowedTable.js.map +1 -1
- package/dist/esm/src/components/Table/hooks/plugins/useRowActions.js +11 -5
- package/dist/esm/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/src/components/Table/hooks/plugins/useRowSelect.js +3 -3
- package/dist/esm/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
- package/dist/esm/src/components/Table/util/renderColumn.js +4 -3
- package/dist/esm/src/components/Table/util/renderColumn.js.map +1 -1
- package/dist/esm/src/components/Table/util/renderRow.js +4 -3
- package/dist/esm/src/components/Table/util/renderRow.js.map +1 -1
- package/dist/esm/src/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/src/components/Toast/Toast.js +1 -1
- package/dist/esm/src/components/Tooltip/Tooltip.js +11 -10
- package/dist/esm/src/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/src/components/Tour/Tour.js +2 -2
- package/dist/esm/src/components/Treeview/Treeview.js.map +1 -1
- package/dist/esm/src/index.js +7 -7
- package/dist/esm/src/primitives/Button.js +2 -12
- package/dist/esm/src/primitives/Button.js.map +1 -1
- package/dist/esm/src/utils/mergeRefs.js +14 -0
- package/dist/esm/src/utils/mergeRefs.js.map +1 -0
- package/dist/index.css +70 -93
- package/dist/primitives/Button.d.ts +0 -4
- package/dist/taco.cjs.development.js +1629 -1565
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/dist/utils/mergeRefs.d.ts +2 -0
- package/package.json +4 -3
- package/types.json +7309 -0
@@ -1,21 +1,59 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { Appearance } from '../../types';
|
3
3
|
import * as ButtonPrimitive from '../../primitives/Button';
|
4
|
+
import { HangerProps } from '../Hanger/Hanger';
|
5
|
+
import { DialogProps } from '../Dialog/Dialog';
|
6
|
+
import { PopoverProps } from '../Popover/Popover';
|
4
7
|
import './Button.css';
|
5
8
|
export declare type ButtonProps = ButtonPrimitive.ButtonProps & {
|
6
9
|
/** Appearance will change the style of the button */
|
7
10
|
appearance?: Appearance;
|
11
|
+
/**
|
12
|
+
* Dialog component associated with the button, clicking the button will open the dialog.
|
13
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
14
|
+
* the button should be only to open the associated dialog when clicked.
|
15
|
+
*/
|
16
|
+
dialog?: React.ReactElement<DialogProps>;
|
8
17
|
/** If fluid, button expands to the width of it's container */
|
9
18
|
fluid?: boolean;
|
19
|
+
/** Hanger component associated with the button. */
|
20
|
+
hanger?: React.ReactElement<HangerProps>;
|
21
|
+
/**
|
22
|
+
* Popover component associated with the button, clicking the button will open the popover.
|
23
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
24
|
+
* the button should be only to open the associated popover when clicked.
|
25
|
+
*/
|
26
|
+
popover?: React.ReactElement<PopoverProps>;
|
27
|
+
/** A tooltip to show when hovering over the button */
|
28
|
+
tooltip?: string;
|
10
29
|
};
|
11
30
|
export declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement | HTMLAnchorElement> & {
|
12
31
|
children: React.ReactNode;
|
13
32
|
href?: string | undefined;
|
14
33
|
target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
|
15
|
-
tooltip?: string | undefined;
|
16
34
|
} & {
|
17
35
|
/** Appearance will change the style of the button */
|
18
36
|
appearance?: "default" | "primary" | "danger" | "ghost" | "discrete" | undefined;
|
37
|
+
/**
|
38
|
+
* Dialog component associated with the button, clicking the button will open the dialog.
|
39
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
40
|
+
* the button should be only to open the associated dialog when clicked.
|
41
|
+
*/
|
42
|
+
dialog?: React.ReactElement<DialogProps, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
19
43
|
/** If fluid, button expands to the width of it's container */
|
20
44
|
fluid?: boolean | undefined;
|
45
|
+
/** Hanger component associated with the button. */
|
46
|
+
hanger?: React.ReactElement<{
|
47
|
+
children?: React.ReactNode;
|
48
|
+
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
49
|
+
/**
|
50
|
+
* Popover component associated with the button, clicking the button will open the popover.
|
51
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
52
|
+
* the button should be only to open the associated popover when clicked.
|
53
|
+
*/
|
54
|
+
popover?: React.ReactElement<{
|
55
|
+
children?: React.ReactNode;
|
56
|
+
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
57
|
+
/** A tooltip to show when hovering over the button */
|
58
|
+
tooltip?: string | undefined;
|
21
59
|
} & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { Appearance } from '../../types';
|
2
3
|
export declare const getButtonClasses: () => string;
|
3
4
|
export declare const getAppearanceClasses: (value: Appearance | undefined, icon?: boolean) => string;
|
5
|
+
export declare const createButton: (props: any, className: string, ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>) => JSX.Element;
|
@@ -19,7 +19,7 @@ interface UncontrolledCheckboxProps extends CheckboxBaseProps {
|
|
19
19
|
interface ControlledCheckboxProps extends CheckboxBaseProps {
|
20
20
|
defaultChecked?: never;
|
21
21
|
checked: boolean;
|
22
|
-
onChange: (checked: boolean
|
22
|
+
onChange: (checked: boolean) => void;
|
23
23
|
}
|
24
24
|
export declare type CheckboxProps = UncontrolledCheckboxProps | ControlledCheckboxProps;
|
25
25
|
export declare const Checkbox: React.ForwardRefExoticComponent<(UncontrolledCheckboxProps & React.RefAttributes<HTMLButtonElement>) | (ControlledCheckboxProps & React.RefAttributes<HTMLButtonElement>)>;
|
@@ -1,6 +1,11 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import './Dialog.css';
|
3
|
+
import { DialogTriggerProps } from './components/Trigger';
|
4
|
+
import { DialogContentProps, DialogTitleProps, DialogFooterProps, DialogCloseProps } from './components/Content';
|
5
|
+
import { DialogDrawerProps } from './components/Drawer';
|
6
|
+
import { DialogExtraProps } from './components/Extra';
|
3
7
|
import { DialogSize } from './types';
|
8
|
+
export { DialogContentProps, DialogTitleProps, DialogFooterProps, DialogCloseProps };
|
4
9
|
export declare type DialogTexts = {
|
5
10
|
/**
|
6
11
|
* Aria-label for close icon button in dialog.
|
@@ -20,16 +25,13 @@ export declare type DialogProps = {
|
|
20
25
|
/** Size of the dialog. This is the recommended way to set a size for dialog component. */
|
21
26
|
size?: DialogSize;
|
22
27
|
};
|
23
|
-
export declare
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
Footer: React.ForwardRefExoticComponent<import("./components/Content").DialogFooterProps & React.RefAttributes<HTMLDivElement>>;
|
32
|
-
Extra: React.ForwardRefExoticComponent<import("./components/Extra").DialogExtraProps & React.RefAttributes<HTMLDivElement>>;
|
33
|
-
Drawer: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement>, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "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" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
34
|
-
Close: React.ForwardRefExoticComponent<import("./components/Content").DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
28
|
+
export declare type ForwardedDialogWithStatics = React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLElement>> & {
|
29
|
+
Trigger: React.ForwardRefExoticComponent<DialogTriggerProps>;
|
30
|
+
Content: React.ForwardRefExoticComponent<DialogContentProps>;
|
31
|
+
Title: React.ForwardRefExoticComponent<DialogTitleProps>;
|
32
|
+
Footer: React.ForwardRefExoticComponent<DialogFooterProps>;
|
33
|
+
Extra: React.ForwardRefExoticComponent<DialogExtraProps>;
|
34
|
+
Drawer: React.ForwardRefExoticComponent<DialogDrawerProps>;
|
35
|
+
Close: React.ForwardRefExoticComponent<DialogCloseProps>;
|
35
36
|
};
|
37
|
+
export declare const Dialog: ForwardedDialogWithStatics;
|
@@ -14,13 +14,8 @@ export declare type HangerContentProps = React.HTMLAttributes<HTMLDivElement> &
|
|
14
14
|
placement?: Placement;
|
15
15
|
};
|
16
16
|
export declare type HangerProps = React.PropsWithChildren<{}>;
|
17
|
-
export declare
|
18
|
-
|
19
|
-
|
20
|
-
Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
21
|
-
/** Handler called when user closes the hanger */
|
22
|
-
onClose?: CloseHandler | undefined;
|
23
|
-
/** Set the position of the Hanger relative to its achor. Default value is `bottom` */
|
24
|
-
placement?: "right" | "left" | "top" | "bottom" | undefined;
|
25
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
17
|
+
export declare type ForwardedHangerWithStatics = React.ForwardRefExoticComponent<HangerProps & React.RefAttributes<HTMLElement>> & {
|
18
|
+
Anchor: React.ForwardRefExoticComponent<HangerAnchorProps>;
|
19
|
+
Content: React.ForwardRefExoticComponent<HangerContentProps>;
|
26
20
|
};
|
21
|
+
export declare const Hanger: ForwardedHangerWithStatics;
|
@@ -2,25 +2,62 @@ import * as React from 'react';
|
|
2
2
|
import * as ButtonPrimitive from '../../primitives/Button';
|
3
3
|
import { IconName } from '../Icon/Icon';
|
4
4
|
import { Appearance } from '../../types';
|
5
|
+
import { DialogProps, HangerProps, PopoverProps } from '../..';
|
5
6
|
export declare type IconButtonProps = Omit<ButtonPrimitive.ButtonProps, 'children'> & {
|
6
7
|
/** Appearance will change the style of the button */
|
7
8
|
appearance?: Appearance;
|
9
|
+
/**
|
10
|
+
* Dialog component associated with the button, clicking the button will open the dialog.
|
11
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
12
|
+
* the button should be only to open the associated dialog when clicked.
|
13
|
+
*/
|
14
|
+
dialog?: React.ReactElement<DialogProps>;
|
8
15
|
/** Set which icon should be rendered within button */
|
9
16
|
icon: IconName;
|
17
|
+
/** Hanger component associated with the button. */
|
18
|
+
hanger?: React.ReactElement<HangerProps>;
|
19
|
+
/**
|
20
|
+
* Popover component associated with the button, clicking the button will open the popover.
|
21
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
22
|
+
* the button should be only to open the associated popover when clicked.
|
23
|
+
*/
|
24
|
+
popover?: React.ReactElement<PopoverProps>;
|
10
25
|
/**
|
11
26
|
* Set whether the button is rounded.
|
12
27
|
* Default value is `false`
|
13
28
|
*/
|
14
29
|
rounded?: boolean;
|
30
|
+
/** A tooltip to show when hovering over the button */
|
31
|
+
tooltip?: string;
|
15
32
|
};
|
16
|
-
export declare const IconButton: React.ForwardRefExoticComponent<Pick<ButtonPrimitive.ButtonProps, "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "href" | "target"
|
33
|
+
export declare const IconButton: React.ForwardRefExoticComponent<Pick<ButtonPrimitive.ButtonProps, "autoFocus" | "disabled" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "href" | "target"> & {
|
17
34
|
/** Appearance will change the style of the button */
|
18
35
|
appearance?: "default" | "primary" | "danger" | "ghost" | "discrete" | undefined;
|
36
|
+
/**
|
37
|
+
* Dialog component associated with the button, clicking the button will open the dialog.
|
38
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
39
|
+
* the button should be only to open the associated dialog when clicked.
|
40
|
+
*/
|
41
|
+
dialog?: React.ReactElement<DialogProps, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
19
42
|
/** Set which icon should be rendered within button */
|
20
43
|
icon: IconName;
|
44
|
+
/** Hanger component associated with the button. */
|
45
|
+
hanger?: React.ReactElement<{
|
46
|
+
children?: React.ReactNode;
|
47
|
+
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
48
|
+
/**
|
49
|
+
* Popover component associated with the button, clicking the button will open the popover.
|
50
|
+
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
51
|
+
* the button should be only to open the associated popover when clicked.
|
52
|
+
*/
|
53
|
+
popover?: React.ReactElement<{
|
54
|
+
children?: React.ReactNode;
|
55
|
+
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
21
56
|
/**
|
22
57
|
* Set whether the button is rounded.
|
23
58
|
* Default value is `false`
|
24
59
|
*/
|
25
60
|
rounded?: boolean | undefined;
|
61
|
+
/** A tooltip to show when hovering over the button */
|
62
|
+
tooltip?: string | undefined;
|
26
63
|
} & React.RefAttributes<HTMLButtonElement>>;
|
@@ -26,12 +26,12 @@ export declare type NavigationItemProps = Omit<TreeviewItemProps, 'prefix'> & {
|
|
26
26
|
export declare type NavigationPanelProps = React.HTMLAttributes<HTMLDivElement>;
|
27
27
|
export declare type NavigationMenuGroupProps = TreeviewGroupProps;
|
28
28
|
export declare type NavigationMenuProps = React.PropsWithChildren<TreeviewProps>;
|
29
|
-
export declare type
|
29
|
+
export declare type ForwardedNavigationMenuWithStatics = React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLDivElement>> & {
|
30
30
|
/** Expandable region reprezenting a group of related links */
|
31
31
|
Group: React.ForwardRefExoticComponent<NavigationMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
32
32
|
};
|
33
33
|
export declare type NavigationProps = React.HTMLAttributes<HTMLDivElement>;
|
34
|
-
export declare type
|
34
|
+
export declare type ForwardedNavigationWithStatics = React.ForwardRefExoticComponent<NavigationProps & React.RefAttributes<HTMLDivElement>> & {
|
35
35
|
/** Navigation link */
|
36
36
|
Item: React.ForwardRefExoticComponent<NavigationItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
37
37
|
/**
|
@@ -39,7 +39,7 @@ export declare type FowardedNavigationWithStatics = React.ForwardRefExoticCompon
|
|
39
39
|
* Should be used as a direct child of Navigation component, e.g. `Navigation.Menu`.
|
40
40
|
* Should have the menu groups as a direct child, e.g. `Navigation.Menu.Group`
|
41
41
|
*/
|
42
|
-
Menu:
|
42
|
+
Menu: ForwardedNavigationMenuWithStatics;
|
43
43
|
/**
|
44
44
|
* Isolated container within the Navigation.
|
45
45
|
* This can be used to create a region in the Navigation that is usually not scrollable, nor expandable,
|
@@ -47,4 +47,4 @@ export declare type FowardedNavigationWithStatics = React.ForwardRefExoticCompon
|
|
47
47
|
*/
|
48
48
|
Panel: React.ForwardRefExoticComponent<NavigationPanelProps & React.RefAttributes<HTMLDivElement>>;
|
49
49
|
};
|
50
|
-
export declare const Navigation:
|
50
|
+
export declare const Navigation: ForwardedNavigationWithStatics;
|
@@ -11,13 +11,9 @@ export declare type PopoverContentProps = Omit<React.HTMLAttributes<HTMLDivEleme
|
|
11
11
|
};
|
12
12
|
export declare type PopoverCloseProps = React.HTMLAttributes<HTMLButtonElement>;
|
13
13
|
export declare type PopoverProps = React.PropsWithChildren<{}>;
|
14
|
-
export declare
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
children: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((props: PopoverContentRenderProps) => React.ReactNode) | null | undefined;
|
19
|
-
/** Set the position of the Popover relative to its trigger. Default value is `bottom` */
|
20
|
-
placement?: "right" | "left" | "top" | "bottom" | undefined;
|
21
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
22
|
-
Close: React.ForwardRefExoticComponent<PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
14
|
+
export declare type ForwardedPopoverWithStatics = React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLElement>> & {
|
15
|
+
Trigger: React.ForwardRefExoticComponent<PopoverTriggerProps>;
|
16
|
+
Content: React.ForwardRefExoticComponent<PopoverContentProps>;
|
17
|
+
Close: React.ForwardRefExoticComponent<PopoverCloseProps>;
|
23
18
|
};
|
19
|
+
export declare const Popover: ForwardedPopoverWithStatics;
|
@@ -36,7 +36,7 @@ interface ControlledRadioGroupProps extends RadioGroupBaseProps {
|
|
36
36
|
value: RadioGroupItemValue;
|
37
37
|
}
|
38
38
|
export declare type RadioGroupProps = UncontrolledRadioGroupProps | ControlledRadioGroupProps;
|
39
|
-
export declare type
|
39
|
+
export declare type ForwardedRadioGroupWithStatics = React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>> & {
|
40
40
|
/** Item component rendered in a `RadioGroup` component */
|
41
41
|
Item: React.ForwardRefExoticComponent<RadioGroupItemProps>;
|
42
42
|
};
|
@@ -47,5 +47,5 @@ export declare const useRadioGroup: (props: RadioGroupProps) => {
|
|
47
47
|
};
|
48
48
|
props: any;
|
49
49
|
};
|
50
|
-
export declare const RadioGroup:
|
50
|
+
export declare const RadioGroup: ForwardedRadioGroupWithStatics;
|
51
51
|
export {};
|
@@ -14,6 +14,8 @@ export declare type BaseSelectProps = ListboxProps & Omit<ComboboxProps, 'inline
|
|
14
14
|
* All the selected values will be combined in a comma-seperated string as the value of the input.
|
15
15
|
*/
|
16
16
|
multiselect?: boolean;
|
17
|
+
/** Optionally shows the icon for the selected option */
|
18
|
+
showSelectedIcon?: boolean;
|
17
19
|
};
|
18
20
|
export declare type SelectProps = BaseSelectProps & {
|
19
21
|
/**
|
@@ -38,6 +40,8 @@ export declare const Select: React.ForwardRefExoticComponent<Pick<React.InputHTM
|
|
38
40
|
* All the selected values will be combined in a comma-seperated string as the value of the input.
|
39
41
|
*/
|
40
42
|
multiselect?: boolean | undefined;
|
43
|
+
/** Optionally shows the icon for the selected option */
|
44
|
+
showSelectedIcon?: boolean | undefined;
|
41
45
|
} & {
|
42
46
|
/**
|
43
47
|
* Creates an editable select.
|
@@ -11,5 +11,5 @@ declare type useSelect = React.HtmlHTMLAttributes<HTMLDivElement> & {
|
|
11
11
|
text: string | JSX.Element;
|
12
12
|
more?: number;
|
13
13
|
};
|
14
|
-
export declare const useSelect: ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, data, disabled, emptyValue, id: nativeId, multiselect, onClick, readOnly, value, ...otherProps }: SelectProps, ref: React.Ref<HTMLInputElement>) => useSelect;
|
14
|
+
export declare const useSelect: ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, data, disabled, emptyValue, id: nativeId, multiselect, onClick, readOnly, showSelectedIcon, value, ...otherProps }: SelectProps, ref: React.Ref<HTMLInputElement>) => useSelect;
|
15
15
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export default function LocationsTable({ component: Table, allowNew, data: initialData, onRowSave, onReset, showAddress, ...props }: {
|
2
2
|
[x: string]: any;
|
3
|
-
component?: import("./types").
|
3
|
+
component?: import("./types").ForwardedGenericTableWithStatics | undefined;
|
4
4
|
allowNew?: boolean | undefined;
|
5
5
|
data: any;
|
6
6
|
onRowSave?: (() => undefined) | undefined;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const PaginatedTable:
|
1
|
+
import { ForwardedGenericTableWithStatics } from '../types';
|
2
|
+
export declare const PaginatedTable: ForwardedGenericTableWithStatics;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const Table:
|
1
|
+
import { ForwardedGenericTableWithStatics } from '../types';
|
2
|
+
export declare const Table: ForwardedGenericTableWithStatics;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const WindowedTable:
|
1
|
+
import { ForwardedGenericTableWithStatics } from '../types';
|
2
|
+
export declare const WindowedTable: ForwardedGenericTableWithStatics;
|
@@ -136,7 +136,7 @@ export declare type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
|
|
136
136
|
autoFocus?: boolean;
|
137
137
|
/**
|
138
138
|
* Children should be one of the Table's components.
|
139
|
-
* Read about `
|
139
|
+
* Read about `ForwardedGenericTableWithStatics` for more details.
|
140
140
|
* *Note* that there can also be children that are rendered conditionally
|
141
141
|
*/
|
142
142
|
children: TableChildren<TRow>;
|
@@ -229,7 +229,7 @@ export declare type TableRef = HTMLDivElement & {
|
|
229
229
|
toggleSortBy: any;
|
230
230
|
};
|
231
231
|
};
|
232
|
-
export declare type
|
232
|
+
export declare type ForwardedGenericTableWithStatics = React.ForwardRefExoticComponent<TableProps<any> & React.RefAttributes<HTMLDivElement>> & {
|
233
233
|
/** Represents a column in your table */
|
234
234
|
Column: <TRow>(props: TableColumnProps<TRow>) => JSX.Element | null;
|
235
235
|
/**
|
@@ -44,7 +44,7 @@ export declare type TabContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
44
44
|
*/
|
45
45
|
id: string;
|
46
46
|
};
|
47
|
-
export declare type
|
47
|
+
export declare type ForwardedTabsWithStatics = React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>> & {
|
48
48
|
/** Tab list component containing all tab triggers, rendered in a `Tabs` group component */
|
49
49
|
List: React.ForwardRefExoticComponent<TabListProps & React.RefAttributes<HTMLDivElement>>;
|
50
50
|
/** Tab trigger component rendered in a `Tabs.List` component */
|
@@ -52,4 +52,4 @@ export declare type FowardedTabsWithStatics = React.ForwardRefExoticComponent<Ta
|
|
52
52
|
/** Tab content component rendered in a `Tabs` group component */
|
53
53
|
Content: React.ForwardRefExoticComponent<TabContentProps & React.RefAttributes<HTMLDivElement>>;
|
54
54
|
};
|
55
|
-
export declare const Tabs:
|
55
|
+
export declare const Tabs: ForwardedTabsWithStatics;
|
@@ -10,4 +10,14 @@ export declare type TooltipProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
10
10
|
*/
|
11
11
|
placement?: 'top' | 'right' | 'bottom' | 'left';
|
12
12
|
};
|
13
|
-
export declare const Tooltip:
|
13
|
+
export declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
14
|
+
/** The element which activates the tooltip when hovered. Should be a single React/HTML element */
|
15
|
+
children: React.ReactElement | any;
|
16
|
+
/** Text displayed in the tooltip */
|
17
|
+
title: string;
|
18
|
+
/**
|
19
|
+
* Placement of the tooltip relative to the reference element. Placement will be reversed if a collision occurs
|
20
|
+
* @defaultValue bottom
|
21
|
+
*/
|
22
|
+
placement?: "top" | "right" | "bottom" | "left" | undefined;
|
23
|
+
} & React.RefAttributes<HTMLElement>>;
|
@@ -16,10 +16,10 @@ export declare type TreeviewGroupProps = Omit<React.LinkHTMLAttributes<HTMLDivEl
|
|
16
16
|
title: React.ReactNode | ((expanded: boolean) => React.ReactNode);
|
17
17
|
};
|
18
18
|
export declare type TreeviewProps = React.HTMLAttributes<HTMLDivElement>;
|
19
|
-
export declare type
|
19
|
+
export declare type ForwardedTreeviewWithStatics = React.ForwardRefExoticComponent<TreeviewProps & React.RefAttributes<HTMLDivElement>> & {
|
20
20
|
/** Navigable link */
|
21
21
|
Item: React.ForwardRefExoticComponent<TreeviewItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
22
22
|
/** Container for a set of related links, usually expandable */
|
23
23
|
Group: React.ForwardRefExoticComponent<TreeviewGroupProps & React.RefAttributes<HTMLDivElement>>;
|
24
24
|
};
|
25
|
-
export declare const Treeview:
|
25
|
+
export declare const Treeview: ForwardedTreeviewWithStatics;
|