@oceanbase/ui 0.2.16 → 0.2.18

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" | "json" | "javascript" | "typescript" | "css" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "go" | "javascript" | "typescript" | "css" | "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/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export { default as Login } from './Login';
20
20
  export { default as Lottie } from './Lottie';
21
21
  export { default as NavMenu } from './NavMenu';
22
22
  export { default as PageContainer } from './PageContainer';
23
+ export type { PageContainerProps } from './PageContainer';
23
24
  export { default as Password } from './Password';
24
25
  export { default as Ranger } from './Ranger';
25
26
  export { default as SideTip } from './SideTip';
@@ -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" | "json" | "javascript" | "typescript" | "css" | "groovy" | "java" | "python" | "bash" | "cpp" | "http" | "markdown" | "nginx" | "sql" | "xml" | "dockerfile" | "go" | "yaml" | "solidity" | "tsx" | "jsx")[];
32
+ declare const supportedLanguages: ("ruby" | "go" | "javascript" | "typescript" | "css" | "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
  /**
@@ -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(token.blue, token.colorPrimaryBg, token.colorPrimaryText),
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/lib/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export { default as Login } from './Login';
20
20
  export { default as Lottie } from './Lottie';
21
21
  export { default as NavMenu } from './NavMenu';
22
22
  export { default as PageContainer } from './PageContainer';
23
+ export type { PageContainerProps } from './PageContainer';
23
24
  export { default as Password } from './Password';
24
25
  export { default as Ranger } from './Ranger';
25
26
  export { default as SideTip } from './SideTip';
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@oceanbase/ui",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "description": "The UI library based on OceanBase Design",
5
5
  "keywords": [
6
- "OceanBase",
7
- "database",
6
+ "oceanbase",
8
7
  "design",
9
8
  "ui",
10
9
  "react",
@@ -37,9 +36,9 @@
37
36
  "dependencies": {
38
37
  "@ant-design/cssinjs": "^1.17.0",
39
38
  "@ant-design/pro-components": "^2.6.16",
40
- "@oceanbase/design": "^0.2.15",
41
- "@oceanbase/icons": "^0.2.5",
42
- "@oceanbase/util": "^0.2.7",
39
+ "@oceanbase/design": "^0.2.17",
40
+ "@oceanbase/icons": "^0.2.6",
41
+ "@oceanbase/util": "^0.2.8",
43
42
  "ahooks": "^2.10.14",
44
43
  "classnames": "^2.3.2",
45
44
  "dayjs": "^1.11.9",
@@ -66,5 +65,5 @@
66
65
  "react": "^16.9.0",
67
66
  "react-dom": "^16.9.0"
68
67
  },
69
- "gitHead": "32a30c6e5c9a3d01a0e3052d37c29b8124967247"
68
+ "gitHead": "6f801e95ba5ddc345f6d2c462bcf2af1abc74c84"
70
69
  }