fulldev-ui 0.10.0 → 0.11.0
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/CHANGELOG.md +12 -0
- package/README.md +7 -1
- package/package.json +6 -4
- package/public/r/accordion.json +8 -2
- package/public/r/alert-dialog.json +9 -3
- package/public/r/alert.json +6 -0
- package/public/r/article-1.json +7 -1
- package/public/r/article-2.json +7 -1
- package/public/r/articles-1.json +7 -1
- package/public/r/articles-2.json +7 -1
- package/public/r/articles-3.json +7 -1
- package/public/r/articles-4.json +7 -1
- package/public/r/avatar.json +6 -0
- package/public/r/badge.json +6 -0
- package/public/r/banner-1.json +7 -1
- package/public/r/banner-2.json +7 -1
- package/public/r/banner.json +6 -0
- package/public/r/blocks-1.json +6 -1
- package/public/r/blocks.json +92 -0
- package/public/r/breadcrumb.json +6 -0
- package/public/r/button.json +6 -0
- package/public/r/card.json +6 -0
- package/public/r/carousel.json +6 -0
- package/public/r/checkbox.json +6 -0
- package/public/r/collapsible.json +7 -1
- package/public/r/combobox.json +6 -0
- package/public/r/command.json +6 -0
- package/public/r/components.json +14 -3
- package/public/r/contact-1.json +10 -2
- package/public/r/contact-2.json +10 -2
- package/public/r/contact-3.json +10 -2
- package/public/r/content-1.json +7 -1
- package/public/r/content-2.json +7 -1
- package/public/r/content-3.json +7 -1
- package/public/r/content-4.json +7 -1
- package/public/r/cta-1.json +7 -1
- package/public/r/cta-2.json +7 -1
- package/public/r/cta-3.json +7 -1
- package/public/r/cta-4.json +7 -1
- package/public/r/cta-5.json +7 -1
- package/public/r/cta-6.json +7 -1
- package/public/r/cta-7.json +7 -1
- package/public/r/cta-8.json +7 -1
- package/public/r/dialog.json +9 -3
- package/public/r/doc-1.json +7 -1
- package/public/r/dropdown-menu.json +7 -1
- package/public/r/empty.json +6 -0
- package/public/r/faqs-1.json +7 -1
- package/public/r/faqs-2.json +7 -1
- package/public/r/faqs-3.json +7 -1
- package/public/r/faqs-4.json +7 -1
- package/public/r/features-1.json +7 -1
- package/public/r/features-2.json +7 -1
- package/public/r/features-3.json +7 -1
- package/public/r/features-4.json +7 -1
- package/public/r/features-5.json +7 -1
- package/public/r/features-6.json +7 -1
- package/public/r/field.json +6 -0
- package/public/r/footer-1.json +7 -1
- package/public/r/footer-2.json +7 -1
- package/public/r/footer-3.json +7 -1
- package/public/r/form.json +6 -0
- package/public/r/header-1.json +7 -1
- package/public/r/header-2.json +7 -1
- package/public/r/header-3.json +7 -1
- package/public/r/header-4.json +7 -1
- package/public/r/header-5.json +7 -1
- package/public/r/header.json +6 -0
- package/public/r/hero-1.json +7 -1
- package/public/r/hero-10.json +7 -1
- package/public/r/hero-11.json +7 -1
- package/public/r/hero-12.json +7 -1
- package/public/r/hero-13.json +7 -1
- package/public/r/hero-2.json +7 -1
- package/public/r/hero-3.json +7 -1
- package/public/r/hero-4.json +7 -1
- package/public/r/hero-5.json +7 -1
- package/public/r/hero-6.json +7 -1
- package/public/r/hero-7.json +7 -1
- package/public/r/hero-8.json +7 -1
- package/public/r/hero-9.json +7 -1
- package/public/r/hover-card.json +9 -2
- package/public/r/icon.json +7 -1
- package/public/r/init.json +28 -0
- package/public/r/input-group.json +6 -0
- package/public/r/input.json +6 -0
- package/public/r/item.json +6 -0
- package/public/r/kbd.json +6 -0
- package/public/r/label.json +6 -0
- package/public/r/layout.json +6 -0
- package/public/r/links-2.json +7 -1
- package/public/r/logo.json +6 -0
- package/public/r/logos-1.json +7 -1
- package/public/r/logos-2.json +7 -1
- package/public/r/logos-3.json +7 -1
- package/public/r/marquee.json +6 -0
- package/public/r/native-select.json +6 -0
- package/public/r/navigation-menu.json +11 -5
- package/public/r/popover.json +7 -1
- package/public/r/price.json +6 -0
- package/public/r/pricing-1.json +7 -1
- package/public/r/pricing-2.json +7 -1
- package/public/r/pricing-3.json +7 -1
- package/public/r/product-1.json +7 -1
- package/public/r/products-1.json +7 -1
- package/public/r/products-2.json +7 -1
- package/public/r/products-3.json +7 -1
- package/public/r/products-4.json +7 -1
- package/public/r/products-5.json +7 -1
- package/public/r/radio-group.json +7 -1
- package/public/r/rating.json +6 -0
- package/public/r/registry.json +1645 -457
- package/public/r/reviews-1.json +7 -1
- package/public/r/reviews-2.json +7 -1
- package/public/r/reviews-3.json +7 -1
- package/public/r/reviews-4.json +7 -1
- package/public/r/reviews-5.json +7 -1
- package/public/r/section.json +18 -2
- package/public/r/select.json +6 -0
- package/public/r/separator.json +6 -0
- package/public/r/services-1.json +7 -1
- package/public/r/services-2.json +7 -1
- package/public/r/services-3.json +7 -1
- package/public/r/services-4.json +7 -1
- package/public/r/services-5.json +7 -1
- package/public/r/services-6.json +7 -1
- package/public/r/services-7.json +7 -1
- package/public/r/sheet.json +9 -3
- package/public/r/sidebar-1.json +5 -0
- package/public/r/sidebar.json +9 -3
- package/public/r/skeleton.json +6 -0
- package/public/r/slider.json +7 -1
- package/public/r/spinner.json +6 -0
- package/public/r/switch.json +7 -1
- package/public/r/table.json +6 -0
- package/public/r/tabs.json +8 -2
- package/public/r/textarea.json +6 -0
- package/public/r/theme-toggle.json +6 -0
- package/public/r/toc.json +6 -0
- package/public/r/toggle.json +7 -1
- package/public/r/tooltip.json +7 -1
- package/public/r/typography.json +6 -0
- package/public/r/video.json +6 -0
- package/registry/init/global.css +187 -0
- package/registry.json +1138 -455
- package/src/components/blocks/article-1.astro +4 -3
- package/src/components/blocks/article-2.astro +4 -3
- package/src/components/blocks/articles-1.astro +18 -9
- package/src/components/blocks/articles-2.astro +4 -3
- package/src/components/blocks/articles-3.astro +11 -9
- package/src/components/blocks/articles-4.astro +11 -4
- package/src/components/blocks/banner-1.astro +4 -3
- package/src/components/blocks/banner-2.astro +10 -4
- package/src/components/blocks/blocks-1.astro +1 -1
- package/src/components/blocks/contact-1.astro +72 -39
- package/src/components/blocks/contact-2.astro +69 -35
- package/src/components/blocks/contact-3.astro +61 -34
- package/src/components/blocks/content-1.astro +15 -10
- package/src/components/blocks/content-2.astro +15 -10
- package/src/components/blocks/content-3.astro +14 -12
- package/src/components/blocks/content-4.astro +15 -10
- package/src/components/blocks/cta-1.astro +14 -10
- package/src/components/blocks/cta-2.astro +11 -8
- package/src/components/blocks/cta-3.astro +15 -8
- package/src/components/blocks/cta-4.astro +14 -9
- package/src/components/blocks/cta-5.astro +12 -8
- package/src/components/blocks/cta-6.astro +11 -8
- package/src/components/blocks/cta-7.astro +17 -10
- package/src/components/blocks/cta-8.astro +15 -10
- package/src/components/blocks/doc-1.astro +1 -1
- package/src/components/blocks/faqs-1.astro +22 -11
- package/src/components/blocks/faqs-2.astro +19 -9
- package/src/components/blocks/faqs-3.astro +19 -9
- package/src/components/blocks/faqs-4.astro +12 -9
- package/src/components/blocks/features-1.astro +21 -13
- package/src/components/blocks/features-2.astro +22 -13
- package/src/components/blocks/features-3.astro +14 -13
- package/src/components/blocks/features-4.astro +18 -9
- package/src/components/blocks/features-5.astro +22 -13
- package/src/components/blocks/features-6.astro +19 -9
- package/src/components/blocks/footer-1.astro +4 -3
- package/src/components/blocks/footer-2.astro +4 -3
- package/src/components/blocks/footer-3.astro +4 -3
- package/src/components/blocks/header-1.astro +13 -7
- package/src/components/blocks/header-2.astro +12 -6
- package/src/components/blocks/header-3.astro +12 -6
- package/src/components/blocks/header-4.astro +13 -6
- package/src/components/blocks/header-5.astro +16 -6
- package/src/components/blocks/hero-1.astro +11 -8
- package/src/components/blocks/hero-10.astro +7 -3
- package/src/components/blocks/hero-11.astro +4 -2
- package/src/components/blocks/hero-12.astro +11 -4
- package/src/components/blocks/hero-13.astro +11 -4
- package/src/components/blocks/hero-2.astro +11 -8
- package/src/components/blocks/hero-3.astro +11 -3
- package/src/components/blocks/hero-4.astro +4 -2
- package/src/components/blocks/hero-5.astro +4 -3
- package/src/components/blocks/hero-6.astro +4 -3
- package/src/components/blocks/hero-7.astro +4 -3
- package/src/components/blocks/hero-8.astro +11 -4
- package/src/components/blocks/hero-9.astro +4 -3
- package/src/components/blocks/links-2.astro +4 -4
- package/src/components/blocks/logos-1.astro +14 -16
- package/src/components/blocks/logos-2.astro +14 -12
- package/src/components/blocks/logos-3.astro +5 -4
- package/src/components/blocks/pricing-1.astro +13 -16
- package/src/components/blocks/pricing-2.astro +14 -13
- package/src/components/blocks/pricing-3.astro +20 -16
- package/src/components/blocks/product-1.astro +4 -3
- package/src/components/blocks/products-1.astro +11 -9
- package/src/components/blocks/products-2.astro +12 -9
- package/src/components/blocks/products-3.astro +12 -9
- package/src/components/blocks/products-4.astro +18 -9
- package/src/components/blocks/products-5.astro +18 -9
- package/src/components/blocks/reviews-1.astro +13 -12
- package/src/components/blocks/reviews-2.astro +4 -4
- package/src/components/blocks/reviews-3.astro +13 -12
- package/src/components/blocks/reviews-4.astro +13 -12
- package/src/components/blocks/reviews-5.astro +13 -12
- package/src/components/blocks/services-1.astro +19 -9
- package/src/components/blocks/services-2.astro +11 -8
- package/src/components/blocks/services-3.astro +11 -8
- package/src/components/blocks/services-4.astro +19 -9
- package/src/components/blocks/services-5.astro +11 -8
- package/src/components/blocks/services-6.astro +4 -3
- package/src/components/blocks/services-7.astro +12 -8
- package/src/components/ui/accordion/accordion-content.astro +2 -1
- package/src/components/ui/accordion/accordion.astro +1 -0
- package/src/components/ui/alert-dialog/alert-dialog-content.astro +1 -1
- package/src/components/ui/alert-dialog/alert-dialog-overlay.astro +1 -1
- package/src/components/ui/alert-dialog/alert-dialog.astro +1 -0
- package/src/components/ui/collapsible/collapsible.astro +1 -0
- package/src/components/ui/dialog/dialog-content.astro +1 -1
- package/src/components/ui/dialog/dialog-overlay.astro +1 -1
- package/src/components/ui/dialog/dialog.astro +1 -0
- package/src/components/ui/dropdown-menu/dropdown-menu.astro +1 -0
- package/src/components/ui/hover-card/hover-card.astro +10 -3
- package/src/components/ui/icon/icon.astro +46 -29
- package/src/components/ui/navigation-menu/navigation-menu-content.astro +2 -0
- package/src/components/ui/navigation-menu/navigation-menu-indicator.astro +2 -1
- package/src/components/ui/navigation-menu/navigation-menu-list.astro +1 -1
- package/src/components/ui/navigation-menu/navigation-menu-positioner.astro +2 -0
- package/src/components/ui/navigation-menu/navigation-menu.astro +1 -0
- package/src/components/ui/popover/popover.astro +1 -0
- package/src/components/ui/radio-group/radio-group.astro +1 -0
- package/src/components/ui/section/index.ts +2 -0
- package/src/components/ui/section/section-container.astro +1 -0
- package/src/components/ui/section/section-description.astro +20 -0
- package/src/components/ui/section/section-title.astro +20 -0
- package/src/components/ui/sheet/sheet-close.astro +4 -2
- package/src/components/ui/sheet/sheet-content.astro +2 -2
- package/src/components/ui/sheet/sheet.astro +2 -89
- package/src/components/ui/sidebar/sidebar-menu-button.astro +0 -1
- package/src/components/ui/sidebar/sidebar-provider.astro +36 -2
- package/src/components/ui/sidebar/sidebar.astro +0 -1
- package/src/components/ui/slider/slider.astro +4 -3
- package/src/components/ui/switch/switch.astro +5 -2
- package/src/components/ui/tabs/tabs-content.astro +2 -1
- package/src/components/ui/tabs/tabs.astro +1 -0
- package/src/components/ui/toggle/toggle.astro +3 -0
- package/src/components/ui/tooltip/tooltip.astro +1 -0
- package/src/lib/pages.ts +12 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "blocks",
|
|
4
|
+
"title": "All blocks",
|
|
5
|
+
"description": "Installs every Fulldev UI block.",
|
|
6
|
+
"registryDependencies": [
|
|
7
|
+
"@fulldev/article-1",
|
|
8
|
+
"@fulldev/article-2",
|
|
9
|
+
"@fulldev/articles-1",
|
|
10
|
+
"@fulldev/articles-2",
|
|
11
|
+
"@fulldev/articles-3",
|
|
12
|
+
"@fulldev/articles-4",
|
|
13
|
+
"@fulldev/banner-1",
|
|
14
|
+
"@fulldev/banner-2",
|
|
15
|
+
"@fulldev/blocks-1",
|
|
16
|
+
"@fulldev/contact-1",
|
|
17
|
+
"@fulldev/contact-2",
|
|
18
|
+
"@fulldev/contact-3",
|
|
19
|
+
"@fulldev/content-1",
|
|
20
|
+
"@fulldev/content-2",
|
|
21
|
+
"@fulldev/content-3",
|
|
22
|
+
"@fulldev/content-4",
|
|
23
|
+
"@fulldev/cta-1",
|
|
24
|
+
"@fulldev/cta-2",
|
|
25
|
+
"@fulldev/cta-3",
|
|
26
|
+
"@fulldev/cta-4",
|
|
27
|
+
"@fulldev/cta-5",
|
|
28
|
+
"@fulldev/cta-6",
|
|
29
|
+
"@fulldev/cta-7",
|
|
30
|
+
"@fulldev/cta-8",
|
|
31
|
+
"@fulldev/doc-1",
|
|
32
|
+
"@fulldev/faqs-1",
|
|
33
|
+
"@fulldev/faqs-2",
|
|
34
|
+
"@fulldev/faqs-3",
|
|
35
|
+
"@fulldev/faqs-4",
|
|
36
|
+
"@fulldev/features-1",
|
|
37
|
+
"@fulldev/features-2",
|
|
38
|
+
"@fulldev/features-3",
|
|
39
|
+
"@fulldev/features-4",
|
|
40
|
+
"@fulldev/features-5",
|
|
41
|
+
"@fulldev/features-6",
|
|
42
|
+
"@fulldev/footer-1",
|
|
43
|
+
"@fulldev/footer-2",
|
|
44
|
+
"@fulldev/footer-3",
|
|
45
|
+
"@fulldev/header-1",
|
|
46
|
+
"@fulldev/header-2",
|
|
47
|
+
"@fulldev/header-3",
|
|
48
|
+
"@fulldev/header-4",
|
|
49
|
+
"@fulldev/header-5",
|
|
50
|
+
"@fulldev/hero-1",
|
|
51
|
+
"@fulldev/hero-10",
|
|
52
|
+
"@fulldev/hero-11",
|
|
53
|
+
"@fulldev/hero-12",
|
|
54
|
+
"@fulldev/hero-13",
|
|
55
|
+
"@fulldev/hero-2",
|
|
56
|
+
"@fulldev/hero-3",
|
|
57
|
+
"@fulldev/hero-4",
|
|
58
|
+
"@fulldev/hero-5",
|
|
59
|
+
"@fulldev/hero-6",
|
|
60
|
+
"@fulldev/hero-7",
|
|
61
|
+
"@fulldev/hero-8",
|
|
62
|
+
"@fulldev/hero-9",
|
|
63
|
+
"@fulldev/links-2",
|
|
64
|
+
"@fulldev/logos-1",
|
|
65
|
+
"@fulldev/logos-2",
|
|
66
|
+
"@fulldev/logos-3",
|
|
67
|
+
"@fulldev/pricing-1",
|
|
68
|
+
"@fulldev/pricing-2",
|
|
69
|
+
"@fulldev/pricing-3",
|
|
70
|
+
"@fulldev/product-1",
|
|
71
|
+
"@fulldev/products-1",
|
|
72
|
+
"@fulldev/products-2",
|
|
73
|
+
"@fulldev/products-3",
|
|
74
|
+
"@fulldev/products-4",
|
|
75
|
+
"@fulldev/products-5",
|
|
76
|
+
"@fulldev/reviews-1",
|
|
77
|
+
"@fulldev/reviews-2",
|
|
78
|
+
"@fulldev/reviews-3",
|
|
79
|
+
"@fulldev/reviews-4",
|
|
80
|
+
"@fulldev/reviews-5",
|
|
81
|
+
"@fulldev/services-1",
|
|
82
|
+
"@fulldev/services-2",
|
|
83
|
+
"@fulldev/services-3",
|
|
84
|
+
"@fulldev/services-4",
|
|
85
|
+
"@fulldev/services-5",
|
|
86
|
+
"@fulldev/services-6",
|
|
87
|
+
"@fulldev/services-7",
|
|
88
|
+
"@fulldev/sidebar-1"
|
|
89
|
+
],
|
|
90
|
+
"docs": "https://ui.full.dev/blocks/",
|
|
91
|
+
"type": "registry:item"
|
|
92
|
+
}
|
package/public/r/breadcrumb.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "breadcrumb",
|
|
4
|
+
"title": "Breadcrumb",
|
|
5
|
+
"description": "Displays the path to the current resource using a hierarchy of links.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@lucide/astro"
|
|
6
8
|
],
|
|
@@ -46,5 +48,9 @@
|
|
|
46
48
|
"type": "registry:ui"
|
|
47
49
|
}
|
|
48
50
|
],
|
|
51
|
+
"docs": "https://ui.full.dev/components/breadcrumb/",
|
|
52
|
+
"categories": [
|
|
53
|
+
"ui"
|
|
54
|
+
],
|
|
49
55
|
"type": "registry:ui"
|
|
50
56
|
}
|
package/public/r/button.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "button",
|
|
4
|
+
"title": "Button",
|
|
5
|
+
"description": "Displays a button or a component that looks like a button.",
|
|
4
6
|
"files": [
|
|
5
7
|
{
|
|
6
8
|
"path": "src/components/ui/button/button-variants.ts",
|
|
@@ -18,5 +20,9 @@
|
|
|
18
20
|
"type": "registry:ui"
|
|
19
21
|
}
|
|
20
22
|
],
|
|
23
|
+
"docs": "https://ui.full.dev/components/button/",
|
|
24
|
+
"categories": [
|
|
25
|
+
"ui"
|
|
26
|
+
],
|
|
21
27
|
"type": "registry:ui"
|
|
22
28
|
}
|
package/public/r/card.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "card",
|
|
4
|
+
"title": "Card",
|
|
5
|
+
"description": "Displays a card with header, content, and footer.",
|
|
4
6
|
"files": [
|
|
5
7
|
{
|
|
6
8
|
"path": "src/components/ui/card/card.astro",
|
|
@@ -43,5 +45,9 @@
|
|
|
43
45
|
"type": "registry:ui"
|
|
44
46
|
}
|
|
45
47
|
],
|
|
48
|
+
"docs": "https://ui.full.dev/components/card/",
|
|
49
|
+
"categories": [
|
|
50
|
+
"ui"
|
|
51
|
+
],
|
|
46
52
|
"type": "registry:ui"
|
|
47
53
|
}
|
package/public/r/carousel.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "carousel",
|
|
4
|
+
"title": "Carousel",
|
|
5
|
+
"description": "A carousel with motion and swipe built using Embla.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"embla-carousel",
|
|
6
8
|
"@lucide/astro"
|
|
@@ -40,5 +42,9 @@
|
|
|
40
42
|
"type": "registry:ui"
|
|
41
43
|
}
|
|
42
44
|
],
|
|
45
|
+
"docs": "https://ui.full.dev/components/carousel/",
|
|
46
|
+
"categories": [
|
|
47
|
+
"ui"
|
|
48
|
+
],
|
|
43
49
|
"type": "registry:ui"
|
|
44
50
|
}
|
package/public/r/checkbox.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "checkbox",
|
|
4
|
+
"title": "Checkbox",
|
|
5
|
+
"description": "A control that allows the user to toggle between checked and not checked.",
|
|
4
6
|
"files": [
|
|
5
7
|
{
|
|
6
8
|
"path": "src/components/ui/checkbox/checkbox.astro",
|
|
@@ -13,5 +15,9 @@
|
|
|
13
15
|
"type": "registry:ui"
|
|
14
16
|
}
|
|
15
17
|
],
|
|
18
|
+
"docs": "https://ui.full.dev/components/checkbox/",
|
|
19
|
+
"categories": [
|
|
20
|
+
"ui"
|
|
21
|
+
],
|
|
16
22
|
"type": "registry:ui"
|
|
17
23
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "collapsible",
|
|
4
|
+
"title": "Collapsible",
|
|
5
|
+
"description": "An interactive component which expands/collapses a panel.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@data-slot/collapsible"
|
|
6
8
|
],
|
|
7
9
|
"files": [
|
|
8
10
|
{
|
|
9
11
|
"path": "src/components/ui/collapsible/collapsible.astro",
|
|
10
|
-
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n defaultOpen?: boolean\n hiddenUntilFound?: boolean\n}\n\nconst {\n class: className,\n defaultOpen,\n hiddenUntilFound,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"collapsible\"\n data-default-open={defaultOpen}\n data-hidden-until-found={hiddenUntilFound}\n class={cn(className)}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/collapsible\"\n\n create()\n</script>\n",
|
|
12
|
+
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n defaultOpen?: boolean\n hiddenUntilFound?: boolean\n}\n\nconst {\n class: className,\n defaultOpen,\n hiddenUntilFound,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"collapsible\"\n data-default-open={defaultOpen}\n data-hidden-until-found={hiddenUntilFound}\n class={cn(className)}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/collapsible\"\n\n create()\n document.addEventListener(\"astro:page-load\", () => create())\n</script>\n",
|
|
11
13
|
"type": "registry:ui"
|
|
12
14
|
},
|
|
13
15
|
{
|
|
@@ -26,5 +28,9 @@
|
|
|
26
28
|
"type": "registry:ui"
|
|
27
29
|
}
|
|
28
30
|
],
|
|
31
|
+
"docs": "https://ui.full.dev/components/collapsible/",
|
|
32
|
+
"categories": [
|
|
33
|
+
"ui"
|
|
34
|
+
],
|
|
29
35
|
"type": "registry:ui"
|
|
30
36
|
}
|
package/public/r/combobox.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "combobox",
|
|
4
|
+
"title": "Combobox",
|
|
5
|
+
"description": "Autocomplete input with a list of suggestions.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@data-slot/combobox",
|
|
6
8
|
"@lucide/astro"
|
|
@@ -70,5 +72,9 @@
|
|
|
70
72
|
"type": "registry:ui"
|
|
71
73
|
}
|
|
72
74
|
],
|
|
75
|
+
"docs": "https://ui.full.dev/components/combobox/",
|
|
76
|
+
"categories": [
|
|
77
|
+
"ui"
|
|
78
|
+
],
|
|
73
79
|
"type": "registry:ui"
|
|
74
80
|
}
|
package/public/r/command.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "command",
|
|
4
|
+
"title": "Command",
|
|
5
|
+
"description": "Command menu for search and quick actions.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@data-slot/command",
|
|
6
8
|
"@lucide/astro"
|
|
@@ -60,5 +62,9 @@
|
|
|
60
62
|
"type": "registry:ui"
|
|
61
63
|
}
|
|
62
64
|
],
|
|
65
|
+
"docs": "https://ui.full.dev/components/command/",
|
|
66
|
+
"categories": [
|
|
67
|
+
"ui"
|
|
68
|
+
],
|
|
63
69
|
"type": "registry:ui"
|
|
64
70
|
}
|
package/public/r/components.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "components",
|
|
4
|
+
"title": "All components",
|
|
5
|
+
"description": "Installs every Fulldev UI component.",
|
|
4
6
|
"registryDependencies": [
|
|
5
7
|
"@fulldev/accordion",
|
|
6
8
|
"@fulldev/alert",
|
|
7
9
|
"@fulldev/alert-dialog",
|
|
8
|
-
"@fulldev/form",
|
|
9
10
|
"@fulldev/avatar",
|
|
10
11
|
"@fulldev/badge",
|
|
11
12
|
"@fulldev/banner",
|
|
13
|
+
"@fulldev/breadcrumb",
|
|
12
14
|
"@fulldev/button",
|
|
13
15
|
"@fulldev/card",
|
|
16
|
+
"@fulldev/carousel",
|
|
14
17
|
"@fulldev/checkbox",
|
|
15
18
|
"@fulldev/collapsible",
|
|
16
19
|
"@fulldev/combobox",
|
|
@@ -19,25 +22,31 @@
|
|
|
19
22
|
"@fulldev/dropdown-menu",
|
|
20
23
|
"@fulldev/empty",
|
|
21
24
|
"@fulldev/field",
|
|
25
|
+
"@fulldev/form",
|
|
22
26
|
"@fulldev/header",
|
|
27
|
+
"@fulldev/hover-card",
|
|
28
|
+
"@fulldev/icon",
|
|
23
29
|
"@fulldev/input",
|
|
24
30
|
"@fulldev/input-group",
|
|
25
31
|
"@fulldev/item",
|
|
32
|
+
"@fulldev/kbd",
|
|
26
33
|
"@fulldev/label",
|
|
34
|
+
"@fulldev/layout",
|
|
27
35
|
"@fulldev/logo",
|
|
28
36
|
"@fulldev/marquee",
|
|
29
37
|
"@fulldev/native-select",
|
|
30
38
|
"@fulldev/navigation-menu",
|
|
39
|
+
"@fulldev/popover",
|
|
31
40
|
"@fulldev/price",
|
|
32
41
|
"@fulldev/radio-group",
|
|
33
42
|
"@fulldev/rating",
|
|
34
|
-
"@fulldev/select",
|
|
35
43
|
"@fulldev/section",
|
|
44
|
+
"@fulldev/select",
|
|
36
45
|
"@fulldev/separator",
|
|
37
46
|
"@fulldev/sheet",
|
|
38
47
|
"@fulldev/sidebar",
|
|
39
|
-
"@fulldev/slider",
|
|
40
48
|
"@fulldev/skeleton",
|
|
49
|
+
"@fulldev/slider",
|
|
41
50
|
"@fulldev/spinner",
|
|
42
51
|
"@fulldev/switch",
|
|
43
52
|
"@fulldev/table",
|
|
@@ -45,9 +54,11 @@
|
|
|
45
54
|
"@fulldev/textarea",
|
|
46
55
|
"@fulldev/theme-toggle",
|
|
47
56
|
"@fulldev/toc",
|
|
57
|
+
"@fulldev/toggle",
|
|
48
58
|
"@fulldev/tooltip",
|
|
49
59
|
"@fulldev/typography",
|
|
50
60
|
"@fulldev/video"
|
|
51
61
|
],
|
|
62
|
+
"docs": "https://ui.full.dev/components/",
|
|
52
63
|
"type": "registry:item"
|
|
53
64
|
}
|
package/public/r/contact-1.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "contact-1",
|
|
4
|
+
"title": "Contact 1",
|
|
5
|
+
"description": "Contact sections for project inquiries, support, and sales conversations.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@lucide/astro"
|
|
6
8
|
],
|
|
@@ -9,14 +11,20 @@
|
|
|
9
11
|
"@fulldev/field",
|
|
10
12
|
"@fulldev/input",
|
|
11
13
|
"@fulldev/section",
|
|
12
|
-
"@fulldev/textarea"
|
|
14
|
+
"@fulldev/textarea",
|
|
15
|
+
"@fulldev/form",
|
|
16
|
+
"@fulldev/icon"
|
|
13
17
|
],
|
|
14
18
|
"files": [
|
|
15
19
|
{
|
|
16
20
|
"path": "src/components/blocks/contact-1.astro",
|
|
17
|
-
"content": "---\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Field,\n FieldDescription,\n FieldGroup,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/components/ui/field\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Input } from \"@/components/ui/input\"\nimport {
|
|
21
|
+
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Field,\n FieldDescription,\n FieldGroup,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/components/ui/field\"\nimport { Form } from \"@/components/ui/form\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Textarea } from \"@/components/ui/textarea\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n contactItems: {\n icon: string\n title: string\n description: string\n href?: string\n }[]\n form: {\n id?: string\n action?: string\n method?: \"get\" | \"post\"\n legend: string\n nameLabel: string\n namePlaceholder: string\n emailLabel: string\n emailPlaceholder: string\n messageLabel: string\n messagePlaceholder: string\n messageDescription: string\n actionLabel: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n contactItems,\n form,\n ...props\n} = Astro.props\nconst formId = form.id ?? `contact-${crypto.randomUUID()}`\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"items-center gap-6 text-center\">\n <div class=\"flex max-w-2xl flex-col items-center gap-4\">\n <SectionTitle>\n {title}\n </SectionTitle>\n <SectionDescription class=\"max-w-2xl\">\n {description}\n </SectionDescription>\n </div>\n </SectionContainer>\n <SectionContainer>\n <div class=\"grid gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n {\n contactItems.map((item) => (\n <div class=\"flex flex-col gap-3 rounded-xl border p-5\">\n {item.href ? (\n <Button\n as=\"a\"\n href={item.href}\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary\"\n aria-label={item.title}\n >\n <Icon name={item.icon} />\n </Button>\n ) : (\n <Button\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary\"\n aria-label={item.title}\n >\n <Icon name={item.icon} />\n </Button>\n )}\n <h3 class=\"text-foreground text-sm font-medium\">{item.title}</h3>\n <p class=\"text-muted-foreground text-sm leading-relaxed\">\n {item.description}\n </p>\n </div>\n ))\n }\n </div>\n </SectionContainer>\n <SectionContainer>\n <div class=\"mx-auto w-full max-w-2xl rounded-xl border p-6 sm:p-8\">\n <Form id={formId} action={form.action} method={form.method ?? \"post\"}>\n <FieldSet>\n <FieldLegend class=\"sr-only\">{form.legend}</FieldLegend>\n <FieldGroup>\n <div class=\"grid gap-4 md:grid-cols-2\">\n <Field>\n <FieldLabel for={`${formId}-name`}>{form.nameLabel}</FieldLabel>\n <Input\n id={`${formId}-name`}\n name=\"name\"\n autocomplete=\"name\"\n required\n placeholder={form.namePlaceholder}\n />\n </Field>\n <Field>\n <FieldLabel for={`${formId}-email`}\n >{form.emailLabel}</FieldLabel\n >\n <Input\n id={`${formId}-email`}\n name=\"email\"\n autocomplete=\"email\"\n required\n type=\"email\"\n placeholder={form.emailPlaceholder}\n />\n </Field>\n </div>\n <Field>\n <FieldLabel for={`${formId}-message`}\n >{form.messageLabel}</FieldLabel\n >\n <Textarea\n id={`${formId}-message`}\n name=\"message\"\n required\n rows={5}\n placeholder={form.messagePlaceholder}\n />\n <FieldDescription>{form.messageDescription}</FieldDescription>\n </Field>\n <Button type=\"submit\" size=\"lg\" class=\"w-full\"\n >{form.actionLabel}</Button\n >\n </FieldGroup>\n </FieldSet>\n </Form>\n </div>\n </SectionContainer>\n</Section>\n",
|
|
18
22
|
"type": "registry:block"
|
|
19
23
|
}
|
|
20
24
|
],
|
|
25
|
+
"docs": "https://ui.full.dev/blocks/contact/",
|
|
26
|
+
"categories": [
|
|
27
|
+
"contact"
|
|
28
|
+
],
|
|
21
29
|
"type": "registry:block"
|
|
22
30
|
}
|
package/public/r/contact-2.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "contact-2",
|
|
4
|
+
"title": "Contact 2",
|
|
5
|
+
"description": "Contact sections for project inquiries, support, and sales conversations.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@lucide/astro"
|
|
6
8
|
],
|
|
@@ -9,14 +11,20 @@
|
|
|
9
11
|
"@fulldev/field",
|
|
10
12
|
"@fulldev/input",
|
|
11
13
|
"@fulldev/section",
|
|
12
|
-
"@fulldev/textarea"
|
|
14
|
+
"@fulldev/textarea",
|
|
15
|
+
"@fulldev/form",
|
|
16
|
+
"@fulldev/icon"
|
|
13
17
|
],
|
|
14
18
|
"files": [
|
|
15
19
|
{
|
|
16
20
|
"path": "src/components/blocks/contact-2.astro",
|
|
17
|
-
"content": "---\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Field,\n FieldGroup,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/components/ui/field\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Input } from \"@/components/ui/input\"\nimport {
|
|
21
|
+
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Field,\n FieldGroup,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/components/ui/field\"\nimport { Form } from \"@/components/ui/form\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Textarea } from \"@/components/ui/textarea\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n contactItems: {\n icon: string\n title: string\n description: string\n href?: string\n }[]\n form: {\n id?: string\n action?: string\n method?: \"get\" | \"post\"\n title: string\n legend: string\n nameLabel: string\n namePlaceholder: string\n emailLabel: string\n emailPlaceholder: string\n messageLabel: string\n messagePlaceholder: string\n actionLabel: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n contactItems,\n form,\n ...props\n} = Astro.props\nconst formId = form.id ?? `contact-${crypto.randomUUID()}`\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer\n class=\"grid gap-10 lg:grid-cols-[minmax(0,1fr)_22rem] lg:items-start\"\n >\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>\n {title}\n </SectionTitle>\n <p class=\"text-muted-foreground max-w-xl text-base leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"rounded-xl border p-6\">\n <div class=\"mb-6\">\n <h3 class=\"text-lg font-medium\">{form.title}</h3>\n </div>\n <Form id={formId} action={form.action} method={form.method ?? \"post\"}>\n <FieldSet>\n <FieldLegend class=\"sr-only\">{form.legend}</FieldLegend>\n <FieldGroup>\n <div class=\"grid gap-4 md:grid-cols-2\">\n <Field>\n <FieldLabel for={`${formId}-name`}\n >{form.nameLabel}</FieldLabel\n >\n <Input\n id={`${formId}-name`}\n name=\"name\"\n autocomplete=\"name\"\n required\n placeholder={form.namePlaceholder}\n />\n </Field>\n <Field>\n <FieldLabel for={`${formId}-email`}\n >{form.emailLabel}</FieldLabel\n >\n <Input\n id={`${formId}-email`}\n name=\"email\"\n autocomplete=\"email\"\n required\n type=\"email\"\n placeholder={form.emailPlaceholder}\n />\n </Field>\n </div>\n <Field>\n <FieldLabel for={`${formId}-message`}\n >{form.messageLabel}</FieldLabel\n >\n <Textarea\n id={`${formId}-message`}\n name=\"message\"\n required\n rows={5}\n placeholder={form.messagePlaceholder}\n />\n </Field>\n <Button type=\"submit\" size=\"lg\" class=\"w-full\"\n >{form.actionLabel}</Button\n >\n </FieldGroup>\n </FieldSet>\n </Form>\n </div>\n </div>\n\n <div class=\"flex flex-col gap-3\">\n {\n contactItems.map((item) => (\n <div class=\"flex gap-4 rounded-xl border p-4\">\n {item.href ? (\n <Button\n as=\"a\"\n href={item.href}\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary shrink-0\"\n aria-label={item.title}\n >\n <Icon name={item.icon} />\n </Button>\n ) : (\n <Button\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary shrink-0\"\n aria-label={item.title}\n >\n <Icon name={item.icon} />\n </Button>\n )}\n <div class=\"flex flex-col gap-1\">\n <p class=\"text-foreground text-sm font-medium\">{item.title}</p>\n <p class=\"text-muted-foreground text-sm leading-relaxed\">\n {item.description}\n </p>\n </div>\n </div>\n ))\n }\n </div>\n </SectionContainer>\n</Section>\n",
|
|
18
22
|
"type": "registry:block"
|
|
19
23
|
}
|
|
20
24
|
],
|
|
25
|
+
"docs": "https://ui.full.dev/blocks/contact/",
|
|
26
|
+
"categories": [
|
|
27
|
+
"contact"
|
|
28
|
+
],
|
|
21
29
|
"type": "registry:block"
|
|
22
30
|
}
|
package/public/r/contact-3.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "contact-3",
|
|
4
|
+
"title": "Contact 3",
|
|
5
|
+
"description": "Contact sections for project inquiries, support, and sales conversations.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@lucide/astro"
|
|
6
8
|
],
|
|
@@ -9,12 +11,14 @@
|
|
|
9
11
|
"@fulldev/field",
|
|
10
12
|
"@fulldev/input",
|
|
11
13
|
"@fulldev/section",
|
|
12
|
-
"@fulldev/textarea"
|
|
14
|
+
"@fulldev/textarea",
|
|
15
|
+
"@fulldev/form",
|
|
16
|
+
"@fulldev/icon"
|
|
13
17
|
],
|
|
14
18
|
"files": [
|
|
15
19
|
{
|
|
16
20
|
"path": "src/components/blocks/contact-3.astro",
|
|
17
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Field,\n FieldGroup,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/components/ui/field\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Input } from \"@/components/ui/input\"\nimport {
|
|
21
|
+
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Field,\n FieldGroup,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/components/ui/field\"\nimport { Form } from \"@/components/ui/form\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Textarea } from \"@/components/ui/textarea\"\nimport PlaceholderImage from \"@/assets/placeholder.webp\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n contactItems: {\n icon: string\n title: string\n description: string\n href?: string\n }[]\n form: {\n id?: string\n action?: string\n method?: \"get\" | \"post\"\n legend: string\n nameLabel: string\n namePlaceholder: string\n emailLabel: string\n emailPlaceholder: string\n messageLabel: string\n messagePlaceholder: string\n actionLabel: string\n }\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n contactItems,\n form,\n image = { src: PlaceholderImage, alt: \"Contact image\" },\n ...props\n} = Astro.props\nconst formId = form.id ?? `contact-${crypto.randomUUID()}`\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-start\">\n <div class=\"flex flex-col gap-8\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>\n {title}\n </SectionTitle>\n <p class=\"text-muted-foreground max-w-xl text-base leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"grid gap-4 sm:grid-cols-2\">\n {\n contactItems.map((item) => (\n <div class=\"flex gap-4\">\n {item.href ? (\n <Button\n as=\"a\"\n href={item.href}\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary shrink-0\"\n aria-label={item.title}\n >\n <Icon name={item.icon} />\n </Button>\n ) : (\n <Button\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary shrink-0\"\n aria-label={item.title}\n >\n <Icon name={item.icon} />\n </Button>\n )}\n <div class=\"flex flex-col gap-1\">\n <p class=\"text-foreground text-sm font-medium\">{item.title}</p>\n <p class=\"text-muted-foreground text-sm leading-relaxed\">\n {item.description}\n </p>\n </div>\n </div>\n ))\n }\n </div>\n <div class=\"rounded-xl border p-6\">\n <Form id={formId} action={form.action} method={form.method ?? \"post\"}>\n <FieldSet>\n <FieldLegend class=\"sr-only\">{form.legend}</FieldLegend>\n <FieldGroup>\n <div class=\"grid gap-4 md:grid-cols-2\">\n <Field>\n <FieldLabel for={`${formId}-name`}\n >{form.nameLabel}</FieldLabel\n >\n <Input\n id={`${formId}-name`}\n name=\"name\"\n autocomplete=\"name\"\n required\n placeholder={form.namePlaceholder}\n />\n </Field>\n <Field>\n <FieldLabel for={`${formId}-email`}\n >{form.emailLabel}</FieldLabel\n >\n <Input\n id={`${formId}-email`}\n name=\"email\"\n autocomplete=\"email\"\n required\n type=\"email\"\n placeholder={form.emailPlaceholder}\n />\n </Field>\n </div>\n <Field>\n <FieldLabel for={`${formId}-message`}\n >{form.messageLabel}</FieldLabel\n >\n <Textarea\n id={`${formId}-message`}\n name=\"message\"\n required\n rows={5}\n placeholder={form.messagePlaceholder}\n />\n </Field>\n <Button type=\"submit\" size=\"lg\" class=\"w-full\"\n >{form.actionLabel}</Button\n >\n </FieldGroup>\n </FieldSet>\n </Form>\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[3/4] w-full rounded-xl border object-cover lg:sticky lg:top-24\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 1024px) 50vw, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
|
|
18
22
|
"type": "registry:block"
|
|
19
23
|
},
|
|
20
24
|
{
|
|
@@ -24,5 +28,9 @@
|
|
|
24
28
|
"target": "src/assets/placeholder.webp"
|
|
25
29
|
}
|
|
26
30
|
],
|
|
31
|
+
"docs": "https://ui.full.dev/blocks/contact/",
|
|
32
|
+
"categories": [
|
|
33
|
+
"contact"
|
|
34
|
+
],
|
|
27
35
|
"type": "registry:block"
|
|
28
36
|
}
|
package/public/r/content-1.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "content-1",
|
|
4
|
+
"title": "Content 1",
|
|
5
|
+
"description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@lucide/astro"
|
|
6
8
|
],
|
|
@@ -11,7 +13,7 @@
|
|
|
11
13
|
"files": [
|
|
12
14
|
{
|
|
13
15
|
"path": "src/components/blocks/content-1.astro",
|
|
14
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section
|
|
16
|
+
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Icon } from \"@/components/ui/icon\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.webp\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features?: string[]\n buttons?: {\n label: string\n href: string\n variant?: \"default\" | \"outline\" | \"secondary\" | \"ghost\"\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image = { src: PlaceholderImage, alt: \"Content image\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>\n {title}\n </SectionTitle>\n <SectionDescription>\n {description}\n </SectionDescription>\n </div>\n {\n features?.length && (\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-center gap-3 text-sm\">\n <CheckIcon class=\"text-primary size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n )\n }\n {\n buttons?.length && (\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label, ...button }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={\n button.variant ?? (index === 0 ? \"default\" : \"secondary\")\n }\n {...button}\n >\n {label}\n </Button>\n ))}\n </div>\n )\n }\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
|
|
15
17
|
"type": "registry:block"
|
|
16
18
|
},
|
|
17
19
|
{
|
|
@@ -21,5 +23,9 @@
|
|
|
21
23
|
"target": "src/assets/placeholder.webp"
|
|
22
24
|
}
|
|
23
25
|
],
|
|
26
|
+
"docs": "https://ui.full.dev/blocks/content/",
|
|
27
|
+
"categories": [
|
|
28
|
+
"content"
|
|
29
|
+
],
|
|
24
30
|
"type": "registry:block"
|
|
25
31
|
}
|
package/public/r/content-2.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "content-2",
|
|
4
|
+
"title": "Content 2",
|
|
5
|
+
"description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
|
|
4
6
|
"dependencies": [
|
|
5
7
|
"@lucide/astro"
|
|
6
8
|
],
|
|
@@ -11,7 +13,7 @@
|
|
|
11
13
|
"files": [
|
|
12
14
|
{
|
|
13
15
|
"path": "src/components/blocks/content-2.astro",
|
|
14
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section
|
|
16
|
+
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Icon } from \"@/components/ui/icon\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.webp\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features?: string[]\n buttons?: {\n label: string\n href: string\n variant?: \"default\" | \"outline\" | \"secondary\" | \"ghost\"\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image = { src: PlaceholderImage, alt: \"Content image\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>\n {title}\n </SectionTitle>\n <SectionDescription>\n {description}\n </SectionDescription>\n </div>\n {\n features?.length && (\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-center gap-3 text-sm\">\n <CheckIcon class=\"text-primary size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n )\n }\n {\n buttons?.length && (\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label, ...button }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={\n button.variant ?? (index === 0 ? \"default\" : \"secondary\")\n }\n {...button}\n >\n {label}\n </Button>\n ))}\n </div>\n )\n }\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 1024px) 50vw, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
|
|
15
17
|
"type": "registry:block"
|
|
16
18
|
},
|
|
17
19
|
{
|
|
@@ -21,5 +23,9 @@
|
|
|
21
23
|
"target": "src/assets/placeholder.webp"
|
|
22
24
|
}
|
|
23
25
|
],
|
|
26
|
+
"docs": "https://ui.full.dev/blocks/content/",
|
|
27
|
+
"categories": [
|
|
28
|
+
"content"
|
|
29
|
+
],
|
|
24
30
|
"type": "registry:block"
|
|
25
31
|
}
|
package/public/r/content-3.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
3
|
"name": "content-3",
|
|
4
|
+
"title": "Content 3",
|
|
5
|
+
"description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
|
|
4
6
|
"registryDependencies": [
|
|
5
7
|
"@fulldev/button",
|
|
6
8
|
"@fulldev/section"
|
|
@@ -8,7 +10,7 @@
|
|
|
8
10
|
"files": [
|
|
9
11
|
{
|
|
10
12
|
"path": "src/components/blocks/content-3.astro",
|
|
11
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {
|
|
13
|
+
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.webp\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons?: {\n label: string\n href: string\n variant?: \"default\" | \"outline\" | \"secondary\" | \"ghost\"\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image = { src: PlaceholderImage, alt: \"Content image\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"gap-8\">\n <div\n class=\"flex flex-col gap-4 md:flex-row md:items-end md:justify-between\"\n >\n <div class=\"max-w-2xl\">\n <SectionTitle>\n {title}\n </SectionTitle>\n <SectionDescription class=\"mt-4\">\n {description}\n </SectionDescription>\n </div>\n {\n buttons?.length && (\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label, ...button }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={\n button.variant ?? (index === 0 ? \"default\" : \"secondary\")\n }\n {...button}\n >\n {label}\n </Button>\n ))}\n </div>\n )\n }\n </div>\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
|
|
12
14
|
"type": "registry:block"
|
|
13
15
|
},
|
|
14
16
|
{
|
|
@@ -18,5 +20,9 @@
|
|
|
18
20
|
"target": "src/assets/placeholder.webp"
|
|
19
21
|
}
|
|
20
22
|
],
|
|
23
|
+
"docs": "https://ui.full.dev/blocks/content/",
|
|
24
|
+
"categories": [
|
|
25
|
+
"content"
|
|
26
|
+
],
|
|
21
27
|
"type": "registry:block"
|
|
22
28
|
}
|