fulldev-ui 0.3.36 → 0.4.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/.github/ISSUE_TEMPLATE/bug_report.yml +57 -0
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
- package/.github/pull_request_template.md +23 -0
- package/.github/workflows/github-releases-to-discord.yml +21 -0
- package/.prettierignore +15 -0
- package/.prettierrc.yaml +34 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +11 -0
- package/.vscode/settings.json +23 -0
- package/CHANGELOG.md +100 -0
- package/CONTRIBUTING.md +102 -0
- package/LICENCE +21 -0
- package/README.md +9 -7
- package/astro.config.ts +44 -0
- package/package.json +42 -27
- package/pnpm-lock.yaml +5515 -0
- 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 +9 -0
- package/public/favicon/favicon-16x16.png +0 -0
- package/public/favicon/favicon-32x32.png +0 -0
- package/public/favicon/favicon.ico +0 -0
- package/public/favicon/mstile-150x150.png +0 -0
- package/public/favicon/safari-pinned-tab.svg +17 -0
- package/public/favicon/site.webmanifest +19 -0
- package/public/images/avatar-placeholder.jpg +0 -0
- package/public/images/avatars/1.jpeg +0 -0
- package/public/images/avatars/2.jpeg +0 -0
- package/public/images/avatars/3.jpeg +0 -0
- package/public/images/avatars/300/1.jpeg +0 -0
- package/public/images/avatars/300/2.jpeg +0 -0
- package/public/images/avatars/300/3.jpeg +0 -0
- package/public/images/avatars/300/4.jpeg +0 -0
- package/public/images/avatars/4.jpeg +0 -0
- package/public/images/avatars/5.jpeg +0 -0
- package/public/images/avatars/500/1.jpeg +0 -0
- package/public/images/avatars/500/2.jpeg +0 -0
- package/public/images/avatars/500/3.jpeg +0 -0
- package/public/images/avatars/500/4.jpeg +0 -0
- package/public/images/avatars/6.jpeg +0 -0
- package/public/images/avatars/7.jpeg +0 -0
- package/public/images/avatars/8.jpeg +0 -0
- package/public/images/block-code.png +0 -0
- package/public/images/blocks/colleagues.png +0 -0
- package/public/images/blocks/content.png +0 -0
- package/public/images/blocks/cta.png +0 -0
- package/public/images/blocks/features.png +0 -0
- package/public/images/blocks/footer.png +0 -0
- package/public/images/blocks/header.png +0 -0
- package/public/images/blocks/hero.png +0 -0
- package/public/images/blocks/intro.png +0 -0
- package/public/images/blocks/posts.png +0 -0
- package/public/images/blocks/prices.png +0 -0
- package/public/images/blocks/reviews.png +0 -0
- package/public/images/component-code.png +0 -0
- package/public/images/logo-placeholder.svg +1 -0
- package/public/images/placeholder-center.webp +0 -0
- package/public/images/placeholder-landscape-dark.png +0 -0
- package/public/images/placeholder-landscape.webp +0 -0
- package/public/images/placeholder-portrait.webp +0 -0
- package/public/images/placeholder-right.webp +0 -0
- package/public/images/placeholder.webp +0 -0
- package/siteicon.png +0 -0
- package/src/blocks/Categories.astro +12 -0
- package/src/blocks/Colleagues.astro +12 -0
- package/src/blocks/Contact.astro +152 -0
- package/src/blocks/Content.astro +12 -0
- package/src/blocks/Cta.astro +14 -0
- package/src/blocks/Features.astro +11 -0
- package/src/blocks/Footer.astro +7 -0
- package/src/blocks/Header.astro +7 -0
- package/src/blocks/Hero.astro +16 -0
- package/src/blocks/Intro.astro +19 -0
- package/src/blocks/Jobs.astro +12 -0
- package/src/blocks/Posts.astro +11 -0
- package/src/blocks/Prices.astro +22 -0
- package/src/blocks/Product.astro +64 -0
- package/src/blocks/Products.astro +11 -0
- package/src/blocks/Reviews.astro +13 -0
- package/src/components/{base/Avatar.astro → Avatar.astro} +7 -11
- package/src/components/{base/Badge.astro → Badge.astro} +36 -22
- package/src/components/{structure/Bento.astro → Bento.astro} +6 -9
- package/src/components/Block.astro +157 -0
- package/src/components/Blocks.astro +5 -0
- package/src/components/Box.astro +60 -0
- package/src/components/Button.astro +140 -0
- package/src/components/Card.astro +212 -0
- package/src/components/{structure/Carousel.astro → Carousel.astro} +13 -16
- package/src/components/Checkbox.astro +63 -0
- package/src/components/{structure/Column.astro → Column.astro} +14 -9
- package/src/components/Dialog.astro +65 -0
- package/src/components/Drawer.astro +99 -0
- package/src/components/Footer.astro +144 -0
- package/src/components/{structure/Grid.astro → Grid.astro} +7 -10
- package/src/components/Head.astro +85 -0
- package/src/components/Header.astro +204 -0
- package/src/components/Heading.astro +79 -0
- package/src/components/{base/Icon.astro → Icon.astro} +7 -9
- package/src/components/{base/Image.astro → Image.astro} +32 -30
- package/src/components/Input.astro +119 -0
- package/src/components/{typography/Label.astro → Label.astro} +12 -12
- package/src/components/{typography/Link.astro → Link.astro} +15 -13
- package/src/components/List.astro +41 -0
- package/src/components/{structure/Masonry.astro → Masonry.astro} +9 -11
- package/src/components/Rating.astro +82 -0
- package/src/components/{_Component.astro → Root.astro} +7 -11
- package/src/components/{structure/Row.astro → Row.astro} +6 -9
- package/src/components/Search.astro +62 -0
- package/src/components/Section.astro +274 -0
- package/src/components/Select.astro +144 -0
- package/src/components/Sidebar.astro +71 -0
- package/src/components/{structure/Split.astro → Split.astro} +6 -9
- package/src/components/{structure/Spread.astro → Spread.astro} +6 -9
- package/src/components/Switch.astro +114 -0
- package/src/components/Table.astro +121 -0
- package/src/components/Tagline.astro +35 -0
- package/src/components/Text.astro +43 -0
- package/src/components/Textarea.astro +105 -0
- package/src/components/Toc.astro +52 -0
- package/src/components/{structure/Wrap.astro → Wrap.astro} +5 -10
- package/src/components/docs/DecorativeBox.astro +15 -0
- package/src/components/docs/PropsTable.astro +95 -0
- package/src/components/experimental/Channel.astro +15 -10
- package/src/components/experimental/Form.astro +34 -0
- package/src/components/experimental/Gallery.astro +180 -0
- package/src/components/experimental/GalleryVertical.astro +161 -0
- package/src/components/{base → experimental}/Logo.astro +3 -5
- package/src/components/experimental/Price.astro +17 -17
- package/src/components/experimental/Prose.astro +154 -0
- package/src/components/{base → experimental}/Video.astro +1 -1
- package/src/components/experimental/Window.astro +173 -0
- package/src/content/config.ts +16 -13
- package/src/content/pages/_changelog.mdx +10 -0
- package/src/content/pages/_segment/footer.mdx +244 -0
- package/src/content/pages/_segment/header.mdx +210 -0
- package/src/content/pages/base/_dialog.mdx +17 -0
- package/src/content/pages/base/_drawer.mdx +17 -0
- package/src/content/pages/base/_image.mdx +14 -0
- package/src/content/pages/base/_switch.mdx +33 -0
- package/src/content/pages/base/badge.mdx +70 -0
- package/src/content/pages/base/button.mdx +71 -0
- package/src/content/pages/base/card.mdx +114 -0
- package/src/content/pages/base/checkbox.mdx +43 -0
- package/src/content/pages/base/icon.mdx +54 -0
- package/src/content/pages/base/input.mdx +67 -0
- package/src/content/pages/base/rating.mdx +66 -0
- package/src/content/pages/base/section.mdx +79 -0
- package/src/content/pages/base/select.mdx +77 -0
- package/src/content/pages/base/table.mdx +133 -0
- package/src/content/pages/base/textarea.mdx +73 -0
- package/src/content/pages/blocks/_banner.mdx +13 -0
- package/src/content/pages/blocks/_categories.mdx +149 -0
- package/src/content/pages/blocks/_jobs.mdx +37 -0
- package/src/content/pages/blocks/_product.mdx +29 -0
- package/src/content/pages/blocks/_products.mdx +55 -0
- package/src/content/pages/blocks/_stats.mdx +34 -0
- package/src/content/pages/blocks/colleagues.mdx +42 -0
- package/src/content/pages/blocks/content.mdx +101 -0
- package/src/content/pages/blocks/cta.mdx +192 -0
- package/src/content/pages/blocks/features.mdx +134 -0
- package/src/content/pages/blocks/footer.mdx +71 -0
- package/src/content/pages/blocks/header.mdx +192 -0
- package/src/content/pages/blocks/hero.mdx +97 -0
- package/src/content/pages/blocks/intro.mdx +132 -0
- package/src/content/pages/blocks/posts.mdx +40 -0
- package/src/content/pages/blocks/prices.mdx +126 -0
- package/src/content/pages/blocks/reviews.mdx +249 -0
- package/src/content/pages/blocks.mdx +10 -0
- package/src/content/pages/index.mdx +65 -0
- package/src/content/pages/overview/frameworks.mdx +180 -0
- package/src/content/pages/overview/installation.mdx +20 -0
- package/src/content/pages/overview/integration.mdx +37 -0
- package/src/content/pages/overview/introduction.mdx +20 -0
- package/src/content/pages/overview/theming.mdx +83 -0
- package/src/content/pages/structure/_row.mdx +23 -0
- package/src/content/pages/structure/_wrap.mdx +25 -0
- package/src/content/pages/structure/carousel.mdx +31 -0
- package/src/content/pages/structure/column.mdx +21 -0
- package/src/content/pages/structure/grid.mdx +26 -0
- package/src/content/pages/structure/masonry.mdx +32 -0
- package/src/content/pages/structure/split.mdx +21 -0
- package/src/content/pages/structure/spread.mdx +21 -0
- package/src/content/pages/typography/_tagline.mdx +36 -0
- package/src/content/pages/typography/heading.mdx +74 -0
- package/src/content/pages/typography/label.mdx +42 -0
- package/src/content/pages/typography/link.mdx +63 -0
- package/src/content/pages/typography/list.mdx +52 -0
- package/src/content/pages/typography/text.mdx +62 -0
- package/src/content/records/record.yml +1 -0
- package/src/content/settings/base.yml +48 -0
- package/src/content/settings/components.yml +27 -0
- package/src/css/color.css +6 -67
- package/src/css/custom.css +59 -0
- package/src/css/size.css +130 -0
- package/src/css/space.css +47 -26
- package/src/css/styles.css +4 -2
- package/src/env.d.ts +1 -1
- package/src/integration/generate-colors.ts +637 -0
- package/src/integration/index.ts +158 -0
- package/src/integration/tailwind-plugin.ts +80 -0
- package/src/integration/unocss-preset.ts +84 -0
- package/src/layouts/BlockLayout.astro +24 -0
- package/src/layouts/BlockOverviewLayout.astro +39 -0
- package/src/layouts/ComponentLayout.astro +23 -0
- package/src/layouts/JobsLayout.astro +40 -0
- package/src/layouts/Layout.astro +168 -0
- package/src/layouts/OverviewLayout.astro +45 -0
- package/src/layouts/PageLayout.astro +32 -0
- package/src/layouts/PostLayout.astro +32 -0
- package/src/layouts/ProductLayout.astro +31 -0
- package/src/pages/[...page].astro +41 -0
- package/src/schemas/base.ts +81 -0
- package/src/schemas/block.ts +15 -0
- package/src/schemas/card.ts +3 -0
- package/src/schemas/page.ts +43 -0
- package/src/schemas/utils.ts +22 -0
- package/src/utils/mergeEntries.ts +28 -0
- package/tsconfig.json +10 -1
- package/.astro/settings.json +0 -5
- package/.astro/types.d.ts +0 -147
- package/.env +0 -1
- package/astro.config.mjs +0 -6
- package/src/components/_Block.astro +0 -20
- package/src/components/_Blocks.astro +0 -11
- package/src/components/_Children.astro +0 -31
- package/src/components/_archive/Body.astro +0 -37
- package/src/components/_archive/Main.astro +0 -28
- package/src/components/_archive/Nav.astro +0 -50
- package/src/components/_todo/Form.astro +0 -36
- package/src/components/_todo/Prose.astro +0 -139
- package/src/components/_todo/Writeup.astro +0 -24
- package/src/components/base/Button.astro +0 -123
- package/src/components/base/Rating.astro +0 -47
- package/src/components/base/checkbox/Checkbox.astro +0 -52
- package/src/components/base/checkbox/CheckboxElement.astro +0 -31
- package/src/components/base/input/Input.astro +0 -79
- package/src/components/base/input/InputElement.astro +0 -69
- package/src/components/base/radio/Radio.astro +0 -66
- package/src/components/base/radio/RadioElement.astro +0 -34
- package/src/components/base/select/Select.astro +0 -90
- package/src/components/base/select/SelectElement.astro +0 -56
- package/src/components/base/select/SelectOption.astro +0 -32
- package/src/components/base/switch/Switch.astro +0 -55
- package/src/components/base/switch/SwitchElement.astro +0 -84
- package/src/components/base/table/Table.astro +0 -57
- package/src/components/base/table/TableBody.astro +0 -38
- package/src/components/base/table/TableCell.astro +0 -30
- package/src/components/base/table/TableFooter.astro +0 -48
- package/src/components/base/table/TableHead.astro +0 -31
- package/src/components/base/table/TableHeader.astro +0 -44
- package/src/components/base/table/TableRow.astro +0 -46
- package/src/components/base/textarea/Textarea.astro +0 -79
- package/src/components/base/textarea/TextareaElement.astro +0 -68
- package/src/components/segment/Box.astro +0 -46
- package/src/components/segment/Card.astro +0 -114
- package/src/components/segment/Footer.astro +0 -94
- package/src/components/segment/Header.astro +0 -100
- package/src/components/segment/Section.astro +0 -103
- package/src/components/segment/_regels.md +0 -32
- package/src/components/typography/Heading.astro +0 -66
- package/src/components/typography/List.astro +0 -47
- package/src/components/typography/ListItem.astro +0 -36
- package/src/components/typography/Paragraph.astro +0 -36
- package/src/components/typography/Tagline.astro +0 -36
- package/src/components/typography/Text.astro +0 -37
- package/src/components/utility/Head.astro +0 -83
- package/src/components/utility/Layout.astro +0 -46
- package/src/content/pages/index.md +0 -2
- package/src/css/color.scss +0 -289
- package/src/css/size.scss +0 -296
- package/src/css/utils.scss +0 -16
- package/src/index.ts +0 -71
- package/src/integration/integration.ts +0 -88
- package/src/integration/tailwind.ts +0 -34
- package/src/integration/unocss.ts +0 -38
- /package/src/{_archive → utils/_archive}/Childmorphic.ts +0 -0
- /package/src/{_archive → utils/_archive}/getAllCollections.ts +0 -0
- /package/src/{_archive → utils/_archive}/getCollectionCascade.ts +0 -0
- /package/src/{_archive → utils/_archive}/getPathname.ts +0 -0
- /package/src/{_archive → utils/_archive}/staticPageSchema.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transform.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformCasing.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformReferences.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformSelfs.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformUnderscores.ts +0 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Header
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Header
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Header from 'fulldev-ui/components/Header.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Header
|
|
18
|
+
heading="Fulldev UI"
|
|
19
|
+
buttons={[
|
|
20
|
+
{
|
|
21
|
+
variant: 'ghost',
|
|
22
|
+
title: 'X / Twitter',
|
|
23
|
+
icon: 'brand-x',
|
|
24
|
+
href: 'https://x.com/silveltm',
|
|
25
|
+
target: '_blank',
|
|
26
|
+
contrast: true,
|
|
27
|
+
},
|
|
28
|
+
]}
|
|
29
|
+
frame="fill"
|
|
30
|
+
position="relative"
|
|
31
|
+
/>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Props
|
|
35
|
+
|
|
36
|
+
<PropsTable />
|
|
37
|
+
|
|
38
|
+
## Examples
|
|
39
|
+
|
|
40
|
+
```astro live
|
|
41
|
+
---
|
|
42
|
+
import Header from 'fulldev-ui/components/Header.astro'
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
<Header
|
|
46
|
+
heading="Fulldev UI"
|
|
47
|
+
buttons={[
|
|
48
|
+
{
|
|
49
|
+
variant: 'ghost',
|
|
50
|
+
title: 'X / Twitter',
|
|
51
|
+
icon: 'brand-x',
|
|
52
|
+
href: 'https://x.com/silveltm',
|
|
53
|
+
target: '_blank',
|
|
54
|
+
contrast: true,
|
|
55
|
+
},
|
|
56
|
+
]}
|
|
57
|
+
frame="fill"
|
|
58
|
+
position="relative"
|
|
59
|
+
/>
|
|
60
|
+
<Header
|
|
61
|
+
heading="Fulldev UI"
|
|
62
|
+
buttons={[
|
|
63
|
+
{
|
|
64
|
+
variant: 'ghost',
|
|
65
|
+
title: 'X / Twitter',
|
|
66
|
+
icon: 'brand-x',
|
|
67
|
+
href: 'https://x.com/silveltm',
|
|
68
|
+
target: '_blank',
|
|
69
|
+
contrast: true,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
text: 'Docs',
|
|
73
|
+
href: '/overview/introduction/',
|
|
74
|
+
contrast: true,
|
|
75
|
+
},
|
|
76
|
+
]}
|
|
77
|
+
frame="fill"
|
|
78
|
+
position="relative"
|
|
79
|
+
/>
|
|
80
|
+
|
|
81
|
+
<Header
|
|
82
|
+
heading="Fulldev UI"
|
|
83
|
+
buttons={[
|
|
84
|
+
{
|
|
85
|
+
variant: 'ghost',
|
|
86
|
+
title: 'X / Twitter',
|
|
87
|
+
icon: 'brand-x',
|
|
88
|
+
href: 'https://x.com/silveltm',
|
|
89
|
+
target: '_blank',
|
|
90
|
+
contrast: true,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
text: 'Docs',
|
|
94
|
+
href: '/overview/introduction/',
|
|
95
|
+
contrast: true,
|
|
96
|
+
},
|
|
97
|
+
]}
|
|
98
|
+
frame="panel"
|
|
99
|
+
position="relative"
|
|
100
|
+
/>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
```astro live
|
|
104
|
+
---
|
|
105
|
+
import Header from 'fulldev-ui/components/Header.astro'
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
<Header
|
|
109
|
+
heading="Fulldev UI"
|
|
110
|
+
size="sm"
|
|
111
|
+
position="relative"
|
|
112
|
+
buttons={[
|
|
113
|
+
{
|
|
114
|
+
variant: 'ghost',
|
|
115
|
+
title: 'X / Twitter',
|
|
116
|
+
icon: 'brand-x',
|
|
117
|
+
href: 'https://x.com/silveltm',
|
|
118
|
+
target: '_blank',
|
|
119
|
+
contrast: true,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
text: 'Docs',
|
|
123
|
+
href: '/overview/introduction/',
|
|
124
|
+
contrast: true,
|
|
125
|
+
},
|
|
126
|
+
]}
|
|
127
|
+
/>
|
|
128
|
+
|
|
129
|
+
<Header
|
|
130
|
+
heading="Fulldev UI"
|
|
131
|
+
size="md"
|
|
132
|
+
position="relative"
|
|
133
|
+
buttons={[
|
|
134
|
+
{
|
|
135
|
+
variant: 'ghost',
|
|
136
|
+
title: 'X / Twitter',
|
|
137
|
+
icon: 'brand-x',
|
|
138
|
+
href: 'https://x.com/silveltm',
|
|
139
|
+
target: '_blank',
|
|
140
|
+
contrast: true,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
text: 'Docs',
|
|
144
|
+
href: '/overview/introduction/',
|
|
145
|
+
contrast: true,
|
|
146
|
+
},
|
|
147
|
+
]}
|
|
148
|
+
/>
|
|
149
|
+
|
|
150
|
+
<Header
|
|
151
|
+
heading="Fulldev UI"
|
|
152
|
+
size="lg"
|
|
153
|
+
position="relative"
|
|
154
|
+
buttons={[
|
|
155
|
+
{
|
|
156
|
+
variant: 'ghost',
|
|
157
|
+
title: 'X / Twitter',
|
|
158
|
+
icon: 'brand-x',
|
|
159
|
+
href: 'https://x.com/silveltm',
|
|
160
|
+
target: '_blank',
|
|
161
|
+
contrast: true,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
text: 'Docs',
|
|
165
|
+
href: '/overview/introduction/',
|
|
166
|
+
contrast: true,
|
|
167
|
+
},
|
|
168
|
+
]}
|
|
169
|
+
/>
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
```astro live
|
|
173
|
+
---
|
|
174
|
+
import Header from 'fulldev-ui/components/Header.astro'
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
<Header
|
|
178
|
+
heading="Fulldev UI"
|
|
179
|
+
buttons={[
|
|
180
|
+
{
|
|
181
|
+
variant: 'ghost',
|
|
182
|
+
title: 'X / Twitter',
|
|
183
|
+
icon: 'brand-x',
|
|
184
|
+
href: 'https://x.com/silveltm',
|
|
185
|
+
target: '_blank',
|
|
186
|
+
contrast: true,
|
|
187
|
+
},
|
|
188
|
+
]}
|
|
189
|
+
frame="fill"
|
|
190
|
+
position="relative"
|
|
191
|
+
color="base"
|
|
192
|
+
/>
|
|
193
|
+
|
|
194
|
+
<Header
|
|
195
|
+
heading="Fulldev UI"
|
|
196
|
+
buttons={[
|
|
197
|
+
{
|
|
198
|
+
variant: 'ghost',
|
|
199
|
+
title: 'X / Twitter',
|
|
200
|
+
icon: 'brand-x',
|
|
201
|
+
href: 'https://x.com/silveltm',
|
|
202
|
+
target: '_blank',
|
|
203
|
+
contrast: true,
|
|
204
|
+
},
|
|
205
|
+
]}
|
|
206
|
+
frame="fill"
|
|
207
|
+
position="relative"
|
|
208
|
+
color="brand"
|
|
209
|
+
/>
|
|
210
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Dialog
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Dialog from 'fulldev-ui/components/Dialog.astro'
|
|
11
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<Dialog label="Open Dialog">
|
|
15
|
+
<Heading>Hello, World!</Heading>
|
|
16
|
+
</Dialog>
|
|
17
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Drawer
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Drawer from 'fulldev-ui/components/Drawer.astro'
|
|
11
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<Drawer label="Open Drawer">
|
|
15
|
+
<Heading>Hello, World!</Heading>
|
|
16
|
+
</Drawer>
|
|
17
|
+
```
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Switch
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Switch from 'fulldev-ui/components/Switch.astro'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<Switch size="sm" />
|
|
14
|
+
<Switch size="md" />
|
|
15
|
+
<Switch size="lg" />
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```astro live
|
|
19
|
+
---
|
|
20
|
+
import Switch from 'fulldev-ui/components/Switch.astro'
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
<Switch trueLabel="On" falseLabel="Off" />
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Switch from 'fulldev-ui/components/Switch.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Switch color="base" trueLabel="On" falseLabel="Off" />
|
|
32
|
+
<Switch color="brand" trueLabel="On" falseLabel="Off" />
|
|
33
|
+
```
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Badge
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Badge
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Badge>Badge</Badge>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Badge size="sm">Badge</Badge>
|
|
32
|
+
<Badge size="md">Badge</Badge>
|
|
33
|
+
<Badge size="lg">Badge</Badge>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```astro live
|
|
37
|
+
---
|
|
38
|
+
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
<Badge color="base">Badge</Badge>
|
|
42
|
+
<Badge color="brand">Badge</Badge>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```astro live
|
|
46
|
+
---
|
|
47
|
+
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
<Badge>Badge</Badge>
|
|
51
|
+
<Badge contrast>Badge</Badge>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```astro live
|
|
55
|
+
---
|
|
56
|
+
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
<Badge radius="none">Badge</Badge>
|
|
60
|
+
<Badge radius="auto">Badge</Badge>
|
|
61
|
+
<Badge radius="full">Badge</Badge>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
```astro live
|
|
65
|
+
---
|
|
66
|
+
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
<Badge icon="circle" set:html="Badge" />
|
|
70
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Button
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Button
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Button color="brand">Button</Button>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Button variant="primary">Button</Button>
|
|
32
|
+
<Button variant="secondary">Button</Button>
|
|
33
|
+
<Button variant="tertiary">Button</Button>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```astro live
|
|
37
|
+
---
|
|
38
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
<Button icon="circle" set:html="Button" set:html="Buttontje" />
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```astro live
|
|
45
|
+
---
|
|
46
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
<Button size="sm" set:html="Button" />
|
|
50
|
+
<Button size="md" set:html="Button" />
|
|
51
|
+
<Button size="lg" set:html="Button" />
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```astro live
|
|
55
|
+
---
|
|
56
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
<Button color="base" set:html="Button" />
|
|
60
|
+
<Button color="brand" set:html="Button" />
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```astro live
|
|
64
|
+
---
|
|
65
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
<Button radius="none" set:html="Button" />
|
|
69
|
+
<Button radius="auto" set:html="Button" />
|
|
70
|
+
<Button radius="full" set:html="Button" />
|
|
71
|
+
```
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Card
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Card
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Card from 'fulldev-ui/components/Card.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Card
|
|
18
|
+
heading="Lorem ipsum dolor"
|
|
19
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
20
|
+
/>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Props
|
|
24
|
+
|
|
25
|
+
<PropsTable />
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
```astro live
|
|
30
|
+
---
|
|
31
|
+
import Card from 'fulldev-ui/components/Card.astro'
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
<Card
|
|
35
|
+
frame="panel"
|
|
36
|
+
size="sm"
|
|
37
|
+
heading="Lorem ipsum dolor"
|
|
38
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
39
|
+
/>
|
|
40
|
+
|
|
41
|
+
<Card
|
|
42
|
+
frame="fill"
|
|
43
|
+
size="sm"
|
|
44
|
+
heading="Lorem ipsum dolor"
|
|
45
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
46
|
+
/>
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
```astro live
|
|
50
|
+
---
|
|
51
|
+
import Card from 'fulldev-ui/components/Card.astro'
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
<Card
|
|
55
|
+
frame="panel"
|
|
56
|
+
size="sm"
|
|
57
|
+
heading="Lorem ipsum dolor"
|
|
58
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
59
|
+
/>
|
|
60
|
+
|
|
61
|
+
<Card
|
|
62
|
+
frame="panel"
|
|
63
|
+
size="md"
|
|
64
|
+
heading="Lorem ipsum dolor"
|
|
65
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
66
|
+
/>
|
|
67
|
+
|
|
68
|
+
<Card
|
|
69
|
+
frame="panel"
|
|
70
|
+
size="lg"
|
|
71
|
+
heading="Lorem ipsum dolor"
|
|
72
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
73
|
+
/>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```astro live
|
|
77
|
+
---
|
|
78
|
+
import Card from 'fulldev-ui/components/Card.astro'
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
<Card
|
|
82
|
+
frame="panel"
|
|
83
|
+
color="base"
|
|
84
|
+
heading="Lorem ipsum dolor"
|
|
85
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
86
|
+
/>
|
|
87
|
+
|
|
88
|
+
<Card
|
|
89
|
+
frame="panel"
|
|
90
|
+
color="brand"
|
|
91
|
+
heading="Lorem ipsum dolor"
|
|
92
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
93
|
+
/>
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```astro live
|
|
97
|
+
---
|
|
98
|
+
import Card from 'fulldev-ui/components/Card.astro'
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
<Card
|
|
102
|
+
frame="panel"
|
|
103
|
+
radius="none"
|
|
104
|
+
heading="Lorem ipsum dolor"
|
|
105
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
106
|
+
/>
|
|
107
|
+
|
|
108
|
+
<Card
|
|
109
|
+
frame="panel"
|
|
110
|
+
radius="auto"
|
|
111
|
+
heading="Lorem ipsum dolor"
|
|
112
|
+
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
|
|
113
|
+
/>
|
|
114
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Checkbox
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Checkbox
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
## Props
|
|
13
|
+
|
|
14
|
+
<PropsTable />
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
```astro live
|
|
19
|
+
---
|
|
20
|
+
import Checkbox from 'fulldev-ui/components/Checkbox.astro'
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
<Checkbox label="Label" name="checkbox" color="base" />
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Checkbox from 'fulldev-ui/components/Checkbox.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Checkbox name="checkbox" label="Base" color="base" />
|
|
32
|
+
<Checkbox name="checkbox" label="Brand" color="brand" />
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```astro live
|
|
36
|
+
---
|
|
37
|
+
import Checkbox from 'fulldev-ui/components/Checkbox.astro'
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
<Checkbox name="checkbox" size="sm" />
|
|
41
|
+
<Checkbox name="checkbox" size="md" />
|
|
42
|
+
<Checkbox name="checkbox" size="lg" />
|
|
43
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Icon
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Icon
|
|
9
|
+
|
|
10
|
+
```astro live
|
|
11
|
+
---
|
|
12
|
+
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<Icon name="code" color="brand" size="lg" />
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
19
|
+
|
|
20
|
+
## Props
|
|
21
|
+
|
|
22
|
+
<PropsTable />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```astro live
|
|
27
|
+
---
|
|
28
|
+
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<Icon name="circle" />
|
|
32
|
+
<Icon name="arrow-right" />
|
|
33
|
+
<Icon name="brand-x" />
|
|
34
|
+
<Icon name="brand-github" />
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```astro live
|
|
38
|
+
---
|
|
39
|
+
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
<Icon size="sm" name="circle" />
|
|
43
|
+
<Icon size="md" name="circle" />
|
|
44
|
+
<Icon size="lg" name="circle" />
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```astro live
|
|
48
|
+
---
|
|
49
|
+
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
<Icon color="base" name="circle" />
|
|
53
|
+
<Icon color="brand" name="circle" />
|
|
54
|
+
```
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
_layout: ComponentLayout
|
|
3
|
+
settings: components
|
|
4
|
+
|
|
5
|
+
title: Input
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Input
|
|
9
|
+
|
|
10
|
+
import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
|
|
11
|
+
|
|
12
|
+
```astro live
|
|
13
|
+
---
|
|
14
|
+
import Input from 'fulldev-ui/components/Input.astro'
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Input
|
|
18
|
+
label="Email"
|
|
19
|
+
icon="mail"
|
|
20
|
+
name="input"
|
|
21
|
+
type="email"
|
|
22
|
+
placeholder="This is an input"
|
|
23
|
+
/>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Props
|
|
27
|
+
|
|
28
|
+
<PropsTable />
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
```astro live
|
|
33
|
+
---
|
|
34
|
+
import Input from 'fulldev-ui/components/Input.astro'
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
<Input label="Name" icon="mail" name="name" type="email" />
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```astro live
|
|
41
|
+
---
|
|
42
|
+
import Input from 'fulldev-ui/components/Input.astro'
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
<Input size="sm" name="name" />
|
|
46
|
+
<Input size="md" name="name" />
|
|
47
|
+
<Input size="lg" name="name" />
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```astro live
|
|
51
|
+
---
|
|
52
|
+
import Input from 'fulldev-ui/components/Input.astro'
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
<Input color="base" name="name" />
|
|
56
|
+
<Input color="brand" name="name" />
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
```astro live
|
|
60
|
+
---
|
|
61
|
+
import Input from 'fulldev-ui/components/Input.astro'
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
<Input radius="none" name="name" />
|
|
65
|
+
<Input radius="auto" name="name" />
|
|
66
|
+
<Input radius="full" name="name" />
|
|
67
|
+
```
|