@ray-js/components 1.5.20 → 1.5.21

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.
@@ -1,3 +1,4 @@
1
- import React from 'react';
2
- declare const Video: () => React.JSX.Element;
1
+ import * as React from 'react';
2
+ import { VideoProps } from '@ray-js/adapter';
3
+ declare const Video: React.FC<VideoProps>;
3
4
  export default Video;
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
-
3
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
1
+ import * as React from 'react';
4
2
  const Video = () => {
5
3
  return /*#__PURE__*/React.createElement("div", null, "The web side is not implemented yet.");
6
4
  };
@@ -1,3 +1,4 @@
1
1
  import * as React from 'react';
2
- declare function Video(): React.JSX.Element;
2
+ import { VideoProps } from '@ray-js/adapter';
3
+ declare const Video: React.FC<VideoProps>;
3
4
  export default Video;
@@ -1,8 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { View } from '@ray-js/components';
3
-
4
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
5
- function Video() {
3
+ const Video = () => {
6
4
  return /*#__PURE__*/React.createElement(View, null, "Wechat mini program side has not been implemented");
7
- }
5
+ };
8
6
  export default Video;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/components",
3
- "version": "1.5.20",
3
+ "version": "1.5.21",
4
4
  "description": "Ray basic components",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@ray-core/macro": "^0.4.5",
31
31
  "@ray-core/wechat": "^0.4.5",
32
- "@ray-js/adapter": "1.5.20",
33
- "@ray-js/framework-shared": "1.5.20",
32
+ "@ray-js/adapter": "1.5.21",
33
+ "@ray-js/framework-shared": "1.5.21",
34
34
  "ahooks": "^3.7.11",
35
35
  "clsx": "^1.2.1",
36
36
  "core-js": "^3.37.0",
@@ -40,11 +40,11 @@
40
40
  "style-to-object": "^0.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@ray-js/cli": "1.5.20"
43
+ "@ray-js/cli": "1.5.21"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "defe10f5034f8f1c82e0355cde7c5aaee8d83abf"
49
+ "gitHead": "7a170e5f4fc49968c879c159ee01cf8bd9c134c6"
50
50
  }