@oceanbase/ui 0.2.20 → 0.2.22

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.
@@ -14,10 +14,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
15
15
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
16
16
  import { BulbFilled, BulbOutlined, CopyrightOutlined, ReadFilled, UserOutlined } from '@oceanbase/icons';
17
- import { Button, Dropdown, Menu, Modal, Space, Tooltip } from '@oceanbase/design';
17
+ import { ConfigProvider, Button, Dropdown, Menu, Modal, Space, Tooltip } from '@oceanbase/design';
18
18
  import classNames from 'classnames';
19
19
  import moment from 'moment';
20
- import React, { useState } from 'react';
20
+ import React, { useState, useContext } from 'react';
21
21
  import { OB_SITE_LINK } from "../constant";
22
22
  import LocaleWrapper from "../locale/LocaleWrapper";
23
23
  import { directTo, getPrefix } from "../_util";
@@ -26,6 +26,8 @@ import zhCN from "./locale/zh-CN";
26
26
  // @ts-ignore
27
27
  import logoImg from "../assets/logo/oceanbase_logo.svg";
28
28
  // @ts-ignore
29
+ import logoImgDark from "../assets/logo/oceanbase_logo_dark.svg";
30
+ // @ts-ignore
29
31
  // 自定义 SVG 图标需要将其导入为图片,而不能是 ReactComponent,因为需要依赖 webpack 插件
30
32
  // 虽然本地开发可以生效,但构建后的产物在上层项目中不会生效,导致 SVG 展示为空
31
33
  import UserSvg from "../assets/user.svg";
@@ -60,6 +62,8 @@ var Header = function Header(_ref) {
60
62
  locales = _ref.locales,
61
63
  langs = _ref.langs,
62
64
  restProps = _objectWithoutProperties(_ref, _excluded);
65
+ var _useContext = useContext(ConfigProvider.ConfigContext),
66
+ theme = _useContext.theme;
63
67
  var navigate = useNavigate();
64
68
  var _useState = useState(false),
65
69
  _useState2 = _slicedToArray(_useState, 2),
@@ -262,7 +266,7 @@ var Header = function Header(_ref) {
262
266
  className: "".concat(prefix, "-copyright"),
263
267
  children: [locale.right, " ", /*#__PURE__*/_jsx(CopyrightOutlined, {}), " ", moment().year(), " ", locale.company]
264
268
  }), /*#__PURE__*/_jsx("img", {
265
- src: logoImg,
269
+ src: theme.isDark ? logoImgDark : logoImg,
266
270
  alt: "",
267
271
  style: {
268
272
  height: 12
@@ -29,7 +29,7 @@ export declare const THEME_DARK = "dark";
29
29
  export declare const THEME_LIGHT = "light";
30
30
  declare const ThemeTypes: ["dark", "light"];
31
31
  export type ThemeType = (typeof ThemeTypes)[number];
32
- declare const supportedLanguages: ("ruby" | "css" | "json" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "go" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "json" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "yaml" | "solidity" | "tsx" | "jsx")[];
33
33
  export type LanguageType = (typeof supportedLanguages)[number] | 'html';
34
34
  export interface HighlightProps extends LocaleWrapperProps {
35
35
  /**
package/es/Login/index.js CHANGED
@@ -11,10 +11,10 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11
11
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { useControllableValue } from 'ahooks';
14
- import { App, Button, Divider, Menu, Typography } from '@oceanbase/design';
14
+ import { App, ConfigProvider, Button, Divider, Menu, Typography } from '@oceanbase/design';
15
15
  import { message } from '@oceanbase/design';
16
16
  import classNames from 'classnames';
17
- import React, { useCallback } from 'react';
17
+ import React, { useContext, useCallback } from 'react';
18
18
  import { LOCALE_LIST } from "../constant";
19
19
  import LocaleWrapper from "../locale/LocaleWrapper";
20
20
  import { getPrefix, setLocale } from "../_util";
@@ -24,6 +24,8 @@ import LoginForm from "./LoginForm";
24
24
  import RegisterForm from "./RegisterForm";
25
25
  // @ts-ignore
26
26
  import logoImg from "../assets/logo/oceanbase_logo.svg";
27
+ // @ts-ignore
28
+ import logoImgDark from "../assets/logo/oceanbase_logo_dark.svg";
27
29
  import LocaleDropdown from "../LocaleDropdown";
28
30
  import "./index.less";
29
31
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -68,6 +70,8 @@ var Login = function Login(props) {
68
70
  showActivate = _useControllableValue4[0],
69
71
  setShowActivate = _useControllableValue4[1];
70
72
  var isLoading = (loginProps === null || loginProps === void 0 ? void 0 : loginProps.loading) || (registerProps === null || registerProps === void 0 ? void 0 : registerProps.loading) || (otherLoginProps === null || otherLoginProps === void 0 ? void 0 : otherLoginProps.loading);
73
+ var _useContext = useContext(ConfigProvider.ConfigContext),
74
+ theme = _useContext.theme;
71
75
  var switchForm = useCallback(function () {
72
76
  if (isLoading) {
73
77
  message.warning(locale.isLoadingWarn);
@@ -192,7 +196,7 @@ var Login = function Login(props) {
192
196
  paddingLeft: showAuthCode ? 96 : 0
193
197
  },
194
198
  children: /*#__PURE__*/_jsx("img", {
195
- src: logoImg,
199
+ src: theme.isDark ? logoImgDark : logoImg,
196
200
  alt: "",
197
201
  className: "".concat(prefix, "-watermark")
198
202
  })
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="320.000001px" height="42px" viewBox="0 0 320.000001 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>oceanbase_logo</title>
4
+ <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="oceanbase_logo" fill-rule="nonzero">
6
+ <g id="编组" transform="translate(75.8229, 5.2825)" fill="#FFFFFF">
7
+ <path d="M96.0014958,1.06214374 L79.9813023,30.6408671 L87.9689618,30.6408671 L90.5716823,25.5025693 L101.251811,25.5025693 L102.104427,30.6408671 L110.092086,30.6408671 L104.213528,1.06214374 L96.0014958,1.06214374 Z M93.5333988,19.6493778 L98.5593418,9.81959055 L100.219698,19.6493778 L93.5333988,19.6493778 Z" id="XMLID_00000180364506841545690880000015595759666651318974_"></path>
8
+ <path d="M29.4974992,4.77065437 C28.3307624,3.34086714 26.8499042,2.26852672 25.01005,1.4642714 C23.1701959,0.660016077 21.1059692,0.257888417 18.8173702,0.257888417 C16.4838966,0.257888417 14.2850465,0.660016077 12.1759454,1.4642714 C10.1117188,2.26852672 8.22699014,3.38554799 6.61150844,4.77065437 C4.95115225,6.20044161 3.6049175,7.8536331 2.4830552,9.73022884 C1.36119291,11.6068246 0.643201047,13.6621437 0.239330622,15.8515054 C-0.119665311,18.0408671 -0.0747908194,20.0961863 0.373954097,21.972782 C0.822699014,23.8493778 1.63043986,25.5025693 2.79717665,26.9323565 C3.96391343,28.3621437 5.44477165,29.4344842 7.23975132,30.2387395 C9.03473099,31.0429948 11.0989576,31.4451225 13.4773057,31.4451225 C15.8107792,31.4451225 18.0096293,31.0429948 20.0738559,30.2387395 C22.182957,29.4344842 24.0228112,28.3174629 25.6831674,26.9323565 C27.3435236,25.5025693 28.7346328,23.8493778 29.8116206,21.972782 C30.9334829,20.0961863 31.6514748,18.0408671 32.0553452,15.8515054 C32.4143411,13.6621437 32.3694666,11.6068246 31.9207217,9.73022884 C31.4719768,7.80895225 30.664236,6.15576076 29.4974992,4.77065437 M23.0355724,19.1132076 C22.452204,20.0961863 21.6893376,20.9898033 20.8367223,21.7046969 C19.9392325,22.4195905 18.9968681,23.0004416 17.9647548,23.4025693 C16.9326415,23.8046969 15.8556537,24.0281012 14.7337914,24.0281012 C13.6568036,24.0281012 12.6246903,23.8046969 11.7272005,23.4025693 C10.8297107,23.0004416 10.0668443,22.4195905 9.43860141,21.7046969 C8.81035853,20.9898033 8.4064881,20.0961863 8.13724115,19.1132076 C7.8679942,18.1302288 7.82311971,17.0578884 8.04749217,15.8515054 C8.22699014,14.6898033 8.63086056,13.572782 9.25910345,12.5898033 C9.84247184,11.6068246 10.6053382,10.7132076 11.4579535,9.99831395 C12.3105689,9.28342033 13.2529332,8.70256927 14.329921,8.30044161 C15.3620343,7.89831395 16.4390221,7.67490969 17.5608844,7.67490969 C18.6378722,7.67490969 19.6699855,7.89831395 20.5674753,8.30044161 C21.4649652,8.70256927 22.2278315,9.28342033 22.8560744,9.99831395 C23.4843173,10.7132076 23.9330622,11.6068246 24.2023092,12.5898033 C24.4715561,13.572782 24.5164306,14.6898033 24.2920581,15.8515054 C24.0228112,17.0132076 23.6189408,18.085548 23.0355724,19.1132076" id="XMLID_00000072965529906618597170000016025434920567187330_"></path>
9
+ <polygon id="XMLID_00000032620589588418230510000005885826368237693833_" points="79.8915533 24.1174629 64.7688496 24.1174629 65.621465 19.0238459 80.2505492 19.0238459 81.3724115 12.5004416 66.7433273 12.5004416 67.5959426 7.58554799 82.7186463 7.58554799 83.8405086 1.06214374 61.2237648 1.06214374 56.1529472 30.6408671 78.769691 30.6408671"></polygon>
10
+ <polygon id="XMLID_00000138568974011231601160000014931725403331978903_" points="131.945964 18.8004416 123.195438 1.06214374 115.746272 1.06214374 110.675455 30.6408671 118.12462 30.6408671 121.265835 12.9025693 129.971486 30.6408671 137.420652 30.6408671 142.491469 1.06214374 135.042304 1.06214374"></polygon>
11
+ <path d="M165.332585,22.0621437 C165.467209,21.1685267 165.512083,20.3195905 165.467209,19.5600161 C165.37746,18.7557608 165.197962,18.085548 164.838966,17.4600161 C164.47997,16.8344842 163.941476,16.2983139 163.268359,15.8515054 C162.595241,15.4046969 161.742626,15.091931 160.710513,14.9132076 C161.87725,14.2429948 162.819614,13.3940586 163.537606,12.4110799 C164.210723,11.4281012 164.704343,10.1770374 164.973589,8.70256927 C165.37746,6.24512246 165.018464,4.36852672 163.896602,3.07278203 C162.729865,1.77703735 160.845136,1.10682459 158.197541,1.10682459 L146.081429,1.10682459 L141.010611,30.685548 L154.024214,30.685548 C155.549946,30.685548 156.941055,30.5068246 158.242416,30.1493778 C159.543776,29.791931 160.665638,29.2557608 161.652877,28.4961863 C162.640116,27.7812927 163.447857,26.8429948 164.120974,25.7706544 C164.614594,24.6536331 165.063338,23.4472501 165.332585,22.0621437 M152.453606,6.96001608 L154.831954,6.96001608 C157.165428,6.96001608 158.197541,7.89831395 157.838545,9.81959055 C157.524424,11.7408671 156.178189,12.679165 153.844716,12.679165 L151.466368,12.679165 L152.453606,6.96001608 Z M156.223064,23.9387395 C155.325574,24.4302288 153.934465,24.6983139 152.049736,24.6983139 L149.402141,24.6983139 L150.479129,18.4429948 L153.126724,18.4429948 C155.011452,18.4429948 156.312813,18.7110799 157.030804,19.2025693 C157.748796,19.6940586 158.018043,20.4983139 157.838545,21.6153352 C157.659047,22.6429948 157.120553,23.4472501 156.223064,23.9387395" id="XMLID_00000109721131072739875640000009992047111299161231_"></path>
12
+ <path d="M209.848081,12.5898033 C209.264713,12.3663991 208.681344,12.1876757 208.097976,12.0089522 C207.514608,11.8302288 206.976114,11.6068246 206.527369,11.3834203 C206.078624,11.1153352 205.719628,10.8472501 205.495255,10.4898033 C205.270883,10.1323565 205.181134,9.73022884 205.270883,9.19405863 C205.405506,8.43448416 205.809377,7.80895225 206.482494,7.36214374 C207.155612,6.87065437 208.008227,6.64725012 208.950591,6.64725012 C209.713458,6.64725012 210.476324,6.82597352 211.23919,7.13873948 C212.002057,7.45150544 212.720049,7.98767565 213.43804,8.65788842 L217.43187,2.67065437 C216.13051,1.86639906 214.739401,1.28554799 213.258543,0.883420332 C211.777684,0.481292673 210.341701,0.257888417 208.905717,0.257888417 C207.379984,0.257888417 205.944,0.481292673 204.64264,0.972782034 C203.34128,1.4642714 202.174543,2.08980331 201.187304,2.93873948 C200.200065,3.78767565 199.34745,4.81533523 198.674333,5.97703735 C198.001215,7.18342033 197.55247,8.47916501 197.283223,9.9536331 C197.013977,11.4281012 197.058851,12.6344842 197.328098,13.572782 C197.597345,14.5110799 198.04609,15.3153352 198.674333,15.9408671 C199.302576,16.5663991 200.020567,17.0578884 200.873183,17.4600161 C201.725798,17.8174629 202.623288,18.1749097 203.520778,18.4876757 C204.283644,18.7557608 204.911887,19.0238459 205.450381,19.291931 C205.988875,19.5153352 206.392745,19.7834203 206.706867,20.0515054 C207.020988,20.3195905 207.200486,20.6323565 207.33511,20.9451225 C207.424859,21.2578884 207.424859,21.6600161 207.379984,22.1068246 C207.245361,22.8217182 206.84149,23.491931 206.168373,24.072782 C205.450381,24.6536331 204.508017,24.9217182 203.296405,24.9217182 C202.219418,24.9217182 201.187304,24.6536331 200.200065,24.1621437 C199.212827,23.6706544 198.225588,22.9110799 197.283223,21.8834203 L193.020147,28.0940586 C195.757491,30.3281012 198.898705,31.4451225 202.533539,31.4451225 C204.283644,31.4451225 205.899126,31.2217182 207.379984,30.7302288 C208.860842,30.2387395 210.117328,29.5685267 211.23919,28.6749097 C212.361053,27.7812927 213.258543,26.7536331 213.976534,25.5025693 C214.694526,24.2515054 215.143271,22.9110799 215.412518,21.391931 C215.816389,19.1578884 215.547142,17.3259735 214.649652,15.9408671 C213.752162,14.5557608 212.13668,13.4387395 209.848081,12.5898033" id="XMLID_00000062901719220931428340000009491882837553372853_"></path>
13
+ <path d="M51.0821297,0.257888417 C49.0627775,0.257888417 47.0882999,0.660016077 45.1138223,1.41959055 C43.1393446,2.17916501 41.344365,3.25150544 39.7288833,4.63661182 C38.1134016,6.0217182 36.7222923,7.63022884 35.5555556,9.55150544 C34.3888188,11.4281012 33.6259524,13.5281012 33.222082,15.8068246 C32.8182116,18.085548 32.9079605,20.185548 33.40158,22.1068246 C33.8951994,24.0281012 34.7478147,25.6812927 35.869677,27.0663991 C37.0364138,28.4515054 38.427523,29.5685267 40.1327537,30.3281012 C41.8379844,31.0876757 43.6329641,31.4898033 45.6523162,31.4898033 C46.639555,31.4898033 47.6267938,31.4004416 48.6589071,31.1770374 C49.6910204,30.9983139 50.8128827,30.685548 52.024494,30.2387395 L52.8322348,29.9706544 L54.4028421,20.8557608 C52.1591175,22.9557608 49.8256439,23.9834203 47.4024214,23.9834203 C46.3254336,23.9834203 45.3381947,23.7600161 44.4407049,23.3578884 C43.5880896,22.9557608 42.8700977,22.3749097 42.2867293,21.6153352 C41.7033609,20.9004416 41.2994905,20.0068246 41.075118,19.0238459 C40.8507456,18.0408671 40.8507456,16.9685267 41.0302435,15.7621437 C41.2097415,14.6004416 41.6136119,13.5281012 42.1521058,12.5451225 C42.7354742,11.5621437 43.4085916,10.7132076 44.2163324,9.99831395 C45.0240733,9.28342033 45.9215631,8.70256927 46.9536764,8.30044161 C47.9857897,7.89831395 49.0627775,7.67490969 50.1846398,7.67490969 C52.7424859,7.67490969 54.672089,8.74725012 56.0183238,10.9366118 L57.588931,1.77703735 C56.4670687,1.24086714 55.3452064,0.883420332 54.3130931,0.615335226 C53.3258543,0.34725012 52.2488665,0.257888417 51.0821297,0.257888417" id="XMLID_00000177458226623996162970000001313029192371401129_"></path>
14
+ <path d="M191.44954,24.4302288 C190.237928,24.2068246 187.85958,24.072782 183.820876,25.0110799 L184.76324,30.7302288 L192.7509,30.7302288 L191.44954,24.4302288 Z" id="XMLID_00000140703383807175438710000017681528100760546978_"></path>
15
+ <path d="M191.135418,22.6876757 L189.834058,16.1642714 C187.904455,16.2089522 185.481232,16.4770374 182.519516,17.2366118 C182.205394,17.3259735 181.846398,17.4153352 181.532277,17.5046969 C179.871921,17.9515054 178.346188,18.2642714 176.955079,18.4876757 L181.307904,9.90895225 L182.250269,15.6281012 C185.25686,14.8685267 187.635208,14.6004416 189.564811,14.5557608 L186.872341,1.15150544 L178.705184,1.15150544 L162.68499,30.7302288 L170.67265,30.7302288 L173.544617,25.1004416 C175.922965,24.9217182 178.839807,24.5195905 182.16052,23.6259735 C182.654139,23.491931 183.102884,23.4025693 183.551629,23.2685267 C187.545459,22.3302288 189.923807,22.4642714 191.135418,22.6876757" id="XMLID_00000108307261703799288470000006753599113892601778_"></path>
16
+ <g transform="translate(215.9959, -0)">
17
+ <path d="M15.1227037,12.7685267 C9.19927079,14.3323565 4.66694713,14.1536331 2.6924695,13.9749097 L1.6154817,20.3195905 C2.19885009,20.3642714 2.82709297,20.4089522 3.58995933,20.4089522 C6.50680129,20.4536331 10.8147525,20.185548 15.975319,18.8451225 C20.8666386,17.5493778 23.7834806,17.6387395 25.2643388,17.9068246 L26.3413266,11.5174629 C23.8732296,11.2493778 20.2383957,11.4281012 15.1227037,12.7685267" id="XMLID_00000020392409373756109220000009241820596686439054_"></path>
18
+ <path d="M16.6933109,1.33022884 C11.0391249,2.80469693 6.64142477,2.76001608 4.57719815,2.58129267 L3.00659094,12.3217182 C4.39770018,12.4557608 7.04529519,12.5451225 10.500631,12.0983139 L11.0391249,8.70256927 C13.0136026,8.47916501 15.1675782,8.07703735 17.5459262,7.45150544 C22.7962418,6.06639906 25.7130837,6.28980331 27.104193,6.55788842 L28.1811808,0.168526715 C25.6682092,-0.188920093 21.9885009,-0.0548775399 16.6933109,1.33022884" id="XMLID_00000161607254826614820920000016644788722887245484_"></path>
19
+ <path d="M13.7315944,23.8046969 C11.8468658,24.2961863 10.1416351,24.6089522 8.57102791,24.8323565 L9.06464731,21.7046969 C6.86579722,21.972782 5.02594307,22.0174629 3.50021035,21.972782 C2.78221848,21.972782 2.10910111,21.9281012 1.57060721,21.8834203 L0,31.3557608 C0.628242883,31.4004416 1.34623475,31.4451225 2.24372458,31.4898033 C5.16056654,31.5344842 9.46851774,31.2663991 14.6290843,29.9259735 C19.2511569,28.7195905 22.0782499,28.7195905 23.6488571,28.9429948 L24.7258449,22.5983139 C22.1679989,22.285548 18.622914,22.5089522 13.7315944,23.8046969" id="XMLID_00000018231387255623010820000005918230657785904026_"></path>
20
+ </g>
21
+ </g>
22
+ <g id="编组">
23
+ <path d="M35.136727,42 C36.3932127,41.4638298 37.6496985,40.9723404 38.9510588,40.5255319 C39.5793016,40.3021277 40.16267,40.1234043 40.7909129,39.9446809 C41.2845323,39.8106383 41.7781517,39.6319149 42.2717711,39.4978723 C49.6760623,37.4425532 57.2149769,36.906383 64.4846445,37.7106383 L64.4846445,30.1595745 C56.4521105,29.3553191 48.1503295,30.0255319 39.9382976,32.3489362 C39.4446782,32.4829787 38.9510588,32.6170213 38.4574393,32.7957447 C37.8291965,32.9744681 37.1560791,33.1978723 36.5278362,33.4212766 C35.2713504,33.8680851 34.0148647,34.3148936 32.8032534,34.806383 L35.136727,42 Z" id="路径" fill="#07C846"></path>
24
+ <path d="M64.43977,5.67446809 L64.43977,28.2829787 C56.0931146,27.4787234 47.4772122,28.2382979 38.9959332,30.6957447 C37.9638199,31.0085106 36.9317066,31.3212766 35.8995933,31.6787234 C34.6431076,32.1255319 33.3866218,32.4829787 32.130136,32.8851064 C21.450007,36.012766 10.59038,37.1297872 0.0448744917,36.3702128 L0.0448744917,13.7617021 C8.30178096,14.5659574 16.7830599,13.8510638 25.1745898,11.4382979 C26.2964521,11.1255319 27.4631889,10.7680851 28.5850512,10.3659574 C29.751788,9.96382979 30.8736503,9.60638298 32.040387,9.24893617 C42.810265,6.03191489 53.759641,4.91489362 64.43977,5.67446809 Z" id="路径" fill="#0181FD"></path>
25
+ <path d="M29.3479175,0 C28.0914318,0.536170213 26.834946,1.02765957 25.5335858,1.47446809 C24.9053429,1.69787234 24.3219745,1.87659574 23.6937316,2.05531915 C23.2001122,2.1893617 22.7064928,2.36808511 22.2128734,2.50212766 C14.8085822,4.55744681 7.26966765,5.09361702 3.18852441e-15,4.2893617 L3.18852441e-15,11.8404255 C8.03253401,12.6446809 16.334315,11.9744681 24.5463469,9.65106383 C25.0399663,9.51702128 25.5335858,9.38297872 26.0272052,9.20425532 C26.655448,9.02553191 27.3285654,8.80212766 27.9568083,8.5787234 C29.2132941,8.13191489 30.4697798,7.68510638 31.6813911,7.19361702 L29.3479175,0 Z" id="路径" fill="#FFA005"></path>
26
+ </g>
27
+ </g>
28
+ </g>
29
+ </svg>
@@ -43,6 +43,7 @@ var import_util = require("../_util");
43
43
  var import_useNavigate = __toESM(require("../_util/useNavigate"));
44
44
  var import_zh_CN = __toESM(require("./locale/zh-CN"));
45
45
  var import_oceanbase_logo = __toESM(require("../assets/logo/oceanbase_logo.svg"));
46
+ var import_oceanbase_logo_dark = __toESM(require("../assets/logo/oceanbase_logo_dark.svg"));
46
47
  var import_user = __toESM(require("../assets/user.svg"));
47
48
  var import_LocaleDropdown = __toESM(require("../LocaleDropdown"));
48
49
  var import_Header = require("./Header.less");
@@ -69,6 +70,7 @@ var Header = ({
69
70
  langs,
70
71
  ...restProps
71
72
  }) => {
73
+ const { theme } = (0, import_react.useContext)(import_design.ConfigProvider.ConfigContext);
72
74
  const navigate = (0, import_useNavigate.default)();
73
75
  const [visible, setVisible] = (0, import_react.useState)(false);
74
76
  const isWelcome = pathname === welcomePath;
@@ -166,7 +168,7 @@ var Header = ({
166
168
  style: { display: "flex", justifyContent: "space-between", alignItems: "center" }
167
169
  },
168
170
  /* @__PURE__ */ import_react.default.createElement("span", { className: `${prefix}-copyright` }, locale.right, " ", /* @__PURE__ */ import_react.default.createElement(import_icons.CopyrightOutlined, null), " ", (0, import_moment.default)().year(), " ", locale.company),
169
- /* @__PURE__ */ import_react.default.createElement("img", { src: import_oceanbase_logo.default, alt: "", style: { height: 12 } })
171
+ /* @__PURE__ */ import_react.default.createElement("img", { src: theme.isDark ? import_oceanbase_logo_dark.default : import_oceanbase_logo.default, alt: "", style: { height: 12 } })
170
172
  ))))
171
173
  )
172
174
  );
@@ -29,7 +29,7 @@ export declare const THEME_DARK = "dark";
29
29
  export declare const THEME_LIGHT = "light";
30
30
  declare const ThemeTypes: ["dark", "light"];
31
31
  export type ThemeType = (typeof ThemeTypes)[number];
32
- declare const supportedLanguages: ("ruby" | "css" | "json" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "go" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "json" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "yaml" | "solidity" | "tsx" | "jsx")[];
33
33
  export type LanguageType = (typeof supportedLanguages)[number] | 'html';
34
34
  export interface HighlightProps extends LocaleWrapperProps {
35
35
  /**
@@ -45,6 +45,7 @@ var import_zh_CN = __toESM(require("./locale/zh-CN"));
45
45
  var import_LoginForm = __toESM(require("./LoginForm"));
46
46
  var import_RegisterForm = __toESM(require("./RegisterForm"));
47
47
  var import_oceanbase_logo = __toESM(require("../assets/logo/oceanbase_logo.svg"));
48
+ var import_oceanbase_logo_dark = __toESM(require("../assets/logo/oceanbase_logo_dark.svg"));
48
49
  var import_LocaleDropdown = __toESM(require("../LocaleDropdown"));
49
50
  var import_index = require("./index.less");
50
51
  var prefix = (0, import_util.getPrefix)("login");
@@ -81,6 +82,7 @@ var Login = (props) => {
81
82
  trigger: "onShowActivateChange"
82
83
  });
83
84
  const isLoading = (loginProps == null ? void 0 : loginProps.loading) || (registerProps == null ? void 0 : registerProps.loading) || (otherLoginProps == null ? void 0 : otherLoginProps.loading);
85
+ const { theme } = (0, import_react.useContext)(import_design.ConfigProvider.ConfigContext);
84
86
  const switchForm = (0, import_react.useCallback)(() => {
85
87
  if (isLoading) {
86
88
  import_design2.message.warning(locale.isLoadingWarn);
@@ -161,7 +163,14 @@ var Login = (props) => {
161
163
  className: `${prefix}-watermark-wrapper`,
162
164
  style: { paddingLeft: showAuthCode ? 96 : 0 }
163
165
  },
164
- /* @__PURE__ */ import_react.default.createElement("img", { src: import_oceanbase_logo.default, alt: "", className: `${prefix}-watermark` })
166
+ /* @__PURE__ */ import_react.default.createElement(
167
+ "img",
168
+ {
169
+ src: theme.isDark ? import_oceanbase_logo_dark.default : import_oceanbase_logo.default,
170
+ alt: "",
171
+ className: `${prefix}-watermark`
172
+ }
173
+ )
165
174
  ) : null))
166
175
  ));
167
176
  };
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="320.000001px" height="42px" viewBox="0 0 320.000001 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>oceanbase_logo</title>
4
+ <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="oceanbase_logo" fill-rule="nonzero">
6
+ <g id="编组" transform="translate(75.8229, 5.2825)" fill="#FFFFFF">
7
+ <path d="M96.0014958,1.06214374 L79.9813023,30.6408671 L87.9689618,30.6408671 L90.5716823,25.5025693 L101.251811,25.5025693 L102.104427,30.6408671 L110.092086,30.6408671 L104.213528,1.06214374 L96.0014958,1.06214374 Z M93.5333988,19.6493778 L98.5593418,9.81959055 L100.219698,19.6493778 L93.5333988,19.6493778 Z" id="XMLID_00000180364506841545690880000015595759666651318974_"></path>
8
+ <path d="M29.4974992,4.77065437 C28.3307624,3.34086714 26.8499042,2.26852672 25.01005,1.4642714 C23.1701959,0.660016077 21.1059692,0.257888417 18.8173702,0.257888417 C16.4838966,0.257888417 14.2850465,0.660016077 12.1759454,1.4642714 C10.1117188,2.26852672 8.22699014,3.38554799 6.61150844,4.77065437 C4.95115225,6.20044161 3.6049175,7.8536331 2.4830552,9.73022884 C1.36119291,11.6068246 0.643201047,13.6621437 0.239330622,15.8515054 C-0.119665311,18.0408671 -0.0747908194,20.0961863 0.373954097,21.972782 C0.822699014,23.8493778 1.63043986,25.5025693 2.79717665,26.9323565 C3.96391343,28.3621437 5.44477165,29.4344842 7.23975132,30.2387395 C9.03473099,31.0429948 11.0989576,31.4451225 13.4773057,31.4451225 C15.8107792,31.4451225 18.0096293,31.0429948 20.0738559,30.2387395 C22.182957,29.4344842 24.0228112,28.3174629 25.6831674,26.9323565 C27.3435236,25.5025693 28.7346328,23.8493778 29.8116206,21.972782 C30.9334829,20.0961863 31.6514748,18.0408671 32.0553452,15.8515054 C32.4143411,13.6621437 32.3694666,11.6068246 31.9207217,9.73022884 C31.4719768,7.80895225 30.664236,6.15576076 29.4974992,4.77065437 M23.0355724,19.1132076 C22.452204,20.0961863 21.6893376,20.9898033 20.8367223,21.7046969 C19.9392325,22.4195905 18.9968681,23.0004416 17.9647548,23.4025693 C16.9326415,23.8046969 15.8556537,24.0281012 14.7337914,24.0281012 C13.6568036,24.0281012 12.6246903,23.8046969 11.7272005,23.4025693 C10.8297107,23.0004416 10.0668443,22.4195905 9.43860141,21.7046969 C8.81035853,20.9898033 8.4064881,20.0961863 8.13724115,19.1132076 C7.8679942,18.1302288 7.82311971,17.0578884 8.04749217,15.8515054 C8.22699014,14.6898033 8.63086056,13.572782 9.25910345,12.5898033 C9.84247184,11.6068246 10.6053382,10.7132076 11.4579535,9.99831395 C12.3105689,9.28342033 13.2529332,8.70256927 14.329921,8.30044161 C15.3620343,7.89831395 16.4390221,7.67490969 17.5608844,7.67490969 C18.6378722,7.67490969 19.6699855,7.89831395 20.5674753,8.30044161 C21.4649652,8.70256927 22.2278315,9.28342033 22.8560744,9.99831395 C23.4843173,10.7132076 23.9330622,11.6068246 24.2023092,12.5898033 C24.4715561,13.572782 24.5164306,14.6898033 24.2920581,15.8515054 C24.0228112,17.0132076 23.6189408,18.085548 23.0355724,19.1132076" id="XMLID_00000072965529906618597170000016025434920567187330_"></path>
9
+ <polygon id="XMLID_00000032620589588418230510000005885826368237693833_" points="79.8915533 24.1174629 64.7688496 24.1174629 65.621465 19.0238459 80.2505492 19.0238459 81.3724115 12.5004416 66.7433273 12.5004416 67.5959426 7.58554799 82.7186463 7.58554799 83.8405086 1.06214374 61.2237648 1.06214374 56.1529472 30.6408671 78.769691 30.6408671"></polygon>
10
+ <polygon id="XMLID_00000138568974011231601160000014931725403331978903_" points="131.945964 18.8004416 123.195438 1.06214374 115.746272 1.06214374 110.675455 30.6408671 118.12462 30.6408671 121.265835 12.9025693 129.971486 30.6408671 137.420652 30.6408671 142.491469 1.06214374 135.042304 1.06214374"></polygon>
11
+ <path d="M165.332585,22.0621437 C165.467209,21.1685267 165.512083,20.3195905 165.467209,19.5600161 C165.37746,18.7557608 165.197962,18.085548 164.838966,17.4600161 C164.47997,16.8344842 163.941476,16.2983139 163.268359,15.8515054 C162.595241,15.4046969 161.742626,15.091931 160.710513,14.9132076 C161.87725,14.2429948 162.819614,13.3940586 163.537606,12.4110799 C164.210723,11.4281012 164.704343,10.1770374 164.973589,8.70256927 C165.37746,6.24512246 165.018464,4.36852672 163.896602,3.07278203 C162.729865,1.77703735 160.845136,1.10682459 158.197541,1.10682459 L146.081429,1.10682459 L141.010611,30.685548 L154.024214,30.685548 C155.549946,30.685548 156.941055,30.5068246 158.242416,30.1493778 C159.543776,29.791931 160.665638,29.2557608 161.652877,28.4961863 C162.640116,27.7812927 163.447857,26.8429948 164.120974,25.7706544 C164.614594,24.6536331 165.063338,23.4472501 165.332585,22.0621437 M152.453606,6.96001608 L154.831954,6.96001608 C157.165428,6.96001608 158.197541,7.89831395 157.838545,9.81959055 C157.524424,11.7408671 156.178189,12.679165 153.844716,12.679165 L151.466368,12.679165 L152.453606,6.96001608 Z M156.223064,23.9387395 C155.325574,24.4302288 153.934465,24.6983139 152.049736,24.6983139 L149.402141,24.6983139 L150.479129,18.4429948 L153.126724,18.4429948 C155.011452,18.4429948 156.312813,18.7110799 157.030804,19.2025693 C157.748796,19.6940586 158.018043,20.4983139 157.838545,21.6153352 C157.659047,22.6429948 157.120553,23.4472501 156.223064,23.9387395" id="XMLID_00000109721131072739875640000009992047111299161231_"></path>
12
+ <path d="M209.848081,12.5898033 C209.264713,12.3663991 208.681344,12.1876757 208.097976,12.0089522 C207.514608,11.8302288 206.976114,11.6068246 206.527369,11.3834203 C206.078624,11.1153352 205.719628,10.8472501 205.495255,10.4898033 C205.270883,10.1323565 205.181134,9.73022884 205.270883,9.19405863 C205.405506,8.43448416 205.809377,7.80895225 206.482494,7.36214374 C207.155612,6.87065437 208.008227,6.64725012 208.950591,6.64725012 C209.713458,6.64725012 210.476324,6.82597352 211.23919,7.13873948 C212.002057,7.45150544 212.720049,7.98767565 213.43804,8.65788842 L217.43187,2.67065437 C216.13051,1.86639906 214.739401,1.28554799 213.258543,0.883420332 C211.777684,0.481292673 210.341701,0.257888417 208.905717,0.257888417 C207.379984,0.257888417 205.944,0.481292673 204.64264,0.972782034 C203.34128,1.4642714 202.174543,2.08980331 201.187304,2.93873948 C200.200065,3.78767565 199.34745,4.81533523 198.674333,5.97703735 C198.001215,7.18342033 197.55247,8.47916501 197.283223,9.9536331 C197.013977,11.4281012 197.058851,12.6344842 197.328098,13.572782 C197.597345,14.5110799 198.04609,15.3153352 198.674333,15.9408671 C199.302576,16.5663991 200.020567,17.0578884 200.873183,17.4600161 C201.725798,17.8174629 202.623288,18.1749097 203.520778,18.4876757 C204.283644,18.7557608 204.911887,19.0238459 205.450381,19.291931 C205.988875,19.5153352 206.392745,19.7834203 206.706867,20.0515054 C207.020988,20.3195905 207.200486,20.6323565 207.33511,20.9451225 C207.424859,21.2578884 207.424859,21.6600161 207.379984,22.1068246 C207.245361,22.8217182 206.84149,23.491931 206.168373,24.072782 C205.450381,24.6536331 204.508017,24.9217182 203.296405,24.9217182 C202.219418,24.9217182 201.187304,24.6536331 200.200065,24.1621437 C199.212827,23.6706544 198.225588,22.9110799 197.283223,21.8834203 L193.020147,28.0940586 C195.757491,30.3281012 198.898705,31.4451225 202.533539,31.4451225 C204.283644,31.4451225 205.899126,31.2217182 207.379984,30.7302288 C208.860842,30.2387395 210.117328,29.5685267 211.23919,28.6749097 C212.361053,27.7812927 213.258543,26.7536331 213.976534,25.5025693 C214.694526,24.2515054 215.143271,22.9110799 215.412518,21.391931 C215.816389,19.1578884 215.547142,17.3259735 214.649652,15.9408671 C213.752162,14.5557608 212.13668,13.4387395 209.848081,12.5898033" id="XMLID_00000062901719220931428340000009491882837553372853_"></path>
13
+ <path d="M51.0821297,0.257888417 C49.0627775,0.257888417 47.0882999,0.660016077 45.1138223,1.41959055 C43.1393446,2.17916501 41.344365,3.25150544 39.7288833,4.63661182 C38.1134016,6.0217182 36.7222923,7.63022884 35.5555556,9.55150544 C34.3888188,11.4281012 33.6259524,13.5281012 33.222082,15.8068246 C32.8182116,18.085548 32.9079605,20.185548 33.40158,22.1068246 C33.8951994,24.0281012 34.7478147,25.6812927 35.869677,27.0663991 C37.0364138,28.4515054 38.427523,29.5685267 40.1327537,30.3281012 C41.8379844,31.0876757 43.6329641,31.4898033 45.6523162,31.4898033 C46.639555,31.4898033 47.6267938,31.4004416 48.6589071,31.1770374 C49.6910204,30.9983139 50.8128827,30.685548 52.024494,30.2387395 L52.8322348,29.9706544 L54.4028421,20.8557608 C52.1591175,22.9557608 49.8256439,23.9834203 47.4024214,23.9834203 C46.3254336,23.9834203 45.3381947,23.7600161 44.4407049,23.3578884 C43.5880896,22.9557608 42.8700977,22.3749097 42.2867293,21.6153352 C41.7033609,20.9004416 41.2994905,20.0068246 41.075118,19.0238459 C40.8507456,18.0408671 40.8507456,16.9685267 41.0302435,15.7621437 C41.2097415,14.6004416 41.6136119,13.5281012 42.1521058,12.5451225 C42.7354742,11.5621437 43.4085916,10.7132076 44.2163324,9.99831395 C45.0240733,9.28342033 45.9215631,8.70256927 46.9536764,8.30044161 C47.9857897,7.89831395 49.0627775,7.67490969 50.1846398,7.67490969 C52.7424859,7.67490969 54.672089,8.74725012 56.0183238,10.9366118 L57.588931,1.77703735 C56.4670687,1.24086714 55.3452064,0.883420332 54.3130931,0.615335226 C53.3258543,0.34725012 52.2488665,0.257888417 51.0821297,0.257888417" id="XMLID_00000177458226623996162970000001313029192371401129_"></path>
14
+ <path d="M191.44954,24.4302288 C190.237928,24.2068246 187.85958,24.072782 183.820876,25.0110799 L184.76324,30.7302288 L192.7509,30.7302288 L191.44954,24.4302288 Z" id="XMLID_00000140703383807175438710000017681528100760546978_"></path>
15
+ <path d="M191.135418,22.6876757 L189.834058,16.1642714 C187.904455,16.2089522 185.481232,16.4770374 182.519516,17.2366118 C182.205394,17.3259735 181.846398,17.4153352 181.532277,17.5046969 C179.871921,17.9515054 178.346188,18.2642714 176.955079,18.4876757 L181.307904,9.90895225 L182.250269,15.6281012 C185.25686,14.8685267 187.635208,14.6004416 189.564811,14.5557608 L186.872341,1.15150544 L178.705184,1.15150544 L162.68499,30.7302288 L170.67265,30.7302288 L173.544617,25.1004416 C175.922965,24.9217182 178.839807,24.5195905 182.16052,23.6259735 C182.654139,23.491931 183.102884,23.4025693 183.551629,23.2685267 C187.545459,22.3302288 189.923807,22.4642714 191.135418,22.6876757" id="XMLID_00000108307261703799288470000006753599113892601778_"></path>
16
+ <g transform="translate(215.9959, -0)">
17
+ <path d="M15.1227037,12.7685267 C9.19927079,14.3323565 4.66694713,14.1536331 2.6924695,13.9749097 L1.6154817,20.3195905 C2.19885009,20.3642714 2.82709297,20.4089522 3.58995933,20.4089522 C6.50680129,20.4536331 10.8147525,20.185548 15.975319,18.8451225 C20.8666386,17.5493778 23.7834806,17.6387395 25.2643388,17.9068246 L26.3413266,11.5174629 C23.8732296,11.2493778 20.2383957,11.4281012 15.1227037,12.7685267" id="XMLID_00000020392409373756109220000009241820596686439054_"></path>
18
+ <path d="M16.6933109,1.33022884 C11.0391249,2.80469693 6.64142477,2.76001608 4.57719815,2.58129267 L3.00659094,12.3217182 C4.39770018,12.4557608 7.04529519,12.5451225 10.500631,12.0983139 L11.0391249,8.70256927 C13.0136026,8.47916501 15.1675782,8.07703735 17.5459262,7.45150544 C22.7962418,6.06639906 25.7130837,6.28980331 27.104193,6.55788842 L28.1811808,0.168526715 C25.6682092,-0.188920093 21.9885009,-0.0548775399 16.6933109,1.33022884" id="XMLID_00000161607254826614820920000016644788722887245484_"></path>
19
+ <path d="M13.7315944,23.8046969 C11.8468658,24.2961863 10.1416351,24.6089522 8.57102791,24.8323565 L9.06464731,21.7046969 C6.86579722,21.972782 5.02594307,22.0174629 3.50021035,21.972782 C2.78221848,21.972782 2.10910111,21.9281012 1.57060721,21.8834203 L0,31.3557608 C0.628242883,31.4004416 1.34623475,31.4451225 2.24372458,31.4898033 C5.16056654,31.5344842 9.46851774,31.2663991 14.6290843,29.9259735 C19.2511569,28.7195905 22.0782499,28.7195905 23.6488571,28.9429948 L24.7258449,22.5983139 C22.1679989,22.285548 18.622914,22.5089522 13.7315944,23.8046969" id="XMLID_00000018231387255623010820000005918230657785904026_"></path>
20
+ </g>
21
+ </g>
22
+ <g id="编组">
23
+ <path d="M35.136727,42 C36.3932127,41.4638298 37.6496985,40.9723404 38.9510588,40.5255319 C39.5793016,40.3021277 40.16267,40.1234043 40.7909129,39.9446809 C41.2845323,39.8106383 41.7781517,39.6319149 42.2717711,39.4978723 C49.6760623,37.4425532 57.2149769,36.906383 64.4846445,37.7106383 L64.4846445,30.1595745 C56.4521105,29.3553191 48.1503295,30.0255319 39.9382976,32.3489362 C39.4446782,32.4829787 38.9510588,32.6170213 38.4574393,32.7957447 C37.8291965,32.9744681 37.1560791,33.1978723 36.5278362,33.4212766 C35.2713504,33.8680851 34.0148647,34.3148936 32.8032534,34.806383 L35.136727,42 Z" id="路径" fill="#07C846"></path>
24
+ <path d="M64.43977,5.67446809 L64.43977,28.2829787 C56.0931146,27.4787234 47.4772122,28.2382979 38.9959332,30.6957447 C37.9638199,31.0085106 36.9317066,31.3212766 35.8995933,31.6787234 C34.6431076,32.1255319 33.3866218,32.4829787 32.130136,32.8851064 C21.450007,36.012766 10.59038,37.1297872 0.0448744917,36.3702128 L0.0448744917,13.7617021 C8.30178096,14.5659574 16.7830599,13.8510638 25.1745898,11.4382979 C26.2964521,11.1255319 27.4631889,10.7680851 28.5850512,10.3659574 C29.751788,9.96382979 30.8736503,9.60638298 32.040387,9.24893617 C42.810265,6.03191489 53.759641,4.91489362 64.43977,5.67446809 Z" id="路径" fill="#0181FD"></path>
25
+ <path d="M29.3479175,0 C28.0914318,0.536170213 26.834946,1.02765957 25.5335858,1.47446809 C24.9053429,1.69787234 24.3219745,1.87659574 23.6937316,2.05531915 C23.2001122,2.1893617 22.7064928,2.36808511 22.2128734,2.50212766 C14.8085822,4.55744681 7.26966765,5.09361702 3.18852441e-15,4.2893617 L3.18852441e-15,11.8404255 C8.03253401,12.6446809 16.334315,11.9744681 24.5463469,9.65106383 C25.0399663,9.51702128 25.5335858,9.38297872 26.0272052,9.20425532 C26.655448,9.02553191 27.3285654,8.80212766 27.9568083,8.5787234 C29.2132941,8.13191489 30.4697798,7.68510638 31.6813911,7.19361702 L29.3479175,0 Z" id="路径" fill="#FFA005"></path>
26
+ </g>
27
+ </g>
28
+ </g>
29
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/ui",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "description": "The UI library based on OceanBase Design",
5
5
  "keywords": [
6
6
  "oceanbase",
@@ -37,9 +37,9 @@
37
37
  "@ant-design/cssinjs": "^1.17.0",
38
38
  "@ant-design/pro-components": "^2.6.28",
39
39
  "@ant-design/pro-layout": "^7.17.4",
40
- "@oceanbase/design": "^0.2.19",
40
+ "@oceanbase/design": "^0.2.21",
41
41
  "@oceanbase/icons": "^0.2.7",
42
- "@oceanbase/util": "^0.2.8",
42
+ "@oceanbase/util": "^0.2.9",
43
43
  "ahooks": "^2.10.14",
44
44
  "classnames": "^2.3.2",
45
45
  "dayjs": "^1.11.10",
@@ -66,5 +66,5 @@
66
66
  "react": ">=16.9.0",
67
67
  "react-dom": ">=16.9.0"
68
68
  },
69
- "gitHead": "3d55f9a8967c0b20491eb7d154f53db8943c1522"
69
+ "gitHead": "38becd333620011d0d084df62b1131135a396abb"
70
70
  }