@databricks/design-system 1.4.2 → 1.5.0
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/design-system/Button/Button.d.ts +2 -1
- package/dist/design-system/Button/Button.d.ts.map +1 -1
- package/dist/design-system/Button/styles.d.ts +1 -0
- package/dist/design-system/Button/styles.d.ts.map +1 -1
- package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts +3 -2
- package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -1
- package/dist/design-system/Dropdown/Dropdown.d.ts +3 -0
- package/dist/design-system/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/design-system/DropdownMenu/DropdownMenu.d.ts +11 -1
- package/dist/design-system/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/design-system/FormMessage/FormMessage.d.ts.map +1 -1
- package/dist/design-system/FormV2/FormV2.d.ts +6 -0
- package/dist/design-system/FormV2/FormV2.d.ts.map +1 -1
- package/dist/design-system/Hint/Hint.d.ts +2 -0
- package/dist/design-system/Hint/Hint.d.ts.map +1 -0
- package/dist/design-system/Input/Input.d.ts.map +1 -1
- package/dist/design-system/Label/Label.d.ts +6 -0
- package/dist/design-system/Label/Label.d.ts.map +1 -0
- package/dist/design-system/Menu/Menu.d.ts +6 -1
- package/dist/design-system/Menu/Menu.d.ts.map +1 -1
- package/dist/design-system/Select/Select.d.ts +21 -15
- package/dist/design-system/Select/Select.d.ts.map +1 -1
- package/dist/design-system/Spinner/Spinner.d.ts +7 -3
- package/dist/design-system/Spinner/Spinner.d.ts.map +1 -1
- package/dist/design-system/Tree/Tree.d.ts.map +1 -1
- package/dist/design-system/Typography/Link.d.ts.map +1 -1
- package/dist/design-system/utils/css-utils.d.ts +14 -1
- package/dist/design-system/utils/css-utils.d.ts.map +1 -1
- package/dist/flags.d.ts +3 -1
- package/dist/flags.d.ts.map +1 -1
- package/dist/index-dark.css +89 -89
- package/dist/index.css +89 -89
- package/dist/index.js +405 -248
- package/dist/index.js.map +1 -1
- package/dist/theme/spacing.d.ts +8 -0
- package/dist/theme/spacing.d.ts.map +1 -1
- package/dist/theme-dark.json +1 -0
- package/dist/theme-default.json +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +9 -9
- package/dist/cjs/index.js +0 -58812
- package/dist/cjs/index.js.map +0 -1
|
@@ -3,7 +3,7 @@ import type { SerializedStyles } from '@emotion/react';
|
|
|
3
3
|
import type { ButtonProps as AntDButtonProps } from 'antd';
|
|
4
4
|
import type { ComponentTheme } from '../../theme';
|
|
5
5
|
import type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';
|
|
6
|
-
export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading, withIcon, onlyIcon, enableAnimation, size, type, }: {
|
|
6
|
+
export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading, withIcon, onlyIcon, enableAnimation, size, type, isFlex, }: {
|
|
7
7
|
theme: ComponentTheme;
|
|
8
8
|
classNamePrefix: string;
|
|
9
9
|
loading?: boolean | undefined;
|
|
@@ -13,6 +13,7 @@ export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading,
|
|
|
13
13
|
enableAnimation: boolean;
|
|
14
14
|
size: ButtonSize;
|
|
15
15
|
type?: ButtonProps['type'];
|
|
16
|
+
isFlex?: boolean | undefined;
|
|
16
17
|
}) => SerializedStyles;
|
|
17
18
|
export declare type ButtonSize = 'middle' | 'small';
|
|
18
19
|
export interface ButtonProps extends Omit<AntDButtonProps, 'type' | 'ghost' | 'shape' | 'size'>, HTMLDataAttributes, DangerouslySetAntdProps<AntDButtonProps> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAa,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAK3D,OAAO,KAAK,EAAE,cAAc,EAAS,MAAM,aAAa,CAAC;AAGzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAa,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAK3D,OAAO,KAAK,EAAE,cAAc,EAAS,MAAM,aAAa,CAAC;AAGzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAgB5E,eAAO,MAAM,sBAAsB;WAW1B,cAAc;qBACJ,MAAM;;;;;qBAKN,OAAO;UAClB,UAAU;WACT,WAAW,CAAC,MAAM,CAAC;;MAExB,gBA8OH,CAAC;AAEF,oBAAY,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE5C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC,EAChE,kBAAkB,EAClB,uBAAuB,CAAC,eAAe,CAAC;IAC1C,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;IACvC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,2GA8CjB,CAAC"}
|
|
@@ -6,4 +6,5 @@ export declare function getLinkStyles(theme: Theme): CSSObject;
|
|
|
6
6
|
export declare function getPrimaryDangerStyles(theme: Theme): CSSObject;
|
|
7
7
|
export declare function getSecondaryDangerStyles(theme: Theme): CSSObject;
|
|
8
8
|
export declare function getDisabledStyles(theme: Theme): CSSObject;
|
|
9
|
+
export declare function getDisabledTertiaryStyles(theme: Theme): CSSObject;
|
|
9
10
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAmBxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAmBxD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAsBrD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAsB9D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAsBhE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAkBzD"}
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAmBxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAmBxD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAsBrD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAsB9D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAsBhE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAkBzD;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAkBjE"}
|
|
@@ -20,7 +20,7 @@ export interface DesignSystemProviderProps {
|
|
|
20
20
|
/**
|
|
21
21
|
* Use this to allow the application to provide the element used as a container for all "popup" components.
|
|
22
22
|
*/
|
|
23
|
-
getPopupContainer?: (
|
|
23
|
+
getPopupContainer?: () => HTMLElement;
|
|
24
24
|
/** Set any of the `AvailableDesignSystemFlags` to `true` to enable that flag. */
|
|
25
25
|
flags?: DesignSystemFlags;
|
|
26
26
|
}
|
|
@@ -28,10 +28,11 @@ export interface DuboisContextType {
|
|
|
28
28
|
enableAnimation: boolean;
|
|
29
29
|
theme: ThemeName;
|
|
30
30
|
getPrefixCls: (suffix?: string) => string;
|
|
31
|
-
getPopupContainer?: (
|
|
31
|
+
getPopupContainer?: () => HTMLElement;
|
|
32
32
|
flags: DesignSystemFlags;
|
|
33
33
|
}
|
|
34
34
|
export declare const DesignSystemContext: React.Context<DuboisContextType>;
|
|
35
|
+
export declare const DU_BOIS_ENABLE_ANIMATION_CLASSNAME = "du-bois-enable-animation";
|
|
35
36
|
export declare function getAnimationCss(enableAnimation: boolean): CSSObject;
|
|
36
37
|
export declare const DesignSystemProvider: React.FC<DesignSystemProviderProps>;
|
|
37
38
|
export declare const ApplyDesignSystemFlags: React.FC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesignSystemProvider.d.ts","sourceRoot":"","sources":["../../../src/design-system/DesignSystemProvider/DesignSystemProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAwD,MAAM,OAAO,CAAC;AAE7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DesignSystemProvider.d.ts","sourceRoot":"","sources":["../../../src/design-system/DesignSystemProvider/DesignSystemProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAwD,MAAM,OAAO,CAAC;AAE7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,WAAW,CAAC;IAEtC,iFAAiF;IACjF,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,KAAK,EAAE,SAAS,CAAC;IAGjB,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,WAAW,CAAC;IACtC,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAUD,eAAO,MAAM,mBAAmB,kCAA0D,CAAC;AAE3F,eAAO,MAAM,kCAAkC,6BAA6B,CAAC;AAE7E,wBAAgB,eAAe,CAAC,eAAe,EAAE,OAAO,GAAG,SAAS,CAsBnE;AAID,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA0DpE,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC5C,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAoBA,CAAC"}
|
|
@@ -3,5 +3,8 @@ import type { DropDownProps as AntDDropdownProps } from 'antd';
|
|
|
3
3
|
import type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';
|
|
4
4
|
export interface DropdownProps extends AntDDropdownProps, DangerouslySetAntdProps<AntDDropdownProps>, HTMLDataAttributes {
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use `DropdownMenu` instead.
|
|
8
|
+
*/
|
|
6
9
|
export declare const Dropdown: React.FC<DropdownProps>;
|
|
7
10
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/design-system/Dropdown/Dropdown.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAI/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE5E,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,uBAAuB,CAAC,iBAAiB,CAAC,EAC1C,kBAAkB;CAAG;AAEzB,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAa5C,CAAC"}
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/design-system/Dropdown/Dropdown.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAI/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE5E,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,uBAAuB,CAAC,iBAAiB,CAAC,EAC1C,kBAAkB;CAAG;AAEzB;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAa5C,CAAC"}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
|
|
3
|
+
import type { CSSObject } from '@storybook/theming';
|
|
4
|
+
import type { Theme } from '../../theme';
|
|
3
5
|
export declare const Root: import("react").FC<DropdownMenu.DropdownMenuProps>;
|
|
4
6
|
export interface DropdownMenuProps extends DropdownMenu.MenuContentProps {
|
|
5
7
|
minWidth?: number;
|
|
6
8
|
}
|
|
7
9
|
export declare const Content: import("react").ForwardRefExoticComponent<DropdownMenuProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export declare const SubContent: import("react").ForwardRefExoticComponent<DropdownMenuProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
11
|
export declare const Trigger: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
12
|
export declare const Item: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
13
|
export declare const Label: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
14
|
export declare const Separator: import("react").ForwardRefExoticComponent<Pick<import("@radix-ui/react-menu").MenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, "className" | "children" | "slot" | "style" | "title" | "key" | "color" | "translate" | "hidden" | "id" | "dir" | "accessKey" | "draggable" | "lang" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "asChild"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export declare const
|
|
15
|
+
export declare const SubTrigger: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
/**
|
|
17
|
+
* Deprecated. Use `SubTrigger` instead.
|
|
18
|
+
* @deprecated
|
|
19
|
+
*/
|
|
20
|
+
export declare const TriggerItem: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
21
|
export declare const CheckboxItem: import("react").ForwardRefExoticComponent<Pick<import("@radix-ui/react-menu").MenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "className" | "children" | "slot" | "style" | "title" | "key" | "color" | "translate" | "hidden" | "disabled" | "id" | "dir" | "accessKey" | "draggable" | "lang" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "checked" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "asChild" | "textValue" | "onCheckedChange"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
22
|
export declare const ItemIndicator: import("react").ForwardRefExoticComponent<Pick<import("@radix-ui/react-menu").MenuItemIndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "className" | "children" | "slot" | "style" | "title" | "key" | "color" | "translate" | "hidden" | "id" | "dir" | "accessKey" | "draggable" | "lang" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "asChild" | "forceMount"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
23
|
export declare const Arrow: import("react").ForwardRefExoticComponent<Pick<import("@radix-ui/react-menu").MenuArrowProps & import("react").RefAttributes<SVGSVGElement>, "string" | "className" | "children" | "style" | "clipPath" | "filter" | "mask" | "path" | "key" | "color" | "cursor" | "direction" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "spacing" | "max" | "type" | "id" | "media" | "name" | "method" | "target" | "lang" | "tabIndex" | "crossOrigin" | "href" | "min" | "role" | "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" | "viewBox" | "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" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "asChild"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
24
|
export declare const RadioItem: import("react").ForwardRefExoticComponent<Pick<import("@radix-ui/react-menu").MenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "className" | "children" | "slot" | "style" | "title" | "key" | "color" | "translate" | "hidden" | "disabled" | "value" | "id" | "dir" | "accessKey" | "draggable" | "lang" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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" | "asChild" | "textValue"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
25
|
export declare const Group: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
26
|
export declare const RadioGroup: import("react").ForwardRefExoticComponent<DropdownMenu.DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export declare const Sub: import("react").FC<DropdownMenu.DropdownMenuSubProps>;
|
|
19
28
|
export declare const HintColumn: import("react").ForwardRefExoticComponent<Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
20
29
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
30
|
}, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -25,4 +34,5 @@ export declare const HintRow: import("react").ForwardRefExoticComponent<Pick<Pic
|
|
|
25
34
|
export declare const IconWrapper: import("react").ForwardRefExoticComponent<Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
26
35
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
27
36
|
}, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("react").RefAttributes<HTMLDivElement>>;
|
|
37
|
+
export declare const dropdownContentStyles: (theme: Theme) => CSSObject;
|
|
28
38
|
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/design-system/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../src/design-system/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIpD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAOzC,eAAO,MAAM,IAAI,oDAAoB,CAAC;AAEtC,MAAM,WAAW,iBAAkB,SAAQ,YAAY,CAAC,gBAAgB;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,OAAO,8GAalB,CAAC;AAEH,eAAO,MAAM,UAAU,8GAmBrB,CAAC;AAEH,eAAO,MAAM,OAAO,qIASlB,CAAC;AAEH,eAAO,MAAM,IAAI,+HASf,CAAC;AAEH,eAAO,MAAM,KAAK,gIAShB,CAAC;AAEH,eAAO,MAAM,SAAS,ssJAiBpB,CAAC;AAEH,eAAO,MAAM,UAAU,qIA8BrB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,WAAW,qIAAa,CAAC;AAEtC,eAAO,MAAM,YAAY,owJASvB,CAAC;AAEH,eAAO,MAAM,aAAa,0tJAuBxB,CAAC;AAEH,eAAO,MAAM,KAAK,qqPA6BhB,CAAC;AAEH,eAAO,MAAM,SAAS,2uJASpB,CAAC;AAGH,eAAO,MAAM,KAAK,gIAAqB,CAAC;AACxC,eAAO,MAAM,UAAU,qIAA0B,CAAC;AAClD,eAAO,MAAM,GAAG,uDAAmB,CAAC;AAGpC,eAAO,MAAM,UAAU;;iHAkBrB,CAAC;AAEH,eAAO,MAAM,OAAO;;iHAkBlB,CAAC;AAEH,eAAO,MAAM,WAAW;;iHAiBtB,CAAC;AA6CH,eAAO,MAAM,qBAAqB,UAAW,KAAK,KAAG,SAoBnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormMessage.d.ts","sourceRoot":"","sources":["../../../src/design-system/FormMessage/FormMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAa,aAAa,EAAoB,KAAK,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOxG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CACnC;
|
|
1
|
+
{"version":3,"file":"FormMessage.d.ts","sourceRoot":"","sources":["../../../src/design-system/FormMessage/FormMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAa,aAAa,EAAoB,KAAK,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOxG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAGhD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CACnC;AAsCD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,IAAc,EAAE,SAAc,EAAE,GAAG,EAAE,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAa3G"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { FormMessage } from '../FormMessage/FormMessage';
|
|
2
|
+
import { Hint } from '../Hint/Hint';
|
|
2
3
|
import { Input } from '../Input';
|
|
4
|
+
import { Label } from '../Label/Label';
|
|
5
|
+
import { Select } from '../Select';
|
|
3
6
|
interface FormV2Interface {
|
|
4
7
|
Input: typeof Input;
|
|
5
8
|
Message: typeof FormMessage;
|
|
9
|
+
Label: typeof Label;
|
|
10
|
+
Hint: typeof Hint;
|
|
11
|
+
Select: typeof Select;
|
|
6
12
|
}
|
|
7
13
|
export declare const FormV2: FormV2Interface;
|
|
8
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormV2.d.ts","sourceRoot":"","sources":["../../../src/design-system/FormV2/FormV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"FormV2.d.ts","sourceRoot":"","sources":["../../../src/design-system/FormV2/FormV2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,UAAU,eAAe;IACvB,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,OAAO,EAAE,OAAO,WAAW,CAAC;IAC5B,KAAK,EAAE,OAAO,KAAK,CAAC;IACpB,IAAI,EAAE,OAAO,IAAI,CAAC;IAClB,MAAM,EAAE,OAAO,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,MAAM,EAAE,eAMpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hint.d.ts","sourceRoot":"","sources":["../../../src/design-system/Hint/Hint.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,IAAI,UAAW,MAAM,cAAc,CAAC,eAAe,CAAC,qDAWhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/design-system/Input/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAGlB,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC,EAC5E,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,cAAc,CAAC,EACvC,qBAAqB;CAAG;AAE5B,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC,EAChE,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,iBAAiB,CAAC,EAC1C,qBAAqB;CAAG;AAE5B,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,gBAAgB,GAAG,QAAQ,GAAG,kBAAkB,GAAG,YAAY,CAAC,EAC9F,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,iBAAiB,CAAC,EAC1C,qBAAqB;CAAG;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/design-system/Input/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,IAAI,iBAAiB,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAGlB,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC,EAC5E,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,cAAc,CAAC,EACvC,qBAAqB;CAAG;AAE5B,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC,EAChE,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,iBAAiB,CAAC,EAC1C,qBAAqB;CAAG;AAE5B,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,iBAAiB,EAAE,gBAAgB,GAAG,QAAQ,GAAG,kBAAkB,GAAG,YAAY,CAAC,EAC9F,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,iBAAiB,CAAC,EAC1C,qBAAqB;CAAG;AA+H5B,eAAO,MAAM,KAAK;;;CAAiB,CAAC;AAKpC,eAAO,MAAM,+BAA+B,mFAAW,CAAC;AACxD,eAAO,MAAM,+BAA+B,yBAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { HTMLDataAttributes } from '../types';
|
|
3
|
+
export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, HTMLDataAttributes {
|
|
4
|
+
}
|
|
5
|
+
export declare const Label: (props: LabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/design-system/Label/Label.tsx"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,kBAAkB;CAAG;AAmBtG,eAAO,MAAM,KAAK,UAAW,UAAU,qDAatC,CAAC"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { MenuProps as AntDMenuProps } from 'antd';
|
|
2
|
+
import type { MenuProps as AntDMenuProps, MenuItemProps as AntDMenuItemProps } from 'antd';
|
|
3
3
|
import { Menu as AntDMenu } from 'antd';
|
|
4
4
|
import type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';
|
|
5
5
|
export interface MenuProps extends AntDMenuProps, DangerouslySetAntdProps<AntDMenuProps>, HTMLDataAttributes {
|
|
6
6
|
}
|
|
7
|
+
export interface MenuItemProps extends AntDMenuItemProps {
|
|
8
|
+
}
|
|
7
9
|
interface MenuInterface extends React.FC<MenuProps> {
|
|
8
10
|
Item: typeof AntDMenu.Item;
|
|
9
11
|
ItemGroup: typeof AntDMenu.ItemGroup;
|
|
10
12
|
SubMenu: typeof AntDMenu.SubMenu;
|
|
11
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `DropdownMenu` instead.
|
|
16
|
+
*/
|
|
12
17
|
export declare const Menu: MenuInterface;
|
|
13
18
|
export {};
|
|
14
19
|
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/design-system/Menu/Menu.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/design-system/Menu/Menu.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,SAAS,IAAI,aAAa,EAC1B,aAAa,IAAI,iBAAiB,EAEnC,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE5E,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,uBAAuB,CAAC,aAAa,CAAC,EAAE,kBAAkB;CAAG;AAC/G,MAAM,WAAW,aAAc,SAAQ,iBAAiB;CAAG;AAE3D,UAAU,aAAc,SAAQ,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC;IACjD,IAAI,EAAE,OAAO,QAAQ,CAAC,IAAI,CAAC;IAC3B,SAAS,EAAE,OAAO,QAAQ,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,OAAO,QAAQ,CAAC,OAAO,CAAC;CAClC;AAED;;GAEG;AACH,eAAO,MAAM,IAAI,EAAE,aAElB,CAAC"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import type { SelectProps as AntDSelectProps } from 'antd';
|
|
2
2
|
import { Select as AntDSelect } from 'antd';
|
|
3
|
-
import type { RefSelectProps } from 'antd/
|
|
4
|
-
import type { SelectValue as AntdSelectValue } from 'antd/lib/select';
|
|
5
|
-
import type { FC } from 'react';
|
|
3
|
+
import type { SelectValue as AntdSelectValue, RefSelectProps as AntdRefSelectProps } from 'antd/lib/select';
|
|
6
4
|
import React from 'react';
|
|
7
|
-
import type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';
|
|
5
|
+
import type { DangerouslySetAntdProps, HTMLDataAttributes, FormElementValidationState } from '../types';
|
|
8
6
|
export declare type SelectValue = AntdSelectValue;
|
|
7
|
+
declare type SelectRef = React.Ref<AntdRefSelectProps>;
|
|
9
8
|
declare type OmittedProps = 'bordered' | 'autoClearSearchValue' | 'dropdownRender' | 'dropdownStyle' | 'size' | 'suffixIcon' | 'tagRender' | 'clearIcon' | 'removeIcon' | 'showArrow' | 'dropdownMatchSelectWidth' | 'menuItemSelectedIcon' | 'showSearch';
|
|
10
|
-
export interface SelectProps<T = string> extends Omit<AntDSelectProps<T>, OmittedProps>, HTMLDataAttributes, DangerouslySetAntdProps<Pick<AntDSelectProps<T>, OmittedProps>> {
|
|
11
|
-
}
|
|
12
|
-
export interface SelectInterface<T> extends FC<SelectProps<T>> {
|
|
13
|
-
Option: typeof AntDSelect.Option;
|
|
14
|
-
OptGroup: typeof AntDSelect.OptGroup;
|
|
9
|
+
export interface SelectProps<T = string> extends Omit<AntDSelectProps<T>, OmittedProps>, FormElementValidationState, HTMLDataAttributes, DangerouslySetAntdProps<Pick<AntDSelectProps<T>, OmittedProps>> {
|
|
15
10
|
}
|
|
16
11
|
export interface OptionProps extends DangerouslySetAntdProps<typeof AntDSelect.Option> {
|
|
17
12
|
value: string | number;
|
|
@@ -24,13 +19,24 @@ export interface OptionProps extends DangerouslySetAntdProps<typeof AntDSelect.O
|
|
|
24
19
|
onClick?: () => void;
|
|
25
20
|
className?: string;
|
|
26
21
|
}
|
|
27
|
-
export declare const Option: React.ForwardRefExoticComponent<OptionProps & React.RefAttributes<HTMLElement
|
|
22
|
+
export declare const Option: React.ForwardRefExoticComponent<OptionProps & React.RefAttributes<HTMLElement>> & {
|
|
23
|
+
isSelectOption: boolean;
|
|
24
|
+
};
|
|
25
|
+
export interface OptGroupProps {
|
|
26
|
+
key?: string | number;
|
|
27
|
+
label: React.ReactNode;
|
|
28
|
+
className?: string;
|
|
29
|
+
style?: React.CSSProperties;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export declare const OptGroup: React.ForwardRefExoticComponent<OptGroupProps & React.RefAttributes<HTMLElement>> & {
|
|
33
|
+
isSelectOptGroup: boolean;
|
|
34
|
+
};
|
|
28
35
|
export declare const Select: (<T extends AntdSelectValue>(props: SelectProps<T> & {
|
|
29
|
-
ref?:
|
|
36
|
+
ref?: SelectRef | undefined;
|
|
30
37
|
}) => JSX.Element) & {
|
|
31
|
-
Option:
|
|
32
|
-
OptGroup:
|
|
33
|
-
}
|
|
34
|
-
export declare const __INTERNAL_DO_NOT_USE__Option: React.ForwardRefExoticComponent<OptionProps & React.RefAttributes<HTMLElement>>;
|
|
38
|
+
Option: typeof Option;
|
|
39
|
+
OptGroup: typeof OptGroup;
|
|
40
|
+
} & React.ForwardRefExoticComponent<SelectProps<string> & React.RefAttributes<HTMLElement>>;
|
|
35
41
|
export {};
|
|
36
42
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/design-system/Select/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/design-system/Select/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAC3D,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC5G,OAAO,KAAqB,MAAM,OAAO,CAAC;AAQ1C,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EAClB,0BAA0B,EAE3B,MAAM,UAAU,CAAC;AAGlB,oBAAY,WAAW,GAAG,eAAe,CAAC;AAE1C,aAAK,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;AAE/C,aAAK,YAAY,GACb,UAAU,GACV,sBAAsB,GACtB,gBAAgB,GAChB,eAAe,GACf,MAAM,GACN,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,WAAW,GACX,0BAA0B,GAC1B,sBAAsB,GACtB,YAAY,CAAC;AACjB,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,MAAM,CACrC,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,EAC5C,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;CAAG;AA8ctE,MAAM,WAAW,WAAY,SAAQ,uBAAuB,CAAC,OAAO,UAAU,CAAC,MAAM,CAAC;IACpF,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,MAAM;oBAGuF,OAAO;CAAE,CAAC;AAIpH,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,QAAQ;sBAKyF,OAAO;CAAE,CAAC;AAOxH,eAAO,MAAM,MAAM;;MA3Hd,WAAW;YACN,aAAa;cACX,eAAe;2FAyHmB,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import type { HTMLDataAttributes } from '../types';
|
|
3
|
+
export interface SpinnerProps extends HTMLDataAttributes {
|
|
4
|
+
size?: 'small' | 'default' | 'large';
|
|
5
|
+
className?: string;
|
|
6
|
+
delay?: number;
|
|
7
|
+
frameRate?: number;
|
|
8
|
+
}
|
|
5
9
|
export declare const Spinner: React.FC<SpinnerProps>;
|
|
6
10
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/design-system/Spinner/Spinner.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/design-system/Spinner/Spinner.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAiBnD,MAAM,WAAW,YAAa,SAAQ,kBAAkB;IACtD,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAwB1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/design-system/Tree/Tree.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAOvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG5E,MAAM,WAAW,SAAU,SAAQ,kBAAkB,EAAE,uBAAuB,CAAC,aAAa,CAAC;IAC3F;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAEpC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,iBAAiB,GAAG,WAAW,CAAC;CACnE;
|
|
1
|
+
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/design-system/Tree/Tree.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,MAAM,CAAC;AAOvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG5E,MAAM,WAAW,SAAU,SAAQ,kBAAkB,EAAE,uBAAuB,CAAC,aAAa,CAAC;IAC3F;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAEpC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,iBAAiB,GAAG,WAAW,CAAC;CACnE;AAqPD,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,QAAgB,EAChB,IAAgB,EAChB,uBAAuB,EACvB,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAoBzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/design-system/Typography/Link.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/design-system/Typography/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE5E,aAAK,aAAa,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;AAEnE,MAAM,WAAW,SAAU,SAAQ,aAAa,EAAE,uBAAuB,CAAC,aAAa,CAAC,EAAE,kBAAkB;IAC1G;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AA0BD,wBAAgB,IAAI,CAAC,EAAE,uBAAuB,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAWlF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSObject } from '@emotion/react';
|
|
2
2
|
import type { Theme } from '../../theme';
|
|
3
|
-
import type { TypographyColor } from '../types';
|
|
3
|
+
import type { TypographyColor, ValidationState } from '../types';
|
|
4
4
|
/**
|
|
5
5
|
* Recursively appends `!important` to all CSS properties in an Emotion `CSSObject`.
|
|
6
6
|
* Used to ensure that we always override Ant styles, without worrying about selector precedence.
|
|
@@ -13,4 +13,17 @@ export declare function importantify(obj: CSSObject): CSSObject;
|
|
|
13
13
|
* @param fallbackColor - color to return as fallback -- used to remove tertiary check inline
|
|
14
14
|
*/
|
|
15
15
|
export declare function getTypographyColor(theme: Theme, key?: TypographyColor, fallbackColor?: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns validation color based on state, has default validation colors if params are not provided
|
|
18
|
+
* @param theme
|
|
19
|
+
* @param validationState
|
|
20
|
+
* @param errorColor
|
|
21
|
+
* @param warningColor
|
|
22
|
+
* @param successColor
|
|
23
|
+
*/
|
|
24
|
+
export declare function getValidationStateColor(theme: Theme, validationState?: ValidationState, { errorColor, warningColor, successColor, }?: {
|
|
25
|
+
errorColor?: string;
|
|
26
|
+
warningColor?: string;
|
|
27
|
+
successColor?: string;
|
|
28
|
+
}): string | undefined;
|
|
16
29
|
//# sourceMappingURL=css-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css-utils.d.ts","sourceRoot":"","sources":["../../../src/design-system/utils/css-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAIhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"css-utils.d.ts","sourceRoot":"","sources":["../../../src/design-system/utils/css-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAIhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEjE;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,CAwBtD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAMtG;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,KAAK,EACZ,eAAe,CAAC,EAAE,eAAe,EACjC,EACE,UAAU,EACV,YAAY,EACZ,YAAY,GACb,GAAE;IACD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CAClB,GACL,MAAM,GAAG,SAAS,CAYpB"}
|
package/dist/flags.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare enum AvailableDesignSystemFlags {
|
|
2
|
-
'__DEBUG__' = "__DEBUG__"
|
|
2
|
+
'__DEBUG__' = "__DEBUG__",
|
|
3
|
+
'USE_NEW_SELECT_DROPDOWN_STYLES' = "USE_NEW_SELECT_DROPDOWN_STYLES",
|
|
4
|
+
'USE_FLEX_BUTTON' = "USE_FLEX_BUTTON"
|
|
3
5
|
}
|
|
4
6
|
declare type DesignSystemFlagMetadata = {
|
|
5
7
|
description: string;
|
package/dist/flags.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../src/flags.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,WAAW,cAAc;
|
|
1
|
+
{"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../src/flags.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,WAAW,cAAc;IACzB,gCAAgC,mCAAmC;IACnE,iBAAiB,oBAAoB;CACtC;AAED,aAAK,wBAAwB,GAAG;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,MAAM,CAAC,0BAA0B,EAAE,wBAAwB,CAa1G,CAAC;AAEF,oBAAY,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC"}
|