@razorpay/blade 7.2.0 → 7.2.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.native.d.ts +4 -4
- package/build/components/index.native.js +4 -4
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +22 -16
- 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/tokens/index.native.js +1 -1
- package/build/utils/index.native.d.ts +1 -1
- package/build/utils/index.native.js +3 -3
- package/build/utils/index.native.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
2
|
import { Platform } from 'react-native';
|
|
3
|
+
import '@babel/runtime/helpers/defineProperty';
|
|
3
4
|
import 'react';
|
|
4
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
5
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import { Easing } from 'react-native-reanimated';
|
|
7
7
|
|
|
8
8
|
var opacities={0:0,1:0.09,2:0.18,3:0.32,4:1.0,5:1.0,6:1.0,7:1.0,8:1.0,9:1.0};
|
|
@@ -7,7 +7,7 @@ import { AccessibilityRole, Platform as Platform$2 } from 'react-native';
|
|
|
7
7
|
import { EasingFunctionFactory } from 'react-native-reanimated';
|
|
8
8
|
export { default as merge } from 'lodash/merge';
|
|
9
9
|
|
|
10
|
-
declare const metaAttribute: ({ testID }: {
|
|
10
|
+
declare const metaAttribute: ({ testID, name, }: {
|
|
11
11
|
name?: string | undefined;
|
|
12
12
|
testID?: string | undefined;
|
|
13
13
|
}) => Record<string, string>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import _defineProperty$1 from '@babel/runtime/helpers/defineProperty';
|
|
1
2
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
3
|
import { Appearance, Platform as Platform$1 } from 'react-native';
|
|
3
4
|
import React, { useMemo, useCallback, useState, useEffect, useRef } from 'react';
|
|
4
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
5
|
-
import _defineProperty$1 from '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import { Easing } from 'react-native-reanimated';
|
|
7
7
|
|
|
8
8
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -2789,10 +2789,10 @@ function cloneDeep(value) {
|
|
|
2789
2789
|
|
|
2790
2790
|
var cloneDeep_1 = cloneDeep;
|
|
2791
2791
|
|
|
2792
|
-
var metaAttribute=function metaAttribute(_ref){var testID=_ref.testID;return _extends({},testID?{testID:testID}:{});};
|
|
2793
|
-
|
|
2794
2792
|
var MetaConstants={ActionList:'action-list',ActionListFooter:'action-list-footer',ActionListHeader:'action-list-header',ActionListItem:'action-list-item',ActionListSection:'action-list-section',Alert:'alert',Amount:'amount',Badge:'badge',Box:'box',Button:'button',Checkbox:'checkbox',CheckboxGroup:'checkbox-group',Code:'code',Component:'blade-component',Counter:'counter',DropdownOverlay:'dropdown-overlay',Icon:'icon',IconButton:'icon-button',Indicator:'indicator',Link:'link',List:'list',ListItem:'list-item',OTPInput:'otp-input',ProgressBar:'progress-bar',Radio:'radio',RadioGroup:'radio-group',SkipNav:'skipnav',Spinner:'spinner',SelectInput:'select-input',Card:'card',CardBody:'card-body',CardHeader:'card-header',CardFooter:'card-footer',VisuallyHidden:'visually-hidden'};
|
|
2795
2793
|
|
|
2794
|
+
var metaAttribute=function metaAttribute(_ref){var testID=_ref.testID,name=_ref.name;return _extends({},name?_defineProperty$1({},"data-"+MetaConstants.Component,name):{},testID?{testID:testID}:{});};
|
|
2795
|
+
|
|
2796
2796
|
var getColorScheme=function getColorScheme(){var colorScheme=arguments.length>0&&arguments[0]!==undefined?arguments[0]:'light';if(colorScheme==='light'||colorScheme==='dark'){return colorScheme;}if(colorScheme==='system'){var _Appearance$getColorS;return (_Appearance$getColorS=Appearance.getColorScheme())!=null?_Appearance$getColorS:'light';}return 'light';};
|
|
2797
2797
|
|
|
2798
2798
|
var baseGetTag$1 = _baseGetTag,
|