@rxdrag/website-lib 0.0.93 → 0.0.95
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.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.ts"
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"eslint": "^7.32.0",
|
|
25
25
|
"gsap": "^3.12.7",
|
|
26
26
|
"typescript": "^5",
|
|
27
|
+
"@rxdrag/rxcms-models": "0.3.94",
|
|
27
28
|
"@rxdrag/entify-hooks": "0.2.76",
|
|
28
|
-
"@rxdrag/tsconfig": "0.2.0",
|
|
29
|
-
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
30
29
|
"@rxdrag/slate-preview": "1.2.61",
|
|
31
|
-
"@rxdrag/
|
|
30
|
+
"@rxdrag/tsconfig": "0.2.0",
|
|
31
|
+
"@rxdrag/eslint-config-custom": "0.2.12"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"clsx": "^2.1.0",
|
|
35
35
|
"react": "^19.1.0",
|
|
36
36
|
"react-dom": "^19.1.0",
|
|
37
|
-
"@rxdrag/
|
|
38
|
-
"@rxdrag/
|
|
37
|
+
"@rxdrag/rxcms-models": "0.3.94",
|
|
38
|
+
"@rxdrag/website-lib-core": "0.0.93"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"astro": "^4.0.0 || ^5.0.0"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
import type {
|
|
3
|
+
AnimationConfig,
|
|
4
|
+
BackgroundConfig,
|
|
5
|
+
} from "@rxdrag/website-lib-core";
|
|
6
|
+
import BackgroundGroup from "./BackgroundGroup.astro";
|
|
7
|
+
import Container from "./Container.astro";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* 区块
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
interface Props {
|
|
14
|
+
class?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
containerClassName?: string;
|
|
17
|
+
backgrounds?: BackgroundConfig[];
|
|
18
|
+
//动效
|
|
19
|
+
animation?: AnimationConfig;
|
|
20
|
+
disableContainer?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const {
|
|
24
|
+
className,
|
|
25
|
+
containerClassName,
|
|
26
|
+
backgrounds,
|
|
27
|
+
disableContainer,
|
|
28
|
+
class: originalClass,
|
|
29
|
+
} = Astro.props;
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
<footer class:list={["footer-block", className, originalClass]}>
|
|
33
|
+
<BackgroundGroup backgrounds={backgrounds} />
|
|
34
|
+
{
|
|
35
|
+
disableContainer ? (
|
|
36
|
+
<slot />
|
|
37
|
+
) : (
|
|
38
|
+
<Container class:list={["w-full h-full", containerClassName]}>
|
|
39
|
+
<slot />
|
|
40
|
+
</Container>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
</footer>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
import type {
|
|
3
|
+
AnimationConfig,
|
|
4
|
+
BackgroundConfig,
|
|
5
|
+
} from "@rxdrag/website-lib-core";
|
|
6
|
+
import BackgroundGroup from "./BackgroundGroup.astro";
|
|
7
|
+
import Container from "./Container.astro";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* 区块
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
interface Props {
|
|
14
|
+
class?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
containerClassName?: string;
|
|
17
|
+
backgrounds?: BackgroundConfig[];
|
|
18
|
+
//动效
|
|
19
|
+
animation?: AnimationConfig;
|
|
20
|
+
disableContainer?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const {
|
|
24
|
+
className,
|
|
25
|
+
containerClassName,
|
|
26
|
+
backgrounds,
|
|
27
|
+
disableContainer,
|
|
28
|
+
class: originalClass,
|
|
29
|
+
} = Astro.props;
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
<header class:list={["header-block", className, originalClass]}>
|
|
33
|
+
<BackgroundGroup backgrounds={backgrounds} />
|
|
34
|
+
{
|
|
35
|
+
disableContainer ? (
|
|
36
|
+
<slot />
|
|
37
|
+
) : (
|
|
38
|
+
<Container class:list={["w-full h-full", containerClassName]}>
|
|
39
|
+
<slot />
|
|
40
|
+
</Container>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
</header>
|
package/src/components/index.ts
CHANGED
|
@@ -7,8 +7,10 @@ export { default as CollapseTrigger } from "./CollapseTrigger.astro";
|
|
|
7
7
|
export { default as CollapsePanel } from "./CollapsePanel.astro";
|
|
8
8
|
export { default as Container } from "./Container.astro";
|
|
9
9
|
export { default as Flip } from "./Flip.astro";
|
|
10
|
+
export { default as FooterShell } from "./FooterShell.astro";
|
|
10
11
|
export { default as Grid } from "./Grid.astro";
|
|
11
12
|
export { default as GridCell } from "./GridCell.astro";
|
|
13
|
+
export { default as HeaderShell } from "./HeaderShell.astro";
|
|
12
14
|
export { default as Icon } from "./Icon.astro";
|
|
13
15
|
export { default as Image } from "./Image.astro";
|
|
14
16
|
export { default as Link } from "./Link.astro";
|