@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.
Files changed (33) hide show
  1. package/build/components/index.d.ts +12 -12
  2. package/build/components/index.development.web.js +4643 -7222
  3. package/build/components/index.development.web.js.map +1 -1
  4. package/build/components/index.native.d.ts +12 -12
  5. package/build/components/index.native.js +419 -413
  6. package/build/components/index.native.js.map +1 -1
  7. package/build/components/index.production.web.js +4631 -7163
  8. package/build/components/index.production.web.js.map +1 -1
  9. package/build/css/bankingThemeDarkDesktop.css +1 -1
  10. package/build/css/bankingThemeDarkMobile.css +1 -1
  11. package/build/css/bankingThemeLightDesktop.css +1 -1
  12. package/build/css/bankingThemeLightMobile.css +1 -1
  13. package/build/css/paymentThemeDarkDesktop.css +1 -1
  14. package/build/css/paymentThemeDarkMobile.css +1 -1
  15. package/build/css/paymentThemeLightDesktop.css +1 -1
  16. package/build/css/paymentThemeLightMobile.css +1 -1
  17. package/build/tokens/index.d.ts +27 -27
  18. package/build/tokens/index.development.web.js +30 -71
  19. package/build/tokens/index.development.web.js.map +1 -1
  20. package/build/tokens/index.native.d.ts +27 -27
  21. package/build/tokens/index.native.js +4 -5
  22. package/build/tokens/index.native.js.map +1 -1
  23. package/build/tokens/index.production.web.js +20 -44
  24. package/build/tokens/index.production.web.js.map +1 -1
  25. package/build/utils/index.d.ts +12 -12
  26. package/build/utils/index.development.web.js +26 -60
  27. package/build/utils/index.development.web.js.map +1 -1
  28. package/build/utils/index.native.d.ts +12 -12
  29. package/build/utils/index.native.js +7 -7
  30. package/build/utils/index.native.js.map +1 -1
  31. package/build/utils/index.production.web.js +24 -55
  32. package/build/utils/index.production.web.js.map +1 -1
  33. package/package.json +23 -22
@@ -525,10 +525,10 @@ type Delay = {
525
525
  xlong: 5000;
526
526
  };
527
527
 
528
- type EasingFunctionFactory = { factory: () => (value: number) => number }; // similar to EasingFunctionFactory of `react-native-reanimated`
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: EasingFunctionFactory;
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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 `EasingFunctionFactory` for native */
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
  };