@rxdrag/website-lib-core 0.0.65 → 0.0.66

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib-core",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -25,8 +25,8 @@
25
25
  "eslint": "^7.32.0",
26
26
  "typescript": "^5",
27
27
  "@rxdrag/slate-preview": "1.2.58",
28
- "@rxdrag/tsconfig": "0.2.0",
29
- "@rxdrag/eslint-config-custom": "0.2.12"
28
+ "@rxdrag/eslint-config-custom": "0.2.12",
29
+ "@rxdrag/tsconfig": "0.2.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "clsx": "^2.1.0",
@@ -1,3 +1,5 @@
1
+ import { IEntify } from "../entify";
2
+
1
3
  // 背景样式类型定义,支持tailwind类
2
4
  export type ColorBackgroundConfig = {
3
5
  id?: string;
@@ -16,7 +18,8 @@ export type ImageBackgroundConfig = {
16
18
  type: "image";
17
19
  className?: string; // 图片,如 "bg-cover bg-center bg-no-repeat"
18
20
  mediaRef?: string; // 图片ref
19
- url?: string; // 图片 URL
21
+ //url?: string; // 图片 URL
22
+ rx: IEntify,
20
23
  };
21
24
 
22
25
  export type SvgBackgroundConfig = {
@@ -32,8 +35,9 @@ export type VideoBackgroundConfig = {
32
35
  className?: string; // 视频,如 "bg-cover bg-center bg-no-repeat"
33
36
  mediaRef?: string; // 视频Ref
34
37
  posterRef?: string; // 视频封面Ref
35
- url?: string; // 视频 URL
36
- poster?: string; // 视频封面图 URL
38
+ //url?: string; // 视频 URL
39
+ //poster?: string; // 视频封面图 URL
40
+ rx: IEntify,
37
41
  };
38
42
 
39
43
  export type SplineBackgroundConfig = {