astro-awesomeness 0.7.0 → 0.7.1
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.
|
@@ -3,7 +3,6 @@ import * as React from "react";
|
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { Command as Command$1 } from "cmdk";
|
|
5
5
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
6
|
-
|
|
7
6
|
//#region src/components/ui/button-variants.d.ts
|
|
8
7
|
declare const buttonVariants: (props?: ({
|
|
9
8
|
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xs" | "lg" | "sm" | "xs" | null | undefined;
|
|
@@ -14,81 +13,30 @@ declare const buttonVariants: (props?: ({
|
|
|
14
13
|
type ButtonProps = Omit<React.ComponentProps<typeof Button$1>, "className"> & VariantProps<typeof buttonVariants> & {
|
|
15
14
|
className?: string;
|
|
16
15
|
};
|
|
17
|
-
declare const Button: ({
|
|
18
|
-
className,
|
|
19
|
-
size,
|
|
20
|
-
variant,
|
|
21
|
-
...props
|
|
22
|
-
}: ButtonProps) => React.JSX.Element;
|
|
16
|
+
declare const Button: ({ className, size, variant, ...props }: ButtonProps) => React.JSX.Element;
|
|
23
17
|
//#endregion
|
|
24
18
|
//#region src/components/ui/dialog.d.ts
|
|
25
|
-
declare function Dialog({
|
|
26
|
-
|
|
27
|
-
}: React.ComponentProps<typeof Dialog$1.
|
|
28
|
-
declare function DialogTrigger({
|
|
29
|
-
...props
|
|
30
|
-
}: React.ComponentProps<typeof Dialog$1.Trigger>): React.JSX.Element;
|
|
31
|
-
declare function DialogContent({
|
|
32
|
-
children,
|
|
33
|
-
className,
|
|
34
|
-
showCloseButton,
|
|
35
|
-
...props
|
|
36
|
-
}: React.ComponentProps<typeof Dialog$1.Popup> & {
|
|
19
|
+
declare function Dialog({ ...props }: React.ComponentProps<typeof Dialog$1.Root>): React.JSX.Element;
|
|
20
|
+
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof Dialog$1.Trigger>): React.JSX.Element;
|
|
21
|
+
declare function DialogContent({ children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog$1.Popup> & {
|
|
37
22
|
showCloseButton?: boolean;
|
|
38
23
|
}): React.JSX.Element;
|
|
39
|
-
declare function DialogHeader({
|
|
40
|
-
|
|
41
|
-
...props
|
|
42
|
-
}: React.ComponentProps<"div">): React.JSX.Element;
|
|
43
|
-
declare function DialogFooter({
|
|
44
|
-
children,
|
|
45
|
-
className,
|
|
46
|
-
showCloseButton,
|
|
47
|
-
...props
|
|
48
|
-
}: React.ComponentProps<"div"> & {
|
|
24
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
25
|
+
declare function DialogFooter({ children, className, showCloseButton, ...props }: React.ComponentProps<"div"> & {
|
|
49
26
|
showCloseButton?: boolean;
|
|
50
27
|
}): React.JSX.Element;
|
|
51
|
-
declare function DialogTitle({
|
|
52
|
-
|
|
53
|
-
...props
|
|
54
|
-
}: React.ComponentProps<typeof Dialog$1.Title>): React.JSX.Element;
|
|
55
|
-
declare function DialogDescription({
|
|
56
|
-
className,
|
|
57
|
-
...props
|
|
58
|
-
}: React.ComponentProps<typeof Dialog$1.Description>): React.JSX.Element;
|
|
28
|
+
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof Dialog$1.Title>): React.JSX.Element;
|
|
29
|
+
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof Dialog$1.Description>): React.JSX.Element;
|
|
59
30
|
//#endregion
|
|
60
31
|
//#region src/components/ui/command.d.ts
|
|
61
|
-
declare function Command({
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}: React.ComponentProps<typeof Command$1>): React.JSX.Element;
|
|
65
|
-
declare function
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}: React.ComponentProps<
|
|
69
|
-
declare function CommandList({
|
|
70
|
-
className,
|
|
71
|
-
...props
|
|
72
|
-
}: React.ComponentProps<typeof Command$1.List>): React.JSX.Element;
|
|
73
|
-
declare function CommandEmpty({
|
|
74
|
-
...props
|
|
75
|
-
}: React.ComponentProps<typeof Command$1.Empty>): React.JSX.Element;
|
|
76
|
-
declare function CommandGroup({
|
|
77
|
-
className,
|
|
78
|
-
...props
|
|
79
|
-
}: React.ComponentProps<typeof Command$1.Group>): React.JSX.Element;
|
|
80
|
-
declare function CommandSeparator({
|
|
81
|
-
className,
|
|
82
|
-
...props
|
|
83
|
-
}: React.ComponentProps<typeof Command$1.Separator>): React.JSX.Element;
|
|
84
|
-
declare function CommandItem({
|
|
85
|
-
className,
|
|
86
|
-
...props
|
|
87
|
-
}: React.ComponentProps<typeof Command$1.Item>): React.JSX.Element;
|
|
88
|
-
declare function CommandShortcut({
|
|
89
|
-
className,
|
|
90
|
-
...props
|
|
91
|
-
}: React.ComponentProps<"span">): React.JSX.Element;
|
|
32
|
+
declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): React.JSX.Element;
|
|
33
|
+
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): React.JSX.Element;
|
|
34
|
+
declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): React.JSX.Element;
|
|
35
|
+
declare function CommandEmpty({ ...props }: React.ComponentProps<typeof Command$1.Empty>): React.JSX.Element;
|
|
36
|
+
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): React.JSX.Element;
|
|
37
|
+
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof Command$1.Separator>): React.JSX.Element;
|
|
38
|
+
declare function CommandItem({ className, ...props }: React.ComponentProps<typeof Command$1.Item>): React.JSX.Element;
|
|
39
|
+
declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
92
40
|
//#endregion
|
|
93
41
|
//#region src/components/command-menu.d.ts
|
|
94
42
|
type CommandMenuItem = {
|
|
@@ -103,21 +51,13 @@ type CommandMenuProps = {
|
|
|
103
51
|
placeholder?: string;
|
|
104
52
|
title?: string;
|
|
105
53
|
};
|
|
106
|
-
declare const CommandMenu: ({
|
|
107
|
-
emptyMessage,
|
|
108
|
-
groupHeading,
|
|
109
|
-
items,
|
|
110
|
-
placeholder,
|
|
111
|
-
title
|
|
112
|
-
}: CommandMenuProps) => import("react").JSX.Element;
|
|
54
|
+
declare const CommandMenu: ({ emptyMessage, groupHeading, items, placeholder, title }: CommandMenuProps) => import("react").JSX.Element;
|
|
113
55
|
//#endregion
|
|
114
56
|
//#region src/components/theme-toggle.d.ts
|
|
115
57
|
type Props = {
|
|
116
58
|
ariaLabel?: string;
|
|
117
59
|
};
|
|
118
|
-
declare const ThemeToggle: ({
|
|
119
|
-
ariaLabel
|
|
120
|
-
}: Props) => import("react").JSX.Element;
|
|
60
|
+
declare const ThemeToggle: ({ ariaLabel }: Props) => import("react").JSX.Element;
|
|
121
61
|
//#endregion
|
|
122
62
|
export { Button, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandMenu, type CommandMenuItem, type CommandMenuProps, CommandSeparator, CommandShortcut, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, ThemeToggle, buttonVariants };
|
|
123
63
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/content/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { cn } from "cnfast";
|
|
2
|
-
|
|
3
2
|
//#region src/lib/format-date.d.ts
|
|
4
3
|
declare const formatDate: (date: Date, locale?: string, options?: Intl.DateTimeFormatOptions) => string;
|
|
5
4
|
//#endregion
|
|
@@ -45,4 +44,4 @@ declare namespace index_d_exports {
|
|
|
45
44
|
}
|
|
46
45
|
//#endregion
|
|
47
46
|
export { PostParams as a, getRelatedPosts as c, PostLike as i, formatDate as l, slugify as n, PostUrlBuilder as o, readingTime as r, createPostUrl as s, index_d_exports as t, cn as u };
|
|
48
|
-
//# sourceMappingURL=index-
|
|
47
|
+
//# sourceMappingURL=index-BPru3twJ.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Author, Post, Tag, t as index_d_exports } from "./content/index.js";
|
|
2
|
-
import { t as index_d_exports$1 } from "./index-
|
|
2
|
+
import { t as index_d_exports$1 } from "./index-BPru3twJ.js";
|
|
3
3
|
export { type Author, type Post, type Tag, index_d_exports as content, index_d_exports$1 as lib };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PostParams, c as getRelatedPosts, i as PostLike, l as formatDate, n as slugify, o as PostUrlBuilder, r as readingTime, s as createPostUrl, u as cn } from "../index-
|
|
1
|
+
import { a as PostParams, c as getRelatedPosts, i as PostLike, l as formatDate, n as slugify, o as PostUrlBuilder, r as readingTime, s as createPostUrl, u as cn } from "../index-BPru3twJ.js";
|
|
2
2
|
export { type PostLike, type PostParams, type PostUrlBuilder, cn, createPostUrl, formatDate, getRelatedPosts, readingTime, slugify };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro-awesomeness",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Astro 6/7 blog theme with shadcn primitives and a Tailwind v4 preset.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro",
|
|
@@ -56,19 +56,19 @@
|
|
|
56
56
|
"class-variance-authority": "^0.7.1",
|
|
57
57
|
"cmdk": "^1.1.1",
|
|
58
58
|
"cnfast": "^0.0.8",
|
|
59
|
-
"lucide-react": "^1.
|
|
59
|
+
"lucide-react": "^1.24.0",
|
|
60
60
|
"tw-animate-css": "^1.4.0",
|
|
61
61
|
"zod": "^4.4.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@tailwindcss/postcss": "^4.3.2",
|
|
65
|
-
"@types/node": "^26.1.
|
|
65
|
+
"@types/node": "^26.1.1",
|
|
66
66
|
"@types/react": "^19.2.17",
|
|
67
67
|
"@types/react-dom": "^19.2.3",
|
|
68
|
-
"@vitest/coverage-v8": "^4.1.
|
|
68
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
69
69
|
"tailwindcss": "^4.3.2",
|
|
70
70
|
"typescript": "^6.0.3",
|
|
71
|
-
"vitest": "^4.1.
|
|
71
|
+
"vitest": "^4.1.10",
|
|
72
72
|
"@repo/config-vitest": "0.0.0",
|
|
73
73
|
"@repo/typescript-config": "0.0.0"
|
|
74
74
|
},
|