Skip to content

Releases: RedHat-UX/red-hat-icons

v1.1.2

19 Sep 18:53
001831d
Compare
Choose a tag to compare

Patch Changes

  • 9d88cea: Work better with JSPM generator (hopefully)

v1.1.1

22 Aug 06:00
3d8998f
Compare
Choose a tag to compare

Patch Changes

v1.1.0

20 Aug 14:21
2793fea
Compare
Choose a tag to compare

Minor Changes

  • 084c0a5: Adds JavaScript module, which exports each icon set as a map of icon names to SVG DOM nodes.

    import * as Icons from "@rhds/icons";
    
    document.body.append(Icons.social.get("rss"));
    document.body.append(Icons.standard.get("api"));

    ⚠️ WARNING: The JavaScript module loads every available icon. Importing it
    to your project may negatively impact page loading performance.

    TypeScript users may import the IconSetName and IconNameFor types to ensure
    their projects use the correct string names.

    import type { IconSetName, IconNameFor } from "@rhds/icons";
    
    const iconSet: IconSetName = "social";
    const iconName: IconNameFor<"social"> = "email";

Patch Changes

  • b098f96: Corrected icon export path from ./dist/{{set}}/* to ./{{set}}/*

v1.0.0

01 Aug 13:18
ee3e137
Compare
Choose a tag to compare

Major Changes

  • d7bd841: ✨ Added Official Red Hat Brand Icons

    848 icons, in 4 sets: Microns, Social, Standard, and UI.