@ray-js/smart-ui 1.0.0-beta.0 → 1.0.0-beta.2

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # @ray-js/smart-ui
2
2
 
3
- `@ray-js/smart-ui` `@tuya-miniapp/smart-ui` 的 `React` 规范适配中间层,提供了一整套基于 `Ray` 框架且符合智能小程序移动端设计规范的 `React` 组件,且内置了完善的 TS 类型。
3
+ `@ray-js/smart-ui` 是一个基于 `Ray` 框架和 `@tuya-miniapp/smart-ui` 的 React 组件库,旨在提供符合智能小程序移动端设计规范的轻量、可靠的 UI 组件。通过结合 `Ray` 的规范适配中间层和内置的完善 TS 类型,我们提供了一整套适用于智能小程序的 React 组件,让开发者能够快速构建符合设计规范的移动端应用。
@@ -1,4 +1,6 @@
1
- import Dialog from '@tuya-miniapp/smart-ui/lib/dialog/index';
1
+ /// <reference types="react" />
2
2
  import DialogInstance from '@tuya-miniapp/smart-ui/lib/dialog/dialog';
3
- export default Dialog;
3
+ import { VantDialogProps } from './PropTypes';
4
+ declare const _default: import("react").FC<VantDialogProps>;
5
+ export default _default;
4
6
  export { DialogInstance };
@@ -4,9 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  exports.__esModule = true;
6
6
  exports.DialogInstance = void 0;
7
+ var withReactProps_1 = require("../common/withReactProps");
7
8
  // @ts-ignore
8
9
  var index_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/dialog/index"));
9
10
  // @ts-ignore
10
11
  var dialog_1 = __importDefault(require("@tuya-miniapp/smart-ui/lib/dialog/dialog"));
11
12
  exports.DialogInstance = dialog_1["default"];
12
- exports["default"] = index_1["default"];
13
+ exports["default"] = (0, withReactProps_1.withReactProps)(index_1["default"]);
package/package.json CHANGED
@@ -21,9 +21,10 @@
21
21
  "@ray-js/smart-ui-typings": "1.0.0-beta.0",
22
22
  "@ray-js/components-ty-slider": "^0.2.43",
23
23
  "@ray-js/components-ty-progress-bar": "^0.1.1",
24
- "@ray-js/components-ty-progress-circle": "^0.1.6"
24
+ "@ray-js/components-ty-progress-circle": "^0.1.6",
25
+ "@tuya-miniapp/smart-ui": "^0.0.1-beta-1"
25
26
  },
26
- "version": "1.0.0-beta.0",
27
+ "version": "1.0.0-beta.2",
27
28
  "devDependencies": {
28
29
  "@types/lodash-es": "^4.17.12",
29
30
  "@types/react": "^17.0.25",