@ray-js/smart-ui 2.7.1-beta-3 → 2.7.2-beta-0

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.
@@ -160,6 +160,18 @@ export interface SmartDialogProps extends SmartOpenTypeProps {
160
160
  * @default false
161
161
  */
162
162
  useTitleSlot?: boolean;
163
+ /**
164
+ * 是否使用自定义确认按钮的插槽
165
+ *
166
+ * @default false
167
+ */
168
+ useConfirmButtonSlot?: boolean;
169
+ /**
170
+ * 是否使用自定义取消按钮的插槽
171
+ *
172
+ * @default false
173
+ */
174
+ useCancelButtonSlot?: boolean;
163
175
  /**
164
176
  * 关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 `Promise`
165
177
  */
@@ -160,6 +160,18 @@ export interface SmartDialogProps extends SmartOpenTypeProps {
160
160
  * @default false
161
161
  */
162
162
  useTitleSlot?: boolean;
163
+ /**
164
+ * 是否使用自定义确认按钮的插槽
165
+ *
166
+ * @default false
167
+ */
168
+ useConfirmButtonSlot?: boolean;
169
+ /**
170
+ * 是否使用自定义取消按钮的插槽
171
+ *
172
+ * @default false
173
+ */
174
+ useCancelButtonSlot?: boolean;
163
175
  /**
164
176
  * 关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 `Promise`
165
177
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/smart-ui",
3
- "version": "2.7.1-beta-3",
3
+ "version": "2.7.2-beta-0",
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.4",
45
- "@tuya-miniapp/smart-ui": "2.7.1-beta-12",
45
+ "@tuya-miniapp/smart-ui": "2.7.2-beta-2",
46
46
  "lodash-es": "^4.17.21"
47
47
  },
48
48
  "devDependencies": {