@oceanbase/design 0.4.11 → 0.4.12

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.
@@ -2,7 +2,7 @@ import type { ButtonProps as AntButtonProps } from 'antd/es/button';
2
2
  import React from 'react';
3
3
  export * from 'antd/es/button';
4
4
  export type ButtonProps = AntButtonProps;
5
- declare const _default: React.ForwardRefExoticComponent<AntButtonProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & {
5
+ declare const _default: React.ForwardRefExoticComponent<AntButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
6
6
  Group: React.FC<import("antd/es/button").ButtonGroupProps>;
7
7
  __ANT_BUTTON: boolean;
8
8
  };
@@ -2,6 +2,8 @@ import React from 'react';
2
2
  import type { DescriptionsItemType } from '..';
3
3
  export default function useItems(items?: DescriptionsItemType[], children?: React.ReactNode, bordered?: boolean): {
4
4
  children: string | number | boolean | Iterable<React.ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element;
5
+ key?: React.Key;
6
+ label?: React.ReactNode;
5
7
  span?: number | "filled" | {
6
8
  xxl?: number;
7
9
  xl?: number;
@@ -10,11 +12,8 @@ export default function useItems(items?: DescriptionsItemType[], children?: Reac
10
12
  sm?: number;
11
13
  xs?: number;
12
14
  };
13
- label?: React.ReactNode;
14
15
  style?: React.CSSProperties;
15
- key?: React.Key;
16
16
  className?: string;
17
- prefixCls?: string;
18
17
  classNames?: Partial<Record<"label" | "content", string>>;
19
18
  styles?: Partial<Record<"label" | "content", React.CSSProperties>>;
20
19
  labelStyle?: React.CSSProperties;
@@ -4,7 +4,7 @@ import type { FormItemProps as AntFormItemProps } from 'antd/es/form';
4
4
  import type { TooltipProps } from '../tooltip';
5
5
  declare const AntFormItem: (<Values = any>(props: AntFormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
6
6
  useStatus: () => {
7
- status?: "" | "success" | "error" | "warning" | "validating";
7
+ status?: "" | "error" | "warning" | "success" | "validating";
8
8
  errors: React.ReactNode[];
9
9
  warnings: React.ReactNode[];
10
10
  };
@@ -4,27 +4,27 @@ declare const Modal: {
4
4
  ({ footer, prefixCls: customizePrefixCls, className, ...restProps }: ModalProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
5
5
  info(props: ModalFuncProps): {
6
6
  destroy: () => void;
7
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
7
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
8
8
  };
9
9
  success(props: ModalFuncProps): {
10
10
  destroy: () => void;
11
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
11
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
12
12
  };
13
13
  error(props: ModalFuncProps): {
14
14
  destroy: () => void;
15
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
15
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
16
16
  };
17
17
  warning(props: ModalFuncProps): {
18
18
  destroy: () => void;
19
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
19
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
20
20
  };
21
21
  warn(props: ModalFuncProps): {
22
22
  destroy: () => void;
23
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
23
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
24
24
  };
25
25
  confirm(props: ModalFuncProps): {
26
26
  destroy: () => void;
27
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
27
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
28
28
  };
29
29
  useModal: typeof import("antd/es/modal/useModal").default;
30
30
  destroyAll: () => void;
@@ -1,4 +1,4 @@
1
- var _defaultTheme$token, _defaultTheme$token2;
1
+ var _defaultTheme$token, _defaultTheme$token2, _defaultTheme$token3;
2
2
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -18,7 +18,8 @@ var mapToken = _objectSpread(_objectSpread(_objectSpread({}, defaultAlgorithm(de
18
18
  // 需要覆盖部分 Alias Token 的值
19
19
  override: {
20
20
  boxShadow: (_defaultTheme$token = defaultTheme.token) === null || _defaultTheme$token === void 0 ? void 0 : _defaultTheme$token.boxShadow,
21
- boxShadowSecondary: (_defaultTheme$token2 = defaultTheme.token) === null || _defaultTheme$token2 === void 0 ? void 0 : _defaultTheme$token2.boxShadowSecondary
21
+ boxShadowSecondary: (_defaultTheme$token2 = defaultTheme.token) === null || _defaultTheme$token2 === void 0 ? void 0 : _defaultTheme$token2.boxShadowSecondary,
22
+ boxShadowTertiary: (_defaultTheme$token3 = defaultTheme.token) === null || _defaultTheme$token3 === void 0 ? void 0 : _defaultTheme$token3.boxShadowTertiary
22
23
  }
23
24
  });
24
25
  var token = formatToken(mapToken);
@@ -38,8 +38,8 @@ declare const _default: (<RecordType extends AnyObject = AnyObject>(props: Table
38
38
  SELECTION_ALL: "SELECT_ALL";
39
39
  SELECTION_INVERT: "SELECT_INVERT";
40
40
  SELECTION_NONE: "SELECT_NONE";
41
- Column: <RecordType extends import("antd/es/_util/type").AnyObject>(_: import("antd").TableColumnProps<RecordType>) => null;
42
- ColumnGroup: <RecordType_1 extends import("antd/es/_util/type").AnyObject>(_: import("antd/es/table/ColumnGroup").ColumnGroupProps<RecordType_1>) => null;
41
+ Column: <RecordType_1 extends import("antd/es/_util/type").AnyObject>(_: import("antd").TableColumnProps<RecordType_1>) => null;
42
+ ColumnGroup: <RecordType_2 extends import("antd/es/_util/type").AnyObject>(_: import("antd/es/table/ColumnGroup").ColumnGroupProps<RecordType_2>) => null;
43
43
  Summary: typeof Summary;
44
44
  useStyle: (prefixCls: string) => {
45
45
  wrapSSR: (node: ReactNode) => ReactElement<any, string | React.JSXElementConstructor<any>>;
@@ -81,8 +81,9 @@ var defaultTheme = {
81
81
  colorBgMask: 'rgba(19, 32, 57, 0.45)',
82
82
  colorBgElevated: '#ffffff',
83
83
  colorBgSpotlight: '#ffffff',
84
+ boxShadow: '0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05)',
84
85
  boxShadowSecondary: '0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05)',
85
- boxShadow: '0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02)',
86
+ boxShadowTertiary: '0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02)',
86
87
  borderRadius: 6,
87
88
  wireframe: false,
88
89
  // Remove focus outline
@@ -412,8 +412,9 @@
412
412
  @borderRadiusSM: 4;
413
413
  @borderRadiusLG: 8;
414
414
  @borderRadiusOuter: 4;
415
+ @boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
415
416
  @boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
416
- @boxShadow: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
+ @boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
418
  @lineWidthFocus: 3;
418
419
  @colorFillContent: #e2e8f3;
419
420
  @colorFillContentHover: #cdd5e4;
@@ -471,11 +472,6 @@
471
472
  @marginLG: 16;
472
473
  @marginXL: 32;
473
474
  @marginXXL: 48;
474
- @boxShadowTertiary:
475
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
476
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
477
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
478
- ;
479
475
  @screenXS: 480;
480
476
  @screenXSMin: 480;
481
477
  @screenXSMax: 575;
@@ -322,8 +322,8 @@
322
322
  @colorBgBlur: rgba(255,255,255,0.04);
323
323
  @colorBorder: #424242;
324
324
  @colorBorderSecondary: #303030;
325
- @colorPrimaryBg: #111a2c;
326
- @colorPrimaryBgHover: #0f2445;
325
+ @colorPrimaryBg: #0e2e5b;
326
+ @colorPrimaryBgHover: #0b3b7e;
327
327
  @colorPrimaryBorder: #0e2e5b;
328
328
  @colorPrimaryBorderHover: #0b3b7e;
329
329
  @colorPrimaryHover: #277de8;
@@ -436,11 +436,11 @@
436
436
  @controlOutlineWidth: 2;
437
437
  @controlInteractiveSize: 16;
438
438
  @controlItemBgHover: rgba(255,255,255,0.08);
439
- @controlItemBgActive: #111a2c;
440
- @controlItemBgActiveHover: #0f2445;
439
+ @controlItemBgActive: #0e2e5b;
440
+ @controlItemBgActiveHover: #0b3b7e;
441
441
  @controlItemBgActiveDisabled: rgba(255,255,255,0.18);
442
442
  @controlTmpOutline: rgba(255,255,255,0.04);
443
- @controlOutline: rgba(0,60,180,0.15);
443
+ @controlOutline: rgba(1,104,249,0.31);
444
444
  @fontWeightStrong: 600;
445
445
  @opacityLoading: 0.65;
446
446
  @linkDecoration: none;
@@ -412,8 +412,9 @@
412
412
  @borderRadiusSM: 4;
413
413
  @borderRadiusLG: 8;
414
414
  @borderRadiusOuter: 4;
415
+ @boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
415
416
  @boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
416
- @boxShadow: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
+ @boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
418
  @lineWidthFocus: 3;
418
419
  @colorFillContent: #e2e8f3;
419
420
  @colorFillContentHover: #cdd5e4;
@@ -471,11 +472,6 @@
471
472
  @marginLG: 24;
472
473
  @marginXL: 32;
473
474
  @marginXXL: 48;
474
- @boxShadowTertiary:
475
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
476
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
477
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
478
- ;
479
475
  @screenXS: 480;
480
476
  @screenXSMin: 480;
481
477
  @screenXSMax: 575;
@@ -2,7 +2,7 @@ import type { ButtonProps as AntButtonProps } from 'antd/es/button';
2
2
  import React from 'react';
3
3
  export * from 'antd/es/button';
4
4
  export type ButtonProps = AntButtonProps;
5
- declare const _default: React.ForwardRefExoticComponent<AntButtonProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & {
5
+ declare const _default: React.ForwardRefExoticComponent<AntButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
6
6
  Group: React.FC<import("antd/es/button").ButtonGroupProps>;
7
7
  __ANT_BUTTON: boolean;
8
8
  };
@@ -2,6 +2,8 @@ import React from 'react';
2
2
  import type { DescriptionsItemType } from '..';
3
3
  export default function useItems(items?: DescriptionsItemType[], children?: React.ReactNode, bordered?: boolean): {
4
4
  children: string | number | boolean | Iterable<React.ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element;
5
+ key?: React.Key;
6
+ label?: React.ReactNode;
5
7
  span?: number | "filled" | {
6
8
  xxl?: number;
7
9
  xl?: number;
@@ -10,11 +12,8 @@ export default function useItems(items?: DescriptionsItemType[], children?: Reac
10
12
  sm?: number;
11
13
  xs?: number;
12
14
  };
13
- label?: React.ReactNode;
14
15
  style?: React.CSSProperties;
15
- key?: React.Key;
16
16
  className?: string;
17
- prefixCls?: string;
18
17
  classNames?: Partial<Record<"label" | "content", string>>;
19
18
  styles?: Partial<Record<"label" | "content", React.CSSProperties>>;
20
19
  labelStyle?: React.CSSProperties;
@@ -4,7 +4,7 @@ import type { FormItemProps as AntFormItemProps } from 'antd/es/form';
4
4
  import type { TooltipProps } from '../tooltip';
5
5
  declare const AntFormItem: (<Values = any>(props: AntFormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
6
6
  useStatus: () => {
7
- status?: "" | "success" | "error" | "warning" | "validating";
7
+ status?: "" | "error" | "warning" | "success" | "validating";
8
8
  errors: React.ReactNode[];
9
9
  warnings: React.ReactNode[];
10
10
  };
@@ -4,27 +4,27 @@ declare const Modal: {
4
4
  ({ footer, prefixCls: customizePrefixCls, className, ...restProps }: ModalProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
5
5
  info(props: ModalFuncProps): {
6
6
  destroy: () => void;
7
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
7
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
8
8
  };
9
9
  success(props: ModalFuncProps): {
10
10
  destroy: () => void;
11
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
11
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
12
12
  };
13
13
  error(props: ModalFuncProps): {
14
14
  destroy: () => void;
15
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
15
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
16
16
  };
17
17
  warning(props: ModalFuncProps): {
18
18
  destroy: () => void;
19
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
19
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
20
20
  };
21
21
  warn(props: ModalFuncProps): {
22
22
  destroy: () => void;
23
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
23
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
24
24
  };
25
25
  confirm(props: ModalFuncProps): {
26
26
  destroy: () => void;
27
- update: (configUpdate: ModalFuncProps | ((prevConfig: ModalFuncProps) => ModalFuncProps)) => void;
27
+ update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
28
28
  };
29
29
  useModal: typeof import("antd/es/modal/useModal").default;
30
30
  destroyAll: () => void;
@@ -41,14 +41,15 @@ var import_alias = __toESM(require("antd/lib/theme/util/alias"));
41
41
  var import_theme = __toESM(require("../theme"));
42
42
  var import_default = __toESM(require("../theme/default"));
43
43
  var { defaultAlgorithm, defaultSeed, useToken } = import_theme.default;
44
- var _a, _b;
44
+ var _a, _b, _c;
45
45
  var mapToken = {
46
46
  ...defaultAlgorithm(defaultSeed),
47
47
  ...import_default.default.token,
48
48
  // 需要覆盖部分 Alias Token 的值
49
49
  override: {
50
50
  boxShadow: (_a = import_default.default.token) == null ? void 0 : _a.boxShadow,
51
- boxShadowSecondary: (_b = import_default.default.token) == null ? void 0 : _b.boxShadowSecondary
51
+ boxShadowSecondary: (_b = import_default.default.token) == null ? void 0 : _b.boxShadowSecondary,
52
+ boxShadowTertiary: (_c = import_default.default.token) == null ? void 0 : _c.boxShadowTertiary
52
53
  }
53
54
  };
54
55
  var token = (0, import_alias.default)(mapToken);
@@ -38,8 +38,8 @@ declare const _default: (<RecordType extends AnyObject = AnyObject>(props: Table
38
38
  SELECTION_ALL: "SELECT_ALL";
39
39
  SELECTION_INVERT: "SELECT_INVERT";
40
40
  SELECTION_NONE: "SELECT_NONE";
41
- Column: <RecordType extends import("antd/es/_util/type").AnyObject>(_: import("antd").TableColumnProps<RecordType>) => null;
42
- ColumnGroup: <RecordType_1 extends import("antd/es/_util/type").AnyObject>(_: import("antd/es/table/ColumnGroup").ColumnGroupProps<RecordType_1>) => null;
41
+ Column: <RecordType_1 extends import("antd/es/_util/type").AnyObject>(_: import("antd").TableColumnProps<RecordType_1>) => null;
42
+ ColumnGroup: <RecordType_2 extends import("antd/es/_util/type").AnyObject>(_: import("antd/es/table/ColumnGroup").ColumnGroupProps<RecordType_2>) => null;
43
43
  Summary: typeof Summary;
44
44
  useStyle: (prefixCls: string) => {
45
45
  wrapSSR: (node: ReactNode) => ReactElement<any, string | React.JSXElementConstructor<any>>;
@@ -97,8 +97,9 @@ var defaultTheme = {
97
97
  colorBgMask: "rgba(19, 32, 57, 0.45)",
98
98
  colorBgElevated: "#ffffff",
99
99
  colorBgSpotlight: "#ffffff",
100
+ boxShadow: "0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05)",
100
101
  boxShadowSecondary: "0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05)",
101
- boxShadow: "0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02)",
102
+ boxShadowTertiary: "0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02)",
102
103
  borderRadius: 6,
103
104
  wireframe: false,
104
105
  // Remove focus outline
@@ -412,8 +412,9 @@
412
412
  @borderRadiusSM: 4;
413
413
  @borderRadiusLG: 8;
414
414
  @borderRadiusOuter: 4;
415
+ @boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
415
416
  @boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
416
- @boxShadow: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
+ @boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
418
  @lineWidthFocus: 3;
418
419
  @colorFillContent: #e2e8f3;
419
420
  @colorFillContentHover: #cdd5e4;
@@ -471,11 +472,6 @@
471
472
  @marginLG: 16;
472
473
  @marginXL: 32;
473
474
  @marginXXL: 48;
474
- @boxShadowTertiary:
475
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
476
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
477
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
478
- ;
479
475
  @screenXS: 480;
480
476
  @screenXSMin: 480;
481
477
  @screenXSMax: 575;
@@ -322,8 +322,8 @@
322
322
  @colorBgBlur: rgba(255,255,255,0.04);
323
323
  @colorBorder: #424242;
324
324
  @colorBorderSecondary: #303030;
325
- @colorPrimaryBg: #111a2c;
326
- @colorPrimaryBgHover: #0f2445;
325
+ @colorPrimaryBg: #0e2e5b;
326
+ @colorPrimaryBgHover: #0b3b7e;
327
327
  @colorPrimaryBorder: #0e2e5b;
328
328
  @colorPrimaryBorderHover: #0b3b7e;
329
329
  @colorPrimaryHover: #277de8;
@@ -436,11 +436,11 @@
436
436
  @controlOutlineWidth: 2;
437
437
  @controlInteractiveSize: 16;
438
438
  @controlItemBgHover: rgba(255,255,255,0.08);
439
- @controlItemBgActive: #111a2c;
440
- @controlItemBgActiveHover: #0f2445;
439
+ @controlItemBgActive: #0e2e5b;
440
+ @controlItemBgActiveHover: #0b3b7e;
441
441
  @controlItemBgActiveDisabled: rgba(255,255,255,0.18);
442
442
  @controlTmpOutline: rgba(255,255,255,0.04);
443
- @controlOutline: rgba(0,60,180,0.15);
443
+ @controlOutline: rgba(1,104,249,0.31);
444
444
  @fontWeightStrong: 600;
445
445
  @opacityLoading: 0.65;
446
446
  @linkDecoration: none;
@@ -412,8 +412,9 @@
412
412
  @borderRadiusSM: 4;
413
413
  @borderRadiusLG: 8;
414
414
  @borderRadiusOuter: 4;
415
+ @boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
415
416
  @boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
416
- @boxShadow: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
+ @boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
417
418
  @lineWidthFocus: 3;
418
419
  @colorFillContent: #e2e8f3;
419
420
  @colorFillContentHover: #cdd5e4;
@@ -471,11 +472,6 @@
471
472
  @marginLG: 24;
472
473
  @marginXL: 32;
473
474
  @marginXXL: 48;
474
- @boxShadowTertiary:
475
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
476
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
477
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
478
- ;
479
475
  @screenXS: 480;
480
476
  @screenXSMin: 480;
481
477
  @screenXSMax: 575;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/design",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "The Design System of OceanBase",
5
5
  "keywords": [
6
6
  "oceanbase",
@@ -43,28 +43,28 @@
43
43
  "@ctrl/tinycolor": "^4.1.0",
44
44
  "@inline-svg-unique-id/react": "^1.2.3",
45
45
  "@oceanbase/aliyun-theme": "^0.1.6",
46
- "@oceanbase/icons": "^0.4.6",
47
- "@oceanbase/util": "^0.4.3",
46
+ "@oceanbase/icons": "^0.4.7",
47
+ "@oceanbase/util": "^0.4.4",
48
48
  "ahooks": "^2.10.14",
49
- "antd": "^5.25.0",
49
+ "antd": "^5.26.4",
50
50
  "classnames": "^2.5.1",
51
51
  "lodash": "^4.17.21",
52
- "lottie-web": "^5.12.2",
52
+ "lottie-web": "^5.13.0",
53
53
  "prop-types": "^15.8.1",
54
54
  "rc-util": "^5.44.4"
55
55
  },
56
56
  "devDependencies": {
57
- "@babel/cli": "^7.27.2",
58
- "@babel/preset-env": "^7.27.2",
57
+ "@babel/cli": "^7.28.0",
58
+ "@babel/preset-env": "^7.28.0",
59
59
  "antd-token-previewer": "^2.0.8",
60
- "rc-select": "^14.16.7",
60
+ "rc-select": "^14.16.8",
61
61
  "rc-slider": "^11.1.8",
62
- "rc-table": "^7.50.4",
62
+ "rc-table": "^7.51.1",
63
63
  "rc-tree-select": "^5.27.0"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": ">=16.9.0",
67
67
  "react-dom": ">=16.9.0"
68
68
  },
69
- "gitHead": "c3f287cc3ed59f6483423ca1c1f09d65012b0d8f"
69
+ "gitHead": "eea14051a255a8820d64e80e4c0d08527002477f"
70
70
  }