@oceanbase/ui 0.2.16 → 0.2.17
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.
package/es/Highlight/index.d.ts
CHANGED
|
@@ -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" | "
|
|
32
|
+
declare const supportedLanguages: ("ruby" | "javascript" | "typescript" | "css" | "groovy" | "java" | "python" | "bash" | "json" | "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
|
/**
|
package/lib/Highlight/index.d.ts
CHANGED
|
@@ -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" | "
|
|
32
|
+
declare const supportedLanguages: ("ruby" | "javascript" | "typescript" | "css" | "groovy" | "java" | "python" | "bash" | "json" | "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
|
/**
|
|
@@ -55,9 +55,7 @@ var genImgCoverStyle = (width, height) => {
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
var genTagSelectStyle = (token) => {
|
|
58
|
-
const {
|
|
59
|
-
componentCls
|
|
60
|
-
} = token;
|
|
58
|
+
const { componentCls } = token;
|
|
61
59
|
return {
|
|
62
60
|
[`${componentCls}-title`]: {
|
|
63
61
|
fontSize: token.fontSize,
|
|
@@ -111,7 +109,11 @@ var genTagSelectStyle = (token) => {
|
|
|
111
109
|
[`${componentCls}-wrapper:not(${componentCls}-disabled):hover`]: {
|
|
112
110
|
color: token.colorPrimaryTextHover
|
|
113
111
|
},
|
|
114
|
-
[`${componentCls}-checked`]: genColoredStyle(
|
|
112
|
+
[`${componentCls}-checked`]: genColoredStyle(
|
|
113
|
+
token.blue,
|
|
114
|
+
token.colorPrimaryBg,
|
|
115
|
+
token.colorPrimaryText
|
|
116
|
+
),
|
|
115
117
|
[`${componentCls}-wrapper${componentCls}-checked:not(${componentCls}-disabled):focus-within`]: {
|
|
116
118
|
boxShadow: `0 1px 3px 0px #000`,
|
|
117
119
|
borderColor: `${token.colorPrimary}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "The UI library based on OceanBase Design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"OceanBase",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ant-design/cssinjs": "^1.17.0",
|
|
39
39
|
"@ant-design/pro-components": "^2.6.16",
|
|
40
|
-
"@oceanbase/design": "^0.2.
|
|
40
|
+
"@oceanbase/design": "^0.2.16",
|
|
41
41
|
"@oceanbase/icons": "^0.2.5",
|
|
42
42
|
"@oceanbase/util": "^0.2.7",
|
|
43
43
|
"ahooks": "^2.10.14",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react": "^16.9.0",
|
|
67
67
|
"react-dom": "^16.9.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "52f5d009120b001c9c0408ec96ff954e120b20f1"
|
|
70
70
|
}
|