fulldev-ui 0.3.35 → 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.
- package/.github/ISSUE_TEMPLATE/bug_report.yml +57 -0
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
- package/.github/pull_request_template.md +23 -0
- package/.github/workflows/github-releases-to-discord.yml +21 -0
- package/.prettierignore +15 -0
- package/.prettierrc.yaml +34 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +11 -0
- package/.vscode/settings.json +23 -0
- package/CHANGELOG.md +100 -0
- package/CONTRIBUTING.md +102 -0
- package/LICENCE +21 -0
- package/README.md +9 -6
- package/astro.config.ts +44 -0
- package/package.json +41 -27
- package/pnpm-lock.yaml +6229 -0
- package/public/favicon/android-chrome-192x192.png +0 -0
- package/public/favicon/android-chrome-512x512.png +0 -0
- package/public/favicon/apple-touch-icon.png +0 -0
- package/public/favicon/browserconfig.xml +9 -0
- package/public/favicon/favicon-16x16.png +0 -0
- package/public/favicon/favicon-32x32.png +0 -0
- package/public/favicon/favicon.ico +0 -0
- package/public/favicon/mstile-150x150.png +0 -0
- package/public/favicon/safari-pinned-tab.svg +17 -0
- package/public/favicon/site.webmanifest +19 -0
- package/public/images/avatar-placeholder.jpg +0 -0
- package/public/images/avatars/1.jpeg +0 -0
- package/public/images/avatars/2.jpeg +0 -0
- package/public/images/avatars/3.jpeg +0 -0
- package/public/images/avatars/300/1.jpeg +0 -0
- package/public/images/avatars/300/2.jpeg +0 -0
- package/public/images/avatars/300/3.jpeg +0 -0
- package/public/images/avatars/300/4.jpeg +0 -0
- package/public/images/avatars/4.jpeg +0 -0
- package/public/images/avatars/5.jpeg +0 -0
- package/public/images/avatars/500/1.jpeg +0 -0
- package/public/images/avatars/500/2.jpeg +0 -0
- package/public/images/avatars/500/3.jpeg +0 -0
- package/public/images/avatars/500/4.jpeg +0 -0
- package/public/images/avatars/6.jpeg +0 -0
- package/public/images/avatars/7.jpeg +0 -0
- package/public/images/avatars/8.jpeg +0 -0
- package/public/images/block-code.png +0 -0
- package/public/images/blocks/colleagues.png +0 -0
- package/public/images/blocks/content.png +0 -0
- package/public/images/blocks/cta.png +0 -0
- package/public/images/blocks/features.png +0 -0
- package/public/images/blocks/footer.png +0 -0
- package/public/images/blocks/header.png +0 -0
- package/public/images/blocks/hero.png +0 -0
- package/public/images/blocks/intro.png +0 -0
- package/public/images/blocks/posts.png +0 -0
- package/public/images/blocks/prices.png +0 -0
- package/public/images/blocks/reviews.png +0 -0
- package/public/images/component-code.png +0 -0
- package/public/images/logo-placeholder.svg +1 -0
- package/public/images/placeholder-center.webp +0 -0
- package/public/images/placeholder-landscape-dark.png +0 -0
- package/public/images/placeholder-landscape.webp +0 -0
- package/public/images/placeholder-portrait.webp +0 -0
- package/public/images/placeholder-right.webp +0 -0
- package/public/images/placeholder.webp +0 -0
- package/siteicon.png +0 -0
- package/src/blocks/Categories.astro +12 -0
- package/src/blocks/Colleagues.astro +12 -0
- package/src/blocks/Contact.astro +152 -0
- package/src/blocks/Content.astro +12 -0
- package/src/blocks/Cta.astro +14 -0
- package/src/blocks/Features.astro +11 -0
- package/src/blocks/Footer.astro +7 -0
- package/src/blocks/Header.astro +7 -0
- package/src/blocks/Hero.astro +16 -0
- package/src/blocks/Intro.astro +19 -0
- package/src/blocks/Jobs.astro +12 -0
- package/src/blocks/Posts.astro +11 -0
- package/src/blocks/Prices.astro +22 -0
- package/src/blocks/Product.astro +64 -0
- package/src/blocks/Products.astro +11 -0
- package/src/blocks/Reviews.astro +13 -0
- package/src/components/{base/Avatar.astro → Avatar.astro} +7 -11
- package/src/components/{base/Badge.astro → Badge.astro} +36 -22
- package/src/components/{structure/Bento.astro → Bento.astro} +6 -9
- package/src/components/Block.astro +157 -0
- package/src/components/Blocks.astro +5 -0
- package/src/components/Box.astro +60 -0
- package/src/components/Button.astro +140 -0
- package/src/components/Card.astro +212 -0
- package/src/components/{structure/Carousel.astro → Carousel.astro} +13 -16
- package/src/components/Checkbox.astro +63 -0
- package/src/components/{structure/Column.astro → Column.astro} +18 -9
- package/src/components/Dialog.astro +65 -0
- package/src/components/Drawer.astro +99 -0
- package/src/components/Footer.astro +144 -0
- package/src/components/{structure/Grid.astro → Grid.astro} +7 -10
- package/src/components/Head.astro +85 -0
- package/src/components/Header.astro +204 -0
- package/src/components/Heading.astro +79 -0
- package/src/components/{base/Icon.astro → Icon.astro} +7 -9
- package/src/components/{base/Image.astro → Image.astro} +32 -30
- package/src/components/Input.astro +119 -0
- package/src/components/{typography/Label.astro → Label.astro} +12 -12
- package/src/components/{typography/Link.astro → Link.astro} +15 -13
- package/src/components/List.astro +41 -0
- package/src/components/{structure/Masonry.astro → Masonry.astro} +9 -11
- package/src/components/Rating.astro +82 -0
- package/src/components/{_Component.astro → Root.astro} +9 -11
- package/src/components/{structure/Row.astro → Row.astro} +6 -9
- package/src/components/Search.astro +62 -0
- package/src/components/Section.astro +274 -0
- package/src/components/Select.astro +144 -0
- package/src/components/Sidebar.astro +71 -0
- package/src/components/{structure/Split.astro → Split.astro} +6 -9
- package/src/components/{structure/Spread.astro → Spread.astro} +6 -9
- package/src/components/Switch.astro +114 -0
- package/src/components/Table.astro +121 -0
- package/src/components/Tagline.astro +35 -0
- package/src/components/Text.astro +43 -0
- package/src/components/Textarea.astro +105 -0
- package/src/components/Toc.astro +52 -0
- package/src/components/{structure/Wrap.astro → Wrap.astro} +5 -10
- package/src/components/docs/DecorativeBox.astro +15 -0
- package/src/components/docs/PropsTable.astro +95 -0
- package/src/components/experimental/Channel.astro +15 -10
- package/src/components/experimental/Form.astro +34 -0
- package/src/components/experimental/Gallery.astro +180 -0
- package/src/components/experimental/GalleryVertical.astro +161 -0
- package/src/components/{base → experimental}/Logo.astro +3 -5
- package/src/components/experimental/Price.astro +17 -15
- package/src/components/experimental/Prose.astro +154 -0
- package/src/components/{base → experimental}/Video.astro +1 -1
- package/src/components/experimental/Window.astro +173 -0
- package/src/content/config.ts +16 -13
- package/src/content/pages/_changelog.mdx +10 -0
- package/src/content/pages/_segment/footer.mdx +244 -0
- package/src/content/pages/_segment/header.mdx +210 -0
- package/src/content/pages/base/_dialog.mdx +17 -0
- package/src/content/pages/base/_drawer.mdx +17 -0
- package/src/content/pages/base/_image.mdx +14 -0
- package/src/content/pages/base/_switch.mdx +33 -0
- package/src/content/pages/base/badge.mdx +70 -0
- package/src/content/pages/base/button.mdx +71 -0
- package/src/content/pages/base/card.mdx +114 -0
- package/src/content/pages/base/checkbox.mdx +43 -0
- package/src/content/pages/base/icon.mdx +54 -0
- package/src/content/pages/base/input.mdx +67 -0
- package/src/content/pages/base/rating.mdx +66 -0
- package/src/content/pages/base/section.mdx +79 -0
- package/src/content/pages/base/select.mdx +77 -0
- package/src/content/pages/base/table.mdx +133 -0
- package/src/content/pages/base/textarea.mdx +73 -0
- package/src/content/pages/blocks/_banner.mdx +13 -0
- package/src/content/pages/blocks/_categories.mdx +149 -0
- package/src/content/pages/blocks/_jobs.mdx +37 -0
- package/src/content/pages/blocks/_product.mdx +29 -0
- package/src/content/pages/blocks/_products.mdx +55 -0
- package/src/content/pages/blocks/_stats.mdx +34 -0
- package/src/content/pages/blocks/colleagues.mdx +42 -0
- package/src/content/pages/blocks/content.mdx +101 -0
- package/src/content/pages/blocks/cta.mdx +192 -0
- package/src/content/pages/blocks/features.mdx +134 -0
- package/src/content/pages/blocks/footer.mdx +71 -0
- package/src/content/pages/blocks/header.mdx +192 -0
- package/src/content/pages/blocks/hero.mdx +97 -0
- package/src/content/pages/blocks/intro.mdx +132 -0
- package/src/content/pages/blocks/posts.mdx +40 -0
- package/src/content/pages/blocks/prices.mdx +126 -0
- package/src/content/pages/blocks/reviews.mdx +249 -0
- package/src/content/pages/blocks.mdx +10 -0
- package/src/content/pages/index.mdx +65 -0
- package/src/content/pages/overview/frameworks.mdx +180 -0
- package/src/content/pages/overview/installation.mdx +20 -0
- package/src/content/pages/overview/integration.mdx +37 -0
- package/src/content/pages/overview/introduction.mdx +20 -0
- package/src/content/pages/overview/theming.mdx +83 -0
- package/src/content/pages/structure/_row.mdx +23 -0
- package/src/content/pages/structure/_wrap.mdx +25 -0
- package/src/content/pages/structure/carousel.mdx +31 -0
- package/src/content/pages/structure/column.mdx +21 -0
- package/src/content/pages/structure/grid.mdx +26 -0
- package/src/content/pages/structure/masonry.mdx +32 -0
- package/src/content/pages/structure/split.mdx +21 -0
- package/src/content/pages/structure/spread.mdx +21 -0
- package/src/content/pages/typography/_tagline.mdx +36 -0
- package/src/content/pages/typography/heading.mdx +74 -0
- package/src/content/pages/typography/label.mdx +42 -0
- package/src/content/pages/typography/link.mdx +63 -0
- package/src/content/pages/typography/list.mdx +52 -0
- package/src/content/pages/typography/text.mdx +62 -0
- package/src/content/records/record.yml +1 -0
- package/src/content/settings/base.yml +48 -0
- package/src/content/settings/components.yml +27 -0
- package/src/css/color.css +6 -67
- package/src/css/custom.css +59 -0
- package/src/css/size.css +130 -0
- package/src/css/space.css +47 -26
- package/src/css/styles.css +4 -2
- package/src/env.d.ts +1 -1
- package/src/integration/generate-colors.ts +637 -0
- package/src/integration/index.ts +158 -0
- package/src/integration/tailwind-plugin.ts +80 -0
- package/src/integration/unocss-preset.ts +84 -0
- package/src/layouts/BlockLayout.astro +24 -0
- package/src/layouts/BlockOverviewLayout.astro +39 -0
- package/src/layouts/ComponentLayout.astro +23 -0
- package/src/layouts/JobsLayout.astro +40 -0
- package/src/layouts/Layout.astro +168 -0
- package/src/layouts/OverviewLayout.astro +45 -0
- package/src/layouts/PageLayout.astro +32 -0
- package/src/layouts/PostLayout.astro +32 -0
- package/src/layouts/ProductLayout.astro +31 -0
- package/src/pages/[...page].astro +41 -0
- package/src/schemas/base.ts +81 -0
- package/src/schemas/block.ts +15 -0
- package/src/schemas/card.ts +3 -0
- package/src/schemas/page.ts +43 -0
- package/src/schemas/utils.ts +22 -0
- package/src/utils/mergeEntries.ts +28 -0
- package/tsconfig.json +10 -1
- package/.astro/settings.json +0 -5
- package/.astro/types.d.ts +0 -147
- package/.env +0 -1
- package/astro.config.mjs +0 -6
- package/src/components/_Block.astro +0 -20
- package/src/components/_Blocks.astro +0 -11
- package/src/components/_Children.astro +0 -31
- package/src/components/_archive/Body.astro +0 -37
- package/src/components/_archive/Main.astro +0 -28
- package/src/components/_archive/Nav.astro +0 -50
- package/src/components/_todo/Form.astro +0 -36
- package/src/components/_todo/Prose.astro +0 -139
- package/src/components/_todo/Writeup.astro +0 -24
- package/src/components/base/Button.astro +0 -123
- package/src/components/base/Rating.astro +0 -47
- package/src/components/base/checkbox/Checkbox.astro +0 -52
- package/src/components/base/checkbox/CheckboxElement.astro +0 -31
- package/src/components/base/input/Input.astro +0 -79
- package/src/components/base/input/InputElement.astro +0 -69
- package/src/components/base/radio/Radio.astro +0 -66
- package/src/components/base/radio/RadioElement.astro +0 -34
- package/src/components/base/select/Select.astro +0 -90
- package/src/components/base/select/SelectElement.astro +0 -56
- package/src/components/base/select/SelectOption.astro +0 -32
- package/src/components/base/switch/Switch.astro +0 -55
- package/src/components/base/switch/SwitchElement.astro +0 -84
- package/src/components/base/table/Table.astro +0 -57
- package/src/components/base/table/TableBody.astro +0 -38
- package/src/components/base/table/TableCell.astro +0 -30
- package/src/components/base/table/TableFooter.astro +0 -48
- package/src/components/base/table/TableHead.astro +0 -31
- package/src/components/base/table/TableHeader.astro +0 -44
- package/src/components/base/table/TableRow.astro +0 -46
- package/src/components/base/textarea/Textarea.astro +0 -79
- package/src/components/base/textarea/TextareaElement.astro +0 -68
- package/src/components/segment/Box.astro +0 -46
- package/src/components/segment/Card.astro +0 -114
- package/src/components/segment/Footer.astro +0 -94
- package/src/components/segment/Header.astro +0 -100
- package/src/components/segment/Section.astro +0 -103
- package/src/components/segment/_regels.md +0 -32
- package/src/components/typography/Heading.astro +0 -66
- package/src/components/typography/List.astro +0 -47
- package/src/components/typography/ListItem.astro +0 -36
- package/src/components/typography/Paragraph.astro +0 -36
- package/src/components/typography/Tagline.astro +0 -36
- package/src/components/typography/Text.astro +0 -37
- package/src/components/utility/Head.astro +0 -83
- package/src/components/utility/Layout.astro +0 -46
- package/src/content/pages/index.md +0 -2
- package/src/css/color.scss +0 -289
- package/src/css/size.scss +0 -296
- package/src/css/utils.scss +0 -16
- package/src/index.ts +0 -71
- package/src/integration/integration.ts +0 -88
- package/src/integration/tailwind.ts +0 -34
- package/src/integration/unocss.ts +0 -38
- /package/src/{_archive → utils/_archive}/Childmorphic.ts +0 -0
- /package/src/{_archive → utils/_archive}/getAllCollections.ts +0 -0
- /package/src/{_archive → utils/_archive}/getCollectionCascade.ts +0 -0
- /package/src/{_archive → utils/_archive}/getPathname.ts +0 -0
- /package/src/{_archive → utils/_archive}/staticPageSchema.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transform.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformCasing.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformReferences.ts +0 -0
- /package/src/{_archive → utils/_archive}/transform/transformSelfs.ts +0 -0
- /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,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
|
package/.prettierignore
ADDED
package/.prettierrc.yaml
ADDED
|
@@ -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,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
|
package/CONTRIBUTING.md
ADDED
|
@@ -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,24 @@
|
|
|
1
1
|
# Fulldev UI
|
|
2
2
|
|
|
3
|
-
The [Astro][astro] UI library
|
|
3
|
+
The [Astro][astro] UI library to build entire websites
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
static / server rendering, and CSS cascading styles.
|
|
5
|
+
Make good looking websites, no matter your design skills
|
|
7
6
|
|
|
8
7
|
## Documentation
|
|
9
8
|
|
|
10
9
|
Please visit the [documentation site][docs]
|
|
11
10
|
|
|
11
|
+
## Contributing
|
|
12
|
+
|
|
13
|
+
We welcome all contributions. Please read our [contributing guide](/CONTRIBUTING.md) to get started.
|
|
14
|
+
|
|
12
15
|
## Support
|
|
13
16
|
|
|
14
|
-
Please [create a Github issue
|
|
17
|
+
Please [create a Github issue][issues] for things that cross your mind; feature requests, bug reports or feedback.
|
|
15
18
|
|
|
16
|
-
##
|
|
17
|
-
This package has moved to here. See [this package](https://www.npmjs.com/package/@fullui/ui) for older versions.
|
|
19
|
+
## Community / Contact
|
|
18
20
|
|
|
21
|
+
Looking to share your work using fulldev-ui, regular talks about it or support join our [discord server](https://discord.gg/tdmUyH2YE4).
|
|
19
22
|
|
|
20
23
|
## License
|
|
21
24
|
|
package/astro.config.ts
ADDED
|
@@ -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
|
+
"version": "0.4.0-beta.0",
|
|
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,50 @@
|
|
|
17
18
|
],
|
|
18
19
|
"scripts": {
|
|
19
20
|
"dev": "astro dev",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
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
|
-
"
|
|
26
|
-
"./
|
|
27
|
-
"./integration": "./src/integration/
|
|
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/*",
|
|
31
|
+
"./[...page].astro": "./src/pages/[...page].astro",
|
|
32
|
+
"./integration": "./src/integration/index.ts",
|
|
33
|
+
"./tailwind": "./src/integration/tailwind-plugin.ts",
|
|
34
|
+
"./unocss": "./src/integration/unocss-preset.ts"
|
|
39
35
|
},
|
|
40
36
|
"dependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
37
|
+
"@astrojs/mdx": "^3.1.5",
|
|
38
|
+
"@astrojs/sitemap": "^3.1.6",
|
|
39
|
+
"@astrolib/seo": "1.0.0-beta.5",
|
|
40
|
+
"@iconify-json/tabler": "^1.2.1",
|
|
41
|
+
"@radix-ui/colors": "^3.0.0",
|
|
42
|
+
"astro": "^4.15.4",
|
|
43
|
+
"astro-live-code": "^0.0.3",
|
|
44
|
+
"astro-pagefind": "^1.6.0",
|
|
45
|
+
"astro-seo": "^0.8.4",
|
|
46
|
+
"bezier-easing": "^2.1.0",
|
|
47
|
+
"colorjs.io": "^0.5.2",
|
|
48
|
+
"deepmerge": "^4.3.1",
|
|
49
|
+
"fs": "0.0.1-security",
|
|
45
50
|
"radash": "^12.1.0",
|
|
46
|
-
"remeda": "
|
|
47
|
-
"sass": "^1.
|
|
48
|
-
"tailwindcss": "^3.4.
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
+
"remeda": "2.12.0",
|
|
52
|
+
"sass": "^1.78.0",
|
|
53
|
+
"tailwindcss": "^3.4.10",
|
|
54
|
+
"typescript": "^5.5.4",
|
|
55
|
+
"unocss": "^0.62.4",
|
|
56
|
+
"url": "^0.11.4",
|
|
51
57
|
"vite-plugin-virtual": "^0.3.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@astrojs/check": "^0.9.3",
|
|
61
|
+
"prettier": "3.3.3",
|
|
62
|
+
"prettier-plugin-astro": "0.14.1",
|
|
63
|
+
"prettier-plugin-astro-organize-imports": "^0.4.9",
|
|
64
|
+
"prettier-plugin-css-order": "^2.1.2",
|
|
65
|
+
"prettier-plugin-organize-imports": "^4.0.0"
|
|
52
66
|
}
|
|
53
|
-
}
|
|
67
|
+
}
|