Coder Social home page Coder Social logo

jbigler / polaris_view_components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baoagency/polaris_view_components

0.0 0.0 0.0 3.66 MB

ViewComponents for Polaris Design System

Home Page: https://polarisviewcomponents.org

License: MIT License

Shell 0.15% JavaScript 22.49% Ruby 59.65% CSS 4.58% HTML 12.75% Dockerfile 0.34% Procfile 0.02%

polaris_view_components's Introduction

Polaris ViewComponents

Polaris ViewComponents is an implementation of the Polaris Design System using ViewComponent.

Polaris ViewComponents

Preview

https://polarisviewcomponents.org

Usage

Render Polaris ViewComponents:

<%= polaris_card(title: "Title") do %>
  <p>Card example</p>
<% end %>

Dependencies

Installation

Add polaris_view_components to your Gemfile:

bundle add polaris_view_components

Run installer:

bin/rails polaris_view_components:install

Upgrade

Check out UPGRADING.md for upgrade instructions.

Development

To get started:

  1. Run: bundle install
  2. Run: yarn install
  3. Run: bin/dev

It will open demo app with component previews on localhost:4000. You can change components and they will be updated on page reload. Component previews located in demo/test/components/previews.

To run tests:

rake

Releases

The library follows semantic versioning. To draft a new release you need to run script/release with a new version number:

bin/release VERSION

Where the VERSION is the version number you want to release. This script will update the version in the gem and push it to GitHub and Rubygems automatically.

To release a new version of npm package update the package.json file with the new version number and run:

npm run release

After that make sure to commit changes in package.json.

License

The gem is available as open source under the terms of the MIT License.

polaris_view_components's People

Contributors

kirillplatonov avatar dan-gamble avatar k0va1 avatar yourivdlans avatar yshmarov avatar forsbergplustwo avatar drnic avatar nydrewreynolds avatar rbarreca avatar basilkhan05 avatar berniechiu avatar cdmwebs avatar resistorsoftware avatar ohrite avatar fdj avatar mattsears avatar

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.