Skip to content

Releases: saleor/macaw-ui

v1.3.5

02 Oct 08:23
d1c4b84
Compare
Choose a tag to compare

Patch Changes

  • 2f59ff1: Fixed Accordion overflow issue by setting overflow: visible on open content to ensure content displays correctly.

v1.3.4

29 Sep 07:52
34465c2
Compare
Choose a tag to compare

Patch Changes

  • 994b5d3: Doubled the padding on the tooltip component

v1.3.3

26 Sep 14:21
7d28a96
Compare
Choose a tag to compare

Patch Changes

  • 0ccafa0: Fix Radio indicator for very long content

v1.3.2

03 Sep 13:09
2b3e37e
Compare
Choose a tag to compare

Patch Changes

v1.3.1

05 Aug 07:59
83025a0
Compare
Choose a tag to compare

Patch Changes

v1.3.0

05 Aug 06:33
de01575
Compare
Choose a tag to compare

Minor Changes

  • 2d146f6: Icons deprecation and migration to Lucide React

    We are beginning the migration process from our custom icon set to Lucide React icons. This change improves maintainability and provides access to a more comprehensive, well-maintained icon library.

    What's Changed

    Phase 1 (This Release)

    • All 41 custom icons are now marked as deprecated with JSDoc @deprecated comments
    • Each deprecated icon includes:
      • Clear deprecation notice
      • Link to https://lucide.dev/ for finding replacements
      • Example showing the recommended Lucide React icon to use instead
    • Added lucide-react as an optional peer dependency

    Migration Process

    This is a two-phase deprecation process:

    1. Phase 1 (Current): Icons are deprecated but still functional

      • All existing code continues to work
      • Developers receive deprecation warnings in IDEs
      • lucide-react is an optional peer dependency
    2. Phase 2 (Next Major Version): Complete removal

      • All deprecated icons will be removed
      • lucide-react will become a required peer dependency
      • Breaking change for any code still using deprecated icons

    Migration Guide

    Replace deprecated icons with their Lucide React equivalents:

    // Before (deprecated)
    import { SearchIcon, CloseIcon, PlusIcon } from "@saleor/macaw-ui";
    
    // After (recommended)
    import { Search, X, Plus } from "lucide-react";

    Example Mappings

    Deprecated Icon Lucide React Replacement
    ArrowDownIcon ChevronDown
    CloseIcon X
    SearchIcon Search
    PlusIcon Plus
    EditIcon Edit
    TrashBinIcon Trash2
    ConfigurationIcon Settings

    For a complete list of available icons, visit https://lucide.dev/

    Action Required

    1. Install lucide-react: npm install lucide-react
    2. Update your imports to use Lucide React icons
    3. Test your application to ensure icons display correctly
    4. Remove deprecated icon usage before the next major version

    This migration ensures better long-term maintainability and access to a more comprehensive icon set.

v1.2.0

01 Aug 13:38
891e6f8
Compare
Choose a tag to compare

Minor Changes

  • 0e5554a: Update Node.js version to 22.14. Drop support for Node.js 18. Update pnpm to 10.

Patch Changes

  • 9bfac8b: Add new font - Geist
  • eca6ef8: Icons now accept all <svg> element props, instead of limited set of properties (viewBox, className, size, disabled) as previously.

v1.1.20

07 Mar 13:21
75dbce0
Compare
Choose a tag to compare

Patch Changes

  • b688072: All dropdowns in macaw now uses properly floating ui

v1.1.19

05 Mar 09:14
4d59d48
Compare
Choose a tag to compare

Patch Changes

  • 5d424d2: You can now pass "multiple" as type to the Accordion component.

v1.1.18

04 Mar 12:53
3288e7b
Compare
Choose a tag to compare

Patch Changes

  • 84e01e3: Temporary revert fix for floating ui due to failing e2e test on dashboard on React v17