@rxdrag/website-lib 0.0.62 → 0.0.63

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",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -24,9 +24,9 @@
24
24
  "eslint": "^7.32.0",
25
25
  "gsap": "^3.12.7",
26
26
  "typescript": "^5",
27
- "@rxdrag/rxcms-models": "0.3.88",
28
- "@rxdrag/entify-hooks": "0.2.69",
27
+ "@rxdrag/rxcms-models": "0.3.89",
29
28
  "@rxdrag/eslint-config-custom": "0.2.12",
29
+ "@rxdrag/entify-hooks": "0.2.70",
30
30
  "@rxdrag/slate-preview": "1.2.58",
31
31
  "@rxdrag/tsconfig": "0.2.0"
32
32
  },
@@ -34,8 +34,8 @@
34
34
  "clsx": "^2.1.0",
35
35
  "react": "^19.1.0",
36
36
  "react-dom": "^19.1.0",
37
- "@rxdrag/rxcms-models": "0.3.88",
38
- "@rxdrag/website-lib-core": "0.0.63"
37
+ "@rxdrag/rxcms-models": "0.3.89",
38
+ "@rxdrag/website-lib-core": "0.0.64"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "astro": "^4.0.0 || ^5.0.0"
@@ -0,0 +1,28 @@
1
+ ---
2
+ import type {
3
+ AnimationConfig,
4
+ BackgroundConfig,
5
+ IEntify,
6
+ } from "@rxdrag/website-lib-core";
7
+ import BackgroundGroup from "./BackgroundGroup.astro";
8
+
9
+ interface Props {
10
+ //布局方案名称,设计qi'yong
11
+ patternName?: string;
12
+ class?: string;
13
+ className?: string;
14
+ backgrounds?: BackgroundConfig[];
15
+ //动效
16
+ animation?: AnimationConfig;
17
+ rx: IEntify;
18
+ }
19
+
20
+ const { className, class: originalClass, backgrounds, rx } = Astro.props;
21
+
22
+ //布局容器
23
+ ---
24
+
25
+ <div class:list={["relative grid gap-12", className, originalClass]}>
26
+ <BackgroundGroup backgrounds={backgrounds} rx={rx} />
27
+ <slot />
28
+ </div>
@@ -0,0 +1,24 @@
1
+ ---
2
+ import type {
3
+ AnimationConfig,
4
+ BackgroundConfig,
5
+ IEntify,
6
+ } from "@rxdrag/website-lib-core";
7
+ import BackgroundGroup from "./BackgroundGroup.astro";
8
+
9
+ interface Props {
10
+ class?: string;
11
+ className?: string;
12
+ backgrounds?: BackgroundConfig[];
13
+ //动效
14
+ animation?: AnimationConfig;
15
+ rx: IEntify;
16
+ }
17
+
18
+ const { className, class: originalClass, backgrounds, rx } = Astro.props;
19
+ ---
20
+
21
+ <div class:list={["w-full, h-full flex flex-col", className, originalClass]}>
22
+ <BackgroundGroup backgrounds={backgrounds} rx={rx} />
23
+ <slot />
24
+ </div>
@@ -6,6 +6,8 @@ export { default as CollapseTrigger } from "./CollapseTrigger.astro";
6
6
  export { default as CollapsePanel } from "./CollapsePanel.astro";
7
7
  export { default as Container } from "./Container.astro";
8
8
  export { default as Flip } from "./Flip.astro";
9
+ export { default as Grid } from "./Grid.astro";
10
+ export { default as GridCell } from "./GridCell.astro";
9
11
  export { default as Image } from "./Image.astro";
10
12
  export { default as Link } from "./Link.astro";
11
13
  export { default as Meta } from "./Meta.astro";