react-bootstrap 2.10.7 → 2.10.8
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.
|
@@ -2,6 +2,8 @@ import { CollapseProps } from './Collapse';
|
|
|
2
2
|
import { BsPrefixRefForwardingComponent, BsPrefixProps } from './helpers';
|
|
3
3
|
export interface AccordionCollapseProps extends BsPrefixProps, CollapseProps {
|
|
4
4
|
eventKey: string;
|
|
5
|
+
/** @default 'accordion-collapse' */
|
|
6
|
+
bsPrefix?: string;
|
|
5
7
|
}
|
|
6
8
|
/**
|
|
7
9
|
* This component accepts all of [`Collapse`'s props](/docs/utilities/transitions#collapse-1).
|
package/cjs/Navbar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SelectCallback } from '@restart/ui/types';
|
|
3
3
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
4
|
-
export interface NavbarProps extends BsPrefixProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> {
|
|
4
|
+
export interface NavbarProps extends BsPrefixProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect' | 'onToggle'> {
|
|
5
5
|
variant?: 'light' | 'dark' | string;
|
|
6
6
|
expand?: boolean | string | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
7
7
|
bg?: string;
|
package/dist/react-bootstrap.js
CHANGED
|
@@ -2582,12 +2582,12 @@ const AccordionCollapse = /*#__PURE__*/external_root_React_commonjs2_react_commo
|
|
|
2582
2582
|
children: external_root_React_commonjs2_react_commonjs_react_amd_react_.Children.only(children)
|
|
2583
2583
|
}, void 0, false, {
|
|
2584
2584
|
fileName: AccordionCollapse_jsxFileName,
|
|
2585
|
-
lineNumber:
|
|
2585
|
+
lineNumber: 59,
|
|
2586
2586
|
columnNumber: 9
|
|
2587
2587
|
}, undefined)
|
|
2588
2588
|
}, void 0, false, {
|
|
2589
2589
|
fileName: AccordionCollapse_jsxFileName,
|
|
2590
|
-
lineNumber:
|
|
2590
|
+
lineNumber: 53,
|
|
2591
2591
|
columnNumber: 7
|
|
2592
2592
|
}, undefined);
|
|
2593
2593
|
});
|
|
@@ -8939,6 +8939,9 @@ const DropdownToggle_propTypes = {
|
|
|
8939
8939
|
*/
|
|
8940
8940
|
id: (prop_types_default()).string,
|
|
8941
8941
|
split: (prop_types_default()).bool,
|
|
8942
|
+
/**
|
|
8943
|
+
* @default Button
|
|
8944
|
+
*/
|
|
8942
8945
|
as: (prop_types_default()).elementType,
|
|
8943
8946
|
/**
|
|
8944
8947
|
* to passthrough to the underlying button or whatever from DropdownButton
|
|
@@ -8971,7 +8974,7 @@ const DropdownToggle_DropdownToggle = /*#__PURE__*/external_root_React_commonjs2
|
|
|
8971
8974
|
...props
|
|
8972
8975
|
}, void 0, false, {
|
|
8973
8976
|
fileName: DropdownToggle_jsxFileName,
|
|
8974
|
-
lineNumber:
|
|
8977
|
+
lineNumber: 84,
|
|
8975
8978
|
columnNumber: 7
|
|
8976
8979
|
}, undefined);
|
|
8977
8980
|
});
|
|
@@ -2,6 +2,8 @@ import { CollapseProps } from './Collapse';
|
|
|
2
2
|
import { BsPrefixRefForwardingComponent, BsPrefixProps } from './helpers';
|
|
3
3
|
export interface AccordionCollapseProps extends BsPrefixProps, CollapseProps {
|
|
4
4
|
eventKey: string;
|
|
5
|
+
/** @default 'accordion-collapse' */
|
|
6
|
+
bsPrefix?: string;
|
|
5
7
|
}
|
|
6
8
|
/**
|
|
7
9
|
* This component accepts all of [`Collapse`'s props](/docs/utilities/transitions#collapse-1).
|
package/esm/Navbar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SelectCallback } from '@restart/ui/types';
|
|
3
3
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
4
|
-
export interface NavbarProps extends BsPrefixProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> {
|
|
4
|
+
export interface NavbarProps extends BsPrefixProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect' | 'onToggle'> {
|
|
5
5
|
variant?: 'light' | 'dark' | string;
|
|
6
6
|
expand?: boolean | string | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
7
7
|
bg?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-bootstrap",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.8",
|
|
4
4
|
"description": "Bootstrap 5 components built with React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bootstrap",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.24.7",
|
|
38
38
|
"@restart/hooks": "^0.4.9",
|
|
39
|
-
"@restart/ui": "^1.9.
|
|
39
|
+
"@restart/ui": "^1.9.3",
|
|
40
40
|
"@types/prop-types": "^15.7.12",
|
|
41
41
|
"@types/react-transition-group": "^4.4.6",
|
|
42
42
|
"classnames": "^2.3.2",
|