styled-icons

💅 Popular icon packs like Font Awesome, Material Design, and Octicons, available as React Styled Components

MIT License

Downloads
2.3M
Stars
2.1K
Committers
19

Bot releases are visible (Hide)

styled-icons - v7.5.0

Published by icon-bot over 4 years ago

  • Upgrade Boxicons to v1.9.2
  • Upgrade Cryptocurrency Icons to v0.11.0
styled-icons - v7.4.2

Published by icon-bot over 4 years ago

  • Add file extensions to icon package.json files to fix issues with certain bundlers not resolving icon files
styled-icons - v7.4.1

Published by icon-bot over 4 years ago

  • Fix TypeScript type issue where StyledIconProps incorrectly allowed a string value as a ref which prevented that type from actually being used.
styled-icons - v7.4.0

Published by icon-bot over 4 years ago

  • Upgrade Octicons to v8.5.0
styled-icons - v7.3.0

Published by icon-bot over 4 years ago

  • Upgrade Feather icons to v4.19.0
styled-icons - v7.2.0

Published by icon-bot over 4 years ago

  • Upgrade Octicons to v8.4.2
styled-icons - v7.15.1

Published by icon-bot over 4 years ago

  • Fix issue with tree shaking caused by missing package.json files, mark everything with "sideEffects": false
styled-icons - v7.15.0

Published by icon-bot over 4 years ago

  • Upgrade Boxicons to v2.0.2
styled-icons - v7.14.0

Published by icon-bot over 4 years ago

  • Add Evil Icons v1.10.1
styled-icons - v7.13.0

Published by icon-bot over 4 years ago

  • Upgrade Font Awesome to v5.8.2
styled-icons - v7.12.0

Published by icon-bot over 4 years ago

  • Upgrade Boxicons v2.0.1
styled-icons - v7.11.0

Published by icon-bot over 4 years ago

  • Upgrade Boxicons to v1.9.4
  • Fix TypeScript types for aria-hidden prop
styled-icons - v7.10.0

Published by icon-bot over 4 years ago

  • Upgrade Cryptocurrency Icons to v0.13.0
styled-icons - v7.1.1

Published by icon-bot over 4 years ago

  • Fix issue that omitted certain files from the NPM bundle
styled-icons - v7.1.0

Published by icon-bot over 4 years ago

  • Centralize Styled Components code into internal StyledIconBase component for significantly faster type-checking
  • Optimize Styled Icon render method performance, don't create new functions on each render
styled-icons - v7.0.1

Published by icon-bot over 4 years ago

  • Remove TypeScript source files from the NPM package
  • Fix TypeScript strict build (@caseylucas)
styled-icons - v7.0.0

Published by icon-bot over 4 years ago

Features

  • Support automatic management of CommonJS and ES Modules code.

    Styled Icons will now correctly be imported as either CommonJS or ES Modules based on whichever the JavaScript bundler supports. This allows you to directly import an icon or an icon pack, and the bundler will automatically select the version it can process. This causes styled-icons to work out-of-the-box with Webpack, Rollup, Create React App, Next.js, Jest, Node, and many more!

    (breaking) if you previously imported icons with a .cjs suffix, you can remove the suffix as it is no longer required. For example, if you had any of this code:

    import * as octicons from 'styled-icons/octicons.cjs'
    import {Alert} from 'styled-icons/octicons/Alert.cjs'
    

    You should remove the .cjs suffix:

    import * as octicons from 'styled-icons/octicons'
    import {Alert} from 'styled-icons/octicons/Alert'
    

    The .cjs imports no longer exist in version 7.0.0.

Changes

  • Removed the type imports from the root module entrypoint - these were deprecated in v6.0.0. If you need to import the type of a styled icon or its props, you should import those from style-icons/types:

    import {StyledIcon, StyledIconProps} from 'styled-icons/types'
    
  • Upgraded all dependencies, including upgrading the website to Next.js 8

Fixes

  • Fixed an issue that prevented the typicons icons from being included in the bundle
styled-icons - v6.9.0

Published by icon-bot over 4 years ago

  • Upgrade Font Awesome to v5.7.1
styled-icons - v6.8.0

Published by icon-bot over 4 years ago

  • Upgrade Feather icons to v4.15.0
styled-icons - v6.7.0

Published by icon-bot over 4 years ago

  • Upgrade Font Awesome to v5.7.0
  • Upgrade Feather icons to v4.14.0