Skip to content

Releases: razorpay/blade

@razorpay/[email protected]

01 Mar 07:15
52616ae
Compare
Choose a tag to compare

Minor Changes

  • 9ebaf98: feat: add FileUpload component

@razorpay/[email protected]

29 Feb 11:57
f37e00e
Compare
Choose a tag to compare

Minor Changes

  • bb7466e: feat(blade): add Breadcrumb component

@razorpay/[email protected]

27 Feb 06:38
f0ebc25
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • ab028b6: fix(Tag): tag truncation in Select and AutoComplete

@razorpay/[email protected]

21 Feb 11:57
f136d26
Compare
Choose a tag to compare

Patch Changes

  • 85f229d: refactor(blade): add meta attributes to Toast

@razorpay/[email protected]

16 Feb 11:54
Compare
Choose a tag to compare

Patch Changes

  • fix(Dropdown): make scrollbar invisible in SelectInput and AutoComplete Tag Slot (#2022)
  • fix(Tag): tag truncation fix in Select and AutoComplete

Full Changelog: https://github.com/razorpay/blade/compare/@razorpay/[email protected]...@razorpay/[email protected]

@razorpay/[email protected]

15 Feb 14:03
b2ab3ad
Compare
Choose a tag to compare

Minor Changes

  • 497799d: feat(blade): add toast component

@razorpay/[email protected]

15 Feb 12:37
8260c2a
Compare
Choose a tag to compare

Patch Changes

  • 16a0e73: fix(Dropdown): remove scrollbar on tag slot and allow clicks on DropdownLink and DropdownButton chevron icons

@razorpay/[email protected]

12 Feb 11:17
46a5c16
Compare
Choose a tag to compare

Minor Changes

  • f104cbf: feat: Added internationalization in Amount component via i18nify.
    References

    What changes ?

    1. The <Amount /> component will now automatically format numbers based on the user's browser locale. For example, <Amount value={123456.789} currency="INR"> will render ₹1,23,456.79 for browsers with the en-IN default locale, whereas it will render ₹123,456.79 for browsers with the en-US locale.

    2. If you want to enable users to change the locale of your page, add the @razorpay/i18nify-react package and wrap your app inside the I18nProvider. Utilize the setI18nState utility to modify the locale. For more details, please refer to the documentation.

    3. Additionally, if you prefer to maintain a fixed locale for your page and amount component, enclose your app within <I18nProvider initData={{locale: 'locale-you-want'}}>... For more details, please refer to the documentation.

    How to update ?

    1. Install i18nify as dependency yarn add @razorpay/i18nify-js
    2. [Optional]: Install i18nify-react as dependency to manage state effectively yarn add @razorpay/i18nify-react
    3. Install latest Blade yarn add @razorpay/blade@latest

@razorpay/[email protected]

09 Feb 11:01
43b2c8d
Compare
Choose a tag to compare

Patch Changes

  • 9801ff8: - feat(Dropdown): add E2E tests

    • fix(Dropdown): dropdown getting closed without explicit isOpen={false} in controlled dropdown

    [!Note]

    if you have used ControlledDropdown in a similar way how it was documented, things should work fine.

    If you have used isOpen from Controlled Dropdown but you're not handling it inside onOpenChange, you will have to handle that state as well. E.g. isOpen={isDropdownOpen} onOpenChange={(isOpen) => setIsDropdownOpen(isOpen)}

@razorpay/[email protected]

05 Feb 05:21
8d89eb5
Compare
Choose a tag to compare

Minor Changes

  • b21e3ae: chore: add server-side pagination with totalItemCount & paginationType