@razorpay/blade 9.7.0 → 10.0.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/build/components/index.d.ts +12 -12
- package/build/components/index.development.web.js +4643 -7222
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +12 -12
- package/build/components/index.native.js +419 -413
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +4631 -7163
- package/build/components/index.production.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.d.ts +27 -27
- package/build/tokens/index.development.web.js +30 -71
- package/build/tokens/index.development.web.js.map +1 -1
- package/build/tokens/index.native.d.ts +27 -27
- package/build/tokens/index.native.js +4 -5
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.production.web.js +20 -44
- package/build/tokens/index.production.web.js.map +1 -1
- package/build/utils/index.d.ts +12 -12
- package/build/utils/index.development.web.js +26 -60
- package/build/utils/index.development.web.js.map +1 -1
- package/build/utils/index.native.d.ts +12 -12
- package/build/utils/index.native.js +7 -7
- package/build/utils/index.native.js.map +1 -1
- package/build/utils/index.production.web.js +24 -55
- package/build/utils/index.production.web.js.map +1 -1
- package/package.json +23 -22
|
@@ -525,10 +525,10 @@ type Delay = {
|
|
|
525
525
|
xlong: 5000;
|
|
526
526
|
};
|
|
527
527
|
|
|
528
|
-
type
|
|
528
|
+
type EasingFactoryFn = { factory: () => (value: number) => number }; // similar to EasingFactoryFn of `react-native-reanimated`
|
|
529
529
|
type EasingType<Value extends string> = Platform.Select<{
|
|
530
530
|
web: Value;
|
|
531
|
-
native:
|
|
531
|
+
native: EasingFactoryFn;
|
|
532
532
|
}>;
|
|
533
533
|
|
|
534
534
|
type Easing = {
|
|
@@ -536,49 +536,49 @@ type Easing = {
|
|
|
536
536
|
standard: {
|
|
537
537
|
/** `cubic-bezier(0.5, 0, 0.3, 1.5)`
|
|
538
538
|
*
|
|
539
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
539
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
540
540
|
attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
|
|
541
541
|
/** `cubic-bezier(0.3, 0, 0.2, 1)`
|
|
542
542
|
*
|
|
543
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
543
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
544
544
|
effective: EasingType<'cubic-bezier(0.3, 0, 0.2, 1)'>;
|
|
545
545
|
/** `cubic-bezier(0.5, 0, 0, 1)`
|
|
546
546
|
*
|
|
547
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
547
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
548
548
|
revealing: EasingType<'cubic-bezier(0.5, 0, 0, 1)'>;
|
|
549
549
|
/** `cubic-bezier(1, 0.5, 0, 0.5)`
|
|
550
550
|
*
|
|
551
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
551
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
552
552
|
wary: EasingType<'cubic-bezier(1, 0.5, 0, 0.5)'>;
|
|
553
553
|
};
|
|
554
554
|
/** Easings for all entrance animations*/
|
|
555
555
|
entrance: {
|
|
556
556
|
/** `cubic-bezier(0.5, 0, 0.3, 1.5)`
|
|
557
557
|
*
|
|
558
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
558
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
559
559
|
attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
|
|
560
560
|
/** `cubic-bezier(0, 0, 0.2, 1)`
|
|
561
561
|
*
|
|
562
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
562
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
563
563
|
effective: EasingType<'cubic-bezier(0, 0, 0.2, 1)'>;
|
|
564
564
|
/** `cubic-bezier(0, 0, 0, 1)`
|
|
565
565
|
*
|
|
566
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
566
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
567
567
|
revealing: EasingType<'cubic-bezier(0, 0, 0, 1)'>;
|
|
568
568
|
};
|
|
569
569
|
/** Easings for all exit animations*/
|
|
570
570
|
exit: {
|
|
571
571
|
/** `cubic-bezier(0.7, 0, 0.5, 1)`
|
|
572
572
|
*
|
|
573
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
573
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
574
574
|
attentive: EasingType<'cubic-bezier(0.7, 0, 0.5, 1)'>;
|
|
575
575
|
/** `cubic-bezier(0.17, 0, 1, 1)`
|
|
576
576
|
*
|
|
577
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
577
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
578
578
|
effective: EasingType<'cubic-bezier(0.17, 0, 1, 1)'>;
|
|
579
579
|
/** `cubic-bezier(0.5, 0, 1, 1)`
|
|
580
580
|
*
|
|
581
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
581
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
582
582
|
revealing: EasingType<'cubic-bezier(0.5, 0, 1, 1)'>;
|
|
583
583
|
};
|
|
584
584
|
};
|