fulldev-ui 0.7.0-beta.5 → 0.7.0-beta.6

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 (168) hide show
  1. package/cli.js +51 -0
  2. package/components.json +2 -2
  3. package/package.json +24 -45
  4. package/pnpm-lock.yaml +13 -1
  5. package/src/blocks/CategoryGroup1.astro +8 -8
  6. package/src/blocks/CategoryList1.astro +9 -9
  7. package/src/blocks/Contact1.astro +9 -9
  8. package/src/blocks/Contact2.astro +10 -10
  9. package/src/blocks/Content1.astro +7 -7
  10. package/src/blocks/Cta1.astro +6 -6
  11. package/src/blocks/Faqs1.astro +6 -6
  12. package/src/blocks/Faqs2.astro +7 -7
  13. package/src/blocks/Features1.astro +8 -8
  14. package/src/blocks/Footer.astro +10 -10
  15. package/src/blocks/Header.astro +12 -12
  16. package/src/blocks/Hero1.astro +7 -7
  17. package/src/blocks/Intro1.astro +5 -5
  18. package/src/blocks/PostSingle1.astro +6 -6
  19. package/src/blocks/ProductGroup1.astro +10 -10
  20. package/src/blocks/ProductList1.astro +10 -10
  21. package/src/blocks/ProductSingle1.astro +12 -12
  22. package/src/blocks/Reviews1.astro +9 -9
  23. package/src/components/Accordion.vue +1 -1
  24. package/src/components/Avatar.astro +1 -1
  25. package/src/components/Badge.astro +2 -2
  26. package/src/components/Box.astro +1 -1
  27. package/src/components/Button.astro +3 -3
  28. package/src/components/Buttons.astro +1 -1
  29. package/src/components/Card.astro +1 -1
  30. package/src/components/Carousel.vue +1 -7
  31. package/src/components/Chip.astro +2 -2
  32. package/src/components/Code.astro +1 -1
  33. package/src/components/Container.astro +1 -1
  34. package/src/components/Drawer.vue +2 -2
  35. package/src/components/Form.vue +2 -2
  36. package/src/components/Gallery.vue +2 -2
  37. package/src/components/Grid.astro +1 -1
  38. package/src/components/Icon.astro +1 -1
  39. package/src/components/List.astro +2 -2
  40. package/src/components/Logo.astro +1 -1
  41. package/src/components/Masonry.astro +1 -1
  42. package/src/components/Menu.astro +1 -1
  43. package/src/components/Menus.astro +1 -1
  44. package/src/components/Navigation.vue +1 -1
  45. package/src/components/Panel.astro +1 -1
  46. package/src/components/Person.astro +3 -3
  47. package/src/components/Price.astro +1 -1
  48. package/src/components/Proof.astro +4 -4
  49. package/src/components/Prose.astro +1 -1
  50. package/src/components/Rating.astro +2 -2
  51. package/src/components/Search.vue +2 -2
  52. package/src/components/Section.astro +1 -1
  53. package/src/components/Select.vue +1 -1
  54. package/src/components/Sidebar.astro +1 -1
  55. package/src/components/Social.astro +1 -1
  56. package/src/components/Sort.vue +1 -1
  57. package/src/components/Split.astro +1 -1
  58. package/src/components/Table.astro +1 -1
  59. package/src/components/Themer.astro +2 -2
  60. package/src/components/Toc.astro +2 -2
  61. package/src/components/Writeup.astro +1 -1
  62. package/src/components/ui/accordion/AccordionContent.vue +1 -1
  63. package/src/components/ui/accordion/AccordionItem.vue +1 -1
  64. package/src/components/ui/accordion/AccordionTrigger.vue +1 -1
  65. package/src/components/ui/auto-form/AutoForm.vue +1 -1
  66. package/src/components/ui/auto-form/AutoFormFieldArray.vue +4 -4
  67. package/src/components/ui/auto-form/AutoFormFieldBoolean.vue +3 -3
  68. package/src/components/ui/auto-form/AutoFormFieldDate.vue +5 -5
  69. package/src/components/ui/auto-form/AutoFormFieldEnum.vue +4 -4
  70. package/src/components/ui/auto-form/AutoFormFieldFile.vue +3 -3
  71. package/src/components/ui/auto-form/AutoFormFieldInput.vue +3 -3
  72. package/src/components/ui/auto-form/AutoFormFieldNumber.vue +2 -2
  73. package/src/components/ui/auto-form/AutoFormFieldObject.vue +2 -2
  74. package/src/components/ui/auto-form/AutoFormLabel.vue +1 -1
  75. package/src/components/ui/avatar/Avatar.vue +1 -1
  76. package/src/components/ui/badge/Badge.vue +1 -1
  77. package/src/components/ui/button/Button.vue +2 -2
  78. package/src/components/ui/calendar/Calendar.vue +1 -1
  79. package/src/components/ui/calendar/CalendarCell.vue +1 -1
  80. package/src/components/ui/calendar/CalendarCellTrigger.vue +2 -2
  81. package/src/components/ui/calendar/CalendarGrid.vue +1 -1
  82. package/src/components/ui/calendar/CalendarGridRow.vue +1 -1
  83. package/src/components/ui/calendar/CalendarHeadCell.vue +1 -1
  84. package/src/components/ui/calendar/CalendarHeader.vue +1 -1
  85. package/src/components/ui/calendar/CalendarHeading.vue +1 -1
  86. package/src/components/ui/calendar/CalendarNextButton.vue +2 -2
  87. package/src/components/ui/calendar/CalendarPrevButton.vue +2 -2
  88. package/src/components/ui/card/Card.vue +1 -1
  89. package/src/components/ui/card/CardContent.vue +1 -1
  90. package/src/components/ui/card/CardDescription.vue +1 -1
  91. package/src/components/ui/card/CardFooter.vue +1 -1
  92. package/src/components/ui/card/CardHeader.vue +1 -1
  93. package/src/components/ui/card/CardTitle.vue +1 -1
  94. package/src/components/ui/carousel/Carousel.vue +1 -1
  95. package/src/components/ui/carousel/CarouselContent.vue +1 -1
  96. package/src/components/ui/carousel/CarouselItem.vue +1 -1
  97. package/src/components/ui/carousel/CarouselNext.vue +2 -2
  98. package/src/components/ui/carousel/CarouselPrevious.vue +2 -2
  99. package/src/components/ui/checkbox/Checkbox.vue +1 -1
  100. package/src/components/ui/command/Command.vue +1 -1
  101. package/src/components/ui/command/CommandDialog.vue +1 -1
  102. package/src/components/ui/command/CommandEmpty.vue +1 -1
  103. package/src/components/ui/command/CommandGroup.vue +1 -1
  104. package/src/components/ui/command/CommandInput.vue +1 -1
  105. package/src/components/ui/command/CommandItem.vue +1 -1
  106. package/src/components/ui/command/CommandList.vue +1 -1
  107. package/src/components/ui/command/CommandSeparator.vue +1 -1
  108. package/src/components/ui/command/CommandShortcut.vue +1 -1
  109. package/src/components/ui/dialog/DialogContent.vue +1 -1
  110. package/src/components/ui/dialog/DialogDescription.vue +1 -1
  111. package/src/components/ui/dialog/DialogFooter.vue +1 -1
  112. package/src/components/ui/dialog/DialogHeader.vue +1 -1
  113. package/src/components/ui/dialog/DialogScrollContent.vue +1 -1
  114. package/src/components/ui/dialog/DialogTitle.vue +1 -1
  115. package/src/components/ui/drawer/DrawerContent.vue +1 -1
  116. package/src/components/ui/drawer/DrawerDescription.vue +1 -1
  117. package/src/components/ui/drawer/DrawerFooter.vue +1 -1
  118. package/src/components/ui/drawer/DrawerHeader.vue +1 -1
  119. package/src/components/ui/drawer/DrawerOverlay.vue +1 -1
  120. package/src/components/ui/drawer/DrawerTitle.vue +1 -1
  121. package/src/components/ui/form/FormDescription.vue +1 -1
  122. package/src/components/ui/form/FormItem.vue +1 -1
  123. package/src/components/ui/form/FormLabel.vue +2 -2
  124. package/src/components/ui/input/Input.vue +1 -1
  125. package/src/components/ui/label/Label.vue +1 -1
  126. package/src/components/ui/navigation-menu/NavigationMenu.vue +1 -1
  127. package/src/components/ui/navigation-menu/NavigationMenuContent.vue +1 -1
  128. package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +1 -1
  129. package/src/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
  130. package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +1 -1
  131. package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +1 -1
  132. package/src/components/ui/popover/PopoverContent.vue +1 -1
  133. package/src/components/ui/radio-group/RadioGroup.vue +1 -1
  134. package/src/components/ui/radio-group/RadioGroupItem.vue +1 -1
  135. package/src/components/ui/select/SelectContent.vue +1 -1
  136. package/src/components/ui/select/SelectGroup.vue +1 -1
  137. package/src/components/ui/select/SelectItem.vue +1 -1
  138. package/src/components/ui/select/SelectLabel.vue +1 -1
  139. package/src/components/ui/select/SelectScrollDownButton.vue +1 -1
  140. package/src/components/ui/select/SelectScrollUpButton.vue +1 -1
  141. package/src/components/ui/select/SelectSeparator.vue +1 -1
  142. package/src/components/ui/select/SelectTrigger.vue +1 -1
  143. package/src/components/ui/separator/Separator.vue +1 -1
  144. package/src/components/ui/switch/Switch.vue +1 -1
  145. package/src/components/ui/textarea/Textarea.vue +1 -1
  146. package/src/content.config.ts +1 -1
  147. package/src/layouts/NavigationLayout.astro +3 -3
  148. package/src/lib/integration.ts +27 -0
  149. package/src/pages/blocks/[...block].astro +2 -2
  150. package/src/pages/blocks/index.astro +1 -1
  151. package/src/pages/index.astro +1 -1
  152. package/src/schemas/blocks/categoryList.ts +1 -1
  153. package/src/schemas/blocks/categorySingle.ts +1 -1
  154. package/src/schemas/blocks/content.ts +1 -1
  155. package/src/schemas/blocks/cta.ts +1 -1
  156. package/src/schemas/blocks/footer.ts +3 -3
  157. package/src/schemas/blocks/header.ts +3 -3
  158. package/src/schemas/blocks/hero.ts +1 -1
  159. package/src/schemas/blocks/productList.ts +1 -1
  160. package/src/schemas/blocks/productSingle.ts +1 -1
  161. package/src/schemas/collections/category.ts +3 -3
  162. package/src/schemas/collections/page.ts +2 -2
  163. package/src/schemas/collections/post.ts +3 -3
  164. package/src/schemas/collections/product.ts +3 -3
  165. package/src/schemas/fields/card.ts +3 -3
  166. package/src/schemas/fields/menu.ts +1 -1
  167. package/src/schemas/fields/proof.ts +1 -1
  168. package/tsconfig.json +1 -1
@@ -1,5 +1,5 @@
1
1
  ---
2
- import NavigationLayout from 'fulldev-ui/layouts/NavigationLayout.astro'
2
+ import NavigationLayout from '@/layouts/NavigationLayout.astro'
3
3
  ---
4
4
 
5
5
  <NavigationLayout>
@@ -1,5 +1,5 @@
1
+ import { buttonSchema } from '@/schemas/fields/button'
1
2
  import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button'
3
3
  import { categorySingleSchema } from '../blocks/categorySingle'
4
4
 
5
5
  export const categoryListSchema = z
@@ -1,5 +1,5 @@
1
+ import { imageSchema } from '@/schemas/fields/image'
1
2
  import { z } from 'astro:content'
2
- import { imageSchema } from 'fulldev-ui/schemas/fields/image.ts'
3
3
 
4
4
  export const categorySingleSchema = z
5
5
  .object({
@@ -1,5 +1,5 @@
1
+ import { buttonSchema } from '@/schemas/fields/button'
1
2
  import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button.ts'
3
3
  import { imageSchema } from '../fields/image'
4
4
 
5
5
  export const contentSchema = z
@@ -1,5 +1,5 @@
1
+ import { buttonSchema } from '@/schemas/fields/button'
1
2
  import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button.ts'
3
3
 
4
4
  export const ctaSchema = z
5
5
  .object({
@@ -1,7 +1,7 @@
1
+ import { channelSchema } from '@/schemas/fields/channel'
2
+ import { logoSchema } from '@/schemas/fields/logo'
3
+ import { menuSchema } from '@/schemas/fields/menu'
1
4
  import { z } from 'astro:content'
2
- import { channelSchema } from 'fulldev-ui/schemas/fields/channel.ts'
3
- import { logoSchema } from 'fulldev-ui/schemas/fields/logo.ts'
4
- import { menuSchema } from 'fulldev-ui/schemas/fields/menu.ts'
5
5
 
6
6
  export const footerSchema = z
7
7
  .object({
@@ -1,7 +1,7 @@
1
+ import { buttonSchema } from '@/schemas/fields/button'
2
+ import { logoSchema } from '@/schemas/fields/logo'
3
+ import { menuSchema } from '@/schemas/fields/menu'
1
4
  import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button.ts'
3
- import { logoSchema } from 'fulldev-ui/schemas/fields/logo.ts'
4
- import { menuSchema } from 'fulldev-ui/schemas/fields/menu.ts'
5
5
 
6
6
  export const headerSchema = z
7
7
  .object({
@@ -1,5 +1,5 @@
1
+ import { buttonSchema } from '@/schemas/fields/button'
1
2
  import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button.ts'
3
3
  import { badgeSchema } from '../fields/badge'
4
4
  import { imageSchema } from '../fields/image'
5
5
 
@@ -1,5 +1,5 @@
1
+ import { buttonSchema } from '@/schemas/fields/button'
1
2
  import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button'
3
3
  import { productSingleSchema } from './productSingle'
4
4
 
5
5
  export const productListSchema = z
@@ -1,5 +1,5 @@
1
+ import { imageSchema } from '@/schemas/fields/image'
1
2
  import { reference, z } from 'astro:content'
2
- import { imageSchema } from 'fulldev-ui/schemas/fields/image.ts'
3
3
  import { buttonSchema } from '../fields/button'
4
4
 
5
5
  export const productSingleSchema = z
@@ -1,7 +1,7 @@
1
+ import { categorySingleSchema } from '@/schemas/blocks/categorySingle'
2
+ import { metaSchema } from '@/schemas/fields/meta'
3
+ import { sectionSchema } from '@/schemas/fields/section'
1
4
  import { z } from 'astro:content'
2
- import { categorySingleSchema } from 'fulldev-ui/schemas/blocks/categorySingle'
3
- import { metaSchema } from 'fulldev-ui/schemas/fields/meta'
4
- import { sectionSchema } from 'fulldev-ui/schemas/fields/section'
5
5
 
6
6
  export const categorySchema = categorySingleSchema.extend({
7
7
  meta: metaSchema.optional(),
@@ -1,6 +1,6 @@
1
+ import { metaSchema } from '@/schemas/fields/meta'
2
+ import { sectionSchema } from '@/schemas/fields/section'
1
3
  import { z } from 'astro:content'
2
- import { metaSchema } from 'fulldev-ui/schemas/fields/meta'
3
- import { sectionSchema } from 'fulldev-ui/schemas/fields/section'
4
4
 
5
5
  export const pageSchema = z
6
6
  .object({
@@ -1,7 +1,7 @@
1
+ import { postSingleSchema } from '@/schemas/blocks/postSingle'
2
+ import { metaSchema } from '@/schemas/fields/meta'
3
+ import { sectionSchema } from '@/schemas/fields/section'
1
4
  import { z } from 'astro:content'
2
- import { postSingleSchema } from 'fulldev-ui/schemas/blocks/postSingle'
3
- import { metaSchema } from 'fulldev-ui/schemas/fields/meta'
4
- import { sectionSchema } from 'fulldev-ui/schemas/fields/section'
5
5
 
6
6
  export const postSchema = postSingleSchema.extend({
7
7
  meta: metaSchema.optional(),
@@ -1,7 +1,7 @@
1
+ import { productSingleSchema } from '@/schemas/blocks/productSingle'
2
+ import { metaSchema } from '@/schemas/fields/meta'
3
+ import { sectionSchema } from '@/schemas/fields/section'
1
4
  import { z } from 'astro:content'
2
- import { productSingleSchema } from 'fulldev-ui/schemas/blocks/productSingle'
3
- import { metaSchema } from 'fulldev-ui/schemas/fields/meta'
4
- import { sectionSchema } from 'fulldev-ui/schemas/fields/section'
5
5
 
6
6
  export const productSchema = productSingleSchema.extend({
7
7
  meta: metaSchema.optional(),
@@ -1,7 +1,7 @@
1
+ import { badgeSchema } from '@/schemas/fields/badge'
2
+ import { buttonSchema } from '@/schemas/fields/button'
3
+ import { imageSchema } from '@/schemas/fields/image'
1
4
  import { z } from 'astro:content'
2
- import { badgeSchema } from 'fulldev-ui/schemas/fields/badge.ts'
3
- import { buttonSchema } from 'fulldev-ui/schemas/fields/button.ts'
4
- import { imageSchema } from 'fulldev-ui/schemas/fields/image.ts'
5
5
 
6
6
  export const cardSchema = z
7
7
  .object({
@@ -1,5 +1,5 @@
1
+ import { linkSchema } from '@/schemas/fields/link'
1
2
  import { z } from 'astro:content'
2
- import { linkSchema } from 'fulldev-ui/schemas/fields/link.ts'
3
3
 
4
4
  export const menuSchema = z
5
5
  .object({
@@ -1,5 +1,5 @@
1
+ import { imageSchema } from '@/schemas/fields/image'
1
2
  import { z } from 'astro:content'
2
- import { imageSchema } from 'fulldev-ui/schemas/fields/image.ts'
3
3
 
4
4
  export const proofSchema = z
5
5
  .object({
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "baseUrl": ".",
5
5
  "paths": {
6
- "fulldev-ui/*": ["./src/*"]
6
+ "@/*": ["./src/*"]
7
7
  },
8
8
  "jsx": "preserve"
9
9
  }