@tarojs/components 3.6.0-canary.7 → 3.6.0-canary.9
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/taro-tabbar.cjs.entry.js.map +1 -1
- package/dist/esm/taro-tabbar.entry.js.map +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js.map +1 -1
- package/dist/react/component-lib/index.js +20 -10
- package/dist/react/component-lib/input.js +2 -3
- package/dist/react/component-lib/reactify-wc.js +6 -43
- package/dist/react/components.js +0 -2
- package/dist/react/react-component-lib/createComponent.js +9 -29
- package/dist/react/react-component-lib/createOverlayComponent.js +2 -29
- package/dist/react/react-component-lib/utils/attachProps.js +9 -18
- package/dist/react/react-component-lib/utils/index.js +0 -2
- package/dist/taro-components/p-49a6cae4.system.entry.js.map +1 -1
- package/dist/taro-components/p-e0d6b00b.entry.js.map +1 -1
- package/dist/vue2/component-lib/components.js +22 -11
- package/dist/vue2/component-lib/createFormsComponent.js +0 -5
- package/dist/vue2/component-lib/index.js +6 -8
- package/dist/vue2/component-lib/mixins/refs.js +0 -5
- package/dist/vue2/components.js +0 -3
- package/dist/vue2/index.js +3 -7
- package/dist/vue2/vue-component-lib/utils.js +0 -1
- package/dist/vue3/component-lib/createComponent.js +1 -1
- package/dist/vue3/component-lib/createFormsComponent.js +3 -8
- package/dist/vue3/component-lib/forwardRef.js +0 -2
- package/dist/vue3/component-lib/icon.js +2 -2
- package/dist/vue3/component-lib/image.js +2 -2
- package/dist/vue3/component-lib/index.js +22 -11
- package/dist/vue3/component-lib/scroll-view.js +2 -2
- package/dist/vue3/component-lib/text.js +2 -2
- package/dist/vue3/components.js +0 -2
- package/dist/vue3/index.js +2 -4
- package/dist/vue3/vue-component-lib/utils.js +7 -29
- package/package.json +4 -4
- package/types/Button.d.ts +1 -1
- package/types/Camera.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/CustomWrapper.d.ts +1 -0
- 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 +15 -1
- package/types/Label.d.ts +1 -1
- package/types/NativeSlot.d.ts +1 -0
- package/types/NavigationBar.d.ts +2 -1
- package/types/Navigator.d.ts +1 -1
- package/types/Picker.d.ts +1 -1
- package/types/PickerView.d.ts +1 -1
- package/types/PickerViewColumn.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/RichText.d.ts +1 -1
- package/types/ScrollView.d.ts +1 -1
- package/types/ShareElement.d.ts +3 -3
- package/types/Slider.d.ts +1 -1
- package/types/Slot.d.ts +2 -1
- package/types/Swiper.d.ts +1 -1
- package/types/SwiperItem.d.ts +1 -1
- package/types/Switch.d.ts +1 -1
- package/types/Textarea.d.ts +1 -1
- package/types/Video.d.ts +1 -1
- package/types/View.d.ts +1 -1
- package/types/WebView.d.ts +1 -1
- package/virtual-list/index.js +3 -2
package/types/Swiper.d.ts
CHANGED
|
@@ -247,7 +247,7 @@ declare namespace SwiperProps {
|
|
|
247
247
|
/** 滑块视图容器。其中只可放置 swiper-item 组件,否则会导致未定义的行为。
|
|
248
248
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
249
249
|
* @classification viewContainer
|
|
250
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
250
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
251
251
|
* @example_react
|
|
252
252
|
* ```tsx
|
|
253
253
|
* class App extends Component {
|
package/types/SwiperItem.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ interface SwiperItemProps extends StandardProps {
|
|
|
16
16
|
/** 仅可放置在 swiper 组件中,宽高自动设置为100%
|
|
17
17
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
18
18
|
* @classification viewContainer
|
|
19
|
-
* @supported weapp, alipay, swan, tt, jd, h5, rn
|
|
19
|
+
* @supported weapp, alipay, swan, tt, jd, h5, rn, harmony
|
|
20
20
|
* @example_react
|
|
21
21
|
* ```tsx
|
|
22
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, alipay, swan, tt, qq, jd, h5, rn
|
|
96
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
97
97
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
98
98
|
*/
|
|
99
99
|
declare const Switch: ComponentType<SwitchProps>
|
package/types/Textarea.d.ts
CHANGED
|
@@ -224,7 +224,7 @@ declare namespace TextareaProps {
|
|
|
224
224
|
|
|
225
225
|
/** 多行输入框。该组件是原生组件,使用时请注意相关限制
|
|
226
226
|
* @classification forms
|
|
227
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
227
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
228
228
|
* @example_react
|
|
229
229
|
* ```tsx
|
|
230
230
|
* export default class PageView extends Component {
|
package/types/Video.d.ts
CHANGED
|
@@ -643,7 +643,7 @@ declare namespace VideoProps {
|
|
|
643
643
|
|
|
644
644
|
/** 视频。相关api:Taro.createVideoContext
|
|
645
645
|
* @classification media
|
|
646
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
646
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
647
647
|
* @example_react
|
|
648
648
|
* ```tsx
|
|
649
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, alipay, swan, tt, qq, jd, h5, rn
|
|
145
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
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, alipay, swan, tt, qq, jd, h5, rn
|
|
52
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
53
53
|
* @example_react
|
|
54
54
|
* ```tsx
|
|
55
55
|
* class App extends Component {
|
package/virtual-list/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const VirtualList = require('@tarojs/components-advanced/dist/components/virtual-list/index.js')
|
|
2
2
|
|
|
3
|
-
module.exports
|
|
3
|
+
module.exports = VirtualList
|
|
4
|
+
module.exports.default = VirtualList.default
|