react-bootstrap 0.32.3 → 0.32.4
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/dist/react-bootstrap.js +7546 -8855
- package/dist/react-bootstrap.min.js +3 -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 +29 -29
- package/es/CarouselCaption.js +7 -7
- package/es/CarouselItem.js +12 -12
- 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 +22 -22
- 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 +21 -21
- package/es/ModalBody.js +7 -7
- package/es/ModalDialog.js +9 -9
- package/es/ModalFooter.js +7 -7
- package/es/ModalHeader.js +10 -10
- package/es/ModalTitle.js +7 -7
- package/es/Nav.js +23 -23
- package/es/NavDropdown.js +11 -11
- package/es/NavItem.js +12 -12
- package/es/Navbar.js +28 -28
- 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 +17 -14
- package/es/PanelBody.js +6 -6
- package/es/PanelCollapse.js +3 -3
- package/es/PanelFooter.js +5 -5
- package/es/PanelGroup.js +20 -17
- 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 +10 -10
- package/es/TabContent.js +15 -15
- package/es/TabPane.js +23 -23
- package/es/Table.js +11 -11
- package/es/Tabs.js +16 -16
- package/es/Thumbnail.js +11 -11
- package/es/ToggleButton.js +11 -11
- package/es/ToggleButtonGroup.js +11 -11
- package/es/Tooltip.js +13 -13
- package/es/Well.js +6 -6
- package/es/utils/bootstrapUtils.js +2 -2
- package/es/utils/deprecationWarning.js +1 -1
- 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 +30 -30
- package/lib/CarouselCaption.js +8 -8
- package/lib/CarouselItem.js +13 -13
- 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 +24 -24
- 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 +22 -22
- package/lib/ModalBody.js +8 -8
- package/lib/ModalDialog.js +10 -10
- package/lib/ModalFooter.js +8 -8
- package/lib/ModalHeader.js +11 -11
- package/lib/ModalTitle.js +8 -8
- package/lib/Nav.js +25 -25
- package/lib/NavDropdown.js +12 -12
- package/lib/NavItem.js +13 -13
- package/lib/Navbar.js +29 -29
- 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 +18 -16
- package/lib/PanelBody.js +7 -7
- package/lib/PanelCollapse.js +4 -4
- package/lib/PanelFooter.js +6 -6
- package/lib/PanelGroup.js +22 -20
- 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 +11 -11
- package/lib/TabContent.js +16 -16
- package/lib/TabPane.js +23 -23
- package/lib/Table.js +12 -12
- package/lib/Tabs.js +17 -17
- package/lib/Thumbnail.js +12 -12
- package/lib/ToggleButton.js +12 -12
- package/lib/ToggleButtonGroup.js +12 -12
- 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 +3 -3
- package/lib/utils/deprecationWarning.js +2 -2
- package/lib/utils/index.js +2 -2
- package/lib/utils/splitComponentProps.js +2 -2
- package/package.json +17 -17
package/es/ListGroup.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, { cloneElement } from 'react';
|
|
6
6
|
import elementType from 'prop-types-extra/lib/elementType';
|
|
@@ -44,12 +44,12 @@ function (_React$Component) {
|
|
|
44
44
|
var _proto = ListGroup.prototype;
|
|
45
45
|
|
|
46
46
|
_proto.render = function render() {
|
|
47
|
-
var
|
|
48
|
-
children =
|
|
49
|
-
|
|
50
|
-
Component =
|
|
51
|
-
className =
|
|
52
|
-
props =
|
|
47
|
+
var _this$props = this.props,
|
|
48
|
+
children = _this$props.children,
|
|
49
|
+
_this$props$component = _this$props.componentClass,
|
|
50
|
+
Component = _this$props$component === void 0 ? getDefaultComponent(children) : _this$props$component,
|
|
51
|
+
className = _this$props.className,
|
|
52
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["children", "componentClass", "className"]);
|
|
53
53
|
|
|
54
54
|
var _splitBsProps = splitBsProps(props),
|
|
55
55
|
bsProps = _splitBsProps[0],
|
package/es/ListGroupItem.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _Object$values from "@babel/runtime/core-js/object/values";
|
|
2
|
-
import _extends from "@babel/runtime/helpers/
|
|
3
|
-
import
|
|
4
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
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, { cloneElement } from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -44,14 +44,14 @@ function (_React$Component) {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
_proto.render = function render() {
|
|
47
|
-
var
|
|
48
|
-
active =
|
|
49
|
-
disabled =
|
|
50
|
-
className =
|
|
51
|
-
header =
|
|
52
|
-
listItem =
|
|
53
|
-
children =
|
|
54
|
-
props =
|
|
47
|
+
var _this$props = this.props,
|
|
48
|
+
active = _this$props.active,
|
|
49
|
+
disabled = _this$props.disabled,
|
|
50
|
+
className = _this$props.className,
|
|
51
|
+
header = _this$props.header,
|
|
52
|
+
listItem = _this$props.listItem,
|
|
53
|
+
children = _this$props.children,
|
|
54
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["active", "disabled", "className", "header", "listItem", "children"]);
|
|
55
55
|
|
|
56
56
|
var _splitBsProps = splitBsProps(props),
|
|
57
57
|
bsProps = _splitBsProps[0],
|
package/es/Media.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';
|
|
@@ -30,10 +30,10 @@ function (_React$Component) {
|
|
|
30
30
|
var _proto = Media.prototype;
|
|
31
31
|
|
|
32
32
|
_proto.render = function render() {
|
|
33
|
-
var
|
|
34
|
-
Component =
|
|
35
|
-
className =
|
|
36
|
-
props =
|
|
33
|
+
var _this$props = this.props,
|
|
34
|
+
Component = _this$props.componentClass,
|
|
35
|
+
className = _this$props.className,
|
|
36
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "className"]);
|
|
37
37
|
|
|
38
38
|
var _splitBsProps = splitBsProps(props),
|
|
39
39
|
bsProps = _splitBsProps[0],
|
package/es/MediaBody.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,11 +30,11 @@ function (_React$Component) {
|
|
|
30
30
|
var _proto = MediaBody.prototype;
|
|
31
31
|
|
|
32
32
|
_proto.render = function render() {
|
|
33
|
-
var
|
|
34
|
-
Component =
|
|
35
|
-
align =
|
|
36
|
-
className =
|
|
37
|
-
props =
|
|
33
|
+
var _this$props = this.props,
|
|
34
|
+
Component = _this$props.componentClass,
|
|
35
|
+
align = _this$props.align,
|
|
36
|
+
className = _this$props.className,
|
|
37
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["componentClass", "align", "className"]);
|
|
38
38
|
|
|
39
39
|
var _splitBsProps = splitBsProps(props),
|
|
40
40
|
bsProps = _splitBsProps[0],
|
package/es/MediaHeading.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 = MediaHeading.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/MediaLeft.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';
|
|
@@ -25,10 +25,10 @@ function (_React$Component) {
|
|
|
25
25
|
var _proto = MediaLeft.prototype;
|
|
26
26
|
|
|
27
27
|
_proto.render = function render() {
|
|
28
|
-
var
|
|
29
|
-
align =
|
|
30
|
-
className =
|
|
31
|
-
props =
|
|
28
|
+
var _this$props = this.props,
|
|
29
|
+
align = _this$props.align,
|
|
30
|
+
className = _this$props.className,
|
|
31
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["align", "className"]);
|
|
32
32
|
|
|
33
33
|
var _splitBsProps = splitBsProps(props),
|
|
34
34
|
bsProps = _splitBsProps[0],
|
package/es/MediaList.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 = MediaList.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/MediaListItem.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 = MediaListItem.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/MediaRight.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';
|
|
@@ -25,10 +25,10 @@ function (_React$Component) {
|
|
|
25
25
|
var _proto = MediaRight.prototype;
|
|
26
26
|
|
|
27
27
|
_proto.render = function render() {
|
|
28
|
-
var
|
|
29
|
-
align =
|
|
30
|
-
className =
|
|
31
|
-
props =
|
|
28
|
+
var _this$props = this.props,
|
|
29
|
+
align = _this$props.align,
|
|
30
|
+
className = _this$props.className,
|
|
31
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["align", "className"]);
|
|
32
32
|
|
|
33
33
|
var _splitBsProps = splitBsProps(props),
|
|
34
34
|
bsProps = _splitBsProps[0],
|
package/es/MenuItem.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 React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -74,18 +74,18 @@ function (_React$Component) {
|
|
|
74
74
|
var _this;
|
|
75
75
|
|
|
76
76
|
_this = _React$Component.call(this, props, context) || this;
|
|
77
|
-
_this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));
|
|
77
|
+
_this.handleClick = _this.handleClick.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
78
78
|
return _this;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
var _proto = MenuItem.prototype;
|
|
82
82
|
|
|
83
83
|
_proto.handleClick = function handleClick(event) {
|
|
84
|
-
var
|
|
85
|
-
href =
|
|
86
|
-
disabled =
|
|
87
|
-
onSelect =
|
|
88
|
-
eventKey =
|
|
84
|
+
var _this$props = this.props,
|
|
85
|
+
href = _this$props.href,
|
|
86
|
+
disabled = _this$props.disabled,
|
|
87
|
+
onSelect = _this$props.onSelect,
|
|
88
|
+
eventKey = _this$props.eventKey;
|
|
89
89
|
|
|
90
90
|
if (!href || disabled) {
|
|
91
91
|
event.preventDefault();
|
|
@@ -101,15 +101,15 @@ function (_React$Component) {
|
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
_proto.render = function render() {
|
|
104
|
-
var
|
|
105
|
-
active =
|
|
106
|
-
disabled =
|
|
107
|
-
divider =
|
|
108
|
-
header =
|
|
109
|
-
onClick =
|
|
110
|
-
className =
|
|
111
|
-
style =
|
|
112
|
-
props =
|
|
104
|
+
var _this$props2 = this.props,
|
|
105
|
+
active = _this$props2.active,
|
|
106
|
+
disabled = _this$props2.disabled,
|
|
107
|
+
divider = _this$props2.divider,
|
|
108
|
+
header = _this$props2.header,
|
|
109
|
+
onClick = _this$props2.onClick,
|
|
110
|
+
className = _this$props2.className,
|
|
111
|
+
style = _this$props2.style,
|
|
112
|
+
props = _objectWithoutPropertiesLoose(_this$props2, ["active", "disabled", "divider", "header", "onClick", "className", "style"]);
|
|
113
113
|
|
|
114
114
|
var _splitBsPropsAndOmit = splitBsPropsAndOmit(props, ['eventKey', 'onSelect']),
|
|
115
115
|
bsProps = _splitBsPropsAndOmit[0],
|
package/es/Modal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _inheritsLoose from "@babel/runtime/helpers/
|
|
3
|
-
import _assertThisInitialized from "@babel/runtime/helpers/
|
|
4
|
-
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 _assertThisInitialized from "@babel/runtime-corejs2/helpers/esm/assertThisInitialized";
|
|
4
|
+
import _extends from "@babel/runtime-corejs2/helpers/esm/extends";
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import events from 'dom-helpers/events';
|
|
7
7
|
import ownerDocument from 'dom-helpers/ownerDocument';
|
|
@@ -157,11 +157,11 @@ function (_React$Component) {
|
|
|
157
157
|
var _this;
|
|
158
158
|
|
|
159
159
|
_this = _React$Component.call(this, props, context) || this;
|
|
160
|
-
_this.handleEntering = _this.handleEntering.bind(_assertThisInitialized(_this));
|
|
161
|
-
_this.handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
|
|
162
|
-
_this.handleWindowResize = _this.handleWindowResize.bind(_assertThisInitialized(_this));
|
|
163
|
-
_this.handleDialogClick = _this.handleDialogClick.bind(_assertThisInitialized(_this));
|
|
164
|
-
_this.setModalRef = _this.setModalRef.bind(_assertThisInitialized(_this));
|
|
160
|
+
_this.handleEntering = _this.handleEntering.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
161
|
+
_this.handleExited = _this.handleExited.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
162
|
+
_this.handleWindowResize = _this.handleWindowResize.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
163
|
+
_this.handleDialogClick = _this.handleDialogClick.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
164
|
+
_this.setModalRef = _this.setModalRef.bind(_assertThisInitialized(_assertThisInitialized(_this)));
|
|
165
165
|
_this.state = {
|
|
166
166
|
style: {}
|
|
167
167
|
};
|
|
@@ -230,18 +230,18 @@ function (_React$Component) {
|
|
|
230
230
|
};
|
|
231
231
|
|
|
232
232
|
_proto.render = function render() {
|
|
233
|
-
var
|
|
234
|
-
backdrop =
|
|
235
|
-
backdropClassName =
|
|
236
|
-
animation =
|
|
237
|
-
show =
|
|
238
|
-
Dialog =
|
|
239
|
-
className =
|
|
240
|
-
style =
|
|
241
|
-
children =
|
|
242
|
-
onEntering =
|
|
243
|
-
onExited =
|
|
244
|
-
props =
|
|
233
|
+
var _this$props = this.props,
|
|
234
|
+
backdrop = _this$props.backdrop,
|
|
235
|
+
backdropClassName = _this$props.backdropClassName,
|
|
236
|
+
animation = _this$props.animation,
|
|
237
|
+
show = _this$props.show,
|
|
238
|
+
Dialog = _this$props.dialogComponentClass,
|
|
239
|
+
className = _this$props.className,
|
|
240
|
+
style = _this$props.style,
|
|
241
|
+
children = _this$props.children,
|
|
242
|
+
onEntering = _this$props.onEntering,
|
|
243
|
+
onExited = _this$props.onExited,
|
|
244
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["backdrop", "backdropClassName", "animation", "show", "dialogComponentClass", "className", "style", "children", "onEntering", "onExited"]);
|
|
245
245
|
|
|
246
246
|
var _splitComponentProps = splitComponentProps(props, BaseModal),
|
|
247
247
|
baseModalProps = _splitComponentProps[0],
|
package/es/ModalBody.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 = ModalBody.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/ModalDialog.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';
|
|
@@ -27,12 +27,12 @@ function (_React$Component) {
|
|
|
27
27
|
_proto.render = function render() {
|
|
28
28
|
var _extends2;
|
|
29
29
|
|
|
30
|
-
var
|
|
31
|
-
dialogClassName =
|
|
32
|
-
className =
|
|
33
|
-
style =
|
|
34
|
-
children =
|
|
35
|
-
props =
|
|
30
|
+
var _this$props = this.props,
|
|
31
|
+
dialogClassName = _this$props.dialogClassName,
|
|
32
|
+
className = _this$props.className,
|
|
33
|
+
style = _this$props.style,
|
|
34
|
+
children = _this$props.children,
|
|
35
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["dialogClassName", "className", "style", "children"]);
|
|
36
36
|
|
|
37
37
|
var _splitBsProps = splitBsProps(props),
|
|
38
38
|
bsProps = _splitBsProps[0],
|
package/es/ModalFooter.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 = ModalFooter.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/ModalHeader.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 PropTypes from 'prop-types';
|
|
6
6
|
import React from 'react';
|
|
@@ -50,13 +50,13 @@ function (_React$Component) {
|
|
|
50
50
|
var _proto = ModalHeader.prototype;
|
|
51
51
|
|
|
52
52
|
_proto.render = function render() {
|
|
53
|
-
var
|
|
54
|
-
closeLabel =
|
|
55
|
-
closeButton =
|
|
56
|
-
onHide =
|
|
57
|
-
className =
|
|
58
|
-
children =
|
|
59
|
-
props =
|
|
53
|
+
var _this$props = this.props,
|
|
54
|
+
closeLabel = _this$props.closeLabel,
|
|
55
|
+
closeButton = _this$props.closeButton,
|
|
56
|
+
onHide = _this$props.onHide,
|
|
57
|
+
className = _this$props.className,
|
|
58
|
+
children = _this$props.children,
|
|
59
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["closeLabel", "closeButton", "onHide", "className", "children"]);
|
|
60
60
|
|
|
61
61
|
var modal = this.context.$bs_modal;
|
|
62
62
|
|
package/es/ModalTitle.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 = ModalTitle.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/Nav.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 keycode from 'keycode';
|
|
6
6
|
import React, { cloneElement } from 'react';
|
|
@@ -117,9 +117,9 @@ function (_React$Component) {
|
|
|
117
117
|
this._needsRefocus = false;
|
|
118
118
|
var children = this.props.children;
|
|
119
119
|
|
|
120
|
-
var
|
|
121
|
-
activeKey =
|
|
122
|
-
activeHref =
|
|
120
|
+
var _this$getActiveProps = this.getActiveProps(),
|
|
121
|
+
activeKey = _this$getActiveProps.activeKey,
|
|
122
|
+
activeHref = _this$getActiveProps.activeHref;
|
|
123
123
|
|
|
124
124
|
var activeChild = ValidComponentChildren.find(children, function (child) {
|
|
125
125
|
return _this.isActive(child, activeKey, activeHref);
|
|
@@ -155,9 +155,9 @@ function (_React$Component) {
|
|
|
155
155
|
return child.props.eventKey != null && !child.props.disabled;
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
var
|
|
159
|
-
activeKey =
|
|
160
|
-
activeHref =
|
|
158
|
+
var _this$getActiveProps2 = this.getActiveProps(),
|
|
159
|
+
activeKey = _this$getActiveProps2.activeKey,
|
|
160
|
+
activeHref = _this$getActiveProps2.activeHref;
|
|
161
161
|
|
|
162
162
|
var activeChild = ValidComponentChildren.find(children, function (child) {
|
|
163
163
|
return _this2.isActive(child, activeKey, activeHref);
|
|
@@ -263,24 +263,24 @@ function (_React$Component) {
|
|
|
263
263
|
var _extends2,
|
|
264
264
|
_this4 = this;
|
|
265
265
|
|
|
266
|
-
var
|
|
267
|
-
stacked =
|
|
268
|
-
justified =
|
|
269
|
-
onSelect =
|
|
270
|
-
propsRole =
|
|
271
|
-
propsNavbar =
|
|
272
|
-
pullRight =
|
|
273
|
-
pullLeft =
|
|
274
|
-
className =
|
|
275
|
-
children =
|
|
276
|
-
props =
|
|
266
|
+
var _this$props = this.props,
|
|
267
|
+
stacked = _this$props.stacked,
|
|
268
|
+
justified = _this$props.justified,
|
|
269
|
+
onSelect = _this$props.onSelect,
|
|
270
|
+
propsRole = _this$props.role,
|
|
271
|
+
propsNavbar = _this$props.navbar,
|
|
272
|
+
pullRight = _this$props.pullRight,
|
|
273
|
+
pullLeft = _this$props.pullLeft,
|
|
274
|
+
className = _this$props.className,
|
|
275
|
+
children = _this$props.children,
|
|
276
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["stacked", "justified", "onSelect", "role", "navbar", "pullRight", "pullLeft", "className", "children"]);
|
|
277
277
|
|
|
278
278
|
var tabContainer = this.context.$bs_tabContainer;
|
|
279
279
|
var role = propsRole || (tabContainer ? 'tablist' : null);
|
|
280
280
|
|
|
281
|
-
var
|
|
282
|
-
activeKey =
|
|
283
|
-
activeHref =
|
|
281
|
+
var _this$getActiveProps3 = this.getActiveProps(),
|
|
282
|
+
activeKey = _this$getActiveProps3.activeKey,
|
|
283
|
+
activeHref = _this$getActiveProps3.activeHref;
|
|
284
284
|
|
|
285
285
|
delete props.activeKey; // Accessed via this.getActiveProps().
|
|
286
286
|
|
package/es/NavDropdown.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 classNames from 'classnames';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
@@ -55,14 +55,14 @@ function (_React$Component) {
|
|
|
55
55
|
_proto.render = function render() {
|
|
56
56
|
var _this2 = this;
|
|
57
57
|
|
|
58
|
-
var
|
|
59
|
-
title =
|
|
60
|
-
activeKey =
|
|
61
|
-
activeHref =
|
|
62
|
-
className =
|
|
63
|
-
style =
|
|
64
|
-
children =
|
|
65
|
-
props =
|
|
58
|
+
var _this$props = this.props,
|
|
59
|
+
title = _this$props.title,
|
|
60
|
+
activeKey = _this$props.activeKey,
|
|
61
|
+
activeHref = _this$props.activeHref,
|
|
62
|
+
className = _this$props.className,
|
|
63
|
+
style = _this$props.style,
|
|
64
|
+
children = _this$props.children,
|
|
65
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["title", "activeKey", "activeHref", "className", "style", "children"]);
|
|
66
66
|
|
|
67
67
|
var active = this.isActive(this, activeKey, activeHref);
|
|
68
68
|
delete props.active; // Accessed via this.isActive().
|