Minor Changes
-
#2333
48027c8efThanks @joebuono! - fix(ui-react): Collection searchNoResultsFoundWhen no results are returned from searching a Collection, we render the text "No results found" by default
- Customer also has the option of passing their own
ReactNodeto the newsearchNoResultsFoundprop
<Collection isSearchable searchNoResultsFound={ <Flex justifyContent="center"> <Text color="purple.80" fontSize="1rem"> Nothing found, please try again </Text> </Flex> } > {collectionItems} </Collection>
- Customer also has the option of passing their own
Patch Changes
-
#2368
64fa669e2Thanks @ioanabrooks! - fix(ui-react): Hide decorative alert icons from screen readers. -
#2363
07e87534bThanks @hbuchel! - fix(ui-react): moverole="alert"to parent element of Alert to allow for role overrides.The Alert component currently has the ARIA
alertrole by default. This change allows us to override the role when thealertrole does not match the use case.<Alert role="none">This is no longer an ARIA alert</Alert>Learn more about using the alert role on our docs and the W3's spec for the alert role
-
#2355
19a7d31c4Thanks @hbuchel! - fix(ui-react): ariaLabel is no longer required for Icon componentPlease see the Icon docs for various methods of creating accessible Icons.
-
#2371
adc9ff6e3Thanks @cshfang! - fix(ui-react): Fixes an issue where the isTruncated prop of the Heading component was not properly applying a truncation. -
Updated dependencies [
de1c874f2,3c468a0f3,1fcfa3c02,adc9ff6e3]:- @aws-amplify/[email protected]