react-bootstrap 2.7.3 → 2.7.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/cjs/AccordionCollapse.d.ts +1 -1
- package/cjs/AccordionCollapse.js +1 -1
- package/cjs/FormContext.js +2 -0
- package/cjs/InputGroup.js +0 -6
- package/cjs/NavbarContext.js +2 -0
- package/cjs/Pagination.js +0 -8
- package/cjs/ProgressBar.js +1 -1
- package/dist/react-bootstrap.js +479 -282
- package/dist/react-bootstrap.min.js +1 -1
- package/dist/react-bootstrap.min.js.LICENSE.txt +3 -3
- package/esm/AccordionCollapse.d.ts +1 -1
- package/esm/AccordionCollapse.js +1 -1
- package/esm/InputGroup.js +0 -6
- package/esm/Pagination.js +0 -8
- package/esm/ProgressBar.js +1 -1
- package/package.json +7 -7
|
@@ -4,7 +4,7 @@ export interface AccordionCollapseProps extends BsPrefixProps, CollapseProps {
|
|
|
4
4
|
eventKey: string;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
* This component accepts all of [`Collapse`'s props](/utilities/transitions
|
|
7
|
+
* This component accepts all of [`Collapse`'s props](/docs/utilities/transitions#collapse-1).
|
|
8
8
|
*/
|
|
9
9
|
declare const AccordionCollapse: BsPrefixRefForwardingComponent<'div', AccordionCollapseProps>;
|
|
10
10
|
export default AccordionCollapse;
|
package/cjs/AccordionCollapse.js
CHANGED
|
@@ -12,7 +12,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
12
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
14
|
/**
|
|
15
|
-
* This component accepts all of [`Collapse`'s props](/utilities/transitions
|
|
15
|
+
* This component accepts all of [`Collapse`'s props](/docs/utilities/transitions#collapse-1).
|
|
16
16
|
*/
|
|
17
17
|
const AccordionCollapse = /*#__PURE__*/React.forwardRef(({
|
|
18
18
|
as: Component = 'div',
|
package/cjs/FormContext.js
CHANGED
|
@@ -5,6 +5,8 @@ exports.default = void 0;
|
|
|
5
5
|
var React = _interopRequireWildcard(require("react"));
|
|
6
6
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
7
7
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
8
|
+
// TODO
|
|
9
|
+
|
|
8
10
|
const FormContext = /*#__PURE__*/React.createContext({});
|
|
9
11
|
var _default = FormContext;
|
|
10
12
|
exports.default = _default;
|
package/cjs/InputGroup.js
CHANGED
|
@@ -27,12 +27,6 @@ const InputGroupRadio = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(InputGroupTex
|
|
|
27
27
|
...props
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @property {InputGroupText} Text
|
|
33
|
-
* @property {InputGroupRadio} Radio
|
|
34
|
-
* @property {InputGroupCheckbox} Checkbox
|
|
35
|
-
*/
|
|
36
30
|
const InputGroup = /*#__PURE__*/React.forwardRef(({
|
|
37
31
|
bsPrefix,
|
|
38
32
|
size,
|
package/cjs/NavbarContext.js
CHANGED
|
@@ -5,6 +5,8 @@ exports.default = void 0;
|
|
|
5
5
|
var React = _interopRequireWildcard(require("react"));
|
|
6
6
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
7
7
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
8
|
+
// TODO: check
|
|
9
|
+
|
|
8
10
|
const context = /*#__PURE__*/React.createContext(null);
|
|
9
11
|
context.displayName = 'NavbarContext';
|
|
10
12
|
var _default = context;
|
package/cjs/Pagination.js
CHANGED
|
@@ -10,14 +10,6 @@ var _PageItem = _interopRequireWildcard(require("./PageItem"));
|
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
11
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
12
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
/**
|
|
14
|
-
* @property {PageItem} Item
|
|
15
|
-
* @property {PageItem} First
|
|
16
|
-
* @property {PageItem} Prev
|
|
17
|
-
* @property {PageItem} Ellipsis
|
|
18
|
-
* @property {PageItem} Next
|
|
19
|
-
* @property {PageItem} Last
|
|
20
|
-
*/
|
|
21
13
|
const Pagination = /*#__PURE__*/React.forwardRef(({
|
|
22
14
|
bsPrefix,
|
|
23
15
|
className,
|
package/cjs/ProgressBar.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
13
13
|
const ROUND_PRECISION = 1000;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Validate that children, if any, are instances of
|
|
16
|
+
* Validate that children, if any, are instances of `ProgressBar`.
|
|
17
17
|
*/
|
|
18
18
|
function onlyProgressBar(props, propName, componentName) {
|
|
19
19
|
const children = props[propName];
|