bootstrap-rn 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap-rn.cjs.js +178 -176
- package/dist/bootstrap-rn.esm.js +178 -176
- package/dist/bootstrap-rn.umd.js +178 -176
- 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 = {
|
|
@@ -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
|
|
|
@@ -4317,12 +4317,12 @@ var CollapseProvider = function CollapseProvider(props) {
|
|
|
4317
4317
|
CollapseProvider.displayName = 'CollapseProvider';
|
|
4318
4318
|
CollapseProvider.propTypes = propTypes$1h;
|
|
4319
4319
|
|
|
4320
|
-
var _excluded$
|
|
4320
|
+
var _excluded$1d = ["onPress"];
|
|
4321
4321
|
function useToggleCollapse(props) {
|
|
4322
4322
|
var context = useForcedContext(CollapseContext);
|
|
4323
4323
|
|
|
4324
4324
|
var handlePress = props.onPress,
|
|
4325
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
4325
|
+
restProps = _objectWithoutProperties(props, _excluded$1d);
|
|
4326
4326
|
|
|
4327
4327
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
4328
4328
|
onPress: function onPress(event) {
|
|
@@ -4336,13 +4336,13 @@ function useToggleCollapse(props) {
|
|
|
4336
4336
|
});
|
|
4337
4337
|
}
|
|
4338
4338
|
|
|
4339
|
-
var _excluded$
|
|
4339
|
+
var _excluded$1c = ["children"];
|
|
4340
4340
|
var propTypes$1g = {
|
|
4341
4341
|
children: PropTypes.node
|
|
4342
4342
|
};
|
|
4343
4343
|
var Collapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
4344
4344
|
var children = props.children,
|
|
4345
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4345
|
+
elementProps = _objectWithoutProperties(props, _excluded$1c);
|
|
4346
4346
|
|
|
4347
4347
|
var _useForcedContext = useForcedContext(CollapseContext),
|
|
4348
4348
|
identifier = _useForcedContext.identifier,
|
|
@@ -4383,7 +4383,7 @@ function infix(breakpoint) {
|
|
|
4383
4383
|
var NavbarContext = /*#__PURE__*/React.createContext();
|
|
4384
4384
|
NavbarContext.displayName = 'NavbarContext';
|
|
4385
4385
|
|
|
4386
|
-
var _excluded$
|
|
4386
|
+
var _excluded$1b = ["fluid", "style"];
|
|
4387
4387
|
|
|
4388
4388
|
var _templateObject$Z, _templateObject2$I, _templateObject3$n, _templateObject4$k, _templateObject5$h, _templateObject6$f, _templateObject7$a, _templateObject8$a;
|
|
4389
4389
|
var propTypes$1f = {
|
|
@@ -4438,7 +4438,7 @@ var Container = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4438
4438
|
var _props$fluid = props.fluid,
|
|
4439
4439
|
fluid = _props$fluid === void 0 ? 'sm' : _props$fluid,
|
|
4440
4440
|
style = props.style,
|
|
4441
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4441
|
+
elementProps = _objectWithoutProperties(props, _excluded$1b);
|
|
4442
4442
|
|
|
4443
4443
|
var navbar = useContext(NavbarContext);
|
|
4444
4444
|
var classes = getStyles(styles$Z, ['.container', // Hint: Bootstrap's .container class is identical with .container-sm.
|
|
@@ -4455,7 +4455,7 @@ Container.propTypes = propTypes$1f;
|
|
|
4455
4455
|
var FormCheckContext = /*#__PURE__*/React.createContext();
|
|
4456
4456
|
FormCheckContext.displayName = 'FormCheckContext';
|
|
4457
4457
|
|
|
4458
|
-
var _excluded$
|
|
4458
|
+
var _excluded$1a = ["style"];
|
|
4459
4459
|
var propTypes$1e = {
|
|
4460
4460
|
type: PropTypes.oneOf(['checkbox', 'radio', 'switch']).isRequired,
|
|
4461
4461
|
value: PropTypes.bool.isRequired,
|
|
@@ -4476,7 +4476,7 @@ var styles$Y = StyleSheet$1.create({
|
|
|
4476
4476
|
|
|
4477
4477
|
var Input$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4478
4478
|
var style = _ref.style,
|
|
4479
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4479
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
4480
4480
|
|
|
4481
4481
|
return unstable_createElement('input', _objectSpread2(_objectSpread2({}, props), {}, {
|
|
4482
4482
|
ref: ref,
|
|
@@ -4559,7 +4559,7 @@ var FormCheckInputNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4559
4559
|
FormCheckInputNative.displayName = 'FormCheckInputNative';
|
|
4560
4560
|
FormCheckInputNative.propTypes = propTypes$1d;
|
|
4561
4561
|
|
|
4562
|
-
var _excluded$
|
|
4562
|
+
var _excluded$19 = ["type", "value", "onFocus", "onBlur", "disabled", "valid", "invalid", "useNativeComponent", "style"];
|
|
4563
4563
|
|
|
4564
4564
|
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
4565
|
/* eslint-disable react/no-unused-prop-types */
|
|
@@ -4642,7 +4642,7 @@ var FormCheckInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4642
4642
|
_modifierProps$useNat = modifierProps.useNativeComponent,
|
|
4643
4643
|
useNativeComponent = _modifierProps$useNat === void 0 ? false : _modifierProps$useNat,
|
|
4644
4644
|
style = modifierProps.style,
|
|
4645
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
4645
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$19);
|
|
4646
4646
|
|
|
4647
4647
|
var media = useMedia();
|
|
4648
4648
|
|
|
@@ -4695,7 +4695,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4695
4695
|
});
|
|
4696
4696
|
Checkbox.displayName = 'Checkbox';
|
|
4697
4697
|
|
|
4698
|
-
var _excluded$
|
|
4698
|
+
var _excluded$18 = ["children", "size", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "style"];
|
|
4699
4699
|
|
|
4700
4700
|
var _templateObject$X, _templateObject2$G, _templateObject3$l, _templateObject4$i, _templateObject5$f;
|
|
4701
4701
|
var sizes = makeArray(GRID_COLUMNS).map(function (v) {
|
|
@@ -4730,7 +4730,7 @@ var Col = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4730
4730
|
sizeLg = props.sizeLg,
|
|
4731
4731
|
sizeXl = props.sizeXl,
|
|
4732
4732
|
style = props.style,
|
|
4733
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4733
|
+
elementProps = _objectWithoutProperties(props, _excluded$18);
|
|
4734
4734
|
|
|
4735
4735
|
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
4736
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -4741,7 +4741,7 @@ var Col = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
4741
4741
|
Col.displayName = 'Col';
|
|
4742
4742
|
Col.propTypes = propTypes$1b;
|
|
4743
4743
|
|
|
4744
|
-
var _excluded$
|
|
4744
|
+
var _excluded$17 = ["children", "style"];
|
|
4745
4745
|
|
|
4746
4746
|
var _templateObject$W;
|
|
4747
4747
|
var propTypes$1a = {
|
|
@@ -4755,7 +4755,7 @@ var styles$V = StyleSheet.create({
|
|
|
4755
4755
|
var Code = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
4756
4756
|
var children = props.children,
|
|
4757
4757
|
style = props.style,
|
|
4758
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
4758
|
+
elementProps = _objectWithoutProperties(props, _excluded$17);
|
|
4759
4759
|
|
|
4760
4760
|
var classes = getStyles(styles$V, ['code']); // Accessiblity role code is only supported on web.
|
|
4761
4761
|
|
|
@@ -4772,12 +4772,12 @@ Code.propTypes = propTypes$1a;
|
|
|
4772
4772
|
var DropdownContext = /*#__PURE__*/React.createContext();
|
|
4773
4773
|
DropdownContext.displayName = 'DropdownContext';
|
|
4774
4774
|
|
|
4775
|
-
var _excluded$
|
|
4775
|
+
var _excluded$16 = ["onPress"];
|
|
4776
4776
|
function useToggleDropdown(props) {
|
|
4777
4777
|
var context = useForcedContext(DropdownContext);
|
|
4778
4778
|
|
|
4779
4779
|
var handlePress = props.onPress,
|
|
4780
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
4780
|
+
restProps = _objectWithoutProperties(props, _excluded$16);
|
|
4781
4781
|
|
|
4782
4782
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
4783
4783
|
nativeID: context.identifier,
|
|
@@ -4970,7 +4970,7 @@ var BackdropHandler = function BackdropHandler(props) {
|
|
|
4970
4970
|
BackdropHandler.displayName = 'BackdropHandler';
|
|
4971
4971
|
BackdropHandler.propTypes = propTypes$17;
|
|
4972
4972
|
|
|
4973
|
-
var _excluded$
|
|
4973
|
+
var _excluded$15 = ["children", "start", "right", "end", "style", "textStyle"];
|
|
4974
4974
|
|
|
4975
4975
|
var _templateObject$U, _templateObject2$F, _templateObject3$k, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$8, _templateObject8$8, _templateObject9$7, _templateObject10$7;
|
|
4976
4976
|
var ALIGNMENT_BREAKPOINTS = [true, 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
@@ -5036,7 +5036,7 @@ var DropdownMenu = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5036
5036
|
end = _props$end === void 0 ? false : _props$end,
|
|
5037
5037
|
style = props.style,
|
|
5038
5038
|
textStyle = props.textStyle,
|
|
5039
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5039
|
+
elementProps = _objectWithoutProperties(props, _excluded$15);
|
|
5040
5040
|
|
|
5041
5041
|
if (right !== undefined) {
|
|
5042
5042
|
// eslint-disable-next-line no-console
|
|
@@ -5112,7 +5112,7 @@ var DropdownMenu = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5112
5112
|
DropdownMenu.displayName = 'DropdownMenu';
|
|
5113
5113
|
DropdownMenu.propTypes = propTypes$16;
|
|
5114
5114
|
|
|
5115
|
-
var _excluded$
|
|
5115
|
+
var _excluded$14 = ["children", "size", "style"];
|
|
5116
5116
|
|
|
5117
5117
|
var _templateObject$T, _templateObject2$E;
|
|
5118
5118
|
var propTypes$15 = {
|
|
@@ -5132,7 +5132,7 @@ var Heading$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5132
5132
|
var children = props.children,
|
|
5133
5133
|
size = props.size,
|
|
5134
5134
|
style = props.style,
|
|
5135
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5135
|
+
elementProps = _objectWithoutProperties(props, _excluded$14);
|
|
5136
5136
|
|
|
5137
5137
|
var classes = getStyles(styles$S, ['heading', ".h".concat(size)]);
|
|
5138
5138
|
return /*#__PURE__*/React.createElement(Text, _extends({}, elementProps, {
|
|
@@ -5145,7 +5145,7 @@ var Heading$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5145
5145
|
Heading$2.displayName = 'Heading';
|
|
5146
5146
|
Heading$2.propTypes = propTypes$15;
|
|
5147
5147
|
|
|
5148
|
-
var _excluded$
|
|
5148
|
+
var _excluded$13 = ["children", "style", "textStyle"];
|
|
5149
5149
|
|
|
5150
5150
|
var _templateObject$S, _templateObject2$D;
|
|
5151
5151
|
var propTypes$14 = {
|
|
@@ -5163,7 +5163,7 @@ var DropdownHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5163
5163
|
var children = props.children,
|
|
5164
5164
|
style = props.style,
|
|
5165
5165
|
textStyle = props.textStyle,
|
|
5166
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5166
|
+
elementProps = _objectWithoutProperties(props, _excluded$13);
|
|
5167
5167
|
|
|
5168
5168
|
var classes = getStyles(styles$R, ['.dropdown-header']);
|
|
5169
5169
|
var textClasses = getStyles(styles$R, ['.dropdown-header --text']); // composite component
|
|
@@ -5179,7 +5179,7 @@ var DropdownHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5179
5179
|
DropdownHeader.displayName = 'DropdownHeader';
|
|
5180
5180
|
DropdownHeader.propTypes = propTypes$14;
|
|
5181
5181
|
|
|
5182
|
-
var _excluded
|
|
5182
|
+
var _excluded$12 = ["children", "onPress", "active", "disabled", "style", "textStyle"];
|
|
5183
5183
|
|
|
5184
5184
|
var _templateObject$R, _templateObject2$C, _templateObject3$j, _templateObject4$g, _templateObject5$d, _templateObject6$c;
|
|
5185
5185
|
var propTypes$13 = {
|
|
@@ -5210,7 +5210,7 @@ var DropdownItem = function DropdownItem(props) {
|
|
|
5210
5210
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
5211
5211
|
style = props.style,
|
|
5212
5212
|
textStyle = props.textStyle,
|
|
5213
|
-
elementProps = _objectWithoutProperties(props, _excluded
|
|
5213
|
+
elementProps = _objectWithoutProperties(props, _excluded$12);
|
|
5214
5214
|
|
|
5215
5215
|
var dropdown = useForcedContext(DropdownContext);
|
|
5216
5216
|
var classes = getStyles(styles$Q, ['.dropdown-item', active && '.dropdown-item.active', disabled && '.dropdown-item.disabled']);
|
|
@@ -5228,7 +5228,7 @@ var DropdownItem = function DropdownItem(props) {
|
|
|
5228
5228
|
DropdownItem.displayName = 'DropdownItem';
|
|
5229
5229
|
DropdownItem.propTypes = propTypes$13;
|
|
5230
5230
|
|
|
5231
|
-
var _excluded$
|
|
5231
|
+
var _excluded$11 = ["children", "style", "textStyle"];
|
|
5232
5232
|
|
|
5233
5233
|
var _templateObject$Q, _templateObject2$B;
|
|
5234
5234
|
var propTypes$12 = {
|
|
@@ -5246,7 +5246,7 @@ var DropdownItemText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5246
5246
|
var children = props.children,
|
|
5247
5247
|
style = props.style,
|
|
5248
5248
|
textStyle = props.textStyle,
|
|
5249
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5249
|
+
elementProps = _objectWithoutProperties(props, _excluded$11);
|
|
5250
5250
|
|
|
5251
5251
|
var classes = getStyles(styles$P, ['.dropdown-item-text']);
|
|
5252
5252
|
var textClasses = getStyles(styles$P, ['.dropdown-item-text --text']); // composite component
|
|
@@ -5261,7 +5261,7 @@ var DropdownItemText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5261
5261
|
DropdownItemText.displayName = 'DropdownItemText';
|
|
5262
5262
|
DropdownItemText.propTypes = propTypes$12;
|
|
5263
5263
|
|
|
5264
|
-
var _excluded$
|
|
5264
|
+
var _excluded$10 = ["style"];
|
|
5265
5265
|
|
|
5266
5266
|
var _templateObject$P;
|
|
5267
5267
|
var propTypes$11 = {
|
|
@@ -5273,7 +5273,7 @@ var styles$O = StyleSheet.create({
|
|
|
5273
5273
|
});
|
|
5274
5274
|
var DropdownDivider = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5275
5275
|
var style = props.style,
|
|
5276
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5276
|
+
elementProps = _objectWithoutProperties(props, _excluded$10);
|
|
5277
5277
|
|
|
5278
5278
|
var classes = getStyles(styles$O, ['.dropdown-divider']);
|
|
5279
5279
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -5306,12 +5306,12 @@ function useDropdown(defaultVisible, controlledVisible, onToggle, direction, dis
|
|
|
5306
5306
|
}, [visible]);
|
|
5307
5307
|
}
|
|
5308
5308
|
|
|
5309
|
-
var _excluded
|
|
5309
|
+
var _excluded$$ = ["onPress"];
|
|
5310
5310
|
function useDismissDropdown(props) {
|
|
5311
5311
|
var context = useForcedContext(DropdownContext);
|
|
5312
5312
|
|
|
5313
5313
|
var handlePress = props.onPress,
|
|
5314
|
-
restProps = _objectWithoutProperties(props, _excluded
|
|
5314
|
+
restProps = _objectWithoutProperties(props, _excluded$$);
|
|
5315
5315
|
|
|
5316
5316
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
5317
5317
|
onPress: function onPress(event) {
|
|
@@ -5321,7 +5321,7 @@ function useDismissDropdown(props) {
|
|
|
5321
5321
|
});
|
|
5322
5322
|
}
|
|
5323
5323
|
|
|
5324
|
-
var _excluded$
|
|
5324
|
+
var _excluded$_ = ["children", "defaultVisible", "visible", "onToggle", "direction", "display", "autoClose", "style"];
|
|
5325
5325
|
|
|
5326
5326
|
var _templateObject$O;
|
|
5327
5327
|
var DIRECTIONS = ['top', 'bottom', 'start', 'end'];
|
|
@@ -5352,7 +5352,7 @@ var Dropdown = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5352
5352
|
_props$autoClose = props.autoClose,
|
|
5353
5353
|
autoClose = _props$autoClose === void 0 ? 'outside' : _props$autoClose,
|
|
5354
5354
|
style = props.style,
|
|
5355
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5355
|
+
elementProps = _objectWithoutProperties(props, _excluded$_);
|
|
5356
5356
|
|
|
5357
5357
|
var dropdown = useDropdown(defaultVisible, visible, onToggle, direction, display, autoClose);
|
|
5358
5358
|
var classes = getStyles(styles$N, ['.dropdown']);
|
|
@@ -5375,7 +5375,7 @@ Dropdown.Divider = DropdownDivider;
|
|
|
5375
5375
|
Dropdown.useDismiss = useDismissDropdown;
|
|
5376
5376
|
Dropdown.useToggle = useToggleDropdown;
|
|
5377
5377
|
|
|
5378
|
-
var _excluded$
|
|
5378
|
+
var _excluded$Z = ["children", "size", "style"];
|
|
5379
5379
|
|
|
5380
5380
|
var _templateObject$N;
|
|
5381
5381
|
var propTypes$$ = {
|
|
@@ -5393,7 +5393,7 @@ var DisplayHeading = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5393
5393
|
var children = props.children,
|
|
5394
5394
|
size = props.size,
|
|
5395
5395
|
style = props.style,
|
|
5396
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5396
|
+
elementProps = _objectWithoutProperties(props, _excluded$Z);
|
|
5397
5397
|
|
|
5398
5398
|
var classes = getStyles(styles$M, [".display-".concat(size)]);
|
|
5399
5399
|
return /*#__PURE__*/React.createElement(Heading$2, _extends({}, elementProps, {
|
|
@@ -5405,7 +5405,7 @@ var DisplayHeading = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5405
5405
|
DisplayHeading.displayName = 'Heading';
|
|
5406
5406
|
DisplayHeading.propTypes = propTypes$$;
|
|
5407
5407
|
|
|
5408
|
-
var _excluded$
|
|
5408
|
+
var _excluded$Y = ["children", "type", "style"];
|
|
5409
5409
|
|
|
5410
5410
|
var _templateObject$M;
|
|
5411
5411
|
var propTypes$_ = {
|
|
@@ -5423,7 +5423,7 @@ var Feedback = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5423
5423
|
var children = props.children,
|
|
5424
5424
|
type = props.type,
|
|
5425
5425
|
style = props.style,
|
|
5426
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5426
|
+
elementProps = _objectWithoutProperties(props, _excluded$Y);
|
|
5427
5427
|
|
|
5428
5428
|
var classes = getStyles(styles$L, [".".concat(type, "-feedback")]);
|
|
5429
5429
|
return /*#__PURE__*/React.createElement(Text, _extends({}, elementProps, {
|
|
@@ -5434,7 +5434,7 @@ var Feedback = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5434
5434
|
Feedback.displayName = 'Feedback';
|
|
5435
5435
|
Feedback.propTypes = propTypes$_;
|
|
5436
5436
|
|
|
5437
|
-
var _excluded$
|
|
5437
|
+
var _excluded$X = ["children", "htmlFor"];
|
|
5438
5438
|
var propTypes$Z = {
|
|
5439
5439
|
children: PropTypes.node.isRequired,
|
|
5440
5440
|
htmlFor: PropTypes.string
|
|
@@ -5442,7 +5442,7 @@ var propTypes$Z = {
|
|
|
5442
5442
|
var Heading$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5443
5443
|
var children = props.children,
|
|
5444
5444
|
htmlFor = props.htmlFor,
|
|
5445
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5445
|
+
elementProps = _objectWithoutProperties(props, _excluded$X); // Ref: https://github.com/necolas/react-native-web/issues/1651
|
|
5446
5446
|
|
|
5447
5447
|
|
|
5448
5448
|
var forRef = React.useCallback(function (node) {
|
|
@@ -5461,7 +5461,7 @@ var Heading$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5461
5461
|
Heading$1.displayName = 'Heading';
|
|
5462
5462
|
Heading$1.propTypes = propTypes$Z;
|
|
5463
5463
|
|
|
5464
|
-
var _excluded$
|
|
5464
|
+
var _excluded$W = ["children", "style", "textStyle"];
|
|
5465
5465
|
|
|
5466
5466
|
var _templateObject$L, _templateObject2$A, _templateObject3$i, _templateObject4$f;
|
|
5467
5467
|
var propTypes$Y = {
|
|
@@ -5484,7 +5484,7 @@ var FormCheckLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5484
5484
|
var children = props.children,
|
|
5485
5485
|
style = props.style,
|
|
5486
5486
|
textStyle = props.textStyle,
|
|
5487
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5487
|
+
elementProps = _objectWithoutProperties(props, _excluded$W);
|
|
5488
5488
|
|
|
5489
5489
|
var _useForcedContext = useForcedContext(FormCheckContext),
|
|
5490
5490
|
disabled = _useForcedContext.disabled,
|
|
@@ -5504,6 +5504,8 @@ var FormCheckLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5504
5504
|
FormCheckLabel.displayName = 'FormCheckLabel';
|
|
5505
5505
|
FormCheckLabel.propTypes = propTypes$Y;
|
|
5506
5506
|
|
|
5507
|
+
var _excluded$V = ["children", "reverse", "disabled", "valid", "invalid", "style"];
|
|
5508
|
+
|
|
5507
5509
|
var _templateObject$K, _templateObject2$z, _templateObject3$h;
|
|
5508
5510
|
var propTypes$X = {
|
|
5509
5511
|
children: PropTypes.node.isRequired,
|
|
@@ -5529,12 +5531,14 @@ var FormCheck = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5529
5531
|
valid = _props$valid === void 0 ? false : _props$valid,
|
|
5530
5532
|
_props$invalid = props.invalid,
|
|
5531
5533
|
invalid = _props$invalid === void 0 ? false : _props$invalid,
|
|
5532
|
-
style = props.style
|
|
5534
|
+
style = props.style,
|
|
5535
|
+
elementProps = _objectWithoutProperties(props, _excluded$V);
|
|
5536
|
+
|
|
5533
5537
|
var classes = getStyles(styles$J, ['.form-check', reverse && '.form-check-reverse']);
|
|
5534
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
5538
|
+
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
5535
5539
|
ref: ref,
|
|
5536
5540
|
style: [classes, style]
|
|
5537
|
-
}, /*#__PURE__*/React.createElement(FormCheckContext.Provider, {
|
|
5541
|
+
}), /*#__PURE__*/React.createElement(FormCheckContext.Provider, {
|
|
5538
5542
|
value: {
|
|
5539
5543
|
reverse: reverse,
|
|
5540
5544
|
disabled: disabled,
|
|
@@ -5547,7 +5551,7 @@ FormCheck.displayName = 'FormCheck';
|
|
|
5547
5551
|
FormCheck.propTypes = propTypes$X;
|
|
5548
5552
|
FormCheck.Label = FormCheckLabel;
|
|
5549
5553
|
|
|
5550
|
-
var _excluded$
|
|
5554
|
+
var _excluded$U = ["children", "style", "textStyle"];
|
|
5551
5555
|
|
|
5552
5556
|
var _templateObject$J, _templateObject2$y;
|
|
5553
5557
|
var propTypes$W = {
|
|
@@ -5565,7 +5569,7 @@ var FormLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5565
5569
|
var children = props.children,
|
|
5566
5570
|
style = props.style,
|
|
5567
5571
|
textStyle = props.textStyle,
|
|
5568
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5572
|
+
elementProps = _objectWithoutProperties(props, _excluded$U);
|
|
5569
5573
|
|
|
5570
5574
|
var classes = getStyles(styles$I, ['.form-label']);
|
|
5571
5575
|
var textClasses = getStyles(styles$I, ['.form-label --text']);
|
|
@@ -5578,7 +5582,7 @@ var FormLabel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5578
5582
|
FormLabel.displayName = 'FormLabel';
|
|
5579
5583
|
FormLabel.propTypes = propTypes$W;
|
|
5580
5584
|
|
|
5581
|
-
var _excluded$
|
|
5585
|
+
var _excluded$T = ["children", "style", "textStyle"];
|
|
5582
5586
|
|
|
5583
5587
|
var _templateObject$I, _templateObject2$x;
|
|
5584
5588
|
var propTypes$V = {
|
|
@@ -5596,7 +5600,7 @@ var FormText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5596
5600
|
var children = props.children,
|
|
5597
5601
|
style = props.style,
|
|
5598
5602
|
textStyle = props.textStyle,
|
|
5599
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5603
|
+
elementProps = _objectWithoutProperties(props, _excluded$T);
|
|
5600
5604
|
|
|
5601
5605
|
var classes = getStyles(styles$H, ['.form-text']);
|
|
5602
5606
|
var textClasses = getStyles(styles$H, ['.form-text --text']); // composite component
|
|
@@ -5611,7 +5615,7 @@ var FormText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5611
5615
|
FormText.displayName = 'FormText';
|
|
5612
5616
|
FormText.propTypes = propTypes$V;
|
|
5613
5617
|
|
|
5614
|
-
var _excluded$
|
|
5618
|
+
var _excluded$S = ["onFocus", "onBlur", "style", "styleName"];
|
|
5615
5619
|
var propTypes$U = {
|
|
5616
5620
|
onFocus: PropTypes.func,
|
|
5617
5621
|
onBlur: PropTypes.func,
|
|
@@ -5627,7 +5631,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5627
5631
|
_onBlur = _props$onBlur === void 0 ? function () {} : _props$onBlur,
|
|
5628
5632
|
style = props.style,
|
|
5629
5633
|
styleName = props.styleName,
|
|
5630
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5634
|
+
elementProps = _objectWithoutProperties(props, _excluded$S);
|
|
5631
5635
|
|
|
5632
5636
|
var _useState = useState(false),
|
|
5633
5637
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5659,7 +5663,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5659
5663
|
TextInput.displayName = 'TextInput';
|
|
5660
5664
|
TextInput.propTypes = propTypes$U;
|
|
5661
5665
|
|
|
5662
|
-
var _excluded$
|
|
5666
|
+
var _excluded$R = ["size", "placeholderTextColor", "multiline", "disabled", "valid", "invalid", "editable", "selectTextOnFocus", "style"];
|
|
5663
5667
|
|
|
5664
5668
|
var _templateObject$H, _templateObject2$w, _templateObject3$g, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$7, _templateObject8$7;
|
|
5665
5669
|
var propTypes$T = {
|
|
@@ -5713,7 +5717,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5713
5717
|
_modifierProps$select = modifierProps.selectTextOnFocus,
|
|
5714
5718
|
selectTextOnFocus = _modifierProps$select === void 0 ? true : _modifierProps$select,
|
|
5715
5719
|
style = modifierProps.style,
|
|
5716
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
5720
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$R);
|
|
5717
5721
|
|
|
5718
5722
|
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
5723
|
return /*#__PURE__*/React.createElement(TextInput, _extends({}, elementProps, {
|
|
@@ -5854,7 +5858,7 @@ function useTrigger(rawTrigger, props, elementProps, ref) {
|
|
|
5854
5858
|
var PopoverContext = /*#__PURE__*/React.createContext();
|
|
5855
5859
|
PopoverContext.displayName = 'PopoverContext';
|
|
5856
5860
|
|
|
5857
|
-
var _excluded$
|
|
5861
|
+
var _excluded$Q = ["style"];
|
|
5858
5862
|
|
|
5859
5863
|
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
5864
|
var propTypes$S = {
|
|
@@ -5896,7 +5900,7 @@ var styles$F = StyleSheet.create({
|
|
|
5896
5900
|
});
|
|
5897
5901
|
var PopoverArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
5898
5902
|
var style = props.style,
|
|
5899
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5903
|
+
elementProps = _objectWithoutProperties(props, _excluded$Q);
|
|
5900
5904
|
|
|
5901
5905
|
var _useForcedContext = useForcedContext(PopoverContext),
|
|
5902
5906
|
placement = _useForcedContext.placement,
|
|
@@ -5918,7 +5922,7 @@ var PopoverArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5918
5922
|
PopoverArrow.displayName = 'PopoverArrow';
|
|
5919
5923
|
PopoverArrow.propTypes = propTypes$S;
|
|
5920
5924
|
|
|
5921
|
-
var _excluded$
|
|
5925
|
+
var _excluded$P = ["children", "style", "textStyle"];
|
|
5922
5926
|
|
|
5923
5927
|
var _templateObject$F, _templateObject2$u;
|
|
5924
5928
|
var propTypes$R = {
|
|
@@ -5936,7 +5940,7 @@ var PopoverHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5936
5940
|
var children = props.children,
|
|
5937
5941
|
style = props.style,
|
|
5938
5942
|
textStyle = props.textStyle,
|
|
5939
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5943
|
+
elementProps = _objectWithoutProperties(props, _excluded$P);
|
|
5940
5944
|
|
|
5941
5945
|
var classes = getStyles(styles$E, ['.popover-header']);
|
|
5942
5946
|
var textClasses = getStyles(styles$E, ['.popover-header --text']); // composite component
|
|
@@ -5952,7 +5956,7 @@ var PopoverHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5952
5956
|
PopoverHeader.displayName = 'PopoverHeader';
|
|
5953
5957
|
PopoverHeader.propTypes = propTypes$R;
|
|
5954
5958
|
|
|
5955
|
-
var _excluded$
|
|
5959
|
+
var _excluded$O = ["children", "style", "textStyle"];
|
|
5956
5960
|
|
|
5957
5961
|
var _templateObject$E, _templateObject2$t;
|
|
5958
5962
|
var propTypes$Q = {
|
|
@@ -5970,7 +5974,7 @@ var PopoverBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5970
5974
|
var children = props.children,
|
|
5971
5975
|
style = props.style,
|
|
5972
5976
|
textStyle = props.textStyle,
|
|
5973
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
5977
|
+
elementProps = _objectWithoutProperties(props, _excluded$O);
|
|
5974
5978
|
|
|
5975
5979
|
var classes = getStyles(styles$D, ['.popover-body']);
|
|
5976
5980
|
var textClasses = getStyles(styles$D, ['.popover-body --text']);
|
|
@@ -5983,7 +5987,7 @@ var PopoverBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
5983
5987
|
PopoverBody.displayName = 'PopoverBody';
|
|
5984
5988
|
PopoverBody.propTypes = propTypes$Q;
|
|
5985
5989
|
|
|
5986
|
-
var _excluded$
|
|
5990
|
+
var _excluded$N = ["children", "placement", "popper", "style", "textStyle", "arrowStyle"];
|
|
5987
5991
|
|
|
5988
5992
|
var _templateObject$D, _templateObject2$s;
|
|
5989
5993
|
var propTypes$P = {
|
|
@@ -6009,7 +6013,7 @@ var Popover = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6009
6013
|
style = props.style,
|
|
6010
6014
|
textStyle = props.textStyle,
|
|
6011
6015
|
arrowStyle = props.arrowStyle,
|
|
6012
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6016
|
+
elementProps = _objectWithoutProperties(props, _excluded$N);
|
|
6013
6017
|
|
|
6014
6018
|
var popover = {
|
|
6015
6019
|
placement: transformPlacement$1(placement),
|
|
@@ -6035,7 +6039,7 @@ Popover.Arrow = PopoverArrow;
|
|
|
6035
6039
|
Popover.Header = PopoverHeader;
|
|
6036
6040
|
Popover.Body = PopoverBody;
|
|
6037
6041
|
|
|
6038
|
-
var _excluded$
|
|
6042
|
+
var _excluded$M = ["title", "content", "autoClose", "trigger", "placement"],
|
|
6039
6043
|
_excluded2$1 = ["popover"];
|
|
6040
6044
|
var propTypes$O = {
|
|
6041
6045
|
popover: PropTypes.shape(_objectSpread2({
|
|
@@ -6056,7 +6060,7 @@ function injectPopover(Target) {
|
|
|
6056
6060
|
trigger = _props$popover$trigge === void 0 ? 'press' : _props$popover$trigge,
|
|
6057
6061
|
_props$popover$placem = _props$popover.placement,
|
|
6058
6062
|
placement = _props$popover$placem === void 0 ? 'right' : _props$popover$placem,
|
|
6059
|
-
tooltipProps = _objectWithoutProperties(_props$popover, _excluded$
|
|
6063
|
+
tooltipProps = _objectWithoutProperties(_props$popover, _excluded$M),
|
|
6060
6064
|
elementProps = _objectWithoutProperties(props, _excluded2$1);
|
|
6061
6065
|
/* eslint-enable */
|
|
6062
6066
|
|
|
@@ -6103,7 +6107,7 @@ function injectPopover(Target) {
|
|
|
6103
6107
|
var TooltipContext = /*#__PURE__*/React.createContext();
|
|
6104
6108
|
TooltipContext.displayName = 'TooltipContext';
|
|
6105
6109
|
|
|
6106
|
-
var _excluded$
|
|
6110
|
+
var _excluded$L = ["style"];
|
|
6107
6111
|
|
|
6108
6112
|
var _templateObject$C, _templateObject2$r, _templateObject3$e, _templateObject4$c, _templateObject5$a, _templateObject6$9, _templateObject7$5, _templateObject8$5, _templateObject9$5, _templateObject10$5;
|
|
6109
6113
|
var propTypes$N = {
|
|
@@ -6124,7 +6128,7 @@ var styles$B = StyleSheet.create({
|
|
|
6124
6128
|
});
|
|
6125
6129
|
var TooltipArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6126
6130
|
var style = props.style,
|
|
6127
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6131
|
+
elementProps = _objectWithoutProperties(props, _excluded$L);
|
|
6128
6132
|
|
|
6129
6133
|
var _useForcedContext = useForcedContext(TooltipContext),
|
|
6130
6134
|
placement = _useForcedContext.placement,
|
|
@@ -6143,7 +6147,7 @@ var TooltipArrow = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6143
6147
|
TooltipArrow.displayName = 'TooltipArrow';
|
|
6144
6148
|
TooltipArrow.propTypes = propTypes$N;
|
|
6145
6149
|
|
|
6146
|
-
var _excluded$
|
|
6150
|
+
var _excluded$K = ["children", "style", "textStyle"];
|
|
6147
6151
|
|
|
6148
6152
|
var _templateObject$B, _templateObject2$q;
|
|
6149
6153
|
var propTypes$M = {
|
|
@@ -6161,7 +6165,7 @@ var TooltipInner = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6161
6165
|
var children = props.children,
|
|
6162
6166
|
style = props.style,
|
|
6163
6167
|
textStyle = props.textStyle,
|
|
6164
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6168
|
+
elementProps = _objectWithoutProperties(props, _excluded$K);
|
|
6165
6169
|
|
|
6166
6170
|
var classes = getStyles(styles$A, ['.tooltip-inner']);
|
|
6167
6171
|
var textClasses = getStyles(styles$A, ['.tooltip-inner --text']); // composite component
|
|
@@ -6176,7 +6180,7 @@ var TooltipInner = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6176
6180
|
TooltipInner.displayName = 'TooltipInner';
|
|
6177
6181
|
TooltipInner.propTypes = propTypes$M;
|
|
6178
6182
|
|
|
6179
|
-
var _excluded$
|
|
6183
|
+
var _excluded$J = ["children", "placement", "popper", "style", "textStyle", "arrowStyle"];
|
|
6180
6184
|
|
|
6181
6185
|
var _templateObject$A, _templateObject2$p, _templateObject3$d, _templateObject4$b, _templateObject5$9, _templateObject6$8;
|
|
6182
6186
|
var propTypes$L = {
|
|
@@ -6206,7 +6210,7 @@ var Tooltip = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6206
6210
|
style = props.style,
|
|
6207
6211
|
textStyle = props.textStyle,
|
|
6208
6212
|
arrowStyle = props.arrowStyle,
|
|
6209
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6213
|
+
elementProps = _objectWithoutProperties(props, _excluded$J);
|
|
6210
6214
|
|
|
6211
6215
|
var tooltip = {
|
|
6212
6216
|
placement: transformPlacement$1(placement),
|
|
@@ -6232,7 +6236,7 @@ Tooltip.propTypes = propTypes$L;
|
|
|
6232
6236
|
Tooltip.Arrow = TooltipArrow;
|
|
6233
6237
|
Tooltip.Inner = TooltipInner;
|
|
6234
6238
|
|
|
6235
|
-
var _excluded$
|
|
6239
|
+
var _excluded$I = ["title", "autoClose", "trigger", "placement"],
|
|
6236
6240
|
_excluded2 = ["tooltip"];
|
|
6237
6241
|
var propTypes$K = {
|
|
6238
6242
|
tooltip: PropTypes.shape(_objectSpread2({
|
|
@@ -6251,7 +6255,7 @@ function injectTooltip(Target) {
|
|
|
6251
6255
|
trigger = _props$tooltip$trigge === void 0 ? 'hover focus' : _props$tooltip$trigge,
|
|
6252
6256
|
_props$tooltip$placem = _props$tooltip.placement,
|
|
6253
6257
|
placement = _props$tooltip$placem === void 0 ? 'top' : _props$tooltip$placem,
|
|
6254
|
-
tooltipProps = _objectWithoutProperties(_props$tooltip, _excluded$
|
|
6258
|
+
tooltipProps = _objectWithoutProperties(_props$tooltip, _excluded$I),
|
|
6255
6259
|
elementProps = _objectWithoutProperties(props, _excluded2);
|
|
6256
6260
|
/* eslint-enable */
|
|
6257
6261
|
|
|
@@ -6294,7 +6298,7 @@ function injectTooltip(Target) {
|
|
|
6294
6298
|
return OverlayTooltip;
|
|
6295
6299
|
}
|
|
6296
6300
|
|
|
6297
|
-
var _excluded$
|
|
6301
|
+
var _excluded$H = ["style", "styleName"];
|
|
6298
6302
|
var propTypes$J = {
|
|
6299
6303
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6300
6304
|
style: PropTypes.any,
|
|
@@ -6304,7 +6308,7 @@ var propTypes$J = {
|
|
|
6304
6308
|
var Image = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6305
6309
|
var style = props.style,
|
|
6306
6310
|
styleName = props.styleName,
|
|
6307
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6311
|
+
elementProps = _objectWithoutProperties(props, _excluded$H);
|
|
6308
6312
|
|
|
6309
6313
|
var media = useMedia();
|
|
6310
6314
|
var resolveStyle = useStyle(style, styleName);
|
|
@@ -6318,7 +6322,7 @@ var Image = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6318
6322
|
Image.displayName = 'Image';
|
|
6319
6323
|
Image.propTypes = propTypes$J;
|
|
6320
6324
|
|
|
6321
|
-
var _excluded$
|
|
6325
|
+
var _excluded$G = ["style", "styleName"];
|
|
6322
6326
|
var propTypes$I = {
|
|
6323
6327
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6324
6328
|
style: PropTypes.any,
|
|
@@ -6328,7 +6332,7 @@ var propTypes$I = {
|
|
|
6328
6332
|
var ImageBackground = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6329
6333
|
var style = props.style,
|
|
6330
6334
|
styleName = props.styleName,
|
|
6331
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6335
|
+
elementProps = _objectWithoutProperties(props, _excluded$G);
|
|
6332
6336
|
|
|
6333
6337
|
var media = useMedia();
|
|
6334
6338
|
var resolveStyle = useStyle(style, styleName);
|
|
@@ -6345,7 +6349,7 @@ ImageBackground.propTypes = propTypes$I;
|
|
|
6345
6349
|
var ListGroupContext = /*#__PURE__*/React.createContext();
|
|
6346
6350
|
ListGroupContext.displayName = 'ListGroupContext';
|
|
6347
6351
|
|
|
6348
|
-
var _excluded$
|
|
6352
|
+
var _excluded$F = ["children", "color", "active", "disabled", "style", "textStyle"];
|
|
6349
6353
|
|
|
6350
6354
|
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
6355
|
var propTypes$H = {
|
|
@@ -6359,7 +6363,7 @@ var propTypes$H = {
|
|
|
6359
6363
|
textStyle: PropTypes.any
|
|
6360
6364
|
};
|
|
6361
6365
|
var styles$y = StyleSheet.create(_objectSpread2({
|
|
6362
|
-
'.list-group-item': css(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n position: relative;\n // display: block;\n
|
|
6366
|
+
'.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
6367
|
'.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
6368
|
'.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
6369
|
'.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 +6393,7 @@ var ListGroupItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6389
6393
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
6390
6394
|
style = props.style,
|
|
6391
6395
|
textStyle = props.textStyle,
|
|
6392
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6396
|
+
elementProps = _objectWithoutProperties(props, _excluded$F);
|
|
6393
6397
|
|
|
6394
6398
|
var _useForcedContext = useForcedContext(ListContext),
|
|
6395
6399
|
first = _useForcedContext.first,
|
|
@@ -6411,7 +6415,7 @@ var ListGroupItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6411
6415
|
ListGroupItem.displayName = 'ListGroupItem';
|
|
6412
6416
|
ListGroupItem.propTypes = propTypes$H;
|
|
6413
6417
|
|
|
6414
|
-
var _excluded$
|
|
6418
|
+
var _excluded$E = ["children", "color", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
6415
6419
|
|
|
6416
6420
|
var _templateObject$y, _templateObject2$n, _templateObject3$b, _templateObject4$9, _templateObject5$7, _templateObject6$6;
|
|
6417
6421
|
var propTypes$G = {
|
|
@@ -6464,7 +6468,7 @@ var ListGroupItemAction = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6464
6468
|
activeStyle = modifierProps.activeStyle,
|
|
6465
6469
|
textStyle = modifierProps.textStyle,
|
|
6466
6470
|
activeTextStyle = modifierProps.activeTextStyle,
|
|
6467
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
6471
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$E);
|
|
6468
6472
|
|
|
6469
6473
|
var _useForcedContext = useForcedContext(ListContext),
|
|
6470
6474
|
first = _useForcedContext.first,
|
|
@@ -6494,7 +6498,7 @@ var ListGroupItemAction = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6494
6498
|
ListGroupItemAction.displayName = 'ListGroupItemAction';
|
|
6495
6499
|
ListGroupItemAction.propTypes = propTypes$G;
|
|
6496
6500
|
|
|
6497
|
-
var _excluded$
|
|
6501
|
+
var _excluded$D = ["children", "flush", "style"];
|
|
6498
6502
|
|
|
6499
6503
|
var _templateObject$x, _templateObject2$m;
|
|
6500
6504
|
var propTypes$F = {
|
|
@@ -6524,7 +6528,7 @@ var ListGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6524
6528
|
var children = props.children,
|
|
6525
6529
|
flush = props.flush,
|
|
6526
6530
|
style = props.style,
|
|
6527
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6531
|
+
elementProps = _objectWithoutProperties(props, _excluded$D);
|
|
6528
6532
|
|
|
6529
6533
|
var list = useList(children);
|
|
6530
6534
|
var classes = getStyles(styles$x, ['.list-group', flush && '.list-group-flush']); // TODO: Implement TabContext
|
|
@@ -6545,7 +6549,7 @@ ListGroup.propTypes = propTypes$F;
|
|
|
6545
6549
|
ListGroup.Item = ListGroupItem;
|
|
6546
6550
|
ListGroup.ItemAction = ListGroupItemAction;
|
|
6547
6551
|
|
|
6548
|
-
var _excluded$
|
|
6552
|
+
var _excluded$C = ["children", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onPressIn", "onPressOut", "style"];
|
|
6549
6553
|
|
|
6550
6554
|
var _templateObject$w;
|
|
6551
6555
|
var propTypes$E = {
|
|
@@ -6587,7 +6591,7 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6587
6591
|
_actionProps$onPressO = actionProps.onPressOut,
|
|
6588
6592
|
_onPressOut = _actionProps$onPressO === void 0 ? function () {} : _actionProps$onPressO,
|
|
6589
6593
|
style = actionProps.style,
|
|
6590
|
-
elementProps = _objectWithoutProperties(actionProps, _excluded$
|
|
6594
|
+
elementProps = _objectWithoutProperties(actionProps, _excluded$C);
|
|
6591
6595
|
|
|
6592
6596
|
var media = useMedia();
|
|
6593
6597
|
|
|
@@ -6655,7 +6659,7 @@ var Link = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6655
6659
|
Link.displayName = 'Link';
|
|
6656
6660
|
Link.propTypes = propTypes$E;
|
|
6657
6661
|
|
|
6658
|
-
var _excluded$
|
|
6662
|
+
var _excluded$B = ["children", "contentContainerStyle", "style", "textStyle", "styleName"];
|
|
6659
6663
|
var propTypes$D = {
|
|
6660
6664
|
children: PropTypes.node,
|
|
6661
6665
|
// eslint-disable-next-line react/forbid-prop-types
|
|
@@ -6673,7 +6677,7 @@ var ScrollView = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6673
6677
|
style = props.style,
|
|
6674
6678
|
textStyle = props.textStyle,
|
|
6675
6679
|
styleName = props.styleName,
|
|
6676
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6680
|
+
elementProps = _objectWithoutProperties(props, _excluded$B);
|
|
6677
6681
|
|
|
6678
6682
|
var media = useMedia();
|
|
6679
6683
|
var context = useContext(TextStyleContext);
|
|
@@ -6768,7 +6772,7 @@ function useModal(scrollable) {
|
|
|
6768
6772
|
}, [scrollable]);
|
|
6769
6773
|
}
|
|
6770
6774
|
|
|
6771
|
-
var _excluded$
|
|
6775
|
+
var _excluded$A = ["children", "style"];
|
|
6772
6776
|
|
|
6773
6777
|
var _templateObject$v;
|
|
6774
6778
|
var propTypes$C = {
|
|
@@ -6782,7 +6786,7 @@ var styles$v = StyleSheet.create({
|
|
|
6782
6786
|
var ModalHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6783
6787
|
var children = props.children,
|
|
6784
6788
|
style = props.style,
|
|
6785
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6789
|
+
elementProps = _objectWithoutProperties(props, _excluded$A);
|
|
6786
6790
|
|
|
6787
6791
|
var classes = getStyles(styles$v, ['.modal-header']);
|
|
6788
6792
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -6793,7 +6797,7 @@ var ModalHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6793
6797
|
ModalHeader.displayName = 'ModalHeader';
|
|
6794
6798
|
ModalHeader.propTypes = propTypes$C;
|
|
6795
6799
|
|
|
6796
|
-
var _excluded$
|
|
6800
|
+
var _excluded$z = ["children", "style"];
|
|
6797
6801
|
|
|
6798
6802
|
var _templateObject$u;
|
|
6799
6803
|
var propTypes$B = {
|
|
@@ -6807,7 +6811,7 @@ var styles$u = StyleSheet.create({
|
|
|
6807
6811
|
var ModalTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6808
6812
|
var children = props.children,
|
|
6809
6813
|
style = props.style,
|
|
6810
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6814
|
+
elementProps = _objectWithoutProperties(props, _excluded$z);
|
|
6811
6815
|
|
|
6812
6816
|
var classes = getStyles(styles$u, ['.modal-title']);
|
|
6813
6817
|
return /*#__PURE__*/React.createElement(Heading$2, _extends({
|
|
@@ -6820,7 +6824,7 @@ var ModalTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6820
6824
|
ModalTitle.displayName = 'ModalTitle';
|
|
6821
6825
|
ModalTitle.propTypes = propTypes$B;
|
|
6822
6826
|
|
|
6823
|
-
var _excluded$
|
|
6827
|
+
var _excluded$y = ["children", "style", "contentContainerStyle"];
|
|
6824
6828
|
|
|
6825
6829
|
var _templateObject$t;
|
|
6826
6830
|
var propTypes$A = {
|
|
@@ -6837,7 +6841,7 @@ var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6837
6841
|
var children = props.children,
|
|
6838
6842
|
style = props.style,
|
|
6839
6843
|
contentContainerStyle = props.contentContainerStyle,
|
|
6840
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6844
|
+
elementProps = _objectWithoutProperties(props, _excluded$y);
|
|
6841
6845
|
|
|
6842
6846
|
var _useForcedContext = useForcedContext(ModalContext),
|
|
6843
6847
|
scrollable = _useForcedContext.scrollable;
|
|
@@ -6853,7 +6857,7 @@ var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6853
6857
|
ModalBody.displayName = 'ModalBody';
|
|
6854
6858
|
ModalBody.propTypes = propTypes$A;
|
|
6855
6859
|
|
|
6856
|
-
var _excluded$
|
|
6860
|
+
var _excluded$x = ["children", "style"];
|
|
6857
6861
|
|
|
6858
6862
|
var _templateObject$s;
|
|
6859
6863
|
var propTypes$z = {
|
|
@@ -6867,7 +6871,7 @@ var styles$s = StyleSheet.create({
|
|
|
6867
6871
|
var ModalFooter = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
6868
6872
|
var children = props.children,
|
|
6869
6873
|
style = props.style,
|
|
6870
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6874
|
+
elementProps = _objectWithoutProperties(props, _excluded$x);
|
|
6871
6875
|
|
|
6872
6876
|
var classes = getStyles(styles$s, ['.modal-footer']);
|
|
6873
6877
|
return /*#__PURE__*/React.createElement(View, _extends({}, elementProps, {
|
|
@@ -6878,7 +6882,7 @@ var ModalFooter = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6878
6882
|
ModalFooter.displayName = 'ModalFooter';
|
|
6879
6883
|
ModalFooter.propTypes = propTypes$z;
|
|
6880
6884
|
|
|
6881
|
-
var _excluded$
|
|
6885
|
+
var _excluded$w = ["children", "visible", "size", "backdrop", "scrollable", "centered", "onToggle", "style", "textStyle"];
|
|
6882
6886
|
|
|
6883
6887
|
var _templateObject$r, _templateObject2$l, _templateObject3$a, _templateObject4$8, _templateObject5$6, _templateObject6$5, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject10$3, _templateObject11$2;
|
|
6884
6888
|
var MODAL_SIZES = ['sm', 'lg', 'xl'];
|
|
@@ -6921,7 +6925,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
6921
6925
|
handleToggle = props.onToggle,
|
|
6922
6926
|
style = props.style,
|
|
6923
6927
|
textStyle = props.textStyle,
|
|
6924
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6928
|
+
elementProps = _objectWithoutProperties(props, _excluded$w);
|
|
6925
6929
|
|
|
6926
6930
|
var dialogRef = useRef();
|
|
6927
6931
|
var modal = useModal(scrollable);
|
|
@@ -6977,7 +6981,7 @@ Modal.Footer = ModalFooter;
|
|
|
6977
6981
|
var NavContext = /*#__PURE__*/React.createContext();
|
|
6978
6982
|
NavContext.displayName = 'NavContext';
|
|
6979
6983
|
|
|
6980
|
-
var _excluded$
|
|
6984
|
+
var _excluded$v = ["children", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
6981
6985
|
|
|
6982
6986
|
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
6987
|
var propTypes$x = {
|
|
@@ -7031,7 +7035,7 @@ var NavLink = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7031
7035
|
activeStyle = modifierProps.activeStyle,
|
|
7032
7036
|
textStyle = modifierProps.textStyle,
|
|
7033
7037
|
activeTextStyle = modifierProps.activeTextStyle,
|
|
7034
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
7038
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$v);
|
|
7035
7039
|
|
|
7036
7040
|
var _useForcedContext = useForcedContext(NavContext),
|
|
7037
7041
|
variant = _useForcedContext.variant;
|
|
@@ -7061,7 +7065,7 @@ NavLink.propTypes = propTypes$x;
|
|
|
7061
7065
|
var TabContext = /*#__PURE__*/createContext();
|
|
7062
7066
|
TabContext.displayName = 'TabContext';
|
|
7063
7067
|
|
|
7064
|
-
var _excluded$
|
|
7068
|
+
var _excluded$u = ["children", "variant", "style"];
|
|
7065
7069
|
|
|
7066
7070
|
var _templateObject$p, _templateObject2$j, _templateObject3$8, _templateObject4$6;
|
|
7067
7071
|
var propTypes$w = {
|
|
@@ -7095,7 +7099,7 @@ var Nav = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7095
7099
|
var children = props.children,
|
|
7096
7100
|
variant = props.variant,
|
|
7097
7101
|
style = props.style,
|
|
7098
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7102
|
+
elementProps = _objectWithoutProperties(props, _excluded$u);
|
|
7099
7103
|
|
|
7100
7104
|
var navbar = useContext(NavbarContext);
|
|
7101
7105
|
var tabbable = useContext(TabContext);
|
|
@@ -7116,7 +7120,7 @@ Nav.propTypes = propTypes$w;
|
|
|
7116
7120
|
Nav.Context = NavContext;
|
|
7117
7121
|
Nav.Link = NavLink;
|
|
7118
7122
|
|
|
7119
|
-
var _excluded$
|
|
7123
|
+
var _excluded$t = ["children", "style", "textStyle"];
|
|
7120
7124
|
|
|
7121
7125
|
var _templateObject$o, _templateObject2$i, _templateObject3$7;
|
|
7122
7126
|
var propTypes$v = {
|
|
@@ -7135,7 +7139,7 @@ var NavbarText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7135
7139
|
var children = props.children,
|
|
7136
7140
|
style = props.style,
|
|
7137
7141
|
textStyle = props.textStyle,
|
|
7138
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7142
|
+
elementProps = _objectWithoutProperties(props, _excluded$t);
|
|
7139
7143
|
|
|
7140
7144
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
7141
7145
|
variant = _useForcedContext.variant;
|
|
@@ -7153,7 +7157,7 @@ var NavbarText = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7153
7157
|
NavbarText.displayName = 'NavbarText';
|
|
7154
7158
|
NavbarText.propTypes = propTypes$v;
|
|
7155
7159
|
|
|
7156
|
-
var _excluded$
|
|
7160
|
+
var _excluded$s = ["children", "style", "textStyle"];
|
|
7157
7161
|
|
|
7158
7162
|
var _templateObject$n, _templateObject2$h, _templateObject3$6, _templateObject4$5;
|
|
7159
7163
|
var propTypes$u = {
|
|
@@ -7173,7 +7177,7 @@ var NavbarBrand = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7173
7177
|
var children = props.children,
|
|
7174
7178
|
style = props.style,
|
|
7175
7179
|
textStyle = props.textStyle,
|
|
7176
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7180
|
+
elementProps = _objectWithoutProperties(props, _excluded$s);
|
|
7177
7181
|
|
|
7178
7182
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
7179
7183
|
variant = _useForcedContext.variant;
|
|
@@ -7189,7 +7193,7 @@ var NavbarBrand = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7189
7193
|
NavbarBrand.displayName = 'NavbarBrand';
|
|
7190
7194
|
NavbarBrand.propTypes = propTypes$u;
|
|
7191
7195
|
|
|
7192
|
-
var _excluded$
|
|
7196
|
+
var _excluded$r = ["children", "style"];
|
|
7193
7197
|
|
|
7194
7198
|
var _templateObject$m, _templateObject2$g;
|
|
7195
7199
|
var propTypes$t = {
|
|
@@ -7205,7 +7209,7 @@ var styles$m = StyleSheet.create(_objectSpread2({
|
|
|
7205
7209
|
var NavbarCollapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7206
7210
|
var children = props.children,
|
|
7207
7211
|
style = props.style,
|
|
7208
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7212
|
+
elementProps = _objectWithoutProperties(props, _excluded$r);
|
|
7209
7213
|
|
|
7210
7214
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
7211
7215
|
expand = _useForcedContext.expand,
|
|
@@ -7227,12 +7231,12 @@ var NavbarCollapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7227
7231
|
NavbarCollapse.displayName = 'NavbarCollapse';
|
|
7228
7232
|
NavbarCollapse.propTypes = propTypes$t;
|
|
7229
7233
|
|
|
7230
|
-
var _excluded$
|
|
7234
|
+
var _excluded$q = ["onPress"];
|
|
7231
7235
|
function useToggleNavbar(props) {
|
|
7232
7236
|
var context = useForcedContext(NavbarContext);
|
|
7233
7237
|
|
|
7234
7238
|
var handlePress = props.onPress,
|
|
7235
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7239
|
+
restProps = _objectWithoutProperties(props, _excluded$q);
|
|
7236
7240
|
|
|
7237
7241
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
7238
7242
|
nativeID: context.identifier,
|
|
@@ -7248,7 +7252,7 @@ function useToggleNavbar(props) {
|
|
|
7248
7252
|
});
|
|
7249
7253
|
}
|
|
7250
7254
|
|
|
7251
|
-
var _excluded$
|
|
7255
|
+
var _excluded$p = ["style", "textStyle", "iconStyle"];
|
|
7252
7256
|
|
|
7253
7257
|
var _templateObject$l, _templateObject2$f, _templateObject3$5, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1;
|
|
7254
7258
|
var propTypes$s = {
|
|
@@ -7281,7 +7285,7 @@ var NavbarToggler = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7281
7285
|
var style = props.style,
|
|
7282
7286
|
textStyle = props.textStyle,
|
|
7283
7287
|
iconStyle = props.iconStyle,
|
|
7284
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7288
|
+
elementProps = _objectWithoutProperties(props, _excluded$p);
|
|
7285
7289
|
|
|
7286
7290
|
var media = useMedia();
|
|
7287
7291
|
|
|
@@ -7327,12 +7331,12 @@ function useNavbar(variant, defaultExpanded, controlledExpanded, onToggle, expan
|
|
|
7327
7331
|
}, [variant, expanded, expand]);
|
|
7328
7332
|
}
|
|
7329
7333
|
|
|
7330
|
-
var _excluded$
|
|
7334
|
+
var _excluded$o = ["onPress"];
|
|
7331
7335
|
function useDismissNavbar(props) {
|
|
7332
7336
|
var context = useForcedContext(NavbarContext);
|
|
7333
7337
|
|
|
7334
7338
|
var handlePress = props.onPress,
|
|
7335
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7339
|
+
restProps = _objectWithoutProperties(props, _excluded$o);
|
|
7336
7340
|
|
|
7337
7341
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
7338
7342
|
onPress: function onPress(event) {
|
|
@@ -7343,7 +7347,7 @@ function useDismissNavbar(props) {
|
|
|
7343
7347
|
});
|
|
7344
7348
|
}
|
|
7345
7349
|
|
|
7346
|
-
var _excluded$
|
|
7350
|
+
var _excluded$n = ["children", "variant", "defaultExpanded", "expanded", "onToggle", "expand", "style"];
|
|
7347
7351
|
|
|
7348
7352
|
var _templateObject$k, _templateObject2$e;
|
|
7349
7353
|
var propTypes$r = {
|
|
@@ -7371,7 +7375,7 @@ var Navbar = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7371
7375
|
onToggle = props.onToggle,
|
|
7372
7376
|
expand = props.expand,
|
|
7373
7377
|
style = props.style,
|
|
7374
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7378
|
+
elementProps = _objectWithoutProperties(props, _excluded$n);
|
|
7375
7379
|
|
|
7376
7380
|
var navbar = useNavbar(variant, defaultExpanded, expanded, onToggle, expand);
|
|
7377
7381
|
var classes = getStyles(styles$k, ['.navbar', expand && ".navbar-expand".concat(expand === true ? '' : "-".concat(expand))]);
|
|
@@ -7397,7 +7401,7 @@ function useOffcanvas() {
|
|
|
7397
7401
|
}, []);
|
|
7398
7402
|
}
|
|
7399
7403
|
|
|
7400
|
-
var _excluded$
|
|
7404
|
+
var _excluded$m = ["children", "style"];
|
|
7401
7405
|
|
|
7402
7406
|
var _templateObject$j, _templateObject2$d;
|
|
7403
7407
|
var propTypes$q = {
|
|
@@ -7413,7 +7417,7 @@ var styles$j = StyleSheet.create(_objectSpread2({
|
|
|
7413
7417
|
var OffcanvasHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7414
7418
|
var children = props.children,
|
|
7415
7419
|
style = props.style,
|
|
7416
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7420
|
+
elementProps = _objectWithoutProperties(props, _excluded$m);
|
|
7417
7421
|
|
|
7418
7422
|
var navbar = useContext(NavbarContext);
|
|
7419
7423
|
var classes = getStyles(styles$j, ['.offcanvas-header', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .offcanvas-header")]);
|
|
@@ -7425,7 +7429,7 @@ var OffcanvasHeader = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7425
7429
|
OffcanvasHeader.displayName = 'OffcanvasHeader';
|
|
7426
7430
|
OffcanvasHeader.propTypes = propTypes$q;
|
|
7427
7431
|
|
|
7428
|
-
var _excluded$
|
|
7432
|
+
var _excluded$l = ["children", "style"];
|
|
7429
7433
|
|
|
7430
7434
|
var _templateObject$i;
|
|
7431
7435
|
var propTypes$p = {
|
|
@@ -7439,7 +7443,7 @@ var styles$i = StyleSheet.create({
|
|
|
7439
7443
|
var OffcanvasTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7440
7444
|
var children = props.children,
|
|
7441
7445
|
style = props.style,
|
|
7442
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7446
|
+
elementProps = _objectWithoutProperties(props, _excluded$l);
|
|
7443
7447
|
|
|
7444
7448
|
var classes = getStyles(styles$i, ['.offcanvas-title']);
|
|
7445
7449
|
return /*#__PURE__*/React.createElement(Heading$2, _extends({
|
|
@@ -7452,7 +7456,7 @@ var OffcanvasTitle = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7452
7456
|
OffcanvasTitle.displayName = 'OffcanvasTitle';
|
|
7453
7457
|
OffcanvasTitle.propTypes = propTypes$p;
|
|
7454
7458
|
|
|
7455
|
-
var _excluded$
|
|
7459
|
+
var _excluded$k = ["children", "style", "contentContainerStyle"];
|
|
7456
7460
|
|
|
7457
7461
|
var _templateObject$h, _templateObject2$c;
|
|
7458
7462
|
var propTypes$o = {
|
|
@@ -7471,7 +7475,7 @@ var OffcanvasBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7471
7475
|
var children = props.children,
|
|
7472
7476
|
style = props.style,
|
|
7473
7477
|
contentContainerStyle = props.contentContainerStyle,
|
|
7474
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7478
|
+
elementProps = _objectWithoutProperties(props, _excluded$k);
|
|
7475
7479
|
|
|
7476
7480
|
var navbar = useContext(NavbarContext);
|
|
7477
7481
|
var contentContainerClasses = getStyles(styles$h, ['.offcanvas-body', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .offcanvas-body")]);
|
|
@@ -7484,7 +7488,7 @@ var OffcanvasBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7484
7488
|
OffcanvasBody.displayName = 'OffcanvasBody';
|
|
7485
7489
|
OffcanvasBody.propTypes = propTypes$o;
|
|
7486
7490
|
|
|
7487
|
-
var _excluded$
|
|
7491
|
+
var _excluded$j = ["children", "visible", "placement", "backdrop", "scroll", "onToggle", "style", "textStyle"];
|
|
7488
7492
|
|
|
7489
7493
|
var _templateObject$g, _templateObject2$b, _templateObject3$4, _templateObject4$3, _templateObject5$3, _templateObject6$2, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
7490
7494
|
var PLACEMENTS = ['top', 'bottom', 'start', 'end']; // , 'auto'
|
|
@@ -7533,7 +7537,7 @@ var Offcanvas = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7533
7537
|
handleToggle = props.onToggle,
|
|
7534
7538
|
style = props.style,
|
|
7535
7539
|
textStyle = props.textStyle,
|
|
7536
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7540
|
+
elementProps = _objectWithoutProperties(props, _excluded$j);
|
|
7537
7541
|
|
|
7538
7542
|
var media = useMedia();
|
|
7539
7543
|
var navbar = useContext(NavbarContext);
|
|
@@ -7590,6 +7594,7 @@ Offcanvas.Body = OffcanvasBody;
|
|
|
7590
7594
|
var PickerWebContext = /*#__PURE__*/React.createContext();
|
|
7591
7595
|
PickerWebContext.displayName = 'PickerWebContext';
|
|
7592
7596
|
|
|
7597
|
+
var _excluded$i = ["children", "selectedValue", "onValueChange", "onFocus", "onBlur", "placeholder", "placeholderTextColor", "disabled", "style"];
|
|
7593
7598
|
var propTypes$m = {
|
|
7594
7599
|
children: PropTypes.node.isRequired,
|
|
7595
7600
|
selectedValue: PropTypes.oneOfType([PropTypes.bool, PropTypes.number, PropTypes.string, PropTypes.object]),
|
|
@@ -7600,9 +7605,7 @@ var propTypes$m = {
|
|
|
7600
7605
|
placeholderTextColor: PropTypes.string,
|
|
7601
7606
|
disabled: PropTypes.bool,
|
|
7602
7607
|
// 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
|
|
7608
|
+
style: PropTypes.any
|
|
7606
7609
|
};
|
|
7607
7610
|
var PLACEHOLDER = '__PLACEHOLDER__';
|
|
7608
7611
|
|
|
@@ -7628,10 +7631,11 @@ var PickerWeb = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7628
7631
|
placeholderTextColor = props.placeholderTextColor,
|
|
7629
7632
|
disabled = props.disabled,
|
|
7630
7633
|
style = props.style,
|
|
7631
|
-
|
|
7634
|
+
elementProps = _objectWithoutProperties(props, _excluded$i);
|
|
7635
|
+
|
|
7632
7636
|
var background = useBackground(style);
|
|
7633
7637
|
var showPlaceholder = placeholder && (selectedValue === undefined || selectedValue === null);
|
|
7634
|
-
return /*#__PURE__*/React.createElement(Picker$1, {
|
|
7638
|
+
return /*#__PURE__*/React.createElement(Picker$1, _extends({}, elementProps, {
|
|
7635
7639
|
ref: ref,
|
|
7636
7640
|
selectedValue: showPlaceholder ? PLACEHOLDER : selectedValue,
|
|
7637
7641
|
onValueChange: onValueChange,
|
|
@@ -7640,9 +7644,8 @@ var PickerWeb = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7640
7644
|
disabled: disabled,
|
|
7641
7645
|
style: [background.style, showPlaceholder && {
|
|
7642
7646
|
color: placeholderTextColor
|
|
7643
|
-
}]
|
|
7644
|
-
|
|
7645
|
-
}, placeholder && /*#__PURE__*/React.createElement("option", {
|
|
7647
|
+
}]
|
|
7648
|
+
}), placeholder && /*#__PURE__*/React.createElement("option", {
|
|
7646
7649
|
value: PLACEHOLDER,
|
|
7647
7650
|
disabled: true,
|
|
7648
7651
|
hidden: true
|
|
@@ -7657,6 +7660,8 @@ PickerWeb.propTypes = propTypes$m;
|
|
|
7657
7660
|
var PickerNativeContext = /*#__PURE__*/React.createContext();
|
|
7658
7661
|
PickerNativeContext.displayName = 'PickerNativeContext';
|
|
7659
7662
|
|
|
7663
|
+
var _excluded$h = ["children", "selectedValue", "onValueChange", "onFocus", "onBlur", "placeholder", "placeholderTextColor", "disabled", "style"];
|
|
7664
|
+
|
|
7660
7665
|
var _templateObject$f;
|
|
7661
7666
|
var propTypes$l = {
|
|
7662
7667
|
children: PropTypes.node.isRequired,
|
|
@@ -7668,9 +7673,7 @@ var propTypes$l = {
|
|
|
7668
7673
|
placeholderTextColor: PropTypes.string,
|
|
7669
7674
|
disabled: PropTypes.bool,
|
|
7670
7675
|
// 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
|
|
7676
|
+
style: PropTypes.any
|
|
7674
7677
|
};
|
|
7675
7678
|
var styles$f = StyleSheet.create({
|
|
7676
7679
|
menu: css(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n align-items: center;\n "])))
|
|
@@ -7707,7 +7710,7 @@ var PickerNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7707
7710
|
_props$disabled = props.disabled,
|
|
7708
7711
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
7709
7712
|
style = props.style,
|
|
7710
|
-
|
|
7713
|
+
elementProps = _objectWithoutProperties(props, _excluded$h);
|
|
7711
7714
|
|
|
7712
7715
|
var background = useBackground(style);
|
|
7713
7716
|
|
|
@@ -7727,7 +7730,7 @@ var PickerNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7727
7730
|
});
|
|
7728
7731
|
var textStyle = extractTextStyles(background.style);
|
|
7729
7732
|
var showPlaceholder = placeholder && (selectedValue === undefined || selectedValue === null);
|
|
7730
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
7733
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pressable, _extends({}, elementProps, {
|
|
7731
7734
|
ref: ref,
|
|
7732
7735
|
accessibilityRole: "combobox",
|
|
7733
7736
|
accessibilityDisabled: disabled,
|
|
@@ -7740,9 +7743,8 @@ var PickerNative = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
7740
7743
|
onFocus: onFocus,
|
|
7741
7744
|
onBlur: onBlur,
|
|
7742
7745
|
disabled: disabled,
|
|
7743
|
-
style: background.style
|
|
7744
|
-
|
|
7745
|
-
}, background.element, /*#__PURE__*/React.createElement(Text, {
|
|
7746
|
+
style: background.style
|
|
7747
|
+
}), background.element, /*#__PURE__*/React.createElement(Text, {
|
|
7746
7748
|
numberOfLines: 1,
|
|
7747
7749
|
style: [textStyle, showPlaceholder && {
|
|
7748
7750
|
color: placeholderTextColor
|