@economic/taco 1.4.1 → 1.4.3
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/Accordion/Accordion.stories.d.ts +26 -0
- package/dist/components/Backdrop/Backdrop.stories.d.ts +7 -0
- package/dist/components/Badge/Badge.stories.d.ts +15 -0
- package/dist/components/Banner/Banner.stories.d.ts +23 -0
- package/dist/components/Button/Button.stories.d.ts +69 -0
- package/dist/components/Calendar/Calendar.stories.d.ts +13 -0
- package/dist/components/Card/Card.stories.d.ts +12 -0
- package/dist/components/Datepicker/Datepicker.stories.d.ts +43 -0
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +54 -0
- package/dist/components/Field/Field.stories.d.ts +14 -0
- package/dist/components/Form/Form.stories.d.ts +14 -0
- package/dist/components/Group/Group.stories.d.ts +23 -0
- package/dist/components/Hanger/Hanger.stories.d.ts +11 -0
- package/dist/components/HoverCard/HoverCard.stories.d.ts +28 -0
- package/dist/components/Icon/Icon.stories.d.ts +24 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +45 -0
- package/dist/components/Input/Input.stories.d.ts +43 -0
- package/dist/components/Listbox/Listbox.stories.d.ts +44 -0
- package/dist/components/Menu/Menu.stories.d.ts +93 -0
- package/dist/components/Navigation/Navigation.stories.d.ts +7 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +28 -0
- package/dist/components/Popover/Popover.stories.d.ts +14 -0
- package/dist/components/Progress/Progress.stories.d.ts +8 -0
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +49 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +41 -0
- package/dist/components/Select/Select.stories.d.ts +35 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +15 -0
- package/dist/components/Table/Table.stories.d.ts +32 -0
- package/dist/components/Table/util/rowIndexPath.d.ts +2 -2
- package/dist/components/Tabs/Tabs.stories.d.ts +19 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +40 -0
- package/dist/components/Toast/Toast.stories.d.ts +12 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +25 -0
- package/dist/components/Tour/Tour.stories.d.ts +11 -0
- package/dist/css/Typography.stories.d.ts +6 -0
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/Listbox/useMultiListbox.js +1 -1
- package/dist/esm/components/Listbox/useMultiListbox.js.map +1 -1
- package/dist/esm/components/Navigation/Navigation.js +2 -1
- package/dist/esm/components/Navigation/Navigation.js.map +1 -1
- package/dist/esm/components/Table/hooks/plugins/useRowActions.js +1 -1
- package/dist/esm/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js +7 -1
- package/dist/esm/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
- package/dist/esm/components/Table/util/rowIndexPath.js.map +1 -1
- package/dist/esm/components/Toast/Toaster.js.map +1 -1
- package/dist/esm/primitives/Button.js.map +1 -1
- package/dist/primitives/Button.d.ts +2 -1
- package/dist/taco.cjs.development.js +11 -4
- 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/package.json +3 -3
@@ -0,0 +1,26 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: {
|
5
|
+
(props: import("./Accordion").AccordionProps): JSX.Element;
|
6
|
+
Item: (props: import("./Accordion").AccordionItemProps) => JSX.Element;
|
7
|
+
Trigger: React.ForwardRefExoticComponent<import("./Accordion").AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
8
|
+
Content: React.ForwardRefExoticComponent<import("./Accordion").AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
|
9
|
+
};
|
10
|
+
argTypes: {
|
11
|
+
as: {
|
12
|
+
control: {
|
13
|
+
type: string;
|
14
|
+
options: string[];
|
15
|
+
};
|
16
|
+
};
|
17
|
+
};
|
18
|
+
args: {
|
19
|
+
as: string;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
export default _default;
|
23
|
+
export declare const UncontrolledSingle: (args: any) => JSX.Element;
|
24
|
+
export declare const ControlledSingle: (args: any) => JSX.Element;
|
25
|
+
export declare const UncontrolledMultiple: (args: any) => JSX.Element;
|
26
|
+
export declare const ControlledMultiple: (args: any) => JSX.Element;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<import("./Backdrop").BackdropProps & React.RefAttributes<HTMLDivElement>>;
|
5
|
+
};
|
6
|
+
export default _default;
|
7
|
+
export declare const Default: () => JSX.Element;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
5
|
+
children: React.ReactNode;
|
6
|
+
compact?: boolean | undefined;
|
7
|
+
outline?: boolean | undefined;
|
8
|
+
state?: "warning" | "information" | "default" | "success" | "error" | undefined;
|
9
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
10
|
+
};
|
11
|
+
export default _default;
|
12
|
+
export declare const Default: () => JSX.Element;
|
13
|
+
export declare const Outline: () => JSX.Element;
|
14
|
+
export declare const CompactOutline: () => JSX.Element;
|
15
|
+
export declare const KitchenSink: () => JSX.Element;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
5
|
+
children: React.ReactNode;
|
6
|
+
state: import("../..").State;
|
7
|
+
onClose?: (() => void) | undefined;
|
8
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
9
|
+
argTypes: {
|
10
|
+
state: {
|
11
|
+
options: string[];
|
12
|
+
control: {
|
13
|
+
type: string;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
};
|
17
|
+
args: {
|
18
|
+
state: string;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
export default _default;
|
22
|
+
export declare const Default: (args: any) => JSX.Element;
|
23
|
+
export declare const KitchenSink: () => JSX.Element;
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { ButtonProps } from '../../';
|
3
|
+
declare const _default: {
|
4
|
+
title: string;
|
5
|
+
component: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement | HTMLAnchorElement> & {
|
6
|
+
children: React.ReactNode;
|
7
|
+
href?: string | undefined;
|
8
|
+
target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
|
9
|
+
} & {
|
10
|
+
appearance?: "default" | "primary" | "danger" | "ghost" | "discrete" | undefined;
|
11
|
+
dialog?: ((props: Partial<import("../..").DialogProps>) => JSX.Element) | undefined;
|
12
|
+
fluid?: boolean | undefined;
|
13
|
+
hanger?: ((props: Partial<React.PropsWithChildren<{
|
14
|
+
anchor?: JSX.Element | undefined;
|
15
|
+
defaultOpen?: boolean | undefined;
|
16
|
+
onClose?: (() => void) | undefined;
|
17
|
+
}>>) => JSX.Element) | undefined;
|
18
|
+
menu?: ((props: Partial<import("../..").MenuProps>) => JSX.Element) | undefined;
|
19
|
+
popover?: ((props: Partial<React.PropsWithChildren<{
|
20
|
+
trigger?: JSX.Element | undefined;
|
21
|
+
}>>) => JSX.Element) | undefined;
|
22
|
+
tooltip?: string | undefined;
|
23
|
+
} & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
24
|
+
argTypes: {
|
25
|
+
appearance: {
|
26
|
+
control: {
|
27
|
+
type: string;
|
28
|
+
options: string[];
|
29
|
+
};
|
30
|
+
};
|
31
|
+
href: {
|
32
|
+
control: {
|
33
|
+
type: string;
|
34
|
+
};
|
35
|
+
};
|
36
|
+
};
|
37
|
+
args: {
|
38
|
+
appearance: string;
|
39
|
+
disabled: boolean;
|
40
|
+
fluid: boolean;
|
41
|
+
};
|
42
|
+
};
|
43
|
+
export default _default;
|
44
|
+
export declare const Default: (args: ButtonProps) => JSX.Element;
|
45
|
+
export declare const WithIcon: {
|
46
|
+
(args: ButtonProps): JSX.Element;
|
47
|
+
storyName: string;
|
48
|
+
};
|
49
|
+
export declare const WithTooltip: {
|
50
|
+
(args: ButtonProps): JSX.Element;
|
51
|
+
storyName: string;
|
52
|
+
};
|
53
|
+
export declare const WithHanger: {
|
54
|
+
(args: ButtonProps): JSX.Element;
|
55
|
+
storyName: string;
|
56
|
+
};
|
57
|
+
export declare const WithDialog: {
|
58
|
+
(args: ButtonProps): JSX.Element;
|
59
|
+
storyName: string;
|
60
|
+
};
|
61
|
+
export declare const WithPopover: {
|
62
|
+
(args: ButtonProps): JSX.Element;
|
63
|
+
storyName: string;
|
64
|
+
};
|
65
|
+
export declare const WithMenu: {
|
66
|
+
(args: ButtonProps): JSX.Element;
|
67
|
+
storyName: string;
|
68
|
+
};
|
69
|
+
export declare const KitchenSink: () => JSX.Element;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<Pick<React.HTMLAttributes<HTMLDivElement>, "draggable" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "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" | "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" | "slot" | "title" | "dir" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & {
|
5
|
+
onChange: (date: Date, event?: React.MouseEvent<HTMLDivElement, MouseEvent> | undefined) => void;
|
6
|
+
value?: Date | undefined;
|
7
|
+
disabledDays?: import("react-day-picker").Modifier[] | undefined;
|
8
|
+
} & React.RefAttributes<import("react-day-picker").default>>;
|
9
|
+
};
|
10
|
+
export default _default;
|
11
|
+
export declare const Basic: () => JSX.Element;
|
12
|
+
export declare const Localised: () => JSX.Element;
|
13
|
+
export declare const DisabledDays: () => JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<import("./Card").CardProps> & {
|
5
|
+
Content: React.ForwardRefExoticComponent<import("./Card").CardContentProps>;
|
6
|
+
};
|
7
|
+
};
|
8
|
+
export default _default;
|
9
|
+
export declare const Default: () => JSX.Element;
|
10
|
+
export declare const WithMenu: () => JSX.Element;
|
11
|
+
export declare const LargeContent: () => JSX.Element;
|
12
|
+
export declare const Grid: () => JSX.Element;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<Pick<import("../..").InputProps, "draggable" | "list" | "name" | "button" | "form" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "style" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "pattern" | "dir" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "step" | "size" | "icon" | "checked" | "highlighted" | "invalid" | "required" | "accept" | "alt" | "autoComplete" | "capture" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "src"> & {
|
5
|
+
calendar?: import("../..").CalendarProps | undefined;
|
6
|
+
shortcuts?: any;
|
7
|
+
shortcutsText?: string | undefined;
|
8
|
+
onReset?: ((event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
9
|
+
value?: Date | undefined;
|
10
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
11
|
+
args: {
|
12
|
+
disabled: boolean;
|
13
|
+
highlighted: boolean;
|
14
|
+
invalid: boolean;
|
15
|
+
readOnly: boolean;
|
16
|
+
};
|
17
|
+
argTypes: {
|
18
|
+
disabled: {
|
19
|
+
control: {
|
20
|
+
type: string;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
highlighted: {
|
24
|
+
control: {
|
25
|
+
type: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
invalid: {
|
29
|
+
control: {
|
30
|
+
type: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
readOnly: {
|
34
|
+
control: {
|
35
|
+
type: string;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
40
|
+
export default _default;
|
41
|
+
export declare const Basic: (args: any) => JSX.Element;
|
42
|
+
export declare const CustomShortcuts: (args: any) => JSX.Element;
|
43
|
+
export declare const KitchenSink: () => JSX.Element;
|
@@ -5,7 +5,7 @@ import { DialogContentProps, DialogContentRenderProps, DialogContentDrawerRender
|
|
5
5
|
import { DialogDrawerProps, DialogDrawerRenderProps } from './components/Drawer';
|
6
6
|
import { DialogExtraProps } from './components/Extra';
|
7
7
|
import { DialogSize } from './types';
|
8
|
-
export { DialogCloseProps, DialogContentDrawerRenderProps, DialogContentProps, DialogContentRenderProps, DialogDrawerProps, DialogDrawerRenderProps, DialogFooterProps, DialogSize, DialogTitleProps, };
|
8
|
+
export type { DialogCloseProps, DialogContentDrawerRenderProps, DialogContentProps, DialogContentRenderProps, DialogDrawerProps, DialogDrawerRenderProps, DialogFooterProps, DialogSize, DialogTitleProps, };
|
9
9
|
export declare type DialogTexts = {
|
10
10
|
/**
|
11
11
|
* Aria-label for close icon button in dialog.
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { DialogProps } from './Dialog';
|
3
|
+
declare const _default: {
|
4
|
+
title: string;
|
5
|
+
component: import("./Dialog").ForwardedDialogWithStatics;
|
6
|
+
argTypes: {
|
7
|
+
size: {
|
8
|
+
control: {
|
9
|
+
type: string;
|
10
|
+
options: string[];
|
11
|
+
};
|
12
|
+
};
|
13
|
+
};
|
14
|
+
args: {
|
15
|
+
draggable: boolean;
|
16
|
+
size: string;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
export default _default;
|
20
|
+
export declare const Basic: (args: DialogProps) => JSX.Element;
|
21
|
+
export declare const Nested: (args: DialogProps) => JSX.Element;
|
22
|
+
export declare const Extra: {
|
23
|
+
(args: DialogProps): JSX.Element;
|
24
|
+
args: {
|
25
|
+
size: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
export declare const Drawer: {
|
29
|
+
(args: DialogProps): JSX.Element;
|
30
|
+
args: {
|
31
|
+
size: string;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
export declare const Draggable: {
|
35
|
+
(args: DialogProps): JSX.Element;
|
36
|
+
args: {
|
37
|
+
draggable: boolean;
|
38
|
+
size: string;
|
39
|
+
};
|
40
|
+
};
|
41
|
+
export declare const Close: (args: DialogProps) => JSX.Element;
|
42
|
+
export declare const CloseHandler: {
|
43
|
+
(args: DialogProps): JSX.Element;
|
44
|
+
storyName: string;
|
45
|
+
};
|
46
|
+
export declare const RenderProp: {
|
47
|
+
(args: DialogProps): JSX.Element;
|
48
|
+
storyName: string;
|
49
|
+
};
|
50
|
+
export declare const OpenByDefault: {
|
51
|
+
(args: DialogProps): JSX.Element;
|
52
|
+
storyName: string;
|
53
|
+
};
|
54
|
+
export declare const Test: () => JSX.Element;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & {
|
5
|
+
children: React.ReactNode;
|
6
|
+
disabled?: boolean | undefined;
|
7
|
+
invalid?: boolean | undefined;
|
8
|
+
message?: string | undefined;
|
9
|
+
} & React.RefAttributes<HTMLLabelElement>>;
|
10
|
+
};
|
11
|
+
export default _default;
|
12
|
+
export declare const Appearance: () => JSX.Element;
|
13
|
+
export declare const LabelMessage: () => JSX.Element;
|
14
|
+
export declare const LabelState: () => JSX.Element;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { FormProps } from '../..';
|
3
|
+
declare const _default: {
|
4
|
+
title: string;
|
5
|
+
component: React.ForwardRefExoticComponent<React.FormHTMLAttributes<HTMLFormElement> & {
|
6
|
+
children: React.ReactNode;
|
7
|
+
horizontal?: boolean | undefined;
|
8
|
+
} & React.RefAttributes<HTMLFormElement>>;
|
9
|
+
args: {
|
10
|
+
horizontal: boolean;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
export default _default;
|
14
|
+
export declare const Default: (args: FormProps) => JSX.Element;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { GroupProps } from './Group';
|
3
|
+
declare const _default: {
|
4
|
+
title: string;
|
5
|
+
component: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
6
|
+
as?: "div" | "nav" | "span" | undefined;
|
7
|
+
children: React.ReactNode;
|
8
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
9
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
10
|
+
argType: {
|
11
|
+
orientation: {
|
12
|
+
type: string;
|
13
|
+
options: string[];
|
14
|
+
};
|
15
|
+
};
|
16
|
+
args: {
|
17
|
+
orientation: string;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
export default _default;
|
21
|
+
export declare const Badges: (args: GroupProps) => JSX.Element;
|
22
|
+
export declare const Buttons: (args: GroupProps) => JSX.Element;
|
23
|
+
export declare const Icons: (args: GroupProps) => JSX.Element;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: import("./Hanger").ForwardedHangerWithStatics;
|
5
|
+
};
|
6
|
+
export default _default;
|
7
|
+
export declare const Basic: () => JSX.Element;
|
8
|
+
export declare const Placement: () => JSX.Element;
|
9
|
+
export declare const CloseHandler: () => JSX.Element;
|
10
|
+
export declare const WithOtherOverlays: () => JSX.Element;
|
11
|
+
export declare const Test: () => JSX.Element;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: {
|
5
|
+
(props: {
|
6
|
+
children?: React.ReactNode;
|
7
|
+
}): JSX.Element;
|
8
|
+
Trigger: React.ForwardRefExoticComponent<import("./HoverCard").HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
9
|
+
Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
10
|
+
placement?: "right" | "left" | "top" | "bottom" | undefined;
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
12
|
+
};
|
13
|
+
argTypes: {
|
14
|
+
size: {
|
15
|
+
control: {
|
16
|
+
type: string;
|
17
|
+
options: string[];
|
18
|
+
};
|
19
|
+
};
|
20
|
+
};
|
21
|
+
args: {
|
22
|
+
draggable: boolean;
|
23
|
+
size: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
export default _default;
|
27
|
+
export declare const Basic: () => JSX.Element;
|
28
|
+
export declare const Custom: () => JSX.Element;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IconProps } from '../..';
|
3
|
+
declare const _default: {
|
4
|
+
title: string;
|
5
|
+
component: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & {
|
6
|
+
name: import("./components").IconName;
|
7
|
+
} & React.RefAttributes<SVGSVGElement>>;
|
8
|
+
argTypes: {
|
9
|
+
name: {
|
10
|
+
control: {
|
11
|
+
type: string;
|
12
|
+
options: string[];
|
13
|
+
};
|
14
|
+
};
|
15
|
+
};
|
16
|
+
args: {
|
17
|
+
name: string;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
export default _default;
|
21
|
+
export declare const Default: (args: IconProps) => JSX.Element;
|
22
|
+
export declare const IconList: () => JSX.Element;
|
23
|
+
export declare const ScalableIcon: (args: IconProps) => JSX.Element;
|
24
|
+
export declare const BadgeAndLabelIcon: (args: IconProps) => JSX.Element;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<Pick<import("../../primitives/Button").ButtonProps, "draggable" | "name" | "form" | "className" | "color" | "id" | "lang" | "style" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "slot" | "title" | "dir" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & {
|
5
|
+
appearance?: "default" | "primary" | "danger" | "ghost" | "discrete" | undefined;
|
6
|
+
dialog?: ((props: Partial<import("../..").DialogProps>) => JSX.Element) | undefined;
|
7
|
+
hanger?: ((props: Partial<React.PropsWithChildren<{
|
8
|
+
anchor?: JSX.Element | undefined;
|
9
|
+
defaultOpen?: boolean | undefined;
|
10
|
+
onClose?: (() => void) | undefined;
|
11
|
+
}>>) => JSX.Element) | undefined;
|
12
|
+
icon: import("../..").IconName;
|
13
|
+
menu?: ((props: Partial<import("../..").MenuProps>) => JSX.Element) | undefined;
|
14
|
+
popover?: ((props: Partial<React.PropsWithChildren<{
|
15
|
+
trigger?: JSX.Element | undefined;
|
16
|
+
}>>) => JSX.Element) | undefined;
|
17
|
+
rounded?: boolean | undefined;
|
18
|
+
tooltip?: string | undefined;
|
19
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
20
|
+
};
|
21
|
+
export default _default;
|
22
|
+
export declare const Default: () => JSX.Element;
|
23
|
+
export declare const Rounded: () => JSX.Element;
|
24
|
+
export declare const Anchors: () => JSX.Element;
|
25
|
+
export declare const WithTooltip: {
|
26
|
+
(): JSX.Element;
|
27
|
+
storyName: string;
|
28
|
+
};
|
29
|
+
export declare const WithHanger: {
|
30
|
+
(): JSX.Element;
|
31
|
+
storyName: string;
|
32
|
+
};
|
33
|
+
export declare const WithDialog: {
|
34
|
+
(): JSX.Element;
|
35
|
+
storyName: string;
|
36
|
+
};
|
37
|
+
export declare const WithPopover: {
|
38
|
+
(): JSX.Element;
|
39
|
+
storyName: string;
|
40
|
+
};
|
41
|
+
export declare const WithMenu: {
|
42
|
+
(): JSX.Element;
|
43
|
+
storyName: string;
|
44
|
+
};
|
45
|
+
export declare const KitchenSink: () => JSX.Element;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
|
5
|
+
button?: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
6
|
+
icon?: JSX.Element | "account-preview" | "accounting-year-cancel" | "accounting-year" | "accounting" | "arrow-bottom" | "arrow-down" | "arrow-end" | "arrow-left" | "arrow-right" | "arrow-start" | "arrow-top" | "arrow-up" | "attach-auto" | "attach-cancel" | "attach" | "autotext-insert" | "autotext" | "basic-tabs" | "basic" | "bell-solid" | "book" | "booking" | "budget" | "calendar" | "cash-account" | "cash-reports" | "chat-solid" | "chat" | "chevron-down-double" | "chevron-down-solid" | "chevron-down" | "chevron-left-double" | "chevron-left-solid" | "chevron-left" | "chevron-right-double" | "chevron-right-solid" | "chevron-right" | "chevron-up-double" | "chevron-up-solid" | "chevron-up" | "circle-close" | "circle-minus" | "circle-plus" | "circle-tick" | "clamp-open" | "clamp" | "close" | "connection-enable" | "connection-revoke" | "contacts" | "copy" | "courses" | "credit" | "delete-permanently" | "delete" | "depecriate" | "developer" | "distribution-template" | "document-approve" | "document-create-entry" | "document-cut" | "document-error" | "document-isolate-page" | "document-merge" | "document-move" | "document-preview" | "document-received" | "document-rejected-request" | "document-split" | "document-time" | "document" | "download" | "drag" | "e-copedia" | "e-signature" | "edit" | "ellipsis-horizontal" | "ellipsis-vertical" | "entries-on-account" | "entries-open" | "entries-warning" | "entry-type-customer-invoice" | "entry-type-customer-payment" | "entry-type-journal-entry" | "entry-type-manual-customer-invoice" | "entry-type-supplier-invoice" | "entry-type-supplier-payment" | "envelope-approved" | "envelope" | "expand-view" | "expenses" | "export-to-excel" | "export-to-pdf" | "export" | "filter-solid" | "filter" | "graph-solid" | "hash" | "home" | "images" | "import" | "inbox-einvoicing" | "inbox-scanning" | "inbox-smart" | "inbox" | "info" | "inventory-matrix" | "inventory" | "journal-pro" | "layout-both" | "layout-first" | "layout-last" | "layout-none" | "layout" | "ledger-card-customer-reminder" | "ledger-card-manual-customer-invoice" | "ledger-card-obsolete-stock" | "ledger-card-opening-entry" | "ledger-card-reserved-entry" | "ledger-card-shrinkage-pilferage" | "ledger-card-stock-adjustment" | "ledger-card-transferred-opening-entry" | "ledger-card" | "lightbulb" | "line" | "list-bulleted" | "list-search" | "list" | "lock-open" | "log-out" | "log" | "market" | "match-amount" | "match-entries" | "menu" | "mileage" | "modal-resize" | "modal-shrink" | "more-solid" | "more" | "move" | "navigation-list" | "note-follow-up" | "note-read" | "note" | "numbers" | "partner-api" | "period" | "person-change" | "person-minus" | "person-plus" | "person-tick" | "play" | "plus-minus" | "print" | "process-payment" | "product-ledger-card" | "profile" | "project-cards" | "projects" | "quicklinks" | "rating-bankruptcy" | "rating-payment-problems" | "reconciled" | "refresh" | "report-solid" | "report" | "restore" | "rotate-left" | "rotate-right" | "sales" | "search-bold" | "search" | "secure-tick" | "secure" | "settings-solid" | "settings" | "shortcuts" | "show-all" | "show-less" | "show-more" | "show-template" | "sliders" | "smartpay" | "sort-by" | "spinner" | "star-solid" | "star" | "subscriptions" | "system-entries" | "tag" | "template-override" | "templates" | "thumb-both" | "thumb-down-solid" | "thumb-down" | "thumb-up-solid" | "thumb-up" | "tick" | "time" | "transfer-cancel" | "transfer-locked" | "transfer" | "undock" | "unreconciled" | "warning" | "webshop" | "website" | "workflow" | "zoom" | undefined;
|
7
|
+
highlighted?: boolean | undefined;
|
8
|
+
invalid?: boolean | undefined;
|
9
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
10
|
+
args: {
|
11
|
+
disabled: boolean;
|
12
|
+
highlighted: boolean;
|
13
|
+
invalid: boolean;
|
14
|
+
readOnly: boolean;
|
15
|
+
};
|
16
|
+
argTypes: {
|
17
|
+
disabled: {
|
18
|
+
control: {
|
19
|
+
type: string;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
highlighted: {
|
23
|
+
control: {
|
24
|
+
type: string;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
invalid: {
|
28
|
+
control: {
|
29
|
+
type: string;
|
30
|
+
};
|
31
|
+
};
|
32
|
+
readOnly: {
|
33
|
+
control: {
|
34
|
+
type: string;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
};
|
38
|
+
};
|
39
|
+
export default _default;
|
40
|
+
export declare const Default: (args: any) => JSX.Element;
|
41
|
+
export declare const InputWithIcon: (args: any) => JSX.Element;
|
42
|
+
export declare const InputWithButton: (args: any) => JSX.Element;
|
43
|
+
export declare const KitchenSink: () => JSX.Element;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default: {
|
3
|
+
title: string;
|
4
|
+
component: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "onFocus" | "onChange"> & Pick<React.InputHTMLAttributes<HTMLElement>, "draggable" | "list" | "name" | "form" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "style" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "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" | "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" | "slot" | "title" | "pattern" | "dir" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "step" | "size" | "checked" | "required" | "accept" | "alt" | "autoComplete" | "capture" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "src"> & {
|
5
|
+
data?: import("./ScrollableList").ScrollableListItem[] | undefined;
|
6
|
+
defaultValue?: string | number | boolean | null | undefined;
|
7
|
+
emptyValue?: string | number | boolean | null | undefined;
|
8
|
+
highlighted?: boolean | undefined;
|
9
|
+
invalid?: boolean | undefined;
|
10
|
+
loading?: boolean | undefined;
|
11
|
+
value?: string | number | boolean | null | undefined;
|
12
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
13
|
+
argTypes: {
|
14
|
+
emptyValue: {
|
15
|
+
control: {
|
16
|
+
type: string;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
defaultValue: {
|
20
|
+
control: {
|
21
|
+
type: string;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
value: {
|
25
|
+
control: {
|
26
|
+
type: string;
|
27
|
+
};
|
28
|
+
};
|
29
|
+
};
|
30
|
+
args: {
|
31
|
+
data: any[];
|
32
|
+
disabled: boolean;
|
33
|
+
readOnly: boolean;
|
34
|
+
loading: boolean;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
export default _default;
|
38
|
+
export declare const Default: () => JSX.Element;
|
39
|
+
export declare const Icons: () => JSX.Element;
|
40
|
+
export declare const EmptyValue: () => JSX.Element;
|
41
|
+
export declare const DefaultValue: () => JSX.Element;
|
42
|
+
export declare const Hierarchical: () => JSX.Element;
|
43
|
+
export declare const MultiSelect: () => JSX.Element;
|
44
|
+
export declare const KitchenSink: () => JSX.Element;
|