@yatoday/astro-ui 0.17.17 → 0.17.25
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.
|
@@ -30,6 +30,7 @@ const { container: containerClass = '', bg: bgClass = '' } = classes;
|
|
|
30
30
|
<div class={cn('relative z-30', Astro.slots.has('default') && 'grid grid-cols-3 gap-6')}>
|
|
31
31
|
<div class={cn(Astro.slots.has('default') && 'col-span-2')}>
|
|
32
32
|
<Headline
|
|
33
|
+
position={position}
|
|
33
34
|
title={title}
|
|
34
35
|
subtitle={subtitle}
|
|
35
36
|
tagline={tagline}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
import { twMerge } from 'tailwind-merge';
|
|
3
2
|
import type { WidgetWrapperProps as Props } from './types';
|
|
4
3
|
import Background from '../Background/Background.astro';
|
|
5
4
|
import {cn} from "../../utils";
|
|
@@ -9,7 +8,7 @@ const { id, isDark = false, class: className = '', containerClass = '', bg, as =
|
|
|
9
8
|
const WrapperTag = as;
|
|
10
9
|
---
|
|
11
10
|
|
|
12
|
-
<WrapperTag class={
|
|
11
|
+
<WrapperTag class={cn('relative', className, isDark ? 'dark' : '')} {...id ? { id } : {}} {...rest}>
|
|
13
12
|
<!-- WrapperTag: bg -z-[1] -->
|
|
14
13
|
<div class="absolute inset-0 pointer-events-none" aria-hidden="true">
|
|
15
14
|
<slot name="bg">
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yatoday/astro-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.25",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepare": "husky",
|
|
7
7
|
"pre-commit": "lint-staged",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"unpic": "^3.22.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"astro": "^5.10.1"
|
|
35
|
+
"astro": "^5.10.1 || ^6.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@astrojs/check": "0.9.4",
|