0.9.8
This release starts moving types and views that relate to other types into the type namespaces, to make the surface area of the library smaller.
✨ Features
RichTextAlignment.Picker
has a new style parameter.RichTextCommand
is a new namespace for command-related views.RichTextColor.Picker
now shows a quick button to reset the color.RichTextLabelValue
is a new protocol to harmonize label-compatible label values.
💡 Adjustments
- Many value types implement
RichTextLabelValue
to get alabel
property. - All types that implement
RichTextLabelValue
get alabel
that has improved accessibility. RichTextColor
.adjust
now takes an optional color.RichTextColor
.allCases
no longer returnsundefined
.RichTextFormatSheet
no longer hard-codes an accent color.RichTextStyle
views no longer use a style - useforegroundStyle
,tint
andaccentColor
instead.
🐛 Bug Fixes
Image.symbol(...)
removespalette
rendering mode to fix incorrect color scheme behavior.RichTextAlignment.Picker
now hides its picker label.RichTextColor.Picker
no longer auto-adjusts black and white to make it possible to actually set those colors.
🗑️ Deprecations
RichTextAction*
views have been renamed toRichTextAction.Button*
.RichTextAlignment*
views have been renamed toRichTextAlignment.*
.RichTextArgumentReader
deprecates the font name and size functions.RichTextArgumentWriter
deprecates the font name and size functions.RichTextColor*
views have been renamed toRichTextColor.*
.RichTextCommand
views are now nested within the newRichTextCommand
type.RichTextComponent
deprecates the font name and size functions.RichTextDataFormatMenu
has been renamed toRichTextDataFormat.Menu
.RichTextFont*
views have been renamed toRichTextFont.*
.RichTextStyle*
views have been renamed toRichTextStyle.*
.