@ray-js/smart-ui 2.12.0-beta-4 → 2.12.0-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.
|
@@ -274,6 +274,18 @@ export interface SmartFieldProps {
|
|
|
274
274
|
* @default false
|
|
275
275
|
*/
|
|
276
276
|
extraEventParams?: boolean;
|
|
277
|
+
/**
|
|
278
|
+
* 是否开启数字格式化(千分位、小数位按 locale 展示)
|
|
279
|
+
* @since `v2.12.0`
|
|
280
|
+
* @default false
|
|
281
|
+
*/
|
|
282
|
+
numberFormat?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* 数字格式化使用的地区,如 `de`、`fr`,空则跟随系统
|
|
285
|
+
* @since `v2.12.0`
|
|
286
|
+
* @default ''
|
|
287
|
+
*/
|
|
288
|
+
locale?: string;
|
|
277
289
|
}
|
|
278
290
|
/**
|
|
279
291
|
* @deprecated
|
|
@@ -115,6 +115,13 @@ export interface SmartNavBarProps {
|
|
|
115
115
|
* @default true
|
|
116
116
|
*/
|
|
117
117
|
safeAreaInsetTop?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* 左侧 Icon 颜色
|
|
120
|
+
*
|
|
121
|
+
* @version v2.7.0
|
|
122
|
+
* @default ''
|
|
123
|
+
*/
|
|
124
|
+
leftIconColor?: string;
|
|
118
125
|
/**
|
|
119
126
|
* @description 背景色
|
|
120
127
|
* @version v2.7.0
|
|
@@ -183,6 +190,18 @@ export interface SmartNavBarExternalClassName extends SmartBaseExternalClassName
|
|
|
183
190
|
* @version 2.1.0
|
|
184
191
|
*/
|
|
185
192
|
rightTextClass?: string;
|
|
193
|
+
/**
|
|
194
|
+
* 右侧图标样式类
|
|
195
|
+
*
|
|
196
|
+
* @version v2.7.0
|
|
197
|
+
*/
|
|
198
|
+
rightIconClass?: string;
|
|
199
|
+
/**
|
|
200
|
+
* 左侧文字样式类
|
|
201
|
+
*
|
|
202
|
+
* @version v2.7.0
|
|
203
|
+
*/
|
|
204
|
+
leftTextClass?: string;
|
|
186
205
|
}
|
|
187
206
|
export interface SmartNavBarSlot {
|
|
188
207
|
/**
|
|
@@ -274,6 +274,18 @@ export interface SmartFieldProps {
|
|
|
274
274
|
* @default false
|
|
275
275
|
*/
|
|
276
276
|
extraEventParams?: boolean;
|
|
277
|
+
/**
|
|
278
|
+
* 是否开启数字格式化(千分位、小数位按 locale 展示)
|
|
279
|
+
* @since `v2.12.0`
|
|
280
|
+
* @default false
|
|
281
|
+
*/
|
|
282
|
+
numberFormat?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* 数字格式化使用的地区,如 `de`、`fr`,空则跟随系统
|
|
285
|
+
* @since `v2.12.0`
|
|
286
|
+
* @default ''
|
|
287
|
+
*/
|
|
288
|
+
locale?: string;
|
|
277
289
|
}
|
|
278
290
|
/**
|
|
279
291
|
* @deprecated
|
|
@@ -115,6 +115,13 @@ export interface SmartNavBarProps {
|
|
|
115
115
|
* @default true
|
|
116
116
|
*/
|
|
117
117
|
safeAreaInsetTop?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* 左侧 Icon 颜色
|
|
120
|
+
*
|
|
121
|
+
* @version v2.7.0
|
|
122
|
+
* @default ''
|
|
123
|
+
*/
|
|
124
|
+
leftIconColor?: string;
|
|
118
125
|
/**
|
|
119
126
|
* @description 背景色
|
|
120
127
|
* @version v2.7.0
|
|
@@ -183,6 +190,18 @@ export interface SmartNavBarExternalClassName extends SmartBaseExternalClassName
|
|
|
183
190
|
* @version 2.1.0
|
|
184
191
|
*/
|
|
185
192
|
rightTextClass?: string;
|
|
193
|
+
/**
|
|
194
|
+
* 右侧图标样式类
|
|
195
|
+
*
|
|
196
|
+
* @version v2.7.0
|
|
197
|
+
*/
|
|
198
|
+
rightIconClass?: string;
|
|
199
|
+
/**
|
|
200
|
+
* 左侧文字样式类
|
|
201
|
+
*
|
|
202
|
+
* @version v2.7.0
|
|
203
|
+
*/
|
|
204
|
+
leftTextClass?: string;
|
|
186
205
|
}
|
|
187
206
|
export interface SmartNavBarSlot {
|
|
188
207
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
-
"version": "2.12.0-beta-
|
|
3
|
+
"version": "2.12.0-beta-5",
|
|
4
4
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"syncMiniappData": "node ./build/syncMiniappData.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ray-js/components-ty-slider": "^0.3.8",
|
|
45
|
-
"@tuya-miniapp/smart-ui": "2.12.0-beta-
|
|
45
|
+
"@tuya-miniapp/smart-ui": "2.12.0-beta-5",
|
|
46
46
|
"lodash-es": "^4.17.21"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|