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.
- package/cli.js +51 -0
- package/components.json +2 -2
- package/package.json +24 -45
- package/pnpm-lock.yaml +13 -1
- package/src/blocks/CategoryGroup1.astro +8 -8
- package/src/blocks/CategoryList1.astro +9 -9
- package/src/blocks/Contact1.astro +9 -9
- package/src/blocks/Contact2.astro +10 -10
- package/src/blocks/Content1.astro +7 -7
- package/src/blocks/Cta1.astro +6 -6
- package/src/blocks/Faqs1.astro +6 -6
- package/src/blocks/Faqs2.astro +7 -7
- package/src/blocks/Features1.astro +8 -8
- package/src/blocks/Footer.astro +10 -10
- package/src/blocks/Header.astro +12 -12
- package/src/blocks/Hero1.astro +7 -7
- package/src/blocks/Intro1.astro +5 -5
- package/src/blocks/PostSingle1.astro +6 -6
- package/src/blocks/ProductGroup1.astro +10 -10
- package/src/blocks/ProductList1.astro +10 -10
- package/src/blocks/ProductSingle1.astro +12 -12
- package/src/blocks/Reviews1.astro +9 -9
- package/src/components/Accordion.vue +1 -1
- package/src/components/Avatar.astro +1 -1
- package/src/components/Badge.astro +2 -2
- package/src/components/Box.astro +1 -1
- package/src/components/Button.astro +3 -3
- package/src/components/Buttons.astro +1 -1
- package/src/components/Card.astro +1 -1
- package/src/components/Carousel.vue +1 -7
- package/src/components/Chip.astro +2 -2
- package/src/components/Code.astro +1 -1
- package/src/components/Container.astro +1 -1
- package/src/components/Drawer.vue +2 -2
- package/src/components/Form.vue +2 -2
- package/src/components/Gallery.vue +2 -2
- package/src/components/Grid.astro +1 -1
- package/src/components/Icon.astro +1 -1
- package/src/components/List.astro +2 -2
- package/src/components/Logo.astro +1 -1
- package/src/components/Masonry.astro +1 -1
- package/src/components/Menu.astro +1 -1
- package/src/components/Menus.astro +1 -1
- package/src/components/Navigation.vue +1 -1
- package/src/components/Panel.astro +1 -1
- package/src/components/Person.astro +3 -3
- package/src/components/Price.astro +1 -1
- package/src/components/Proof.astro +4 -4
- package/src/components/Prose.astro +1 -1
- package/src/components/Rating.astro +2 -2
- package/src/components/Search.vue +2 -2
- package/src/components/Section.astro +1 -1
- package/src/components/Select.vue +1 -1
- package/src/components/Sidebar.astro +1 -1
- package/src/components/Social.astro +1 -1
- package/src/components/Sort.vue +1 -1
- package/src/components/Split.astro +1 -1
- package/src/components/Table.astro +1 -1
- package/src/components/Themer.astro +2 -2
- package/src/components/Toc.astro +2 -2
- package/src/components/Writeup.astro +1 -1
- package/src/components/ui/accordion/AccordionContent.vue +1 -1
- package/src/components/ui/accordion/AccordionItem.vue +1 -1
- package/src/components/ui/accordion/AccordionTrigger.vue +1 -1
- package/src/components/ui/auto-form/AutoForm.vue +1 -1
- package/src/components/ui/auto-form/AutoFormFieldArray.vue +4 -4
- package/src/components/ui/auto-form/AutoFormFieldBoolean.vue +3 -3
- package/src/components/ui/auto-form/AutoFormFieldDate.vue +5 -5
- package/src/components/ui/auto-form/AutoFormFieldEnum.vue +4 -4
- package/src/components/ui/auto-form/AutoFormFieldFile.vue +3 -3
- package/src/components/ui/auto-form/AutoFormFieldInput.vue +3 -3
- package/src/components/ui/auto-form/AutoFormFieldNumber.vue +2 -2
- package/src/components/ui/auto-form/AutoFormFieldObject.vue +2 -2
- package/src/components/ui/auto-form/AutoFormLabel.vue +1 -1
- package/src/components/ui/avatar/Avatar.vue +1 -1
- package/src/components/ui/badge/Badge.vue +1 -1
- package/src/components/ui/button/Button.vue +2 -2
- package/src/components/ui/calendar/Calendar.vue +1 -1
- package/src/components/ui/calendar/CalendarCell.vue +1 -1
- package/src/components/ui/calendar/CalendarCellTrigger.vue +2 -2
- package/src/components/ui/calendar/CalendarGrid.vue +1 -1
- package/src/components/ui/calendar/CalendarGridRow.vue +1 -1
- package/src/components/ui/calendar/CalendarHeadCell.vue +1 -1
- package/src/components/ui/calendar/CalendarHeader.vue +1 -1
- package/src/components/ui/calendar/CalendarHeading.vue +1 -1
- package/src/components/ui/calendar/CalendarNextButton.vue +2 -2
- package/src/components/ui/calendar/CalendarPrevButton.vue +2 -2
- package/src/components/ui/card/Card.vue +1 -1
- package/src/components/ui/card/CardContent.vue +1 -1
- package/src/components/ui/card/CardDescription.vue +1 -1
- package/src/components/ui/card/CardFooter.vue +1 -1
- package/src/components/ui/card/CardHeader.vue +1 -1
- package/src/components/ui/card/CardTitle.vue +1 -1
- package/src/components/ui/carousel/Carousel.vue +1 -1
- package/src/components/ui/carousel/CarouselContent.vue +1 -1
- package/src/components/ui/carousel/CarouselItem.vue +1 -1
- package/src/components/ui/carousel/CarouselNext.vue +2 -2
- package/src/components/ui/carousel/CarouselPrevious.vue +2 -2
- package/src/components/ui/checkbox/Checkbox.vue +1 -1
- package/src/components/ui/command/Command.vue +1 -1
- package/src/components/ui/command/CommandDialog.vue +1 -1
- package/src/components/ui/command/CommandEmpty.vue +1 -1
- package/src/components/ui/command/CommandGroup.vue +1 -1
- package/src/components/ui/command/CommandInput.vue +1 -1
- package/src/components/ui/command/CommandItem.vue +1 -1
- package/src/components/ui/command/CommandList.vue +1 -1
- package/src/components/ui/command/CommandSeparator.vue +1 -1
- package/src/components/ui/command/CommandShortcut.vue +1 -1
- package/src/components/ui/dialog/DialogContent.vue +1 -1
- package/src/components/ui/dialog/DialogDescription.vue +1 -1
- package/src/components/ui/dialog/DialogFooter.vue +1 -1
- package/src/components/ui/dialog/DialogHeader.vue +1 -1
- package/src/components/ui/dialog/DialogScrollContent.vue +1 -1
- package/src/components/ui/dialog/DialogTitle.vue +1 -1
- package/src/components/ui/drawer/DrawerContent.vue +1 -1
- package/src/components/ui/drawer/DrawerDescription.vue +1 -1
- package/src/components/ui/drawer/DrawerFooter.vue +1 -1
- package/src/components/ui/drawer/DrawerHeader.vue +1 -1
- package/src/components/ui/drawer/DrawerOverlay.vue +1 -1
- package/src/components/ui/drawer/DrawerTitle.vue +1 -1
- package/src/components/ui/form/FormDescription.vue +1 -1
- package/src/components/ui/form/FormItem.vue +1 -1
- package/src/components/ui/form/FormLabel.vue +2 -2
- package/src/components/ui/input/Input.vue +1 -1
- package/src/components/ui/label/Label.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenu.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/src/components/ui/popover/PopoverContent.vue +1 -1
- package/src/components/ui/radio-group/RadioGroup.vue +1 -1
- package/src/components/ui/radio-group/RadioGroupItem.vue +1 -1
- package/src/components/ui/select/SelectContent.vue +1 -1
- package/src/components/ui/select/SelectGroup.vue +1 -1
- package/src/components/ui/select/SelectItem.vue +1 -1
- package/src/components/ui/select/SelectLabel.vue +1 -1
- package/src/components/ui/select/SelectScrollDownButton.vue +1 -1
- package/src/components/ui/select/SelectScrollUpButton.vue +1 -1
- package/src/components/ui/select/SelectSeparator.vue +1 -1
- package/src/components/ui/select/SelectTrigger.vue +1 -1
- package/src/components/ui/separator/Separator.vue +1 -1
- package/src/components/ui/switch/Switch.vue +1 -1
- package/src/components/ui/textarea/Textarea.vue +1 -1
- package/src/content.config.ts +1 -1
- package/src/layouts/NavigationLayout.astro +3 -3
- package/src/lib/integration.ts +27 -0
- package/src/pages/blocks/[...block].astro +2 -2
- package/src/pages/blocks/index.astro +1 -1
- package/src/pages/index.astro +1 -1
- package/src/schemas/blocks/categoryList.ts +1 -1
- package/src/schemas/blocks/categorySingle.ts +1 -1
- package/src/schemas/blocks/content.ts +1 -1
- package/src/schemas/blocks/cta.ts +1 -1
- package/src/schemas/blocks/footer.ts +3 -3
- package/src/schemas/blocks/header.ts +3 -3
- package/src/schemas/blocks/hero.ts +1 -1
- package/src/schemas/blocks/productList.ts +1 -1
- package/src/schemas/blocks/productSingle.ts +1 -1
- package/src/schemas/collections/category.ts +3 -3
- package/src/schemas/collections/page.ts +2 -2
- package/src/schemas/collections/post.ts +3 -3
- package/src/schemas/collections/product.ts +3 -3
- package/src/schemas/fields/card.ts +3 -3
- package/src/schemas/fields/menu.ts +1 -1
- package/src/schemas/fields/proof.ts +1 -1
- package/tsconfig.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { buttonVariants } from '
|
|
3
|
-
import { cn } from '
|
|
2
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
3
|
+
import { cn } from '@/lib/utils'
|
|
4
4
|
import { ChevronRight } from 'lucide-vue-next'
|
|
5
5
|
import { CalendarNext, type CalendarNextProps, useForwardProps } from 'radix-vue'
|
|
6
6
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { buttonVariants } from '
|
|
3
|
-
import { cn } from '
|
|
2
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
3
|
+
import { cn } from '@/lib/utils'
|
|
4
4
|
import { ChevronLeft } from 'lucide-vue-next'
|
|
5
5
|
import { CalendarPrev, type CalendarPrevProps, useForwardProps } from 'radix-vue'
|
|
6
6
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Button } from '
|
|
3
|
-
import { cn } from '
|
|
2
|
+
import { Button } from '@/components/ui/button'
|
|
3
|
+
import { cn } from '@/lib/utils'
|
|
4
4
|
import { ArrowRight } from 'lucide-vue-next'
|
|
5
5
|
import type { WithClassAsProps } from './interface'
|
|
6
6
|
import { useCarousel } from './useCarousel'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Button } from '
|
|
3
|
-
import { cn } from '
|
|
2
|
+
import { Button } from '@/components/ui/button'
|
|
3
|
+
import { cn } from '@/lib/utils'
|
|
4
4
|
import { ArrowLeft } from 'lucide-vue-next'
|
|
5
5
|
import type { WithClassAsProps } from './interface'
|
|
6
6
|
import { useCarousel } from './useCarousel'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { Check } from 'lucide-vue-next'
|
|
4
4
|
import type { CheckboxRootEmits, CheckboxRootProps } from 'radix-vue'
|
|
5
5
|
import { CheckboxIndicator, CheckboxRoot, useForwardPropsEmits } from 'radix-vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import type { ComboboxRootEmits, ComboboxRootProps } from 'radix-vue'
|
|
4
4
|
import { ComboboxRoot, useForwardPropsEmits } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Dialog, DialogContent } from '
|
|
2
|
+
import { Dialog, DialogContent } from '@/components/ui/dialog'
|
|
3
3
|
import type { DialogRootEmits, DialogRootProps } from 'radix-vue'
|
|
4
4
|
import { useForwardPropsEmits } from 'radix-vue'
|
|
5
5
|
import Command from './Command.vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import type { ComboboxGroupProps } from 'radix-vue'
|
|
4
4
|
import { ComboboxGroup, ComboboxLabel } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { Search } from 'lucide-vue-next'
|
|
4
4
|
import { ComboboxInput, type ComboboxInputProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import type { ComboboxItemEmits, ComboboxItemProps } from 'radix-vue'
|
|
4
4
|
import { ComboboxItem, useForwardPropsEmits } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import type { ComboboxContentEmits, ComboboxContentProps } from 'radix-vue'
|
|
4
4
|
import { ComboboxContent, useForwardPropsEmits } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import type { DialogContentEmits, DialogContentProps } from 'radix-vue'
|
|
4
4
|
import { useForwardPropsEmits } from 'radix-vue'
|
|
5
5
|
import { DrawerContent, DrawerPortal } from 'vaul-vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { Label } from '
|
|
3
|
-
import { cn } from '
|
|
2
|
+
import { Label } from '@/components/ui/label'
|
|
3
|
+
import { cn } from '@/lib/utils'
|
|
4
4
|
import type { LabelProps } from 'radix-vue'
|
|
5
5
|
import type { HTMLAttributes } from 'vue'
|
|
6
6
|
import { useFormField } from './useFormField'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { ChevronDown } from 'lucide-vue-next'
|
|
4
4
|
import { NavigationMenuTrigger, type NavigationMenuTriggerProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { RadioGroupRoot, type RadioGroupRootEmits, type RadioGroupRootProps, useForwardPropsEmits } from 'radix-vue'
|
|
4
4
|
import { computed, type HTMLAttributes } from 'vue'
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { Circle } from 'lucide-vue-next'
|
|
4
4
|
import { RadioGroupIndicator, RadioGroupItem, type RadioGroupItemProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { Check } from 'lucide-vue-next'
|
|
4
4
|
import { SelectItem, SelectItemIndicator, type SelectItemProps, SelectItemText, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { ChevronDown } from 'lucide-vue-next'
|
|
4
4
|
import { SelectScrollDownButton, type SelectScrollDownButtonProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { ChevronUp } from 'lucide-vue-next'
|
|
4
4
|
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { ChevronDown } from 'lucide-vue-next'
|
|
4
4
|
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from 'radix-vue'
|
|
5
5
|
import { computed, type HTMLAttributes } from 'vue'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils'
|
|
3
3
|
import { SwitchRoot, type SwitchRootEmits, type SwitchRootProps, SwitchThumb, useForwardPropsEmits } from 'radix-vue'
|
|
4
4
|
import { computed, type HTMLAttributes } from 'vue'
|
|
5
5
|
|
package/src/content.config.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { pageSchema } from '@/schemas/collections/page'
|
|
1
2
|
import { glob } from 'astro/loaders'
|
|
2
3
|
import { defineCollection, z } from 'astro:content'
|
|
3
|
-
import { pageSchema } from 'fulldev-ui/schemas/collections/page'
|
|
4
4
|
|
|
5
5
|
export const collections = {
|
|
6
6
|
pages: defineCollection({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Box from '@/components/Box.astro'
|
|
3
|
+
import Layout from '@/components/Layout.astro'
|
|
4
|
+
import '@/styles/global.css'
|
|
2
5
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import Box from 'fulldev-ui/components/Box.astro'
|
|
4
|
-
import Layout from 'fulldev-ui/components/Layout.astro'
|
|
5
|
-
import 'fulldev-ui/styles/global.css'
|
|
6
6
|
|
|
7
7
|
interface Props extends ComponentProps<typeof Layout> {}
|
|
8
8
|
---
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import tailwind from '@astrojs/tailwind'
|
|
2
|
+
import vue from '@astrojs/vue'
|
|
3
|
+
import type { AstroIntegration } from 'astro'
|
|
4
|
+
|
|
5
|
+
interface Config {}
|
|
6
|
+
|
|
7
|
+
export default function fulldevIntegration(config?: Partial<Config> | undefined): AstroIntegration {
|
|
8
|
+
return {
|
|
9
|
+
name: '/integration',
|
|
10
|
+
hooks: {
|
|
11
|
+
'astro:config:setup': async ({ updateConfig, injectScript }) => {
|
|
12
|
+
// Update the config with required integrations
|
|
13
|
+
updateConfig({
|
|
14
|
+
integrations: [
|
|
15
|
+
vue(),
|
|
16
|
+
tailwind({
|
|
17
|
+
applyBaseStyles: false,
|
|
18
|
+
}),
|
|
19
|
+
],
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
// Inject the global CSS file
|
|
23
|
+
injectScript('page-ssr', `import "@/styles/global.css";`)
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Block from '@/components/Block.astro'
|
|
3
|
+
import NavigationLayout from '@/layouts/NavigationLayout.astro'
|
|
2
4
|
import { getCollection, render } from 'astro:content'
|
|
3
|
-
import Block from 'fulldev-ui/components/Block.astro'
|
|
4
|
-
import NavigationLayout from 'fulldev-ui/layouts/NavigationLayout.astro'
|
|
5
5
|
|
|
6
6
|
export async function getStaticPaths() {
|
|
7
7
|
const collection = await getCollection('blocks')
|