@razorpay/blade 6.3.0 → 6.4.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/CHANGELOG.md +12 -0
- package/build/components/index.d.ts +447 -333
- package/build/components/index.native.d.ts +446 -332
- package/build/components/index.native.js +47 -17248
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +379 -17389
- 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 +5 -1
- package/build/utils/index.native.d.ts +5 -1
- package/build/utils/index.native.js +3 -3
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.web.js +12 -6
- package/build/utils/index.web.js.map +1 -1
- package/package.json +1 -1
package/build/utils/index.web.js
CHANGED
|
@@ -2787,11 +2787,6 @@ function cloneDeep(value) {
|
|
|
2787
2787
|
|
|
2788
2788
|
var cloneDeep_1 = cloneDeep;
|
|
2789
2789
|
|
|
2790
|
-
var metaAttribute = function metaAttribute(name, value) {
|
|
2791
|
-
if (!value) return {};
|
|
2792
|
-
return _defineProperty$1({}, "data-".concat(name), value);
|
|
2793
|
-
};
|
|
2794
|
-
|
|
2795
2790
|
var MetaConstants = {
|
|
2796
2791
|
ActionList: 'action-list',
|
|
2797
2792
|
ActionListFooter: 'action-list-footer',
|
|
@@ -2823,7 +2818,18 @@ var MetaConstants = {
|
|
|
2823
2818
|
Card: 'card',
|
|
2824
2819
|
CardBody: 'card-body',
|
|
2825
2820
|
CardHeader: 'card-header',
|
|
2826
|
-
CardFooter: 'card-footer'
|
|
2821
|
+
CardFooter: 'card-footer',
|
|
2822
|
+
VisuallyHidden: 'visually-hidden'
|
|
2823
|
+
};
|
|
2824
|
+
|
|
2825
|
+
function ownKeys$3(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; }
|
|
2826
|
+
|
|
2827
|
+
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2828
|
+
|
|
2829
|
+
var metaAttribute = function metaAttribute(_ref) {
|
|
2830
|
+
var name = _ref.name,
|
|
2831
|
+
testID = _ref.testID;
|
|
2832
|
+
return _objectSpread$3(_objectSpread$3({}, name ? _defineProperty$1({}, "data-".concat(MetaConstants.Component), name) : {}), testID ? _defineProperty$1({}, "data-testid", testID) : {});
|
|
2827
2833
|
};
|
|
2828
2834
|
|
|
2829
2835
|
var getColorScheme = function getColorScheme() {
|