Comparing version 0.4.1 to 0.5.0
@@ -5,6 +5,6 @@ # Changelog | ||
* Added a `title` option to cards which allows you to hide the card title. | ||
## v0.4.0 | ||
* Added `devboard.Row` helper for layout out small components horizontally on a card |
@@ -59,2 +59,3 @@ var objectAssign = require('object-assign'); | ||
options: React.PropTypes.shape({ | ||
title: React.PropTypes.bool, | ||
frame: React.PropTypes.bool, | ||
@@ -102,2 +103,3 @@ state: React.PropTypes.any, | ||
var frame = defined(opts.frame) ? opts.frame : !!name; | ||
var title = defined(opts.title) ? opts.title : defined(name); | ||
@@ -112,7 +114,6 @@ return ( | ||
defined(name) && | ||
title && | ||
$(CardHeading, { namespace: namespace, name: name }), | ||
$('div', { style: style.content }, | ||
@@ -119,0 +120,0 @@ defined(doc) && |
{ | ||
"name": "devboard", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "An interactive visual feedback tool for developing user interface code", | ||
@@ -5,0 +5,0 @@ "main": "devboard.js", |
@@ -185,2 +185,4 @@ # Devboard | ||
[[example](http://glenjamin.github.io/devboard/#/2.%20Datatypes/Working%20with%20atoms)] | ||
A convenience re-export of the [createAtom](https://github.com/cjohansen/js-atom#createatomval-options) function from the [js-atom](https://github.com/cjohansen/js-atom) project. | ||
@@ -190,2 +192,4 @@ | ||
[[example](http://glenjamin.github.io/devboard/#/2.%20Datatypes/React%20Row)] | ||
A React component which renders each of its children in a box floated left with some healthy spacing between them. | ||
@@ -197,2 +201,4 @@ | ||
[[example](http://glenjamin.github.io/devboard/#/2.%20Datatypes/DOM%20Elements)] | ||
* `render(node)` **function** - called on initial mount and then every update | ||
@@ -213,4 +219,2 @@ * `cleanUp(node)` **function** - called when about to be removed | ||
[See an example](http://glenjamin.github.io/devboard/#/2.%20Datatypes/DOM%20Elements) | ||
## Example | ||
@@ -217,0 +221,0 @@ |
287447
5709
239