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
package/src/layouts/Doc.astro
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import type { CollectionEntry } from 'astro:content'
|
|
4
|
-
import Footer from 'fulldev-ui/blocks/Footer.astro'
|
|
5
|
-
import Header from 'fulldev-ui/blocks/Header.astro'
|
|
6
|
-
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
7
|
-
import Menu from 'fulldev-ui/components/Menu.astro'
|
|
8
|
-
import Menus from 'fulldev-ui/components/Menus.astro'
|
|
9
|
-
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
10
|
-
import type { PageSchema } from 'fulldev-ui/schemas/page.ts'
|
|
11
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
12
|
-
import Layout from 'fulldev-ui/structures/Layout.astro'
|
|
13
|
-
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
14
|
-
import Sidebar from 'fulldev-ui/structures/Sidebar.astro'
|
|
15
|
-
|
|
16
|
-
type Props = ComponentProps<typeof Layout> &
|
|
17
|
-
PageSchema & {
|
|
18
|
-
render: CollectionEntry<'pages'>['render']
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const { header, sidebar, render, title, description, footer } = Astro.props
|
|
22
|
-
|
|
23
|
-
const { Content, headings } = await render()
|
|
24
|
-
|
|
25
|
-
const filteredHeadings = headings?.filter(
|
|
26
|
-
(heading: any) => heading.depth >= 2 && heading.depth <= 4
|
|
27
|
-
)
|
|
28
|
-
|
|
29
|
-
const links = filteredHeadings?.map((button: any) => ({
|
|
30
|
-
text: button.text,
|
|
31
|
-
href: `#${button.slug}`,
|
|
32
|
-
class: `depth-${button.depth}`,
|
|
33
|
-
}))
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
<Layout
|
|
37
|
-
class:list="doc"
|
|
38
|
-
{...Astro.props}
|
|
39
|
-
>
|
|
40
|
-
<Header
|
|
41
|
-
{...sidebar}
|
|
42
|
-
{...header}
|
|
43
|
-
/>
|
|
44
|
-
<Container as="main">
|
|
45
|
-
<Sidebar>
|
|
46
|
-
<Menus
|
|
47
|
-
size="sm"
|
|
48
|
-
menus={sidebar?.menus}
|
|
49
|
-
/>
|
|
50
|
-
</Sidebar>
|
|
51
|
-
<Container>
|
|
52
|
-
<Prose>
|
|
53
|
-
<Heading
|
|
54
|
-
size="4xl"
|
|
55
|
-
as="h1"
|
|
56
|
-
text={title}
|
|
57
|
-
/>
|
|
58
|
-
<Paragraph
|
|
59
|
-
muted
|
|
60
|
-
text={description}
|
|
61
|
-
/>
|
|
62
|
-
<Content />
|
|
63
|
-
</Prose>
|
|
64
|
-
</Container>
|
|
65
|
-
<Sidebar class:list="doc-toc">
|
|
66
|
-
<Menu
|
|
67
|
-
size="sm"
|
|
68
|
-
heading={title}
|
|
69
|
-
{links}
|
|
70
|
-
/>
|
|
71
|
-
</Sidebar>
|
|
72
|
-
</Container>
|
|
73
|
-
<Footer {...footer} />
|
|
74
|
-
</Layout>
|
|
75
|
-
|
|
76
|
-
<style is:global>
|
|
77
|
-
@layer fulldev {
|
|
78
|
-
.doc {
|
|
79
|
-
main {
|
|
80
|
-
@apply flex w-full items-start justify-between !px-0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.sidebar {
|
|
84
|
-
@apply hidden lg:flex;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.doc-toc {
|
|
88
|
-
@apply hidden xl:flex;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.prose {
|
|
92
|
-
@apply mx-auto py-8;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
</style>
|
package/src/layouts/Job.astro
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import type { CollectionEntry } from 'astro:content'
|
|
4
|
-
import { getEntries } from 'astro:content'
|
|
5
|
-
import Content3 from 'fulldev-ui/blocks/Content3.astro'
|
|
6
|
-
import Footer from 'fulldev-ui/blocks/Footer.astro'
|
|
7
|
-
import Header from 'fulldev-ui/blocks/Header.astro'
|
|
8
|
-
import Element from 'fulldev-ui/components/Element.astro'
|
|
9
|
-
import type { PageSchema } from 'fulldev-ui/schemas/page.ts'
|
|
10
|
-
import Layout from 'fulldev-ui/structures/Layout.astro'
|
|
11
|
-
import { getHref } from 'fulldev-ui/utils/getHref.ts'
|
|
12
|
-
|
|
13
|
-
type Props = ComponentProps<typeof Layout> &
|
|
14
|
-
PageSchema & {
|
|
15
|
-
render: CollectionEntry<'pages'>['render']
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const {
|
|
19
|
-
title,
|
|
20
|
-
description,
|
|
21
|
-
list,
|
|
22
|
-
button,
|
|
23
|
-
buttons,
|
|
24
|
-
header,
|
|
25
|
-
sidebar,
|
|
26
|
-
render,
|
|
27
|
-
parents,
|
|
28
|
-
footer,
|
|
29
|
-
} = Astro.props
|
|
30
|
-
|
|
31
|
-
const parentEntries = parents && (await getEntries(parents))
|
|
32
|
-
|
|
33
|
-
const { Content } = await render()
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
<Layout
|
|
37
|
-
class:list="job"
|
|
38
|
-
{...Astro.props}
|
|
39
|
-
>
|
|
40
|
-
<Header
|
|
41
|
-
{...sidebar}
|
|
42
|
-
{...header}
|
|
43
|
-
/>
|
|
44
|
-
<Element as="main">
|
|
45
|
-
<Content3
|
|
46
|
-
badges={parentEntries?.map((parent) => ({
|
|
47
|
-
text: parent.data.title,
|
|
48
|
-
href: getHref(parent.slug),
|
|
49
|
-
}))}
|
|
50
|
-
heading={title}
|
|
51
|
-
paragraph={description}
|
|
52
|
-
{list}
|
|
53
|
-
{button}
|
|
54
|
-
{buttons}
|
|
55
|
-
>
|
|
56
|
-
<Content />
|
|
57
|
-
</Content3>
|
|
58
|
-
</Element>
|
|
59
|
-
<Footer {...footer} />
|
|
60
|
-
</Layout>
|
package/src/layouts/Jobs.astro
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import type { CollectionEntry } from 'astro:content'
|
|
4
|
-
import Footer from 'fulldev-ui/blocks/Footer.astro'
|
|
5
|
-
import Header from 'fulldev-ui/blocks/Header.astro'
|
|
6
|
-
import Intro1 from 'fulldev-ui/blocks/Intro1.astro'
|
|
7
|
-
import Jobs1 from 'fulldev-ui/blocks/Jobs1.astro'
|
|
8
|
-
import Element from 'fulldev-ui/components/Element.astro'
|
|
9
|
-
import Sidebar from 'fulldev-ui/components/Sidebar.astro'
|
|
10
|
-
import type { PageSchema } from 'fulldev-ui/schemas/page.ts'
|
|
11
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
12
|
-
import Layout from 'fulldev-ui/structures/Layout.astro'
|
|
13
|
-
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
14
|
-
|
|
15
|
-
type Props = ComponentProps<typeof Layout> &
|
|
16
|
-
PageSchema & {
|
|
17
|
-
slug: CollectionEntry<'pages'>['slug']
|
|
18
|
-
render: CollectionEntry<'pages'>['render']
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const { slug, header, sidebar, render, title, description, footer } =
|
|
22
|
-
Astro.props
|
|
23
|
-
|
|
24
|
-
const { Content } = await render()
|
|
25
|
-
|
|
26
|
-
// const children = (
|
|
27
|
-
// await getCollection('pages', ({ data }) =>
|
|
28
|
-
// data.parents?.some((p) => p.slug.includes(slug))
|
|
29
|
-
// )
|
|
30
|
-
// )?.map(({ collection, slug }) => ({ collection, slug }))
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
<Layout
|
|
34
|
-
class:list="jobs"
|
|
35
|
-
{...Astro.props}
|
|
36
|
-
>
|
|
37
|
-
<Header
|
|
38
|
-
{...sidebar}
|
|
39
|
-
{...header}
|
|
40
|
-
/>
|
|
41
|
-
<Container class:list="jobs-container">
|
|
42
|
-
<Sidebar {...sidebar} />
|
|
43
|
-
<Element
|
|
44
|
-
class:list="jobs-main"
|
|
45
|
-
as="main"
|
|
46
|
-
>
|
|
47
|
-
<Intro1
|
|
48
|
-
heading={title}
|
|
49
|
-
paragraph={description}
|
|
50
|
-
/>
|
|
51
|
-
<!-- <Jobs1 pages={children} /> -->
|
|
52
|
-
<Prose>
|
|
53
|
-
<Content />
|
|
54
|
-
</Prose>
|
|
55
|
-
</Element>
|
|
56
|
-
</Container>
|
|
57
|
-
</Layout>
|
|
58
|
-
<Footer {...footer} />
|
|
59
|
-
|
|
60
|
-
<style is:global>
|
|
61
|
-
@layer fulldev {
|
|
62
|
-
.jobs {
|
|
63
|
-
.jobs-container {
|
|
64
|
-
@apply flex !pr-0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.jobs-main {
|
|
68
|
-
@apply flex w-full flex-col;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
</style>
|
package/src/layouts/Post.astro
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import type { CollectionEntry } from 'astro:content'
|
|
4
|
-
import Content1 from 'fulldev-ui/blocks/Content1.astro'
|
|
5
|
-
import Footer from 'fulldev-ui/blocks/Footer.astro'
|
|
6
|
-
import Header from 'fulldev-ui/blocks/Header.astro'
|
|
7
|
-
import Block from 'fulldev-ui/components/Block.astro'
|
|
8
|
-
import Element from 'fulldev-ui/components/Element.astro'
|
|
9
|
-
import type { PageSchema } from 'fulldev-ui/schemas/page'
|
|
10
|
-
import Layout from 'fulldev-ui/structures/Layout.astro'
|
|
11
|
-
|
|
12
|
-
type Props = ComponentProps<typeof Layout> &
|
|
13
|
-
PageSchema & {
|
|
14
|
-
render: CollectionEntry<'pages'>['render']
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
title,
|
|
19
|
-
description,
|
|
20
|
-
list,
|
|
21
|
-
button,
|
|
22
|
-
header,
|
|
23
|
-
sidebar,
|
|
24
|
-
sections,
|
|
25
|
-
footer,
|
|
26
|
-
render,
|
|
27
|
-
} = Astro.props
|
|
28
|
-
|
|
29
|
-
const { Content, headings } = await render()
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
<Layout
|
|
33
|
-
class:list="post"
|
|
34
|
-
{...Astro.props}
|
|
35
|
-
>
|
|
36
|
-
<Header
|
|
37
|
-
{...sidebar}
|
|
38
|
-
{...header}
|
|
39
|
-
/>
|
|
40
|
-
<Element as="main">
|
|
41
|
-
<Content1
|
|
42
|
-
heading={title}
|
|
43
|
-
paragraph={description}
|
|
44
|
-
{list}
|
|
45
|
-
{button}
|
|
46
|
-
{headings}
|
|
47
|
-
>
|
|
48
|
-
<Content />
|
|
49
|
-
</Content1>
|
|
50
|
-
{sections?.map((section) => <Block {...section} />)}
|
|
51
|
-
</Element>
|
|
52
|
-
<Footer {...footer} />
|
|
53
|
-
</Layout>
|
|
File without changes
|