@ray-js/smart-ui 2.0.1-beta-10 → 2.1.0-beta-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.
@@ -246,6 +246,29 @@ export interface SmartFieldProps {
246
246
  * @default false
247
247
  */
248
248
  alwaysEmbed?: boolean;
249
+ /**
250
+ * 隐藏左侧label相关内容
251
+ * @since `v2.1.0`
252
+ * @default false
253
+ */
254
+ hiddenLabel?: boolean;
255
+ /**
256
+ * 卡片模式
257
+ * @since `v2.1.0`
258
+ * @default false
259
+ */
260
+ cardMode?: boolean;
261
+ /**
262
+ * 副标题
263
+ * @since `v2.1.0`
264
+ */
265
+ subLabel?: string;
266
+ /**
267
+ * 错误提示内嵌到placeholder
268
+ * @since `v2.1.0`
269
+ * @default false
270
+ */
271
+ interError?: boolean;
249
272
  }
250
273
  /**
251
274
  * @deprecated
@@ -7,6 +7,13 @@ export interface SmartNavBarProps {
7
7
  * @default ''
8
8
  */
9
9
  title?: string;
10
+ /**
11
+ * 是否显示圆角
12
+ *
13
+ * @version 2.1.0
14
+ * @default false
15
+ */
16
+ round?: boolean;
10
17
  /**
11
18
  * 左侧文案
12
19
  *
@@ -120,6 +127,12 @@ export interface SmartNavBarExternalClassName extends SmartBaseExternalClassName
120
127
  * @version 2.0.0
121
128
  */
122
129
  leftIconClass?: string;
130
+ /**
131
+ * 右侧文字样式类
132
+ *
133
+ * @version 2.1.0
134
+ */
135
+ rightTextClass?: string;
123
136
  }
124
137
  export interface SmartNavBarSlot {
125
138
  /**
@@ -103,7 +103,7 @@ export interface SmartTabsProps {
103
103
  /**
104
104
  * 标签未被选择时是否销毁tab插槽内组件
105
105
  * @description 必须在受控模式下使用,否则子节点无法渲染
106
- * @since `v2.0.4`
106
+ * @since `v2.1.0`
107
107
  */
108
108
  inactiveDestroy?: boolean;
109
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.0.1-beta-10",
3
+ "version": "2.1.0-beta-1",
4
4
  "author": "睦海(李利民)",
5
5
  "description": "轻量、可靠的智能小程序 UI 组件库",
6
6
  "scripts": {
@@ -37,7 +37,8 @@
37
37
  "@ray-js/components-ty-progress-bar": "^0.1.1",
38
38
  "@ray-js/components-ty-progress-circle": "^0.1.6",
39
39
  "@ray-js/components-ty-slider": "^0.2.48",
40
- "@tuya-miniapp/smart-ui": "2.0.2-beta-11",
40
+ "@ray-js/smart-ui": "2.0.1-beta-9",
41
+ "@tuya-miniapp/smart-ui": "^2.1.0",
41
42
  "lodash-es": "^4.17.21"
42
43
  },
43
44
  "devDependencies": {