Code Monkey home page Code Monkey logo

material-components-vue's Introduction

logo

Material Components Vue

Material Design styled components for Vue.js

Material-components-vue integrates the mdc-web (by google) vanilla components following the simple approach.

https://matsp.github.io/material-components-vue

Development

This project is under active developement but I need any help you can provide. Due to a huge workload in my daily job I'am struggling with upgrading to the newest versions of the upstream project: mdc-web.

Links

Support

If you want to help feel free to submit issues or pull requests. Every information that help to stabilize and improve the library is welcome!

When you want to support me you can buy me a โ˜• here ๐Ÿ‘

Buy Me A Coffee

Features

  • decoupled components
  • implementing just the specs not more or less
  • keep the components as simple as possible
  • keep in sync with changes in the mdc-web repository
  • user friendly component api
  • SSR (Server Side Rendering) support

Documentation

You will find a API documentation for each component in their corresponding component directory:

components/[component]/README.md

Distributions

Name ECMA Minimized
dist/[component]/index.js 5 no
dist/[component]/[component].min.js 5 yes

All versions are provided as UMD modules.

Name Description
dist/[component]/[component].min.css Minified component CSS
dist/[component]/styles.scss Raw SASS styles of mdc-web

material-components-vue's People

Contributors

alan-liang avatar arjanwestdorp avatar ctuu avatar erikminekus avatar greenkeeper[bot] avatar greenkeeperio-bot avatar kevlened avatar kfirba avatar ktmellow avatar matsp avatar pebutler3 avatar renovate[bot] avatar ticamacho avatar tychenjiajun avatar vinaypai avatar

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

material-components-vue's Issues

analysis of functional components

There are a few components in the project that are just wrapping the CSS class of mdc-web and are stateless. As performance optimization we could use functional components that render faster.

Cannot build with webpack

Failed to compile with 1 errors
 error  in ./node_modules/material-components-vue/components/Theme/Theme.vue
Module build failed: Error: Couldn't find preset "stage-0" relative to directory "D:\\app\\node_modules\\material-components-vue"

my js:

import MDTheme from 'material-components-vue/components/Theme/Theme.vue'

build all components as umd modules with own css

There will be no big umd module with all components in the future. While assembling a PWA app this gives me to much critical blocking CSS. Users who want all components have to import all manually or just that they want.

iconToggle is not flexible enough

At the moment it's just possible to use material icons named '_border' as data-off icon.

Refactor the component to use any material icon for data-on and data-off.

Setters seem to be ill-defined for the LinearProgress.vue component

Setters are ill-defined for the LinearProgress component, namely on lines 49 and 52.

We have an attempt to set the value of progress and buffer using function calls, while the setters should be using a normal attribution expression.

Code should be

  • this.mdcLinearProgress.progress = this.progress
  • this.mdcLinearProgress.buffer = this.buffer

instead of

  • this.mdcLinearProgress.progress(this.progress)
  • this.mdcLinearProgress.buffer(this.buffer)

This leads to an exception being raised and hinders the functionality of the LinearProgress.

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.