terra-arrange
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _classnames = require('classnames'); | ||
@@ -34,11 +38,11 @@ | ||
*/ | ||
fitStart: _react.PropTypes.element, | ||
fitStart: _propTypes2.default.element, | ||
/** | ||
* The content to display in the body of the fill. | ||
*/ | ||
fill: _react.PropTypes.element.isRequired, | ||
fill: _propTypes2.default.element.isRequired, | ||
/** | ||
* The content to display in the body of the fitEnd. | ||
*/ | ||
fitEnd: _react.PropTypes.element, | ||
fitEnd: _propTypes2.default.element, | ||
/** | ||
@@ -49,15 +53,15 @@ * The vertical orientation of all three containers. | ||
*/ | ||
align: _react.PropTypes.oneOf(alignmentTypes), | ||
align: _propTypes2.default.oneOf(alignmentTypes), | ||
/** | ||
* The vertical orientation of fitStart. One of: `center`, `bottom`, `stretch`. | ||
*/ | ||
alignFitStart: _react.PropTypes.oneOf(alignmentTypes), | ||
alignFitStart: _propTypes2.default.oneOf(alignmentTypes), | ||
/** | ||
* The vertical orientation of fill. One of: `center`, `bottom`, `stretch`. | ||
*/ | ||
alignFitEnd: _react.PropTypes.oneOf(alignmentTypes), | ||
alignFitEnd: _propTypes2.default.oneOf(alignmentTypes), | ||
/** | ||
* The vertical orientation of fitEnd. One of: `center`, `bottom`, `stretch`. | ||
*/ | ||
alignFill: _react.PropTypes.oneOf(alignmentTypes) | ||
alignFill: _propTypes2.default.oneOf(alignmentTypes) | ||
}; | ||
@@ -64,0 +68,0 @@ |
{ | ||
"name": "terra-arrange", | ||
"main": "lib/Arrange.js", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "The arrange component is used for horizontally arranging and vertically aligning a single row of container elements.", | ||
@@ -46,14 +46,15 @@ "repository": { | ||
"react-dom": "^15.4.2", | ||
"terra-base": "^0.x", | ||
"terra-mixins": "^1.0.0" | ||
"terra-base": "^0.4.0", | ||
"terra-mixins": "^1.1.0" | ||
}, | ||
"dependencies": { | ||
"classnames": "^2.2.5", | ||
"terra-base": "^0.x", | ||
"terra-mixins": "^1.0.0" | ||
"prop-types": "^15.5.8", | ||
"terra-base": "^0.4.0", | ||
"terra-mixins": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"terra-toolkit": "^0.x", | ||
"terra-icon": "^0.x" | ||
"terra-icon": "^0.4.0", | ||
"terra-toolkit": "^0.3.0" | ||
} | ||
} |
@@ -1,2 +0,3 @@ | ||
import React, { PropTypes } from 'react'; | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
@@ -3,0 +4,0 @@ // Block style is required since images are inline by default. This could be resolved by someones normalize.css |
5592670
549
8
+ Addedprop-types@^15.5.8
+ Addedterra-base@0.4.2(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedintl@1.2.5(transitive)
- Removedintl-format-cache@2.2.9(transitive)
- Removedintl-messageformat@2.2.0(transitive)
- Removedintl-messageformat-parser@1.4.0(transitive)
- Removedintl-relativeformat@2.2.0(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedreact-intl@2.9.0(transitive)
- Removedterra-base@0.9.0(transitive)
- Removedterra-i18n@0.5.0(transitive)
Updatedterra-base@^0.4.0
Updatedterra-mixins@^1.1.0