A collection of JetBrains Web UI components
JavaScript HTML CSS
Switch branches/tags
@ring-ui/icon@1.0.0-beta.10 @ring-ui/icon@1.0.0-beta.9 @ring-ui/icon@1.0.0-beta.8 @ring-ui/icon@1.0.0-beta.7 @ring-ui/icon@1.0.0-beta.6 @ring-ui/icon@1.0.0-beta.5 @ring-ui/icon@1.0.0-beta.4 @ring-ui/icon@1.0.0-beta.3 @ring-ui/icon@1.0.0-beta.2 @ring-ui/icon@1.0.0-beta.1 @ring-ui/icon@1.0.0-beta.0 @ring-ui/icon@0.3.7 @ring-ui/icon@0.3.6 @ring-ui/icon@0.3.5 @ring-ui/icon@0.3.4 @ring-ui/icon@0.3.3 @ring-ui/icon@0.3.2 @ring-ui/icon@0.3.1 @ring-ui/gemini@0.2.26 @ring-ui/gemini@0.2.25 @ring-ui/gemini@0.2.24 @ring-ui/gemini@0.2.23 @ring-ui/gemini@0.2.22 @ring-ui/gemini@0.2.21 @ring-ui/gemini@0.2.20 @ring-ui/gemini@0.2.19 @ring-ui/gemini@0.2.18 @ring-ui/gemini@0.2.17 @ring-ui/gemini@0.2.16 @ring-ui/gemini@0.2.15 @ring-ui/gemini@0.2.14 @ring-ui/gemini@0.2.13 @ring-ui/gemini@0.2.12 @ring-ui/gemini@0.2.11 @ring-ui/gemini@0.2.10 @ring-ui/gemini@0.2.9 @ring-ui/gemini@0.2.8 @ring-ui/gemini@0.2.7 @ring-ui/gemini@0.2.6 @ring-ui/gemini@0.2.5 @ring-ui/gemini@0.2.1-beta.16 @ring-ui/gemini@0.2.1-beta.15 @ring-ui/gemini@0.2.1-beta.14 @ring-ui/gemini@0.2.1-beta.13 @ring-ui/gemini@0.2.1-beta.12 @ring-ui/gemini@0.2.1-beta.11 @ring-ui/gemini@0.2.1-beta.10 @ring-ui/gemini@0.2.1-beta.9 @ring-ui/gemini@0.2.1-beta.8 @ring-ui/gemini@0.2.1-beta.7 @ring-ui/gemini@0.2.1-beta.6 @ring-ui/gemini@0.2.1-beta.5 @ring-ui/gemini@0.2.1-beta.4 @ring-ui/docs@0.2.32 @ring-ui/docs@0.2.31 @ring-ui/docs@0.2.30 @ring-ui/docs@0.2.29 @ring-ui/docs@0.2.28 @ring-ui/docs@0.2.27 @ring-ui/docs@0.2.26 @ring-ui/docs@0.2.25 @ring-ui/docs@0.2.24 @ring-ui/docs@0.2.23 @ring-ui/docs@0.2.22 @ring-ui/docs@0.2.21 @ring-ui/docs@0.2.20 @ring-ui/docs@0.2.19 @ring-ui/docs@0.2.18 @ring-ui/docs@0.2.17 @ring-ui/docs@0.2.16 @ring-ui/docs@0.2.15 @ring-ui/docs@0.2.14 @ring-ui/docs@0.2.13 @ring-ui/docs@0.2.12 @ring-ui/docs@0.2.11 @ring-ui/docs@0.1.15-beta.19 @ring-ui/docs@0.1.15-beta.18 @ring-ui/docs@0.1.15-beta.17 @ring-ui/docs@0.1.15-beta.16 @ring-ui/docs@0.1.15-beta.15 @ring-ui/docs@0.1.15-beta.14 @ring-ui/docs@0.1.15-beta.13 @ring-ui/docs@0.1.15-beta.12 @ring-ui/docs@0.1.15-beta.11 @ring-ui/docs@0.1.15-beta.10 @ring-ui/docs@0.1.15-beta.9 @ring-ui/docs@0.1.15-beta.8 @ring-ui/docs@0.1.15-beta.7 ring-ui-gemini@0.2.4 ring-ui-gemini@0.2.3 ring-ui-gemini@0.2.2 ring-ui-gemini@0.2.1 ring-ui-gemini@0.2.1-beta.3 ring-ui-gemini@0.2.1-beta.2 ring-ui-gemini@0.2.1-beta.1 ring-ui-gemini@0.2.1-beta.0 ring-ui-gemini@0.2.0 ring-ui-docs@0.2.10 ring-ui-docs@0.2.9 ring-ui-docs@0.2.8
Nothing to show
Latest commit 972aeab Dec 11, 2017 @Leonya Leonya Merge pull request #37 from JetBrains/dependencies.io-update-build-69…
….0.0

Update moment in / from 2.19.3 to 2.19.4
Permalink
Failed to load latest commit information.
.idea Update geminin refs Dec 5, 2017
components Support title in select's options #RG-1645 fixed Dec 11, 2017
packages Publish Dec 11, 2017
test-helpers RG-1577 update enzyme and chai-enzyme Oct 9, 2017
.editorconfig Default .editorconfig Oct 16, 2014
.eslintignore Rename packages Aug 28, 2017
.eslintrc RG-1435 Switch to glob-based ESLint config Jul 17, 2017
.flowconfig Add to Flow's ignore list: /node_modules/stylelint/lib Jul 3, 2017
.gitignore Revert "chore: ignore .idea/codeStyles folder" Sep 27, 2017
CHANGELOG.md Changelog: add links to Upsource for 0.3.0 and 0.3.8 releases Nov 30, 2017
CONTRIBUTING.md Rename packages Aug 28, 2017
LICENSE.txt update license text to correct text of Apache-2.0 Aug 2, 2017
README.md Add "JB official" badge Sep 21, 2017
dependencies.yml Don't check lockfiles being intact during collection Dec 11, 2017
jslint-xml.js RG-1444 Merge eslint and stylelint reports Jul 7, 2017
karma-base.conf.js RG-1484 Drop hostname: it is not needed in docker Aug 2, 2017
karma-ci.conf.js Revert "RG-1484 dealing with tests in docker container" Aug 2, 2017
karma-crossbrowser.conf.js Update CI scripts. Temporarily turn off tests Aug 1, 2017
karma-watch.conf.js RING-UI-CR-1909 Update eslint config Apr 14, 2017
karma.conf.js RING-UI-CR-1909 Update eslint config Apr 14, 2017
lerna.json Update lockfiles Dec 5, 2017
package-lock.json Update moment from 2.19.3 to 2.19.4 in / Dec 11, 2017
package.json Update moment from 2.19.3 to 2.19.4 in / Dec 11, 2017
postcss.config.js RG-1575 update postcss-related packages Dec 6, 2017
stylelint.config.js Adjust stylelint Dec 5, 2017
wallaby.config.js RG-1395 Rewrite some commits in jetbrains-eslint-config and publish i… Jul 4, 2017
webpack-test.config.js RING-UI-CR-3012 enable source-maps for tests Oct 9, 2017
webpack.config.js Remove the deprecated icon-runtime-generator Sep 29, 2017

README.md

Ring UI — JetBrains Web UI components

Build Status Dependencies Status Dev Dependencies Status NPM version NPM downloads

official JetBrains project

This collection of UI components aims to provide all of the necessary building blocks for web-based products built inside JetBrains, as well as third-party plugins developed for JetBrains' products.

Quick start

  1. Install Yeoman and Ring UI generator: npm install -g yo @jetbrains/generator-ring-ui
  2. Go to the root directory of your project (create one if necessary) and run yo @jetbrains/ring-ui. After you enter the name of the project all the necessary npm dependencies will be installed.
  3. Your project is ready to be developed. The following commands are available:
    • npm start to run a local development server
    • npm test to launch karma tests
    • npm run lint to lint your code
    • npm run build to build a production bundle
    • npm run create-component to create a new component template with styles and tests

Not-so-quick start

In case boilerplate generators are not your thing and you prefer to understand the inner workings a bit better.

  1. Install Ring UI with npm install @jetbrains/ring-ui --save-exact

  2. If you are building your app with webpack, make sure to import ring-ui components where needed. Otherwise, create an entry point (for example, /app/app__components.tpl.js) and import the components there.

    import React from 'react';
    import ReactDOM from 'react-dom';
    import LoaderInline from '@jetbrains/ring-ui/components/loader-inline/loader-inline';
    
    ReactDOM.render(<LoaderInline/>, document.getElementById('container'));
  3. Create webpack.config.js with the following contents (example):

    const ringConfig = require('@jetbrains/ring-ui/webpack.config').config;
    
    const webpackConfig = {
      entry: 'src/entry.js', // your entry point for webpack
      output: {
        path: 'path/to/dist',
        filename: '[name].js'
      },
      module: {
        rules: [
          ...ringConfig.module.rules,
          <Your rules here>
        ]
      }
    };
    
    module.exports = webpackConfig;

Links