@razorpay/blade 10.14.6 → 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.
@@ -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,
@@ -19147,8 +19159,6 @@ var Carousel = function Carousel(_ref4) {
19147
19159
 
19148
19160
  // Sync the indicators with scroll
19149
19161
  React__default.useEffect(function () {
19150
- // do not sync indicators on desktop, we are already in sync because we can only use the next/prev buttons
19151
- if (!isMobile) return;
19152
19162
  var carouselContainer = containerRef.current;
19153
19163
  if (!carouselContainer) return;
19154
19164
  var handleScroll = debounce$2(function () {
@@ -22057,7 +22067,7 @@ var BaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref11, ref) {
22057
22067
  id: labelId,
22058
22068
  htmlFor: inputId,
22059
22069
  children: label
22060
- }), 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)]
22061
22071
  }), /*#__PURE__*/jsxs(BaseInputWrapper, {
22062
22072
  isDropdownTrigger: isDropdownTrigger,
22063
22073
  isTextArea: isTextArea,
@@ -22169,7 +22179,7 @@ var BaseInput = /*#__PURE__*/React__default.forwardRef(function (_ref11, ref) {
22169
22179
  helpTextId: helpTextId,
22170
22180
  errorTextId: errorTextId,
22171
22181
  successTextId: successTextId
22172
- }), 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)]
22173
22183
  })
22174
22184
  })]
22175
22185
  }));