@atlaskit/select
Advanced tools
Comparing version 4.5.1 to 4.5.2
# @atlaskit/select | ||
## 4.5.2 | ||
- [patch] Update loading indicator to be inline with ADG3 [da661fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da661fd) | ||
- [none] Updated dependencies [da661fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da661fd) | ||
## 4.5.1 | ||
@@ -4,0 +8,0 @@ - [patch] fixed actionMeta not being passed to onChange of PopupSelect [83833be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/83833be) |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.IndicatorSeparator = exports.MultiValueRemove = exports.DropdownIndicator = exports.ClearIndicator = exports.RadioOption = exports.CheckboxOption = undefined; | ||
exports.IndicatorSeparator = exports.MultiValueRemove = exports.LoadingIndicator = exports.DropdownIndicator = exports.ClearIndicator = exports.RadioOption = exports.CheckboxOption = undefined; | ||
@@ -38,2 +38,8 @@ var _inputOptions = require('./input-options'); | ||
}); | ||
Object.defineProperty(exports, 'LoadingIndicator', { | ||
enumerable: true, | ||
get: function get() { | ||
return _indicators.LoadingIndicator; | ||
} | ||
}); | ||
@@ -40,0 +46,0 @@ var _react = require('react'); |
@@ -6,4 +6,8 @@ 'use strict'; | ||
}); | ||
exports.DropdownIndicator = exports.ClearIndicator = undefined; | ||
exports.LoadingIndicator = exports.DropdownIndicator = exports.ClearIndicator = undefined; | ||
var _extends2 = require('babel-runtime/helpers/extends'); | ||
var _extends3 = _interopRequireDefault(_extends2); | ||
var _react = require('react'); | ||
@@ -15,2 +19,6 @@ | ||
var _spinner = require('@atlaskit/spinner'); | ||
var _spinner2 = _interopRequireDefault(_spinner); | ||
var _selectClear = require('@atlaskit/icon/glyph/select-clear'); | ||
@@ -34,2 +42,3 @@ | ||
}; | ||
var DropdownIndicator = exports.DropdownIndicator = function DropdownIndicator(props) { | ||
@@ -41,2 +50,8 @@ return _react2.default.createElement( | ||
); | ||
}; | ||
var LoadingIndicator = exports.LoadingIndicator = function LoadingIndicator(_ref) { | ||
var innerProps = _ref.innerProps; | ||
return _react2.default.createElement(_spinner2.default, (0, _extends3.default)({ size: 'small' }, innerProps)); | ||
}; |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
export { CheckboxOption, RadioOption } from './input-options'; | ||
export { ClearIndicator, DropdownIndicator } from './indicators'; | ||
export { ClearIndicator, DropdownIndicator, LoadingIndicator } from './indicators'; | ||
@@ -10,0 +10,0 @@ export var MultiValueRemove = function MultiValueRemove(props) { |
@@ -0,3 +1,5 @@ | ||
import _extends from 'babel-runtime/helpers/extends'; | ||
import React from 'react'; | ||
import { components } from 'react-select'; | ||
import Spinner from '@atlaskit/spinner'; | ||
import SelectClearIcon from '@atlaskit/icon/glyph/select-clear'; | ||
@@ -20,2 +22,8 @@ import DownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down'; | ||
); | ||
}; | ||
export var LoadingIndicator = function LoadingIndicator(_ref) { | ||
var innerProps = _ref.innerProps; | ||
return React.createElement(Spinner, _extends({ size: 'small' }, innerProps)); | ||
}; |
{ | ||
"name": "@atlaskit/select", | ||
"version": "4.5.0" | ||
"version": "4.5.1" | ||
} |
{ | ||
"name": "@atlaskit/select", | ||
"version": "4.5.1", | ||
"version": "4.5.2", | ||
"description": "React component which allows selection of item(s) from a dropdown list.", | ||
@@ -28,2 +28,3 @@ "license": "Apache-2.0", | ||
"@atlaskit/icon": "^12.6.2", | ||
"@atlaskit/spinner": "^8.0.0", | ||
"@atlaskit/theme": "^4.0.4", | ||
@@ -30,0 +31,0 @@ "focus-trap": "^2.4.5", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
268883
77
3010
13
+ Added@atlaskit/spinner@^8.0.0
+ Added@atlaskit/spinner@8.0.0(transitive)