@xfers/design-system 3.1.35-dev.900fabe9cb → 3.1.35-dev.a37909549d
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/cjs/icons.js +1 -1
- package/cjs/icons.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/components/CopyBox/index.js +59 -3
- package/dist/components/CopyBox/index.js.map +1 -1
- package/dist/icons/CopyToClipboard.js +3 -3
- package/dist/icons/CopyToClipboard.js.map +1 -1
- package/dist/icons/Info.js +2 -2
- package/dist/icons/Info.js.map +1 -1
- package/dist/types/components/CopyBox/index.d.ts +11 -1
- package/es/icons.js +1 -1
- package/es/icons.js.map +1 -1
- package/es/index.js +6 -6
- package/es/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/CopyBox/CopyBox.js +0 -53
- package/dist/components/CopyBox/CopyBox.js.map +0 -1
- package/dist/components/CopyBox/styles.js +0 -25
- package/dist/components/CopyBox/styles.js.map +0 -1
- package/dist/components/CopyBox/types.js +0 -14
- package/dist/components/CopyBox/types.js.map +0 -1
- package/dist/types/components/CopyBox/CopyBox.d.ts +0 -18
- package/dist/types/components/CopyBox/styles.d.ts +0 -48
- package/dist/types/components/CopyBox/types.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
var react_1 = require("react");
|
|
26
|
-
var copy_to_clipboard_1 = require("copy-to-clipboard");
|
|
27
|
-
var CopyToClipboard_1 = require("src/icons/CopyToClipboard");
|
|
28
|
-
var theme_1 = require("src/theme/theme");
|
|
29
|
-
var Typography_1 = require("src/constants/Typography/Typography");
|
|
30
|
-
var types_1 = require("./types");
|
|
31
|
-
var Style = require("./styles");
|
|
32
|
-
var CopyBox = function (_a) {
|
|
33
|
-
var value = _a.value, _b = _a.allowCopy, allowCopy = _b === void 0 ? true : _b, _c = _a.valueToCopy, valueToCopy = _c === void 0 ? value : _c, _d = _a.isBlockchainAddress, isBlockchainAddress = _d === void 0 ? true : _d, _e = _a.showCopyIcon, showCopyIcon = _e === void 0 ? true : _e, icon = _a.icon, _f = _a.iconSize, iconSize = _f === void 0 ? types_1.ICON_SIZE.DEFAULT : _f, labelText = _a.labelText, labelTooltip = _a.labelTooltip, helperText = _a.helperText, _g = _a.helperTextType, helperTextType = _g === void 0 ? types_1.HELPER_TEXT.DEFAULT : _g, onButtonClick = _a.onButtonClick, props = __rest(_a, ["value", "allowCopy", "valueToCopy", "isBlockchainAddress", "showCopyIcon", "icon", "iconSize", "labelText", "labelTooltip", "helperText", "helperTextType", "onButtonClick"]);
|
|
34
|
-
return (react_1.default.createElement(Style.Container, __assign({}, props),
|
|
35
|
-
react_1.default.createElement(Style.LabelContainer, null,
|
|
36
|
-
labelText && (react_1.default.createElement(Typography_1.Typography.Body, { size: "md", color: theme_1.straitsXTheme.color.base.onNeutral }, labelText)),
|
|
37
|
-
labelTooltip && (react_1.default.createElement(Style.TooltipContainer, null, labelTooltip))),
|
|
38
|
-
react_1.default.createElement(Style.CopyContainer, { allowCopy: allowCopy },
|
|
39
|
-
react_1.default.createElement(Style.TextContainer, null,
|
|
40
|
-
icon && (react_1.default.createElement(Style.IconContainer, { iconSize: iconSize }, icon)),
|
|
41
|
-
react_1.default.createElement(Typography_1.Typography.Body, { size: "lg" },
|
|
42
|
-
react_1.default.createElement(Style.textValueStyles, { isBlockchainAddress: isBlockchainAddress }, value))),
|
|
43
|
-
allowCopy && (react_1.default.createElement(Style.CopyButton, { type: "secondary", onClick: function () {
|
|
44
|
-
if (onButtonClick !== undefined)
|
|
45
|
-
onButtonClick();
|
|
46
|
-
copy_to_clipboard_1.default(valueToCopy);
|
|
47
|
-
} }, showCopyIcon ? (react_1.default.createElement(CopyToClipboard_1.default, null)) : (react_1.default.createElement(Typography_1.Typography.Label, { size: "md", color: theme_1.straitsXTheme.brand.primary.default }, "Copy"))))),
|
|
48
|
-
helperText && (react_1.default.createElement(Typography_1.Typography.Body, { size: "sm", color: helperTextType === types_1.HELPER_TEXT.ERROR
|
|
49
|
-
? theme_1.straitsXTheme.color.status.critical
|
|
50
|
-
: theme_1.straitsXTheme.color.base.onNeutralSecondary }, helperText))));
|
|
51
|
-
};
|
|
52
|
-
exports.default = CopyBox;
|
|
53
|
-
//# sourceMappingURL=CopyBox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CopyBox.js","sourceRoot":"","sources":["../../../src/components/CopyBox/CopyBox.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAyB;AACzB,uDAAoC;AACpC,6DAAuD;AACvD,yCAA+C;AAC/C,kEAAgE;AAChE,iCAAgD;AAChD,gCAAiC;AAiBjC,IAAM,OAAO,GAAG,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a,KAAK,SAAS;wBAAE,aAAa,EAAE,CAAA;oBAChD,2BAAI,CAAC,WAAW,CAAC,CAAA;gBACnB,CAAC,IAEA,YAAY,CAAC,CAAC,CAAC,CACd,8BAAC,yBAAe,OAAG,CACpB,CAAC,CAAC,CAAC,CACF,8BAAC,uBAAU,CAAC,KAAK,IACf,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,qBAAa,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,WAGzB,CACpB,CACgB,CACpB,CACmB;QACrB,UAAU,IAAI,CACb,8BAAC,uBAAU,CAAC,IAAI,IACd,IAAI,EAAC,IAAI,EACT,KAAK,EACH,cAAc,KAAK,mBAAW,CAAC,KAAK;gBAClC,CAAC,CAAC,qBAAa,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ;gBACrC,CAAC,CAAC,qBAAa,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,IAGhD,UAAU,CACK,CACnB,CACe,CACnB,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,OAAO,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.CopyButton = exports.textValueStyles = exports.TextContainer = exports.CopyContainer = exports.IconContainer = exports.TooltipContainer = exports.LabelContainer = exports.Container = void 0;
|
|
8
|
-
var theme_1 = require("src/theme/theme");
|
|
9
|
-
var styled_1 = require("@emotion/styled");
|
|
10
|
-
var Button_1 = require("src/components/Button");
|
|
11
|
-
var types_1 = require("./types");
|
|
12
|
-
exports.Container = styled_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 4px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 4px;\n"])));
|
|
13
|
-
exports.LabelContainer = styled_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 4px;\n"], ["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
14
|
-
exports.TooltipContainer = styled_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
15
|
-
exports.IconContainer = styled_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 4px;\n > svg {\n width: ", "!important;\n height: 24px;\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 4px;\n > svg {\n width: ", "!important;\n height: 24px;\n }\n"])), function (props) {
|
|
16
|
-
return props.iconSize === types_1.ICON_SIZE.WIDE ? '48px' : '24px';
|
|
17
|
-
});
|
|
18
|
-
exports.CopyContainer = styled_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n background: ", ";\n border-radius: 12px;\n border: 1px solid ", ";\n min-height: 48px;\n"], ["\n display: flex;\n background: ", ";\n border-radius: 12px;\n border: 1px solid ", ";\n min-height: 48px;\n"])), theme_1.straitsXTheme.color.surface.disabledSurface, theme_1.straitsXTheme.color.base.line);
|
|
19
|
-
exports.TextContainer = styled_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-left: 16px;\n padding-right: 16px;\n flex-basis: 0px;\n flex-grow: 1;\n flex-shrink: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: 8px;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-left: 16px;\n padding-right: 16px;\n flex-basis: 0px;\n flex-grow: 1;\n flex-shrink: 1;\n"])));
|
|
20
|
-
exports.textValueStyles = styled_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n line-height: '24px';\n word-break: ", ";\n max-height: ", ";\n"], ["\n color: ", ";\n line-height: '24px';\n word-break: ", ";\n max-height: ", ";\n"])), theme_1.straitsXTheme.color.base.onNeutral, function (props) {
|
|
21
|
-
return props.isBlockchainAddress ? 'break-all' : 'break-word';
|
|
22
|
-
}, function (props) { return (props.isBlockchainAddress ? '48px' : 'auto'); });
|
|
23
|
-
exports.CopyButton = styled_1.default(Button_1.default)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n border-top-left-radius: 0px !important;\n border-bottom-left-radius: 0px !important;\n border-top-right-radius: 12px !important;\n border-bottom-right-radius: 12px !important;\n border: 1px solid ", " !important;\n background: ", "!important;\n padding: 12px !important;\n min-width: unset !important;\n min-height: unset !important;\n height: auto !important;\n > svg {\n margin: 0px !important;\n }\n"], ["\n border-top-left-radius: 0px !important;\n border-bottom-left-radius: 0px !important;\n border-top-right-radius: 12px !important;\n border-bottom-right-radius: 12px !important;\n border: 1px solid ", " !important;\n background: ", "!important;\n padding: 12px !important;\n min-width: unset !important;\n min-height: unset !important;\n height: auto !important;\n > svg {\n margin: 0px !important;\n }\n"])), theme_1.straitsXTheme.color.base.line, theme_1.straitsXTheme.color.surface.neutral);
|
|
24
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
25
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/CopyBox/styles.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAA+C;AAC/C,0CAAoC;AACpC,gDAA0C;AAC1C,iCAAmC;AAEtB,QAAA,SAAS,GAAG,gBAAM,CAAC,GAAG,iIAAA,8DAIlC,KAAA;AAEY,QAAA,cAAc,GAAG,gBAAM,CAAC,GAAG,8HAAA,2DAIvC,KAAA;AACY,QAAA,gBAAgB,GAAG,gBAAM,CAAC,GA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 0;
|
|
4
|
-
var HELPER_TEXT;
|
|
5
|
-
(function (HELPER_TEXT) {
|
|
6
|
-
HELPER_TEXT[HELPER_TEXT["DEFAULT"] = 0] = "DEFAULT";
|
|
7
|
-
HELPER_TEXT[HELPER_TEXT["ERROR"] = 1] = "ERROR";
|
|
8
|
-
})(HELPER_TEXT = exports.HELPER_TEXT || (exports.HELPER_TEXT = {}));
|
|
9
|
-
var ICON_SIZE;
|
|
10
|
-
(function (ICON_SIZE) {
|
|
11
|
-
ICON_SIZE[ICON_SIZE["DEFAULT"] = 0] = "DEFAULT";
|
|
12
|
-
ICON_SIZE[ICON_SIZE["WIDE"] = 1] = "WIDE";
|
|
13
|
-
})(ICON_SIZE = exports.ICON_SIZE || (exports.ICON_SIZE = {}));
|
|
14
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/CopyBox/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,mDAAO,CAAA;IACP,+CAAK,CAAA;AACP,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,+CAAO,CAAA;IACP,yCAAI,CAAA;AACN,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HELPER_TEXT, ICON_SIZE } from './types';
|
|
3
|
-
declare type CopyBoxType = {
|
|
4
|
-
value: string;
|
|
5
|
-
allowCopy?: boolean;
|
|
6
|
-
valueToCopy?: string;
|
|
7
|
-
isBlockchainAddress?: boolean;
|
|
8
|
-
showCopyIcon?: boolean;
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
iconSize?: ICON_SIZE;
|
|
11
|
-
labelText?: string;
|
|
12
|
-
labelTooltip?: React.ReactNode;
|
|
13
|
-
helperText?: string;
|
|
14
|
-
helperTextType: HELPER_TEXT;
|
|
15
|
-
onButtonClick?: () => void;
|
|
16
|
-
};
|
|
17
|
-
declare const CopyBox: ({ value, allowCopy, valueToCopy, isBlockchainAddress, showCopyIcon, icon, iconSize, labelText, labelTooltip, helperText, helperTextType, onButtonClick, ...props }: CopyBoxType) => JSX.Element;
|
|
18
|
-
export default CopyBox;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ICON_SIZE } from './types';
|
|
3
|
-
export declare const Container: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
4
|
-
export declare const LabelContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
5
|
-
export declare const TooltipContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
6
|
-
export declare const IconContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
|
-
iconSize: ICON_SIZE;
|
|
8
|
-
}, object>;
|
|
9
|
-
export declare const CopyContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
10
|
-
allowCopy: boolean;
|
|
11
|
-
}, object>;
|
|
12
|
-
export declare const TextContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
|
|
13
|
-
export declare const textValueStyles: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
14
|
-
isBlockchainAddress: boolean;
|
|
15
|
-
}, object>;
|
|
16
|
-
export declare const CopyButton: import("@emotion/styled-base").StyledComponent<{
|
|
17
|
-
type?: "primary" | "secondary" | "tertiary" | undefined;
|
|
18
|
-
size?: "small" | undefined;
|
|
19
|
-
iconColor?: "primary" | undefined;
|
|
20
|
-
isDisabled?: boolean | undefined;
|
|
21
|
-
isFullWidth?: boolean | undefined;
|
|
22
|
-
children?: import("react").ReactNode;
|
|
23
|
-
className?: string | undefined;
|
|
24
|
-
icon?: import("react").ReactNode;
|
|
25
|
-
} & Omit<Partial<{
|
|
26
|
-
href: string;
|
|
27
|
-
target?: string | undefined;
|
|
28
|
-
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
29
|
-
} & import("antd/es/button/button").BaseButtonProps & import("antd/es/_util/type").Omit<import("react").AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
|
30
|
-
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
31
|
-
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
32
|
-
} & import("antd/es/_util/type").Omit<import("react").ButtonHTMLAttributes<any>, "onClick" | "type">>, "disabled" | "type">, Pick<{
|
|
33
|
-
type?: "primary" | "secondary" | "tertiary" | undefined;
|
|
34
|
-
size?: "small" | undefined;
|
|
35
|
-
iconColor?: "primary" | undefined;
|
|
36
|
-
isDisabled?: boolean | undefined;
|
|
37
|
-
isFullWidth?: boolean | undefined;
|
|
38
|
-
children?: import("react").ReactNode;
|
|
39
|
-
className?: string | undefined;
|
|
40
|
-
icon?: import("react").ReactNode;
|
|
41
|
-
} & Omit<Partial<{
|
|
42
|
-
href: string;
|
|
43
|
-
target?: string | undefined;
|
|
44
|
-
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
45
|
-
} & import("antd/es/button/button").BaseButtonProps & import("antd/es/_util/type").Omit<import("react").AnchorHTMLAttributes<any>, "onClick" | "type"> & {
|
|
46
|
-
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
47
|
-
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
48
|
-
} & import("antd/es/_util/type").Omit<import("react").ButtonHTMLAttributes<any>, "onClick" | "type">>, "disabled" | "type">, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "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" | "css" | "form" | "size" | "block" | "icon" | "type" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "referrerPolicy" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "shape" | "loading" | "prefixCls" | "ghost" | "danger" | "htmlType" | "iconColor" | "isDisabled" | "isFullWidth">, object>;
|