Coder Social home page Coder Social logo

kinoplan / scalajs-react-material-ui Goto Github PK

View Code? Open in Web Editor NEW
29.0 8.0 10.0 305.19 MB

Scala.js wrapper of http://material-ui.com for use with https://github.com/japgolly/scalajs-react

License: Apache License 2.0

Scala 100.00%
scala scalajs scalajs-react facade wrapper material-ui demo

scalajs-react-material-ui's Introduction

scalajs-react-material-ui

Usage

The scalajs-react-material-ui libraries is currently available for Scala.js 1.8.0+ and Scala 2.13.x.

  1. Add libraryDependencies to your scalajs-react project:

    libraryDependencies ++= Seq(
      "io.kinoplan" %%% "scalajs-react-material-ui-core"  % ${version},
      "io.kinoplan" %%% "scalajs-react-material-ui-icons" % ${version},
      "io.kinoplan" %%% "scalajs-react-material-ui-lab"   % ${version}
    )
  2. Add npmDependencies using scalajs-bundler:

    npmDependencies in Compile ++= Seq(
      "@material-ui/core"  -> "3.9.4",
      "@material-ui/icons" -> "3.0.2",
      "@material-ui/lab"   -> "3.0.0-alpha.30"
    )

Demo

See the demo project.

The project has almost all the examples in the js Component Demos written in Scala!

In the demo you can also find very detailed examples of using a bunch of:

Start:1

  1. sbt dev
  2. Open in browser localhost:8080

Contributing

See CONTRIBUTING.md for more details about how to contribute.

License

This project is licensed under the terms of the Apache License, Version 2.0.

Footnotes

  1. (See CONTRIBUTING.md for installing the necessary tools to run) โ†ฉ

scalajs-react-material-ui's People

Contributors

dependabot[bot] avatar kazievab avatar mergify[bot] avatar scala-steward 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scalajs-react-material-ui's Issues

Plans to upgrade material-ui

Are there any plans to upgrade to a newer version of material-ui? Are there specific hurdles, or is this something that can even I as a newcomer can contribute to the project?

CSS style tag precedence.

I am attempting to apply css transitions to a material-ui AppBar that affect its width, however, it seems that the style for AppBar is being registered after my own CSS styles causing the width attribute to not change.

I managed to fix this behavior by marking the styles as important, but is there a way to make sure that the material-ui styles are registered before my own styles?

MuiBox is not present

I am trying to get my existing code base to be more responsive and MuiBox could be one of essential component. Wondering why it is missed till now and are there any plans to add it ?

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.