2.0.0
What's Changed
- New develop release: 1.6.7-dev.0 by @github-actions in #349
- Add devcontainer.json by @chriszarate in #351
- Fix wrapping of items in toolbar util menu by @t-wright in #350
- Bump plotly.js from 2.23.0 to 2.25.2 in /tokens/utilities/colors by @dependabot in #342
- Bump es5-ext from 0.10.62 to 0.10.64 in /tokens/utilities/colors by @dependabot in #346
- PIE-3831 Fixes word wrapping on OptionRow with meta by @brunobasto in #343
- Upgrade Storybook to 7.6.17 by @djalmaaraujo in #353
- Update Input Radio Component Styles + TypeScript conversion by @djalmaaraujo in #354
- Update Input Checkbox Component Styles and functionality by @djalmaaraujo in #355
- New package release: v2.0.0 by @github-actions in #357
Breaking changes
- The' renderLabel' prop should now be used to customize the
label
property (for using React elements, not simple strings). The documentation has examples.
{
value: 'a',
renderLabel: ( commonProps, labelStyle ) => (
<Label
{ ...commonProps }
className="custom-class"
sx={ { ...labelStyle, color: 'error' } }
>
(Custom) All domains listed on this environment, and all subdomains
</Label>
),
id: 'another-option-custom-a',
}
- Passing other properties to the rendered Input should now use the
inputProps
prop. Passing arbitrary arguments to theoption
will no longer spread to the Input.
{
value: 'b',
label: 'All domains listed on this environment',
labelProps: {
id: 'label-option-custom-b-custom-props',
},
className: 'custom-class-for-this',
id: 'option-custom-b',
inputProps: {
'aria-describedby': 'describe-radio-all-domains-subdomains',
},
},
Full Changelog: 1.6.6...2.0.0