-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(examples): MDUI framework #2976
Open
thanhngoc541
wants to merge
7
commits into
gnolang:master
Choose a base branch
from
VAR-META-Tech:mdui_package
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+842
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thanhngoc541
requested review from
ltzmaxwell and
piux2
and removed request for
a team
October 18, 2024 02:34
github-actions
bot
added
the
🧾 package/realm
Tag used for new Realms or Packages.
label
Oct 18, 2024
thanhngoc541
changed the title
fear(examples): MDUI framework
feat(examples): MDUI framework
Oct 18, 2024
jefft0
added
the
review/triage-pending
PRs opened by external contributors that are waiting for the 1st review
label
Oct 18, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2976 +/- ##
==========================================
- Coverage 63.10% 63.08% -0.02%
==========================================
Files 564 564
Lines 79273 79273
==========================================
- Hits 50023 50010 -13
- Misses 25886 25897 +11
- Partials 3364 3366 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🧾 package/realm
Tag used for new Realms or Packages.
review/triage-pending
PRs opened by external contributors that are waiting for the 1st review
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #2753
MDUI - Markdown UI Framework for Gno.land
This PR introduces the
mdui
package, a Markdown UI framework designed for rendering clean, reusable UI components in Gno.land realms. The goal is to simplify UI development with a set of pre-defined components that can be easily integrated into any Gno project.Features
The
mdui
package provides several reusable components for building user interfaces quickly and efficiently. Below is a list of the available components along with sample code.1. Navbar
Description: A navigation menu to create a list of links for site navigation.
Sample Code:
2. Heading
Description: Creates a Markdown heading (from H1 to H6).
Sample Code:
3. Button
Description: A clickable button component, implemented as a link in Markdown.
Sample Code:
4. Image
Description: An image component for displaying pictures with optional alt text.
Sample Code:
5. Code Block
Description: A component for rendering code blocks in Markdown.
Sample Code:
6. Divider
Description: A horizontal line divider for separating content.
Sample Code:
7. Paragraph
Description: Formats a block of text as a paragraph.
Sample Code:
8. Quote
Description: A blockquote component for highlighting quoted text.
Sample Code:
9. List (Unordered)
Description: Generates an unordered Markdown list.
Sample Code:
10. List (Ordered)
Description: Generates an ordered Markdown list.
Sample Code:
11. Table
Description: Generates a table with headers and rows for tabular data.
Sample Code:
12. Bold
Description: Formats text in bold.
Sample Code:
13. Italic
Description: Formats text in italic.
Sample Code:
14. Strikethrough
Description: Adds a strikethrough to the text.
Sample Code:
15. Alert
Description: An alert block using Markdown with a specified type (info, warning, danger).
Sample Code:
16. Collapsible
Description: A collapsible section that expands when clicked, using plain Markdown.
Sample Code:
17. Footnote
Description: Generates a footnote reference and definition.
Sample Code:
18. Badge
Description: Creates a badge using the Shields.io service.
Sample Code:
19. Table of Contents
Description: Generates a simple table of contents based on an array of headings.
Sample Code:
20. Keyboard Shortcut
Description: Formats a keyboard shortcut in Markdown using code block style.
Sample Code:
21. Emoji
Description: Adds an emoji to the content using a shortcode.
Sample Code:
22. Blockquote with Citation
Description: Generates a Markdown blockquote with an optional citation.
Sample Code:
23. Badge with Icon
Description: Creates a badge with an icon using Shields.io.
Sample Code:
Contributors' checklist...
BREAKING CHANGE: xxx
message was included in the description