Icons: Support rendering inline as child of a flex container
IconPromote: Update semantic icon from sparkles to a megaphone
With the introduction of IconAI recently adopting the sparkles artwork (aligning with the industry trend), the IconPromote semantic is now updated to use a megaphone instead of sparkles.
This change will run through all semantic usages, for example Alert, Notice, etc.
Support data attribute boolean values
The data attribute map now supports boolean values. This provides an improvement for the developer experience, no longer having to convert values to strings explicitly.
EXAMPLE USAGE:
<Component data={{ 'custom-attribute': true, }} /> // => <div data-custom-attribute="true" />
Add support for data attribute maps on all components.
EXAMPLE USAGE:
<Alert data={{ testId: 'message' }} /> // => <div data-testId="message" />
Text, Icons: Add brandAccent tone to Text and Icons
EXAMPLE USAGE:
<Text tone="brandAccent">...</Text>