Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lucide-icons/lucide
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.48.0
Choose a base ref
...
head repository: lucide-icons/lucide
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.49.0
Choose a head ref
  • 4 commits
  • 8 files changed
  • 7 contributors

Commits on Sep 24, 2026

  1. feat(icons): added letters icon (#4779)

    * Added icons/letters.svg
    
    * Added icons/letters.json
    
    * Updated icons/letters.json
    karsa-mistmere authored Sep 24, 2026
    Configuration menu
    Copy the full SHA
    c870b3c View commit details
    Browse the repository at this point in the history
  2. fix(packages): declare @types/react as an optional peer dependency (#…

    …4892)
    
    `lucide-react` and `lucide-react-native` both ship `.d.ts` files that
    import React types (`ForwardRefExoticComponent`, `SVGProps`,
    `RefAttributes`, `ReactNode`), but neither package declares
    `@types/react`. Under a hoisted `node_modules` this resolves by
    accident, so the gap is invisible in normal testing.
    
    It does not resolve under a strict layout — most notably pnpm's global
    virtual store (`enableGlobalVirtualStore`), where each package is linked
    from a store path outside the consuming repo. TypeScript resolves a
    package's imports relative to where that package physically lives and
    ignores `NODE_PATH`, so `react` resolves to the untyped
    `react/index.js`. Every icon's props silently degrade to `any`, and
    consumers hit implicit-any errors on their own callbacks under
    `noImplicitAny`. `skipLibCheck: true` hides the errors inside the
    `.d.ts` itself, which is why this survives most typechecks.
    
    Declaring the typings package as a peer dependency (rather than a hard
    dependency) lets it dedupe against whatever `@types/react` the consumer
    already has. `peerDependenciesMeta` marks it optional so JS-only
    consumers get no unmet-peer warning.
    
    Verified by packing each package and installing the tarball into a
    scratch consumer with `pnpm --virtual-store-dir` pointing outside the
    consumer, then typechecking with `skipLibCheck: false` and a
    `@ts-expect-error` probe on a nonexistent icon prop — a positive type
    assertion keeps passing when types widen to `any`, so it would not
    catch a regression. Before the change the probe reports
    `TS2578: Unused '@ts-expect-error' directive` plus `TS7016` inside the
    shipped `.d.ts`; after it, `tsc` is clean and `--traceResolution`
    shows `react` resolving to `@types/react/index.d.ts` instead of
    `react/index.js`. Existing peer ranges are unchanged and the lockfile
    is unaffected.
    
    Co-authored-by: Claude Opus 5 <[email protected]>
    Co-authored-by: Eric Fennis <[email protected]>
    3 people authored Sep 24, 2026
    Configuration menu
    Copy the full SHA
    e042fec View commit details
    Browse the repository at this point in the history
  3. feat(icons): added bangladeshi-taka icon (#4869)

    * feat(icons): added `bangladeshi-taka` icon
    
    * chore(metadata): updated `bangladeshi-taka` metadata
    
    * chore(metadata): updated use cases and tags
    
    * Apply suggestion from @karsa-mistmere
    
    ---------
    
    Co-authored-by: Karsa <[email protected]>
    TanvirMahin24 and karsa-mistmere authored Sep 24, 2026
    Configuration menu
    Copy the full SHA
    66d8f9f View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2026

  1. feat(icons): added printer-3d icon (#4414)

    * Added icons/printer3d.svg
    
    * Added icons/printer3d.json
    
    * Update icons/printer3d.json
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    
    * Rename printer3d.svg to printer-3d.svg
    
    * Rename printer3d.json to printer-3d.json
    
    * Modify SVG paths for printer-3D icon
    
    * Update icons/printer-3d.svg
    
    * Update printer-3d.json
    
    * Update printer-3d.json
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Karsa <[email protected]>
    3 people authored Sep 29, 2026
    Configuration menu
    Copy the full SHA
    5a92b9b View commit details
    Browse the repository at this point in the history
Loading