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.
- package/CHANGELOG.md +13 -0
- package/README.md +4 -4
- package/dist/react-bootstrap.js +11887 -12938
- package/dist/react-bootstrap.min.js +12 -4
- package/es/Accordion.js +2 -2
- package/es/Alert.js +10 -10
- package/es/Badge.js +8 -8
- package/es/Breadcrumb.js +6 -6
- package/es/BreadcrumbItem.js +10 -10
- package/es/Button.js +10 -10
- package/es/ButtonGroup.js +9 -9
- package/es/ButtonToolbar.js +6 -6
- package/es/Carousel.js +31 -30
- package/es/CarouselCaption.js +7 -7
- package/es/CarouselItem.js +14 -13
- package/es/Checkbox.js +13 -13
- package/es/Clearfix.js +7 -7
- package/es/CloseButton.js +4 -4
- package/es/Col.js +7 -7
- package/es/Collapse.js +33 -21
- package/es/ControlLabel.js +9 -9
- package/es/Dropdown.js +25 -24
- package/es/DropdownButton.js +9 -9
- package/es/DropdownMenu.js +22 -22
- package/es/DropdownToggle.js +11 -11
- package/es/Fade.js +7 -7
- package/es/Form.js +9 -9
- package/es/FormControl.js +12 -12
- package/es/FormControlFeedback.js +7 -7
- package/es/FormControlStatic.js +7 -7
- package/es/FormGroup.js +11 -11
- package/es/Glyphicon.js +7 -7
- package/es/Grid.js +8 -8
- package/es/HelpBlock.js +6 -6
- package/es/Image.js +10 -10
- package/es/InputGroup.js +6 -6
- package/es/InputGroupAddon.js +6 -6
- package/es/InputGroupButton.js +6 -6
- package/es/Jumbotron.js +7 -7
- package/es/Label.js +8 -8
- package/es/ListGroup.js +9 -9
- package/es/ListGroupItem.js +12 -12
- package/es/Media.js +7 -7
- package/es/MediaBody.js +8 -8
- package/es/MediaHeading.js +7 -7
- package/es/MediaLeft.js +7 -7
- package/es/MediaList.js +6 -6
- package/es/MediaListItem.js +6 -6
- package/es/MediaRight.js +7 -7
- package/es/MenuItem.js +19 -19
- package/es/Modal.js +42 -24
- package/es/ModalBody.js +7 -7
- package/es/ModalDialog.js +12 -10
- package/es/ModalFooter.js +7 -7
- package/es/ModalHeader.js +10 -10
- package/es/ModalTitle.js +7 -7
- package/es/Nav.js +24 -24
- package/es/NavDropdown.js +11 -11
- package/es/NavItem.js +12 -12
- package/es/Navbar.js +30 -30
- package/es/NavbarBrand.js +7 -7
- package/es/NavbarCollapse.js +7 -7
- package/es/NavbarHeader.js +6 -6
- package/es/NavbarToggle.js +8 -8
- package/es/Overlay.js +7 -7
- package/es/OverlayTrigger.js +20 -19
- package/es/PageHeader.js +7 -7
- package/es/Pager.js +8 -8
- package/es/PagerItem.js +17 -17
- package/es/Pagination.js +7 -7
- package/es/PaginationItem.js +9 -9
- package/es/Panel.js +18 -15
- package/es/PanelBody.js +6 -6
- package/es/PanelCollapse.js +3 -3
- package/es/PanelFooter.js +5 -5
- package/es/PanelGroup.js +21 -18
- package/es/PanelHeading.js +8 -8
- package/es/PanelTitle.js +9 -9
- package/es/PanelToggle.js +9 -9
- package/es/Popover.js +14 -14
- package/es/ProgressBar.js +9 -9
- package/es/Radio.js +13 -13
- package/es/ResponsiveEmbed.js +9 -9
- package/es/Row.js +7 -7
- package/es/SafeAnchor.js +15 -15
- package/es/SplitButton.js +10 -10
- package/es/SplitToggle.js +2 -2
- package/es/Tab.js +2 -2
- package/es/TabContainer.js +11 -11
- package/es/TabContent.js +17 -16
- package/es/TabPane.js +23 -23
- package/es/Table.js +11 -11
- package/es/Tabs.js +17 -17
- package/es/Thumbnail.js +11 -11
- package/es/ToggleButton.js +11 -11
- package/es/ToggleButtonGroup.js +12 -12
- package/es/Tooltip.js +13 -13
- package/es/Well.js +6 -6
- package/es/utils/bootstrapUtils.js +3 -3
- package/es/utils/deprecationWarning.js +5 -4
- package/es/utils/splitComponentProps.js +1 -1
- package/lib/Accordion.js +3 -3
- package/lib/Alert.js +11 -11
- package/lib/Badge.js +9 -9
- package/lib/Breadcrumb.js +7 -7
- package/lib/BreadcrumbItem.js +11 -11
- package/lib/Button.js +11 -11
- package/lib/ButtonGroup.js +10 -10
- package/lib/ButtonToolbar.js +7 -7
- package/lib/Carousel.js +32 -31
- package/lib/CarouselCaption.js +8 -8
- package/lib/CarouselItem.js +15 -14
- package/lib/Checkbox.js +14 -14
- package/lib/Clearfix.js +8 -8
- package/lib/CloseButton.js +5 -5
- package/lib/Col.js +8 -8
- package/lib/Collapse.js +35 -23
- package/lib/ControlLabel.js +10 -10
- package/lib/Dropdown.js +28 -27
- package/lib/DropdownButton.js +10 -10
- package/lib/DropdownMenu.js +23 -23
- package/lib/DropdownToggle.js +12 -12
- package/lib/Fade.js +9 -9
- package/lib/Form.js +10 -10
- package/lib/FormControl.js +13 -13
- package/lib/FormControlFeedback.js +8 -8
- package/lib/FormControlStatic.js +8 -8
- package/lib/FormGroup.js +12 -12
- package/lib/Glyphicon.js +8 -8
- package/lib/Grid.js +9 -9
- package/lib/HelpBlock.js +7 -7
- package/lib/Image.js +11 -11
- package/lib/InputGroup.js +7 -7
- package/lib/InputGroupAddon.js +7 -7
- package/lib/InputGroupButton.js +7 -7
- package/lib/Jumbotron.js +8 -8
- package/lib/Label.js +9 -9
- package/lib/ListGroup.js +11 -11
- package/lib/ListGroupItem.js +14 -14
- package/lib/Media.js +8 -8
- package/lib/MediaBody.js +9 -9
- package/lib/MediaHeading.js +8 -8
- package/lib/MediaLeft.js +8 -8
- package/lib/MediaList.js +7 -7
- package/lib/MediaListItem.js +7 -7
- package/lib/MediaRight.js +8 -8
- package/lib/MenuItem.js +20 -20
- package/lib/Modal.js +43 -25
- package/lib/ModalBody.js +8 -8
- package/lib/ModalDialog.js +13 -11
- package/lib/ModalFooter.js +8 -8
- package/lib/ModalHeader.js +11 -11
- package/lib/ModalTitle.js +8 -8
- package/lib/Nav.js +27 -26
- package/lib/NavDropdown.js +12 -12
- package/lib/NavItem.js +13 -13
- package/lib/Navbar.js +32 -32
- package/lib/NavbarBrand.js +8 -8
- package/lib/NavbarCollapse.js +8 -8
- package/lib/NavbarHeader.js +7 -7
- package/lib/NavbarToggle.js +9 -9
- package/lib/Overlay.js +9 -9
- package/lib/OverlayTrigger.js +23 -21
- package/lib/PageHeader.js +8 -8
- package/lib/PageItem.js +1 -1
- package/lib/Pager.js +10 -10
- package/lib/PagerItem.js +18 -18
- package/lib/Pagination.js +9 -9
- package/lib/PaginationItem.js +10 -10
- package/lib/Panel.js +20 -18
- package/lib/PanelBody.js +7 -7
- package/lib/PanelCollapse.js +4 -4
- package/lib/PanelFooter.js +6 -6
- package/lib/PanelGroup.js +24 -22
- package/lib/PanelHeading.js +9 -9
- package/lib/PanelTitle.js +10 -10
- package/lib/PanelToggle.js +10 -10
- package/lib/Popover.js +15 -15
- package/lib/ProgressBar.js +11 -11
- package/lib/Radio.js +14 -14
- package/lib/ResponsiveEmbed.js +11 -11
- package/lib/Row.js +8 -8
- package/lib/SafeAnchor.js +16 -16
- package/lib/SplitButton.js +11 -11
- package/lib/SplitToggle.js +3 -3
- package/lib/Tab.js +3 -3
- package/lib/TabContainer.js +13 -13
- package/lib/TabContent.js +18 -17
- package/lib/TabPane.js +23 -23
- package/lib/Table.js +12 -12
- package/lib/Tabs.js +19 -19
- package/lib/Thumbnail.js +12 -12
- package/lib/ToggleButton.js +12 -12
- package/lib/ToggleButtonGroup.js +14 -14
- package/lib/Tooltip.js +14 -14
- package/lib/Well.js +7 -7
- package/lib/index.js +2 -2
- package/lib/utils/PropTypes.js +1 -1
- package/lib/utils/ValidComponentChildren.js +1 -1
- package/lib/utils/bootstrapUtils.js +4 -4
- package/lib/utils/deprecationWarning.js +6 -5
- package/lib/utils/index.js +2 -2
- package/lib/utils/splitComponentProps.js +2 -2
- package/package.json +41 -42
package/es/Dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
4
|
-
import _assertThisInitialized from "@babel/runtime/helpers/
|
|
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 activeElement from 'dom-helpers/activeElement';
|
|
7
7
|
import contains from 'dom-helpers/query/contains';
|
|
@@ -12,7 +12,7 @@ import ReactDOM from 'react-dom';
|
|
|
12
12
|
import all from 'prop-types-extra/lib/all';
|
|
13
13
|
import elementType from 'prop-types-extra/lib/elementType';
|
|
14
14
|
import isRequiredForA11y from 'prop-types-extra/lib/isRequiredForA11y';
|
|
15
|
-
import uncontrollable from 'uncontrollable';
|
|
15
|
+
import { uncontrollable } from 'uncontrollable';
|
|
16
16
|
import warning from 'warning';
|
|
17
17
|
import ButtonGroup from './ButtonGroup';
|
|
18
18
|
import DropdownMenu from './DropdownMenu';
|
|
@@ -119,9 +119,9 @@ function (_React$Component) {
|
|
|
119
119
|
var _this;
|
|
120
120
|
|
|
121
121
|
_this = _React$Component.call(this, props, context) || this;
|
|
122
|
-
_this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));
|
|
123
|
-
_this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));
|
|
124
|
-
_this.handleClose = _this.handleClose.bind(_assertThisInitialized(_this));
|
|
122
|
+
_this.handleClick = _this.handleClick.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
123
|
+
_this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
124
|
+
_this.handleClose = _this.handleClose.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
125
125
|
_this._focusInDropdown = false;
|
|
126
126
|
_this.lastOpenEventType = null;
|
|
127
127
|
return _this;
|
|
@@ -133,7 +133,8 @@ function (_React$Component) {
|
|
|
133
133
|
this.focusNextOnOpen();
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
_proto.
|
|
136
|
+
_proto.UNSAFE_componentWillUpdate = function UNSAFE_componentWillUpdate(nextProps) {
|
|
137
|
+
// eslint-disable-line
|
|
137
138
|
if (!nextProps.open && this.props.open) {
|
|
138
139
|
this._focusInDropdown = contains(ReactDOM.findDOMNode(this.menu), activeElement(document));
|
|
139
140
|
}
|
|
@@ -242,7 +243,7 @@ function (_React$Component) {
|
|
|
242
243
|
var id = _ref.id,
|
|
243
244
|
onSelect = _ref.onSelect,
|
|
244
245
|
rootCloseEvent = _ref.rootCloseEvent,
|
|
245
|
-
props =
|
|
246
|
+
props = _objectWithoutPropertiesLoose(_ref, ["id", "onSelect", "rootCloseEvent"]);
|
|
246
247
|
|
|
247
248
|
var ref = function ref(c) {
|
|
248
249
|
_this2.menu = c;
|
|
@@ -293,20 +294,20 @@ function (_React$Component) {
|
|
|
293
294
|
var _classes,
|
|
294
295
|
_this4 = this;
|
|
295
296
|
|
|
296
|
-
var
|
|
297
|
-
Component =
|
|
298
|
-
id =
|
|
299
|
-
dropup =
|
|
300
|
-
disabled =
|
|
301
|
-
pullRight =
|
|
302
|
-
open =
|
|
303
|
-
onSelect =
|
|
304
|
-
role =
|
|
305
|
-
bsClass =
|
|
306
|
-
className =
|
|
307
|
-
rootCloseEvent =
|
|
308
|
-
children =
|
|
309
|
-
props =
|
|
297
|
+
var _this$props = this.props,
|
|
298
|
+
Component = _this$props.componentClass,
|
|
299
|
+
id = _this$props.id,
|
|
300
|
+
dropup = _this$props.dropup,
|
|
301
|
+
disabled = _this$props.disabled,
|
|
302
|
+
pullRight = _this$props.pullRight,
|
|
303
|
+
open = _this$props.open,
|
|
304
|
+
onSelect = _this$props.onSelect,
|
|
305
|
+
role = _this$props.role,
|
|
306
|
+
bsClass = _this$props.bsClass,
|
|
307
|
+
className = _this$props.className,
|
|
308
|
+
rootCloseEvent = _this$props.rootCloseEvent,
|
|
309
|
+
children = _this$props.children,
|
|
310
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "id", "dropup", "disabled", "pullRight", "open", "onSelect", "role", "bsClass", "className", "rootCloseEvent", "children"]);
|
|
310
311
|
|
|
311
312
|
delete props.onToggle;
|
|
312
313
|
var classes = (_classes = {}, _classes[bsClass] = true, _classes.open = open, _classes.disabled = disabled, _classes);
|
package/es/DropdownButton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
3
|
-
import _extends from "@babel/runtime/helpers/
|
|
1
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
|
+
import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
|
|
3
|
+
import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import Dropdown from './Dropdown';
|
|
@@ -32,12 +32,12 @@ function (_React$Component) {
|
|
|
32
32
|
var _proto = DropdownButton.prototype;
|
|
33
33
|
|
|
34
34
|
_proto.render = function render() {
|
|
35
|
-
var
|
|
36
|
-
bsSize =
|
|
37
|
-
bsStyle =
|
|
38
|
-
title =
|
|
39
|
-
children =
|
|
40
|
-
props =
|
|
35
|
+
var _this$props = this.props,
|
|
36
|
+
bsSize = _this$props.bsSize,
|
|
37
|
+
bsStyle = _this$props.bsStyle,
|
|
38
|
+
title = _this$props.title,
|
|
39
|
+
children = _this$props.children,
|
|
40
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["bsSize", "bsStyle", "title", "children"]);
|
|
41
41
|
|
|
42
42
|
var _splitComponentProps = splitComponentProps(props, Dropdown.ControlledComponent),
|
|
43
43
|
dropdownProps = _splitComponentProps[0],
|
package/es/DropdownMenu.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _Array$from from "@babel/runtime/core-js/array/from";
|
|
4
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
5
|
-
import _assertThisInitialized from "@babel/runtime/helpers/
|
|
1
|
+
import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
import _Array$from from "@babel/runtime-corejs2/core-js/array/from";
|
|
4
|
+
import _inheritsLoose from "@babel/runtime-corejs2/helpers/esm/inheritsLoose";
|
|
5
|
+
import _assertThisInitialized from "@babel/runtime-corejs2/helpers/esm/assertThisInitialized";
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import keycode from 'keycode';
|
|
8
8
|
import React from 'react';
|
|
@@ -34,8 +34,8 @@ function (_React$Component) {
|
|
|
34
34
|
var _this;
|
|
35
35
|
|
|
36
36
|
_this = _React$Component.call(this, props) || this;
|
|
37
|
-
_this.handleRootClose = _this.handleRootClose.bind(_assertThisInitialized(_this));
|
|
38
|
-
_this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));
|
|
37
|
+
_this.handleRootClose = _this.handleRootClose.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
38
|
+
_this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
39
39
|
return _this;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -61,9 +61,9 @@ function (_React$Component) {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
_proto.focusNext = function focusNext() {
|
|
64
|
-
var
|
|
65
|
-
items =
|
|
66
|
-
activeIndex =
|
|
64
|
+
var _this$getItemsAndActi = this.getItemsAndActiveIndex(),
|
|
65
|
+
items = _this$getItemsAndActi.items,
|
|
66
|
+
activeIndex = _this$getItemsAndActi.activeIndex;
|
|
67
67
|
|
|
68
68
|
if (items.length === 0) {
|
|
69
69
|
return;
|
|
@@ -74,9 +74,9 @@ function (_React$Component) {
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
_proto.focusPrevious = function focusPrevious() {
|
|
77
|
-
var
|
|
78
|
-
items =
|
|
79
|
-
activeIndex =
|
|
77
|
+
var _this$getItemsAndActi2 = this.getItemsAndActiveIndex(),
|
|
78
|
+
items = _this$getItemsAndActi2.items,
|
|
79
|
+
activeIndex = _this$getItemsAndActi2.activeIndex;
|
|
80
80
|
|
|
81
81
|
if (items.length === 0) {
|
|
82
82
|
return;
|
|
@@ -119,15 +119,15 @@ function (_React$Component) {
|
|
|
119
119
|
var _extends2,
|
|
120
120
|
_this2 = this;
|
|
121
121
|
|
|
122
|
-
var
|
|
123
|
-
open =
|
|
124
|
-
pullRight =
|
|
125
|
-
labelledBy =
|
|
126
|
-
onSelect =
|
|
127
|
-
className =
|
|
128
|
-
rootCloseEvent =
|
|
129
|
-
children =
|
|
130
|
-
props =
|
|
122
|
+
var _this$props = this.props,
|
|
123
|
+
open = _this$props.open,
|
|
124
|
+
pullRight = _this$props.pullRight,
|
|
125
|
+
labelledBy = _this$props.labelledBy,
|
|
126
|
+
onSelect = _this$props.onSelect,
|
|
127
|
+
className = _this$props.className,
|
|
128
|
+
rootCloseEvent = _this$props.rootCloseEvent,
|
|
129
|
+
children = _this$props.children,
|
|
130
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["open", "pullRight", "labelledBy", "onSelect", "className", "rootCloseEvent", "children"]);
|
|
131
131
|
|
|
132
132
|
var _splitBsPropsAndOmit = splitBsPropsAndOmit(props, ['onClose']),
|
|
133
133
|
bsProps = _splitBsPropsAndOmit[0],
|
package/es/DropdownToggle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import classNames from 'classnames';
|
|
@@ -31,14 +31,14 @@ function (_React$Component) {
|
|
|
31
31
|
var _proto = DropdownToggle.prototype;
|
|
32
32
|
|
|
33
33
|
_proto.render = function render() {
|
|
34
|
-
var
|
|
35
|
-
noCaret =
|
|
36
|
-
open =
|
|
37
|
-
useAnchor =
|
|
38
|
-
bsClass =
|
|
39
|
-
className =
|
|
40
|
-
children =
|
|
41
|
-
props =
|
|
34
|
+
var _this$props = this.props,
|
|
35
|
+
noCaret = _this$props.noCaret,
|
|
36
|
+
open = _this$props.open,
|
|
37
|
+
useAnchor = _this$props.useAnchor,
|
|
38
|
+
bsClass = _this$props.bsClass,
|
|
39
|
+
className = _this$props.className,
|
|
40
|
+
children = _this$props.children,
|
|
41
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["noCaret", "open", "useAnchor", "bsClass", "className", "children"]);
|
|
42
42
|
|
|
43
43
|
delete props.bsRole;
|
|
44
44
|
var Component = useAnchor ? SafeAnchor : Button;
|
package/es/Fade.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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
|
var _fadeStyles;
|
|
6
6
|
|
|
@@ -88,10 +88,10 @@ function (_React$Component) {
|
|
|
88
88
|
var _proto = Fade.prototype;
|
|
89
89
|
|
|
90
90
|
_proto.render = function render() {
|
|
91
|
-
var
|
|
92
|
-
className =
|
|
93
|
-
children =
|
|
94
|
-
props =
|
|
91
|
+
var _this$props = this.props,
|
|
92
|
+
className = _this$props.className,
|
|
93
|
+
children = _this$props.children,
|
|
94
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["className", "children"]);
|
|
95
95
|
|
|
96
96
|
return React.createElement(Transition, props, function (status, innerProps) {
|
|
97
97
|
return React.cloneElement(children, _extends({}, innerProps, {
|
package/es/Form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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';
|
|
@@ -29,12 +29,12 @@ function (_React$Component) {
|
|
|
29
29
|
var _proto = Form.prototype;
|
|
30
30
|
|
|
31
31
|
_proto.render = function render() {
|
|
32
|
-
var
|
|
33
|
-
horizontal =
|
|
34
|
-
inline =
|
|
35
|
-
Component =
|
|
36
|
-
className =
|
|
37
|
-
props =
|
|
32
|
+
var _this$props = this.props,
|
|
33
|
+
horizontal = _this$props.horizontal,
|
|
34
|
+
inline = _this$props.inline,
|
|
35
|
+
Component = _this$props.componentClass,
|
|
36
|
+
className = _this$props.className,
|
|
37
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["horizontal", "inline", "componentClass", "className"]);
|
|
38
38
|
|
|
39
39
|
var _splitBsProps = splitBsProps(props),
|
|
40
40
|
bsProps = _splitBsProps[0],
|
package/es/FormControl.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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';
|
|
@@ -54,15 +54,15 @@ function (_React$Component) {
|
|
|
54
54
|
var formGroup = this.context.$bs_formGroup;
|
|
55
55
|
var controlId = formGroup && formGroup.controlId;
|
|
56
56
|
|
|
57
|
-
var
|
|
58
|
-
Component =
|
|
59
|
-
type =
|
|
60
|
-
|
|
61
|
-
id =
|
|
62
|
-
inputRef =
|
|
63
|
-
className =
|
|
64
|
-
bsSize =
|
|
65
|
-
props =
|
|
57
|
+
var _this$props = this.props,
|
|
58
|
+
Component = _this$props.componentClass,
|
|
59
|
+
type = _this$props.type,
|
|
60
|
+
_this$props$id = _this$props.id,
|
|
61
|
+
id = _this$props$id === void 0 ? controlId : _this$props$id,
|
|
62
|
+
inputRef = _this$props.inputRef,
|
|
63
|
+
className = _this$props.className,
|
|
64
|
+
bsSize = _this$props.bsSize,
|
|
65
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "type", "id", "inputRef", "className", "bsSize"]);
|
|
66
66
|
|
|
67
67
|
var _splitBsProps = splitBsProps(props),
|
|
68
68
|
bsProps = _splitBsProps[0],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
1
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
|
+
import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
|
|
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';
|
|
@@ -54,10 +54,10 @@ function (_React$Component) {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
_proto.render = function render() {
|
|
57
|
-
var
|
|
58
|
-
className =
|
|
59
|
-
children =
|
|
60
|
-
props =
|
|
57
|
+
var _this$props = this.props,
|
|
58
|
+
className = _this$props.className,
|
|
59
|
+
children = _this$props.children,
|
|
60
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["className", "children"]);
|
|
61
61
|
|
|
62
62
|
var _splitBsProps = splitBsProps(props),
|
|
63
63
|
bsProps = _splitBsProps[0],
|
package/es/FormControlStatic.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 = FormControlStatic.prototype;
|
|
25
25
|
|
|
26
26
|
_proto.render = function render() {
|
|
27
|
-
var
|
|
28
|
-
Component =
|
|
29
|
-
className =
|
|
30
|
-
props =
|
|
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],
|
package/es/FormGroup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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';
|
|
@@ -30,9 +30,9 @@ function (_React$Component) {
|
|
|
30
30
|
var _proto = FormGroup.prototype;
|
|
31
31
|
|
|
32
32
|
_proto.getChildContext = function getChildContext() {
|
|
33
|
-
var
|
|
34
|
-
controlId =
|
|
35
|
-
validationState =
|
|
33
|
+
var _this$props = this.props,
|
|
34
|
+
controlId = _this$props.controlId,
|
|
35
|
+
validationState = _this$props.validationState;
|
|
36
36
|
return {
|
|
37
37
|
$bs_formGroup: {
|
|
38
38
|
controlId: controlId,
|
|
@@ -50,11 +50,11 @@ function (_React$Component) {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
_proto.render = function render() {
|
|
53
|
-
var
|
|
54
|
-
validationState =
|
|
55
|
-
className =
|
|
56
|
-
children =
|
|
57
|
-
props =
|
|
53
|
+
var _this$props2 = this.props,
|
|
54
|
+
validationState = _this$props2.validationState,
|
|
55
|
+
className = _this$props2.className,
|
|
56
|
+
children = _this$props2.children,
|
|
57
|
+
props = _objectWithoutPropertiesLoose(_this$props2, ["validationState", "className", "children"]);
|
|
58
58
|
|
|
59
59
|
var _splitBsPropsAndOmit = splitBsPropsAndOmit(props, ['controlId']),
|
|
60
60
|
bsProps = _splitBsPropsAndOmit[0],
|
package/es/Glyphicon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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';
|
|
@@ -26,10 +26,10 @@ function (_React$Component) {
|
|
|
26
26
|
_proto.render = function render() {
|
|
27
27
|
var _extends2;
|
|
28
28
|
|
|
29
|
-
var
|
|
30
|
-
glyph =
|
|
31
|
-
className =
|
|
32
|
-
props =
|
|
29
|
+
var _this$props = this.props,
|
|
30
|
+
glyph = _this$props.glyph,
|
|
31
|
+
className = _this$props.className,
|
|
32
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["glyph", "className"]);
|
|
33
33
|
|
|
34
34
|
var _splitBsProps = splitBsProps(props),
|
|
35
35
|
bsProps = _splitBsProps[0],
|
package/es/Grid.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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';
|
|
@@ -36,11 +36,11 @@ function (_React$Component) {
|
|
|
36
36
|
var _proto = Grid.prototype;
|
|
37
37
|
|
|
38
38
|
_proto.render = function render() {
|
|
39
|
-
var
|
|
40
|
-
fluid =
|
|
41
|
-
Component =
|
|
42
|
-
className =
|
|
43
|
-
props =
|
|
39
|
+
var _this$props = this.props,
|
|
40
|
+
fluid = _this$props.fluid,
|
|
41
|
+
Component = _this$props.componentClass,
|
|
42
|
+
className = _this$props.className,
|
|
43
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["fluid", "componentClass", "className"]);
|
|
44
44
|
|
|
45
45
|
var _splitBsProps = splitBsProps(props),
|
|
46
46
|
bsProps = _splitBsProps[0],
|
package/es/HelpBlock.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 = HelpBlock.prototype;
|
|
18
18
|
|
|
19
19
|
_proto.render = function render() {
|
|
20
|
-
var
|
|
21
|
-
className =
|
|
22
|
-
props =
|
|
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/Image.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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';
|
|
@@ -47,13 +47,13 @@ function (_React$Component) {
|
|
|
47
47
|
_proto.render = function render() {
|
|
48
48
|
var _classes;
|
|
49
49
|
|
|
50
|
-
var
|
|
51
|
-
responsive =
|
|
52
|
-
rounded =
|
|
53
|
-
circle =
|
|
54
|
-
thumbnail =
|
|
55
|
-
className =
|
|
56
|
-
props =
|
|
50
|
+
var _this$props = this.props,
|
|
51
|
+
responsive = _this$props.responsive,
|
|
52
|
+
rounded = _this$props.rounded,
|
|
53
|
+
circle = _this$props.circle,
|
|
54
|
+
thumbnail = _this$props.thumbnail,
|
|
55
|
+
className = _this$props.className,
|
|
56
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["responsive", "rounded", "circle", "thumbnail", "className"]);
|
|
57
57
|
|
|
58
58
|
var _splitBsProps = splitBsProps(props),
|
|
59
59
|
bsProps = _splitBsProps[0],
|
package/es/InputGroup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 InputGroupAddon from './InputGroupAddon';
|
|
@@ -20,9 +20,9 @@ function (_React$Component) {
|
|
|
20
20
|
var _proto = InputGroup.prototype;
|
|
21
21
|
|
|
22
22
|
_proto.render = function render() {
|
|
23
|
-
var
|
|
24
|
-
className =
|
|
25
|
-
props =
|
|
23
|
+
var _this$props = this.props,
|
|
24
|
+
className = _this$props.className,
|
|
25
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["className"]);
|
|
26
26
|
|
|
27
27
|
var _splitBsProps = splitBsProps(props),
|
|
28
28
|
bsProps = _splitBsProps[0],
|
package/es/InputGroupAddon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 = InputGroupAddon.prototype;
|
|
18
18
|
|
|
19
19
|
_proto.render = function render() {
|
|
20
|
-
var
|
|
21
|
-
className =
|
|
22
|
-
props =
|
|
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/InputGroupButton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 = InputGroupButton.prototype;
|
|
18
18
|
|
|
19
19
|
_proto.render = function render() {
|
|
20
|
-
var
|
|
21
|
-
className =
|
|
22
|
-
props =
|
|
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/Jumbotron.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/
|
|
2
|
-
import
|
|
3
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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 React from 'react';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import elementType from 'prop-types-extra/lib/elementType';
|
|
@@ -24,10 +24,10 @@ function (_React$Component) {
|
|
|
24
24
|
var _proto = Jumbotron.prototype;
|
|
25
25
|
|
|
26
26
|
_proto.render = function render() {
|
|
27
|
-
var
|
|
28
|
-
Component =
|
|
29
|
-
className =
|
|
30
|
-
props =
|
|
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],
|