Giter Club home page Giter Club logo

matblazor's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

matblazor's Issues

Text Button rendering issue

Text Button is rendered incorrectly in Safari.

Screenshot 2019-04-10 at 10 47 24

I think mdc-button has 2 line-height styles on of which is incorrect.

FullWidth MatTextField style

This piece of css is causing the placeholder to be too close to the input text. Is this desired? I can do my own css to change it but to me it seems like it is something that is not needed. If I remove it then it looks more correct:

.mdc-text-field--fullwidth:not(.mdc-text-field--textarea) .mdc-text-field__input{padding: 0 }

Before / After:

Padding

I can submit a PR if you like. Thanks

Material Design UI version and license

It's not very clear what UI library this project depends on and what version it's using.
There are no comments or licenses (must be retained in some cases) in the JS/CSS files

It appears that its using the following https://github.com/material-components/material-components-web

This libraries license states: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."

 * @license
 * Copyright 2016 Google Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

align the icon in a MatButton

It would be nice to be able to align the icon for a MatButton the same way we can do it with the MatChip using LeadingIcon or TrailingIcon

Razor Components

It seems the library breaks if I try to use it in razor components? can anyone help?

Elevation

I want to elevate the app bar to make a cooler design.
Can you help me to do this?

Thanks

Logo and icon

If somebody have idea or opportunity or Inspiration to make logo or icons for our project, it would be good.

Table

I am building the MatTable component. Attempting to keep it simple to start and most likely will get a lot of requests for functionality and that control. Needs to start somewhere though.

Will have a PR for it soon. Needed the MatIconButton Changes for the Pagination control.

Tooltip

Please add Tooltip support

Cleanup Demo

Howdy! Wanted to post an issue before I just did it, but I was thinking about going through and doing the follow (and possibly more) for demo:

  • Fix left nav buttons to nav on click anywhere (rather than just text)
  • Add padding to right page
  • Small tweaks like making the iframe for the Navigation demo component look cleaner.

If you'd take a PR, I'd be happy to do the above :)

How to set custom values for CSS properties

thanks for the components - I really enjoy experimenting with them.

I was wondering if there is a way to set custom values for CSS properties like --mdc-theme-primary?
It would be nice to control the overall look of the components by setting a global property.

Expansion Panel

I see other Material Repos with an Expansion Panel. I started building one and was curious if I did one is that something you would want in MatBlazor? I can build in my repo and have you review it before submitting a PR.

Looking at the angular or the React as examples:

https://material-ui.com/demos/expansion-panels/
https://material.angular.io/components/expansion/overview#action-bar

A couple of questions if you want. Where is the best place to put custom css or javascript? I have not come across any place yet in your repo.

CheckBox in CompnentBase Class

Error: System.InvalidOperationException: Object of type 'MatBlazor.Components.MatCheckbox.MatCheckbox' does not have a property matching the name 'ChildContent'

Error when using checkbox in a page when the page inherits a class with the ComponentBase class. It looks like this parameter is missing. I am submitting a PR for it now. I am not 100% if other components need this as well.

Also I am getting the error in my app and was able to recreate it in the MatBlazor.Demo.App.

Nuget package for last version before upgrading to .net core 3

Hi,

I just started to use your project and i love it! Very clean and easy to use. I discovered that the version 0.4.5 doesn't have many of the controls you've already implemented. I would like to stick with .NET Core 2.x. Would you be so kind and generate a nuget package with latest state before you upgraded to .NET Core 3.x? Thank you.

BlazoGridView Code Sharing

Hi @enkodellc I saw your reply. I have been very busy with not too much time. I will share my BlazorGridView component code. Its still lack of missing some features like clicking on header and sort the table but the paging is fully functional server/client side. Let me know if you need some help to get in it to work. I left the code in txt file cause the gridview is pretty long and the BlazorMessageAlert is being used internally. You can remove the blazor message alert component it is in really needed at all, I did't for personal purpose and for the gridview to be self managed by itself. I have other components handcfrated like autocomplete, input, checkbox, listview if you are interest to see them let me know to prepare another project with all the samples running so you can adapt it to you framework more easily. Cheers!
PS: I saw you already have most of them. haha
BlazorMessageAlert.txt
BlazorGridView.txt

Autocomplete issue

Steps to reproduce:
Go to demo http://matblazor.com
In the first autocomplete select one
Try to remove one character

Cause:
AllowFreeText is by default false which cause to consider on a free text and autoselect the first value in the list(one) so you cannot delete.

Fixed:
That I remove AllowFreeText functionality and use true as default. If someone doesn't want to allow free text, they'll use a select instead of an autocomplete.

Tested:
That MatAutocomplete works as expected.

I'll also add some documentation for MatAutocomplete.

MatSlider ValueChanged does not fire

Hello there,

Thanks for all great razor components.

I'm using the MatSlider component, but the ValueChanged event does not fire, and examples in the doc don't show anything about it. Please, could anybody help me on this? Also, the Step property does not make any change on the slider.

Thanks in advance.

AutoComplete

I am very excited of what @sandrohanea make.
So, I think in very nearest feature we will have AutoComplete component.
Thank you!

Button Icon Customisation

Is it possible to customise background and foreground colours of MatIconButton? I tried to use Class and Style, but they were ignored.

Error since adding MatBlazor: The types BlazorWebAssemblyHost and IWebAssemblyHostBuilder exist in two assemblies

Hello MatBlazor developers!

Blazor and MatBlazor are both great ideas. I'm experimenting with them at the moment in a Blazor
app using v 0.9.0 Preview 3 of Blazor.

Since I installed the MatBlazor library (latest stable v 0.4.5 from Nuget) it has introduced a compilation error into my project. The error is below:

Error CS0433 The type 'IWebAssemblyHostBuilder' exists in both 'Microsoft.AspNetCore.Blazor.Browser, Version=0.7.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Blazor, Version=0.9.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' BlazorClient C:\Users\USER\BlazorClient\Program.cs 12

And here is line 12-16 of Program.cs (which I have not changed - it's just from the template)

        public static IWebAssemblyHostBuilder CreateHostBuilder(string[] args)
        {
            return BlazorWebAssemblyHost.CreateDefaultBuilder()
                .UseBlazorStartup<Startup>();
        }

Fully qualifying the names of these two classes (IWebAssemblyHostBuilder and BlazorWebAssemblyHost) did not help. I guess because they're exactly the same classes in the same namespaces but have moved from one DLL to another.

Can anybody assist with this error please?

Many thanks in advance!

Benjamin

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.