Giter Site home page Giter Site logo

d-md-components's Introduction

d-md-components

A pack of components according to Google's Material Design based upon mdl (getmdl.io)

Uses css from material-design-lite - Material Design Components in CSS, JS and HTML.
Version: 1.0.2
License: Apache-2.0
Copyright: 2015 Google, Inc.
Link: https://github.com/google/material-design-lite

Tested with above version, file in repository.

Usage

Including

var mdlComponents = require('d-md-components');

app.component(mdlComponents.ComponentName);

Components

d-md-components's People

Contributors

cjblomqvist avatar sjovik avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

d-md-components's Issues

Progress bar and spinner

We should implement components for the progress bar and a spinner. We already have working version of this, but for cleaner/more DRY code it'd be nice to keep them in this module instead.

Implement persistent helper text

At the absolute bottom of https://www.google.com/design/spec/components/text-fields.html#text-fields-required-fields there's a video, where one field has a persistent help text. We should implement support for this. The need rose form a real scenario in one of our projects. I concluded to remove it until we have this solution for it. There are still some questions about what to with errors in such scenario (we should probably discuss), but I can imagine that this will popup again.

textfield does not get proper start height if not visible initially

Solution for when field is empty: Set height to auto if scrollHeight === 0. However, we still don't have a solution for whenever there's a lot of text in the field (as auto only goes so far in such scenarios). One solution to this is to say in the README that the user needs to trigger a function whenever the textarea becomes visible. atm. there is no publicly facing method for this (although _maybeExpand exists - aka. there should be an action for that with a good name).

Further, it would be nice to be able to specify if the textarea should auto-adjust it's height or not.

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.