@razorpay/blade 6.6.0 → 6.6.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/CHANGELOG.md +8 -0
- package/build/components/index.d.ts +62 -167
- package/build/components/index.native.d.ts +62 -170
- package/build/components/index.native.js +27 -25
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +213 -88
- 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/build/utils/index.d.ts +1 -7
- package/build/utils/index.native.d.ts +1 -7
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.web.js +3 -5
- package/build/utils/index.web.js.map +1 -1
- package/package.json +1 -1
package/build/utils/index.web.js
CHANGED
|
@@ -3920,17 +3920,15 @@ function isEqual(value, other) {
|
|
|
3920
3920
|
var isEqual_1 = isEqual;
|
|
3921
3921
|
|
|
3922
3922
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3923
|
-
/**
|
|
3924
|
-
* A type defining React component with additional static prop `componentId`
|
|
3925
|
-
*/
|
|
3926
|
-
|
|
3927
3923
|
/**
|
|
3928
3924
|
* Gets the `componentId` prop of React component if it exists.
|
|
3929
3925
|
*/
|
|
3926
|
+
|
|
3930
3927
|
var getComponentId = function getComponentId(component) {
|
|
3931
3928
|
var _component$type;
|
|
3932
3929
|
|
|
3933
|
-
if (! /*#__PURE__*/React.isValidElement(component)) return null;
|
|
3930
|
+
if (! /*#__PURE__*/React.isValidElement(component)) return null; // eslint-disable-next-line no-restricted-properties
|
|
3931
|
+
|
|
3934
3932
|
return (_component$type = component.type) === null || _component$type === void 0 ? void 0 : _component$type.componentId;
|
|
3935
3933
|
};
|
|
3936
3934
|
/**
|