@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.
Files changed (94) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/taro-components.cjs.js +1 -1
  3. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -0
  4. package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
  5. package/dist/collection/components/swiper/swiper.js +20 -0
  6. package/dist/collection/components/swiper/swiper.js.map +1 -1
  7. package/dist/esm/loader.js +1 -1
  8. package/dist/esm/taro-components.js +1 -1
  9. package/dist/esm/taro-swiper-core_2.entry.js +2 -0
  10. package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
  11. package/dist/esm-es5/loader.js +1 -1
  12. package/dist/esm-es5/loader.js.map +1 -1
  13. package/dist/esm-es5/taro-components.js +1 -1
  14. package/dist/esm-es5/taro-components.js.map +1 -1
  15. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  16. package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
  17. package/dist/react/component-lib/input.js +2 -2
  18. package/dist/react/component-lib/reactify-wc.js +13 -13
  19. package/dist/react/helper.js +1 -1
  20. package/dist/react/react-component-lib/createComponent.js +10 -10
  21. package/dist/react/react-component-lib/createOverlayComponent.js +18 -16
  22. package/dist/react/react-component-lib/utils/attachProps.js +1 -1
  23. package/dist/react/react-component-lib/utils/index.js +7 -6
  24. package/dist/taro-components/{p-1cd1c507.system.entry.js → p-6831f7b1.system.entry.js} +2 -2
  25. package/dist/taro-components/p-6831f7b1.system.entry.js.map +1 -0
  26. package/dist/taro-components/p-cb17d8bd.system.js +1 -1
  27. package/dist/taro-components/p-cb17d8bd.system.js.map +1 -1
  28. package/dist/taro-components/{p-a2aab820.entry.js → p-d388c097.entry.js} +2 -2
  29. package/dist/taro-components/p-d388c097.entry.js.map +1 -0
  30. package/dist/taro-components/taro-components.esm.js +1 -1
  31. package/dist/taro-components/taro-components.esm.js.map +1 -1
  32. package/dist/types/components/swiper/swiper.d.ts +4 -0
  33. package/dist/types/components.d.ts +8 -0
  34. package/dist/vue2/component-lib/createComponent.js +1 -1
  35. package/dist/vue2/component-lib/createFormsComponent.js +2 -2
  36. package/dist/vue2/component-lib/index.js +1 -1
  37. package/dist/vue2/component-lib/mixins/listeners.js +1 -1
  38. package/dist/vue2/component-lib/mixins/refs.js +1 -1
  39. package/dist/vue2/component-lib/picker.js +1 -1
  40. package/dist/vue2/component-lib/scroll-view.js +1 -1
  41. package/dist/vue2/components.js +3 -2
  42. package/dist/vue2/index.js +2 -2
  43. package/dist/vue2/vue-component-lib/utils.js +2 -2
  44. package/dist/vue3/component-lib/createComponent.js +1 -1
  45. package/dist/vue3/component-lib/createFormsComponent.js +3 -3
  46. package/dist/vue3/components.js +1 -1
  47. package/dist/vue3/index.js +1 -1
  48. package/dist/vue3/vue-component-lib/utils.js +3 -3
  49. package/package.json +4 -4
  50. package/types/Ad.d.ts +1 -1
  51. package/types/Audio.d.ts +1 -1
  52. package/types/Button.d.ts +1 -1
  53. package/types/Camera.d.ts +1 -1
  54. package/types/Canvas.d.ts +1 -1
  55. package/types/Checkbox.d.ts +1 -1
  56. package/types/CheckboxGroup.d.ts +1 -1
  57. package/types/CoverImage.d.ts +1 -1
  58. package/types/CoverView.d.ts +102 -4
  59. package/types/CustomWrapper.d.ts +1 -1
  60. package/types/Form.d.ts +1 -1
  61. package/types/Icon.d.ts +1 -1
  62. package/types/Image.d.ts +1 -1
  63. package/types/Input.d.ts +71 -8
  64. package/types/LivePlayer.d.ts +1 -1
  65. package/types/LivePusher.d.ts +1 -1
  66. package/types/Lottie.d.ts +0 -6
  67. package/types/Map.d.ts +1 -1
  68. package/types/MatchMedia.d.ts +1 -1
  69. package/types/MovableArea.d.ts +2 -2
  70. package/types/MovableView.d.ts +17 -17
  71. package/types/Navigator.d.ts +1 -1
  72. package/types/OpenData.d.ts +1 -1
  73. package/types/PageContainer.d.ts +28 -18
  74. package/types/PageMeta.d.ts +1 -1
  75. package/types/Picker.d.ts +1 -1
  76. package/types/PickerView.d.ts +1 -1
  77. package/types/Progress.d.ts +1 -1
  78. package/types/Radio.d.ts +1 -1
  79. package/types/RadioGroup.d.ts +1 -1
  80. package/types/RootPortal.d.ts +11 -2
  81. package/types/ScrollView.d.ts +1 -1
  82. package/types/ShareElement.d.ts +20 -10
  83. package/types/Slider.d.ts +1 -1
  84. package/types/Swiper.d.ts +13 -1
  85. package/types/SwiperItem.d.ts +3 -2
  86. package/types/Switch.d.ts +1 -1
  87. package/types/Text.d.ts +1 -1
  88. package/types/Textarea.d.ts +7 -1
  89. package/types/Video.d.ts +7 -1
  90. package/types/View.d.ts +1 -1
  91. package/types/WebView.d.ts +1 -1
  92. package/types/index.vue3.d.ts +268 -259
  93. package/dist/taro-components/p-1cd1c507.system.entry.js.map +0 -1
  94. package/dist/taro-components/p-a2aab820.entry.js.map +0 -1
@@ -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?: string
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, swan, alipay, tt, h5, rn
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, h5, rn, swan, alipay, tt
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
@@ -45,7 +45,7 @@ declare namespace TextProps {
45
45
 
46
46
  /** 文本
47
47
  * @classification base
48
- * @supported weapp, swan, alipay, tt, h5, rn
48
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
49
49
  * @example_react
50
50
  * ```tsx
51
51
  * export default class PageView extends Component {
@@ -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, swan, alipay, tt, h5, rn
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, swan, alipay, tt, h5, rn
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 {
@@ -49,7 +49,7 @@ declare namespace WebViewProps {
49
49
 
50
50
  /** web-view 组件是一个可以用来承载网页的容器,会自动铺满整个小程序页面。个人类型与海外类型的小程序暂不支持使用。
51
51
  * @classification open
52
- * @supported weapp, h5, rn, tt
52
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
53
53
  * @example_react
54
54
  * ```tsx
55
55
  * class App extends Component {