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,81 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "combobox",
4
- "title": "Combobox",
5
- "description": "Autocomplete input with a list of suggestions.",
6
- "dependencies": [
7
- "@data-slot/combobox@^1.1.2",
8
- "@data-slot/core@^1.1.2",
9
- "@lucide/astro"
10
- ],
11
- "registryDependencies": [
12
- "@fulldev/input-group"
13
- ],
14
- "files": [
15
- {
16
- "path": "src/components/ui/combobox/combobox.astro",
17
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type {\n Align as ComboboxAlign,\n Side as ComboboxSide,\n} from \"@data-slot/combobox\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n defaultValue?: string\n defaultOpen?: boolean\n placeholder?: string\n disabled?: boolean\n required?: boolean\n name?: string\n openOnFocus?: boolean\n autoHighlight?: boolean\n side?: ComboboxSide\n align?: ComboboxAlign\n sideOffset?: number\n alignOffset?: number\n avoidCollisions?: boolean\n collisionPadding?: number\n}\n\nconst {\n class: className,\n defaultValue,\n defaultOpen,\n placeholder,\n disabled,\n required,\n name,\n openOnFocus,\n autoHighlight,\n side,\n align,\n sideOffset,\n alignOffset,\n avoidCollisions,\n collisionPadding,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"combobox\"\n data-default-value={defaultValue}\n data-default-open={defaultOpen}\n data-placeholder={placeholder}\n data-disabled={disabled}\n data-required={required}\n data-name={name}\n data-open-on-focus={openOnFocus}\n data-auto-highlight={autoHighlight}\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={cn(\"group/combobox relative\", className)}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/combobox\"\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",
18
- "type": "registry:ui"
19
- },
20
- {
21
- "path": "src/components/ui/combobox/combobox-content.astro",
22
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport type {\n Align as ComboboxAlign,\n Side as ComboboxSide,\n} from \"@data-slot/combobox\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n side?: ComboboxSide\n align?: ComboboxAlign\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=\"combobox-portal\">\n <div\n data-slot=\"combobox-positioner\"\n data-side={side}\n data-align={align}\n data-side-offset={sideOffset}\n data-align-offset={alignOffset}\n data-avoid-collisions={avoidCollisions}\n data-collision-padding={collisionPadding}\n class=\"isolate z-[1000]\"\n >\n <div\n data-slot=\"combobox-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 \"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 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:border-input/30 overflow-hidden rounded-md shadow-md ring-1 duration-100 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:shadow-none data-[side=inline-start]:slide-in-from-right-2 data-[side=inline-end]:slide-in-from-left-2 group/combobox-content relative z-50 max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin)\",\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/combobox/combobox-empty.astro",
27
- "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=\"combobox-empty\"\n hidden={hidden}\n class={cn(\"text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex items-center\", className)}\n {...props}\n>\n <slot>No results found.</slot>\n</div>\n",
28
- "type": "registry:ui"
29
- },
30
- {
31
- "path": "src/components/ui/combobox/combobox-group.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 data-slot=\"combobox-group\" class={cn(className)} {...props}>\n <slot />\n</div>\n",
33
- "type": "registry:ui"
34
- },
35
- {
36
- "path": "src/components/ui/combobox/combobox-input.astro",
37
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n InputGroup,\n InputGroupAddon,\n InputGroupButton,\n InputGroupInput,\n} from \"@/components/ui/input-group\"\n\nimport ComboboxTrigger from \"./combobox-trigger.astro\"\n\ntype Props = HTMLAttributes<\"input\"> & {\n showTrigger?: boolean\n showClear?: boolean\n clearLabel?: string\n}\n\nconst {\n class: className,\n type = \"text\",\n disabled = false,\n showTrigger = true,\n showClear = false,\n clearLabel = \"Clear selection\",\n ...props\n} = Astro.props\n---\n\n<InputGroup\n class={cn(\n \"has-[[data-slot=combobox-input]:focus-visible]:border-ring has-[[data-slot=combobox-input]:focus-visible]:ring-ring/50 w-auto has-[[data-slot=combobox-input]:focus-visible]:ring-3\",\n className\n )}\n>\n <InputGroupInput\n type={type}\n data-slot=\"combobox-input\"\n disabled={disabled}\n {...props}\n />\n <InputGroupAddon align=\"inline-end\">\n {showTrigger && (\n <ComboboxTrigger\n class={cn(\n \"data-pressed:bg-transparent\",\n showClear && \"group-data-[value]/combobox:hidden\"\n )}\n disabled={disabled}\n />\n )}\n {showClear && (\n <InputGroupButton\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-xs\"\n data-slot=\"combobox-clear\"\n aria-label={clearLabel}\n class=\"hidden group-data-[value]/combobox:inline-flex\"\n disabled={disabled}\n >\n <XIcon class=\"pointer-events-none\" aria-hidden=\"true\" />\n </InputGroupButton>\n )}\n </InputGroupAddon>\n <slot />\n</InputGroup>\n",
38
- "type": "registry:ui"
39
- },
40
- {
41
- "path": "src/components/ui/combobox/combobox-item.astro",
42
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport CheckIcon from \"@lucide/astro/icons/check\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n value?: string\n disabled?: boolean\n showIndicator?: boolean\n}\n\nconst {\n class: className,\n value,\n disabled,\n showIndicator = true,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"combobox-item\"\n data-value={value}\n data-disabled={disabled ? \"\" : undefined}\n class={cn(\n \"data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 group/combobox-item data-highlighted:**:[svg]:text-accent-foreground 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 {showIndicator && (\n <span\n data-slot=\"combobox-item-indicator\"\n hidden={false}\n class=\"pointer-events-none absolute right-2 flex size-4 items-center justify-center opacity-0 group-data-selected/combobox-item:opacity-100\"\n >\n <CheckIcon class=\"pointer-events-none\" />\n </span>\n )}\n</div>\n",
43
- "type": "registry:ui"
44
- },
45
- {
46
- "path": "src/components/ui/combobox/combobox-label.astro",
47
- "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=\"combobox-label\"\n class={cn(\"text-muted-foreground px-2 py-1.5 text-xs\", className)}\n {...props}\n>\n <slot />\n</div>\n",
48
- "type": "registry:ui"
49
- },
50
- {
51
- "path": "src/components/ui/combobox/combobox-list.astro",
52
- "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=\"combobox-list\"\n class={cn(\n \"no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto p-1 data-empty:p-0 overscroll-contain group-data-empty/combobox-content:p-0\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
53
- "type": "registry:ui"
54
- },
55
- {
56
- "path": "src/components/ui/combobox/combobox-separator.astro",
57
- "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=\"combobox-separator\"\n class={cn(\"bg-border -mx-1 my-1 h-px\", className)}\n {...props}\n></div>\n",
58
- "type": "registry:ui"
59
- },
60
- {
61
- "path": "src/components/ui/combobox/combobox-trigger.astro",
62
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport ChevronDownIcon from \"@lucide/astro/icons/chevron-down\"\n\nimport { cn } from \"@/lib/utils\"\nimport { InputGroupButton } from \"@/components/ui/input-group\"\n\ntype Props = HTMLAttributes<\"button\"> & {\n showIcon?: boolean\n}\n\nconst {\n class: className,\n type = \"button\",\n showIcon = true,\n ...props\n} = Astro.props\n---\n\n<InputGroupButton\n type={type ?? \"button\"}\n variant=\"ghost\"\n size=\"icon-xs\"\n data-slot=\"combobox-trigger\"\n class={cn(\"[&_svg]:text-muted-foreground\", className)}\n {...props}\n>\n <slot />\n {showIcon && (\n <ChevronDownIcon class=\"text-muted-foreground size-4 pointer-events-none\" />\n )}\n</InputGroupButton>\n",
63
- "type": "registry:ui"
64
- },
65
- {
66
- "path": "src/components/ui/combobox/combobox-value.astro",
67
- "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=\"combobox-value\"\n class={cn(\n \"data-placeholder:text-muted-foreground block flex-1 truncate text-left\",\n className\n )}\n {...props}\n>\n <slot />\n</span>\n",
68
- "type": "registry:ui"
69
- },
70
- {
71
- "path": "src/components/ui/combobox/index.ts",
72
- "content": "export { default as Combobox } from \"./combobox.astro\"\nexport { default as ComboboxContent } from \"./combobox-content.astro\"\nexport { default as ComboboxEmpty } from \"./combobox-empty.astro\"\nexport { default as ComboboxGroup } from \"./combobox-group.astro\"\nexport { default as ComboboxInput } from \"./combobox-input.astro\"\nexport { default as ComboboxItem } from \"./combobox-item.astro\"\nexport { default as ComboboxLabel } from \"./combobox-label.astro\"\nexport { default as ComboboxList } from \"./combobox-list.astro\"\nexport { default as ComboboxSeparator } from \"./combobox-separator.astro\"\nexport { default as ComboboxTrigger } from \"./combobox-trigger.astro\"\nexport { default as ComboboxValue } from \"./combobox-value.astro\"\n",
73
- "type": "registry:ui"
74
- }
75
- ],
76
- "docs": "https://ui.full.dev/components/combobox/",
77
- "categories": [
78
- "ui"
79
- ],
80
- "type": "registry:ui"
81
- }
@@ -1,47 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "command-examples",
4
- "title": "Command examples",
5
- "description": "The examples from the shadcn/ui Command docs.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/command",
11
- "@fulldev/dialog"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/examples/command/command-basic.astro",
16
- "content": "---\nimport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from \"@/components/ui/command\"\nimport { DialogTrigger } from \"@/components/ui/dialog\"\n---\n\n<div class=\"flex flex-col gap-4\">\n <CommandDialog>\n <DialogTrigger slot=\"trigger\" variant=\"outline\" class=\"w-fit\">\n Open Menu\n </DialogTrigger>\n <Command>\n <CommandInput placeholder=\"Type a command or search...\" />\n <CommandList>\n <CommandEmpty>No results found.</CommandEmpty>\n <CommandGroup heading=\"Suggestions\">\n <CommandItem>Calendar</CommandItem>\n <CommandItem>Search Emoji</CommandItem>\n <CommandItem>Calculator</CommandItem>\n </CommandGroup>\n </CommandList>\n </Command>\n </CommandDialog>\n</div>\n",
17
- "type": "registry:component"
18
- },
19
- {
20
- "path": "src/components/examples/command/command-demo.astro",
21
- "content": "---\nimport Calculator from \"@lucide/astro/icons/calculator\"\nimport Calendar from \"@lucide/astro/icons/calendar\"\nimport CreditCard from \"@lucide/astro/icons/credit-card\"\nimport Smile from \"@lucide/astro/icons/face-slightly-smiling\"\nimport Settings from \"@lucide/astro/icons/settings\"\nimport User from \"@lucide/astro/icons/user\"\n\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n} from \"@/components/ui/command\"\n---\n\n<Command class=\"max-w-sm rounded-lg border\">\n <CommandInput placeholder=\"Type a command or search...\" />\n <CommandList>\n <CommandEmpty>No results found.</CommandEmpty>\n <CommandGroup heading=\"Suggestions\">\n <CommandItem>\n <Calendar />\n <span>Calendar</span>\n </CommandItem>\n <CommandItem>\n <Smile />\n <span>Search Emoji</span>\n </CommandItem>\n <CommandItem disabled>\n <Calculator />\n <span>Calculator</span>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading=\"Settings\">\n <CommandItem>\n <User />\n <span>Profile</span>\n <CommandShortcut>⌘P</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <CreditCard />\n <span>Billing</span>\n <CommandShortcut>⌘B</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <Settings />\n <span>Settings</span>\n <CommandShortcut>⌘S</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n </CommandList>\n</Command>\n",
22
- "type": "registry:component"
23
- },
24
- {
25
- "path": "src/components/examples/command/command-groups.astro",
26
- "content": "---\nimport CalculatorIcon from \"@lucide/astro/icons/calculator\"\nimport CalendarIcon from \"@lucide/astro/icons/calendar\"\nimport CreditCardIcon from \"@lucide/astro/icons/credit-card\"\nimport SmileIcon from \"@lucide/astro/icons/face-slightly-smiling\"\nimport SettingsIcon from \"@lucide/astro/icons/settings\"\nimport UserIcon from \"@lucide/astro/icons/user\"\n\nimport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n} from \"@/components/ui/command\"\nimport { DialogTrigger } from \"@/components/ui/dialog\"\n---\n\n<div class=\"flex flex-col gap-4\">\n <CommandDialog>\n <DialogTrigger slot=\"trigger\" variant=\"outline\" class=\"w-fit\">\n Open Menu\n </DialogTrigger>\n <Command>\n <CommandInput placeholder=\"Type a command or search...\" />\n <CommandList>\n <CommandEmpty>No results found.</CommandEmpty>\n <CommandGroup heading=\"Suggestions\">\n <CommandItem>\n <CalendarIcon />\n <span>Calendar</span>\n </CommandItem>\n <CommandItem>\n <SmileIcon />\n <span>Search Emoji</span>\n </CommandItem>\n <CommandItem>\n <CalculatorIcon />\n <span>Calculator</span>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading=\"Settings\">\n <CommandItem>\n <UserIcon />\n <span>Profile</span>\n <CommandShortcut>⌘P</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <CreditCardIcon />\n <span>Billing</span>\n <CommandShortcut>⌘B</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <SettingsIcon />\n <span>Settings</span>\n <CommandShortcut>⌘S</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n </CommandList>\n </Command>\n </CommandDialog>\n</div>\n",
27
- "type": "registry:component"
28
- },
29
- {
30
- "path": "src/components/examples/command/command-rtl.astro",
31
- "content": "---\nimport Calculator from \"@lucide/astro/icons/calculator\"\nimport Calendar from \"@lucide/astro/icons/calendar\"\nimport CreditCard from \"@lucide/astro/icons/credit-card\"\nimport Smile from \"@lucide/astro/icons/face-slightly-smiling\"\nimport Settings from \"@lucide/astro/icons/settings\"\nimport User from \"@lucide/astro/icons/user\"\n\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n} from \"@/components/ui/command\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n placeholder: \"Type a command or search...\",\n empty: \"No results found.\",\n suggestions: \"Suggestions\",\n calendar: \"Calendar\",\n searchEmoji: \"Search Emoji\",\n calculator: \"Calculator\",\n settings: \"Settings\",\n profile: \"Profile\",\n billing: \"Billing\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n placeholder: \"اكتب أمرًا أو ابحث...\",\n empty: \"لم يتم العثور على نتائج.\",\n suggestions: \"اقتراحات\",\n calendar: \"التقويم\",\n searchEmoji: \"البحث عن الرموز التعبيرية\",\n calculator: \"الآلة الحاسبة\",\n settings: \"الإعدادات\",\n profile: \"الملف الشخصي\",\n billing: \"الفوترة\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n placeholder: \"הקלד פקודה או חפש...\",\n empty: \"לא נמצאו תוצאות.\",\n suggestions: \"הצעות\",\n calendar: \"לוח שנה\",\n searchEmoji: \"חפש אמוג'י\",\n calculator: \"מחשבון\",\n settings: \"הגדרות\",\n profile: \"פרופיל\",\n billing: \"חיוב\",\n },\n },\n}\n\nconst { dir, values: t } = translations.ar\n---\n\n<Command class=\"max-w-sm rounded-lg border\" dir={dir}>\n <CommandInput placeholder={t.placeholder} dir={dir} />\n <CommandList>\n <CommandEmpty>{t.empty}</CommandEmpty>\n <CommandGroup heading={t.suggestions}>\n <CommandItem>\n <Calendar />\n <span>{t.calendar}</span>\n </CommandItem>\n <CommandItem>\n <Smile />\n <span>{t.searchEmoji}</span>\n </CommandItem>\n <CommandItem disabled>\n <Calculator />\n <span>{t.calculator}</span>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading={t.settings}>\n <CommandItem>\n <User />\n <span>{t.profile}</span>\n <CommandShortcut>⌘P</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <CreditCard />\n <span>{t.billing}</span>\n <CommandShortcut>⌘B</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <Settings />\n <span>{t.settings}</span>\n <CommandShortcut>⌘S</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n </CommandList>\n</Command>\n",
32
- "type": "registry:component"
33
- },
34
- {
35
- "path": "src/components/examples/command/command-scrollable.astro",
36
- "content": "---\nimport BellIcon from \"@lucide/astro/icons/bell\"\nimport CalculatorIcon from \"@lucide/astro/icons/calculator\"\nimport CalendarIcon from \"@lucide/astro/icons/calendar\"\nimport HelpCircleIcon from \"@lucide/astro/icons/circle-question-mark\"\nimport ClipboardPasteIcon from \"@lucide/astro/icons/clipboard-paste\"\nimport CodeIcon from \"@lucide/astro/icons/code\"\nimport CopyIcon from \"@lucide/astro/icons/copy\"\nimport CreditCardIcon from \"@lucide/astro/icons/credit-card\"\nimport FileTextIcon from \"@lucide/astro/icons/file-text\"\nimport FolderIcon from \"@lucide/astro/icons/folder\"\nimport FolderPlusIcon from \"@lucide/astro/icons/folder-plus\"\nimport HomeIcon from \"@lucide/astro/icons/house\"\nimport ImageIcon from \"@lucide/astro/icons/image\"\nimport InboxIcon from \"@lucide/astro/icons/inbox\"\nimport LayoutGridIcon from \"@lucide/astro/icons/layout-grid\"\nimport ListIcon from \"@lucide/astro/icons/list\"\nimport PlusIcon from \"@lucide/astro/icons/plus\"\nimport ScissorsIcon from \"@lucide/astro/icons/scissors\"\nimport SettingsIcon from \"@lucide/astro/icons/settings\"\nimport TrashIcon from \"@lucide/astro/icons/trash\"\nimport UserIcon from \"@lucide/astro/icons/user\"\nimport ZoomInIcon from \"@lucide/astro/icons/zoom-in\"\nimport ZoomOutIcon from \"@lucide/astro/icons/zoom-out\"\n\nimport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n} from \"@/components/ui/command\"\nimport { DialogTrigger } from \"@/components/ui/dialog\"\n---\n\n<div class=\"flex flex-col gap-4\">\n <CommandDialog>\n <DialogTrigger slot=\"trigger\" variant=\"outline\" class=\"w-fit\">\n Open Menu\n </DialogTrigger>\n <Command>\n <CommandInput placeholder=\"Type a command or search...\" />\n <CommandList>\n <CommandEmpty>No results found.</CommandEmpty>\n <CommandGroup heading=\"Navigation\">\n <CommandItem>\n <HomeIcon />\n <span>Home</span>\n <CommandShortcut>⌘H</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <InboxIcon />\n <span>Inbox</span>\n <CommandShortcut>⌘I</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <FileTextIcon />\n <span>Documents</span>\n <CommandShortcut>⌘D</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <FolderIcon />\n <span>Folders</span>\n <CommandShortcut>⌘F</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading=\"Actions\">\n <CommandItem>\n <PlusIcon />\n <span>New File</span>\n <CommandShortcut>⌘N</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <FolderPlusIcon />\n <span>New Folder</span>\n <CommandShortcut>⇧⌘N</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <CopyIcon />\n <span>Copy</span>\n <CommandShortcut>⌘C</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <ScissorsIcon />\n <span>Cut</span>\n <CommandShortcut>⌘X</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <ClipboardPasteIcon />\n <span>Paste</span>\n <CommandShortcut>⌘V</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <TrashIcon />\n <span>Delete</span>\n <CommandShortcut>⌫</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading=\"View\">\n <CommandItem>\n <LayoutGridIcon />\n <span>Grid View</span>\n </CommandItem>\n <CommandItem>\n <ListIcon />\n <span>List View</span>\n </CommandItem>\n <CommandItem>\n <ZoomInIcon />\n <span>Zoom In</span>\n <CommandShortcut>⌘+</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <ZoomOutIcon />\n <span>Zoom Out</span>\n <CommandShortcut>⌘-</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading=\"Account\">\n <CommandItem>\n <UserIcon />\n <span>Profile</span>\n <CommandShortcut>⌘P</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <CreditCardIcon />\n <span>Billing</span>\n <CommandShortcut>⌘B</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <SettingsIcon />\n <span>Settings</span>\n <CommandShortcut>⌘S</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <BellIcon />\n <span>Notifications</span>\n </CommandItem>\n <CommandItem>\n <HelpCircleIcon />\n <span>Help & Support</span>\n </CommandItem>\n </CommandGroup>\n <CommandSeparator />\n <CommandGroup heading=\"Tools\">\n <CommandItem>\n <CalculatorIcon />\n <span>Calculator</span>\n </CommandItem>\n <CommandItem>\n <CalendarIcon />\n <span>Calendar</span>\n </CommandItem>\n <CommandItem>\n <ImageIcon />\n <span>Image Editor</span>\n </CommandItem>\n <CommandItem>\n <CodeIcon />\n <span>Code Editor</span>\n </CommandItem>\n </CommandGroup>\n </CommandList>\n </Command>\n </CommandDialog>\n</div>\n",
37
- "type": "registry:component"
38
- },
39
- {
40
- "path": "src/components/examples/command/command-shortcuts.astro",
41
- "content": "---\nimport CreditCardIcon from \"@lucide/astro/icons/credit-card\"\nimport SettingsIcon from \"@lucide/astro/icons/settings\"\nimport UserIcon from \"@lucide/astro/icons/user\"\n\nimport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandShortcut,\n} from \"@/components/ui/command\"\nimport { DialogTrigger } from \"@/components/ui/dialog\"\n---\n\n<div class=\"flex flex-col gap-4\">\n <CommandDialog>\n <DialogTrigger slot=\"trigger\" variant=\"outline\" class=\"w-fit\">\n Open Menu\n </DialogTrigger>\n <Command>\n <CommandInput placeholder=\"Type a command or search...\" />\n <CommandList>\n <CommandEmpty>No results found.</CommandEmpty>\n <CommandGroup heading=\"Settings\">\n <CommandItem>\n <UserIcon />\n <span>Profile</span>\n <CommandShortcut>⌘P</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <CreditCardIcon />\n <span>Billing</span>\n <CommandShortcut>⌘B</CommandShortcut>\n </CommandItem>\n <CommandItem>\n <SettingsIcon />\n <span>Settings</span>\n <CommandShortcut>⌘S</CommandShortcut>\n </CommandItem>\n </CommandGroup>\n </CommandList>\n </Command>\n </CommandDialog>\n</div>\n",
42
- "type": "registry:component"
43
- }
44
- ],
45
- "docs": "https://ui.full.dev/components/command/",
46
- "type": "registry:example"
47
- }
@@ -1,71 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "command",
4
- "title": "Command",
5
- "description": "Command menu for search and quick actions.",
6
- "dependencies": [
7
- "@data-slot/command@^1.1.2",
8
- "@lucide/astro",
9
- "@data-slot/core@^1.1.2"
10
- ],
11
- "registryDependencies": [
12
- "@fulldev/dialog"
13
- ],
14
- "files": [
15
- {
16
- "path": "src/components/ui/command/command.astro",
17
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n label?: string\n defaultValue?: string\n defaultSearch?: string\n shouldFilter?: boolean\n loop?: boolean\n disablePointerSelection?: boolean\n vimBindings?: boolean\n}\n\nconst {\n class: className,\n label,\n defaultValue,\n defaultSearch,\n shouldFilter,\n loop,\n disablePointerSelection,\n vimBindings,\n ...props\n} = Astro.props\n---\n\n<div\n data-slot=\"command\"\n data-label={label}\n data-default-value={defaultValue}\n data-default-search={defaultSearch}\n data-should-filter={shouldFilter}\n data-loop={loop}\n data-disable-pointer-selection={disablePointerSelection}\n data-vim-bindings={vimBindings}\n class={cn(\"bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden\", className)}\n {...props}\n>\n <slot />\n</div>\n\n<script>\n import { create } from \"@data-slot/command\"\n import { getParts } from \"@data-slot/core\"\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\n const isCommandInput = (\n target: EventTarget | null\n ): target is HTMLInputElement =>\n target instanceof HTMLInputElement &&\n target.dataset.slot === \"command-input\"\n\n // Do not act on the Enter that confirms an IME composition. Safari fires\n // that keydown right after compositionend with isComposing set to false, so\n // treat the first keydown after compositionend as the confirming key when it\n // arrives within 50 ms. Any later keydown is a new key press.\n let composing = false\n let compositionEndedAt = -Infinity\n document.addEventListener(\n \"compositionstart\",\n (event) => {\n if (isCommandInput(event.target)) composing = true\n },\n true\n )\n document.addEventListener(\n \"compositionend\",\n (event) => {\n if (!isCommandInput(event.target)) return\n composing = false\n compositionEndedAt = event.timeStamp\n },\n true\n )\n const confirmsComposition = (event: KeyboardEvent) => {\n if (event.isComposing || composing) return true\n const confirming = event.timeStamp - compositionEndedAt < 50\n compositionEndedAt = -Infinity\n return confirming\n }\n\n // Data Slot selection does not activate links. Preserve native navigation.\n document.addEventListener(\n \"keydown\",\n (event) => {\n const input = event.target\n if (!isCommandInput(input)) return\n const confirming = confirmsComposition(event)\n if (event.key !== \"Enter\" || event.defaultPrevented || confirming) return\n const root = input.closest('[data-slot=\"command\"]')\n if (!root) return\n const item = getParts<HTMLAnchorElement>(root, \"command-item\").find(\n (item) =>\n item.hasAttribute(\"data-selected\") &&\n item.hasAttribute(\"href\") &&\n item.getAttribute(\"aria-disabled\") !== \"true\"\n )\n if (!item) return\n event.preventDefault()\n item.click()\n },\n true\n )\n</script>\n",
18
- "type": "registry:ui"
19
- },
20
- {
21
- "path": "src/components/ui/command/command-dialog.astro",
22
- "content": "---\nimport type { ComponentProps } from \"astro/types\"\n\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogTitle,\n} from \"@/components/ui/dialog\"\n\ntype Props = ComponentProps<typeof Dialog> & {\n title?: string\n description?: string\n contentClass?: string\n showCloseButton?: boolean\n}\n\nconst {\n title = \"Command Palette\",\n description = \"Search for a command to run...\",\n contentClass,\n showCloseButton = false,\n ...props\n} = Astro.props\n---\n\n<Dialog {...props}>\n <slot name=\"trigger\" />\n <DialogContent\n class:list={[\n \"rounded-xl! top-1/3 translate-y-0 overflow-hidden p-0\",\n \"[&_[data-slot=command]]:border-0\",\n \"[&_[data-slot=command]]:bg-transparent\",\n \"[&_[data-slot=command-input-wrapper]]:h-12\",\n \"[&_[data-slot=command-input-wrapper]_svg]:size-5\",\n \"[&_[data-slot=command-input]]:h-12\",\n \"[&_[data-slot=command-item]]:px-2\",\n \"[&_[data-slot=command-item]]:py-3\",\n \"[&_[data-slot=command-item]_svg]:size-5\",\n \"[&_[data-slot=command-group-heading]]:text-muted-foreground\",\n \"[&_[data-slot=command-group-heading]]:px-2\",\n \"[&_[data-slot=command-group-heading]]:font-medium\",\n \"[&_[data-slot=command-group]]:px-2\",\n \"[&_[data-slot=command-group]:not([hidden])_~[data-slot=command-group]]:pt-0\",\n contentClass,\n ]}\n showCloseButton={showCloseButton}\n >\n <div class=\"sr-only\">\n <DialogTitle>{title}</DialogTitle>\n <DialogDescription>{description}</DialogDescription>\n </div>\n <slot />\n </DialogContent>\n</Dialog>\n",
23
- "type": "registry:ui"
24
- },
25
- {
26
- "path": "src/components/ui/command/command-input.astro",
27
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport SearchIcon from \"@lucide/astro/icons/search\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"input\"> & {\n wrapperClass?: string\n}\n\nconst { class: className, wrapperClass, ...props } = Astro.props\n---\n\n<div\n data-slot=\"command-input-wrapper\"\n class={cn(\"p-1 pb-0\", wrapperClass)}\n>\n <div class=\"bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2! flex items-center border\">\n <div class=\"flex items-center pl-2\">\n <SearchIcon class=\"size-4 shrink-0 opacity-50\" />\n </div>\n <input\n type=\"text\"\n data-slot=\"command-input\"\n class={cn(\n \"text-sm placeholder:text-muted-foreground h-full min-w-0 flex-1 bg-transparent px-2.5 outline-hidden disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n {...props}\n />\n </div>\n</div>\n",
28
- "type": "registry:ui"
29
- },
30
- {
31
- "path": "src/components/ui/command/command-list.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=\"command-list\"\n class={cn(\n \"no-scrollbar max-h-72 scroll-py-1 outline-none h-[var(--command-list-height)] overflow-x-hidden overflow-y-auto transition-[height] duration-150 ease-out\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
33
- "type": "registry:ui"
34
- },
35
- {
36
- "path": "src/components/ui/command/command-empty.astro",
37
- "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=\"command-empty\"\n hidden={hidden}\n class={cn(\"py-6 text-center text-sm\", className)}\n {...props}\n>\n <slot>No results found.</slot>\n</div>\n",
38
- "type": "registry:ui"
39
- },
40
- {
41
- "path": "src/components/ui/command/command-group.astro",
42
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n heading?: string\n value?: string\n forceMount?: boolean\n}\n\nconst { class: className, heading, value, forceMount, ...props } = Astro.props\n---\n\n<div\n data-slot=\"command-group\"\n data-value={value}\n data-force-mount={forceMount ? \"true\" : undefined}\n class={cn(\"text-foreground [&_[data-slot=command-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[data-slot=command-group-heading]]:px-2 [&_[data-slot=command-group-heading]]:py-1.5 [&_[data-slot=command-group-heading]]:text-xs [&_[data-slot=command-group-heading]]:font-medium\", className)}\n {...props}\n>\n {heading && <div data-slot=\"command-group-heading\">{heading}</div>}\n <slot />\n</div>\n",
43
- "type": "registry:ui"
44
- },
45
- {
46
- "path": "src/components/ui/command/command-item.astro",
47
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport CheckIcon from \"@lucide/astro/icons/check\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"a\"> & {\n disabled?: boolean\n href?: string\n value?: string\n label?: string\n keywords?: string | string[]\n forceMount?: boolean\n}\n\nconst {\n class: className,\n disabled,\n href,\n value,\n label,\n keywords,\n forceMount,\n ...props\n} = Astro.props\n\nconst Tag = href ? \"a\" : \"div\"\nconst keywordsValue = Array.isArray(keywords) ? keywords.join(\", \") : keywords\n---\n\n<Tag\n data-slot=\"command-item\"\n data-disabled={disabled ? \"true\" : undefined}\n data-value={value}\n data-label={label}\n data-keywords={keywordsValue}\n data-force-mount={forceMount ? \"true\" : undefined}\n href={href}\n class={cn(\n \"data-selected:bg-muted data-selected:text-foreground data-selected:**:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&[href]]:cursor-pointer [&[href]]:no-underline\",\n className\n )}\n {...props}\n>\n <slot />\n <CheckIcon class=\"ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-selected/command-item:opacity-100\" />\n</Tag>\n",
48
- "type": "registry:ui"
49
- },
50
- {
51
- "path": "src/components/ui/command/command-separator.astro",
52
- "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=\"command-separator\"\n class={cn(\"bg-border -mx-1 h-px w-auto\", className)}\n {...props}\n></div>\n",
53
- "type": "registry:ui"
54
- },
55
- {
56
- "path": "src/components/ui/command/command-shortcut.astro",
57
- "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=\"command-shortcut\"\n class={cn(\"text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-xs tracking-widest\", className)}\n {...props}\n>\n <slot />\n</span>\n",
58
- "type": "registry:ui"
59
- },
60
- {
61
- "path": "src/components/ui/command/index.ts",
62
- "content": "export { default as Command } from \"./command.astro\"\nexport { default as CommandDialog } from \"./command-dialog.astro\"\nexport { default as CommandInput } from \"./command-input.astro\"\nexport { default as CommandList } from \"./command-list.astro\"\nexport { default as CommandEmpty } from \"./command-empty.astro\"\nexport { default as CommandGroup } from \"./command-group.astro\"\nexport { default as CommandItem } from \"./command-item.astro\"\nexport { default as CommandSeparator } from \"./command-separator.astro\"\nexport { default as CommandShortcut } from \"./command-shortcut.astro\"\n",
63
- "type": "registry:ui"
64
- }
65
- ],
66
- "docs": "https://ui.full.dev/components/command/",
67
- "categories": [
68
- "ui"
69
- ],
70
- "type": "registry:ui"
71
- }
@@ -1,74 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "components",
4
- "title": "All components",
5
- "description": "Installs every Fulldev UI component.",
6
- "registryDependencies": [
7
- "@fulldev/accordion",
8
- "@fulldev/alert",
9
- "@fulldev/alert-dialog",
10
- "@fulldev/aspect-ratio",
11
- "@fulldev/attachment",
12
- "@fulldev/avatar",
13
- "@fulldev/badge",
14
- "@fulldev/banner",
15
- "@fulldev/breadcrumb",
16
- "@fulldev/button",
17
- "@fulldev/button-group",
18
- "@fulldev/card",
19
- "@fulldev/carousel",
20
- "@fulldev/checkbox",
21
- "@fulldev/code-block",
22
- "@fulldev/collapsible",
23
- "@fulldev/combobox",
24
- "@fulldev/command",
25
- "@fulldev/dialog",
26
- "@fulldev/drawer",
27
- "@fulldev/dropdown-menu",
28
- "@fulldev/empty",
29
- "@fulldev/field",
30
- "@fulldev/form",
31
- "@fulldev/header",
32
- "@fulldev/hover-card",
33
- "@fulldev/icon",
34
- "@fulldev/input",
35
- "@fulldev/input-group",
36
- "@fulldev/item",
37
- "@fulldev/kbd",
38
- "@fulldev/label",
39
- "@fulldev/layout",
40
- "@fulldev/logo",
41
- "@fulldev/marquee",
42
- "@fulldev/native-select",
43
- "@fulldev/navigation-menu",
44
- "@fulldev/pagination",
45
- "@fulldev/popover",
46
- "@fulldev/price",
47
- "@fulldev/progress",
48
- "@fulldev/radio-group",
49
- "@fulldev/rating",
50
- "@fulldev/resizable",
51
- "@fulldev/section",
52
- "@fulldev/select",
53
- "@fulldev/separator",
54
- "@fulldev/sheet",
55
- "@fulldev/sidebar",
56
- "@fulldev/skeleton",
57
- "@fulldev/slider",
58
- "@fulldev/spinner",
59
- "@fulldev/switch",
60
- "@fulldev/table",
61
- "@fulldev/tabs",
62
- "@fulldev/textarea",
63
- "@fulldev/theme-toggle",
64
- "@fulldev/toast",
65
- "@fulldev/toc",
66
- "@fulldev/toggle",
67
- "@fulldev/toggle-group",
68
- "@fulldev/tooltip",
69
- "@fulldev/typography",
70
- "@fulldev/video"
71
- ],
72
- "docs": "https://ui.full.dev/components/",
73
- "type": "registry:item"
74
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "contact-1",
4
- "title": "Contact 1",
5
- "description": "Contact sections for project inquiries, support, and sales conversations.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section",
9
- "@fulldev/icon"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/contact-1.astro",
14
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\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 contactItems: {\n icon: string\n title: string\n description: string\n href?: string\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n contactItems,\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 </SectionContainer>\n <SectionContainer>\n <ul class=\"grid gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n {contactItems.map((item) => (\n <li class=\"flex flex-col gap-3 rounded-xl border p-5\">\n <Button\n as=\"span\"\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary\"\n aria-hidden=\"true\"\n >\n <Icon name={item.icon} />\n </Button>\n <h3 class=\"text-foreground text-sm font-medium\">{item.title}</h3>\n {item.href != null ? (\n <a\n href={item.href}\n class=\"text-muted-foreground hover:text-foreground text-sm leading-relaxed wrap-anywhere underline-offset-4 hover:underline\"\n >\n {item.description}\n </a>\n ) : (\n <p class=\"text-muted-foreground text-sm leading-relaxed wrap-anywhere\">\n {item.description}\n </p>\n )}\n </li>\n ))}\n </ul>\n </SectionContainer>\n {Astro.slots.has(\"default\") && (\n <SectionContainer>\n <div class=\"mx-auto w-full max-w-2xl rounded-xl border p-6 sm:p-8\">\n <slot />\n </div>\n </SectionContainer>\n )}\n</Section>\n",
15
- "type": "registry:block"
16
- }
17
- ],
18
- "docs": "https://ui.full.dev/blocks/contact/",
19
- "categories": [
20
- "contact"
21
- ],
22
- "type": "registry:block"
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "contact-2",
4
- "title": "Contact 2",
5
- "description": "Contact sections for project inquiries, support, and sales conversations.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section",
9
- "@fulldev/icon"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/contact-2.astro",
14
- "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Icon } from \"@/components/ui/icon\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n contactItems: {\n icon: string\n title: string\n description: string\n href?: string\n }[]\n}\n\nconst {\n class: className,\n title,\n description,\n contactItems,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-10 lg:grid-cols-[minmax(0,1fr)_22rem] lg:items-start\">\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <p class=\"text-muted-foreground max-w-xl text-base leading-relaxed\">\n {description}\n </p>\n </div>\n {Astro.slots.has(\"default\") && (\n <div class=\"rounded-xl border p-6\">\n <slot />\n </div>\n )}\n </div>\n\n <ul class=\"flex flex-col gap-3\">\n {contactItems.map((item) => (\n <li class=\"flex gap-4 rounded-xl border p-4\">\n <Button\n as=\"span\"\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary shrink-0\"\n aria-hidden=\"true\"\n >\n <Icon name={item.icon} />\n </Button>\n <div class=\"flex flex-col gap-1\">\n <p class=\"text-foreground text-sm font-medium\">{item.title}</p>\n {item.href != null ? (\n <a\n href={item.href}\n class=\"text-muted-foreground hover:text-foreground text-sm leading-relaxed wrap-anywhere underline-offset-4 hover:underline\"\n >\n {item.description}\n </a>\n ) : (\n <p class=\"text-muted-foreground text-sm leading-relaxed wrap-anywhere\">\n {item.description}\n </p>\n )}\n </div>\n </li>\n ))}\n </ul>\n </SectionContainer>\n</Section>\n",
15
- "type": "registry:block"
16
- }
17
- ],
18
- "docs": "https://ui.full.dev/blocks/contact/",
19
- "categories": [
20
- "contact"
21
- ],
22
- "type": "registry:block"
23
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "contact-3",
4
- "title": "Contact 3",
5
- "description": "Contact sections for project inquiries, support, and sales conversations.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section",
9
- "@fulldev/icon"
10
- ],
11
- "files": [
12
- {
13
- "path": "src/components/blocks/contact-3.astro",
14
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Icon } from \"@/components/ui/icon\"\nimport {\n Section,\n SectionContainer,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.svg\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n contactItems: {\n icon: string\n title: string\n description: string\n href?: string\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n contactItems,\n image = { src: PlaceholderImage, alt: \"\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-start\">\n <div class=\"flex flex-col gap-8\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <p class=\"text-muted-foreground max-w-xl text-base leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"grid gap-4 sm:grid-cols-2\">\n {contactItems.map((item) => (\n <li class=\"flex gap-4\">\n <Button\n as=\"span\"\n variant=\"secondary\"\n size=\"icon\"\n class=\"text-primary shrink-0\"\n aria-hidden=\"true\"\n >\n <Icon name={item.icon} />\n </Button>\n <div class=\"flex min-w-0 flex-col gap-1\">\n <p class=\"text-foreground text-sm font-medium\">{item.title}</p>\n {item.href != null ? (\n <a\n href={item.href}\n class=\"text-muted-foreground hover:text-foreground text-sm leading-relaxed wrap-anywhere underline-offset-4 hover:underline\"\n >\n {item.description}\n </a>\n ) : (\n <p class=\"text-muted-foreground text-sm leading-relaxed wrap-anywhere\">\n {item.description}\n </p>\n )}\n </div>\n </li>\n ))}\n </ul>\n {Astro.slots.has(\"default\") && (\n <div class=\"rounded-xl border p-6\">\n <slot />\n </div>\n )}\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[3/4] w-full rounded-xl border object-cover lg:sticky lg:top-24\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 600px, (min-width: 64rem) 50vw, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
15
- "type": "registry:block"
16
- },
17
- {
18
- "path": "src/assets/placeholder.svg",
19
- "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1536\" height=\"864\" viewBox=\"0 0 1536 864\">\n <defs>\n <radialGradient id=\"placeholder-background\" cx=\"50%\" cy=\"50%\" r=\"70%\">\n <stop offset=\"0\" stop-color=\"#525252\" />\n <stop offset=\"1\" stop-color=\"#404040\" />\n </radialGradient>\n <radialGradient id=\"placeholder-fade\" cx=\"50%\" cy=\"50%\" r=\"40%\">\n <stop offset=\"0\" stop-color=\"#ffffff\" />\n <stop offset=\"1\" stop-color=\"#ffffff\" stop-opacity=\"0\" />\n </radialGradient>\n <pattern id=\"placeholder-dots\" width=\"20\" height=\"20\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"10\" cy=\"10\" r=\"2\" fill=\"#e5e5e5\" />\n </pattern>\n <mask id=\"placeholder-mask\">\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-fade)\" />\n </mask>\n </defs>\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-background)\" />\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-dots)\" mask=\"url(#placeholder-mask)\" />\n</svg>\n",
20
- "type": "registry:file",
21
- "target": "src/assets/placeholder.svg"
22
- }
23
- ],
24
- "docs": "https://ui.full.dev/blocks/contact/",
25
- "categories": [
26
- "contact"
27
- ],
28
- "type": "registry:block"
29
- }
@@ -1,31 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "content-1",
4
- "title": "Content 1",
5
- "description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/section"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/blocks/content-1.astro",
16
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.svg\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image = { src: PlaceholderImage, alt: \"\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription>{description}</SectionDescription>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
17
- "type": "registry:block"
18
- },
19
- {
20
- "path": "src/assets/placeholder.svg",
21
- "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1536\" height=\"864\" viewBox=\"0 0 1536 864\">\n <defs>\n <radialGradient id=\"placeholder-background\" cx=\"50%\" cy=\"50%\" r=\"70%\">\n <stop offset=\"0\" stop-color=\"#525252\" />\n <stop offset=\"1\" stop-color=\"#404040\" />\n </radialGradient>\n <radialGradient id=\"placeholder-fade\" cx=\"50%\" cy=\"50%\" r=\"40%\">\n <stop offset=\"0\" stop-color=\"#ffffff\" />\n <stop offset=\"1\" stop-color=\"#ffffff\" stop-opacity=\"0\" />\n </radialGradient>\n <pattern id=\"placeholder-dots\" width=\"20\" height=\"20\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"10\" cy=\"10\" r=\"2\" fill=\"#e5e5e5\" />\n </pattern>\n <mask id=\"placeholder-mask\">\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-fade)\" />\n </mask>\n </defs>\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-background)\" />\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-dots)\" mask=\"url(#placeholder-mask)\" />\n</svg>\n",
22
- "type": "registry:file",
23
- "target": "src/assets/placeholder.svg"
24
- }
25
- ],
26
- "docs": "https://ui.full.dev/blocks/content/",
27
- "categories": [
28
- "content"
29
- ],
30
- "type": "registry:block"
31
- }
@@ -1,31 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "content-2",
4
- "title": "Content 2",
5
- "description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/section"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/blocks/content-2.astro",
16
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.svg\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image = { src: PlaceholderImage, alt: \"\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription>{description}</SectionDescription>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 600px, (min-width: 64rem) 50vw, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
17
- "type": "registry:block"
18
- },
19
- {
20
- "path": "src/assets/placeholder.svg",
21
- "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1536\" height=\"864\" viewBox=\"0 0 1536 864\">\n <defs>\n <radialGradient id=\"placeholder-background\" cx=\"50%\" cy=\"50%\" r=\"70%\">\n <stop offset=\"0\" stop-color=\"#525252\" />\n <stop offset=\"1\" stop-color=\"#404040\" />\n </radialGradient>\n <radialGradient id=\"placeholder-fade\" cx=\"50%\" cy=\"50%\" r=\"40%\">\n <stop offset=\"0\" stop-color=\"#ffffff\" />\n <stop offset=\"1\" stop-color=\"#ffffff\" stop-opacity=\"0\" />\n </radialGradient>\n <pattern id=\"placeholder-dots\" width=\"20\" height=\"20\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"10\" cy=\"10\" r=\"2\" fill=\"#e5e5e5\" />\n </pattern>\n <mask id=\"placeholder-mask\">\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-fade)\" />\n </mask>\n </defs>\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-background)\" />\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-dots)\" mask=\"url(#placeholder-mask)\" />\n</svg>\n",
22
- "type": "registry:file",
23
- "target": "src/assets/placeholder.svg"
24
- }
25
- ],
26
- "docs": "https://ui.full.dev/blocks/content/",
27
- "categories": [
28
- "content"
29
- ],
30
- "type": "registry:block"
31
- }
@@ -1,28 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "content-3",
4
- "title": "Content 3",
5
- "description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
6
- "registryDependencies": [
7
- "@fulldev/button",
8
- "@fulldev/section"
9
- ],
10
- "files": [
11
- {
12
- "path": "src/components/blocks/content-3.astro",
13
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.svg\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image = { src: PlaceholderImage, alt: \"\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8\">\n <div class=\"flex flex-col gap-4 md:flex-row md:items-end md:justify-between\">\n <div class=\"max-w-2xl\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription class=\"mt-4\">{description}</SectionDescription>\n </div>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n />\n </SectionContainer>\n</Section>\n",
14
- "type": "registry:block"
15
- },
16
- {
17
- "path": "src/assets/placeholder.svg",
18
- "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1536\" height=\"864\" viewBox=\"0 0 1536 864\">\n <defs>\n <radialGradient id=\"placeholder-background\" cx=\"50%\" cy=\"50%\" r=\"70%\">\n <stop offset=\"0\" stop-color=\"#525252\" />\n <stop offset=\"1\" stop-color=\"#404040\" />\n </radialGradient>\n <radialGradient id=\"placeholder-fade\" cx=\"50%\" cy=\"50%\" r=\"40%\">\n <stop offset=\"0\" stop-color=\"#ffffff\" />\n <stop offset=\"1\" stop-color=\"#ffffff\" stop-opacity=\"0\" />\n </radialGradient>\n <pattern id=\"placeholder-dots\" width=\"20\" height=\"20\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"10\" cy=\"10\" r=\"2\" fill=\"#e5e5e5\" />\n </pattern>\n <mask id=\"placeholder-mask\">\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-fade)\" />\n </mask>\n </defs>\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-background)\" />\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-dots)\" mask=\"url(#placeholder-mask)\" />\n</svg>\n",
19
- "type": "registry:file",
20
- "target": "src/assets/placeholder.svg"
21
- }
22
- ],
23
- "docs": "https://ui.full.dev/blocks/content/",
24
- "categories": [
25
- "content"
26
- ],
27
- "type": "registry:block"
28
- }
@@ -1,31 +0,0 @@
1
- {
2
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
- "name": "content-4",
4
- "title": "Content 4",
5
- "description": "Flexible narrative content sections for explainers, comparisons, and supporting context.",
6
- "dependencies": [
7
- "@lucide/astro"
8
- ],
9
- "registryDependencies": [
10
- "@fulldev/button",
11
- "@fulldev/section"
12
- ],
13
- "files": [
14
- {
15
- "path": "src/components/blocks/content-4.astro",
16
- "content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n SectionTitle,\n} from \"@/components/ui/section\"\nimport PlaceholderImage from \"@/assets/placeholder.svg\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n image?: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image = { src: PlaceholderImage, alt: \"\" },\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer>\n <div class=\"grid gap-12 lg:grid-cols-[1fr_2fr] lg:items-center\">\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <SectionTitle>{title}</SectionTitle>\n <SectionDescription>{description}</SectionDescription>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 800px, (min-width: 64rem) 66vw, 100vw\"\n />\n </div>\n </SectionContainer>\n</Section>\n",
17
- "type": "registry:block"
18
- },
19
- {
20
- "path": "src/assets/placeholder.svg",
21
- "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1536\" height=\"864\" viewBox=\"0 0 1536 864\">\n <defs>\n <radialGradient id=\"placeholder-background\" cx=\"50%\" cy=\"50%\" r=\"70%\">\n <stop offset=\"0\" stop-color=\"#525252\" />\n <stop offset=\"1\" stop-color=\"#404040\" />\n </radialGradient>\n <radialGradient id=\"placeholder-fade\" cx=\"50%\" cy=\"50%\" r=\"40%\">\n <stop offset=\"0\" stop-color=\"#ffffff\" />\n <stop offset=\"1\" stop-color=\"#ffffff\" stop-opacity=\"0\" />\n </radialGradient>\n <pattern id=\"placeholder-dots\" width=\"20\" height=\"20\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"10\" cy=\"10\" r=\"2\" fill=\"#e5e5e5\" />\n </pattern>\n <mask id=\"placeholder-mask\">\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-fade)\" />\n </mask>\n </defs>\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-background)\" />\n <rect width=\"1536\" height=\"864\" fill=\"url(#placeholder-dots)\" mask=\"url(#placeholder-mask)\" />\n</svg>\n",
22
- "type": "registry:file",
23
- "target": "src/assets/placeholder.svg"
24
- }
25
- ],
26
- "docs": "https://ui.full.dev/blocks/content/",
27
- "categories": [
28
- "content"
29
- ],
30
- "type": "registry:block"
31
- }