fulldev-ui 0.6.4 → 0.7.0-beta.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.
- package/.prettierrc.yaml +10 -3
- package/README.md +2 -1
- package/astro.config.ts +20 -17
- package/components.json +18 -0
- package/package.json +63 -34
- package/pnpm-lock.yaml +7480 -0
- package/public/images/categories/journals.jpg +0 -0
- package/public/images/categories/productivity.jpg +0 -0
- package/public/images/categories/workspace.jpg +0 -0
- package/public/images/leather-long-wallet.jpg +0 -0
- package/public/images/products/earthen-mug.jpg +0 -0
- package/public/images/products/leather-long-wallet.jpg +0 -0
- package/public/images/products/leatherbound-daily-journal-set.jpg +0 -0
- package/public/images/products/leatherbound-daily-journal.jpg +0 -0
- package/public/images/products/machines-pen.jpg +0 -0
- package/public/images/products/machines-pencil-and-pen-set.jpg +0 -0
- package/public/images/products/mini-sketchbooks.jpg +0 -0
- package/public/images/products/organizer-set.jpg +0 -0
- package/src/blocks/CategoryGroup1.astro +43 -0
- package/src/blocks/CategoryList1.astro +55 -0
- package/src/blocks/Contact1.astro +34 -77
- package/src/blocks/Contact2.astro +31 -77
- package/src/blocks/Content1.astro +18 -30
- package/src/blocks/Cta1.astro +18 -58
- package/src/blocks/Faqs1.astro +29 -0
- package/src/blocks/Faqs2.astro +29 -0
- package/src/blocks/Features1.astro +25 -61
- package/src/blocks/Footer.astro +47 -71
- package/src/blocks/Header.astro +64 -124
- package/src/blocks/Hero1.astro +23 -54
- package/src/blocks/Intro1.astro +16 -58
- package/src/blocks/PostSingle1.astro +29 -0
- package/src/blocks/ProductGroup1.astro +82 -0
- package/src/blocks/ProductList1.astro +60 -0
- package/src/blocks/ProductSingle1.astro +65 -0
- package/src/blocks/Reviews1.astro +23 -67
- package/src/components/Abstract.astro +36 -0
- package/src/components/Accordion.vue +31 -0
- package/src/components/Avatar.astro +23 -32
- package/src/components/Badge.astro +10 -58
- package/src/components/Box.astro +28 -0
- package/src/components/Button.astro +38 -78
- package/src/components/Buttons.astro +41 -19
- package/src/components/Card.astro +20 -0
- package/src/components/Carousel.vue +44 -0
- package/src/components/Chip.astro +27 -0
- package/src/{structures → components}/Code.astro +27 -8
- package/src/components/Collapsible.vue +21 -0
- package/src/components/Container.astro +25 -0
- package/src/components/Drawer.vue +53 -0
- package/src/components/Form.vue +82 -0
- package/src/components/Gallery.vue +85 -0
- package/src/components/Grid.astro +35 -0
- package/src/components/Icon.astro +12 -45
- package/src/components/Image.astro +6 -28
- package/src/components/Layout.astro +126 -0
- package/src/components/Link.astro +7 -65
- package/src/components/List.astro +13 -77
- package/src/components/Logo.astro +16 -35
- package/src/components/Masonry.astro +35 -0
- package/src/components/Menu.astro +31 -36
- package/src/components/Menus.astro +15 -10
- package/src/components/Navigation.vue +93 -0
- package/src/components/Panel.astro +18 -0
- package/src/components/Person.astro +43 -0
- package/src/components/Price.astro +26 -11
- package/src/components/Proof.astro +16 -37
- package/src/components/{docs/Props.astro → Props.astro} +3 -3
- package/src/components/Prose.astro +28 -0
- package/src/components/Rating.astro +5 -24
- package/src/components/Search.vue +65 -0
- package/src/components/Section.astro +18 -0
- package/src/components/Select.vue +41 -0
- package/src/components/Separator.astro +0 -0
- package/src/components/Sidebar.astro +50 -0
- package/src/components/Social.astro +8 -15
- package/src/components/Socials.astro +21 -19
- package/src/components/Sort.vue +46 -0
- package/src/components/Split.astro +27 -0
- package/src/components/Table.astro +17 -17
- package/src/components/Tabs.vue +17 -0
- package/src/components/Themer.astro +12 -3
- package/src/components/Toc.astro +24 -21
- package/src/components/Toolbar.vue +115 -0
- package/src/components/Writeup.astro +37 -0
- package/src/components/ui/accordion/Accordion.vue +19 -0
- package/src/components/ui/accordion/AccordionContent.vue +24 -0
- package/src/components/ui/accordion/AccordionItem.vue +24 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +33 -0
- package/src/components/ui/accordion/index.ts +4 -0
- package/src/components/ui/auto-form/AutoForm.vue +115 -0
- package/src/components/ui/auto-form/AutoFormField.vue +45 -0
- package/src/components/ui/auto-form/AutoFormFieldArray.vue +127 -0
- package/src/components/ui/auto-form/AutoFormFieldBoolean.vue +47 -0
- package/src/components/ui/auto-form/AutoFormFieldDate.vue +78 -0
- package/src/components/ui/auto-form/AutoFormFieldEnum.vue +77 -0
- package/src/components/ui/auto-form/AutoFormFieldFile.vue +87 -0
- package/src/components/ui/auto-form/AutoFormFieldInput.vue +42 -0
- package/src/components/ui/auto-form/AutoFormFieldNumber.vue +42 -0
- package/src/components/ui/auto-form/AutoFormFieldObject.vue +90 -0
- package/src/components/ui/auto-form/AutoFormLabel.vue +19 -0
- package/src/components/ui/auto-form/constant.ts +40 -0
- package/src/components/ui/auto-form/dependencies.ts +92 -0
- package/src/components/ui/auto-form/index.ts +15 -0
- package/src/components/ui/auto-form/interface.ts +95 -0
- package/src/components/ui/auto-form/utils.ts +188 -0
- package/src/components/ui/avatar/Avatar.vue +24 -0
- package/src/components/ui/avatar/AvatarFallback.vue +11 -0
- package/src/components/ui/avatar/AvatarImage.vue +9 -0
- package/src/components/ui/avatar/index.ts +24 -0
- package/src/components/ui/badge/Badge.vue +16 -0
- package/src/components/ui/badge/index.ts +22 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +13 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +22 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +14 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +19 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +16 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +19 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +21 -0
- package/src/components/ui/breadcrumb/index.ts +7 -0
- package/src/components/ui/button/Button.vue +26 -0
- package/src/components/ui/button/index.ts +31 -0
- package/src/components/ui/calendar/Calendar.vue +80 -0
- package/src/components/ui/calendar/CalendarCell.vue +29 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +40 -0
- package/src/components/ui/calendar/CalendarGrid.vue +24 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +11 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +11 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +24 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +24 -0
- package/src/components/ui/calendar/CalendarHeader.vue +24 -0
- package/src/components/ui/calendar/CalendarHeading.vue +27 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +30 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +30 -0
- package/src/components/ui/calendar/index.ts +12 -0
- package/src/components/ui/card/Card.vue +14 -0
- package/src/components/ui/card/CardContent.vue +14 -0
- package/src/components/ui/card/CardDescription.vue +14 -0
- package/src/components/ui/card/CardFooter.vue +14 -0
- package/src/components/ui/card/CardHeader.vue +14 -0
- package/src/components/ui/card/CardTitle.vue +14 -0
- package/src/components/ui/card/index.ts +6 -0
- package/src/components/ui/carousel/Carousel.vue +61 -0
- package/src/components/ui/carousel/CarouselContent.vue +27 -0
- package/src/components/ui/carousel/CarouselItem.vue +19 -0
- package/src/components/ui/carousel/CarouselNext.vue +33 -0
- package/src/components/ui/carousel/CarouselPrevious.vue +33 -0
- package/src/components/ui/carousel/index.ts +10 -0
- package/src/components/ui/carousel/interface.ts +26 -0
- package/src/components/ui/carousel/useCarousel.ts +56 -0
- package/src/components/ui/checkbox/Checkbox.vue +36 -0
- package/src/components/ui/checkbox/index.ts +1 -0
- package/src/components/ui/collapsible/Collapsible.vue +15 -0
- package/src/components/ui/collapsible/CollapsibleContent.vue +11 -0
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +11 -0
- package/src/components/ui/collapsible/index.ts +3 -0
- package/src/components/ui/command/Command.vue +32 -0
- package/src/components/ui/command/CommandDialog.vue +23 -0
- package/src/components/ui/command/CommandEmpty.vue +23 -0
- package/src/components/ui/command/CommandGroup.vue +39 -0
- package/src/components/ui/command/CommandInput.vue +43 -0
- package/src/components/ui/command/CommandItem.vue +31 -0
- package/src/components/ui/command/CommandList.vue +30 -0
- package/src/components/ui/command/CommandSeparator.vue +23 -0
- package/src/components/ui/command/CommandShortcut.vue +14 -0
- package/src/components/ui/command/index.ts +9 -0
- package/src/components/ui/dialog/Dialog.vue +14 -0
- package/src/components/ui/dialog/DialogClose.vue +11 -0
- package/src/components/ui/dialog/DialogContent.vue +51 -0
- package/src/components/ui/dialog/DialogDescription.vue +24 -0
- package/src/components/ui/dialog/DialogFooter.vue +12 -0
- package/src/components/ui/dialog/DialogHeader.vue +14 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/src/components/ui/dialog/DialogTitle.vue +24 -0
- package/src/components/ui/dialog/DialogTrigger.vue +11 -0
- package/src/components/ui/dialog/index.ts +9 -0
- package/src/components/ui/drawer/Drawer.vue +19 -0
- package/src/components/ui/drawer/DrawerContent.vue +31 -0
- package/src/components/ui/drawer/DrawerDescription.vue +23 -0
- package/src/components/ui/drawer/DrawerFooter.vue +14 -0
- package/src/components/ui/drawer/DrawerHeader.vue +14 -0
- package/src/components/ui/drawer/DrawerOverlay.vue +21 -0
- package/src/components/ui/drawer/DrawerTitle.vue +23 -0
- package/src/components/ui/drawer/index.ts +8 -0
- package/src/components/ui/form/FormControl.vue +16 -0
- package/src/components/ui/form/FormDescription.vue +20 -0
- package/src/components/ui/form/FormItem.vue +19 -0
- package/src/components/ui/form/FormLabel.vue +20 -0
- package/src/components/ui/form/FormMessage.vue +16 -0
- package/src/components/ui/form/index.ts +7 -0
- package/src/components/ui/form/injectionKeys.ts +4 -0
- package/src/components/ui/form/useFormField.ts +30 -0
- package/src/components/ui/input/Input.vue +32 -0
- package/src/components/ui/input/index.ts +1 -0
- package/src/components/ui/label/Label.vue +24 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/menubar/Menubar.vue +25 -0
- package/src/components/ui/menubar/MenubarCheckboxItem.vue +42 -0
- package/src/components/ui/menubar/MenubarContent.vue +35 -0
- package/src/components/ui/menubar/MenubarGroup.vue +11 -0
- package/src/components/ui/menubar/MenubarItem.vue +32 -0
- package/src/components/ui/menubar/MenubarLabel.vue +13 -0
- package/src/components/ui/menubar/MenubarMenu.vue +11 -0
- package/src/components/ui/menubar/MenubarRadioGroup.vue +20 -0
- package/src/components/ui/menubar/MenubarRadioItem.vue +42 -0
- package/src/components/ui/menubar/MenubarSeparator.vue +22 -0
- package/src/components/ui/menubar/MenubarShortcut.vue +14 -0
- package/src/components/ui/menubar/MenubarSub.vue +19 -0
- package/src/components/ui/menubar/MenubarSubContent.vue +39 -0
- package/src/components/ui/menubar/MenubarSubTrigger.vue +32 -0
- package/src/components/ui/menubar/MenubarTrigger.vue +29 -0
- package/src/components/ui/menubar/index.ts +15 -0
- package/src/components/ui/navigation-menu/NavigationMenu.vue +33 -0
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +36 -0
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +29 -0
- package/src/components/ui/navigation-menu/NavigationMenuItem.vue +11 -0
- package/src/components/ui/navigation-menu/NavigationMenuLink.vue +19 -0
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +24 -0
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +30 -0
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +29 -0
- package/src/components/ui/navigation-menu/index.ts +14 -0
- package/src/components/ui/popover/Popover.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +45 -0
- package/src/components/ui/popover/PopoverTrigger.vue +11 -0
- package/src/components/ui/popover/index.ts +3 -0
- package/src/components/ui/radio-group/RadioGroup.vue +25 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +32 -0
- package/src/components/ui/radio-group/index.ts +2 -0
- package/src/components/ui/select/Select.vue +15 -0
- package/src/components/ui/select/SelectContent.vue +59 -0
- package/src/components/ui/select/SelectGroup.vue +22 -0
- package/src/components/ui/select/SelectItem.vue +38 -0
- package/src/components/ui/select/SelectItemText.vue +11 -0
- package/src/components/ui/select/SelectLabel.vue +13 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +27 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +27 -0
- package/src/components/ui/select/SelectSeparator.vue +20 -0
- package/src/components/ui/select/SelectTrigger.vue +33 -0
- package/src/components/ui/select/SelectValue.vue +11 -0
- package/src/components/ui/select/index.ts +11 -0
- package/src/components/ui/separator/Separator.vue +33 -0
- package/src/components/ui/separator/index.ts +1 -0
- package/src/components/ui/switch/Switch.vue +39 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/tabs/Tabs.vue +15 -0
- package/src/components/ui/tabs/TabsContent.vue +27 -0
- package/src/components/ui/tabs/TabsList.vue +22 -0
- package/src/components/ui/tabs/TabsTrigger.vue +31 -0
- package/src/components/ui/tabs/index.ts +4 -0
- package/src/components/ui/textarea/Textarea.vue +32 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/lib/utils.ts +6 -0
- package/src/schemas/blocks/categoryGroup.ts +17 -0
- package/src/schemas/blocks/categoryList.ts +18 -0
- package/src/schemas/blocks/categorySingle.ts +12 -0
- package/src/schemas/blocks/contact.ts +13 -0
- package/src/schemas/blocks/content.ts +13 -0
- package/src/schemas/blocks/cta.ts +11 -0
- package/src/schemas/blocks/faqs.ts +17 -0
- package/src/schemas/blocks/features.ts +16 -0
- package/src/schemas/blocks/footer.ts +16 -0
- package/src/schemas/{header.ts → blocks/header.ts} +5 -8
- package/src/schemas/blocks/hero.ts +15 -0
- package/src/schemas/blocks/intro.ts +9 -0
- package/src/schemas/blocks/postSingle.ts +12 -0
- package/src/schemas/blocks/productGroup.ts +17 -0
- package/src/schemas/blocks/productList.ts +18 -0
- package/src/schemas/blocks/productSingle.ts +15 -0
- package/src/schemas/blocks/reviews.ts +16 -0
- package/src/schemas/fields/badge.ts +9 -0
- package/src/schemas/fields/block.ts +60 -0
- package/src/schemas/fields/button.ts +12 -0
- package/src/schemas/fields/card.ts +28 -0
- package/src/schemas/fields/channel.ts +10 -0
- package/src/schemas/fields/form.ts +20 -0
- package/src/schemas/fields/image.ts +8 -0
- package/src/schemas/fields/link.ts +9 -0
- package/src/schemas/fields/logo.ts +10 -0
- package/src/schemas/fields/menu.ts +10 -0
- package/src/schemas/fields/meta.ts +14 -0
- package/src/schemas/fields/proof.ts +11 -0
- package/src/schemas/fields/section.ts +48 -0
- package/tailwind.config.js +111 -0
- package/tsconfig.json +5 -7
- package/.env.example +0 -3
- package/.vscode/settings.json +0 -25
- package/CONTRIBUTING.md +0 -124
- package/cloudcannon.config.yml +0 -207
- package/public/favicon/android-chrome-192x192.png +0 -0
- package/public/favicon/android-chrome-512x512.png +0 -0
- package/public/favicon/apple-touch-icon.png +0 -0
- package/public/favicon/browserconfig.xml +0 -9
- package/public/favicon/favicon-16x16.png +0 -0
- package/public/favicon/favicon-32x32.png +0 -0
- package/public/favicon/favicon-48x48.png +0 -0
- package/public/favicon/favicon.ico +0 -0
- package/public/favicon/favicon.svg +0 -16
- package/public/favicon/manifest.webmanifest +0 -30
- package/public/favicon/mstile-150x150.png +0 -0
- package/public/favicon/safari-pinned-tab.svg +0 -16
- package/public/favicon/yandex-browser-50x50.png +0 -0
- package/public/favicon/yandex-browser-manifest.json +0 -9
- package/siteicon.png +0 -0
- package/src/blocks/Banner.astro +0 -31
- package/src/blocks/Colleagues1.astro +0 -74
- package/src/blocks/Compare1.astro +0 -64
- package/src/blocks/Content2.astro +0 -47
- package/src/blocks/Content3.astro +0 -47
- package/src/blocks/Content4.astro +0 -52
- package/src/blocks/Content5.astro +0 -43
- package/src/blocks/Content6.astro +0 -57
- package/src/blocks/Content7.astro +0 -65
- package/src/blocks/Content8.astro +0 -48
- package/src/blocks/Cta2.astro +0 -52
- package/src/blocks/Features2.astro +0 -71
- package/src/blocks/JobCategories1.astro +0 -61
- package/src/blocks/JobCategory1.astro +0 -92
- package/src/blocks/Jobs1.astro +0 -74
- package/src/blocks/Logos1.astro +0 -55
- package/src/blocks/Pages1.astro +0 -85
- package/src/blocks/Pricings1.astro +0 -61
- package/src/blocks/Products1.astro +0 -87
- package/src/blocks/Projects1.astro +0 -79
- package/src/blocks/Subheader.astro +0 -53
- package/src/components/Avatars.astro +0 -20
- package/src/components/Badges.astro +0 -20
- package/src/components/Block.astro +0 -46
- package/src/components/Cart.astro +0 -42
- package/src/components/CartAdd.svelte +0 -76
- package/src/components/CartCheckout.svelte +0 -58
- package/src/components/CartForm.svelte +0 -130
- package/src/components/CartList.svelte +0 -88
- package/src/components/CartQuantity.svelte +0 -81
- package/src/components/CartSummary.astro +0 -59
- package/src/components/CartTotal.svelte +0 -15
- package/src/components/Channel.astro +0 -89
- package/src/components/Channels.astro +0 -20
- package/src/components/Checkbox.astro +0 -76
- package/src/components/Element.astro +0 -70
- package/src/components/Field.astro +0 -33
- package/src/components/Fields.astro +0 -20
- package/src/components/Form.astro +0 -34
- package/src/components/Gallery.astro +0 -175
- package/src/components/Head.astro +0 -94
- package/src/components/Heading.astro +0 -91
- package/src/components/Input.astro +0 -115
- package/src/components/Label.astro +0 -42
- package/src/components/Links.astro +0 -20
- package/src/components/Paragraph.astro +0 -54
- package/src/components/Search.astro +0 -118
- package/src/components/Select.astro +0 -114
- package/src/components/Switch.astro +0 -81
- package/src/components/Tagline.astro +0 -49
- package/src/components/Textarea.astro +0 -78
- package/src/components/Toggle.astro +0 -45
- package/src/components/_Breadcrumb.astro +0 -58
- package/src/components/_Image.astro +0 -79
- package/src/components/_LocaleSwitcher.astro +0 -25
- package/src/content/config.ts +0 -18
- package/src/content/layouts/base.yml +0 -166
- package/src/content/pages/_base/toggle.mdx +0 -28
- package/src/content/pages/_posts/post.md +0 -7
- package/src/content/pages/_showcase/anti-slip-profiles.md +0 -5
- package/src/content/pages/_showcase/fulldev-ui.md +0 -5
- package/src/content/pages/_showcase/lavis-detailing.md +0 -5
- package/src/content/pages/_showcase/leren-trainingsacteren.md +0 -5
- package/src/content/pages/_showcase/miele-witgoedcenter-amsterdam.md +0 -5
- package/src/content/pages/_showcase/sloepverhuur-bolsward.md +0 -5
- package/src/content/pages/_showcase/stark-vulcanising-products.md +0 -4
- package/src/content/pages/_showcase/the-gym-haren.md +0 -5
- package/src/content/pages/_showcase/van-dillen-antieke-bouwmaterialen.md +0 -5
- package/src/content/pages/docs/blocks/_categories.mdx +0 -129
- package/src/content/pages/docs/blocks/_contact.mdx +0 -67
- package/src/content/pages/docs/blocks/_jobs.mdx +0 -34
- package/src/content/pages/docs/blocks/_posts.mdx +0 -45
- package/src/content/pages/docs/blocks/_stats.mdx +0 -32
- package/src/content/pages/docs/blocks/banner.mdx +0 -12
- package/src/content/pages/docs/blocks/colleagues.mdx +0 -49
- package/src/content/pages/docs/blocks/content.mdx +0 -316
- package/src/content/pages/docs/blocks/cta.mdx +0 -16
- package/src/content/pages/docs/blocks/features.mdx +0 -100
- package/src/content/pages/docs/blocks/footer.mdx +0 -46
- package/src/content/pages/docs/blocks/header.mdx +0 -60
- package/src/content/pages/docs/blocks/hero.mdx +0 -18
- package/src/content/pages/docs/blocks/intro.mdx +0 -16
- package/src/content/pages/docs/blocks/logos.mdx +0 -37
- package/src/content/pages/docs/blocks/projects.mdx +0 -36
- package/src/content/pages/docs/blocks/reviews.mdx +0 -65
- package/src/content/pages/docs/blocks.mdx +0 -52
- package/src/content/pages/docs/collections/images.mdx +0 -102
- package/src/content/pages/docs/collections/pages.mdx +0 -119
- package/src/content/pages/docs/collections/presets.mdx +0 -60
- package/src/content/pages/docs/components/_localeswitcher.mdx +0 -16
- package/src/content/pages/docs/components/_table.mdx +0 -101
- package/src/content/pages/docs/components/_tagline.mdx +0 -34
- package/src/content/pages/docs/components/_themer.mdx +0 -47
- package/src/content/pages/docs/components/_toggle.mdx +0 -30
- package/src/content/pages/docs/components/avatar.mdx +0 -32
- package/src/content/pages/docs/components/badge.mdx +0 -42
- package/src/content/pages/docs/components/badges.mdx +0 -33
- package/src/content/pages/docs/components/button.mdx +0 -76
- package/src/content/pages/docs/components/buttons.mdx +0 -50
- package/src/content/pages/docs/components/channel.mdx +0 -89
- package/src/content/pages/docs/components/channels.mdx +0 -90
- package/src/content/pages/docs/components/checkbox.mdx +0 -32
- package/src/content/pages/docs/components/heading.mdx +0 -49
- package/src/content/pages/docs/components/icon.mdx +0 -46
- package/src/content/pages/docs/components/image.mdx +0 -20
- package/src/content/pages/docs/components/input.mdx +0 -38
- package/src/content/pages/docs/components/label.mdx +0 -42
- package/src/content/pages/docs/components/link.mdx +0 -63
- package/src/content/pages/docs/components/links.mdx +0 -57
- package/src/content/pages/docs/components/list.mdx +0 -53
- package/src/content/pages/docs/components/logo.mdx +0 -24
- package/src/content/pages/docs/components/menu.mdx +0 -48
- package/src/content/pages/docs/components/paragraph.mdx +0 -44
- package/src/content/pages/docs/components/rating.mdx +0 -43
- package/src/content/pages/docs/components/select.mdx +0 -46
- package/src/content/pages/docs/components/social.mdx +0 -92
- package/src/content/pages/docs/components/socials.mdx +0 -103
- package/src/content/pages/docs/components/switch.mdx +0 -32
- package/src/content/pages/docs/components/tagline.mdx +0 -42
- package/src/content/pages/docs/components/textarea.mdx +0 -32
- package/src/content/pages/docs/components.mdx +0 -36
- package/src/content/pages/docs/customization.mdx +0 -183
- package/src/content/pages/docs/frameworks.mdx +0 -30
- package/src/content/pages/docs/index.mdx +0 -21
- package/src/content/pages/docs/installation.mdx +0 -30
- package/src/content/pages/docs/layouts/doc.mdx +0 -15
- package/src/content/pages/docs/layouts/page.mdx +0 -15
- package/src/content/pages/docs/pages.mdx +0 -130
- package/src/content/pages/docs/structures/_card.mdx +0 -84
- package/src/content/pages/docs/structures/_dialog.mdx +0 -15
- package/src/content/pages/docs/structures/_drawer.mdx +0 -15
- package/src/content/pages/docs/structures/card.mdx +0 -15
- package/src/content/pages/docs/structures/carousel.mdx +0 -14
- package/src/content/pages/docs/structures/code.mdx +0 -42
- package/src/content/pages/docs/structures/container.mdx +0 -15
- package/src/content/pages/docs/structures/drawer.mdx +0 -15
- package/src/content/pages/docs/structures/group.mdx +0 -15
- package/src/content/pages/docs/structures/layout.mdx +0 -15
- package/src/content/pages/docs/structures/masonry.mdx +0 -15
- package/src/content/pages/docs/structures/matrix.mdx +0 -15
- package/src/content/pages/docs/structures/panel.mdx +0 -15
- package/src/content/pages/docs/structures/prose.mdx +0 -33
- package/src/content/pages/docs/structures/section.mdx +0 -15
- package/src/content/pages/docs/structures/stack.mdx +0 -15
- package/src/content/pages/docs/structures/writeup.mdx +0 -15
- package/src/content/pages/docs/structures.mdx +0 -7
- package/src/content/pages/index.mdx +0 -52
- package/src/content/pages/showcase.mdx +0 -30
- package/src/css/custom.css +0 -24
- package/src/css/theme.css +0 -62
- package/src/env.d.ts +0 -3
- package/src/integration/index.ts +0 -185
- package/src/layouts/Page.astro +0 -64
- package/src/layouts/_Product.astro +0 -115
- package/src/pages/[...page].astro +0 -49
- package/src/pages/test.astro +0 -16
- package/src/schemas/badge.ts +0 -14
- package/src/schemas/block.ts +0 -42
- package/src/schemas/button.ts +0 -17
- package/src/schemas/card.ts +0 -43
- package/src/schemas/channel.ts +0 -15
- package/src/schemas/checkbox.ts +0 -13
- package/src/schemas/footer.ts +0 -17
- package/src/schemas/head.ts +0 -17
- package/src/schemas/image.ts +0 -53
- package/src/schemas/input.ts +0 -13
- package/src/schemas/link.ts +0 -14
- package/src/schemas/logo.ts +0 -13
- package/src/schemas/menu.ts +0 -11
- package/src/schemas/page.ts +0 -23
- package/src/schemas/proof.ts +0 -12
- package/src/schemas/textarea.ts +0 -11
- package/src/stores/cart.svelte.ts +0 -78
- package/src/stores/cart.ts +0 -76
- package/src/structures/Card.astro +0 -35
- package/src/structures/Carousel.astro +0 -106
- package/src/structures/Container.astro +0 -25
- package/src/structures/Drawer.astro +0 -81
- package/src/structures/Group.astro +0 -25
- package/src/structures/Layout.astro +0 -34
- package/src/structures/Masonry.astro +0 -42
- package/src/structures/Matrix.astro +0 -39
- package/src/structures/Panel.astro +0 -25
- package/src/structures/Prose.astro +0 -96
- package/src/structures/Section.astro +0 -26
- package/src/structures/Sidebar.astro +0 -36
- package/src/structures/Split.astro +0 -38
- package/src/structures/Stack.astro +0 -25
- package/src/structures/Writeup.astro +0 -67
- package/src/structures/_Bento.astro +0 -34
- package/src/utils/cart.ts +0 -27
- package/src/utils/getHref.ts +0 -6
- package/src/utils/slugify.ts +0 -6
- package/svelte.config.js +0 -5
- package/tailwind.config.ts +0 -72
- package/virtual.d.ts +0 -5
- /package/src/schemas/{path.ts → fields/path.ts} +0 -0
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Customization
|
|
4
|
-
description: Customize styles and components.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overriding styles
|
|
8
|
-
|
|
9
|
-
While fulldev-ui outputs 100% vanilla CSS, it is also fully compatible with [TailwindCSS](https://tailwindcss.com/) and [Shadcn/ui](https://ui.shadcn.com/).
|
|
10
|
-
|
|
11
|
-
### Using CSS variables
|
|
12
|
-
|
|
13
|
-
###### Default colors for backgrounds and text
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
--background: 0 0% 100%;
|
|
17
|
-
--foreground: 222.2 47.4% 11.2%;
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
###### Used for muted backgrounds and text
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
--muted: 210 40% 96.1%;
|
|
24
|
-
--muted-foreground: 215.4 16.3% 46.9%;
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
###### Used for `<Card/>` and other panels
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
--card: 0 0% 100%;
|
|
31
|
-
--card-foreground: 222.2 47.4% 11.2%;
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
###### Default border color
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
--border: 214.3 31.8% 91.4%;
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
###### Border color for inputs such as `<Input />`, `<Select />`, `<Textarea />`
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
--input: 214.3 31.8% 91.4%;
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
###### Primary colors for `<Button/>`
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
--primary: 222.2 47.4% 11.2%;
|
|
50
|
-
--primary-foreground: 210 40% 98%;
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
###### Secondary colors for `<Button/>`
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
--secondary: 210 40% 96.1%;
|
|
57
|
-
--secondary-foreground: 222.2 47.4% 11.2%;
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
###### Accent colors ghost and outline `<Button/>`
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
--accent: 210 40% 96.1%;
|
|
64
|
-
--accent-foreground: 222.2 47.4% 11.2%;
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
###### Used for focus ring
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
--ring: 215 20.2% 65.1%;
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
###### Border radius for cards, panels, input and buttons
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
--radius: 0.5rem;
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
#### Dark mode
|
|
80
|
-
|
|
81
|
-
Dark mode colors can be customized by adding them within the `.dark` class:
|
|
82
|
-
|
|
83
|
-
```css
|
|
84
|
-
:root {
|
|
85
|
-
/* Regular color go here */
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.dark {
|
|
89
|
-
/* Dark mode colors go here */
|
|
90
|
-
}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
### Using vanilla CSS
|
|
94
|
-
|
|
95
|
-
Components use simple CSS classes that match their names. For example:
|
|
96
|
-
|
|
97
|
-
- `<Button/>` uses the class `.button`
|
|
98
|
-
- `<Button variant="secondary"/>` adds `.variant-secondary`
|
|
99
|
-
- `<Heading muted/>` adds `.muted`
|
|
100
|
-
|
|
101
|
-
You can then simply override the styles in your own CSS file like this:
|
|
102
|
-
|
|
103
|
-
The plugin [postcss-nesting](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting) is pre-installed so you can use the `&` operator to nest your styles.
|
|
104
|
-
|
|
105
|
-
```astro live
|
|
106
|
-
---
|
|
107
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
108
|
-
---
|
|
109
|
-
|
|
110
|
-
<Button>Button</Button>
|
|
111
|
-
<Button variant="secondary">Secondary</Button>
|
|
112
|
-
|
|
113
|
-
<style is:global>
|
|
114
|
-
.button {
|
|
115
|
-
border-radius: 999px;
|
|
116
|
-
|
|
117
|
-
&.variant-secondary {
|
|
118
|
-
border: 1px solid hsl(var(--primary));
|
|
119
|
-
background-color: transparent;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
</style>
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### Using Tailwind classes
|
|
126
|
-
|
|
127
|
-
Tailwind is pre-installed. You don't have to use it, but you can.
|
|
128
|
-
|
|
129
|
-
```astro live
|
|
130
|
-
---
|
|
131
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
132
|
-
---
|
|
133
|
-
|
|
134
|
-
<Button class="rounded-full">Button</Button>
|
|
135
|
-
<Button variant="secondary" class="border border-primary bg-transparent">
|
|
136
|
-
Secondary
|
|
137
|
-
</Button>
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Using Tailwind @apply
|
|
141
|
-
|
|
142
|
-
```astro live
|
|
143
|
-
---
|
|
144
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
<Button>Button</Button>
|
|
148
|
-
<Button variant="secondary"> Secondary </Button>
|
|
149
|
-
|
|
150
|
-
<style>
|
|
151
|
-
.button {
|
|
152
|
-
@apply rounded-full;
|
|
153
|
-
|
|
154
|
-
&.variant-secondary {
|
|
155
|
-
@apply border border-primary bg-transparent;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
</style>
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
## Overriding components
|
|
162
|
-
|
|
163
|
-
All components can be overridden by defining a new path in the integration:
|
|
164
|
-
|
|
165
|
-
```ts
|
|
166
|
-
// astro.config.ts
|
|
167
|
-
import { defineConfig } from 'astro/config'
|
|
168
|
-
import fulldev from 'fulldev-ui/integration'
|
|
169
|
-
|
|
170
|
-
export default defineConfig({
|
|
171
|
-
integrations: [
|
|
172
|
-
fulldev({
|
|
173
|
-
override: {
|
|
174
|
-
Button: 'src/components/Button.astro',
|
|
175
|
-
},
|
|
176
|
-
}),
|
|
177
|
-
],
|
|
178
|
-
})
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
Everywhere where the `Button` component is imported, the new component will be used instead.
|
|
182
|
-
|
|
183
|
-
This not only works for .astro files, but for all files in the entire library. Please check the [repository](https://github.com/fulldotdev/ui) to see what you can override.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Integrating frameworks
|
|
4
|
-
description: Compatible with all JS and CSS frameworks.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Svelte, Vue React, etc.
|
|
8
|
-
|
|
9
|
-
While fulldev-ui is built with Tailwind CSS internally, all styles are converted to regular CSS classes using the `@apply` directive. This means all component styles are available globally through standard CSS classes.
|
|
10
|
-
|
|
11
|
-
You can use these component classes (like `button`, `variant-primary`, etc.) directly in any framework (Svelte, Vue, React, and all other frameworks), similar to how you would use other CSS frameworks like DaisyUI.
|
|
12
|
-
|
|
13
|
-
```astro live
|
|
14
|
-
---
|
|
15
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
<button class="button size-md variant-primary">Button</button>
|
|
19
|
-
<Button>Button</Button>
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Shadcn/ui
|
|
23
|
-
|
|
24
|
-
As detailed in the [customization documentation](/overview/customization/), Fulldev UI shares the same styling variables as Shadcn/ui, ensuring complete compatibility between the two libraries.
|
|
25
|
-
|
|
26
|
-
This means you can seamlessly integrate Shadcn/ui components alongside Fulldev UI components while maintaining consistent styling and behavior.
|
|
27
|
-
|
|
28
|
-
## TailwindCSS
|
|
29
|
-
|
|
30
|
-
TailwindCSS comes pre-installed. You don't have to use it, but you can if you want to.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Introduction
|
|
4
|
-
description: Everything you need to rapidly build content-driven websites. Components, blocks, layouts and complete page generation.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Why we built it
|
|
8
|
-
|
|
9
|
-
After repeatedly encountering the same challenges in [our company's](https://full.dev) client projects, we decided to build this library. After successfully using it in production websites, we decided to open-source it to help others facing similar problems.
|
|
10
|
-
|
|
11
|
-
## Some features
|
|
12
|
-
|
|
13
|
-
- Built entirely with Astro components
|
|
14
|
-
- Outputs vanilla CSS, html and minimal JavaScript
|
|
15
|
-
- Compatible with all JS frameworks
|
|
16
|
-
- Compatible with Tailwind and Shadcn/ui
|
|
17
|
-
- Integrates with [content collections](https://docs.astro.build/en/guides/content-collections/)
|
|
18
|
-
- Blocks included, like Hero, CTA and Features
|
|
19
|
-
- Layouts included, like Docs, Post and Product
|
|
20
|
-
- Automatically generated pages
|
|
21
|
-
- And more...
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Installation
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
import Link from 'fulldev-ui/components/Link.astro'
|
|
7
|
-
|
|
8
|
-
Run any of the following commands to add fulldev-ui to your dependencies.
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
npm i fulldev-ui
|
|
12
|
-
# or
|
|
13
|
-
pnpm i fulldev-ui
|
|
14
|
-
# or
|
|
15
|
-
yarn add fulldev-ui
|
|
16
|
-
# or
|
|
17
|
-
bun add fulldev-ui
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Add the integration to your `astro.config.ts` file.
|
|
21
|
-
|
|
22
|
-
```ts
|
|
23
|
-
// astro.config.ts
|
|
24
|
-
import { defineConfig } from 'astro/config'
|
|
25
|
-
import fulldev from 'fulldev-ui/integration'
|
|
26
|
-
|
|
27
|
-
export default defineConfig({
|
|
28
|
-
integrations: [fulldev()],
|
|
29
|
-
})
|
|
30
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Doc
|
|
4
|
-
description: For documentation pages, just like this one.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please try it in your own project for now.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Page
|
|
4
|
-
description: For marketing pages, just like the home page.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please try it in your own project for now.
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Generating Pages
|
|
4
|
-
description: Go a step further than just using components.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Link from 'fulldev-ui/components/Link.astro'
|
|
8
|
-
|
|
9
|
-
# Generating Pages
|
|
10
|
-
|
|
11
|
-
With our integration, you can generate pages using content files with type-safe frontmatter, minimal configuration, and an easy-to-understand project structure.
|
|
12
|
-
|
|
13
|
-
## Starter Template
|
|
14
|
-
|
|
15
|
-
This is the recommended way to get started with our content layer integration. We've created a <Link href="https://github.com/fulldotdev/starter/tree/main">starter template</Link> with examples of everything you need to get started. This instantly gives you access to generating pages, using presets, internationalization and more without any additional setup.
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
pnpm create astro@latest -- --template fulldotdev/starter
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Manual Setup
|
|
22
|
-
|
|
23
|
-
To get started with the manual setup, you need to install the <Link href="/overview/installation/">integration</Link> and add `injectRoutes: true` to your `astro.config.ts` file, see <Link href="#type-safe-frontmatter">frontmatter</Link> below for more information on how this generates a site using content files.
|
|
24
|
-
|
|
25
|
-
```ts
|
|
26
|
-
import { defineConfig } from 'astro/config'
|
|
27
|
-
import fulldev from 'fulldev-ui/integration'
|
|
28
|
-
|
|
29
|
-
// https://astro.build/config
|
|
30
|
-
export default defineConfig({
|
|
31
|
-
integrations: [
|
|
32
|
-
fulldev({
|
|
33
|
-
// other options
|
|
34
|
-
injectRoutes: true,
|
|
35
|
-
}),
|
|
36
|
-
],
|
|
37
|
-
})
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
`injectRoutes` reads your content files and generates routes for them in the generated site. Supporting file types like markdown and MDX.
|
|
41
|
-
|
|
42
|
-
## Project Structure
|
|
43
|
-
|
|
44
|
-
To start with, your project structure should look like this:
|
|
45
|
-
|
|
46
|
-
```md
|
|
47
|
-
.
|
|
48
|
-
├── src/
|
|
49
|
-
│ ├── blocks/
|
|
50
|
-
│ │ └── ...
|
|
51
|
-
│ ├── components/
|
|
52
|
-
│ │ └── ...
|
|
53
|
-
│ ├── layouts/
|
|
54
|
-
│ │ └── ...
|
|
55
|
-
│ ├── images/
|
|
56
|
-
│ │ └── ...
|
|
57
|
-
│ ├── content/
|
|
58
|
-
│ │ ├── pages/
|
|
59
|
-
│ │ │ └── ...
|
|
60
|
-
│ │ ├── presets/
|
|
61
|
-
│ │ │ ├── base.yml
|
|
62
|
-
│ │ │ └── ...
|
|
63
|
-
│ │ └── ...
|
|
64
|
-
│ ├── css/
|
|
65
|
-
│ │ ├── custom.css
|
|
66
|
-
│ │ └── ...
|
|
67
|
-
├── public/
|
|
68
|
-
│ └── ...
|
|
69
|
-
└──
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Creating a page
|
|
73
|
-
|
|
74
|
-
Creating a page is as simple as creating a new file in the **src/content/pages** directory.
|
|
75
|
-
|
|
76
|
-
For example,
|
|
77
|
-
|
|
78
|
-
- **src/content/pages/index.mdx** will be the root of your site.
|
|
79
|
-
- **src/content/pages/about.mdx** will appear at /about.
|
|
80
|
-
- **src/content/pages/team/first-name.mdx** will appear at /team/first-name.
|
|
81
|
-
|
|
82
|
-
### Using presets
|
|
83
|
-
|
|
84
|
-
Presets are a way to apply a set of configurations to a page. This can be apply navigation settings, seo and more.
|
|
85
|
-
|
|
86
|
-
To learn more about presets, see the <Link href="/guides/using-presets/">using presets</Link> guide.
|
|
87
|
-
|
|
88
|
-
### Using layouts
|
|
89
|
-
|
|
90
|
-
Layouts are a way to apply styles to a page. Used for having multiple layouts like a blog layout, documentation layout, etc.
|
|
91
|
-
|
|
92
|
-
To learn more about layouts, see the <Link href="/guides/using-layouts/">using layouts</Link> guide.
|
|
93
|
-
|
|
94
|
-
### Frontmatter
|
|
95
|
-
|
|
96
|
-
Each file has a few frontmatter objects that are important to know about. The frontmatter is fully type-safe, so you will know if you use an unavailable option or mistype something. SEO has priority over title and description, however title and description are used in multiple places like cards so they remain important.
|
|
97
|
-
|
|
98
|
-
```yml
|
|
99
|
-
---
|
|
100
|
-
preset: [docs]
|
|
101
|
-
component: DocsLayout
|
|
102
|
-
|
|
103
|
-
seo:
|
|
104
|
-
title: Page Title
|
|
105
|
-
description: This is my page description
|
|
106
|
-
image: /image.jpg # Open Graph Image
|
|
107
|
-
|
|
108
|
-
# Information on the page, this is used in places like card, sidebar, etc.
|
|
109
|
-
title: Page Title
|
|
110
|
-
description: This is my page description
|
|
111
|
-
|
|
112
|
-
sections: # Here you generate the page by adding a component and passing props
|
|
113
|
-
- component: Hero
|
|
114
|
-
heading: Page Title
|
|
115
|
-
text: This is my page description
|
|
116
|
-
buttons:
|
|
117
|
-
- text: Button
|
|
118
|
-
color: brand
|
|
119
|
-
href: /
|
|
120
|
-
- text: Button
|
|
121
|
-
href: /
|
|
122
|
-
---
|
|
123
|
-
# This is the prose, you can use markdown here, typically used for blogs, docs, etc.
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
For all objects avaliable in the frontmatter, see the <Link href="https://ui.full.dev/content-collections/pages/">pages collection</Link>.
|
|
127
|
-
|
|
128
|
-
## Using custom components
|
|
129
|
-
|
|
130
|
-
You can use custom components simply creating them in the **src/components**, **src/blocks** or **src/layouts** directory. You can then use those in the component property of the frontmatter. If you want to override a component from the library, see the [overriding components](/guides/overriding-components/) guide.
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Card
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Card
|
|
7
|
-
|
|
8
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
|
-
|
|
10
|
-
```astro live
|
|
11
|
-
---
|
|
12
|
-
import Card from 'fulldev-ui/structures/Card.astro'
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
<Card
|
|
16
|
-
heading="Lorem ipsum dolor"
|
|
17
|
-
paragraph="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
18
|
-
/>
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Props
|
|
22
|
-
|
|
23
|
-
<Props />
|
|
24
|
-
|
|
25
|
-
## Examples
|
|
26
|
-
|
|
27
|
-
```astro live
|
|
28
|
-
---
|
|
29
|
-
import Card from 'fulldev-ui/structures/Card.astro'
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
<Card
|
|
33
|
-
size="sm"
|
|
34
|
-
heading="Lorem ipsum dolor"
|
|
35
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
36
|
-
/>
|
|
37
|
-
|
|
38
|
-
<Card
|
|
39
|
-
panel={false}
|
|
40
|
-
size="sm"
|
|
41
|
-
heading="Lorem ipsum dolor"
|
|
42
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
43
|
-
/>
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
```astro live
|
|
47
|
-
---
|
|
48
|
-
import Card from 'fulldev-ui/structures/Card.astro'
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
<Card
|
|
52
|
-
size="sm"
|
|
53
|
-
heading="Lorem ipsum dolor"
|
|
54
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
55
|
-
/>
|
|
56
|
-
|
|
57
|
-
<Card
|
|
58
|
-
size="md"
|
|
59
|
-
heading="Lorem ipsum dolor"
|
|
60
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
61
|
-
/>
|
|
62
|
-
|
|
63
|
-
<Card
|
|
64
|
-
size="lg"
|
|
65
|
-
heading="Lorem ipsum dolor"
|
|
66
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
67
|
-
/>
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
```astro live
|
|
71
|
-
---
|
|
72
|
-
import Card from 'fulldev-ui/structures/Card.astro'
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
<Card
|
|
76
|
-
heading="Lorem ipsum dolor"
|
|
77
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
78
|
-
/>
|
|
79
|
-
|
|
80
|
-
<Card
|
|
81
|
-
heading="Lorem ipsum dolor"
|
|
82
|
-
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
83
|
-
/>
|
|
84
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Dialog
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
```astro live
|
|
7
|
-
---
|
|
8
|
-
import Dialog from 'fulldev-ui/components/Dialog.astro'
|
|
9
|
-
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
<Dialog label="Open Dialog">
|
|
13
|
-
<Heading>Hello, World!</Heading>
|
|
14
|
-
</Dialog>
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Drawer
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
```astro live
|
|
7
|
-
---
|
|
8
|
-
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
9
|
-
import Drawer from 'fulldev-ui/structures/Drawer.astro'
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
<Drawer label="Open Drawer">
|
|
13
|
-
<Heading>Hello, World!</Heading>
|
|
14
|
-
</Drawer>
|
|
15
|
-
```
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Card
|
|
4
|
-
description: A box with a border, padding and rounded corners
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please reference the blocks for examples on how to use the wrapper components.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Code
|
|
4
|
-
description: Enhanced code component with live preview.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
import Code from 'fulldev-ui/structures/Code.astro'
|
|
9
|
-
|
|
10
|
-
```astro live
|
|
11
|
-
<h1>I'm a live preview</h1>
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Usage in html
|
|
15
|
-
|
|
16
|
-
Use it in the same way as the native Astro `<Code/>` component, which is documented [here](https://docs.astro.build/en/reference/components-reference/#code-).
|
|
17
|
-
|
|
18
|
-
The following code will translate to the example at the top of this page:
|
|
19
|
-
|
|
20
|
-
```astro
|
|
21
|
-
---
|
|
22
|
-
import Code from 'fulldev-ui/structures/Code.astro'
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
<Code code={`<h1>I'm a live preview</h1>`} />
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Will render as:
|
|
29
|
-
|
|
30
|
-
<Code code={`<h1>I'm a live preview</h1>`} />
|
|
31
|
-
|
|
32
|
-
## Usage in markdown
|
|
33
|
-
|
|
34
|
-
Thanks to [this great plugin](https://github.com/mattjennings/astro-live-code) you can also use it directly in markdown files.
|
|
35
|
-
|
|
36
|
-
The following code will translate to the example at the top of this page:
|
|
37
|
-
|
|
38
|
-
````html
|
|
39
|
-
```astro live
|
|
40
|
-
<h1>I'm a live preview</h1>
|
|
41
|
-
```
|
|
42
|
-
````
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Container
|
|
4
|
-
description: Sets a max-width, padding and centers the content
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please reference the blocks for examples on how to use the wrapper components.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Drawer
|
|
4
|
-
description: A panel that slides out from the side of the screen
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please reference the Header blocks for examples on how to use the wrapper components.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Group
|
|
4
|
-
description: Group buttons and similar components
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please reference the blocks for examples on how to use the wrapper components.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
_block: Content7
|
|
3
|
-
title: Container
|
|
4
|
-
description: Sets a head, body and some base styles
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
8
|
-
|
|
9
|
-
## Props
|
|
10
|
-
|
|
11
|
-
<Props />
|
|
12
|
-
|
|
13
|
-
## Examples
|
|
14
|
-
|
|
15
|
-
Please reference the layouts for examples on how to use the wrapper components.
|