carbon-components-react
Advanced tools
Comparing version 3.1.4 to 3.1.5
@@ -14,2 +14,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _ToolbarSearch = require('./ToolbarSearch'); | ||
@@ -28,18 +32,18 @@ | ||
var propTypes = { | ||
children: _react.PropTypes.node, | ||
className: _react.PropTypes.string | ||
children: _propTypes2.default.node, | ||
className: _propTypes2.default.string | ||
}; | ||
var toolbarItemPropTypes = { | ||
children: _react.PropTypes.node, | ||
type: _react.PropTypes.string, | ||
placeHolderText: _react.PropTypes.string | ||
children: _propTypes2.default.node, | ||
type: _propTypes2.default.string, | ||
placeHolderText: _propTypes2.default.string | ||
}; | ||
var toolbarTitlePropTypes = { | ||
title: _react.PropTypes.string | ||
title: _propTypes2.default.string | ||
}; | ||
var toolbarOptionPropTypes = { | ||
children: _react.PropTypes.node | ||
children: _propTypes2.default.node | ||
}; | ||
@@ -46,0 +50,0 @@ |
@@ -15,2 +15,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _Icon = require('./Icon'); | ||
@@ -169,10 +173,10 @@ | ||
Tooltip.propTypes = { | ||
open: _react.PropTypes.bool, | ||
children: _react.PropTypes.node, | ||
className: _react.PropTypes.string, | ||
direction: _react.PropTypes.oneOf(['bottom', 'top']), | ||
triggerText: _react.PropTypes.string, | ||
showIcon: _react.PropTypes.bool, | ||
iconName: _react.PropTypes.string, | ||
iconDescription: _react.PropTypes.string | ||
open: _propTypes2.default.bool, | ||
children: _propTypes2.default.node, | ||
className: _propTypes2.default.string, | ||
direction: _propTypes2.default.oneOf(['bottom', 'top']), | ||
triggerText: _propTypes2.default.string, | ||
showIcon: _propTypes2.default.bool, | ||
iconName: _propTypes2.default.string, | ||
iconDescription: _propTypes2.default.string | ||
}; | ||
@@ -179,0 +183,0 @@ Tooltip.defaultProps = { |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _Icon = require('./Icon'); | ||
@@ -27,9 +31,9 @@ | ||
var propTypes = { | ||
children: _react.PropTypes.node, | ||
className: _react.PropTypes.string, | ||
position: _react.PropTypes.oneOf(['bottom', 'top']), | ||
text: _react.PropTypes.string.isRequired, | ||
showIcon: _react.PropTypes.bool, | ||
iconName: _react.PropTypes.string, | ||
iconDescription: _react.PropTypes.string | ||
children: _propTypes2.default.node, | ||
className: _propTypes2.default.string, | ||
position: _propTypes2.default.oneOf(['bottom', 'top']), | ||
text: _propTypes2.default.string.isRequired, | ||
showIcon: _propTypes2.default.bool, | ||
iconName: _propTypes2.default.string, | ||
iconDescription: _propTypes2.default.string | ||
}; | ||
@@ -36,0 +40,0 @@ |
@@ -5,3 +5,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
import React, { PropTypes } from 'react'; | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import ToolbarSearch from './ToolbarSearch'; | ||
@@ -8,0 +9,0 @@ import classNames from 'classnames'; |
@@ -13,3 +13,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
import React, { PropTypes, Component } from 'react'; | ||
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import Icon from './Icon'; | ||
@@ -16,0 +17,0 @@ import classNames from 'classnames'; |
@@ -5,3 +5,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
import React, { PropTypes } from 'react'; | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import Icon from './Icon'; | ||
@@ -8,0 +9,0 @@ import classNames from 'classnames'; |
@@ -172,3 +172,3 @@ { | ||
}, | ||
"version": "3.1.4" | ||
"version": "3.1.5" | ||
} |
545281
11785