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,67 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "navigation-menu",
4
- "title": "Navigation Menu",
5
- "description": "A collection of links for navigating websites.",
6
- "dependencies": [
7
- "@data-slot/navigation-menu@^1.1.2",
8
- "@lucide/astro"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/ui/navigation-menu/navigation-menu.astro",
13
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport NavigationMenuPositioner from \"./navigation-menu-positioner.astro\"\n\ntype Props = HTMLAttributes<\"nav\"> & {\n mountStrategy?: \"lazy\" | \"eager\"\n delayOpen?: number\n delayClose?: number\n openOnFocus?: boolean\n side?: \"top\" | \"right\" | \"bottom\" | \"left\"\n align?: \"start\" | \"center\" | \"end\"\n sideOffset?: number\n alignOffset?: number\n positionMethod?: \"absolute\" | \"fixed\"\n safeTriangle?: boolean\n debugSafeTriangle?: boolean\n}\n\nconst {\n mountStrategy,\n class: className = \"\",\n delayOpen = 0,\n delayClose = 0,\n openOnFocus,\n side = \"bottom\",\n align = \"start\",\n sideOffset = 8,\n alignOffset = 0,\n positionMethod = \"absolute\",\n safeTriangle,\n debugSafeTriangle,\n \"aria-label\": ariaLabel = \"Main\",\n ...props\n} = Astro.props\n---\n\n<nav\n {...props}\n aria-label={ariaLabel}\n data-slot=\"navigation-menu\"\n data-mount-strategy={mountStrategy}\n data-delay-open={delayOpen}\n data-delay-close={delayClose}\n data-open-on-focus={openOnFocus}\n data-side={side}\n data-align={align}\n data-side-offset={sideOffset}\n data-align-offset={alignOffset}\n data-position-method={positionMethod}\n data-safe-triangle={safeTriangle}\n data-debug-safe-triangle={debugSafeTriangle}\n class={cn(\n \"max-w-max group/navigation-menu relative flex flex-1 items-center justify-center\",\n className\n )}\n>\n <slot />\n <NavigationMenuPositioner {side} {sideOffset} {align} {alignOffset} />\n</nav>\n\n<script>\n import { create } from \"@data-slot/navigation-menu\"\n\n const controllers: ReturnType<typeof create> = []\n const initialize = () => controllers.push(...create())\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/navigation-menu/navigation-menu-content.astro",
18
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = {\n class?: string\n align?: \"start\" | \"center\" | \"end\"\n alignOffset?: number\n side?: \"top\" | \"right\" | \"bottom\" | \"left\"\n sideOffset?: number\n} & HTMLAttributes<\"div\">\n\nconst {\n class: className = \"\",\n hidden = true,\n align,\n alignOffset,\n side,\n sideOffset,\n ...props\n} = Astro.props\n---\n\n<div\n {...props}\n data-slot=\"navigation-menu-content\"\n hidden={hidden}\n data-align={align}\n data-align-offset={alignOffset}\n data-side={side}\n data-side-offset={sideOffset}\n class={cn(\n \"data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-2 pr-2.5 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 h-full w-auto transition-[opacity,transform,translate] duration-[0.35s] data-ending-style:opacity-0 data-starting-style:opacity-0 data-ending-style:data-[activation-direction=left]:translate-x-[50%] data-starting-style:data-[activation-direction=left]:translate-x-[-50%] data-ending-style:data-[activation-direction=right]:translate-x-[-50%] data-starting-style:data-[activation-direction=right]:translate-x-[50%]\",\n className\n )}\n>\n <slot />\n</div>\n",
19
- "type": "registry:ui"
20
- },
21
- {
22
- "path": "src/components/ui/navigation-menu/navigation-menu-item.astro",
23
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"li\"> & {\n value: string\n align?: \"start\" | \"center\" | \"end\"\n alignOffset?: number\n side?: \"top\" | \"right\" | \"bottom\" | \"left\"\n sideOffset?: number\n}\n\nconst {\n class: className,\n value,\n align,\n alignOffset,\n side,\n sideOffset,\n ...props\n} = Astro.props\n---\n\n<li\n data-slot=\"navigation-menu-item\"\n data-value={value}\n data-align={align}\n data-align-offset={alignOffset}\n data-side={side}\n data-side-offset={sideOffset}\n class={cn(\"relative list-none\", className)}\n {...props}\n>\n <slot />\n</li>\n",
24
- "type": "registry:ui"
25
- },
26
- {
27
- "path": "src/components/ui/navigation-menu/navigation-menu-link.astro",
28
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"a\"> & {\n active?: boolean\n}\n\nconst {\n class: className,\n active,\n \"aria-current\": ariaCurrent = active ? \"page\" : undefined,\n ...props\n} = Astro.props\n---\n\n<a\n data-slot=\"navigation-menu-link\"\n data-active={active ? \"true\" : undefined}\n aria-current={ariaCurrent}\n class={cn(\"data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/50 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-md p-2 text-sm transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4 in-data-[slot=navigation-menu-content]:rounded-sm\", className)}\n {...props}\n>\n <slot />\n</a>\n",
29
- "type": "registry:ui"
30
- },
31
- {
32
- "path": "src/components/ui/navigation-menu/navigation-menu-list.astro",
33
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"ul\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<ul\n data-slot=\"navigation-menu-list\"\n class={cn(\n \"gap-0 group relative flex flex-1 list-none items-center justify-center\",\n className\n )}\n {...props}\n>\n <slot />\n</ul>\n",
34
- "type": "registry:ui"
35
- },
36
- {
37
- "path": "src/components/ui/navigation-menu/navigation-menu-indicator.astro",
38
- "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=\"navigation-menu-indicator\"\n data-state=\"hidden\"\n class={cn(\n \"data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in absolute top-full left-(--indicator-left) z-1 flex h-1.5 w-(--indicator-width) items-end justify-center overflow-hidden data-[state=hidden]:invisible\",\n className\n )}\n {...props}\n>\n <div class=\"bg-border rounded-tl-sm shadow-md relative top-[60%] h-2 w-2 rotate-45\"></div>\n</div>\n",
39
- "type": "registry:ui"
40
- },
41
- {
42
- "path": "src/components/ui/navigation-menu/navigation-menu-trigger.astro",
43
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport ChevronDownIcon from \"@lucide/astro/icons/chevron-down\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport navigationMenuTriggerStyle from \"./navigation-menu-trigger-style\"\n\ntype Props = HTMLAttributes<\"button\">\n\nconst { class: className, type = \"button\", ...props } = Astro.props\n---\n\n<button\n data-slot=\"navigation-menu-trigger\"\n type={type}\n class={cn(navigationMenuTriggerStyle(), \"group\", className)}\n {...props}\n>\n <slot />{\" \"}\n <ChevronDownIcon\n class=\"relative top-px ml-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-[state=open]/navigation-menu-trigger:rotate-180\"\n aria-hidden=\"true\"\n />\n</button>\n",
44
- "type": "registry:ui"
45
- },
46
- {
47
- "path": "src/components/ui/navigation-menu/navigation-menu-trigger-style.ts",
48
- "content": "import { cva } from \"class-variance-authority\"\n\nconst navigationMenuTriggerStyle = cva(\n \"hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring/50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted rounded-md px-4 py-2 text-sm font-medium transition-all focus-visible:ring-3 focus-visible:outline-1 disabled:opacity-50 group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center outline-none disabled:pointer-events-none data-[state=open]:bg-muted/50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted\"\n)\n\nexport default navigationMenuTriggerStyle\n",
49
- "type": "registry:ui"
50
- },
51
- {
52
- "path": "src/components/ui/navigation-menu/navigation-menu-positioner.astro",
53
- "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 sideOffset?: number\n align?: \"start\" | \"center\" | \"end\"\n alignOffset?: number\n}\n\nconst {\n class: className,\n side = \"bottom\",\n sideOffset = 8,\n align = \"start\",\n alignOffset = 0,\n ...props\n} = Astro.props\n---\n\n<div data-slot=\"navigation-menu-portal\">\n <div\n {...props}\n data-slot=\"navigation-menu-positioner\"\n data-side={side}\n data-side-offset={sideOffset}\n data-align={align}\n data-align-offset={alignOffset}\n class={cn(\n \"isolate z-[1000] h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-instant:transition-none data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0\",\n className\n )}\n >\n <div\n data-slot=\"navigation-menu-popup\"\n hidden\n class=\"bg-popover text-popover-foreground ring-foreground/10 rounded-lg shadow ring-1 ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0 relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] data-ending-style:ease-[ease]\"\n >\n <div\n data-slot=\"navigation-menu-viewport\"\n hidden\n class=\"relative size-full overflow-hidden\"\n ></div>\n </div>\n </div>\n</div>\n",
54
- "type": "registry:ui"
55
- },
56
- {
57
- "path": "src/components/ui/navigation-menu/index.ts",
58
- "content": "export { default as NavigationMenu } from \"./navigation-menu.astro\"\nexport { default as NavigationMenuContent } from \"./navigation-menu-content.astro\"\nexport { default as NavigationMenuIndicator } from \"./navigation-menu-indicator.astro\"\nexport { default as NavigationMenuItem } from \"./navigation-menu-item.astro\"\nexport { default as NavigationMenuLink } from \"./navigation-menu-link.astro\"\nexport { default as NavigationMenuList } from \"./navigation-menu-list.astro\"\nexport { default as NavigationMenuPositioner } from \"./navigation-menu-positioner.astro\"\nexport { default as NavigationMenuTrigger } from \"./navigation-menu-trigger.astro\"\nexport { default as navigationMenuTriggerStyle } from \"./navigation-menu-trigger-style\"\n",
59
- "type": "registry:ui"
60
- }
61
- ],
62
- "docs": "https://ui.full.dev/components/navigation-menu/",
63
- "categories": [
64
- "ui"
65
- ],
66
- "type": "registry:ui"
67
- }
@@ -1,35 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "pagination-examples",
4
- "title": "Pagination examples",
5
- "description": "The examples from the shadcn/ui Pagination docs.",
6
- "registryDependencies": [
7
- "@fulldev/field",
8
- "@fulldev/pagination",
9
- "@fulldev/select"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/examples/pagination/pagination-demo.astro",
14
- "content": "---\nimport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n} from \"@/components/ui/pagination\"\n---\n\n<Pagination>\n <PaginationContent>\n <PaginationItem>\n <PaginationPrevious href=\"#\" />\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">1</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\" isActive>\n 2\n </PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">3</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationEllipsis />\n </PaginationItem>\n <PaginationItem>\n <PaginationNext href=\"#\" />\n </PaginationItem>\n </PaginationContent>\n</Pagination>\n",
15
- "type": "registry:component"
16
- },
17
- {
18
- "path": "src/components/examples/pagination/pagination-icons-only.astro",
19
- "content": "---\nimport { Field, FieldLabel } from \"@/components/ui/field\"\nimport {\n Pagination,\n PaginationContent,\n PaginationItem,\n PaginationNext,\n PaginationPrevious,\n} from \"@/components/ui/pagination\"\nimport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/components/ui/select\"\n---\n\n<div class=\"flex items-center justify-between gap-4\">\n <Field orientation=\"horizontal\" class=\"w-fit\">\n <FieldLabel for=\"select-rows-per-page\">Rows per page</FieldLabel>\n <Select defaultValue=\"25\">\n <SelectTrigger class=\"w-20\" id=\"select-rows-per-page\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent align=\"start\">\n <SelectGroup>\n <SelectItem value=\"10\">10</SelectItem>\n <SelectItem value=\"25\">25</SelectItem>\n <SelectItem value=\"50\">50</SelectItem>\n <SelectItem value=\"100\">100</SelectItem>\n </SelectGroup>\n </SelectContent>\n </Select>\n </Field>\n <Pagination class=\"mx-0 w-auto\">\n <PaginationContent>\n <PaginationItem>\n <PaginationPrevious href=\"#\" />\n </PaginationItem>\n <PaginationItem>\n <PaginationNext href=\"#\" />\n </PaginationItem>\n </PaginationContent>\n </Pagination>\n</div>\n",
20
- "type": "registry:component"
21
- },
22
- {
23
- "path": "src/components/examples/pagination/pagination-rtl.astro",
24
- "content": "---\nimport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n} from \"@/components/ui/pagination\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n previous: \"Previous\",\n next: \"Next\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n previous: \"السابق\",\n next: \"التالي\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n previous: \"הקודם\",\n next: \"הבא\",\n },\n },\n} as const\n\nfunction toArabicNumerals(num: number): string {\n const arabicNumerals = [\"٠\", \"١\", \"٢\", \"٣\", \"٤\", \"٥\", \"٦\", \"٧\", \"٨\", \"٩\"]\n return num\n .toString()\n .split(\"\")\n .map((digit) => arabicNumerals[parseInt(digit, 10)])\n .join(\"\")\n}\n\nconst language: keyof typeof translations = \"ar\"\nconst { dir, values: t } = translations[language]\n\nconst formatNumber = (num: number): string => {\n if (language === \"ar\") {\n return toArabicNumerals(num)\n }\n return num.toString()\n}\n---\n\n<Pagination dir={dir}>\n <PaginationContent>\n <PaginationItem>\n <PaginationPrevious href=\"#\" text={t.previous} />\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">{formatNumber(1)}</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\" isActive>\n {formatNumber(2)}\n </PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">{formatNumber(3)}</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationEllipsis />\n </PaginationItem>\n <PaginationItem>\n <PaginationNext href=\"#\" text={t.next} />\n </PaginationItem>\n </PaginationContent>\n</Pagination>\n",
25
- "type": "registry:component"
26
- },
27
- {
28
- "path": "src/components/examples/pagination/pagination-simple.astro",
29
- "content": "---\nimport {\n Pagination,\n PaginationContent,\n PaginationItem,\n PaginationLink,\n} from \"@/components/ui/pagination\"\n---\n\n<Pagination>\n <PaginationContent>\n <PaginationItem>\n <PaginationLink href=\"#\">1</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\" isActive>\n 2\n </PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">3</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">4</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink href=\"#\">5</PaginationLink>\n </PaginationItem>\n </PaginationContent>\n</Pagination>\n",
30
- "type": "registry:component"
31
- }
32
- ],
33
- "docs": "https://ui.full.dev/components/pagination/",
34
- "type": "registry:example"
35
- }
@@ -1,59 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "pagination",
4
- "title": "Pagination",
5
- "description": "Page navigation with previous, next, numbered, and overflow links.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/ui/pagination/index.ts",
15
- "content": "export { default as Pagination } from \"./pagination.astro\"\nexport { default as PaginationContent } from \"./pagination-content.astro\"\nexport { default as PaginationEllipsis } from \"./pagination-ellipsis.astro\"\nexport { default as PaginationItem } from \"./pagination-item.astro\"\nexport { default as PaginationLink } from \"./pagination-link.astro\"\nexport { default as PaginationNext } from \"./pagination-next.astro\"\nexport { default as PaginationPrevious } from \"./pagination-previous.astro\"\n",
16
- "type": "registry:ui"
17
- },
18
- {
19
- "path": "src/components/ui/pagination/pagination-content.astro",
20
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"ul\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<ul\n data-slot=\"pagination-content\"\n class={cn(\"gap-1 flex items-center\", className)}\n {...props}\n>\n <slot />\n</ul>\n",
21
- "type": "registry:ui"
22
- },
23
- {
24
- "path": "src/components/ui/pagination/pagination-ellipsis.astro",
25
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport EllipsisIcon from \"@lucide/astro/icons/ellipsis\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"span\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<span\n data-slot=\"pagination-ellipsis\"\n class={cn(\"size-9 items-center justify-center [&_svg:not([class*='size-'])]:size-4 flex\", className)}\n {...props}\n>\n <EllipsisIcon aria-hidden=\"true\" />\n <span class=\"sr-only\">More pages</span>\n</span>\n",
26
- "type": "registry:ui"
27
- },
28
- {
29
- "path": "src/components/ui/pagination/pagination-item.astro",
30
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"li\">\n\nconst { ...props } = Astro.props\n---\n\n<li data-slot=\"pagination-item\" {...props}>\n <slot />\n</li>\n",
31
- "type": "registry:ui"
32
- },
33
- {
34
- "path": "src/components/ui/pagination/pagination-link.astro",
35
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button, type ButtonVariantProps } from \"@/components/ui/button\"\n\ntype Props = HTMLAttributes<\"a\"> & {\n isActive?: boolean\n disabled?: boolean\n size?: ButtonVariantProps[\"size\"]\n}\n\nconst {\n class: className,\n href,\n isActive,\n disabled,\n size = \"icon\",\n tabindex,\n ...props\n} = Astro.props\n---\n\n<Button\n as=\"a\"\n data-slot=\"pagination-link\"\n data-active={isActive ? \"true\" : undefined}\n href={disabled ? undefined : href}\n aria-current={isActive ? \"page\" : undefined}\n aria-disabled={disabled ? \"true\" : undefined}\n tabindex={disabled ? -1 : tabindex}\n variant={isActive ? \"outline\" : \"ghost\"}\n size={size}\n class={cn(\n \"aria-disabled:pointer-events-none aria-disabled:opacity-50\",\n className\n )}\n {...props}\n>\n <slot />\n</Button>\n",
36
- "type": "registry:ui"
37
- },
38
- {
39
- "path": "src/components/ui/pagination/pagination-next.astro",
40
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport ChevronRightIcon from \"@lucide/astro/icons/chevron-right\"\n\nimport { cn } from \"@/lib/utils\"\nimport type { ButtonVariantProps } from \"@/components/ui/button\"\n\nimport PaginationLink from \"./pagination-link.astro\"\n\ntype Props = HTMLAttributes<\"a\"> & {\n text?: string\n disabled?: boolean\n size?: ButtonVariantProps[\"size\"]\n}\n\nconst { class: className, text = \"Next\", ...props } = Astro.props\n---\n\n<PaginationLink\n aria-label=\"Go to next page\"\n size=\"default\"\n class={cn(\"pr-2!\", className)}\n {...props}\n>\n <span class=\"hidden sm:block\">{text}</span>\n <ChevronRightIcon data-icon=\"inline-end\" class=\"rtl:rotate-180\" />\n</PaginationLink>\n",
41
- "type": "registry:ui"
42
- },
43
- {
44
- "path": "src/components/ui/pagination/pagination-previous.astro",
45
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport ChevronLeftIcon from \"@lucide/astro/icons/chevron-left\"\n\nimport { cn } from \"@/lib/utils\"\nimport type { ButtonVariantProps } from \"@/components/ui/button\"\n\nimport PaginationLink from \"./pagination-link.astro\"\n\ntype Props = HTMLAttributes<\"a\"> & {\n text?: string\n disabled?: boolean\n size?: ButtonVariantProps[\"size\"]\n}\n\nconst { class: className, text = \"Previous\", ...props } = Astro.props\n---\n\n<PaginationLink\n aria-label=\"Go to previous page\"\n size=\"default\"\n class={cn(\"pl-2!\", className)}\n {...props}\n>\n <ChevronLeftIcon data-icon=\"inline-start\" class=\"rtl:rotate-180\" />\n <span class=\"hidden sm:block\">{text}</span>\n</PaginationLink>\n",
46
- "type": "registry:ui"
47
- },
48
- {
49
- "path": "src/components/ui/pagination/pagination.astro",
50
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"nav\">\n\nconst {\n class: className,\n \"aria-label\": ariaLabel = \"pagination\",\n ...props\n} = Astro.props\n---\n\n<nav\n aria-label={ariaLabel}\n data-slot=\"pagination\"\n class={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n>\n <slot />\n</nav>\n",
51
- "type": "registry:ui"
52
- }
53
- ],
54
- "docs": "https://ui.full.dev/components/pagination/",
55
- "categories": [
56
- "ui"
57
- ],
58
- "type": "registry:ui"
59
- }
@@ -1,42 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "popover-examples",
4
- "title": "Popover examples",
5
- "description": "The examples from the shadcn/ui Popover docs.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/field",
9
- "@fulldev/input",
10
- "@fulldev/label",
11
- "@fulldev/popover"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/examples/popover/popover-alignments.astro",
16
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/components/ui/popover\"\n---\n\n<div class=\"flex gap-6\">\n <Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\", size: \"sm\" })}>\n Start\n </PopoverTrigger>\n <PopoverContent align=\"start\" class=\"w-40\">\n Aligned to start\n </PopoverContent>\n </Popover>\n <Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\", size: \"sm\" })}>\n Center\n </PopoverTrigger>\n <PopoverContent align=\"center\" class=\"w-40\">\n Aligned to center\n </PopoverContent>\n </Popover>\n <Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\", size: \"sm\" })}>\n End\n </PopoverTrigger>\n <PopoverContent align=\"end\" class=\"w-40\">\n Aligned to end\n </PopoverContent>\n </Popover>\n</div>\n",
17
- "type": "registry:component"
18
- },
19
- {
20
- "path": "src/components/examples/popover/popover-basic.astro",
21
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n Popover,\n PopoverContent,\n PopoverDescription,\n PopoverHeader,\n PopoverTitle,\n PopoverTrigger,\n} from \"@/components/ui/popover\"\n---\n\n<Popover>\n <PopoverTrigger\n class={buttonVariants({ variant: \"outline\", class: \"w-fit\" })}\n >\n Open Popover\n </PopoverTrigger>\n <PopoverContent align=\"start\">\n <PopoverHeader>\n <PopoverTitle>Dimensions</PopoverTitle>\n <PopoverDescription>Set the dimensions for the layer.</PopoverDescription>\n </PopoverHeader>\n </PopoverContent>\n</Popover>\n",
22
- "type": "registry:component"
23
- },
24
- {
25
- "path": "src/components/examples/popover/popover-demo.astro",
26
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport { Input } from \"@/components/ui/input\"\nimport { Label } from \"@/components/ui/label\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/components/ui/popover\"\n---\n\n<Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open popover\n </PopoverTrigger>\n <PopoverContent class=\"w-80\">\n <div class=\"grid gap-4\">\n <div class=\"space-y-2\">\n <p class=\"leading-none font-medium\">Dimensions</p>\n <p class=\"text-sm text-muted-foreground\">\n Set the dimensions for the layer.\n </p>\n </div>\n <div class=\"grid gap-2\">\n <div class=\"grid grid-cols-3 items-center gap-4\">\n <Label for=\"width\">Width</Label>\n <Input id=\"width\" value=\"100%\" class=\"col-span-2 h-8\" />\n </div>\n <div class=\"grid grid-cols-3 items-center gap-4\">\n <Label for=\"maxWidth\">Max. width</Label>\n <Input id=\"maxWidth\" value=\"300px\" class=\"col-span-2 h-8\" />\n </div>\n <div class=\"grid grid-cols-3 items-center gap-4\">\n <Label for=\"height\">Height</Label>\n <Input id=\"height\" value=\"25px\" class=\"col-span-2 h-8\" />\n </div>\n <div class=\"grid grid-cols-3 items-center gap-4\">\n <Label for=\"maxHeight\">Max. height</Label>\n <Input id=\"maxHeight\" value=\"none\" class=\"col-span-2 h-8\" />\n </div>\n </div>\n </div>\n </PopoverContent>\n</Popover>\n",
27
- "type": "registry:component"
28
- },
29
- {
30
- "path": "src/components/examples/popover/popover-form.astro",
31
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport { Field, FieldGroup, FieldLabel } from \"@/components/ui/field\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n Popover,\n PopoverContent,\n PopoverDescription,\n PopoverHeader,\n PopoverTitle,\n PopoverTrigger,\n} from \"@/components/ui/popover\"\n---\n\n<Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open Popover\n </PopoverTrigger>\n <PopoverContent class=\"w-64\" align=\"start\">\n <PopoverHeader>\n <PopoverTitle>Dimensions</PopoverTitle>\n <PopoverDescription>Set the dimensions for the layer.</PopoverDescription>\n </PopoverHeader>\n <FieldGroup class=\"gap-4\">\n <Field orientation=\"horizontal\">\n <FieldLabel for=\"form-width\" class=\"w-1/2\">\n Width\n </FieldLabel>\n <Input id=\"form-width\" value=\"100%\" />\n </Field>\n <Field orientation=\"horizontal\">\n <FieldLabel for=\"form-height\" class=\"w-1/2\">\n Height\n </FieldLabel>\n <Input id=\"form-height\" value=\"25px\" />\n </Field>\n </FieldGroup>\n </PopoverContent>\n</Popover>\n",
32
- "type": "registry:component"
33
- },
34
- {
35
- "path": "src/components/examples/popover/popover-rtl.astro",
36
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n Popover,\n PopoverContent,\n PopoverDescription,\n PopoverHeader,\n PopoverTitle,\n PopoverTrigger,\n} from \"@/components/ui/popover\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n title: \"Dimensions\",\n description: \"Set the dimensions for the layer.\",\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 title: \"الأبعاد\",\n description: \"تعيين الأبعاد للطبقة.\",\n \"inline-start\": \"بداية السطر\",\n left: \"يسار\",\n top: \"أعلى\",\n bottom: \"أسفل\",\n right: \"يمين\",\n \"inline-end\": \"نهاية السطر\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n title: \"מימדים\",\n description: \"הגדר את המימדים לשכבה.\",\n \"inline-start\": \"תחילת השורה\",\n left: \"שמאל\",\n top: \"למעלה\",\n bottom: \"למטה\",\n right: \"ימין\",\n \"inline-end\": \"סוף השורה\",\n },\n },\n}\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// PopoverContent takes physical sides, so resolve the logical ones for `dir`.\nconst resolvedSides = {\n \"inline-start\": dir === \"rtl\" ? \"right\" : \"left\",\n \"inline-end\": dir === \"rtl\" ? \"left\" : \"right\",\n} as const\n---\n\n<div class=\"grid gap-4\">\n <div class=\"flex flex-wrap justify-center gap-2\">\n {physicalSides.map((side) => (\n <Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\" })}>\n {t[side]}\n </PopoverTrigger>\n <PopoverContent side={side} dir={dir}>\n <PopoverHeader>\n <PopoverTitle>{t.title}</PopoverTitle>\n <PopoverDescription>{t.description}</PopoverDescription>\n </PopoverHeader>\n </PopoverContent>\n </Popover>\n ))}\n </div>\n <div class=\"flex flex-wrap justify-center gap-2\">\n {logicalSides.map((side) => (\n <Popover>\n <PopoverTrigger class={buttonVariants({ variant: \"outline\" })}>\n {t[side]}\n </PopoverTrigger>\n <PopoverContent side={resolvedSides[side]} dir={dir}>\n <PopoverHeader>\n <PopoverTitle>{t.title}</PopoverTitle>\n <PopoverDescription>{t.description}</PopoverDescription>\n </PopoverHeader>\n </PopoverContent>\n </Popover>\n ))}\n </div>\n</div>\n",
37
- "type": "registry:component"
38
- }
39
- ],
40
- "docs": "https://ui.full.dev/components/popover/",
41
- "type": "registry:example"
42
- }
@@ -1,51 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "popover",
4
- "title": "Popover",
5
- "description": "Displays rich content in a floating layer, triggered by a button.",
6
- "dependencies": [
7
- "@data-slot/popover@^1.1.2"
8
- ],
9
- "files": [
10
- {
11
- "path": "src/components/ui/popover/popover.astro",
12
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type { PopoverAlign, PopoverSide } from \"@data-slot/popover\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n defaultOpen?: boolean\n side?: PopoverSide\n align?: PopoverAlign\n sideOffset?: number\n alignOffset?: number\n avoidCollisions?: boolean\n collisionPadding?: number\n portal?: boolean\n /** Compatibility alias. Prefer `side`. */\n position?: PopoverSide\n closeOnClickOutside?: boolean\n closeOnEscape?: boolean\n}\n\nconst {\n class: className,\n defaultOpen,\n side,\n align,\n sideOffset,\n alignOffset,\n avoidCollisions,\n collisionPadding,\n portal,\n position,\n closeOnClickOutside,\n closeOnEscape,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"popover\"\n data-default-open={defaultOpen}\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-position={position}\n data-close-on-click-outside={closeOnClickOutside}\n data-close-on-escape={closeOnEscape}\n class={className}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/popover\"\n\n const controllers: ReturnType<typeof create> = []\n const initialize = () => controllers.push(...create())\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",
13
- "type": "registry:ui"
14
- },
15
- {
16
- "path": "src/components/ui/popover/popover-trigger.astro",
17
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"button\">\n\nconst { class: className, type = \"button\", ...props } = Astro.props\n---\n\n<button data-slot=\"popover-trigger\" type={type} class={className} {...props}>\n <slot />\n</button>\n",
18
- "type": "registry:ui"
19
- },
20
- {
21
- "path": "src/components/ui/popover/popover-content.astro",
22
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type { PopoverAlign, PopoverSide } from \"@data-slot/popover\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n side?: PopoverSide\n align?: PopoverAlign\n sideOffset?: number\n alignOffset?: number\n avoidCollisions?: boolean\n collisionPadding?: number\n /** Compatibility alias. Prefer `side`. */\n position?: PopoverSide\n}\n\nconst {\n class: className,\n hidden = true,\n side,\n align,\n sideOffset,\n alignOffset,\n avoidCollisions,\n collisionPadding,\n position,\n ...props\n} = Astro.props\n---\n\n<div data-slot=\"popover-portal\">\n <div\n data-slot=\"popover-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 data-position={position}\n class=\"isolate z-[1000]\"\n >\n <div\n data-slot=\"popover-content\"\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-position={position}\n hidden={hidden}\n class={cn(\n \"bg-popover text-popover-foreground 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 flex flex-col gap-4 rounded-md 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 w-72 origin-(--transform-origin) outline-hidden\",\n className\n )}\n {...props}\n >\n <slot />\n </div>\n </div>\n</div>\n",
23
- "type": "registry:ui"
24
- },
25
- {
26
- "path": "src/components/ui/popover/popover-description.astro",
27
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"p\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<p\n data-slot=\"popover-description\"\n class={cn(\"text-muted-foreground\", className)}\n {...props}\n>\n <slot />\n</p>\n",
28
- "type": "registry:ui"
29
- },
30
- {
31
- "path": "src/components/ui/popover/popover-header.astro",
32
- "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=\"popover-header\"\n class={cn(\"flex flex-col gap-1 text-sm\", className)}\n {...props}\n>\n <slot />\n</div>\n",
33
- "type": "registry:ui"
34
- },
35
- {
36
- "path": "src/components/ui/popover/popover-title.astro",
37
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"h3\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<h3\n data-slot=\"popover-title\"\n class={cn(\"font-medium\", className)}\n {...props}\n>\n <slot />\n</h3>\n",
38
- "type": "registry:ui"
39
- },
40
- {
41
- "path": "src/components/ui/popover/index.ts",
42
- "content": "export { default as Popover } from \"./popover.astro\"\nexport { default as PopoverContent } from \"./popover-content.astro\"\nexport { default as PopoverDescription } from \"./popover-description.astro\"\nexport { default as PopoverHeader } from \"./popover-header.astro\"\nexport { default as PopoverTitle } from \"./popover-title.astro\"\nexport { default as PopoverTrigger } from \"./popover-trigger.astro\"\n",
43
- "type": "registry:ui"
44
- }
45
- ],
46
- "docs": "https://ui.full.dev/components/popover/",
47
- "categories": [
48
- "ui"
49
- ],
50
- "type": "registry:ui"
51
- }
@@ -1,38 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "price",
4
- "title": "Price",
5
- "description": "A flexible price display component for showing pricing information.",
6
- "files": [
7
- {
8
- "path": "src/components/ui/price/price.astro",
9
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst {\n class: className,\n \"data-slot\": dataSlot = \"price\",\n ...props\n} = Astro.props\n---\n\n<div\n class={cn(\"flex flex-wrap items-center gap-x-2\", className)}\n data-slot={dataSlot}\n {...props}\n>\n <slot />\n</div>\n",
10
- "type": "registry:ui"
11
- },
12
- {
13
- "path": "src/components/ui/price/price-unit.astro",
14
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"span\">\n\nconst {\n class: className,\n \"data-slot\": dataSlot = \"price-unit\",\n ...props\n} = Astro.props\n---\n\n<span\n class={cn(\"text-muted-foreground text-sm leading-tight\", className)}\n data-slot={dataSlot}\n {...props}\n>\n / <slot />\n</span>\n",
15
- "type": "registry:ui"
16
- },
17
- {
18
- "path": "src/components/ui/price/price-value.astro",
19
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport {\n formatPriceDiscount,\n formatPriceValue,\n parseSinglePriceValue,\n type DiscountFormat,\n type PriceValue,\n} from \"./format-price-value\"\n\ntype Props = VariantProps<typeof variants> &\n HTMLAttributes<\"span\"> & {\n price?: PriceValue\n compareAt?: PriceValue\n currency?: string\n locale?: string\n variant?: \"default\" | \"sale\"\n discountFormat?: DiscountFormat\n showDiscount?: boolean\n discountLabel?: string\n }\n\nconst variants = cva(\"leading-tight\", {\n variants: {\n variant: {\n default: \"text-foreground\",\n sale: \"text-muted-foreground line-through\",\n },\n },\n})\n\nconst {\n class: className,\n price,\n compareAt,\n currency = \"USD\",\n locale = \"en-US\",\n variant = \"default\",\n discountFormat = \"percentage\",\n showDiscount = true,\n discountLabel = \"Save\",\n \"data-slot\": dataSlot = \"price-value\",\n ...props\n} = Astro.props\n\nconst formattedPrice = formatPriceValue(price, { currency, locale })\nconst currentValue = parseSinglePriceValue(price)\nconst compareAtValue = parseSinglePriceValue(compareAt)\n// A compare-at price only shows when it is higher than the price.\nconst formattedCompareAt =\n currentValue !== null &&\n compareAtValue !== null &&\n compareAtValue <= currentValue\n ? null\n : formatPriceValue(compareAt, { currency, locale })\nconst formattedDiscount =\n showDiscount && formattedCompareAt !== null\n ? formatPriceDiscount(price, compareAt, {\n currency,\n locale,\n format: discountFormat,\n })\n : null\n---\n\n{formattedPrice !== null && (\n <span\n class={cn(\"inline-flex flex-wrap items-center gap-x-2 gap-y-1\", className)}\n data-slot={dataSlot}\n data-variant={variant}\n {...props}\n >\n <span class={cn(variants({ variant }))}>{formattedPrice}</span>\n {formattedCompareAt !== null && (\n <del class=\"text-muted-foreground text-sm leading-tight line-through\">\n {formattedCompareAt}\n </del>\n )}\n {formattedDiscount !== null && (\n <span class=\"rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-foreground\">\n {discountLabel} {formattedDiscount}\n </span>\n )}\n </span>\n)}\n",
20
- "type": "registry:ui"
21
- },
22
- {
23
- "path": "src/components/ui/price/format-price-value.ts",
24
- "content": "export interface FormatPriceValueOptions {\n currency: string\n locale: string\n}\n\nexport type PriceValue = number | string | [number, number]\nexport type DiscountFormat = \"percentage\" | \"amount\"\n\nfunction formatCurrency(value: number, options: FormatPriceValueOptions) {\n return new Intl.NumberFormat(options.locale, {\n style: \"currency\",\n currency: options.currency,\n }).format(value)\n}\n\nexport function parseSinglePriceValue(price: PriceValue | null | undefined) {\n if (price === null || price === undefined || price === \"\") {\n return null\n }\n\n if (typeof price === \"number\") {\n return Number.isFinite(price) ? price : null\n }\n\n if (Array.isArray(price)) {\n return null\n }\n\n const numericValue = Number(price)\n\n if (!Number.isNaN(numericValue) && Number.isFinite(numericValue)) {\n return numericValue\n }\n\n return null\n}\n\nexport function formatPriceDiscount(\n price: PriceValue | null | undefined,\n compareAt: PriceValue | null | undefined,\n options: FormatPriceValueOptions & {\n format?: DiscountFormat\n }\n) {\n const currentPrice = parseSinglePriceValue(price)\n const originalPrice = parseSinglePriceValue(compareAt)\n\n if (\n currentPrice === null ||\n originalPrice === null ||\n originalPrice <= currentPrice ||\n originalPrice <= 0\n ) {\n return null\n }\n\n if (options.format === \"amount\") {\n return formatCurrency(originalPrice - currentPrice, options)\n }\n\n return `${Math.round(((originalPrice - currentPrice) / originalPrice) * 100)}%`\n}\n\nexport function formatPriceValue(\n price: PriceValue | null | undefined,\n options: FormatPriceValueOptions\n) {\n if (price === null || price === undefined || price === \"\") {\n return null\n }\n\n if (typeof price === \"number\") {\n return formatCurrency(price, options)\n }\n\n if (Array.isArray(price)) {\n const [minimum, maximum] = price\n return `${formatCurrency(minimum, options)} - ${formatCurrency(maximum, options)}`\n }\n\n const rangeMatch = price.match(\n /^\\s*(-?\\d+(?:\\.\\d+)?)\\s*-\\s*(-?\\d+(?:\\.\\d+)?)\\s*$/\n )\n\n if (!rangeMatch) {\n return price\n }\n\n const [, minimum, maximum] = rangeMatch\n return `${formatCurrency(Number(minimum), options)} - ${formatCurrency(Number(maximum), options)}`\n}\n",
25
- "type": "registry:ui"
26
- },
27
- {
28
- "path": "src/components/ui/price/index.ts",
29
- "content": "export { default as Price } from \"./price.astro\"\nexport { default as PriceUnit } from \"./price-unit.astro\"\nexport { default as PriceValue } from \"./price-value.astro\"\n",
30
- "type": "registry:ui"
31
- }
32
- ],
33
- "docs": "https://ui.full.dev/components/price/",
34
- "categories": [
35
- "ui"
36
- ],
37
- "type": "registry:ui"
38
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "pricing-1",
4
- "title": "Pricing 1",
5
- "description": "Pricing sections for plan grids, featured offers, and concise offer presentation.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/badge",
11
- "@fulldev/button",
12
- "@fulldev/card",
13
- "@fulldev/price",
14
- "@fulldev/section",
15
- "@fulldev/separator"
16
- ],
17
- "files": [
18
- {
19
- "path": "src/components/blocks/pricing-1.astro",
20
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\nimport { Price, PriceUnit, PriceValue } from \"@/components/ui/price\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Separator } from \"@/components/ui/separator\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n featuredLabel: string\n locale?: string\n discountLabel?: string\n plans: {\n name: string\n description: string\n price: {\n value: number\n compareAt?: number\n currency: string\n unit: string\n }\n featured?: boolean\n features: string[]\n button: {\n label: string\n href: string\n }\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n featuredLabel,\n locale,\n discountLabel,\n plans,\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 max-w-2xl flex-col items-center gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription>{description}</SectionDescription>\n </div>\n </SectionContainer>\n <SectionContainer>\n <div class=\"mx-auto grid w-full grid-cols-1 justify-center gap-6 sm:grid-cols-2 lg:grid-cols-[repeat(auto-fit,minmax(16rem,18rem))]\">\n {plans.map((plan) => (\n <Card\n class={cn(\"flex flex-col\", plan.featured && \"ring-primary ring-2\")}\n >\n <CardHeader>\n <div class=\"flex items-center gap-2\">\n <CardTitle as=\"h3\">{plan.name}</CardTitle>\n {plan.featured && <Badge>{featuredLabel}</Badge>}\n </div>\n <CardDescription>{plan.description}</CardDescription>\n </CardHeader>\n <CardContent class=\"flex flex-col gap-6\">\n <Price>\n <PriceValue\n price={plan.price.value}\n compareAt={plan.price.compareAt}\n currency={plan.price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n <PriceUnit>{plan.price.unit}</PriceUnit>\n </Price>\n <Separator />\n <ul class=\"flex flex-col gap-3\">\n {plan.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 </CardContent>\n <CardFooter class=\"mt-auto\">\n <Button\n as=\"a\"\n href={plan.button.href}\n variant={plan.featured ? \"default\" : \"outline\"}\n class=\"w-full\"\n >\n {plan.button.label}\n </Button>\n </CardFooter>\n </Card>\n ))}\n </div>\n </SectionContainer>\n</Section>\n",
21
- "type": "registry:block"
22
- }
23
- ],
24
- "docs": "https://ui.full.dev/blocks/pricing/",
25
- "categories": [
26
- "pricing"
27
- ],
28
- "type": "registry:block"
29
- }
@@ -1,28 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "pricing-2",
4
- "title": "Pricing 2",
5
- "description": "Pricing sections for plan grids, featured offers, and concise offer presentation.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/card",
12
- "@fulldev/price",
13
- "@fulldev/section",
14
- "@fulldev/separator"
15
- ],
16
- "files": [
17
- {
18
- "path": "src/components/blocks/pricing-2.astro",
19
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\nimport { Price, PriceUnit, PriceValue } from \"@/components/ui/price\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Separator } from \"@/components/ui/separator\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n locale?: string\n discountLabel?: string\n plans: {\n name: string\n description: string\n price: {\n value: number\n compareAt?: number\n currency: string\n unit: string\n }\n featured?: boolean\n features: string[]\n button: {\n label: string\n href: string\n }\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n locale,\n discountLabel,\n plans,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8\">\n <div class=\"mx-auto max-w-2xl text-center\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription class=\"mt-4\">{description}</SectionDescription>\n </div>\n <div class=\"mx-auto grid w-full justify-center gap-6 sm:grid-cols-2 lg:grid-cols-[repeat(auto-fit,minmax(16rem,18rem))]\">\n {plans.map((plan) => (\n <Card class=\"flex flex-col border-none shadow-none\">\n <CardHeader>\n <CardTitle as=\"h3\">{plan.name}</CardTitle>\n <CardDescription>{plan.description}</CardDescription>\n </CardHeader>\n <CardContent class=\"flex flex-col gap-6\">\n <Price>\n <PriceValue\n price={plan.price.value}\n compareAt={plan.price.compareAt}\n currency={plan.price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n <PriceUnit>{plan.price.unit}</PriceUnit>\n </Price>\n <Separator />\n <ul class=\"flex flex-col gap-3\">\n {plan.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 </CardContent>\n <CardFooter class=\"mt-auto\">\n <Button\n as=\"a\"\n href={plan.button.href}\n variant={plan.featured ? \"default\" : \"outline\"}\n class=\"w-full\"\n >\n {plan.button.label}\n </Button>\n </CardFooter>\n </Card>\n ))}\n </div>\n </SectionContainer>\n</Section>\n",
20
- "type": "registry:block"
21
- }
22
- ],
23
- "docs": "https://ui.full.dev/blocks/pricing/",
24
- "categories": [
25
- "pricing"
26
- ],
27
- "type": "registry:block"
28
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "pricing-3",
4
- "title": "Pricing 3",
5
- "description": "Pricing sections for plan grids, featured offers, and concise offer presentation.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/badge",
11
- "@fulldev/button",
12
- "@fulldev/card",
13
- "@fulldev/price",
14
- "@fulldev/section",
15
- "@fulldev/separator"
16
- ],
17
- "files": [
18
- {
19
- "path": "src/components/blocks/pricing-3.astro",
20
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\nimport { Price, PriceUnit, PriceValue } from \"@/components/ui/price\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Separator } from \"@/components/ui/separator\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n badge: string\n title: string\n description: string\n locale?: string\n discountLabel?: string\n offer: {\n name: string\n description: string\n price: {\n value: number\n compareAt?: number\n currency: string\n unit: string\n }\n features: string[]\n button: {\n label: string\n href: string\n }\n }\n}\n\nconst {\n class: className,\n badge,\n title,\n description,\n locale,\n discountLabel,\n offer,\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 max-w-2xl flex-col items-center gap-4\">\n <Badge variant=\"secondary\">{badge}</Badge>\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription>{description}</SectionDescription>\n </div>\n <Card class=\"ring-primary w-full max-w-md ring-2\">\n <CardHeader class=\"text-left\">\n <CardTitle as=\"h3\">{offer.name}</CardTitle>\n <CardDescription>{offer.description}</CardDescription>\n </CardHeader>\n <CardContent class=\"flex flex-col gap-6 text-left\">\n <Price>\n <PriceValue\n price={offer.price.value}\n compareAt={offer.price.compareAt}\n currency={offer.price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n <PriceUnit>{offer.price.unit}</PriceUnit>\n </Price>\n <Separator />\n <ul class=\"flex flex-col gap-3\">\n {offer.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 </CardContent>\n <CardFooter>\n <Button as=\"a\" href={offer.button.href} class=\"w-full\">\n {offer.button.label}\n </Button>\n </CardFooter>\n </Card>\n </SectionContainer>\n</Section>\n",
21
- "type": "registry:block"
22
- }
23
- ],
24
- "docs": "https://ui.full.dev/blocks/pricing/",
25
- "categories": [
26
- "pricing"
27
- ],
28
- "type": "registry:block"
29
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "product-1",
4
- "title": "Product 1",
5
- "description": "A focused product section for flagship offers and compact product storytelling.",
6
- "registryDependencies": [
7
- "@fulldev/badge",
8
- "@fulldev/button",
9
- "@fulldev/price",
10
- "@fulldev/section"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/product-1.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 { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport { Price, PriceUnit, PriceValue } from \"@/components/ui/price\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n badge: string\n title: string\n description: string\n image: {\n src: ImageMetadata\n alt: string\n }\n price: {\n value: number\n compareAt?: number\n currency: string\n unit: string\n }\n locale?: string\n discountLabel?: string\n note: string\n buttons: {\n label: string\n href: string\n }[]\n}\n\nconst {\n class: className,\n badge,\n title,\n description,\n image,\n price,\n locale,\n discountLabel,\n note,\n buttons,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-8 lg:grid-cols-2 lg:items-center\">\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[16/11] w-full rounded-lg object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 608px, (min-width: 64rem) 50vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n <div class=\"flex flex-col gap-5\">\n <Badge variant=\"secondary\" class=\"w-fit\">\n {badge}\n </Badge>\n <h1 class=\"text-4xl font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-8\">{description}</p>\n <Price>\n <PriceValue\n price={price.value}\n compareAt={price.compareAt}\n currency={price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n <PriceUnit>{price.unit}</PriceUnit>\n </Price>\n <p class=\"border-y py-4 text-sm leading-7\">{note}</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\" : \"outline\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n </SectionContainer>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/product/",
20
- "categories": [
21
- "product"
22
- ],
23
- "type": "registry:block"
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "products-1",
4
- "title": "Products 1",
5
- "description": "Product collection layouts for bundles, grouped offers, and category-led merchandising.",
6
- "registryDependencies": [
7
- "@fulldev/badge",
8
- "@fulldev/card",
9
- "@fulldev/price",
10
- "@fulldev/section"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/products-1.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 { Badge } from \"@/components/ui/badge\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\nimport { Price, PriceUnit, PriceValue } from \"@/components/ui/price\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n badge: string\n title: string\n locale?: string\n discountLabel?: string\n products: {\n image: {\n src: ImageMetadata\n alt: string\n }\n title: string\n description: string\n price: {\n value: number\n compareAt?: number\n currency: string\n unit: string\n }\n }[]\n}\n\nconst {\n class: className,\n badge,\n title,\n locale,\n discountLabel,\n products,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8\">\n <div class=\"mx-auto max-w-2xl text-center\">\n <Badge variant=\"secondary\">{badge}</Badge>\n <SectionTitle class=\"mt-4\">{title}</SectionTitle>\n </div>\n <div class=\"grid gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n {products.map((product) => (\n <Card>\n <Image\n src={product.image.src}\n alt={product.image.alt}\n class=\"aspect-[4/3] w-full object-cover\"\n widths={[320, 480, 640]}\n sizes=\"(min-width: 80rem) 302px, (min-width: 64rem) 25vw, (min-width: 40rem) 50vw, 100vw\"\n />\n <CardHeader>\n <CardTitle as=\"h3\">{product.title}</CardTitle>\n <CardDescription>{product.description}</CardDescription>\n </CardHeader>\n <CardContent>\n <Price>\n <PriceValue\n price={product.price.value}\n compareAt={product.price.compareAt}\n currency={product.price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n <PriceUnit>{product.price.unit}</PriceUnit>\n </Price>\n </CardContent>\n </Card>\n ))}\n </div>\n </SectionContainer>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/products/",
20
- "categories": [
21
- "products"
22
- ],
23
- "type": "registry:block"
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "products-2",
4
- "title": "Products 2",
5
- "description": "Product collection layouts for bundles, grouped offers, and category-led merchandising.",
6
- "registryDependencies": [
7
- "@fulldev/badge",
8
- "@fulldev/price",
9
- "@fulldev/section",
10
- "@fulldev/separator"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/products-2.astro",
15
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Price, PriceUnit, PriceValue } from \"@/components/ui/price\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport { Separator } from \"@/components/ui/separator\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n badge: string\n title: string\n locale?: string\n discountLabel?: string\n products: {\n title: string\n description: string\n price: {\n value: number\n compareAt?: number\n currency: string\n unit: string\n }\n }[]\n}\n\nconst {\n class: className,\n badge,\n title,\n locale,\n discountLabel,\n products,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8\">\n <div class=\"max-w-2xl\">\n <Badge variant=\"secondary\">{badge}</Badge>\n <SectionTitle class=\"mt-4\">{title}</SectionTitle>\n </div>\n <div class=\"grid gap-3\">\n {products.map((item) => (\n <div>\n <Separator />\n <div class=\"flex flex-col gap-4 py-5 md:flex-row md:items-center md:justify-between\">\n <div class=\"flex flex-col gap-1 md:max-w-lg\">\n <h3 class=\"text-base font-medium\">{item.title}</h3>\n <p class=\"text-muted-foreground text-sm leading-6\">\n {item.description}\n </p>\n </div>\n <Price>\n <PriceValue\n price={item.price.value}\n compareAt={item.price.compareAt}\n currency={item.price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n <PriceUnit>{item.price.unit}</PriceUnit>\n </Price>\n </div>\n </div>\n ))}\n </div>\n </SectionContainer>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/products/",
20
- "categories": [
21
- "products"
22
- ],
23
- "type": "registry:block"
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "products-3",
4
- "title": "Products 3",
5
- "description": "Product collection layouts for bundles, grouped offers, and category-led merchandising.",
6
- "registryDependencies": [
7
- "@fulldev/badge",
8
- "@fulldev/card",
9
- "@fulldev/price",
10
- "@fulldev/section"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/blocks/products-3.astro",
15
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\nimport { Price, PriceValue } from \"@/components/ui/price\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n badge: string\n title: string\n locale?: string\n discountLabel?: string\n products: {\n title: string\n description: string\n price: {\n value: number\n compareAt?: number\n currency: string\n }\n }[]\n}\n\nconst {\n class: className,\n badge,\n title,\n locale,\n discountLabel,\n products,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8\">\n <div class=\"mx-auto max-w-2xl text-center\">\n <Badge variant=\"secondary\">{badge}</Badge>\n <SectionTitle class=\"mt-4\">{title}</SectionTitle>\n </div>\n <div class=\"grid gap-4 sm:grid-cols-2 lg:grid-cols-3\">\n {products.map((product) => (\n <Card class=\"text-center\">\n <CardHeader>\n <Price class=\"justify-center\">\n <PriceValue\n class=\"text-3xl font-semibold\"\n price={product.price.value}\n compareAt={product.price.compareAt}\n currency={product.price.currency}\n locale={locale}\n discountLabel={discountLabel}\n />\n </Price>\n </CardHeader>\n <CardContent class=\"flex flex-col gap-2\">\n <CardTitle as=\"h3\">{product.title}</CardTitle>\n <CardDescription>{product.description}</CardDescription>\n </CardContent>\n </Card>\n ))}\n </div>\n </SectionContainer>\n</Section>\n",
16
- "type": "registry:block"
17
- }
18
- ],
19
- "docs": "https://ui.full.dev/blocks/products/",
20
- "categories": [
21
- "products"
22
- ],
23
- "type": "registry:block"
24
- }