diff --git a/.changeset/shiny-pens-hear.md b/.changeset/shiny-pens-hear.md deleted file mode 100644 index c0b6af98..00000000 --- a/.changeset/shiny-pens-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@capsizecss/metrics': minor ---- - -Update Google Fonts to latest diff --git a/.changeset/wild-lemons-love.md b/.changeset/wild-lemons-love.md deleted file mode 100644 index 2e39f7d3..00000000 --- a/.changeset/wild-lemons-love.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@capsizecss/core': patch ---- - -createFontStack: Apply metric overrides conditionally - -Addresses an issue where metric overrides would be applied for fonts with the same metric values. -The `ascent-override`, `descent-override` and `line-gap-override` properties are now all conditional, only returned when the metrics differ between the preferred font and its fallback(s). \ No newline at end of file diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 656bc832..2d92610b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,14 @@ # @capsizecss/core +## 3.1.1 + +### Patch Changes + +- [#137](https://github.com/seek-oss/capsize/pull/137) [`79437c8`](https://github.com/seek-oss/capsize/commit/79437c8e6c0bfd9bde0ee0166d458d936b9f64da) Thanks [@michaeltaranto](https://github.com/michaeltaranto)! - createFontStack: Apply metric overrides conditionally + + Addresses an issue where metric overrides would be applied for fonts with the same metric values. + The `ascent-override`, `descent-override` and `line-gap-override` properties are now all conditional, only returned when the metrics differ between the preferred font and its fallback(s). + ## 3.1.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 72607311..072f22f7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@capsizecss/core", - "version": "3.1.0", + "version": "3.1.1", "description": "Flipping how we define typography", "main": "dist/capsizecss-core.cjs.js", "module": "dist/capsizecss-core.esm.js", diff --git a/packages/metrics/CHANGELOG.md b/packages/metrics/CHANGELOG.md index 086d8bc2..e3887afd 100644 --- a/packages/metrics/CHANGELOG.md +++ b/packages/metrics/CHANGELOG.md @@ -1,5 +1,11 @@ # @capsizecss/metrics +## 1.2.0 + +### Minor Changes + +- [#138](https://github.com/seek-oss/capsize/pull/138) [`7e875dc`](https://github.com/seek-oss/capsize/commit/7e875dc1125ecb084dfbce166fbb57913c5f635f) Thanks [@michaeltaranto](https://github.com/michaeltaranto)! - Update Google Fonts to latest + ## 1.1.1 ### Patch Changes diff --git a/packages/metrics/package.json b/packages/metrics/package.json index b8d34d92..82550506 100644 --- a/packages/metrics/package.json +++ b/packages/metrics/package.json @@ -1,6 +1,6 @@ { "name": "@capsizecss/metrics", - "version": "1.1.1", + "version": "1.2.0", "description": "Font metrics library for system and Google fonts", "main": "dist/capsizecss-metrics.cjs.js", "module": "dist/capsizecss-metrics.esm.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4e6fd164..731f125a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -118,8 +118,8 @@ importers: site: specifiers: - '@capsizecss/core': ^3.1.0 - '@capsizecss/metrics': ^1.1.1 + '@capsizecss/core': ^3.1.1 + '@capsizecss/metrics': ^1.2.0 '@capsizecss/unpack': ^1.0.0 '@chakra-ui/core': ^0.8.0 '@emotion/core': ^10.1.1 @@ -10808,7 +10808,7 @@ packages: resolution: {integrity: sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==} engines: {node: '>= 4.0'} os: [darwin] - deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. + deprecated: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2 requiresBuild: true dependencies: bindings: 1.5.0 diff --git a/site/package.json b/site/package.json index f1c01107..3ab7c86b 100644 --- a/site/package.json +++ b/site/package.json @@ -22,8 +22,8 @@ "url": "https://github.com/seek-oss/capsize/site" }, "dependencies": { - "@capsizecss/core": "^3.1.0", - "@capsizecss/metrics": "^1.1.1", + "@capsizecss/core": "^3.1.1", + "@capsizecss/metrics": "^1.2.0", "@capsizecss/unpack": "^1.0.0", "@chakra-ui/core": "^0.8.0", "@emotion/core": "^10.1.1",