demio-ui 2.1.93 → 2.1.95
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/Dropdown/Dropdown.d.ts +11 -16
- package/dist/cjs/types/src/components/Dropdown/DropdownItem.d.ts +5 -3
- package/dist/cjs/types/src/components/Dropdown/index.d.ts +2 -2
- package/dist/cjs/types/src/components/index.d.ts +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/types/src/components/Dropdown/Dropdown.d.ts +11 -16
- package/dist/esm/types/src/components/Dropdown/DropdownItem.d.ts +5 -3
- package/dist/esm/types/src/components/Dropdown/index.d.ts +2 -2
- package/dist/esm/types/src/components/index.d.ts +1 -1
- package/dist/types.d.ts +33 -34
- package/package.json +1 -1
- package/dist/cjs/types/src/components/Toast/Toast.d.ts +0 -6
- package/dist/cjs/types/src/components/Toast/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Upload/Upload.d.ts +0 -23
- package/dist/cjs/types/src/components/Upload/index.d.ts +0 -1
- package/dist/esm/types/src/components/Toast/Toast.d.ts +0 -6
- package/dist/esm/types/src/components/Toast/index.d.ts +0 -1
- package/dist/esm/types/src/components/Upload/Upload.d.ts +0 -23
- package/dist/esm/types/src/components/Upload/index.d.ts +0 -1
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
className?: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onOpenChange?: ((isOpen: boolean) => void) | null;
|
|
13
|
-
trigger: ReactNode;
|
|
14
|
-
};
|
|
15
|
-
declare const Dropdown: FC<Props>;
|
|
16
|
-
export default Dropdown;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
+
export declare const DropdownMenuContent: React.ForwardRefExoticComponent<Pick<import("@radix-ui/react-menu").MenuContentProps & React.RefAttributes<HTMLDivElement>, "className" | "children" | "onClick" | "prefix" | "slot" | "style" | "title" | "forceMount" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "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" | "asChild" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onCloseAutoFocus" | "align" | "side" | "sideOffset" | "alignOffset" | "arrowPadding" | "avoidCollisions" | "collisionBoundary" | "collisionPadding" | "sticky" | "hideWhenDetached" | "updatePositionStrategy" | "loop" | "onEntryFocus"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<{
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const DropdownMenuRoot: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
8
|
+
export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
1
|
+
import { FC, ReactEventHandler, ReactNode } from 'react';
|
|
2
2
|
export type Props = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
onSelect?: ReactEventHandler<HTMLDivElement>;
|
|
6
|
+
isWarning?: boolean;
|
|
7
|
+
isLabel?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
7
9
|
};
|
|
8
10
|
declare const DropdownItem: FC<Props>;
|
|
9
11
|
export default DropdownItem;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from './Dropdown';
|
|
2
2
|
import DropdownItem from './DropdownItem';
|
|
3
|
-
export {
|
|
3
|
+
export { DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, };
|
|
@@ -6,7 +6,7 @@ export { default as ButtonNew } from './ButtonNew';
|
|
|
6
6
|
export { default as Card } from './Card';
|
|
7
7
|
export { default as Checkbox } from './Checkbox';
|
|
8
8
|
export { default as Drawer } from './Drawer';
|
|
9
|
-
export {
|
|
9
|
+
export { DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, } from './Dropdown';
|
|
10
10
|
export { default as FormGroup } from './FormGroup';
|
|
11
11
|
export { default as InfoBanner } from './InfoBanner';
|
|
12
12
|
export { default as Input } from './Input';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { MouseEventHandler, FC, ReactNode, PropsWithChildren } from 'react';
|
|
2
|
+
import React__default, { MouseEventHandler, FC, ReactNode, ReactEventHandler, PropsWithChildren } from 'react';
|
|
3
3
|
import { CheckedState } from '@radix-ui/react-checkbox';
|
|
4
|
+
import * as _radix_ui_react_menu from '@radix-ui/react-menu';
|
|
5
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
4
6
|
import { PopoverContentTypeProps } from '@radix-ui/react-popover';
|
|
5
7
|
export { Content as PopoverContent, Portal as PopoverPortal, Root as PopoverRoot, Trigger as PopoverTrigger } from '@radix-ui/react-popover';
|
|
6
8
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
7
9
|
|
|
8
|
-
type Props$
|
|
10
|
+
type Props$l = {
|
|
9
11
|
open: boolean;
|
|
10
12
|
actionText?: string;
|
|
11
13
|
onActionClick: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -20,11 +22,11 @@ type Props$m = {
|
|
|
20
22
|
maxWidth?: string;
|
|
21
23
|
isCloseButtonVisible?: boolean;
|
|
22
24
|
};
|
|
23
|
-
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, }: Props$
|
|
25
|
+
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, }: Props$l): React__default.JSX.Element;
|
|
24
26
|
|
|
25
27
|
declare const AVATAR_SIZES: readonly [16, 24, 32, 40, 48, 64, 80, 96, 128];
|
|
26
28
|
type AvatarSizeType = (typeof AVATAR_SIZES)[number];
|
|
27
|
-
interface Props$
|
|
29
|
+
interface Props$k {
|
|
28
30
|
src?: string;
|
|
29
31
|
size?: AvatarSizeType;
|
|
30
32
|
userName?: string;
|
|
@@ -32,18 +34,18 @@ interface Props$l {
|
|
|
32
34
|
className?: string;
|
|
33
35
|
fallbackDelay?: number;
|
|
34
36
|
}
|
|
35
|
-
declare const Avatar: FC<Props$
|
|
37
|
+
declare const Avatar: FC<Props$k>;
|
|
36
38
|
|
|
37
|
-
type Props$
|
|
39
|
+
type Props$j = {
|
|
38
40
|
className?: string;
|
|
39
41
|
icon?: ReactNode;
|
|
40
42
|
variant?: 'outlined' | 'contained';
|
|
41
43
|
color?: 'green' | 'orange' | 'gray' | 'purple' | 'blue';
|
|
42
44
|
children: ReactNode;
|
|
43
45
|
};
|
|
44
|
-
declare const Badge: FC<Props$
|
|
46
|
+
declare const Badge: FC<Props$j>;
|
|
45
47
|
|
|
46
|
-
type Props$
|
|
48
|
+
type Props$i = {
|
|
47
49
|
disabled?: boolean;
|
|
48
50
|
children?: ReactNode;
|
|
49
51
|
size?: 'small' | 'medium' | 'large';
|
|
@@ -59,10 +61,10 @@ type Props$j = {
|
|
|
59
61
|
/**
|
|
60
62
|
* Button component documentation.
|
|
61
63
|
**/
|
|
62
|
-
declare const Button$1: React__default.ForwardRefExoticComponent<Props$
|
|
64
|
+
declare const Button$1: React__default.ForwardRefExoticComponent<Props$i & React__default.RefAttributes<HTMLButtonElement>>;
|
|
63
65
|
|
|
64
66
|
type ColorVariants = 'red' | 'green' | 'dark';
|
|
65
|
-
type Props$
|
|
67
|
+
type Props$h<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'quartery'> = {
|
|
66
68
|
disabled?: boolean;
|
|
67
69
|
children?: ReactNode;
|
|
68
70
|
variant?: Variant;
|
|
@@ -75,9 +77,9 @@ type Props$i<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'qu
|
|
|
75
77
|
fullWidth?: boolean;
|
|
76
78
|
showLoader?: boolean;
|
|
77
79
|
};
|
|
78
|
-
declare const Button: React__default.ForwardRefExoticComponent<Props$
|
|
80
|
+
declare const Button: React__default.ForwardRefExoticComponent<Props$h<"primary" | "secondary" | "tertiary" | "quartery"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
79
81
|
|
|
80
|
-
type Props$
|
|
82
|
+
type Props$g = {
|
|
81
83
|
children?: ReactNode;
|
|
82
84
|
className?: string;
|
|
83
85
|
isEmptyStateAvailable?: boolean;
|
|
@@ -86,9 +88,9 @@ type Props$h = {
|
|
|
86
88
|
emptyStateText?: ReactNode;
|
|
87
89
|
shadowElevation?: number;
|
|
88
90
|
};
|
|
89
|
-
declare const Card: FC<Props$
|
|
91
|
+
declare const Card: FC<Props$g>;
|
|
90
92
|
|
|
91
|
-
type Props$
|
|
93
|
+
type Props$f = {
|
|
92
94
|
checked?: boolean;
|
|
93
95
|
children?: React__default.ReactNode;
|
|
94
96
|
defaultChecked?: boolean;
|
|
@@ -98,9 +100,9 @@ type Props$g = {
|
|
|
98
100
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
99
101
|
value?: string;
|
|
100
102
|
};
|
|
101
|
-
declare const Checkbox: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$
|
|
103
|
+
declare const Checkbox: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$f & React__default.RefAttributes<HTMLDivElement>>>;
|
|
102
104
|
|
|
103
|
-
type Props$
|
|
105
|
+
type Props$e = {
|
|
104
106
|
children?: ReactNode;
|
|
105
107
|
isOpen?: boolean;
|
|
106
108
|
className?: string;
|
|
@@ -110,28 +112,25 @@ type Props$f = {
|
|
|
110
112
|
align?: 'left' | 'right';
|
|
111
113
|
isClosable?: boolean;
|
|
112
114
|
};
|
|
113
|
-
declare const Drawer: FC<Props$
|
|
115
|
+
declare const Drawer: FC<Props$e>;
|
|
114
116
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
isOpen?: boolean | null;
|
|
125
|
-
onOpenChange?: ((isOpen: boolean) => void) | null;
|
|
126
|
-
trigger: ReactNode;
|
|
127
|
-
};
|
|
128
|
-
declare const Dropdown: FC<Props$e>;
|
|
117
|
+
declare const DropdownMenuContent: React__default.ForwardRefExoticComponent<Pick<_radix_ui_react_menu.MenuContentProps & React__default.RefAttributes<HTMLDivElement>, "className" | "children" | "onClick" | "prefix" | "slot" | "style" | "title" | "forceMount" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "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" | "asChild" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onCloseAutoFocus" | "align" | "side" | "sideOffset" | "alignOffset" | "arrowPadding" | "avoidCollisions" | "collisionBoundary" | "collisionPadding" | "sticky" | "hideWhenDetached" | "updatePositionStrategy" | "loop" | "onEntryFocus"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
118
|
+
declare const DropdownMenuSeparator: React__default.ForwardRefExoticComponent<{
|
|
119
|
+
className?: string | undefined;
|
|
120
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
121
|
+
declare const DropdownMenuRoot: React__default.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
122
|
+
declare const DropdownMenuTrigger: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
123
|
+
declare const DropdownMenuLabel: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuLabelProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
124
|
+
declare const DropdownMenuItem: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
125
|
+
declare const DropdownMenuGroup: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
129
126
|
|
|
130
127
|
type Props$d = {
|
|
131
128
|
children: ReactNode;
|
|
132
129
|
className?: string;
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
onSelect?: ReactEventHandler<HTMLDivElement>;
|
|
131
|
+
isWarning?: boolean;
|
|
132
|
+
isLabel?: boolean;
|
|
133
|
+
disabled?: boolean;
|
|
135
134
|
};
|
|
136
135
|
declare const DropdownItem: FC<Props$d>;
|
|
137
136
|
|
|
@@ -1887,4 +1886,4 @@ declare namespace index {
|
|
|
1887
1886
|
export { SvgAdd as AddIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeftDouble as ArrowLeftDoubleIcon, SvgArrowLeft as ArrowLeftIcon, SvgArrowLeftSingle as ArrowLeftSingleIcon, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCalendarStar as CalendarStarIcon, SvgChatIcon as ChatIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheckbox as CheckboxIcon, SvgCheckboxUncheck as CheckboxUncheckIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCopy as CopyIcon, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, SvgDots as DotsIcon, SvgEdit as EditIcon, SvgElectricBolt as ElectricBoltIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExternalLink as ExternalLinkIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgHelpSolid as HelpSolidIcon, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, SvgItems as ItemsIcon, SvgList as ListIcon, SvgListTh as ListThIcon, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMaterials as MaterialsIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMic as MicOnfIcon, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPerson as Person, SvgPlay as PlayIcon, SvgPoll as PollIcon, SvgProgress as ProgressIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRocket as RocketIcon, SvgScreenSharing as ScreenShareIcon, SvgSearch as SearchIcon, SvgSmile as SmileIcon, SvgStackedEmail as StackedEmailIcon, SvgSync as SyncIcon, SvgTimesCircle as TimesCircleIcon, SvgToday as TodayIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, SvgVideocamOff as VideoCamOffIcon, SvgVideocamOff1 as VideoCamOffSolidIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeOff as VolumeOffSolidIcon, SvgVolumeUp1 as VolumeUpIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning1 as WarningIcon, SvgWarning as WarningSolidIcon };
|
|
1888
1887
|
}
|
|
1889
1888
|
|
|
1890
|
-
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Drawer,
|
|
1889
|
+
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, MultiSelect, Pagination, Popover, Progress, RadioGroup, Select, SelectItem, SelectItemText, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, index as icons };
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Toast';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC, HTMLInputTypeAttribute, ReactNode } from 'react';
|
|
2
|
-
import { RcFile, UploadProgressEvent } from 'rc-upload/es/interface';
|
|
3
|
-
export interface UploadProps {
|
|
4
|
-
accept?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
customIcon?: ReactNode;
|
|
8
|
-
customHeader?: ReactNode;
|
|
9
|
-
customText?: ReactNode;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
isDirectoryAllowed?: boolean;
|
|
12
|
-
isMulti?: boolean;
|
|
13
|
-
onBeforeUpload?: (file: RcFile, fileList: RcFile[]) => void;
|
|
14
|
-
onError?: (err: Error, ret: Record<string, unknown>, file: RcFile) => void;
|
|
15
|
-
onProgress?: (event: UploadProgressEvent, file: RcFile) => void;
|
|
16
|
-
onStart?: (file: RcFile) => void;
|
|
17
|
-
onSuccess?: (ret: Record<string, unknown>) => void;
|
|
18
|
-
type?: HTMLInputTypeAttribute;
|
|
19
|
-
url?: string;
|
|
20
|
-
view?: 'square' | 'circle';
|
|
21
|
-
}
|
|
22
|
-
declare const Upload: FC;
|
|
23
|
-
export default Upload;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Upload';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Toast';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC, HTMLInputTypeAttribute, ReactNode } from 'react';
|
|
2
|
-
import { RcFile, UploadProgressEvent } from 'rc-upload/es/interface';
|
|
3
|
-
export interface UploadProps {
|
|
4
|
-
accept?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
customIcon?: ReactNode;
|
|
8
|
-
customHeader?: ReactNode;
|
|
9
|
-
customText?: ReactNode;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
isDirectoryAllowed?: boolean;
|
|
12
|
-
isMulti?: boolean;
|
|
13
|
-
onBeforeUpload?: (file: RcFile, fileList: RcFile[]) => void;
|
|
14
|
-
onError?: (err: Error, ret: Record<string, unknown>, file: RcFile) => void;
|
|
15
|
-
onProgress?: (event: UploadProgressEvent, file: RcFile) => void;
|
|
16
|
-
onStart?: (file: RcFile) => void;
|
|
17
|
-
onSuccess?: (ret: Record<string, unknown>) => void;
|
|
18
|
-
type?: HTMLInputTypeAttribute;
|
|
19
|
-
url?: string;
|
|
20
|
-
view?: 'square' | 'circle';
|
|
21
|
-
}
|
|
22
|
-
declare const Upload: FC;
|
|
23
|
-
export default Upload;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Upload';
|