@tarojs/components 3.6.23 → 3.6.24-nightly.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/components",
3
- "version": "3.6.23",
3
+ "version": "3.6.24-nightly.1",
4
4
  "description": "Taro 组件库",
5
5
  "browser": "dist/index.js",
6
6
  "main:h5": "dist/index.js",
@@ -36,8 +36,8 @@
36
36
  "resolve-pathname": "^3.0.0",
37
37
  "tslib": "^2.6.2",
38
38
  "swiper": "6.8.0",
39
- "@tarojs/components-advanced": "3.6.23",
40
- "@tarojs/taro": "3.6.23"
39
+ "@tarojs/components-advanced": "3.6.24-nightly.1",
40
+ "@tarojs/taro": "3.6.24-nightly.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/generator": "^7.20.0",
package/types/Input.d.ts CHANGED
@@ -6,7 +6,7 @@ interface InputProps extends StandardProps, FormItemProps {
6
6
  */
7
7
  value?: string
8
8
  /** 设置 React 非受控输入框的初始内容
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
10
  * @unique
11
11
  */
12
12
  defaultValue?: string
package/types/Picker.d.ts CHANGED
@@ -3,6 +3,11 @@ import { StyleProp, TextStyle, ViewStyle } from 'react-native'
3
3
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
4
4
  /** 选择器通用参数 */
5
5
  interface PickerStandardProps extends StandardProps, FormItemProps {
6
+ /**
7
+ * 选择器的标题,微信小程序中仅安卓可用
8
+ * @supported weapp
9
+ */
10
+ headerText?: string
6
11
  /**
7
12
  * 选择器类型,默认是普通选择器
8
13
  * @default "selector"
@@ -62,7 +67,7 @@ interface PickerSelectorProps extends PickerStandardProps {
62
67
  */
63
68
  value?: number
64
69
  /** 设置 React 非受控状态下的初始取值
65
- * @supported weapp, h5, rn
70
+ * @supported weapp, h5, rn, harmony_hybrid
66
71
  */
67
72
  defaultValue?: number
68
73
  /**
package/types/Slider.d.ts CHANGED
@@ -27,7 +27,7 @@ interface SliderProps extends StandardProps, FormItemProps {
27
27
  */
28
28
  value?: number
29
29
  /** 设置 React 非受控状态下的初始取值
30
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
30
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
31
31
  * @unique
32
32
  */
33
33
  defaultValue?: string
package/types/Switch.d.ts CHANGED
@@ -7,7 +7,7 @@ interface SwitchProps extends StandardProps, FormItemProps {
7
7
  */
8
8
  checked?: boolean
9
9
  /** 设置在 React 非受控状态下,当前是否选中
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
11
11
  * @unique
12
12
  */
13
13
  defaultChecked?: boolean
@@ -6,7 +6,7 @@ interface TextareaProps extends StandardProps, FormItemProps {
6
6
  */
7
7
  value?: string
8
8
  /** 设置 React 非受控输入框的初始内容
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
10
  * @unique
11
11
  */
12
12
  defaultValue?: string