fulldev-ui 0.25.0 → 0.25.2

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.
Files changed (281) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/liquid/README.md +1 -1
  3. package/liquid/assets/ui-licenses.json +1 -1
  4. package/liquid/assets/ui-manifest.json +1 -1
  5. package/package.json +4 -2
  6. package/public/r/liquid/components.json +1 -1
  7. package/public/r/liquid/init.json +1 -1
  8. package/public/r/styles/base-luma/button-examples.json +2 -2
  9. package/public/r/styles/base-luma/collapsible-examples.json +1 -1
  10. package/public/r/styles/base-luma/combobox-examples.json +1 -1
  11. package/public/r/styles/base-luma/combobox.json +1 -1
  12. package/public/r/styles/base-luma/input-group-examples.json +2 -2
  13. package/public/r/styles/base-luma/item-examples.json +1 -1
  14. package/public/r/styles/base-luma/select.json +1 -1
  15. package/public/r/styles/base-luma/tabs.json +1 -1
  16. package/public/r/styles/base-luma/tooltip-examples.json +1 -1
  17. package/public/r/styles/base-lyra/button-examples.json +2 -2
  18. package/public/r/styles/base-lyra/collapsible-examples.json +1 -1
  19. package/public/r/styles/base-lyra/combobox-examples.json +1 -1
  20. package/public/r/styles/base-lyra/combobox.json +1 -1
  21. package/public/r/styles/base-lyra/input-group-examples.json +2 -2
  22. package/public/r/styles/base-lyra/item-examples.json +1 -1
  23. package/public/r/styles/base-lyra/select.json +1 -1
  24. package/public/r/styles/base-lyra/tabs.json +1 -1
  25. package/public/r/styles/base-lyra/tooltip-examples.json +1 -1
  26. package/public/r/styles/base-maia/button-examples.json +2 -2
  27. package/public/r/styles/base-maia/collapsible-examples.json +1 -1
  28. package/public/r/styles/base-maia/combobox-examples.json +1 -1
  29. package/public/r/styles/base-maia/combobox.json +1 -1
  30. package/public/r/styles/base-maia/input-group-examples.json +2 -2
  31. package/public/r/styles/base-maia/item-examples.json +1 -1
  32. package/public/r/styles/base-maia/select.json +1 -1
  33. package/public/r/styles/base-maia/tabs.json +1 -1
  34. package/public/r/styles/base-maia/tooltip-examples.json +1 -1
  35. package/public/r/styles/base-mira/button-examples.json +2 -2
  36. package/public/r/styles/base-mira/collapsible-examples.json +1 -1
  37. package/public/r/styles/base-mira/combobox-examples.json +1 -1
  38. package/public/r/styles/base-mira/combobox.json +1 -1
  39. package/public/r/styles/base-mira/input-group-examples.json +2 -2
  40. package/public/r/styles/base-mira/item-examples.json +1 -1
  41. package/public/r/styles/base-mira/select.json +1 -1
  42. package/public/r/styles/base-mira/tabs.json +1 -1
  43. package/public/r/styles/base-mira/tooltip-examples.json +1 -1
  44. package/public/r/styles/base-nova/button-examples.json +2 -2
  45. package/public/r/styles/base-nova/collapsible-examples.json +1 -1
  46. package/public/r/styles/base-nova/combobox-examples.json +1 -1
  47. package/public/r/styles/base-nova/combobox.json +1 -1
  48. package/public/r/styles/base-nova/input-group-examples.json +2 -2
  49. package/public/r/styles/base-nova/item-examples.json +1 -1
  50. package/public/r/styles/base-nova/select.json +1 -1
  51. package/public/r/styles/base-nova/tabs.json +1 -1
  52. package/public/r/styles/base-nova/tooltip-examples.json +1 -1
  53. package/public/r/styles/base-rhea/button-examples.json +2 -2
  54. package/public/r/styles/base-rhea/collapsible-examples.json +1 -1
  55. package/public/r/styles/base-rhea/combobox-examples.json +1 -1
  56. package/public/r/styles/base-rhea/combobox.json +1 -1
  57. package/public/r/styles/base-rhea/input-group-examples.json +2 -2
  58. package/public/r/styles/base-rhea/item-examples.json +1 -1
  59. package/public/r/styles/base-rhea/select.json +1 -1
  60. package/public/r/styles/base-rhea/tabs.json +1 -1
  61. package/public/r/styles/base-rhea/tooltip-examples.json +1 -1
  62. package/public/r/styles/base-sera/button-examples.json +2 -2
  63. package/public/r/styles/base-sera/collapsible-examples.json +1 -1
  64. package/public/r/styles/base-sera/combobox-examples.json +1 -1
  65. package/public/r/styles/base-sera/combobox.json +1 -1
  66. package/public/r/styles/base-sera/input-group-examples.json +2 -2
  67. package/public/r/styles/base-sera/item-examples.json +1 -1
  68. package/public/r/styles/base-sera/select.json +1 -1
  69. package/public/r/styles/base-sera/tabs.json +1 -1
  70. package/public/r/styles/base-sera/tooltip-examples.json +1 -1
  71. package/public/r/styles/base-vega/button-examples.json +2 -2
  72. package/public/r/styles/base-vega/collapsible-examples.json +1 -1
  73. package/public/r/styles/base-vega/combobox-examples.json +1 -1
  74. package/public/r/styles/base-vega/combobox.json +1 -1
  75. package/public/r/styles/base-vega/input-group-examples.json +2 -2
  76. package/public/r/styles/base-vega/item-examples.json +1 -1
  77. package/public/r/styles/base-vega/select.json +1 -1
  78. package/public/r/styles/base-vega/tabs.json +1 -1
  79. package/public/r/styles/base-vega/tooltip-examples.json +1 -1
  80. package/liquid/vendor.json +0 -180
  81. package/public/r/accordion-examples.json +0 -49
  82. package/public/r/accordion.json +0 -42
  83. package/public/r/alert-dialog-examples.json +0 -51
  84. package/public/r/alert-dialog.json +0 -84
  85. package/public/r/alert-examples.json +0 -47
  86. package/public/r/alert.json +0 -38
  87. package/public/r/article-1.json +0 -22
  88. package/public/r/article-2.json +0 -22
  89. package/public/r/articles-1.json +0 -22
  90. package/public/r/articles-2.json +0 -23
  91. package/public/r/articles-3.json +0 -22
  92. package/public/r/articles-4.json +0 -22
  93. package/public/r/aspect-ratio-examples.json +0 -33
  94. package/public/r/aspect-ratio.json +0 -23
  95. package/public/r/attachment-examples.json +0 -48
  96. package/public/r/attachment.json +0 -66
  97. package/public/r/avatar-examples.json +0 -68
  98. package/public/r/avatar.json +0 -48
  99. package/public/r/badge-examples.json +0 -52
  100. package/public/r/badge.json +0 -28
  101. package/public/r/banner-1.json +0 -24
  102. package/public/r/banner-2.json +0 -22
  103. package/public/r/banner.json +0 -31
  104. package/public/r/base.json +0 -143
  105. package/public/r/blocks-1.json +0 -27
  106. package/public/r/blocks.json +0 -92
  107. package/public/r/breadcrumb-examples.json +0 -53
  108. package/public/r/breadcrumb.json +0 -56
  109. package/public/r/button-examples.json +0 -87
  110. package/public/r/button-group-examples.json +0 -75
  111. package/public/r/button-group.json +0 -41
  112. package/public/r/button.json +0 -28
  113. package/public/r/card-examples.json +0 -51
  114. package/public/r/card.json +0 -53
  115. package/public/r/carousel-examples.json +0 -49
  116. package/public/r/carousel.json +0 -50
  117. package/public/r/checkbox-examples.json +0 -56
  118. package/public/r/checkbox.json +0 -23
  119. package/public/r/code-block-examples.json +0 -33
  120. package/public/r/code-block.json +0 -65
  121. package/public/r/collapsible-examples.json +0 -51
  122. package/public/r/collapsible.json +0 -36
  123. package/public/r/combobox-examples.json +0 -69
  124. package/public/r/combobox.json +0 -81
  125. package/public/r/command-examples.json +0 -47
  126. package/public/r/command.json +0 -71
  127. package/public/r/components.json +0 -74
  128. package/public/r/contact-1.json +0 -23
  129. package/public/r/contact-2.json +0 -23
  130. package/public/r/contact-3.json +0 -29
  131. package/public/r/content-1.json +0 -31
  132. package/public/r/content-2.json +0 -31
  133. package/public/r/content-3.json +0 -28
  134. package/public/r/content-4.json +0 -31
  135. package/public/r/cta-1.json +0 -24
  136. package/public/r/cta-2.json +0 -30
  137. package/public/r/cta-3.json +0 -24
  138. package/public/r/cta-4.json +0 -30
  139. package/public/r/cta-5.json +0 -31
  140. package/public/r/cta-6.json +0 -30
  141. package/public/r/cta-7.json +0 -23
  142. package/public/r/cta-8.json +0 -22
  143. package/public/r/dialog-examples.json +0 -47
  144. package/public/r/dialog.json +0 -75
  145. package/public/r/doc-1.json +0 -30
  146. package/public/r/drawer-examples.json +0 -54
  147. package/public/r/drawer.json +0 -109
  148. package/public/r/dropdown-menu-examples.json +0 -63
  149. package/public/r/dropdown-menu.json +0 -77
  150. package/public/r/empty-examples.json +0 -55
  151. package/public/r/empty.json +0 -48
  152. package/public/r/faqs-1.json +0 -23
  153. package/public/r/faqs-2.json +0 -23
  154. package/public/r/faqs-3.json +0 -23
  155. package/public/r/faqs-4.json +0 -22
  156. package/public/r/features-1.json +0 -26
  157. package/public/r/features-2.json +0 -22
  158. package/public/r/features-3.json +0 -21
  159. package/public/r/features-4.json +0 -26
  160. package/public/r/features-5.json +0 -22
  161. package/public/r/features-6.json +0 -23
  162. package/public/r/field-examples.json +0 -86
  163. package/public/r/field.json +0 -72
  164. package/public/r/footer-1.json +0 -24
  165. package/public/r/footer-2.json +0 -24
  166. package/public/r/footer-3.json +0 -24
  167. package/public/r/form.json +0 -23
  168. package/public/r/header-1.json +0 -29
  169. package/public/r/header-2.json +0 -29
  170. package/public/r/header-3.json +0 -30
  171. package/public/r/header-4.json +0 -29
  172. package/public/r/header-5.json +0 -30
  173. package/public/r/header.json +0 -40
  174. package/public/r/hero-1.json +0 -23
  175. package/public/r/hero-10.json +0 -24
  176. package/public/r/hero-11.json +0 -24
  177. package/public/r/hero-12.json +0 -22
  178. package/public/r/hero-13.json +0 -22
  179. package/public/r/hero-2.json +0 -24
  180. package/public/r/hero-3.json +0 -22
  181. package/public/r/hero-4.json +0 -25
  182. package/public/r/hero-5.json +0 -27
  183. package/public/r/hero-6.json +0 -27
  184. package/public/r/hero-7.json +0 -27
  185. package/public/r/hero-8.json +0 -22
  186. package/public/r/hero-9.json +0 -27
  187. package/public/r/hover-card-examples.json +0 -29
  188. package/public/r/hover-card.json +0 -37
  189. package/public/r/icon.json +0 -27
  190. package/public/r/init.json +0 -44
  191. package/public/r/input-examples.json +0 -97
  192. package/public/r/input-group-examples.json +0 -91
  193. package/public/r/input-group.json +0 -53
  194. package/public/r/input.json +0 -23
  195. package/public/r/item-examples.json +0 -74
  196. package/public/r/item.json +0 -71
  197. package/public/r/kbd-examples.json +0 -50
  198. package/public/r/kbd.json +0 -28
  199. package/public/r/label-examples.json +0 -24
  200. package/public/r/label.json +0 -23
  201. package/public/r/layout.json +0 -41
  202. package/public/r/links-2.json +0 -24
  203. package/public/r/logo.json +0 -33
  204. package/public/r/logos-1.json +0 -22
  205. package/public/r/logos-2.json +0 -23
  206. package/public/r/logos-3.json +0 -22
  207. package/public/r/marquee.json +0 -46
  208. package/public/r/native-select-examples.json +0 -38
  209. package/public/r/native-select.json +0 -36
  210. package/public/r/navigation-menu-examples.json +0 -26
  211. package/public/r/navigation-menu.json +0 -67
  212. package/public/r/pagination-examples.json +0 -35
  213. package/public/r/pagination.json +0 -59
  214. package/public/r/popover-examples.json +0 -42
  215. package/public/r/popover.json +0 -51
  216. package/public/r/price.json +0 -38
  217. package/public/r/pricing-1.json +0 -29
  218. package/public/r/pricing-2.json +0 -28
  219. package/public/r/pricing-3.json +0 -29
  220. package/public/r/product-1.json +0 -24
  221. package/public/r/products-1.json +0 -24
  222. package/public/r/products-2.json +0 -24
  223. package/public/r/products-3.json +0 -24
  224. package/public/r/products-4.json +0 -24
  225. package/public/r/products-5.json +0 -25
  226. package/public/r/progress-examples.json +0 -33
  227. package/public/r/progress.json +0 -23
  228. package/public/r/radio-group-examples.json +0 -50
  229. package/public/r/radio-group.json +0 -31
  230. package/public/r/rating.json +0 -26
  231. package/public/r/registry.json +0 -6959
  232. package/public/r/resizable-examples.json +0 -33
  233. package/public/r/resizable.json +0 -36
  234. package/public/r/reviews-1.json +0 -27
  235. package/public/r/reviews-2.json +0 -27
  236. package/public/r/reviews-3.json +0 -27
  237. package/public/r/reviews-4.json +0 -25
  238. package/public/r/reviews-5.json +0 -27
  239. package/public/r/section.json +0 -38
  240. package/public/r/select-examples.json +0 -53
  241. package/public/r/select.json +0 -62
  242. package/public/r/separator-examples.json +0 -38
  243. package/public/r/separator.json +0 -23
  244. package/public/r/services-1.json +0 -32
  245. package/public/r/services-2.json +0 -29
  246. package/public/r/services-3.json +0 -29
  247. package/public/r/services-4.json +0 -31
  248. package/public/r/services-5.json +0 -26
  249. package/public/r/services-6.json +0 -32
  250. package/public/r/services-7.json +0 -32
  251. package/public/r/sheet-examples.json +0 -37
  252. package/public/r/sheet.json +0 -66
  253. package/public/r/sidebar-1.json +0 -35
  254. package/public/r/sidebar-examples.json +0 -24
  255. package/public/r/sidebar.json +0 -146
  256. package/public/r/skeleton-examples.json +0 -49
  257. package/public/r/skeleton.json +0 -23
  258. package/public/r/slider-examples.json +0 -44
  259. package/public/r/slider.json +0 -26
  260. package/public/r/spinner-examples.json +0 -61
  261. package/public/r/spinner.json +0 -26
  262. package/public/r/switch-examples.json +0 -50
  263. package/public/r/switch.json +0 -26
  264. package/public/r/table-examples.json +0 -38
  265. package/public/r/table.json +0 -58
  266. package/public/r/tabs-examples.json +0 -47
  267. package/public/r/tabs.json +0 -46
  268. package/public/r/textarea-examples.json +0 -45
  269. package/public/r/textarea.json +0 -23
  270. package/public/r/theme-toggle.json +0 -34
  271. package/public/r/toast-examples.json +0 -29
  272. package/public/r/toast.json +0 -80
  273. package/public/r/toc.json +0 -43
  274. package/public/r/toggle-examples.json +0 -46
  275. package/public/r/toggle-group-examples.json +0 -57
  276. package/public/r/toggle-group.json +0 -34
  277. package/public/r/toggle.json +0 -31
  278. package/public/r/tooltip-examples.json +0 -43
  279. package/public/r/tooltip.json +0 -36
  280. package/public/r/typography.json +0 -103
  281. package/public/r/video.json +0 -23
@@ -1,40 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "header",
4
- "title": "Header",
5
- "description": "A responsive site header with grouped content.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/sheet"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/ui/header/header.astro",
16
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"header\"> & VariantProps<typeof variants>\n\nconst variants = cva(\"py-2 relative z-50 flex w-full items-center gap-4\", {\n variants: {\n variant: {\n default: \"\",\n floating:\n \"my-2 rounded-lg border bg-background shadow-sm mx-auto w-[calc(100%-2*var(--gutter,--spacing(4)))] max-w-[calc(var(--container,var(--container-7xl))-2*var(--gutter,--spacing(4)))] overflow-hidden\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n})\n\nconst {\n class: className,\n variant = \"default\",\n \"data-slot\": dataSlot = \"header\",\n ...props\n} = Astro.props\n---\n\n<header\n class={cn(variants({ variant }), className)}\n data-slot={dataSlot}\n data-variant={variant}\n {...props}\n>\n <slot />\n</header>\n",
17
- "type": "registry:ui"
18
- },
19
- {
20
- "path": "src/components/ui/header/header-container.astro",
21
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div\n data-slot=\"header-container\"\n class={cn(\n \"relative mx-auto flex w-full max-w-[var(--container,var(--container-7xl))] gap-4 px-[var(--gutter,--spacing(4))]\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
22
- "type": "registry:ui"
23
- },
24
- {
25
- "path": "src/components/ui/header/header-group.astro",
26
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div\n data-slot=\"header-group\"\n class={cn(\"flex min-w-0 items-center gap-2\", className)}\n {...props}\n>\n <slot />\n</div>\n",
27
- "type": "registry:ui"
28
- },
29
- {
30
- "path": "src/components/ui/header/index.ts",
31
- "content": "export { default as Header } from \"./header.astro\"\nexport { default as HeaderContainer } from \"./header-container.astro\"\nexport { default as HeaderGroup } from \"./header-group.astro\"\n",
32
- "type": "registry:ui"
33
- }
34
- ],
35
- "docs": "https://ui.full.dev/components/header/",
36
- "categories": [
37
- "ui"
38
- ],
39
- "type": "registry:ui"
40
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-1",
4
- "title": "Hero 1",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/badge",
8
- "@fulldev/button",
9
- "@fulldev/section"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/hero-1.astro",
14
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n badge?: {\n label: string\n href: string\n }\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n badge,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col items-center gap-8 text-center\">\n {badge && (\n <Badge as=\"a\" href={badge.href} variant=\"secondary\">\n {badge.label}\n </Badge>\n )}\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <SectionDescription class=\"max-w-2xl\">{description}</SectionDescription>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\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 loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
15
- "type": "registry:block"
16
- }
17
- ],
18
- "docs": "https://ui.full.dev/blocks/hero/",
19
- "categories": [
20
- "hero"
21
- ],
22
- "type": "registry:block"
23
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-10",
4
- "title": "Hero 10",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/avatar",
8
- "@fulldev/button",
9
- "@fulldev/rating",
10
- "@fulldev/section"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/hero-10.astro",
15
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\"dark bg-background min-h-screen justify-start\", className)}\n {...props}\n>\n <SectionContainer class=\"relative z-10 grid gap-8 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-center\">\n <div class=\"flex flex-col gap-5\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"flex shrink-0 flex-col gap-5\">\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n class=\"w-full\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0 mask-y-from-0% mask-y-to-100%\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-75\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/hero/",
20
- "categories": [
21
- "hero"
22
- ],
23
- "type": "registry:block"
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-11",
4
- "title": "Hero 11",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/avatar",
8
- "@fulldev/button",
9
- "@fulldev/rating",
10
- "@fulldev/section"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/hero-11.astro",
15
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\"dark bg-background min-h-screen justify-center\", className)}\n {...props}\n>\n <SectionContainer class=\"flex flex-col relative z-10 items-center gap-8 text-center\">\n <h1 class=\"text-foreground max-w-3xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0 mask-y-from-0% mask-y-to-100%\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-75\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/hero/",
20
- "categories": [
21
- "hero"
22
- ],
23
- "type": "registry:block"
24
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-12",
4
- "title": "Hero 12",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/blocks/hero-12.astro",
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 { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"gap-8 pt-8\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8 border-y py-8\">\n <div class=\"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between\">\n <h1 class=\"text-foreground max-w-xl text-2xl leading-[1.2] font-semibold tracking-tight text-balance sm:text-3xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground max-w-md text-base leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\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 loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
14
- "type": "registry:block"
15
- }
16
- ],
17
- "docs": "https://ui.full.dev/blocks/hero/",
18
- "categories": [
19
- "hero"
20
- ],
21
- "type": "registry:block"
22
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-13",
4
- "title": "Hero 13",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/blocks/hero-13.astro",
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 { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-[1fr_3fr] lg:items-start\">\n <div class=\"flex flex-col gap-6 pt-8\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-2xl leading-[1.2] font-semibold tracking-tight text-balance sm:text-3xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-base leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\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: 80rem) 900px, (min-width: 64rem) 75vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
14
- "type": "registry:block"
15
- }
16
- ],
17
- "docs": "https://ui.full.dev/blocks/hero/",
18
- "categories": [
19
- "hero"
20
- ],
21
- "type": "registry:block"
22
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-2",
4
- "title": "Hero 2",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/avatar",
8
- "@fulldev/button",
9
- "@fulldev/rating",
10
- "@fulldev/section"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/hero-2.astro",
15
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col items-center gap-8 text-center\">\n <div class=\"flex flex-col items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex items-center gap-2\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-sm\">{socialProof.text}</span>\n </div>\n </div>\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <SectionDescription class=\"max-w-2xl\">{description}</SectionDescription>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\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 loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/hero/",
20
- "categories": [
21
- "hero"
22
- ],
23
- "type": "registry:block"
24
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-3",
4
- "title": "Hero 3",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/blocks/hero-3.astro",
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 { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\"dark bg-background min-h-[80vh] justify-center\", className)}\n {...props}\n>\n <SectionContainer class=\"flex flex-col relative z-10 items-center gap-8 text-center\">\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-50\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
14
- "type": "registry:block"
15
- }
16
- ],
17
- "docs": "https://ui.full.dev/blocks/hero/",
18
- "categories": [
19
- "hero"
20
- ],
21
- "type": "registry:block"
22
- }
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-4",
4
- "title": "Hero 4",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/section"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/blocks/hero-4.astro",
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 { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\n \"dark bg-background text-foreground min-h-screen justify-center\",\n className\n )}\n {...props}\n>\n <SectionContainer class=\"flex flex-col relative z-10 items-center gap-8 text-center\">\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed text-balance\">\n {description}\n </p>\n <ul class=\"flex flex-wrap justify-center gap-x-6 gap-y-2\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-2 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-50\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
17
- "type": "registry:block"
18
- }
19
- ],
20
- "docs": "https://ui.full.dev/blocks/hero/",
21
- "categories": [
22
- "hero"
23
- ],
24
- "type": "registry:block"
25
- }
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-5",
4
- "title": "Hero 5",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/avatar",
11
- "@fulldev/button",
12
- "@fulldev/rating",
13
- "@fulldev/section"
14
- ],
15
- "files": [
16
- {
17
- "path": "src/components/blocks/hero-5.astro",
18
- "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 {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\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 socialProof,\n 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 <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\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: 80rem) 600px, (min-width: 64rem) 50vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
19
- "type": "registry:block"
20
- }
21
- ],
22
- "docs": "https://ui.full.dev/blocks/hero/",
23
- "categories": [
24
- "hero"
25
- ],
26
- "type": "registry:block"
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-6",
4
- "title": "Hero 6",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/avatar",
11
- "@fulldev/button",
12
- "@fulldev/rating",
13
- "@fulldev/section"
14
- ],
15
- "files": [
16
- {
17
- "path": "src/components/blocks/hero-6.astro",
18
- "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 {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\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 socialProof,\n 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 <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: 80rem) 600px, (min-width: 64rem) 50vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n </SectionContainer>\n</Section>\n",
19
- "type": "registry:block"
20
- }
21
- ],
22
- "docs": "https://ui.full.dev/blocks/hero/",
23
- "categories": [
24
- "hero"
25
- ],
26
- "type": "registry:block"
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-7",
4
- "title": "Hero 7",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/avatar",
11
- "@fulldev/button",
12
- "@fulldev/rating",
13
- "@fulldev/section"
14
- ],
15
- "files": [
16
- {
17
- "path": "src/components/blocks/hero-7.astro",
18
- "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 {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\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 socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-[2fr_3fr] lg:items-center lg:gap-0\">\n <div class=\"flex flex-col gap-6 lg:pr-12\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\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: 80rem) 750px, (min-width: 64rem) 60vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
19
- "type": "registry:block"
20
- }
21
- ],
22
- "docs": "https://ui.full.dev/blocks/hero/",
23
- "categories": [
24
- "hero"
25
- ],
26
- "type": "registry:block"
27
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-8",
4
- "title": "Hero 8",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/blocks/hero-8.astro",
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 { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-[1fr_3fr] lg:items-center lg:gap-0\">\n <div class=\"flex flex-col gap-6 lg:pr-12\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\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: 80rem) 936px, (min-width: 64rem) 75vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
14
- "type": "registry:block"
15
- }
16
- ],
17
- "docs": "https://ui.full.dev/blocks/hero/",
18
- "categories": [
19
- "hero"
20
- ],
21
- "type": "registry:block"
22
- }
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hero-9",
4
- "title": "Hero 9",
5
- "description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/avatar",
11
- "@fulldev/button",
12
- "@fulldev/rating",
13
- "@fulldev/section"
14
- ],
15
- "files": [
16
- {
17
- "path": "src/components/blocks/hero-9.astro",
18
- "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 {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"dark bg-background text-foreground\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n <div class=\"relative z-10 flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 text-lg leading-relaxed\">{description}</p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0 lg:mask-l-from-30%\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-50\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
19
- "type": "registry:block"
20
- }
21
- ],
22
- "docs": "https://ui.full.dev/blocks/hero/",
23
- "categories": [
24
- "hero"
25
- ],
26
- "type": "registry:block"
27
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hover-card-examples",
4
- "title": "Hover Card examples",
5
- "description": "The examples from the shadcn/ui Hover Card docs.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/hover-card"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/examples/hover-card/hover-card-demo.astro",
13
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n HoverCard,\n HoverCardContent,\n HoverCardTrigger,\n} from \"@/components/ui/hover-card\"\n---\n\n<HoverCard delay={10} closeDelay={100}>\n <HoverCardTrigger class={buttonVariants({ variant: \"link\" })}>\n Hover Here\n </HoverCardTrigger>\n <HoverCardContent class=\"flex w-64 flex-col gap-0.5\">\n <div class=\"font-semibold\">@nextjs</div>\n <div>The React Framework – created and maintained by @vercel.</div>\n <div class=\"mt-1 text-xs text-muted-foreground\">Joined December 2021</div>\n </HoverCardContent>\n</HoverCard>\n",
14
- "type": "registry:component"
15
- },
16
- {
17
- "path": "src/components/examples/hover-card/hover-card-rtl.astro",
18
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n HoverCard,\n HoverCardContent,\n HoverCardTrigger,\n} from \"@/components/ui/hover-card\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n trigger: \"Wireless Headphones\",\n name: \"Wireless Headphones\",\n price: \"$99.99\",\n \"inline-start\": \"Inline Start\",\n left: \"Left\",\n top: \"Top\",\n bottom: \"Bottom\",\n right: \"Right\",\n \"inline-end\": \"Inline End\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n trigger: \"سماعات لاسلكية\",\n name: \"سماعات لاسلكية\",\n price: \"٩٩.٩٩ $\",\n \"inline-start\": \"بداية السطر\",\n left: \"يسار\",\n top: \"أعلى\",\n bottom: \"أسفل\",\n right: \"يمين\",\n \"inline-end\": \"نهاية السطر\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n trigger: \"אוזניות אלחוטיות\",\n name: \"אוזניות אלחוטיות\",\n price: \"99.99 $\",\n \"inline-start\": \"תחילת השורה\",\n left: \"שמאל\",\n top: \"למעלה\",\n bottom: \"למטה\",\n right: \"ימין\",\n \"inline-end\": \"סוף השורה\",\n },\n },\n} as const\n\nconst physicalSides = [\"left\", \"top\", \"bottom\", \"right\"] as const\nconst logicalSides = [\"inline-start\", \"inline-end\"] as const\n\nconst { dir, values: t } = translations.ar\n\n// HoverCard takes physical sides only: resolve the logical ones for `dir`.\nconst physicalSide = (side: (typeof logicalSides)[number]) =>\n (side === \"inline-start\") === (dir === \"rtl\") ? \"right\" : \"left\"\n---\n\n<div class=\"grid gap-4\">\n <div class=\"flex flex-wrap justify-center gap-2\">\n {physicalSides.map((side) => (\n <HoverCard delay={10} closeDelay={100}>\n <HoverCardTrigger class={buttonVariants({ variant: \"outline\" })}>\n {t[side]}\n </HoverCardTrigger>\n <HoverCardContent\n side={side}\n class=\"flex w-64 flex-col gap-1\"\n dir={dir}\n >\n <div class=\"font-semibold\">{t.name}</div>\n <div class=\"text-sm text-muted-foreground\">{t.price}</div>\n </HoverCardContent>\n </HoverCard>\n ))}\n </div>\n <div class=\"flex flex-wrap justify-center gap-2\">\n {logicalSides.map((side) => (\n <HoverCard delay={10} closeDelay={100}>\n <HoverCardTrigger class={buttonVariants({ variant: \"outline\" })}>\n {t[side]}\n </HoverCardTrigger>\n <HoverCardContent\n side={physicalSide(side)}\n class=\"flex w-64 flex-col gap-1\"\n dir={dir}\n >\n <div class=\"font-semibold\">{t.name}</div>\n <div class=\"text-sm text-muted-foreground\">{t.price}</div>\n </HoverCardContent>\n </HoverCard>\n ))}\n </div>\n</div>\n",
19
- "type": "registry:component"
20
- },
21
- {
22
- "path": "src/components/examples/hover-card/hover-card-sides.astro",
23
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n HoverCard,\n HoverCardContent,\n HoverCardTrigger,\n} from \"@/components/ui/hover-card\"\n\nconst HOVER_CARD_SIDES = [\"left\", \"top\", \"bottom\", \"right\"] as const\n---\n\n<div class=\"flex flex-wrap justify-center gap-2\">\n {HOVER_CARD_SIDES.map((side) => (\n <HoverCard delay={100} closeDelay={100}>\n <HoverCardTrigger\n class={buttonVariants({ variant: \"outline\", class: \"capitalize\" })}\n >\n {side}\n </HoverCardTrigger>\n <HoverCardContent side={side}>\n <div class=\"flex flex-col gap-1\">\n <p class=\"font-medium\">Hover Card</p>\n <p>This hover card appears on the {side} side of the trigger.</p>\n </div>\n </HoverCardContent>\n </HoverCard>\n ))}\n</div>\n",
24
- "type": "registry:component"
25
- }
26
- ],
27
- "docs": "https://ui.full.dev/components/hover-card/",
28
- "type": "registry:example"
29
- }
@@ -1,37 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "hover-card",
4
- "title": "Hover Card",
5
- "description": "For sighted users to preview content available behind a link.",
6
- "dependencies": [
7
- "@data-slot/hover-card@^1.1.2",
8
- "@data-slot/core@^1.1.2"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/ui/hover-card/hover-card.astro",
13
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n mountStrategy?: \"lazy\" | \"eager\"\n defaultOpen?: boolean\n open?: boolean\n delay?: number\n skipDelayDuration?: number\n closeDelay?: number\n side?: \"top\" | \"right\" | \"bottom\" | \"left\"\n align?: \"start\" | \"center\" | \"end\"\n sideOffset?: number\n alignOffset?: number\n avoidCollisions?: boolean\n collisionPadding?: number\n portal?: boolean\n closeOnClickOutside?: boolean\n closeOnEscape?: boolean\n}\n\nconst {\n mountStrategy,\n class: className,\n defaultOpen,\n open,\n delay = 700,\n skipDelayDuration = 300,\n closeDelay = 300,\n side = \"bottom\",\n align = \"center\",\n sideOffset = 4,\n alignOffset = 0,\n avoidCollisions = true,\n collisionPadding = 8,\n portal = true,\n closeOnClickOutside = true,\n closeOnEscape = true,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"hover-card\"\n data-mount-strategy={mountStrategy}\n data-default-open={defaultOpen}\n data-controlled-open={open}\n data-delay={delay}\n data-skip-delay-duration={skipDelayDuration}\n data-close-delay={closeDelay}\n data-side={side}\n data-align={align}\n data-side-offset={sideOffset}\n data-align-offset={alignOffset}\n data-avoid-collisions={avoidCollisions}\n data-collision-padding={collisionPadding}\n data-portal={portal}\n data-close-on-click-outside={closeOnClickOutside}\n data-close-on-escape={closeOnEscape}\n class={cn(className)}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { getDataBool, getRoots, hasRootBinding } from \"@data-slot/core\"\n import { createHoverCard } from \"@data-slot/hover-card\"\n\n const controllers: ReturnType<typeof createHoverCard>[] = []\n const initialize = () => {\n for (const root of getRoots(document, \"hover-card\")) {\n if (hasRootBinding(root, \"@data-slot/hover-card\")) continue\n controllers.push(\n createHoverCard(root, { open: getDataBool(root, \"controlledOpen\") })\n )\n }\n }\n initialize()\n document.addEventListener(\"astro:page-load\", initialize)\n document.addEventListener(\"astro:before-swap\", () => {\n for (const controller of controllers) controller.destroy()\n controllers.length = 0\n })\n</script>\n",
14
- "type": "registry:ui"
15
- },
16
- {
17
- "path": "src/components/ui/hover-card/hover-card-content.astro",
18
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n side?: \"top\" | \"right\" | \"bottom\" | \"left\"\n align?: \"start\" | \"center\" | \"end\"\n sideOffset?: number\n alignOffset?: number\n avoidCollisions?: boolean\n collisionPadding?: number\n}\n\nconst {\n class: className,\n hidden = true,\n side,\n align,\n sideOffset,\n alignOffset,\n avoidCollisions,\n collisionPadding,\n ...props\n} = Astro.props\n---\n\n<div data-slot=\"hover-card-portal\">\n <div\n data-slot=\"hover-card-positioner\"\n data-side={side}\n data-align={align}\n data-side-offset={sideOffset}\n data-align-offset={alignOffset}\n data-avoid-collisions={avoidCollisions}\n data-collision-padding={collisionPadding}\n class=\"isolate z-[1000]\"\n >\n <div\n data-slot=\"hover-card-content\"\n hidden={hidden}\n class={cn(\n \"data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-64 rounded-lg p-4 text-sm shadow-md ring-1 duration-100 data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 z-50 origin-(--transform-origin) outline-hidden\",\n className\n )}\n {...props}\n >\n <slot />\n </div>\n </div>\n</div>\n",
19
- "type": "registry:ui"
20
- },
21
- {
22
- "path": "src/components/ui/hover-card/hover-card-trigger.astro",
23
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"button\"> &\n HTMLAttributes<\"a\"> &\n HTMLAttributes<\"div\"> &\n HTMLAttributes<\"span\"> & {\n as?: \"a\" | \"button\" | \"div\" | \"span\"\n href?: string\n }\n\nconst { as: explicitTag, class: className, type, ...props } = Astro.props\n\nconst Tag = explicitTag || (\"href\" in Astro.props ? \"a\" : \"button\")\n---\n\n<Tag\n data-slot=\"hover-card-trigger\"\n type={Tag === \"button\" ? type || \"button\" : undefined}\n class={cn(className)}\n {...props}\n>\n <slot />\n</Tag>\n",
24
- "type": "registry:ui"
25
- },
26
- {
27
- "path": "src/components/ui/hover-card/index.ts",
28
- "content": "export { default as HoverCard } from \"./hover-card.astro\"\nexport { default as HoverCardContent } from \"./hover-card-content.astro\"\nexport { default as HoverCardTrigger } from \"./hover-card-trigger.astro\"\n",
29
- "type": "registry:ui"
30
- }
31
- ],
32
- "docs": "https://ui.full.dev/components/hover-card/",
33
- "categories": [
34
- "ui"
35
- ],
36
- "type": "registry:ui"
37
- }
@@ -1,27 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "icon",
4
- "title": "Icon",
5
- "description": "Render Fulldev content icons or use Lucide and Simple Icons directly in Astro.",
6
- "dependencies": [
7
- "lucide-static",
8
- "simple-icons"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/ui/icon/icon.astro",
13
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = Omit<HTMLAttributes<\"svg\">, \"name\" | \"href\"> & {\n href?: HTMLAttributes<\"a\">[\"href\"]\n name?: string | number\n}\n\nconst { name, href, \"data-slot\": dataSlot = \"icon\", ...props } = Astro.props\n\nconst hrefMap = {\n \"x.com\": \"x\",\n twitter: \"twitter\",\n facebook: \"facebook\",\n instagram: \"instagram\",\n pinterest: \"pinterest\",\n youtube: \"youtube\",\n tiktok: \"tiktok\",\n snapchat: \"snapchat\",\n reddit: \"reddit\",\n tumblr: \"tumblr\",\n \"wa.me\": \"whatsapp\",\n telegram: \"telegram\",\n discord: \"discord\",\n vimeo: \"vimeo\",\n flickr: \"flickr\",\n yelp: \"yelp\",\n spotify: \"spotify\",\n behance: \"behance\",\n dribbble: \"dribbble\",\n soundcloud: \"soundcloud\",\n github: \"github\",\n twitch: \"twitch\",\n \"tel:\": \"phone\",\n \"mailto:\": \"mail\",\n \"maps.app.goo.gl\": \"map-pin\",\n linkedin: \"linkedin\",\n} as const\n\ntype Source = \"lucide\" | \"simple\"\n\nconst icons: Record<Source, Record<string, () => Promise<unknown>>> = {\n lucide: import.meta.glob(\"/node_modules/lucide-static/icons/*.svg\"),\n simple: import.meta.glob(\"/node_modules/simple-icons/icons/*.svg\"),\n}\n\nconst pathFor = (source: Source, icon: string) =>\n source === \"lucide\"\n ? `/node_modules/lucide-static/icons/${icon}.svg`\n : `/node_modules/simple-icons/icons/${icon}.svg`\n\n// Resolve an icon by explicit name, or derive one from a link href.\n// Names may be prefixed with `lucide:` or `simple:` to pick a set when both\n// sets contain the same name (for example `github` or `figma`).\nconst hasName = name != null && name !== \"\"\n\nconst resolve = () => {\n let key = hasName ? String(name) : undefined\n let order: Source[] = [\"lucide\", \"simple\"]\n\n if (!key && href) {\n const hrefKey = Object.keys(hrefMap).find((candidate) =>\n href.toString().includes(candidate)\n )\n if (hrefKey) {\n key = hrefMap[hrefKey as keyof typeof hrefMap]\n order = [\"simple\", \"lucide\"]\n }\n }\n\n const linkIcon = {\n source: \"lucide\" as const,\n path: pathFor(\"lucide\", \"link\"),\n }\n\n if (!key) return href ? linkIcon : undefined\n if (key === \"x.com\") key = \"simple:x\"\n\n const [prefix, icon] = key.includes(\":\") ? key.split(\":\") : [undefined, key]\n if (prefix === \"lucide\" || prefix === \"simple\") order = [prefix]\n\n for (const source of order) {\n const path = pathFor(source, icon)\n if (path in icons[source]) return { source, path }\n }\n\n // A link always gets an icon, even when its brand has no logo in either set\n // (Simple Icons removed LinkedIn, for example).\n if (!hasName && href) return linkIcon\n\n return undefined\n}\n\nconst resolved = resolve()\nconst module = resolved\n ? ((await icons[resolved.source][resolved.path]()) as { default?: any })\n : undefined\nconst Comp = module?.default\n\nconst isLabelled =\n \"aria-label\" in props || \"aria-labelledby\" in props || \"role\" in props\n---\n\n{Comp && resolved && (\n <Comp\n height={24}\n width={24}\n fill={resolved.source === \"simple\" ? \"currentColor\" : \"none\"}\n class=\"size-[1em] text-base\"\n aria-hidden={isLabelled ? undefined : \"true\"}\n data-slot={dataSlot}\n {...props}\n />\n)}\n",
14
- "type": "registry:ui"
15
- },
16
- {
17
- "path": "src/components/ui/icon/index.ts",
18
- "content": "export { default as Icon } from \"./icon.astro\"\n",
19
- "type": "registry:ui"
20
- }
21
- ],
22
- "docs": "https://ui.full.dev/components/icon/",
23
- "categories": [
24
- "ui"
25
- ],
26
- "type": "registry:ui"
27
- }
@@ -1,44 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "init",
4
- "title": "Init",
5
- "description": "Class helper, dependencies, and base styles for an existing project. Leaves theme tokens alone.",
6
- "dependencies": [
7
- "class-variance-authority",
8
- "cn",
9
- "shadcn",
10
- "tw-animate-css"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/lib/utils.ts",
15
- "content": "export { cn } from \"cn\"\n",
16
- "type": "registry:lib"
17
- }
18
- ],
19
- "css": {
20
- "@import \"tw-animate-css\"": {},
21
- "@import \"shadcn/tailwind.css\"": {},
22
- "@layer base": {
23
- "*": {
24
- "@apply border-border outline-ring/50": {}
25
- },
26
- "html": {
27
- "@apply font-sans": {}
28
- },
29
- "body": {
30
- "@apply bg-background text-foreground": {}
31
- }
32
- },
33
- "@media (prefers-reduced-motion: reduce)": {
34
- "*, ::before, ::after": {
35
- "animation-duration": "0.01ms !important",
36
- "animation-iteration-count": "1 !important",
37
- "transition-duration": "0.01ms !important",
38
- "scroll-behavior": "auto !important"
39
- }
40
- }
41
- },
42
- "docs": "https://ui.full.dev/docs/installation/",
43
- "type": "registry:lib"
44
- }