@tarojs/components 3.6.0-canary.5 → 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/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/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 +1 -1
- 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/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/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 +1 -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 +2 -1
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 {
|
package/types/index.vue3.d.ts
CHANGED
|
@@ -282,7 +282,8 @@ declare global {
|
|
|
282
282
|
|
|
283
283
|
'custom-wrapper': ElementAttrs<TransformReact2VueType<CustomWrapperProps>>
|
|
284
284
|
'taro-custom-wrapper-core': ElementAttrs<TransformReact2VueType<CustomWrapperProps>>
|
|
285
|
-
|
|
285
|
+
/** 为了不与vue3模板默认的slot冲突,增加 Record<string, any> */
|
|
286
|
+
'slot': ElementAttrs<TransformReact2VueType<SlotProps>> & Record<string, any>
|
|
286
287
|
'taro-slot-core': ElementAttrs<TransformReact2VueType<SlotProps>>
|
|
287
288
|
}
|
|
288
289
|
}
|