Skip to content

2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Mar 20:25
· 262 commits to trunk since this release
e943752

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 the option 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