@rezcom/rez-components 0.0.45 → 0.0.47
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/dist/ui/Hero.svelte +4 -4
- package/dist/ui/Hero.svelte.d.ts +1 -1
- package/package.json +2 -4
package/dist/ui/Hero.svelte
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
// Content
|
|
9
9
|
children: Snippet;
|
|
10
10
|
|
|
11
|
-
//
|
|
12
|
-
|
|
11
|
+
// Any other classes for the child component
|
|
12
|
+
class: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
const { background, children,
|
|
15
|
+
const { background, children, class: childClass = 'h-full' }: HeroProps = $props();
|
|
16
16
|
</script>
|
|
17
17
|
|
|
18
18
|
<main class="relative h-max overflow-hidden">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{@render background()}
|
|
21
21
|
</div>
|
|
22
22
|
<div
|
|
23
|
-
class={`${
|
|
23
|
+
class={`${childClass} relative z-0 flex flex-col items-center justify-center p-4 text-center`}
|
|
24
24
|
>
|
|
25
25
|
{@render children()}
|
|
26
26
|
</div>
|
package/dist/ui/Hero.svelte.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rezcom/rez-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
@@ -22,13 +22,11 @@
|
|
|
22
22
|
],
|
|
23
23
|
"svelte": "./dist/index.js",
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
|
-
"styles": "./dist/app.css",
|
|
26
25
|
"type": "module",
|
|
27
26
|
"exports": {
|
|
28
27
|
".": {
|
|
29
28
|
"types": "./dist/index.d.ts",
|
|
30
|
-
"svelte": "./dist/index.js"
|
|
31
|
-
"styles": "./dist/app.css"
|
|
29
|
+
"svelte": "./dist/index.js"
|
|
32
30
|
}
|
|
33
31
|
},
|
|
34
32
|
"peerDependencies": {
|