Coder Social home page Coder Social logo

mudblazor / mudblazor Goto Github PK

View Code? Open in Web Editor NEW
7.2K 88.0 1.2K 33.12 MB

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.

Home Page: http://mudblazor.com

License: MIT License

HTML 19.68% C# 77.13% SCSS 2.42% JavaScript 0.66% PowerShell 0.11%
blazor material netcore wasm blazor-components blazor-server blazor-client blazor-webassembly hacktoberfest csharp

mudblazor's Issues

Rtl Direction Support

Hi every body, I would like to use this good tools in my blazor applications
but I have a question
Dos it support localization and RTL direction and also responsive?
because it is for me a very essential issue.
Thank you very much.

Chip OnClose is never invoked

Hi guys!
First of all, awesome job and beautiful components! Thanks!

The Chip component never invokes the user's OnClose handler. I think the issue is in this method

protected async Task OnCloseHandler(MouseEventArgs ev)
        {
           await OnClick.InvokeAsync(ev);
            if (Command?.CanExecute(CommandParameter) ?? false)
            {
                Command.Execute(CommandParameter);
            }
            // Close code here? if user wants something to happen onclose click above?
        }

Instead of await OnClick.InvokeAsync(ev); should be await OnClose.InvokeAsync(ev);

MudTabs missing scroll feature

Hi there,

If tabs grow out of parent container, there is no possibility to scroll.
A left/right button would be perfect at an overflow.

Dialog

Documentation page needs at least this exampels

  • Sending and Reciving data from dialogs
  • Document how to use Dialog options and some examples.

Date Picker

Implement Date Picker

  • Base component

  • Design

  • Inline version

  • Static version

  • Dialog version

  • Actual functionality with actual picking dates

Redesign theming and customization options

I will start redesignen the Themeprovider, specificly all root CSS vars, go thru every scss file and make sure they apply everywhere.
I will also look on how we can implement more options to the Themeprovider.

1. Primary Task

  • Rework the CSS root vars.
  • Go thru SCSS files make sure they apply everywhere.
  • Create more mixins/sass functions to get cleaner code.
  • Write more documentation on Mudblazor predefined CSS classes.

2. Secondary Task

  • Add FontFamily/Typography options to Themeprovider.
  • Add the possibility to change default spacing in the Themeprovider.
  • Add the possibility to change default breakpoints in the Themeprovider.
  • Implement a theme generator/color picker. (Outputs the text/code so users can easy test and see result directly and copy code)
  • Extend the documentation on theming and how it works

I plan to start this task as soon as possible, probably after i'm done with #59 and #58 components.

Tabs

Needs more examples and different options

MudMenu on TableRow

Hello all,

I was testing the Menu component into a table, but I've seen that the popup menu coordinates didn't wok as expected. Example below:

menu

I took a look on source code, but didn't figure how to fix yet.

Toaster

_toaster.scss

  • Go through it, simplify it
  • Remove sass vars, add mud theme css vars
  • Fix sizing problems with close button

Component

  • Rename to snackbar and extend functionality?

Documentation page

  • Different Severity examples
  • Positioned example
    - [ ] Progress bar example
  • Close Button & Require interaction examples
  • Action on click exampels

Tooltip

Implement tooltip component

With delay option and different positions.

Web font icon support

Add support for Web Font icon for the MudIcon component.

  • Documentate normal usage with built in SVG's
  • Material Icons
  • Font Awesome
  • Document how to use Web Font Icons

Menu

Add Menu component, probably based on MudSelect?

MudTabs missing scroll feature

Hi there,

If tabs grow out of parent container, there is no possibility to scroll.
A left/right button would be perfect at an overflow.

Vuetify like spacing classes

Vuetify like spacing css classes

  • normal padding/margin
  • documentation for normal
  • negative padding/margin
  • documentation for negative

Table

There are a lot of features that can be implemented for table:

  • SimpleTable (no features, very simple use)
  • Pagination
  • Filtering
  • Useing <td> instead of <MudTableCell> is supported
  • better Dark Mode support
  • fixed Header
  • Single selection
  • Multi-Selection (with CheckBoxes)
  • Sorting

For later:

  • Expandable rows
  • Virtualization

Form validatable Checkbox

The idea is to add Label, HelperText and ErrorText to Checkbox and display them when it is not Dense which should be default. So in a form you set Dense="false" (or HideDetails="false" ?) and then it will show validation errors.

Date picker: dialog version

As said in #39, we'll add a dialog version DatePicker later. Right now, everyone can do it themselves by combining Dialog with DatePicker, but ultimately we want to feature a readymade.

Examples (for project starters/templates)

Hey team,

first, congrats on this wonderful project!
This looks awesome and very promising. Customers start to jump onto it for their Blazor applications :-)

One question, do have a timeline (or idea of it) when the samples will be available?

image

Thanks - and keep up the great work.

Slider component

Starting with:
Basic CSS styled HTML slider, with steps option.

Style param for all components

Implemented for Buttons.
Base class MudComponentBase still needs to be added to all components and style="@Style" to their div

Chipset: when removing one item, actually two are removed

Look at the example in https://mudblazor.com/components/chipset
Section Adding and removing chips

If you click Add three times, and then you remove the first Chip, two Chips are actually removed.

I think this is related to the property Deleted in Chip. See conversation in #87

And in the Chip component by itself, if you want to really remove the item that represents a Chip from your list of Chips in OnClose event, you have to put the RemoveOnClose property to false, if not, you remove two items from the screen (but only one from your list). The other item is in your list, but its marked as Deleted, so its not rendered

Autocomplete improvements

We need these improvements on Autocomplete:

  • On dropdown close coerce text back to selected item or empty if nothing selected (PR by HClausing)
  • Call the search function on first click (impl. of search func determines if all are shown or none)
  • Autocomplete should expose OnKeyDown, OnKeyUp and OnKeyPress events
  • list item template

Could not add Mudblazor

Hi
I could not add the Mudblazor package. It's said Package restore failed.

Cycle detected. Mudblazor -> MudBlazor (>= 1.1.1). Checking compatibility of packages on .NETCoreApp,Version=v3.1. Checking compatibility for Mudblazor 1.0.0 with .NETCoreApp,Version=v3.1. All packages and projects are compatible with .NETCoreApp,Version=v3.1. Package restore failed. Rolling back package changes for 'Mudblazor'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.