@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
|
@@ -523,10 +523,10 @@ type Delay = {
|
|
|
523
523
|
xlong: 5000;
|
|
524
524
|
};
|
|
525
525
|
|
|
526
|
-
type
|
|
526
|
+
type EasingFactoryFn = { factory: () => (value: number) => number }; // similar to EasingFactoryFn of `react-native-reanimated`
|
|
527
527
|
type EasingType<Value extends string> = Platform.Select<{
|
|
528
528
|
web: Value;
|
|
529
|
-
native:
|
|
529
|
+
native: EasingFactoryFn;
|
|
530
530
|
}>;
|
|
531
531
|
|
|
532
532
|
type Easing = {
|
|
@@ -534,49 +534,49 @@ type Easing = {
|
|
|
534
534
|
standard: {
|
|
535
535
|
/** `cubic-bezier(0.5, 0, 0.3, 1.5)`
|
|
536
536
|
*
|
|
537
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
537
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
538
538
|
attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
|
|
539
539
|
/** `cubic-bezier(0.3, 0, 0.2, 1)`
|
|
540
540
|
*
|
|
541
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
541
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
542
542
|
effective: EasingType<'cubic-bezier(0.3, 0, 0.2, 1)'>;
|
|
543
543
|
/** `cubic-bezier(0.5, 0, 0, 1)`
|
|
544
544
|
*
|
|
545
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
545
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
546
546
|
revealing: EasingType<'cubic-bezier(0.5, 0, 0, 1)'>;
|
|
547
547
|
/** `cubic-bezier(1, 0.5, 0, 0.5)`
|
|
548
548
|
*
|
|
549
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
549
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
550
550
|
wary: EasingType<'cubic-bezier(1, 0.5, 0, 0.5)'>;
|
|
551
551
|
};
|
|
552
552
|
/** Easings for all entrance animations*/
|
|
553
553
|
entrance: {
|
|
554
554
|
/** `cubic-bezier(0.5, 0, 0.3, 1.5)`
|
|
555
555
|
*
|
|
556
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
556
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
557
557
|
attentive: EasingType<'cubic-bezier(0.5, 0, 0.3, 1.5)'>;
|
|
558
558
|
/** `cubic-bezier(0, 0, 0.2, 1)`
|
|
559
559
|
*
|
|
560
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
560
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
561
561
|
effective: EasingType<'cubic-bezier(0, 0, 0.2, 1)'>;
|
|
562
562
|
/** `cubic-bezier(0, 0, 0, 1)`
|
|
563
563
|
*
|
|
564
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
564
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
565
565
|
revealing: EasingType<'cubic-bezier(0, 0, 0, 1)'>;
|
|
566
566
|
};
|
|
567
567
|
/** Easings for all exit animations*/
|
|
568
568
|
exit: {
|
|
569
569
|
/** `cubic-bezier(0.7, 0, 0.5, 1)`
|
|
570
570
|
*
|
|
571
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
571
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
572
572
|
attentive: EasingType<'cubic-bezier(0.7, 0, 0.5, 1)'>;
|
|
573
573
|
/** `cubic-bezier(0.17, 0, 1, 1)`
|
|
574
574
|
*
|
|
575
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
575
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
576
576
|
effective: EasingType<'cubic-bezier(0.17, 0, 1, 1)'>;
|
|
577
577
|
/** `cubic-bezier(0.5, 0, 1, 1)`
|
|
578
578
|
*
|
|
579
|
-
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `
|
|
579
|
+
* Returns a `string` of `"cubic-bezier(...)"` for web & react-native-reanimated's Easing Function of type `EasingFactoryFn` for native */
|
|
580
580
|
revealing: EasingType<'cubic-bezier(0.5, 0, 1, 1)'>;
|
|
581
581
|
};
|
|
582
582
|
};
|