fulldev-ui 0.25.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/CHANGELOG.md +8 -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 +2 -1
  6. package/public/r/liquid/components.json +1 -1
  7. package/public/r/liquid/init.json +1 -1
  8. package/liquid/vendor.json +0 -180
  9. package/public/r/accordion-examples.json +0 -49
  10. package/public/r/accordion.json +0 -42
  11. package/public/r/alert-dialog-examples.json +0 -51
  12. package/public/r/alert-dialog.json +0 -84
  13. package/public/r/alert-examples.json +0 -47
  14. package/public/r/alert.json +0 -38
  15. package/public/r/article-1.json +0 -22
  16. package/public/r/article-2.json +0 -22
  17. package/public/r/articles-1.json +0 -22
  18. package/public/r/articles-2.json +0 -23
  19. package/public/r/articles-3.json +0 -22
  20. package/public/r/articles-4.json +0 -22
  21. package/public/r/aspect-ratio-examples.json +0 -33
  22. package/public/r/aspect-ratio.json +0 -23
  23. package/public/r/attachment-examples.json +0 -48
  24. package/public/r/attachment.json +0 -66
  25. package/public/r/avatar-examples.json +0 -68
  26. package/public/r/avatar.json +0 -48
  27. package/public/r/badge-examples.json +0 -52
  28. package/public/r/badge.json +0 -28
  29. package/public/r/banner-1.json +0 -24
  30. package/public/r/banner-2.json +0 -22
  31. package/public/r/banner.json +0 -31
  32. package/public/r/base.json +0 -143
  33. package/public/r/blocks-1.json +0 -27
  34. package/public/r/blocks.json +0 -92
  35. package/public/r/breadcrumb-examples.json +0 -53
  36. package/public/r/breadcrumb.json +0 -56
  37. package/public/r/button-examples.json +0 -87
  38. package/public/r/button-group-examples.json +0 -75
  39. package/public/r/button-group.json +0 -41
  40. package/public/r/button.json +0 -28
  41. package/public/r/card-examples.json +0 -51
  42. package/public/r/card.json +0 -53
  43. package/public/r/carousel-examples.json +0 -49
  44. package/public/r/carousel.json +0 -50
  45. package/public/r/checkbox-examples.json +0 -56
  46. package/public/r/checkbox.json +0 -23
  47. package/public/r/code-block-examples.json +0 -33
  48. package/public/r/code-block.json +0 -65
  49. package/public/r/collapsible-examples.json +0 -51
  50. package/public/r/collapsible.json +0 -36
  51. package/public/r/combobox-examples.json +0 -69
  52. package/public/r/combobox.json +0 -81
  53. package/public/r/command-examples.json +0 -47
  54. package/public/r/command.json +0 -71
  55. package/public/r/components.json +0 -74
  56. package/public/r/contact-1.json +0 -23
  57. package/public/r/contact-2.json +0 -23
  58. package/public/r/contact-3.json +0 -29
  59. package/public/r/content-1.json +0 -31
  60. package/public/r/content-2.json +0 -31
  61. package/public/r/content-3.json +0 -28
  62. package/public/r/content-4.json +0 -31
  63. package/public/r/cta-1.json +0 -24
  64. package/public/r/cta-2.json +0 -30
  65. package/public/r/cta-3.json +0 -24
  66. package/public/r/cta-4.json +0 -30
  67. package/public/r/cta-5.json +0 -31
  68. package/public/r/cta-6.json +0 -30
  69. package/public/r/cta-7.json +0 -23
  70. package/public/r/cta-8.json +0 -22
  71. package/public/r/dialog-examples.json +0 -47
  72. package/public/r/dialog.json +0 -75
  73. package/public/r/doc-1.json +0 -30
  74. package/public/r/drawer-examples.json +0 -54
  75. package/public/r/drawer.json +0 -109
  76. package/public/r/dropdown-menu-examples.json +0 -63
  77. package/public/r/dropdown-menu.json +0 -77
  78. package/public/r/empty-examples.json +0 -55
  79. package/public/r/empty.json +0 -48
  80. package/public/r/faqs-1.json +0 -23
  81. package/public/r/faqs-2.json +0 -23
  82. package/public/r/faqs-3.json +0 -23
  83. package/public/r/faqs-4.json +0 -22
  84. package/public/r/features-1.json +0 -26
  85. package/public/r/features-2.json +0 -22
  86. package/public/r/features-3.json +0 -21
  87. package/public/r/features-4.json +0 -26
  88. package/public/r/features-5.json +0 -22
  89. package/public/r/features-6.json +0 -23
  90. package/public/r/field-examples.json +0 -86
  91. package/public/r/field.json +0 -72
  92. package/public/r/footer-1.json +0 -24
  93. package/public/r/footer-2.json +0 -24
  94. package/public/r/footer-3.json +0 -24
  95. package/public/r/form.json +0 -23
  96. package/public/r/header-1.json +0 -29
  97. package/public/r/header-2.json +0 -29
  98. package/public/r/header-3.json +0 -30
  99. package/public/r/header-4.json +0 -29
  100. package/public/r/header-5.json +0 -30
  101. package/public/r/header.json +0 -40
  102. package/public/r/hero-1.json +0 -23
  103. package/public/r/hero-10.json +0 -24
  104. package/public/r/hero-11.json +0 -24
  105. package/public/r/hero-12.json +0 -22
  106. package/public/r/hero-13.json +0 -22
  107. package/public/r/hero-2.json +0 -24
  108. package/public/r/hero-3.json +0 -22
  109. package/public/r/hero-4.json +0 -25
  110. package/public/r/hero-5.json +0 -27
  111. package/public/r/hero-6.json +0 -27
  112. package/public/r/hero-7.json +0 -27
  113. package/public/r/hero-8.json +0 -22
  114. package/public/r/hero-9.json +0 -27
  115. package/public/r/hover-card-examples.json +0 -29
  116. package/public/r/hover-card.json +0 -37
  117. package/public/r/icon.json +0 -27
  118. package/public/r/init.json +0 -44
  119. package/public/r/input-examples.json +0 -97
  120. package/public/r/input-group-examples.json +0 -91
  121. package/public/r/input-group.json +0 -53
  122. package/public/r/input.json +0 -23
  123. package/public/r/item-examples.json +0 -74
  124. package/public/r/item.json +0 -71
  125. package/public/r/kbd-examples.json +0 -50
  126. package/public/r/kbd.json +0 -28
  127. package/public/r/label-examples.json +0 -24
  128. package/public/r/label.json +0 -23
  129. package/public/r/layout.json +0 -41
  130. package/public/r/links-2.json +0 -24
  131. package/public/r/logo.json +0 -33
  132. package/public/r/logos-1.json +0 -22
  133. package/public/r/logos-2.json +0 -23
  134. package/public/r/logos-3.json +0 -22
  135. package/public/r/marquee.json +0 -46
  136. package/public/r/native-select-examples.json +0 -38
  137. package/public/r/native-select.json +0 -36
  138. package/public/r/navigation-menu-examples.json +0 -26
  139. package/public/r/navigation-menu.json +0 -67
  140. package/public/r/pagination-examples.json +0 -35
  141. package/public/r/pagination.json +0 -59
  142. package/public/r/popover-examples.json +0 -42
  143. package/public/r/popover.json +0 -51
  144. package/public/r/price.json +0 -38
  145. package/public/r/pricing-1.json +0 -29
  146. package/public/r/pricing-2.json +0 -28
  147. package/public/r/pricing-3.json +0 -29
  148. package/public/r/product-1.json +0 -24
  149. package/public/r/products-1.json +0 -24
  150. package/public/r/products-2.json +0 -24
  151. package/public/r/products-3.json +0 -24
  152. package/public/r/products-4.json +0 -24
  153. package/public/r/products-5.json +0 -25
  154. package/public/r/progress-examples.json +0 -33
  155. package/public/r/progress.json +0 -23
  156. package/public/r/radio-group-examples.json +0 -50
  157. package/public/r/radio-group.json +0 -31
  158. package/public/r/rating.json +0 -26
  159. package/public/r/registry.json +0 -6959
  160. package/public/r/resizable-examples.json +0 -33
  161. package/public/r/resizable.json +0 -36
  162. package/public/r/reviews-1.json +0 -27
  163. package/public/r/reviews-2.json +0 -27
  164. package/public/r/reviews-3.json +0 -27
  165. package/public/r/reviews-4.json +0 -25
  166. package/public/r/reviews-5.json +0 -27
  167. package/public/r/section.json +0 -38
  168. package/public/r/select-examples.json +0 -53
  169. package/public/r/select.json +0 -62
  170. package/public/r/separator-examples.json +0 -38
  171. package/public/r/separator.json +0 -23
  172. package/public/r/services-1.json +0 -32
  173. package/public/r/services-2.json +0 -29
  174. package/public/r/services-3.json +0 -29
  175. package/public/r/services-4.json +0 -31
  176. package/public/r/services-5.json +0 -26
  177. package/public/r/services-6.json +0 -32
  178. package/public/r/services-7.json +0 -32
  179. package/public/r/sheet-examples.json +0 -37
  180. package/public/r/sheet.json +0 -66
  181. package/public/r/sidebar-1.json +0 -35
  182. package/public/r/sidebar-examples.json +0 -24
  183. package/public/r/sidebar.json +0 -146
  184. package/public/r/skeleton-examples.json +0 -49
  185. package/public/r/skeleton.json +0 -23
  186. package/public/r/slider-examples.json +0 -44
  187. package/public/r/slider.json +0 -26
  188. package/public/r/spinner-examples.json +0 -61
  189. package/public/r/spinner.json +0 -26
  190. package/public/r/switch-examples.json +0 -50
  191. package/public/r/switch.json +0 -26
  192. package/public/r/table-examples.json +0 -38
  193. package/public/r/table.json +0 -58
  194. package/public/r/tabs-examples.json +0 -47
  195. package/public/r/tabs.json +0 -46
  196. package/public/r/textarea-examples.json +0 -45
  197. package/public/r/textarea.json +0 -23
  198. package/public/r/theme-toggle.json +0 -34
  199. package/public/r/toast-examples.json +0 -29
  200. package/public/r/toast.json +0 -80
  201. package/public/r/toc.json +0 -43
  202. package/public/r/toggle-examples.json +0 -46
  203. package/public/r/toggle-group-examples.json +0 -57
  204. package/public/r/toggle-group.json +0 -34
  205. package/public/r/toggle.json +0 -31
  206. package/public/r/tooltip-examples.json +0 -43
  207. package/public/r/tooltip.json +0 -36
  208. package/public/r/typography.json +0 -103
  209. package/public/r/video.json +0 -23
@@ -1,109 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "drawer",
4
- "title": "Drawer",
5
- "description": "A drawer component that slides in from any edge of the screen.",
6
- "dependencies": [
7
- "@data-slot/drawer@^1.1.2"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button"
11
- ],
12
- "files": [
13
- {
14
- "path": "src/components/ui/drawer/drawer-close.astro",
15
- "content": "---\nimport type { ComponentProps } from \"astro/types\"\n\nimport { Button } from \"@/components/ui/button\"\n\ntype Props = ComponentProps<typeof Button>\n\nconst { ...props } = Astro.props\n---\n\n<Button data-slot=\"drawer-close\" {...props}>\n <slot />\n</Button>\n",
16
- "type": "registry:ui"
17
- },
18
- {
19
- "path": "src/components/ui/drawer/drawer-content.astro",
20
- "content": "---\nimport type { ComponentProps } from \"astro/types\"\n\nimport DrawerOverlay from \"./drawer-overlay.astro\"\nimport DrawerPopup from \"./drawer-popup.astro\"\nimport DrawerPortal from \"./drawer-portal.astro\"\nimport DrawerSwipeHandle from \"./drawer-swipe-handle.astro\"\nimport DrawerViewport from \"./drawer-viewport.astro\"\n\ntype Props = ComponentProps<typeof DrawerPopup> & {\n showOverlay?: boolean\n showSwipeHandle?: boolean\n container?: string\n keepMounted?: boolean\n overlayClass?: string\n viewportClass?: string\n}\n\nconst {\n showOverlay = true,\n showSwipeHandle = false,\n container,\n keepMounted,\n overlayClass,\n viewportClass,\n ...props\n} = Astro.props\n---\n\n<DrawerPortal container={container} keepMounted={keepMounted}>\n {showOverlay && <DrawerOverlay class={overlayClass} />}\n <DrawerViewport class={viewportClass}>\n <DrawerPopup {...props}>\n {showSwipeHandle && <DrawerSwipeHandle />}\n <div\n data-slot=\"drawer-content\"\n class=\"flex min-h-0 flex-1 flex-col overflow-y-auto overscroll-contain rounded-[inherit] transition-opacity duration-300 select-text group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-swiping/drawer-popup:opacity-100 group-data-swiping/drawer-popup:select-none\"\n >\n <slot />\n </div>\n </DrawerPopup>\n </DrawerViewport>\n</DrawerPortal>\n",
21
- "type": "registry:ui"
22
- },
23
- {
24
- "path": "src/components/ui/drawer/drawer-description.astro",
25
- "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=\"drawer-description\"\n class={cn(\"text-muted-foreground text-sm text-balance\", className)}\n {...props}\n>\n <slot />\n</p>\n",
26
- "type": "registry:ui"
27
- },
28
- {
29
- "path": "src/components/ui/drawer/drawer-footer.astro",
30
- "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=\"drawer-footer\"\n class={cn(\"gap-2 p-4 mt-auto flex shrink-0 flex-col pt-0\", className)}\n {...props}\n>\n <slot />\n</div>\n",
31
- "type": "registry:ui"
32
- },
33
- {
34
- "path": "src/components/ui/drawer/drawer-header.astro",
35
- "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=\"drawer-header\"\n class={cn(\"flex shrink-0 flex-col gap-1.5 p-4 pb-0\", className)}\n {...props}\n>\n <slot />\n</div>\n",
36
- "type": "registry:ui"
37
- },
38
- {
39
- "path": "src/components/ui/drawer/drawer-indent-background.astro",
40
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"drawer-indent-background\" class={className} {...props}>\n <slot />\n</div>\n",
41
- "type": "registry:ui"
42
- },
43
- {
44
- "path": "src/components/ui/drawer/drawer-indent.astro",
45
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"drawer-indent\" class={className} {...props}>\n <slot />\n</div>\n",
46
- "type": "registry:ui"
47
- },
48
- {
49
- "path": "src/components/ui/drawer/drawer-overlay.astro",
50
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, hidden = true, ...props } = Astro.props\n---\n\n<div\n data-slot=\"drawer-backdrop\"\n hidden={hidden}\n class={cn(\n \"bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50 min-h-dvh opacity-[calc(1-var(--drawer-swipe-progress,0))] transition-opacity duration-300 ease-[cubic-bezier(0.32,0.72,0,1)] select-none data-ending-style:pointer-events-none data-ending-style:opacity-0 data-starting-style:opacity-0 data-swiping:duration-0\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
51
- "type": "registry:ui"
52
- },
53
- {
54
- "path": "src/components/ui/drawer/drawer-popup.astro",
55
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n initialFocus?: boolean | string\n finalFocus?: boolean | string\n}\n\nconst {\n class: className,\n initialFocus,\n finalFocus,\n hidden = true,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"drawer-popup\"\n data-initial-focus={initialFocus}\n data-final-focus={finalFocus}\n hidden={hidden}\n class={cn(\n \"bg-popover text-popover-foreground text-sm data-[swipe-direction=down]:rounded-t-xl data-[swipe-direction=down]:border-t data-[swipe-direction=left]:rounded-r-xl data-[swipe-direction=left]:border-r data-[swipe-direction=right]:rounded-l-xl data-[swipe-direction=right]:border-l data-[swipe-direction=up]:rounded-b-xl data-[swipe-direction=up]:border-b shadow-lg group/drawer-popup pointer-events-auto fixed z-50 m-(--drawer-inset,0px) flex min-h-0 transform-gpu flex-col transition-[transform,height,opacity,filter] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform outline-none select-none data-ending-style:duration-[calc(var(--drawer-swipe-strength,1)*400ms)] data-nested-drawer-open:overflow-hidden data-nested-drawer-open:brightness-95 data-swiping:duration-0\",\n \"data-[swipe-direction=down]:inset-x-0 data-[swipe-direction=down]:bottom-0 data-[swipe-direction=down]:max-h-[calc(100dvh-3rem)] data-[swipe-direction=down]:[transform:translate3d(0,calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-amount-y,0px)),0)] data-[swipe-direction=down]:data-ending-style:[transform:translate3d(0,calc(100%+2px),0)] data-[swipe-direction=down]:data-starting-style:[transform:translate3d(0,calc(100%+2px),0)]\",\n \"data-[swipe-direction=up]:inset-x-0 data-[swipe-direction=up]:top-0 data-[swipe-direction=up]:max-h-[calc(100dvh-3rem)] data-[swipe-direction=up]:[transform:translate3d(0,calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-amount-y,0px)),0)] data-[swipe-direction=up]:data-ending-style:[transform:translate3d(0,calc(-100%-2px),0)] data-[swipe-direction=up]:data-starting-style:[transform:translate3d(0,calc(-100%-2px),0)]\",\n \"data-[swipe-direction=left]:inset-y-0 data-[swipe-direction=left]:left-0 data-[swipe-direction=left]:h-full data-[swipe-direction=left]:w-3/4 data-[swipe-direction=left]:max-w-sm data-[swipe-direction=left]:[transform:translate3d(calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-amount-x,0px)),0,0)] data-[swipe-direction=left]:flex-row data-[swipe-direction=left]:data-ending-style:[transform:translate3d(calc(-100%-2px),0,0)] data-[swipe-direction=left]:data-starting-style:[transform:translate3d(calc(-100%-2px),0,0)]\",\n \"data-[swipe-direction=right]:inset-y-0 data-[swipe-direction=right]:right-0 data-[swipe-direction=right]:h-full data-[swipe-direction=right]:w-3/4 data-[swipe-direction=right]:max-w-sm data-[swipe-direction=right]:[transform:translate3d(calc(var(--drawer-snap-point-offset,0px)+var(--drawer-swipe-amount-x,0px)),0,0)] data-[swipe-direction=right]:flex-row data-[swipe-direction=right]:data-ending-style:[transform:translate3d(calc(100%+2px),0,0)] data-[swipe-direction=right]:data-starting-style:[transform:translate3d(calc(100%+2px),0,0)]\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
56
- "type": "registry:ui"
57
- },
58
- {
59
- "path": "src/components/ui/drawer/drawer-portal.astro",
60
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n container?: string\n keepMounted?: boolean\n}\n\nconst {\n class: className,\n container,\n keepMounted,\n hidden = true,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"drawer-portal\"\n data-container={container}\n data-keep-mounted={keepMounted}\n class={className}\n hidden={hidden}\n {...props}\n>\n <slot />\n</div>\n",
61
- "type": "registry:ui"
62
- },
63
- {
64
- "path": "src/components/ui/drawer/drawer-provider.astro",
65
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"drawer-provider\" class={className} {...props}>\n <slot />\n</div>\n",
66
- "type": "registry:ui"
67
- },
68
- {
69
- "path": "src/components/ui/drawer/drawer-swipe-handle.astro",
70
- "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=\"drawer-handle\"\n aria-hidden=\"true\"\n class={cn(\n \"after:bg-muted relative z-10 flex shrink-0 cursor-grab transition-opacity duration-200 group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-swiping/drawer-popup:opacity-100 group-data-[swipe-direction=down]/drawer-popup:h-3 group-data-[swipe-direction=down]/drawer-popup:w-full group-data-[swipe-direction=down]/drawer-popup:items-end group-data-[swipe-direction=down]/drawer-popup:justify-center group-data-[swipe-direction=left]/drawer-popup:order-last group-data-[swipe-direction=left]/drawer-popup:h-full group-data-[swipe-direction=left]/drawer-popup:w-3 group-data-[swipe-direction=left]/drawer-popup:items-center group-data-[swipe-direction=left]/drawer-popup:justify-start group-data-[swipe-direction=right]/drawer-popup:h-full group-data-[swipe-direction=right]/drawer-popup:w-3 group-data-[swipe-direction=right]/drawer-popup:items-center group-data-[swipe-direction=right]/drawer-popup:justify-end group-data-[swipe-direction=up]/drawer-popup:order-last group-data-[swipe-direction=up]/drawer-popup:h-3 group-data-[swipe-direction=up]/drawer-popup:w-full group-data-[swipe-direction=up]/drawer-popup:items-start group-data-[swipe-direction=up]/drawer-popup:justify-center after:block after:shrink-0 after:rounded-full group-data-[swipe-direction=down]/drawer-popup:after:h-1.5 group-data-[swipe-direction=down]/drawer-popup:after:w-24 group-data-[swipe-direction=left]/drawer-popup:after:h-24 group-data-[swipe-direction=left]/drawer-popup:after:w-1.5 group-data-[swipe-direction=right]/drawer-popup:after:h-24 group-data-[swipe-direction=right]/drawer-popup:after:w-1.5 group-data-[swipe-direction=up]/drawer-popup:after:h-1.5 group-data-[swipe-direction=up]/drawer-popup:after:w-24 active:cursor-grabbing\",\n className\n )}\n {...props}\n></div>\n",
71
- "type": "registry:ui"
72
- },
73
- {
74
- "path": "src/components/ui/drawer/drawer-title.astro",
75
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"h2\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<h2\n data-slot=\"drawer-title\"\n class={cn(\"text-foreground font-medium font-heading\", className)}\n {...props}\n>\n <slot />\n</h2>\n",
76
- "type": "registry:ui"
77
- },
78
- {
79
- "path": "src/components/ui/drawer/drawer-trigger.astro",
80
- "content": "---\nimport type { ComponentProps } from \"astro/types\"\n\nimport { Button } from \"@/components/ui/button\"\n\ntype Props = ComponentProps<typeof Button> & {\n drawerTarget?: string\n payload?: string\n}\n\nconst { drawerTarget, payload, ...props } = Astro.props\n---\n\n<Button\n data-slot=\"drawer-trigger\"\n data-drawer-target={drawerTarget}\n data-payload={payload}\n {...props}\n>\n <slot />\n</Button>\n",
81
- "type": "registry:ui"
82
- },
83
- {
84
- "path": "src/components/ui/drawer/drawer-viewport.astro",
85
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, hidden = true, ...props } = Astro.props\n---\n\n<div\n data-slot=\"drawer-viewport\"\n hidden={hidden}\n class={cn(\n \"pointer-events-none fixed inset-0 z-50 min-h-dvh select-none\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
86
- "type": "registry:ui"
87
- },
88
- {
89
- "path": "src/components/ui/drawer/drawer-virtual-keyboard-provider.astro",
90
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"drawer-virtual-keyboard-provider\" class={className} {...props}>\n <slot />\n</div>\n",
91
- "type": "registry:ui"
92
- },
93
- {
94
- "path": "src/components/ui/drawer/drawer.astro",
95
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type { DrawerSnapPoint, DrawerSwipeDirection } from \"@data-slot/drawer\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n defaultOpen?: boolean\n modal?: boolean | \"trap-focus\"\n disablePointerDismissal?: boolean\n closeOnEscape?: boolean\n swipeDirection?: DrawerSwipeDirection\n snapPoint?: DrawerSnapPoint | null\n defaultSnapPoint?: DrawerSnapPoint | null\n triggerId?: string | null\n defaultTriggerId?: string | null\n}\n\nconst {\n class: className,\n defaultOpen,\n modal,\n disablePointerDismissal,\n closeOnEscape,\n swipeDirection,\n snapPoint,\n defaultSnapPoint,\n triggerId,\n defaultTriggerId,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"drawer\"\n data-default-open={defaultOpen}\n data-modal={modal}\n data-disable-pointer-dismissal={disablePointerDismissal}\n data-close-on-escape={closeOnEscape}\n data-swipe-direction={swipeDirection}\n data-snap-point={snapPoint}\n data-default-snap-point={defaultSnapPoint}\n data-trigger-id={triggerId}\n data-default-trigger-id={defaultTriggerId}\n class={className}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/drawer\"\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",
96
- "type": "registry:ui"
97
- },
98
- {
99
- "path": "src/components/ui/drawer/index.ts",
100
- "content": "export { default as Drawer } from \"./drawer.astro\"\nexport { default as DrawerTrigger } from \"./drawer-trigger.astro\"\nexport { default as DrawerClose } from \"./drawer-close.astro\"\nexport { default as DrawerPortal } from \"./drawer-portal.astro\"\nexport { default as DrawerOverlay } from \"./drawer-overlay.astro\"\nexport { default as DrawerBackdrop } from \"./drawer-overlay.astro\"\nexport { default as DrawerViewport } from \"./drawer-viewport.astro\"\nexport { default as DrawerPopup } from \"./drawer-popup.astro\"\nexport { default as DrawerContent } from \"./drawer-content.astro\"\nexport { default as DrawerSwipeHandle } from \"./drawer-swipe-handle.astro\"\nexport { default as DrawerHeader } from \"./drawer-header.astro\"\nexport { default as DrawerFooter } from \"./drawer-footer.astro\"\nexport { default as DrawerTitle } from \"./drawer-title.astro\"\nexport { default as DrawerDescription } from \"./drawer-description.astro\"\nexport { default as DrawerProvider } from \"./drawer-provider.astro\"\nexport { default as DrawerIndent } from \"./drawer-indent.astro\"\nexport { default as DrawerIndentBackground } from \"./drawer-indent-background.astro\"\nexport { default as DrawerVirtualKeyboardProvider } from \"./drawer-virtual-keyboard-provider.astro\"\n\nexport type {\n DrawerChangeDetails,\n DrawerChangeReason,\n DrawerController,\n DrawerOptions,\n DrawerSnapChangeDetails,\n DrawerSnapPoint,\n DrawerSwipeDirection,\n} from \"@data-slot/drawer\"\n",
101
- "type": "registry:ui"
102
- }
103
- ],
104
- "docs": "https://ui.full.dev/components/drawer/",
105
- "categories": [
106
- "ui"
107
- ],
108
- "type": "registry:ui"
109
- }
@@ -1,63 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "dropdown-menu-examples",
4
- "title": "Dropdown Menu examples",
5
- "description": "The examples from the shadcn/ui Dropdown Menu docs.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/avatar",
11
- "@fulldev/button",
12
- "@fulldev/dropdown-menu"
13
- ],
14
- "files": [
15
- {
16
- "path": "src/components/examples/dropdown-menu/dropdown-menu-avatar.astro",
17
- "content": "---\nimport BadgeCheckIcon from \"@lucide/astro/icons/badge-check\"\nimport BellIcon from \"@lucide/astro/icons/bell\"\nimport CreditCardIcon from \"@lucide/astro/icons/credit-card\"\nimport LogOutIcon from \"@lucide/astro/icons/log-out\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu>\n <DropdownMenuTrigger\n class={cn(\n buttonVariants({ variant: \"ghost\", size: \"icon\" }),\n \"rounded-full\"\n )}\n >\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"shadcn\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\">\n <DropdownMenuGroup>\n <DropdownMenuItem>\n <BadgeCheckIcon />\n Account\n </DropdownMenuItem>\n <DropdownMenuItem>\n <CreditCardIcon />\n Billing\n </DropdownMenuItem>\n <DropdownMenuItem>\n <BellIcon />\n Notifications\n </DropdownMenuItem>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem>\n <LogOutIcon />\n Sign Out\n </DropdownMenuItem>\n </DropdownMenuContent>\n</DropdownMenu>\n",
18
- "type": "registry:component"
19
- },
20
- {
21
- "path": "src/components/examples/dropdown-menu/dropdown-menu-basic.astro",
22
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open\n </DropdownMenuTrigger>\n <DropdownMenuContent>\n <DropdownMenuGroup>\n <DropdownMenuLabel>My Account</DropdownMenuLabel>\n <DropdownMenuItem>Profile</DropdownMenuItem>\n <DropdownMenuItem>Billing</DropdownMenuItem>\n <DropdownMenuItem>Settings</DropdownMenuItem>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem>GitHub</DropdownMenuItem>\n <DropdownMenuItem>Support</DropdownMenuItem>\n <DropdownMenuItem disabled>API</DropdownMenuItem>\n </DropdownMenuContent>\n</DropdownMenu>\n",
23
- "type": "registry:component"
24
- },
25
- {
26
- "path": "src/components/examples/dropdown-menu/dropdown-menu-checkboxes-icons.astro",
27
- "content": "---\nimport BellIcon from \"@lucide/astro/icons/bell\"\nimport MailIcon from \"@lucide/astro/icons/mail\"\nimport MessageSquareIcon from \"@lucide/astro/icons/message-square\"\n\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu defaultValues={[\"email\", \"push\"]} closeOnSelect={false}>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Notifications\n </DropdownMenuTrigger>\n <DropdownMenuContent class=\"w-48\">\n <DropdownMenuGroup>\n <DropdownMenuLabel>Notification Preferences</DropdownMenuLabel>\n <DropdownMenuCheckboxItem value=\"email\">\n <MailIcon />\n Email notifications\n </DropdownMenuCheckboxItem>\n <DropdownMenuCheckboxItem value=\"sms\">\n <MessageSquareIcon />\n SMS notifications\n </DropdownMenuCheckboxItem>\n <DropdownMenuCheckboxItem value=\"push\">\n <BellIcon />\n Push notifications\n </DropdownMenuCheckboxItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n</DropdownMenu>\n",
28
- "type": "registry:component"
29
- },
30
- {
31
- "path": "src/components/examples/dropdown-menu/dropdown-menu-checkboxes.astro",
32
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu defaultValues={[\"status-bar\"]} closeOnSelect={false}>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open\n </DropdownMenuTrigger>\n <DropdownMenuContent class=\"w-40\">\n <DropdownMenuGroup>\n <DropdownMenuLabel>Appearance</DropdownMenuLabel>\n <DropdownMenuCheckboxItem value=\"status-bar\">\n Status Bar\n </DropdownMenuCheckboxItem>\n <DropdownMenuCheckboxItem value=\"activity-bar\" disabled>\n Activity Bar\n </DropdownMenuCheckboxItem>\n <DropdownMenuCheckboxItem value=\"panel\">Panel</DropdownMenuCheckboxItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n</DropdownMenu>\n",
33
- "type": "registry:component"
34
- },
35
- {
36
- "path": "src/components/examples/dropdown-menu/dropdown-menu-destructive.astro",
37
- "content": "---\nimport PencilIcon from \"@lucide/astro/icons/pencil\"\nimport ShareIcon from \"@lucide/astro/icons/share\"\nimport TrashIcon from \"@lucide/astro/icons/trash\"\n\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Actions\n </DropdownMenuTrigger>\n <DropdownMenuContent>\n <DropdownMenuGroup>\n <DropdownMenuItem>\n <PencilIcon />\n Edit\n </DropdownMenuItem>\n <DropdownMenuItem>\n <ShareIcon />\n Share\n </DropdownMenuItem>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuGroup>\n <DropdownMenuItem variant=\"destructive\">\n <TrashIcon />\n Delete\n </DropdownMenuItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n</DropdownMenu>\n",
38
- "type": "registry:component"
39
- },
40
- {
41
- "path": "src/components/examples/dropdown-menu/dropdown-menu-icons.astro",
42
- "content": "---\nimport CreditCardIcon from \"@lucide/astro/icons/credit-card\"\nimport LogOutIcon from \"@lucide/astro/icons/log-out\"\nimport SettingsIcon from \"@lucide/astro/icons/settings\"\nimport UserIcon from \"@lucide/astro/icons/user\"\n\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open\n </DropdownMenuTrigger>\n <DropdownMenuContent>\n <DropdownMenuItem>\n <UserIcon />\n Profile\n </DropdownMenuItem>\n <DropdownMenuItem>\n <CreditCardIcon />\n Billing\n </DropdownMenuItem>\n <DropdownMenuItem>\n <SettingsIcon />\n Settings\n </DropdownMenuItem>\n <DropdownMenuSeparator />\n <DropdownMenuItem variant=\"destructive\">\n <LogOutIcon />\n Log out\n </DropdownMenuItem>\n </DropdownMenuContent>\n</DropdownMenu>\n",
43
- "type": "registry:component"
44
- },
45
- {
46
- "path": "src/components/examples/dropdown-menu/dropdown-menu-radio-group.astro",
47
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuRadioItem,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu defaultValue=\"bottom\" closeOnSelect={false}>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open\n </DropdownMenuTrigger>\n <DropdownMenuContent class=\"w-32\">\n <DropdownMenuGroup>\n <DropdownMenuLabel>Panel Position</DropdownMenuLabel>\n <DropdownMenuRadioItem value=\"top\">Top</DropdownMenuRadioItem>\n <DropdownMenuRadioItem value=\"bottom\">Bottom</DropdownMenuRadioItem>\n <DropdownMenuRadioItem value=\"right\">Right</DropdownMenuRadioItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n</DropdownMenu>\n",
48
- "type": "registry:component"
49
- },
50
- {
51
- "path": "src/components/examples/dropdown-menu/dropdown-menu-radio-icons.astro",
52
- "content": "---\nimport BuildingComplexIcon from \"@lucide/astro/icons/building-complex\"\nimport CreditCardIcon from \"@lucide/astro/icons/credit-card\"\nimport WalletIcon from \"@lucide/astro/icons/wallet\"\n\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuRadioItem,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu defaultValue=\"card\" closeOnSelect={false}>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Payment Method\n </DropdownMenuTrigger>\n <DropdownMenuContent class=\"min-w-56\">\n <DropdownMenuGroup>\n <DropdownMenuLabel>Select Payment Method</DropdownMenuLabel>\n <DropdownMenuRadioItem value=\"card\">\n <CreditCardIcon />\n Credit Card\n </DropdownMenuRadioItem>\n <DropdownMenuRadioItem value=\"paypal\">\n <WalletIcon />\n PayPal\n </DropdownMenuRadioItem>\n <DropdownMenuRadioItem value=\"bank\">\n <BuildingComplexIcon />\n Bank Transfer\n </DropdownMenuRadioItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n</DropdownMenu>\n",
53
- "type": "registry:component"
54
- },
55
- {
56
- "path": "src/components/examples/dropdown-menu/dropdown-menu-shortcuts.astro",
57
- "content": "---\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu>\n <DropdownMenuTrigger class={buttonVariants({ variant: \"outline\" })}>\n Open\n </DropdownMenuTrigger>\n <DropdownMenuContent>\n <DropdownMenuGroup>\n <DropdownMenuLabel>My Account</DropdownMenuLabel>\n <DropdownMenuItem>\n Profile\n <DropdownMenuShortcut>⇧⌘P</DropdownMenuShortcut>\n </DropdownMenuItem>\n <DropdownMenuItem>\n Billing\n <DropdownMenuShortcut>⌘B</DropdownMenuShortcut>\n </DropdownMenuItem>\n <DropdownMenuItem>\n Settings\n <DropdownMenuShortcut>⌘S</DropdownMenuShortcut>\n </DropdownMenuItem>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem>\n Log out\n <DropdownMenuShortcut>⇧⌘Q</DropdownMenuShortcut>\n </DropdownMenuItem>\n </DropdownMenuContent>\n</DropdownMenu>\n",
58
- "type": "registry:component"
59
- }
60
- ],
61
- "docs": "https://ui.full.dev/components/dropdown-menu/",
62
- "type": "registry:example"
63
- }
@@ -1,77 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "dropdown-menu",
4
- "title": "Dropdown Menu",
5
- "description": "Displays a menu to the user, such as a set of actions or functions, triggered by a button.",
6
- "dependencies": [
7
- "@data-slot/dropdown-menu@^1.1.2",
8
- "@lucide/astro"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/ui/dropdown-menu/dropdown-menu.astro",
13
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type { Align, Side } from \"@data-slot/dropdown-menu\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n defaultOpen?: boolean\n defaultValue?: string | null\n defaultValues?: string[]\n closeOnClickOutside?: boolean\n closeOnEscape?: boolean\n closeOnSelect?: boolean\n highlightItemOnHover?: boolean\n side?: Side\n align?: Align\n sideOffset?: number\n alignOffset?: number\n avoidCollisions?: boolean\n collisionPadding?: number\n lockScroll?: boolean\n}\n\nconst {\n class: className,\n defaultOpen,\n defaultValue,\n defaultValues,\n closeOnClickOutside,\n closeOnEscape,\n closeOnSelect,\n highlightItemOnHover,\n side,\n align,\n sideOffset,\n alignOffset,\n avoidCollisions,\n collisionPadding,\n lockScroll,\n ...props\n} = Astro.props\n\nconst defaultValuesAttr =\n defaultValues === undefined ? undefined : JSON.stringify(defaultValues)\n---\n\n<div\n data-slot=\"dropdown-menu\"\n data-default-open={defaultOpen}\n data-default-value={defaultValue === null ? \"\" : defaultValue}\n data-default-values={defaultValuesAttr}\n data-close-on-click-outside={closeOnClickOutside}\n data-close-on-escape={closeOnEscape}\n data-close-on-select={closeOnSelect}\n data-highlight-item-on-hover={highlightItemOnHover}\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-lock-scroll={lockScroll}\n class={className}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/dropdown-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/dropdown-menu/dropdown-menu-trigger.astro",
18
- "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\n data-slot=\"dropdown-menu-trigger\"\n type={type}\n class={className}\n {...props}\n>\n <slot />\n</button>\n",
19
- "type": "registry:ui"
20
- },
21
- {
22
- "path": "src/components/ui/dropdown-menu/dropdown-menu-content.astro",
23
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type { Align, Side } from \"@data-slot/dropdown-menu\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n side?: Side\n align?: Align\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=\"dropdown-menu-portal\">\n <div\n data-slot=\"dropdown-menu-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] outline-none\"\n >\n <div\n data-slot=\"dropdown-menu-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 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 min-w-32 rounded-md p-1 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 max-h-[var(--available-height,min(24rem,calc(100svh-2rem)))] w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden\",\n className\n )}\n {...props}\n >\n <slot />\n </div>\n </div>\n</div>\n",
24
- "type": "registry:ui"
25
- },
26
- {
27
- "path": "src/components/ui/dropdown-menu/dropdown-menu-item.astro",
28
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"button\"> &\n HTMLAttributes<\"a\"> & {\n // \"div\" holds block content such as an Item, like a Base UI menu item.\n as?: \"button\" | \"a\" | \"div\"\n disabled?: boolean\n variant?: \"default\" | \"destructive\"\n inset?: boolean\n }\n\nconst {\n as: Tag = \"href\" in Astro.props ? \"a\" : \"button\",\n class: className,\n type = \"button\",\n disabled,\n variant,\n inset,\n ...props\n} = Astro.props\n---\n\n<Tag\n data-slot=\"dropdown-menu-item\"\n data-disabled={disabled || undefined}\n data-variant={variant}\n data-inset={inset || undefined}\n disabled={Tag === \"button\" && disabled ? true : undefined}\n type={Tag === \"button\" ? type : undefined}\n class={cn(\n \"data-highlighted:bg-accent data-highlighted:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:data-highlighted:bg-destructive/10 dark:data-[variant=destructive]:data-highlighted:bg-destructive/20 data-[variant=destructive]:data-highlighted:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-sm px-2 py-1.5 text-sm data-inset:pl-8 [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-item relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n className\n )}\n {...props}\n>\n <slot />\n</Tag>\n\n<script>\n // Data Slot owns selection; links also need native keyboard activation.\n document.addEventListener(\n \"keydown\",\n (event) => {\n if (\n event.defaultPrevented ||\n event.isComposing ||\n ![\"Enter\", \" \"].includes(event.key)\n )\n return\n const item =\n event.target instanceof Element\n ? event.target.closest('[data-slot=\"dropdown-menu-item\"][href]')\n : null\n if (\n !(item instanceof HTMLAnchorElement) ||\n item.getAttribute(\"aria-disabled\") === \"true\"\n )\n return\n event.preventDefault()\n event.stopPropagation()\n item.click()\n },\n true\n )\n</script>\n",
29
- "type": "registry:ui"
30
- },
31
- {
32
- "path": "src/components/ui/dropdown-menu/dropdown-menu-radio-item.astro",
33
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport CheckIcon from \"@lucide/astro/icons/check\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"button\"> & {\n value: string\n defaultChecked?: boolean\n disabled?: boolean\n variant?: \"default\" | \"destructive\"\n inset?: boolean\n}\n\nconst {\n class: className,\n type = \"button\",\n value,\n defaultChecked,\n disabled,\n variant,\n inset,\n ...props\n} = Astro.props\n---\n\n<button\n data-slot=\"dropdown-menu-radio-item\"\n data-value={value}\n data-default-checked={defaultChecked}\n data-disabled={disabled || undefined}\n data-variant={variant}\n data-inset={inset || undefined}\n disabled={disabled ? true : undefined}\n type={type}\n class={cn(\n \"data-highlighted:bg-accent data-highlighted:text-accent-foreground data-highlighted:**:text-accent-foreground gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm data-inset:pl-8 [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-radio-item relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n className\n )}\n {...props}\n>\n <span\n data-slot=\"dropdown-menu-radio-item-indicator\"\n class=\"absolute right-2 flex items-center justify-center pointer-events-none\"\n >\n <CheckIcon class=\"opacity-0 group-data-checked/dropdown-menu-radio-item:opacity-100\" />\n </span>\n <slot />\n</button>\n",
34
- "type": "registry:ui"
35
- },
36
- {
37
- "path": "src/components/ui/dropdown-menu/dropdown-menu-checkbox-item.astro",
38
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport CheckIcon from \"@lucide/astro/icons/check\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"button\"> & {\n value: string\n defaultChecked?: boolean\n disabled?: boolean\n variant?: \"default\" | \"destructive\"\n inset?: boolean\n}\n\nconst {\n class: className,\n type = \"button\",\n value,\n defaultChecked,\n disabled,\n variant,\n inset,\n ...props\n} = Astro.props\n---\n\n<button\n data-slot=\"dropdown-menu-checkbox-item\"\n data-value={value}\n data-default-checked={defaultChecked}\n data-disabled={disabled || undefined}\n data-variant={variant}\n data-inset={inset || undefined}\n disabled={disabled ? true : undefined}\n type={type}\n class={cn(\n \"data-highlighted:bg-accent data-highlighted:text-accent-foreground data-highlighted:**:text-accent-foreground gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm data-inset:pl-8 [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-checkbox-item relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n className\n )}\n {...props}\n>\n <span\n data-slot=\"dropdown-menu-checkbox-item-indicator\"\n class=\"absolute right-2 flex items-center justify-center pointer-events-none\"\n >\n <CheckIcon class=\"opacity-0 group-data-checked/dropdown-menu-checkbox-item:opacity-100\" />\n </span>\n <slot />\n</button>\n",
39
- "type": "registry:ui"
40
- },
41
- {
42
- "path": "src/components/ui/dropdown-menu/dropdown-menu-group.astro",
43
- "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 data-slot=\"dropdown-menu-group\" class={cn(className)} {...props}>\n <slot />\n</div>\n",
44
- "type": "registry:ui"
45
- },
46
- {
47
- "path": "src/components/ui/dropdown-menu/dropdown-menu-label.astro",
48
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n inset?: boolean\n}\n\nconst { class: className, inset, ...props } = Astro.props\n---\n\n<div\n data-slot=\"dropdown-menu-label\"\n data-inset={inset || undefined}\n class={cn(\"text-muted-foreground px-2 py-1.5 text-xs font-medium data-inset:pl-8\", className)}\n {...props}\n>\n <slot />\n</div>\n",
49
- "type": "registry:ui"
50
- },
51
- {
52
- "path": "src/components/ui/dropdown-menu/dropdown-menu-separator.astro",
53
- "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=\"dropdown-menu-separator\"\n class={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n></div>\n",
54
- "type": "registry:ui"
55
- },
56
- {
57
- "path": "src/components/ui/dropdown-menu/dropdown-menu-shortcut.astro",
58
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\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=\"dropdown-menu-shortcut\"\n class={cn(\"text-muted-foreground group-data-highlighted/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest\", className)}\n {...props}\n>\n <slot />\n</span>\n",
59
- "type": "registry:ui"
60
- },
61
- {
62
- "path": "src/components/ui/dropdown-menu/dropdown-menu-portal.astro",
63
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"dropdown-menu-portal\" class={className} {...props}>\n <slot />\n</div>\n",
64
- "type": "registry:ui"
65
- },
66
- {
67
- "path": "src/components/ui/dropdown-menu/index.ts",
68
- "content": "export { default as DropdownMenu } from \"./dropdown-menu.astro\"\nexport { default as DropdownMenuCheckboxItem } from \"./dropdown-menu-checkbox-item.astro\"\nexport { default as DropdownMenuContent } from \"./dropdown-menu-content.astro\"\nexport { default as DropdownMenuGroup } from \"./dropdown-menu-group.astro\"\nexport { default as DropdownMenuItem } from \"./dropdown-menu-item.astro\"\nexport { default as DropdownMenuLabel } from \"./dropdown-menu-label.astro\"\nexport { default as DropdownMenuPortal } from \"./dropdown-menu-portal.astro\"\nexport { default as DropdownMenuRadioItem } from \"./dropdown-menu-radio-item.astro\"\nexport { default as DropdownMenuSeparator } from \"./dropdown-menu-separator.astro\"\nexport { default as DropdownMenuShortcut } from \"./dropdown-menu-shortcut.astro\"\nexport { default as DropdownMenuTrigger } from \"./dropdown-menu-trigger.astro\"\n",
69
- "type": "registry:ui"
70
- }
71
- ],
72
- "docs": "https://ui.full.dev/components/dropdown-menu/",
73
- "categories": [
74
- "ui"
75
- ],
76
- "type": "registry:ui"
77
- }
@@ -1,55 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "empty-examples",
4
- "title": "Empty examples",
5
- "description": "The examples from the shadcn/ui Empty docs.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/avatar",
11
- "@fulldev/button",
12
- "@fulldev/empty",
13
- "@fulldev/input-group",
14
- "@fulldev/kbd"
15
- ],
16
- "files": [
17
- {
18
- "path": "src/components/examples/empty/empty-avatar-group.astro",
19
- "content": "---\nimport PlusIcon from \"@lucide/astro/icons/plus\"\n\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyMedia,\n EmptyTitle,\n} from \"@/components/ui/empty\"\n---\n\n<Empty>\n <EmptyHeader>\n <EmptyMedia>\n <div class=\"flex -space-x-2 *:data-[slot=avatar]:size-12 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background *:data-[slot=avatar]:grayscale\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage\n src=\"https://github.com/maxleiter.png\"\n alt=\"@maxleiter\"\n />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage\n src=\"https://github.com/evilrabbit.png\"\n alt=\"@evilrabbit\"\n />\n <AvatarFallback>ER</AvatarFallback>\n </Avatar>\n </div>\n </EmptyMedia>\n <EmptyTitle>No Team Members</EmptyTitle>\n <EmptyDescription>\n Invite your team to collaborate on this project.\n </EmptyDescription>\n </EmptyHeader>\n <EmptyContent>\n <Button size=\"sm\">\n <PlusIcon />\n Invite Members\n </Button>\n </EmptyContent>\n</Empty>\n",
20
- "type": "registry:component"
21
- },
22
- {
23
- "path": "src/components/examples/empty/empty-avatar.astro",
24
- "content": "---\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyMedia,\n EmptyTitle,\n} from \"@/components/ui/empty\"\n---\n\n<Empty>\n <EmptyHeader>\n <EmptyMedia variant=\"default\">\n <Avatar class=\"size-12\">\n <AvatarImage src=\"https://github.com/shadcn.png\" class=\"grayscale\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n </EmptyMedia>\n <EmptyTitle>User Offline</EmptyTitle>\n <EmptyDescription>\n This user is currently offline. You can leave a message to notify them or\n try again later.\n </EmptyDescription>\n </EmptyHeader>\n <EmptyContent>\n <Button size=\"sm\">Leave Message</Button>\n </EmptyContent>\n</Empty>\n",
25
- "type": "registry:component"
26
- },
27
- {
28
- "path": "src/components/examples/empty/empty-background.astro",
29
- "content": "---\nimport RefreshCcwIcon from \"@lucide/astro/icons/refresh-ccw\"\n\nimport { Button } from \"@/components/ui/button\"\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyMedia,\n EmptyTitle,\n} from \"@/components/ui/empty\"\n---\n\n<Empty class=\"h-full bg-muted/30\">\n <EmptyHeader>\n <EmptyMedia variant=\"icon\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"tabler-icon tabler-icon-bell\"\n >\n <path d=\"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6\"></path>\n <path d=\"M9 17v1a3 3 0 0 0 6 0v-1\"></path>\n </svg>\n </EmptyMedia>\n <EmptyTitle>No Notifications</EmptyTitle>\n <EmptyDescription class=\"max-w-xs text-pretty\">\n You&apos;re all caught up. New notifications will appear here.\n </EmptyDescription>\n </EmptyHeader>\n <EmptyContent>\n <Button variant=\"outline\">\n <RefreshCcwIcon data-icon=\"inline-start\" />\n Refresh\n </Button>\n </EmptyContent>\n</Empty>\n",
30
- "type": "registry:component"
31
- },
32
- {
33
- "path": "src/components/examples/empty/empty-demo.astro",
34
- "content": "---\nimport ArrowUpRightIcon from \"@lucide/astro/icons/arrow-up-right\"\n\nimport { Button } from \"@/components/ui/button\"\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyMedia,\n EmptyTitle,\n} from \"@/components/ui/empty\"\n---\n\n<Empty>\n <EmptyHeader>\n <EmptyMedia variant=\"icon\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"tabler-icon tabler-icon-folder-code\"\n >\n <path d=\"M11 19h-6a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v4\"></path>\n <path d=\"M20 21l2 -2l-2 -2\"></path>\n <path d=\"M17 17l-2 2l2 2\"></path>\n </svg>\n </EmptyMedia>\n <EmptyTitle>No Projects Yet</EmptyTitle>\n <EmptyDescription>\n You haven&apos;t created any projects yet. Get started by creating your\n first project.\n </EmptyDescription>\n </EmptyHeader>\n <EmptyContent class=\"flex-row justify-center gap-2\">\n <Button>Create Project</Button>\n <Button variant=\"outline\">Import Project</Button>\n </EmptyContent>\n <Button\n as=\"a\"\n variant=\"link\"\n href=\"#\"\n class=\"text-muted-foreground\"\n size=\"sm\"\n >\n Learn More <ArrowUpRightIcon />\n </Button>\n</Empty>\n",
35
- "type": "registry:component"
36
- },
37
- {
38
- "path": "src/components/examples/empty/empty-input-group.astro",
39
- "content": "---\nimport SearchIcon from \"@lucide/astro/icons/search\"\n\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyTitle,\n} from \"@/components/ui/empty\"\nimport {\n InputGroup,\n InputGroupAddon,\n InputGroupInput,\n} from \"@/components/ui/input-group\"\nimport { Kbd } from \"@/components/ui/kbd\"\n---\n\n<Empty>\n <EmptyHeader>\n <EmptyTitle>404 - Not Found</EmptyTitle>\n <EmptyDescription>\n The page you&apos;re looking for doesn&apos;t exist. Try searching for\n what you need below.\n </EmptyDescription>\n </EmptyHeader>\n <EmptyContent>\n <InputGroup class=\"sm:w-3/4\">\n <InputGroupInput placeholder=\"Try searching for pages...\" />\n <InputGroupAddon>\n <SearchIcon />\n </InputGroupAddon>\n <InputGroupAddon align=\"inline-end\">\n <Kbd>/</Kbd>\n </InputGroupAddon>\n </InputGroup>\n <EmptyDescription>\n Need help? <a href=\"#\">Contact support</a>\n </EmptyDescription>\n </EmptyContent>\n</Empty>\n",
40
- "type": "registry:component"
41
- },
42
- {
43
- "path": "src/components/examples/empty/empty-outline.astro",
44
- "content": "---\nimport { Button } from \"@/components/ui/button\"\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyMedia,\n EmptyTitle,\n} from \"@/components/ui/empty\"\n---\n\n<Empty class=\"border border-dashed\">\n <EmptyHeader>\n <EmptyMedia variant=\"icon\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"tabler-icon tabler-icon-cloud\"\n >\n <path d=\"M6.657 18c-2.572 0 -4.657 -2.007 -4.657 -4.483c0 -2.475 2.085 -4.482 4.657 -4.482c.393 -1.762 1.794 -3.2 3.675 -3.773c1.88 -.572 3.956 -.193 5.444 1c1.488 1.19 2.162 3.007 1.77 4.769h.99c1.913 0 3.464 1.56 3.464 3.486c0 1.927 -1.551 3.487 -3.465 3.487h-11.878\"></path>\n </svg>\n </EmptyMedia>\n <EmptyTitle>Cloud Storage Empty</EmptyTitle>\n <EmptyDescription>\n Upload files to your cloud storage to access them anywhere.\n </EmptyDescription>\n </EmptyHeader>\n <EmptyContent>\n <Button variant=\"outline\" size=\"sm\">\n Upload Files\n </Button>\n </EmptyContent>\n</Empty>\n",
45
- "type": "registry:component"
46
- },
47
- {
48
- "path": "src/components/examples/empty/empty-rtl.astro",
49
- "content": "---\nimport ArrowUpRightIcon from \"@lucide/astro/icons/arrow-up-right\"\n\nimport { Button } from \"@/components/ui/button\"\nimport {\n Empty,\n EmptyContent,\n EmptyDescription,\n EmptyHeader,\n EmptyMedia,\n EmptyTitle,\n} from \"@/components/ui/empty\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n title: \"No Projects Yet\",\n description:\n \"You haven't created any projects yet. Get started by creating your first project.\",\n createProject: \"Create Project\",\n importProject: \"Import Project\",\n learnMore: \"Learn More\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n title: \"لا توجد مشاريع بعد\",\n description: \"لم تقم بإنشاء أي مشاريع بعد. ابدأ بإنشاء مشروعك الأول.\",\n createProject: \"إنشاء مشروع\",\n importProject: \"استيراد مشروع\",\n learnMore: \"تعرف على المزيد\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n title: \"אין פרויקטים עדיין\",\n description:\n \"עדיין לא יצרת פרויקטים. התחל על ידי יצירת הפרויקט הראשון שלך.\",\n createProject: \"צור פרויקט\",\n importProject: \"ייבא פרויקט\",\n learnMore: \"למד עוד\",\n },\n },\n} as const\n\nconst { dir, values: t } = translations.ar\n---\n\n<Empty dir={dir}>\n <EmptyHeader>\n <EmptyMedia variant=\"icon\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"tabler-icon tabler-icon-folder-code\"\n >\n <path d=\"M11 19h-6a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v4\"></path>\n <path d=\"M20 21l2 -2l-2 -2\"></path>\n <path d=\"M17 17l-2 2l2 2\"></path>\n </svg>\n </EmptyMedia>\n <EmptyTitle>{t.title}</EmptyTitle>\n <EmptyDescription>{t.description}</EmptyDescription>\n </EmptyHeader>\n <EmptyContent class=\"flex-row justify-center gap-2\">\n <Button>{t.createProject}</Button>\n <Button variant=\"outline\">{t.importProject}</Button>\n </EmptyContent>\n <Button\n as=\"a\"\n variant=\"link\"\n href=\"#\"\n class=\"text-muted-foreground\"\n size=\"sm\"\n >\n {t.learnMore}\n <ArrowUpRightIcon class=\"rtl:rotate-270\" data-icon=\"inline-end\" />\n </Button>\n</Empty>\n",
50
- "type": "registry:component"
51
- }
52
- ],
53
- "docs": "https://ui.full.dev/components/empty/",
54
- "type": "registry:example"
55
- }
@@ -1,48 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "empty",
4
- "title": "Empty",
5
- "description": "Displays an empty state placeholder with optional media, title, and description.",
6
- "files": [
7
- {
8
- "path": "src/components/ui/empty/empty.astro",
9
- "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=\"empty\"\n class={cn(\n \"gap-4 rounded-lg border-dashed p-12 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
10
- "type": "registry:ui"
11
- },
12
- {
13
- "path": "src/components/ui/empty/empty-content.astro",
14
- "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=\"empty-content\"\n class={cn(\n \"gap-4 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
15
- "type": "registry:ui"
16
- },
17
- {
18
- "path": "src/components/ui/empty/empty-description.astro",
19
- "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=\"empty-description\"\n class={cn(\n \"text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
20
- "type": "registry:ui"
21
- },
22
- {
23
- "path": "src/components/ui/empty/empty-header.astro",
24
- "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=\"empty-header\"\n class={cn(\"gap-2 flex max-w-sm flex-col items-center\", className)}\n {...props}\n>\n <slot />\n</div>\n",
25
- "type": "registry:ui"
26
- },
27
- {
28
- "path": "src/components/ui/empty/empty-media.astro",
29
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = VariantProps<typeof variants> & HTMLAttributes<\"div\">\n\nconst variants = cva(\n \"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nconst { class: className, variant = \"default\", ...props } = Astro.props\n---\n\n<div\n data-slot=\"empty-icon\"\n data-variant={variant}\n class={cn(variants({ variant }), className)}\n {...props}\n>\n <slot />\n</div>\n",
30
- "type": "registry:ui"
31
- },
32
- {
33
- "path": "src/components/ui/empty/empty-title.astro",
34
- "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=\"empty-title\"\n class={cn(\"text-lg font-medium tracking-tight font-heading\", className)}\n {...props}\n>\n <slot />\n</div>\n",
35
- "type": "registry:ui"
36
- },
37
- {
38
- "path": "src/components/ui/empty/index.ts",
39
- "content": "export { default as Empty } from \"./empty.astro\"\nexport { default as EmptyContent } from \"./empty-content.astro\"\nexport { default as EmptyDescription } from \"./empty-description.astro\"\nexport { default as EmptyMedia } from \"./empty-media.astro\"\nexport { default as EmptyTitle } from \"./empty-title.astro\"\nexport { default as EmptyHeader } from \"./empty-header.astro\"\n",
40
- "type": "registry:ui"
41
- }
42
- ],
43
- "docs": "https://ui.full.dev/components/empty/",
44
- "categories": [
45
- "ui"
46
- ],
47
- "type": "registry:ui"
48
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "faqs-1",
4
- "title": "FAQs 1",
5
- "description": "FAQ sections for product pages, launches, and documentation support content.",
6
- "registryDependencies": [
7
- "@fulldev/accordion",
8
- "@fulldev/button",
9
- "@fulldev/section"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/faqs-1.astro",
14
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n faqs: {\n id: string\n question: string\n answer: string\n }[]\n defaultItem?: string\n buttons?: {\n label: string\n href: string\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n faqs,\n defaultItem,\n buttons,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8 items-center text-center\">\n <div class=\"flex max-w-2xl flex-col items-center gap-5\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription>{description}</SectionDescription>\n </div>\n {buttons && buttons.length > 0 && (\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 )}\n </SectionContainer>\n <SectionContainer>\n <div class=\"mx-auto w-full max-w-3xl\">\n <Accordion collapsible defaultValue={defaultItem}>\n {faqs.map((item) => (\n <AccordionItem value={item.id}>\n <AccordionTrigger>{item.question}</AccordionTrigger>\n <AccordionContent>{item.answer}</AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </div>\n </SectionContainer>\n</Section>\n",
15
- "type": "registry:block"
16
- }
17
- ],
18
- "docs": "https://ui.full.dev/blocks/faqs/",
19
- "categories": [
20
- "faqs"
21
- ],
22
- "type": "registry:block"
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "faqs-2",
4
- "title": "FAQs 2",
5
- "description": "FAQ sections for product pages, launches, and documentation support content.",
6
- "registryDependencies": [
7
- "@fulldev/accordion",
8
- "@fulldev/button",
9
- "@fulldev/section"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/faqs-2.astro",
14
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n faqs: {\n id: string\n question: string\n answer: string\n }[]\n buttons: {\n label: string\n href: string\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n faqs,\n buttons,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer>\n <div class=\"grid gap-12 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.5fr)] lg:gap-16\">\n <div class=\"lg:sticky lg:top-24 lg:self-start\">\n <SectionTitle>{title}</SectionTitle>\n <p class=\"text-muted-foreground mt-4 text-base leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"mt-8 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\n <div>\n <Accordion collapsible>\n {faqs.map((item) => (\n <AccordionItem value={item.id}>\n <AccordionTrigger>{item.question}</AccordionTrigger>\n <AccordionContent>{item.answer}</AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </div>\n </div>\n </SectionContainer>\n</Section>\n",
15
- "type": "registry:block"
16
- }
17
- ],
18
- "docs": "https://ui.full.dev/blocks/faqs/",
19
- "categories": [
20
- "faqs"
21
- ],
22
- "type": "registry:block"
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "faqs-3",
4
- "title": "FAQs 3",
5
- "description": "FAQ sections for product pages, launches, and documentation support content.",
6
- "registryDependencies": [
7
- "@fulldev/accordion",
8
- "@fulldev/badge",
9
- "@fulldev/section"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/faqs-3.astro",
14
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\nimport { Badge } from \"@/components/ui/badge\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n badge: string\n title: string\n description: string\n faqs: {\n id: string\n question: string\n answer: string\n }[]\n}\n\nconst {\n class: className,\n badge,\n title,\n description,\n faqs,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8 items-center text-center\">\n <div class=\"flex max-w-2xl flex-col items-center gap-5\">\n <Badge variant=\"secondary\">{badge}</Badge>\n <SectionTitle>{title}</SectionTitle>\n <p class=\"text-muted-foreground text-base leading-relaxed text-balance\">\n {description}\n </p>\n </div>\n </SectionContainer>\n <SectionContainer>\n <div class=\"mx-auto w-full max-w-3xl rounded-xl border px-6 py-2\">\n <Accordion collapsible>\n {faqs.map((item) => (\n <AccordionItem value={item.id}>\n <AccordionTrigger>{item.question}</AccordionTrigger>\n <AccordionContent>{item.answer}</AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </div>\n </SectionContainer>\n</Section>\n",
15
- "type": "registry:block"
16
- }
17
- ],
18
- "docs": "https://ui.full.dev/blocks/faqs/",
19
- "categories": [
20
- "faqs"
21
- ],
22
- "type": "registry:block"
23
- }
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "faqs-4",
4
- "title": "FAQs 4",
5
- "description": "FAQ sections for product pages, launches, and documentation support content.",
6
- "registryDependencies": [
7
- "@fulldev/accordion",
8
- "@fulldev/section"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/blocks/faqs-4.astro",
13
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n faqs: {\n id: string\n question: string\n answer: string\n }[]\n}\n\nconst { class: className, title, faqs, ...props } = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8 items-center\">\n <div class=\"mx-auto w-full max-w-3xl\">\n <SectionTitle>{title}</SectionTitle>\n <div class=\"mt-10\">\n <Accordion collapsible>\n {faqs.map((item) => (\n <AccordionItem value={item.id}>\n <AccordionTrigger>{item.question}</AccordionTrigger>\n <AccordionContent>{item.answer}</AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </div>\n </div>\n </SectionContainer>\n</Section>\n",
14
- "type": "registry:block"
15
- }
16
- ],
17
- "docs": "https://ui.full.dev/blocks/faqs/",
18
- "categories": [
19
- "faqs"
20
- ],
21
- "type": "registry:block"
22
- }
@@ -1,26 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "features-1",
4
- "title": "Features 1",
5
- "description": "Feature section layouts for product narratives, launch pages, and capability overviews.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/icon",
12
- "@fulldev/section"
13
- ],
14
- "files": [
15
- {
16
- "path": "src/components/blocks/features-1.astro",
17
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport ArrowRightIcon from \"@lucide/astro/icons/arrow-right\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Icon } from \"@/components/ui/icon\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n features: {\n title: string\n description: string\n icon: string\n link?: {\n label: string\n href: string\n }\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n features,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col items-center gap-6 text-center\">\n <div class=\"flex max-w-2xl flex-col items-center gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription class=\"max-w-2xl\">{description}</SectionDescription>\n </div>\n {buttons.length > 0 && (\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 variant={index === 0 ? \"default\" : \"outline\"}\n >\n {label}\n </Button>\n ))}\n </div>\n )}\n </SectionContainer>\n <SectionContainer>\n <ul class=\"grid gap-6 sm:grid-cols-2\">\n {features.map((feature) => (\n <li class=\"flex flex-col gap-4 rounded-xl border p-6\">\n <div class=\"bg-primary/10 text-primary flex size-10 items-center justify-center rounded-lg\">\n <Icon name={feature.icon} class=\"size-5\" />\n </div>\n <div class=\"flex flex-col gap-1.5\">\n <h3 class=\"text-foreground text-base font-medium\">\n {feature.title}\n </h3>\n <p class=\"text-muted-foreground text-sm leading-relaxed\">\n {feature.description}\n </p>\n </div>\n {feature.link && (\n <a\n href={feature.link.href}\n class=\"text-primary mt-auto inline-flex items-center gap-1 text-sm font-medium hover:underline\"\n >\n {feature.link.label}\n <ArrowRightIcon class=\"size-3.5\" />\n </a>\n )}\n </li>\n ))}\n </ul>\n </SectionContainer>\n</Section>\n",
18
- "type": "registry:block"
19
- }
20
- ],
21
- "docs": "https://ui.full.dev/blocks/features/",
22
- "categories": [
23
- "features"
24
- ],
25
- "type": "registry:block"
26
- }