react-bootstrap 2.10.0 → 2.10.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/cjs/FormControl.d.ts +1 -1
- package/dist/react-bootstrap.js +13 -11
- package/esm/FormControl.d.ts +1 -1
- package/package.json +1 -1
package/cjs/FormControl.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
3
3
|
type FormControlElement = HTMLInputElement | HTMLTextAreaElement;
|
|
4
|
-
export interface FormControlProps extends BsPrefixProps, React.
|
|
4
|
+
export interface FormControlProps extends BsPrefixProps, Omit<React.InputHTMLAttributes<FormControlElement>, 'size'> {
|
|
5
5
|
htmlSize?: number;
|
|
6
6
|
size?: 'sm' | 'lg';
|
|
7
7
|
plaintext?: boolean;
|
package/dist/react-bootstrap.js
CHANGED
|
@@ -4949,6 +4949,7 @@ const Carousel_propTypes = {
|
|
|
4949
4949
|
*
|
|
4950
4950
|
* ```js
|
|
4951
4951
|
* (eventKey: number, direction: 'left' | 'right') => void
|
|
4952
|
+
* ```
|
|
4952
4953
|
*/
|
|
4953
4954
|
onSlide: (prop_types_default()).func,
|
|
4954
4955
|
/**
|
|
@@ -4956,6 +4957,7 @@ const Carousel_propTypes = {
|
|
|
4956
4957
|
*
|
|
4957
4958
|
* ```js
|
|
4958
4959
|
* (eventKey: number, direction: 'left' | 'right') => void
|
|
4960
|
+
* ```
|
|
4959
4961
|
*/
|
|
4960
4962
|
onSlid: (prop_types_default()).func,
|
|
4961
4963
|
/**
|
|
@@ -5038,7 +5040,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5038
5040
|
className: "carousel-control-prev-icon"
|
|
5039
5041
|
}, void 0, false, {
|
|
5040
5042
|
fileName: Carousel_jsxFileName,
|
|
5041
|
-
lineNumber:
|
|
5043
|
+
lineNumber: 227,
|
|
5042
5044
|
columnNumber: 11
|
|
5043
5045
|
}, undefined),
|
|
5044
5046
|
prevLabel = 'Previous',
|
|
@@ -5047,7 +5049,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5047
5049
|
className: "carousel-control-next-icon"
|
|
5048
5050
|
}, void 0, false, {
|
|
5049
5051
|
fileName: Carousel_jsxFileName,
|
|
5050
|
-
lineNumber:
|
|
5052
|
+
lineNumber: 231,
|
|
5051
5053
|
columnNumber: 11
|
|
5052
5054
|
}, undefined),
|
|
5053
5055
|
nextLabel = 'Next',
|
|
@@ -5277,12 +5279,12 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5277
5279
|
"aria-current": index === renderedActiveIndex
|
|
5278
5280
|
}, index, false, {
|
|
5279
5281
|
fileName: Carousel_jsxFileName,
|
|
5280
|
-
lineNumber:
|
|
5282
|
+
lineNumber: 550,
|
|
5281
5283
|
columnNumber: 17
|
|
5282
5284
|
}, undefined))
|
|
5283
5285
|
}, void 0, false, {
|
|
5284
5286
|
fileName: Carousel_jsxFileName,
|
|
5285
|
-
lineNumber:
|
|
5287
|
+
lineNumber: 548,
|
|
5286
5288
|
columnNumber: 13
|
|
5287
5289
|
}, undefined), /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("div", {
|
|
5288
5290
|
className: `${prefix}-inner`,
|
|
@@ -5299,7 +5301,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5299
5301
|
})
|
|
5300
5302
|
}, void 0, false, {
|
|
5301
5303
|
fileName: Carousel_jsxFileName,
|
|
5302
|
-
lineNumber:
|
|
5304
|
+
lineNumber: 576,
|
|
5303
5305
|
columnNumber: 17
|
|
5304
5306
|
}, undefined) : ( /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement(child, {
|
|
5305
5307
|
className: classnames_default()(child.props.className, isActive && 'active')
|
|
@@ -5307,7 +5309,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5307
5309
|
})
|
|
5308
5310
|
}, void 0, false, {
|
|
5309
5311
|
fileName: Carousel_jsxFileName,
|
|
5310
|
-
lineNumber:
|
|
5312
|
+
lineNumber: 571,
|
|
5311
5313
|
columnNumber: 11
|
|
5312
5314
|
}, undefined), controls && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(jsx_dev_runtime.Fragment, {
|
|
5313
5315
|
children: [(wrap || activeIndex !== 0) && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(esm_Anchor, {
|
|
@@ -5318,12 +5320,12 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5318
5320
|
children: prevLabel
|
|
5319
5321
|
}, void 0, false, {
|
|
5320
5322
|
fileName: Carousel_jsxFileName,
|
|
5321
|
-
lineNumber:
|
|
5323
|
+
lineNumber: 616,
|
|
5322
5324
|
columnNumber: 21
|
|
5323
5325
|
}, undefined)]
|
|
5324
5326
|
}, void 0, true, {
|
|
5325
5327
|
fileName: Carousel_jsxFileName,
|
|
5326
|
-
lineNumber:
|
|
5328
|
+
lineNumber: 613,
|
|
5327
5329
|
columnNumber: 17
|
|
5328
5330
|
}, undefined), (wrap || activeIndex !== numChildren - 1) && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(esm_Anchor, {
|
|
5329
5331
|
className: `${prefix}-control-next`,
|
|
@@ -5333,18 +5335,18 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5333
5335
|
children: nextLabel
|
|
5334
5336
|
}, void 0, false, {
|
|
5335
5337
|
fileName: Carousel_jsxFileName,
|
|
5336
|
-
lineNumber:
|
|
5338
|
+
lineNumber: 624,
|
|
5337
5339
|
columnNumber: 21
|
|
5338
5340
|
}, undefined)]
|
|
5339
5341
|
}, void 0, true, {
|
|
5340
5342
|
fileName: Carousel_jsxFileName,
|
|
5341
|
-
lineNumber:
|
|
5343
|
+
lineNumber: 621,
|
|
5342
5344
|
columnNumber: 17
|
|
5343
5345
|
}, undefined)]
|
|
5344
5346
|
}, void 0, true)]
|
|
5345
5347
|
}, void 0, true, {
|
|
5346
5348
|
fileName: Carousel_jsxFileName,
|
|
5347
|
-
lineNumber:
|
|
5349
|
+
lineNumber: 530,
|
|
5348
5350
|
columnNumber: 9
|
|
5349
5351
|
}, undefined);
|
|
5350
5352
|
});
|
package/esm/FormControl.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
3
3
|
type FormControlElement = HTMLInputElement | HTMLTextAreaElement;
|
|
4
|
-
export interface FormControlProps extends BsPrefixProps, React.
|
|
4
|
+
export interface FormControlProps extends BsPrefixProps, Omit<React.InputHTMLAttributes<FormControlElement>, 'size'> {
|
|
5
5
|
htmlSize?: number;
|
|
6
6
|
size?: 'sm' | 'lg';
|
|
7
7
|
plaintext?: boolean;
|