@univerjs/core 0.2.2 → 0.2.3

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/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # @univerjs/core
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@univerjs/core)](https://npmjs.org/package/@univerjs/core)
4
- [![license](https://img.shields.io/npm/l/@univerjs/core)](https://img.shields.io/npm/l/@univerjs/core)
3
+ ## Package Overview
4
+
5
+ | Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
6
+ | --- | --- | --- | --- | --- | :---: | :---: |
7
+ | `@univerjs/core` | `UniverCore` | [![][npm-version-shield]][npm-version-link] | ![][npm-license-shield] | ![][npm-downloads-shield] | ❌ | ❌ |
5
8
 
6
9
  ## Introduction
7
10
 
@@ -21,7 +24,7 @@
21
24
  * Internationalization
22
25
  * Resource management
23
26
 
24
- For more information about `@univerjs/core`'s API, please refer to the API documentation.
27
+ For more information about `@univerjs/core`'s API, please refer to the [API documentation](https://univer.ai/typedoc/@univerjs/core/README).
25
28
 
26
29
  ## Usage
27
30
 
@@ -42,7 +45,7 @@ import { Univer } from '@univerjs/core';
42
45
 
43
46
  new Univer({
44
47
  theme: defaultTheme,
45
- locale: LocaleType.ZH_CN,
48
+ locale: LocaleType.EN_US,
46
49
  locales,
47
50
  logLevel: LogLevel.VERBOSE,
48
51
  });
@@ -52,7 +55,13 @@ new Univer({
52
55
 
53
56
  | Name | Type | Default | Description |
54
57
  | --- | --- | --- | --- |
55
- | theme | [Theme](https://univer.ai/api/design/#built-in-themes) | - | The theme of the application, which is used to control the appearance of the application. |
56
- | locale | [LocaleType](https://univer.ai/api/core/enums/LocaleType.html) | `LocaleType.ZH_CN` | The locale of the application. The default value is `LocaleType.ZH_CN`.
57
- | locales | [ILocales](https://univer.ai/api/core/interfaces/ILocales.html) | - | The supported locales of the application. By default, the application supports Chinese.
58
- | logLevel | [LogLevel](https://univer.ai/api/core/enums/LogLevel.html) | `LogLevel.SILENT` | The log level of the application. |
58
+ | theme | [Theme](https://univer.ai/guides/sheet/advanced/custom-theme) | - | The theme of the application, which is used to control the appearance of the application. |
59
+ | locale | [LocaleType](https://univer.ai/typedoc/@univerjs/core/enumerations/LocaleType) | `LocaleType.ZH_CN` | The locale of the application. The default value is `LocaleType.ZH_CN`.
60
+ | locales | [ILocales](https://univer.ai/typedoc/@univerjs/core/interfaces/ILocales) | - | The supported locales of the application. By default, the application supports Chinese.
61
+ | logLevel | [LogLevel](https://univer.ai/typedoc/@univerjs/core/enumerations/LogLevel) | `LogLevel.SILENT` | The log level of the application. |
62
+
63
+ <!-- Links -->
64
+ [npm-version-shield]: https://img.shields.io/npm/v/@univerjs/core?style=flat-square
65
+ [npm-version-link]: https://npmjs.com/package/@univerjs/core
66
+ [npm-license-shield]: https://img.shields.io/npm/l/@univerjs/core?style=flat-square
67
+ [npm-downloads-shield]: https://img.shields.io/npm/dm/@univerjs/core?style=flat-square