@next-core/next-docs 1.2.259 → 1.2.262

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,30 @@
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.262](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.261...@next-core/next-docs@1.2.262) (2022-05-27)
7
+
8
+ **Note:** Version bump only for package @next-core/next-docs
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.2.261](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.260...@next-core/next-docs@1.2.261) (2022-05-26)
15
+
16
+ **Note:** Version bump only for package @next-core/next-docs
17
+
18
+
19
+
20
+
21
+
22
+ ## [1.2.260](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.259...@next-core/next-docs@1.2.260) (2022-05-13)
23
+
24
+ **Note:** Version bump only for package @next-core/next-docs
25
+
26
+
27
+
28
+
29
+
6
30
  ## [1.2.259](https://github.com/easyops-cn/next-core/compare/@next-core/next-docs@1.2.258...@next-core/next-docs@1.2.259) (2022-05-11)
7
31
 
8
32
  **Note:** Version bump only for package @next-core/next-docs
@@ -51,5 +51,6 @@ export interface BrickLifeCycle
51
51
  | [onBeforePageLoad](./brick-types.bricklifecycle.onbeforepageload.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面加载前要执行的动作。 |
52
52
  | [onMediaChange](./brick-types.bricklifecycle.onmediachange.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面渲染完成后,当求值占位符的 MEDIA 全局对象改变时,需要处理的动作。 |
53
53
  | [onPageLoad](./brick-types.bricklifecycle.onpageload.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | 定义构件在页面加载完成后的动作。 |
54
+ | [onScrollIntoView](./brick-types.bricklifecycle.onscrollintoview.md) | [ScrollIntoViewConf](./brick-types.scrollintoviewconf.md) | 定义构件与窗口视图交集大小超过阈值(threshold)规定的大小时候执行的动作 |
54
55
  | [useResolves](./brick-types.bricklifecycle.useresolves.md) | [ResolveConf](./brick-types.resolveconf.md)<!-- -->\[\] | 定义在构件装载前需要进行的异步数据处理,计算结果将作为属性表赋值给构件。 |
55
56
 
@@ -0,0 +1,23 @@
1
+ ---
2
+ id: brick-types.bricklifecycle.onscrollintoview
3
+ title: BrickLifeCycle.onScrollIntoView
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; [BrickLifeCycle](./brick-types.bricklifecycle.md) &gt; [onScrollIntoView](./brick-types.bricklifecycle.onscrollintoview.md)
11
+
12
+ ## BrickLifeCycle.onScrollIntoView property
13
+
14
+ 定义构件与窗口视图交集大小超过阈值(threshold)规定的大小时候执行的动作
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ onScrollIntoView?: ScrollIntoViewConf;
20
+ ```
21
+
22
+ **Reference:** [ScrollIntoViewConf](./brick-types.scrollintoviewconf.md)
23
+
@@ -103,6 +103,7 @@ The core types of Brick Next.
103
103
  | [RouteConfOfRedirect](./brick-types.routeconfofredirect.md) | 使用重定向的路由配置。 |
104
104
  | [RouteConfOfRoutes](./brick-types.routeconfofroutes.md) | 包含一组子路由的路由配置。 |
105
105
  | [RuntimeMisc](./brick-types.runtimemisc.md) | 运行时杂项信息。 |
106
+ | [ScrollIntoViewConf](./brick-types.scrollintoviewconf.md) | <code>threshold</code>范围在\[0,1\], 默认0.1 |
106
107
  | [SegueConf](./brick-types.segueconf.md) | 页面切换配置。 |
107
108
  | [SeguesConf](./brick-types.seguesconf.md) | 页面切换配置表。 |
108
109
  | [SelectorProviderResolveConf](./brick-types.selectorproviderresolveconf.md) | 使用 CSS selector 指定 Provider 的异步数据处理配置。 |
@@ -0,0 +1,21 @@
1
+ ---
2
+ id: brick-types.scrollintoviewconf.handlers
3
+ title: ScrollIntoViewConf.handlers
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; [ScrollIntoViewConf](./brick-types.scrollintoviewconf.md) &gt; [handlers](./brick-types.scrollintoviewconf.handlers.md)
11
+
12
+ ## ScrollIntoViewConf.handlers property
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ handlers: BrickEventHandler | BrickEventHandler[];
18
+ ```
19
+
20
+ **Reference:** [BrickEventHandler](./brick-types.brickeventhandler.md)
21
+
@@ -0,0 +1,28 @@
1
+ ---
2
+ id: brick-types.scrollintoviewconf
3
+ title: ScrollIntoViewConf
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; [ScrollIntoViewConf](./brick-types.scrollintoviewconf.md)
11
+
12
+ ## ScrollIntoViewConf interface
13
+
14
+ `threshold`<!-- -->范围在\[0,1\], 默认0.1
15
+
16
+ **Signature:**
17
+
18
+ ```typescript
19
+ export interface ScrollIntoViewConf
20
+ ```
21
+
22
+ ## Properties
23
+
24
+ | Property | Type | Description |
25
+ | --- | --- | --- |
26
+ | [handlers](./brick-types.scrollintoviewconf.handlers.md) | [BrickEventHandler](./brick-types.brickeventhandler.md) \| [BrickEventHandler](./brick-types.brickeventhandler.md)<!-- -->\[\] | |
27
+ | [threshold](./brick-types.scrollintoviewconf.threshold.md) | number | |
28
+
@@ -0,0 +1,19 @@
1
+ ---
2
+ id: brick-types.scrollintoviewconf.threshold
3
+ title: ScrollIntoViewConf.threshold
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; [ScrollIntoViewConf](./brick-types.scrollintoviewconf.md) &gt; [threshold](./brick-types.scrollintoviewconf.threshold.md)
11
+
12
+ ## ScrollIntoViewConf.threshold property
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ threshold?: number;
18
+ ```
19
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/next-docs",
3
- "version": "1.2.259",
3
+ "version": "1.2.262",
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.119.0",
25
- "@next-core/brick-types": "^2.61.7",
24
+ "@next-core/brick-kit": "^2.120.1",
25
+ "@next-core/brick-types": "^2.62.0",
26
26
  "fs-extra": "^10.1.0"
27
27
  },
28
- "gitHead": "4ac9ae3a07fb5cc0472e92a583e333003805f8a9"
28
+ "gitHead": "f374310ef07d117ae267af140bc105a0f2198ad9"
29
29
  }