@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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Mar 2023 06:14:56 GMT
3
+ * Generated on Wed, 15 Mar 2023 07:34:35 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -6,7 +6,10 @@ import React, { MutableRefObject } from 'react';
6
6
  import { AccessibilityRole, Platform as Platform$2 } from 'react-native';
7
7
  export { default as merge } from 'lodash/merge';
8
8
 
9
- declare const metaAttribute: (name: string, value: string | undefined) => Record<string, string>;
9
+ declare const metaAttribute: ({ name, testID, }: {
10
+ name?: string | undefined;
11
+ testID?: string | undefined;
12
+ }) => Record<string, string>;
10
13
 
11
14
  declare const MetaConstants: {
12
15
  readonly ActionList: "action-list";
@@ -40,6 +43,7 @@ declare const MetaConstants: {
40
43
  readonly CardBody: "card-body";
41
44
  readonly CardHeader: "card-header";
42
45
  readonly CardFooter: "card-footer";
46
+ readonly VisuallyHidden: "visually-hidden";
43
47
  };
44
48
 
45
49
  type Breakpoints = Readonly<{
@@ -7,7 +7,10 @@ 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: (_name: string, _value: string) => Record<string, string>;
10
+ declare const metaAttribute: ({ testID }: {
11
+ name?: string | undefined;
12
+ testID?: string | undefined;
13
+ }) => Record<string, string>;
11
14
 
12
15
  declare const MetaConstants: {
13
16
  readonly ActionList: "action-list";
@@ -41,6 +44,7 @@ declare const MetaConstants: {
41
44
  readonly CardBody: "card-body";
42
45
  readonly CardHeader: "card-header";
43
46
  readonly CardFooter: "card-footer";
47
+ readonly VisuallyHidden: "visually-hidden";
44
48
  };
45
49
 
46
50
  type Breakpoints = Readonly<{
@@ -1,8 +1,8 @@
1
+ import _extends from '@babel/runtime/helpers/extends';
1
2
  import { Appearance, Platform as Platform$1 } from 'react-native';
2
3
  import React, { useMemo, useCallback, useState, useEffect, useRef } from 'react';
3
4
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
4
5
  import _defineProperty$1 from '@babel/runtime/helpers/defineProperty';
5
- import _extends from '@babel/runtime/helpers/extends';
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,9 +2789,9 @@ function cloneDeep(value) {
2789
2789
 
2790
2790
  var cloneDeep_1 = cloneDeep;
2791
2791
 
2792
- var metaAttribute=function metaAttribute(_name,_value){return {};};
2792
+ var metaAttribute=function metaAttribute(_ref){var testID=_ref.testID;return _extends({},testID?{testID:testID}:{});};
2793
2793
 
2794
- var MetaConstants={ActionList:'action-list',ActionListFooter:'action-list-footer',ActionListHeader:'action-list-header',ActionListItem:'action-list-item',ActionListSection:'action-list-section',Alert:'alert',Badge:'badge',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'};
2794
+ var MetaConstants={ActionList:'action-list',ActionListFooter:'action-list-footer',ActionListHeader:'action-list-header',ActionListItem:'action-list-item',ActionListSection:'action-list-section',Alert:'alert',Badge:'badge',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
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