@oceanbase/design 0.2.25 → 0.2.27

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.
Files changed (78) hide show
  1. package/dist/design.min.js +1 -1
  2. package/es/_util/type.d.ts +4 -0
  3. package/es/_util/type.js +1 -0
  4. package/es/badge/index.d.ts +3 -4
  5. package/es/badge/index.js +7 -3
  6. package/es/button/index.d.ts +2 -4
  7. package/es/button/index.js +7 -5
  8. package/es/card/index.d.ts +2 -4
  9. package/es/card/index.js +7 -5
  10. package/es/config-provider/index.js +9 -11
  11. package/es/drawer/Drawer.d.ts +18 -0
  12. package/es/drawer/Drawer.js +69 -0
  13. package/es/drawer/index.d.ts +2 -0
  14. package/es/drawer/index.js +3 -1
  15. package/es/drawer/style/index.d.ts +9 -0
  16. package/es/drawer/style/index.js +31 -0
  17. package/es/index.d.ts +2 -1
  18. package/es/index.js +1 -0
  19. package/es/modal/style/index.js +3 -2
  20. package/es/select/index.d.ts +8 -2
  21. package/es/select/index.js +6 -6
  22. package/es/spin/index.js +1 -0
  23. package/es/static-function/index.d.ts +1 -1
  24. package/es/static-function/index.js +2 -2
  25. package/es/table/index.d.ts +17 -12
  26. package/es/table/index.js +19 -16
  27. package/es/tag/index.d.ts +2 -4
  28. package/es/tag/index.js +7 -5
  29. package/es/theme/dark.d.ts +56 -0
  30. package/es/theme/dark.js +10 -0
  31. package/es/theme/default.d.ts +94 -72
  32. package/es/theme/default.js +95 -72
  33. package/es/theme/index.d.ts +8 -13
  34. package/es/theme/index.js +15 -20
  35. package/es/theme/style/compact.less +211 -186
  36. package/es/theme/style/dark.less +194 -169
  37. package/es/theme/style/default.less +208 -183
  38. package/es/tooltip/index.d.ts +2 -2
  39. package/es/tooltip/index.js +3 -2
  40. package/lib/_util/type.d.ts +4 -0
  41. package/lib/_util/type.js +17 -0
  42. package/lib/badge/index.d.ts +3 -4
  43. package/lib/badge/index.js +56 -51
  44. package/lib/button/index.d.ts +2 -4
  45. package/lib/button/index.js +15 -10
  46. package/lib/card/index.d.ts +2 -4
  47. package/lib/card/index.js +40 -34
  48. package/lib/config-provider/index.js +8 -15
  49. package/lib/drawer/Drawer.d.ts +18 -0
  50. package/lib/drawer/Drawer.js +85 -0
  51. package/lib/drawer/index.d.ts +2 -0
  52. package/lib/drawer/index.js +19 -0
  53. package/lib/drawer/style/index.d.ts +9 -0
  54. package/lib/drawer/style/index.js +60 -0
  55. package/lib/index.d.ts +2 -1
  56. package/lib/index.js +3 -0
  57. package/lib/modal/style/index.js +3 -2
  58. package/lib/select/index.d.ts +8 -2
  59. package/lib/select/index.js +14 -10
  60. package/lib/spin/index.js +1 -0
  61. package/lib/static-function/index.d.ts +1 -1
  62. package/lib/static-function/index.js +1 -1
  63. package/lib/table/index.d.ts +17 -12
  64. package/lib/table/index.js +17 -14
  65. package/lib/tag/index.d.ts +2 -4
  66. package/lib/tag/index.js +25 -28
  67. package/lib/theme/dark.d.ts +56 -0
  68. package/lib/theme/dark.js +44 -0
  69. package/lib/theme/default.d.ts +94 -72
  70. package/lib/theme/default.js +94 -71
  71. package/lib/theme/index.d.ts +8 -13
  72. package/lib/theme/index.js +27 -21
  73. package/lib/theme/style/compact.less +211 -186
  74. package/lib/theme/style/dark.less +194 -169
  75. package/lib/theme/style/default.less +208 -183
  76. package/lib/tooltip/index.d.ts +2 -2
  77. package/lib/tooltip/index.js +83 -80
  78. package/package.json +6 -4
@@ -39,16 +39,20 @@ var import_react = __toESM(require("react"));
39
39
  var import_config_provider = __toESM(require("../config-provider"));
40
40
  var import_style = __toESM(require("./style"));
41
41
  __reExport(select_exports, require("antd/es/select"), module.exports);
42
- var { Option, OptGroup } = import_antd.Select;
43
- var Select = ({ prefixCls: customizePrefixCls, className, ...restProps }) => {
44
- const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
45
- const prefixCls = getPrefixCls("select", customizePrefixCls);
46
- const { wrapSSR } = (0, import_style.default)(prefixCls);
47
- const selectCls = (0, import_classnames.default)(className);
48
- return wrapSSR(/* @__PURE__ */ import_react.default.createElement(import_antd.Select, { prefixCls: customizePrefixCls, className: selectCls, ...restProps }));
49
- };
50
- Select.Option = Option;
51
- Select.OptGroup = OptGroup;
42
+ var InternalSelect = import_react.default.forwardRef(
43
+ ({ prefixCls: customizePrefixCls, className, ...restProps }, ref) => {
44
+ const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
45
+ const prefixCls = getPrefixCls("select", customizePrefixCls);
46
+ const { wrapSSR } = (0, import_style.default)(prefixCls);
47
+ const selectCls = (0, import_classnames.default)(className);
48
+ return wrapSSR(
49
+ /* @__PURE__ */ import_react.default.createElement(import_antd.Select, { ref, prefixCls: customizePrefixCls, className: selectCls, ...restProps })
50
+ );
51
+ }
52
+ );
53
+ var Select = InternalSelect;
54
+ Select.Option = import_antd.Select.Option;
55
+ Select.OptGroup = import_antd.Select.OptGroup;
52
56
  if (process.env.NODE_ENV !== "production") {
53
57
  Select.displayName = import_antd.Select.displayName;
54
58
  }
package/lib/spin/index.js CHANGED
@@ -75,6 +75,7 @@ var Spin = ({
75
75
  );
76
76
  };
77
77
  Spin.setDefaultIndicator = import_antd.Spin.setDefaultIndicator;
78
+ Spin.setDefaultIndicator(/* @__PURE__ */ import_react.default.createElement(Spin, null));
78
79
  if (process.env.NODE_ENV !== "production") {
79
80
  Spin.displayName = import_antd.Spin.displayName;
80
81
  }
@@ -2,7 +2,7 @@ import { message as antMessage, Modal as AntModal, notification as antNotificati
2
2
  import type { MessageInstance } from 'antd/es/message/interface';
3
3
  import type { ModalStaticFunctions } from 'antd/es/modal/confirm';
4
4
  import type { NotificationInstance } from 'antd/es/notification/interface';
5
- declare let token: import("antd/lib/theme/interface").AliasToken;
5
+ declare let token: import("antd/lib/theme/interface/alias").AliasToken;
6
6
  declare let message: MessageInstance & {
7
7
  useMessage: typeof antMessage.useMessage;
8
8
  };
@@ -43,7 +43,7 @@ var import_default = __toESM(require("../theme/default"));
43
43
  var { defaultAlgorithm, defaultSeed, useToken } = import_theme.default;
44
44
  var mapToken = {
45
45
  ...defaultAlgorithm(defaultSeed),
46
- ...import_default.default,
46
+ ...import_default.default.token,
47
47
  override: {}
48
48
  };
49
49
  var token = (0, import_alias.default)(mapToken);
@@ -1,8 +1,10 @@
1
1
  import type { TableProps as AntTableProps } from 'antd';
2
2
  import type { ColumnsType } from 'antd/es/table';
3
3
  import type { TableLocale as AntTableLocale } from 'antd/es/table/interface';
4
+ import type { Reference } from 'rc-table';
4
5
  import type { ReactElement, ReactNode } from 'react';
5
6
  import React from 'react';
7
+ import type { AnyObject } from '../_util/type';
6
8
  export * from 'antd/es/table';
7
9
  export interface TableLocale extends AntTableLocale {
8
10
  batchOperationBar?: {
@@ -21,15 +23,18 @@ export interface TableProps<T> extends AntTableProps<T> {
21
23
  toolSelectedContent?: (selectedRowKeys: any, selectedRows: any) => ReactNode;
22
24
  locale?: TableLocale;
23
25
  }
24
- declare function Table<T>(props: TableProps<T>): ReactElement<any, string | React.JSXElementConstructor<any>>;
25
- declare namespace Table {
26
- var SELECTION_COLUMN: {};
27
- var EXPAND_COLUMN: {};
28
- var SELECTION_ALL: "SELECT_ALL";
29
- var SELECTION_INVERT: "SELECT_INVERT";
30
- var SELECTION_NONE: "SELECT_NONE";
31
- var Column: typeof import("antd/es/table/Column").default;
32
- var ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
33
- var Summary;
34
- }
35
- export default Table;
26
+ declare const _default: (<RecordType extends AnyObject = AnyObject>(props: TableProps<RecordType> & {
27
+ children?: ReactNode;
28
+ } & {
29
+ ref?: React.Ref<Reference>;
30
+ }) => ReactElement<any, string | React.JSXElementConstructor<any>>) & {
31
+ SELECTION_COLUMN: {};
32
+ EXPAND_COLUMN: {};
33
+ SELECTION_ALL: "SELECT_ALL";
34
+ SELECTION_INVERT: "SELECT_INVERT";
35
+ SELECTION_NONE: "SELECT_NONE";
36
+ Column: typeof import("antd/es/table/Column").default;
37
+ ColumnGroup: typeof import("antd/es/table/ColumnGroup").default;
38
+ Summary: typeof import("rc-table/lib/Footer/Summary").default;
39
+ };
40
+ export default _default;
@@ -41,7 +41,7 @@ var import_config_provider = __toESM(require("../config-provider"));
41
41
  var import_en_US = __toESM(require("../locale/en-US"));
42
42
  var import_style = __toESM(require("./style"));
43
43
  __reExport(table_exports, require("antd/es/table"), module.exports);
44
- function Table(props) {
44
+ function Table(props, ref) {
45
45
  var _a;
46
46
  const {
47
47
  locale: customLocale,
@@ -72,7 +72,7 @@ function Table(props) {
72
72
  },
73
73
  className
74
74
  );
75
- const [openPopver, setOpenPopver] = (0, import_react.useState)(false);
75
+ const [openPopover, setOpenPopover] = (0, import_react.useState)(false);
76
76
  const [currentSelectedRowKeys, setCurrentSelectedRowKeys] = (0, import_react.useState)();
77
77
  const [currentSelectedRows, setCurrentSelectedRows] = (0, import_react.useState)([]);
78
78
  const [currentSelectedInfo, setCurrentSelectedInfo] = (0, import_react.useState)({});
@@ -115,7 +115,7 @@ function Table(props) {
115
115
  };
116
116
  (0, import_react.useEffect)(() => {
117
117
  if ((0, import_lodash.isEmpty)(currentSelectedRows) && toolSelectedContent) {
118
- setOpenPopver(false);
118
+ setOpenPopover(false);
119
119
  }
120
120
  }, [currentSelectedRows]);
121
121
  const renderOptionsBar = (total, range) => {
@@ -143,9 +143,9 @@ function Table(props) {
143
143
  overlayClassName: `${prefixCls}-batch-operation-selection-popover`,
144
144
  content: toolSelectedContent == null ? void 0 : toolSelectedContent(currentSelectedRowKeys, currentSelectedRows),
145
145
  trigger: "click",
146
- open: openPopver
146
+ open: openPopover
147
147
  },
148
- /* @__PURE__ */ import_react.default.createElement("a", { onClick: () => setOpenPopver(!openPopver) }, openPopver ? batchOperationBar == null ? void 0 : batchOperationBar.collapse : batchOperationBar == null ? void 0 : batchOperationBar.open)
148
+ /* @__PURE__ */ import_react.default.createElement("a", { onClick: () => setOpenPopover(!openPopover) }, openPopover ? batchOperationBar == null ? void 0 : batchOperationBar.collapse : batchOperationBar == null ? void 0 : batchOperationBar.open)
149
149
  )
150
150
  ), toolOptionsRender && /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { size: 8 }, toolOptionsRender == null ? void 0 : toolOptionsRender(currentSelectedRowKeys, currentSelectedRows))), /* @__PURE__ */ import_react.default.createElement("span", null, pagination && (pagination == null ? void 0 : pagination.showTotal) && (pagination == null ? void 0 : pagination.showTotal(total, range))));
151
151
  };
@@ -154,6 +154,7 @@ function Table(props) {
154
154
  import_antd.Table,
155
155
  {
156
156
  ...props,
157
+ ref,
157
158
  prefixCls: customizePrefixCls,
158
159
  className: tableCls,
159
160
  locale: restLocale,
@@ -174,15 +175,17 @@ function Table(props) {
174
175
  )
175
176
  );
176
177
  }
177
- Table.SELECTION_COLUMN = import_antd.Table.SELECTION_COLUMN;
178
- Table.EXPAND_COLUMN = import_antd.Table.EXPAND_COLUMN;
179
- Table.SELECTION_ALL = import_antd.Table.SELECTION_ALL;
180
- Table.SELECTION_INVERT = import_antd.Table.SELECTION_INVERT;
181
- Table.SELECTION_NONE = import_antd.Table.SELECTION_NONE;
182
- Table.Column = import_antd.Table.Column;
183
- Table.ColumnGroup = import_antd.Table.ColumnGroup;
184
- Table.Summary = import_antd.Table.Summary;
185
- var table_default = Table;
178
+ var ForwardTable = import_react.default.forwardRef(Table);
179
+ var table_default = Object.assign(ForwardTable, {
180
+ SELECTION_COLUMN: import_antd.Table.SELECTION_COLUMN,
181
+ EXPAND_COLUMN: import_antd.Table.EXPAND_COLUMN,
182
+ SELECTION_ALL: import_antd.Table.SELECTION_ALL,
183
+ SELECTION_INVERT: import_antd.Table.SELECTION_INVERT,
184
+ SELECTION_NONE: import_antd.Table.SELECTION_NONE,
185
+ Column: import_antd.Table.Column,
186
+ ColumnGroup: import_antd.Table.ColumnGroup,
187
+ Summary: import_antd.Table.Summary
188
+ });
186
189
  // Annotate the CommonJS export names for ESM import in node:
187
190
  0 && (module.exports = {
188
191
  ...require("antd/es/table")
@@ -4,9 +4,7 @@ export * from 'antd/es/tag';
4
4
  export interface TagProps extends AntTagProps {
5
5
  ellipsis?: boolean;
6
6
  }
7
- declare const Tag: {
8
- ({ prefixCls: customizePrefixCls, className, ellipsis, ...restProps }: TagProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
9
- displayName: string;
7
+ declare const _default: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>> & {
10
8
  CheckableTag: React.ForwardRefExoticComponent<import("antd/es/tag").CheckableTagProps & React.RefAttributes<HTMLSpanElement>>;
11
9
  };
12
- export default Tag;
10
+ export default _default;
package/lib/tag/index.js CHANGED
@@ -40,37 +40,34 @@ var import_react = __toESM(require("react"));
40
40
  var import_config_provider = __toESM(require("../config-provider"));
41
41
  var import_style = __toESM(require("./style"));
42
42
  __reExport(tag_exports, require("antd/es/tag"), module.exports);
43
- var { CheckableTag } = import_antd.Tag;
44
- var Tag = ({
45
- prefixCls: customizePrefixCls,
46
- className,
47
- ellipsis = true,
48
- ...restProps
49
- }) => {
50
- var _a, _b;
51
- const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
52
- const prefixCls = getPrefixCls("tag", customizePrefixCls);
53
- const { wrapSSR } = (0, import_style.default)(prefixCls);
54
- const tagCls = (0, import_classnames.default)(
55
- {
56
- [`${prefixCls}-ellipsis`]: ellipsis
57
- },
58
- className
59
- );
60
- const childrenType = (_a = restProps.children) == null ? void 0 : _a.type;
61
- const { ellipsis: defalutEllipsis, children: defaultChildren } = ((_b = restProps.children) == null ? void 0 : _b.props) || {};
62
- const ellipsisConfig = typeof defalutEllipsis === "object" ? defalutEllipsis : {
63
- tooltip: (childrenType == null ? void 0 : childrenType.__ANT_TOOLTIP) ? false : defaultChildren || restProps.children
64
- };
65
- return ellipsis ? wrapSSR(
66
- /* @__PURE__ */ import_react.default.createElement(import_design.Typography.Text, { ellipsis: { ...ellipsisConfig } }, /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, { prefixCls: customizePrefixCls, className: tagCls, ...restProps }))
67
- ) : /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, { prefixCls: customizePrefixCls, className: tagCls, ...restProps });
68
- };
43
+ var Tag = import_react.default.forwardRef(
44
+ ({ prefixCls: customizePrefixCls, className, ellipsis = true, ...restProps }, ref) => {
45
+ var _a, _b;
46
+ const { getPrefixCls } = (0, import_react.useContext)(import_config_provider.default.ConfigContext);
47
+ const prefixCls = getPrefixCls("tag", customizePrefixCls);
48
+ const { wrapSSR } = (0, import_style.default)(prefixCls);
49
+ const tagCls = (0, import_classnames.default)(
50
+ {
51
+ [`${prefixCls}-ellipsis`]: ellipsis
52
+ },
53
+ className
54
+ );
55
+ const childrenType = (_a = restProps.children) == null ? void 0 : _a.type;
56
+ const { ellipsis: defalutEllipsis, children: defaultChildren } = ((_b = restProps.children) == null ? void 0 : _b.props) || {};
57
+ const ellipsisConfig = typeof defalutEllipsis === "object" ? defalutEllipsis : {
58
+ tooltip: (childrenType == null ? void 0 : childrenType.__ANT_TOOLTIP) ? false : defaultChildren || restProps.children
59
+ };
60
+ return ellipsis ? wrapSSR(
61
+ /* @__PURE__ */ import_react.default.createElement(import_design.Typography.Text, { ellipsis: { ...ellipsisConfig } }, /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, { ref, prefixCls: customizePrefixCls, className: tagCls, ...restProps }))
62
+ ) : /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, { ref, prefixCls: customizePrefixCls, className: tagCls, ...restProps });
63
+ }
64
+ );
69
65
  if (process.env.NODE_ENV !== "production") {
70
66
  Tag.displayName = import_antd.Tag.displayName;
71
67
  }
72
- Tag.CheckableTag = CheckableTag;
73
- var tag_default = Tag;
68
+ var tag_default = Object.assign(Tag, {
69
+ CheckableTag: import_antd.Tag.CheckableTag
70
+ });
74
71
  // Annotate the CommonJS export names for ESM import in node:
75
72
  0 && (module.exports = {
76
73
  ...require("antd/es/tag")
@@ -0,0 +1,56 @@
1
+ declare const darkTheme: {
2
+ token: {
3
+ colorPrimary: string;
4
+ colorSuccess: string;
5
+ colorWarning: string;
6
+ colorError: string;
7
+ colorInfo: string;
8
+ colorTextBase: string;
9
+ colorBgBase: string;
10
+ colorLink: string;
11
+ fontFamily: string;
12
+ fontFamilyCode: string;
13
+ fontSize: number;
14
+ lineWidth: number;
15
+ lineType: string;
16
+ borderRadius: number;
17
+ sizeUnit: number;
18
+ sizeStep: number;
19
+ sizePopupArrow: number;
20
+ controlHeight: number;
21
+ zIndexBase: number;
22
+ zIndexPopupBase: number;
23
+ opacityImage: number;
24
+ motionUnit: number;
25
+ motionBase: number;
26
+ motionEaseOutCirc: string;
27
+ motionEaseInOutCirc: string;
28
+ motionEaseInOut: string;
29
+ motionEaseOutBack: string;
30
+ motionEaseInBack: string;
31
+ motionEaseInQuint: string;
32
+ motionEaseOutQuint: string;
33
+ motionEaseOut: string;
34
+ wireframe: boolean;
35
+ motion: boolean;
36
+ blue: string;
37
+ purple: string;
38
+ cyan: string;
39
+ green: string;
40
+ magenta: string;
41
+ pink: string;
42
+ red: string;
43
+ orange: string;
44
+ yellow: string;
45
+ volcano: string;
46
+ geekblue: string;
47
+ lime: string;
48
+ gold: string;
49
+ };
50
+ components: {
51
+ InputNumber: {
52
+ handleVisible: boolean;
53
+ };
54
+ };
55
+ };
56
+ export default darkTheme;
@@ -0,0 +1,44 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/theme/dark.ts
30
+ var dark_exports = {};
31
+ __export(dark_exports, {
32
+ default: () => dark_default
33
+ });
34
+ module.exports = __toCommonJS(dark_exports);
35
+ var import_index = __toESM(require("./index"));
36
+ var darkTheme = {
37
+ token: import_index.default.defaultSeed,
38
+ components: {
39
+ InputNumber: {
40
+ handleVisible: true
41
+ }
42
+ }
43
+ };
44
+ var dark_default = darkTheme;
@@ -1,73 +1,95 @@
1
- declare const _default: {
2
- colorPrimaryBg: string;
3
- colorPrimary: string;
4
- colorPrimaryBgHover: string;
5
- colorPrimaryBorder: string;
6
- colorPrimaryBorderHover: string;
7
- colorPrimaryHover: string;
8
- colorPrimaryTextHover: string;
9
- colorPrimaryText: string;
10
- colorPrimaryTextActive: string;
11
- colorSuccess: string;
12
- colorSuccessBg: string;
13
- colorSuccessBgHover: string;
14
- colorSuccessBorder: string;
15
- colorSuccessBorderHover: string;
16
- colorSuccessHover: string;
17
- colorSuccessActive: string;
18
- colorSuccessTextHover: string;
19
- colorSuccessText: string;
20
- colorSuccessTextActive: string;
21
- colorWarning: string;
22
- colorWarningBg: string;
23
- colorWarningBgHover: string;
24
- colorWarningBorder: string;
25
- colorWarningBorderHover: string;
26
- colorWarningHover: string;
27
- colorWarningActive: string;
28
- colorWarningTextHover: string;
29
- colorWarningText: string;
30
- colorWarningTextActive: string;
31
- colorErrorBg: string;
32
- colorErrorBgHover: string;
33
- colorErrorBorder: string;
34
- colorErrorBorderHover: string;
35
- colorErrorHover: string;
36
- colorErrorActive: string;
37
- colorErrorTextHover: string;
38
- colorErrorText: string;
39
- colorErrorTextActive: string;
40
- colorError: string;
41
- colorInfo: string;
42
- colorInfoBg: string;
43
- colorInfoBgHover: string;
44
- colorInfoBorder: string;
45
- colorInfoBorderHover: string;
46
- colorInfoHover: string;
47
- colorInfoActive: string;
48
- colorInfoTextHover: string;
49
- colorInfoText: string;
50
- colorInfoTextActive: string;
51
- colorTextBase: string;
52
- colorBgBase: string;
53
- colorText: string;
54
- colorTextSecondary: string;
55
- colorTextQuaternary: string;
56
- colorTextTertiary: string;
57
- colorBgContainer: string;
58
- colorBgLayout: string;
59
- colorBgSpotlight: string;
60
- colorBgMask: string;
61
- colorBorder: string;
62
- colorBorderSecondary: string;
63
- colorFillQuaternary: string;
64
- colorFillTertiary: string;
65
- colorFillSecondary: string;
66
- colorFill: string;
67
- boxShadowSecondary: string;
68
- boxShadow: string;
69
- borderRadius: number;
70
- wireframe: boolean;
71
- colorPrimaryActive: string;
1
+ declare const defaultTheme: {
2
+ token: {
3
+ colorPrimaryBg: string;
4
+ colorPrimary: string;
5
+ colorPrimaryBgHover: string;
6
+ colorPrimaryBorder: string;
7
+ colorPrimaryBorderHover: string;
8
+ colorPrimaryHover: string;
9
+ colorPrimaryTextHover: string;
10
+ colorPrimaryText: string;
11
+ colorPrimaryTextActive: string;
12
+ colorSuccess: string;
13
+ colorSuccessBg: string;
14
+ colorSuccessBgHover: string;
15
+ colorSuccessBorder: string;
16
+ colorSuccessBorderHover: string;
17
+ colorSuccessHover: string;
18
+ colorSuccessActive: string;
19
+ colorSuccessTextHover: string;
20
+ colorSuccessText: string;
21
+ colorSuccessTextActive: string;
22
+ colorWarning: string;
23
+ colorWarningBg: string;
24
+ colorWarningBgHover: string;
25
+ colorWarningBorder: string;
26
+ colorWarningBorderHover: string;
27
+ colorWarningHover: string;
28
+ colorWarningActive: string;
29
+ colorWarningTextHover: string;
30
+ colorWarningText: string;
31
+ colorWarningTextActive: string;
32
+ colorErrorBg: string;
33
+ colorErrorBgHover: string;
34
+ colorErrorBorder: string;
35
+ colorErrorBorderHover: string;
36
+ colorErrorHover: string;
37
+ colorErrorActive: string;
38
+ colorErrorTextHover: string;
39
+ colorErrorText: string;
40
+ colorErrorTextActive: string;
41
+ colorError: string;
42
+ colorInfo: string;
43
+ colorInfoBg: string;
44
+ colorInfoBgHover: string;
45
+ colorInfoBorder: string;
46
+ colorInfoBorderHover: string;
47
+ colorInfoHover: string;
48
+ colorInfoActive: string;
49
+ colorInfoTextHover: string;
50
+ colorInfoText: string;
51
+ colorInfoTextActive: string;
52
+ colorTextBase: string;
53
+ colorBgBase: string;
54
+ colorText: string;
55
+ colorTextSecondary: string;
56
+ colorTextQuaternary: string;
57
+ colorTextTertiary: string;
58
+ colorBgContainer: string;
59
+ colorBgLayout: string;
60
+ colorBgSpotlight: string;
61
+ colorBgMask: string;
62
+ colorBorder: string;
63
+ colorBorderSecondary: string;
64
+ colorFillQuaternary: string;
65
+ colorFillTertiary: string;
66
+ colorFillSecondary: string;
67
+ colorFill: string;
68
+ boxShadowSecondary: string;
69
+ boxShadow: string;
70
+ borderRadius: number;
71
+ wireframe: boolean;
72
+ colorPrimaryActive: string;
73
+ };
74
+ components: {
75
+ Dropdown: {
76
+ colorError: string;
77
+ };
78
+ Button: {
79
+ borderRadius: number;
80
+ };
81
+ Segmented: {
82
+ itemColor: string;
83
+ itemHoverColor: string;
84
+ itemHoverBg: string;
85
+ };
86
+ Rate: {
87
+ colorFillContent: string;
88
+ colorText: string;
89
+ };
90
+ InputNumber: {
91
+ handleVisible: boolean;
92
+ };
93
+ };
72
94
  };
73
- export default _default;
95
+ export default defaultTheme;