diff --git a/.changeset/shiny-frogs-cover.md b/.changeset/shiny-frogs-cover.md deleted file mode 100644 index 3e2db13..0000000 --- a/.changeset/shiny-frogs-cover.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@rhds/tokens": minor ---- - -Adds token meta data export. - -```js -import { tokens } from '@rhds/tokens/meta.js'; - -const family = tokens.get('--rh-font-family-body-text'); -console.log(family.$description); -// 'The font family used for body text' -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a3323a..043d035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # @rhds/tokens +## 1.1.0 + +### Minor Changes + +- 0766863: Adds token meta data export. + + ```js + import { tokens } from "@rhds/tokens/meta.js"; + + const family = tokens.get("--rh-font-family-body-text"); + console.log(family.$description); + // 'The font family used for body text' + ``` + ## 1.0.0 ### Major Changes diff --git a/package.json b/package.json index 6c98e23..872098c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rhds/tokens", - "version": "1.0.0", + "version": "1.1.0", "description": "Red Hat Design System Tokens", "scripts": { "build": "wireit", @@ -22,9 +22,9 @@ "require": "./js/tokens.cjs", "types": "./js/tokens.d.ts" }, - "./meta.js": { - "import": "./js/meta.js", - "require": "./js/meta.cjs" + "./meta.js": { + "import": "./js/meta.js", + "require": "./js/meta.cjs" }, "./json/*": { "require": "./json/*"