diff --git a/.changeset/itchy-mayflies-allow.md b/.changeset/itchy-mayflies-allow.md deleted file mode 100644 index 19a08947f28..00000000000 --- a/.changeset/itchy-mayflies-allow.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - Text - - Heading ---- - -**Text, Heading:** Fix `maxLines` cropping of decending characters - -Fixes a bug when using -webkit-box, where the descender on the last line of text could be cropped based on the combination of line height and font size. diff --git a/packages/braid-design-system/CHANGELOG.md b/packages/braid-design-system/CHANGELOG.md index c82e4c9c01a..fed74e8f742 100644 --- a/packages/braid-design-system/CHANGELOG.md +++ b/packages/braid-design-system/CHANGELOG.md @@ -1,5 +1,13 @@ # braid-design-system +## 32.16.2 + +### Patch Changes + +- **Text, Heading:** Fix `maxLines` cropping of decending characters ([#1451](https://github.com/seek-oss/braid-design-system/pull/1451)) + + Fixes a bug when using -webkit-box, where the descender on the last line of text could be cropped based on the combination of line height and font size. + ## 32.16.1 ### Patch Changes diff --git a/packages/braid-design-system/package.json b/packages/braid-design-system/package.json index 0d9a8ce5cf2..05e2157ba45 100644 --- a/packages/braid-design-system/package.json +++ b/packages/braid-design-system/package.json @@ -1,6 +1,6 @@ { "name": "braid-design-system", - "version": "32.16.1", + "version": "32.16.2", "description": "Themeable design system for the SEEK Group", "homepage": "https://seek-oss.github.io/braid-design-system/", "bugs": { diff --git a/site/src/componentUpdates.json b/site/src/componentUpdates.json index 03dbffd9a6c..0d241263f94 100644 --- a/site/src/componentUpdates.json +++ b/site/src/componentUpdates.json @@ -3733,5 +3733,17 @@ "summary": "**Badge**: Allow `Badge` to take arrays of values\n\nPreviously, `Badge` only accepted a `string` as children, to prevent the use of other components inside a `Badge`.\n\nHowever, when a variable is included with text inside the `Badge`, the children property is interpreted as an array. This prevents a very reasonable use case from being allowed:\n\n```tsx\n{jobs.length} Jobs\n// Error: Type '{ children: string[]; }' is not assignable to type 'BadgeProps'.\n```\n\nThis change allows `Badge` to accept a string, number, or array thereof." } ] + }, + { + "version": "32.16.2", + "updates": [ + { + "updated": [ + "Text", + "Heading" + ], + "summary": "**Text, Heading:** Fix `maxLines` cropping of decending characters\n\nFixes a bug when using -webkit-box, where the descender on the last line of text could be cropped based on the combination of line height and font size." + } + ] } ]