@next-core/next-docs 1.2.217 → 1.2.218

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.218](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.217...@next-core/next-docs@1.2.218) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @next-core/next-docs
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.2.217](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.216...@next-core/next-docs@1.2.217) (2022-03-07)
7
15
 
8
16
  **Note:** Version bump only for package @next-core/next-docs
@@ -0,0 +1,29 @@
1
+ ---
2
+ id: brick-kit.batchsetappslocaltheme
3
+ title: batchSetAppsLocalTheme()
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-kit](./brick-kit.md) &gt; [batchSetAppsLocalTheme](./brick-kit.batchsetappslocaltheme.md)
11
+
12
+ ## batchSetAppsLocalTheme() function
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ export declare function batchSetAppsLocalTheme(appsTheme: Record<string, SiteTheme>): void;
18
+ ```
19
+
20
+ ## Parameters
21
+
22
+ | Parameter | Type | Description |
23
+ | --- | --- | --- |
24
+ | appsTheme | Record&lt;string, [SiteTheme](./brick-types.sitetheme.md)<!-- -->&gt; | |
25
+
26
+ **Returns:**
27
+
28
+ void
29
+
@@ -0,0 +1,23 @@
1
+ ---
2
+ id: brick-kit.getcurrenttheme
3
+ title: getCurrentTheme()
4
+ hide_title: true
5
+ custom_edit_url: null
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ [API Reference](./index.md) &gt; [@next-core/brick-kit](./brick-kit.md) &gt; [getCurrentTheme](./brick-kit.getcurrenttheme.md)
11
+
12
+ ## getCurrentTheme() function
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ export declare function getCurrentTheme(): SiteTheme;
18
+ ```
19
+
20
+ **Returns:**
21
+
22
+ [SiteTheme](./brick-types.sitetheme.md)
23
+
package/dist/brick-kit.md CHANGED
@@ -24,6 +24,7 @@ The core kit of Brick Next.
24
24
 
25
25
  | Function | Description |
26
26
  | --- | --- |
27
+ | [batchSetAppsLocalTheme](./brick-kit.batchsetappslocaltheme.md) | |
27
28
  | [BrickAsComponent](./brick-kit.brickascomponent.md) | 可以渲染 <code>useBrick</code> 的 React 组件。 |
28
29
  | [BrickWrapper](./brick-kit.brickwrapper.md) | 构件的 React 组件包装器,包含 ErrorBoundary, ConfigProvider, FeatureFlagsProvider。 |
29
30
  | [DisplayByFeatureFlags](./brick-kit.displaybyfeatureflags.md) | 特性开关 React 组件 |
@@ -31,6 +32,7 @@ The core kit of Brick Next.
31
32
  | [event\_2](./brick-kit.event_2.md) | 构件事件装饰器。 |
32
33
  | [getAuth](./brick-kit.getauth.md) | 获取当前登录认证信息。 |
33
34
  | [getCssPropertyValue](./brick-kit.getcsspropertyvalue.md) | |
35
+ | [getCurrentTheme](./brick-kit.getcurrenttheme.md) | |
34
36
  | [getHistory](./brick-kit.gethistory.md) | 获取系统会话历史管理器。 |
35
37
  | [getRuntime](./brick-kit.getruntime.md) | 获取系统运行时对象。 |
36
38
  | [handleHttpError](./brick-kit.handlehttperror.md) | 处理 http 请求错误(使用 AntDesign 模态框弹出错误信息)。 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/next-docs",
3
- "version": "1.2.217",
3
+ "version": "1.2.218",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
6
6
  "license": "GPL-3.0",
@@ -21,9 +21,9 @@
21
21
  "sideEffects": false,
22
22
  "devDependencies": {
23
23
  "@easyops-cn/brick-next-pipes": "^0.3.12",
24
- "@next-core/brick-kit": "^2.107.2",
24
+ "@next-core/brick-kit": "^2.107.3",
25
25
  "@next-core/brick-types": "^2.60.0",
26
26
  "fs-extra": "^10.0.1"
27
27
  },
28
- "gitHead": "e6d9b6f7006ec59209dc66f7b248fbd3f0a1329a"
28
+ "gitHead": "7edaad160acabf836a34eac30bc7d4c35248149c"
29
29
  }