🔗 Permalink to v0.46.0. documentation
Minor Changes
-
#884
bbdf7f2f
Thanks @rezrah! - Anti-aliasing is now applied automatically to allText
instances except under these conditions:- When explicitly disabled via
hasAntiAliasing={false}
- When font weight is
light
orextralight
AND size is'100'
or'200'
- When size is
100
(regardless of weight)
- When explicitly disabled via
-
#893
d3c1ee2a
Thanks @rezrah! - Updated secondaryButton
variant borders fromsubtle
todefault
color for improved contrast. -
#890
4692aeea
Thanks @joshfarrant! - Enabled keyboard navigation in theIDE
component and made the contents navigable by screen readers.⚠️ Breaking changesThe
alternativeText
prop on theIDE
component has been removed in favour of more granular descriptive text.Before <IDE alternativeText="A user asks how to concatenate arrays in JavaScript, Copilot demonstrates using the concat method, and the user confirms it worked."> <IDE.Chat /> </IDE>
After <IDE> <IDE.Chat alternativeText="A user asks how to concatenate arrays in JavaScript, Copilot demonstrates using the concat method, and the user confirms it worked." /> </IDE>
Before <IDE alternativeText="TypeScript sentiment analysis function with D3.js visualization."> <IDE.Editor files={[ { name: 'index.js', }, ]} /> </IDE>
After <IDE> <IDE.Editor files={[ { name: 'index.js', alternativeText: 'TypeScript sentiment analysis function with D3.js visualization.', // ... }, ]} /> </IDE>
🔗 See the documentation for example usage, and more information on accessibility in the
IDE
component
Patch Changes
-
#887
8a49db27
Thanks @joshfarrant! -Link
component improvements.- Fixed a bug in the
Link
component where the underline wouldn't take the full width whenarrowDirection='none'
. - Prop options are also now exported from the package root, specifically:
LinkSizes
LinkArrowDirections
- Fixed a bug in the
-
#879
4f92311f
Thanks @rezrah! - AddedtoggleColor
prop toFAQ.Question
andAccordion.Heading
<FAQ> <FAQ.Item> <FAQ.Question toggleColor="green-blue">...</FAQ.Question> <FAQ.Answer>...</FAQ.Answer> </FAQ.Item> </FAQ>
<Accordion> <Accordion.Heading toggleColor="green-blue">...</Accordion.Heading> <Accordion.Content>...</Accordion.Content> </Accordion>
-
#894
aecc8d8f
Thanks @rezrah! - Improvements to duotone text inRiver
component. Now supports<b>
elements using a semi-bold font weight. -
#892
e85c7316
Thanks @rezrah! - Upgraded dev dependencies for@types/node
andeslint-plugin-github
-
#883
965a7865
Thanks @rezrah! - Visual spacing updates toRiverBreakout
- Reduced vertical gap between the main text and link.
- Applied a maximum width to the main text.
-
#872
872bdcf0
Thanks @joshfarrant! -VideoPlayer
tooltips now show when the associated control receives focus.