Skip to content

Releases: razorpay/blade

@razorpay/[email protected]

13 May 12:50
df14161
Compare
Choose a tag to compare

Minor Changes

  • e352eef: fix(blade): add Heading component

@razorpay/[email protected]

09 May 12:05
546f181
Compare
Choose a tag to compare

Minor Changes

@razorpay/[email protected]

06 May 04:43
dc43fb2
Compare
Choose a tag to compare

Minor Changes

  • 294173e: - Add the following components that would act as building blocks for our icons:
    1. Svg
    2. Path
    3. Rect
    4. Defs
    5. ClipPath
    6. G
    • Add CreditCardIcon component
    • Add RupeeIcon component

Patch Changes

@razorpay/[email protected]

27 Apr 11:33
1fa7669
Compare
Choose a tag to compare

Minor Changes

  • a20b608: feat(blade): add motion tokens

    Motion tokens

    We have added tokens for

    1. Delay
    2. Duration
    3. Easing

    You can find a detailed RFC for motion here: View Formatted RFC

@razorpay/[email protected]

27 Apr 11:19
7072204
Compare
Choose a tag to compare

Minor Changes

  • 6885ac3: feat(blade): add BaseText component

@razorpay/[email protected]

13 Apr 10:11
94c7ad0
Compare
Choose a tag to compare

Patch Changes

  • 0361106: onKeyPress and textAlign props addition in TextInput. textAlign can take values left, right, and center. onKeyPress will take native event as argument. These props are optional

@razorpay/[email protected]

17 Mar 07:14
58d9d34
Compare
Choose a tag to compare

Patch Changes

  • 33e3930: feat(blade): add listener for toggling breakpoints

    Updates

    • Add breakpoints token to the themes.
    • Out of the box responsiveness support for typography tokens.
    • Publish useBreakpoint hook.
    • Following breakpoints are supported as of today.
      /** max width: 320px /
      xs: 320;
      /
      * min width: 321px and max width: 480px /
      s: 480;
      /
      * min width: 481px and max width: 768px /
      m: 768;
      /
      * min width: 769 and max width: 1024px /
      l: 1024;
      /
      * min width: 1025 and max width: 1200px /
      xl: 1200;
      /
      * min width: 1201px */
      max: 1201;
    • For web the typography scale will toggle between mobile and desktop
      • xs, s, m are considered as mobile
      • l, xl, xl are considered as desktop
    • For react native we always default to mobile typography scale

    What does it mean for me(as a developer)?

    • If you’re already using Blade tokens then you can leverage this by just running yarn upgrade @razorpay/[email protected] and that’s it you are set 🚀
    • You can use these breakpoints as a base reference to build your next set of features by just following the usage guidelines here.

    This is our first step towards building responsive and adaptive applications. We’ll be publishing Typography Components next which will be built on top of these tokens and you can use them directly for your projects. Meanwhile, read more about our responsive and adaptive strategy in this RFC

@razorpay/[email protected]

17 Mar 07:14
58d9d34
Compare
Choose a tag to compare

Minor Changes

  • f120e3c: feat(icons): add four new icons for scalability ftux

Patch Changes

  • e56b5cf: minor: add outlined & filled icons for home, grid and transactions

  • 33e3930: feat(blade): add listener for toggling breakpoints

    Updates

    • Add breakpoints token to the themes.
    • Out of the box responsiveness support for typography tokens.
    • Publish useBreakpoint hook.
    • Following breakpoints are supported as of today.
      /** max width: 320px /
      xs: 320;
      /
      * min width: 321px and max width: 480px /
      s: 480;
      /
      * min width: 481px and max width: 768px /
      m: 768;
      /
      * min width: 769 and max width: 1024px /
      l: 1024;
      /
      * min width: 1025 and max width: 1200px /
      xl: 1200;
      /
      * min width: 1201px */
      max: 1201;
    • For web the typography scale will toggle between mobile and desktop
      • xs, s, m are considered as mobile
      • l, xl, xl are considered as desktop
    • For react native we always default to mobile typography scale

    What does it mean for me(as a developer)?

    • If you’re already using Blade tokens then you can leverage this by just running yarn upgrade @razorpay/[email protected] and that’s it you are set 🚀
    • You can use these breakpoints as a base reference to build your next set of features by just following the usage guidelines here.

    This is our first step towards building responsive and adaptive applications. We’ll be publishing Typography Components next which will be built on top of these tokens and you can use them directly for your projects. Meanwhile, read more about our responsive and adaptive strategy in this RFC

@razorpay/[email protected]

15 Mar 04:46
48dddde
Compare
Choose a tag to compare

Minor Changes

  • 802f31d: feat(hyperlink-icon): add hyperlink icon

@razorpay/[email protected]

03 Feb 12:52
525b4a6
Compare
Choose a tag to compare

Minor Changes

  • 13e3c3f: feat(Modal): Migrate react-native-modal to 13.0.0