Giter VIP home page Giter VIP logo

matsp / material-components-vue Goto Github PK

View Code? Open in Web Editor NEW
304.0 304.0 44.0 10.15 MB

Material Design styled components for Vue.js

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

License: MIT License

JavaScript 31.45% Vue 66.65% CSS 1.90%
material material-components-vue material-components-web material-design material-design-components mdc vue-components vuejs vuejs-components

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.