@razorpay/blade 10.14.7 → 10.15.0
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 +16 -4
- 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 +3 -3
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +16 -4
- 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
|
@@ -2852,7 +2852,7 @@ var getAllProps = function getAllProps(props, breakpoint) {
|
|
|
2852
2852
|
var hasBorderLeft = props.borderLeft || props.borderLeftColor || props.borderLeftWidth;
|
|
2853
2853
|
var hasBorderTop = props.borderTop || props.borderTopColor || props.borderTopWidth;
|
|
2854
2854
|
var hasBorderBottom = props.borderBottom || props.borderBottomColor || props.borderBottomWidth;
|
|
2855
|
-
return _objectSpread$6h(_objectSpread$6h({
|
|
2855
|
+
return _objectSpread$6h(_objectSpread$6h(_objectSpread$6h({
|
|
2856
2856
|
display: getResponsiveValue(props.display, breakpoint),
|
|
2857
2857
|
overflow: getResponsiveValue(props.overflow, breakpoint),
|
|
2858
2858
|
overflowX: getResponsiveValue(props.overflowX, breakpoint),
|
|
@@ -2953,9 +2953,15 @@ var getAllProps = function getAllProps(props, breakpoint) {
|
|
|
2953
2953
|
touchAction: getResponsiveValue(props.touchAction, breakpoint),
|
|
2954
2954
|
userSelect: getResponsiveValue(props.userSelect, breakpoint),
|
|
2955
2955
|
pointerEvents: getResponsiveValue(props.pointerEvents),
|
|
2956
|
-
opacity: getResponsiveValue(props.opacity, breakpoint)
|
|
2956
|
+
opacity: getResponsiveValue(props.opacity, breakpoint),
|
|
2957
|
+
visibility: getResponsiveValue(props.visibility, breakpoint)
|
|
2957
2958
|
}, !isReactNative$4() && {
|
|
2958
2959
|
boxShadow: getElevationValue(props.elevation, props.theme, breakpoint)
|
|
2960
|
+
}), {}, {
|
|
2961
|
+
// Polygon support
|
|
2962
|
+
transform: getResponsiveValue(props.transform, breakpoint),
|
|
2963
|
+
transformOrigin: getResponsiveValue(props.transformOrigin, breakpoint),
|
|
2964
|
+
clipPath: getResponsiveValue(props.clipPath, breakpoint)
|
|
2959
2965
|
});
|
|
2960
2966
|
};
|
|
2961
2967
|
|
|
@@ -3558,6 +3564,8 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
3558
3564
|
backgroundOrigin: props.backgroundOrigin,
|
|
3559
3565
|
backgroundRepeat: props.backgroundRepeat,
|
|
3560
3566
|
elevation: props.elevation,
|
|
3567
|
+
opacity: props.opacity,
|
|
3568
|
+
visibility: props.visibility,
|
|
3561
3569
|
// Border
|
|
3562
3570
|
borderWidth: props.borderWidth,
|
|
3563
3571
|
borderColor: props.borderColor,
|
|
@@ -3574,6 +3582,10 @@ var makeBoxProps = function makeBoxProps(props) {
|
|
|
3574
3582
|
borderTopRightRadius: props.borderTopRightRadius,
|
|
3575
3583
|
borderBottomRightRadius: props.borderBottomRightRadius,
|
|
3576
3584
|
borderBottomLeftRadius: props.borderBottomLeftRadius,
|
|
3585
|
+
// Polygon Support
|
|
3586
|
+
transform: props.transform,
|
|
3587
|
+
transformOrigin: props.transformOrigin,
|
|
3588
|
+
clipPath: props.clipPath,
|
|
3577
3589
|
// callbacks
|
|
3578
3590
|
onMouseEnter: props.onMouseEnter,
|
|
3579
3591
|
onMouseLeave: props.onMouseLeave,
|
|
@@ -22055,7 +22067,7 @@ var BaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref11, ref) {
|
|
|
22055
22067
|
id: labelId,
|
|
22056
22068
|
htmlFor: inputId,
|
|
22057
22069
|
children: label
|
|
22058
|
-
}), trailingHeaderSlot === null || trailingHeaderSlot === void 0 ? void 0 : trailingHeaderSlot(inputValue)]
|
|
22070
|
+
}), trailingHeaderSlot === null || trailingHeaderSlot === void 0 ? void 0 : trailingHeaderSlot(value !== null && value !== void 0 ? value : inputValue)]
|
|
22059
22071
|
}), /*#__PURE__*/jsxs(BaseInputWrapper, {
|
|
22060
22072
|
isDropdownTrigger: isDropdownTrigger,
|
|
22061
22073
|
isTextArea: isTextArea,
|
|
@@ -22167,7 +22179,7 @@ var BaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref11, ref) {
|
|
|
22167
22179
|
helpTextId: helpTextId,
|
|
22168
22180
|
errorTextId: errorTextId,
|
|
22169
22181
|
successTextId: successTextId
|
|
22170
|
-
}), trailingFooterSlot === null || trailingFooterSlot === void 0 ? void 0 : trailingFooterSlot(inputValue)]
|
|
22182
|
+
}), trailingFooterSlot === null || trailingFooterSlot === void 0 ? void 0 : trailingFooterSlot(value !== null && value !== void 0 ? value : inputValue)]
|
|
22171
22183
|
})
|
|
22172
22184
|
})]
|
|
22173
22185
|
}));
|