fix(deps): update aws-amplify to v6 (major) #230
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.3.3
->^6.0.0
^5.3.13
->^6.0.0
Release Notes
aws-amplify/amplify-ui (@aws-amplify/ui-react)
v6.5.3
Compare Source
Patch Changes
0d86485fc
]:v6.5.2
Compare Source
Patch Changes
#5849
22e285f58
Thanks @calebpollman! - chore(utils): prefer isFunction#5830
545aa6a60
Thanks @calebpollman! - chore(rollup): upgrade rollup deps, migrate to mjs config file, enforce linting on mjs files#5853
87d74a7de
Thanks @calebpollman! - fix(deps): remove @aws-amplify/core devDep from react-coreUpdated dependencies [
22e285f58
,545aa6a60
,87d74a7de
]:v6.5.1
Compare Source
Patch Changes
#5796
bf9dbc334
Thanks @esauerbo! - chore(deps): Fix transitive dependencies.#5825
3a677a1af
Thanks @dbanksdesign! - feat(theming): add global style ability (experimental)Adding the ability to create global styles with the experimental theming APIs
Updated dependencies [
bf9dbc334
,3a677a1af
]:v6.5.0
Compare Source
Minor Changes
#5812
0ddeea9d4
Thanks @dbanksdesign! - feat(theming) add custom component style renderingPatch Changes
0ddeea9d4
,7a12237d2
]:v6.4.0
Compare Source
Minor Changes
#5777
0ebf8b346
Thanks @dbanksdesign! - feat(avatar): add loading state to avatar and AIConversationPatch Changes
0ebf8b346
]:v6.3.1
Compare Source
Patch Changes
9d96dd1fe
]:v6.3.0
Compare Source
Minor Changes
#5767
afffa89cb
Thanks @thaddmt! - feat(textarea): add autoresizing to textarea#5767
afffa89cb
Thanks @thaddmt! - feat(scrollview): add autoScroll prop#5767
afffa89cb
Thanks @thaddmt! - feat(primitives): add Avatar primitivePatch Changes
afffa89cb
]:v6.2.2
Compare Source
Patch Changes
c3dfbe044
]:v6.2.1
Compare Source
Patch Changes
6e67ab6be
,634815ff0
]:v6.2.0
Compare Source
Minor Changes
#5170
d73bd9cc8
Thanks @dbanksdesign! - feat(ui): experimental component themingThis feature lets you fully style and theme built-in components even if there is no design token available. For example, previously you could not add a box shadow or gradient background to the built-in Button component unless you wrote plain CSS. Now you can style every CSS property for all the built-in components with type-safety!
This also lets you define your own components and style them in the same type-safe way with zero runtime computation.
defineComponentTheme()
createTheme()
The theme object passed to
createTheme
now has an optionalcomponents
array which is an array of component themes.React Server Component support for theming
You no longer need to use the
<ThemeProvider>
and rely on React context to theme Amplify UI (you still can though!). There is a new import path for RSC-compliant code: '@aws-amplify/ui-react/server' which you can use to importcreateTheme
anddefineComponentTheme
as well as a new React Server Component:<ThemeStyle />
which will inject the styles of your theme into the page.Patch Changes
#5464
29f11a53c
Thanks @minghuiyang1998! - fix(accessibility): associated inline error messages with all form fields in aria-describedby.#5378
e52db7be1
Thanks @axelEandrews! - fixes invalid tab IDsUpdated dependencies [
0919e55ba
,50ef7ca8e
,d73bd9cc8
]:v6.1.14
Compare Source
Patch Changes
#5389
a0248855b
Thanks @dbanksdesign! - fix(authenticator): fixing visual inconsistenciesFixes #5156
#5399
98135dfac
Thanks @timngyn! - fix(authenticator): Check first radio button from unverified user attributes so that default value is selectedv6.1.13
Compare Source
Patch Changes
#5376
31b9f299e
Thanks @awinberg-aws! - fix:(SearchField) accessibility - do not exclude clear button from tab order#5321
0483dd833
Thanks @AhmetAhunbayAWS! - This change removes an inconsistency in the heights of ratings between 0-1 (non-inclusive). This change was made per customer request via a raised issue. A customer would only need to update their code if they display ratings between 0-1 (non-inclusive).Updated dependencies [
0483dd833
]:v6.1.12
Compare Source
Patch Changes
d7098c2fd
Thanks @zchenwei! - fix(ui-react): add aria-hidden to Select expand iconv6.1.11
Compare Source
Patch Changes
#5258
dc1b3be5b
Thanks @calebpollman! - chore(deps): update amplify scoped and RN dep versionsUpdated dependencies [
dc1b3be5b
]:v6.1.10
Compare Source
Patch Changes
1ca7c38e1
,3af3e6b7a
,225bde836
,4b3f69917
,bad0da7b9
,b92c34a99
]:v6.1.9
Compare Source
Patch Changes
#5193
de2402842
Thanks @calebpollman! - chore(aws-amplify): point amplify to 6.2.0#5186
9ce5f9d88
Thanks @calebpollman! - feat(@aws-amplify/ui-react-storage): Add handling foraws-amplify/storage
improvements:Update
StorageManager
to support differing usages ofpath
prop - existing:accessLevel
prop provided with or without optionalpath
prop - additive: noaccessLevel
prop provided with requiredpath
as either astring
or a callback provided the currentidentityId
Migrate from
accessLevel
topath
as astring
:Migrate from
accessLevel
topath
as a callback:Update
StorageImage
to supportpath
propMigrate from
imagKey
andaccessLevel
topath
:Updated dependencies [
de2402842
,9ce5f9d88
]:v6.1.8
Compare Source
Patch Changes
#5167
18da6aede
Thanks @esauerbo! - fix(Menu): Fix ability to disable menu componentThis fixes a bug where the
Menu
component was not respecting theisDisabled
prop.v6.1.7
Compare Source
Patch Changes
#5120
842c00ad4
Thanks @calebpollman! - chore(deps): update peerDep versions in public packages, point to 6.0.26 for examples and docsUpdated dependencies [
a26e9eb86
,842c00ad4
]:v6.1.6
Compare Source
Patch Changes
3cc2f8fc1
,f64ea459e
]:v6.1.5
Compare Source
Patch Changes
#5034
1d9c5c862
Thanks @hbuchel! - fix(web/react-native/ui): use translated strings for VerifyUser screen and use censorContactMethod utilui/Angular/React/Vue/ReactNative: adds a
censorContactMethod()
utility to theui
package and refactors the VerifyUser screen in Angular, React, Vue, and ReactNative packages to use this utility.Vue: Fixes an issue where translated strings were not being properly used for the VerifyUser screen. Additionally, removes duplicate "verify" id that was on multiple elements.
#5003
32702d9c9
Thanks @hbuchel! - fix(ui/react): add missing color token for CheckboxField labelThe CheckboxField label color (and disabled color) can now be themed correctly via:
Updated dependencies [
1d9c5c862
,4eae32e91
,32702d9c9
]:v6.1.4
Compare Source
Patch Changes
80ad8cda6
]:v6.1.3
Compare Source
Patch Changes
#4971
d66aa68df
Thanks @calebpollman! - fix(AccountSettings): pass displayText to WarningViewUpdated dependencies [
7eeb0ae7c
]:v6.1.2
Compare Source
Patch Changes
#4789
0f767c7fa
Thanks @esauerbo! - fix(ui): add tokens for ShowPassword button error state.Added 'error' color theme for
ShowPassword
button (part ofPasswordField
)#4916
6721c15f8
Thanks @hbuchel! - chore: Removes the brand namespace from theBrandColorKeys
type, splits it intoPrimaryColorKey
andSecondaryColorKey
, and updates usage across docs/examples.Updated dependencies [
0f767c7fa
,9dc52eb1b
,d61690d01
]:v6.1.1
Compare Source
Patch Changes
d7098c2fd
Thanks @zchenwei! - fix(ui-react): add aria-hidden to Select expand iconv6.1.0
Compare Source
Minor Changes
8d41213bc
Thanks @calebpollman! - chore(docs): remove dynamic imports from React primitive pages, add FilterChildren internal componentv6.0.7
Compare Source
Patch Changes
4f643b05b
,190bf28d1
]:v6.0.6
Compare Source
Patch Changes
#4811
38bae5ee5
Thanks @esauerbo! - fix(liveness): adding aria attributes for photosensitivity warningUse a button for photosensitivity warning toggle instead of div to it make keyboard navigable.
Add aria roles to make the warning accessible for screen readers.
Updated dependencies [
38bae5ee5
]:v6.0.5
Compare Source
Patch Changes
#4802
c526cf53b
Thanks @thaddmt! - fix(liveness): add a11y tags to match indicator barUpdated dependencies [
c526cf53b
,cc2740b9a
]:v6.0.4
Compare Source
Patch Changes
ed55a6a36
,272a05edc
]:v6.0.3
Compare Source
Patch Changes
#4767
4ff26e27e
Thanks @calebpollman! - fix(authenticator): forgot password clean upUpdated dependencies [
4ff26e27e
,bb141a719
]:v6.0.2
Compare Source
Patch Changes
9dd0e58e5
]:v6.0.1
Compare Source
Patch Changes
2ab62defe
Thanks @calebpollman! - fix: rename ResetPassword to ForgotPasswordv6.0.0
Compare Source
Major Changes
Authenticator
Breaking ChangesThe
initialState
property now acceptsforgotPassword
in place ofresetPassword
:The
user
object provided after an end user has been authenticated has been updated to reflect theAuthUser
interface available fromaws-amplify/auth
:AuthUser
can be imported fromaws-amplify/auth
:User attributes are now available by directly calling
fetchUserAttribues
:The function signatures of the
services
interface have been updated to align with the shape of the underlyingaws-amplify/auth
APIs used by theAuthenticator
and provide improved typescript support:The input and return type interfaces are available as imports from
aws-amplify/auth
:#4452
de87be6d3
Thanks @dbanksdesign! - BREAKING:#4509
55d1f4940
Thanks @dbanksdesign! - breaking: refactoring Tabs component to remove Radix dependency and allow more composability and customization.You can also use the Tabs in a uncomposed way too:
Some notable differences:
defaultIndex
orcurrentIndex
you provide adefaultValue
orvalue
. Each Tabs.Item and Tabs.Panel should have avalue
that matches with the corresponding element.onChange
becomesonValueChange
defaultValue
orvalue
or else there will be no default selected tab. Previously the Tabs component would default to the first tab.There are also more design tokens and better CSS classes for easier customization.
#4474
27783d65a
Thanks @dbanksdesign! - breaking: updating classnames for better BEM syntaxamplify-loader__percentage-text
->amplify-loader__label
amplify-menu-content-wrapper
->amplify-menu__wrapper
amplify-menu-trigger
->amplify-menu__trigger
amplify-menu-content
->amplify-menu__content
amplify-menu-content__item
->amplify-menu__content__item
amplify-pagination__item-button
->amplify-pagination__item
amplify-pagination__item-current
->amplify-pagination__item--current
amplify-pagination__item-ellipsis
->amplify-pagination__item--ellipsis
amplify-rating-icon-container
->amplify-rating__item
amplify-rating-icon
->amplify-rating__icon
amplify-rating-icon-filled
->amplify-rating__icon--filled
amplify-rating-icon-empty
->amplify-rating__icon--empty
amplify-select__icon-wrapper
->amplify-select__icon
#4476
59c042c17
Thanks @dbanksdesign! - breaking: renaming Expander to Accordion and removing Radix dependency. The Accordion component is now built with<details>
and<summary>
elements to handle showing/hiding content.The Accordion can be controlled or uncontrolled (with a default value)
Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6
#4635
91372387c
Thanks @dbanksdesign! - breaking(theme): removing brand namespace from the theme tokensWe also added the ability to easily set the entire range of primary and secondary colors at the theme level
Minor Changes
#4445
7b55f4f78
Thanks @dbanksdesign! - feat: allow themes to have arbitrary tokens#4578
27be6ccf5
Thanks @dbanksdesign! - feat: add CSS layers support and CSS file splitting. The default style import '@aws-amplify/ui-react/styles.css' remains unchanged so these features are opt-in.We are now exposing each different component CSS file if you want fine-grained control over what CSS is loaded. Additionally, we will have a CSS reset and a base CSS file.
If you only wanted the button CSS you could do this:
You can also use the main 'styles.css' import with the new reset file too.
To use CSS layers, replace '.css' with '.layer.css' for any CSS import.
Patch Changes
#4463
23c0910d0
Thanks @esauerbo! - refactor(ui): update RadioGroupField to use FieldsetUpdate to
RadioGroupField
component props:legend
replaceslabel
legendHidden
replaceslabelHidden
Example usage:
<RadioGroupField legend="Language" legendHidden />
#4716
5bd721183
Thanks @calebpollman! - chore(deps): upgrade aws-amplify depsUpdated dependencies [
55d1f4940
,7b55f4f78
,27783d65a
,59c042c17
,91372387c
,f9e4fa838
,27be6ccf5
,5bd721183
]:aws-amplify/amplify-js (aws-amplify)
v6.6.4
Compare Source
v6.6.3
: 2024-09-30 Amplify JS release - [email protected]Compare Source
What's Changed
New Contributors
Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@6.6.3
v6.6.2
: 2024-09-16 Amplify JS release - [email protected]Compare Source
What's Changed
Full Changelog: https://github.com/aws-amplify/amplify-js/compare/[email protected]@6.6.2
v6.6.1
: 2024-09-16 Amplify JS release - [email protected]Compare Source
What's Changed
userPoolEndpoint
cannot be applied on the server-side by @HuiSF in https://github.com/aws-amplify/amplify-js/pull/13739Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: