fulldev-ui 0.6.0-beta.7 → 0.6.0-beta.9
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/.vscode/settings.json +2 -0
- package/astro.config.ts +1 -3
- package/cloudcannon.config.yml +22 -59
- package/package.json +1 -1
- package/src/blocks/Banner.astro +3 -3
- package/src/blocks/Colleagues1.astro +16 -16
- package/src/blocks/Contact1.astro +5 -10
- package/src/blocks/Content1.astro +22 -39
- package/src/blocks/Content2.astro +21 -45
- package/src/blocks/Content3.astro +36 -31
- package/src/blocks/Content4.astro +28 -35
- package/src/blocks/Content5.astro +72 -0
- package/src/blocks/Cta1.astro +6 -6
- package/src/blocks/Features1.astro +9 -5
- package/src/blocks/Footer.astro +13 -5
- package/src/blocks/Header.astro +19 -15
- package/src/blocks/Hero1.astro +8 -5
- package/src/blocks/Industries1.astro +86 -0
- package/src/blocks/Intro1.astro +7 -9
- package/src/blocks/Jobs1.astro +28 -24
- package/src/blocks/Logos1.astro +4 -4
- package/src/blocks/Products1.astro +4 -4
- package/src/blocks/Projects1.astro +103 -0
- package/src/blocks/Reviews1.astro +9 -7
- package/src/{components → blocks}/Subheader.astro +1 -2
- package/src/components/Badge.astro +8 -20
- package/src/components/Badges.astro +3 -3
- package/src/components/Block.astro +1 -1
- package/src/components/Button.astro +9 -18
- package/src/components/Cart.astro +6 -6
- package/src/components/CartSummary.astro +1 -0
- package/src/components/Channel.astro +9 -3
- package/src/components/Channels.astro +11 -42
- package/src/components/Checkbox.astro +8 -14
- package/src/components/Element.astro +2 -1
- package/src/components/Form.astro +1 -2
- package/src/components/Gallery.astro +6 -5
- package/src/components/Head.astro +14 -4
- package/src/components/Heading.astro +21 -17
- package/src/components/Icon.astro +2 -3
- package/src/components/Image.astro +6 -2
- package/src/components/Input.astro +11 -14
- package/src/components/Label.astro +6 -6
- package/src/components/Link.astro +13 -16
- package/src/components/Links.astro +1 -2
- package/src/components/List.astro +3 -5
- package/src/components/Logo.astro +9 -16
- package/src/components/Menu.astro +7 -3
- package/src/components/Paragraph.astro +6 -7
- package/src/components/Price.astro +1 -4
- package/src/components/Rating.astro +4 -2
- package/src/components/Search.astro +1 -6
- package/src/components/Select.astro +3 -4
- package/src/components/Sidebar.astro +6 -6
- package/src/components/Social.astro +3 -1
- package/src/components/Socials.astro +18 -34
- package/src/components/Switch.astro +4 -69
- package/src/components/Table.astro +2 -3
- package/src/components/Tagline.astro +6 -7
- package/src/components/Textarea.astro +5 -5
- package/src/components/Themer.astro +3 -3
- package/src/components/Toc.astro +7 -11
- package/src/components/Toggle.astro +45 -0
- package/src/components/{Breadcrumb.astro → _Breadcrumb.astro} +3 -3
- package/src/components/_Image.astro +2 -2
- package/src/components/docs/Props.astro +21 -0
- package/src/content/layouts/base.yml +131 -19
- package/src/content/pages/base/toggle.mdx +28 -0
- package/src/content/pages/{blocks → docs/blocks}/banner.mdx +1 -0
- package/src/content/pages/docs/blocks/colleagues.mdx +49 -0
- package/src/content/pages/docs/blocks/content.mdx +155 -0
- package/src/content/pages/docs/blocks/cta.mdx +16 -0
- package/src/content/pages/docs/blocks/feature.mdx +17 -0
- package/src/content/pages/docs/blocks/features.mdx +35 -0
- package/src/content/pages/docs/blocks/footer.mdx +46 -0
- package/src/content/pages/docs/blocks/header.mdx +60 -0
- package/src/content/pages/docs/blocks/hero.mdx +18 -0
- package/src/content/pages/docs/blocks/intro.mdx +16 -0
- package/src/content/pages/docs/blocks/logos.mdx +37 -0
- package/src/content/pages/docs/blocks/projects.mdx +36 -0
- package/src/content/pages/docs/blocks/reviews.mdx +65 -0
- package/src/content/pages/docs/blocks.mdx +45 -20
- package/src/content/pages/docs/collections/pages.mdx +2 -2
- package/src/content/pages/docs/components/{table.mdx → _table.mdx} +2 -4
- package/src/content/pages/docs/components/{themer.mdx → _themer.mdx} +2 -4
- package/src/content/pages/docs/components/_toggle.mdx +2 -2
- package/src/content/pages/docs/components/badge.mdx +2 -4
- package/src/content/pages/docs/components/badges.mdx +3 -4
- package/src/content/pages/docs/components/button.mdx +2 -4
- package/src/content/pages/docs/components/buttons.mdx +3 -4
- package/src/content/pages/docs/components/channel.mdx +2 -4
- package/src/content/pages/docs/components/channels.mdx +3 -2
- package/src/content/pages/docs/components/checkbox.mdx +2 -4
- package/src/content/pages/docs/components/heading.mdx +11 -21
- package/src/content/pages/docs/components/icon.mdx +2 -4
- package/src/content/pages/docs/components/image.mdx +3 -9
- package/src/content/pages/docs/components/input.mdx +2 -4
- package/src/content/pages/docs/components/label.mdx +2 -4
- package/src/content/pages/docs/components/link.mdx +2 -4
- package/src/content/pages/docs/components/links.mdx +3 -4
- package/src/content/pages/docs/components/list.mdx +2 -4
- package/src/content/pages/docs/components/logo.mdx +9 -21
- package/src/content/pages/docs/components/menu.mdx +20 -48
- package/src/content/pages/docs/components/paragraph.mdx +44 -0
- package/src/content/pages/docs/components/rating.mdx +9 -42
- package/src/content/pages/docs/components/select.mdx +2 -4
- package/src/content/pages/docs/components/social.mdx +2 -4
- package/src/content/pages/docs/components/socials.mdx +3 -2
- package/src/content/pages/docs/components/switch.mdx +2 -4
- package/src/content/pages/docs/components/tagline.mdx +2 -6
- package/src/content/pages/docs/components/textarea.mdx +2 -4
- package/src/content/pages/docs/components.mdx +3 -4
- package/src/content/pages/docs/customization.mdx +52 -20
- package/src/content/pages/docs/frameworks.mdx +12 -11
- package/src/content/pages/docs/index.mdx +3 -2
- package/src/content/pages/docs/installation.mdx +9 -6
- package/src/content/pages/docs/layouts/doc.mdx +15 -0
- package/src/content/pages/docs/layouts/page.mdx +15 -0
- package/src/content/pages/docs/layouts.mdx +66 -19
- package/src/content/pages/docs/{generating-pages.mdx → pages.mdx} +1 -0
- package/src/content/pages/docs/{components → structures}/_card.mdx +6 -6
- package/src/content/pages/docs/{components → structures}/_drawer.mdx +1 -1
- package/src/content/pages/docs/structures/card.mdx +15 -0
- package/src/content/pages/docs/{components → structures}/code.mdx +4 -7
- package/src/content/pages/docs/structures/container.mdx +15 -0
- package/src/content/pages/docs/structures/drawer.mdx +15 -0
- package/src/content/pages/docs/structures/group.mdx +15 -0
- package/src/content/pages/docs/structures/layout.mdx +15 -0
- package/src/content/pages/docs/structures/masonry.mdx +15 -0
- package/src/content/pages/docs/structures/matrix.mdx +15 -0
- package/src/content/pages/docs/structures/panel.mdx +15 -0
- package/src/content/pages/docs/{components → structures}/prose.mdx +3 -6
- package/src/content/pages/docs/structures/section.mdx +15 -0
- package/src/content/pages/docs/structures/stack.mdx +15 -0
- package/src/content/pages/docs/structures/writeup.mdx +15 -0
- package/src/content/pages/docs/structures.mdx +7 -0
- package/src/content/pages/index.mdx +7 -4
- package/src/content/pages/showcase.mdx +1 -4
- package/src/css/theme.css +9 -42
- package/src/integration/index.ts +1 -1
- package/src/layouts/Block.astro +81 -0
- package/src/layouts/Category.astro +6 -6
- package/src/layouts/Doc.astro +50 -24
- package/src/layouts/Job.astro +5 -5
- package/src/layouts/Jobs.astro +14 -14
- package/src/layouts/Page.astro +4 -4
- package/src/layouts/Post.astro +7 -6
- package/src/layouts/Product.astro +3 -2
- package/src/schemas/badge.ts +14 -0
- package/src/schemas/block.ts +58 -0
- package/src/schemas/{components/button.ts → button.ts} +3 -7
- package/src/schemas/channel.ts +14 -0
- package/src/schemas/checkbox.ts +13 -0
- package/src/schemas/footer.ts +17 -0
- package/src/schemas/{components/head.ts → head.ts} +5 -5
- package/src/schemas/header.ts +21 -0
- package/src/schemas/{components/image.ts → image.ts} +22 -9
- package/src/schemas/input.ts +13 -0
- package/src/schemas/link.ts +14 -0
- package/src/schemas/logo.ts +13 -0
- package/src/schemas/menu.ts +11 -0
- package/src/schemas/page.ts +11 -14
- package/src/schemas/{utils/pathSchema.ts → path.ts} +1 -1
- package/src/schemas/textarea.ts +11 -0
- package/src/{components → structures}/Card.astro +5 -1
- package/src/{components → structures}/Code.astro +7 -6
- package/src/{components → structures}/Container.astro +1 -1
- package/src/{components → structures}/Drawer.astro +4 -4
- package/src/{components → structures}/Layout.astro +2 -3
- package/src/structures/Matrix.astro +39 -0
- package/src/{components → structures}/Prose.astro +17 -6
- package/src/structures/Sidebar.astro +37 -0
- package/src/{components → structures}/Stack.astro +1 -1
- package/src/{components → structures}/Writeup.astro +9 -1
- package/src/structures/_Bento.astro +34 -0
- package/src/utils/cart.ts +1 -1
- package/tailwind.config.ts +5 -7
- package/tsconfig.json +3 -1
- package/public/favicon/favicon-16x16-dark.png +0 -0
- package/public/favicon/favicon-32x32-dark.png +0 -0
- package/public/favicon/favicon-48x48-dark.png +0 -0
- package/public/favicon/favicon-dark.ico +0 -0
- package/src/blocks/Feature1.astro +0 -61
- package/src/components/Avatar.astro +0 -45
- package/src/components/Avatars.astro +0 -36
- package/src/components/Cards.astro +0 -133
- package/src/components/Dialog.astro +0 -67
- package/src/components/DrawerOld.astro +0 -143
- package/src/components/Grid.astro +0 -39
- package/src/components/Header.astro +0 -32
- package/src/components/Navigation.astro +0 -39
- package/src/components/_Author.astro +0 -90
- package/src/components/_Header.astro +0 -129
- package/src/components/_Prose copy.astro +0 -172
- package/src/components/_Sidebar copy.astro +0 -87
- package/src/components/docs/DecorativeBox.astro +0 -15
- package/src/components/docs/PropsTable.astro +0 -49
- package/src/components/experimental/Video.astro +0 -32
- package/src/components/experimental/Window.astro +0 -122
- package/src/content/pages/blocks/_footer.mdx +0 -75
- package/src/content/pages/blocks/_header.mdx +0 -183
- package/src/content/pages/blocks/_prices.mdx +0 -122
- package/src/content/pages/blocks/_product.mdx +0 -97
- package/src/content/pages/blocks/_products.mdx +0 -52
- package/src/content/pages/blocks/colleagues.mdx +0 -37
- package/src/content/pages/blocks/content.mdx +0 -77
- package/src/content/pages/blocks/cta.mdx +0 -159
- package/src/content/pages/blocks/features.mdx +0 -128
- package/src/content/pages/blocks/hero.mdx +0 -94
- package/src/content/pages/blocks/intro.mdx +0 -124
- package/src/content/pages/blocks/reviews.mdx +0 -251
- package/src/content/pages/categories/category.md +0 -7
- package/src/content/pages/docs/_internationalization.mdx +0 -55
- package/src/content/pages/docs/_using-blocks.mdx +0 -33
- package/src/content/pages/docs/_using-presets.mdx +0 -49
- package/src/content/pages/docs/collections.mdx +0 -42
- package/src/content/pages/docs/components/_switch.mdx +0 -31
- package/src/content/pages/docs/components/avatar.mdx +0 -34
- package/src/content/pages/docs/components/section.mdx +0 -35
- package/src/content/pages/docs/components/text.mdx +0 -48
- package/src/content/pages/products/product.md +0 -20
- package/src/css/color.css +0 -76
- package/src/css/size.css +0 -131
- package/src/images/favicon/android-chrome-192x192.png +0 -0
- package/src/images/favicon/android-chrome-512x512.png +0 -0
- package/src/images/favicon/apple-touch-icon.png +0 -0
- package/src/images/favicon/browserconfig.xml +0 -9
- package/src/images/favicon/favicon-16x16.png +0 -0
- package/src/images/favicon/favicon-32x32.png +0 -0
- package/src/images/favicon/favicon-48x48.png +0 -0
- package/src/images/favicon/favicon.ico +0 -0
- package/src/images/favicon/favicon.svg +0 -16
- package/src/images/favicon/manifest.webmanifest +0 -30
- package/src/images/favicon/mstile-150x150.png +0 -0
- package/src/images/favicon/safari-pinned-tab.svg +0 -16
- package/src/images/favicon/yandex-browser-50x50.png +0 -0
- package/src/images/favicon/yandex-browser-manifest.json +0 -9
- package/src/pages/test.astro +0 -35
- package/src/schemas/components/avatar.ts +0 -6
- package/src/schemas/components/badge.ts +0 -18
- package/src/schemas/components/block.ts +0 -61
- package/src/schemas/components/channel.ts +0 -19
- package/src/schemas/components/footer.ts +0 -19
- package/src/schemas/components/header.ts +0 -23
- package/src/schemas/components/heading.ts +0 -9
- package/src/schemas/components/icon.ts +0 -9
- package/src/schemas/components/link.ts +0 -17
- package/src/schemas/components/logo.ts +0 -13
- package/src/schemas/components/menu.ts +0 -14
- package/src/schemas/components/navigation.ts +0 -10
- package/src/schemas/components/paragraph.ts +0 -9
- package/src/schemas/components/price.ts +0 -9
- package/src/schemas/components/rating.ts +0 -10
- package/src/schemas/components/sidebar.ts +0 -18
- package/src/schemas/components/social.ts +0 -18
- package/src/schemas/components/tagline.ts +0 -9
- package/src/schemas/imageSchema.ts +0 -41
- package/src/schemas/utils/component.ts +0 -17
- package/src/types/global-props.ts +0 -7
- package/src/utils/_archive/Childmorphic.ts +0 -8
- package/src/utils/_archive/getAllCollections.ts +0 -10
- package/src/utils/_archive/getCollectionCascade.ts +0 -33
- package/src/utils/_archive/getPathname.ts +0 -18
- package/src/utils/_archive/mergeEntries.ts +0 -28
- package/src/utils/_archive/staticPageSchema.ts +0 -124
- package/src/utils/_archive/transform/transform.ts +0 -25
- package/src/utils/_archive/transform/transformCasing.ts +0 -24
- package/src/utils/_archive/transform/transformReferences.ts +0 -54
- package/src/utils/_archive/transform/transformSelfs.ts +0 -20
- package/src/utils/_archive/transform/transformUnderscores.ts +0 -19
- package/src/utils/formatEntries.ts +0 -8
- package/src/utils/formatEntry.ts +0 -29
- package/src/utils/getDeepReferenceChildren.ts +0 -14
- package/src/utils/getFolderChildren.ts +0 -18
- package/src/utils/getReferenceChildren.ts +0 -14
- package/src/utils/getSiblingPages.ts +0 -14
- package/src/utils/setTheme.ts +0 -18
- /package/{src → public}/images/anti-slip-profiles.webp +0 -0
- /package/{src → public}/images/avatar-1.jpeg +0 -0
- /package/{src → public}/images/avatar-2.jpeg +0 -0
- /package/{src → public}/images/avatar-3.jpeg +0 -0
- /package/{src → public}/images/avatar-4.jpeg +0 -0
- /package/{src → public}/images/avatar-placeholder.jpg +0 -0
- /package/{src → public}/images/block-code.png +0 -0
- /package/{src → public}/images/component-code.png +0 -0
- /package/{src → public}/images/favicon.svg +0 -0
- /package/{src → public}/images/fulldev-ui.webp +0 -0
- /package/{src → public}/images/lavis-detailing.webp +0 -0
- /package/{src → public}/images/leren-trainingsacteren.webp +0 -0
- /package/{src → public}/images/logo-1.svg +0 -0
- /package/{src → public}/images/logo-2.svg +0 -0
- /package/{src → public}/images/logo-basic.svg +0 -0
- /package/{src → public}/images/logo-simple.svg +0 -0
- /package/{src → public}/images/logo-thin.svg +0 -0
- /package/{src → public}/images/logo.svg +0 -0
- /package/{src → public}/images/logofat.svg +0 -0
- /package/{src → public}/images/miele-witgoedcenter-amsterdam.webp +0 -0
- /package/{src → public}/images/og-image.png +0 -0
- /package/{src → public}/images/placeholder-center.webp +0 -0
- /package/{src → public}/images/placeholder-landscape-dark.png +0 -0
- /package/{src → public}/images/placeholder-landscape.webp +0 -0
- /package/{src → public}/images/placeholder-portrait.webp +0 -0
- /package/{src → public}/images/placeholder-right.webp +0 -0
- /package/{src → public}/images/placeholder.webp +0 -0
- /package/{src → public}/images/sloepverhuur-bolsward.webp +0 -0
- /package/{src → public}/images/stark-vulcanising-products.webp +0 -0
- /package/{src → public}/images/the-gym-haren.webp +0 -0
- /package/{src → public}/images/van-dillen-antieke-bouwmaterialen.webp +0 -0
- /package/src/components/{LocaleSwitcher.astro → _LocaleSwitcher.astro} +0 -0
- /package/src/content/pages/{showcase → _showcase}/anti-slip-profiles.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/fulldev-ui.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/lavis-detailing.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/leren-trainingsacteren.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/miele-witgoedcenter-amsterdam.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/sloepverhuur-bolsward.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/stark-vulcanising-products.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/the-gym-haren.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/van-dillen-antieke-bouwmaterialen.md +0 -0
- /package/src/content/pages/{blocks → docs/blocks}/_categories.mdx +0 -0
- /package/src/content/pages/{blocks/contact.mdx → docs/blocks/_contact.mdx} +0 -0
- /package/src/content/pages/{blocks → docs/blocks}/_jobs.mdx +0 -0
- /package/src/content/pages/{blocks/posts.mdx → docs/blocks/_posts.mdx} +0 -0
- /package/src/content/pages/{blocks → docs/blocks}/_stats.mdx +0 -0
- /package/src/content/pages/docs/{components → structures}/_dialog.mdx +0 -0
- /package/src/{components → structures}/Carousel.astro +0 -0
- /package/src/{components → structures}/Group.astro +0 -0
- /package/src/{components → structures}/Masonry.astro +0 -0
- /package/src/{components → structures}/Panel.astro +0 -0
- /package/src/{components → structures}/Section.astro +0 -0
- /package/{src/types/virtual.d.ts → virtual.d.ts} +0 -0
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Label
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -17,7 +15,7 @@ import Label from 'fulldev-ui/components/Label.astro'
|
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Link
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -17,7 +15,7 @@ import Link from 'fulldev-ui/components/Link.astro'
|
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
_layout: doc
|
|
3
3
|
title: Links
|
|
4
|
+
description: A utility component for displaying multiple links.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
7
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
8
|
|
|
10
9
|
```astro live
|
|
11
10
|
---
|
|
@@ -22,7 +21,7 @@ import Links from 'fulldev-ui/components/Links.astro'
|
|
|
22
21
|
|
|
23
22
|
## Props
|
|
24
23
|
|
|
25
|
-
<
|
|
24
|
+
<Props />
|
|
26
25
|
|
|
27
26
|
## Examples
|
|
28
27
|
|
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: List
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -17,7 +15,7 @@ import List from 'fulldev-ui/components/List.astro'
|
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
@@ -3,34 +3,22 @@ _layout: doc
|
|
|
3
3
|
title: Logo
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
12
10
|
import Logo from 'fulldev-ui/components/Logo.astro'
|
|
13
11
|
---
|
|
14
12
|
|
|
15
|
-
<Logo
|
|
13
|
+
<Logo
|
|
14
|
+
image={{
|
|
15
|
+
src: '/favicon/android-chrome-512x512.png',
|
|
16
|
+
alt: 'Logo Fulldev UI',
|
|
17
|
+
}}
|
|
18
|
+
text="Fulldev UI"
|
|
19
|
+
/>
|
|
16
20
|
```
|
|
17
21
|
|
|
18
22
|
## Props
|
|
19
23
|
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
## Examples
|
|
23
|
-
|
|
24
|
-
### `variant`
|
|
25
|
-
|
|
26
|
-
### `size`
|
|
27
|
-
|
|
28
|
-
```astro live
|
|
29
|
-
---
|
|
30
|
-
import Logo from 'fulldev-ui/components/Logo.astro'
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
<Logo size="sm" id="favicon.svg" company="Fulldev UI" />
|
|
34
|
-
<Logo size="md" id="favicon.svg" company="Fulldev UI" />
|
|
35
|
-
<Logo size="lg" id="favicon.svg" company="Fulldev UI" />
|
|
36
|
-
```
|
|
24
|
+
<Props />
|
|
@@ -3,12 +3,8 @@ _layout: doc
|
|
|
3
3
|
title: Menu
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
import
|
|
7
|
-
import Card from 'fulldev-ui/
|
|
8
|
-
|
|
9
|
-
# Menu
|
|
10
|
-
|
|
11
|
-
<aside>This component is experimental and likely to change</aside>
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
7
|
+
import Card from 'fulldev-ui/structures/Card.astro'
|
|
12
8
|
|
|
13
9
|
```astro live
|
|
14
10
|
---
|
|
@@ -16,30 +12,18 @@ import Menu from 'fulldev-ui/components/Menu.astro'
|
|
|
16
12
|
---
|
|
17
13
|
|
|
18
14
|
<Menu
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{ text: 'Second', href: '#' },
|
|
25
|
-
{ text: 'Third', href: '#' },
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
heading: 'Second',
|
|
30
|
-
links: [
|
|
31
|
-
{ text: 'First', href: '#' },
|
|
32
|
-
{ text: 'Second', href: '#' },
|
|
33
|
-
{ text: 'Third', href: '#' },
|
|
34
|
-
],
|
|
35
|
-
},
|
|
15
|
+
heading="Heading"
|
|
16
|
+
links={[
|
|
17
|
+
{ text: 'First', href: '#' },
|
|
18
|
+
{ text: 'Second', href: '#' },
|
|
19
|
+
{ text: 'Third', href: '#' },
|
|
36
20
|
]}
|
|
37
21
|
/>
|
|
38
22
|
```
|
|
39
23
|
|
|
40
24
|
## Props
|
|
41
25
|
|
|
42
|
-
<
|
|
26
|
+
<Props />
|
|
43
27
|
|
|
44
28
|
## Examples
|
|
45
29
|
|
|
@@ -52,38 +36,26 @@ import Menu from 'fulldev-ui/components/Menu.astro'
|
|
|
52
36
|
|
|
53
37
|
<Menu
|
|
54
38
|
size="sm"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
{ text: 'First', href: '#' },
|
|
60
|
-
{ text: 'Second', href: '#' },
|
|
61
|
-
],
|
|
62
|
-
},
|
|
39
|
+
heading="First"
|
|
40
|
+
links={[
|
|
41
|
+
{ text: 'First', href: '#' },
|
|
42
|
+
{ text: 'Second', href: '#' },
|
|
63
43
|
]}
|
|
64
44
|
/>
|
|
65
45
|
<Menu
|
|
66
46
|
size="md"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
{ text: 'First', href: '#' },
|
|
72
|
-
{ text: 'Second', href: '#' },
|
|
73
|
-
],
|
|
74
|
-
},
|
|
47
|
+
heading="First"
|
|
48
|
+
links={[
|
|
49
|
+
{ text: 'First', href: '#' },
|
|
50
|
+
{ text: 'Second', href: '#' },
|
|
75
51
|
]}
|
|
76
52
|
/>
|
|
77
53
|
<Menu
|
|
78
54
|
size="lg"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
{ text: 'First', href: '#' },
|
|
84
|
-
{ text: 'Second', href: '#' },
|
|
85
|
-
],
|
|
86
|
-
},
|
|
55
|
+
heading="First"
|
|
56
|
+
links={[
|
|
57
|
+
{ text: 'First', href: '#' },
|
|
58
|
+
{ text: 'Second', href: '#' },
|
|
87
59
|
]}
|
|
88
60
|
/>
|
|
89
61
|
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: doc
|
|
3
|
+
title: Paragraph
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<Paragraph>The quick brown fox jumps</Paragraph>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Props
|
|
17
|
+
|
|
18
|
+
<Props />
|
|
19
|
+
|
|
20
|
+
## Examples
|
|
21
|
+
|
|
22
|
+
### `size`
|
|
23
|
+
|
|
24
|
+
```astro live
|
|
25
|
+
---
|
|
26
|
+
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
<Paragraph size="xl">The quick brown fox jumps</Paragraph>
|
|
30
|
+
<Paragraph size="lg">The quick brown fox jumps</Paragraph>
|
|
31
|
+
<Paragraph size="md">The quick brown fox jumps</Paragraph>
|
|
32
|
+
<Paragraph size="sm">The quick brown fox jumps</Paragraph>
|
|
33
|
+
<Paragraph size="xs">The quick brown fox jumps</Paragraph>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### `text`
|
|
37
|
+
|
|
38
|
+
```astro live
|
|
39
|
+
---
|
|
40
|
+
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
<Paragraph text="The quick brown fox jumps" />
|
|
44
|
+
```
|
|
@@ -3,47 +3,31 @@ _layout: doc
|
|
|
3
3
|
title: Rating
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
12
10
|
import Rating from 'fulldev-ui/components/Rating.astro'
|
|
13
11
|
---
|
|
14
12
|
|
|
15
|
-
<Rating avatar="avatar-1.jpeg" text="John Doe"
|
|
13
|
+
<Rating avatar="avatar-1.jpeg" text="John Doe" score={4.5} />
|
|
16
14
|
```
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
24
|
-
### `
|
|
22
|
+
### `score`
|
|
25
23
|
|
|
26
24
|
```astro live
|
|
27
25
|
---
|
|
28
26
|
import Rating from 'fulldev-ui/components/Rating.astro'
|
|
29
27
|
---
|
|
30
28
|
|
|
31
|
-
<Rating
|
|
32
|
-
|
|
33
|
-
text="4.92 out of 236 reviews"
|
|
34
|
-
value={4.92}
|
|
35
|
-
/>
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### `value`
|
|
39
|
-
|
|
40
|
-
```astro live
|
|
41
|
-
---
|
|
42
|
-
import Rating from 'fulldev-ui/components/Rating.astro'
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
<Rating value={3} />
|
|
46
|
-
<Rating value={5} />
|
|
29
|
+
<Rating score={3} />
|
|
30
|
+
<Rating score={5} />
|
|
47
31
|
```
|
|
48
32
|
|
|
49
33
|
### `size`
|
|
@@ -53,24 +37,7 @@ import Rating from 'fulldev-ui/components/Rating.astro'
|
|
|
53
37
|
import Rating from 'fulldev-ui/components/Rating.astro'
|
|
54
38
|
---
|
|
55
39
|
|
|
56
|
-
<Rating
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
text="4.92 out of 236 reviews"
|
|
60
|
-
value={4.92}
|
|
61
|
-
/>
|
|
62
|
-
|
|
63
|
-
<Rating
|
|
64
|
-
size="md"
|
|
65
|
-
avatars={['avatar-1.jpeg', 'avatar-2.jpeg', 'avatar-3.jpeg', 'avatar-4.jpeg']}
|
|
66
|
-
text="4.92 out of 236 reviews"
|
|
67
|
-
value={4.92}
|
|
68
|
-
/>
|
|
69
|
-
|
|
70
|
-
<Rating
|
|
71
|
-
size="lg"
|
|
72
|
-
avatars={['avatar-1.jpeg', 'avatar-2.jpeg', 'avatar-3.jpeg', 'avatar-4.jpeg']}
|
|
73
|
-
text="4.92 out of 236 reviews"
|
|
74
|
-
value={4.92}
|
|
75
|
-
/>
|
|
40
|
+
<Rating size="sm" score={4.92} />
|
|
41
|
+
<Rating size="md" score={4.92} />
|
|
42
|
+
<Rating size="lg" score={4.92} />
|
|
76
43
|
```
|
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Select
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -21,7 +19,7 @@ import Select from 'fulldev-ui/components/Select.astro'
|
|
|
21
19
|
|
|
22
20
|
## Props
|
|
23
21
|
|
|
24
|
-
<
|
|
22
|
+
<Props />
|
|
25
23
|
|
|
26
24
|
## Examples
|
|
27
25
|
|
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Social
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -17,7 +15,7 @@ import Social from 'fulldev-ui/components/Social.astro'
|
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
_layout: doc
|
|
3
3
|
title: Socials
|
|
4
|
+
description: A utility component for displaying multiple socials.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Socials
|
|
7
8
|
|
|
8
|
-
import
|
|
9
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
10
|
|
|
10
11
|
```astro live
|
|
11
12
|
---
|
|
@@ -24,7 +25,7 @@ import Socials from 'fulldev-ui/components/Socials.astro'
|
|
|
24
25
|
|
|
25
26
|
## Props
|
|
26
27
|
|
|
27
|
-
<
|
|
28
|
+
<Props />
|
|
28
29
|
|
|
29
30
|
## Examples
|
|
30
31
|
|
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Switch
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -17,7 +15,7 @@ import Switch from 'fulldev-ui/components/Switch.astro'
|
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
@@ -3,11 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Tagline
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Text in primary color above a heading.
|
|
9
|
-
|
|
10
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
11
7
|
|
|
12
8
|
```astro live
|
|
13
9
|
---
|
|
@@ -19,7 +15,7 @@ import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
|
19
15
|
|
|
20
16
|
## Props
|
|
21
17
|
|
|
22
|
-
<
|
|
18
|
+
<Props />
|
|
23
19
|
|
|
24
20
|
## Examples
|
|
25
21
|
|
|
@@ -3,9 +3,7 @@ _layout: doc
|
|
|
3
3
|
title: Textarea
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
9
7
|
|
|
10
8
|
```astro live
|
|
11
9
|
---
|
|
@@ -17,7 +15,7 @@ import Textarea from 'fulldev-ui/components/Textarea.astro'
|
|
|
17
15
|
|
|
18
16
|
## Props
|
|
19
17
|
|
|
20
|
-
<
|
|
18
|
+
<Props />
|
|
21
19
|
|
|
22
20
|
## Examples
|
|
23
21
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
_layout: doc
|
|
3
|
-
title:
|
|
4
|
-
description: Features shared across components.
|
|
3
|
+
title: Using components
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## Slots versus props
|
|
@@ -31,7 +30,7 @@ import Button from 'fulldev-ui/components/Button.astro'
|
|
|
31
30
|
---
|
|
32
31
|
|
|
33
32
|
<Button text="With content" />
|
|
34
|
-
<Button
|
|
35
|
-
<Button
|
|
33
|
+
<Button show={true} />
|
|
34
|
+
<Button show={false} />
|
|
36
35
|
<Button />
|
|
37
36
|
```
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
_layout: doc
|
|
3
3
|
title: Customization
|
|
4
|
+
description: Customize styles and components.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
## Overriding styles
|
|
7
8
|
|
|
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/).
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
While outputting 100% vanilla CSS, the underlying theming variables are based on - and therefore fully compatible with - the popular [Shadcn/ui](https://ui.shadcn.com/).
|
|
11
|
+
### Using CSS variables
|
|
13
12
|
|
|
14
13
|
###### Default colors for backgrounds and text
|
|
15
14
|
|
|
@@ -77,7 +76,7 @@ While outputting 100% vanilla CSS, the underlying theming variables are based on
|
|
|
77
76
|
--radius: 0.5rem;
|
|
78
77
|
```
|
|
79
78
|
|
|
80
|
-
|
|
79
|
+
#### Dark mode
|
|
81
80
|
|
|
82
81
|
Dark mode colors can be customized by adding them within the `.dark` class:
|
|
83
82
|
|
|
@@ -91,17 +90,15 @@ Dark mode colors can be customized by adding them within the `.dark` class:
|
|
|
91
90
|
}
|
|
92
91
|
```
|
|
93
92
|
|
|
94
|
-
|
|
93
|
+
### Using vanilla CSS
|
|
95
94
|
|
|
96
95
|
Components use simple CSS classes that match their names. For example:
|
|
97
96
|
|
|
98
97
|
- `<Button/>` uses the class `.button`
|
|
99
98
|
- `<Button variant="secondary"/>` adds `.variant-secondary`
|
|
100
|
-
- `<
|
|
101
|
-
|
|
102
|
-
### Using vanilla CSS
|
|
99
|
+
- `<Heading muted/>` adds `.muted`
|
|
103
100
|
|
|
104
|
-
|
|
101
|
+
You can then simply override the styles in your own CSS file like this:
|
|
105
102
|
|
|
106
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.
|
|
107
104
|
|
|
@@ -113,22 +110,21 @@ import Button from 'fulldev-ui/components/Button.astro'
|
|
|
113
110
|
<Button>Button</Button>
|
|
114
111
|
<Button variant="secondary">Secondary</Button>
|
|
115
112
|
|
|
116
|
-
<style>
|
|
113
|
+
<style is:global>
|
|
117
114
|
.button {
|
|
118
115
|
border-radius: 999px;
|
|
119
116
|
|
|
120
117
|
&.variant-secondary {
|
|
121
|
-
border: 1px solid
|
|
118
|
+
border: 1px solid hsl(var(--primary));
|
|
119
|
+
background-color: transparent;
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
122
|
</style>
|
|
125
123
|
```
|
|
126
124
|
|
|
127
|
-
### Using Tailwind
|
|
128
|
-
|
|
129
|
-
Using Tailwind is **completely optional**, but since all styles match Tailwind's utility values, they work seamlessly together.
|
|
125
|
+
### Using Tailwind classes
|
|
130
126
|
|
|
131
|
-
Tailwind is pre-installed
|
|
127
|
+
Tailwind is pre-installed. You don't have to use it, but you can.
|
|
132
128
|
|
|
133
129
|
```astro live
|
|
134
130
|
---
|
|
@@ -136,16 +132,52 @@ import Button from 'fulldev-ui/components/Button.astro'
|
|
|
136
132
|
---
|
|
137
133
|
|
|
138
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>
|
|
139
149
|
|
|
140
150
|
<style>
|
|
141
151
|
.button {
|
|
142
152
|
@apply rounded-full;
|
|
153
|
+
|
|
154
|
+
&.variant-secondary {
|
|
155
|
+
@apply border border-primary bg-transparent;
|
|
156
|
+
}
|
|
143
157
|
}
|
|
144
158
|
</style>
|
|
145
159
|
```
|
|
146
160
|
|
|
147
|
-
##
|
|
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
|
+
```
|
|
148
180
|
|
|
149
|
-
|
|
181
|
+
Everywhere where the `Button` component is imported, the new component will be used instead.
|
|
150
182
|
|
|
151
|
-
|
|
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,18 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
_layout: doc
|
|
3
|
-
title:
|
|
3
|
+
title: Integrating frameworks
|
|
4
|
+
description: Compatible with all JS and CSS frameworks.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
# Frameworks
|
|
7
|
-
|
|
8
|
-
Compatible with Shadcn/ui and other frameworks.
|
|
9
|
-
|
|
10
|
-
## Shadcn/ui
|
|
11
|
-
|
|
12
|
-
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.
|
|
13
|
-
|
|
14
|
-
This means you can seamlessly integrate Shadcn/ui components alongside Fulldev UI components while maintaining consistent styling and behavior.
|
|
15
|
-
|
|
16
7
|
## Svelte, Vue React, etc.
|
|
17
8
|
|
|
18
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.
|
|
@@ -27,3 +18,13 @@ import Button from 'fulldev-ui/components/Button.astro'
|
|
|
27
18
|
<button class="button size-md variant-primary">Button</button>
|
|
28
19
|
<Button>Button</Button>
|
|
29
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.
|