fulldev-ui 0.6.0-beta.2 → 0.6.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 +1 -7
- package/cloudcannon.config.yml +269 -0
- package/package.json +1 -1
- package/src/blocks/Banner.astro +13 -15
- package/src/blocks/Colleagues1.astro +73 -0
- package/src/blocks/Contact1.astro +100 -0
- package/src/blocks/Content1.astro +79 -0
- package/src/blocks/Content2.astro +94 -0
- package/src/blocks/Content3.astro +70 -0
- package/src/blocks/Content4.astro +75 -0
- package/src/blocks/Cta1.astro +73 -0
- package/src/blocks/Feature1.astro +61 -0
- package/src/blocks/Features1.astro +66 -0
- package/src/blocks/Footer.astro +36 -68
- package/src/blocks/Header.astro +150 -3
- package/src/blocks/Hero1.astro +74 -0
- package/src/blocks/Intro1.astro +70 -0
- package/src/blocks/Jobs1.astro +73 -0
- package/src/blocks/Logos1.astro +55 -0
- package/src/blocks/Products1.astro +90 -0
- package/src/blocks/Reviews1.astro +79 -0
- package/src/blocks/{Hero.astro → _Hero.astro} +7 -6
- package/src/components/Badge.astro +10 -18
- package/src/components/Badges.astro +12 -35
- package/src/components/Block.astro +30 -0
- package/src/components/Blocks.astro +26 -0
- package/src/components/Button.astro +11 -25
- package/src/components/Buttons.astro +12 -43
- package/src/components/Card.astro +8 -150
- package/src/components/Cart.astro +6 -11
- package/src/components/CartSummary.astro +3 -3
- package/src/components/Channel.astro +5 -14
- package/src/components/Container.astro +25 -0
- package/src/components/Drawer.astro +55 -117
- package/src/components/DrawerOld.astro +143 -0
- package/src/components/Element.astro +2 -0
- package/src/components/Form.astro +3 -1
- package/src/components/Grid.astro +39 -0
- package/src/components/Group.astro +25 -0
- package/src/components/Head.astro +18 -32
- package/src/components/Header.astro +8 -105
- package/src/components/Heading.astro +34 -71
- package/src/components/Icon.astro +5 -4
- package/src/components/Image.astro +15 -50
- package/src/components/Layout.astro +35 -0
- package/src/components/Link.astro +12 -18
- package/src/components/Links.astro +14 -35
- package/src/components/Logo.astro +26 -15
- package/src/components/Masonry.astro +42 -0
- package/src/components/Menu.astro +17 -38
- package/src/components/Menus.astro +20 -0
- package/src/components/Navigation.astro +39 -0
- package/src/components/Panel.astro +25 -0
- package/src/components/Paragraph.astro +24 -7
- package/src/components/Price.astro +4 -4
- package/src/components/Prose.astro +47 -130
- package/src/components/Rating.astro +24 -75
- package/src/components/Search.astro +5 -4
- package/src/components/Section.astro +20 -29
- package/src/components/Sidebar.astro +18 -69
- package/src/components/Social.astro +9 -2
- package/src/components/Stack.astro +25 -0
- package/src/components/Tagline.astro +21 -31
- package/src/components/Toc.astro +22 -21
- package/src/components/Writeup.astro +33 -82
- package/src/components/_Author.astro +90 -0
- package/src/components/_Header.astro +129 -0
- package/src/components/_Image.astro +79 -0
- package/src/components/_Prose copy.astro +172 -0
- package/src/components/_Sidebar copy.astro +87 -0
- package/src/content/config.ts +2 -29
- package/src/content/layouts/base.yml +42 -80
- package/src/content/pages/categories/category.md +7 -0
- package/src/content/{docs → pages/docs}/_internationalization.mdx +1 -0
- package/src/content/{docs → pages/docs}/_using-blocks.mdx +1 -0
- package/src/content/{docs → pages/docs}/_using-presets.mdx +1 -0
- package/src/content/{docs → pages/docs}/blocks.mdx +1 -0
- package/src/content/{docs → pages/docs}/collections/images.mdx +1 -0
- package/src/content/{docs → pages/docs}/collections/pages.mdx +1 -0
- package/src/content/{docs → pages/docs}/collections/presets.mdx +1 -0
- package/src/content/{docs → pages/docs}/collections.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_card.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_dialog.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_drawer.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_localeswitcher.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_switch.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_tagline.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/_toggle.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/avatar.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/badge.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/badges.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/button.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/buttons.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/channel.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/channels.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/checkbox.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/code.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/heading.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/icon.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/image.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/input.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/label.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/link.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/links.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/list.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/logo.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/menu.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/prose.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/rating.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/section.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/select.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/social.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/socials.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/switch.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/table.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/tagline.mdx +1 -0
- package/src/content/pages/docs/components/text.mdx +48 -0
- package/src/content/{docs → pages/docs}/components/textarea.mdx +1 -0
- package/src/content/{docs → pages/docs}/components/themer.mdx +1 -0
- package/src/content/{docs → pages/docs}/components.mdx +2 -4
- package/src/content/{docs → pages/docs}/customization.mdx +1 -0
- package/src/content/{docs → pages/docs}/frameworks.mdx +1 -0
- package/src/content/{docs → pages/docs}/generating-pages.mdx +1 -0
- package/src/content/{docs → pages/docs}/index.mdx +2 -4
- package/src/content/{docs → pages/docs}/installation.mdx +1 -0
- package/src/content/{docs → pages/docs}/layouts.mdx +1 -0
- package/src/content/pages/index.mdx +20 -28
- package/src/content/{categories/mugs.md → pages/posts/post.md} +1 -1
- package/src/content/{products → pages/products}/product.md +4 -4
- package/src/css/theme.css +2 -0
- 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 +9 -0
- 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 +16 -0
- package/src/images/favicon/manifest.webmanifest +30 -0
- package/src/images/favicon/mstile-150x150.png +0 -0
- package/src/images/favicon/safari-pinned-tab.svg +16 -0
- package/src/images/favicon/yandex-browser-50x50.png +0 -0
- package/src/images/favicon/yandex-browser-manifest.json +9 -0
- package/src/integration/index.ts +48 -17
- package/src/layouts/{CategoryLayout.astro → Category.astro} +21 -15
- package/src/layouts/Doc.astro +70 -0
- package/src/layouts/Job.astro +62 -0
- package/src/layouts/Jobs.astro +72 -0
- package/src/layouts/Page.astro +29 -0
- package/src/layouts/Post.astro +52 -0
- package/src/layouts/{ProductLayout.astro → Product.astro} +25 -11
- package/src/pages/[...page].astro +36 -4
- package/src/pages/test.astro +32 -2
- package/src/schemas/components/avatar.ts +4 -1
- package/src/schemas/components/badge.ts +16 -11
- package/src/schemas/components/block.ts +61 -0
- package/src/schemas/components/button.ts +14 -19
- package/src/schemas/components/channel.ts +15 -9
- package/src/schemas/components/footer.ts +15 -14
- package/src/schemas/components/head.ts +17 -0
- package/src/schemas/components/header.ts +19 -16
- package/src/schemas/components/heading.ts +7 -1
- package/src/schemas/components/icon.ts +7 -1
- package/src/schemas/components/image.ts +38 -21
- package/src/schemas/components/link.ts +10 -16
- package/src/schemas/components/logo.ts +12 -2
- package/src/schemas/components/menu.ts +12 -13
- package/src/schemas/components/navigation.ts +10 -0
- package/src/schemas/components/paragraph.ts +9 -0
- package/src/schemas/components/price.ts +9 -0
- package/src/schemas/components/rating.ts +8 -13
- package/src/schemas/components/sidebar.ts +14 -12
- package/src/schemas/components/social.ts +16 -1
- package/src/schemas/components/tagline.ts +7 -1
- package/src/schemas/imageSchema.ts +33 -4
- package/src/schemas/page.ts +40 -0
- package/src/types/global-props.ts +0 -9
- package/src/types/{virtual-modules.d.ts → virtual.d.ts} +1 -1
- package/src/utils/getHref.ts +4 -20
- package/tailwind.config.ts +4 -0
- package/tsconfig.json +1 -3
- package/example.svelte +0 -0
- package/parent.svelte +0 -0
- package/src/App.svelte +0 -0
- package/src/blocks/Categories.astro +0 -12
- package/src/blocks/Colleagues.astro +0 -12
- package/src/blocks/Contact.astro +0 -117
- package/src/blocks/Content.astro +0 -130
- package/src/blocks/Cta.astro +0 -13
- package/src/blocks/Excerpt.astro +0 -12
- package/src/blocks/Features.astro +0 -11
- package/src/blocks/Intro.astro +0 -101
- package/src/blocks/Jobs.astro +0 -12
- package/src/blocks/Posts.astro +0 -11
- package/src/blocks/Prices.astro +0 -24
- package/src/blocks/Product.astro +0 -89
- package/src/blocks/Products.astro +0 -101
- package/src/blocks/Reviews.astro +0 -12
- package/src/blocks/_Contact.astro +0 -112
- package/src/components/CartForm.astro +0 -120
- package/src/components/CartList.astro +0 -122
- package/src/components/Lead.astro +0 -46
- package/src/components/ProductCard.astro +0 -52
- package/src/components/Text.astro +0 -43
- package/src/components/_CartList backup.astro +0 -125
- package/src/components/_CartList copy.astro +0 -213
- package/src/components/_CartListSimple.astro +0 -148
- package/src/components/sections.astro +0 -28
- package/src/content/docs/components/lead.mdx +0 -49
- package/src/content/docs/components/paragraph.mdx +0 -49
- package/src/content/layouts/docs.yml +0 -70
- package/src/layouts/DocLayout.astro +0 -17
- package/src/layouts/Layout.astro +0 -79
- package/src/layouts/PageLayout.astro +0 -20
- package/src/layouts/PostLayout.astro +0 -20
- package/src/loaders/imageLoader.ts +0 -26
- package/src/pages/[...category].astro +0 -17
- package/src/pages/[...doc].astro +0 -17
- package/src/pages/[...post].astro +0 -17
- package/src/pages/[...product].astro +0 -17
- package/src/schemas/archive/_pageSchema.ts +0 -94
- package/src/schemas/categorySchema.ts +0 -16
- package/src/schemas/components/avatars.ts +0 -4
- package/src/schemas/components/banner.ts +0 -3
- package/src/schemas/components/buttons.ts +0 -4
- package/src/schemas/components/card.ts +0 -43
- package/src/schemas/components/cards.ts +0 -4
- package/src/schemas/components/channels.ts +0 -4
- package/src/schemas/components/global.ts +0 -16
- package/src/schemas/components/links.ts +0 -4
- package/src/schemas/components/list.ts +0 -3
- package/src/schemas/components/section.ts +0 -17
- package/src/schemas/components/sections.ts +0 -3
- package/src/schemas/components/socials.ts +0 -4
- package/src/schemas/components/subheader.ts +0 -10
- package/src/schemas/components/text.ts +0 -3
- package/src/schemas/components/themer.ts +0 -3
- package/src/schemas/components/toc.ts +0 -3
- package/src/schemas/components/writeup.ts +0 -20
- package/src/schemas/docSchema.ts +0 -10
- package/src/schemas/fields/categories.ts +0 -3
- package/src/schemas/fields/description.ts +0 -3
- package/src/schemas/fields/href.ts +0 -3
- package/src/schemas/fields/image.ts +0 -24
- package/src/schemas/fields/images.ts +0 -4
- package/src/schemas/fields/order.ts +0 -3
- package/src/schemas/fields/price.ts +0 -3
- package/src/schemas/fields/products.ts +0 -5
- package/src/schemas/fields/seo.ts +0 -12
- package/src/schemas/fields/soldout.ts +0 -3
- package/src/schemas/fields/title.ts +0 -3
- package/src/schemas/fields/variants.ts +0 -3
- package/src/schemas/layoutSchema.ts +0 -28
- package/src/schemas/pageSchema.ts +0 -20
- package/src/schemas/postSchema.ts +0 -16
- package/src/schemas/productSchema.ts +0 -22
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
<!-- ---
|
|
2
|
+
import type { HTMLAttributes } from 'astro/types'
|
|
3
|
+
import Element from 'fulldev-ui/components/Element.astro'
|
|
4
|
+
import Links from 'fulldev-ui/components/Links.astro'
|
|
5
|
+
import Logo from 'fulldev-ui/components/Logo.astro'
|
|
6
|
+
import Themer from 'fulldev-ui/components/Themer.astro'
|
|
7
|
+
import type { SidebarSchema } from 'fulldev-ui/schemas/components/sidebar'
|
|
8
|
+
import Heading from './Heading.astro'
|
|
9
|
+
|
|
10
|
+
interface Props extends HTMLAttributes<'aside'>, SidebarSchema {}
|
|
11
|
+
|
|
12
|
+
const { company, logo, menus, heading, themer, ...rest } = Astro.props
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Element
|
|
16
|
+
class:list="sidebar"
|
|
17
|
+
as="aside"
|
|
18
|
+
{...rest}
|
|
19
|
+
>
|
|
20
|
+
<Element
|
|
21
|
+
class:list="sidebar-header"
|
|
22
|
+
as="header"
|
|
23
|
+
>
|
|
24
|
+
<Logo
|
|
25
|
+
{company}
|
|
26
|
+
{...logo}
|
|
27
|
+
size="sm"
|
|
28
|
+
/>
|
|
29
|
+
<Heading
|
|
30
|
+
as="h5"
|
|
31
|
+
size="md"
|
|
32
|
+
text={heading}
|
|
33
|
+
/>
|
|
34
|
+
</Element>
|
|
35
|
+
<Element class:list="sidebar-content">
|
|
36
|
+
<Element
|
|
37
|
+
class:list="sidebar-nav"
|
|
38
|
+
as="nav"
|
|
39
|
+
>
|
|
40
|
+
{
|
|
41
|
+
menus?.map(({ heading, links }) => (
|
|
42
|
+
<Element class:list="sidebar-menu">
|
|
43
|
+
<Heading
|
|
44
|
+
text={heading}
|
|
45
|
+
size="sm"
|
|
46
|
+
as="h6"
|
|
47
|
+
/>
|
|
48
|
+
<Links
|
|
49
|
+
direction="column"
|
|
50
|
+
size="sm"
|
|
51
|
+
{links}
|
|
52
|
+
/>
|
|
53
|
+
</Element>
|
|
54
|
+
))
|
|
55
|
+
}
|
|
56
|
+
</Element>
|
|
57
|
+
<Themer if={themer} />
|
|
58
|
+
<slot />
|
|
59
|
+
</Element>
|
|
60
|
+
</Element>
|
|
61
|
+
|
|
62
|
+
<style is:global>
|
|
63
|
+
@layer fulldev {
|
|
64
|
+
.sidebar {
|
|
65
|
+
@apply sticky bottom-0 z-10 hidden h-full flex-col items-start justify-start border-r bg-background lg:flex;
|
|
66
|
+
|
|
67
|
+
--height: calc(var(--header-height, 0px) + var(--subheader-height, 0px));
|
|
68
|
+
top: var(--height);
|
|
69
|
+
width: var(--sidebar-width);
|
|
70
|
+
max-height: calc(100vh - var(--height));
|
|
71
|
+
|
|
72
|
+
&,
|
|
73
|
+
& ~ * {
|
|
74
|
+
--sidebar-width: 13rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.sidebar-header {
|
|
78
|
+
@apply sticky flex h-14 w-full items-center px-gutter py-6;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sidebar-content {
|
|
82
|
+
@apply flex w-full flex-1 flex-col items-start gap-7 overflow-y-auto px-gutter pb-14 pt-6 first:pt-14;
|
|
83
|
+
@apply scrollbar scrollbar-track-transparent scrollbar-thumb-accent scrollbar-thumb-rounded-full scrollbar-w-2 hover:scrollbar-thumb-accent-hover;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
</style> -->
|
package/src/content/config.ts
CHANGED
|
@@ -1,40 +1,13 @@
|
|
|
1
1
|
import { defineCollection } from 'astro:content'
|
|
2
|
-
import
|
|
3
|
-
import { categorySchema } from 'fulldev-ui/schemas/categorySchema'
|
|
4
|
-
import { docSchema } from 'fulldev-ui/schemas/docSchema'
|
|
5
|
-
import imageSchema from 'fulldev-ui/schemas/imageSchema.ts'
|
|
6
|
-
import { layoutSchema } from 'fulldev-ui/schemas/layoutSchema'
|
|
7
|
-
import { pageSchema } from 'fulldev-ui/schemas/pageSchema'
|
|
8
|
-
import { postSchema } from 'fulldev-ui/schemas/postSchema'
|
|
9
|
-
import { productSchema } from 'fulldev-ui/schemas/productSchema'
|
|
2
|
+
import { pageSchema } from 'fulldev-ui/schemas/page.ts'
|
|
10
3
|
|
|
11
4
|
export const collections = {
|
|
12
5
|
pages: defineCollection({
|
|
13
6
|
type: 'content',
|
|
14
7
|
schema: pageSchema,
|
|
15
8
|
}),
|
|
16
|
-
posts: defineCollection({
|
|
17
|
-
type: 'content',
|
|
18
|
-
schema: postSchema,
|
|
19
|
-
}),
|
|
20
|
-
docs: defineCollection({
|
|
21
|
-
type: 'content',
|
|
22
|
-
schema: docSchema,
|
|
23
|
-
}),
|
|
24
|
-
categories: defineCollection({
|
|
25
|
-
type: 'content',
|
|
26
|
-
schema: categorySchema,
|
|
27
|
-
}),
|
|
28
|
-
products: defineCollection({
|
|
29
|
-
type: 'content',
|
|
30
|
-
schema: productSchema,
|
|
31
|
-
}),
|
|
32
9
|
layouts: defineCollection({
|
|
33
10
|
type: 'data',
|
|
34
|
-
schema:
|
|
35
|
-
}),
|
|
36
|
-
images: defineCollection({
|
|
37
|
-
loader: imageLoader,
|
|
38
|
-
schema: imageSchema,
|
|
11
|
+
schema: pageSchema,
|
|
39
12
|
}),
|
|
40
13
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
seo:
|
|
1
|
+
head:
|
|
2
|
+
title: Fulldev UI - Astro component and block library, open-source
|
|
4
3
|
image: /images/og-image.png
|
|
5
|
-
|
|
6
|
-
code:
|
|
7
|
-
head: |
|
|
4
|
+
theme: system
|
|
5
|
+
code: |
|
|
8
6
|
<script is:inline>
|
|
9
7
|
!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="init capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey getNextSurveyStep identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
|
|
10
8
|
posthog.init('phc_mVacbe8Xydu0UZlh4bNw5EGisvzyRcpqXEEuEEp5lOY',{api_host:'https://eu.i.posthog.com', person_profiles: 'identified_only' // or 'always' to create profiles for anonymous users as well
|
|
11
9
|
})
|
|
12
10
|
</script>
|
|
13
11
|
|
|
12
|
+
banner:
|
|
13
|
+
text: 'Introducing v0.6: layouts & pagebuilding 🎉'
|
|
14
|
+
|
|
14
15
|
header:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
search: true
|
|
17
|
+
logo:
|
|
18
|
+
image: /src/images/favicon/android-chrome-512x512.png
|
|
19
|
+
text: Fulldev UI
|
|
19
20
|
links:
|
|
20
21
|
- text: Docs
|
|
21
22
|
href: /docs/
|
|
@@ -25,77 +26,38 @@ header:
|
|
|
25
26
|
href: /docs/blocks/banner/
|
|
26
27
|
- text: Showcase
|
|
27
28
|
href: /showcase/
|
|
28
|
-
|
|
29
29
|
socials:
|
|
30
30
|
- https://github.com/fulldotdev/ui
|
|
31
31
|
- https://discord.gg/vXZqMbadm8
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
# # - docs/components/dialog
|
|
65
|
-
# # - docs/components/drawer
|
|
66
|
-
# # - docs/components/element
|
|
67
|
-
# # - docs/components/footer
|
|
68
|
-
# # - docs/components/form
|
|
69
|
-
# # - docs/components/head
|
|
70
|
-
# # - docs/components/header
|
|
71
|
-
# - docs/components/heading
|
|
72
|
-
# - docs/components/icon
|
|
73
|
-
# - docs/components/image
|
|
74
|
-
# - docs/components/input
|
|
75
|
-
# - docs/components/label
|
|
76
|
-
# - docs/components/lead
|
|
77
|
-
# - docs/components/link
|
|
78
|
-
# - docs/components/links
|
|
79
|
-
# - docs/components/list
|
|
80
|
-
# # - docs/components/locale-switcher
|
|
81
|
-
# - docs/components/logo
|
|
82
|
-
# - docs/components/menu
|
|
83
|
-
# - docs/components/paragraph
|
|
84
|
-
# # - docs/components/price
|
|
85
|
-
# - docs/components/prose
|
|
86
|
-
# - docs/components/rating
|
|
87
|
-
# # - docs/components/search
|
|
88
|
-
# # - docs/components/section
|
|
89
|
-
# # - docs/components/sections
|
|
90
|
-
# - docs/components/select
|
|
91
|
-
# # - docs/components/sidebar
|
|
92
|
-
# - docs/components/social
|
|
93
|
-
# - docs/components/socials
|
|
94
|
-
# - docs/components/switch
|
|
95
|
-
# # - docs/components/table
|
|
96
|
-
# - docs/components/tagline
|
|
97
|
-
# # - docs/components/text
|
|
98
|
-
# - docs/components/textarea
|
|
99
|
-
# - docs/components/themer
|
|
100
|
-
# # - docs/components/toc
|
|
101
|
-
# # - docs/components/writeup
|
|
33
|
+
sidebar:
|
|
34
|
+
menus:
|
|
35
|
+
- heading: Get Started
|
|
36
|
+
links:
|
|
37
|
+
- text: Introduction
|
|
38
|
+
href: /docs/
|
|
39
|
+
- text: Installation
|
|
40
|
+
href: /docs/installation/
|
|
41
|
+
- text: Customization
|
|
42
|
+
href: /docs/customization/
|
|
43
|
+
- text: Frameworks
|
|
44
|
+
href: /docs/frameworks/
|
|
45
|
+
- text: Components
|
|
46
|
+
href: /docs/components/
|
|
47
|
+
- text: Collections
|
|
48
|
+
href: /docs/collections/
|
|
49
|
+
|
|
50
|
+
footer:
|
|
51
|
+
logo:
|
|
52
|
+
text: Fulldev UI
|
|
53
|
+
menus:
|
|
54
|
+
- heading: Docs
|
|
55
|
+
links:
|
|
56
|
+
- text: Docs
|
|
57
|
+
href: /docs/
|
|
58
|
+
- text: Components
|
|
59
|
+
href: /docs/components/badge/
|
|
60
|
+
- text: Blocks
|
|
61
|
+
href: /docs/blocks/banner/
|
|
62
|
+
- text: Showcase
|
|
63
|
+
href: /showcase/
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: doc
|
|
3
|
+
title: Text
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Text
|
|
7
|
+
|
|
8
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
9
|
+
|
|
10
|
+
```astro live
|
|
11
|
+
---
|
|
12
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Text>The quick brown fox jumps over the lazy dog</Text>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Props
|
|
19
|
+
|
|
20
|
+
<PropsTable />
|
|
21
|
+
|
|
22
|
+
## Examples
|
|
23
|
+
|
|
24
|
+
### `size`
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Text from 'fulldev-ui/components/Text.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Text size="sm"
|
|
32
|
+
>The quick brown fox jumps over the lazy dog because he is quick
|
|
33
|
+
</Text>
|
|
34
|
+
<Text> The quick brown fox jumps over the lazy dog because he is quick </Text>
|
|
35
|
+
<Text size="lg">
|
|
36
|
+
The quick brown fox jumps over the lazy dog because he is quick
|
|
37
|
+
</Text>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### `text`
|
|
41
|
+
|
|
42
|
+
```astro live
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
<Text text="The quick brown fox jumps over the lazy dog" />
|
|
48
|
+
```
|