fulldev-ui 0.7.0-beta.4 → 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/astro.config.ts +0 -2
- package/cli.js +51 -0
- package/components.json +2 -2
- package/package.json +16 -32
- package/pnpm-lock.yaml +221 -751
- 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 +8 -8
- 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/Block.astro +9 -15
- 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 +4 -7
- package/src/components/Gallery.vue +2 -2
- package/src/components/Grid.astro +1 -1
- package/src/components/Icon.astro +18 -11
- 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/blocks/category-group1.md +18 -0
- package/src/content/blocks/category-list1.md +22 -0
- package/src/content/blocks/contact1.md +30 -0
- package/src/content/blocks/contact2.md +31 -0
- package/src/content/blocks/content1.md +14 -0
- package/src/content/blocks/cta1.md +11 -0
- package/src/content/blocks/faqs1.md +18 -0
- package/src/content/blocks/faqs2.md +18 -0
- package/src/content/blocks/features1.md +16 -0
- package/src/content/blocks/hero1.md +14 -0
- package/src/content/blocks/intro1.md +6 -0
- package/src/content/blocks/post-single1.md +18 -0
- package/src/content/blocks/product-group1.md +21 -0
- package/src/content/blocks/product-list1.md +25 -0
- package/src/content/blocks/product-single1.md +23 -0
- package/src/content/blocks/reviews1.md +16 -0
- package/src/content.config.ts +20 -0
- package/src/data/settings.json +26 -0
- package/src/layouts/NavigationLayout.astro +14 -0
- package/src/lib/integration.ts +27 -0
- package/src/pages/blocks/[...block].astro +24 -0
- package/src/pages/blocks/index.astro +21 -0
- package/src/pages/index.astro +8 -0
- package/src/schemas/blocks/categoryGroup.ts +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/faqs.ts +4 -3
- package/src/schemas/blocks/features.ts +5 -4
- 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/block.ts +83 -0
- package/src/schemas/collections/category.ts +11 -0
- package/src/schemas/collections/page.ts +13 -0
- package/src/schemas/collections/post.ts +11 -0
- package/src/schemas/collections/product.ts +11 -0
- 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/src/schemas/fields/section.ts +2 -2
- package/src/styles/global.css +123 -0
- package/tsconfig.json +1 -1
- package/src/components/ui/breadcrumb/Breadcrumb.vue +0 -13
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +0 -22
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +0 -14
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +0 -19
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +0 -16
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +0 -19
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +0 -21
- package/src/components/ui/breadcrumb/index.ts +0 -7
- package/src/schemas/fields/block.ts +0 -60
package/astro.config.ts
CHANGED
|
@@ -2,7 +2,6 @@ import mdx from '@astrojs/mdx'
|
|
|
2
2
|
import sitemap from '@astrojs/sitemap'
|
|
3
3
|
import tailwind from '@astrojs/tailwind'
|
|
4
4
|
import vue from '@astrojs/vue'
|
|
5
|
-
import icon from 'astro-icon'
|
|
6
5
|
import robotsTxt from 'astro-robots-txt'
|
|
7
6
|
import { defineConfig } from 'astro/config'
|
|
8
7
|
|
|
@@ -17,7 +16,6 @@ export default defineConfig({
|
|
|
17
16
|
vue(),
|
|
18
17
|
mdx(),
|
|
19
18
|
sitemap(),
|
|
20
|
-
icon(),
|
|
21
19
|
tailwind({
|
|
22
20
|
applyBaseStyles: false,
|
|
23
21
|
}),
|
package/cli.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
#! /usr/bin/env node
|
|
2
|
+
import fs from 'fs-extra'
|
|
3
|
+
import path from 'path'
|
|
4
|
+
import { fileURLToPath } from 'url'
|
|
5
|
+
|
|
6
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
7
|
+
|
|
8
|
+
// Items to copy with source and target paths
|
|
9
|
+
const items = [
|
|
10
|
+
{
|
|
11
|
+
source: './src/blocks',
|
|
12
|
+
target: 'src/blocks',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
source: './src/components',
|
|
16
|
+
target: 'src/components',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
source: './src/lib',
|
|
20
|
+
target: 'src/lib',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
source: './src/schemas',
|
|
24
|
+
target: 'src/schemas',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
source: './src/styles',
|
|
28
|
+
target: 'src/styles',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
source: './components.json',
|
|
32
|
+
target: 'components.json',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
source: './tailwind.config.js',
|
|
36
|
+
target: 'tailwind.config.js',
|
|
37
|
+
},
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
items.forEach((item) => {
|
|
41
|
+
const sourcePath = path.join(__dirname, item.source)
|
|
42
|
+
const targetPath = path.join(process.cwd(), item.target)
|
|
43
|
+
|
|
44
|
+
// Create parent directory for files
|
|
45
|
+
const targetDir = fs.statSync(sourcePath).isDirectory() ? targetPath : path.dirname(targetPath)
|
|
46
|
+
fs.ensureDirSync(targetDir)
|
|
47
|
+
|
|
48
|
+
// Copy item
|
|
49
|
+
fs.copySync(sourcePath, targetPath)
|
|
50
|
+
console.log(`${item.target} copied successfully!`)
|
|
51
|
+
})
|
package/components.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fulldev-ui",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.6",
|
|
4
4
|
"description": "A component library built for Astro",
|
|
5
5
|
"homepage": "https://ui.full.dev",
|
|
6
6
|
"bugs": "https://github.com/fulldotdev/ui/issues",
|
|
@@ -28,33 +28,20 @@
|
|
|
28
28
|
"shadcn": "npx shadcn-vue@latest add"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
31
|
-
"
|
|
32
|
-
"./components/ui/accordion": "./src/components/ui/accordion/index.ts",
|
|
33
|
-
"./components/ui/auto-form": "./src/components/ui/auto-form/index.ts",
|
|
34
|
-
"./components/ui/avatar": "./src/components/ui/avatar/index.ts",
|
|
35
|
-
"./components/ui/badge": "./src/components/ui/badge/index.ts",
|
|
36
|
-
"./components/ui/breadcrumb": "./src/components/ui/breadcrumb/index.ts",
|
|
37
|
-
"./components/ui/button": "./src/components/ui/button/index.ts",
|
|
38
|
-
"./components/ui/calendar": "./src/components/ui/calendar/index.ts",
|
|
39
|
-
"./components/ui/card": "./src/components/ui/card/index.ts",
|
|
40
|
-
"./components/ui/carousel": "./src/components/ui/carousel/index.ts",
|
|
41
|
-
"./components/ui/checkbox": "./src/components/ui/checkbox/index.ts",
|
|
42
|
-
"./components/ui/collapsible": "./src/components/ui/collapsible/index.ts",
|
|
43
|
-
"./components/ui/dialog": "./src/components/ui/dialog/index.ts",
|
|
44
|
-
"./components/ui/drawer": "./src/components/ui/drawer/index.ts",
|
|
45
|
-
"./components/ui/form": "./src/components/ui/form/index.ts",
|
|
46
|
-
"./components/ui/navigation-menu": "./src/components/ui/navigation-menu/index.ts",
|
|
47
|
-
"./components/ui/popover": "./src/components/ui/popover/index.ts",
|
|
48
|
-
"./components/ui/radio-group": "./src/components/ui/radio-group/index.ts",
|
|
49
|
-
"./components/ui/separator": "./src/components/ui/separator/index.ts",
|
|
50
|
-
"./components/ui/switch": "./src/components/ui/switch/index.ts",
|
|
51
|
-
"./components/ui/command": "./src/components/ui/command/index.ts",
|
|
52
|
-
"./components/ui/input": "./src/components/ui/input/index.ts",
|
|
53
|
-
"./components/ui/label": "./src/components/ui/label/index.ts",
|
|
54
|
-
"./components/ui/select": "./src/components/ui/select/index.ts",
|
|
55
|
-
"./components/ui/textarea": "./src/components/ui/textarea/index.ts"
|
|
31
|
+
".": "./src/lib/integration.ts"
|
|
56
32
|
},
|
|
33
|
+
"bin": "./cli.js",
|
|
57
34
|
"type": "module",
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@astrojs/tailwind": "^6.0.0",
|
|
37
|
+
"@astrojs/vue": "^5.0.6",
|
|
38
|
+
"astro": "^5.2.6",
|
|
39
|
+
"tailwind-merge": "^2.6.0",
|
|
40
|
+
"tailwindcss": "^3.4.17",
|
|
41
|
+
"tailwindcss-animate": "^1.0.7",
|
|
42
|
+
"typescript": "^5.7.3",
|
|
43
|
+
"vue": "^3.5.13"
|
|
44
|
+
},
|
|
58
45
|
"dependencies": {
|
|
59
46
|
"@astrojs/mdx": "^4.0.8",
|
|
60
47
|
"@astrojs/sitemap": "^3.2.1",
|
|
@@ -68,17 +55,15 @@
|
|
|
68
55
|
"@unovis/vue": "^1.5.0",
|
|
69
56
|
"@vee-validate/zod": "^4.15.0",
|
|
70
57
|
"@vueuse/core": "^12.5.0",
|
|
71
|
-
"astro": "^5.2.
|
|
72
|
-
"astro-icon": "^1.1.5",
|
|
58
|
+
"astro": "^5.2.6",
|
|
73
59
|
"astro-live-code": "^0.0.5",
|
|
74
60
|
"astro-robots-txt": "^1.0.0",
|
|
75
61
|
"astro-seo": "^0.8.4",
|
|
76
62
|
"class-variance-authority": "^0.7.1",
|
|
77
63
|
"clsx": "^2.1.1",
|
|
78
|
-
"
|
|
64
|
+
"commander": "^13.1.0",
|
|
79
65
|
"embla-carousel-vue": "^8.5.2",
|
|
80
|
-
"
|
|
81
|
-
"html-dom-parser": "^5.0.13",
|
|
66
|
+
"fs-extra": "^11.3.0",
|
|
82
67
|
"lucide-vue-next": "^0.474.0",
|
|
83
68
|
"node-html-parser": "^7.0.1",
|
|
84
69
|
"radix-vue": "^1.9.13",
|
|
@@ -90,7 +75,6 @@
|
|
|
90
75
|
"vee-validate": "^4.15.0",
|
|
91
76
|
"vite": "^6.0.11",
|
|
92
77
|
"vue": "^3.5.13",
|
|
93
|
-
"vue-tsc": "^2.2.0",
|
|
94
78
|
"zod": "^3.24.1"
|
|
95
79
|
},
|
|
96
80
|
"devDependencies": {
|