@ray-js/smart-ui 2.2.2-beta-3 → 2.2.2-beta-5
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.
|
@@ -8,7 +8,7 @@ export interface SmartPickerMultipleColumn {
|
|
|
8
8
|
values: SmartPickerSingleColumn[];
|
|
9
9
|
/**
|
|
10
10
|
* 列的样式
|
|
11
|
-
* @version
|
|
11
|
+
* @version 2.0.0
|
|
12
12
|
*/
|
|
13
13
|
style?: React.CSSProperties;
|
|
14
14
|
/**
|
|
@@ -121,7 +121,7 @@ export interface SmartPickerProps {
|
|
|
121
121
|
unit?: string;
|
|
122
122
|
/**
|
|
123
123
|
* 选中状态的样式
|
|
124
|
-
* @version
|
|
124
|
+
* @version 2.0.0
|
|
125
125
|
* @default ''
|
|
126
126
|
*/
|
|
127
127
|
activeStyle?: React.CSSProperties;
|
|
@@ -165,6 +165,16 @@ export interface SmartPickerEvents {
|
|
|
165
165
|
* 多列:`Picker` 实例,所有列选中值,当前列对应的索引
|
|
166
166
|
*/
|
|
167
167
|
onChange?: SmartEventHandler<SmartPickerBaseEventDetail>;
|
|
168
|
+
/**
|
|
169
|
+
* 滚动动画开始的回调
|
|
170
|
+
* @version 2.3.0
|
|
171
|
+
*/
|
|
172
|
+
onAnimationStart?: () => void;
|
|
173
|
+
/**
|
|
174
|
+
* 滚动动画结束的回调
|
|
175
|
+
* @version 2.3.0
|
|
176
|
+
*/
|
|
177
|
+
onAnimationEnd?: () => void;
|
|
168
178
|
}
|
|
169
179
|
export interface SmartPickerExternalClassName extends SmartBaseExternalClassName {
|
|
170
180
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.2.2-beta-
|
|
3
|
+
"version": "2.2.2-beta-5",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@ray-js/components-ty-slider": "^0.3.1",
|
|
38
|
-
"@tuya-miniapp/smart-ui": "2.
|
|
38
|
+
"@tuya-miniapp/smart-ui": "2.3.0-beta-4",
|
|
39
39
|
"lodash-es": "^4.17.21"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|