fulldev-ui 0.5.0-beta.0 → 0.5.0-beta.10
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/CONTRIBUTING.md +10 -4
- package/astro.config.ts +4 -11
- package/package.json +5 -3
- package/pnpm-lock.yaml +6400 -0
- package/src/blocks/Article.astro +31 -12
- package/src/blocks/Banner.astro +2 -1
- package/src/blocks/Contact.astro +7 -30
- package/src/blocks/Excerpt.astro +14 -0
- package/src/blocks/Intro.astro +3 -1
- package/src/blocks/Product.astro +55 -22
- package/src/components/Card.astro +11 -5
- package/src/components/Cart.astro +38 -0
- package/src/components/CartForm.astro +121 -0
- package/src/components/CartList.astro +134 -0
- package/src/components/CartSummary.astro +147 -0
- package/src/components/Drawer.astro +128 -52
- package/src/components/Footer.astro +6 -3
- package/src/components/Form.astro +49 -0
- package/src/components/Header.astro +19 -14
- package/src/components/Image.astro +0 -1
- package/src/components/Input.astro +6 -0
- package/src/components/Menu.astro +56 -0
- package/src/components/Price.astro +7 -11
- package/src/components/Search.astro +1 -4
- package/src/components/Section.astro +2 -1
- package/src/components/Sidebar.astro +66 -105
- package/src/components/Social.astro +7 -0
- package/src/components/ThemeSelect.astro +3 -0
- package/src/components/Toc.astro +33 -94
- package/src/components/docs/PropsTable.astro +2 -2
- package/src/components/experimental/Form.astro +31 -5
- package/src/components/experimental/Gallery.astro +50 -126
- package/src/components/experimental/Prose.astro +32 -0
- package/src/content/pages/base/select.mdx +0 -8
- package/src/content/pages/base/textarea.mdx +0 -5
- package/src/content/pages/blocks/_product.mdx +73 -2
- package/src/content/pages/index.mdx +0 -3
- package/src/content/pages/layouts/_layout.mdx +14 -0
- package/src/content/pages/layouts/docslayout.mdx +10 -1
- package/src/content/pages/overview/components.mdx +5 -0
- package/src/content/pages/overview/content-collections.mdx +139 -0
- package/src/content/pages/overview/installation.mdx +25 -26
- package/src/content/pages/overview/introduction.mdx +16 -10
- package/src/content/pages/overview/theming.mdx +69 -0
- package/src/content/pages/schemas/page.mdx +6 -0
- package/src/content/presets/base.yml +57 -44
- package/src/content/presets/blocks.yml +0 -3
- package/src/content/presets/docs.yml +3 -62
- package/src/env.d.ts +1 -1
- package/src/integration/index.ts +49 -33
- package/src/layouts/DocsLayout.astro +23 -35
- package/src/layouts/Layout.astro +37 -21
- package/src/layouts/OverviewLayout.astro +17 -10
- package/src/layouts/PostLayout.astro +7 -7
- package/src/layouts/ProductLayout.astro +5 -2
- package/src/schemas/components/footer.ts +1 -0
- package/src/schemas/components/header.ts +1 -0
- package/src/schemas/components/menu.ts +13 -0
- package/src/schemas/components/sidebar.ts +15 -0
- package/src/schemas/components/toc.ts +3 -0
- package/src/schemas/pageSchema.ts +72 -34
- package/src/schemas/presetSchema.ts +2 -28
- package/src/schemas/utils/navigation.ts +6 -51
- package/src/stores/cart.ts +23 -0
- package/src/utils/cart.ts +36 -0
- package/src/utils/{getChildPages.ts → getFolderChildren.ts} +3 -1
- package/src/utils/{getCategoryPages.ts → getReferenceChildren.ts} +6 -3
- package/tsconfig.json +1 -3
- package/.astro/assets.mjs +0 -1
- package/.astro/astro/content.d.ts +0 -547
- package/.astro/collections/blocks.schema.json +0 -851
- package/.astro/collections/collections.json +0 -63
- package/.astro/collections/images.schema.json +0 -22
- package/.astro/collections/layouts.schema.json +0 -826
- package/.astro/collections/pages.schema.json +0 -568
- package/.astro/collections/presets.schema.json +0 -489
- package/.astro/collections/records.schema.json +0 -822
- package/.astro/collections/settings.schema.json +0 -822
- package/.astro/data-store.json +0 -1
- package/.astro/modules.mjs +0 -1
- package/.astro/settings.json +0 -5
- package/.astro/types.d.ts +0 -2
- package/src/components/experimental/GalleryVertical.astro +0 -161
- package/src/content/pages/layouts/layout.mdx +0 -21
- package/src/content/pages/layouts/pagelayout.mdx +0 -21
- package/src/content/pages/overview/content-layer.mdx +0 -128
- package/src/content/pages/overview/customization.mdx +0 -83
- package/src/layouts/ContentLayout.astro +0 -16
- package/src/layouts/PageLayout.astro +0 -15
- /package/src/schemas/utils/{categories.ts → parents.ts} +0 -0
- /package/src/types/{global-props.d.ts → global-props.ts} +0 -0
package/CONTRIBUTING.md
CHANGED
|
@@ -15,19 +15,25 @@ Here lay a few resources we wrote to help you do it!
|
|
|
15
15
|
│ ├── content/
|
|
16
16
|
│ │ ├── pages/
|
|
17
17
|
│ │ │ └── ...
|
|
18
|
-
│ │ ├──
|
|
18
|
+
│ │ ├── presets/
|
|
19
19
|
│ │ │ └── ...
|
|
20
20
|
│ │ └── ...
|
|
21
21
|
│ ├── css/
|
|
22
22
|
│ │ └── ...
|
|
23
|
+
│ ├── images/
|
|
24
|
+
│ │ └── ...
|
|
23
25
|
│ ├── integration/
|
|
24
26
|
│ │ └── ...
|
|
25
27
|
│ ├── layouts/
|
|
26
28
|
│ │ └── ...
|
|
29
|
+
│ ├── loaders/
|
|
30
|
+
│ │ └── ...
|
|
27
31
|
│ ├── pages/
|
|
28
32
|
│ │ └── ...
|
|
29
33
|
│ ├── schemas/
|
|
30
34
|
│ │ └── ...
|
|
35
|
+
│ ├── types/
|
|
36
|
+
│ │ └── ...
|
|
31
37
|
│ └── utils/
|
|
32
38
|
│ └── ...
|
|
33
39
|
├── public/
|
|
@@ -101,9 +107,9 @@ For a faster and easier review we advise you to use [conventional commits](https
|
|
|
101
107
|
Have you used fulldev-ui to build a website? Add it to the showcase!
|
|
102
108
|
|
|
103
109
|
1. Fork this repository.
|
|
104
|
-
2. Add a screenshot of your site to the
|
|
105
|
-
3. Create a file which
|
|
106
|
-
4. Go to the forked repository on your Github and clicke the
|
|
110
|
+
2. Add a screenshot of your site to the `/src/images/showcase/` directory.
|
|
111
|
+
3. Create a file which in `/src/content/pages/showcase/` for example `/src/content/pages/showcase/google.md`.
|
|
112
|
+
4. Go to the forked repository on your Github and clicke the "Contribute" button to make a Pull Request.
|
|
107
113
|
|
|
108
114
|
## Community / Contact
|
|
109
115
|
|
package/astro.config.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import mdx from '@astrojs/mdx'
|
|
2
2
|
import sitemap from '@astrojs/sitemap'
|
|
3
|
-
import favicons from 'astro-favicons'
|
|
4
3
|
// @ts-ignore
|
|
5
4
|
import liveCode from 'astro-live-code'
|
|
6
|
-
import pagefind from 'astro-pagefind'
|
|
7
5
|
import { defineConfig } from 'astro/config'
|
|
8
6
|
import integration from 'fulldev-ui/integration'
|
|
9
7
|
|
|
@@ -20,18 +18,15 @@ export default defineConfig({
|
|
|
20
18
|
integrations: [
|
|
21
19
|
sitemap(),
|
|
22
20
|
mdx(),
|
|
23
|
-
pagefind(),
|
|
24
21
|
liveCode({
|
|
25
22
|
layout: '/src/components/experimental/Window.astro',
|
|
26
23
|
}),
|
|
27
|
-
favicons({
|
|
28
|
-
path: 'favicon',
|
|
29
|
-
masterPicture: 'src/images/favicon.svg',
|
|
30
|
-
appName: 'Fulldev UI',
|
|
31
|
-
appShortName: 'Fulldev UI',
|
|
32
|
-
}),
|
|
33
24
|
integration({
|
|
25
|
+
company: 'Fulldev UI',
|
|
26
|
+
favicon: 'src/images/favicon.svg',
|
|
34
27
|
css: '/src/css/custom.css',
|
|
28
|
+
basePreset: 'base',
|
|
29
|
+
injectRoutes: true,
|
|
35
30
|
colors: {
|
|
36
31
|
theme: 'dark',
|
|
37
32
|
light: {
|
|
@@ -45,8 +40,6 @@ export default defineConfig({
|
|
|
45
40
|
brand: '#F50',
|
|
46
41
|
},
|
|
47
42
|
},
|
|
48
|
-
injectRoutes: true,
|
|
49
|
-
overrideComponents: true,
|
|
50
43
|
}),
|
|
51
44
|
],
|
|
52
45
|
redirects: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fulldev-ui",
|
|
3
|
-
"version": "0.5.0-beta.
|
|
3
|
+
"version": "0.5.0-beta.10",
|
|
4
4
|
"description": "A component library built for Astro",
|
|
5
5
|
"homepage": "https://ui.full.dev",
|
|
6
6
|
"bugs": "https://github.com/fulldotdev/ui/issues",
|
|
@@ -41,13 +41,14 @@
|
|
|
41
41
|
"@astrojs/sitemap": "^3.2.1",
|
|
42
42
|
"@astrolib/seo": "1.0.0-beta.8",
|
|
43
43
|
"@iconify-json/tabler": "^1.2.5",
|
|
44
|
+
"@nanostores/persistent": "^0.10.2",
|
|
44
45
|
"@radix-ui/colors": "^3.0.0",
|
|
46
|
+
"@rollup/plugin-yaml": "^4.1.2",
|
|
45
47
|
"@types/js-yaml": "^4.0.9",
|
|
46
48
|
"@unocss/reset": "^0.63.4",
|
|
47
49
|
"astro": "^4.16.6",
|
|
48
50
|
"astro-favicons": "^2.0.2",
|
|
49
51
|
"astro-live-code": "^0.0.3",
|
|
50
|
-
"astro-pagefind": "^1.6.0",
|
|
51
52
|
"astro-seo": "^0.8.4",
|
|
52
53
|
"bezier-easing": "^2.1.0",
|
|
53
54
|
"colorjs.io": "^0.5.2",
|
|
@@ -55,11 +56,13 @@
|
|
|
55
56
|
"fs": "0.0.1-security",
|
|
56
57
|
"install": "^0.13.0",
|
|
57
58
|
"js-yaml": "^4.1.0",
|
|
59
|
+
"nanostores": "^0.11.3",
|
|
58
60
|
"npm": "^10.9.0",
|
|
59
61
|
"radash": "^12.1.0",
|
|
60
62
|
"remeda": "2.15.2",
|
|
61
63
|
"sass": "^1.80.2",
|
|
62
64
|
"sharp": "^0.33.5",
|
|
65
|
+
"stripe": "^17.2.1",
|
|
63
66
|
"tailwindcss": "^3.4.14",
|
|
64
67
|
"typescript": "^5.6.3",
|
|
65
68
|
"unocss": "^0.63.4",
|
|
@@ -70,7 +73,6 @@
|
|
|
70
73
|
},
|
|
71
74
|
"devDependencies": {
|
|
72
75
|
"@astrojs/check": "^0.9.4",
|
|
73
|
-
"@rollup/plugin-yaml": "^4.1.2",
|
|
74
76
|
"prettier": "3.3.3",
|
|
75
77
|
"prettier-plugin-astro": "0.14.1",
|
|
76
78
|
"prettier-plugin-astro-organize-imports": "^0.4.10",
|