fulldev-ui 0.3.36 → 0.4.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 (287) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.yml +57 -0
  2. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
  4. package/.github/pull_request_template.md +23 -0
  5. package/.github/workflows/github-releases-to-discord.yml +21 -0
  6. package/.prettierignore +15 -0
  7. package/.prettierrc.yaml +34 -0
  8. package/.vscode/extensions.json +4 -0
  9. package/.vscode/launch.json +11 -0
  10. package/.vscode/settings.json +23 -0
  11. package/CHANGELOG.md +100 -0
  12. package/CONTRIBUTING.md +102 -0
  13. package/LICENCE +21 -0
  14. package/README.md +9 -6
  15. package/astro.config.ts +44 -0
  16. package/package.json +41 -27
  17. package/pnpm-lock.yaml +6229 -0
  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 +9 -0
  22. package/public/favicon/favicon-16x16.png +0 -0
  23. package/public/favicon/favicon-32x32.png +0 -0
  24. package/public/favicon/favicon.ico +0 -0
  25. package/public/favicon/mstile-150x150.png +0 -0
  26. package/public/favicon/safari-pinned-tab.svg +17 -0
  27. package/public/favicon/site.webmanifest +19 -0
  28. package/public/images/avatar-placeholder.jpg +0 -0
  29. package/public/images/avatars/1.jpeg +0 -0
  30. package/public/images/avatars/2.jpeg +0 -0
  31. package/public/images/avatars/3.jpeg +0 -0
  32. package/public/images/avatars/300/1.jpeg +0 -0
  33. package/public/images/avatars/300/2.jpeg +0 -0
  34. package/public/images/avatars/300/3.jpeg +0 -0
  35. package/public/images/avatars/300/4.jpeg +0 -0
  36. package/public/images/avatars/4.jpeg +0 -0
  37. package/public/images/avatars/5.jpeg +0 -0
  38. package/public/images/avatars/500/1.jpeg +0 -0
  39. package/public/images/avatars/500/2.jpeg +0 -0
  40. package/public/images/avatars/500/3.jpeg +0 -0
  41. package/public/images/avatars/500/4.jpeg +0 -0
  42. package/public/images/avatars/6.jpeg +0 -0
  43. package/public/images/avatars/7.jpeg +0 -0
  44. package/public/images/avatars/8.jpeg +0 -0
  45. package/public/images/block-code.png +0 -0
  46. package/public/images/blocks/colleagues.png +0 -0
  47. package/public/images/blocks/content.png +0 -0
  48. package/public/images/blocks/cta.png +0 -0
  49. package/public/images/blocks/features.png +0 -0
  50. package/public/images/blocks/footer.png +0 -0
  51. package/public/images/blocks/header.png +0 -0
  52. package/public/images/blocks/hero.png +0 -0
  53. package/public/images/blocks/intro.png +0 -0
  54. package/public/images/blocks/posts.png +0 -0
  55. package/public/images/blocks/prices.png +0 -0
  56. package/public/images/blocks/reviews.png +0 -0
  57. package/public/images/component-code.png +0 -0
  58. package/public/images/logo-placeholder.svg +1 -0
  59. package/public/images/placeholder-center.webp +0 -0
  60. package/public/images/placeholder-landscape-dark.png +0 -0
  61. package/public/images/placeholder-landscape.webp +0 -0
  62. package/public/images/placeholder-portrait.webp +0 -0
  63. package/public/images/placeholder-right.webp +0 -0
  64. package/public/images/placeholder.webp +0 -0
  65. package/siteicon.png +0 -0
  66. package/src/blocks/Categories.astro +12 -0
  67. package/src/blocks/Colleagues.astro +12 -0
  68. package/src/blocks/Contact.astro +152 -0
  69. package/src/blocks/Content.astro +12 -0
  70. package/src/blocks/Cta.astro +14 -0
  71. package/src/blocks/Features.astro +11 -0
  72. package/src/blocks/Footer.astro +7 -0
  73. package/src/blocks/Header.astro +7 -0
  74. package/src/blocks/Hero.astro +16 -0
  75. package/src/blocks/Intro.astro +19 -0
  76. package/src/blocks/Jobs.astro +12 -0
  77. package/src/blocks/Posts.astro +11 -0
  78. package/src/blocks/Prices.astro +22 -0
  79. package/src/blocks/Product.astro +64 -0
  80. package/src/blocks/Products.astro +11 -0
  81. package/src/blocks/Reviews.astro +13 -0
  82. package/src/components/{base/Avatar.astro → Avatar.astro} +7 -11
  83. package/src/components/{base/Badge.astro → Badge.astro} +36 -22
  84. package/src/components/{structure/Bento.astro → Bento.astro} +6 -9
  85. package/src/components/Block.astro +157 -0
  86. package/src/components/Blocks.astro +5 -0
  87. package/src/components/Box.astro +60 -0
  88. package/src/components/Button.astro +140 -0
  89. package/src/components/Card.astro +212 -0
  90. package/src/components/{structure/Carousel.astro → Carousel.astro} +13 -16
  91. package/src/components/Checkbox.astro +63 -0
  92. package/src/components/{structure/Column.astro → Column.astro} +14 -9
  93. package/src/components/Dialog.astro +65 -0
  94. package/src/components/Drawer.astro +99 -0
  95. package/src/components/Footer.astro +144 -0
  96. package/src/components/{structure/Grid.astro → Grid.astro} +7 -10
  97. package/src/components/Head.astro +85 -0
  98. package/src/components/Header.astro +204 -0
  99. package/src/components/Heading.astro +79 -0
  100. package/src/components/{base/Icon.astro → Icon.astro} +7 -9
  101. package/src/components/{base/Image.astro → Image.astro} +32 -30
  102. package/src/components/Input.astro +119 -0
  103. package/src/components/{typography/Label.astro → Label.astro} +12 -12
  104. package/src/components/{typography/Link.astro → Link.astro} +15 -13
  105. package/src/components/List.astro +41 -0
  106. package/src/components/{structure/Masonry.astro → Masonry.astro} +9 -11
  107. package/src/components/Rating.astro +82 -0
  108. package/src/components/{_Component.astro → Root.astro} +7 -11
  109. package/src/components/{structure/Row.astro → Row.astro} +6 -9
  110. package/src/components/Search.astro +62 -0
  111. package/src/components/Section.astro +274 -0
  112. package/src/components/Select.astro +144 -0
  113. package/src/components/Sidebar.astro +71 -0
  114. package/src/components/{structure/Split.astro → Split.astro} +6 -9
  115. package/src/components/{structure/Spread.astro → Spread.astro} +6 -9
  116. package/src/components/Switch.astro +114 -0
  117. package/src/components/Table.astro +121 -0
  118. package/src/components/Tagline.astro +35 -0
  119. package/src/components/Text.astro +43 -0
  120. package/src/components/Textarea.astro +105 -0
  121. package/src/components/Toc.astro +52 -0
  122. package/src/components/{structure/Wrap.astro → Wrap.astro} +5 -10
  123. package/src/components/docs/DecorativeBox.astro +15 -0
  124. package/src/components/docs/PropsTable.astro +95 -0
  125. package/src/components/experimental/Channel.astro +15 -10
  126. package/src/components/experimental/Form.astro +34 -0
  127. package/src/components/experimental/Gallery.astro +180 -0
  128. package/src/components/experimental/GalleryVertical.astro +161 -0
  129. package/src/components/{base → experimental}/Logo.astro +3 -5
  130. package/src/components/experimental/Price.astro +17 -17
  131. package/src/components/experimental/Prose.astro +154 -0
  132. package/src/components/{base → experimental}/Video.astro +1 -1
  133. package/src/components/experimental/Window.astro +173 -0
  134. package/src/content/config.ts +16 -13
  135. package/src/content/pages/_changelog.mdx +10 -0
  136. package/src/content/pages/_segment/footer.mdx +244 -0
  137. package/src/content/pages/_segment/header.mdx +210 -0
  138. package/src/content/pages/base/_dialog.mdx +17 -0
  139. package/src/content/pages/base/_drawer.mdx +17 -0
  140. package/src/content/pages/base/_image.mdx +14 -0
  141. package/src/content/pages/base/_switch.mdx +33 -0
  142. package/src/content/pages/base/badge.mdx +70 -0
  143. package/src/content/pages/base/button.mdx +71 -0
  144. package/src/content/pages/base/card.mdx +114 -0
  145. package/src/content/pages/base/checkbox.mdx +43 -0
  146. package/src/content/pages/base/icon.mdx +54 -0
  147. package/src/content/pages/base/input.mdx +67 -0
  148. package/src/content/pages/base/rating.mdx +66 -0
  149. package/src/content/pages/base/section.mdx +79 -0
  150. package/src/content/pages/base/select.mdx +77 -0
  151. package/src/content/pages/base/table.mdx +133 -0
  152. package/src/content/pages/base/textarea.mdx +73 -0
  153. package/src/content/pages/blocks/_banner.mdx +13 -0
  154. package/src/content/pages/blocks/_categories.mdx +149 -0
  155. package/src/content/pages/blocks/_jobs.mdx +37 -0
  156. package/src/content/pages/blocks/_product.mdx +29 -0
  157. package/src/content/pages/blocks/_products.mdx +55 -0
  158. package/src/content/pages/blocks/_stats.mdx +34 -0
  159. package/src/content/pages/blocks/colleagues.mdx +42 -0
  160. package/src/content/pages/blocks/content.mdx +101 -0
  161. package/src/content/pages/blocks/cta.mdx +192 -0
  162. package/src/content/pages/blocks/features.mdx +134 -0
  163. package/src/content/pages/blocks/footer.mdx +71 -0
  164. package/src/content/pages/blocks/header.mdx +192 -0
  165. package/src/content/pages/blocks/hero.mdx +97 -0
  166. package/src/content/pages/blocks/intro.mdx +132 -0
  167. package/src/content/pages/blocks/posts.mdx +40 -0
  168. package/src/content/pages/blocks/prices.mdx +126 -0
  169. package/src/content/pages/blocks/reviews.mdx +249 -0
  170. package/src/content/pages/blocks.mdx +10 -0
  171. package/src/content/pages/index.mdx +65 -0
  172. package/src/content/pages/overview/frameworks.mdx +180 -0
  173. package/src/content/pages/overview/installation.mdx +20 -0
  174. package/src/content/pages/overview/integration.mdx +37 -0
  175. package/src/content/pages/overview/introduction.mdx +20 -0
  176. package/src/content/pages/overview/theming.mdx +83 -0
  177. package/src/content/pages/structure/_row.mdx +23 -0
  178. package/src/content/pages/structure/_wrap.mdx +25 -0
  179. package/src/content/pages/structure/carousel.mdx +31 -0
  180. package/src/content/pages/structure/column.mdx +21 -0
  181. package/src/content/pages/structure/grid.mdx +26 -0
  182. package/src/content/pages/structure/masonry.mdx +32 -0
  183. package/src/content/pages/structure/split.mdx +21 -0
  184. package/src/content/pages/structure/spread.mdx +21 -0
  185. package/src/content/pages/typography/_tagline.mdx +36 -0
  186. package/src/content/pages/typography/heading.mdx +74 -0
  187. package/src/content/pages/typography/label.mdx +42 -0
  188. package/src/content/pages/typography/link.mdx +63 -0
  189. package/src/content/pages/typography/list.mdx +52 -0
  190. package/src/content/pages/typography/text.mdx +62 -0
  191. package/src/content/records/record.yml +1 -0
  192. package/src/content/settings/base.yml +48 -0
  193. package/src/content/settings/components.yml +27 -0
  194. package/src/css/color.css +6 -67
  195. package/src/css/custom.css +59 -0
  196. package/src/css/size.css +130 -0
  197. package/src/css/space.css +47 -26
  198. package/src/css/styles.css +4 -2
  199. package/src/env.d.ts +1 -1
  200. package/src/integration/generate-colors.ts +637 -0
  201. package/src/integration/index.ts +158 -0
  202. package/src/integration/tailwind-plugin.ts +80 -0
  203. package/src/integration/unocss-preset.ts +84 -0
  204. package/src/layouts/BlockLayout.astro +24 -0
  205. package/src/layouts/BlockOverviewLayout.astro +39 -0
  206. package/src/layouts/ComponentLayout.astro +23 -0
  207. package/src/layouts/JobsLayout.astro +40 -0
  208. package/src/layouts/Layout.astro +168 -0
  209. package/src/layouts/OverviewLayout.astro +45 -0
  210. package/src/layouts/PageLayout.astro +32 -0
  211. package/src/layouts/PostLayout.astro +32 -0
  212. package/src/layouts/ProductLayout.astro +31 -0
  213. package/src/pages/[...page].astro +41 -0
  214. package/src/schemas/base.ts +81 -0
  215. package/src/schemas/block.ts +15 -0
  216. package/src/schemas/card.ts +3 -0
  217. package/src/schemas/page.ts +43 -0
  218. package/src/schemas/utils.ts +22 -0
  219. package/src/utils/mergeEntries.ts +28 -0
  220. package/tsconfig.json +10 -1
  221. package/.astro/settings.json +0 -5
  222. package/.astro/types.d.ts +0 -147
  223. package/.env +0 -1
  224. package/astro.config.mjs +0 -6
  225. package/src/components/_Block.astro +0 -20
  226. package/src/components/_Blocks.astro +0 -11
  227. package/src/components/_Children.astro +0 -31
  228. package/src/components/_archive/Body.astro +0 -37
  229. package/src/components/_archive/Main.astro +0 -28
  230. package/src/components/_archive/Nav.astro +0 -50
  231. package/src/components/_todo/Form.astro +0 -36
  232. package/src/components/_todo/Prose.astro +0 -139
  233. package/src/components/_todo/Writeup.astro +0 -24
  234. package/src/components/base/Button.astro +0 -123
  235. package/src/components/base/Rating.astro +0 -47
  236. package/src/components/base/checkbox/Checkbox.astro +0 -52
  237. package/src/components/base/checkbox/CheckboxElement.astro +0 -31
  238. package/src/components/base/input/Input.astro +0 -79
  239. package/src/components/base/input/InputElement.astro +0 -69
  240. package/src/components/base/radio/Radio.astro +0 -66
  241. package/src/components/base/radio/RadioElement.astro +0 -34
  242. package/src/components/base/select/Select.astro +0 -90
  243. package/src/components/base/select/SelectElement.astro +0 -56
  244. package/src/components/base/select/SelectOption.astro +0 -32
  245. package/src/components/base/switch/Switch.astro +0 -55
  246. package/src/components/base/switch/SwitchElement.astro +0 -84
  247. package/src/components/base/table/Table.astro +0 -57
  248. package/src/components/base/table/TableBody.astro +0 -38
  249. package/src/components/base/table/TableCell.astro +0 -30
  250. package/src/components/base/table/TableFooter.astro +0 -48
  251. package/src/components/base/table/TableHead.astro +0 -31
  252. package/src/components/base/table/TableHeader.astro +0 -44
  253. package/src/components/base/table/TableRow.astro +0 -46
  254. package/src/components/base/textarea/Textarea.astro +0 -79
  255. package/src/components/base/textarea/TextareaElement.astro +0 -68
  256. package/src/components/segment/Box.astro +0 -46
  257. package/src/components/segment/Card.astro +0 -114
  258. package/src/components/segment/Footer.astro +0 -94
  259. package/src/components/segment/Header.astro +0 -100
  260. package/src/components/segment/Section.astro +0 -103
  261. package/src/components/segment/_regels.md +0 -32
  262. package/src/components/typography/Heading.astro +0 -66
  263. package/src/components/typography/List.astro +0 -47
  264. package/src/components/typography/ListItem.astro +0 -36
  265. package/src/components/typography/Paragraph.astro +0 -36
  266. package/src/components/typography/Tagline.astro +0 -36
  267. package/src/components/typography/Text.astro +0 -37
  268. package/src/components/utility/Head.astro +0 -83
  269. package/src/components/utility/Layout.astro +0 -46
  270. package/src/content/pages/index.md +0 -2
  271. package/src/css/color.scss +0 -289
  272. package/src/css/size.scss +0 -296
  273. package/src/css/utils.scss +0 -16
  274. package/src/index.ts +0 -71
  275. package/src/integration/integration.ts +0 -88
  276. package/src/integration/tailwind.ts +0 -34
  277. package/src/integration/unocss.ts +0 -38
  278. /package/src/{_archive → utils/_archive}/Childmorphic.ts +0 -0
  279. /package/src/{_archive → utils/_archive}/getAllCollections.ts +0 -0
  280. /package/src/{_archive → utils/_archive}/getCollectionCascade.ts +0 -0
  281. /package/src/{_archive → utils/_archive}/getPathname.ts +0 -0
  282. /package/src/{_archive → utils/_archive}/staticPageSchema.ts +0 -0
  283. /package/src/{_archive → utils/_archive}/transform/transform.ts +0 -0
  284. /package/src/{_archive → utils/_archive}/transform/transformCasing.ts +0 -0
  285. /package/src/{_archive → utils/_archive}/transform/transformReferences.ts +0 -0
  286. /package/src/{_archive → utils/_archive}/transform/transformSelfs.ts +0 -0
  287. /package/src/{_archive → utils/_archive}/transform/transformUnderscores.ts +0 -0
@@ -0,0 +1,66 @@
1
+ ---
2
+ _layout: ComponentLayout
3
+ settings: components
4
+
5
+ title: Rating
6
+ ---
7
+
8
+ # Rating
9
+
10
+ import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
11
+
12
+ ```astro live
13
+ ---
14
+ import Rating from 'fulldev-ui/components/Rating.astro'
15
+ ---
16
+
17
+ <Rating
18
+ avatar="/images/avatars/1.jpeg"
19
+ label="John Doe"
20
+ value={4}
21
+ color="brand"
22
+ />
23
+ ```
24
+
25
+ ## Props
26
+
27
+ <PropsTable />
28
+
29
+ ## Examples
30
+
31
+ ```astro live
32
+ ---
33
+ import Rating from 'fulldev-ui/components/Rating.astro'
34
+ ---
35
+
36
+ <Rating
37
+ avatars={[
38
+ '/images/avatars/1.jpeg',
39
+ '/images/avatars/2.jpeg',
40
+ '/images/avatars/3.jpeg',
41
+ '/images/avatars/4.jpeg',
42
+ ]}
43
+ label="5.0 out of 86 reviews"
44
+ value={5}
45
+ color="brand"
46
+ />
47
+ ```
48
+
49
+ ```astro live
50
+ ---
51
+ import Rating from 'fulldev-ui/components/Rating.astro'
52
+ ---
53
+
54
+ <Rating value={3} color="base" />
55
+ <Rating value={5} color="brand" />
56
+ ```
57
+
58
+ ```astro live
59
+ ---
60
+ import Rating from 'fulldev-ui/components/Rating.astro'
61
+ ---
62
+
63
+ <Rating value={5} size="sm" />
64
+ <Rating value={5} size="md" />
65
+ <Rating value={5} size="lg" />
66
+ ```
@@ -0,0 +1,79 @@
1
+ ---
2
+ _layout: ComponentLayout
3
+ settings: components
4
+
5
+ title: Section
6
+ ---
7
+
8
+ # Section
9
+
10
+ import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
11
+
12
+ ```astro live
13
+ ---
14
+ import Button from 'fulldev-ui/components/Button.astro'
15
+ import Heading from 'fulldev-ui/components/Heading.astro'
16
+ import Image from 'fulldev-ui/components/Image.astro'
17
+ import Row from 'fulldev-ui/components/Row.astro'
18
+ import Section from 'fulldev-ui/components/Section.astro'
19
+ import Text from 'fulldev-ui/components/Text.astro'
20
+ ---
21
+
22
+ <Section>
23
+ <Heading> A section with equal columns </Heading>
24
+ <Text>
25
+ On mobile it's a single column, of course. All without having to think about
26
+ responsiveness. It just works. Have a look at the code, it's down below.
27
+ </Text>
28
+ <Row>
29
+ <Button href="/overview/installation">Installation</Button>
30
+ <Button variant="soft" href="/structure/split"> Component </Button>
31
+ </Row>
32
+ <Image src="/images/placeholder-landscape.webp" />
33
+ </Section>
34
+ ```
35
+
36
+ ## Props
37
+
38
+ <PropsTable />
39
+
40
+ ## Examples
41
+
42
+ ```astro live
43
+ ---
44
+ import Button from 'fulldev-ui/components/Button.astro'
45
+ import Heading from 'fulldev-ui/components/Heading.astro'
46
+ import Section from 'fulldev-ui/components/Section.astro'
47
+ import Text from 'fulldev-ui/components/Text.astro'
48
+ ---
49
+
50
+ <Section variant="ghost" frame="panel">
51
+ <Heading> A section with a ghost variant </Heading>
52
+ <Text> This section has a ghost variant. </Text>
53
+ <Button> Button </Button>
54
+ </Section>
55
+
56
+ <Section variant="subtle" frame="panel">
57
+ <Heading> A section with a subtle variant </Heading>
58
+ <Text> This section has a subtle variant. </Text>
59
+ <Button> Button </Button>
60
+ </Section>
61
+
62
+ <Section variant="outline" frame="panel">
63
+ <Heading> A section with an outline variant </Heading>
64
+ <Text> This section has an outline variant. </Text>
65
+ <Button> Button </Button>
66
+ </Section>
67
+
68
+ <Section variant="soft" frame="panel">
69
+ <Heading> A section with a soft variant </Heading>
70
+ <Text> This section has a soft variant. </Text>
71
+ <Button> Button </Button>
72
+ </Section>
73
+
74
+ <Section variant="surface" frame="panel">
75
+ <Heading> A section with a surface variant </Heading>
76
+ <Text> This section has a surface variant. </Text>
77
+ <Button> Button </Button>
78
+ </Section>
79
+ ```
@@ -0,0 +1,77 @@
1
+ ---
2
+ _layout: ComponentLayout
3
+ settings: components
4
+
5
+ title: Select
6
+
7
+ example:
8
+ label: Select
9
+ name: select
10
+ placeholder: Select an option
11
+ options:
12
+ - Option 1
13
+ - Option 2
14
+ ---
15
+
16
+ # Select
17
+
18
+ import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
19
+
20
+ ```astro live
21
+ ---
22
+ import Select from 'fulldev-ui/components/Select.astro'
23
+ ---
24
+
25
+ <Select
26
+ label="Select"
27
+ placeholder="Select an option"
28
+ options={['Option 1', 'Option 2']}
29
+ />
30
+ ```
31
+
32
+ ## Props
33
+
34
+ <PropsTable />
35
+
36
+ ## Examples
37
+
38
+ ```astro live
39
+ ---
40
+ import Select from 'fulldev-ui/components/Select.astro'
41
+ ---
42
+
43
+ <Select
44
+ label="Select"
45
+ placeholder="Select an option"
46
+ options={['Option 1', 'Option 2']}
47
+ />
48
+ ```
49
+
50
+ ```astro live
51
+ ---
52
+ import Select from 'fulldev-ui/components/Select.astro'
53
+ ---
54
+
55
+ <Select size="sm" options={['Option 1', 'Option 2']} />
56
+ <Select size="md" options={['Option 1', 'Option 2']} />
57
+ <Select size="lg" options={['Option 1', 'Option 2']} />
58
+ ```
59
+
60
+ ```astro live
61
+ ---
62
+ import Select from 'fulldev-ui/components/Select.astro'
63
+ ---
64
+
65
+ <Select color="base" options={['Option 1', 'Option 2']} />
66
+ <Select color="brand" options={['Option 1', 'Option 2']} />
67
+ ```
68
+
69
+ ```astro live
70
+ ---
71
+ import Select from 'fulldev-ui/components/Select.astro'
72
+ ---
73
+
74
+ <Select radius="none" options={['Option 1', 'Option 2']} />
75
+ <Select radius="auto" options={['Option 1', 'Option 2']} />
76
+ <Select radius="full" options={['Option 1', 'Option 2']} />
77
+ ```
@@ -0,0 +1,133 @@
1
+ ---
2
+ _layout: ComponentLayout
3
+ settings: components
4
+
5
+ title: Table
6
+ ---
7
+
8
+ # Table
9
+
10
+ import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
11
+
12
+ ```astro live
13
+ ---
14
+ import Table from 'fulldev-ui/components/Table.astro'
15
+ ---
16
+
17
+ <Table
18
+ header={['Product', 'Color', 'Quantity']}
19
+ body={[
20
+ ['Apple', 'Green', '2'],
21
+ ['Banana', 'Yellow', '3'],
22
+ ]}
23
+ footer={[{ text: 'Total', colspan: '2' }, '5']}
24
+ />
25
+ ```
26
+
27
+ ## Props
28
+
29
+ <PropsTable />
30
+
31
+ ## Examples
32
+
33
+ ```astro live
34
+ ---
35
+ import Table from 'fulldev-ui/components/Table.astro'
36
+ ---
37
+
38
+ <Table
39
+ header={['Product', 'Quantity']}
40
+ body={[
41
+ ['Apple', '2'],
42
+ ['Banana', '3'],
43
+ ]}
44
+ footer={['Total', '5']}
45
+ />
46
+ ```
47
+
48
+ ```astro live
49
+ ---
50
+ import Table from 'fulldev-ui/components/Table.astro'
51
+ ---
52
+
53
+ <Table
54
+ color="base"
55
+ header={['Product', 'Quantity']}
56
+ body={[
57
+ ['Apple', '2'],
58
+ ['Banana', '3'],
59
+ ]}
60
+ footer={['Total', '5']}
61
+ />
62
+
63
+ <Table
64
+ color="brand"
65
+ header={['Product', 'Quantity']}
66
+ body={[
67
+ ['Apple', '2'],
68
+ ['Banana', '3'],
69
+ ]}
70
+ footer={['Total', '5']}
71
+ />
72
+ ```
73
+
74
+ ```astro live
75
+ ---
76
+ import Table from 'fulldev-ui/components/Table.astro'
77
+ ---
78
+
79
+ <Table
80
+ size="sm"
81
+ header={['Product', 'Quantity']}
82
+ body={[
83
+ ['Apple', '2'],
84
+ ['Banana', '3'],
85
+ ]}
86
+ footer={['Total', '5']}
87
+ />
88
+
89
+ <Table
90
+ size="md"
91
+ header={['Product', 'Quantity']}
92
+ body={[
93
+ ['Apple', '2'],
94
+ ['Banana', '3'],
95
+ ]}
96
+ footer={['Total', '5']}
97
+ />
98
+ <Table
99
+ size="lg"
100
+ header={['Product', 'Quantity']}
101
+ body={[
102
+ ['Apple', '2'],
103
+ ['Banana', '3'],
104
+ ]}
105
+ footer={['Total', '5']}
106
+ />
107
+ ```
108
+
109
+ ```astro live
110
+ ---
111
+ import Table from 'fulldev-ui/components/Table.astro'
112
+ ---
113
+
114
+ <Table
115
+ radius="none"
116
+ header={['Product', 'Quantity']}
117
+ body={[
118
+ ['Apple', '2'],
119
+ ['Banana', '3'],
120
+ ]}
121
+ footer={['Total', '5']}
122
+ />
123
+
124
+ <Table
125
+ radius="auto"
126
+ header={['Product', 'Quantity']}
127
+ body={[
128
+ ['Apple', '2'],
129
+ ['Banana', '3'],
130
+ ]}
131
+ footer={['Total', '5']}
132
+ />
133
+ ```
@@ -0,0 +1,73 @@
1
+ ---
2
+ _layout: ComponentLayout
3
+ settings: components
4
+
5
+ title: Textarea
6
+
7
+ example:
8
+ name: textarea
9
+ placeholder: Write a message..
10
+ label: Textarea
11
+ ---
12
+
13
+ # Textarea
14
+
15
+ import PropsTable from 'fulldev-ui/components/docs/PropsTable.astro'
16
+
17
+ ```astro live
18
+ ---
19
+ import Textarea from 'fulldev-ui/components/Textarea.astro'
20
+ ---
21
+
22
+ <Textarea name="message" placeholder="Write a message.." label="Textarea" />
23
+ ```
24
+
25
+ ## Props
26
+
27
+ <PropsTable />
28
+
29
+ ## Examples
30
+
31
+ ```astro live
32
+ ---
33
+ import Textarea from 'fulldev-ui/components/Textarea.astro'
34
+ ---
35
+
36
+ <Textarea size="sm" name="message" placeholder="name" />
37
+ <Textarea size="md" name="message" placeholder="name" />
38
+ <Textarea size="lg" name="message" placeholder="name" />
39
+ ```
40
+
41
+ ```astro live
42
+ ---
43
+ import Textarea from 'fulldev-ui/components/Textarea.astro'
44
+ ---
45
+
46
+ <Textarea label="Message" name="message" placeholder="name" />
47
+ ```
48
+
49
+ ```astro live
50
+ ---
51
+ import Textarea from 'fulldev-ui/components/Textarea.astro'
52
+ ---
53
+
54
+ <Textarea label="Message" name="message" placeholder="name" />
55
+ ```
56
+
57
+ ```astro live
58
+ ---
59
+ import Textarea from 'fulldev-ui/components/Textarea.astro'
60
+ ---
61
+
62
+ <Textarea color="base" name="message" placeholder="name" />
63
+ <Textarea color="brand" name="message" placeholder="name" />
64
+ ```
65
+
66
+ ```astro live
67
+ ---
68
+ import Textarea from 'fulldev-ui/components/Textarea.astro'
69
+ ---
70
+
71
+ <Textarea radius="none" name="message" placeholder="name" />
72
+ <Textarea radius="auto" name="message" placeholder="name" />
73
+ ```
@@ -0,0 +1,13 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Banner
5
+ ---
6
+
7
+ ```astro live
8
+ ---
9
+ import Banner from 'fulldev-ui/blocks/Banner.astro'
10
+ ---
11
+
12
+ <Banner text="New feature: Customizable themes now available!" icon="paint" />
13
+ ```
@@ -0,0 +1,149 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Categories
5
+ image: /images/blocks/categories.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Categories from 'fulldev-ui/blocks/Categories.astro'
11
+ ---
12
+
13
+ <Categories
14
+ heading="Lorem ipsum dolor sit"
15
+ text="Lorem ipsum dolor sit amet consectetur adipisicing."
16
+ position="inset"
17
+ frame="panel"
18
+ size="sm"
19
+ cards={[
20
+ {
21
+ heading: 'Lorem ipsum',
22
+ image: '/images/placeholder-landscape.webp',
23
+ href: '#',
24
+ },
25
+ {
26
+ heading: 'Lorem ipsum',
27
+ image: '/images/placeholder-landscape.webp',
28
+ href: '#',
29
+ },
30
+ {
31
+ heading: 'Lorem ipsum',
32
+ image: '/images/placeholder-landscape.webp',
33
+ href: '#',
34
+ },
35
+ ]}
36
+ />
37
+ ```
38
+
39
+ ```astro live
40
+ ---
41
+ import Categories from 'fulldev-ui/blocks/Categories.astro'
42
+ ---
43
+
44
+ <Categories
45
+ heading="Lorem ipsum dolor sit"
46
+ text="Lorem ipsum dolor sit amet consectetur adipisicing."
47
+ position="background"
48
+ ratio="square"
49
+ cards={[
50
+ {
51
+ heading: 'Lorem ipsum',
52
+ image: '/images/placeholder-landscape.webp',
53
+ href: '#',
54
+ },
55
+ {
56
+ heading: 'Lorem ipsum',
57
+ image: '/images/placeholder-landscape.webp',
58
+ href: '#',
59
+ },
60
+ {
61
+ heading: 'Lorem ipsum',
62
+ image: '/images/placeholder-landscape.webp',
63
+ href: '#',
64
+ },
65
+ ]}
66
+ />
67
+ ```
68
+
69
+ ```astro live
70
+ ---
71
+ import Categories from 'fulldev-ui/blocks/Categories.astro'
72
+ ---
73
+
74
+ <Categories
75
+ heading="Lorem ipsum dolor sit"
76
+ text="Lorem ipsum dolor sit amet consectetur adipisicing."
77
+ position="background"
78
+ structure="bento"
79
+ cards={[
80
+ {
81
+ heading: 'Lorem ipsum',
82
+ image: '/images/placeholder-landscape.webp',
83
+ href: '#',
84
+ },
85
+ {
86
+ heading: 'Lorem ipsum',
87
+ image: '/images/placeholder-landscape.webp',
88
+ href: '#',
89
+ },
90
+ {
91
+ heading: 'Lorem ipsum',
92
+ image: '/images/placeholder-landscape.webp',
93
+ href: '#',
94
+ },
95
+ {
96
+ heading: 'Lorem ipsum',
97
+ image: '/images/placeholder-landscape.webp',
98
+ href: '#',
99
+ },
100
+ ]}
101
+ />
102
+ ```
103
+
104
+ ```astro live
105
+ ---
106
+ import Categories from 'fulldev-ui/blocks/Categories.astro'
107
+ ---
108
+
109
+ <Categories
110
+ heading="Lorem ipsum dolor sit"
111
+ buttons={[{ text: 'Lorem ipsum', href: '#' }]}
112
+ position="inset"
113
+ frame="panel"
114
+ size="sm"
115
+ structure="carousel"
116
+ cards={[
117
+ {
118
+ heading: 'Lorem ipsum',
119
+ image: '/images/placeholder-landscape.webp',
120
+ href: '#',
121
+ },
122
+ {
123
+ heading: 'Lorem ipsum',
124
+ image: '/images/placeholder-landscape.webp',
125
+ href: '#',
126
+ },
127
+ {
128
+ heading: 'Lorem ipsum',
129
+ image: '/images/placeholder-landscape.webp',
130
+ href: '#',
131
+ },
132
+ {
133
+ heading: 'Lorem ipsum',
134
+ image: '/images/placeholder-landscape.webp',
135
+ href: '#',
136
+ },
137
+ {
138
+ heading: 'Lorem ipsum',
139
+ image: '/images/placeholder-landscape.webp',
140
+ href: '#',
141
+ },
142
+ {
143
+ heading: 'Lorem ipsum',
144
+ image: '/images/placeholder-landscape.webp',
145
+ href: '#',
146
+ },
147
+ ]}
148
+ />
149
+ ```
@@ -0,0 +1,37 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Jobs
5
+ image: /images/blocks/jobs.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Jobs from 'fulldev-ui/blocks/Jobs.astro'
11
+ ---
12
+
13
+ <Jobs
14
+ heading="Open Positions"
15
+ text="Join our team and help build the future of web development."
16
+ cards={[
17
+ {
18
+ heading: 'Frontend Developer',
19
+ label: 'Full-time',
20
+ text: 'We are looking for an experienced frontend developer to join our UI team and help create stunning user interfaces.',
21
+ image: '/images/placeholder-landscape.webp',
22
+ },
23
+ {
24
+ heading: 'UX Designer',
25
+ label: 'Full-time',
26
+ text: 'Join our design team to create intuitive and visually appealing user experiences for our products.',
27
+ image: '/images/placeholder-landscape.webp',
28
+ },
29
+ {
30
+ heading: 'Backend Engineer',
31
+ label: 'Full-time',
32
+ text: 'Help us build robust and scalable backend systems to support our growing user base.',
33
+ image: '/images/placeholder-landscape.webp',
34
+ },
35
+ ]}
36
+ />
37
+ ```
@@ -0,0 +1,29 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Product
5
+ image: /images/blocks/product.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Product from 'fulldev-ui/blocks/Product.astro'
11
+ ---
12
+
13
+ <Product
14
+ heading="Basic Tee"
15
+ price={48}
16
+ rating={5}
17
+ image="/images/placeholder-landscape.webp"
18
+ buttons={[{ text: 'Add to cart' }]}
19
+ description="Oversized white tee made of 100% cotton."
20
+ list={[
21
+ 'Shortsleeve',
22
+ 'Ribbed collar',
23
+ 'Runs large',
24
+ 'Unisex',
25
+ 'Material: 100% cotton',
26
+ 'Imported',
27
+ ]}
28
+ />
29
+ ```