Skip to content

Commit

Permalink
chore: prepare release (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 20, 2024
1 parent dcde281 commit 2793fea
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
5 changes: 0 additions & 5 deletions .changeset/cold-news-fry.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/cyan-pillows-invite.md

This file was deleted.

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @rhds/icons

## 1.1.0

### Minor Changes

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

```typescript
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.

```typescript
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}}/*`

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rhds/icons",
"version": "1.0.0",
"version": "1.1.0",
"description": "Red Hat Icons",
"main": "icons.js",
"module": "icons.js",
Expand Down

0 comments on commit 2793fea

Please sign in to comment.