fulldev-ui 0.6.0-beta.8 → 0.6.0
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 +6 -8
- package/cloudcannon.config.yml +38 -102
- package/package.json +2 -1
- package/public/images/block-code.png +0 -0
- package/public/images/component-code.png +0 -0
- package/src/blocks/Banner.astro +3 -5
- package/src/blocks/Colleagues1.astro +4 -3
- package/src/blocks/Content1.astro +6 -28
- package/src/blocks/Content2.astro +25 -49
- package/src/blocks/Content3.astro +25 -54
- package/src/blocks/Content4.astro +27 -50
- package/src/blocks/Content5.astro +7 -37
- package/src/blocks/Content6.astro +56 -0
- package/src/blocks/Content7.astro +64 -0
- package/src/blocks/Content8.astro +47 -0
- package/src/blocks/Cta1.astro +6 -9
- package/src/blocks/Cta2.astro +52 -0
- package/src/blocks/Features1.astro +5 -4
- package/src/blocks/Features2.astro +70 -0
- package/src/blocks/Footer.astro +2 -6
- package/src/blocks/Header.astro +8 -25
- package/src/blocks/Hero1.astro +19 -27
- package/src/blocks/Intro1.astro +3 -4
- package/src/blocks/{Industries1.astro → JobCategories1.astro} +13 -38
- package/src/blocks/JobCategory1.astro +90 -0
- package/src/blocks/Jobs1.astro +7 -10
- package/src/blocks/Logos1.astro +4 -4
- package/src/blocks/Pages1.astro +85 -0
- package/src/blocks/Pricings1.astro +61 -0
- package/src/blocks/Products1.astro +7 -10
- package/src/blocks/Projects1.astro +59 -83
- package/src/blocks/Reviews1.astro +10 -10
- package/src/blocks/Subheader.astro +4 -9
- package/src/blocks/{Contact1.astro → _Contact1.astro} +1 -3
- package/src/components/Avatar.astro +40 -0
- package/src/components/Avatars.astro +20 -0
- package/src/components/Badge.astro +6 -35
- package/src/components/Block.astro +19 -4
- package/src/components/Chip.astro +73 -0
- package/src/components/Element.astro +1 -0
- package/src/components/Heading.astro +13 -5
- package/src/components/Image.astro +1 -1
- package/src/components/Link.astro +1 -1
- package/src/components/Menu.astro +9 -5
- package/src/components/Proof.astro +52 -0
- package/src/components/Toc.astro +33 -35
- package/src/content/config.ts +5 -0
- package/src/content/layouts/base.yml +133 -143
- package/src/content/pages/{base → _base}/toggle.mdx +1 -1
- package/src/content/pages/_showcase/stark-vulcanising-products.md +0 -1
- package/src/content/pages/docs/blocks/_categories.mdx +1 -17
- package/src/content/pages/docs/blocks/banner.mdx +1 -1
- package/src/content/pages/docs/blocks/colleagues.mdx +1 -1
- package/src/content/pages/docs/blocks/content.mdx +162 -1
- package/src/content/pages/docs/blocks/cta.mdx +1 -1
- package/src/content/pages/docs/blocks/features.mdx +66 -1
- package/src/content/pages/docs/blocks/footer.mdx +1 -1
- package/src/content/pages/docs/blocks/header.mdx +1 -1
- package/src/content/pages/docs/blocks/hero.mdx +1 -1
- package/src/content/pages/docs/blocks/intro.mdx +1 -1
- package/src/content/pages/docs/blocks/logos.mdx +1 -1
- package/src/content/pages/docs/blocks/projects.mdx +1 -1
- package/src/content/pages/docs/blocks/reviews.mdx +1 -1
- package/src/content/pages/docs/blocks.mdx +1 -7
- package/src/content/pages/docs/collections/images.mdx +1 -1
- package/src/content/pages/docs/collections/pages.mdx +1 -1
- package/src/content/pages/docs/collections/presets.mdx +1 -1
- package/src/content/pages/docs/components/_localeswitcher.mdx +1 -1
- package/src/content/pages/docs/components/_table.mdx +1 -1
- package/src/content/pages/docs/components/_tagline.mdx +1 -1
- package/src/content/pages/docs/components/_themer.mdx +1 -1
- package/src/content/pages/docs/components/_toggle.mdx +1 -1
- package/src/content/pages/docs/components/avatar.mdx +32 -0
- package/src/content/pages/docs/components/badge.mdx +1 -34
- package/src/content/pages/docs/components/badges.mdx +1 -13
- package/src/content/pages/docs/components/button.mdx +1 -1
- package/src/content/pages/docs/components/buttons.mdx +1 -1
- package/src/content/pages/docs/components/channel.mdx +1 -1
- package/src/content/pages/docs/components/channels.mdx +1 -1
- package/src/content/pages/docs/components/checkbox.mdx +1 -1
- package/src/content/pages/docs/components/chip.mdx +75 -0
- package/src/content/pages/docs/components/heading.mdx +1 -1
- package/src/content/pages/docs/components/icon.mdx +1 -1
- package/src/content/pages/docs/components/image.mdx +2 -1
- package/src/content/pages/docs/components/input.mdx +1 -1
- package/src/content/pages/docs/components/label.mdx +1 -1
- package/src/content/pages/docs/components/link.mdx +1 -1
- package/src/content/pages/docs/components/links.mdx +11 -52
- package/src/content/pages/docs/components/list.mdx +1 -1
- package/src/content/pages/docs/components/logo.mdx +1 -1
- package/src/content/pages/docs/components/menu.mdx +5 -18
- package/src/content/pages/docs/components/paragraph.mdx +1 -1
- package/src/content/pages/docs/components/rating.mdx +1 -1
- package/src/content/pages/docs/components/select.mdx +1 -1
- package/src/content/pages/docs/components/social.mdx +1 -1
- package/src/content/pages/docs/components/socials.mdx +1 -1
- package/src/content/pages/docs/components/switch.mdx +1 -1
- package/src/content/pages/docs/components/tagline.mdx +1 -1
- package/src/content/pages/docs/components/textarea.mdx +1 -1
- package/src/content/pages/docs/components.mdx +1 -1
- package/src/content/pages/docs/customization.mdx +1 -1
- package/src/content/pages/docs/frameworks.mdx +1 -1
- package/src/content/pages/docs/index.mdx +1 -1
- package/src/content/pages/docs/installation.mdx +1 -24
- package/src/content/pages/docs/layouts/doc.mdx +1 -1
- package/src/content/pages/docs/layouts/page.mdx +1 -1
- package/src/content/pages/docs/pages.mdx +1 -1
- package/src/content/pages/docs/structures/_card.mdx +1 -1
- package/src/content/pages/docs/structures/_dialog.mdx +1 -1
- package/src/content/pages/docs/structures/_drawer.mdx +1 -1
- package/src/content/pages/docs/structures/card.mdx +1 -1
- package/src/content/pages/docs/structures/code.mdx +1 -1
- package/src/content/pages/docs/structures/container.mdx +1 -1
- package/src/content/pages/docs/structures/drawer.mdx +1 -1
- package/src/content/pages/docs/structures/group.mdx +1 -1
- package/src/content/pages/docs/structures/layout.mdx +1 -1
- package/src/content/pages/docs/structures/masonry.mdx +1 -1
- package/src/content/pages/docs/structures/matrix.mdx +1 -1
- package/src/content/pages/docs/structures/panel.mdx +1 -1
- package/src/content/pages/docs/structures/prose.mdx +1 -1
- package/src/content/pages/docs/structures/section.mdx +1 -1
- package/src/content/pages/docs/structures/stack.mdx +1 -1
- package/src/content/pages/docs/structures/writeup.mdx +1 -1
- package/src/content/pages/docs/structures.mdx +1 -1
- package/src/content/pages/index.mdx +20 -25
- package/src/layouts/Page.astro +44 -10
- package/src/layouts/{Product.astro → _Product.astro} +6 -6
- package/src/pages/test.astro +16 -0
- package/src/schemas/block.ts +18 -44
- package/src/schemas/button.ts +2 -0
- package/src/schemas/card.ts +43 -0
- package/src/schemas/{badge.ts → chip.ts} +3 -3
- package/src/schemas/page.ts +4 -18
- package/src/schemas/proof.ts +12 -0
- package/src/structures/Drawer.astro +2 -3
- package/src/structures/Prose.astro +31 -40
- package/src/structures/Section.astro +1 -1
- package/src/structures/Sidebar.astro +3 -4
- package/src/structures/Split.astro +38 -0
- package/tailwind.config.ts +4 -1
- package/pnpm-lock.yaml +0 -5186
- package/src/blocks/_Hero.astro +0 -245
- package/src/components/Blocks.astro +0 -26
- package/src/components/Sidebar.astro +0 -43
- package/src/content/pages/docs/blocks/feature.mdx +0 -17
- package/src/content/pages/docs/layouts.mdx +0 -80
- package/src/layouts/Block.astro +0 -81
- package/src/layouts/Category.astro +0 -136
- package/src/layouts/Doc.astro +0 -96
- package/src/layouts/Job.astro +0 -60
- package/src/layouts/Jobs.astro +0 -72
- package/src/layouts/Post.astro +0 -53
- /package/src/content/pages/{posts → _posts}/post.md +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
_block: Content8
|
|
3
3
|
title: Content
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -11,6 +11,7 @@ import Content1 from 'fulldev-ui/blocks/Content1.astro'
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
<Content1
|
|
14
|
+
depth={1}
|
|
14
15
|
tagline="Lorem ipsum"
|
|
15
16
|
heading="Lorem ipsum dolor sit"
|
|
16
17
|
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil."
|
|
@@ -94,6 +95,7 @@ import Content4 from 'fulldev-ui/blocks/Content4.astro'
|
|
|
94
95
|
---
|
|
95
96
|
|
|
96
97
|
<Content4
|
|
98
|
+
depth={1}
|
|
97
99
|
tagline="Lorem ipsum"
|
|
98
100
|
heading="Lorem ipsum dolor sit"
|
|
99
101
|
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil."
|
|
@@ -128,6 +130,7 @@ import Content5 from 'fulldev-ui/blocks/Content5.astro'
|
|
|
128
130
|
---
|
|
129
131
|
|
|
130
132
|
<Content5
|
|
133
|
+
depth={1}
|
|
131
134
|
tagline="Lorem ipsum"
|
|
132
135
|
heading="Lorem ipsum dolor sit"
|
|
133
136
|
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil."
|
|
@@ -153,3 +156,161 @@ import Content5 from 'fulldev-ui/blocks/Content5.astro'
|
|
|
153
156
|
`
|
|
154
157
|
/>
|
|
155
158
|
```
|
|
159
|
+
|
|
160
|
+
## Content6
|
|
161
|
+
|
|
162
|
+
```astro live
|
|
163
|
+
---
|
|
164
|
+
import Content6 from 'fulldev-ui/blocks/Content6.astro'
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
<Content6
|
|
168
|
+
depth={1}
|
|
169
|
+
tagline="Lorem ipsum"
|
|
170
|
+
heading="Lorem ipsum dolor sit"
|
|
171
|
+
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil."
|
|
172
|
+
buttons={[{ text: 'Lorem ipsum' }, { text: 'Lorem ipsum' }]}
|
|
173
|
+
image={{ src: '/images/placeholder-landscape.webp' }}
|
|
174
|
+
headings={[
|
|
175
|
+
{
|
|
176
|
+
text: 'Lorem ipsum',
|
|
177
|
+
depth: 1,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
text: 'Dolor sit amet',
|
|
181
|
+
depth: 2,
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
text: 'Consectetur',
|
|
185
|
+
depth: 3,
|
|
186
|
+
},
|
|
187
|
+
]}
|
|
188
|
+
content=`
|
|
189
|
+
<h3>HTML Content Example</h3>
|
|
190
|
+
<p>This is an example of HTML content inserted into the Content block.</p>
|
|
191
|
+
<ul>
|
|
192
|
+
<li>First item</li>
|
|
193
|
+
<li>Second item</li>
|
|
194
|
+
<li>Third item</li>
|
|
195
|
+
</ul>
|
|
196
|
+
`
|
|
197
|
+
/>
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## Content7
|
|
201
|
+
|
|
202
|
+
```astro live
|
|
203
|
+
---
|
|
204
|
+
import Content7 from 'fulldev-ui/blocks/Content7.astro'
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
<Content7
|
|
208
|
+
depth={1}
|
|
209
|
+
tagline="Lorem ipsum"
|
|
210
|
+
heading="Lorem ipsum dolor sit"
|
|
211
|
+
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil."
|
|
212
|
+
buttons={[{ text: 'Lorem ipsum' }, { text: 'Lorem ipsum' }]}
|
|
213
|
+
image={{ src: '/images/placeholder-landscape.webp' }}
|
|
214
|
+
headings={[
|
|
215
|
+
{
|
|
216
|
+
text: 'Lorem ipsum',
|
|
217
|
+
depth: 1,
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
text: 'Dolor sit amet',
|
|
221
|
+
depth: 2,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
text: 'Consectetur',
|
|
225
|
+
depth: 3,
|
|
226
|
+
},
|
|
227
|
+
]}
|
|
228
|
+
menus={[
|
|
229
|
+
{
|
|
230
|
+
heading: 'Lorem ipsum',
|
|
231
|
+
links: [
|
|
232
|
+
{ text: 'Lorem ipsum' },
|
|
233
|
+
{ text: 'Dolor sit' },
|
|
234
|
+
{ text: 'Amet consectetur' },
|
|
235
|
+
],
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
heading: 'Dolor sit amet',
|
|
239
|
+
links: [
|
|
240
|
+
{ text: 'Adipisicing elit' },
|
|
241
|
+
{ text: 'Voluptatibus quia' },
|
|
242
|
+
{ text: 'Nulla maiores' },
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
heading: 'Consectetur',
|
|
247
|
+
links: [
|
|
248
|
+
{ text: 'Perferendis eaque' },
|
|
249
|
+
{ text: 'Exercitationem' },
|
|
250
|
+
{ text: 'Praesentium nihil' },
|
|
251
|
+
],
|
|
252
|
+
},
|
|
253
|
+
]}
|
|
254
|
+
content=`
|
|
255
|
+
<h3>HTML Content Example</h3>
|
|
256
|
+
<p>This is an example of HTML content inserted into the Content block.</p>
|
|
257
|
+
<ul>
|
|
258
|
+
<li>First item</li>
|
|
259
|
+
<li>Second item</li>
|
|
260
|
+
<li>Third item</li>
|
|
261
|
+
</ul>
|
|
262
|
+
`
|
|
263
|
+
/>
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
## Content8
|
|
267
|
+
|
|
268
|
+
```astro live
|
|
269
|
+
---
|
|
270
|
+
import Content8 from 'fulldev-ui/blocks/Content8.astro'
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
<Content8
|
|
274
|
+
depth={1}
|
|
275
|
+
tagline="Lorem ipsum"
|
|
276
|
+
heading="Lorem ipsum dolor sit"
|
|
277
|
+
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil."
|
|
278
|
+
buttons={[{ text: 'Lorem ipsum' }, { text: 'Lorem ipsum' }]}
|
|
279
|
+
image={{ src: '/images/placeholder-landscape.webp' }}
|
|
280
|
+
menus={[
|
|
281
|
+
{
|
|
282
|
+
heading: 'Lorem ipsum',
|
|
283
|
+
links: [
|
|
284
|
+
{ text: 'Lorem ipsum' },
|
|
285
|
+
{ text: 'Dolor sit' },
|
|
286
|
+
{ text: 'Amet consectetur' },
|
|
287
|
+
],
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
heading: 'Dolor sit amet',
|
|
291
|
+
links: [
|
|
292
|
+
{ text: 'Adipisicing elit' },
|
|
293
|
+
{ text: 'Voluptatibus quia' },
|
|
294
|
+
{ text: 'Nulla maiores' },
|
|
295
|
+
],
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
heading: 'Consectetur',
|
|
299
|
+
links: [
|
|
300
|
+
{ text: 'Perferendis eaque' },
|
|
301
|
+
{ text: 'Exercitationem' },
|
|
302
|
+
{ text: 'Praesentium nihil' },
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
]}
|
|
306
|
+
content=`
|
|
307
|
+
<h3>HTML Content Example</h3>
|
|
308
|
+
<p>This is an example of HTML content inserted into the Content block.</p>
|
|
309
|
+
<ul>
|
|
310
|
+
<li>First item</li>
|
|
311
|
+
<li>Second item</li>
|
|
312
|
+
<li>Third item</li>
|
|
313
|
+
</ul>
|
|
314
|
+
`
|
|
315
|
+
/>
|
|
316
|
+
```
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
_block: Content8
|
|
3
3
|
title: Features
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
## Features 1
|
|
7
|
+
|
|
6
8
|
```astro live
|
|
7
9
|
---
|
|
8
10
|
import Features1 from 'fulldev-ui/blocks/Features1.astro'
|
|
@@ -33,3 +35,66 @@ import Features1 from 'fulldev-ui/blocks/Features1.astro'
|
|
|
33
35
|
]}
|
|
34
36
|
/>
|
|
35
37
|
```
|
|
38
|
+
|
|
39
|
+
## Features 2
|
|
40
|
+
|
|
41
|
+
```astro live
|
|
42
|
+
---
|
|
43
|
+
import Features2 from 'fulldev-ui/blocks/Features2.astro'
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
<Features2
|
|
47
|
+
heading="Lorem ipsum dolor sit"
|
|
48
|
+
paragraph="Lorem ipsum dolor sit amet consectetur adipisicing elit."
|
|
49
|
+
cards={[
|
|
50
|
+
{
|
|
51
|
+
icon: 'rocket',
|
|
52
|
+
heading: 'Lorem ipsum',
|
|
53
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
54
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
icon: 'pencil',
|
|
58
|
+
heading: 'Lorem ipsum',
|
|
59
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
60
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
icon: 'typography',
|
|
64
|
+
heading: 'Lorem ipsum',
|
|
65
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
66
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
icon: 'rocket',
|
|
70
|
+
heading: 'Lorem ipsum',
|
|
71
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
72
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
icon: 'pencil',
|
|
76
|
+
heading: 'Lorem ipsum',
|
|
77
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
78
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
icon: 'typography',
|
|
82
|
+
heading: 'Lorem ipsum',
|
|
83
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
84
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
icon: 'pencil',
|
|
88
|
+
heading: 'Lorem ipsum',
|
|
89
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
90
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
icon: 'typography',
|
|
94
|
+
heading: 'Lorem ipsum',
|
|
95
|
+
paragraph: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',
|
|
96
|
+
button: { text: 'Lorem ipsum', href: '' },
|
|
97
|
+
},
|
|
98
|
+
]}
|
|
99
|
+
/>
|
|
100
|
+
```
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
_block: Content7
|
|
3
3
|
title: Using Blocks
|
|
4
4
|
description: Ready to use blocks and page building.
|
|
5
5
|
---
|
|
@@ -17,11 +17,9 @@ import Hero1 from 'fulldev-ui/blocks/Hero1.astro'
|
|
|
17
17
|
buttons={[
|
|
18
18
|
{
|
|
19
19
|
text: 'Click me',
|
|
20
|
-
href: '#',
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
22
|
text: 'Click me',
|
|
24
|
-
href: '#',
|
|
25
23
|
},
|
|
26
24
|
]}
|
|
27
25
|
/>
|
|
@@ -45,14 +43,10 @@ import Block from 'fulldev-ui/components/Block.astro'
|
|
|
45
43
|
buttons={[
|
|
46
44
|
{
|
|
47
45
|
text: 'Click me',
|
|
48
|
-
href: '#',
|
|
49
46
|
},
|
|
50
47
|
{
|
|
51
48
|
text: 'Click me',
|
|
52
|
-
href: '#',
|
|
53
49
|
},
|
|
54
50
|
]}
|
|
55
51
|
/>
|
|
56
52
|
```
|
|
57
|
-
|
|
58
|
-
More on this in the [Layouts](/docs/layouts/) guide.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
_block: Content7
|
|
3
|
+
title: Avatar
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Avatar from 'fulldev-ui/components/Avatar.astro'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<Avatar src="/images/avatar-2.jpeg" />
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Props
|
|
17
|
+
|
|
18
|
+
<Props />
|
|
19
|
+
|
|
20
|
+
## Examples
|
|
21
|
+
|
|
22
|
+
### `variant`
|
|
23
|
+
|
|
24
|
+
```astro live
|
|
25
|
+
---
|
|
26
|
+
import Avatar from 'fulldev-ui/components/Avatar.astro'
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
<Avatar size="sm" src="/images/avatar-2.jpeg" />
|
|
30
|
+
<Avatar size="md" src="/images/avatar-2.jpeg" />
|
|
31
|
+
<Avatar size="lg" src="/images/avatar-2.jpeg" />
|
|
32
|
+
```
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
_block: Content7
|
|
3
3
|
title: Badge
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -31,39 +31,6 @@ import Badge from 'fulldev-ui/components/Badge.astro'
|
|
|
31
31
|
<Badge variant="outline">Outline</Badge>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
### `size`
|
|
35
|
-
|
|
36
|
-
```astro live
|
|
37
|
-
---
|
|
38
|
-
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
<Badge size="sm">Small</Badge>
|
|
42
|
-
<Badge size="md">Medium</Badge>
|
|
43
|
-
<Badge size="lg">Large</Badge>
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### `icon`
|
|
47
|
-
|
|
48
|
-
```astro live
|
|
49
|
-
---
|
|
50
|
-
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
<Badge icon="circle" text="Badge" />
|
|
54
|
-
<Badge icon="circle" />
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### `href`
|
|
58
|
-
|
|
59
|
-
```astro live
|
|
60
|
-
---
|
|
61
|
-
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
<Badge href="#">Link</Badge>
|
|
65
|
-
```
|
|
66
|
-
|
|
67
34
|
### `text`
|
|
68
35
|
|
|
69
36
|
```astro live
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
_block: Content7
|
|
3
3
|
title: Badges
|
|
4
4
|
description: A utility component for displaying multiple badges.
|
|
5
5
|
---
|
|
@@ -31,15 +31,3 @@ import Badges from 'fulldev-ui/components/Badges.astro'
|
|
|
31
31
|
<Badges variant="secondary" badges={[{ text: 'First' }, { text: 'Second' }]} />
|
|
32
32
|
<Badges variant="outline" badges={[{ text: 'First' }, { text: 'Second' }]} />
|
|
33
33
|
```
|
|
34
|
-
|
|
35
|
-
### `size`
|
|
36
|
-
|
|
37
|
-
```astro live
|
|
38
|
-
---
|
|
39
|
-
import Badges from 'fulldev-ui/components/Badges.astro'
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
<Badges size="sm" badges={[{ text: 'First' }, { text: 'Second' }]} />
|
|
43
|
-
<Badges size="md" badges={[{ text: 'First' }, { text: 'Second' }]} />
|
|
44
|
-
<Badges size="lg" badges={[{ text: 'First' }, { text: 'Second' }]} />
|
|
45
|
-
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
_block: Content7
|
|
3
|
+
title: Chip
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import Props from 'fulldev-ui/components/docs/Props.astro'
|
|
7
|
+
|
|
8
|
+
```astro live
|
|
9
|
+
---
|
|
10
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<Chip>Chip</Chip>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Props
|
|
17
|
+
|
|
18
|
+
<Props />
|
|
19
|
+
|
|
20
|
+
## Examples
|
|
21
|
+
|
|
22
|
+
### `variant`
|
|
23
|
+
|
|
24
|
+
```astro live
|
|
25
|
+
---
|
|
26
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
<Chip variant="primary">Primary</Chip>
|
|
30
|
+
<Chip variant="secondary">Secondary</Chip>
|
|
31
|
+
<Chip variant="outline">Outline</Chip>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### `size`
|
|
35
|
+
|
|
36
|
+
```astro live
|
|
37
|
+
---
|
|
38
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
<Chip size="sm">Small</Chip>
|
|
42
|
+
<Chip size="md">Medium</Chip>
|
|
43
|
+
<Chip size="lg">Large</Chip>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### `icon`
|
|
47
|
+
|
|
48
|
+
```astro live
|
|
49
|
+
---
|
|
50
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
<Chip icon="circle" text="Chip" />
|
|
54
|
+
<Chip icon="circle" />
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### `href`
|
|
58
|
+
|
|
59
|
+
```astro live
|
|
60
|
+
---
|
|
61
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
<Chip href="#">Link</Chip>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### `text`
|
|
68
|
+
|
|
69
|
+
```astro live
|
|
70
|
+
---
|
|
71
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
<Chip text="Chip" />
|
|
75
|
+
```
|