Skip to content

Releases: grommet/grommet-icons

v4.6.2

25 Aug 15:50
Compare
Choose a tag to compare
  • Added displayName to all icons.

v4.6.1

23 Aug 21:06
Compare
Choose a tag to compare
  • Added forwardRefs to all icons.

v4.6.0

14 Jun 21:44
Compare
Choose a tag to compare

New icons added:

  • CaretLeftFill
  • CaretRightFill
  • Insecure

Other enhancements:

  • Added SVGO optimization to reduce icon file sizes

v4.5.0

23 Sep 21:17
Compare
Choose a tag to compare

New icons added:

  • Pocket logo
  • Dribbble
  • Ebay
  • Figma
  • LastFm
  • PhoneFlip, PhoneVertical, PhoneHorizontal
  • Time
  • Zoom
  • HomeOption
  • Webcam
  • CircleAlert
  • Key
  • ShareRounded
  • FanOption
  • Ascending, Desecnding, Unsort
  • CaretUpFill, CaretDownFill
  • AppsRounded

Edited icons:

  • Instagram
  • Anchor
  • Projects
  • HPE

v4.4.0

06 Nov 14:06
Compare
Choose a tag to compare
  • Updated HPE icon
  • Added vertical-more icon

v4.3.0

10 Aug 03:07
Compare
Choose a tag to compare

Add new icons of NodeJS, Coffee, Spotify, SoundCloud, Spectrum, Hide, Gatsby, GraphQL.

v4.2.0

08 Feb 03:00
Compare
Choose a tag to compare
  • Added TypeScript support
  • Added Apple Store, Google Play, JS, List, Phone, QR, Schedule Icons

v4.1.0

18 Dec 23:10
2c24b35
Compare
Choose a tag to compare

Added Disc, Keyboard, PowerCycle, PowerForceShutdown, PowerReset, PowerShutdown icons.

v4.0.1

07 Dec 18:27
f7d2fa5
Compare
Choose a tag to compare
  • grommet-styles is now a dependency instead of peerDependency

v4.0.0

05 Dec 04:31
a284d9a
Compare
Choose a tag to compare

New Theme Structure 🎉

Before

const base = {
  color: '#666666',
  colors: {},
  size: {
    small: '12px',
    medium: '24px',
    large: '48px',
    xlarge: '96px',
  },
};

After

const base = {
  global: {
    colors: {
      icon: '#666666',
    },
  },
  icon: {
    size: {
      small: '12px',
      medium: '24px',
      large: '48px',
      xlarge: '96px',
    },
  },
};

This allowed us to remove the ThemeContext specific to grommet-icons. Now you can just leverage the ThemeContext from styled-components.

  import { ThemeProvider} from 'styled-components';
  import { base, Close }  from 'grommet-icons';
  <ThemeProvider theme={base}>
      <Close />
  </ThemeProvider>

⚠️ Make sure to install grommet-styles as a peerDependency now.