@tarojs/components 3.6.0-canary.4 → 3.6.0-canary.6
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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -0
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
- package/dist/collection/components/swiper/swiper.js +20 -0
- package/dist/collection/components/swiper/swiper.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +2 -0
- package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-components.js.map +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/react/component-lib/input.js +2 -2
- package/dist/react/component-lib/reactify-wc.js +13 -13
- package/dist/react/helper.js +1 -1
- package/dist/react/react-component-lib/createComponent.js +10 -10
- package/dist/react/react-component-lib/createOverlayComponent.js +18 -16
- package/dist/react/react-component-lib/utils/attachProps.js +1 -1
- package/dist/react/react-component-lib/utils/index.js +7 -6
- package/dist/taro-components/{p-1cd1c507.system.entry.js → p-6831f7b1.system.entry.js} +2 -2
- package/dist/taro-components/p-6831f7b1.system.entry.js.map +1 -0
- package/dist/taro-components/p-cb17d8bd.system.js +1 -1
- package/dist/taro-components/p-cb17d8bd.system.js.map +1 -1
- package/dist/taro-components/{p-a2aab820.entry.js → p-d388c097.entry.js} +2 -2
- package/dist/taro-components/p-d388c097.entry.js.map +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.esm.js.map +1 -1
- package/dist/types/components/swiper/swiper.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/vue2/component-lib/createComponent.js +1 -1
- package/dist/vue2/component-lib/createFormsComponent.js +2 -2
- package/dist/vue2/component-lib/index.js +1 -1
- package/dist/vue2/component-lib/mixins/listeners.js +1 -1
- package/dist/vue2/component-lib/mixins/refs.js +1 -1
- package/dist/vue2/component-lib/picker.js +1 -1
- package/dist/vue2/component-lib/scroll-view.js +1 -1
- package/dist/vue2/components.js +3 -2
- package/dist/vue2/index.js +2 -2
- package/dist/vue2/vue-component-lib/utils.js +2 -2
- package/dist/vue3/component-lib/createComponent.js +1 -1
- package/dist/vue3/component-lib/createFormsComponent.js +3 -3
- package/dist/vue3/components.js +1 -1
- package/dist/vue3/index.js +1 -1
- package/dist/vue3/vue-component-lib/utils.js +3 -3
- package/package.json +4 -4
- package/types/Ad.d.ts +1 -1
- package/types/Audio.d.ts +1 -1
- package/types/Button.d.ts +1 -1
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +1 -1
- package/types/Checkbox.d.ts +1 -1
- package/types/CheckboxGroup.d.ts +1 -1
- package/types/CoverImage.d.ts +1 -1
- package/types/CoverView.d.ts +102 -4
- package/types/CustomWrapper.d.ts +1 -1
- package/types/Form.d.ts +1 -1
- package/types/Icon.d.ts +1 -1
- package/types/Image.d.ts +1 -1
- package/types/Input.d.ts +71 -8
- package/types/LivePlayer.d.ts +1 -1
- package/types/LivePusher.d.ts +1 -1
- package/types/Lottie.d.ts +0 -6
- package/types/Map.d.ts +1 -1
- package/types/MatchMedia.d.ts +1 -1
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +17 -17
- package/types/Navigator.d.ts +1 -1
- package/types/OpenData.d.ts +1 -1
- package/types/PageContainer.d.ts +28 -18
- package/types/PageMeta.d.ts +1 -1
- package/types/Picker.d.ts +1 -1
- package/types/PickerView.d.ts +1 -1
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +1 -1
- package/types/RadioGroup.d.ts +1 -1
- package/types/RootPortal.d.ts +11 -2
- package/types/ScrollView.d.ts +1 -1
- package/types/ShareElement.d.ts +20 -10
- package/types/Slider.d.ts +1 -1
- package/types/Swiper.d.ts +13 -1
- package/types/SwiperItem.d.ts +3 -2
- package/types/Switch.d.ts +1 -1
- package/types/Text.d.ts +1 -1
- package/types/Textarea.d.ts +7 -1
- package/types/Video.d.ts +7 -1
- package/types/View.d.ts +1 -1
- package/types/WebView.d.ts +1 -1
- package/types/index.vue3.d.ts +268 -259
- package/dist/taro-components/p-1cd1c507.system.entry.js.map +0 -1
- package/dist/taro-components/p-a2aab820.entry.js.map +0 -1
package/types/SwiperItem.d.ts
CHANGED
|
@@ -7,15 +7,16 @@ interface SwiperItemProps extends StandardProps {
|
|
|
7
7
|
itemId?: string
|
|
8
8
|
|
|
9
9
|
/** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
|
|
10
|
+
* @default false
|
|
10
11
|
* @supported weapp
|
|
11
12
|
*/
|
|
12
|
-
skipHiddenItemLayout?:
|
|
13
|
+
skipHiddenItemLayout?: boolean
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
/** 仅可放置在 swiper 组件中,宽高自动设置为100%
|
|
16
17
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
17
18
|
* @classification viewContainer
|
|
18
|
-
* @supported weapp,
|
|
19
|
+
* @supported weapp, alipay, swan, tt, jd, h5, rn
|
|
19
20
|
* @example_react
|
|
20
21
|
* ```tsx
|
|
21
22
|
* class App extends Component {
|
package/types/Switch.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ declare namespace SwitchProps {
|
|
|
93
93
|
* </view>
|
|
94
94
|
* </template>
|
|
95
95
|
* ```
|
|
96
|
-
* @supported weapp,
|
|
96
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
97
97
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
98
98
|
*/
|
|
99
99
|
declare const Switch: ComponentType<SwitchProps>
|
package/types/Text.d.ts
CHANGED
package/types/Textarea.d.ts
CHANGED
|
@@ -136,6 +136,12 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
136
136
|
*/
|
|
137
137
|
controlled?: string
|
|
138
138
|
|
|
139
|
+
/** 使用原生键盘
|
|
140
|
+
* @default false
|
|
141
|
+
* @supported alipay
|
|
142
|
+
*/
|
|
143
|
+
enableNative?: boolean
|
|
144
|
+
|
|
139
145
|
/** 无障碍访问,(属性)元素的额外描述
|
|
140
146
|
* @supported qq
|
|
141
147
|
*/
|
|
@@ -218,7 +224,7 @@ declare namespace TextareaProps {
|
|
|
218
224
|
|
|
219
225
|
/** 多行输入框。该组件是原生组件,使用时请注意相关限制
|
|
220
226
|
* @classification forms
|
|
221
|
-
* @supported weapp, h5, rn
|
|
227
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
222
228
|
* @example_react
|
|
223
229
|
* ```tsx
|
|
224
230
|
* export default class PageView extends Component {
|
package/types/Video.d.ts
CHANGED
|
@@ -282,6 +282,12 @@ interface VideoProps extends StandardProps {
|
|
|
282
282
|
*/
|
|
283
283
|
mobilenetHintType?: string
|
|
284
284
|
|
|
285
|
+
/** 使用原生
|
|
286
|
+
* @default true
|
|
287
|
+
* @supported alipay
|
|
288
|
+
*/
|
|
289
|
+
enableNative?: boolean
|
|
290
|
+
|
|
285
291
|
/** 浮窗设置。暂时不支持全局浮窗。
|
|
286
292
|
* 可选值:
|
|
287
293
|
*
|
|
@@ -637,7 +643,7 @@ declare namespace VideoProps {
|
|
|
637
643
|
|
|
638
644
|
/** 视频。相关api:Taro.createVideoContext
|
|
639
645
|
* @classification media
|
|
640
|
-
* @supported weapp,
|
|
646
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
641
647
|
* @example_react
|
|
642
648
|
* ```tsx
|
|
643
649
|
* export default class PageView extends Component {
|
package/types/View.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ interface ViewProps extends StandardProps {
|
|
|
142
142
|
|
|
143
143
|
/** 视图容器
|
|
144
144
|
* @classification viewContainer
|
|
145
|
-
* @supported weapp,
|
|
145
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
146
146
|
* @example_react
|
|
147
147
|
* ```tsx
|
|
148
148
|
* export default class PageView extends Component {
|
package/types/WebView.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ declare namespace WebViewProps {
|
|
|
49
49
|
|
|
50
50
|
/** web-view 组件是一个可以用来承载网页的容器,会自动铺满整个小程序页面。个人类型与海外类型的小程序暂不支持使用。
|
|
51
51
|
* @classification open
|
|
52
|
-
* @supported weapp,
|
|
52
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
53
53
|
* @example_react
|
|
54
54
|
* ```tsx
|
|
55
55
|
* class App extends Component {
|