fulldev-ui 0.5.0-beta.1 → 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 +2 -4
- package/package.json +6 -4
- package/pnpm-lock.yaml +54 -127
- 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 +61 -111
- 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 +1 -1
- 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 +56 -43
- 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 +31 -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/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
|
@@ -2,7 +2,6 @@ import mdx from '@astrojs/mdx'
|
|
|
2
2
|
import sitemap from '@astrojs/sitemap'
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import liveCode from 'astro-live-code'
|
|
5
|
-
import pagefind from 'astro-pagefind'
|
|
6
5
|
import { defineConfig } from 'astro/config'
|
|
7
6
|
import integration from 'fulldev-ui/integration'
|
|
8
7
|
|
|
@@ -19,7 +18,6 @@ export default defineConfig({
|
|
|
19
18
|
integrations: [
|
|
20
19
|
sitemap(),
|
|
21
20
|
mdx(),
|
|
22
|
-
pagefind(),
|
|
23
21
|
liveCode({
|
|
24
22
|
layout: '/src/components/experimental/Window.astro',
|
|
25
23
|
}),
|
|
@@ -27,6 +25,8 @@ export default defineConfig({
|
|
|
27
25
|
company: 'Fulldev UI',
|
|
28
26
|
favicon: 'src/images/favicon.svg',
|
|
29
27
|
css: '/src/css/custom.css',
|
|
28
|
+
basePreset: 'base',
|
|
29
|
+
injectRoutes: true,
|
|
30
30
|
colors: {
|
|
31
31
|
theme: 'dark',
|
|
32
32
|
light: {
|
|
@@ -40,8 +40,6 @@ export default defineConfig({
|
|
|
40
40
|
brand: '#F50',
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
|
-
injectRoutes: true,
|
|
44
|
-
overrideComponents: true,
|
|
45
43
|
}),
|
|
46
44
|
],
|
|
47
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,19 +56,20 @@
|
|
|
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",
|
|
66
69
|
"url": "^0.11.4",
|
|
67
70
|
"vite-plugin-virtual": "^0.3.0",
|
|
68
71
|
"zod": "^3.23.8",
|
|
69
|
-
"zod-to-ts": "^1.2.0"
|
|
70
|
-
"@rollup/plugin-yaml": "^4.1.2"
|
|
72
|
+
"zod-to-ts": "^1.2.0"
|
|
71
73
|
},
|
|
72
74
|
"devDependencies": {
|
|
73
75
|
"@astrojs/check": "^0.9.4",
|
package/pnpm-lock.yaml
CHANGED
|
@@ -17,9 +17,15 @@ dependencies:
|
|
|
17
17
|
'@iconify-json/tabler':
|
|
18
18
|
specifier: ^1.2.5
|
|
19
19
|
version: 1.2.5
|
|
20
|
+
'@nanostores/persistent':
|
|
21
|
+
specifier: ^0.10.2
|
|
22
|
+
version: 0.10.2(nanostores@0.11.3)
|
|
20
23
|
'@radix-ui/colors':
|
|
21
24
|
specifier: ^3.0.0
|
|
22
25
|
version: 3.0.0
|
|
26
|
+
'@rollup/plugin-yaml':
|
|
27
|
+
specifier: ^4.1.2
|
|
28
|
+
version: 4.1.2
|
|
23
29
|
'@types/js-yaml':
|
|
24
30
|
specifier: ^4.0.9
|
|
25
31
|
version: 4.0.9
|
|
@@ -35,9 +41,6 @@ dependencies:
|
|
|
35
41
|
astro-live-code:
|
|
36
42
|
specifier: ^0.0.3
|
|
37
43
|
version: 0.0.3
|
|
38
|
-
astro-pagefind:
|
|
39
|
-
specifier: ^1.6.0
|
|
40
|
-
version: 1.6.0(astro@4.16.6)
|
|
41
44
|
astro-seo:
|
|
42
45
|
specifier: ^0.8.4
|
|
43
46
|
version: 0.8.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.3)
|
|
@@ -59,6 +62,9 @@ dependencies:
|
|
|
59
62
|
js-yaml:
|
|
60
63
|
specifier: ^4.1.0
|
|
61
64
|
version: 4.1.0
|
|
65
|
+
nanostores:
|
|
66
|
+
specifier: ^0.11.3
|
|
67
|
+
version: 0.11.3
|
|
62
68
|
npm:
|
|
63
69
|
specifier: ^10.9.0
|
|
64
70
|
version: 10.9.0
|
|
@@ -74,6 +80,9 @@ dependencies:
|
|
|
74
80
|
sharp:
|
|
75
81
|
specifier: ^0.33.5
|
|
76
82
|
version: 0.33.5
|
|
83
|
+
stripe:
|
|
84
|
+
specifier: ^17.2.1
|
|
85
|
+
version: 17.2.1
|
|
77
86
|
tailwindcss:
|
|
78
87
|
specifier: ^3.4.14
|
|
79
88
|
version: 3.4.14
|
|
@@ -82,13 +91,13 @@ dependencies:
|
|
|
82
91
|
version: 5.6.3
|
|
83
92
|
unocss:
|
|
84
93
|
specifier: ^0.63.4
|
|
85
|
-
version: 0.63.4(postcss@8.4.45)(vite@5.4.
|
|
94
|
+
version: 0.63.4(postcss@8.4.45)(vite@5.4.9)
|
|
86
95
|
url:
|
|
87
96
|
specifier: ^0.11.4
|
|
88
97
|
version: 0.11.4
|
|
89
98
|
vite-plugin-virtual:
|
|
90
99
|
specifier: ^0.3.0
|
|
91
|
-
version: 0.3.0(vite@5.4.
|
|
100
|
+
version: 0.3.0(vite@5.4.9)
|
|
92
101
|
zod:
|
|
93
102
|
specifier: ^3.23.8
|
|
94
103
|
version: 3.23.8
|
|
@@ -100,9 +109,6 @@ devDependencies:
|
|
|
100
109
|
'@astrojs/check':
|
|
101
110
|
specifier: ^0.9.4
|
|
102
111
|
version: 0.9.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.3)
|
|
103
|
-
'@rollup/plugin-yaml':
|
|
104
|
-
specifier: ^4.1.2
|
|
105
|
-
version: 4.1.2
|
|
106
112
|
prettier:
|
|
107
113
|
specifier: 3.3.3
|
|
108
114
|
version: 3.3.3
|
|
@@ -1299,6 +1305,15 @@ packages:
|
|
|
1299
1305
|
- supports-color
|
|
1300
1306
|
dev: false
|
|
1301
1307
|
|
|
1308
|
+
/@nanostores/persistent@0.10.2(nanostores@0.11.3):
|
|
1309
|
+
resolution: {integrity: sha512-BEndnLhRC+yP7gXTESepBbSj8XNl8OXK9hu4xAgKC7MWJHKXnEqJMqY47LUyHxK6vYgFnisyHmqq+vq8AUFyIg==}
|
|
1310
|
+
engines: {node: ^18.0.0 || >=20.0.0}
|
|
1311
|
+
peerDependencies:
|
|
1312
|
+
nanostores: ^0.9.0 || ^0.10.0 || ^0.11.0
|
|
1313
|
+
dependencies:
|
|
1314
|
+
nanostores: 0.11.3
|
|
1315
|
+
dev: false
|
|
1316
|
+
|
|
1302
1317
|
/@nodelib/fs.scandir@2.1.5:
|
|
1303
1318
|
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
|
1304
1319
|
engines: {node: '>= 8'}
|
|
@@ -1321,50 +1336,6 @@ packages:
|
|
|
1321
1336
|
resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==}
|
|
1322
1337
|
dev: false
|
|
1323
1338
|
|
|
1324
|
-
/@pagefind/darwin-arm64@1.1.1:
|
|
1325
|
-
resolution: {integrity: sha512-tZ9tysUmQpFs2EqWG2+E1gc+opDAhSyZSsgKmFzhnWfkK02YHZhvL5XJXEZDqYy3s1FAKhwjTg8XDxneuBlDZQ==}
|
|
1326
|
-
cpu: [arm64]
|
|
1327
|
-
os: [darwin]
|
|
1328
|
-
requiresBuild: true
|
|
1329
|
-
dev: false
|
|
1330
|
-
optional: true
|
|
1331
|
-
|
|
1332
|
-
/@pagefind/darwin-x64@1.1.1:
|
|
1333
|
-
resolution: {integrity: sha512-ChohLQ39dLwaxQv0jIQB/SavP3TM5K5ENfDTqIdzLkmfs3+JlzSDyQKcJFjTHYcCzQOZVeieeGq8PdqvLJxJxQ==}
|
|
1334
|
-
cpu: [x64]
|
|
1335
|
-
os: [darwin]
|
|
1336
|
-
requiresBuild: true
|
|
1337
|
-
dev: false
|
|
1338
|
-
optional: true
|
|
1339
|
-
|
|
1340
|
-
/@pagefind/default-ui@1.1.1:
|
|
1341
|
-
resolution: {integrity: sha512-ZM0zDatWDnac/VGHhQCiM7UgA4ca8jpjA+VfuTJyHJBaxGqZMQnm4WoTz9E0KFcue1Bh9kxpu7uWFZfwpZZk0A==}
|
|
1342
|
-
dev: false
|
|
1343
|
-
|
|
1344
|
-
/@pagefind/linux-arm64@1.1.1:
|
|
1345
|
-
resolution: {integrity: sha512-H5P6wDoCoAbdsWp0Zx0DxnLUrwTGWGLu/VI1rcN2CyFdY2EGSvPQsbGBMrseKRNuIrJDFtxHHHyjZ7UbzaM9EA==}
|
|
1346
|
-
cpu: [arm64]
|
|
1347
|
-
os: [linux]
|
|
1348
|
-
requiresBuild: true
|
|
1349
|
-
dev: false
|
|
1350
|
-
optional: true
|
|
1351
|
-
|
|
1352
|
-
/@pagefind/linux-x64@1.1.1:
|
|
1353
|
-
resolution: {integrity: sha512-yJs7tTYbL2MI3HT+ngs9E1BfUbY9M4/YzA0yEM5xBo4Xl8Yu8Qg2xZTOQ1/F6gwvMrjCUFo8EoACs6LRDhtMrQ==}
|
|
1354
|
-
cpu: [x64]
|
|
1355
|
-
os: [linux]
|
|
1356
|
-
requiresBuild: true
|
|
1357
|
-
dev: false
|
|
1358
|
-
optional: true
|
|
1359
|
-
|
|
1360
|
-
/@pagefind/windows-x64@1.1.1:
|
|
1361
|
-
resolution: {integrity: sha512-b7/qPqgIl+lMzkQ8fJt51SfguB396xbIIR+VZ3YrL2tLuyifDJ1wL5mEm+ddmHxJ2Fki340paPcDan9en5OmAw==}
|
|
1362
|
-
cpu: [x64]
|
|
1363
|
-
os: [win32]
|
|
1364
|
-
requiresBuild: true
|
|
1365
|
-
dev: false
|
|
1366
|
-
optional: true
|
|
1367
|
-
|
|
1368
1339
|
/@parcel/watcher-android-arm64@2.4.1:
|
|
1369
1340
|
resolution: {integrity: sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==}
|
|
1370
1341
|
engines: {node: '>= 10.0.0'}
|
|
@@ -1523,7 +1494,7 @@ packages:
|
|
|
1523
1494
|
'@rollup/pluginutils': 5.1.0
|
|
1524
1495
|
js-yaml: 4.1.0
|
|
1525
1496
|
tosource: 2.0.0-alpha.3
|
|
1526
|
-
dev:
|
|
1497
|
+
dev: false
|
|
1527
1498
|
|
|
1528
1499
|
/@rollup/pluginutils@5.1.0:
|
|
1529
1500
|
resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
|
|
@@ -1537,7 +1508,7 @@ packages:
|
|
|
1537
1508
|
'@types/estree': 1.0.5
|
|
1538
1509
|
estree-walker: 2.0.2
|
|
1539
1510
|
picomatch: 2.3.1
|
|
1540
|
-
dev:
|
|
1511
|
+
dev: false
|
|
1541
1512
|
|
|
1542
1513
|
/@rollup/pluginutils@5.1.2:
|
|
1543
1514
|
resolution: {integrity: sha512-/FIdS3PyZ39bjZlwqFnWqCOVnW7o963LtKMwQOD0NhQqw22gSr2YY1afu3FxRip4ZCZNsD5jq6Aaz6QV3D/Njw==}
|
|
@@ -1771,6 +1742,7 @@ packages:
|
|
|
1771
1742
|
|
|
1772
1743
|
/@types/estree@1.0.5:
|
|
1773
1744
|
resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}
|
|
1745
|
+
dev: false
|
|
1774
1746
|
|
|
1775
1747
|
/@types/hast@3.0.4:
|
|
1776
1748
|
resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==}
|
|
@@ -1824,7 +1796,7 @@ packages:
|
|
|
1824
1796
|
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
|
1825
1797
|
dev: false
|
|
1826
1798
|
|
|
1827
|
-
/@unocss/astro@0.63.4(vite@5.4.
|
|
1799
|
+
/@unocss/astro@0.63.4(vite@5.4.9):
|
|
1828
1800
|
resolution: {integrity: sha512-qu1uMDUT8lXU3mm5EjZpnizvjSYtfY0TTDivR5QNm1i3Xd+ErHfdfOpXdJ2mYvxv+X7C570//KUugkTI3Mb3kQ==}
|
|
1829
1801
|
peerDependencies:
|
|
1830
1802
|
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0
|
|
@@ -1834,8 +1806,8 @@ packages:
|
|
|
1834
1806
|
dependencies:
|
|
1835
1807
|
'@unocss/core': 0.63.4
|
|
1836
1808
|
'@unocss/reset': 0.63.4
|
|
1837
|
-
'@unocss/vite': 0.63.4(vite@5.4.
|
|
1838
|
-
vite: 5.4.
|
|
1809
|
+
'@unocss/vite': 0.63.4(vite@5.4.9)
|
|
1810
|
+
vite: 5.4.9(sass@1.80.2)
|
|
1839
1811
|
transitivePeerDependencies:
|
|
1840
1812
|
- rollup
|
|
1841
1813
|
- supports-color
|
|
@@ -2008,7 +1980,7 @@ packages:
|
|
|
2008
1980
|
'@unocss/core': 0.63.4
|
|
2009
1981
|
dev: false
|
|
2010
1982
|
|
|
2011
|
-
/@unocss/vite@0.63.4(vite@5.4.
|
|
1983
|
+
/@unocss/vite@0.63.4(vite@5.4.9):
|
|
2012
1984
|
resolution: {integrity: sha512-YK0L177GD8Kx+JtfiCJy4YyBYckAXo4ogC8LZ+pYVNXDMN+F+XItpGI/ofLRaGIaewNg+MJgGY+CQZceABEAfg==}
|
|
2013
1985
|
peerDependencies:
|
|
2014
1986
|
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0
|
|
@@ -2021,7 +1993,7 @@ packages:
|
|
|
2021
1993
|
chokidar: 3.6.0
|
|
2022
1994
|
magic-string: 0.30.11
|
|
2023
1995
|
tinyglobby: 0.2.9
|
|
2024
|
-
vite: 5.4.
|
|
1996
|
+
vite: 5.4.9(sass@1.80.2)
|
|
2025
1997
|
transitivePeerDependencies:
|
|
2026
1998
|
- rollup
|
|
2027
1999
|
- supports-color
|
|
@@ -2226,6 +2198,7 @@ packages:
|
|
|
2226
2198
|
|
|
2227
2199
|
/argparse@2.0.1:
|
|
2228
2200
|
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
|
|
2201
|
+
dev: false
|
|
2229
2202
|
|
|
2230
2203
|
/aria-query@5.3.2:
|
|
2231
2204
|
resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}
|
|
@@ -2255,17 +2228,6 @@ packages:
|
|
|
2255
2228
|
unist-util-visit-parents: 6.0.1
|
|
2256
2229
|
dev: false
|
|
2257
2230
|
|
|
2258
|
-
/astro-pagefind@1.6.0(astro@4.16.6):
|
|
2259
|
-
resolution: {integrity: sha512-U/WuE0ktkZkoFJf6yopWO4DjIJ3+wrnopE2L3kUYiyqNTJpqmp13bFLR8gir6B+KzQ5dsXQtJZYTQtKJg1FxIA==}
|
|
2260
|
-
peerDependencies:
|
|
2261
|
-
astro: ^2.0.4 || ^3.0.0 || ^4.0.0
|
|
2262
|
-
dependencies:
|
|
2263
|
-
'@pagefind/default-ui': 1.1.1
|
|
2264
|
-
astro: 4.16.6(sass@1.80.2)(typescript@5.6.3)
|
|
2265
|
-
pagefind: 1.1.1
|
|
2266
|
-
sirv: 2.0.4
|
|
2267
|
-
dev: false
|
|
2268
|
-
|
|
2269
2231
|
/astro-seo@0.8.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.3):
|
|
2270
2232
|
resolution: {integrity: sha512-Ou1vzQSXAxa0K8rtNtXNvSpYqOGEgMhh0immMxJeXmbVZac3UKCNWAoXWyOQDFYsZvBugCRSg0N1phBqPMVgCw==}
|
|
2271
2233
|
dependencies:
|
|
@@ -3020,6 +2982,7 @@ packages:
|
|
|
3020
2982
|
|
|
3021
2983
|
/estree-walker@2.0.2:
|
|
3022
2984
|
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
|
2985
|
+
dev: false
|
|
3023
2986
|
|
|
3024
2987
|
/estree-walker@3.0.3:
|
|
3025
2988
|
resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}
|
|
@@ -3660,6 +3623,7 @@ packages:
|
|
|
3660
3623
|
hasBin: true
|
|
3661
3624
|
dependencies:
|
|
3662
3625
|
argparse: 2.0.1
|
|
3626
|
+
dev: false
|
|
3663
3627
|
|
|
3664
3628
|
/jsesc@3.0.2:
|
|
3665
3629
|
resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==}
|
|
@@ -4415,6 +4379,11 @@ packages:
|
|
|
4415
4379
|
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
|
|
4416
4380
|
hasBin: true
|
|
4417
4381
|
|
|
4382
|
+
/nanostores@0.11.3:
|
|
4383
|
+
resolution: {integrity: sha512-TUes3xKIX33re4QzdxwZ6tdbodjmn3tWXCEc1uokiEmo14sI1EaGYNs2k3bU2pyyGNmBqFGAVl6jAGWd06AVIg==}
|
|
4384
|
+
engines: {node: ^18.0.0 || >=20.0.0}
|
|
4385
|
+
dev: false
|
|
4386
|
+
|
|
4418
4387
|
/napi-build-utils@1.0.2:
|
|
4419
4388
|
resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==}
|
|
4420
4389
|
dev: false
|
|
@@ -4637,17 +4606,6 @@ packages:
|
|
|
4637
4606
|
resolution: {integrity: sha512-E385OSk9qDcXhcM9LNSe4sdhx8a9mAPrZ4sMLW+tmxl5ZuGtPUcdFu+MPP2jbgiWAZ6Pfe5soGFMd+0Db5Vrog==}
|
|
4638
4607
|
dev: false
|
|
4639
4608
|
|
|
4640
|
-
/pagefind@1.1.1:
|
|
4641
|
-
resolution: {integrity: sha512-U2YR0dQN5B2fbIXrLtt/UXNS0yWSSYfePaad1KcBPTi0p+zRtsVjwmoPaMQgTks5DnHNbmDxyJUL5TGaLljK3A==}
|
|
4642
|
-
hasBin: true
|
|
4643
|
-
optionalDependencies:
|
|
4644
|
-
'@pagefind/darwin-arm64': 1.1.1
|
|
4645
|
-
'@pagefind/darwin-x64': 1.1.1
|
|
4646
|
-
'@pagefind/linux-arm64': 1.1.1
|
|
4647
|
-
'@pagefind/linux-x64': 1.1.1
|
|
4648
|
-
'@pagefind/windows-x64': 1.1.1
|
|
4649
|
-
dev: false
|
|
4650
|
-
|
|
4651
4609
|
/parse-entities@4.0.1:
|
|
4652
4610
|
resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
|
|
4653
4611
|
dependencies:
|
|
@@ -5536,6 +5494,14 @@ packages:
|
|
|
5536
5494
|
engines: {node: '>=0.10.0'}
|
|
5537
5495
|
dev: false
|
|
5538
5496
|
|
|
5497
|
+
/stripe@17.2.1:
|
|
5498
|
+
resolution: {integrity: sha512-Mwb0SitV/UjxTLSUiTlUQ0VDE/gfyQ7OHDGdvDdvKIH4CNNqobPKlzlWhoZHFFU0OA/YsZyBtPULK4JG86BAAg==}
|
|
5499
|
+
engines: {node: '>=12.*'}
|
|
5500
|
+
dependencies:
|
|
5501
|
+
'@types/node': 17.0.45
|
|
5502
|
+
qs: 6.13.0
|
|
5503
|
+
dev: false
|
|
5504
|
+
|
|
5539
5505
|
/style-to-object@0.4.4:
|
|
5540
5506
|
resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==}
|
|
5541
5507
|
dependencies:
|
|
@@ -5693,7 +5659,7 @@ packages:
|
|
|
5693
5659
|
/tosource@2.0.0-alpha.3:
|
|
5694
5660
|
resolution: {integrity: sha512-KAB2lrSS48y91MzFPFuDg4hLbvDiyTjOVgaK7Erw+5AmZXNq4sFRVn8r6yxSLuNs15PaokrDRpS61ERY9uZOug==}
|
|
5695
5661
|
engines: {node: '>=10'}
|
|
5696
|
-
dev:
|
|
5662
|
+
dev: false
|
|
5697
5663
|
|
|
5698
5664
|
/totalist@3.0.1:
|
|
5699
5665
|
resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}
|
|
@@ -5858,7 +5824,7 @@ packages:
|
|
|
5858
5824
|
unist-util-visit-parents: 6.0.1
|
|
5859
5825
|
dev: false
|
|
5860
5826
|
|
|
5861
|
-
/unocss@0.63.4(postcss@8.4.45)(vite@5.4.
|
|
5827
|
+
/unocss@0.63.4(postcss@8.4.45)(vite@5.4.9):
|
|
5862
5828
|
resolution: {integrity: sha512-MQ/ktuJ2MoXBsd117DEONFubJRQN6Og4mQJLbT+0nna2aTW4jYJESJ479mJYWq/ajonxEaM+zrf8M92VIWxzEw==}
|
|
5863
5829
|
engines: {node: '>=14'}
|
|
5864
5830
|
peerDependencies:
|
|
@@ -5870,7 +5836,7 @@ packages:
|
|
|
5870
5836
|
vite:
|
|
5871
5837
|
optional: true
|
|
5872
5838
|
dependencies:
|
|
5873
|
-
'@unocss/astro': 0.63.4(vite@5.4.
|
|
5839
|
+
'@unocss/astro': 0.63.4(vite@5.4.9)
|
|
5874
5840
|
'@unocss/cli': 0.63.4
|
|
5875
5841
|
'@unocss/core': 0.63.4
|
|
5876
5842
|
'@unocss/postcss': 0.63.4(postcss@8.4.45)
|
|
@@ -5886,8 +5852,8 @@ packages:
|
|
|
5886
5852
|
'@unocss/transformer-compile-class': 0.63.4
|
|
5887
5853
|
'@unocss/transformer-directives': 0.63.4
|
|
5888
5854
|
'@unocss/transformer-variant-group': 0.63.4
|
|
5889
|
-
'@unocss/vite': 0.63.4(vite@5.4.
|
|
5890
|
-
vite: 5.4.
|
|
5855
|
+
'@unocss/vite': 0.63.4(vite@5.4.9)
|
|
5856
|
+
vite: 5.4.9(sass@1.80.2)
|
|
5891
5857
|
transitivePeerDependencies:
|
|
5892
5858
|
- postcss
|
|
5893
5859
|
- rollup
|
|
@@ -5938,51 +5904,12 @@ packages:
|
|
|
5938
5904
|
vfile-message: 4.0.2
|
|
5939
5905
|
dev: false
|
|
5940
5906
|
|
|
5941
|
-
/vite-plugin-virtual@0.3.0(vite@5.4.
|
|
5907
|
+
/vite-plugin-virtual@0.3.0(vite@5.4.9):
|
|
5942
5908
|
resolution: {integrity: sha512-TOtrWw6jKrJNXfxhGRUiQzfAP1gRkYkVzMkJNjHUJ8idLuxf8eeeDKZKZHhdeYfaCc/87rv+KvWE2iCy1QInWA==}
|
|
5943
5909
|
peerDependencies:
|
|
5944
5910
|
vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
|
|
5945
5911
|
dependencies:
|
|
5946
|
-
vite: 5.4.
|
|
5947
|
-
dev: false
|
|
5948
|
-
|
|
5949
|
-
/vite@5.4.3(sass@1.80.2):
|
|
5950
|
-
resolution: {integrity: sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==}
|
|
5951
|
-
engines: {node: ^18.0.0 || >=20.0.0}
|
|
5952
|
-
hasBin: true
|
|
5953
|
-
peerDependencies:
|
|
5954
|
-
'@types/node': ^18.0.0 || >=20.0.0
|
|
5955
|
-
less: '*'
|
|
5956
|
-
lightningcss: ^1.21.0
|
|
5957
|
-
sass: '*'
|
|
5958
|
-
sass-embedded: '*'
|
|
5959
|
-
stylus: '*'
|
|
5960
|
-
sugarss: '*'
|
|
5961
|
-
terser: ^5.4.0
|
|
5962
|
-
peerDependenciesMeta:
|
|
5963
|
-
'@types/node':
|
|
5964
|
-
optional: true
|
|
5965
|
-
less:
|
|
5966
|
-
optional: true
|
|
5967
|
-
lightningcss:
|
|
5968
|
-
optional: true
|
|
5969
|
-
sass:
|
|
5970
|
-
optional: true
|
|
5971
|
-
sass-embedded:
|
|
5972
|
-
optional: true
|
|
5973
|
-
stylus:
|
|
5974
|
-
optional: true
|
|
5975
|
-
sugarss:
|
|
5976
|
-
optional: true
|
|
5977
|
-
terser:
|
|
5978
|
-
optional: true
|
|
5979
|
-
dependencies:
|
|
5980
|
-
esbuild: 0.21.5
|
|
5981
|
-
postcss: 8.4.45
|
|
5982
|
-
rollup: 4.21.2
|
|
5983
|
-
sass: 1.80.2
|
|
5984
|
-
optionalDependencies:
|
|
5985
|
-
fsevents: 2.3.3
|
|
5912
|
+
vite: 5.4.9(sass@1.80.2)
|
|
5986
5913
|
dev: false
|
|
5987
5914
|
|
|
5988
5915
|
/vite@5.4.9(sass@1.80.2):
|
package/src/blocks/Article.astro
CHANGED
|
@@ -1,21 +1,40 @@
|
|
|
1
1
|
---
|
|
2
|
-
import { getEntry } from 'astro:content'
|
|
3
2
|
import Prose from 'fulldev-ui/components/experimental/Prose.astro'
|
|
4
3
|
import Section from 'fulldev-ui/components/Section.astro'
|
|
4
|
+
import Toc from 'fulldev-ui/components/Toc.astro'
|
|
5
5
|
|
|
6
|
-
const {
|
|
7
|
-
|
|
8
|
-
const slug = Astro.url.pathname.replace(/^\/|\/$/g, '') || 'index'
|
|
9
|
-
const currentEntry = await getEntry('pages', slug)
|
|
10
|
-
const render = currentEntry && (await currentEntry.render())
|
|
11
|
-
const { Content } = render || {}
|
|
6
|
+
const { toc = 'Op deze pagina', render } = Astro.props
|
|
7
|
+
const { Content } = (render && (await render())) || {}
|
|
12
8
|
---
|
|
13
9
|
|
|
14
|
-
<Section
|
|
15
|
-
|
|
16
|
-
{...rest}
|
|
17
|
-
>
|
|
18
|
-
<Prose id="prose">
|
|
10
|
+
<Section class:list="article">
|
|
11
|
+
<Prose>
|
|
19
12
|
{Content && <Content />}
|
|
13
|
+
<slot />
|
|
20
14
|
</Prose>
|
|
15
|
+
<Toc
|
|
16
|
+
{render}
|
|
17
|
+
heading={toc}
|
|
18
|
+
/>
|
|
21
19
|
</Section>
|
|
20
|
+
|
|
21
|
+
<style is:global lang="scss">
|
|
22
|
+
.article {
|
|
23
|
+
display: flex;
|
|
24
|
+
position: relative;
|
|
25
|
+
flex-grow: 1;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
align-items: start;
|
|
28
|
+
height: 100%;
|
|
29
|
+
|
|
30
|
+
&:first-child {
|
|
31
|
+
padding-top: var(--space-6);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.prose {
|
|
35
|
+
margin-right: auto;
|
|
36
|
+
margin-left: auto;
|
|
37
|
+
max-width: 768px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
</style>
|
package/src/blocks/Banner.astro
CHANGED
|
@@ -31,8 +31,9 @@ const { color = 'brand', size = 'sm', text, ...rest } = Astro.props
|
|
|
31
31
|
background-color: var(--color-9);
|
|
32
32
|
padding: 0 var(--gutter);
|
|
33
33
|
width: 100%;
|
|
34
|
-
height: var(--banner-height);
|
|
34
|
+
min-height: var(--banner-height);
|
|
35
35
|
overflow: hidden;
|
|
36
|
+
text-align: center;
|
|
36
37
|
|
|
37
38
|
.text {
|
|
38
39
|
color: var(--color-contrast);
|
package/src/blocks/Contact.astro
CHANGED
|
@@ -13,35 +13,6 @@ import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
|
13
13
|
import Text from 'fulldev-ui/components/Text.astro'
|
|
14
14
|
import Textarea from 'fulldev-ui/components/Textarea.astro'
|
|
15
15
|
|
|
16
|
-
// interface Channel {
|
|
17
|
-
// type: 'tel' | 'email' | 'address'
|
|
18
|
-
// text: string
|
|
19
|
-
// heading?: string
|
|
20
|
-
// icon?: string
|
|
21
|
-
// href?: string
|
|
22
|
-
// }
|
|
23
|
-
|
|
24
|
-
// interface FormField {
|
|
25
|
-
// type: 'text' | 'email' | 'tel' | 'textarea'
|
|
26
|
-
// name: string
|
|
27
|
-
// label: string
|
|
28
|
-
// required?: boolean
|
|
29
|
-
// }
|
|
30
|
-
|
|
31
|
-
// interface Form {
|
|
32
|
-
// fields: FormField[]
|
|
33
|
-
// button: string
|
|
34
|
-
// }
|
|
35
|
-
|
|
36
|
-
// type Props<As extends HTMLTag = 'section'> = ComponentProps<
|
|
37
|
-
// typeof Section<As>
|
|
38
|
-
// > & {
|
|
39
|
-
// form: Form
|
|
40
|
-
// googleMaps?: string
|
|
41
|
-
// socials?: any
|
|
42
|
-
// channels: Channel[]
|
|
43
|
-
// }
|
|
44
|
-
|
|
45
16
|
const {
|
|
46
17
|
heading,
|
|
47
18
|
form,
|
|
@@ -53,7 +24,7 @@ const {
|
|
|
53
24
|
position,
|
|
54
25
|
image,
|
|
55
26
|
channels,
|
|
56
|
-
level =
|
|
27
|
+
level = 1,
|
|
57
28
|
...rest
|
|
58
29
|
} = Astro.props
|
|
59
30
|
---
|
|
@@ -69,6 +40,7 @@ const {
|
|
|
69
40
|
text={tagline}
|
|
70
41
|
/>
|
|
71
42
|
<Heading
|
|
43
|
+
size={'sm'}
|
|
72
44
|
level={level}
|
|
73
45
|
text={heading}
|
|
74
46
|
/>
|
|
@@ -106,6 +78,7 @@ const {
|
|
|
106
78
|
<Button
|
|
107
79
|
type="submit"
|
|
108
80
|
color="brand"
|
|
81
|
+
variant="primary"
|
|
109
82
|
text={form.button}
|
|
110
83
|
/>
|
|
111
84
|
</Form>
|
|
@@ -126,6 +99,10 @@ const {
|
|
|
126
99
|
align-items: flex-start;
|
|
127
100
|
}
|
|
128
101
|
|
|
102
|
+
> .column {
|
|
103
|
+
gap: var(--space-5);
|
|
104
|
+
}
|
|
105
|
+
|
|
129
106
|
.channel + .channel {
|
|
130
107
|
margin-top: var(--space-3) !important;
|
|
131
108
|
}
|
package/src/blocks/Intro.astro
CHANGED
|
@@ -8,7 +8,7 @@ const { image, ...rest } = Astro.props
|
|
|
8
8
|
class:list="intro"
|
|
9
9
|
structure="column"
|
|
10
10
|
size="sm"
|
|
11
|
-
level={
|
|
11
|
+
level={1}
|
|
12
12
|
{...rest}
|
|
13
13
|
/>
|
|
14
14
|
|
|
@@ -16,6 +16,8 @@ const { image, ...rest } = Astro.props
|
|
|
16
16
|
@layer fulldev {
|
|
17
17
|
.intro {
|
|
18
18
|
border-bottom: 1px solid var(--base-6);
|
|
19
|
+
padding-top: var(--space-7);
|
|
20
|
+
padding-bottom: var(--space-7);
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
</style>
|