@next-core/next-docs 1.2.181 → 1.2.182

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.182](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.181...@next-core/next-docs@1.2.182) (2021-12-30)
7
+
8
+ **Note:** Version bump only for package @next-core/next-docs
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.2.181](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.180...@next-core/next-docs@1.2.181) (2021-12-29)
7
15
 
8
16
  **Note:** Version bump only for package @next-core/next-docs
@@ -16,6 +16,6 @@ custom_edit_url: null
16
16
  **Signature:**
17
17
 
18
18
  ```typescript
19
- action: "history.push" | "history.replace" | "history.goBack" | "history.goForward" | "history.reload" | "history.pushQuery" | "history.replaceQuery" | "history.pushAnchor" | "history.block" | "history.unblock" | "segue.push" | "segue.replace" | "alias.push" | "alias.replace" | "localStorage.setItem" | "localStorage.removeItem" | "sessionStorage.setItem" | "sessionStorage.removeItem" | "legacy.go" | "location.reload" | "location.assign" | "window.open" | "event.preventDefault" | "console.log" | "console.error" | "console.warn" | "console.info" | "message.success" | "message.error" | "message.info" | "message.warn" | "handleHttpError" | "context.assign" | "context.replace" | "tpl.dispatchEvent" | "message.subscribe" | "message.unsubscribe" | "theme.setDarkTheme" | "theme.setLightTheme" | "mode.setDashboardMode" | "mode.setDefaultMode" | "menu.clearMenuTitleCache" | "menu.clearMenuCache" | "analytics.event";
19
+ action: "history.push" | "history.replace" | "history.goBack" | "history.goForward" | "history.reload" | "history.pushQuery" | "history.replaceQuery" | "history.pushAnchor" | "history.block" | "history.unblock" | "segue.push" | "segue.replace" | "alias.push" | "alias.replace" | "localStorage.setItem" | "localStorage.removeItem" | "sessionStorage.setItem" | "sessionStorage.removeItem" | "legacy.go" | "location.reload" | "location.assign" | "window.open" | "event.preventDefault" | "console.log" | "console.error" | "console.warn" | "console.info" | "message.success" | "message.error" | "message.info" | "message.warn" | "handleHttpError" | "context.assign" | "context.replace" | "tpl.dispatchEvent" | "message.subscribe" | "message.unsubscribe" | "theme.setDarkTheme" | "theme.setLightTheme" | "theme.setTheme" | "mode.setDashboardMode" | "mode.setDefaultMode" | "menu.clearMenuTitleCache" | "menu.clearMenuCache" | "analytics.event";
20
20
  ```
21
21
 
@@ -23,7 +23,7 @@ export interface BuiltinBrickEventHandler
23
23
 
24
24
  | Property | Type | Description |
25
25
  | --- | --- | --- |
26
- | [action](./brick-types.builtinbrickeventhandler.action.md) | "history.push" \| "history.replace" \| "history.goBack" \| "history.goForward" \| "history.reload" \| "history.pushQuery" \| "history.replaceQuery" \| "history.pushAnchor" \| "history.block" \| "history.unblock" \| "segue.push" \| "segue.replace" \| "alias.push" \| "alias.replace" \| "localStorage.setItem" \| "localStorage.removeItem" \| "sessionStorage.setItem" \| "sessionStorage.removeItem" \| "legacy.go" \| "location.reload" \| "location.assign" \| "window.open" \| "event.preventDefault" \| "console.log" \| "console.error" \| "console.warn" \| "console.info" \| "message.success" \| "message.error" \| "message.info" \| "message.warn" \| "handleHttpError" \| "context.assign" \| "context.replace" \| "tpl.dispatchEvent" \| "message.subscribe" \| "message.unsubscribe" \| "theme.setDarkTheme" \| "theme.setLightTheme" \| "mode.setDashboardMode" \| "mode.setDefaultMode" \| "menu.clearMenuTitleCache" \| "menu.clearMenuCache" \| "analytics.event" | 处理动作名。 |
26
+ | [action](./brick-types.builtinbrickeventhandler.action.md) | "history.push" \| "history.replace" \| "history.goBack" \| "history.goForward" \| "history.reload" \| "history.pushQuery" \| "history.replaceQuery" \| "history.pushAnchor" \| "history.block" \| "history.unblock" \| "segue.push" \| "segue.replace" \| "alias.push" \| "alias.replace" \| "localStorage.setItem" \| "localStorage.removeItem" \| "sessionStorage.setItem" \| "sessionStorage.removeItem" \| "legacy.go" \| "location.reload" \| "location.assign" \| "window.open" \| "event.preventDefault" \| "console.log" \| "console.error" \| "console.warn" \| "console.info" \| "message.success" \| "message.error" \| "message.info" \| "message.warn" \| "handleHttpError" \| "context.assign" \| "context.replace" \| "tpl.dispatchEvent" \| "message.subscribe" \| "message.unsubscribe" \| "theme.setDarkTheme" \| "theme.setLightTheme" \| "theme.setTheme" \| "mode.setDashboardMode" \| "mode.setDefaultMode" \| "menu.clearMenuTitleCache" \| "menu.clearMenuCache" \| "analytics.event" | 处理动作名。 |
27
27
  | [args](./brick-types.builtinbrickeventhandler.args.md) | unknown\[\] | 传递的参数列表 |
28
28
  | [callback](./brick-types.builtinbrickeventhandler.callback.md) | [BrickEventHandlerCallback](./brick-types.brickeventhandlercallback.md) | 事件处理回调。 |
29
29
  | [if](./brick-types.builtinbrickeventhandler.if.md) | string \| boolean | 根据条件决定是否执行该动作。 |
@@ -43,5 +43,6 @@ export interface MicroApp
43
43
  | [noAuthGuard](./brick-types.microapp.noauthguard.md) | boolean | 整个应用不启用登录守卫。 |
44
44
  | [private](./brick-types.microapp.private.md) | boolean | 标记为私有的应用不会出现在应用商店中。 |
45
45
  | [status](./brick-types.microapp.status.md) | "developing" \| "enabled" \| "disabled" | 应用状态。 |
46
+ | [theme](./brick-types.microapp.theme.md) | "light" \| "dark-v2" | 该应用所属主题, dark 已经被用大屏模式,这里使用 dark-v2 |
46
47
  | [userConfig](./brick-types.microapp.userconfig.md) | Record<string, unknown> | 应用的用户配置,在运行环境由用户维护。 |
47
48
 
@@ -0,0 +1,21 @@
1
+ ---
2
+ id: brick-types.microapp.theme
3
+ title: MicroApp.theme
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-types](./brick-types.md) &gt; [MicroApp](./brick-types.microapp.md) &gt; [theme](./brick-types.microapp.theme.md)
11
+
12
+ ## MicroApp.theme property
13
+
14
+ 该应用所属主题, dark 已经被用大屏模式,这里使用 dark-v2
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ theme?: "light" | "dark-v2";
20
+ ```
21
+
@@ -16,6 +16,6 @@ custom_edit_url: null
16
16
  **Signature:**
17
17
 
18
18
  ```typescript
19
- export declare type SiteTheme = "light" | "dark";
19
+ export declare type SiteTheme = "light" | "dark" | "dark-v2";
20
20
  ```
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/next-docs",
3
- "version": "1.2.181",
3
+ "version": "1.2.182",
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.97.0",
25
- "@next-core/brick-types": "^2.53.0",
24
+ "@next-core/brick-kit": "^2.98.0",
25
+ "@next-core/brick-types": "^2.54.0",
26
26
  "fs-extra": "^10.0.0"
27
27
  },
28
- "gitHead": "fca7b1155ba7b9a4694338f04d373d16570f524a"
28
+ "gitHead": "8e1ce8bf71ad1e9e847c9f4fc21b8530ddbefa11"
29
29
  }