Skip to content

Commit

Permalink
updated version, minor modifications to README
Browse files Browse the repository at this point in the history
  • Loading branch information
dfee committed Dec 13, 2018
1 parent 307c9c2 commit b490f9e
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 21 deletions.
14 changes: 7 additions & 7 deletions .storybook/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { withInfo } from "@storybook/addon-info";
import { withKnobs } from "@storybook/addon-knobs";
import { setOptions } from "@storybook/addon-options";
import {
Expand All @@ -9,13 +10,12 @@ import { addDecorator, configure } from "@storybook/react";
import "../src/index.module.sass";

// addon-info is currently broken with prop types
// import { withInfo } from "@storybook/addon-info";
// addDecorator(
// withInfo({
// // propTables: false,
// source: false,
// }),
// );
addDecorator(
withInfo({
// propTables: false,
source: false,
}),
);

setOptions({
name: "👟 rbx - Bulma UI",
Expand Down
23 changes: 13 additions & 10 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
const path = require("path");

const TSDocgenPlugin = require("react-docgen-typescript-webpack-plugin");
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");

module.exports = (baseConfig, env, config) => {
config.module.rules.push({
test: /\.(ts|tsx)$/,
loader: require.resolve("ts-loader")
});
config.module.rules.push({
test: /\.s[ca]ss$/,
loader: "style-loader!css-loader!resolve-url-loader!sass-loader"
});
config.plugins.push(new TSDocgenPlugin());
config.module.rules.push(
{
test: /\.tsx?$/,
use: [
require.resolve("ts-loader"),
require.resolve("react-docgen-typescript-loader")
]
},
{
test: /\.s[ca]ss$/,
loader: "style-loader!css-loader!resolve-url-loader!sass-loader"
}
);
config.resolve.extensions.push(".ts", ".tsx");
config.resolve.plugins = [
new TsconfigPathsPlugin({ configFile: "tsconfig.json" })
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
[![Release Version](https://img.shields.io/github/release/dfee/rbx.svg)](https://github.com/dfee/rbx)
[![Npm Downloads](https://img.shields.io/npm/dm/rbx.svg)](https://www.npmjs.com/package/rbx)

[Bulma](http://bulma.io) components for the React framework.
`rbx` is a comprehensive library of React components for [Bulma 0.7.2](http://bulma.io).

🔥 **All components have exhaustive** [storybook examples](https://dfee.github.io/rbx).

🙃 _I'll wait, go check them out!_

### To Install

`npm install rbx` or `yarn add -E rbx`
`npm install rbx` or `yarn add rbx`

### To Use

Expand Down
73 changes: 73 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rbx",
"version": "0.7.1",
"description": "UI Components for React based on Bulma",
"version": "1.0.0-beta",
"description": "The Comprehensive Bulma UI Framework for React",
"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [
Expand Down Expand Up @@ -90,6 +90,7 @@
"postcss-loader": "3.0.0",
"progress-bar-webpack-plugin": "1.11.0",
"react": "16.6.3",
"react-docgen-typescript-loader": "^3.0.0",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-dom": "16.6.3",
"react-test-renderer": "16.6.3",
Expand Down

0 comments on commit b490f9e

Please sign in to comment.