react-bootstrap 0.32.2 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +4 -4
  3. package/dist/react-bootstrap.js +11887 -12938
  4. package/dist/react-bootstrap.min.js +12 -4
  5. package/es/Accordion.js +2 -2
  6. package/es/Alert.js +10 -10
  7. package/es/Badge.js +8 -8
  8. package/es/Breadcrumb.js +6 -6
  9. package/es/BreadcrumbItem.js +10 -10
  10. package/es/Button.js +10 -10
  11. package/es/ButtonGroup.js +9 -9
  12. package/es/ButtonToolbar.js +6 -6
  13. package/es/Carousel.js +31 -30
  14. package/es/CarouselCaption.js +7 -7
  15. package/es/CarouselItem.js +14 -13
  16. package/es/Checkbox.js +13 -13
  17. package/es/Clearfix.js +7 -7
  18. package/es/CloseButton.js +4 -4
  19. package/es/Col.js +7 -7
  20. package/es/Collapse.js +33 -21
  21. package/es/ControlLabel.js +9 -9
  22. package/es/Dropdown.js +25 -24
  23. package/es/DropdownButton.js +9 -9
  24. package/es/DropdownMenu.js +22 -22
  25. package/es/DropdownToggle.js +11 -11
  26. package/es/Fade.js +7 -7
  27. package/es/Form.js +9 -9
  28. package/es/FormControl.js +12 -12
  29. package/es/FormControlFeedback.js +7 -7
  30. package/es/FormControlStatic.js +7 -7
  31. package/es/FormGroup.js +11 -11
  32. package/es/Glyphicon.js +7 -7
  33. package/es/Grid.js +8 -8
  34. package/es/HelpBlock.js +6 -6
  35. package/es/Image.js +10 -10
  36. package/es/InputGroup.js +6 -6
  37. package/es/InputGroupAddon.js +6 -6
  38. package/es/InputGroupButton.js +6 -6
  39. package/es/Jumbotron.js +7 -7
  40. package/es/Label.js +8 -8
  41. package/es/ListGroup.js +9 -9
  42. package/es/ListGroupItem.js +12 -12
  43. package/es/Media.js +7 -7
  44. package/es/MediaBody.js +8 -8
  45. package/es/MediaHeading.js +7 -7
  46. package/es/MediaLeft.js +7 -7
  47. package/es/MediaList.js +6 -6
  48. package/es/MediaListItem.js +6 -6
  49. package/es/MediaRight.js +7 -7
  50. package/es/MenuItem.js +19 -19
  51. package/es/Modal.js +42 -24
  52. package/es/ModalBody.js +7 -7
  53. package/es/ModalDialog.js +12 -10
  54. package/es/ModalFooter.js +7 -7
  55. package/es/ModalHeader.js +10 -10
  56. package/es/ModalTitle.js +7 -7
  57. package/es/Nav.js +24 -24
  58. package/es/NavDropdown.js +11 -11
  59. package/es/NavItem.js +12 -12
  60. package/es/Navbar.js +30 -30
  61. package/es/NavbarBrand.js +7 -7
  62. package/es/NavbarCollapse.js +7 -7
  63. package/es/NavbarHeader.js +6 -6
  64. package/es/NavbarToggle.js +8 -8
  65. package/es/Overlay.js +7 -7
  66. package/es/OverlayTrigger.js +20 -19
  67. package/es/PageHeader.js +7 -7
  68. package/es/Pager.js +8 -8
  69. package/es/PagerItem.js +17 -17
  70. package/es/Pagination.js +7 -7
  71. package/es/PaginationItem.js +9 -9
  72. package/es/Panel.js +18 -15
  73. package/es/PanelBody.js +6 -6
  74. package/es/PanelCollapse.js +3 -3
  75. package/es/PanelFooter.js +5 -5
  76. package/es/PanelGroup.js +21 -18
  77. package/es/PanelHeading.js +8 -8
  78. package/es/PanelTitle.js +9 -9
  79. package/es/PanelToggle.js +9 -9
  80. package/es/Popover.js +14 -14
  81. package/es/ProgressBar.js +9 -9
  82. package/es/Radio.js +13 -13
  83. package/es/ResponsiveEmbed.js +9 -9
  84. package/es/Row.js +7 -7
  85. package/es/SafeAnchor.js +15 -15
  86. package/es/SplitButton.js +10 -10
  87. package/es/SplitToggle.js +2 -2
  88. package/es/Tab.js +2 -2
  89. package/es/TabContainer.js +11 -11
  90. package/es/TabContent.js +17 -16
  91. package/es/TabPane.js +23 -23
  92. package/es/Table.js +11 -11
  93. package/es/Tabs.js +17 -17
  94. package/es/Thumbnail.js +11 -11
  95. package/es/ToggleButton.js +11 -11
  96. package/es/ToggleButtonGroup.js +12 -12
  97. package/es/Tooltip.js +13 -13
  98. package/es/Well.js +6 -6
  99. package/es/utils/bootstrapUtils.js +3 -3
  100. package/es/utils/deprecationWarning.js +5 -4
  101. package/es/utils/splitComponentProps.js +1 -1
  102. package/lib/Accordion.js +3 -3
  103. package/lib/Alert.js +11 -11
  104. package/lib/Badge.js +9 -9
  105. package/lib/Breadcrumb.js +7 -7
  106. package/lib/BreadcrumbItem.js +11 -11
  107. package/lib/Button.js +11 -11
  108. package/lib/ButtonGroup.js +10 -10
  109. package/lib/ButtonToolbar.js +7 -7
  110. package/lib/Carousel.js +32 -31
  111. package/lib/CarouselCaption.js +8 -8
  112. package/lib/CarouselItem.js +15 -14
  113. package/lib/Checkbox.js +14 -14
  114. package/lib/Clearfix.js +8 -8
  115. package/lib/CloseButton.js +5 -5
  116. package/lib/Col.js +8 -8
  117. package/lib/Collapse.js +35 -23
  118. package/lib/ControlLabel.js +10 -10
  119. package/lib/Dropdown.js +28 -27
  120. package/lib/DropdownButton.js +10 -10
  121. package/lib/DropdownMenu.js +23 -23
  122. package/lib/DropdownToggle.js +12 -12
  123. package/lib/Fade.js +9 -9
  124. package/lib/Form.js +10 -10
  125. package/lib/FormControl.js +13 -13
  126. package/lib/FormControlFeedback.js +8 -8
  127. package/lib/FormControlStatic.js +8 -8
  128. package/lib/FormGroup.js +12 -12
  129. package/lib/Glyphicon.js +8 -8
  130. package/lib/Grid.js +9 -9
  131. package/lib/HelpBlock.js +7 -7
  132. package/lib/Image.js +11 -11
  133. package/lib/InputGroup.js +7 -7
  134. package/lib/InputGroupAddon.js +7 -7
  135. package/lib/InputGroupButton.js +7 -7
  136. package/lib/Jumbotron.js +8 -8
  137. package/lib/Label.js +9 -9
  138. package/lib/ListGroup.js +11 -11
  139. package/lib/ListGroupItem.js +14 -14
  140. package/lib/Media.js +8 -8
  141. package/lib/MediaBody.js +9 -9
  142. package/lib/MediaHeading.js +8 -8
  143. package/lib/MediaLeft.js +8 -8
  144. package/lib/MediaList.js +7 -7
  145. package/lib/MediaListItem.js +7 -7
  146. package/lib/MediaRight.js +8 -8
  147. package/lib/MenuItem.js +20 -20
  148. package/lib/Modal.js +43 -25
  149. package/lib/ModalBody.js +8 -8
  150. package/lib/ModalDialog.js +13 -11
  151. package/lib/ModalFooter.js +8 -8
  152. package/lib/ModalHeader.js +11 -11
  153. package/lib/ModalTitle.js +8 -8
  154. package/lib/Nav.js +27 -26
  155. package/lib/NavDropdown.js +12 -12
  156. package/lib/NavItem.js +13 -13
  157. package/lib/Navbar.js +32 -32
  158. package/lib/NavbarBrand.js +8 -8
  159. package/lib/NavbarCollapse.js +8 -8
  160. package/lib/NavbarHeader.js +7 -7
  161. package/lib/NavbarToggle.js +9 -9
  162. package/lib/Overlay.js +9 -9
  163. package/lib/OverlayTrigger.js +23 -21
  164. package/lib/PageHeader.js +8 -8
  165. package/lib/PageItem.js +1 -1
  166. package/lib/Pager.js +10 -10
  167. package/lib/PagerItem.js +18 -18
  168. package/lib/Pagination.js +9 -9
  169. package/lib/PaginationItem.js +10 -10
  170. package/lib/Panel.js +20 -18
  171. package/lib/PanelBody.js +7 -7
  172. package/lib/PanelCollapse.js +4 -4
  173. package/lib/PanelFooter.js +6 -6
  174. package/lib/PanelGroup.js +24 -22
  175. package/lib/PanelHeading.js +9 -9
  176. package/lib/PanelTitle.js +10 -10
  177. package/lib/PanelToggle.js +10 -10
  178. package/lib/Popover.js +15 -15
  179. package/lib/ProgressBar.js +11 -11
  180. package/lib/Radio.js +14 -14
  181. package/lib/ResponsiveEmbed.js +11 -11
  182. package/lib/Row.js +8 -8
  183. package/lib/SafeAnchor.js +16 -16
  184. package/lib/SplitButton.js +11 -11
  185. package/lib/SplitToggle.js +3 -3
  186. package/lib/Tab.js +3 -3
  187. package/lib/TabContainer.js +13 -13
  188. package/lib/TabContent.js +18 -17
  189. package/lib/TabPane.js +23 -23
  190. package/lib/Table.js +12 -12
  191. package/lib/Tabs.js +19 -19
  192. package/lib/Thumbnail.js +12 -12
  193. package/lib/ToggleButton.js +12 -12
  194. package/lib/ToggleButtonGroup.js +14 -14
  195. package/lib/Tooltip.js +14 -14
  196. package/lib/Well.js +7 -7
  197. package/lib/index.js +2 -2
  198. package/lib/utils/PropTypes.js +1 -1
  199. package/lib/utils/ValidComponentChildren.js +1 -1
  200. package/lib/utils/bootstrapUtils.js +4 -4
  201. package/lib/utils/deprecationWarning.js +6 -5
  202. package/lib/utils/index.js +2 -2
  203. package/lib/utils/splitComponentProps.js +2 -2
  204. package/package.json +41 -42
package/es/Accordion.js CHANGED
@@ -1,5 +1,5 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
3
3
  import React from 'react';
4
4
  import PanelGroup from './PanelGroup';
5
5
 
package/es/Alert.js CHANGED
@@ -1,7 +1,7 @@
1
- import _Object$values from "@babel/runtime/core-js/object/values";
2
- import _extends from "@babel/runtime/helpers/es6/extends";
3
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
4
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _Object$values from "@babel/runtime-corejs2/core-js/object/values";
2
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
3
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
4
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
5
5
  import classNames from 'classnames';
6
6
  import React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -30,12 +30,12 @@ function (_React$Component) {
30
30
  _proto.render = function render() {
31
31
  var _extends2;
32
32
 
33
- var _props = this.props,
34
- onDismiss = _props.onDismiss,
35
- closeLabel = _props.closeLabel,
36
- className = _props.className,
37
- children = _props.children,
38
- props = _objectWithoutProperties(_props, ["onDismiss", "closeLabel", "className", "children"]);
33
+ var _this$props = this.props,
34
+ onDismiss = _this$props.onDismiss,
35
+ closeLabel = _this$props.closeLabel,
36
+ className = _this$props.className,
37
+ children = _this$props.children,
38
+ props = _objectWithoutPropertiesLoose(_this$props, ["onDismiss", "closeLabel", "className", "children"]);
39
39
 
40
40
  var _splitBsProps = splitBsProps(props),
41
41
  bsProps = _splitBsProps[0],
package/es/Badge.js CHANGED
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
@@ -39,11 +39,11 @@ function (_React$Component) {
39
39
  };
40
40
 
41
41
  _proto.render = function render() {
42
- var _props = this.props,
43
- pullRight = _props.pullRight,
44
- className = _props.className,
45
- children = _props.children,
46
- props = _objectWithoutProperties(_props, ["pullRight", "className", "children"]);
42
+ var _this$props = this.props,
43
+ pullRight = _this$props.pullRight,
44
+ className = _this$props.className,
45
+ children = _this$props.children,
46
+ props = _objectWithoutPropertiesLoose(_this$props, ["pullRight", "className", "children"]);
47
47
 
48
48
  var _splitBsProps = splitBsProps(props),
49
49
  bsProps = _splitBsProps[0],
package/es/Breadcrumb.js CHANGED
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import BreadcrumbItem from './BreadcrumbItem';
@@ -18,9 +18,9 @@ function (_React$Component) {
18
18
  var _proto = Breadcrumb.prototype;
19
19
 
20
20
  _proto.render = function render() {
21
- var _props = this.props,
22
- className = _props.className,
23
- props = _objectWithoutProperties(_props, ["className"]);
21
+ var _this$props = this.props,
22
+ className = _this$props.className,
23
+ props = _objectWithoutPropertiesLoose(_this$props, ["className"]);
24
24
 
25
25
  var _splitBsProps = splitBsProps(props),
26
26
  bsProps = _splitBsProps[0],
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
@@ -42,13 +42,13 @@ function (_React$Component) {
42
42
  var _proto = BreadcrumbItem.prototype;
43
43
 
44
44
  _proto.render = function render() {
45
- var _props = this.props,
46
- active = _props.active,
47
- href = _props.href,
48
- title = _props.title,
49
- target = _props.target,
50
- className = _props.className,
51
- props = _objectWithoutProperties(_props, ["active", "href", "title", "target", "className"]); // Don't try to render these props on non-active <span>.
45
+ var _this$props = this.props,
46
+ active = _this$props.active,
47
+ href = _this$props.href,
48
+ title = _this$props.title,
49
+ target = _this$props.target,
50
+ className = _this$props.className,
51
+ props = _objectWithoutPropertiesLoose(_this$props, ["active", "href", "title", "target", "className"]); // Don't try to render these props on non-active <span>.
52
52
 
53
53
 
54
54
  var linkProps = {
package/es/Button.js CHANGED
@@ -1,7 +1,7 @@
1
- import _Object$values from "@babel/runtime/core-js/object/values";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _extends from "@babel/runtime/helpers/es6/extends";
4
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _Object$values from "@babel/runtime-corejs2/core-js/object/values";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
4
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
5
5
  import classNames from 'classnames';
6
6
  import React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -48,7 +48,7 @@ function (_React$Component) {
48
48
 
49
49
  _proto.renderButton = function renderButton(_ref, className) {
50
50
  var componentClass = _ref.componentClass,
51
- elementProps = _objectWithoutProperties(_ref, ["componentClass"]);
51
+ elementProps = _objectWithoutPropertiesLoose(_ref, ["componentClass"]);
52
52
 
53
53
  var Component = componentClass || 'button';
54
54
  return React.createElement(Component, _extends({}, elementProps, {
@@ -60,11 +60,11 @@ function (_React$Component) {
60
60
  _proto.render = function render() {
61
61
  var _extends2;
62
62
 
63
- var _props = this.props,
64
- active = _props.active,
65
- block = _props.block,
66
- className = _props.className,
67
- props = _objectWithoutProperties(_props, ["active", "block", "className"]);
63
+ var _this$props = this.props,
64
+ active = _this$props.active,
65
+ block = _this$props.block,
66
+ className = _this$props.className,
67
+ props = _objectWithoutPropertiesLoose(_this$props, ["active", "block", "className"]);
68
68
 
69
69
  var _splitBsProps = splitBsProps(props),
70
70
  bsProps = _splitBsProps[0],
package/es/ButtonGroup.js CHANGED
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
@@ -41,12 +41,12 @@ function (_React$Component) {
41
41
  _proto.render = function render() {
42
42
  var _extends2;
43
43
 
44
- var _props = this.props,
45
- block = _props.block,
46
- justified = _props.justified,
47
- vertical = _props.vertical,
48
- className = _props.className,
49
- props = _objectWithoutProperties(_props, ["block", "justified", "vertical", "className"]);
44
+ var _this$props = this.props,
45
+ block = _this$props.block,
46
+ justified = _this$props.justified,
47
+ vertical = _this$props.vertical,
48
+ className = _this$props.className,
49
+ props = _objectWithoutPropertiesLoose(_this$props, ["block", "justified", "vertical", "className"]);
50
50
 
51
51
  var _splitBsProps = splitBsProps(props),
52
52
  bsProps = _splitBsProps[0],
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import { bsClass, getClassSet, splitBsProps } from './utils/bootstrapUtils';
@@ -17,9 +17,9 @@ function (_React$Component) {
17
17
  var _proto = ButtonToolbar.prototype;
18
18
 
19
19
  _proto.render = function render() {
20
- var _props = this.props,
21
- className = _props.className,
22
- props = _objectWithoutProperties(_props, ["className"]);
20
+ var _this$props = this.props,
21
+ className = _this$props.className,
22
+ props = _objectWithoutPropertiesLoose(_this$props, ["className"]);
23
23
 
24
24
  var _splitBsProps = splitBsProps(props),
25
25
  bsProps = _splitBsProps[0],
package/es/Carousel.js CHANGED
@@ -1,7 +1,7 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
4
- import _assertThisInitialized from "@babel/runtime/helpers/es6/assertThisInitialized";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
+ import _assertThisInitialized from "@babel/runtime-corejs2/helpers/esm/assertThisInitialized";
5
5
  import classNames from 'classnames';
6
6
  import React, { cloneElement } from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -85,11 +85,11 @@ function (_React$Component) {
85
85
  var _this;
86
86
 
87
87
  _this = _React$Component.call(this, props, context) || this;
88
- _this.handleMouseOver = _this.handleMouseOver.bind(_assertThisInitialized(_this));
89
- _this.handleMouseOut = _this.handleMouseOut.bind(_assertThisInitialized(_this));
90
- _this.handlePrev = _this.handlePrev.bind(_assertThisInitialized(_this));
91
- _this.handleNext = _this.handleNext.bind(_assertThisInitialized(_this));
92
- _this.handleItemAnimateOutEnd = _this.handleItemAnimateOutEnd.bind(_assertThisInitialized(_this));
88
+ _this.handleMouseOver = _this.handleMouseOver.bind(_assertThisInitialized(_assertThisInitialized(_this)));
89
+ _this.handleMouseOut = _this.handleMouseOut.bind(_assertThisInitialized(_assertThisInitialized(_this)));
90
+ _this.handlePrev = _this.handlePrev.bind(_assertThisInitialized(_assertThisInitialized(_this)));
91
+ _this.handleNext = _this.handleNext.bind(_assertThisInitialized(_assertThisInitialized(_this)));
92
+ _this.handleItemAnimateOutEnd = _this.handleItemAnimateOutEnd.bind(_assertThisInitialized(_assertThisInitialized(_this)));
93
93
  var defaultActiveIndex = props.defaultActiveIndex;
94
94
  _this.state = {
95
95
  activeIndex: defaultActiveIndex != null ? defaultActiveIndex : 0,
@@ -106,7 +106,8 @@ function (_React$Component) {
106
106
  this.waitForNext();
107
107
  };
108
108
 
109
- _proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
109
+ _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {
110
+ // eslint-disable-line
110
111
  var activeIndex = this.getActiveIndex();
111
112
 
112
113
  if (nextProps.activeIndex != null && nextProps.activeIndex !== activeIndex) {
@@ -262,10 +263,10 @@ function (_React$Component) {
262
263
  };
263
264
 
264
265
  _proto.waitForNext = function waitForNext() {
265
- var _props = this.props,
266
- slide = _props.slide,
267
- interval = _props.interval,
268
- activeIndexProp = _props.activeIndex;
266
+ var _this$props = this.props,
267
+ slide = _this$props.slide,
268
+ interval = _this$props.interval,
269
+ activeIndexProp = _this$props.activeIndex;
269
270
 
270
271
  if (!this.isPaused && slide && interval && activeIndexProp == null) {
271
272
  this.timeout = setTimeout(this.handleNext, interval);
@@ -321,22 +322,22 @@ function (_React$Component) {
321
322
  _proto.render = function render() {
322
323
  var _this4 = this;
323
324
 
324
- var _props2 = this.props,
325
- slide = _props2.slide,
326
- indicators = _props2.indicators,
327
- controls = _props2.controls,
328
- wrap = _props2.wrap,
329
- prevIcon = _props2.prevIcon,
330
- prevLabel = _props2.prevLabel,
331
- nextIcon = _props2.nextIcon,
332
- nextLabel = _props2.nextLabel,
333
- className = _props2.className,
334
- children = _props2.children,
335
- props = _objectWithoutProperties(_props2, ["slide", "indicators", "controls", "wrap", "prevIcon", "prevLabel", "nextIcon", "nextLabel", "className", "children"]);
336
-
337
- var _state = this.state,
338
- previousActiveIndex = _state.previousActiveIndex,
339
- direction = _state.direction;
325
+ var _this$props2 = this.props,
326
+ slide = _this$props2.slide,
327
+ indicators = _this$props2.indicators,
328
+ controls = _this$props2.controls,
329
+ wrap = _this$props2.wrap,
330
+ prevIcon = _this$props2.prevIcon,
331
+ prevLabel = _this$props2.prevLabel,
332
+ nextIcon = _this$props2.nextIcon,
333
+ nextLabel = _this$props2.nextLabel,
334
+ className = _this$props2.className,
335
+ children = _this$props2.children,
336
+ props = _objectWithoutPropertiesLoose(_this$props2, ["slide", "indicators", "controls", "wrap", "prevIcon", "prevLabel", "nextIcon", "nextLabel", "className", "children"]);
337
+
338
+ var _this$state = this.state,
339
+ previousActiveIndex = _this$state.previousActiveIndex,
340
+ direction = _this$state.direction;
340
341
 
341
342
  var _splitBsPropsAndOmit = splitBsPropsAndOmit(props, ['interval', 'pauseOnHover', 'onSelect', 'onSlideEnd', 'activeIndex', // Accessed via this.getActiveIndex().
342
343
  'defaultActiveIndex', 'direction']),
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import elementType from 'prop-types-extra/lib/elementType';
@@ -24,10 +24,10 @@ function (_React$Component) {
24
24
  var _proto = CarouselCaption.prototype;
25
25
 
26
26
  _proto.render = function render() {
27
- var _props = this.props,
28
- Component = _props.componentClass,
29
- className = _props.className,
30
- props = _objectWithoutProperties(_props, ["componentClass", "className"]);
27
+ var _this$props = this.props,
28
+ Component = _this$props.componentClass,
29
+ className = _this$props.className,
30
+ props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "className"]);
31
31
 
32
32
  var _splitBsProps = splitBsProps(props),
33
33
  bsProps = _splitBsProps[0],
@@ -1,7 +1,7 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
4
- import _assertThisInitialized from "@babel/runtime/helpers/es6/assertThisInitialized";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
+ import _assertThisInitialized from "@babel/runtime-corejs2/helpers/esm/assertThisInitialized";
5
5
  import classNames from 'classnames';
6
6
  import React from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -30,7 +30,7 @@ function (_React$Component) {
30
30
  var _this;
31
31
 
32
32
  _this = _React$Component.call(this, props, context) || this;
33
- _this.handleAnimateOutEnd = _this.handleAnimateOutEnd.bind(_assertThisInitialized(_this));
33
+ _this.handleAnimateOutEnd = _this.handleAnimateOutEnd.bind(_assertThisInitialized(_assertThisInitialized(_this)));
34
34
  _this.state = {
35
35
  direction: null
36
36
  };
@@ -40,7 +40,8 @@ function (_React$Component) {
40
40
 
41
41
  var _proto = CarouselItem.prototype;
42
42
 
43
- _proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
43
+ _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {
44
+ // eslint-disable-line
44
45
  if (this.props.active !== nextProps.active) {
45
46
  this.setState({
46
47
  direction: null
@@ -90,13 +91,13 @@ function (_React$Component) {
90
91
  };
91
92
 
92
93
  _proto.render = function render() {
93
- var _props = this.props,
94
- direction = _props.direction,
95
- active = _props.active,
96
- animateIn = _props.animateIn,
97
- animateOut = _props.animateOut,
98
- className = _props.className,
99
- props = _objectWithoutProperties(_props, ["direction", "active", "animateIn", "animateOut", "className"]);
94
+ var _this$props = this.props,
95
+ direction = _this$props.direction,
96
+ active = _this$props.active,
97
+ animateIn = _this$props.animateIn,
98
+ animateOut = _this$props.animateOut,
99
+ className = _this$props.className,
100
+ props = _objectWithoutPropertiesLoose(_this$props, ["direction", "active", "animateIn", "animateOut", "className"]);
100
101
 
101
102
  delete props.onAnimateOutEnd;
102
103
  delete props.index;
package/es/Checkbox.js CHANGED
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
 
5
5
  /* eslint-disable jsx-a11y/label-has-for */
6
6
  import classNames from 'classnames';
@@ -45,16 +45,16 @@ function (_React$Component) {
45
45
  var _proto = Checkbox.prototype;
46
46
 
47
47
  _proto.render = function render() {
48
- var _props = this.props,
49
- inline = _props.inline,
50
- disabled = _props.disabled,
51
- validationState = _props.validationState,
52
- inputRef = _props.inputRef,
53
- className = _props.className,
54
- style = _props.style,
55
- title = _props.title,
56
- children = _props.children,
57
- props = _objectWithoutProperties(_props, ["inline", "disabled", "validationState", "inputRef", "className", "style", "title", "children"]);
48
+ var _this$props = this.props,
49
+ inline = _this$props.inline,
50
+ disabled = _this$props.disabled,
51
+ validationState = _this$props.validationState,
52
+ inputRef = _this$props.inputRef,
53
+ className = _this$props.className,
54
+ style = _this$props.style,
55
+ title = _this$props.title,
56
+ children = _this$props.children,
57
+ props = _objectWithoutPropertiesLoose(_this$props, ["inline", "disabled", "validationState", "inputRef", "className", "style", "title", "children"]);
58
58
 
59
59
  var _splitBsProps = splitBsProps(props),
60
60
  bsProps = _splitBsProps[0],
package/es/Clearfix.js CHANGED
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
@@ -63,10 +63,10 @@ function (_React$Component) {
63
63
  var _proto = Clearfix.prototype;
64
64
 
65
65
  _proto.render = function render() {
66
- var _props = this.props,
67
- Component = _props.componentClass,
68
- className = _props.className,
69
- props = _objectWithoutProperties(_props, ["componentClass", "className"]);
66
+ var _this$props = this.props,
67
+ Component = _this$props.componentClass,
68
+ className = _this$props.className,
69
+ props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "className"]);
70
70
 
71
71
  var _splitBsProps = splitBsProps(props),
72
72
  bsProps = _splitBsProps[0],
package/es/CloseButton.js CHANGED
@@ -1,4 +1,4 @@
1
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
2
2
  import PropTypes from 'prop-types';
3
3
  import React from 'react';
4
4
  var propTypes = {
@@ -21,9 +21,9 @@ function (_React$Component) {
21
21
  var _proto = CloseButton.prototype;
22
22
 
23
23
  _proto.render = function render() {
24
- var _props = this.props,
25
- label = _props.label,
26
- onClick = _props.onClick;
24
+ var _this$props = this.props,
25
+ label = _this$props.label,
26
+ onClick = _this$props.onClick;
27
27
  return React.createElement("button", {
28
28
  type: "button",
29
29
  className: "close",
package/es/Col.js CHANGED
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
@@ -206,10 +206,10 @@ function (_React$Component) {
206
206
  var _proto = Col.prototype;
207
207
 
208
208
  _proto.render = function render() {
209
- var _props = this.props,
210
- Component = _props.componentClass,
211
- className = _props.className,
212
- props = _objectWithoutProperties(_props, ["componentClass", "className"]);
209
+ var _this$props = this.props,
210
+ Component = _this$props.componentClass,
211
+ className = _this$props.className,
212
+ props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "className"]);
213
213
 
214
214
  var _splitBsProps = splitBsProps(props),
215
215
  bsProps = _splitBsProps[0],
package/es/Collapse.js CHANGED
@@ -1,7 +1,7 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _assertThisInitialized from "@babel/runtime/helpers/es6/assertThisInitialized";
4
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
+ import _parseInt from "@babel/runtime-corejs2/core-js/parse-int";
5
5
 
6
6
  var _collapseStyles;
7
7
 
@@ -25,7 +25,7 @@ function triggerBrowserReflow(node) {
25
25
  function getDimensionValue(dimension, elem) {
26
26
  var value = elem["offset" + capitalize(dimension)];
27
27
  var margins = MARGINS[dimension];
28
- return value + parseInt(css(elem, margins[0]), 10) + parseInt(css(elem, margins[1]), 10);
28
+ return value + _parseInt(css(elem, margins[0]), 10) + _parseInt(css(elem, margins[1]), 10);
29
29
  }
30
30
 
31
31
  var collapseStyles = (_collapseStyles = {}, _collapseStyles[EXITED] = 'collapse', _collapseStyles[EXITING] = 'collapsing', _collapseStyles[ENTERING] = 'collapsing', _collapseStyles[ENTERED] = 'collapse in', _collapseStyles);
@@ -127,28 +127,40 @@ function (_React$Component) {
127
127
  _inheritsLoose(Collapse, _React$Component);
128
128
 
129
129
  function Collapse() {
130
- var _temp, _this;
130
+ var _this;
131
131
 
132
132
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
133
133
  args[_key] = arguments[_key];
134
134
  }
135
135
 
136
- return (_temp = _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this, _this.handleEnter = function (elem) {
136
+ _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
137
+
138
+ _this.handleEnter = function (elem) {
137
139
  elem.style[_this.getDimension()] = '0';
138
- }, _this.handleEntering = function (elem) {
140
+ };
141
+
142
+ _this.handleEntering = function (elem) {
139
143
  var dimension = _this.getDimension();
140
144
 
141
145
  elem.style[dimension] = _this._getScrollDimensionValue(elem, dimension);
142
- }, _this.handleEntered = function (elem) {
146
+ };
147
+
148
+ _this.handleEntered = function (elem) {
143
149
  elem.style[_this.getDimension()] = null;
144
- }, _this.handleExit = function (elem) {
150
+ };
151
+
152
+ _this.handleExit = function (elem) {
145
153
  var dimension = _this.getDimension();
146
154
 
147
155
  elem.style[dimension] = _this.props.getDimensionValue(dimension, elem) + "px";
148
156
  triggerBrowserReflow(elem);
149
- }, _this.handleExiting = function (elem) {
157
+ };
158
+
159
+ _this.handleExiting = function (elem) {
150
160
  elem.style[_this.getDimension()] = '0';
151
- }, _temp) || _assertThisInitialized(_this);
161
+ };
162
+
163
+ return _this;
152
164
  }
153
165
 
154
166
  var _proto = Collapse.prototype;
@@ -167,15 +179,15 @@ function (_React$Component) {
167
179
  _proto.render = function render() {
168
180
  var _this2 = this;
169
181
 
170
- var _props = this.props,
171
- onEnter = _props.onEnter,
172
- onEntering = _props.onEntering,
173
- onEntered = _props.onEntered,
174
- onExit = _props.onExit,
175
- onExiting = _props.onExiting,
176
- className = _props.className,
177
- children = _props.children,
178
- props = _objectWithoutProperties(_props, ["onEnter", "onEntering", "onEntered", "onExit", "onExiting", "className", "children"]);
182
+ var _this$props = this.props,
183
+ onEnter = _this$props.onEnter,
184
+ onEntering = _this$props.onEntering,
185
+ onEntered = _this$props.onEntered,
186
+ onExit = _this$props.onExit,
187
+ onExiting = _this$props.onExiting,
188
+ className = _this$props.className,
189
+ children = _this$props.children,
190
+ props = _objectWithoutPropertiesLoose(_this$props, ["onEnter", "onEntering", "onEntered", "onExit", "onExiting", "className", "children"]);
179
191
 
180
192
  delete props.dimension;
181
193
  delete props.getDimensionValue;
@@ -1,6 +1,6 @@
1
- import _extends from "@babel/runtime/helpers/es6/extends";
2
- import _objectWithoutProperties from "@babel/runtime/helpers/es6/objectWithoutProperties";
3
- import _inheritsLoose from "@babel/runtime/helpers/es6/inheritsLoose";
1
+ import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
2
+ import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
3
+ import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
4
4
  import classNames from 'classnames';
5
5
  import React from 'react';
6
6
  import PropTypes from 'prop-types';
@@ -35,12 +35,12 @@ function (_React$Component) {
35
35
  var formGroup = this.context.$bs_formGroup;
36
36
  var controlId = formGroup && formGroup.controlId;
37
37
 
38
- var _props = this.props,
39
- _props$htmlFor = _props.htmlFor,
40
- htmlFor = _props$htmlFor === void 0 ? controlId : _props$htmlFor,
41
- srOnly = _props.srOnly,
42
- className = _props.className,
43
- props = _objectWithoutProperties(_props, ["htmlFor", "srOnly", "className"]);
38
+ var _this$props = this.props,
39
+ _this$props$htmlFor = _this$props.htmlFor,
40
+ htmlFor = _this$props$htmlFor === void 0 ? controlId : _this$props$htmlFor,
41
+ srOnly = _this$props.srOnly,
42
+ className = _this$props.className,
43
+ props = _objectWithoutPropertiesLoose(_this$props, ["htmlFor", "srOnly", "className"]);
44
44
 
45
45
  var _splitBsProps = splitBsProps(props),
46
46
  bsProps = _splitBsProps[0],