bootstrap-rn 0.2.0 → 0.2.2
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/bootstrap-rn.cjs.js +253 -217
- package/dist/bootstrap-rn.esm.js +253 -217
- package/dist/bootstrap-rn.umd.js +253 -217
- package/dist/bootstrap-rn.umd.min.js +2 -2
- package/package.json +1 -1
package/dist/bootstrap-rn.esm.js
CHANGED
|
@@ -2928,7 +2928,7 @@ function useStyle(style, styleName) {
|
|
|
2928
2928
|
};
|
|
2929
2929
|
}
|
|
2930
2930
|
|
|
2931
|
-
var _excluded$
|
|
2931
|
+
var _excluded$1x = ["children", "style", "textStyle", "styleName"];
|
|
2932
2932
|
var propTypes$1y = {
|
|
2933
2933
|
children: PropTypes.node,
|
|
2934
2934
|
// eslint-disable-next-line react/forbid-prop-types
|
|
@@ -2943,7 +2943,7 @@ var View = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2943
2943
|
style = props.style,
|
|
2944
2944
|
textStyle = props.textStyle,
|
|
2945
2945
|
styleName = props.styleName,
|
|
2946
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
2946
|
+
elementProps = _objectWithoutProperties(props, _excluded$1x);
|
|
2947
2947
|
|
|
2948
2948
|
var media = useMedia();
|
|
2949
2949
|
var context = useContext(TextStyleContext);
|
|
@@ -2967,7 +2967,7 @@ var View = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
2967
2967
|
View.displayName = 'View';
|
|
2968
2968
|
View.propTypes = propTypes$1y;
|
|
2969
2969
|
|
|
2970
|
-
var _excluded$
|
|
2970
|
+
var _excluded$1w = ["children", "color", "dismissible", "style", "textStyle"];
|
|
2971
2971
|
|
|
2972
2972
|
var _templateObject$1c, _templateObject2$U, _templateObject3$s;
|
|
2973
2973
|
var propTypes$1x = {
|
|
@@ -3003,7 +3003,7 @@ var Alert = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3003
3003
|
dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
|
|
3004
3004
|
style = props.style,
|
|
3005
3005
|
textStyle = props.textStyle,
|
|
3006
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3006
|
+
elementProps = _objectWithoutProperties(props, _excluded$1w);
|
|
3007
3007
|
|
|
3008
3008
|
var classes = getStyles(styles$1e, ['.alert', ".alert-".concat(color), dismissible && '.alert-dismissible']);
|
|
3009
3009
|
var textClasses = getStyles(styles$1e, [".alert-".concat(color, " --text")]);
|
|
@@ -3017,7 +3017,7 @@ var Alert = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3017
3017
|
Alert.displayName = 'Alert';
|
|
3018
3018
|
Alert.propTypes = propTypes$1x;
|
|
3019
3019
|
|
|
3020
|
-
var _excluded$
|
|
3020
|
+
var _excluded$1v = ["color", "bold", "italic", "mark", "small", "style", "styleName"];
|
|
3021
3021
|
|
|
3022
3022
|
var _templateObject$1b, _templateObject2$T, _templateObject3$r, _templateObject4$n, _templateObject5$k;
|
|
3023
3023
|
var propTypes$1w = {
|
|
@@ -3059,7 +3059,7 @@ var Text = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3059
3059
|
small = _props$small === void 0 ? false : _props$small,
|
|
3060
3060
|
style = props.style,
|
|
3061
3061
|
styleName = props.styleName,
|
|
3062
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3062
|
+
elementProps = _objectWithoutProperties(props, _excluded$1v);
|
|
3063
3063
|
|
|
3064
3064
|
var media = useMedia();
|
|
3065
3065
|
var context = useContext(TextStyleContext);
|
|
@@ -3091,7 +3091,7 @@ var Text = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3091
3091
|
Text.displayName = 'Text';
|
|
3092
3092
|
Text.propTypes = propTypes$1w;
|
|
3093
3093
|
|
|
3094
|
-
var _excluded$
|
|
3094
|
+
var _excluded$1u = ["children", "style", "textStyle"];
|
|
3095
3095
|
|
|
3096
3096
|
var _templateObject$1a, _templateObject2$S;
|
|
3097
3097
|
var propTypes$1v = {
|
|
@@ -3109,7 +3109,7 @@ var Badge = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3109
3109
|
var children = props.children,
|
|
3110
3110
|
style = props.style,
|
|
3111
3111
|
textStyle = props.textStyle,
|
|
3112
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3112
|
+
elementProps = _objectWithoutProperties(props, _excluded$1u);
|
|
3113
3113
|
|
|
3114
3114
|
var classes = getStyles(styles$1c, ['.badge']);
|
|
3115
3115
|
var textClasses = getStyles(styles$1c, ['.badge --text']); // composite component
|
|
@@ -3182,7 +3182,7 @@ function useForcedContext(Context) {
|
|
|
3182
3182
|
return context;
|
|
3183
3183
|
}
|
|
3184
3184
|
|
|
3185
|
-
var _excluded$
|
|
3185
|
+
var _excluded$1t = ["children", "active", "style", "dividerStyle", "textStyle"];
|
|
3186
3186
|
|
|
3187
3187
|
var _templateObject$19, _templateObject2$R, _templateObject3$q;
|
|
3188
3188
|
var propTypes$1u = {
|
|
@@ -3207,7 +3207,7 @@ var BreadcrumbItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3207
3207
|
style = props.style,
|
|
3208
3208
|
dividerStyle = props.dividerStyle,
|
|
3209
3209
|
textStyle = props.textStyle,
|
|
3210
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3210
|
+
elementProps = _objectWithoutProperties(props, _excluded$1t);
|
|
3211
3211
|
|
|
3212
3212
|
var _useForcedContext = useForcedContext(ListContext),
|
|
3213
3213
|
first = _useForcedContext.first;
|
|
@@ -3232,7 +3232,7 @@ var BreadcrumbItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3232
3232
|
BreadcrumbItem.displayName = 'BreadcrumbItem';
|
|
3233
3233
|
BreadcrumbItem.propTypes = propTypes$1u;
|
|
3234
3234
|
|
|
3235
|
-
var _excluded$
|
|
3235
|
+
var _excluded$1s = ["children", "style", "textStyle"];
|
|
3236
3236
|
|
|
3237
3237
|
var _templateObject$18, _templateObject2$Q;
|
|
3238
3238
|
var propTypes$1t = {
|
|
@@ -3250,7 +3250,7 @@ var Breadcrumb = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3250
3250
|
var children = props.children,
|
|
3251
3251
|
style = props.style,
|
|
3252
3252
|
textStyle = props.textStyle,
|
|
3253
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3253
|
+
elementProps = _objectWithoutProperties(props, _excluded$1s);
|
|
3254
3254
|
|
|
3255
3255
|
var list = useList(children);
|
|
3256
3256
|
var classes = getStyles(styles$1a, ['.breadcrumb']);
|
|
@@ -3270,7 +3270,7 @@ Breadcrumb.Item = BreadcrumbItem;
|
|
|
3270
3270
|
var ButtonGroupContext = /*#__PURE__*/React.createContext();
|
|
3271
3271
|
ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
3272
3272
|
|
|
3273
|
-
var _excluded$
|
|
3273
|
+
var _excluded$1r = ["children", "size", "style"];
|
|
3274
3274
|
|
|
3275
3275
|
var _templateObject$17;
|
|
3276
3276
|
var propTypes$1s = {
|
|
@@ -3286,7 +3286,7 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3286
3286
|
var children = props.children,
|
|
3287
3287
|
size = props.size,
|
|
3288
3288
|
style = props.style,
|
|
3289
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3289
|
+
elementProps = _objectWithoutProperties(props, _excluded$1r);
|
|
3290
3290
|
|
|
3291
3291
|
var list = useList(children);
|
|
3292
3292
|
var classes = getStyles(styles$19, ['.btn-group']); // Accessiblity role tabpanel is only supported on web.
|
|
@@ -3305,7 +3305,7 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3305
3305
|
ButtonGroup.displayName = 'ButtonGroup';
|
|
3306
3306
|
ButtonGroup.propTypes = propTypes$1s;
|
|
3307
3307
|
|
|
3308
|
-
var _excluded$
|
|
3308
|
+
var _excluded$1q = ["children", "style"];
|
|
3309
3309
|
|
|
3310
3310
|
var _templateObject$16;
|
|
3311
3311
|
var propTypes$1r = {
|
|
@@ -3319,7 +3319,7 @@ var styles$18 = StyleSheet.create({
|
|
|
3319
3319
|
var ButtonToolbar = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
3320
3320
|
var children = props.children,
|
|
3321
3321
|
style = props.style,
|
|
3322
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3322
|
+
elementProps = _objectWithoutProperties(props, _excluded$1q);
|
|
3323
3323
|
|
|
3324
3324
|
var classes = getStyles(styles$18, ['.btn-toolbar']);
|
|
3325
3325
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -3331,7 +3331,7 @@ var ButtonToolbar = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3331
3331
|
ButtonToolbar.displayName = 'ButtonToolbar';
|
|
3332
3332
|
ButtonToolbar.propTypes = propTypes$1r;
|
|
3333
3333
|
|
|
3334
|
-
var _excluded$
|
|
3334
|
+
var _excluded$1p = ["ref"];
|
|
3335
3335
|
function useModifier(name, props, ref) {
|
|
3336
3336
|
var context = useForcedContext(Context);
|
|
3337
3337
|
var useModifierHook = context.modifiers[name];
|
|
@@ -3342,12 +3342,12 @@ function useModifier(name, props, ref) {
|
|
|
3342
3342
|
|
|
3343
3343
|
var _useModifierHook = useModifierHook(props),
|
|
3344
3344
|
modifierRef = _useModifierHook.ref,
|
|
3345
|
-
modifierProps = _objectWithoutProperties(_useModifierHook, _excluded$
|
|
3345
|
+
modifierProps = _objectWithoutProperties(_useModifierHook, _excluded$1p);
|
|
3346
3346
|
|
|
3347
3347
|
return [modifierProps, concatRefs(modifierRef, ref)];
|
|
3348
3348
|
}
|
|
3349
3349
|
|
|
3350
|
-
var _excluded$
|
|
3350
|
+
var _excluded$1o = ["toggle", "dismiss"],
|
|
3351
3351
|
_excluded2$2 = ["ref"];
|
|
3352
3352
|
|
|
3353
3353
|
var getActionHook = function getActionHook(toggle, dismiss) {
|
|
@@ -3365,7 +3365,7 @@ var getActionHook = function getActionHook(toggle, dismiss) {
|
|
|
3365
3365
|
function useAction(props, ref) {
|
|
3366
3366
|
var toggle = props.toggle,
|
|
3367
3367
|
dismiss = props.dismiss,
|
|
3368
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
3368
|
+
restProps = _objectWithoutProperties(props, _excluded$1o);
|
|
3369
3369
|
|
|
3370
3370
|
var useActionHook = getActionHook(toggle, dismiss);
|
|
3371
3371
|
|
|
@@ -3384,7 +3384,7 @@ function useAction(props, ref) {
|
|
|
3384
3384
|
return [actionProps, concatRefs(actionRef, ref)];
|
|
3385
3385
|
}
|
|
3386
3386
|
|
|
3387
|
-
var _excluded$
|
|
3387
|
+
var _excluded$1n = ["children", "active", "style", "activeStyle", "textStyle", "activeTextStyle", "styleName"];
|
|
3388
3388
|
var propTypes$1q = {
|
|
3389
3389
|
children: PropTypes.node,
|
|
3390
3390
|
active: PropTypes.bool,
|
|
@@ -3437,7 +3437,7 @@ var Pressable = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3437
3437
|
textStyle = actionProps.textStyle,
|
|
3438
3438
|
activeTextStyle = actionProps.activeTextStyle,
|
|
3439
3439
|
styleName = actionProps.styleName,
|
|
3440
|
-
elementProps = _objectWithoutProperties(actionProps, _excluded$
|
|
3440
|
+
elementProps = _objectWithoutProperties(actionProps, _excluded$1n);
|
|
3441
3441
|
|
|
3442
3442
|
var media = useMedia();
|
|
3443
3443
|
var context = useContext(TextStyleContext);
|
|
@@ -3476,11 +3476,11 @@ var Pressable = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3476
3476
|
Pressable.displayName = 'Pressable';
|
|
3477
3477
|
Pressable.propTypes = propTypes$1q;
|
|
3478
3478
|
|
|
3479
|
-
var _excluded$
|
|
3479
|
+
var _excluded$1m = ["active", "handlePress"];
|
|
3480
3480
|
function useToggleButton(props) {
|
|
3481
3481
|
var active = props.active,
|
|
3482
3482
|
handlePress = props.handlePress,
|
|
3483
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
3483
|
+
restProps = _objectWithoutProperties(props, _excluded$1m);
|
|
3484
3484
|
|
|
3485
3485
|
var _useState = useState(active),
|
|
3486
3486
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -3499,7 +3499,7 @@ function useToggleButton(props) {
|
|
|
3499
3499
|
});
|
|
3500
3500
|
}
|
|
3501
3501
|
|
|
3502
|
-
var _excluded$
|
|
3502
|
+
var _excluded$1l = ["children", "color", "size", "outline", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
3503
3503
|
|
|
3504
3504
|
var _templateObject$15, _templateObject2$P, _templateObject3$p, _templateObject4$m, _templateObject5$j, _templateObject6$g, _templateObject7$b, _templateObject8$b, _templateObject9$9, _templateObject10$9, _templateObject11$6, _templateObject12$5, _templateObject13$5, _templateObject14$4, _templateObject15$3, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21, _templateObject22, _templateObject23;
|
|
3505
3505
|
var propTypes$1p = {
|
|
@@ -3590,7 +3590,7 @@ var Button = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3590
3590
|
activeStyle = props.activeStyle,
|
|
3591
3591
|
textStyle = props.textStyle,
|
|
3592
3592
|
activeTextStyle = props.activeTextStyle,
|
|
3593
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3593
|
+
elementProps = _objectWithoutProperties(props, _excluded$1l);
|
|
3594
3594
|
|
|
3595
3595
|
invariant(color !== 'link' || !outline, 'Button link variant is only available as non outline style.');
|
|
3596
3596
|
var listItem = useContext(ListContext);
|
|
@@ -3613,7 +3613,7 @@ Button.displayName = 'Button';
|
|
|
3613
3613
|
Button.propTypes = propTypes$1p;
|
|
3614
3614
|
Button.useToggle = useToggleButton;
|
|
3615
3615
|
|
|
3616
|
-
var _excluded$
|
|
3616
|
+
var _excluded$1k = ["children", "style", "textStyle"];
|
|
3617
3617
|
|
|
3618
3618
|
var _templateObject$14, _templateObject2$O;
|
|
3619
3619
|
var propTypes$1o = {
|
|
@@ -3631,7 +3631,7 @@ var Blockquote = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3631
3631
|
var children = props.children,
|
|
3632
3632
|
style = props.style,
|
|
3633
3633
|
textStyle = props.textStyle,
|
|
3634
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3634
|
+
elementProps = _objectWithoutProperties(props, _excluded$1k);
|
|
3635
3635
|
|
|
3636
3636
|
var classes = getStyles(styles$16, ['blockquote']);
|
|
3637
3637
|
var textClasses = getStyles(styles$16, ['blockquote --text']); // Accessiblity role blockquote is only supported on web.
|
|
@@ -3647,7 +3647,7 @@ var Blockquote = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3647
3647
|
Blockquote.displayName = 'Blockquote';
|
|
3648
3648
|
Blockquote.propTypes = propTypes$1o;
|
|
3649
3649
|
|
|
3650
|
-
var _excluded$
|
|
3650
|
+
var _excluded$1j = ["children", "style", "textStyle", "styleName"];
|
|
3651
3651
|
|
|
3652
3652
|
var _templateObject$13, _templateObject2$N;
|
|
3653
3653
|
var propTypes$1n = {
|
|
@@ -3660,7 +3660,7 @@ var propTypes$1n = {
|
|
|
3660
3660
|
styleName: PropTypes.any
|
|
3661
3661
|
};
|
|
3662
3662
|
var styles$15 = StyleSheet.create({
|
|
3663
|
-
body: css(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteral(["\n background-color: $body-bg;\n
|
|
3663
|
+
body: css(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteral(["\n background-color: $body-bg;\n height: 100%; // added for bootstrap-rn\n "]))),
|
|
3664
3664
|
'body --text': css(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteral(["\n color: $body-color;\n text-align: $body-text-align;\n "])))
|
|
3665
3665
|
});
|
|
3666
3666
|
var Body = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
@@ -3668,7 +3668,7 @@ var Body = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3668
3668
|
style = props.style,
|
|
3669
3669
|
textStyle = props.textStyle,
|
|
3670
3670
|
styleName = props.styleName,
|
|
3671
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3671
|
+
elementProps = _objectWithoutProperties(props, _excluded$1j);
|
|
3672
3672
|
|
|
3673
3673
|
var classes = getStyles(styles$15, ['body']);
|
|
3674
3674
|
var textClasses = getStyles(styles$15, ['body --text']);
|
|
@@ -3691,7 +3691,7 @@ var Body = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3691
3691
|
Body.displayName = 'Body';
|
|
3692
3692
|
Body.propTypes = propTypes$1n;
|
|
3693
3693
|
|
|
3694
|
-
var _excluded$
|
|
3694
|
+
var _excluded$1i = ["children", "style", "textStyle"];
|
|
3695
3695
|
|
|
3696
3696
|
var _templateObject$12, _templateObject2$M;
|
|
3697
3697
|
var propTypes$1m = {
|
|
@@ -3709,7 +3709,7 @@ var CardBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3709
3709
|
var children = props.children,
|
|
3710
3710
|
style = props.style,
|
|
3711
3711
|
textStyle = props.textStyle,
|
|
3712
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3712
|
+
elementProps = _objectWithoutProperties(props, _excluded$1i);
|
|
3713
3713
|
|
|
3714
3714
|
var classes = getStyles(styles$14, ['.card-body']);
|
|
3715
3715
|
var textClasses = getStyles(styles$14, [".card-body --text"]);
|
|
@@ -3722,7 +3722,7 @@ var CardBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3722
3722
|
CardBody.displayName = 'CardBody';
|
|
3723
3723
|
CardBody.propTypes = propTypes$1m;
|
|
3724
3724
|
|
|
3725
|
-
var _excluded$
|
|
3725
|
+
var _excluded$1h = ["children", "style", "textStyle"];
|
|
3726
3726
|
|
|
3727
3727
|
var _templateObject$11, _templateObject2$L;
|
|
3728
3728
|
var propTypes$1l = {
|
|
@@ -3740,7 +3740,7 @@ var CardHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3740
3740
|
var children = props.children,
|
|
3741
3741
|
style = props.style,
|
|
3742
3742
|
textStyle = props.textStyle,
|
|
3743
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3743
|
+
elementProps = _objectWithoutProperties(props, _excluded$1h);
|
|
3744
3744
|
|
|
3745
3745
|
var classes = getStyles(styles$13, ['.card-header']);
|
|
3746
3746
|
var textClasses = getStyles(styles$13, ['.card-header --text']);
|
|
@@ -3753,7 +3753,7 @@ var CardHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3753
3753
|
CardHeader.displayName = 'CardHeader';
|
|
3754
3754
|
CardHeader.propTypes = propTypes$1l;
|
|
3755
3755
|
|
|
3756
|
-
var _excluded$
|
|
3756
|
+
var _excluded$1g = ["children", "style", "textStyle"];
|
|
3757
3757
|
|
|
3758
3758
|
var _templateObject$10, _templateObject2$K;
|
|
3759
3759
|
var propTypes$1k = {
|
|
@@ -3771,7 +3771,7 @@ var CardFooter = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3771
3771
|
var children = props.children,
|
|
3772
3772
|
style = props.style,
|
|
3773
3773
|
textStyle = props.textStyle,
|
|
3774
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3774
|
+
elementProps = _objectWithoutProperties(props, _excluded$1g);
|
|
3775
3775
|
|
|
3776
3776
|
var classes = getStyles(styles$12, ['.card-footer']);
|
|
3777
3777
|
var textClasses = getStyles(styles$12, ['.card-footer --text']);
|
|
@@ -3784,7 +3784,7 @@ var CardFooter = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
3784
3784
|
CardFooter.displayName = 'CardFooter';
|
|
3785
3785
|
CardFooter.propTypes = propTypes$1k;
|
|
3786
3786
|
|
|
3787
|
-
var _excluded$
|
|
3787
|
+
var _excluded$1f = ["children", "style"];
|
|
3788
3788
|
|
|
3789
3789
|
var _templateObject$$;
|
|
3790
3790
|
var propTypes$1j = {
|
|
@@ -3798,7 +3798,7 @@ var styles$11 = StyleSheet.create({
|
|
|
3798
3798
|
var Card = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
3799
3799
|
var children = props.children,
|
|
3800
3800
|
style = props.style,
|
|
3801
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
3801
|
+
elementProps = _objectWithoutProperties(props, _excluded$1f);
|
|
3802
3802
|
|
|
3803
3803
|
var classes = getStyles(styles$11, ['.card']);
|
|
3804
3804
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -4114,7 +4114,7 @@ function useBackground(style, styleName) {
|
|
|
4114
4114
|
return useBackgroundForPlatform(style, styleName);
|
|
4115
4115
|
}
|
|
4116
4116
|
|
|
4117
|
-
var _excluded$
|
|
4117
|
+
var _excluded$1e = ["children", "onFocus", "onBlur", "onHoverIn", "onHoverOut", "onPressIn", "onPressOut", "disabled", "style", "textStyle", "styleName"];
|
|
4118
4118
|
|
|
4119
4119
|
var _templateObject$_, _templateObject2$J, _templateObject3$o, _templateObject4$l, _templateObject5$i;
|
|
4120
4120
|
var propTypes$1i = {
|
|
@@ -4163,7 +4163,7 @@ var CloseButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4163
4163
|
style = props.style,
|
|
4164
4164
|
textStyle = props.textStyle,
|
|
4165
4165
|
styleName = props.styleName,
|
|
4166
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4166
|
+
elementProps = _objectWithoutProperties(props, _excluded$1e);
|
|
4167
4167
|
|
|
4168
4168
|
var media = useMedia();
|
|
4169
4169
|
|
|
@@ -4253,26 +4253,28 @@ function useIdentifier(prefix) {
|
|
|
4253
4253
|
}
|
|
4254
4254
|
|
|
4255
4255
|
function useControlledState(defaultValue, controlledValue) {
|
|
4256
|
-
var
|
|
4256
|
+
var handleChange = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};
|
|
4257
4257
|
|
|
4258
4258
|
var _useState = useState(defaultValue),
|
|
4259
4259
|
_useState2 = _slicedToArray(_useState, 2),
|
|
4260
4260
|
stateValue = _useState2[0],
|
|
4261
4261
|
setStateValue = _useState2[1];
|
|
4262
4262
|
|
|
4263
|
-
var isControlled =
|
|
4263
|
+
var isControlled = controlledValue !== undefined && controlledValue !== null;
|
|
4264
4264
|
var value = isControlled ? controlledValue : stateValue;
|
|
4265
4265
|
|
|
4266
|
-
var setValue = function setValue(
|
|
4266
|
+
var setValue = function setValue(next) {
|
|
4267
|
+
var nextValue = typeof next === 'function' ? next(value) : next;
|
|
4268
|
+
|
|
4267
4269
|
if (value === nextValue) {
|
|
4268
4270
|
return;
|
|
4269
4271
|
}
|
|
4270
4272
|
|
|
4271
4273
|
if (!isControlled) {
|
|
4272
|
-
setStateValue(
|
|
4274
|
+
setStateValue(next);
|
|
4273
4275
|
}
|
|
4274
4276
|
|
|
4275
|
-
|
|
4277
|
+
handleChange(nextValue);
|
|
4276
4278
|
};
|
|
4277
4279
|
|
|
4278
4280
|
return [value, setValue];
|
|
@@ -4317,12 +4319,12 @@ var CollapseProvider = function CollapseProvider(props) {
|
|
|
4317
4319
|
CollapseProvider.displayName = 'CollapseProvider';
|
|
4318
4320
|
CollapseProvider.propTypes = propTypes$1h;
|
|
4319
4321
|
|
|
4320
|
-
var _excluded$
|
|
4322
|
+
var _excluded$1d = ["onPress"];
|
|
4321
4323
|
function useToggleCollapse(props) {
|
|
4322
4324
|
var context = useForcedContext(CollapseContext);
|
|
4323
4325
|
|
|
4324
4326
|
var handlePress = props.onPress,
|
|
4325
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
4327
|
+
restProps = _objectWithoutProperties(props, _excluded$1d);
|
|
4326
4328
|
|
|
4327
4329
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
4328
4330
|
onPress: function onPress(event) {
|
|
@@ -4336,13 +4338,13 @@ function useToggleCollapse(props) {
|
|
|
4336
4338
|
});
|
|
4337
4339
|
}
|
|
4338
4340
|
|
|
4339
|
-
var _excluded$
|
|
4341
|
+
var _excluded$1c = ["children"];
|
|
4340
4342
|
var propTypes$1g = {
|
|
4341
4343
|
children: PropTypes.node
|
|
4342
4344
|
};
|
|
4343
4345
|
var Collapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
4344
4346
|
var children = props.children,
|
|
4345
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4347
|
+
elementProps = _objectWithoutProperties(props, _excluded$1c);
|
|
4346
4348
|
|
|
4347
4349
|
var _useForcedContext = useForcedContext(CollapseContext),
|
|
4348
4350
|
identifier = _useForcedContext.identifier,
|
|
@@ -4383,7 +4385,7 @@ function infix(breakpoint) {
|
|
|
4383
4385
|
var NavbarContext = /*#__PURE__*/React.createContext();
|
|
4384
4386
|
NavbarContext.displayName = 'NavbarContext';
|
|
4385
4387
|
|
|
4386
|
-
var _excluded$
|
|
4388
|
+
var _excluded$1b = ["fluid", "style"];
|
|
4387
4389
|
|
|
4388
4390
|
var _templateObject$Z, _templateObject2$I, _templateObject3$n, _templateObject4$k, _templateObject5$h, _templateObject6$f, _templateObject7$a, _templateObject8$a;
|
|
4389
4391
|
var propTypes$1f = {
|
|
@@ -4438,7 +4440,7 @@ var Container = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4438
4440
|
var _props$fluid = props.fluid,
|
|
4439
4441
|
fluid = _props$fluid === void 0 ? 'sm' : _props$fluid,
|
|
4440
4442
|
style = props.style,
|
|
4441
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4443
|
+
elementProps = _objectWithoutProperties(props, _excluded$1b);
|
|
4442
4444
|
|
|
4443
4445
|
var navbar = useContext(NavbarContext);
|
|
4444
4446
|
var classes = getStyles(styles$Z, ['.container', // Hint: Bootstrap's .container class is identical with .container-sm.
|
|
@@ -4455,7 +4457,7 @@ Container.propTypes = propTypes$1f;
|
|
|
4455
4457
|
var FormCheckContext = /*#__PURE__*/React.createContext();
|
|
4456
4458
|
FormCheckContext.displayName = 'FormCheckContext';
|
|
4457
4459
|
|
|
4458
|
-
var _excluded$
|
|
4460
|
+
var _excluded$1a = ["style"];
|
|
4459
4461
|
var propTypes$1e = {
|
|
4460
4462
|
type: PropTypes.oneOf(['checkbox', 'radio', 'switch']).isRequired,
|
|
4461
4463
|
value: PropTypes.bool.isRequired,
|
|
@@ -4476,7 +4478,7 @@ var styles$Y = StyleSheet$1.create({
|
|
|
4476
4478
|
|
|
4477
4479
|
var Input$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4478
4480
|
var style = _ref.style,
|
|
4479
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4481
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
4480
4482
|
|
|
4481
4483
|
return unstable_createElement('input', _objectSpread2(_objectSpread2({}, props), {}, {
|
|
4482
4484
|
ref: ref,
|
|
@@ -4559,7 +4561,7 @@ var FormCheckInputNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4559
4561
|
FormCheckInputNative.displayName = 'FormCheckInputNative';
|
|
4560
4562
|
FormCheckInputNative.propTypes = propTypes$1d;
|
|
4561
4563
|
|
|
4562
|
-
var _excluded$
|
|
4564
|
+
var _excluded$19 = ["type", "value", "onFocus", "onBlur", "disabled", "valid", "invalid", "useNativeComponent", "style"];
|
|
4563
4565
|
|
|
4564
4566
|
var _templateObject$Y, _templateObject2$H, _templateObject3$m, _templateObject4$j, _templateObject5$g, _templateObject6$e, _templateObject7$9, _templateObject8$9, _templateObject9$8, _templateObject10$8, _templateObject11$5, _templateObject12$4, _templateObject13$4, _templateObject14$3, _templateObject15$2;
|
|
4565
4567
|
/* eslint-disable react/no-unused-prop-types */
|
|
@@ -4642,7 +4644,7 @@ var FormCheckInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4642
4644
|
_modifierProps$useNat = modifierProps.useNativeComponent,
|
|
4643
4645
|
useNativeComponent = _modifierProps$useNat === void 0 ? false : _modifierProps$useNat,
|
|
4644
4646
|
style = modifierProps.style,
|
|
4645
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
4647
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$19);
|
|
4646
4648
|
|
|
4647
4649
|
var media = useMedia();
|
|
4648
4650
|
|
|
@@ -4695,7 +4697,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4695
4697
|
});
|
|
4696
4698
|
Checkbox.displayName = 'Checkbox';
|
|
4697
4699
|
|
|
4698
|
-
var _excluded$
|
|
4700
|
+
var _excluded$18 = ["children", "size", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "style"];
|
|
4699
4701
|
|
|
4700
4702
|
var _templateObject$X, _templateObject2$G, _templateObject3$l, _templateObject4$i, _templateObject5$f;
|
|
4701
4703
|
var sizes = makeArray(GRID_COLUMNS).map(function (v) {
|
|
@@ -4730,7 +4732,7 @@ var Col = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4730
4732
|
sizeLg = props.sizeLg,
|
|
4731
4733
|
sizeXl = props.sizeXl,
|
|
4732
4734
|
style = props.style,
|
|
4733
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4735
|
+
elementProps = _objectWithoutProperties(props, _excluded$18);
|
|
4734
4736
|
|
|
4735
4737
|
var classes = getStyles(styles$W, ['*', ".col-".concat(size.toString()), sizeSm && ".col-sm-".concat(sizeSm.toString()), sizeMd && ".col-md-".concat(sizeMd.toString()), sizeLg && ".col-lg-".concat(sizeLg.toString()), sizeXl && ".col-xl-".concat(sizeXl.toString())]);
|
|
4736
4738
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -4741,7 +4743,7 @@ var Col = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4741
4743
|
Col.displayName = 'Col';
|
|
4742
4744
|
Col.propTypes = propTypes$1b;
|
|
4743
4745
|
|
|
4744
|
-
var _excluded$
|
|
4746
|
+
var _excluded$17 = ["children", "style"];
|
|
4745
4747
|
|
|
4746
4748
|
var _templateObject$W;
|
|
4747
4749
|
var propTypes$1a = {
|
|
@@ -4755,7 +4757,7 @@ var styles$V = StyleSheet.create({
|
|
|
4755
4757
|
var Code = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
4756
4758
|
var children = props.children,
|
|
4757
4759
|
style = props.style,
|
|
4758
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4760
|
+
elementProps = _objectWithoutProperties(props, _excluded$17);
|
|
4759
4761
|
|
|
4760
4762
|
var classes = getStyles(styles$V, ['code']); // Accessiblity role code is only supported on web.
|
|
4761
4763
|
|
|
@@ -4772,12 +4774,12 @@ Code.propTypes = propTypes$1a;
|
|
|
4772
4774
|
var DropdownContext = /*#__PURE__*/React.createContext();
|
|
4773
4775
|
DropdownContext.displayName = 'DropdownContext';
|
|
4774
4776
|
|
|
4775
|
-
var _excluded$
|
|
4777
|
+
var _excluded$16 = ["onPress"];
|
|
4776
4778
|
function useToggleDropdown(props) {
|
|
4777
4779
|
var context = useForcedContext(DropdownContext);
|
|
4778
4780
|
|
|
4779
4781
|
var handlePress = props.onPress,
|
|
4780
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
4782
|
+
restProps = _objectWithoutProperties(props, _excluded$16);
|
|
4781
4783
|
|
|
4782
4784
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
4783
4785
|
nativeID: context.identifier,
|
|
@@ -4970,7 +4972,7 @@ var BackdropHandler = function BackdropHandler(props) {
|
|
|
4970
4972
|
BackdropHandler.displayName = 'BackdropHandler';
|
|
4971
4973
|
BackdropHandler.propTypes = propTypes$17;
|
|
4972
4974
|
|
|
4973
|
-
var _excluded$
|
|
4975
|
+
var _excluded$15 = ["children", "start", "right", "end", "style", "textStyle"];
|
|
4974
4976
|
|
|
4975
4977
|
var _templateObject$U, _templateObject2$F, _templateObject3$k, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$8, _templateObject8$8, _templateObject9$7, _templateObject10$7;
|
|
4976
4978
|
var ALIGNMENT_BREAKPOINTS = [true, 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
@@ -5036,7 +5038,7 @@ var DropdownMenu = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5036
5038
|
end = _props$end === void 0 ? false : _props$end,
|
|
5037
5039
|
style = props.style,
|
|
5038
5040
|
textStyle = props.textStyle,
|
|
5039
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5041
|
+
elementProps = _objectWithoutProperties(props, _excluded$15);
|
|
5040
5042
|
|
|
5041
5043
|
if (right !== undefined) {
|
|
5042
5044
|
// eslint-disable-next-line no-console
|
|
@@ -5112,7 +5114,7 @@ var DropdownMenu = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5112
5114
|
DropdownMenu.displayName = 'DropdownMenu';
|
|
5113
5115
|
DropdownMenu.propTypes = propTypes$16;
|
|
5114
5116
|
|
|
5115
|
-
var _excluded$
|
|
5117
|
+
var _excluded$14 = ["children", "size", "style"];
|
|
5116
5118
|
|
|
5117
5119
|
var _templateObject$T, _templateObject2$E;
|
|
5118
5120
|
var propTypes$15 = {
|
|
@@ -5132,7 +5134,7 @@ var Heading$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5132
5134
|
var children = props.children,
|
|
5133
5135
|
size = props.size,
|
|
5134
5136
|
style = props.style,
|
|
5135
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5137
|
+
elementProps = _objectWithoutProperties(props, _excluded$14);
|
|
5136
5138
|
|
|
5137
5139
|
var classes = getStyles(styles$S, ['heading', ".h".concat(size)]);
|
|
5138
5140
|
return /*#__PURE__*/React.createElement(Text, _extends({}, elementProps, {
|
|
@@ -5145,7 +5147,7 @@ var Heading$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5145
5147
|
Heading$2.displayName = 'Heading';
|
|
5146
5148
|
Heading$2.propTypes = propTypes$15;
|
|
5147
5149
|
|
|
5148
|
-
var _excluded$
|
|
5150
|
+
var _excluded$13 = ["children", "style", "textStyle"];
|
|
5149
5151
|
|
|
5150
5152
|
var _templateObject$S, _templateObject2$D;
|
|
5151
5153
|
var propTypes$14 = {
|
|
@@ -5163,7 +5165,7 @@ var DropdownHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5163
5165
|
var children = props.children,
|
|
5164
5166
|
style = props.style,
|
|
5165
5167
|
textStyle = props.textStyle,
|
|
5166
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5168
|
+
elementProps = _objectWithoutProperties(props, _excluded$13);
|
|
5167
5169
|
|
|
5168
5170
|
var classes = getStyles(styles$R, ['.dropdown-header']);
|
|
5169
5171
|
var textClasses = getStyles(styles$R, ['.dropdown-header --text']); // composite component
|
|
@@ -5179,7 +5181,7 @@ var DropdownHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5179
5181
|
DropdownHeader.displayName = 'DropdownHeader';
|
|
5180
5182
|
DropdownHeader.propTypes = propTypes$14;
|
|
5181
5183
|
|
|
5182
|
-
var _excluded
|
|
5184
|
+
var _excluded$12 = ["children", "onPress", "active", "disabled", "style", "textStyle"];
|
|
5183
5185
|
|
|
5184
5186
|
var _templateObject$R, _templateObject2$C, _templateObject3$j, _templateObject4$g, _templateObject5$d, _templateObject6$c;
|
|
5185
5187
|
var propTypes$13 = {
|
|
@@ -5210,7 +5212,7 @@ var DropdownItem = function DropdownItem(props) {
|
|
|
5210
5212
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
5211
5213
|
style = props.style,
|
|
5212
5214
|
textStyle = props.textStyle,
|
|
5213
|
-
elementProps = _objectWithoutProperties(props, _excluded
|
|
5215
|
+
elementProps = _objectWithoutProperties(props, _excluded$12);
|
|
5214
5216
|
|
|
5215
5217
|
var dropdown = useForcedContext(DropdownContext);
|
|
5216
5218
|
var classes = getStyles(styles$Q, ['.dropdown-item', active && '.dropdown-item.active', disabled && '.dropdown-item.disabled']);
|
|
@@ -5228,7 +5230,7 @@ var DropdownItem = function DropdownItem(props) {
|
|
|
5228
5230
|
DropdownItem.displayName = 'DropdownItem';
|
|
5229
5231
|
DropdownItem.propTypes = propTypes$13;
|
|
5230
5232
|
|
|
5231
|
-
var _excluded$
|
|
5233
|
+
var _excluded$11 = ["children", "style", "textStyle"];
|
|
5232
5234
|
|
|
5233
5235
|
var _templateObject$Q, _templateObject2$B;
|
|
5234
5236
|
var propTypes$12 = {
|
|
@@ -5246,7 +5248,7 @@ var DropdownItemText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5246
5248
|
var children = props.children,
|
|
5247
5249
|
style = props.style,
|
|
5248
5250
|
textStyle = props.textStyle,
|
|
5249
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5251
|
+
elementProps = _objectWithoutProperties(props, _excluded$11);
|
|
5250
5252
|
|
|
5251
5253
|
var classes = getStyles(styles$P, ['.dropdown-item-text']);
|
|
5252
5254
|
var textClasses = getStyles(styles$P, ['.dropdown-item-text --text']); // composite component
|
|
@@ -5261,7 +5263,7 @@ var DropdownItemText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5261
5263
|
DropdownItemText.displayName = 'DropdownItemText';
|
|
5262
5264
|
DropdownItemText.propTypes = propTypes$12;
|
|
5263
5265
|
|
|
5264
|
-
var _excluded$
|
|
5266
|
+
var _excluded$10 = ["style"];
|
|
5265
5267
|
|
|
5266
5268
|
var _templateObject$P;
|
|
5267
5269
|
var propTypes$11 = {
|
|
@@ -5273,7 +5275,7 @@ var styles$O = StyleSheet.create({
|
|
|
5273
5275
|
});
|
|
5274
5276
|
var DropdownDivider = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5275
5277
|
var style = props.style,
|
|
5276
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5278
|
+
elementProps = _objectWithoutProperties(props, _excluded$10);
|
|
5277
5279
|
|
|
5278
5280
|
var classes = getStyles(styles$O, ['.dropdown-divider']);
|
|
5279
5281
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -5306,12 +5308,12 @@ function useDropdown(defaultVisible, controlledVisible, onToggle, direction, dis
|
|
|
5306
5308
|
}, [visible]);
|
|
5307
5309
|
}
|
|
5308
5310
|
|
|
5309
|
-
var _excluded
|
|
5311
|
+
var _excluded$$ = ["onPress"];
|
|
5310
5312
|
function useDismissDropdown(props) {
|
|
5311
5313
|
var context = useForcedContext(DropdownContext);
|
|
5312
5314
|
|
|
5313
5315
|
var handlePress = props.onPress,
|
|
5314
|
-
restProps = _objectWithoutProperties(props, _excluded
|
|
5316
|
+
restProps = _objectWithoutProperties(props, _excluded$$);
|
|
5315
5317
|
|
|
5316
5318
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
5317
5319
|
onPress: function onPress(event) {
|
|
@@ -5321,7 +5323,7 @@ function useDismissDropdown(props) {
|
|
|
5321
5323
|
});
|
|
5322
5324
|
}
|
|
5323
5325
|
|
|
5324
|
-
var _excluded$
|
|
5326
|
+
var _excluded$_ = ["children", "defaultVisible", "visible", "onToggle", "direction", "display", "autoClose", "style"];
|
|
5325
5327
|
|
|
5326
5328
|
var _templateObject$O;
|
|
5327
5329
|
var DIRECTIONS = ['top', 'bottom', 'start', 'end'];
|
|
@@ -5352,7 +5354,7 @@ var Dropdown = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5352
5354
|
_props$autoClose = props.autoClose,
|
|
5353
5355
|
autoClose = _props$autoClose === void 0 ? 'outside' : _props$autoClose,
|
|
5354
5356
|
style = props.style,
|
|
5355
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5357
|
+
elementProps = _objectWithoutProperties(props, _excluded$_);
|
|
5356
5358
|
|
|
5357
5359
|
var dropdown = useDropdown(defaultVisible, visible, onToggle, direction, display, autoClose);
|
|
5358
5360
|
var classes = getStyles(styles$N, ['.dropdown']);
|
|
@@ -5375,7 +5377,7 @@ Dropdown.Divider = DropdownDivider;
|
|
|
5375
5377
|
Dropdown.useDismiss = useDismissDropdown;
|
|
5376
5378
|
Dropdown.useToggle = useToggleDropdown;
|
|
5377
5379
|
|
|
5378
|
-
var _excluded$
|
|
5380
|
+
var _excluded$Z = ["children", "size", "style"];
|
|
5379
5381
|
|
|
5380
5382
|
var _templateObject$N;
|
|
5381
5383
|
var propTypes$$ = {
|
|
@@ -5393,7 +5395,7 @@ var DisplayHeading = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5393
5395
|
var children = props.children,
|
|
5394
5396
|
size = props.size,
|
|
5395
5397
|
style = props.style,
|
|
5396
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5398
|
+
elementProps = _objectWithoutProperties(props, _excluded$Z);
|
|
5397
5399
|
|
|
5398
5400
|
var classes = getStyles(styles$M, [".display-".concat(size)]);
|
|
5399
5401
|
return /*#__PURE__*/React.createElement(Heading$2, _extends({}, elementProps, {
|
|
@@ -5405,7 +5407,7 @@ var DisplayHeading = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5405
5407
|
DisplayHeading.displayName = 'Heading';
|
|
5406
5408
|
DisplayHeading.propTypes = propTypes$$;
|
|
5407
5409
|
|
|
5408
|
-
var _excluded$
|
|
5410
|
+
var _excluded$Y = ["children", "type", "style"];
|
|
5409
5411
|
|
|
5410
5412
|
var _templateObject$M;
|
|
5411
5413
|
var propTypes$_ = {
|
|
@@ -5423,7 +5425,7 @@ var Feedback = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5423
5425
|
var children = props.children,
|
|
5424
5426
|
type = props.type,
|
|
5425
5427
|
style = props.style,
|
|
5426
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5428
|
+
elementProps = _objectWithoutProperties(props, _excluded$Y);
|
|
5427
5429
|
|
|
5428
5430
|
var classes = getStyles(styles$L, [".".concat(type, "-feedback")]);
|
|
5429
5431
|
return /*#__PURE__*/React.createElement(Text, _extends({}, elementProps, {
|
|
@@ -5434,7 +5436,7 @@ var Feedback = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5434
5436
|
Feedback.displayName = 'Feedback';
|
|
5435
5437
|
Feedback.propTypes = propTypes$_;
|
|
5436
5438
|
|
|
5437
|
-
var _excluded$
|
|
5439
|
+
var _excluded$X = ["children", "htmlFor"];
|
|
5438
5440
|
var propTypes$Z = {
|
|
5439
5441
|
children: PropTypes.node.isRequired,
|
|
5440
5442
|
htmlFor: PropTypes.string
|
|
@@ -5442,7 +5444,7 @@ var propTypes$Z = {
|
|
|
5442
5444
|
var Heading$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5443
5445
|
var children = props.children,
|
|
5444
5446
|
htmlFor = props.htmlFor,
|
|
5445
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5447
|
+
elementProps = _objectWithoutProperties(props, _excluded$X); // Ref: https://github.com/necolas/react-native-web/issues/1651
|
|
5446
5448
|
|
|
5447
5449
|
|
|
5448
5450
|
var forRef = React.useCallback(function (node) {
|
|
@@ -5461,7 +5463,7 @@ var Heading$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5461
5463
|
Heading$1.displayName = 'Heading';
|
|
5462
5464
|
Heading$1.propTypes = propTypes$Z;
|
|
5463
5465
|
|
|
5464
|
-
var _excluded$
|
|
5466
|
+
var _excluded$W = ["children", "style", "textStyle"];
|
|
5465
5467
|
|
|
5466
5468
|
var _templateObject$L, _templateObject2$A, _templateObject3$i, _templateObject4$f;
|
|
5467
5469
|
var propTypes$Y = {
|
|
@@ -5484,7 +5486,7 @@ var FormCheckLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5484
5486
|
var children = props.children,
|
|
5485
5487
|
style = props.style,
|
|
5486
5488
|
textStyle = props.textStyle,
|
|
5487
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5489
|
+
elementProps = _objectWithoutProperties(props, _excluded$W);
|
|
5488
5490
|
|
|
5489
5491
|
var _useForcedContext = useForcedContext(FormCheckContext),
|
|
5490
5492
|
disabled = _useForcedContext.disabled,
|
|
@@ -5504,6 +5506,8 @@ var FormCheckLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5504
5506
|
FormCheckLabel.displayName = 'FormCheckLabel';
|
|
5505
5507
|
FormCheckLabel.propTypes = propTypes$Y;
|
|
5506
5508
|
|
|
5509
|
+
var _excluded$V = ["children", "reverse", "disabled", "valid", "invalid", "style"];
|
|
5510
|
+
|
|
5507
5511
|
var _templateObject$K, _templateObject2$z, _templateObject3$h;
|
|
5508
5512
|
var propTypes$X = {
|
|
5509
5513
|
children: PropTypes.node.isRequired,
|
|
@@ -5529,12 +5533,14 @@ var FormCheck = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5529
5533
|
valid = _props$valid === void 0 ? false : _props$valid,
|
|
5530
5534
|
_props$invalid = props.invalid,
|
|
5531
5535
|
invalid = _props$invalid === void 0 ? false : _props$invalid,
|
|
5532
|
-
style = props.style
|
|
5536
|
+
style = props.style,
|
|
5537
|
+
elementProps = _objectWithoutProperties(props, _excluded$V);
|
|
5538
|
+
|
|
5533
5539
|
var classes = getStyles(styles$J, ['.form-check', reverse && '.form-check-reverse']);
|
|
5534
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
5540
|
+
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
5535
5541
|
ref: ref,
|
|
5536
5542
|
style: [classes, style]
|
|
5537
|
-
}, /*#__PURE__*/React.createElement(FormCheckContext.Provider, {
|
|
5543
|
+
}), /*#__PURE__*/React.createElement(FormCheckContext.Provider, {
|
|
5538
5544
|
value: {
|
|
5539
5545
|
reverse: reverse,
|
|
5540
5546
|
disabled: disabled,
|
|
@@ -5547,7 +5553,7 @@ FormCheck.displayName = 'FormCheck';
|
|
|
5547
5553
|
FormCheck.propTypes = propTypes$X;
|
|
5548
5554
|
FormCheck.Label = FormCheckLabel;
|
|
5549
5555
|
|
|
5550
|
-
var _excluded$
|
|
5556
|
+
var _excluded$U = ["children", "style", "textStyle"];
|
|
5551
5557
|
|
|
5552
5558
|
var _templateObject$J, _templateObject2$y;
|
|
5553
5559
|
var propTypes$W = {
|
|
@@ -5565,7 +5571,7 @@ var FormLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5565
5571
|
var children = props.children,
|
|
5566
5572
|
style = props.style,
|
|
5567
5573
|
textStyle = props.textStyle,
|
|
5568
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5574
|
+
elementProps = _objectWithoutProperties(props, _excluded$U);
|
|
5569
5575
|
|
|
5570
5576
|
var classes = getStyles(styles$I, ['.form-label']);
|
|
5571
5577
|
var textClasses = getStyles(styles$I, ['.form-label --text']);
|
|
@@ -5578,7 +5584,7 @@ var FormLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5578
5584
|
FormLabel.displayName = 'FormLabel';
|
|
5579
5585
|
FormLabel.propTypes = propTypes$W;
|
|
5580
5586
|
|
|
5581
|
-
var _excluded$
|
|
5587
|
+
var _excluded$T = ["children", "style", "textStyle"];
|
|
5582
5588
|
|
|
5583
5589
|
var _templateObject$I, _templateObject2$x;
|
|
5584
5590
|
var propTypes$V = {
|
|
@@ -5596,7 +5602,7 @@ var FormText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5596
5602
|
var children = props.children,
|
|
5597
5603
|
style = props.style,
|
|
5598
5604
|
textStyle = props.textStyle,
|
|
5599
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5605
|
+
elementProps = _objectWithoutProperties(props, _excluded$T);
|
|
5600
5606
|
|
|
5601
5607
|
var classes = getStyles(styles$H, ['.form-text']);
|
|
5602
5608
|
var textClasses = getStyles(styles$H, ['.form-text --text']); // composite component
|
|
@@ -5611,7 +5617,7 @@ var FormText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5611
5617
|
FormText.displayName = 'FormText';
|
|
5612
5618
|
FormText.propTypes = propTypes$V;
|
|
5613
5619
|
|
|
5614
|
-
var _excluded$
|
|
5620
|
+
var _excluded$S = ["onFocus", "onBlur", "style", "styleName"];
|
|
5615
5621
|
var propTypes$U = {
|
|
5616
5622
|
onFocus: PropTypes.func,
|
|
5617
5623
|
onBlur: PropTypes.func,
|
|
@@ -5627,7 +5633,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5627
5633
|
_onBlur = _props$onBlur === void 0 ? function () {} : _props$onBlur,
|
|
5628
5634
|
style = props.style,
|
|
5629
5635
|
styleName = props.styleName,
|
|
5630
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5636
|
+
elementProps = _objectWithoutProperties(props, _excluded$S);
|
|
5631
5637
|
|
|
5632
5638
|
var _useState = useState(false),
|
|
5633
5639
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5659,7 +5665,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5659
5665
|
TextInput.displayName = 'TextInput';
|
|
5660
5666
|
TextInput.propTypes = propTypes$U;
|
|
5661
5667
|
|
|
5662
|
-
var _excluded$
|
|
5668
|
+
var _excluded$R = ["size", "placeholderTextColor", "multiline", "disabled", "valid", "invalid", "editable", "selectTextOnFocus", "style"];
|
|
5663
5669
|
|
|
5664
5670
|
var _templateObject$H, _templateObject2$w, _templateObject3$g, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$7, _templateObject8$7;
|
|
5665
5671
|
var propTypes$T = {
|
|
@@ -5713,7 +5719,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5713
5719
|
_modifierProps$select = modifierProps.selectTextOnFocus,
|
|
5714
5720
|
selectTextOnFocus = _modifierProps$select === void 0 ? true : _modifierProps$select,
|
|
5715
5721
|
style = modifierProps.style,
|
|
5716
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
5722
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$R);
|
|
5717
5723
|
|
|
5718
5724
|
var classes = getStyles(styles$G, ['.form-control', disabled && '.form-control.disabled', size === 'sm' && '.form-control-sm', size === 'lg' && '.form-control-lg', multiline && '.form-control-multiline', multiline && size === 'sm' && '.form-control-multiline-sm', multiline && size === 'lg' && '.form-control-multiline-lg', valid && '.form-control:valid', invalid && '.form-control:invalid']);
|
|
5719
5725
|
return /*#__PURE__*/React.createElement(TextInput, _extends({}, elementProps, {
|
|
@@ -5854,7 +5860,7 @@ function useTrigger(rawTrigger, props, elementProps, ref) {
|
|
|
5854
5860
|
var PopoverContext = /*#__PURE__*/React.createContext();
|
|
5855
5861
|
PopoverContext.displayName = 'PopoverContext';
|
|
5856
5862
|
|
|
5857
|
-
var _excluded$
|
|
5863
|
+
var _excluded$Q = ["style"];
|
|
5858
5864
|
|
|
5859
5865
|
var _templateObject$G, _templateObject2$v, _templateObject3$f, _templateObject4$d, _templateObject5$b, _templateObject6$a, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject10$6, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$2, _templateObject15$1;
|
|
5860
5866
|
var propTypes$S = {
|
|
@@ -5896,7 +5902,7 @@ var styles$F = StyleSheet.create({
|
|
|
5896
5902
|
});
|
|
5897
5903
|
var PopoverArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5898
5904
|
var style = props.style,
|
|
5899
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5905
|
+
elementProps = _objectWithoutProperties(props, _excluded$Q);
|
|
5900
5906
|
|
|
5901
5907
|
var _useForcedContext = useForcedContext(PopoverContext),
|
|
5902
5908
|
placement = _useForcedContext.placement,
|
|
@@ -5918,7 +5924,7 @@ var PopoverArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5918
5924
|
PopoverArrow.displayName = 'PopoverArrow';
|
|
5919
5925
|
PopoverArrow.propTypes = propTypes$S;
|
|
5920
5926
|
|
|
5921
|
-
var _excluded$
|
|
5927
|
+
var _excluded$P = ["children", "style", "textStyle"];
|
|
5922
5928
|
|
|
5923
5929
|
var _templateObject$F, _templateObject2$u;
|
|
5924
5930
|
var propTypes$R = {
|
|
@@ -5936,7 +5942,7 @@ var PopoverHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5936
5942
|
var children = props.children,
|
|
5937
5943
|
style = props.style,
|
|
5938
5944
|
textStyle = props.textStyle,
|
|
5939
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5945
|
+
elementProps = _objectWithoutProperties(props, _excluded$P);
|
|
5940
5946
|
|
|
5941
5947
|
var classes = getStyles(styles$E, ['.popover-header']);
|
|
5942
5948
|
var textClasses = getStyles(styles$E, ['.popover-header --text']); // composite component
|
|
@@ -5952,7 +5958,7 @@ var PopoverHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5952
5958
|
PopoverHeader.displayName = 'PopoverHeader';
|
|
5953
5959
|
PopoverHeader.propTypes = propTypes$R;
|
|
5954
5960
|
|
|
5955
|
-
var _excluded$
|
|
5961
|
+
var _excluded$O = ["children", "style", "textStyle"];
|
|
5956
5962
|
|
|
5957
5963
|
var _templateObject$E, _templateObject2$t;
|
|
5958
5964
|
var propTypes$Q = {
|
|
@@ -5970,7 +5976,7 @@ var PopoverBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5970
5976
|
var children = props.children,
|
|
5971
5977
|
style = props.style,
|
|
5972
5978
|
textStyle = props.textStyle,
|
|
5973
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5979
|
+
elementProps = _objectWithoutProperties(props, _excluded$O);
|
|
5974
5980
|
|
|
5975
5981
|
var classes = getStyles(styles$D, ['.popover-body']);
|
|
5976
5982
|
var textClasses = getStyles(styles$D, ['.popover-body --text']);
|
|
@@ -5983,7 +5989,7 @@ var PopoverBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5983
5989
|
PopoverBody.displayName = 'PopoverBody';
|
|
5984
5990
|
PopoverBody.propTypes = propTypes$Q;
|
|
5985
5991
|
|
|
5986
|
-
var _excluded$
|
|
5992
|
+
var _excluded$N = ["children", "placement", "popper", "style", "textStyle", "arrowStyle"];
|
|
5987
5993
|
|
|
5988
5994
|
var _templateObject$D, _templateObject2$s;
|
|
5989
5995
|
var propTypes$P = {
|
|
@@ -6009,7 +6015,7 @@ var Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6009
6015
|
style = props.style,
|
|
6010
6016
|
textStyle = props.textStyle,
|
|
6011
6017
|
arrowStyle = props.arrowStyle,
|
|
6012
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6018
|
+
elementProps = _objectWithoutProperties(props, _excluded$N);
|
|
6013
6019
|
|
|
6014
6020
|
var popover = {
|
|
6015
6021
|
placement: transformPlacement$1(placement),
|
|
@@ -6035,7 +6041,7 @@ Popover.Arrow = PopoverArrow;
|
|
|
6035
6041
|
Popover.Header = PopoverHeader;
|
|
6036
6042
|
Popover.Body = PopoverBody;
|
|
6037
6043
|
|
|
6038
|
-
var _excluded$
|
|
6044
|
+
var _excluded$M = ["title", "content", "autoClose", "trigger", "placement"],
|
|
6039
6045
|
_excluded2$1 = ["popover"];
|
|
6040
6046
|
var propTypes$O = {
|
|
6041
6047
|
popover: PropTypes.shape(_objectSpread2({
|
|
@@ -6056,7 +6062,7 @@ function injectPopover(Target) {
|
|
|
6056
6062
|
trigger = _props$popover$trigge === void 0 ? 'press' : _props$popover$trigge,
|
|
6057
6063
|
_props$popover$placem = _props$popover.placement,
|
|
6058
6064
|
placement = _props$popover$placem === void 0 ? 'right' : _props$popover$placem,
|
|
6059
|
-
tooltipProps = _objectWithoutProperties(_props$popover, _excluded$
|
|
6065
|
+
tooltipProps = _objectWithoutProperties(_props$popover, _excluded$M),
|
|
6060
6066
|
elementProps = _objectWithoutProperties(props, _excluded2$1);
|
|
6061
6067
|
/* eslint-enable */
|
|
6062
6068
|
|
|
@@ -6103,7 +6109,7 @@ function injectPopover(Target) {
|
|
|
6103
6109
|
var TooltipContext = /*#__PURE__*/React.createContext();
|
|
6104
6110
|
TooltipContext.displayName = 'TooltipContext';
|
|
6105
6111
|
|
|
6106
|
-
var _excluded$
|
|
6112
|
+
var _excluded$L = ["style"];
|
|
6107
6113
|
|
|
6108
6114
|
var _templateObject$C, _templateObject2$r, _templateObject3$e, _templateObject4$c, _templateObject5$a, _templateObject6$9, _templateObject7$5, _templateObject8$5, _templateObject9$5, _templateObject10$5;
|
|
6109
6115
|
var propTypes$N = {
|
|
@@ -6124,7 +6130,7 @@ var styles$B = StyleSheet.create({
|
|
|
6124
6130
|
});
|
|
6125
6131
|
var TooltipArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6126
6132
|
var style = props.style,
|
|
6127
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6133
|
+
elementProps = _objectWithoutProperties(props, _excluded$L);
|
|
6128
6134
|
|
|
6129
6135
|
var _useForcedContext = useForcedContext(TooltipContext),
|
|
6130
6136
|
placement = _useForcedContext.placement,
|
|
@@ -6143,7 +6149,7 @@ var TooltipArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6143
6149
|
TooltipArrow.displayName = 'TooltipArrow';
|
|
6144
6150
|
TooltipArrow.propTypes = propTypes$N;
|
|
6145
6151
|
|
|
6146
|
-
var _excluded$
|
|
6152
|
+
var _excluded$K = ["children", "style", "textStyle"];
|
|
6147
6153
|
|
|
6148
6154
|
var _templateObject$B, _templateObject2$q;
|
|
6149
6155
|
var propTypes$M = {
|
|
@@ -6161,7 +6167,7 @@ var TooltipInner = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6161
6167
|
var children = props.children,
|
|
6162
6168
|
style = props.style,
|
|
6163
6169
|
textStyle = props.textStyle,
|
|
6164
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6170
|
+
elementProps = _objectWithoutProperties(props, _excluded$K);
|
|
6165
6171
|
|
|
6166
6172
|
var classes = getStyles(styles$A, ['.tooltip-inner']);
|
|
6167
6173
|
var textClasses = getStyles(styles$A, ['.tooltip-inner --text']); // composite component
|
|
@@ -6176,7 +6182,7 @@ var TooltipInner = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6176
6182
|
TooltipInner.displayName = 'TooltipInner';
|
|
6177
6183
|
TooltipInner.propTypes = propTypes$M;
|
|
6178
6184
|
|
|
6179
|
-
var _excluded$
|
|
6185
|
+
var _excluded$J = ["children", "placement", "popper", "style", "textStyle", "arrowStyle"];
|
|
6180
6186
|
|
|
6181
6187
|
var _templateObject$A, _templateObject2$p, _templateObject3$d, _templateObject4$b, _templateObject5$9, _templateObject6$8;
|
|
6182
6188
|
var propTypes$L = {
|
|
@@ -6206,7 +6212,7 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6206
6212
|
style = props.style,
|
|
6207
6213
|
textStyle = props.textStyle,
|
|
6208
6214
|
arrowStyle = props.arrowStyle,
|
|
6209
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6215
|
+
elementProps = _objectWithoutProperties(props, _excluded$J);
|
|
6210
6216
|
|
|
6211
6217
|
var tooltip = {
|
|
6212
6218
|
placement: transformPlacement$1(placement),
|
|
@@ -6232,7 +6238,7 @@ Tooltip.propTypes = propTypes$L;
|
|
|
6232
6238
|
Tooltip.Arrow = TooltipArrow;
|
|
6233
6239
|
Tooltip.Inner = TooltipInner;
|
|
6234
6240
|
|
|
6235
|
-
var _excluded$
|
|
6241
|
+
var _excluded$I = ["title", "autoClose", "trigger", "placement"],
|
|
6236
6242
|
_excluded2 = ["tooltip"];
|
|
6237
6243
|
var propTypes$K = {
|
|
6238
6244
|
tooltip: PropTypes.shape(_objectSpread2({
|
|
@@ -6251,7 +6257,7 @@ function injectTooltip(Target) {
|
|
|
6251
6257
|
trigger = _props$tooltip$trigge === void 0 ? 'hover focus' : _props$tooltip$trigge,
|
|
6252
6258
|
_props$tooltip$placem = _props$tooltip.placement,
|
|
6253
6259
|
placement = _props$tooltip$placem === void 0 ? 'top' : _props$tooltip$placem,
|
|
6254
|
-
tooltipProps = _objectWithoutProperties(_props$tooltip, _excluded$
|
|
6260
|
+
tooltipProps = _objectWithoutProperties(_props$tooltip, _excluded$I),
|
|
6255
6261
|
elementProps = _objectWithoutProperties(props, _excluded2);
|
|
6256
6262
|
/* eslint-enable */
|
|
6257
6263
|
|
|
@@ -6294,7 +6300,7 @@ function injectTooltip(Target) {
|
|
|
6294
6300
|
return OverlayTooltip;
|
|
6295
6301
|
}
|
|
6296
6302
|
|
|
6297
|
-
var _excluded$
|
|
6303
|
+
var _excluded$H = ["style", "styleName"];
|
|
6298
6304
|
var propTypes$J = {
|
|
6299
6305
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6300
6306
|
style: PropTypes.any,
|
|
@@ -6304,7 +6310,7 @@ var propTypes$J = {
|
|
|
6304
6310
|
var Image = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6305
6311
|
var style = props.style,
|
|
6306
6312
|
styleName = props.styleName,
|
|
6307
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6313
|
+
elementProps = _objectWithoutProperties(props, _excluded$H);
|
|
6308
6314
|
|
|
6309
6315
|
var media = useMedia();
|
|
6310
6316
|
var resolveStyle = useStyle(style, styleName);
|
|
@@ -6318,7 +6324,7 @@ var Image = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6318
6324
|
Image.displayName = 'Image';
|
|
6319
6325
|
Image.propTypes = propTypes$J;
|
|
6320
6326
|
|
|
6321
|
-
var _excluded$
|
|
6327
|
+
var _excluded$G = ["style", "styleName"];
|
|
6322
6328
|
var propTypes$I = {
|
|
6323
6329
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6324
6330
|
style: PropTypes.any,
|
|
@@ -6328,7 +6334,7 @@ var propTypes$I = {
|
|
|
6328
6334
|
var ImageBackground = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6329
6335
|
var style = props.style,
|
|
6330
6336
|
styleName = props.styleName,
|
|
6331
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6337
|
+
elementProps = _objectWithoutProperties(props, _excluded$G);
|
|
6332
6338
|
|
|
6333
6339
|
var media = useMedia();
|
|
6334
6340
|
var resolveStyle = useStyle(style, styleName);
|
|
@@ -6345,7 +6351,7 @@ ImageBackground.propTypes = propTypes$I;
|
|
|
6345
6351
|
var ListGroupContext = /*#__PURE__*/React.createContext();
|
|
6346
6352
|
ListGroupContext.displayName = 'ListGroupContext';
|
|
6347
6353
|
|
|
6348
|
-
var _excluded$
|
|
6354
|
+
var _excluded$F = ["children", "color", "active", "disabled", "style", "textStyle"];
|
|
6349
6355
|
|
|
6350
6356
|
var _templateObject$z, _templateObject2$o, _templateObject3$c, _templateObject4$a, _templateObject5$8, _templateObject6$7, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$1;
|
|
6351
6357
|
var propTypes$H = {
|
|
@@ -6359,7 +6365,7 @@ var propTypes$H = {
|
|
|
6359
6365
|
textStyle: PropTypes.any
|
|
6360
6366
|
};
|
|
6361
6367
|
var styles$y = StyleSheet.create(_objectSpread2({
|
|
6362
|
-
'.list-group-item': css(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n position: relative;\n // display: block;\n
|
|
6368
|
+
'.list-group-item': css(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n position: relative;\n // display: block;\n padding: $list-group-item-padding-y $list-group-item-padding-x;\n background-color: $list-group-bg;\n border: $list-group-border-width solid $list-group-border-color;\n "]))),
|
|
6363
6369
|
'.list-group-item --text': css(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n color: $list-group-color;\n text-decoration: none; // if($link-decoration == none, null, none);\n "]))),
|
|
6364
6370
|
'.list-group-item:first-child': css(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral(["\n border-top-left-radius: $list-group-border-radius;\n border-top-right-radius: $list-group-border-radius;\n "]))),
|
|
6365
6371
|
'.list-group-item:last-child': css(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteral(["\n border-bottom-left-radius: $list-group-border-radius;\n border-bottom-right-radius: $list-group-border-radius;\n "]))),
|
|
@@ -6389,7 +6395,7 @@ var ListGroupItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6389
6395
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
6390
6396
|
style = props.style,
|
|
6391
6397
|
textStyle = props.textStyle,
|
|
6392
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6398
|
+
elementProps = _objectWithoutProperties(props, _excluded$F);
|
|
6393
6399
|
|
|
6394
6400
|
var _useForcedContext = useForcedContext(ListContext),
|
|
6395
6401
|
first = _useForcedContext.first,
|
|
@@ -6411,7 +6417,7 @@ var ListGroupItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6411
6417
|
ListGroupItem.displayName = 'ListGroupItem';
|
|
6412
6418
|
ListGroupItem.propTypes = propTypes$H;
|
|
6413
6419
|
|
|
6414
|
-
var _excluded$
|
|
6420
|
+
var _excluded$E = ["children", "color", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
6415
6421
|
|
|
6416
6422
|
var _templateObject$y, _templateObject2$n, _templateObject3$b, _templateObject4$9, _templateObject5$7, _templateObject6$6;
|
|
6417
6423
|
var propTypes$G = {
|
|
@@ -6464,7 +6470,7 @@ var ListGroupItemAction = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6464
6470
|
activeStyle = modifierProps.activeStyle,
|
|
6465
6471
|
textStyle = modifierProps.textStyle,
|
|
6466
6472
|
activeTextStyle = modifierProps.activeTextStyle,
|
|
6467
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
6473
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$E);
|
|
6468
6474
|
|
|
6469
6475
|
var _useForcedContext = useForcedContext(ListContext),
|
|
6470
6476
|
first = _useForcedContext.first,
|
|
@@ -6494,7 +6500,7 @@ var ListGroupItemAction = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6494
6500
|
ListGroupItemAction.displayName = 'ListGroupItemAction';
|
|
6495
6501
|
ListGroupItemAction.propTypes = propTypes$G;
|
|
6496
6502
|
|
|
6497
|
-
var _excluded$
|
|
6503
|
+
var _excluded$D = ["children", "flush", "style"];
|
|
6498
6504
|
|
|
6499
6505
|
var _templateObject$x, _templateObject2$m;
|
|
6500
6506
|
var propTypes$F = {
|
|
@@ -6524,7 +6530,7 @@ var ListGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6524
6530
|
var children = props.children,
|
|
6525
6531
|
flush = props.flush,
|
|
6526
6532
|
style = props.style,
|
|
6527
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6533
|
+
elementProps = _objectWithoutProperties(props, _excluded$D);
|
|
6528
6534
|
|
|
6529
6535
|
var list = useList(children);
|
|
6530
6536
|
var classes = getStyles(styles$x, ['.list-group', flush && '.list-group-flush']); // TODO: Implement TabContext
|
|
@@ -6545,7 +6551,7 @@ ListGroup.propTypes = propTypes$F;
|
|
|
6545
6551
|
ListGroup.Item = ListGroupItem;
|
|
6546
6552
|
ListGroup.ItemAction = ListGroupItemAction;
|
|
6547
6553
|
|
|
6548
|
-
var _excluded$
|
|
6554
|
+
var _excluded$C = ["children", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onPressIn", "onPressOut", "style"];
|
|
6549
6555
|
|
|
6550
6556
|
var _templateObject$w;
|
|
6551
6557
|
var propTypes$E = {
|
|
@@ -6587,7 +6593,7 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6587
6593
|
_actionProps$onPressO = actionProps.onPressOut,
|
|
6588
6594
|
_onPressOut = _actionProps$onPressO === void 0 ? function () {} : _actionProps$onPressO,
|
|
6589
6595
|
style = actionProps.style,
|
|
6590
|
-
elementProps = _objectWithoutProperties(actionProps, _excluded$
|
|
6596
|
+
elementProps = _objectWithoutProperties(actionProps, _excluded$C);
|
|
6591
6597
|
|
|
6592
6598
|
var media = useMedia();
|
|
6593
6599
|
|
|
@@ -6655,7 +6661,7 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6655
6661
|
Link.displayName = 'Link';
|
|
6656
6662
|
Link.propTypes = propTypes$E;
|
|
6657
6663
|
|
|
6658
|
-
var _excluded$
|
|
6664
|
+
var _excluded$B = ["children", "contentContainerStyle", "style", "textStyle", "styleName"];
|
|
6659
6665
|
var propTypes$D = {
|
|
6660
6666
|
children: PropTypes.node,
|
|
6661
6667
|
// eslint-disable-next-line react/forbid-prop-types
|
|
@@ -6673,7 +6679,7 @@ var ScrollView = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6673
6679
|
style = props.style,
|
|
6674
6680
|
textStyle = props.textStyle,
|
|
6675
6681
|
styleName = props.styleName,
|
|
6676
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6682
|
+
elementProps = _objectWithoutProperties(props, _excluded$B);
|
|
6677
6683
|
|
|
6678
6684
|
var media = useMedia();
|
|
6679
6685
|
var context = useContext(TextStyleContext);
|
|
@@ -6768,7 +6774,7 @@ function useModal(scrollable) {
|
|
|
6768
6774
|
}, [scrollable]);
|
|
6769
6775
|
}
|
|
6770
6776
|
|
|
6771
|
-
var _excluded$
|
|
6777
|
+
var _excluded$A = ["children", "style"];
|
|
6772
6778
|
|
|
6773
6779
|
var _templateObject$v;
|
|
6774
6780
|
var propTypes$C = {
|
|
@@ -6782,7 +6788,7 @@ var styles$v = StyleSheet.create({
|
|
|
6782
6788
|
var ModalHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6783
6789
|
var children = props.children,
|
|
6784
6790
|
style = props.style,
|
|
6785
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6791
|
+
elementProps = _objectWithoutProperties(props, _excluded$A);
|
|
6786
6792
|
|
|
6787
6793
|
var classes = getStyles(styles$v, ['.modal-header']);
|
|
6788
6794
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -6793,7 +6799,7 @@ var ModalHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6793
6799
|
ModalHeader.displayName = 'ModalHeader';
|
|
6794
6800
|
ModalHeader.propTypes = propTypes$C;
|
|
6795
6801
|
|
|
6796
|
-
var _excluded$
|
|
6802
|
+
var _excluded$z = ["children", "style"];
|
|
6797
6803
|
|
|
6798
6804
|
var _templateObject$u;
|
|
6799
6805
|
var propTypes$B = {
|
|
@@ -6807,7 +6813,7 @@ var styles$u = StyleSheet.create({
|
|
|
6807
6813
|
var ModalTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6808
6814
|
var children = props.children,
|
|
6809
6815
|
style = props.style,
|
|
6810
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6816
|
+
elementProps = _objectWithoutProperties(props, _excluded$z);
|
|
6811
6817
|
|
|
6812
6818
|
var classes = getStyles(styles$u, ['.modal-title']);
|
|
6813
6819
|
return /*#__PURE__*/React.createElement(Heading$2, _extends({
|
|
@@ -6820,7 +6826,7 @@ var ModalTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6820
6826
|
ModalTitle.displayName = 'ModalTitle';
|
|
6821
6827
|
ModalTitle.propTypes = propTypes$B;
|
|
6822
6828
|
|
|
6823
|
-
var _excluded$
|
|
6829
|
+
var _excluded$y = ["children", "style", "contentContainerStyle"];
|
|
6824
6830
|
|
|
6825
6831
|
var _templateObject$t;
|
|
6826
6832
|
var propTypes$A = {
|
|
@@ -6837,7 +6843,7 @@ var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6837
6843
|
var children = props.children,
|
|
6838
6844
|
style = props.style,
|
|
6839
6845
|
contentContainerStyle = props.contentContainerStyle,
|
|
6840
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6846
|
+
elementProps = _objectWithoutProperties(props, _excluded$y);
|
|
6841
6847
|
|
|
6842
6848
|
var _useForcedContext = useForcedContext(ModalContext),
|
|
6843
6849
|
scrollable = _useForcedContext.scrollable;
|
|
@@ -6853,7 +6859,7 @@ var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6853
6859
|
ModalBody.displayName = 'ModalBody';
|
|
6854
6860
|
ModalBody.propTypes = propTypes$A;
|
|
6855
6861
|
|
|
6856
|
-
var _excluded$
|
|
6862
|
+
var _excluded$x = ["children", "style"];
|
|
6857
6863
|
|
|
6858
6864
|
var _templateObject$s;
|
|
6859
6865
|
var propTypes$z = {
|
|
@@ -6867,7 +6873,7 @@ var styles$s = StyleSheet.create({
|
|
|
6867
6873
|
var ModalFooter = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6868
6874
|
var children = props.children,
|
|
6869
6875
|
style = props.style,
|
|
6870
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6876
|
+
elementProps = _objectWithoutProperties(props, _excluded$x);
|
|
6871
6877
|
|
|
6872
6878
|
var classes = getStyles(styles$s, ['.modal-footer']);
|
|
6873
6879
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -6878,7 +6884,7 @@ var ModalFooter = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6878
6884
|
ModalFooter.displayName = 'ModalFooter';
|
|
6879
6885
|
ModalFooter.propTypes = propTypes$z;
|
|
6880
6886
|
|
|
6881
|
-
var _excluded$
|
|
6887
|
+
var _excluded$w = ["children", "visible", "size", "backdrop", "scrollable", "centered", "onToggle", "style", "textStyle"];
|
|
6882
6888
|
|
|
6883
6889
|
var _templateObject$r, _templateObject2$l, _templateObject3$a, _templateObject4$8, _templateObject5$6, _templateObject6$5, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject10$3, _templateObject11$2;
|
|
6884
6890
|
var MODAL_SIZES = ['sm', 'lg', 'xl'];
|
|
@@ -6921,7 +6927,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6921
6927
|
handleToggle = props.onToggle,
|
|
6922
6928
|
style = props.style,
|
|
6923
6929
|
textStyle = props.textStyle,
|
|
6924
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6930
|
+
elementProps = _objectWithoutProperties(props, _excluded$w);
|
|
6925
6931
|
|
|
6926
6932
|
var dialogRef = useRef();
|
|
6927
6933
|
var modal = useModal(scrollable);
|
|
@@ -6977,7 +6983,7 @@ Modal.Footer = ModalFooter;
|
|
|
6977
6983
|
var NavContext = /*#__PURE__*/React.createContext();
|
|
6978
6984
|
NavContext.displayName = 'NavContext';
|
|
6979
6985
|
|
|
6980
|
-
var _excluded$
|
|
6986
|
+
var _excluded$v = ["children", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
6981
6987
|
|
|
6982
6988
|
var _templateObject$q, _templateObject2$k, _templateObject3$9, _templateObject4$7, _templateObject5$5, _templateObject6$4, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20;
|
|
6983
6989
|
var propTypes$x = {
|
|
@@ -7031,7 +7037,7 @@ var NavLink = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7031
7037
|
activeStyle = modifierProps.activeStyle,
|
|
7032
7038
|
textStyle = modifierProps.textStyle,
|
|
7033
7039
|
activeTextStyle = modifierProps.activeTextStyle,
|
|
7034
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
7040
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$v);
|
|
7035
7041
|
|
|
7036
7042
|
var _useForcedContext = useForcedContext(NavContext),
|
|
7037
7043
|
variant = _useForcedContext.variant;
|
|
@@ -7061,7 +7067,7 @@ NavLink.propTypes = propTypes$x;
|
|
|
7061
7067
|
var TabContext = /*#__PURE__*/createContext();
|
|
7062
7068
|
TabContext.displayName = 'TabContext';
|
|
7063
7069
|
|
|
7064
|
-
var _excluded$
|
|
7070
|
+
var _excluded$u = ["children", "variant", "style"];
|
|
7065
7071
|
|
|
7066
7072
|
var _templateObject$p, _templateObject2$j, _templateObject3$8, _templateObject4$6;
|
|
7067
7073
|
var propTypes$w = {
|
|
@@ -7095,7 +7101,7 @@ var Nav = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7095
7101
|
var children = props.children,
|
|
7096
7102
|
variant = props.variant,
|
|
7097
7103
|
style = props.style,
|
|
7098
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7104
|
+
elementProps = _objectWithoutProperties(props, _excluded$u);
|
|
7099
7105
|
|
|
7100
7106
|
var navbar = useContext(NavbarContext);
|
|
7101
7107
|
var tabbable = useContext(TabContext);
|
|
@@ -7116,7 +7122,7 @@ Nav.propTypes = propTypes$w;
|
|
|
7116
7122
|
Nav.Context = NavContext;
|
|
7117
7123
|
Nav.Link = NavLink;
|
|
7118
7124
|
|
|
7119
|
-
var _excluded$
|
|
7125
|
+
var _excluded$t = ["children", "style", "textStyle"];
|
|
7120
7126
|
|
|
7121
7127
|
var _templateObject$o, _templateObject2$i, _templateObject3$7;
|
|
7122
7128
|
var propTypes$v = {
|
|
@@ -7135,7 +7141,7 @@ var NavbarText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7135
7141
|
var children = props.children,
|
|
7136
7142
|
style = props.style,
|
|
7137
7143
|
textStyle = props.textStyle,
|
|
7138
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7144
|
+
elementProps = _objectWithoutProperties(props, _excluded$t);
|
|
7139
7145
|
|
|
7140
7146
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
7141
7147
|
variant = _useForcedContext.variant;
|
|
@@ -7153,7 +7159,7 @@ var NavbarText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7153
7159
|
NavbarText.displayName = 'NavbarText';
|
|
7154
7160
|
NavbarText.propTypes = propTypes$v;
|
|
7155
7161
|
|
|
7156
|
-
var _excluded$
|
|
7162
|
+
var _excluded$s = ["children", "style", "textStyle"];
|
|
7157
7163
|
|
|
7158
7164
|
var _templateObject$n, _templateObject2$h, _templateObject3$6, _templateObject4$5;
|
|
7159
7165
|
var propTypes$u = {
|
|
@@ -7173,7 +7179,7 @@ var NavbarBrand = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7173
7179
|
var children = props.children,
|
|
7174
7180
|
style = props.style,
|
|
7175
7181
|
textStyle = props.textStyle,
|
|
7176
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7182
|
+
elementProps = _objectWithoutProperties(props, _excluded$s);
|
|
7177
7183
|
|
|
7178
7184
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
7179
7185
|
variant = _useForcedContext.variant;
|
|
@@ -7189,7 +7195,7 @@ var NavbarBrand = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7189
7195
|
NavbarBrand.displayName = 'NavbarBrand';
|
|
7190
7196
|
NavbarBrand.propTypes = propTypes$u;
|
|
7191
7197
|
|
|
7192
|
-
var _excluded$
|
|
7198
|
+
var _excluded$r = ["children", "style"];
|
|
7193
7199
|
|
|
7194
7200
|
var _templateObject$m, _templateObject2$g;
|
|
7195
7201
|
var propTypes$t = {
|
|
@@ -7205,7 +7211,7 @@ var styles$m = StyleSheet.create(_objectSpread2({
|
|
|
7205
7211
|
var NavbarCollapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7206
7212
|
var children = props.children,
|
|
7207
7213
|
style = props.style,
|
|
7208
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7214
|
+
elementProps = _objectWithoutProperties(props, _excluded$r);
|
|
7209
7215
|
|
|
7210
7216
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
7211
7217
|
expand = _useForcedContext.expand,
|
|
@@ -7227,12 +7233,12 @@ var NavbarCollapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7227
7233
|
NavbarCollapse.displayName = 'NavbarCollapse';
|
|
7228
7234
|
NavbarCollapse.propTypes = propTypes$t;
|
|
7229
7235
|
|
|
7230
|
-
var _excluded$
|
|
7236
|
+
var _excluded$q = ["onPress"];
|
|
7231
7237
|
function useToggleNavbar(props) {
|
|
7232
7238
|
var context = useForcedContext(NavbarContext);
|
|
7233
7239
|
|
|
7234
7240
|
var handlePress = props.onPress,
|
|
7235
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7241
|
+
restProps = _objectWithoutProperties(props, _excluded$q);
|
|
7236
7242
|
|
|
7237
7243
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
7238
7244
|
nativeID: context.identifier,
|
|
@@ -7248,7 +7254,7 @@ function useToggleNavbar(props) {
|
|
|
7248
7254
|
});
|
|
7249
7255
|
}
|
|
7250
7256
|
|
|
7251
|
-
var _excluded$
|
|
7257
|
+
var _excluded$p = ["style", "textStyle", "iconStyle"];
|
|
7252
7258
|
|
|
7253
7259
|
var _templateObject$l, _templateObject2$f, _templateObject3$5, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1;
|
|
7254
7260
|
var propTypes$s = {
|
|
@@ -7281,7 +7287,7 @@ var NavbarToggler = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7281
7287
|
var style = props.style,
|
|
7282
7288
|
textStyle = props.textStyle,
|
|
7283
7289
|
iconStyle = props.iconStyle,
|
|
7284
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7290
|
+
elementProps = _objectWithoutProperties(props, _excluded$p);
|
|
7285
7291
|
|
|
7286
7292
|
var media = useMedia();
|
|
7287
7293
|
|
|
@@ -7327,12 +7333,12 @@ function useNavbar(variant, defaultExpanded, controlledExpanded, onToggle, expan
|
|
|
7327
7333
|
}, [variant, expanded, expand]);
|
|
7328
7334
|
}
|
|
7329
7335
|
|
|
7330
|
-
var _excluded$
|
|
7336
|
+
var _excluded$o = ["onPress"];
|
|
7331
7337
|
function useDismissNavbar(props) {
|
|
7332
7338
|
var context = useForcedContext(NavbarContext);
|
|
7333
7339
|
|
|
7334
7340
|
var handlePress = props.onPress,
|
|
7335
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7341
|
+
restProps = _objectWithoutProperties(props, _excluded$o);
|
|
7336
7342
|
|
|
7337
7343
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
7338
7344
|
onPress: function onPress(event) {
|
|
@@ -7343,7 +7349,7 @@ function useDismissNavbar(props) {
|
|
|
7343
7349
|
});
|
|
7344
7350
|
}
|
|
7345
7351
|
|
|
7346
|
-
var _excluded$
|
|
7352
|
+
var _excluded$n = ["children", "variant", "defaultExpanded", "expanded", "onToggle", "expand", "style"];
|
|
7347
7353
|
|
|
7348
7354
|
var _templateObject$k, _templateObject2$e;
|
|
7349
7355
|
var propTypes$r = {
|
|
@@ -7371,7 +7377,7 @@ var Navbar = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7371
7377
|
onToggle = props.onToggle,
|
|
7372
7378
|
expand = props.expand,
|
|
7373
7379
|
style = props.style,
|
|
7374
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7380
|
+
elementProps = _objectWithoutProperties(props, _excluded$n);
|
|
7375
7381
|
|
|
7376
7382
|
var navbar = useNavbar(variant, defaultExpanded, expanded, onToggle, expand);
|
|
7377
7383
|
var classes = getStyles(styles$k, ['.navbar', expand && ".navbar-expand".concat(expand === true ? '' : "-".concat(expand))]);
|
|
@@ -7397,7 +7403,7 @@ function useOffcanvas() {
|
|
|
7397
7403
|
}, []);
|
|
7398
7404
|
}
|
|
7399
7405
|
|
|
7400
|
-
var _excluded$
|
|
7406
|
+
var _excluded$m = ["children", "style"];
|
|
7401
7407
|
|
|
7402
7408
|
var _templateObject$j, _templateObject2$d;
|
|
7403
7409
|
var propTypes$q = {
|
|
@@ -7413,7 +7419,7 @@ var styles$j = StyleSheet.create(_objectSpread2({
|
|
|
7413
7419
|
var OffcanvasHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7414
7420
|
var children = props.children,
|
|
7415
7421
|
style = props.style,
|
|
7416
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7422
|
+
elementProps = _objectWithoutProperties(props, _excluded$m);
|
|
7417
7423
|
|
|
7418
7424
|
var navbar = useContext(NavbarContext);
|
|
7419
7425
|
var classes = getStyles(styles$j, ['.offcanvas-header', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .offcanvas-header")]);
|
|
@@ -7425,7 +7431,7 @@ var OffcanvasHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7425
7431
|
OffcanvasHeader.displayName = 'OffcanvasHeader';
|
|
7426
7432
|
OffcanvasHeader.propTypes = propTypes$q;
|
|
7427
7433
|
|
|
7428
|
-
var _excluded$
|
|
7434
|
+
var _excluded$l = ["children", "style"];
|
|
7429
7435
|
|
|
7430
7436
|
var _templateObject$i;
|
|
7431
7437
|
var propTypes$p = {
|
|
@@ -7439,7 +7445,7 @@ var styles$i = StyleSheet.create({
|
|
|
7439
7445
|
var OffcanvasTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7440
7446
|
var children = props.children,
|
|
7441
7447
|
style = props.style,
|
|
7442
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7448
|
+
elementProps = _objectWithoutProperties(props, _excluded$l);
|
|
7443
7449
|
|
|
7444
7450
|
var classes = getStyles(styles$i, ['.offcanvas-title']);
|
|
7445
7451
|
return /*#__PURE__*/React.createElement(Heading$2, _extends({
|
|
@@ -7452,7 +7458,7 @@ var OffcanvasTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7452
7458
|
OffcanvasTitle.displayName = 'OffcanvasTitle';
|
|
7453
7459
|
OffcanvasTitle.propTypes = propTypes$p;
|
|
7454
7460
|
|
|
7455
|
-
var _excluded$
|
|
7461
|
+
var _excluded$k = ["children", "style", "contentContainerStyle"];
|
|
7456
7462
|
|
|
7457
7463
|
var _templateObject$h, _templateObject2$c;
|
|
7458
7464
|
var propTypes$o = {
|
|
@@ -7471,7 +7477,7 @@ var OffcanvasBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7471
7477
|
var children = props.children,
|
|
7472
7478
|
style = props.style,
|
|
7473
7479
|
contentContainerStyle = props.contentContainerStyle,
|
|
7474
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7480
|
+
elementProps = _objectWithoutProperties(props, _excluded$k);
|
|
7475
7481
|
|
|
7476
7482
|
var navbar = useContext(NavbarContext);
|
|
7477
7483
|
var contentContainerClasses = getStyles(styles$h, ['.offcanvas-body', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .offcanvas-body")]);
|
|
@@ -7484,7 +7490,7 @@ var OffcanvasBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7484
7490
|
OffcanvasBody.displayName = 'OffcanvasBody';
|
|
7485
7491
|
OffcanvasBody.propTypes = propTypes$o;
|
|
7486
7492
|
|
|
7487
|
-
var _excluded$
|
|
7493
|
+
var _excluded$j = ["children", "visible", "placement", "backdrop", "scroll", "onToggle", "style", "textStyle"];
|
|
7488
7494
|
|
|
7489
7495
|
var _templateObject$g, _templateObject2$b, _templateObject3$4, _templateObject4$3, _templateObject5$3, _templateObject6$2, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
7490
7496
|
var PLACEMENTS = ['top', 'bottom', 'start', 'end']; // , 'auto'
|
|
@@ -7533,7 +7539,7 @@ var Offcanvas = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7533
7539
|
handleToggle = props.onToggle,
|
|
7534
7540
|
style = props.style,
|
|
7535
7541
|
textStyle = props.textStyle,
|
|
7536
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7542
|
+
elementProps = _objectWithoutProperties(props, _excluded$j);
|
|
7537
7543
|
|
|
7538
7544
|
var media = useMedia();
|
|
7539
7545
|
var navbar = useContext(NavbarContext);
|
|
@@ -7590,6 +7596,7 @@ Offcanvas.Body = OffcanvasBody;
|
|
|
7590
7596
|
var PickerWebContext = /*#__PURE__*/React.createContext();
|
|
7591
7597
|
PickerWebContext.displayName = 'PickerWebContext';
|
|
7592
7598
|
|
|
7599
|
+
var _excluded$i = ["children", "selectedValue", "onValueChange", "onFocus", "onBlur", "placeholder", "placeholderTextColor", "disabled", "style"];
|
|
7593
7600
|
var propTypes$m = {
|
|
7594
7601
|
children: PropTypes.node.isRequired,
|
|
7595
7602
|
selectedValue: PropTypes.oneOfType([PropTypes.bool, PropTypes.number, PropTypes.string, PropTypes.object]),
|
|
@@ -7600,9 +7607,7 @@ var propTypes$m = {
|
|
|
7600
7607
|
placeholderTextColor: PropTypes.string,
|
|
7601
7608
|
disabled: PropTypes.bool,
|
|
7602
7609
|
// eslint-disable-next-line react/forbid-prop-types
|
|
7603
|
-
style: PropTypes.any
|
|
7604
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
7605
|
-
nativeID: PropTypes.any
|
|
7610
|
+
style: PropTypes.any
|
|
7606
7611
|
};
|
|
7607
7612
|
var PLACEHOLDER = '__PLACEHOLDER__';
|
|
7608
7613
|
|
|
@@ -7628,10 +7633,11 @@ var PickerWeb = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7628
7633
|
placeholderTextColor = props.placeholderTextColor,
|
|
7629
7634
|
disabled = props.disabled,
|
|
7630
7635
|
style = props.style,
|
|
7631
|
-
|
|
7636
|
+
elementProps = _objectWithoutProperties(props, _excluded$i);
|
|
7637
|
+
|
|
7632
7638
|
var background = useBackground(style);
|
|
7633
7639
|
var showPlaceholder = placeholder && (selectedValue === undefined || selectedValue === null);
|
|
7634
|
-
return /*#__PURE__*/React.createElement(Picker$1, {
|
|
7640
|
+
return /*#__PURE__*/React.createElement(Picker$1, _extends({}, elementProps, {
|
|
7635
7641
|
ref: ref,
|
|
7636
7642
|
selectedValue: showPlaceholder ? PLACEHOLDER : selectedValue,
|
|
7637
7643
|
onValueChange: onValueChange,
|
|
@@ -7640,9 +7646,8 @@ var PickerWeb = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7640
7646
|
disabled: disabled,
|
|
7641
7647
|
style: [background.style, showPlaceholder && {
|
|
7642
7648
|
color: placeholderTextColor
|
|
7643
|
-
}]
|
|
7644
|
-
|
|
7645
|
-
}, placeholder && /*#__PURE__*/React.createElement("option", {
|
|
7649
|
+
}]
|
|
7650
|
+
}), placeholder && /*#__PURE__*/React.createElement("option", {
|
|
7646
7651
|
value: PLACEHOLDER,
|
|
7647
7652
|
disabled: true,
|
|
7648
7653
|
hidden: true
|
|
@@ -7657,9 +7662,11 @@ PickerWeb.propTypes = propTypes$m;
|
|
|
7657
7662
|
var PickerNativeContext = /*#__PURE__*/React.createContext();
|
|
7658
7663
|
PickerNativeContext.displayName = 'PickerNativeContext';
|
|
7659
7664
|
|
|
7665
|
+
var _excluded$h = ["children", "selectedValue", "onValueChange", "onFocus", "onBlur", "placeholder", "placeholderTextColor", "disabled", "renderText", "renderMenu", "style"];
|
|
7666
|
+
|
|
7660
7667
|
var _templateObject$f;
|
|
7661
7668
|
var propTypes$l = {
|
|
7662
|
-
children: PropTypes.node
|
|
7669
|
+
children: PropTypes.node,
|
|
7663
7670
|
selectedValue: PropTypes.oneOfType([PropTypes.bool, PropTypes.number, PropTypes.string, PropTypes.object]),
|
|
7664
7671
|
onValueChange: PropTypes.func,
|
|
7665
7672
|
onFocus: PropTypes.func,
|
|
@@ -7667,10 +7674,10 @@ var propTypes$l = {
|
|
|
7667
7674
|
placeholder: PropTypes.string,
|
|
7668
7675
|
placeholderTextColor: PropTypes.string,
|
|
7669
7676
|
disabled: PropTypes.bool,
|
|
7677
|
+
renderText: PropTypes.func,
|
|
7678
|
+
renderMenu: PropTypes.func,
|
|
7670
7679
|
// eslint-disable-next-line react/forbid-prop-types
|
|
7671
|
-
style: PropTypes.any
|
|
7672
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
7673
|
-
nativeID: PropTypes.any
|
|
7680
|
+
style: PropTypes.any
|
|
7674
7681
|
};
|
|
7675
7682
|
var styles$f = StyleSheet.create({
|
|
7676
7683
|
menu: css(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n align-items: center;\n "])))
|
|
@@ -7692,11 +7699,45 @@ var extractTextStyles = function extractTextStyles(style) {
|
|
|
7692
7699
|
return textStyles;
|
|
7693
7700
|
};
|
|
7694
7701
|
|
|
7702
|
+
var renderTextDefault = function renderTextDefault(_ref3) {
|
|
7703
|
+
var children = _ref3.children,
|
|
7704
|
+
selectedValue = _ref3.selectedValue;
|
|
7705
|
+
var items = React.Children.map(children, function (child) {
|
|
7706
|
+
return {
|
|
7707
|
+
label: child.props.label,
|
|
7708
|
+
value: child.props.value
|
|
7709
|
+
};
|
|
7710
|
+
});
|
|
7711
|
+
var selectedItem = items.find(function (item) {
|
|
7712
|
+
return item.value === selectedValue;
|
|
7713
|
+
});
|
|
7714
|
+
return selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.label;
|
|
7715
|
+
};
|
|
7716
|
+
|
|
7717
|
+
var renderMenuDefault = function renderMenuDefault(_ref4) {
|
|
7718
|
+
var children = _ref4.children,
|
|
7719
|
+
selectedValue = _ref4.selectedValue,
|
|
7720
|
+
handleValueChange = _ref4.handleValueChange,
|
|
7721
|
+
handleClose = _ref4.handleClose;
|
|
7722
|
+
return /*#__PURE__*/React.createElement(Offcanvas, {
|
|
7723
|
+
placement: "bottom",
|
|
7724
|
+
visible: true,
|
|
7725
|
+
onToggle: handleClose
|
|
7726
|
+
}, /*#__PURE__*/React.createElement(Offcanvas.Body, {
|
|
7727
|
+
contentContainerStyle: styles$f.menu
|
|
7728
|
+
}, /*#__PURE__*/React.createElement(PickerNativeContext.Provider, {
|
|
7729
|
+
value: {
|
|
7730
|
+
selectedValue: selectedValue,
|
|
7731
|
+
handleValueChange: handleValueChange
|
|
7732
|
+
}
|
|
7733
|
+
}, children)));
|
|
7734
|
+
};
|
|
7735
|
+
|
|
7695
7736
|
var PickerNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7696
7737
|
var children = props.children,
|
|
7697
7738
|
selectedValue = props.selectedValue,
|
|
7698
7739
|
_props$onValueChange = props.onValueChange,
|
|
7699
|
-
|
|
7740
|
+
onValueChange = _props$onValueChange === void 0 ? function () {} : _props$onValueChange,
|
|
7700
7741
|
_props$onFocus = props.onFocus,
|
|
7701
7742
|
onFocus = _props$onFocus === void 0 ? function () {} : _props$onFocus,
|
|
7702
7743
|
_props$onBlur = props.onBlur,
|
|
@@ -7706,28 +7747,33 @@ var PickerNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7706
7747
|
placeholderTextColor = _props$placeholderTex === void 0 ? StyleSheet.value('input-placeholder-color') : _props$placeholderTex,
|
|
7707
7748
|
_props$disabled = props.disabled,
|
|
7708
7749
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
7750
|
+
_props$renderText = props.renderText,
|
|
7751
|
+
renderText = _props$renderText === void 0 ? renderTextDefault : _props$renderText,
|
|
7752
|
+
_props$renderMenu = props.renderMenu,
|
|
7753
|
+
renderMenu = _props$renderMenu === void 0 ? renderMenuDefault : _props$renderMenu,
|
|
7709
7754
|
style = props.style,
|
|
7710
|
-
|
|
7755
|
+
elementProps = _objectWithoutProperties(props, _excluded$h);
|
|
7711
7756
|
|
|
7712
7757
|
var background = useBackground(style);
|
|
7713
7758
|
|
|
7714
7759
|
var _useState = useState(false),
|
|
7715
7760
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7716
|
-
|
|
7717
|
-
|
|
7761
|
+
visible = _useState2[0],
|
|
7762
|
+
setVisible = _useState2[1];
|
|
7718
7763
|
|
|
7719
|
-
var items = React.Children.map(children, function (child) {
|
|
7720
|
-
return {
|
|
7721
|
-
label: child.props.label,
|
|
7722
|
-
value: child.props.value
|
|
7723
|
-
};
|
|
7724
|
-
});
|
|
7725
|
-
var selectedItem = items.find(function (item) {
|
|
7726
|
-
return item.value === selectedValue;
|
|
7727
|
-
});
|
|
7728
7764
|
var textStyle = extractTextStyles(background.style);
|
|
7729
7765
|
var showPlaceholder = placeholder && (selectedValue === undefined || selectedValue === null);
|
|
7730
|
-
|
|
7766
|
+
|
|
7767
|
+
var handleValueChange = function handleValueChange(nextValue) {
|
|
7768
|
+
onValueChange(nextValue);
|
|
7769
|
+
setVisible(false);
|
|
7770
|
+
};
|
|
7771
|
+
|
|
7772
|
+
var handleClose = function handleClose() {
|
|
7773
|
+
setVisible(false);
|
|
7774
|
+
};
|
|
7775
|
+
|
|
7776
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pressable, _extends({}, elementProps, {
|
|
7731
7777
|
ref: ref,
|
|
7732
7778
|
accessibilityRole: "combobox",
|
|
7733
7779
|
accessibilityDisabled: disabled,
|
|
@@ -7735,36 +7781,26 @@ var PickerNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7735
7781
|
focusable: !disabled,
|
|
7736
7782
|
selectable: false,
|
|
7737
7783
|
onPress: function onPress() {
|
|
7738
|
-
|
|
7784
|
+
setVisible(true);
|
|
7739
7785
|
},
|
|
7740
7786
|
onFocus: onFocus,
|
|
7741
7787
|
onBlur: onBlur,
|
|
7742
7788
|
disabled: disabled,
|
|
7743
|
-
style: background.style
|
|
7744
|
-
|
|
7745
|
-
}, background.element, /*#__PURE__*/React.createElement(Text, {
|
|
7789
|
+
style: background.style
|
|
7790
|
+
}), background.element, /*#__PURE__*/React.createElement(Text, {
|
|
7746
7791
|
numberOfLines: 1,
|
|
7747
7792
|
style: [textStyle, showPlaceholder && {
|
|
7748
7793
|
color: placeholderTextColor
|
|
7749
7794
|
}]
|
|
7750
|
-
},
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
}
|
|
7759
|
-
value: {
|
|
7760
|
-
selectedValue: selectedValue,
|
|
7761
|
-
onValueChange: function onValueChange(nextValue) {
|
|
7762
|
-
_onValueChange(nextValue);
|
|
7763
|
-
|
|
7764
|
-
setOpen(false);
|
|
7765
|
-
}
|
|
7766
|
-
}
|
|
7767
|
-
}, children))));
|
|
7795
|
+
}, showPlaceholder ? placeholder : renderText({
|
|
7796
|
+
children: children,
|
|
7797
|
+
selectedValue: selectedValue
|
|
7798
|
+
}))), visible && renderMenu({
|
|
7799
|
+
children: children,
|
|
7800
|
+
selectedValue: selectedValue,
|
|
7801
|
+
handleValueChange: handleValueChange,
|
|
7802
|
+
handleClose: handleClose
|
|
7803
|
+
}));
|
|
7768
7804
|
});
|
|
7769
7805
|
PickerNative.propTypes = propTypes$l;
|
|
7770
7806
|
|
|
@@ -7814,7 +7850,7 @@ var PickerNativeItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7814
7850
|
|
|
7815
7851
|
var _useForcedContext = useForcedContext(PickerNativeContext),
|
|
7816
7852
|
selectedValue = _useForcedContext.selectedValue,
|
|
7817
|
-
|
|
7853
|
+
handleValueChange = _useForcedContext.handleValueChange;
|
|
7818
7854
|
|
|
7819
7855
|
var media = useMedia();
|
|
7820
7856
|
var classes = getStyles(styles$e, ['item', disabled && 'itemDisabled']);
|
|
@@ -7823,7 +7859,7 @@ var PickerNativeItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7823
7859
|
return /*#__PURE__*/React.createElement(Pressable, {
|
|
7824
7860
|
ref: ref,
|
|
7825
7861
|
onPress: function onPress() {
|
|
7826
|
-
|
|
7862
|
+
handleValueChange(value);
|
|
7827
7863
|
},
|
|
7828
7864
|
accessibilitySelected: selected,
|
|
7829
7865
|
disabled: disabled,
|
|
@@ -7868,7 +7904,7 @@ var _templateObject$d, _templateObject2$9, _templateObject3$3, _templateObject4$
|
|
|
7868
7904
|
/* eslint-disable react/no-unused-prop-types */
|
|
7869
7905
|
|
|
7870
7906
|
var propTypes$h = {
|
|
7871
|
-
children: PropTypes.node
|
|
7907
|
+
children: PropTypes.node,
|
|
7872
7908
|
onFocus: PropTypes.func,
|
|
7873
7909
|
onBlur: PropTypes.func,
|
|
7874
7910
|
placeholderTextColor: PropTypes.string,
|