fulldev-ui 0.6.0-beta.7 → 0.6.0-beta.8

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 (330) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/astro.config.ts +1 -3
  3. package/cloudcannon.config.yml +0 -2
  4. package/package.json +1 -1
  5. package/src/blocks/Banner.astro +3 -3
  6. package/src/blocks/Colleagues1.astro +16 -16
  7. package/src/blocks/Contact1.astro +5 -10
  8. package/src/blocks/Content1.astro +22 -39
  9. package/src/blocks/Content2.astro +21 -45
  10. package/src/blocks/Content3.astro +36 -31
  11. package/src/blocks/Content4.astro +28 -35
  12. package/src/blocks/Content5.astro +72 -0
  13. package/src/blocks/Cta1.astro +6 -6
  14. package/src/blocks/Features1.astro +9 -5
  15. package/src/blocks/Footer.astro +13 -5
  16. package/src/blocks/Header.astro +19 -15
  17. package/src/blocks/Hero1.astro +8 -5
  18. package/src/blocks/Industries1.astro +86 -0
  19. package/src/blocks/Intro1.astro +7 -9
  20. package/src/blocks/Jobs1.astro +28 -24
  21. package/src/blocks/Logos1.astro +4 -4
  22. package/src/blocks/Products1.astro +4 -4
  23. package/src/blocks/Projects1.astro +103 -0
  24. package/src/blocks/Reviews1.astro +9 -7
  25. package/src/{components → blocks}/Subheader.astro +1 -2
  26. package/src/components/Badge.astro +8 -20
  27. package/src/components/Badges.astro +3 -3
  28. package/src/components/Block.astro +1 -1
  29. package/src/components/Button.astro +9 -18
  30. package/src/components/Cart.astro +6 -6
  31. package/src/components/CartSummary.astro +1 -0
  32. package/src/components/Channel.astro +9 -3
  33. package/src/components/Channels.astro +11 -42
  34. package/src/components/Checkbox.astro +8 -14
  35. package/src/components/Element.astro +2 -1
  36. package/src/components/Form.astro +1 -2
  37. package/src/components/Gallery.astro +6 -5
  38. package/src/components/Head.astro +14 -4
  39. package/src/components/Heading.astro +21 -17
  40. package/src/components/Icon.astro +2 -3
  41. package/src/components/Image.astro +6 -2
  42. package/src/components/Input.astro +11 -14
  43. package/src/components/Label.astro +6 -6
  44. package/src/components/Link.astro +13 -16
  45. package/src/components/Links.astro +1 -2
  46. package/src/components/List.astro +3 -5
  47. package/src/components/Logo.astro +9 -16
  48. package/src/components/Menu.astro +7 -3
  49. package/src/components/Paragraph.astro +6 -7
  50. package/src/components/Price.astro +1 -4
  51. package/src/components/Rating.astro +4 -2
  52. package/src/components/Search.astro +1 -6
  53. package/src/components/Select.astro +3 -4
  54. package/src/components/Sidebar.astro +6 -6
  55. package/src/components/Social.astro +3 -1
  56. package/src/components/Socials.astro +18 -34
  57. package/src/components/Switch.astro +4 -69
  58. package/src/components/Table.astro +2 -3
  59. package/src/components/Tagline.astro +6 -7
  60. package/src/components/Textarea.astro +5 -5
  61. package/src/components/Themer.astro +3 -3
  62. package/src/components/Toc.astro +7 -11
  63. package/src/components/Toggle.astro +45 -0
  64. package/src/components/{Breadcrumb.astro → _Breadcrumb.astro} +3 -3
  65. package/src/components/_Image.astro +2 -2
  66. package/src/components/docs/Props.astro +21 -0
  67. package/src/content/layouts/base.yml +131 -19
  68. package/src/content/pages/base/toggle.mdx +28 -0
  69. package/src/content/pages/{blocks → docs/blocks}/banner.mdx +1 -0
  70. package/src/content/pages/docs/blocks/colleagues.mdx +49 -0
  71. package/src/content/pages/docs/blocks/content.mdx +155 -0
  72. package/src/content/pages/docs/blocks/cta.mdx +16 -0
  73. package/src/content/pages/docs/blocks/feature.mdx +17 -0
  74. package/src/content/pages/docs/blocks/features.mdx +35 -0
  75. package/src/content/pages/docs/blocks/footer.mdx +46 -0
  76. package/src/content/pages/docs/blocks/header.mdx +60 -0
  77. package/src/content/pages/docs/blocks/hero.mdx +18 -0
  78. package/src/content/pages/docs/blocks/intro.mdx +16 -0
  79. package/src/content/pages/docs/blocks/logos.mdx +37 -0
  80. package/src/content/pages/docs/blocks/projects.mdx +36 -0
  81. package/src/content/pages/docs/blocks/reviews.mdx +65 -0
  82. package/src/content/pages/docs/blocks.mdx +45 -20
  83. package/src/content/pages/docs/collections/pages.mdx +2 -2
  84. package/src/content/pages/docs/components/{table.mdx → _table.mdx} +2 -4
  85. package/src/content/pages/docs/components/{themer.mdx → _themer.mdx} +2 -4
  86. package/src/content/pages/docs/components/_toggle.mdx +2 -2
  87. package/src/content/pages/docs/components/badge.mdx +2 -4
  88. package/src/content/pages/docs/components/badges.mdx +3 -4
  89. package/src/content/pages/docs/components/button.mdx +2 -4
  90. package/src/content/pages/docs/components/buttons.mdx +3 -4
  91. package/src/content/pages/docs/components/channel.mdx +2 -4
  92. package/src/content/pages/docs/components/channels.mdx +3 -2
  93. package/src/content/pages/docs/components/checkbox.mdx +2 -4
  94. package/src/content/pages/docs/components/heading.mdx +11 -21
  95. package/src/content/pages/docs/components/icon.mdx +2 -4
  96. package/src/content/pages/docs/components/image.mdx +3 -9
  97. package/src/content/pages/docs/components/input.mdx +2 -4
  98. package/src/content/pages/docs/components/label.mdx +2 -4
  99. package/src/content/pages/docs/components/link.mdx +2 -4
  100. package/src/content/pages/docs/components/links.mdx +3 -4
  101. package/src/content/pages/docs/components/list.mdx +2 -4
  102. package/src/content/pages/docs/components/logo.mdx +9 -21
  103. package/src/content/pages/docs/components/menu.mdx +20 -48
  104. package/src/content/pages/docs/components/paragraph.mdx +44 -0
  105. package/src/content/pages/docs/components/rating.mdx +9 -42
  106. package/src/content/pages/docs/components/select.mdx +2 -4
  107. package/src/content/pages/docs/components/social.mdx +2 -4
  108. package/src/content/pages/docs/components/socials.mdx +3 -2
  109. package/src/content/pages/docs/components/switch.mdx +2 -4
  110. package/src/content/pages/docs/components/tagline.mdx +2 -6
  111. package/src/content/pages/docs/components/textarea.mdx +2 -4
  112. package/src/content/pages/docs/components.mdx +3 -4
  113. package/src/content/pages/docs/customization.mdx +52 -20
  114. package/src/content/pages/docs/frameworks.mdx +12 -11
  115. package/src/content/pages/docs/index.mdx +3 -2
  116. package/src/content/pages/docs/installation.mdx +9 -6
  117. package/src/content/pages/docs/layouts/doc.mdx +15 -0
  118. package/src/content/pages/docs/layouts/page.mdx +15 -0
  119. package/src/content/pages/docs/layouts.mdx +66 -19
  120. package/src/content/pages/docs/{generating-pages.mdx → pages.mdx} +1 -0
  121. package/src/content/pages/docs/{components → structures}/_card.mdx +6 -6
  122. package/src/content/pages/docs/{components → structures}/_drawer.mdx +1 -1
  123. package/src/content/pages/docs/structures/card.mdx +15 -0
  124. package/src/content/pages/docs/{components → structures}/code.mdx +4 -7
  125. package/src/content/pages/docs/structures/container.mdx +15 -0
  126. package/src/content/pages/docs/structures/drawer.mdx +15 -0
  127. package/src/content/pages/docs/structures/group.mdx +15 -0
  128. package/src/content/pages/docs/structures/layout.mdx +15 -0
  129. package/src/content/pages/docs/structures/masonry.mdx +15 -0
  130. package/src/content/pages/docs/structures/matrix.mdx +15 -0
  131. package/src/content/pages/docs/structures/panel.mdx +15 -0
  132. package/src/content/pages/docs/{components → structures}/prose.mdx +3 -6
  133. package/src/content/pages/docs/structures/section.mdx +15 -0
  134. package/src/content/pages/docs/structures/stack.mdx +15 -0
  135. package/src/content/pages/docs/structures/writeup.mdx +15 -0
  136. package/src/content/pages/docs/structures.mdx +7 -0
  137. package/src/content/pages/index.mdx +7 -4
  138. package/src/content/pages/showcase.mdx +1 -4
  139. package/src/css/theme.css +9 -42
  140. package/src/integration/index.ts +1 -1
  141. package/src/layouts/Block.astro +81 -0
  142. package/src/layouts/Category.astro +6 -6
  143. package/src/layouts/Doc.astro +50 -24
  144. package/src/layouts/Job.astro +5 -5
  145. package/src/layouts/Jobs.astro +14 -14
  146. package/src/layouts/Page.astro +4 -4
  147. package/src/layouts/Post.astro +7 -6
  148. package/src/layouts/Product.astro +3 -2
  149. package/src/schemas/badge.ts +14 -0
  150. package/src/schemas/block.ts +58 -0
  151. package/src/schemas/{components/button.ts → button.ts} +3 -7
  152. package/src/schemas/channel.ts +14 -0
  153. package/src/schemas/checkbox.ts +13 -0
  154. package/src/schemas/footer.ts +17 -0
  155. package/src/schemas/{components/head.ts → head.ts} +5 -5
  156. package/src/schemas/header.ts +21 -0
  157. package/src/schemas/{components/image.ts → image.ts} +22 -9
  158. package/src/schemas/input.ts +13 -0
  159. package/src/schemas/link.ts +14 -0
  160. package/src/schemas/logo.ts +13 -0
  161. package/src/schemas/menu.ts +11 -0
  162. package/src/schemas/page.ts +11 -14
  163. package/src/schemas/{utils/pathSchema.ts → path.ts} +1 -1
  164. package/src/schemas/textarea.ts +11 -0
  165. package/src/{components → structures}/Card.astro +5 -1
  166. package/src/{components → structures}/Code.astro +7 -6
  167. package/src/{components → structures}/Container.astro +1 -1
  168. package/src/{components → structures}/Drawer.astro +4 -4
  169. package/src/{components → structures}/Layout.astro +2 -3
  170. package/src/structures/Matrix.astro +39 -0
  171. package/src/{components → structures}/Prose.astro +17 -6
  172. package/src/structures/Sidebar.astro +37 -0
  173. package/src/{components → structures}/Stack.astro +1 -1
  174. package/src/{components → structures}/Writeup.astro +9 -1
  175. package/src/structures/_Bento.astro +34 -0
  176. package/src/utils/cart.ts +1 -1
  177. package/tailwind.config.ts +5 -7
  178. package/tsconfig.json +3 -1
  179. package/public/favicon/favicon-16x16-dark.png +0 -0
  180. package/public/favicon/favicon-32x32-dark.png +0 -0
  181. package/public/favicon/favicon-48x48-dark.png +0 -0
  182. package/public/favicon/favicon-dark.ico +0 -0
  183. package/src/blocks/Feature1.astro +0 -61
  184. package/src/components/Avatar.astro +0 -45
  185. package/src/components/Avatars.astro +0 -36
  186. package/src/components/Cards.astro +0 -133
  187. package/src/components/Dialog.astro +0 -67
  188. package/src/components/DrawerOld.astro +0 -143
  189. package/src/components/Grid.astro +0 -39
  190. package/src/components/Header.astro +0 -32
  191. package/src/components/Navigation.astro +0 -39
  192. package/src/components/_Author.astro +0 -90
  193. package/src/components/_Header.astro +0 -129
  194. package/src/components/_Prose copy.astro +0 -172
  195. package/src/components/_Sidebar copy.astro +0 -87
  196. package/src/components/docs/DecorativeBox.astro +0 -15
  197. package/src/components/docs/PropsTable.astro +0 -49
  198. package/src/components/experimental/Video.astro +0 -32
  199. package/src/components/experimental/Window.astro +0 -122
  200. package/src/content/pages/blocks/_footer.mdx +0 -75
  201. package/src/content/pages/blocks/_header.mdx +0 -183
  202. package/src/content/pages/blocks/_prices.mdx +0 -122
  203. package/src/content/pages/blocks/_product.mdx +0 -97
  204. package/src/content/pages/blocks/_products.mdx +0 -52
  205. package/src/content/pages/blocks/colleagues.mdx +0 -37
  206. package/src/content/pages/blocks/content.mdx +0 -77
  207. package/src/content/pages/blocks/cta.mdx +0 -159
  208. package/src/content/pages/blocks/features.mdx +0 -128
  209. package/src/content/pages/blocks/hero.mdx +0 -94
  210. package/src/content/pages/blocks/intro.mdx +0 -124
  211. package/src/content/pages/blocks/reviews.mdx +0 -251
  212. package/src/content/pages/categories/category.md +0 -7
  213. package/src/content/pages/docs/_internationalization.mdx +0 -55
  214. package/src/content/pages/docs/_using-blocks.mdx +0 -33
  215. package/src/content/pages/docs/_using-presets.mdx +0 -49
  216. package/src/content/pages/docs/collections.mdx +0 -42
  217. package/src/content/pages/docs/components/_switch.mdx +0 -31
  218. package/src/content/pages/docs/components/avatar.mdx +0 -34
  219. package/src/content/pages/docs/components/section.mdx +0 -35
  220. package/src/content/pages/docs/components/text.mdx +0 -48
  221. package/src/content/pages/products/product.md +0 -20
  222. package/src/css/color.css +0 -76
  223. package/src/css/size.css +0 -131
  224. package/src/images/favicon/android-chrome-192x192.png +0 -0
  225. package/src/images/favicon/android-chrome-512x512.png +0 -0
  226. package/src/images/favicon/apple-touch-icon.png +0 -0
  227. package/src/images/favicon/browserconfig.xml +0 -9
  228. package/src/images/favicon/favicon-16x16.png +0 -0
  229. package/src/images/favicon/favicon-32x32.png +0 -0
  230. package/src/images/favicon/favicon-48x48.png +0 -0
  231. package/src/images/favicon/favicon.ico +0 -0
  232. package/src/images/favicon/favicon.svg +0 -16
  233. package/src/images/favicon/manifest.webmanifest +0 -30
  234. package/src/images/favicon/mstile-150x150.png +0 -0
  235. package/src/images/favicon/safari-pinned-tab.svg +0 -16
  236. package/src/images/favicon/yandex-browser-50x50.png +0 -0
  237. package/src/images/favicon/yandex-browser-manifest.json +0 -9
  238. package/src/pages/test.astro +0 -35
  239. package/src/schemas/components/avatar.ts +0 -6
  240. package/src/schemas/components/badge.ts +0 -18
  241. package/src/schemas/components/block.ts +0 -61
  242. package/src/schemas/components/channel.ts +0 -19
  243. package/src/schemas/components/footer.ts +0 -19
  244. package/src/schemas/components/header.ts +0 -23
  245. package/src/schemas/components/heading.ts +0 -9
  246. package/src/schemas/components/icon.ts +0 -9
  247. package/src/schemas/components/link.ts +0 -17
  248. package/src/schemas/components/logo.ts +0 -13
  249. package/src/schemas/components/menu.ts +0 -14
  250. package/src/schemas/components/navigation.ts +0 -10
  251. package/src/schemas/components/paragraph.ts +0 -9
  252. package/src/schemas/components/price.ts +0 -9
  253. package/src/schemas/components/rating.ts +0 -10
  254. package/src/schemas/components/sidebar.ts +0 -18
  255. package/src/schemas/components/social.ts +0 -18
  256. package/src/schemas/components/tagline.ts +0 -9
  257. package/src/schemas/imageSchema.ts +0 -41
  258. package/src/schemas/utils/component.ts +0 -17
  259. package/src/types/global-props.ts +0 -7
  260. package/src/utils/_archive/Childmorphic.ts +0 -8
  261. package/src/utils/_archive/getAllCollections.ts +0 -10
  262. package/src/utils/_archive/getCollectionCascade.ts +0 -33
  263. package/src/utils/_archive/getPathname.ts +0 -18
  264. package/src/utils/_archive/mergeEntries.ts +0 -28
  265. package/src/utils/_archive/staticPageSchema.ts +0 -124
  266. package/src/utils/_archive/transform/transform.ts +0 -25
  267. package/src/utils/_archive/transform/transformCasing.ts +0 -24
  268. package/src/utils/_archive/transform/transformReferences.ts +0 -54
  269. package/src/utils/_archive/transform/transformSelfs.ts +0 -20
  270. package/src/utils/_archive/transform/transformUnderscores.ts +0 -19
  271. package/src/utils/formatEntries.ts +0 -8
  272. package/src/utils/formatEntry.ts +0 -29
  273. package/src/utils/getDeepReferenceChildren.ts +0 -14
  274. package/src/utils/getFolderChildren.ts +0 -18
  275. package/src/utils/getReferenceChildren.ts +0 -14
  276. package/src/utils/getSiblingPages.ts +0 -14
  277. package/src/utils/setTheme.ts +0 -18
  278. /package/{src → public}/images/anti-slip-profiles.webp +0 -0
  279. /package/{src → public}/images/avatar-1.jpeg +0 -0
  280. /package/{src → public}/images/avatar-2.jpeg +0 -0
  281. /package/{src → public}/images/avatar-3.jpeg +0 -0
  282. /package/{src → public}/images/avatar-4.jpeg +0 -0
  283. /package/{src → public}/images/avatar-placeholder.jpg +0 -0
  284. /package/{src → public}/images/block-code.png +0 -0
  285. /package/{src → public}/images/component-code.png +0 -0
  286. /package/{src → public}/images/favicon.svg +0 -0
  287. /package/{src → public}/images/fulldev-ui.webp +0 -0
  288. /package/{src → public}/images/lavis-detailing.webp +0 -0
  289. /package/{src → public}/images/leren-trainingsacteren.webp +0 -0
  290. /package/{src → public}/images/logo-1.svg +0 -0
  291. /package/{src → public}/images/logo-2.svg +0 -0
  292. /package/{src → public}/images/logo-basic.svg +0 -0
  293. /package/{src → public}/images/logo-simple.svg +0 -0
  294. /package/{src → public}/images/logo-thin.svg +0 -0
  295. /package/{src → public}/images/logo.svg +0 -0
  296. /package/{src → public}/images/logofat.svg +0 -0
  297. /package/{src → public}/images/miele-witgoedcenter-amsterdam.webp +0 -0
  298. /package/{src → public}/images/og-image.png +0 -0
  299. /package/{src → public}/images/placeholder-center.webp +0 -0
  300. /package/{src → public}/images/placeholder-landscape-dark.png +0 -0
  301. /package/{src → public}/images/placeholder-landscape.webp +0 -0
  302. /package/{src → public}/images/placeholder-portrait.webp +0 -0
  303. /package/{src → public}/images/placeholder-right.webp +0 -0
  304. /package/{src → public}/images/placeholder.webp +0 -0
  305. /package/{src → public}/images/sloepverhuur-bolsward.webp +0 -0
  306. /package/{src → public}/images/stark-vulcanising-products.webp +0 -0
  307. /package/{src → public}/images/the-gym-haren.webp +0 -0
  308. /package/{src → public}/images/van-dillen-antieke-bouwmaterialen.webp +0 -0
  309. /package/src/components/{LocaleSwitcher.astro → _LocaleSwitcher.astro} +0 -0
  310. /package/src/content/pages/{showcase → _showcase}/anti-slip-profiles.md +0 -0
  311. /package/src/content/pages/{showcase → _showcase}/fulldev-ui.md +0 -0
  312. /package/src/content/pages/{showcase → _showcase}/lavis-detailing.md +0 -0
  313. /package/src/content/pages/{showcase → _showcase}/leren-trainingsacteren.md +0 -0
  314. /package/src/content/pages/{showcase → _showcase}/miele-witgoedcenter-amsterdam.md +0 -0
  315. /package/src/content/pages/{showcase → _showcase}/sloepverhuur-bolsward.md +0 -0
  316. /package/src/content/pages/{showcase → _showcase}/stark-vulcanising-products.md +0 -0
  317. /package/src/content/pages/{showcase → _showcase}/the-gym-haren.md +0 -0
  318. /package/src/content/pages/{showcase → _showcase}/van-dillen-antieke-bouwmaterialen.md +0 -0
  319. /package/src/content/pages/{blocks → docs/blocks}/_categories.mdx +0 -0
  320. /package/src/content/pages/{blocks/contact.mdx → docs/blocks/_contact.mdx} +0 -0
  321. /package/src/content/pages/{blocks → docs/blocks}/_jobs.mdx +0 -0
  322. /package/src/content/pages/{blocks/posts.mdx → docs/blocks/_posts.mdx} +0 -0
  323. /package/src/content/pages/{blocks → docs/blocks}/_stats.mdx +0 -0
  324. /package/src/content/pages/docs/{components → structures}/_dialog.mdx +0 -0
  325. /package/src/{components → structures}/Carousel.astro +0 -0
  326. /package/src/{components → structures}/Group.astro +0 -0
  327. /package/src/{components → structures}/Masonry.astro +0 -0
  328. /package/src/{components → structures}/Panel.astro +0 -0
  329. /package/src/{components → structures}/Section.astro +0 -0
  330. /package/{src/types/virtual.d.ts → virtual.d.ts} +0 -0
@@ -1,48 +0,0 @@
1
- ---
2
- _layout: doc
3
- title: Text
4
- ---
5
-
6
- # Text
7
-
8
- import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
9
-
10
- ```astro live
11
- ---
12
- import Text from 'fulldev-ui/components/Text.astro'
13
- ---
14
-
15
- <Text>The quick brown fox jumps over the lazy dog</Text>
16
- ```
17
-
18
- ## Props
19
-
20
- <PropsTable />
21
-
22
- ## Examples
23
-
24
- ### `size`
25
-
26
- ```astro live
27
- ---
28
- import Text from 'fulldev-ui/components/Text.astro'
29
- ---
30
-
31
- <Text size="sm"
32
- >The quick brown fox jumps over the lazy dog because he is quick
33
- </Text>
34
- <Text> The quick brown fox jumps over the lazy dog because he is quick </Text>
35
- <Text size="lg">
36
- The quick brown fox jumps over the lazy dog because he is quick
37
- </Text>
38
- ```
39
-
40
- ### `text`
41
-
42
- ```astro live
43
- ---
44
-
45
- ---
46
-
47
- <Text text="The quick brown fox jumps over the lazy dog" />
48
- ```
@@ -1,20 +0,0 @@
1
- ---
2
- title: Product
3
- parents:
4
- - categories/category
5
- description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
6
- price: 90
7
- images:
8
- - placeholder.webp
9
- variants:
10
- kleur:
11
- - wit
12
- - zwart
13
- maat:
14
- - S
15
- - M
16
- - L
17
- ---
18
-
19
-
20
-
package/src/css/color.css DELETED
@@ -1,76 +0,0 @@
1
- :where(:root),
2
- :where(.theme-light),
3
- :where(.theme-dark),
4
- .color-base,
5
- .color-base
6
- *:where(:not([class*='color-']):not(.color-base [class*='color-'] *)) {
7
- --color-1: var(--base-1);
8
- --color-2: var(--base-2);
9
- --color-3: var(--base-3);
10
- --color-4: var(--base-4);
11
- --color-5: var(--base-5);
12
- --color-6: var(--base-6);
13
- --color-7: var(--base-7);
14
- --color-8: var(--base-8);
15
- --color-9: var(--base-9);
16
- --color-10: var(--base-10);
17
- --color-11: var(--base-11);
18
- --color-12: var(--base-12);
19
-
20
- --color-a1: var(--base-a1, var(--base-1));
21
- --color-a2: var(--base-a2, var(--base-2));
22
- --color-a3: var(--base-a3, var(--base-3));
23
- --color-a4: var(--base-a4, var(--base-4));
24
- --color-a5: var(--base-a5, var(--base-5));
25
- --color-a6: var(--base-a6, var(--base-6));
26
- --color-a7: var(--base-a7, var(--base-7));
27
- --color-a8: var(--base-a8, var(--base-8));
28
- --color-a9: var(--base-a9, var(--base-9));
29
- --color-a10: var(--base-a10, var(--base-10));
30
- --color-a11: var(--base-a11, var(--base-11));
31
- --color-a12: var(--base-a12, var(--base-12));
32
-
33
- --color-contrast: var(--base-contrast);
34
- --color-background: var(--base-background);
35
- }
36
-
37
- .color-brand,
38
- .color-brand
39
- *:where(:not([class*='color-']):not(.color-brand [class*='color-'] *)) {
40
- --color-1: var(--brand-1);
41
- --color-2: var(--brand-2);
42
- --color-3: var(--brand-3);
43
- --color-4: var(--brand-4);
44
- --color-5: var(--brand-5);
45
- --color-6: var(--brand-6);
46
- --color-7: var(--brand-7);
47
- --color-8: var(--brand-8);
48
- --color-9: var(--brand-9);
49
- --color-10: var(--brand-10);
50
- --color-11: var(--brand-11);
51
- --color-12: var(--brand-12);
52
-
53
- --color-a1: var(--brand-a1, var(--brand-1));
54
- --color-a2: var(--brand-a2, var(--brand-2));
55
- --color-a3: var(--brand-a3, var(--brand-3));
56
- --color-a4: var(--brand-a4, var(--brand-4));
57
- --color-a5: var(--brand-a5, var(--brand-5));
58
- --color-a6: var(--brand-a6, var(--brand-6));
59
- --color-a7: var(--brand-a7, var(--brand-7));
60
- --color-a8: var(--brand-a8, var(--brand-8));
61
- --color-a9: var(--brand-a9, var(--brand-9));
62
- --color-a10: var(--brand-a10, var(--brand-10));
63
- --color-a11: var(--brand-a11, var(--brand-11));
64
- --color-a12: var(--brand-a12, var(--brand-12));
65
-
66
- --color-contrast: var(--brand-contrast);
67
- --color-background: var(--brand-background);
68
- }
69
-
70
- .contrast,
71
- .contrast * {
72
- --color-9: var(--color-12);
73
- --color-10: var(--color-12);
74
- --color-11: var(--color-12);
75
- --color-contrast: var(--color-1);
76
- }
package/src/css/size.css DELETED
@@ -1,131 +0,0 @@
1
- /* :root {
2
- --space-sm-1: 4px;
3
- --space-sm-2: 6px;
4
- --space-sm-3: 8px;
5
- --space-sm-4: 12px;
6
- --space-sm-5: 20px;
7
- --space-sm-6: 40px;
8
- --space-sm-7: 60px;
9
-
10
- --space-md-1: 5px;
11
- --space-md-2: 8px;
12
- --space-md-3: 11px;
13
- --space-md-4: 14px;
14
- --space-md-5: 28px;
15
- --space-md-6: 56px;
16
- --space-md-7: 84px;
17
-
18
- --space-lg-1: 6px;
19
- --space-lg-2: 10px;
20
- --space-lg-3: 14px;
21
- --space-lg-4: 18px;
22
- --space-lg-5: 36px;
23
- --space-lg-6: 72px;
24
- --space-lg-7: 120px;
25
-
26
- --text-sm-1: 12px;
27
- --text-sm-2: 14px;
28
- --text-sm-3: 14px;
29
- --text-sm-4: 16px;
30
- --text-sm-5: 18px;
31
- --text-sm-6: 20px;
32
- --text-sm-7: 24px;
33
- --text-sm-8: 30px;
34
-
35
- --text-md-1: 12px;
36
- --text-md-2: 14px;
37
- --text-md-3: 16px;
38
- --text-md-4: 18px;
39
- --text-md-5: 20px;
40
- --text-md-6: 24px;
41
- --text-md-7: 30px;
42
- --text-md-8: 36px;
43
-
44
- --text-lg-1: 14px;
45
- --text-lg-2: 14px;
46
- --text-lg-3: 18px;
47
- --text-lg-4: 20px;
48
- --text-lg-5: 24px;
49
- --text-lg-6: 30px;
50
- --text-lg-7: 36px;
51
- --text-lg-8: 48px;
52
- }
53
-
54
- @media (min-width: 768px) {
55
- :root {
56
- --text-sm-8: 36px;
57
- --text-md-8: 48px;
58
- --text-lg-8: 60px;
59
- }
60
- }
61
-
62
- .size-sm {
63
- --space-1: var(--space-sm-1);
64
- --space-2: var(--space-sm-2);
65
- --space-3: var(--space-sm-3);
66
- --space-4: var(--space-sm-4);
67
- --space-5: var(--space-sm-5);
68
- --space-6: var(--space-sm-6);
69
- --space-7: var(--space-sm-7);
70
-
71
- --radius-1: calc(var(--border-radius, 1) * var(--space-sm-1));
72
- --radius-2: calc(var(--border-radius, 1) * var(--space-sm-2));
73
- --radius-3: calc(var(--border-radius, 1) * var(--space-sm-3));
74
-
75
- --text-1: var(--text-sm-1);
76
- --text-2: var(--text-sm-2);
77
- --text-3: var(--text-sm-3);
78
- --text-4: var(--text-sm-4);
79
- --text-5: var(--text-sm-5);
80
- --text-6: var(--text-sm-6);
81
- --text-7: var(--text-sm-7);
82
- --text-8: var(--text-sm-8);
83
- }
84
-
85
- :root,
86
- .size-md {
87
- --space-1: var(--space-md-1);
88
- --space-2: var(--space-md-2);
89
- --space-3: var(--space-md-3);
90
- --space-4: var(--space-md-4);
91
- --space-5: var(--space-md-5);
92
- --space-6: var(--space-md-6);
93
- --space-7: var(--space-md-7);
94
-
95
- --radius-1: calc(var(--border-radius, 1) * var(--space-md-1));
96
- --radius-2: calc(var(--border-radius, 1) * var(--space-md-2));
97
- --radius-3: calc(var(--border-radius, 1) * var(--space-md-3));
98
-
99
- --text-1: var(--text-md-1);
100
- --text-2: var(--text-md-2);
101
- --text-3: var(--text-md-3);
102
- --text-4: var(--text-md-4);
103
- --text-5: var(--text-md-5);
104
- --text-6: var(--text-md-6);
105
- --text-7: var(--text-md-7);
106
- --text-8: var(--text-md-8);
107
- }
108
-
109
- .size-lg {
110
- --space-1: var(--space-lg-1);
111
- --space-2: var(--space-lg-2);
112
- --space-3: var(--space-lg-3);
113
- --space-4: var(--space-lg-4);
114
- --space-5: var(--space-lg-5);
115
- --space-6: var(--space-lg-6);
116
- --space-7: var(--space-lg-7);
117
-
118
- --radius-1: calc(var(--border-radius, 1) * var(--space-lg-1));
119
- --radius-2: calc(var(--border-radius, 1) * var(--space-lg-2));
120
- --radius-3: calc(var(--border-radius, 1) * var(--space-lg-3));
121
-
122
- --text-1: var(--text-lg-1);
123
- --text-2: var(--text-lg-2);
124
- --text-3: var(--text-lg-3);
125
- --text-4: var(--text-lg-4);
126
- --text-5: var(--text-lg-5);
127
- --text-6: var(--text-lg-6);
128
- --text-7: var(--text-lg-7);
129
- --text-8: var(--text-lg-8);
130
- }
131
- */
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <browserconfig>
3
- <msapplication>
4
- <tile>
5
- <square150x150logo src="/favicon/mstile-150x150.png"/>
6
- <TileColor>#fff</TileColor>
7
- </tile>
8
- </msapplication>
9
- </browserconfig>
Binary file
@@ -1,16 +0,0 @@
1
- <svg width="758" height="758" viewBox="0 0 758 758" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_45_5)">
3
- <rect width="758" height="758" fill="#FF5500"/>
4
- <rect x="-133" y="-133" width="1024" height="1024" fill="url(#paint0_radial_45_5)"/>
5
- <path d="M269.363 565C264.945 565 261.363 561.419 261.363 557V200.637C261.363 196.218 264.945 192.637 269.363 192.637H499.909C504.327 192.637 507.909 196.218 507.909 200.637V249.546C507.909 253.964 504.327 257.546 499.909 257.546H348.091C343.672 257.546 340.091 261.128 340.091 265.546V338.273C340.091 342.691 343.672 346.273 348.091 346.273H483.545C487.963 346.273 491.545 349.855 491.545 354.273V403.182C491.545 407.6 487.963 411.182 483.545 411.182H348.091C343.672 411.182 340.091 414.764 340.091 419.182V557C340.091 561.419 336.509 565 332.091 565H269.363Z" fill="#EEEEEC"/>
6
- </g>
7
- <defs>
8
- <radialGradient id="paint0_radial_45_5" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(379 379) rotate(45) scale(724.077)">
9
- <stop stop-color="#111110" stop-opacity="0.2"/>
10
- <stop offset="0.9" stop-color="#111110" stop-opacity="0"/>
11
- </radialGradient>
12
- <clipPath id="clip0_45_5">
13
- <rect width="758" height="758" fill="white"/>
14
- </clipPath>
15
- </defs>
16
- </svg>
@@ -1,30 +0,0 @@
1
- {
2
- "name": "Fulldev UI",
3
- "short_name": "Fulldev UI",
4
- "description": "Fulldev UI",
5
- "dir": "auto",
6
- "lang": "en-GB",
7
- "display": "standalone",
8
- "display_override": [
9
- "window-controls-overlay",
10
- "standalone"
11
- ],
12
- "orientation": "any",
13
- "start_url": "/?homescreen=1",
14
- "background_color": "#fff",
15
- "theme_color": "#fff",
16
- "icons": [
17
- {
18
- "src": "/favicon/android-chrome-192x192.png",
19
- "sizes": "192x192",
20
- "type": "image/png",
21
- "purpose": "any"
22
- },
23
- {
24
- "src": "/favicon/android-chrome-512x512.png",
25
- "sizes": "512x512",
26
- "type": "image/png",
27
- "purpose": "maskable"
28
- }
29
- ]
30
- }
@@ -1,16 +0,0 @@
1
- <svg width="758" height="758" viewBox="0 0 758 758" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_45_5)">
3
- <rect width="758" height="758" fill="#FF5500"/>
4
- <rect x="-133" y="-133" width="1024" height="1024" fill="url(#paint0_radial_45_5)"/>
5
- <path d="M269.363 565C264.945 565 261.363 561.419 261.363 557V200.637C261.363 196.218 264.945 192.637 269.363 192.637H499.909C504.327 192.637 507.909 196.218 507.909 200.637V249.546C507.909 253.964 504.327 257.546 499.909 257.546H348.091C343.672 257.546 340.091 261.128 340.091 265.546V338.273C340.091 342.691 343.672 346.273 348.091 346.273H483.545C487.963 346.273 491.545 349.855 491.545 354.273V403.182C491.545 407.6 487.963 411.182 483.545 411.182H348.091C343.672 411.182 340.091 414.764 340.091 419.182V557C340.091 561.419 336.509 565 332.091 565H269.363Z" fill="#EEEEEC"/>
6
- </g>
7
- <defs>
8
- <radialGradient id="paint0_radial_45_5" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(379 379) rotate(45) scale(724.077)">
9
- <stop stop-color="#111110" stop-opacity="0.2"/>
10
- <stop offset="0.9" stop-color="#111110" stop-opacity="0"/>
11
- </radialGradient>
12
- <clipPath id="clip0_45_5">
13
- <rect width="758" height="758" fill="white"/>
14
- </clipPath>
15
- </defs>
16
- </svg>
@@ -1,9 +0,0 @@
1
- {
2
- "version": "1.0",
3
- "api_version": 1,
4
- "layout": {
5
- "logo": "/favicon/yandex-browser-50x50.png",
6
- "color": "#fff",
7
- "show_title": true
8
- }
9
- }
@@ -1,35 +0,0 @@
1
- ---
2
- import Hero1 from 'fulldev-ui/blocks/Hero1.astro'
3
- import Layout from 'fulldev-ui/components/Layout.astro'
4
-
5
- import { $cart } from 'fulldev-ui/stores/cart'
6
-
7
- const value = $cart.get()
8
- ---
9
-
10
- <Layout>
11
- <Hero1
12
- heading="hello world"
13
- class="hoi"
14
- />
15
- {value}
16
-
17
- <button id="myyy-button">Add item</button>
18
-
19
- <script>
20
- import { addItem } from 'fulldev-ui/stores/cart'
21
-
22
- const button = document.querySelector('#myyy-button')
23
- button?.addEventListener('click', () => {
24
- console.log('clicked')
25
- addItem({
26
- slug: 'test',
27
- title: 'title',
28
- price: 10,
29
- quantity: 10,
30
- image: '',
31
- variants: [],
32
- })
33
- })
34
- </script>
35
- </Layout>
@@ -1,6 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { imageSchema } from 'fulldev-ui/schemas/components/image.ts'
3
-
4
- export const avatarSchema = imageSchema
5
-
6
- export type AvatarSchema = z.infer<typeof avatarSchema>
@@ -1,18 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { iconSchema } from './icon'
3
-
4
- export const badgeSchema = z
5
- .object({
6
- icon: iconSchema.shape.name,
7
- text: z.string().optional(),
8
- href: z.string().optional(),
9
- target: z.literal('_blank').optional(),
10
- size: z.enum(['sm', 'md', 'lg']).default('md').optional(),
11
- variant: z
12
- .enum(['primary', 'secondary', 'outline', 'ghost'])
13
- .default('outline')
14
- .optional(),
15
- })
16
- .strict()
17
-
18
- export type BadgeSchema = z.infer<typeof badgeSchema>
@@ -1,61 +0,0 @@
1
- import { z } from 'astro:content'
2
- import pathSchema from '../utils/pathSchema'
3
- import { badgeSchema } from './badge'
4
- import { buttonSchema } from './button'
5
- import { channelSchema } from './channel'
6
- import { headingSchema } from './heading'
7
- import { iconSchema } from './icon'
8
- import { imageSchema } from './image'
9
- import { linkSchema } from './link'
10
- import { logoSchema } from './logo'
11
- import { menuSchema } from './menu'
12
- import { paragraphSchema } from './paragraph'
13
- import { socialSchema } from './social'
14
- import { taglineSchema } from './tagline'
15
-
16
- export const blockSchema = z.object({
17
- _block: z.string().optional(),
18
- dark: z.boolean().optional(),
19
- logo: logoSchema.optional(),
20
- link: linkSchema.optional(),
21
- links: linkSchema.array().optional(),
22
- menus: menuSchema.array().optional(),
23
- themer: z.boolean().optional(),
24
- search: z.boolean().optional(),
25
- cart: z.boolean().optional(),
26
- text: z.string().optional(),
27
- tagline: taglineSchema.shape.text,
28
- badge: badgeSchema.optional(),
29
- badges: badgeSchema.array().optional(),
30
- heading: headingSchema.shape.text,
31
- paragraph: paragraphSchema.shape.text,
32
- list: z.string().array().optional(),
33
- content: z.string().optional(),
34
- button: buttonSchema.optional(),
35
- buttons: buttonSchema.array().optional(),
36
- image: imageSchema.optional(),
37
- images: imageSchema.array().optional(),
38
- channels: channelSchema.array().optional(),
39
- socials: socialSchema.shape.href.array().optional(),
40
- pages: pathSchema('pages').array().optional(),
41
- products: pathSchema('pages').array().optional(),
42
- cards: z
43
- .object({
44
- image: imageSchema.optional(),
45
- icon: iconSchema.shape.name,
46
- rating: z.number().optional(),
47
- tagline: taglineSchema.shape.text,
48
- badge: badgeSchema.optional(),
49
- badges: badgeSchema.array().optional(),
50
- heading: headingSchema.shape.text,
51
- paragraph: paragraphSchema.shape.text,
52
- list: z.string().array().optional(),
53
- button: buttonSchema.optional(),
54
- buttons: buttonSchema.array().optional(),
55
- })
56
- .strict()
57
- .array()
58
- .optional(),
59
- })
60
-
61
- export type BlockSchema = z.infer<typeof blockSchema>
@@ -1,19 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { headingSchema } from './heading'
3
- import { iconSchema } from './icon'
4
-
5
- export const channelSchema = z
6
- .object({
7
- icon: iconSchema.shape.name,
8
- heading: headingSchema.shape.text,
9
- text: z.string().optional(),
10
- href: z.string().optional(),
11
- size: z.enum(['sm', 'md', 'lg']).default('md').optional(),
12
- variant: z
13
- .enum(['primary', 'secondary', 'outline', 'ghost'])
14
- .default('secondary')
15
- .optional(),
16
- })
17
- .strict()
18
-
19
- export type ChannelSchema = z.infer<typeof channelSchema>
@@ -1,19 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { channelSchema } from 'fulldev-ui/schemas/components/channel.ts'
3
- import { logoSchema } from 'fulldev-ui/schemas/components/logo.ts'
4
- import { menuSchema } from 'fulldev-ui/schemas/components/menu.ts'
5
- import { headingSchema } from './heading'
6
- import { paragraphSchema } from './paragraph'
7
-
8
- export const footerSchema = z
9
- .object({
10
- logo: logoSchema.optional(),
11
- heading: headingSchema.shape.text,
12
- paragraph: paragraphSchema.shape.text,
13
- socials: z.string().url().array().optional(),
14
- channels: channelSchema.array().optional(),
15
- menus: menuSchema.array().optional(),
16
- })
17
- .strict()
18
-
19
- export type FooterSchema = z.infer<typeof footerSchema>
@@ -1,23 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { buttonSchema } from 'fulldev-ui/schemas/components/button.ts'
3
- import { linkSchema } from 'fulldev-ui/schemas/components/link.ts'
4
- import { logoSchema } from 'fulldev-ui/schemas/components/logo.ts'
5
- import { menuSchema } from 'fulldev-ui/schemas/components/menu.ts'
6
- import { headingSchema } from './heading'
7
- import { socialSchema } from './social'
8
-
9
- export const headerSchema = z
10
- .object({
11
- logo: logoSchema.optional(),
12
- heading: headingSchema.shape.text,
13
- links: linkSchema.array().optional(),
14
- socials: socialSchema.shape.href.array().optional(),
15
- buttons: buttonSchema.array().optional(),
16
- menus: menuSchema.array().optional(),
17
- themer: z.boolean().optional(),
18
- cart: z.boolean().optional(),
19
- search: z.boolean().optional(),
20
- })
21
- .strict()
22
-
23
- export type HeaderSchema = z.infer<typeof headerSchema>
@@ -1,9 +0,0 @@
1
- import { z } from 'astro:content'
2
-
3
- export const headingSchema = z
4
- .object({
5
- text: z.string().optional(),
6
- })
7
- .strict()
8
-
9
- export type HeadingSchema = z.infer<typeof headingSchema>
@@ -1,9 +0,0 @@
1
- import { z } from 'astro:content'
2
-
3
- export const iconSchema = z
4
- .object({
5
- name: z.string().optional(),
6
- })
7
- .strict()
8
-
9
- export type IconSchema = z.infer<typeof iconSchema>
@@ -1,17 +0,0 @@
1
- import { z } from 'astro:content'
2
-
3
- export const linkSchema = z
4
- .object({
5
- text: z.string().optional(),
6
- href: z.string().optional(),
7
- icon: z.string().optional(),
8
- target: z.literal('_blank').optional(),
9
- size: z.enum(['sm', 'md', 'lg']).default('md').optional(),
10
- variant: z
11
- .enum(['primary', 'underline', 'muted'])
12
- .default('primary')
13
- .optional(),
14
- })
15
- .strict()
16
-
17
- export type LinkSchema = z.infer<typeof linkSchema>
@@ -1,13 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { imageSchema } from 'fulldev-ui/schemas/components/image.ts'
3
-
4
- export const logoSchema = z
5
- .object({
6
- image: imageSchema,
7
- text: z.string().optional(),
8
- href: z.string().optional(),
9
- size: z.enum(['sm', 'md', 'lg']).default('md').optional(),
10
- })
11
- .strict()
12
-
13
- export type LogoSchema = z.infer<typeof logoSchema>
@@ -1,14 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { linkSchema } from 'fulldev-ui/schemas/components/link.ts'
3
- import { headingSchema } from './heading'
4
-
5
- export const menuSchema = z
6
- .object({
7
- heading: headingSchema.shape.text,
8
- href: z.string().optional(),
9
- links: linkSchema.array().optional(),
10
- size: z.enum(['sm', 'md', 'lg']).default('md').optional(),
11
- })
12
- .strict()
13
-
14
- export type MenuSchema = z.infer<typeof menuSchema>
@@ -1,10 +0,0 @@
1
- import { z } from 'astro:content'
2
- import { headerSchema } from './header'
3
- import { sidebarSchema } from './sidebar'
4
-
5
- export const navigationSchema = headerSchema.merge(sidebarSchema).extend({
6
- header: z.boolean().optional(),
7
- sidebar: z.boolean().optional(),
8
- })
9
-
10
- export type NavigationSchema = z.infer<typeof navigationSchema>
@@ -1,9 +0,0 @@
1
- import { z } from 'astro:content'
2
-
3
- export const paragraphSchema = z
4
- .object({
5
- text: z.string().optional(),
6
- })
7
- .strict()
8
-
9
- export type ParagraphSchema = z.infer<typeof paragraphSchema>