@rxdrag/website-lib 0.0.128 → 0.0.129

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,11 +1,10 @@
1
1
  ---
2
- import type { Locals } from "@rxdrag/website-lib-core";
2
+ import type { BackgroundConfig, Locals } from "@rxdrag/website-lib-core";
3
3
  import {
4
4
  BackgroundVideoPlayer,
5
5
  BackgroundHlsVideoPlayer,
6
6
  Entify,
7
7
  } from "@rxdrag/website-lib-core";
8
- import type { BackgroundConfig } from "./Background.type";
9
8
  import { getImage } from "astro:assets";
10
9
  import type { ImageMetadata } from "astro";
11
10
  import Image from "./Image.astro";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib",
3
- "version": "0.0.128",
3
+ "version": "0.0.129",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
@@ -26,11 +26,11 @@
26
26
  "eslint": "^9.39.2",
27
27
  "gsap": "^3.12.7",
28
28
  "typescript": "^5",
29
- "@rxdrag/eslint-config-custom": "0.2.13",
30
29
  "@rxdrag/entify-hooks": "0.2.79",
31
30
  "@rxdrag/rxcms-models": "0.3.98",
32
- "@rxdrag/tsconfig": "0.2.1",
33
- "@rxdrag/tiptap-preview": "0.0.3"
31
+ "@rxdrag/eslint-config-custom": "0.2.13",
32
+ "@rxdrag/tiptap-preview": "0.0.3",
33
+ "@rxdrag/tsconfig": "0.2.1"
34
34
  },
35
35
  "dependencies": {
36
36
  "aos": "3.0.0-beta.6",
@@ -38,8 +38,8 @@
38
38
  "react": "^19.1.0",
39
39
  "react-dom": "^19.1.0",
40
40
  "vanilla-cookieconsent": "3.1.0",
41
- "@rxdrag/rxcms-models": "0.3.98",
42
- "@rxdrag/website-lib-core": "0.0.120"
41
+ "@rxdrag/website-lib-core": "0.0.122",
42
+ "@rxdrag/rxcms-models": "0.3.98"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "astro": "^4.0.0 || ^5.0.0"
@@ -1,18 +0,0 @@
1
- import type { BlurBackgroundConfig, ColorBackgroundConfig, ImageBackgroundConfig, SplineBackgroundConfig, SvgBackgroundConfig, VideoBackgroundConfig } from "@rxdrag/website-lib-core";
2
- import type { ImageMetadata } from "astro";
3
-
4
-
5
- export type ImageBgConfig = Omit<ImageBackgroundConfig, "src"> & {
6
- src?: string | ImageMetadata;
7
- }
8
-
9
- export type VideoBgConfig = Omit<VideoBackgroundConfig, "poster"> & {
10
- poster?: string | ImageMetadata;
11
- }
12
-
13
- export type BackgroundConfig = | ColorBackgroundConfig
14
- | BlurBackgroundConfig
15
- | ImageBgConfig
16
- | SvgBackgroundConfig
17
- | VideoBgConfig
18
- | SplineBackgroundConfig;