fulldev-ui 0.5.0-beta.1 → 0.5.0-beta.11

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.
Files changed (78) hide show
  1. package/.env.example +3 -0
  2. package/CONTRIBUTING.md +10 -4
  3. package/astro.config.ts +2 -13
  4. package/package.json +8 -4
  5. package/pnpm-lock.yaml +82 -130
  6. package/src/blocks/Article.astro +31 -12
  7. package/src/blocks/Banner.astro +2 -1
  8. package/src/blocks/Contact.astro +7 -30
  9. package/src/blocks/Excerpt.astro +14 -0
  10. package/src/blocks/Intro.astro +3 -1
  11. package/src/blocks/Product.astro +55 -22
  12. package/src/components/Card.astro +11 -5
  13. package/src/components/Cart.astro +38 -0
  14. package/src/components/CartForm.astro +121 -0
  15. package/src/components/CartList.astro +134 -0
  16. package/src/components/CartSummary.astro +147 -0
  17. package/src/components/Drawer.astro +128 -52
  18. package/src/components/Footer.astro +6 -3
  19. package/src/components/Form.astro +49 -0
  20. package/src/components/Header.astro +19 -14
  21. package/src/components/Image.astro +0 -1
  22. package/src/components/Input.astro +6 -0
  23. package/src/components/Menu.astro +56 -0
  24. package/src/components/Price.astro +7 -11
  25. package/src/components/Search.astro +1 -4
  26. package/src/components/Section.astro +2 -1
  27. package/src/components/Sidebar.astro +61 -111
  28. package/src/components/Social.astro +7 -0
  29. package/src/components/ThemeSelect.astro +3 -0
  30. package/src/components/Toc.astro +33 -94
  31. package/src/components/docs/PropsTable.astro +1 -1
  32. package/src/components/experimental/Form.astro +31 -5
  33. package/src/components/experimental/Gallery.astro +50 -126
  34. package/src/components/experimental/Prose.astro +32 -0
  35. package/src/content/pages/base/select.mdx +0 -8
  36. package/src/content/pages/base/textarea.mdx +0 -5
  37. package/src/content/pages/blocks/_product.mdx +73 -2
  38. package/src/content/pages/index.mdx +0 -3
  39. package/src/content/pages/layouts/_layout.mdx +14 -0
  40. package/src/content/pages/layouts/docslayout.mdx +10 -1
  41. package/src/content/pages/overview/components.mdx +5 -0
  42. package/src/content/pages/overview/content-collections.mdx +139 -0
  43. package/src/content/pages/overview/installation.mdx +25 -26
  44. package/src/content/pages/overview/introduction.mdx +16 -10
  45. package/src/content/pages/overview/theming.mdx +69 -0
  46. package/src/content/pages/schemas/page.mdx +6 -0
  47. package/src/content/presets/base.yml +56 -43
  48. package/src/content/presets/blocks.yml +0 -3
  49. package/src/content/presets/docs.yml +3 -62
  50. package/src/env.d.ts +1 -1
  51. package/src/integration/index.ts +63 -34
  52. package/src/layouts/DocsLayout.astro +23 -35
  53. package/src/layouts/Layout.astro +37 -21
  54. package/src/layouts/OverviewLayout.astro +17 -10
  55. package/src/layouts/PostLayout.astro +7 -7
  56. package/src/layouts/ProductLayout.astro +5 -2
  57. package/src/schemas/components/footer.ts +1 -0
  58. package/src/schemas/components/header.ts +1 -0
  59. package/src/schemas/components/menu.ts +13 -0
  60. package/src/schemas/components/sidebar.ts +15 -0
  61. package/src/schemas/components/toc.ts +3 -0
  62. package/src/schemas/pageSchema.ts +72 -34
  63. package/src/schemas/presetSchema.ts +2 -28
  64. package/src/schemas/utils/navigation.ts +6 -51
  65. package/src/stores/cart.ts +23 -0
  66. package/src/utils/cart.ts +32 -0
  67. package/src/utils/{getChildPages.ts → getFolderChildren.ts} +3 -1
  68. package/src/utils/{getCategoryPages.ts → getReferenceChildren.ts} +6 -3
  69. package/tsconfig.json +1 -3
  70. package/src/components/experimental/GalleryVertical.astro +0 -161
  71. package/src/content/pages/layouts/layout.mdx +0 -21
  72. package/src/content/pages/layouts/pagelayout.mdx +0 -21
  73. package/src/content/pages/overview/content-layer.mdx +0 -128
  74. package/src/content/pages/overview/customization.mdx +0 -83
  75. package/src/layouts/ContentLayout.astro +0 -16
  76. package/src/layouts/PageLayout.astro +0 -15
  77. /package/src/schemas/utils/{categories.ts → parents.ts} +0 -0
  78. /package/src/types/{global-props.d.ts → global-props.ts} +0 -0
package/.env.example ADDED
@@ -0,0 +1,3 @@
1
+ SITE_URL=https://localhost:4321
2
+ STRIPE_SECRET_KEY=
3
+ STRIPE_RESTRICTED_KEY=
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
- │ │ ├── settings/
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 `public/images/showcase/` directory.
105
- 3. Create a file which is your unslugged domain in `src/pages/records/showcase/` for example `src/pages/records/showcase/google-com.mdx`.
106
- 4. Go to the forked repository on your Github and clicke the 'Contribute` button to make a Pull Request.
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,25 +1,14 @@
1
- import mdx from '@astrojs/mdx'
2
- import sitemap from '@astrojs/sitemap'
3
1
  // @ts-ignore
4
2
  import liveCode from 'astro-live-code'
5
- import pagefind from 'astro-pagefind'
6
3
  import { defineConfig } from 'astro/config'
7
4
  import integration from 'fulldev-ui/integration'
8
5
 
9
6
  // https://astro.build/config
10
7
  export default defineConfig({
11
- site: 'https://ui.full.dev',
12
8
  devToolbar: {
13
9
  enabled: false,
14
10
  },
15
- experimental: {
16
- contentIntellisense: false,
17
- contentLayer: true,
18
- },
19
11
  integrations: [
20
- sitemap(),
21
- mdx(),
22
- pagefind(),
23
12
  liveCode({
24
13
  layout: '/src/components/experimental/Window.astro',
25
14
  }),
@@ -27,6 +16,8 @@ export default defineConfig({
27
16
  company: 'Fulldev UI',
28
17
  favicon: 'src/images/favicon.svg',
29
18
  css: '/src/css/custom.css',
19
+ basePreset: 'base',
20
+ injectRoutes: true,
30
21
  colors: {
31
22
  theme: 'dark',
32
23
  light: {
@@ -40,8 +31,6 @@ export default defineConfig({
40
31
  brand: '#F50',
41
32
  },
42
33
  },
43
- injectRoutes: true,
44
- overrideComponents: true,
45
34
  }),
46
35
  ],
47
36
  redirects: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
- "version": "0.5.0-beta.1",
3
+ "version": "0.5.0-beta.11",
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,15 @@
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",
52
+ "astro-robots-txt": "^1.0.0",
51
53
  "astro-seo": "^0.8.4",
52
54
  "bezier-easing": "^2.1.0",
53
55
  "colorjs.io": "^0.5.2",
@@ -55,19 +57,21 @@
55
57
  "fs": "0.0.1-security",
56
58
  "install": "^0.13.0",
57
59
  "js-yaml": "^4.1.0",
60
+ "nanostores": "^0.11.3",
58
61
  "npm": "^10.9.0",
59
62
  "radash": "^12.1.0",
60
63
  "remeda": "2.15.2",
61
64
  "sass": "^1.80.2",
62
65
  "sharp": "^0.33.5",
66
+ "stripe": "^17.2.1",
63
67
  "tailwindcss": "^3.4.14",
64
68
  "typescript": "^5.6.3",
65
69
  "unocss": "^0.63.4",
66
70
  "url": "^0.11.4",
71
+ "vite": "^5.4.10",
67
72
  "vite-plugin-virtual": "^0.3.0",
68
73
  "zod": "^3.23.8",
69
- "zod-to-ts": "^1.2.0",
70
- "@rollup/plugin-yaml": "^4.1.2"
74
+ "zod-to-ts": "^1.2.0"
71
75
  },
72
76
  "devDependencies": {
73
77
  "@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,9 @@ 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)
44
+ astro-robots-txt:
45
+ specifier: ^1.0.0
46
+ version: 1.0.0
41
47
  astro-seo:
42
48
  specifier: ^0.8.4
43
49
  version: 0.8.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.3)
@@ -59,6 +65,9 @@ dependencies:
59
65
  js-yaml:
60
66
  specifier: ^4.1.0
61
67
  version: 4.1.0
68
+ nanostores:
69
+ specifier: ^0.11.3
70
+ version: 0.11.3
62
71
  npm:
63
72
  specifier: ^10.9.0
64
73
  version: 10.9.0
@@ -74,6 +83,9 @@ dependencies:
74
83
  sharp:
75
84
  specifier: ^0.33.5
76
85
  version: 0.33.5
86
+ stripe:
87
+ specifier: ^17.2.1
88
+ version: 17.2.1
77
89
  tailwindcss:
78
90
  specifier: ^3.4.14
79
91
  version: 3.4.14
@@ -82,13 +94,16 @@ dependencies:
82
94
  version: 5.6.3
83
95
  unocss:
84
96
  specifier: ^0.63.4
85
- version: 0.63.4(postcss@8.4.45)(vite@5.4.3)
97
+ version: 0.63.4(postcss@8.4.45)(vite@5.4.10)
86
98
  url:
87
99
  specifier: ^0.11.4
88
100
  version: 0.11.4
101
+ vite:
102
+ specifier: ^5.4.10
103
+ version: 5.4.10(sass@1.80.2)
89
104
  vite-plugin-virtual:
90
105
  specifier: ^0.3.0
91
- version: 0.3.0(vite@5.4.3)
106
+ version: 0.3.0(vite@5.4.10)
92
107
  zod:
93
108
  specifier: ^3.23.8
94
109
  version: 3.23.8
@@ -100,9 +115,6 @@ devDependencies:
100
115
  '@astrojs/check':
101
116
  specifier: ^0.9.4
102
117
  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
118
  prettier:
107
119
  specifier: 3.3.3
108
120
  version: 3.3.3
@@ -1299,6 +1311,15 @@ packages:
1299
1311
  - supports-color
1300
1312
  dev: false
1301
1313
 
1314
+ /@nanostores/persistent@0.10.2(nanostores@0.11.3):
1315
+ resolution: {integrity: sha512-BEndnLhRC+yP7gXTESepBbSj8XNl8OXK9hu4xAgKC7MWJHKXnEqJMqY47LUyHxK6vYgFnisyHmqq+vq8AUFyIg==}
1316
+ engines: {node: ^18.0.0 || >=20.0.0}
1317
+ peerDependencies:
1318
+ nanostores: ^0.9.0 || ^0.10.0 || ^0.11.0
1319
+ dependencies:
1320
+ nanostores: 0.11.3
1321
+ dev: false
1322
+
1302
1323
  /@nodelib/fs.scandir@2.1.5:
1303
1324
  resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
1304
1325
  engines: {node: '>= 8'}
@@ -1321,50 +1342,6 @@ packages:
1321
1342
  resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==}
1322
1343
  dev: false
1323
1344
 
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
1345
  /@parcel/watcher-android-arm64@2.4.1:
1369
1346
  resolution: {integrity: sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==}
1370
1347
  engines: {node: '>= 10.0.0'}
@@ -1523,7 +1500,7 @@ packages:
1523
1500
  '@rollup/pluginutils': 5.1.0
1524
1501
  js-yaml: 4.1.0
1525
1502
  tosource: 2.0.0-alpha.3
1526
- dev: true
1503
+ dev: false
1527
1504
 
1528
1505
  /@rollup/pluginutils@5.1.0:
1529
1506
  resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==}
@@ -1537,7 +1514,7 @@ packages:
1537
1514
  '@types/estree': 1.0.5
1538
1515
  estree-walker: 2.0.2
1539
1516
  picomatch: 2.3.1
1540
- dev: true
1517
+ dev: false
1541
1518
 
1542
1519
  /@rollup/pluginutils@5.1.2:
1543
1520
  resolution: {integrity: sha512-/FIdS3PyZ39bjZlwqFnWqCOVnW7o963LtKMwQOD0NhQqw22gSr2YY1afu3FxRip4ZCZNsD5jq6Aaz6QV3D/Njw==}
@@ -1771,6 +1748,7 @@ packages:
1771
1748
 
1772
1749
  /@types/estree@1.0.5:
1773
1750
  resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}
1751
+ dev: false
1774
1752
 
1775
1753
  /@types/hast@3.0.4:
1776
1754
  resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==}
@@ -1824,7 +1802,7 @@ packages:
1824
1802
  resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
1825
1803
  dev: false
1826
1804
 
1827
- /@unocss/astro@0.63.4(vite@5.4.3):
1805
+ /@unocss/astro@0.63.4(vite@5.4.10):
1828
1806
  resolution: {integrity: sha512-qu1uMDUT8lXU3mm5EjZpnizvjSYtfY0TTDivR5QNm1i3Xd+ErHfdfOpXdJ2mYvxv+X7C570//KUugkTI3Mb3kQ==}
1829
1807
  peerDependencies:
1830
1808
  vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0
@@ -1834,8 +1812,8 @@ packages:
1834
1812
  dependencies:
1835
1813
  '@unocss/core': 0.63.4
1836
1814
  '@unocss/reset': 0.63.4
1837
- '@unocss/vite': 0.63.4(vite@5.4.3)
1838
- vite: 5.4.3(sass@1.80.2)
1815
+ '@unocss/vite': 0.63.4(vite@5.4.10)
1816
+ vite: 5.4.10(sass@1.80.2)
1839
1817
  transitivePeerDependencies:
1840
1818
  - rollup
1841
1819
  - supports-color
@@ -2008,7 +1986,7 @@ packages:
2008
1986
  '@unocss/core': 0.63.4
2009
1987
  dev: false
2010
1988
 
2011
- /@unocss/vite@0.63.4(vite@5.4.3):
1989
+ /@unocss/vite@0.63.4(vite@5.4.10):
2012
1990
  resolution: {integrity: sha512-YK0L177GD8Kx+JtfiCJy4YyBYckAXo4ogC8LZ+pYVNXDMN+F+XItpGI/ofLRaGIaewNg+MJgGY+CQZceABEAfg==}
2013
1991
  peerDependencies:
2014
1992
  vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0
@@ -2021,7 +1999,7 @@ packages:
2021
1999
  chokidar: 3.6.0
2022
2000
  magic-string: 0.30.11
2023
2001
  tinyglobby: 0.2.9
2024
- vite: 5.4.3(sass@1.80.2)
2002
+ vite: 5.4.10(sass@1.80.2)
2025
2003
  transitivePeerDependencies:
2026
2004
  - rollup
2027
2005
  - supports-color
@@ -2226,6 +2204,7 @@ packages:
2226
2204
 
2227
2205
  /argparse@2.0.1:
2228
2206
  resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
2207
+ dev: false
2229
2208
 
2230
2209
  /aria-query@5.3.2:
2231
2210
  resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}
@@ -2255,15 +2234,11 @@ packages:
2255
2234
  unist-util-visit-parents: 6.0.1
2256
2235
  dev: false
2257
2236
 
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
2237
+ /astro-robots-txt@1.0.0:
2238
+ resolution: {integrity: sha512-6JQSLid4gMhoWjOm85UHLkgrw0+hHIjnJVIUqxjU2D6feKlVyYukMNYjH44ZDZBK1P8hNxd33PgWlHzCASvedA==}
2262
2239
  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
2240
+ valid-filename: 4.0.0
2241
+ zod: 3.23.8
2267
2242
  dev: false
2268
2243
 
2269
2244
  /astro-seo@0.8.4(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.6.3):
@@ -2335,8 +2310,8 @@ packages:
2335
2310
  tsconfck: 3.1.4(typescript@5.6.3)
2336
2311
  unist-util-visit: 5.0.0
2337
2312
  vfile: 6.0.3
2338
- vite: 5.4.9(sass@1.80.2)
2339
- vitefu: 1.0.3(vite@5.4.9)
2313
+ vite: 5.4.10(sass@1.80.2)
2314
+ vitefu: 1.0.3(vite@5.4.10)
2340
2315
  which-pm: 3.0.0
2341
2316
  xxhash-wasm: 1.0.2
2342
2317
  yargs-parser: 21.1.1
@@ -3020,6 +2995,7 @@ packages:
3020
2995
 
3021
2996
  /estree-walker@2.0.2:
3022
2997
  resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
2998
+ dev: false
3023
2999
 
3024
3000
  /estree-walker@3.0.3:
3025
3001
  resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}
@@ -3092,6 +3068,11 @@ packages:
3092
3068
  picomatch: 4.0.2
3093
3069
  dev: false
3094
3070
 
3071
+ /filename-reserved-regex@3.0.0:
3072
+ resolution: {integrity: sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==}
3073
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
3074
+ dev: false
3075
+
3095
3076
  /fill-range@7.1.1:
3096
3077
  resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
3097
3078
  engines: {node: '>=8'}
@@ -3660,6 +3641,7 @@ packages:
3660
3641
  hasBin: true
3661
3642
  dependencies:
3662
3643
  argparse: 2.0.1
3644
+ dev: false
3663
3645
 
3664
3646
  /jsesc@3.0.2:
3665
3647
  resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==}
@@ -4415,6 +4397,11 @@ packages:
4415
4397
  engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
4416
4398
  hasBin: true
4417
4399
 
4400
+ /nanostores@0.11.3:
4401
+ resolution: {integrity: sha512-TUes3xKIX33re4QzdxwZ6tdbodjmn3tWXCEc1uokiEmo14sI1EaGYNs2k3bU2pyyGNmBqFGAVl6jAGWd06AVIg==}
4402
+ engines: {node: ^18.0.0 || >=20.0.0}
4403
+ dev: false
4404
+
4418
4405
  /napi-build-utils@1.0.2:
4419
4406
  resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==}
4420
4407
  dev: false
@@ -4637,17 +4624,6 @@ packages:
4637
4624
  resolution: {integrity: sha512-E385OSk9qDcXhcM9LNSe4sdhx8a9mAPrZ4sMLW+tmxl5ZuGtPUcdFu+MPP2jbgiWAZ6Pfe5soGFMd+0Db5Vrog==}
4638
4625
  dev: false
4639
4626
 
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
4627
  /parse-entities@4.0.1:
4652
4628
  resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
4653
4629
  dependencies:
@@ -5536,6 +5512,14 @@ packages:
5536
5512
  engines: {node: '>=0.10.0'}
5537
5513
  dev: false
5538
5514
 
5515
+ /stripe@17.2.1:
5516
+ resolution: {integrity: sha512-Mwb0SitV/UjxTLSUiTlUQ0VDE/gfyQ7OHDGdvDdvKIH4CNNqobPKlzlWhoZHFFU0OA/YsZyBtPULK4JG86BAAg==}
5517
+ engines: {node: '>=12.*'}
5518
+ dependencies:
5519
+ '@types/node': 17.0.45
5520
+ qs: 6.13.0
5521
+ dev: false
5522
+
5539
5523
  /style-to-object@0.4.4:
5540
5524
  resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==}
5541
5525
  dependencies:
@@ -5693,7 +5677,7 @@ packages:
5693
5677
  /tosource@2.0.0-alpha.3:
5694
5678
  resolution: {integrity: sha512-KAB2lrSS48y91MzFPFuDg4hLbvDiyTjOVgaK7Erw+5AmZXNq4sFRVn8r6yxSLuNs15PaokrDRpS61ERY9uZOug==}
5695
5679
  engines: {node: '>=10'}
5696
- dev: true
5680
+ dev: false
5697
5681
 
5698
5682
  /totalist@3.0.1:
5699
5683
  resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}
@@ -5858,7 +5842,7 @@ packages:
5858
5842
  unist-util-visit-parents: 6.0.1
5859
5843
  dev: false
5860
5844
 
5861
- /unocss@0.63.4(postcss@8.4.45)(vite@5.4.3):
5845
+ /unocss@0.63.4(postcss@8.4.45)(vite@5.4.10):
5862
5846
  resolution: {integrity: sha512-MQ/ktuJ2MoXBsd117DEONFubJRQN6Og4mQJLbT+0nna2aTW4jYJESJ479mJYWq/ajonxEaM+zrf8M92VIWxzEw==}
5863
5847
  engines: {node: '>=14'}
5864
5848
  peerDependencies:
@@ -5870,7 +5854,7 @@ packages:
5870
5854
  vite:
5871
5855
  optional: true
5872
5856
  dependencies:
5873
- '@unocss/astro': 0.63.4(vite@5.4.3)
5857
+ '@unocss/astro': 0.63.4(vite@5.4.10)
5874
5858
  '@unocss/cli': 0.63.4
5875
5859
  '@unocss/core': 0.63.4
5876
5860
  '@unocss/postcss': 0.63.4(postcss@8.4.45)
@@ -5886,8 +5870,8 @@ packages:
5886
5870
  '@unocss/transformer-compile-class': 0.63.4
5887
5871
  '@unocss/transformer-directives': 0.63.4
5888
5872
  '@unocss/transformer-variant-group': 0.63.4
5889
- '@unocss/vite': 0.63.4(vite@5.4.3)
5890
- vite: 5.4.3(sass@1.80.2)
5873
+ '@unocss/vite': 0.63.4(vite@5.4.10)
5874
+ vite: 5.4.10(sass@1.80.2)
5891
5875
  transitivePeerDependencies:
5892
5876
  - postcss
5893
5877
  - rollup
@@ -5917,6 +5901,13 @@ packages:
5917
5901
  resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
5918
5902
  dev: false
5919
5903
 
5904
+ /valid-filename@4.0.0:
5905
+ resolution: {integrity: sha512-VEYTpTVPMgO799f2wI7zWf0x2C54bPX6NAfbZ2Z8kZn76p+3rEYCTYVYzMUcVSMvakxMQTriBf24s3+WeXJtEg==}
5906
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
5907
+ dependencies:
5908
+ filename-reserved-regex: 3.0.0
5909
+ dev: false
5910
+
5920
5911
  /vfile-location@5.0.3:
5921
5912
  resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==}
5922
5913
  dependencies:
@@ -5938,55 +5929,16 @@ packages:
5938
5929
  vfile-message: 4.0.2
5939
5930
  dev: false
5940
5931
 
5941
- /vite-plugin-virtual@0.3.0(vite@5.4.3):
5932
+ /vite-plugin-virtual@0.3.0(vite@5.4.10):
5942
5933
  resolution: {integrity: sha512-TOtrWw6jKrJNXfxhGRUiQzfAP1gRkYkVzMkJNjHUJ8idLuxf8eeeDKZKZHhdeYfaCc/87rv+KvWE2iCy1QInWA==}
5943
5934
  peerDependencies:
5944
5935
  vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
5945
5936
  dependencies:
5946
- vite: 5.4.3(sass@1.80.2)
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
5937
+ vite: 5.4.10(sass@1.80.2)
5986
5938
  dev: false
5987
5939
 
5988
- /vite@5.4.9(sass@1.80.2):
5989
- resolution: {integrity: sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==}
5940
+ /vite@5.4.10(sass@1.80.2):
5941
+ resolution: {integrity: sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==}
5990
5942
  engines: {node: ^18.0.0 || >=20.0.0}
5991
5943
  hasBin: true
5992
5944
  peerDependencies:
@@ -6024,7 +5976,7 @@ packages:
6024
5976
  fsevents: 2.3.3
6025
5977
  dev: false
6026
5978
 
6027
- /vitefu@1.0.3(vite@5.4.9):
5979
+ /vitefu@1.0.3(vite@5.4.10):
6028
5980
  resolution: {integrity: sha512-iKKfOMBHob2WxEJbqbJjHAkmYgvFDPhuqrO82om83S8RLk+17FtyMBfcyeH8GqD0ihShtkMW/zzJgiA51hCNCQ==}
6029
5981
  peerDependencies:
6030
5982
  vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0-beta.0
@@ -6032,7 +5984,7 @@ packages:
6032
5984
  vite:
6033
5985
  optional: true
6034
5986
  dependencies:
6035
- vite: 5.4.9(sass@1.80.2)
5987
+ vite: 5.4.10(sass@1.80.2)
6036
5988
  dev: false
6037
5989
 
6038
5990
  /volar-service-css@0.0.61(@volar/language-service@2.4.4):
@@ -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 { ...rest } = Astro.props
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
- style={{ '--screen': '768px' }}
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>
@@ -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);