@razorpay/blade 7.0.0 → 7.0.2
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/CHANGELOG.md +13 -0
- package/build/components/index.d.ts +9 -1
- package/build/components/index.native.d.ts +9 -1
- package/build/components/index.native.js +3 -3
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +8 -4
- package/build/components/index.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 +2 -1
|
@@ -16949,7 +16949,7 @@ var useBladeInnerRef = function useBladeInnerRef(targetRef, handlers) {
|
|
|
16949
16949
|
React__default.useImperativeHandle(targetRef, function () {
|
|
16950
16950
|
var element = innerRef.current;
|
|
16951
16951
|
|
|
16952
|
-
if (element instanceof HTMLElement) {
|
|
16952
|
+
if (getPlatformType() !== 'react-native' && element instanceof HTMLElement) {
|
|
16953
16953
|
return {
|
|
16954
16954
|
focus: function focus(opts) {
|
|
16955
16955
|
return handlers !== null && handlers !== void 0 && handlers.onFocus ? handlers.onFocus(opts) : element.focus(opts);
|
|
@@ -18939,7 +18939,7 @@ var useInteraction = function useInteraction() {
|
|
|
18939
18939
|
};
|
|
18940
18940
|
};
|
|
18941
18941
|
|
|
18942
|
-
var _excluded$m = ["children", "icon", "iconPosition", "isDisabled", "onClick", "variant", "href", "target", "rel", "intent", "contrast", "accessibilityLabel", "className", "style", "size", "testID", "hitSlop"],
|
|
18942
|
+
var _excluded$m = ["children", "icon", "iconPosition", "isDisabled", "onClick", "variant", "href", "target", "rel", "intent", "contrast", "accessibilityLabel", "className", "style", "size", "testID", "hitSlop", "htmlTitle"],
|
|
18943
18943
|
_excluded2 = ["currentInteraction", "setCurrentInteraction"];
|
|
18944
18944
|
|
|
18945
18945
|
function ownKeys$A(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -19056,6 +19056,7 @@ var BaseLink = function BaseLink(_ref3) {
|
|
|
19056
19056
|
size = _ref3$size === void 0 ? 'medium' : _ref3$size,
|
|
19057
19057
|
testID = _ref3.testID,
|
|
19058
19058
|
hitSlop = _ref3.hitSlop,
|
|
19059
|
+
htmlTitle = _ref3.htmlTitle,
|
|
19059
19060
|
styledProps = _objectWithoutProperties(_ref3, _excluded$m);
|
|
19060
19061
|
|
|
19061
19062
|
var _useState = useState(false),
|
|
@@ -19144,6 +19145,7 @@ var BaseLink = function BaseLink(_ref3) {
|
|
|
19144
19145
|
className: className,
|
|
19145
19146
|
style: style,
|
|
19146
19147
|
hitSlop: hitSlop,
|
|
19148
|
+
title: htmlTitle,
|
|
19147
19149
|
children: /*#__PURE__*/jsxs(BaseBox, {
|
|
19148
19150
|
display: "flex",
|
|
19149
19151
|
flexDirection: "row",
|
|
@@ -19823,7 +19825,7 @@ var CardBody = /*#__PURE__*/assignWithoutSideEffects(_CardBody, {
|
|
|
19823
19825
|
componentId: ComponentIds$1.CardBody
|
|
19824
19826
|
});
|
|
19825
19827
|
|
|
19826
|
-
var _excluded$i = ["children", "icon", "iconPosition", "isDisabled", "onClick", "variant", "href", "target", "rel", "accessibilityLabel", "size", "testID", "hitSlop"];
|
|
19828
|
+
var _excluded$i = ["children", "icon", "iconPosition", "isDisabled", "onClick", "variant", "href", "target", "rel", "accessibilityLabel", "size", "testID", "hitSlop", "htmlTitle"];
|
|
19827
19829
|
|
|
19828
19830
|
function ownKeys$u(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
19829
19831
|
|
|
@@ -19847,6 +19849,7 @@ var Link = function Link(_ref) {
|
|
|
19847
19849
|
size = _ref$size === void 0 ? 'medium' : _ref$size,
|
|
19848
19850
|
testID = _ref.testID,
|
|
19849
19851
|
hitSlop = _ref.hitSlop,
|
|
19852
|
+
htmlTitle = _ref.htmlTitle,
|
|
19850
19853
|
styledProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
19851
19854
|
|
|
19852
19855
|
return /*#__PURE__*/jsx(BaseLink, _objectSpread$u(_objectSpread$u(_objectSpread$u({}, icon ? {
|
|
@@ -19868,7 +19871,8 @@ var Link = function Link(_ref) {
|
|
|
19868
19871
|
accessibilityLabel: accessibilityLabel,
|
|
19869
19872
|
size: size,
|
|
19870
19873
|
testID: testID,
|
|
19871
|
-
hitSlop: hitSlop
|
|
19874
|
+
hitSlop: hitSlop,
|
|
19875
|
+
htmlTitle: htmlTitle
|
|
19872
19876
|
}, styledProps));
|
|
19873
19877
|
};
|
|
19874
19878
|
|