fulldev-ui 0.4.29 → 0.5.0-beta.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.
Files changed (314) hide show
  1. package/.astro/assets.mjs +1 -0
  2. package/.astro/astro/content.d.ts +547 -0
  3. package/.astro/collections/blocks.schema.json +851 -0
  4. package/.astro/collections/collections.json +63 -0
  5. package/.astro/collections/images.schema.json +22 -0
  6. package/.astro/collections/layouts.schema.json +826 -0
  7. package/.astro/collections/pages.schema.json +568 -0
  8. package/.astro/collections/presets.schema.json +489 -0
  9. package/.astro/collections/records.schema.json +822 -0
  10. package/.astro/collections/settings.schema.json +822 -0
  11. package/.astro/data-store.json +1 -0
  12. package/.astro/modules.mjs +1 -0
  13. package/.astro/settings.json +5 -0
  14. package/.astro/types.d.ts +2 -0
  15. package/CONTRIBUTING.md +2 -2
  16. package/astro.config.ts +20 -4
  17. package/package.json +26 -16
  18. package/public/favicon/android-chrome-192x192.png +0 -0
  19. package/public/favicon/android-chrome-512x512.png +0 -0
  20. package/public/favicon/apple-touch-icon.png +0 -0
  21. package/public/favicon/browserconfig.xml +7 -7
  22. package/public/favicon/favicon-16x16-dark.png +0 -0
  23. package/public/favicon/favicon-16x16.png +0 -0
  24. package/public/favicon/favicon-32x32-dark.png +0 -0
  25. package/public/favicon/favicon-32x32.png +0 -0
  26. package/public/favicon/favicon-48x48-dark.png +0 -0
  27. package/public/favicon/favicon-48x48.png +0 -0
  28. package/public/favicon/favicon-dark.ico +0 -0
  29. package/public/favicon/favicon.ico +0 -0
  30. package/public/favicon/favicon.svg +16 -0
  31. package/public/favicon/manifest.webmanifest +26 -0
  32. package/public/favicon/mstile-150x150.png +0 -0
  33. package/public/favicon/safari-pinned-tab.svg +14 -15
  34. package/public/favicon/yandex-browser-50x50.png +0 -0
  35. package/public/favicon/yandex-browser-manifest.json +9 -0
  36. package/src/blocks/Article.astro +21 -0
  37. package/src/blocks/Banner.astro +47 -0
  38. package/src/blocks/Colleagues.astro +2 -1
  39. package/src/blocks/Contact.astro +84 -99
  40. package/src/blocks/Cta.astro +2 -1
  41. package/src/blocks/Hero.astro +1 -2
  42. package/src/blocks/Intro.astro +1 -1
  43. package/src/blocks/Jobs.astro +1 -1
  44. package/src/blocks/Prices.astro +1 -1
  45. package/src/blocks/Product.astro +23 -10
  46. package/src/blocks/Reviews.astro +1 -1
  47. package/src/components/Avatar.astro +3 -20
  48. package/src/components/Badge.astro +17 -54
  49. package/src/components/Badges.astro +50 -0
  50. package/src/components/Button.astro +65 -45
  51. package/src/components/Buttons.astro +49 -0
  52. package/src/components/Card.astro +94 -177
  53. package/src/components/Cards.astro +135 -0
  54. package/src/components/Channel.astro +70 -0
  55. package/src/components/Channels.astro +37 -0
  56. package/src/components/Checkbox.astro +12 -16
  57. package/src/components/Dialog.astro +10 -12
  58. package/src/components/Drawer.astro +16 -22
  59. package/src/components/Element.astro +58 -0
  60. package/src/components/Footer.astro +139 -93
  61. package/src/components/Head.astro +7 -45
  62. package/src/components/Header.astro +78 -160
  63. package/src/components/Heading.astro +18 -26
  64. package/src/components/Icon.astro +9 -9
  65. package/src/components/Image.astro +43 -152
  66. package/src/components/Input.astro +10 -28
  67. package/src/components/Label.astro +14 -17
  68. package/src/components/Link.astro +22 -44
  69. package/src/components/List.astro +12 -10
  70. package/src/components/LocaleSwitcher.astro +25 -0
  71. package/src/components/Price.astro +38 -0
  72. package/src/components/Rating.astro +29 -25
  73. package/src/components/Search.astro +3 -3
  74. package/src/components/Section.astro +196 -236
  75. package/src/components/Select.astro +16 -34
  76. package/src/components/Sidebar.astro +112 -46
  77. package/src/components/Social.astro +28 -0
  78. package/src/components/Socials.astro +37 -0
  79. package/src/components/Switch.astro +14 -22
  80. package/src/components/Table.astro +23 -36
  81. package/src/components/Tagline.astro +11 -16
  82. package/src/components/Text.astro +17 -19
  83. package/src/components/Textarea.astro +8 -22
  84. package/src/components/ThemeSelect.astro +38 -0
  85. package/src/components/Toc.astro +98 -41
  86. package/src/components/Writeup.astro +90 -0
  87. package/src/components/docs/PropsTable.astro +229 -56
  88. package/src/components/experimental/Form.astro +10 -17
  89. package/src/components/experimental/Logo.astro +26 -9
  90. package/src/components/experimental/Prose.astro +9 -5
  91. package/src/components/experimental/Video.astro +1 -1
  92. package/src/components/experimental/Window.astro +3 -4
  93. package/src/components/sections.astro +28 -0
  94. package/src/content/config.ts +10 -7
  95. package/src/content/pages/base/_dialog.mdx +1 -2
  96. package/src/content/pages/base/_drawer.mdx +1 -2
  97. package/src/content/pages/base/_localeswitcher.mdx +17 -0
  98. package/src/content/pages/base/_switch.mdx +1 -2
  99. package/src/content/pages/base/badge.mdx +1 -12
  100. package/src/content/pages/base/button.mdx +1 -12
  101. package/src/content/pages/base/card.mdx +2 -29
  102. package/src/content/pages/base/checkbox.mdx +1 -2
  103. package/src/content/pages/base/icon.mdx +1 -2
  104. package/src/content/pages/base/image.mdx +42 -0
  105. package/src/content/pages/base/input.mdx +1 -12
  106. package/src/content/pages/base/rating.mdx +3 -14
  107. package/src/content/pages/base/section.mdx +2 -3
  108. package/src/content/pages/base/select.mdx +1 -12
  109. package/src/content/pages/base/table.mdx +1 -28
  110. package/src/content/pages/base/textarea.mdx +1 -11
  111. package/src/content/pages/base/theme-select.mdx +15 -0
  112. package/src/content/pages/blocks/_categories.mdx +3 -5
  113. package/src/content/pages/blocks/{footer.mdx → _footer.mdx} +2 -4
  114. package/src/content/pages/blocks/{header.mdx → _header.mdx} +2 -7
  115. package/src/content/pages/blocks/_jobs.mdx +1 -2
  116. package/src/content/pages/blocks/{prices.mdx → _prices.mdx} +5 -7
  117. package/src/content/pages/blocks/_product.mdx +1 -2
  118. package/src/content/pages/blocks/_products.mdx +1 -2
  119. package/src/content/pages/blocks/_stats.mdx +1 -1
  120. package/src/content/pages/blocks/{_banner.mdx → banner.mdx} +2 -2
  121. package/src/content/pages/blocks/colleagues.mdx +6 -8
  122. package/src/content/pages/blocks/contact.mdx +69 -0
  123. package/src/content/pages/blocks/content.mdx +1 -19
  124. package/src/content/pages/blocks/cta.mdx +2 -25
  125. package/src/content/pages/blocks/features.mdx +2 -3
  126. package/src/content/pages/blocks/hero.mdx +5 -3
  127. package/src/content/pages/blocks/intro.mdx +2 -5
  128. package/src/content/pages/blocks/posts.mdx +9 -2
  129. package/src/content/pages/blocks/reviews.mdx +23 -18
  130. package/src/content/pages/index.mdx +19 -20
  131. package/src/content/pages/layouts/docslayout.mdx +5 -0
  132. package/src/content/pages/layouts/layout.mdx +21 -0
  133. package/src/content/pages/layouts/pagelayout.mdx +21 -0
  134. package/src/content/pages/overview/components.mdx +70 -0
  135. package/src/content/pages/overview/content-layer.mdx +128 -0
  136. package/src/content/pages/overview/{theming.mdx → customization.mdx} +6 -6
  137. package/src/content/pages/overview/frameworks.mdx +4 -4
  138. package/src/content/pages/overview/installation.mdx +37 -3
  139. package/src/content/pages/overview/introduction.mdx +6 -2
  140. package/src/content/pages/schemas/page.mdx +11 -0
  141. package/src/content/pages/schemas/preset.mdx +9 -0
  142. package/src/content/pages/showcase/anti-slip-profiles.md +5 -0
  143. package/src/content/pages/showcase/fulldev-ui.md +5 -0
  144. package/src/content/pages/showcase/lavis-detailing.md +5 -0
  145. package/src/content/pages/showcase/leren-trainingsacteren.md +5 -0
  146. package/src/content/pages/showcase/miele-witgoedcenter-amsterdam.md +5 -0
  147. package/src/content/{records/record.yml → pages/showcase/record.md} +2 -0
  148. package/src/content/pages/showcase/sloepverhuur-bolsward.md +5 -0
  149. package/src/content/pages/showcase/stark-vulcanising-products.md +5 -0
  150. package/src/content/pages/showcase/the-gym-haren.md +5 -0
  151. package/src/content/pages/showcase/van-dillen-antieke-bouwmaterialen.md +5 -0
  152. package/src/content/pages/showcase.mdx +11 -41
  153. package/src/content/pages/typography/_tagline.mdx +1 -2
  154. package/src/content/pages/typography/heading.mdx +1 -2
  155. package/src/content/pages/typography/label.mdx +1 -2
  156. package/src/content/pages/typography/link.mdx +1 -13
  157. package/src/content/pages/typography/list.mdx +1 -2
  158. package/src/content/pages/typography/text.mdx +1 -2
  159. package/src/content/presets/base.yml +70 -0
  160. package/src/content/presets/blocks.yml +4 -0
  161. package/src/content/presets/docs.yml +65 -0
  162. package/src/css/color.css +0 -82
  163. package/src/css/custom.css +9 -56
  164. package/src/css/size.css +10 -0
  165. package/src/css/space.css +0 -8
  166. package/src/css/styles.css +0 -15
  167. package/src/images/avatar-1.yml +1 -0
  168. package/src/images/favicon.svg +16 -0
  169. package/src/integration/generate-colors.ts +2 -0
  170. package/src/integration/index.ts +49 -7
  171. package/src/layouts/BlockLayout.astro +10 -15
  172. package/src/layouts/ContactLayout.astro +21 -0
  173. package/src/layouts/ContentLayout.astro +16 -0
  174. package/src/layouts/DocsLayout.astro +85 -0
  175. package/src/layouts/Layout.astro +111 -133
  176. package/src/layouts/OverviewLayout.astro +22 -32
  177. package/src/layouts/PageLayout.astro +7 -24
  178. package/src/layouts/PostLayout.astro +8 -19
  179. package/src/layouts/ProductLayout.astro +9 -22
  180. package/src/loaders/imageLoader.ts +26 -0
  181. package/src/pages/[...page].astro +25 -21
  182. package/src/schemas/components/avatar.ts +3 -0
  183. package/src/schemas/components/avatars.ts +4 -0
  184. package/src/schemas/components/badge.ts +13 -0
  185. package/src/schemas/components/button.ts +16 -0
  186. package/src/schemas/components/buttons.ts +4 -0
  187. package/src/schemas/components/card.ts +25 -0
  188. package/src/schemas/components/cards.ts +4 -0
  189. package/src/schemas/components/channel.ts +13 -0
  190. package/src/schemas/components/channels.ts +4 -0
  191. package/src/schemas/components/footer.ts +24 -0
  192. package/src/schemas/components/header.ts +10 -0
  193. package/src/schemas/components/heading.ts +3 -0
  194. package/src/schemas/components/icon.ts +3 -0
  195. package/src/schemas/components/image.ts +18 -0
  196. package/src/schemas/components/images.ts +4 -0
  197. package/src/schemas/components/list.ts +3 -0
  198. package/src/schemas/components/logo.ts +3 -0
  199. package/src/schemas/components/price.ts +3 -0
  200. package/src/schemas/components/rating.ts +15 -0
  201. package/src/schemas/components/section.ts +15 -0
  202. package/src/schemas/components/sections.ts +3 -0
  203. package/src/schemas/components/social.ts +3 -0
  204. package/src/schemas/components/socials.ts +4 -0
  205. package/src/schemas/components/tagline.ts +3 -0
  206. package/src/schemas/components/text.ts +3 -0
  207. package/src/schemas/components/writeup.ts +20 -0
  208. package/src/schemas/imageSchema.ts +12 -0
  209. package/src/schemas/pageSchema.ts +63 -0
  210. package/src/schemas/presetSchema.ts +29 -0
  211. package/src/schemas/utils/categories.ts +3 -0
  212. package/src/schemas/utils/component.ts +17 -0
  213. package/src/schemas/utils/navigation.ts +53 -0
  214. package/src/schemas/{utils.ts → utils/pathSchema.ts} +2 -11
  215. package/src/types/global-props.d.ts +16 -0
  216. package/src/types/virtual-modules.d.ts +5 -0
  217. package/src/utils/_archive/Childmorphic.ts +1 -1
  218. package/src/utils/_archive/mergeEntries.ts +28 -0
  219. package/src/utils/getCategoryPages.ts +11 -0
  220. package/src/utils/getChildPages.ts +16 -0
  221. package/src/utils/getSiblingPages.ts +14 -0
  222. package/tsconfig.json +1 -2
  223. package/public/favicon/site.webmanifest +0 -19
  224. package/public/images/avatars/1.jpeg +0 -0
  225. package/public/images/avatars/2.jpeg +0 -0
  226. package/public/images/avatars/3.jpeg +0 -0
  227. package/public/images/avatars/300/1.jpeg +0 -0
  228. package/public/images/avatars/300/2.jpeg +0 -0
  229. package/public/images/avatars/300/3.jpeg +0 -0
  230. package/public/images/avatars/300/4.jpeg +0 -0
  231. package/public/images/avatars/4.jpeg +0 -0
  232. package/public/images/avatars/5.jpeg +0 -0
  233. package/public/images/avatars/6.jpeg +0 -0
  234. package/public/images/avatars/7.jpeg +0 -0
  235. package/public/images/avatars/8.jpeg +0 -0
  236. package/public/images/blocks/colleagues.png +0 -0
  237. package/public/images/blocks/content.png +0 -0
  238. package/public/images/blocks/cta.png +0 -0
  239. package/public/images/blocks/features.png +0 -0
  240. package/public/images/blocks/footer.png +0 -0
  241. package/public/images/blocks/header.png +0 -0
  242. package/public/images/blocks/hero.png +0 -0
  243. package/public/images/blocks/intro.png +0 -0
  244. package/public/images/blocks/posts.png +0 -0
  245. package/public/images/blocks/prices.png +0 -0
  246. package/public/images/blocks/reviews.png +0 -0
  247. package/public/images/logo-placeholder.svg +0 -1
  248. package/src/components/Bento.astro +0 -43
  249. package/src/components/Block.astro +0 -157
  250. package/src/components/Blocks.astro +0 -5
  251. package/src/components/Box.astro +0 -63
  252. package/src/components/Carousel.astro +0 -54
  253. package/src/components/Column.astro +0 -73
  254. package/src/components/Grid.astro +0 -32
  255. package/src/components/Masonry.astro +0 -42
  256. package/src/components/Root.astro +0 -94
  257. package/src/components/Row.astro +0 -49
  258. package/src/components/Split.astro +0 -59
  259. package/src/components/Spread.astro +0 -46
  260. package/src/components/Stack.astro +0 -36
  261. package/src/components/Toggle.astro +0 -46
  262. package/src/components/Wrap.astro +0 -42
  263. package/src/components/docs/NavigationButtons.astro +0 -59
  264. package/src/components/experimental/Channel.astro +0 -74
  265. package/src/components/experimental/Price.astro +0 -40
  266. package/src/content/pages/_changelog.mdx +0 -10
  267. package/src/content/pages/_segment/footer.mdx +0 -244
  268. package/src/content/pages/_segment/header.mdx +0 -210
  269. package/src/content/pages/base/_image.mdx +0 -14
  270. package/src/content/pages/base/toggle.mdx +0 -32
  271. package/src/content/pages/blocks.mdx +0 -10
  272. package/src/content/pages/overview/integration.mdx +0 -37
  273. package/src/content/pages/structure/_row.mdx +0 -23
  274. package/src/content/pages/structure/_wrap.mdx +0 -25
  275. package/src/content/pages/structure/carousel.mdx +0 -31
  276. package/src/content/pages/structure/column.mdx +0 -21
  277. package/src/content/pages/structure/grid.mdx +0 -26
  278. package/src/content/pages/structure/masonry.mdx +0 -32
  279. package/src/content/pages/structure/split.mdx +0 -21
  280. package/src/content/pages/structure/spread.mdx +0 -21
  281. package/src/content/pages/structure/stack.mdx +0 -22
  282. package/src/content/settings/base.yml +0 -55
  283. package/src/content/settings/components.yml +0 -29
  284. package/src/layouts/BlockOverviewLayout.astro +0 -39
  285. package/src/layouts/ComponentLayout.astro +0 -23
  286. package/src/layouts/JobsLayout.astro +0 -40
  287. package/src/schemas/base.ts +0 -90
  288. package/src/schemas/block.ts +0 -15
  289. package/src/schemas/card.ts +0 -3
  290. package/src/schemas/page.ts +0 -43
  291. package/src/utils/mergeEntries.ts +0 -28
  292. /package/{public/showcase → src/images}/anti-slip-profiles.webp +0 -0
  293. /package/{public/images/avatars/500/1.jpeg → src/images/avatar-1.jpeg} +0 -0
  294. /package/{public/images/avatars/500/2.jpeg → src/images/avatar-2.jpeg} +0 -0
  295. /package/{public/images/avatars/500/3.jpeg → src/images/avatar-3.jpeg} +0 -0
  296. /package/{public/images/avatars/500/4.jpeg → src/images/avatar-4.jpeg} +0 -0
  297. /package/{public → src}/images/avatar-placeholder.jpg +0 -0
  298. /package/{public → src}/images/block-code.png +0 -0
  299. /package/{public → src}/images/component-code.png +0 -0
  300. /package/{public/showcase → src/images}/fulldev-ui.webp +0 -0
  301. /package/{public/showcase → src/images}/lavis-detailing.webp +0 -0
  302. /package/{public/showcase → src/images}/leren-trainingsacteren.webp +0 -0
  303. /package/{public/showcase → src/images}/miele-witgoedcenter-amsterdam.webp +0 -0
  304. /package/{public → src}/images/og-image.png +0 -0
  305. /package/{public → src}/images/placeholder-center.webp +0 -0
  306. /package/{public → src}/images/placeholder-landscape-dark.png +0 -0
  307. /package/{public → src}/images/placeholder-landscape.webp +0 -0
  308. /package/{public → src}/images/placeholder-portrait.webp +0 -0
  309. /package/{public → src}/images/placeholder-right.webp +0 -0
  310. /package/{public → src}/images/placeholder.webp +0 -0
  311. /package/{public/showcase → src/images}/sloepverhuur-bolsward.webp +0 -0
  312. /package/{public/showcase → src/images}/stark-vulcanising-products.webp +0 -0
  313. /package/{public/showcase → src/images}/the-gym-haren.webp +0 -0
  314. /package/{public/showcase → src/images}/van-dillen-antieke-bouwmaterialen.webp +0 -0
@@ -0,0 +1 @@
1
+ export default new Map();
@@ -0,0 +1,547 @@
1
+ declare module 'astro:content' {
2
+ interface Render {
3
+ '.mdx': Promise<{
4
+ Content: import('astro').MarkdownInstance<{}>['Content'];
5
+ headings: import('astro').MarkdownHeading[];
6
+ remarkPluginFrontmatter: Record<string, any>;
7
+ }>;
8
+ }
9
+ }
10
+
11
+ declare module 'astro:content' {
12
+ interface RenderResult {
13
+ Content: import('astro/runtime/server/index.js').AstroComponentFactory;
14
+ headings: import('astro').MarkdownHeading[];
15
+ remarkPluginFrontmatter: Record<string, any>;
16
+ }
17
+ interface Render {
18
+ '.md': Promise<RenderResult>;
19
+ }
20
+
21
+ export interface RenderedContent {
22
+ html: string;
23
+ metadata?: {
24
+ imagePaths: Array<string>;
25
+ [key: string]: unknown;
26
+ };
27
+ }
28
+ }
29
+
30
+ declare module 'astro:content' {
31
+ type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
32
+
33
+ export type CollectionKey = keyof AnyEntryMap;
34
+ export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;
35
+
36
+ export type ContentCollectionKey = keyof ContentEntryMap;
37
+ export type DataCollectionKey = keyof DataEntryMap;
38
+
39
+ type AllValuesOf<T> = T extends any ? T[keyof T] : never;
40
+ type ValidContentEntrySlug<C extends keyof ContentEntryMap> = AllValuesOf<
41
+ ContentEntryMap[C]
42
+ >['slug'];
43
+
44
+ /** @deprecated Use `getEntry` instead. */
45
+ export function getEntryBySlug<
46
+ C extends keyof ContentEntryMap,
47
+ E extends ValidContentEntrySlug<C> | (string & {}),
48
+ >(
49
+ collection: C,
50
+ // Note that this has to accept a regular string too, for SSR
51
+ entrySlug: E,
52
+ ): E extends ValidContentEntrySlug<C>
53
+ ? Promise<CollectionEntry<C>>
54
+ : Promise<CollectionEntry<C> | undefined>;
55
+
56
+ /** @deprecated Use `getEntry` instead. */
57
+ export function getDataEntryById<C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]>(
58
+ collection: C,
59
+ entryId: E,
60
+ ): Promise<CollectionEntry<C>>;
61
+
62
+ export function getCollection<C extends keyof AnyEntryMap, E extends CollectionEntry<C>>(
63
+ collection: C,
64
+ filter?: (entry: CollectionEntry<C>) => entry is E,
65
+ ): Promise<E[]>;
66
+ export function getCollection<C extends keyof AnyEntryMap>(
67
+ collection: C,
68
+ filter?: (entry: CollectionEntry<C>) => unknown,
69
+ ): Promise<CollectionEntry<C>[]>;
70
+
71
+ export function getEntry<
72
+ C extends keyof ContentEntryMap,
73
+ E extends ValidContentEntrySlug<C> | (string & {}),
74
+ >(entry: {
75
+ collection: C;
76
+ slug: E;
77
+ }): E extends ValidContentEntrySlug<C>
78
+ ? Promise<CollectionEntry<C>>
79
+ : Promise<CollectionEntry<C> | undefined>;
80
+ export function getEntry<
81
+ C extends keyof DataEntryMap,
82
+ E extends keyof DataEntryMap[C] | (string & {}),
83
+ >(entry: {
84
+ collection: C;
85
+ id: E;
86
+ }): E extends keyof DataEntryMap[C]
87
+ ? Promise<DataEntryMap[C][E]>
88
+ : Promise<CollectionEntry<C> | undefined>;
89
+ export function getEntry<
90
+ C extends keyof ContentEntryMap,
91
+ E extends ValidContentEntrySlug<C> | (string & {}),
92
+ >(
93
+ collection: C,
94
+ slug: E,
95
+ ): E extends ValidContentEntrySlug<C>
96
+ ? Promise<CollectionEntry<C>>
97
+ : Promise<CollectionEntry<C> | undefined>;
98
+ export function getEntry<
99
+ C extends keyof DataEntryMap,
100
+ E extends keyof DataEntryMap[C] | (string & {}),
101
+ >(
102
+ collection: C,
103
+ id: E,
104
+ ): E extends keyof DataEntryMap[C]
105
+ ? Promise<DataEntryMap[C][E]>
106
+ : Promise<CollectionEntry<C> | undefined>;
107
+
108
+ /** Resolve an array of entry references from the same collection */
109
+ export function getEntries<C extends keyof ContentEntryMap>(
110
+ entries: {
111
+ collection: C;
112
+ slug: ValidContentEntrySlug<C>;
113
+ }[],
114
+ ): Promise<CollectionEntry<C>[]>;
115
+ export function getEntries<C extends keyof DataEntryMap>(
116
+ entries: {
117
+ collection: C;
118
+ id: keyof DataEntryMap[C];
119
+ }[],
120
+ ): Promise<CollectionEntry<C>[]>;
121
+
122
+ export function render<C extends keyof AnyEntryMap>(
123
+ entry: AnyEntryMap[C][string],
124
+ ): Promise<RenderResult>;
125
+
126
+ export function reference<C extends keyof AnyEntryMap>(
127
+ collection: C,
128
+ ): import('astro/zod').ZodEffects<
129
+ import('astro/zod').ZodString,
130
+ C extends keyof ContentEntryMap
131
+ ? {
132
+ collection: C;
133
+ slug: ValidContentEntrySlug<C>;
134
+ }
135
+ : {
136
+ collection: C;
137
+ id: keyof DataEntryMap[C];
138
+ }
139
+ >;
140
+ // Allow generic `string` to avoid excessive type errors in the config
141
+ // if `dev` is not running to update as you edit.
142
+ // Invalid collection names will be caught at build time.
143
+ export function reference<C extends string>(
144
+ collection: C,
145
+ ): import('astro/zod').ZodEffects<import('astro/zod').ZodString, never>;
146
+
147
+ type ReturnTypeOrOriginal<T> = T extends (...args: any[]) => infer R ? R : T;
148
+ type InferEntrySchema<C extends keyof AnyEntryMap> = import('astro/zod').infer<
149
+ ReturnTypeOrOriginal<Required<ContentConfig['collections'][C]>['schema']>
150
+ >;
151
+
152
+ type ContentEntryMap = {
153
+ "pages": {
154
+ "base/badge.mdx": {
155
+ id: "base/badge.mdx";
156
+ slug: "base/badge";
157
+ body: string;
158
+ collection: "pages";
159
+ data: InferEntrySchema<"pages">
160
+ } & { render(): Render[".mdx"] };
161
+ "base/button.mdx": {
162
+ id: "base/button.mdx";
163
+ slug: "base/button";
164
+ body: string;
165
+ collection: "pages";
166
+ data: InferEntrySchema<"pages">
167
+ } & { render(): Render[".mdx"] };
168
+ "base/card.mdx": {
169
+ id: "base/card.mdx";
170
+ slug: "base/card";
171
+ body: string;
172
+ collection: "pages";
173
+ data: InferEntrySchema<"pages">
174
+ } & { render(): Render[".mdx"] };
175
+ "base/checkbox.mdx": {
176
+ id: "base/checkbox.mdx";
177
+ slug: "base/checkbox";
178
+ body: string;
179
+ collection: "pages";
180
+ data: InferEntrySchema<"pages">
181
+ } & { render(): Render[".mdx"] };
182
+ "base/icon.mdx": {
183
+ id: "base/icon.mdx";
184
+ slug: "base/icon";
185
+ body: string;
186
+ collection: "pages";
187
+ data: InferEntrySchema<"pages">
188
+ } & { render(): Render[".mdx"] };
189
+ "base/image.mdx": {
190
+ id: "base/image.mdx";
191
+ slug: "base/image";
192
+ body: string;
193
+ collection: "pages";
194
+ data: InferEntrySchema<"pages">
195
+ } & { render(): Render[".mdx"] };
196
+ "base/input.mdx": {
197
+ id: "base/input.mdx";
198
+ slug: "base/input";
199
+ body: string;
200
+ collection: "pages";
201
+ data: InferEntrySchema<"pages">
202
+ } & { render(): Render[".mdx"] };
203
+ "base/rating.mdx": {
204
+ id: "base/rating.mdx";
205
+ slug: "base/rating";
206
+ body: string;
207
+ collection: "pages";
208
+ data: InferEntrySchema<"pages">
209
+ } & { render(): Render[".mdx"] };
210
+ "base/section.mdx": {
211
+ id: "base/section.mdx";
212
+ slug: "base/section";
213
+ body: string;
214
+ collection: "pages";
215
+ data: InferEntrySchema<"pages">
216
+ } & { render(): Render[".mdx"] };
217
+ "base/select.mdx": {
218
+ id: "base/select.mdx";
219
+ slug: "base/select";
220
+ body: string;
221
+ collection: "pages";
222
+ data: InferEntrySchema<"pages">
223
+ } & { render(): Render[".mdx"] };
224
+ "base/table.mdx": {
225
+ id: "base/table.mdx";
226
+ slug: "base/table";
227
+ body: string;
228
+ collection: "pages";
229
+ data: InferEntrySchema<"pages">
230
+ } & { render(): Render[".mdx"] };
231
+ "base/textarea.mdx": {
232
+ id: "base/textarea.mdx";
233
+ slug: "base/textarea";
234
+ body: string;
235
+ collection: "pages";
236
+ data: InferEntrySchema<"pages">
237
+ } & { render(): Render[".mdx"] };
238
+ "base/theme-select.mdx": {
239
+ id: "base/theme-select.mdx";
240
+ slug: "base/theme-select";
241
+ body: string;
242
+ collection: "pages";
243
+ data: InferEntrySchema<"pages">
244
+ } & { render(): Render[".mdx"] };
245
+ "blocks/banner.mdx": {
246
+ id: "blocks/banner.mdx";
247
+ slug: "blocks/banner";
248
+ body: string;
249
+ collection: "pages";
250
+ data: InferEntrySchema<"pages">
251
+ } & { render(): Render[".mdx"] };
252
+ "blocks/colleagues.mdx": {
253
+ id: "blocks/colleagues.mdx";
254
+ slug: "blocks/colleagues";
255
+ body: string;
256
+ collection: "pages";
257
+ data: InferEntrySchema<"pages">
258
+ } & { render(): Render[".mdx"] };
259
+ "blocks/contact.mdx": {
260
+ id: "blocks/contact.mdx";
261
+ slug: "blocks/contact";
262
+ body: string;
263
+ collection: "pages";
264
+ data: InferEntrySchema<"pages">
265
+ } & { render(): Render[".mdx"] };
266
+ "blocks/content.mdx": {
267
+ id: "blocks/content.mdx";
268
+ slug: "blocks/content";
269
+ body: string;
270
+ collection: "pages";
271
+ data: InferEntrySchema<"pages">
272
+ } & { render(): Render[".mdx"] };
273
+ "blocks/cta.mdx": {
274
+ id: "blocks/cta.mdx";
275
+ slug: "blocks/cta";
276
+ body: string;
277
+ collection: "pages";
278
+ data: InferEntrySchema<"pages">
279
+ } & { render(): Render[".mdx"] };
280
+ "blocks/features.mdx": {
281
+ id: "blocks/features.mdx";
282
+ slug: "blocks/features";
283
+ body: string;
284
+ collection: "pages";
285
+ data: InferEntrySchema<"pages">
286
+ } & { render(): Render[".mdx"] };
287
+ "blocks/hero.mdx": {
288
+ id: "blocks/hero.mdx";
289
+ slug: "blocks/hero";
290
+ body: string;
291
+ collection: "pages";
292
+ data: InferEntrySchema<"pages">
293
+ } & { render(): Render[".mdx"] };
294
+ "blocks/intro.mdx": {
295
+ id: "blocks/intro.mdx";
296
+ slug: "blocks/intro";
297
+ body: string;
298
+ collection: "pages";
299
+ data: InferEntrySchema<"pages">
300
+ } & { render(): Render[".mdx"] };
301
+ "blocks/posts.mdx": {
302
+ id: "blocks/posts.mdx";
303
+ slug: "blocks/posts";
304
+ body: string;
305
+ collection: "pages";
306
+ data: InferEntrySchema<"pages">
307
+ } & { render(): Render[".mdx"] };
308
+ "blocks/reviews.mdx": {
309
+ id: "blocks/reviews.mdx";
310
+ slug: "blocks/reviews";
311
+ body: string;
312
+ collection: "pages";
313
+ data: InferEntrySchema<"pages">
314
+ } & { render(): Render[".mdx"] };
315
+ "index.mdx": {
316
+ id: "index.mdx";
317
+ slug: "index";
318
+ body: string;
319
+ collection: "pages";
320
+ data: InferEntrySchema<"pages">
321
+ } & { render(): Render[".mdx"] };
322
+ "layouts/docslayout.mdx": {
323
+ id: "layouts/docslayout.mdx";
324
+ slug: "layouts/docslayout";
325
+ body: string;
326
+ collection: "pages";
327
+ data: InferEntrySchema<"pages">
328
+ } & { render(): Render[".mdx"] };
329
+ "layouts/layout.mdx": {
330
+ id: "layouts/layout.mdx";
331
+ slug: "layouts/layout";
332
+ body: string;
333
+ collection: "pages";
334
+ data: InferEntrySchema<"pages">
335
+ } & { render(): Render[".mdx"] };
336
+ "layouts/pagelayout.mdx": {
337
+ id: "layouts/pagelayout.mdx";
338
+ slug: "layouts/pagelayout";
339
+ body: string;
340
+ collection: "pages";
341
+ data: InferEntrySchema<"pages">
342
+ } & { render(): Render[".mdx"] };
343
+ "overview/components.mdx": {
344
+ id: "overview/components.mdx";
345
+ slug: "overview/components";
346
+ body: string;
347
+ collection: "pages";
348
+ data: InferEntrySchema<"pages">
349
+ } & { render(): Render[".mdx"] };
350
+ "overview/content-layer.mdx": {
351
+ id: "overview/content-layer.mdx";
352
+ slug: "overview/content-layer";
353
+ body: string;
354
+ collection: "pages";
355
+ data: InferEntrySchema<"pages">
356
+ } & { render(): Render[".mdx"] };
357
+ "overview/customization.mdx": {
358
+ id: "overview/customization.mdx";
359
+ slug: "overview/customization";
360
+ body: string;
361
+ collection: "pages";
362
+ data: InferEntrySchema<"pages">
363
+ } & { render(): Render[".mdx"] };
364
+ "overview/frameworks.mdx": {
365
+ id: "overview/frameworks.mdx";
366
+ slug: "overview/frameworks";
367
+ body: string;
368
+ collection: "pages";
369
+ data: InferEntrySchema<"pages">
370
+ } & { render(): Render[".mdx"] };
371
+ "overview/installation.mdx": {
372
+ id: "overview/installation.mdx";
373
+ slug: "overview/installation";
374
+ body: string;
375
+ collection: "pages";
376
+ data: InferEntrySchema<"pages">
377
+ } & { render(): Render[".mdx"] };
378
+ "overview/introduction.mdx": {
379
+ id: "overview/introduction.mdx";
380
+ slug: "overview/introduction";
381
+ body: string;
382
+ collection: "pages";
383
+ data: InferEntrySchema<"pages">
384
+ } & { render(): Render[".mdx"] };
385
+ "schemas/page.mdx": {
386
+ id: "schemas/page.mdx";
387
+ slug: "schemas/page";
388
+ body: string;
389
+ collection: "pages";
390
+ data: InferEntrySchema<"pages">
391
+ } & { render(): Render[".mdx"] };
392
+ "schemas/preset.mdx": {
393
+ id: "schemas/preset.mdx";
394
+ slug: "schemas/preset";
395
+ body: string;
396
+ collection: "pages";
397
+ data: InferEntrySchema<"pages">
398
+ } & { render(): Render[".mdx"] };
399
+ "showcase.mdx": {
400
+ id: "showcase.mdx";
401
+ slug: "showcase";
402
+ body: string;
403
+ collection: "pages";
404
+ data: InferEntrySchema<"pages">
405
+ } & { render(): Render[".mdx"] };
406
+ "showcase/anti-slip-profiles.md": {
407
+ id: "showcase/anti-slip-profiles.md";
408
+ slug: "showcase/anti-slip-profiles";
409
+ body: string;
410
+ collection: "pages";
411
+ data: InferEntrySchema<"pages">
412
+ } & { render(): Render[".md"] };
413
+ "showcase/fulldev-ui.md": {
414
+ id: "showcase/fulldev-ui.md";
415
+ slug: "showcase/fulldev-ui";
416
+ body: string;
417
+ collection: "pages";
418
+ data: InferEntrySchema<"pages">
419
+ } & { render(): Render[".md"] };
420
+ "showcase/lavis-detailing.md": {
421
+ id: "showcase/lavis-detailing.md";
422
+ slug: "showcase/lavis-detailing";
423
+ body: string;
424
+ collection: "pages";
425
+ data: InferEntrySchema<"pages">
426
+ } & { render(): Render[".md"] };
427
+ "showcase/leren-trainingsacteren.md": {
428
+ id: "showcase/leren-trainingsacteren.md";
429
+ slug: "showcase/leren-trainingsacteren";
430
+ body: string;
431
+ collection: "pages";
432
+ data: InferEntrySchema<"pages">
433
+ } & { render(): Render[".md"] };
434
+ "showcase/miele-witgoedcenter-amsterdam.md": {
435
+ id: "showcase/miele-witgoedcenter-amsterdam.md";
436
+ slug: "showcase/miele-witgoedcenter-amsterdam";
437
+ body: string;
438
+ collection: "pages";
439
+ data: InferEntrySchema<"pages">
440
+ } & { render(): Render[".md"] };
441
+ "showcase/record.md": {
442
+ id: "showcase/record.md";
443
+ slug: "showcase/record";
444
+ body: string;
445
+ collection: "pages";
446
+ data: InferEntrySchema<"pages">
447
+ } & { render(): Render[".md"] };
448
+ "showcase/sloepverhuur-bolsward.md": {
449
+ id: "showcase/sloepverhuur-bolsward.md";
450
+ slug: "showcase/sloepverhuur-bolsward";
451
+ body: string;
452
+ collection: "pages";
453
+ data: InferEntrySchema<"pages">
454
+ } & { render(): Render[".md"] };
455
+ "showcase/stark-vulcanising-products.md": {
456
+ id: "showcase/stark-vulcanising-products.md";
457
+ slug: "showcase/stark-vulcanising-products";
458
+ body: string;
459
+ collection: "pages";
460
+ data: InferEntrySchema<"pages">
461
+ } & { render(): Render[".md"] };
462
+ "showcase/the-gym-haren.md": {
463
+ id: "showcase/the-gym-haren.md";
464
+ slug: "showcase/the-gym-haren";
465
+ body: string;
466
+ collection: "pages";
467
+ data: InferEntrySchema<"pages">
468
+ } & { render(): Render[".md"] };
469
+ "showcase/van-dillen-antieke-bouwmaterialen.md": {
470
+ id: "showcase/van-dillen-antieke-bouwmaterialen.md";
471
+ slug: "showcase/van-dillen-antieke-bouwmaterialen";
472
+ body: string;
473
+ collection: "pages";
474
+ data: InferEntrySchema<"pages">
475
+ } & { render(): Render[".md"] };
476
+ "typography/heading.mdx": {
477
+ id: "typography/heading.mdx";
478
+ slug: "typography/heading";
479
+ body: string;
480
+ collection: "pages";
481
+ data: InferEntrySchema<"pages">
482
+ } & { render(): Render[".mdx"] };
483
+ "typography/label.mdx": {
484
+ id: "typography/label.mdx";
485
+ slug: "typography/label";
486
+ body: string;
487
+ collection: "pages";
488
+ data: InferEntrySchema<"pages">
489
+ } & { render(): Render[".mdx"] };
490
+ "typography/link.mdx": {
491
+ id: "typography/link.mdx";
492
+ slug: "typography/link";
493
+ body: string;
494
+ collection: "pages";
495
+ data: InferEntrySchema<"pages">
496
+ } & { render(): Render[".mdx"] };
497
+ "typography/list.mdx": {
498
+ id: "typography/list.mdx";
499
+ slug: "typography/list";
500
+ body: string;
501
+ collection: "pages";
502
+ data: InferEntrySchema<"pages">
503
+ } & { render(): Render[".mdx"] };
504
+ "typography/text.mdx": {
505
+ id: "typography/text.mdx";
506
+ slug: "typography/text";
507
+ body: string;
508
+ collection: "pages";
509
+ data: InferEntrySchema<"pages">
510
+ } & { render(): Render[".mdx"] };
511
+ };
512
+
513
+ };
514
+
515
+ type DataEntryMap = {
516
+ "images": Record<string, {
517
+ id: string;
518
+ collection: "images";
519
+ data: InferEntrySchema<"images">;
520
+ rendered?: RenderedContent;
521
+ filePath?: string;
522
+ body?: string
523
+ }>;
524
+ "presets": {
525
+ "base": {
526
+ id: "base";
527
+ collection: "presets";
528
+ data: InferEntrySchema<"presets">
529
+ };
530
+ "blocks": {
531
+ id: "blocks";
532
+ collection: "presets";
533
+ data: InferEntrySchema<"presets">
534
+ };
535
+ "docs": {
536
+ id: "docs";
537
+ collection: "presets";
538
+ data: InferEntrySchema<"presets">
539
+ };
540
+ };
541
+
542
+ };
543
+
544
+ type AnyEntryMap = ContentEntryMap & DataEntryMap;
545
+
546
+ export type ContentConfig = typeof import("../../src/content/config.js");
547
+ }