@oceanbase/ui 0.3.0 → 0.3.1

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.
@@ -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" | "sql" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "bash" | "json" | "go" | "javascript" | "typescript" | "groovy" | "java" | "python" | "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
  /**
@@ -2,28 +2,28 @@ export default {
2
2
  customize: 'Custom',
3
3
  // 为保证和之前的逻辑兼容,仍然使用中文作为 key
4
4
  // TODO: 后续需要替换为英文 key
5
- '近 1 分钟': 'near 1 minute',
6
- '近 5 分钟': 'near 5 minutes',
7
- '近 10 分钟': 'near 10 minutes',
8
- '近 20 分钟': 'near 20 minutes',
9
- '近 30 分钟': 'near 30 minutes',
10
- '近 1 小时': 'near 1 hour',
11
- '近 2 小时': 'near 2 hour',
12
- '近 3 小时': 'near 3 hour',
13
- '近 6 小时': 'near 6 hour',
14
- 今天: 'today',
15
- 昨天: 'yesterday',
16
- 明天: 'tomorrow',
17
- 本周: 'this week',
18
- 上周: 'last week',
19
- 下周: 'next week',
20
- 本月: 'this month',
21
- 上月: 'last month',
22
- 下月: 'next month',
23
- 本季度: 'this quarter',
24
- 上季度: 'last quarter',
25
- 下季度: 'next quarter',
26
- 今年: 'this year',
27
- 去年: 'last year',
28
- 明年: 'next year'
5
+ '近 1 分钟': 'Past 1 Minute',
6
+ '近 5 分钟': 'Past 5 Minutes',
7
+ '近 10 分钟': 'Past 10 Minutes',
8
+ '近 20 分钟': 'Past 20 Minutes',
9
+ '近 30 分钟': 'Past 30 Minutes',
10
+ '近 1 小时': 'Past 1 Hour',
11
+ '近 2 小时': 'Past 2 Hour',
12
+ '近 3 小时': 'Past 3 Hour',
13
+ '近 6 小时': 'Past 6 Hour',
14
+ 今天: 'Today',
15
+ 昨天: 'Yesterday',
16
+ 明天: 'Tomorrow',
17
+ 本周: 'This Week',
18
+ 上周: 'Last Week',
19
+ 下周: 'Next Week',
20
+ 本月: 'This Month',
21
+ 上月: 'Last Month',
22
+ 下月: 'Next Month',
23
+ 本季度: 'This Quarter',
24
+ 上季度: 'Last Quarter',
25
+ 下季度: 'Next Quarter',
26
+ 今年: 'This Year',
27
+ 去年: 'Last Year',
28
+ 明年: 'Next Year'
29
29
  };
@@ -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" | "sql" | "javascript" | "typescript" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "css" | "json" | "bash" | "javascript" | "typescript" | "groovy" | "java" | "python" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
33
33
  export type LanguageType = (typeof supportedLanguages)[number] | 'html';
34
34
  export interface HighlightProps extends LocaleWrapperProps {
35
35
  /**
@@ -26,28 +26,28 @@ var en_US_default = {
26
26
  customize: "Custom",
27
27
  // 为保证和之前的逻辑兼容,仍然使用中文作为 key
28
28
  // TODO: 后续需要替换为英文 key
29
- "近 1 分钟": "near 1 minute",
30
- "近 5 分钟": "near 5 minutes",
31
- "近 10 分钟": "near 10 minutes",
32
- "近 20 分钟": "near 20 minutes",
33
- "近 30 分钟": "near 30 minutes",
34
- "近 1 小时": "near 1 hour",
35
- "近 2 小时": "near 2 hour",
36
- "近 3 小时": "near 3 hour",
37
- "近 6 小时": "near 6 hour",
38
- 今天: "today",
39
- 昨天: "yesterday",
40
- 明天: "tomorrow",
41
- 本周: "this week",
42
- 上周: "last week",
43
- 下周: "next week",
44
- 本月: "this month",
45
- 上月: "last month",
46
- 下月: "next month",
47
- 本季度: "this quarter",
48
- 上季度: "last quarter",
49
- 下季度: "next quarter",
50
- 今年: "this year",
51
- 去年: "last year",
52
- 明年: "next year"
29
+ "近 1 分钟": "Past 1 Minute",
30
+ "近 5 分钟": "Past 5 Minutes",
31
+ "近 10 分钟": "Past 10 Minutes",
32
+ "近 20 分钟": "Past 20 Minutes",
33
+ "近 30 分钟": "Past 30 Minutes",
34
+ "近 1 小时": "Past 1 Hour",
35
+ "近 2 小时": "Past 2 Hour",
36
+ "近 3 小时": "Past 3 Hour",
37
+ "近 6 小时": "Past 6 Hour",
38
+ 今天: "Today",
39
+ 昨天: "Yesterday",
40
+ 明天: "Tomorrow",
41
+ 本周: "This Week",
42
+ 上周: "Last Week",
43
+ 下周: "Next Week",
44
+ 本月: "This Month",
45
+ 上月: "Last Month",
46
+ 下月: "Next Month",
47
+ 本季度: "This Quarter",
48
+ 上季度: "Last Quarter",
49
+ 下季度: "Next Quarter",
50
+ 今年: "This Year",
51
+ 去年: "Last Year",
52
+ 明年: "Next Year"
53
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/ui",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "The UI library based on OceanBase Design",
5
5
  "keywords": [
6
6
  "oceanbase",
@@ -37,7 +37,7 @@
37
37
  "@ant-design/cssinjs": "^1.18.4",
38
38
  "@ant-design/pro-components": "^2.6.49",
39
39
  "@ant-design/pro-layout": "^7.17.20",
40
- "@oceanbase/design": "^0.3.0",
40
+ "@oceanbase/design": "^0.3.1",
41
41
  "@oceanbase/icons": "^0.3.0",
42
42
  "@oceanbase/util": "^0.3.0",
43
43
  "ahooks": "^2.10.14",
@@ -65,5 +65,5 @@
65
65
  "react": ">=16.9.0",
66
66
  "react-dom": ">=16.9.0"
67
67
  },
68
- "gitHead": "a42b41fa2d54fb4b1bab7ff5218394524cf6b655"
68
+ "gitHead": "6493aa80578be3aca3d00cdc19b4d3349f3f8b46"
69
69
  }