@tarojs/components 3.5.0-alpha.12 → 3.5.0-alpha.13
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/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +3 -3
- package/dist-h5/react/utils/reactify-wc.js +1 -1
- package/dist-h5/vue/index.js +1 -1
- package/dist-h5/vue3/createFormsComponent.js +1 -1
- package/package.json +3 -3
- package/types/props.ts +3 -4
- package/virtual-list/memoize.js +1 -0
- package/virtual-list/react/createListComponent.js +2 -1
- package/virtual-list/react/index.js +2 -1
- package/virtual-list/timer.js +1 -1
- package/virtual-list/vue/index.js +1 -1
package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export { FormProps } from './Form';
|
|
|
26
26
|
export { InputProps } from './Input';
|
|
27
27
|
export { KeyboardAccessoryProps } from './KeyboardAccessory';
|
|
28
28
|
export { LabelProps } from './Label';
|
|
29
|
-
export { PickerDateProps,
|
|
29
|
+
export { PickerDateProps, PickerMultiSelectorProps, PickerRegionProps, PickerSelectorProps, PickerTimeProps } from './Picker';
|
|
30
30
|
export { PickerViewProps } from './PickerView';
|
|
31
31
|
export { PickerViewColumnProps } from './PickerViewColumn';
|
|
32
32
|
export { RadioProps } from './Radio';
|
|
@@ -36,8 +36,8 @@ export { SwitchProps } from './Switch';
|
|
|
36
36
|
export { TextareaProps } from './Textarea';
|
|
37
37
|
/** 导航 */
|
|
38
38
|
export { FunctionalPageNavigatorProps } from './FunctionalPageNavigator';
|
|
39
|
-
export { NavigatorProps } from './Navigator';
|
|
40
39
|
export { NavigationBarProps } from './NavigationBar';
|
|
40
|
+
export { NavigatorProps } from './Navigator';
|
|
41
41
|
/** 媒体组件 */
|
|
42
42
|
export { AudioProps } from './Audio';
|
|
43
43
|
export { CameraProps } from './Camera';
|
|
@@ -57,6 +57,6 @@ export { OfficialAccountProps } from './OfficialAccount';
|
|
|
57
57
|
export { OpenDataProps } from './OpenData';
|
|
58
58
|
export { WebViewProps } from './WebView';
|
|
59
59
|
/** 配置节点 */
|
|
60
|
-
export { PageMetaProps } from './PageMeta';
|
|
61
60
|
export { CustomWrapperProps } from './CustomWrapper';
|
|
61
|
+
export { PageMetaProps } from './PageMeta';
|
|
62
62
|
export { SlotProps } from './Slot';
|
|
@@ -20,7 +20,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
20
20
|
* https://github.com/BBKolton/reactify-wc/
|
|
21
21
|
* modified event naming
|
|
22
22
|
**/
|
|
23
|
-
import React, {
|
|
23
|
+
import React, { createElement, createRef } from 'react'; // eslint-disable-next-line
|
|
24
24
|
|
|
25
25
|
var h = React.createElement;
|
|
26
26
|
var SCROLL_VIEW = 'taro-scroll-view-core'; // 为了不要覆盖 wc 中 host 内置的 class 和 stencil 加入的 class
|
package/dist-h5/vue/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import Vue from 'vue';
|
|
3
|
+
import components from './components';
|
|
3
4
|
import createComponent from './createComponent';
|
|
4
5
|
import createFormsComponent from './createFormsComponent';
|
|
5
|
-
import components from './components';
|
|
6
6
|
components.forEach(function (params) {
|
|
7
7
|
if (typeof params === 'string') {
|
|
8
8
|
Vue.component(params, createComponent(params));
|
|
@@ -5,7 +5,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
5
5
|
|
|
6
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
7
|
|
|
8
|
-
import { h, toRefs
|
|
8
|
+
import { computed, h, toRefs } from 'vue';
|
|
9
9
|
import { useForwardRef } from './forwardRef';
|
|
10
10
|
export default function createFormsComponent(name, eventName) {
|
|
11
11
|
var modelValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'value';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "3.5.0-alpha.
|
|
3
|
+
"version": "3.5.0-alpha.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "dist/index.js",
|
|
6
6
|
"main:h5": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@stencil/core": "~2.13.0",
|
|
43
43
|
"@stencil/sass": "1.5.2",
|
|
44
|
-
"@tarojs/taro": "3.5.0-alpha.
|
|
44
|
+
"@tarojs/taro": "3.5.0-alpha.13",
|
|
45
45
|
"better-scroll": "^1.14.1",
|
|
46
46
|
"classnames": "^2.2.5",
|
|
47
47
|
"hls.js": "^1.1.5",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"optional": true
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "1e201315913fbeb3a71f14c93a5e7a2fa490e4c4"
|
|
72
72
|
}
|
package/types/props.ts
CHANGED
|
@@ -28,7 +28,7 @@ export { FormProps } from './Form'
|
|
|
28
28
|
export { InputProps } from './Input'
|
|
29
29
|
export { KeyboardAccessoryProps } from './KeyboardAccessory'
|
|
30
30
|
export { LabelProps } from './Label'
|
|
31
|
-
export { PickerDateProps,
|
|
31
|
+
export { PickerDateProps, PickerMultiSelectorProps, PickerRegionProps, PickerSelectorProps, PickerTimeProps } from './Picker'
|
|
32
32
|
export { PickerViewProps } from './PickerView'
|
|
33
33
|
export { PickerViewColumnProps } from './PickerViewColumn'
|
|
34
34
|
export { RadioProps } from './Radio'
|
|
@@ -39,8 +39,8 @@ export { TextareaProps } from './Textarea'
|
|
|
39
39
|
|
|
40
40
|
/** 导航 */
|
|
41
41
|
export { FunctionalPageNavigatorProps } from './FunctionalPageNavigator'
|
|
42
|
-
export { NavigatorProps } from './Navigator'
|
|
43
42
|
export { NavigationBarProps } from './NavigationBar'
|
|
43
|
+
export { NavigatorProps } from './Navigator'
|
|
44
44
|
// export { TabbarProps } from './Tabbar'
|
|
45
45
|
// export { TabbarItemProps } from './TabbarItem'
|
|
46
46
|
|
|
@@ -67,7 +67,6 @@ export { OpenDataProps } from './OpenData'
|
|
|
67
67
|
export { WebViewProps } from './WebView'
|
|
68
68
|
|
|
69
69
|
/** 配置节点 */
|
|
70
|
-
export { PageMetaProps } from './PageMeta'
|
|
71
|
-
|
|
72
70
|
export { CustomWrapperProps } from './CustomWrapper'
|
|
71
|
+
export { PageMetaProps } from './PageMeta'
|
|
73
72
|
export { SlotProps } from './Slot'
|
package/virtual-list/memoize.js
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
/* eslint-disable no-void */
|
|
4
4
|
/* eslint-disable no-return-assign */
|
|
5
5
|
import { createSelectorQuery } from '@tarojs/taro'
|
|
6
|
+
import { createElement, PureComponent } from 'react'
|
|
7
|
+
|
|
6
8
|
import { getRTLOffsetType } from '../domHelpers'
|
|
7
9
|
import { memoizeOne } from '../memoize'
|
|
8
|
-
import { createElement, PureComponent } from 'react'
|
|
9
10
|
import { cancelTimeout, requestTimeout } from '../timer'
|
|
10
11
|
|
|
11
12
|
const IS_SCROLLING_DEBOUNCE_INTERVAL = 200
|
package/virtual-list/timer.js
CHANGED