fulldev-ui 0.3.36 → 0.4.0-beta.1

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 -7
  15. package/astro.config.ts +44 -0
  16. package/package.json +42 -27
  17. package/pnpm-lock.yaml +5515 -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,57 @@
1
+ name: "Bug report"
2
+ description: Report an issue
3
+ title: '[bug]: '
4
+ labels: ["bug"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ ### Thanks for taking the time to create a bug report. Please search existing issues before submitting, as the issue may have already been addressed.
10
+
11
+ - type: textarea
12
+ id: bug-description
13
+ attributes:
14
+ label: Describe the bug
15
+ description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, describe how in the description.
16
+ placeholder: Bug description
17
+ validations:
18
+ required: true
19
+
20
+ - type: input
21
+ id: components-affected
22
+ attributes:
23
+ label: Affected component/components/documentation
24
+ description: Is this feature request relevant to any of the already existing components?
25
+ placeholder: ex. Button, Input...
26
+ validations:
27
+ required: false
28
+
29
+ - type: textarea
30
+ id: reproduction
31
+ attributes:
32
+ label: How to reproduce
33
+ description: A step-by-step description of how to reproduce the bug.
34
+ placeholder: |
35
+ 1. Go to '...'
36
+ 2. Click on '....'
37
+ 3. See error
38
+ validations:
39
+ required: true
40
+
41
+ - type: textarea
42
+ id: logs
43
+ attributes:
44
+ label: Logs
45
+ description: "Please include browser console and server logs around the time this bug occurred. Optional if provided reproduction. Please try not to insert an image but copy paste the log text."
46
+ render: bash
47
+
48
+ - type: checkboxes
49
+ id: terms
50
+ attributes:
51
+ label: Before submitting
52
+ description: By submitting this issue, you agree to follow our [Contributing Guidelines](https://github.com/fulldotdev/ui/blob/main/CONTRIBUTING.md).
53
+ options:
54
+ - label: I've made research efforts and searched the documentation
55
+ required: true
56
+ - label: I've searched for existing issues
57
+ required: true
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Get Help on Discord
4
+ url: https://discord.gg/tdmUyH2YE4
5
+ about: If you can't get something to work, open a forum post in our Discord server.
@@ -0,0 +1,39 @@
1
+ name: 'Feature request'
2
+ description: Create a feature request for fulldev-ui
3
+ title: '[feat]: '
4
+ labels: ['area: request']
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ ### Thanks for taking the time to create a feature request! Please search existing issues before submitting, as the issue may have already been addressed.
10
+
11
+ - type: textarea
12
+ id: feature-description
13
+ attributes:
14
+ label: Feature description
15
+ description: Tell us about your feature request
16
+ placeholder: 'I think this feature would be nice to have because...'
17
+ value: 'Describe your feature request...'
18
+ validations:
19
+ required: true
20
+
21
+ - type: input
22
+ id: components-affected
23
+ attributes:
24
+ label: Affected component/components/documentation
25
+ description: Is this feature request relevant to any of the already existing components?
26
+ placeholder: ex. Button, Input...
27
+ validations:
28
+ required: false
29
+
30
+ - type: checkboxes
31
+ id: terms
32
+ attributes:
33
+ label: Before submitting
34
+ description: By submitting this request, you agree to follow our [Contributing Guidelines](https://github.com/fulldotdev/ui/blob/main/CONTRIBUTING.md).
35
+ options:
36
+ - label: I've made research efforts and searched the documentation
37
+ required: true
38
+ - label: I've searched for existing issues and PRs
39
+ required: true
@@ -0,0 +1,23 @@
1
+ # Changes/Additions being made
2
+
3
+ Here give examples of the changes you've made in this pull request. Include an itemized list if you can. It'll help the reviewer
4
+
5
+ ## What's the context?
6
+
7
+ What's the context for the changes? Are there any
8
+
9
+ ## Rationale behind the change or addition
10
+
11
+ Why did you choose to make these changes? Were there any trade-offs you had to consider?
12
+
13
+ ## Test plan
14
+
15
+ How do you know the changes are safe to ship to production?
16
+
17
+ ## Screenshots (optional)
18
+
19
+ If you made visual changes, what are the before an afters?
20
+
21
+ ### Quality check
22
+
23
+ - [ ] Are there any erroneous console logs, debuggers or leftover code in your changes?
@@ -0,0 +1,21 @@
1
+ on:
2
+ release:
3
+ types: [published]
4
+
5
+ jobs:
6
+ github-releases-to-discord:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout
10
+ uses: actions/checkout@v3
11
+ - name: Github Releases To Discord
12
+ uses: SethCohen/github-releases-to-discord@v1.13.1
13
+ with:
14
+ webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
15
+ color: '2105893'
16
+ username: 'Release Changelog'
17
+ avatar_url: 'https://raw.githubusercontent.com/fulldotdev/ui/main/siteicon.png'
18
+ content: '@everyone'
19
+ footer_title: 'fulldev-ui'
20
+ footer_icon_url: 'https://raw.githubusercontent.com/fulldotdev/ui/main/siteicon.png'
21
+ footer_timestamp: true
@@ -0,0 +1,15 @@
1
+ # Dependencies
2
+ **/node_modules
3
+ /.pnp
4
+ .pnp.js
5
+ .yarn/install-state.gz
6
+
7
+ # Build directories
8
+ **/dist
9
+ **/.astro
10
+ **/.jampack
11
+ **/.vercel
12
+
13
+ # misc
14
+ **/.DS_Store
15
+ *.pem
@@ -0,0 +1,34 @@
1
+ tabWidth: 2
2
+ parser: 'typescript'
3
+ semi: false
4
+ singleQuote: true
5
+ trailingComma: 'es5'
6
+ singleAttributePerLine: true
7
+ plugins:
8
+ - 'prettier-plugin-css-order'
9
+ - 'prettier-plugin-astro'
10
+ - 'prettier-plugin-organize-imports' # Must be last
11
+ - 'prettier-plugin-astro-organize-imports' # Must be last last
12
+ overrides:
13
+ - files: '*.ts'
14
+ options:
15
+ parser: 'typescript'
16
+ - files: '*.astro'
17
+ options:
18
+ parser: 'astro'
19
+ - files: '*.css'
20
+ options:
21
+ parser: 'css'
22
+ - files: '*.pcss'
23
+ options:
24
+ parser: 'css'
25
+ - files: '*.scss'
26
+ options:
27
+ parser: 'scss'
28
+ - files: '*.mdx'
29
+ options:
30
+ parser: 'mdx'
31
+ singleAttributePerLine: false
32
+ - files: '*.yml'
33
+ options:
34
+ parser: 'yaml'
@@ -0,0 +1,4 @@
1
+ {
2
+ "recommendations": ["astro-build.astro-vscode"],
3
+ "unwantedRecommendations": []
4
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "command": "./node_modules/.bin/astro dev",
6
+ "name": "Development server",
7
+ "request": "launch",
8
+ "type": "node-terminal"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "files.autoSave": "onWindowChange",
3
+ "editor.tabSize": 2,
4
+ "editor.indentSize": "tabSize",
5
+ "editor.formatOnSave": true,
6
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
7
+ "prettier.documentSelectors": ["**/*.astro"],
8
+ "[astro]": {
9
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
10
+ },
11
+ "[json]": {
12
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
13
+ },
14
+ "[javascript]": {
15
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
16
+ },
17
+ "[typescript]": {
18
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
19
+ },
20
+ "files.associations": {
21
+ "*.astro": "astro"
22
+ },
23
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,100 @@
1
+ ### fulldev-ui@0.3.36
2
+
3
+ ## What's Changed
4
+
5
+ Update theming.mdx by @spjpgrd in https://github.com/fulldotdev/ui/pull/41
6
+
7
+ ## New Contributors
8
+
9
+ @spjpgrd made their first contribution in https://github.com/fulldotdev/ui/pull/41
10
+
11
+ ---
12
+
13
+ ### fulldev-ui@0.3.28
14
+
15
+ - removed some dependencies on scss, more to come
16
+ - fixed color/contrast selector specificity
17
+ - improved auto-spacing for structures and segments
18
+ - added text-align to align prop on top of align-items
19
+ - added missing size prop type to card
20
+ - general minor fixes and improvements
21
+
22
+ ---
23
+
24
+ ### fulldev-ui@0.3.7
25
+
26
+ This release includes minor fixes and improvements
27
+
28
+ - z-index 1 to all components for img background
29
+ - avatar size improved
30
+ - button now accepts avatar
31
+ - image mask-lg
32
+ - rating accepts label and avatars
33
+ - card only overflow when panel
34
+ - section overflow-hidden when panel
35
+ - child spacing fixes
36
+
37
+ ---
38
+
39
+ ### fulldev-ui@0.3.2
40
+
41
+ - We have refactored the documentation of every single component for better understanding.
42
+ - Component documentation now includes an interactive story-like preview. You can play around with live props and copy the code.
43
+ - Added a search function to the header.
44
+ - Props are now displayed more clearly with better examples using a table.
45
+
46
+ ### Tailwind Plugin & UnoCSS Preset
47
+
48
+ For more information on this, visit the [frameworks page](https://ui.full.dev/overview/frameworks/).
49
+
50
+ ### Base Components
51
+
52
+ - [Checkbox component](https://ui.full.dev/base/checkbox/) added
53
+ - [Image component](https://ui.full.dev/base/image/) added
54
+ - [Table component](https://ui.full.dev/base/table/) added
55
+ - [Rating component](https://ui.full.dev/base/rating) added
56
+ - [Select](https://ui.full.dev/base/select) and [Input](https://ui.full.dev/base/input) components have been modified to accept a label.
57
+
58
+ ### Typography Components
59
+
60
+ - [Text component](https://ui.full.dev/typography/text/) (renamed from Paragraph)
61
+ - [Link Component](https://ui.full.dev/typography/link) now has an underline prop.
62
+
63
+ ### Structure Components
64
+
65
+ - [Wrap structure](https://ui.full.dev/structure/wrap/) added
66
+ - Group structure removed, you can use Column, Row or Wrap directly
67
+ - Stack has been renamed to Column
68
+
69
+ ### Segment Components
70
+
71
+ - [Header component](https://ui.full.dev/segment/header/) added
72
+ - [Footer component](https://ui.full.dev/segment/footer/) added
73
+ - Deck segment removed, you can use Grid, Carousel or Masonry directly
74
+
75
+ Theming
76
+ [Theming](https://ui.full.dev/overview/theming/) has been revamped. Please read the documentation.
77
+
78
+ Props:
79
+
80
+ - `density` has been replaced by a boolean prop called `compact`
81
+ - `variant` has different values.
82
+ - `contrast` has been added as a boolean prop. Formerly was included in variant
83
+ - `color` prop added as part of the revamped theming system
84
+
85
+ ## Migrating from v0.2
86
+
87
+ Please go through the above specified changes and update you project accordingly. From this point on versions will have a lot less breaking changes. If they still do appear, we make sure to provide clear migration instructions.
88
+
89
+ For any feedback, issues, or missing information, please create an [issue](https://github.com/fulldotdev/ui/issues/new/choose). We'd also love to hear what you think about this release and invite you to have a chat in our [Discord](https://discord.gg/CAqgtsgW).
90
+
91
+ ---
92
+
93
+ ## fulldev-ui@0.2.10
94
+
95
+ In this release we focussed on showing and improving the things that make Fulldev UI unique.
96
+
97
+ - Updated homepage to include examples and features
98
+ - Updates default and docs color palette to be more like the Astro ecosystem
99
+ - Added segment and structure components
100
+ - Added support for usage with CSS/JS frameworks
@@ -0,0 +1,102 @@
1
+ # Contributing
2
+
3
+ We're excited by your interest in contributing to fulldev-ui,
4
+ Here lay a few resources we wrote to help you do it!
5
+
6
+ ## Repo Structure
7
+
8
+ ```md
9
+ .
10
+ ├── src/
11
+ │ ├── blocks/
12
+ │ │ └── ...
13
+ │ ├── components/
14
+ │ │ └── ...
15
+ │ ├── content/
16
+ │ │ ├── pages/
17
+ │ │ │ └── ...
18
+ │ │ ├── settings/
19
+ │ │ │ └── ...
20
+ │ │ └── ...
21
+ │ ├── css/
22
+ │ │ └── ...
23
+ │ ├── integration/
24
+ │ │ └── ...
25
+ │ ├── layouts/
26
+ │ │ └── ...
27
+ │ ├── pages/
28
+ │ │ └── ...
29
+ │ ├── schemas/
30
+ │ │ └── ...
31
+ │ └── utils/
32
+ │ └── ...
33
+ ├── public/
34
+ │ └── ...
35
+ └──
36
+ ```
37
+
38
+ ### /src
39
+
40
+ The main source directory containing all the core files of the project.
41
+
42
+ - **blocks/**: Contains reusable block components that can be composed to build pages also exported to the package.
43
+ - **components/**: Houses individual UI components used throughout the project also exported to the package.
44
+ - **content/**: Stores content-related files:
45
+ - **pages/**: Contains markdown or MDX files for individual pages.
46
+ - **settings/**: Includes configuration files for various settings like the sidebar.
47
+ - **css/**: Contains global CSS files and styles.
48
+ - **integration/**: Holds astro integration-related code.
49
+ - **layouts/**: Stores layout components used to structure pages.
50
+ - **pages/**: Contains Astro page components that define the routes of the website.
51
+ - **schemas/**: Includes schema definitions for content validation.
52
+ - **utils/**: Houses utility functions and helper modules used across the project.
53
+
54
+ ## Development
55
+
56
+ ### Setup
57
+
58
+ 1. Clone the Github repository in your designated folder:
59
+
60
+ ```bash
61
+ git clone https://github.com/fulldotdev/ui.git
62
+ ```
63
+
64
+ 2. Enter the folder using `cd ui`.
65
+
66
+ 3. Create a new branch:
67
+
68
+ ```bash
69
+ git checkout -b my-new-branch
70
+ ```
71
+
72
+ 1. Install the packages using pnpm:
73
+
74
+ ```bash
75
+ pnpm install
76
+ ```
77
+
78
+ Make sure to do this in root to make sure you're using the local version of the component package.
79
+
80
+ 1. Run the development server:
81
+
82
+ ```bash
83
+ pnpm dev
84
+ ```
85
+
86
+ ## Commit & Pull Requests
87
+
88
+ ### Commit Conduct
89
+
90
+ For a faster and easier review we advise you to use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
91
+
92
+ ## Community / Contact
93
+
94
+ Looking to share your work using fulldev-ui, regular talks about it or support join our [discord server](https://discord.gg/tdmUyH2YE4).
95
+
96
+ ## License
97
+
98
+ MIT License
99
+
100
+ Copyright (c) 2024 Sil Veltman
101
+
102
+ For the entire license [read this](https://github.com/fulldotdev/ui/blob/main/LICENCE).
package/LICENCE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Fulldev, Sil Veltman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,21 +1,23 @@
1
1
  # Fulldev UI
2
2
 
3
- The [Astro][astro] UI library for content-driven websites
4
-
5
- Rapidly build content-driven websites, with the power of modern design,
6
- static / server rendering, and CSS cascading styles.
3
+ The [Astro][astro] UI library to build entire websites
7
4
 
5
+ Make websites with prebuilt components and blocks
8
6
  ## Documentation
9
7
 
10
8
  Please visit the [documentation site][docs]
11
9
 
10
+ ## Contributing
11
+
12
+ We welcome all contributions. Please read our [contributing guide](/CONTRIBUTING.md) to get started.
13
+
12
14
  ## Support
13
15
 
14
- Please [create a Github issue ][issues] for things that cross your mind; feature requests, bug reports or feedback.
16
+ Please [create a Github issue][issues] for things that cross your mind; feature requests, bug reports or feedback.
15
17
 
16
- ## Older versions
17
- This package has moved to here. See [this package](https://www.npmjs.com/package/@fullui/ui) for older versions.
18
+ ## Community / Contact
18
19
 
20
+ Looking to share your work using fulldev-ui, regular talks about it or support join our [discord server](https://discord.gg/tdmUyH2YE4).
19
21
 
20
22
  ## License
21
23
 
@@ -0,0 +1,44 @@
1
+ import mdx from '@astrojs/mdx'
2
+ import sitemap from '@astrojs/sitemap'
3
+ // @ts-ignore
4
+ import liveCode from 'astro-live-code'
5
+ import pagefind from 'astro-pagefind'
6
+ import { defineConfig } from 'astro/config'
7
+ import integration from 'fulldev-ui/integration'
8
+
9
+ // https://astro.build/config
10
+ export default defineConfig({
11
+ site: 'https://ui.full.dev',
12
+ integrations: [
13
+ sitemap(),
14
+ mdx(),
15
+ pagefind(),
16
+
17
+ liveCode({
18
+ layout: '/src/components/experimental/Window.astro',
19
+ }),
20
+ integration({
21
+ css: '/src/css/custom.css',
22
+ colors: {
23
+ theme: 'dark',
24
+ light: {
25
+ background: '#fff',
26
+ base: '#6F6D66',
27
+ brand: '#F50',
28
+ },
29
+ dark: {
30
+ background: '#111110',
31
+ base: '#6F6D66',
32
+ brand: '#F50',
33
+ },
34
+ },
35
+ }),
36
+ ],
37
+ redirects: {
38
+ '/discord': 'https://discord.gg/vXZqMbadm8',
39
+ '/segment/card': '/base/card',
40
+ '/segment/section': '/base/section',
41
+ '/segment/header': '/blocks/header',
42
+ '/segment/footer': '/blocks/footer',
43
+ },
44
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
- "version": "0.3.36",
3
+ "version": "0.4.0-beta.1",
4
4
  "description": "A component library built for Astro",
5
5
  "homepage": "https://ui.full.dev",
6
6
  "bugs": "https://github.com/fulldotdev/ui/issues",
@@ -8,6 +8,7 @@
8
8
  "author": "Fulldev <contact@full.dev> (https://full.dev)",
9
9
  "repository": "github:fulldotdev/ui",
10
10
  "keywords": [
11
+ "astro-integration",
11
12
  "withastro",
12
13
  "astro",
13
14
  "astro-component",
@@ -17,37 +18,51 @@
17
18
  ],
18
19
  "scripts": {
19
20
  "dev": "astro dev",
20
- "test": "astro check",
21
- "check": "astro check"
21
+ "start": "astro dev",
22
+ "build": "astro build",
23
+ "check": "astro check",
24
+ "preview": "astro preview",
25
+ "astro": "astro",
26
+ "test": "astro check && astro build && astro preview --host"
22
27
  },
23
28
  "type": "module",
24
29
  "exports": {
25
- ".": "./src/index.ts",
26
- "./color": "./src/css/color.css",
27
- "./integration": "./src/integration/integration.ts",
28
- "./tailwind": "./src/integration/tailwind.ts",
29
- "./unocss": "./src/integration/unocss.ts"
30
- },
31
- "devDependencies": {
32
- "@astrojs/check": "^0.5.9",
33
- "@types/flat": "^5.0.5",
34
- "unocss": "^0.61.0"
35
- },
36
- "peerDependencies": {
37
- "astro": "^4.5.5",
38
- "typescript": "^5.4.3"
30
+ ".": "./src/integration/index.ts",
31
+ "./*": "./src/*",
32
+ "./[...page].astro": "./src/pages/[...page].astro",
33
+ "./integration": "./src/integration/index.ts",
34
+ "./tailwind": "./src/integration/tailwind-plugin.ts",
35
+ "./unocss": "./src/integration/unocss-preset.ts"
39
36
  },
40
37
  "dependencies": {
41
- "@iconify-json/tabler": "^1.1.109",
42
- "astro-seo": "^0.8.3",
43
- "flat": "^6.0.1",
44
- "html-element-attributes": "^3.4.0",
38
+ "@astrojs/mdx": "^3.1.6",
39
+ "@astrojs/sitemap": "^3.1.6",
40
+ "@astrolib/seo": "1.0.0-beta.6",
41
+ "@iconify-json/tabler": "^1.2.3",
42
+ "@radix-ui/colors": "^3.0.0",
43
+ "astro": "^4.15.7",
44
+ "astro-live-code": "^0.0.3",
45
+ "astro-pagefind": "^1.6.0",
46
+ "astro-seo": "^0.8.4",
47
+ "bezier-easing": "^2.1.0",
48
+ "colorjs.io": "^0.5.2",
49
+ "deepmerge": "^4.3.1",
50
+ "fs": "0.0.1-security",
45
51
  "radash": "^12.1.0",
46
- "remeda": "1.61.0",
47
- "sass": "^1.77.0",
48
- "tailwindcss": "^3.4.4",
49
- "tailwindcss-themer": "^4.0.0",
50
- "typescript": "^5.4.3",
52
+ "remeda": "2.14.0",
53
+ "sass": "^1.79.1",
54
+ "tailwindcss": "^3.4.12",
55
+ "typescript": "^5.6.2",
56
+ "unocss": "^0.62.4",
57
+ "url": "^0.11.4",
51
58
  "vite-plugin-virtual": "^0.3.0"
59
+ },
60
+ "devDependencies": {
61
+ "@astrojs/check": "^0.9.3",
62
+ "prettier": "3.3.3",
63
+ "prettier-plugin-astro": "0.14.1",
64
+ "prettier-plugin-astro-organize-imports": "^0.4.9",
65
+ "prettier-plugin-css-order": "^2.1.2",
66
+ "prettier-plugin-organize-imports": "^4.0.0"
52
67
  }
53
- }
68
+ }