@razorpay/blade 10.14.7 → 10.15.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/build/components/index.d.ts +81 -36
- package/build/components/index.development.web.js +27 -14
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +21 -36
- package/build/components/index.native.js +5 -5
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +27 -14
- package/build/components/index.production.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +1 -1
|
@@ -1359,7 +1359,7 @@ declare type CommonBoxVisualProps = MakeObjectResponsive<{
|
|
|
1359
1359
|
borderTopRightRadius: keyof Border['radius'];
|
|
1360
1360
|
borderBottomRightRadius: keyof Border['radius'];
|
|
1361
1361
|
borderBottomLeftRadius: keyof Border['radius'];
|
|
1362
|
-
} & PickCSSByPlatform<'backgroundImage' | 'backgroundSize' | 'backgroundPosition' | 'backgroundOrigin' | 'backgroundRepeat' | 'pointerEvents'> & {
|
|
1362
|
+
} & PickCSSByPlatform<'backgroundImage' | 'backgroundSize' | 'backgroundPosition' | 'backgroundOrigin' | 'backgroundRepeat' | 'pointerEvents' | 'opacity' | 'visibility' | 'transform' | 'transformOrigin' | 'clipPath'> & {
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Sets the elevation for Box
|
|
1365
1365
|
*
|
|
@@ -2667,6 +2667,22 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2667
2667
|
readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
|
|
2668
2668
|
readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
|
|
2669
2669
|
};
|
|
2670
|
+
clipPath?: csstype.Property.ClipPath | {
|
|
2671
|
+
readonly base?: csstype.Property.ClipPath | undefined;
|
|
2672
|
+
readonly xs?: csstype.Property.ClipPath | undefined;
|
|
2673
|
+
readonly s?: csstype.Property.ClipPath | undefined;
|
|
2674
|
+
readonly m?: csstype.Property.ClipPath | undefined;
|
|
2675
|
+
readonly l?: csstype.Property.ClipPath | undefined;
|
|
2676
|
+
readonly xl?: csstype.Property.ClipPath | undefined;
|
|
2677
|
+
} | undefined;
|
|
2678
|
+
opacity?: csstype.Property.Opacity | {
|
|
2679
|
+
readonly base?: csstype.Property.Opacity | undefined;
|
|
2680
|
+
readonly xs?: csstype.Property.Opacity | undefined;
|
|
2681
|
+
readonly s?: csstype.Property.Opacity | undefined;
|
|
2682
|
+
readonly m?: csstype.Property.Opacity | undefined;
|
|
2683
|
+
readonly l?: csstype.Property.Opacity | undefined;
|
|
2684
|
+
readonly xl?: csstype.Property.Opacity | undefined;
|
|
2685
|
+
} | undefined;
|
|
2670
2686
|
pointerEvents?: csstype.Property.PointerEvents | {
|
|
2671
2687
|
readonly base?: csstype.Property.PointerEvents | undefined;
|
|
2672
2688
|
readonly xs?: csstype.Property.PointerEvents | undefined;
|
|
@@ -2675,6 +2691,30 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2675
2691
|
readonly l?: csstype.Property.PointerEvents | undefined;
|
|
2676
2692
|
readonly xl?: csstype.Property.PointerEvents | undefined;
|
|
2677
2693
|
} | undefined;
|
|
2694
|
+
transform?: csstype.Property.Transform | {
|
|
2695
|
+
readonly base?: csstype.Property.Transform | undefined;
|
|
2696
|
+
readonly xs?: csstype.Property.Transform | undefined;
|
|
2697
|
+
readonly s?: csstype.Property.Transform | undefined;
|
|
2698
|
+
readonly m?: csstype.Property.Transform | undefined;
|
|
2699
|
+
readonly l?: csstype.Property.Transform | undefined;
|
|
2700
|
+
readonly xl?: csstype.Property.Transform | undefined;
|
|
2701
|
+
} | undefined;
|
|
2702
|
+
transformOrigin?: csstype.Property.TransformOrigin<string | number> | {
|
|
2703
|
+
readonly base?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
2704
|
+
readonly xs?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
2705
|
+
readonly s?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
2706
|
+
readonly m?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
2707
|
+
readonly l?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
2708
|
+
readonly xl?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
2709
|
+
} | undefined;
|
|
2710
|
+
visibility?: csstype.Property.Visibility | {
|
|
2711
|
+
readonly base?: csstype.Property.Visibility | undefined;
|
|
2712
|
+
readonly xs?: csstype.Property.Visibility | undefined;
|
|
2713
|
+
readonly s?: csstype.Property.Visibility | undefined;
|
|
2714
|
+
readonly m?: csstype.Property.Visibility | undefined;
|
|
2715
|
+
readonly l?: csstype.Property.Visibility | undefined;
|
|
2716
|
+
readonly xl?: csstype.Property.Visibility | undefined;
|
|
2717
|
+
} | undefined;
|
|
2678
2718
|
backgroundPosition?: csstype.Property.BackgroundPosition<string | number> | {
|
|
2679
2719
|
readonly base?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
2680
2720
|
readonly xs?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
@@ -2716,41 +2756,6 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2716
2756
|
readonly xl?: "platform-web" | undefined;
|
|
2717
2757
|
} | undefined;
|
|
2718
2758
|
} & MakeObjectResponsive<{
|
|
2719
|
-
/**
|
|
2720
|
-
* ## Box
|
|
2721
|
-
*
|
|
2722
|
-
* Box is the basic Layout component.
|
|
2723
|
-
*
|
|
2724
|
-
*
|
|
2725
|
-
* Box components supports most spacing CSS properties like `display`, `padding*`, `flex*`, `height`, `width`, etc.
|
|
2726
|
-
*
|
|
2727
|
-
* Check out {@linkcode BoxProps BoxPropsType} for complete list of props and [Layout RFC](https://github.com/razorpay/blade/blob/master/rfcs/2023-01-06-layout.md) for more details on API decision.
|
|
2728
|
-
*
|
|
2729
|
-
* ----
|
|
2730
|
-
*
|
|
2731
|
-
* ### Usage
|
|
2732
|
-
*
|
|
2733
|
-
* ```jsx
|
|
2734
|
-
* <Box display="flex">
|
|
2735
|
-
* ```
|
|
2736
|
-
|
|
2737
|
-
* #### Responsive Props
|
|
2738
|
-
*
|
|
2739
|
-
* ```jsx
|
|
2740
|
-
* <Box padding={{ base: 'spacing.3', m: 'spacing.10' }} />
|
|
2741
|
-
* ```
|
|
2742
|
-
*
|
|
2743
|
-
* #### Margin and Padding Shorthands
|
|
2744
|
-
*
|
|
2745
|
-
* ```jsx
|
|
2746
|
-
* <Box padding={["spacing.3", "spacing.10"]} />
|
|
2747
|
-
* ```
|
|
2748
|
-
*
|
|
2749
|
-
* ---
|
|
2750
|
-
*
|
|
2751
|
-
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-box Box Documentation}
|
|
2752
|
-
*
|
|
2753
|
-
*/
|
|
2754
2759
|
backgroundColor: "brand.primary.300" | "brand.primary.400" | "brand.primary.500" | "brand.primary.600" | "brand.primary.700" | "brand.primary.800" | "brand.secondary.500" | "brand.gray.200.lowContrast" | "brand.gray.200.highContrast" | "brand.gray.300.lowContrast" | "brand.gray.300.highContrast" | "brand.gray.400.lowContrast" | "brand.gray.400.highContrast" | "brand.gray.500.lowContrast" | "brand.gray.500.highContrast" | "brand.gray.600.lowContrast" | "brand.gray.600.highContrast" | "brand.gray.700.lowContrast" | "brand.gray.700.highContrast" | "brand.gray.a50.lowContrast" | "brand.gray.a50.highContrast" | "brand.gray.a100.lowContrast" | "brand.gray.a100.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "transparent";
|
|
2755
2760
|
}, "backgroundColor"> & {
|
|
2756
2761
|
as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
|
|
@@ -7922,6 +7927,22 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7922
7927
|
readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
|
|
7923
7928
|
readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
|
|
7924
7929
|
};
|
|
7930
|
+
clipPath?: csstype.Property.ClipPath | {
|
|
7931
|
+
readonly base?: csstype.Property.ClipPath | undefined;
|
|
7932
|
+
readonly xs?: csstype.Property.ClipPath | undefined;
|
|
7933
|
+
readonly s?: csstype.Property.ClipPath | undefined;
|
|
7934
|
+
readonly m?: csstype.Property.ClipPath | undefined;
|
|
7935
|
+
readonly l?: csstype.Property.ClipPath | undefined;
|
|
7936
|
+
readonly xl?: csstype.Property.ClipPath | undefined;
|
|
7937
|
+
} | undefined;
|
|
7938
|
+
opacity?: csstype.Property.Opacity | {
|
|
7939
|
+
readonly base?: csstype.Property.Opacity | undefined;
|
|
7940
|
+
readonly xs?: csstype.Property.Opacity | undefined;
|
|
7941
|
+
readonly s?: csstype.Property.Opacity | undefined;
|
|
7942
|
+
readonly m?: csstype.Property.Opacity | undefined;
|
|
7943
|
+
readonly l?: csstype.Property.Opacity | undefined;
|
|
7944
|
+
readonly xl?: csstype.Property.Opacity | undefined;
|
|
7945
|
+
} | undefined;
|
|
7925
7946
|
pointerEvents?: csstype.Property.PointerEvents | {
|
|
7926
7947
|
readonly base?: csstype.Property.PointerEvents | undefined;
|
|
7927
7948
|
readonly xs?: csstype.Property.PointerEvents | undefined;
|
|
@@ -7930,6 +7951,30 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
7930
7951
|
readonly l?: csstype.Property.PointerEvents | undefined;
|
|
7931
7952
|
readonly xl?: csstype.Property.PointerEvents | undefined;
|
|
7932
7953
|
} | undefined;
|
|
7954
|
+
transform?: csstype.Property.Transform | {
|
|
7955
|
+
readonly base?: csstype.Property.Transform | undefined;
|
|
7956
|
+
readonly xs?: csstype.Property.Transform | undefined;
|
|
7957
|
+
readonly s?: csstype.Property.Transform | undefined;
|
|
7958
|
+
readonly m?: csstype.Property.Transform | undefined;
|
|
7959
|
+
readonly l?: csstype.Property.Transform | undefined;
|
|
7960
|
+
readonly xl?: csstype.Property.Transform | undefined;
|
|
7961
|
+
} | undefined;
|
|
7962
|
+
transformOrigin?: csstype.Property.TransformOrigin<string | number> | {
|
|
7963
|
+
readonly base?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
7964
|
+
readonly xs?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
7965
|
+
readonly s?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
7966
|
+
readonly m?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
7967
|
+
readonly l?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
7968
|
+
readonly xl?: csstype.Property.TransformOrigin<string | number> | undefined;
|
|
7969
|
+
} | undefined;
|
|
7970
|
+
visibility?: csstype.Property.Visibility | {
|
|
7971
|
+
readonly base?: csstype.Property.Visibility | undefined;
|
|
7972
|
+
readonly xs?: csstype.Property.Visibility | undefined;
|
|
7973
|
+
readonly s?: csstype.Property.Visibility | undefined;
|
|
7974
|
+
readonly m?: csstype.Property.Visibility | undefined;
|
|
7975
|
+
readonly l?: csstype.Property.Visibility | undefined;
|
|
7976
|
+
readonly xl?: csstype.Property.Visibility | undefined;
|
|
7977
|
+
} | undefined;
|
|
7933
7978
|
backgroundPosition?: csstype.Property.BackgroundPosition<string | number> | {
|
|
7934
7979
|
readonly base?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
7935
7980
|
readonly xs?: csstype.Property.BackgroundPosition<string | number> | undefined;
|
|
@@ -2937,7 +2937,7 @@ var getAllProps = function getAllProps(props, breakpoint) {
|
|
|
2937
2937
|
var hasBorderLeft = props.borderLeft || props.borderLeftColor || props.borderLeftWidth;
|
|
2938
2938
|
var hasBorderTop = props.borderTop || props.borderTopColor || props.borderTopWidth;
|
|
2939
2939
|
var hasBorderBottom = props.borderBottom || props.borderBottomColor || props.borderBottomWidth;
|
|
2940
|
-
return _objectSpread$6h(_objectSpread$6h({
|
|
2940
|
+
return _objectSpread$6h(_objectSpread$6h(_objectSpread$6h({
|
|
2941
2941
|
display: getResponsiveValue(props.display, breakpoint),
|
|
2942
2942
|
overflow: getResponsiveValue(props.overflow, breakpoint),
|
|
2943
2943
|
overflowX: getResponsiveValue(props.overflowX, breakpoint),
|
|
@@ -3038,9 +3038,15 @@ var getAllProps = function getAllProps(props, breakpoint) {
|
|
|
3038
3038
|
touchAction: getResponsiveValue(props.touchAction, breakpoint),
|
|
3039
3039
|
userSelect: getResponsiveValue(props.userSelect, breakpoint),
|
|
3040
3040
|
pointerEvents: getResponsiveValue(props.pointerEvents),
|
|
3041
|
-
opacity: getResponsiveValue(props.opacity, breakpoint)
|
|
3041
|
+
opacity: getResponsiveValue(props.opacity, breakpoint),
|
|
3042
|
+
visibility: getResponsiveValue(props.visibility, breakpoint)
|
|
3042
3043
|
}, !isReactNative$4() && {
|
|
3043
3044
|
boxShadow: getElevationValue(props.elevation, props.theme, breakpoint)
|
|
3045
|
+
}), {}, {
|
|
3046
|
+
// Polygon support
|
|
3047
|
+
transform: getResponsiveValue(props.transform, breakpoint),
|
|
3048
|
+
transformOrigin: getResponsiveValue(props.transformOrigin, breakpoint),
|
|
3049
|
+
clipPath: getResponsiveValue(props.clipPath, breakpoint)
|
|
3044
3050
|
});
|
|
3045
3051
|
};
|
|
3046
3052
|
|
|
@@ -3698,6 +3704,8 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
3698
3704
|
backgroundOrigin: props.backgroundOrigin,
|
|
3699
3705
|
backgroundRepeat: props.backgroundRepeat,
|
|
3700
3706
|
elevation: props.elevation,
|
|
3707
|
+
opacity: props.opacity,
|
|
3708
|
+
visibility: props.visibility,
|
|
3701
3709
|
// Border
|
|
3702
3710
|
borderWidth: props.borderWidth,
|
|
3703
3711
|
borderColor: props.borderColor,
|
|
@@ -3714,6 +3722,10 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
3714
3722
|
borderTopRightRadius: props.borderTopRightRadius,
|
|
3715
3723
|
borderBottomRightRadius: props.borderBottomRightRadius,
|
|
3716
3724
|
borderBottomLeftRadius: props.borderBottomLeftRadius,
|
|
3725
|
+
// Polygon Support
|
|
3726
|
+
transform: props.transform,
|
|
3727
|
+
transformOrigin: props.transformOrigin,
|
|
3728
|
+
clipPath: props.clipPath,
|
|
3717
3729
|
// callbacks
|
|
3718
3730
|
onMouseEnter: props.onMouseEnter,
|
|
3719
3731
|
onMouseLeave: props.onMouseLeave,
|
|
@@ -16194,15 +16206,15 @@ var MAX_WIDTH$2 = size[584];
|
|
|
16194
16206
|
var getCommonStyles = function getCommonStyles(props) {
|
|
16195
16207
|
var theme = props.theme,
|
|
16196
16208
|
contrastType = props.contrastType,
|
|
16197
|
-
|
|
16209
|
+
color = props.color,
|
|
16198
16210
|
isFullWidth = props.isFullWidth,
|
|
16199
16211
|
isDesktop = props.isDesktop;
|
|
16200
16212
|
var feedbackColors = theme.colors.feedback;
|
|
16201
16213
|
return {
|
|
16202
|
-
background: feedbackColors.background[
|
|
16214
|
+
background: feedbackColors.background[color][contrastType],
|
|
16203
16215
|
padding: isFullWidth ? "".concat(makeSpace(theme.spacing[4]), " ").concat(makeSpace(theme.spacing[5])) : "".concat(makeSpace(theme.spacing[3]), " ").concat(makeSpace(theme.spacing[3]), " ").concat(makeSpace(theme.spacing[4]), " ").concat(makeSpace(theme.spacing[3])),
|
|
16204
16216
|
borderRadius: makeBorderSize(isFullWidth ? theme.border.radius.none : theme.border.radius.medium),
|
|
16205
|
-
borderColor: feedbackColors.border[
|
|
16217
|
+
borderColor: feedbackColors.border[color][contrastType],
|
|
16206
16218
|
borderWidth: makeBorderSize(isFullWidth ? theme.border.width.none : theme.border.width.thin),
|
|
16207
16219
|
borderStyle: 'solid',
|
|
16208
16220
|
display: 'flex',
|
|
@@ -17485,7 +17497,8 @@ var Alert = function Alert(_ref) {
|
|
|
17485
17497
|
var contrastType = "".concat(contrast, "Contrast");
|
|
17486
17498
|
var iconSize = isFullWidth ? 'large' : 'medium';
|
|
17487
17499
|
var textSize = isFullWidth ? 'medium' : 'small';
|
|
17488
|
-
var
|
|
17500
|
+
var alertColor = color !== null && color !== void 0 ? color : intent;
|
|
17501
|
+
var Icon = intentIconMap[alertColor];
|
|
17489
17502
|
var iconOffset = 'spacing.1';
|
|
17490
17503
|
|
|
17491
17504
|
// certain special cases below needs special care for near perfect alignment
|
|
@@ -17510,7 +17523,7 @@ var Alert = function Alert(_ref) {
|
|
|
17510
17523
|
marginTop: iconOffset,
|
|
17511
17524
|
display: "flex",
|
|
17512
17525
|
children: /*#__PURE__*/jsx(Icon, {
|
|
17513
|
-
color: "feedback.icon.".concat(
|
|
17526
|
+
color: "feedback.icon.".concat(alertColor, ".").concat(contrastType),
|
|
17514
17527
|
size: iconSize
|
|
17515
17528
|
})
|
|
17516
17529
|
});
|
|
@@ -17543,7 +17556,7 @@ var Alert = function Alert(_ref) {
|
|
|
17543
17556
|
children: /*#__PURE__*/jsx(BaseButton, {
|
|
17544
17557
|
size: textSize,
|
|
17545
17558
|
onClick: actions.primary.onClick,
|
|
17546
|
-
color:
|
|
17559
|
+
color: alertColor,
|
|
17547
17560
|
variant: contrast === 'high' ? 'primary' : 'secondary',
|
|
17548
17561
|
children: actions.primary.text
|
|
17549
17562
|
})
|
|
@@ -17568,7 +17581,7 @@ var Alert = function Alert(_ref) {
|
|
|
17568
17581
|
display: isReactNative$3 ? castNativeType('flex') : castWebType('inline-flex'),
|
|
17569
17582
|
children: /*#__PURE__*/jsx(BaseLink, _objectSpread$1j(_objectSpread$1j({
|
|
17570
17583
|
size: textSize,
|
|
17571
|
-
color: contrast === 'high' ? 'white' :
|
|
17584
|
+
color: contrast === 'high' ? 'white' : alertColor
|
|
17572
17585
|
}, secondaryActionParams), {}, {
|
|
17573
17586
|
children: actions.secondary.text
|
|
17574
17587
|
}))
|
|
@@ -17604,8 +17617,8 @@ var Alert = function Alert(_ref) {
|
|
|
17604
17617
|
}) : null;
|
|
17605
17618
|
var a11yProps = makeAccessible(_objectSpread$1j({
|
|
17606
17619
|
// React Native doesn't has status as role
|
|
17607
|
-
role: isReactNative$3 ||
|
|
17608
|
-
},
|
|
17620
|
+
role: isReactNative$3 || alertColor === 'negative' || alertColor === 'notice' ? 'alert' : 'status'
|
|
17621
|
+
}, alertColor === 'notice' && {
|
|
17609
17622
|
liveRegion: 'polite'
|
|
17610
17623
|
}));
|
|
17611
17624
|
if (!isVisible) {
|
|
@@ -17616,7 +17629,7 @@ var Alert = function Alert(_ref) {
|
|
|
17616
17629
|
testID: testID
|
|
17617
17630
|
})), getStyledProps(styledProps)), {}, {
|
|
17618
17631
|
children: /*#__PURE__*/jsxs(StyledAlert, {
|
|
17619
|
-
|
|
17632
|
+
color: alertColor,
|
|
17620
17633
|
contrastType: contrastType,
|
|
17621
17634
|
isFullWidth: isFullWidth,
|
|
17622
17635
|
isDesktop: isDesktop,
|
|
@@ -22454,7 +22467,7 @@ var BaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref11, ref) {
|
|
|
22454
22467
|
id: labelId,
|
|
22455
22468
|
htmlFor: inputId,
|
|
22456
22469
|
children: label
|
|
22457
|
-
}), trailingHeaderSlot === null || trailingHeaderSlot === void 0 ? void 0 : trailingHeaderSlot(inputValue)]
|
|
22470
|
+
}), trailingHeaderSlot === null || trailingHeaderSlot === void 0 ? void 0 : trailingHeaderSlot(value !== null && value !== void 0 ? value : inputValue)]
|
|
22458
22471
|
}), /*#__PURE__*/jsxs(BaseInputWrapper, {
|
|
22459
22472
|
isDropdownTrigger: isDropdownTrigger,
|
|
22460
22473
|
isTextArea: isTextArea,
|
|
@@ -22566,7 +22579,7 @@ var BaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref11, ref) {
|
|
|
22566
22579
|
helpTextId: helpTextId,
|
|
22567
22580
|
errorTextId: errorTextId,
|
|
22568
22581
|
successTextId: successTextId
|
|
22569
|
-
}), trailingFooterSlot === null || trailingFooterSlot === void 0 ? void 0 : trailingFooterSlot(inputValue)]
|
|
22582
|
+
}), trailingFooterSlot === null || trailingFooterSlot === void 0 ? void 0 : trailingFooterSlot(value !== null && value !== void 0 ? value : inputValue)]
|
|
22570
22583
|
})
|
|
22571
22584
|
})]
|
|
22572
22585
|
}));
|