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.umd.js
CHANGED
|
@@ -6922,7 +6922,7 @@
|
|
|
6922
6922
|
};
|
|
6923
6923
|
}
|
|
6924
6924
|
|
|
6925
|
-
var _excluded$
|
|
6925
|
+
var _excluded$1x = ["children", "style", "textStyle", "styleName"];
|
|
6926
6926
|
var propTypes$1y = {
|
|
6927
6927
|
children: PropTypes.node,
|
|
6928
6928
|
// eslint-disable-next-line react/forbid-prop-types
|
|
@@ -6937,7 +6937,7 @@
|
|
|
6937
6937
|
style = props.style,
|
|
6938
6938
|
textStyle = props.textStyle,
|
|
6939
6939
|
styleName = props.styleName,
|
|
6940
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
6940
|
+
elementProps = _objectWithoutProperties(props, _excluded$1x);
|
|
6941
6941
|
|
|
6942
6942
|
var media = useMedia();
|
|
6943
6943
|
var context = React.useContext(TextStyleContext);
|
|
@@ -6961,7 +6961,7 @@
|
|
|
6961
6961
|
View.displayName = 'View';
|
|
6962
6962
|
View.propTypes = propTypes$1y;
|
|
6963
6963
|
|
|
6964
|
-
var _excluded$
|
|
6964
|
+
var _excluded$1w = ["children", "color", "dismissible", "style", "textStyle"];
|
|
6965
6965
|
|
|
6966
6966
|
var _templateObject$1c, _templateObject2$U, _templateObject3$s;
|
|
6967
6967
|
var propTypes$1x = {
|
|
@@ -6997,7 +6997,7 @@
|
|
|
6997
6997
|
dismissible = _props$dismissible === void 0 ? false : _props$dismissible,
|
|
6998
6998
|
style = props.style,
|
|
6999
6999
|
textStyle = props.textStyle,
|
|
7000
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7000
|
+
elementProps = _objectWithoutProperties(props, _excluded$1w);
|
|
7001
7001
|
|
|
7002
7002
|
var classes = getStyles(styles$1e, ['.alert', ".alert-".concat(color), dismissible && '.alert-dismissible']);
|
|
7003
7003
|
var textClasses = getStyles(styles$1e, [".alert-".concat(color, " --text")]);
|
|
@@ -7011,7 +7011,7 @@
|
|
|
7011
7011
|
Alert.displayName = 'Alert';
|
|
7012
7012
|
Alert.propTypes = propTypes$1x;
|
|
7013
7013
|
|
|
7014
|
-
var _excluded$
|
|
7014
|
+
var _excluded$1v = ["color", "bold", "italic", "mark", "small", "style", "styleName"];
|
|
7015
7015
|
|
|
7016
7016
|
var _templateObject$1b, _templateObject2$T, _templateObject3$r, _templateObject4$n, _templateObject5$k;
|
|
7017
7017
|
var propTypes$1w = {
|
|
@@ -7053,7 +7053,7 @@
|
|
|
7053
7053
|
small = _props$small === void 0 ? false : _props$small,
|
|
7054
7054
|
style = props.style,
|
|
7055
7055
|
styleName = props.styleName,
|
|
7056
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7056
|
+
elementProps = _objectWithoutProperties(props, _excluded$1v);
|
|
7057
7057
|
|
|
7058
7058
|
var media = useMedia();
|
|
7059
7059
|
var context = React.useContext(TextStyleContext);
|
|
@@ -7085,7 +7085,7 @@
|
|
|
7085
7085
|
Text.displayName = 'Text';
|
|
7086
7086
|
Text.propTypes = propTypes$1w;
|
|
7087
7087
|
|
|
7088
|
-
var _excluded$
|
|
7088
|
+
var _excluded$1u = ["children", "style", "textStyle"];
|
|
7089
7089
|
|
|
7090
7090
|
var _templateObject$1a, _templateObject2$S;
|
|
7091
7091
|
var propTypes$1v = {
|
|
@@ -7103,7 +7103,7 @@
|
|
|
7103
7103
|
var children = props.children,
|
|
7104
7104
|
style = props.style,
|
|
7105
7105
|
textStyle = props.textStyle,
|
|
7106
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7106
|
+
elementProps = _objectWithoutProperties(props, _excluded$1u);
|
|
7107
7107
|
|
|
7108
7108
|
var classes = getStyles(styles$1c, ['.badge']);
|
|
7109
7109
|
var textClasses = getStyles(styles$1c, ['.badge --text']); // composite component
|
|
@@ -7186,7 +7186,7 @@
|
|
|
7186
7186
|
return context;
|
|
7187
7187
|
}
|
|
7188
7188
|
|
|
7189
|
-
var _excluded$
|
|
7189
|
+
var _excluded$1t = ["children", "active", "style", "dividerStyle", "textStyle"];
|
|
7190
7190
|
|
|
7191
7191
|
var _templateObject$19, _templateObject2$R, _templateObject3$q;
|
|
7192
7192
|
var propTypes$1u = {
|
|
@@ -7211,7 +7211,7 @@
|
|
|
7211
7211
|
style = props.style,
|
|
7212
7212
|
dividerStyle = props.dividerStyle,
|
|
7213
7213
|
textStyle = props.textStyle,
|
|
7214
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7214
|
+
elementProps = _objectWithoutProperties(props, _excluded$1t);
|
|
7215
7215
|
|
|
7216
7216
|
var _useForcedContext = useForcedContext(ListContext),
|
|
7217
7217
|
first = _useForcedContext.first;
|
|
@@ -7236,7 +7236,7 @@
|
|
|
7236
7236
|
BreadcrumbItem.displayName = 'BreadcrumbItem';
|
|
7237
7237
|
BreadcrumbItem.propTypes = propTypes$1u;
|
|
7238
7238
|
|
|
7239
|
-
var _excluded$
|
|
7239
|
+
var _excluded$1s = ["children", "style", "textStyle"];
|
|
7240
7240
|
|
|
7241
7241
|
var _templateObject$18, _templateObject2$Q;
|
|
7242
7242
|
var propTypes$1t = {
|
|
@@ -7254,7 +7254,7 @@
|
|
|
7254
7254
|
var children = props.children,
|
|
7255
7255
|
style = props.style,
|
|
7256
7256
|
textStyle = props.textStyle,
|
|
7257
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7257
|
+
elementProps = _objectWithoutProperties(props, _excluded$1s);
|
|
7258
7258
|
|
|
7259
7259
|
var list = useList(children);
|
|
7260
7260
|
var classes = getStyles(styles$1a, ['.breadcrumb']);
|
|
@@ -7274,7 +7274,7 @@
|
|
|
7274
7274
|
var ButtonGroupContext = /*#__PURE__*/React__default["default"].createContext();
|
|
7275
7275
|
ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
7276
7276
|
|
|
7277
|
-
var _excluded$
|
|
7277
|
+
var _excluded$1r = ["children", "size", "style"];
|
|
7278
7278
|
|
|
7279
7279
|
var _templateObject$17;
|
|
7280
7280
|
var propTypes$1s = {
|
|
@@ -7290,7 +7290,7 @@
|
|
|
7290
7290
|
var children = props.children,
|
|
7291
7291
|
size = props.size,
|
|
7292
7292
|
style = props.style,
|
|
7293
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7293
|
+
elementProps = _objectWithoutProperties(props, _excluded$1r);
|
|
7294
7294
|
|
|
7295
7295
|
var list = useList(children);
|
|
7296
7296
|
var classes = getStyles(styles$19, ['.btn-group']); // Accessiblity role tabpanel is only supported on web.
|
|
@@ -7309,7 +7309,7 @@
|
|
|
7309
7309
|
ButtonGroup.displayName = 'ButtonGroup';
|
|
7310
7310
|
ButtonGroup.propTypes = propTypes$1s;
|
|
7311
7311
|
|
|
7312
|
-
var _excluded$
|
|
7312
|
+
var _excluded$1q = ["children", "style"];
|
|
7313
7313
|
|
|
7314
7314
|
var _templateObject$16;
|
|
7315
7315
|
var propTypes$1r = {
|
|
@@ -7323,7 +7323,7 @@
|
|
|
7323
7323
|
var ButtonToolbar = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
7324
7324
|
var children = props.children,
|
|
7325
7325
|
style = props.style,
|
|
7326
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7326
|
+
elementProps = _objectWithoutProperties(props, _excluded$1q);
|
|
7327
7327
|
|
|
7328
7328
|
var classes = getStyles(styles$18, ['.btn-toolbar']);
|
|
7329
7329
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
@@ -7335,7 +7335,7 @@
|
|
|
7335
7335
|
ButtonToolbar.displayName = 'ButtonToolbar';
|
|
7336
7336
|
ButtonToolbar.propTypes = propTypes$1r;
|
|
7337
7337
|
|
|
7338
|
-
var _excluded$
|
|
7338
|
+
var _excluded$1p = ["ref"];
|
|
7339
7339
|
function useModifier(name, props, ref) {
|
|
7340
7340
|
var context = useForcedContext(Context);
|
|
7341
7341
|
var useModifierHook = context.modifiers[name];
|
|
@@ -7346,12 +7346,12 @@
|
|
|
7346
7346
|
|
|
7347
7347
|
var _useModifierHook = useModifierHook(props),
|
|
7348
7348
|
modifierRef = _useModifierHook.ref,
|
|
7349
|
-
modifierProps = _objectWithoutProperties(_useModifierHook, _excluded$
|
|
7349
|
+
modifierProps = _objectWithoutProperties(_useModifierHook, _excluded$1p);
|
|
7350
7350
|
|
|
7351
7351
|
return [modifierProps, concatRefs(modifierRef, ref)];
|
|
7352
7352
|
}
|
|
7353
7353
|
|
|
7354
|
-
var _excluded$
|
|
7354
|
+
var _excluded$1o = ["toggle", "dismiss"],
|
|
7355
7355
|
_excluded2$2 = ["ref"];
|
|
7356
7356
|
|
|
7357
7357
|
var getActionHook = function getActionHook(toggle, dismiss) {
|
|
@@ -7369,7 +7369,7 @@
|
|
|
7369
7369
|
function useAction(props, ref) {
|
|
7370
7370
|
var toggle = props.toggle,
|
|
7371
7371
|
dismiss = props.dismiss,
|
|
7372
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7372
|
+
restProps = _objectWithoutProperties(props, _excluded$1o);
|
|
7373
7373
|
|
|
7374
7374
|
var useActionHook = getActionHook(toggle, dismiss);
|
|
7375
7375
|
|
|
@@ -7388,7 +7388,7 @@
|
|
|
7388
7388
|
return [actionProps, concatRefs(actionRef, ref)];
|
|
7389
7389
|
}
|
|
7390
7390
|
|
|
7391
|
-
var _excluded$
|
|
7391
|
+
var _excluded$1n = ["children", "active", "style", "activeStyle", "textStyle", "activeTextStyle", "styleName"];
|
|
7392
7392
|
var propTypes$1q = {
|
|
7393
7393
|
children: PropTypes.node,
|
|
7394
7394
|
active: PropTypes.bool,
|
|
@@ -7441,7 +7441,7 @@
|
|
|
7441
7441
|
textStyle = actionProps.textStyle,
|
|
7442
7442
|
activeTextStyle = actionProps.activeTextStyle,
|
|
7443
7443
|
styleName = actionProps.styleName,
|
|
7444
|
-
elementProps = _objectWithoutProperties(actionProps, _excluded$
|
|
7444
|
+
elementProps = _objectWithoutProperties(actionProps, _excluded$1n);
|
|
7445
7445
|
|
|
7446
7446
|
var media = useMedia();
|
|
7447
7447
|
var context = React.useContext(TextStyleContext);
|
|
@@ -7480,11 +7480,11 @@
|
|
|
7480
7480
|
Pressable.displayName = 'Pressable';
|
|
7481
7481
|
Pressable.propTypes = propTypes$1q;
|
|
7482
7482
|
|
|
7483
|
-
var _excluded$
|
|
7483
|
+
var _excluded$1m = ["active", "handlePress"];
|
|
7484
7484
|
function useToggleButton(props) {
|
|
7485
7485
|
var active = props.active,
|
|
7486
7486
|
handlePress = props.handlePress,
|
|
7487
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
7487
|
+
restProps = _objectWithoutProperties(props, _excluded$1m);
|
|
7488
7488
|
|
|
7489
7489
|
var _useState = React.useState(active),
|
|
7490
7490
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7503,7 +7503,7 @@
|
|
|
7503
7503
|
});
|
|
7504
7504
|
}
|
|
7505
7505
|
|
|
7506
|
-
var _excluded$
|
|
7506
|
+
var _excluded$1l = ["children", "color", "size", "outline", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
7507
7507
|
|
|
7508
7508
|
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;
|
|
7509
7509
|
var propTypes$1p = {
|
|
@@ -7594,7 +7594,7 @@
|
|
|
7594
7594
|
activeStyle = props.activeStyle,
|
|
7595
7595
|
textStyle = props.textStyle,
|
|
7596
7596
|
activeTextStyle = props.activeTextStyle,
|
|
7597
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7597
|
+
elementProps = _objectWithoutProperties(props, _excluded$1l);
|
|
7598
7598
|
|
|
7599
7599
|
invariant(color !== 'link' || !outline, 'Button link variant is only available as non outline style.');
|
|
7600
7600
|
var listItem = React.useContext(ListContext);
|
|
@@ -7617,7 +7617,7 @@
|
|
|
7617
7617
|
Button.propTypes = propTypes$1p;
|
|
7618
7618
|
Button.useToggle = useToggleButton;
|
|
7619
7619
|
|
|
7620
|
-
var _excluded$
|
|
7620
|
+
var _excluded$1k = ["children", "style", "textStyle"];
|
|
7621
7621
|
|
|
7622
7622
|
var _templateObject$14, _templateObject2$O;
|
|
7623
7623
|
var propTypes$1o = {
|
|
@@ -7635,7 +7635,7 @@
|
|
|
7635
7635
|
var children = props.children,
|
|
7636
7636
|
style = props.style,
|
|
7637
7637
|
textStyle = props.textStyle,
|
|
7638
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7638
|
+
elementProps = _objectWithoutProperties(props, _excluded$1k);
|
|
7639
7639
|
|
|
7640
7640
|
var classes = getStyles(styles$16, ['blockquote']);
|
|
7641
7641
|
var textClasses = getStyles(styles$16, ['blockquote --text']); // Accessiblity role blockquote is only supported on web.
|
|
@@ -7651,7 +7651,7 @@
|
|
|
7651
7651
|
Blockquote.displayName = 'Blockquote';
|
|
7652
7652
|
Blockquote.propTypes = propTypes$1o;
|
|
7653
7653
|
|
|
7654
|
-
var _excluded$
|
|
7654
|
+
var _excluded$1j = ["children", "style", "textStyle", "styleName"];
|
|
7655
7655
|
|
|
7656
7656
|
var _templateObject$13, _templateObject2$N;
|
|
7657
7657
|
var propTypes$1n = {
|
|
@@ -7672,7 +7672,7 @@
|
|
|
7672
7672
|
style = props.style,
|
|
7673
7673
|
textStyle = props.textStyle,
|
|
7674
7674
|
styleName = props.styleName,
|
|
7675
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7675
|
+
elementProps = _objectWithoutProperties(props, _excluded$1j);
|
|
7676
7676
|
|
|
7677
7677
|
var classes = getStyles(styles$15, ['body']);
|
|
7678
7678
|
var textClasses = getStyles(styles$15, ['body --text']);
|
|
@@ -7695,7 +7695,7 @@
|
|
|
7695
7695
|
Body.displayName = 'Body';
|
|
7696
7696
|
Body.propTypes = propTypes$1n;
|
|
7697
7697
|
|
|
7698
|
-
var _excluded$
|
|
7698
|
+
var _excluded$1i = ["children", "style", "textStyle"];
|
|
7699
7699
|
|
|
7700
7700
|
var _templateObject$12, _templateObject2$M;
|
|
7701
7701
|
var propTypes$1m = {
|
|
@@ -7713,7 +7713,7 @@
|
|
|
7713
7713
|
var children = props.children,
|
|
7714
7714
|
style = props.style,
|
|
7715
7715
|
textStyle = props.textStyle,
|
|
7716
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7716
|
+
elementProps = _objectWithoutProperties(props, _excluded$1i);
|
|
7717
7717
|
|
|
7718
7718
|
var classes = getStyles(styles$14, ['.card-body']);
|
|
7719
7719
|
var textClasses = getStyles(styles$14, [".card-body --text"]);
|
|
@@ -7726,7 +7726,7 @@
|
|
|
7726
7726
|
CardBody.displayName = 'CardBody';
|
|
7727
7727
|
CardBody.propTypes = propTypes$1m;
|
|
7728
7728
|
|
|
7729
|
-
var _excluded$
|
|
7729
|
+
var _excluded$1h = ["children", "style", "textStyle"];
|
|
7730
7730
|
|
|
7731
7731
|
var _templateObject$11, _templateObject2$L;
|
|
7732
7732
|
var propTypes$1l = {
|
|
@@ -7744,7 +7744,7 @@
|
|
|
7744
7744
|
var children = props.children,
|
|
7745
7745
|
style = props.style,
|
|
7746
7746
|
textStyle = props.textStyle,
|
|
7747
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7747
|
+
elementProps = _objectWithoutProperties(props, _excluded$1h);
|
|
7748
7748
|
|
|
7749
7749
|
var classes = getStyles(styles$13, ['.card-header']);
|
|
7750
7750
|
var textClasses = getStyles(styles$13, ['.card-header --text']);
|
|
@@ -7757,7 +7757,7 @@
|
|
|
7757
7757
|
CardHeader.displayName = 'CardHeader';
|
|
7758
7758
|
CardHeader.propTypes = propTypes$1l;
|
|
7759
7759
|
|
|
7760
|
-
var _excluded$
|
|
7760
|
+
var _excluded$1g = ["children", "style", "textStyle"];
|
|
7761
7761
|
|
|
7762
7762
|
var _templateObject$10, _templateObject2$K;
|
|
7763
7763
|
var propTypes$1k = {
|
|
@@ -7775,7 +7775,7 @@
|
|
|
7775
7775
|
var children = props.children,
|
|
7776
7776
|
style = props.style,
|
|
7777
7777
|
textStyle = props.textStyle,
|
|
7778
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7778
|
+
elementProps = _objectWithoutProperties(props, _excluded$1g);
|
|
7779
7779
|
|
|
7780
7780
|
var classes = getStyles(styles$12, ['.card-footer']);
|
|
7781
7781
|
var textClasses = getStyles(styles$12, ['.card-footer --text']);
|
|
@@ -7788,7 +7788,7 @@
|
|
|
7788
7788
|
CardFooter.displayName = 'CardFooter';
|
|
7789
7789
|
CardFooter.propTypes = propTypes$1k;
|
|
7790
7790
|
|
|
7791
|
-
var _excluded$
|
|
7791
|
+
var _excluded$1f = ["children", "style"];
|
|
7792
7792
|
|
|
7793
7793
|
var _templateObject$$;
|
|
7794
7794
|
var propTypes$1j = {
|
|
@@ -7802,7 +7802,7 @@
|
|
|
7802
7802
|
var Card = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
7803
7803
|
var children = props.children,
|
|
7804
7804
|
style = props.style,
|
|
7805
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
7805
|
+
elementProps = _objectWithoutProperties(props, _excluded$1f);
|
|
7806
7806
|
|
|
7807
7807
|
var classes = getStyles(styles$11, ['.card']);
|
|
7808
7808
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
@@ -8118,7 +8118,7 @@
|
|
|
8118
8118
|
return useBackgroundForPlatform(style, styleName);
|
|
8119
8119
|
}
|
|
8120
8120
|
|
|
8121
|
-
var _excluded$
|
|
8121
|
+
var _excluded$1e = ["children", "onFocus", "onBlur", "onHoverIn", "onHoverOut", "onPressIn", "onPressOut", "disabled", "style", "textStyle", "styleName"];
|
|
8122
8122
|
|
|
8123
8123
|
var _templateObject$_, _templateObject2$J, _templateObject3$o, _templateObject4$l, _templateObject5$i;
|
|
8124
8124
|
var propTypes$1i = {
|
|
@@ -8167,7 +8167,7 @@
|
|
|
8167
8167
|
style = props.style,
|
|
8168
8168
|
textStyle = props.textStyle,
|
|
8169
8169
|
styleName = props.styleName,
|
|
8170
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
8170
|
+
elementProps = _objectWithoutProperties(props, _excluded$1e);
|
|
8171
8171
|
|
|
8172
8172
|
var media = useMedia();
|
|
8173
8173
|
|
|
@@ -8321,12 +8321,12 @@
|
|
|
8321
8321
|
CollapseProvider.displayName = 'CollapseProvider';
|
|
8322
8322
|
CollapseProvider.propTypes = propTypes$1h;
|
|
8323
8323
|
|
|
8324
|
-
var _excluded$
|
|
8324
|
+
var _excluded$1d = ["onPress"];
|
|
8325
8325
|
function useToggleCollapse(props) {
|
|
8326
8326
|
var context = useForcedContext(CollapseContext);
|
|
8327
8327
|
|
|
8328
8328
|
var handlePress = props.onPress,
|
|
8329
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8329
|
+
restProps = _objectWithoutProperties(props, _excluded$1d);
|
|
8330
8330
|
|
|
8331
8331
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
8332
8332
|
onPress: function onPress(event) {
|
|
@@ -8340,13 +8340,13 @@
|
|
|
8340
8340
|
});
|
|
8341
8341
|
}
|
|
8342
8342
|
|
|
8343
|
-
var _excluded$
|
|
8343
|
+
var _excluded$1c = ["children"];
|
|
8344
8344
|
var propTypes$1g = {
|
|
8345
8345
|
children: PropTypes.node
|
|
8346
8346
|
};
|
|
8347
8347
|
var Collapse = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
8348
8348
|
var children = props.children,
|
|
8349
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
8349
|
+
elementProps = _objectWithoutProperties(props, _excluded$1c);
|
|
8350
8350
|
|
|
8351
8351
|
var _useForcedContext = useForcedContext(CollapseContext),
|
|
8352
8352
|
identifier = _useForcedContext.identifier,
|
|
@@ -8387,7 +8387,7 @@
|
|
|
8387
8387
|
var NavbarContext = /*#__PURE__*/React__default["default"].createContext();
|
|
8388
8388
|
NavbarContext.displayName = 'NavbarContext';
|
|
8389
8389
|
|
|
8390
|
-
var _excluded$
|
|
8390
|
+
var _excluded$1b = ["fluid", "style"];
|
|
8391
8391
|
|
|
8392
8392
|
var _templateObject$Z, _templateObject2$I, _templateObject3$n, _templateObject4$k, _templateObject5$h, _templateObject6$f, _templateObject7$a, _templateObject8$a;
|
|
8393
8393
|
var propTypes$1f = {
|
|
@@ -8442,7 +8442,7 @@
|
|
|
8442
8442
|
var _props$fluid = props.fluid,
|
|
8443
8443
|
fluid = _props$fluid === void 0 ? 'sm' : _props$fluid,
|
|
8444
8444
|
style = props.style,
|
|
8445
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
8445
|
+
elementProps = _objectWithoutProperties(props, _excluded$1b);
|
|
8446
8446
|
|
|
8447
8447
|
var navbar = React.useContext(NavbarContext);
|
|
8448
8448
|
var classes = getStyles(styles$Z, ['.container', // Hint: Bootstrap's .container class is identical with .container-sm.
|
|
@@ -8459,7 +8459,7 @@
|
|
|
8459
8459
|
var FormCheckContext = /*#__PURE__*/React__default["default"].createContext();
|
|
8460
8460
|
FormCheckContext.displayName = 'FormCheckContext';
|
|
8461
8461
|
|
|
8462
|
-
var _excluded$
|
|
8462
|
+
var _excluded$1a = ["style"];
|
|
8463
8463
|
var propTypes$1e = {
|
|
8464
8464
|
type: PropTypes.oneOf(['checkbox', 'radio', 'switch']).isRequired,
|
|
8465
8465
|
value: PropTypes.bool.isRequired,
|
|
@@ -8480,7 +8480,7 @@
|
|
|
8480
8480
|
|
|
8481
8481
|
var Input$1 = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
8482
8482
|
var style = _ref.style,
|
|
8483
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8483
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
8484
8484
|
|
|
8485
8485
|
return reactNative.unstable_createElement('input', _objectSpread2(_objectSpread2({}, props), {}, {
|
|
8486
8486
|
ref: ref,
|
|
@@ -8563,7 +8563,7 @@
|
|
|
8563
8563
|
FormCheckInputNative.displayName = 'FormCheckInputNative';
|
|
8564
8564
|
FormCheckInputNative.propTypes = propTypes$1d;
|
|
8565
8565
|
|
|
8566
|
-
var _excluded$
|
|
8566
|
+
var _excluded$19 = ["type", "value", "onFocus", "onBlur", "disabled", "valid", "invalid", "useNativeComponent", "style"];
|
|
8567
8567
|
|
|
8568
8568
|
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;
|
|
8569
8569
|
/* eslint-disable react/no-unused-prop-types */
|
|
@@ -8646,7 +8646,7 @@
|
|
|
8646
8646
|
_modifierProps$useNat = modifierProps.useNativeComponent,
|
|
8647
8647
|
useNativeComponent = _modifierProps$useNat === void 0 ? false : _modifierProps$useNat,
|
|
8648
8648
|
style = modifierProps.style,
|
|
8649
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
8649
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$19);
|
|
8650
8650
|
|
|
8651
8651
|
var media = useMedia();
|
|
8652
8652
|
|
|
@@ -8699,7 +8699,7 @@
|
|
|
8699
8699
|
});
|
|
8700
8700
|
Checkbox.displayName = 'Checkbox';
|
|
8701
8701
|
|
|
8702
|
-
var _excluded$
|
|
8702
|
+
var _excluded$18 = ["children", "size", "sizeSm", "sizeMd", "sizeLg", "sizeXl", "style"];
|
|
8703
8703
|
|
|
8704
8704
|
var _templateObject$X, _templateObject2$G, _templateObject3$l, _templateObject4$i, _templateObject5$f;
|
|
8705
8705
|
var sizes = makeArray(GRID_COLUMNS).map(function (v) {
|
|
@@ -8734,7 +8734,7 @@
|
|
|
8734
8734
|
sizeLg = props.sizeLg,
|
|
8735
8735
|
sizeXl = props.sizeXl,
|
|
8736
8736
|
style = props.style,
|
|
8737
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
8737
|
+
elementProps = _objectWithoutProperties(props, _excluded$18);
|
|
8738
8738
|
|
|
8739
8739
|
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())]);
|
|
8740
8740
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
@@ -8745,7 +8745,7 @@
|
|
|
8745
8745
|
Col.displayName = 'Col';
|
|
8746
8746
|
Col.propTypes = propTypes$1b;
|
|
8747
8747
|
|
|
8748
|
-
var _excluded$
|
|
8748
|
+
var _excluded$17 = ["children", "style"];
|
|
8749
8749
|
|
|
8750
8750
|
var _templateObject$W;
|
|
8751
8751
|
var propTypes$1a = {
|
|
@@ -8759,7 +8759,7 @@
|
|
|
8759
8759
|
var Code = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
8760
8760
|
var children = props.children,
|
|
8761
8761
|
style = props.style,
|
|
8762
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
8762
|
+
elementProps = _objectWithoutProperties(props, _excluded$17);
|
|
8763
8763
|
|
|
8764
8764
|
var classes = getStyles(styles$V, ['code']); // Accessiblity role code is only supported on web.
|
|
8765
8765
|
|
|
@@ -8776,12 +8776,12 @@
|
|
|
8776
8776
|
var DropdownContext = /*#__PURE__*/React__default["default"].createContext();
|
|
8777
8777
|
DropdownContext.displayName = 'DropdownContext';
|
|
8778
8778
|
|
|
8779
|
-
var _excluded$
|
|
8779
|
+
var _excluded$16 = ["onPress"];
|
|
8780
8780
|
function useToggleDropdown(props) {
|
|
8781
8781
|
var context = useForcedContext(DropdownContext);
|
|
8782
8782
|
|
|
8783
8783
|
var handlePress = props.onPress,
|
|
8784
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
8784
|
+
restProps = _objectWithoutProperties(props, _excluded$16);
|
|
8785
8785
|
|
|
8786
8786
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
8787
8787
|
nativeID: context.identifier,
|
|
@@ -8974,7 +8974,7 @@
|
|
|
8974
8974
|
BackdropHandler.displayName = 'BackdropHandler';
|
|
8975
8975
|
BackdropHandler.propTypes = propTypes$17;
|
|
8976
8976
|
|
|
8977
|
-
var _excluded$
|
|
8977
|
+
var _excluded$15 = ["children", "start", "right", "end", "style", "textStyle"];
|
|
8978
8978
|
|
|
8979
8979
|
var _templateObject$U, _templateObject2$F, _templateObject3$k, _templateObject4$h, _templateObject5$e, _templateObject6$d, _templateObject7$8, _templateObject8$8, _templateObject9$7, _templateObject10$7;
|
|
8980
8980
|
var ALIGNMENT_BREAKPOINTS = [true, 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
@@ -9040,7 +9040,7 @@
|
|
|
9040
9040
|
end = _props$end === void 0 ? false : _props$end,
|
|
9041
9041
|
style = props.style,
|
|
9042
9042
|
textStyle = props.textStyle,
|
|
9043
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9043
|
+
elementProps = _objectWithoutProperties(props, _excluded$15);
|
|
9044
9044
|
|
|
9045
9045
|
if (right !== undefined) {
|
|
9046
9046
|
// eslint-disable-next-line no-console
|
|
@@ -9116,7 +9116,7 @@
|
|
|
9116
9116
|
DropdownMenu.displayName = 'DropdownMenu';
|
|
9117
9117
|
DropdownMenu.propTypes = propTypes$16;
|
|
9118
9118
|
|
|
9119
|
-
var _excluded$
|
|
9119
|
+
var _excluded$14 = ["children", "size", "style"];
|
|
9120
9120
|
|
|
9121
9121
|
var _templateObject$T, _templateObject2$E;
|
|
9122
9122
|
var propTypes$15 = {
|
|
@@ -9136,7 +9136,7 @@
|
|
|
9136
9136
|
var children = props.children,
|
|
9137
9137
|
size = props.size,
|
|
9138
9138
|
style = props.style,
|
|
9139
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9139
|
+
elementProps = _objectWithoutProperties(props, _excluded$14);
|
|
9140
9140
|
|
|
9141
9141
|
var classes = getStyles(styles$S, ['heading', ".h".concat(size)]);
|
|
9142
9142
|
return /*#__PURE__*/React__default["default"].createElement(Text, _extends$1({}, elementProps, {
|
|
@@ -9149,7 +9149,7 @@
|
|
|
9149
9149
|
Heading$2.displayName = 'Heading';
|
|
9150
9150
|
Heading$2.propTypes = propTypes$15;
|
|
9151
9151
|
|
|
9152
|
-
var _excluded$
|
|
9152
|
+
var _excluded$13 = ["children", "style", "textStyle"];
|
|
9153
9153
|
|
|
9154
9154
|
var _templateObject$S, _templateObject2$D;
|
|
9155
9155
|
var propTypes$14 = {
|
|
@@ -9167,7 +9167,7 @@
|
|
|
9167
9167
|
var children = props.children,
|
|
9168
9168
|
style = props.style,
|
|
9169
9169
|
textStyle = props.textStyle,
|
|
9170
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9170
|
+
elementProps = _objectWithoutProperties(props, _excluded$13);
|
|
9171
9171
|
|
|
9172
9172
|
var classes = getStyles(styles$R, ['.dropdown-header']);
|
|
9173
9173
|
var textClasses = getStyles(styles$R, ['.dropdown-header --text']); // composite component
|
|
@@ -9183,7 +9183,7 @@
|
|
|
9183
9183
|
DropdownHeader.displayName = 'DropdownHeader';
|
|
9184
9184
|
DropdownHeader.propTypes = propTypes$14;
|
|
9185
9185
|
|
|
9186
|
-
var _excluded
|
|
9186
|
+
var _excluded$12 = ["children", "onPress", "active", "disabled", "style", "textStyle"];
|
|
9187
9187
|
|
|
9188
9188
|
var _templateObject$R, _templateObject2$C, _templateObject3$j, _templateObject4$g, _templateObject5$d, _templateObject6$c;
|
|
9189
9189
|
var propTypes$13 = {
|
|
@@ -9214,7 +9214,7 @@
|
|
|
9214
9214
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
9215
9215
|
style = props.style,
|
|
9216
9216
|
textStyle = props.textStyle,
|
|
9217
|
-
elementProps = _objectWithoutProperties(props, _excluded
|
|
9217
|
+
elementProps = _objectWithoutProperties(props, _excluded$12);
|
|
9218
9218
|
|
|
9219
9219
|
var dropdown = useForcedContext(DropdownContext);
|
|
9220
9220
|
var classes = getStyles(styles$Q, ['.dropdown-item', active && '.dropdown-item.active', disabled && '.dropdown-item.disabled']);
|
|
@@ -9232,7 +9232,7 @@
|
|
|
9232
9232
|
DropdownItem.displayName = 'DropdownItem';
|
|
9233
9233
|
DropdownItem.propTypes = propTypes$13;
|
|
9234
9234
|
|
|
9235
|
-
var _excluded$
|
|
9235
|
+
var _excluded$11 = ["children", "style", "textStyle"];
|
|
9236
9236
|
|
|
9237
9237
|
var _templateObject$Q, _templateObject2$B;
|
|
9238
9238
|
var propTypes$12 = {
|
|
@@ -9250,7 +9250,7 @@
|
|
|
9250
9250
|
var children = props.children,
|
|
9251
9251
|
style = props.style,
|
|
9252
9252
|
textStyle = props.textStyle,
|
|
9253
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9253
|
+
elementProps = _objectWithoutProperties(props, _excluded$11);
|
|
9254
9254
|
|
|
9255
9255
|
var classes = getStyles(styles$P, ['.dropdown-item-text']);
|
|
9256
9256
|
var textClasses = getStyles(styles$P, ['.dropdown-item-text --text']); // composite component
|
|
@@ -9265,7 +9265,7 @@
|
|
|
9265
9265
|
DropdownItemText.displayName = 'DropdownItemText';
|
|
9266
9266
|
DropdownItemText.propTypes = propTypes$12;
|
|
9267
9267
|
|
|
9268
|
-
var _excluded$
|
|
9268
|
+
var _excluded$10 = ["style"];
|
|
9269
9269
|
|
|
9270
9270
|
var _templateObject$P;
|
|
9271
9271
|
var propTypes$11 = {
|
|
@@ -9277,7 +9277,7 @@
|
|
|
9277
9277
|
});
|
|
9278
9278
|
var DropdownDivider = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
9279
9279
|
var style = props.style,
|
|
9280
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9280
|
+
elementProps = _objectWithoutProperties(props, _excluded$10);
|
|
9281
9281
|
|
|
9282
9282
|
var classes = getStyles(styles$O, ['.dropdown-divider']);
|
|
9283
9283
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
@@ -9310,12 +9310,12 @@
|
|
|
9310
9310
|
}, [visible]);
|
|
9311
9311
|
}
|
|
9312
9312
|
|
|
9313
|
-
var _excluded
|
|
9313
|
+
var _excluded$$ = ["onPress"];
|
|
9314
9314
|
function useDismissDropdown(props) {
|
|
9315
9315
|
var context = useForcedContext(DropdownContext);
|
|
9316
9316
|
|
|
9317
9317
|
var handlePress = props.onPress,
|
|
9318
|
-
restProps = _objectWithoutProperties(props, _excluded
|
|
9318
|
+
restProps = _objectWithoutProperties(props, _excluded$$);
|
|
9319
9319
|
|
|
9320
9320
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
9321
9321
|
onPress: function onPress(event) {
|
|
@@ -9325,7 +9325,7 @@
|
|
|
9325
9325
|
});
|
|
9326
9326
|
}
|
|
9327
9327
|
|
|
9328
|
-
var _excluded$
|
|
9328
|
+
var _excluded$_ = ["children", "defaultVisible", "visible", "onToggle", "direction", "display", "autoClose", "style"];
|
|
9329
9329
|
|
|
9330
9330
|
var _templateObject$O;
|
|
9331
9331
|
var DIRECTIONS = ['top', 'bottom', 'start', 'end'];
|
|
@@ -9356,7 +9356,7 @@
|
|
|
9356
9356
|
_props$autoClose = props.autoClose,
|
|
9357
9357
|
autoClose = _props$autoClose === void 0 ? 'outside' : _props$autoClose,
|
|
9358
9358
|
style = props.style,
|
|
9359
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9359
|
+
elementProps = _objectWithoutProperties(props, _excluded$_);
|
|
9360
9360
|
|
|
9361
9361
|
var dropdown = useDropdown(defaultVisible, visible, onToggle, direction, display, autoClose);
|
|
9362
9362
|
var classes = getStyles(styles$N, ['.dropdown']);
|
|
@@ -9379,7 +9379,7 @@
|
|
|
9379
9379
|
Dropdown.useDismiss = useDismissDropdown;
|
|
9380
9380
|
Dropdown.useToggle = useToggleDropdown;
|
|
9381
9381
|
|
|
9382
|
-
var _excluded$
|
|
9382
|
+
var _excluded$Z = ["children", "size", "style"];
|
|
9383
9383
|
|
|
9384
9384
|
var _templateObject$N;
|
|
9385
9385
|
var propTypes$$ = {
|
|
@@ -9397,7 +9397,7 @@
|
|
|
9397
9397
|
var children = props.children,
|
|
9398
9398
|
size = props.size,
|
|
9399
9399
|
style = props.style,
|
|
9400
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9400
|
+
elementProps = _objectWithoutProperties(props, _excluded$Z);
|
|
9401
9401
|
|
|
9402
9402
|
var classes = getStyles(styles$M, [".display-".concat(size)]);
|
|
9403
9403
|
return /*#__PURE__*/React__default["default"].createElement(Heading$2, _extends$1({}, elementProps, {
|
|
@@ -9409,7 +9409,7 @@
|
|
|
9409
9409
|
DisplayHeading.displayName = 'Heading';
|
|
9410
9410
|
DisplayHeading.propTypes = propTypes$$;
|
|
9411
9411
|
|
|
9412
|
-
var _excluded$
|
|
9412
|
+
var _excluded$Y = ["children", "type", "style"];
|
|
9413
9413
|
|
|
9414
9414
|
var _templateObject$M;
|
|
9415
9415
|
var propTypes$_ = {
|
|
@@ -9427,7 +9427,7 @@
|
|
|
9427
9427
|
var children = props.children,
|
|
9428
9428
|
type = props.type,
|
|
9429
9429
|
style = props.style,
|
|
9430
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9430
|
+
elementProps = _objectWithoutProperties(props, _excluded$Y);
|
|
9431
9431
|
|
|
9432
9432
|
var classes = getStyles(styles$L, [".".concat(type, "-feedback")]);
|
|
9433
9433
|
return /*#__PURE__*/React__default["default"].createElement(Text, _extends$1({}, elementProps, {
|
|
@@ -9438,7 +9438,7 @@
|
|
|
9438
9438
|
Feedback.displayName = 'Feedback';
|
|
9439
9439
|
Feedback.propTypes = propTypes$_;
|
|
9440
9440
|
|
|
9441
|
-
var _excluded$
|
|
9441
|
+
var _excluded$X = ["children", "htmlFor"];
|
|
9442
9442
|
var propTypes$Z = {
|
|
9443
9443
|
children: PropTypes.node.isRequired,
|
|
9444
9444
|
htmlFor: PropTypes.string
|
|
@@ -9446,7 +9446,7 @@
|
|
|
9446
9446
|
var Heading$1 = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
9447
9447
|
var children = props.children,
|
|
9448
9448
|
htmlFor = props.htmlFor,
|
|
9449
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9449
|
+
elementProps = _objectWithoutProperties(props, _excluded$X); // Ref: https://github.com/necolas/react-native-web/issues/1651
|
|
9450
9450
|
|
|
9451
9451
|
|
|
9452
9452
|
var forRef = React__default["default"].useCallback(function (node) {
|
|
@@ -9465,7 +9465,7 @@
|
|
|
9465
9465
|
Heading$1.displayName = 'Heading';
|
|
9466
9466
|
Heading$1.propTypes = propTypes$Z;
|
|
9467
9467
|
|
|
9468
|
-
var _excluded$
|
|
9468
|
+
var _excluded$W = ["children", "style", "textStyle"];
|
|
9469
9469
|
|
|
9470
9470
|
var _templateObject$L, _templateObject2$A, _templateObject3$i, _templateObject4$f;
|
|
9471
9471
|
var propTypes$Y = {
|
|
@@ -9488,7 +9488,7 @@
|
|
|
9488
9488
|
var children = props.children,
|
|
9489
9489
|
style = props.style,
|
|
9490
9490
|
textStyle = props.textStyle,
|
|
9491
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9491
|
+
elementProps = _objectWithoutProperties(props, _excluded$W);
|
|
9492
9492
|
|
|
9493
9493
|
var _useForcedContext = useForcedContext(FormCheckContext),
|
|
9494
9494
|
disabled = _useForcedContext.disabled,
|
|
@@ -9508,6 +9508,8 @@
|
|
|
9508
9508
|
FormCheckLabel.displayName = 'FormCheckLabel';
|
|
9509
9509
|
FormCheckLabel.propTypes = propTypes$Y;
|
|
9510
9510
|
|
|
9511
|
+
var _excluded$V = ["children", "reverse", "disabled", "valid", "invalid", "style"];
|
|
9512
|
+
|
|
9511
9513
|
var _templateObject$K, _templateObject2$z, _templateObject3$h;
|
|
9512
9514
|
var propTypes$X = {
|
|
9513
9515
|
children: PropTypes.node.isRequired,
|
|
@@ -9533,12 +9535,14 @@
|
|
|
9533
9535
|
valid = _props$valid === void 0 ? false : _props$valid,
|
|
9534
9536
|
_props$invalid = props.invalid,
|
|
9535
9537
|
invalid = _props$invalid === void 0 ? false : _props$invalid,
|
|
9536
|
-
style = props.style
|
|
9538
|
+
style = props.style,
|
|
9539
|
+
elementProps = _objectWithoutProperties(props, _excluded$V);
|
|
9540
|
+
|
|
9537
9541
|
var classes = getStyles(styles$J, ['.form-check', reverse && '.form-check-reverse']);
|
|
9538
|
-
return /*#__PURE__*/React__default["default"].createElement(View, {
|
|
9542
|
+
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
9539
9543
|
ref: ref,
|
|
9540
9544
|
style: [classes, style]
|
|
9541
|
-
}, /*#__PURE__*/React__default["default"].createElement(FormCheckContext.Provider, {
|
|
9545
|
+
}), /*#__PURE__*/React__default["default"].createElement(FormCheckContext.Provider, {
|
|
9542
9546
|
value: {
|
|
9543
9547
|
reverse: reverse,
|
|
9544
9548
|
disabled: disabled,
|
|
@@ -9551,7 +9555,7 @@
|
|
|
9551
9555
|
FormCheck.propTypes = propTypes$X;
|
|
9552
9556
|
FormCheck.Label = FormCheckLabel;
|
|
9553
9557
|
|
|
9554
|
-
var _excluded$
|
|
9558
|
+
var _excluded$U = ["children", "style", "textStyle"];
|
|
9555
9559
|
|
|
9556
9560
|
var _templateObject$J, _templateObject2$y;
|
|
9557
9561
|
var propTypes$W = {
|
|
@@ -9569,7 +9573,7 @@
|
|
|
9569
9573
|
var children = props.children,
|
|
9570
9574
|
style = props.style,
|
|
9571
9575
|
textStyle = props.textStyle,
|
|
9572
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9576
|
+
elementProps = _objectWithoutProperties(props, _excluded$U);
|
|
9573
9577
|
|
|
9574
9578
|
var classes = getStyles(styles$I, ['.form-label']);
|
|
9575
9579
|
var textClasses = getStyles(styles$I, ['.form-label --text']);
|
|
@@ -9582,7 +9586,7 @@
|
|
|
9582
9586
|
FormLabel.displayName = 'FormLabel';
|
|
9583
9587
|
FormLabel.propTypes = propTypes$W;
|
|
9584
9588
|
|
|
9585
|
-
var _excluded$
|
|
9589
|
+
var _excluded$T = ["children", "style", "textStyle"];
|
|
9586
9590
|
|
|
9587
9591
|
var _templateObject$I, _templateObject2$x;
|
|
9588
9592
|
var propTypes$V = {
|
|
@@ -9600,7 +9604,7 @@
|
|
|
9600
9604
|
var children = props.children,
|
|
9601
9605
|
style = props.style,
|
|
9602
9606
|
textStyle = props.textStyle,
|
|
9603
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9607
|
+
elementProps = _objectWithoutProperties(props, _excluded$T);
|
|
9604
9608
|
|
|
9605
9609
|
var classes = getStyles(styles$H, ['.form-text']);
|
|
9606
9610
|
var textClasses = getStyles(styles$H, ['.form-text --text']); // composite component
|
|
@@ -9615,7 +9619,7 @@
|
|
|
9615
9619
|
FormText.displayName = 'FormText';
|
|
9616
9620
|
FormText.propTypes = propTypes$V;
|
|
9617
9621
|
|
|
9618
|
-
var _excluded$
|
|
9622
|
+
var _excluded$S = ["onFocus", "onBlur", "style", "styleName"];
|
|
9619
9623
|
var propTypes$U = {
|
|
9620
9624
|
onFocus: PropTypes.func,
|
|
9621
9625
|
onBlur: PropTypes.func,
|
|
@@ -9631,7 +9635,7 @@
|
|
|
9631
9635
|
_onBlur = _props$onBlur === void 0 ? function () {} : _props$onBlur,
|
|
9632
9636
|
style = props.style,
|
|
9633
9637
|
styleName = props.styleName,
|
|
9634
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9638
|
+
elementProps = _objectWithoutProperties(props, _excluded$S);
|
|
9635
9639
|
|
|
9636
9640
|
var _useState = React.useState(false),
|
|
9637
9641
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -9663,7 +9667,7 @@
|
|
|
9663
9667
|
TextInput.displayName = 'TextInput';
|
|
9664
9668
|
TextInput.propTypes = propTypes$U;
|
|
9665
9669
|
|
|
9666
|
-
var _excluded$
|
|
9670
|
+
var _excluded$R = ["size", "placeholderTextColor", "multiline", "disabled", "valid", "invalid", "editable", "selectTextOnFocus", "style"];
|
|
9667
9671
|
|
|
9668
9672
|
var _templateObject$H, _templateObject2$w, _templateObject3$g, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$7, _templateObject8$7;
|
|
9669
9673
|
var propTypes$T = {
|
|
@@ -9717,7 +9721,7 @@
|
|
|
9717
9721
|
_modifierProps$select = modifierProps.selectTextOnFocus,
|
|
9718
9722
|
selectTextOnFocus = _modifierProps$select === void 0 ? true : _modifierProps$select,
|
|
9719
9723
|
style = modifierProps.style,
|
|
9720
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
9724
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$R);
|
|
9721
9725
|
|
|
9722
9726
|
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']);
|
|
9723
9727
|
return /*#__PURE__*/React__default["default"].createElement(TextInput, _extends$1({}, elementProps, {
|
|
@@ -9858,7 +9862,7 @@
|
|
|
9858
9862
|
var PopoverContext = /*#__PURE__*/React__default["default"].createContext();
|
|
9859
9863
|
PopoverContext.displayName = 'PopoverContext';
|
|
9860
9864
|
|
|
9861
|
-
var _excluded$
|
|
9865
|
+
var _excluded$Q = ["style"];
|
|
9862
9866
|
|
|
9863
9867
|
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;
|
|
9864
9868
|
var propTypes$S = {
|
|
@@ -9900,7 +9904,7 @@
|
|
|
9900
9904
|
});
|
|
9901
9905
|
var PopoverArrow = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
9902
9906
|
var style = props.style,
|
|
9903
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9907
|
+
elementProps = _objectWithoutProperties(props, _excluded$Q);
|
|
9904
9908
|
|
|
9905
9909
|
var _useForcedContext = useForcedContext(PopoverContext),
|
|
9906
9910
|
placement = _useForcedContext.placement,
|
|
@@ -9922,7 +9926,7 @@
|
|
|
9922
9926
|
PopoverArrow.displayName = 'PopoverArrow';
|
|
9923
9927
|
PopoverArrow.propTypes = propTypes$S;
|
|
9924
9928
|
|
|
9925
|
-
var _excluded$
|
|
9929
|
+
var _excluded$P = ["children", "style", "textStyle"];
|
|
9926
9930
|
|
|
9927
9931
|
var _templateObject$F, _templateObject2$u;
|
|
9928
9932
|
var propTypes$R = {
|
|
@@ -9940,7 +9944,7 @@
|
|
|
9940
9944
|
var children = props.children,
|
|
9941
9945
|
style = props.style,
|
|
9942
9946
|
textStyle = props.textStyle,
|
|
9943
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9947
|
+
elementProps = _objectWithoutProperties(props, _excluded$P);
|
|
9944
9948
|
|
|
9945
9949
|
var classes = getStyles(styles$E, ['.popover-header']);
|
|
9946
9950
|
var textClasses = getStyles(styles$E, ['.popover-header --text']); // composite component
|
|
@@ -9956,7 +9960,7 @@
|
|
|
9956
9960
|
PopoverHeader.displayName = 'PopoverHeader';
|
|
9957
9961
|
PopoverHeader.propTypes = propTypes$R;
|
|
9958
9962
|
|
|
9959
|
-
var _excluded$
|
|
9963
|
+
var _excluded$O = ["children", "style", "textStyle"];
|
|
9960
9964
|
|
|
9961
9965
|
var _templateObject$E, _templateObject2$t;
|
|
9962
9966
|
var propTypes$Q = {
|
|
@@ -9974,7 +9978,7 @@
|
|
|
9974
9978
|
var children = props.children,
|
|
9975
9979
|
style = props.style,
|
|
9976
9980
|
textStyle = props.textStyle,
|
|
9977
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
9981
|
+
elementProps = _objectWithoutProperties(props, _excluded$O);
|
|
9978
9982
|
|
|
9979
9983
|
var classes = getStyles(styles$D, ['.popover-body']);
|
|
9980
9984
|
var textClasses = getStyles(styles$D, ['.popover-body --text']);
|
|
@@ -9987,7 +9991,7 @@
|
|
|
9987
9991
|
PopoverBody.displayName = 'PopoverBody';
|
|
9988
9992
|
PopoverBody.propTypes = propTypes$Q;
|
|
9989
9993
|
|
|
9990
|
-
var _excluded$
|
|
9994
|
+
var _excluded$N = ["children", "placement", "popper", "style", "textStyle", "arrowStyle"];
|
|
9991
9995
|
|
|
9992
9996
|
var _templateObject$D, _templateObject2$s;
|
|
9993
9997
|
var propTypes$P = {
|
|
@@ -10013,7 +10017,7 @@
|
|
|
10013
10017
|
style = props.style,
|
|
10014
10018
|
textStyle = props.textStyle,
|
|
10015
10019
|
arrowStyle = props.arrowStyle,
|
|
10016
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10020
|
+
elementProps = _objectWithoutProperties(props, _excluded$N);
|
|
10017
10021
|
|
|
10018
10022
|
var popover = {
|
|
10019
10023
|
placement: transformPlacement$1(placement),
|
|
@@ -10039,7 +10043,7 @@
|
|
|
10039
10043
|
Popover.Header = PopoverHeader;
|
|
10040
10044
|
Popover.Body = PopoverBody;
|
|
10041
10045
|
|
|
10042
|
-
var _excluded$
|
|
10046
|
+
var _excluded$M = ["title", "content", "autoClose", "trigger", "placement"],
|
|
10043
10047
|
_excluded2$1 = ["popover"];
|
|
10044
10048
|
var propTypes$O = {
|
|
10045
10049
|
popover: PropTypes.shape(_objectSpread2({
|
|
@@ -10060,7 +10064,7 @@
|
|
|
10060
10064
|
trigger = _props$popover$trigge === void 0 ? 'press' : _props$popover$trigge,
|
|
10061
10065
|
_props$popover$placem = _props$popover.placement,
|
|
10062
10066
|
placement = _props$popover$placem === void 0 ? 'right' : _props$popover$placem,
|
|
10063
|
-
tooltipProps = _objectWithoutProperties(_props$popover, _excluded$
|
|
10067
|
+
tooltipProps = _objectWithoutProperties(_props$popover, _excluded$M),
|
|
10064
10068
|
elementProps = _objectWithoutProperties(props, _excluded2$1);
|
|
10065
10069
|
/* eslint-enable */
|
|
10066
10070
|
|
|
@@ -10107,7 +10111,7 @@
|
|
|
10107
10111
|
var TooltipContext = /*#__PURE__*/React__default["default"].createContext();
|
|
10108
10112
|
TooltipContext.displayName = 'TooltipContext';
|
|
10109
10113
|
|
|
10110
|
-
var _excluded$
|
|
10114
|
+
var _excluded$L = ["style"];
|
|
10111
10115
|
|
|
10112
10116
|
var _templateObject$C, _templateObject2$r, _templateObject3$e, _templateObject4$c, _templateObject5$a, _templateObject6$9, _templateObject7$5, _templateObject8$5, _templateObject9$5, _templateObject10$5;
|
|
10113
10117
|
var propTypes$N = {
|
|
@@ -10128,7 +10132,7 @@
|
|
|
10128
10132
|
});
|
|
10129
10133
|
var TooltipArrow = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
10130
10134
|
var style = props.style,
|
|
10131
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10135
|
+
elementProps = _objectWithoutProperties(props, _excluded$L);
|
|
10132
10136
|
|
|
10133
10137
|
var _useForcedContext = useForcedContext(TooltipContext),
|
|
10134
10138
|
placement = _useForcedContext.placement,
|
|
@@ -10147,7 +10151,7 @@
|
|
|
10147
10151
|
TooltipArrow.displayName = 'TooltipArrow';
|
|
10148
10152
|
TooltipArrow.propTypes = propTypes$N;
|
|
10149
10153
|
|
|
10150
|
-
var _excluded$
|
|
10154
|
+
var _excluded$K = ["children", "style", "textStyle"];
|
|
10151
10155
|
|
|
10152
10156
|
var _templateObject$B, _templateObject2$q;
|
|
10153
10157
|
var propTypes$M = {
|
|
@@ -10165,7 +10169,7 @@
|
|
|
10165
10169
|
var children = props.children,
|
|
10166
10170
|
style = props.style,
|
|
10167
10171
|
textStyle = props.textStyle,
|
|
10168
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10172
|
+
elementProps = _objectWithoutProperties(props, _excluded$K);
|
|
10169
10173
|
|
|
10170
10174
|
var classes = getStyles(styles$A, ['.tooltip-inner']);
|
|
10171
10175
|
var textClasses = getStyles(styles$A, ['.tooltip-inner --text']); // composite component
|
|
@@ -10180,7 +10184,7 @@
|
|
|
10180
10184
|
TooltipInner.displayName = 'TooltipInner';
|
|
10181
10185
|
TooltipInner.propTypes = propTypes$M;
|
|
10182
10186
|
|
|
10183
|
-
var _excluded$
|
|
10187
|
+
var _excluded$J = ["children", "placement", "popper", "style", "textStyle", "arrowStyle"];
|
|
10184
10188
|
|
|
10185
10189
|
var _templateObject$A, _templateObject2$p, _templateObject3$d, _templateObject4$b, _templateObject5$9, _templateObject6$8;
|
|
10186
10190
|
var propTypes$L = {
|
|
@@ -10210,7 +10214,7 @@
|
|
|
10210
10214
|
style = props.style,
|
|
10211
10215
|
textStyle = props.textStyle,
|
|
10212
10216
|
arrowStyle = props.arrowStyle,
|
|
10213
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10217
|
+
elementProps = _objectWithoutProperties(props, _excluded$J);
|
|
10214
10218
|
|
|
10215
10219
|
var tooltip = {
|
|
10216
10220
|
placement: transformPlacement$1(placement),
|
|
@@ -10236,7 +10240,7 @@
|
|
|
10236
10240
|
Tooltip.Arrow = TooltipArrow;
|
|
10237
10241
|
Tooltip.Inner = TooltipInner;
|
|
10238
10242
|
|
|
10239
|
-
var _excluded$
|
|
10243
|
+
var _excluded$I = ["title", "autoClose", "trigger", "placement"],
|
|
10240
10244
|
_excluded2 = ["tooltip"];
|
|
10241
10245
|
var propTypes$K = {
|
|
10242
10246
|
tooltip: PropTypes.shape(_objectSpread2({
|
|
@@ -10255,7 +10259,7 @@
|
|
|
10255
10259
|
trigger = _props$tooltip$trigge === void 0 ? 'hover focus' : _props$tooltip$trigge,
|
|
10256
10260
|
_props$tooltip$placem = _props$tooltip.placement,
|
|
10257
10261
|
placement = _props$tooltip$placem === void 0 ? 'top' : _props$tooltip$placem,
|
|
10258
|
-
tooltipProps = _objectWithoutProperties(_props$tooltip, _excluded$
|
|
10262
|
+
tooltipProps = _objectWithoutProperties(_props$tooltip, _excluded$I),
|
|
10259
10263
|
elementProps = _objectWithoutProperties(props, _excluded2);
|
|
10260
10264
|
/* eslint-enable */
|
|
10261
10265
|
|
|
@@ -10298,7 +10302,7 @@
|
|
|
10298
10302
|
return OverlayTooltip;
|
|
10299
10303
|
}
|
|
10300
10304
|
|
|
10301
|
-
var _excluded$
|
|
10305
|
+
var _excluded$H = ["style", "styleName"];
|
|
10302
10306
|
var propTypes$J = {
|
|
10303
10307
|
// eslint-disable-next-line react/forbid-prop-types
|
|
10304
10308
|
style: PropTypes.any,
|
|
@@ -10308,7 +10312,7 @@
|
|
|
10308
10312
|
var Image = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
10309
10313
|
var style = props.style,
|
|
10310
10314
|
styleName = props.styleName,
|
|
10311
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10315
|
+
elementProps = _objectWithoutProperties(props, _excluded$H);
|
|
10312
10316
|
|
|
10313
10317
|
var media = useMedia();
|
|
10314
10318
|
var resolveStyle = useStyle(style, styleName);
|
|
@@ -10322,7 +10326,7 @@
|
|
|
10322
10326
|
Image.displayName = 'Image';
|
|
10323
10327
|
Image.propTypes = propTypes$J;
|
|
10324
10328
|
|
|
10325
|
-
var _excluded$
|
|
10329
|
+
var _excluded$G = ["style", "styleName"];
|
|
10326
10330
|
var propTypes$I = {
|
|
10327
10331
|
// eslint-disable-next-line react/forbid-prop-types
|
|
10328
10332
|
style: PropTypes.any,
|
|
@@ -10332,7 +10336,7 @@
|
|
|
10332
10336
|
var ImageBackground = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
10333
10337
|
var style = props.style,
|
|
10334
10338
|
styleName = props.styleName,
|
|
10335
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10339
|
+
elementProps = _objectWithoutProperties(props, _excluded$G);
|
|
10336
10340
|
|
|
10337
10341
|
var media = useMedia();
|
|
10338
10342
|
var resolveStyle = useStyle(style, styleName);
|
|
@@ -10349,7 +10353,7 @@
|
|
|
10349
10353
|
var ListGroupContext = /*#__PURE__*/React__default["default"].createContext();
|
|
10350
10354
|
ListGroupContext.displayName = 'ListGroupContext';
|
|
10351
10355
|
|
|
10352
|
-
var _excluded$
|
|
10356
|
+
var _excluded$F = ["children", "color", "active", "disabled", "style", "textStyle"];
|
|
10353
10357
|
|
|
10354
10358
|
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;
|
|
10355
10359
|
var propTypes$H = {
|
|
@@ -10363,7 +10367,7 @@
|
|
|
10363
10367
|
textStyle: PropTypes.any
|
|
10364
10368
|
};
|
|
10365
10369
|
var styles$y = StyleSheet.create(_objectSpread2({
|
|
10366
|
-
'.list-group-item': css(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n position: relative;\n // display: block;\n
|
|
10370
|
+
'.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 "]))),
|
|
10367
10371
|
'.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 "]))),
|
|
10368
10372
|
'.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 "]))),
|
|
10369
10373
|
'.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 "]))),
|
|
@@ -10393,7 +10397,7 @@
|
|
|
10393
10397
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
10394
10398
|
style = props.style,
|
|
10395
10399
|
textStyle = props.textStyle,
|
|
10396
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10400
|
+
elementProps = _objectWithoutProperties(props, _excluded$F);
|
|
10397
10401
|
|
|
10398
10402
|
var _useForcedContext = useForcedContext(ListContext),
|
|
10399
10403
|
first = _useForcedContext.first,
|
|
@@ -10415,7 +10419,7 @@
|
|
|
10415
10419
|
ListGroupItem.displayName = 'ListGroupItem';
|
|
10416
10420
|
ListGroupItem.propTypes = propTypes$H;
|
|
10417
10421
|
|
|
10418
|
-
var _excluded$
|
|
10422
|
+
var _excluded$E = ["children", "color", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
10419
10423
|
|
|
10420
10424
|
var _templateObject$y, _templateObject2$n, _templateObject3$b, _templateObject4$9, _templateObject5$7, _templateObject6$6;
|
|
10421
10425
|
var propTypes$G = {
|
|
@@ -10468,7 +10472,7 @@
|
|
|
10468
10472
|
activeStyle = modifierProps.activeStyle,
|
|
10469
10473
|
textStyle = modifierProps.textStyle,
|
|
10470
10474
|
activeTextStyle = modifierProps.activeTextStyle,
|
|
10471
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
10475
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$E);
|
|
10472
10476
|
|
|
10473
10477
|
var _useForcedContext = useForcedContext(ListContext),
|
|
10474
10478
|
first = _useForcedContext.first,
|
|
@@ -10498,7 +10502,7 @@
|
|
|
10498
10502
|
ListGroupItemAction.displayName = 'ListGroupItemAction';
|
|
10499
10503
|
ListGroupItemAction.propTypes = propTypes$G;
|
|
10500
10504
|
|
|
10501
|
-
var _excluded$
|
|
10505
|
+
var _excluded$D = ["children", "flush", "style"];
|
|
10502
10506
|
|
|
10503
10507
|
var _templateObject$x, _templateObject2$m;
|
|
10504
10508
|
var propTypes$F = {
|
|
@@ -10528,7 +10532,7 @@
|
|
|
10528
10532
|
var children = props.children,
|
|
10529
10533
|
flush = props.flush,
|
|
10530
10534
|
style = props.style,
|
|
10531
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10535
|
+
elementProps = _objectWithoutProperties(props, _excluded$D);
|
|
10532
10536
|
|
|
10533
10537
|
var list = useList(children);
|
|
10534
10538
|
var classes = getStyles(styles$x, ['.list-group', flush && '.list-group-flush']); // TODO: Implement TabContext
|
|
@@ -10549,7 +10553,7 @@
|
|
|
10549
10553
|
ListGroup.Item = ListGroupItem;
|
|
10550
10554
|
ListGroup.ItemAction = ListGroupItemAction;
|
|
10551
10555
|
|
|
10552
|
-
var _excluded$
|
|
10556
|
+
var _excluded$C = ["children", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onPressIn", "onPressOut", "style"];
|
|
10553
10557
|
|
|
10554
10558
|
var _templateObject$w;
|
|
10555
10559
|
var propTypes$E = {
|
|
@@ -10591,7 +10595,7 @@
|
|
|
10591
10595
|
_actionProps$onPressO = actionProps.onPressOut,
|
|
10592
10596
|
_onPressOut = _actionProps$onPressO === void 0 ? function () {} : _actionProps$onPressO,
|
|
10593
10597
|
style = actionProps.style,
|
|
10594
|
-
elementProps = _objectWithoutProperties(actionProps, _excluded$
|
|
10598
|
+
elementProps = _objectWithoutProperties(actionProps, _excluded$C);
|
|
10595
10599
|
|
|
10596
10600
|
var media = useMedia();
|
|
10597
10601
|
|
|
@@ -10659,7 +10663,7 @@
|
|
|
10659
10663
|
Link.displayName = 'Link';
|
|
10660
10664
|
Link.propTypes = propTypes$E;
|
|
10661
10665
|
|
|
10662
|
-
var _excluded$
|
|
10666
|
+
var _excluded$B = ["children", "contentContainerStyle", "style", "textStyle", "styleName"];
|
|
10663
10667
|
var propTypes$D = {
|
|
10664
10668
|
children: PropTypes.node,
|
|
10665
10669
|
// eslint-disable-next-line react/forbid-prop-types
|
|
@@ -10677,7 +10681,7 @@
|
|
|
10677
10681
|
style = props.style,
|
|
10678
10682
|
textStyle = props.textStyle,
|
|
10679
10683
|
styleName = props.styleName,
|
|
10680
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10684
|
+
elementProps = _objectWithoutProperties(props, _excluded$B);
|
|
10681
10685
|
|
|
10682
10686
|
var media = useMedia();
|
|
10683
10687
|
var context = React.useContext(TextStyleContext);
|
|
@@ -10772,7 +10776,7 @@
|
|
|
10772
10776
|
}, [scrollable]);
|
|
10773
10777
|
}
|
|
10774
10778
|
|
|
10775
|
-
var _excluded$
|
|
10779
|
+
var _excluded$A = ["children", "style"];
|
|
10776
10780
|
|
|
10777
10781
|
var _templateObject$v;
|
|
10778
10782
|
var propTypes$C = {
|
|
@@ -10786,7 +10790,7 @@
|
|
|
10786
10790
|
var ModalHeader = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
10787
10791
|
var children = props.children,
|
|
10788
10792
|
style = props.style,
|
|
10789
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10793
|
+
elementProps = _objectWithoutProperties(props, _excluded$A);
|
|
10790
10794
|
|
|
10791
10795
|
var classes = getStyles(styles$v, ['.modal-header']);
|
|
10792
10796
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
@@ -10797,7 +10801,7 @@
|
|
|
10797
10801
|
ModalHeader.displayName = 'ModalHeader';
|
|
10798
10802
|
ModalHeader.propTypes = propTypes$C;
|
|
10799
10803
|
|
|
10800
|
-
var _excluded$
|
|
10804
|
+
var _excluded$z = ["children", "style"];
|
|
10801
10805
|
|
|
10802
10806
|
var _templateObject$u;
|
|
10803
10807
|
var propTypes$B = {
|
|
@@ -10811,7 +10815,7 @@
|
|
|
10811
10815
|
var ModalTitle = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
10812
10816
|
var children = props.children,
|
|
10813
10817
|
style = props.style,
|
|
10814
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10818
|
+
elementProps = _objectWithoutProperties(props, _excluded$z);
|
|
10815
10819
|
|
|
10816
10820
|
var classes = getStyles(styles$u, ['.modal-title']);
|
|
10817
10821
|
return /*#__PURE__*/React__default["default"].createElement(Heading$2, _extends$1({
|
|
@@ -10824,7 +10828,7 @@
|
|
|
10824
10828
|
ModalTitle.displayName = 'ModalTitle';
|
|
10825
10829
|
ModalTitle.propTypes = propTypes$B;
|
|
10826
10830
|
|
|
10827
|
-
var _excluded$
|
|
10831
|
+
var _excluded$y = ["children", "style", "contentContainerStyle"];
|
|
10828
10832
|
|
|
10829
10833
|
var _templateObject$t;
|
|
10830
10834
|
var propTypes$A = {
|
|
@@ -10841,7 +10845,7 @@
|
|
|
10841
10845
|
var children = props.children,
|
|
10842
10846
|
style = props.style,
|
|
10843
10847
|
contentContainerStyle = props.contentContainerStyle,
|
|
10844
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10848
|
+
elementProps = _objectWithoutProperties(props, _excluded$y);
|
|
10845
10849
|
|
|
10846
10850
|
var _useForcedContext = useForcedContext(ModalContext),
|
|
10847
10851
|
scrollable = _useForcedContext.scrollable;
|
|
@@ -10857,7 +10861,7 @@
|
|
|
10857
10861
|
ModalBody.displayName = 'ModalBody';
|
|
10858
10862
|
ModalBody.propTypes = propTypes$A;
|
|
10859
10863
|
|
|
10860
|
-
var _excluded$
|
|
10864
|
+
var _excluded$x = ["children", "style"];
|
|
10861
10865
|
|
|
10862
10866
|
var _templateObject$s;
|
|
10863
10867
|
var propTypes$z = {
|
|
@@ -10871,7 +10875,7 @@
|
|
|
10871
10875
|
var ModalFooter = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
10872
10876
|
var children = props.children,
|
|
10873
10877
|
style = props.style,
|
|
10874
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10878
|
+
elementProps = _objectWithoutProperties(props, _excluded$x);
|
|
10875
10879
|
|
|
10876
10880
|
var classes = getStyles(styles$s, ['.modal-footer']);
|
|
10877
10881
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends$1({}, elementProps, {
|
|
@@ -10882,7 +10886,7 @@
|
|
|
10882
10886
|
ModalFooter.displayName = 'ModalFooter';
|
|
10883
10887
|
ModalFooter.propTypes = propTypes$z;
|
|
10884
10888
|
|
|
10885
|
-
var _excluded$
|
|
10889
|
+
var _excluded$w = ["children", "visible", "size", "backdrop", "scrollable", "centered", "onToggle", "style", "textStyle"];
|
|
10886
10890
|
|
|
10887
10891
|
var _templateObject$r, _templateObject2$l, _templateObject3$a, _templateObject4$8, _templateObject5$6, _templateObject6$5, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject10$3, _templateObject11$2;
|
|
10888
10892
|
var MODAL_SIZES = ['sm', 'lg', 'xl'];
|
|
@@ -10925,7 +10929,7 @@
|
|
|
10925
10929
|
handleToggle = props.onToggle,
|
|
10926
10930
|
style = props.style,
|
|
10927
10931
|
textStyle = props.textStyle,
|
|
10928
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
10932
|
+
elementProps = _objectWithoutProperties(props, _excluded$w);
|
|
10929
10933
|
|
|
10930
10934
|
var dialogRef = React.useRef();
|
|
10931
10935
|
var modal = useModal(scrollable);
|
|
@@ -10981,7 +10985,7 @@
|
|
|
10981
10985
|
var NavContext = /*#__PURE__*/React__default["default"].createContext();
|
|
10982
10986
|
NavContext.displayName = 'NavContext';
|
|
10983
10987
|
|
|
10984
|
-
var _excluded$
|
|
10988
|
+
var _excluded$v = ["children", "active", "disabled", "style", "activeStyle", "textStyle", "activeTextStyle"];
|
|
10985
10989
|
|
|
10986
10990
|
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;
|
|
10987
10991
|
var propTypes$x = {
|
|
@@ -11035,7 +11039,7 @@
|
|
|
11035
11039
|
activeStyle = modifierProps.activeStyle,
|
|
11036
11040
|
textStyle = modifierProps.textStyle,
|
|
11037
11041
|
activeTextStyle = modifierProps.activeTextStyle,
|
|
11038
|
-
elementProps = _objectWithoutProperties(modifierProps, _excluded$
|
|
11042
|
+
elementProps = _objectWithoutProperties(modifierProps, _excluded$v);
|
|
11039
11043
|
|
|
11040
11044
|
var _useForcedContext = useForcedContext(NavContext),
|
|
11041
11045
|
variant = _useForcedContext.variant;
|
|
@@ -11065,7 +11069,7 @@
|
|
|
11065
11069
|
var TabContext = /*#__PURE__*/React.createContext();
|
|
11066
11070
|
TabContext.displayName = 'TabContext';
|
|
11067
11071
|
|
|
11068
|
-
var _excluded$
|
|
11072
|
+
var _excluded$u = ["children", "variant", "style"];
|
|
11069
11073
|
|
|
11070
11074
|
var _templateObject$p, _templateObject2$j, _templateObject3$8, _templateObject4$6;
|
|
11071
11075
|
var propTypes$w = {
|
|
@@ -11099,7 +11103,7 @@
|
|
|
11099
11103
|
var children = props.children,
|
|
11100
11104
|
variant = props.variant,
|
|
11101
11105
|
style = props.style,
|
|
11102
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11106
|
+
elementProps = _objectWithoutProperties(props, _excluded$u);
|
|
11103
11107
|
|
|
11104
11108
|
var navbar = React.useContext(NavbarContext);
|
|
11105
11109
|
var tabbable = React.useContext(TabContext);
|
|
@@ -11120,7 +11124,7 @@
|
|
|
11120
11124
|
Nav.Context = NavContext;
|
|
11121
11125
|
Nav.Link = NavLink;
|
|
11122
11126
|
|
|
11123
|
-
var _excluded$
|
|
11127
|
+
var _excluded$t = ["children", "style", "textStyle"];
|
|
11124
11128
|
|
|
11125
11129
|
var _templateObject$o, _templateObject2$i, _templateObject3$7;
|
|
11126
11130
|
var propTypes$v = {
|
|
@@ -11139,7 +11143,7 @@
|
|
|
11139
11143
|
var children = props.children,
|
|
11140
11144
|
style = props.style,
|
|
11141
11145
|
textStyle = props.textStyle,
|
|
11142
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11146
|
+
elementProps = _objectWithoutProperties(props, _excluded$t);
|
|
11143
11147
|
|
|
11144
11148
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
11145
11149
|
variant = _useForcedContext.variant;
|
|
@@ -11157,7 +11161,7 @@
|
|
|
11157
11161
|
NavbarText.displayName = 'NavbarText';
|
|
11158
11162
|
NavbarText.propTypes = propTypes$v;
|
|
11159
11163
|
|
|
11160
|
-
var _excluded$
|
|
11164
|
+
var _excluded$s = ["children", "style", "textStyle"];
|
|
11161
11165
|
|
|
11162
11166
|
var _templateObject$n, _templateObject2$h, _templateObject3$6, _templateObject4$5;
|
|
11163
11167
|
var propTypes$u = {
|
|
@@ -11177,7 +11181,7 @@
|
|
|
11177
11181
|
var children = props.children,
|
|
11178
11182
|
style = props.style,
|
|
11179
11183
|
textStyle = props.textStyle,
|
|
11180
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11184
|
+
elementProps = _objectWithoutProperties(props, _excluded$s);
|
|
11181
11185
|
|
|
11182
11186
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
11183
11187
|
variant = _useForcedContext.variant;
|
|
@@ -11193,7 +11197,7 @@
|
|
|
11193
11197
|
NavbarBrand.displayName = 'NavbarBrand';
|
|
11194
11198
|
NavbarBrand.propTypes = propTypes$u;
|
|
11195
11199
|
|
|
11196
|
-
var _excluded$
|
|
11200
|
+
var _excluded$r = ["children", "style"];
|
|
11197
11201
|
|
|
11198
11202
|
var _templateObject$m, _templateObject2$g;
|
|
11199
11203
|
var propTypes$t = {
|
|
@@ -11209,7 +11213,7 @@
|
|
|
11209
11213
|
var NavbarCollapse = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
11210
11214
|
var children = props.children,
|
|
11211
11215
|
style = props.style,
|
|
11212
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11216
|
+
elementProps = _objectWithoutProperties(props, _excluded$r);
|
|
11213
11217
|
|
|
11214
11218
|
var _useForcedContext = useForcedContext(NavbarContext),
|
|
11215
11219
|
expand = _useForcedContext.expand,
|
|
@@ -11231,12 +11235,12 @@
|
|
|
11231
11235
|
NavbarCollapse.displayName = 'NavbarCollapse';
|
|
11232
11236
|
NavbarCollapse.propTypes = propTypes$t;
|
|
11233
11237
|
|
|
11234
|
-
var _excluded$
|
|
11238
|
+
var _excluded$q = ["onPress"];
|
|
11235
11239
|
function useToggleNavbar(props) {
|
|
11236
11240
|
var context = useForcedContext(NavbarContext);
|
|
11237
11241
|
|
|
11238
11242
|
var handlePress = props.onPress,
|
|
11239
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
11243
|
+
restProps = _objectWithoutProperties(props, _excluded$q);
|
|
11240
11244
|
|
|
11241
11245
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
11242
11246
|
nativeID: context.identifier,
|
|
@@ -11252,7 +11256,7 @@
|
|
|
11252
11256
|
});
|
|
11253
11257
|
}
|
|
11254
11258
|
|
|
11255
|
-
var _excluded$
|
|
11259
|
+
var _excluded$p = ["style", "textStyle", "iconStyle"];
|
|
11256
11260
|
|
|
11257
11261
|
var _templateObject$l, _templateObject2$f, _templateObject3$5, _templateObject4$4, _templateObject5$4, _templateObject6$3, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1;
|
|
11258
11262
|
var propTypes$s = {
|
|
@@ -11285,7 +11289,7 @@
|
|
|
11285
11289
|
var style = props.style,
|
|
11286
11290
|
textStyle = props.textStyle,
|
|
11287
11291
|
iconStyle = props.iconStyle,
|
|
11288
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11292
|
+
elementProps = _objectWithoutProperties(props, _excluded$p);
|
|
11289
11293
|
|
|
11290
11294
|
var media = useMedia();
|
|
11291
11295
|
|
|
@@ -11331,12 +11335,12 @@
|
|
|
11331
11335
|
}, [variant, expanded, expand]);
|
|
11332
11336
|
}
|
|
11333
11337
|
|
|
11334
|
-
var _excluded$
|
|
11338
|
+
var _excluded$o = ["onPress"];
|
|
11335
11339
|
function useDismissNavbar(props) {
|
|
11336
11340
|
var context = useForcedContext(NavbarContext);
|
|
11337
11341
|
|
|
11338
11342
|
var handlePress = props.onPress,
|
|
11339
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
11343
|
+
restProps = _objectWithoutProperties(props, _excluded$o);
|
|
11340
11344
|
|
|
11341
11345
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
11342
11346
|
onPress: function onPress(event) {
|
|
@@ -11347,7 +11351,7 @@
|
|
|
11347
11351
|
});
|
|
11348
11352
|
}
|
|
11349
11353
|
|
|
11350
|
-
var _excluded$
|
|
11354
|
+
var _excluded$n = ["children", "variant", "defaultExpanded", "expanded", "onToggle", "expand", "style"];
|
|
11351
11355
|
|
|
11352
11356
|
var _templateObject$k, _templateObject2$e;
|
|
11353
11357
|
var propTypes$r = {
|
|
@@ -11375,7 +11379,7 @@
|
|
|
11375
11379
|
onToggle = props.onToggle,
|
|
11376
11380
|
expand = props.expand,
|
|
11377
11381
|
style = props.style,
|
|
11378
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11382
|
+
elementProps = _objectWithoutProperties(props, _excluded$n);
|
|
11379
11383
|
|
|
11380
11384
|
var navbar = useNavbar(variant, defaultExpanded, expanded, onToggle, expand);
|
|
11381
11385
|
var classes = getStyles(styles$k, ['.navbar', expand && ".navbar-expand".concat(expand === true ? '' : "-".concat(expand))]);
|
|
@@ -11401,7 +11405,7 @@
|
|
|
11401
11405
|
}, []);
|
|
11402
11406
|
}
|
|
11403
11407
|
|
|
11404
|
-
var _excluded$
|
|
11408
|
+
var _excluded$m = ["children", "style"];
|
|
11405
11409
|
|
|
11406
11410
|
var _templateObject$j, _templateObject2$d;
|
|
11407
11411
|
var propTypes$q = {
|
|
@@ -11417,7 +11421,7 @@
|
|
|
11417
11421
|
var OffcanvasHeader = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
11418
11422
|
var children = props.children,
|
|
11419
11423
|
style = props.style,
|
|
11420
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11424
|
+
elementProps = _objectWithoutProperties(props, _excluded$m);
|
|
11421
11425
|
|
|
11422
11426
|
var navbar = React.useContext(NavbarContext);
|
|
11423
11427
|
var classes = getStyles(styles$j, ['.offcanvas-header', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .offcanvas-header")]);
|
|
@@ -11429,7 +11433,7 @@
|
|
|
11429
11433
|
OffcanvasHeader.displayName = 'OffcanvasHeader';
|
|
11430
11434
|
OffcanvasHeader.propTypes = propTypes$q;
|
|
11431
11435
|
|
|
11432
|
-
var _excluded$
|
|
11436
|
+
var _excluded$l = ["children", "style"];
|
|
11433
11437
|
|
|
11434
11438
|
var _templateObject$i;
|
|
11435
11439
|
var propTypes$p = {
|
|
@@ -11443,7 +11447,7 @@
|
|
|
11443
11447
|
var OffcanvasTitle = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
11444
11448
|
var children = props.children,
|
|
11445
11449
|
style = props.style,
|
|
11446
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11450
|
+
elementProps = _objectWithoutProperties(props, _excluded$l);
|
|
11447
11451
|
|
|
11448
11452
|
var classes = getStyles(styles$i, ['.offcanvas-title']);
|
|
11449
11453
|
return /*#__PURE__*/React__default["default"].createElement(Heading$2, _extends$1({
|
|
@@ -11456,7 +11460,7 @@
|
|
|
11456
11460
|
OffcanvasTitle.displayName = 'OffcanvasTitle';
|
|
11457
11461
|
OffcanvasTitle.propTypes = propTypes$p;
|
|
11458
11462
|
|
|
11459
|
-
var _excluded$
|
|
11463
|
+
var _excluded$k = ["children", "style", "contentContainerStyle"];
|
|
11460
11464
|
|
|
11461
11465
|
var _templateObject$h, _templateObject2$c;
|
|
11462
11466
|
var propTypes$o = {
|
|
@@ -11475,7 +11479,7 @@
|
|
|
11475
11479
|
var children = props.children,
|
|
11476
11480
|
style = props.style,
|
|
11477
11481
|
contentContainerStyle = props.contentContainerStyle,
|
|
11478
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11482
|
+
elementProps = _objectWithoutProperties(props, _excluded$k);
|
|
11479
11483
|
|
|
11480
11484
|
var navbar = React.useContext(NavbarContext);
|
|
11481
11485
|
var contentContainerClasses = getStyles(styles$h, ['.offcanvas-body', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .offcanvas-body")]);
|
|
@@ -11488,7 +11492,7 @@
|
|
|
11488
11492
|
OffcanvasBody.displayName = 'OffcanvasBody';
|
|
11489
11493
|
OffcanvasBody.propTypes = propTypes$o;
|
|
11490
11494
|
|
|
11491
|
-
var _excluded$
|
|
11495
|
+
var _excluded$j = ["children", "visible", "placement", "backdrop", "scroll", "onToggle", "style", "textStyle"];
|
|
11492
11496
|
|
|
11493
11497
|
var _templateObject$g, _templateObject2$b, _templateObject3$4, _templateObject4$3, _templateObject5$3, _templateObject6$2, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;
|
|
11494
11498
|
var PLACEMENTS = ['top', 'bottom', 'start', 'end']; // , 'auto'
|
|
@@ -11537,7 +11541,7 @@
|
|
|
11537
11541
|
handleToggle = props.onToggle,
|
|
11538
11542
|
style = props.style,
|
|
11539
11543
|
textStyle = props.textStyle,
|
|
11540
|
-
elementProps = _objectWithoutProperties(props, _excluded$
|
|
11544
|
+
elementProps = _objectWithoutProperties(props, _excluded$j);
|
|
11541
11545
|
|
|
11542
11546
|
var media = useMedia();
|
|
11543
11547
|
var navbar = React.useContext(NavbarContext);
|
|
@@ -11594,6 +11598,7 @@
|
|
|
11594
11598
|
var PickerWebContext = /*#__PURE__*/React__default["default"].createContext();
|
|
11595
11599
|
PickerWebContext.displayName = 'PickerWebContext';
|
|
11596
11600
|
|
|
11601
|
+
var _excluded$i = ["children", "selectedValue", "onValueChange", "onFocus", "onBlur", "placeholder", "placeholderTextColor", "disabled", "style"];
|
|
11597
11602
|
var propTypes$m = {
|
|
11598
11603
|
children: PropTypes.node.isRequired,
|
|
11599
11604
|
selectedValue: PropTypes.oneOfType([PropTypes.bool, PropTypes.number, PropTypes.string, PropTypes.object]),
|
|
@@ -11604,9 +11609,7 @@
|
|
|
11604
11609
|
placeholderTextColor: PropTypes.string,
|
|
11605
11610
|
disabled: PropTypes.bool,
|
|
11606
11611
|
// eslint-disable-next-line react/forbid-prop-types
|
|
11607
|
-
style: PropTypes.any
|
|
11608
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
11609
|
-
nativeID: PropTypes.any
|
|
11612
|
+
style: PropTypes.any
|
|
11610
11613
|
};
|
|
11611
11614
|
var PLACEHOLDER = '__PLACEHOLDER__';
|
|
11612
11615
|
|
|
@@ -11632,10 +11635,11 @@
|
|
|
11632
11635
|
placeholderTextColor = props.placeholderTextColor,
|
|
11633
11636
|
disabled = props.disabled,
|
|
11634
11637
|
style = props.style,
|
|
11635
|
-
|
|
11638
|
+
elementProps = _objectWithoutProperties(props, _excluded$i);
|
|
11639
|
+
|
|
11636
11640
|
var background = useBackground(style);
|
|
11637
11641
|
var showPlaceholder = placeholder && (selectedValue === undefined || selectedValue === null);
|
|
11638
|
-
return /*#__PURE__*/React__default["default"].createElement(reactNative.Picker, {
|
|
11642
|
+
return /*#__PURE__*/React__default["default"].createElement(reactNative.Picker, _extends$1({}, elementProps, {
|
|
11639
11643
|
ref: ref,
|
|
11640
11644
|
selectedValue: showPlaceholder ? PLACEHOLDER : selectedValue,
|
|
11641
11645
|
onValueChange: onValueChange,
|
|
@@ -11644,9 +11648,8 @@
|
|
|
11644
11648
|
disabled: disabled,
|
|
11645
11649
|
style: [background.style, showPlaceholder && {
|
|
11646
11650
|
color: placeholderTextColor
|
|
11647
|
-
}]
|
|
11648
|
-
|
|
11649
|
-
}, placeholder && /*#__PURE__*/React__default["default"].createElement("option", {
|
|
11651
|
+
}]
|
|
11652
|
+
}), placeholder && /*#__PURE__*/React__default["default"].createElement("option", {
|
|
11650
11653
|
value: PLACEHOLDER,
|
|
11651
11654
|
disabled: true,
|
|
11652
11655
|
hidden: true
|
|
@@ -11661,6 +11664,8 @@
|
|
|
11661
11664
|
var PickerNativeContext = /*#__PURE__*/React__default["default"].createContext();
|
|
11662
11665
|
PickerNativeContext.displayName = 'PickerNativeContext';
|
|
11663
11666
|
|
|
11667
|
+
var _excluded$h = ["children", "selectedValue", "onValueChange", "onFocus", "onBlur", "placeholder", "placeholderTextColor", "disabled", "style"];
|
|
11668
|
+
|
|
11664
11669
|
var _templateObject$f;
|
|
11665
11670
|
var propTypes$l = {
|
|
11666
11671
|
children: PropTypes.node.isRequired,
|
|
@@ -11672,9 +11677,7 @@
|
|
|
11672
11677
|
placeholderTextColor: PropTypes.string,
|
|
11673
11678
|
disabled: PropTypes.bool,
|
|
11674
11679
|
// eslint-disable-next-line react/forbid-prop-types
|
|
11675
|
-
style: PropTypes.any
|
|
11676
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
11677
|
-
nativeID: PropTypes.any
|
|
11680
|
+
style: PropTypes.any
|
|
11678
11681
|
};
|
|
11679
11682
|
var styles$f = StyleSheet.create({
|
|
11680
11683
|
menu: css(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n align-items: center;\n "])))
|
|
@@ -11711,7 +11714,7 @@
|
|
|
11711
11714
|
_props$disabled = props.disabled,
|
|
11712
11715
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
11713
11716
|
style = props.style,
|
|
11714
|
-
|
|
11717
|
+
elementProps = _objectWithoutProperties(props, _excluded$h);
|
|
11715
11718
|
|
|
11716
11719
|
var background = useBackground(style);
|
|
11717
11720
|
|
|
@@ -11731,7 +11734,7 @@
|
|
|
11731
11734
|
});
|
|
11732
11735
|
var textStyle = extractTextStyles(background.style);
|
|
11733
11736
|
var showPlaceholder = placeholder && (selectedValue === undefined || selectedValue === null);
|
|
11734
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Pressable, {
|
|
11737
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Pressable, _extends$1({}, elementProps, {
|
|
11735
11738
|
ref: ref,
|
|
11736
11739
|
accessibilityRole: "combobox",
|
|
11737
11740
|
accessibilityDisabled: disabled,
|
|
@@ -11744,9 +11747,8 @@
|
|
|
11744
11747
|
onFocus: onFocus,
|
|
11745
11748
|
onBlur: onBlur,
|
|
11746
11749
|
disabled: disabled,
|
|
11747
|
-
style: background.style
|
|
11748
|
-
|
|
11749
|
-
}, background.element, /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
11750
|
+
style: background.style
|
|
11751
|
+
}), background.element, /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
11750
11752
|
numberOfLines: 1,
|
|
11751
11753
|
style: [textStyle, showPlaceholder && {
|
|
11752
11754
|
color: placeholderTextColor
|