@rxdrag/website-lib 0.0.96 → 0.0.97
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 +3 -3
- package/src/components/Box.astro +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/website-lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.97",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.ts"
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"eslint": "^7.32.0",
|
|
25
25
|
"gsap": "^3.12.7",
|
|
26
26
|
"typescript": "^5",
|
|
27
|
-
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
28
|
-
"@rxdrag/tsconfig": "0.2.0",
|
|
29
27
|
"@rxdrag/rxcms-models": "0.3.94",
|
|
30
28
|
"@rxdrag/slate-preview": "1.2.61",
|
|
29
|
+
"@rxdrag/tsconfig": "0.2.0",
|
|
30
|
+
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
31
31
|
"@rxdrag/entify-hooks": "0.2.76"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
package/src/components/Box.astro
CHANGED
|
@@ -13,10 +13,13 @@ interface Props {
|
|
|
13
13
|
animation?: AnimationConfig;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
const { className, class: originalClass, backgrounds } = Astro.props;
|
|
16
|
+
const { className, class: originalClass, backgrounds, ...rest } = Astro.props;
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
<div
|
|
19
|
+
<div
|
|
20
|
+
class:list={["w-full, h-full flex flex-col", className, originalClass]}
|
|
21
|
+
{...rest}
|
|
22
|
+
>
|
|
20
23
|
<BackgroundGroup backgrounds={backgrounds} />
|
|
21
24
|
<slot />
|
|
22
25
|
</div>
|