@oceanbase/ui 0.4.14 → 0.4.15

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 @@
2
2
  import './index.less';
3
3
  declare const _default: {
4
4
  Code: any;
5
- Function: import("react").FC<import("./Components").IBoundaryFunction>;
5
+ Function: import("react").FC<import("./Components/Function").IBoundaryFunction>;
6
6
  Exception: any;
7
7
  };
8
8
  export default _default;
@@ -6,6 +6,7 @@
6
6
  cursor: pointer;
7
7
 
8
8
  .@{prefix}-wrapper {
9
+ background-color: @colorBgContainer;
9
10
  border: 1px solid @colorBorder;
10
11
  box-sizing: border-box;
11
12
  display: flex;
@@ -71,7 +72,7 @@
71
72
  display: flex;
72
73
  padding: 4px;
73
74
  gap: 4px;
74
- background-color: #ffffff;
75
+ background-color: @colorBgContainer;
75
76
  background-clip: padding-box;
76
77
  border-radius: 8px;
77
78
  outline: none;
@@ -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" | "go" | "java" | "python" | "sql" | "json" | "javascript" | "typescript" | "groovy" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "xml" | "dockerfile" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "json" | "jsx" | "tsx" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity")[];
33
33
  export type LanguageType = (typeof supportedLanguages)[number] | 'html';
34
34
  export interface HighlightProps extends LocaleWrapperProps {
35
35
  /**
@@ -15,6 +15,7 @@
15
15
  height: 100%;
16
16
  background-repeat: no-repeat;
17
17
  background-size: cover;
18
+ background-position: center;
18
19
 
19
20
  .@{prefix}-info {
20
21
  margin: 185px 48px 0 48px;
@@ -2,7 +2,7 @@
2
2
  import './index.less';
3
3
  declare const _default: {
4
4
  Code: any;
5
- Function: import("react").FC<import("./Components").IBoundaryFunction>;
5
+ Function: import("react").FC<import("./Components/Function").IBoundaryFunction>;
6
6
  Exception: any;
7
7
  };
8
8
  export default _default;
@@ -6,6 +6,7 @@
6
6
  cursor: pointer;
7
7
 
8
8
  .@{prefix}-wrapper {
9
+ background-color: @colorBgContainer;
9
10
  border: 1px solid @colorBorder;
10
11
  box-sizing: border-box;
11
12
  display: flex;
@@ -71,7 +72,7 @@
71
72
  display: flex;
72
73
  padding: 4px;
73
74
  gap: 4px;
74
- background-color: #ffffff;
75
+ background-color: @colorBgContainer;
75
76
  background-clip: padding-box;
76
77
  border-radius: 8px;
77
78
  outline: none;
@@ -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" | "go" | "java" | "python" | "sql" | "json" | "javascript" | "typescript" | "groovy" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "xml" | "dockerfile" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "json" | "jsx" | "tsx" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity")[];
33
33
  export type LanguageType = (typeof supportedLanguages)[number] | 'html';
34
34
  export interface HighlightProps extends LocaleWrapperProps {
35
35
  /**
@@ -15,6 +15,7 @@
15
15
  height: 100%;
16
16
  background-repeat: no-repeat;
17
17
  background-size: cover;
18
+ background-position: center;
18
19
 
19
20
  .@{prefix}-info {
20
21
  margin: 185px 48px 0 48px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/ui",
3
- "version": "0.4.14",
3
+ "version": "0.4.15",
4
4
  "description": "The UI library based on OceanBase Design",
5
5
  "keywords": [
6
6
  "oceanbase",
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@ant-design/cssinjs": "^1.23.0",
43
- "@ant-design/pro-components": "^2.8.7",
43
+ "@ant-design/pro-components": "^2.8.9",
44
44
  "@antv/g6": "3.4.10",
45
- "@oceanbase/design": "^0.4.11",
46
- "@oceanbase/icons": "^0.4.6",
47
- "@oceanbase/util": "^0.4.3",
45
+ "@oceanbase/design": "^0.4.12",
46
+ "@oceanbase/icons": "^0.4.7",
47
+ "@oceanbase/util": "^0.4.4",
48
48
  "ahooks": "^2.10.14",
49
49
  "classnames": "^2.5.1",
50
50
  "dayjs": "^1.11.13",
@@ -64,12 +64,12 @@
64
64
  "screenfull": "^6.0.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@ant-design/pro-form": "^2.31.7",
68
- "@ant-design/pro-layout": "^7.22.4"
67
+ "@ant-design/pro-form": "^2.31.9",
68
+ "@ant-design/pro-layout": "^7.22.6"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": ">=16.9.0",
72
72
  "react-dom": ">=16.9.0"
73
73
  },
74
- "gitHead": "c3f287cc3ed59f6483423ca1c1f09d65012b0d8f"
74
+ "gitHead": "eea14051a255a8820d64e80e4c0d08527002477f"
75
75
  }