Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge next-release/main to main #4709

Merged
merged 226 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
c473d30
chore(ci): Add CICD workflows (#4403)
ioanabrooks Sep 1, 2023
c6e10f6
chore: Remove File Uploader component (#4418)
ioanabrooks Sep 6, 2023
14f68ea
chore(ui): Update amplify dependencies and add no-op modules (#4416)
ioanabrooks Sep 7, 2023
787134a
chore: remove unneeded studio hooks (#4402)
reesscot Sep 7, 2023
5fdfa4d
Revert "chore(ui): Update amplify dependencies and add no-op modules …
ioanabrooks Sep 11, 2023
321fe8c
chore(ui): Remove duplicate util function (#4425)
ioanabrooks Sep 11, 2023
0b8f63b
chore(docs): migrate component classname metadata object to docs (#4435)
calebpollman Sep 13, 2023
865ae2d
chore(tsconfig): update target for react packages to ES2020
calebpollman Sep 14, 2023
93616e1
Merge branch 'main' into next-release/main
calebpollman Sep 16, 2023
c5cf24e
Merge branch 'main' into next-release/main
calebpollman Sep 21, 2023
cc3fbe9
chore(react): Use displayText for Account Settings (#4459)
ioanabrooks Sep 22, 2023
7b55f4f
feat: allow themes to have arbitrary tokens (#4445)
dbanksdesign Sep 22, 2023
de87be6
BREAKING: Removing stylistic data-attributes (#4452)
dbanksdesign Sep 22, 2023
7c7d3ad
chore(A.Next): merge ui-react-auth/main to next-release/main (#4470)
calebpollman Sep 22, 2023
25eae4c
chore(tsconfig): add @aws-amplify/ui-typescript-config
calebpollman Sep 22, 2023
fd1c9e8
Revert "chore(tsconfig): add @aws-amplify/ui-typescript-config"
calebpollman Sep 23, 2023
2c7a887
chore(ui-react): remove additional datastore utils
calebpollman Sep 24, 2023
7ee636b
Revert "chore(ui-react): remove additional datastore utils"
calebpollman Sep 24, 2023
94d9e33
fix(next-release/main): nohoist react-hook-form (#4473)
calebpollman Sep 25, 2023
d8dff50
chore(ui-react): remove additional datastore utils (#4475)
calebpollman Sep 25, 2023
9c3c9cb
chore(displayText): add display text base types (#4471)
calebpollman Sep 25, 2023
6f730f1
Merge branch 'main' into next-release/main
calebpollman Sep 26, 2023
27783d6
breaking: updating classnames for better BEM syntax (#4474)
dbanksdesign Sep 27, 2023
af23815
chore(tsconfig): add @aws-amplify/typescript-config (#4472)
calebpollman Sep 27, 2023
27d76a3
feat(A.Next): add createProvider util and related context (#4490)
calebpollman Sep 28, 2023
d3e4c71
fix(configs): update ts config package exports field (#4492)
calebpollman Sep 28, 2023
23c0910
refactor(ui): update radiogroupfield to use fieldset (#4463)
esauerbo Sep 28, 2023
48200d3
chore(migration): update types and APIs across package
calebpollman Sep 24, 2023
911fa02
add @todo-migration flag for CI
calebpollman Sep 28, 2023
3d1bde4
add getAuthenticatorConfig, get basic sign in working with Authenticator
calebpollman Sep 24, 2023
0581e30
chore: Add github workflow for running tests on PRs (#4495)
ioanabrooks Sep 29, 2023
5e4736a
chore: Update display text props (#4477)
ioanabrooks Sep 29, 2023
2cad93b
Merge branch 'next-release/main' into next-release/migration
calebpollman Sep 29, 2023
916f085
Merge branch 'main' into next-release/main
calebpollman Oct 1, 2023
6e2dcce
Merge branch 'next-release/main' into next-release/migration
calebpollman Oct 1, 2023
81fd2e5
chore(geo): v6 migration for MapView and LocationSearch, updated to p…
thaddmt Oct 2, 2023
cdfe10d
fix(e2e): add esbuild devDep
calebpollman Oct 2, 2023
daddcc6
chore(storage): Migrate Storage components (#4483)
ioanabrooks Oct 4, 2023
980770d
chore: Migrate Account Settings (#4498)
ioanabrooks Oct 4, 2023
b254c2c
chore: fix workflow runs
thaddmt Oct 6, 2023
e50dade
chore(liveness): mark liveness package as private
thaddmt Oct 6, 2023
b5b236c
breaking(liveness): remove unused strings
thaddmt Oct 6, 2023
0f80f65
chore: skip liveness during tests
thaddmt Oct 6, 2023
4163705
chore: Fix Storage Manager unit tests (#4512)
ioanabrooks Oct 6, 2023
1769761
feat(ui-react-native): Add federated authentication (#4516)
ioanabrooks Oct 10, 2023
a0c227d
chore: Revert test internal Pr workflow changes (#4530)
ioanabrooks Oct 11, 2023
77f8487
Merge branch 'main' into next-release/migration
thaddmt Oct 11, 2023
2af5d3c
chore: bump tslib and typescript versions (#4524)
thaddmt Oct 11, 2023
782dc5c
chore: update console-preview-tag, get force new password working (#4…
thaddmt Oct 12, 2023
74b3ba2
chore: redisable brekaing e2e tests for now (#4533)
thaddmt Oct 12, 2023
b40db0a
chore: Fix docs e2es (#4536)
ioanabrooks Oct 13, 2023
aaa6c20
chore: Migrate password validators (#4529)
ioanabrooks Oct 13, 2023
bde0923
Merge branch 'main' into next-release/main
calebpollman Oct 16, 2023
be8ab3c
breaking: remove old AmplifyProvider (#4539)
reesscot Oct 17, 2023
a5b7cb0
chore: Complete deep linking for social signin (#4538)
ioanabrooks Oct 17, 2023
f5af403
chore(setUserAgent): add initial util and types (#4546)
calebpollman Oct 17, 2023
429bbd8
chore: get confirmation code flow working (#4534)
thaddmt Oct 17, 2023
d1ba7d7
fix(auth): remove serviceOptions change in Auth apis (#4547)
thaddmt Oct 18, 2023
59c042c
breaking: Expander -> Accordion (#4476)
dbanksdesign Oct 18, 2023
0931056
fix: sign in with sms confirmation code (#4549)
thaddmt Oct 18, 2023
d1efe35
chore: fix xstate bug with always transition (#4555)
thaddmt Oct 19, 2023
8b5b180
fix: getCurrentUser before resolving (#4557)
thaddmt Oct 19, 2023
c8ffab8
fix: change auth logic for verification (#4558)
thaddmt Oct 19, 2023
d4ac074
chore: call fetchUserAttributers with getUser (#4556)
thaddmt Oct 19, 2023
01ae2f6
fix: fix totp sign in (#4559)
thaddmt Oct 19, 2023
ae064e6
chore: updating geo example to show button
esauerbo Oct 19, 2023
b0cf1aa
chore: update geo package (#4560)
esauerbo Oct 20, 2023
19733c6
fix: various bug fixes found in bug bash (#4564)
thaddmt Oct 20, 2023
d111544
Merge branch 'main' into next-release/main
calebpollman Oct 20, 2023
6cab011
Merge branch 'next-release/main' into next-release/migration
calebpollman Oct 20, 2023
0e44fa9
fix: update aws-amplify to fix social providers (#4566)
thaddmt Oct 20, 2023
adddc15
chore: update aws-amplify to fix confirm sign in issue (#4568)
thaddmt Oct 21, 2023
41b93cb
Merge branch 'main' into next-release/main
calebpollman Oct 21, 2023
5ca6832
Merge branch 'next-release/main' into next-release/migration
calebpollman Oct 21, 2023
5df9bf9
fix(canary): remove AmplifyProvider (#4571)
calebpollman Oct 21, 2023
d98988f
Merge branch 'next-release/main' into next-release/migration
calebpollman Oct 22, 2023
4278849
chore: add data plane tracking (#4563)
esauerbo Oct 23, 2023
f3e99d5
chore: migrate in-app messaging (#4548)
esauerbo Oct 23, 2023
e4a261a
fix: example apps for vue and angular auto signin (#4575)
thaddmt Oct 24, 2023
60f0c1c
Revert "chore: add data plane tracking (#4563)" (#4577)
calebpollman Oct 24, 2023
de3d038
chore: Fix signIn actor (#4579)
ioanabrooks Oct 24, 2023
9f2413b
chore: add data plane tracking utils/constants (#4581)
esauerbo Oct 25, 2023
591151b
chore(docs): fix accordion line break
dbanksdesign Oct 25, 2023
d74d885
chore: add data plane tracking (#4574)
esauerbo Oct 25, 2023
5acdece
chore(react-18): upgrade react 18, react native/nextjs example apps, …
calebpollman Oct 25, 2023
fc2eb4d
chore(docs): fix social images for now (#4584)
dbanksdesign Oct 25, 2023
e919c2d
fix(accordion): safari bug (#4582)
dbanksdesign Oct 25, 2023
0f0da8f
Merge branch 'next-release/main' into next-release/migration
calebpollman Oct 26, 2023
dab93ce
fix(react-native): fix broken unit tests, add correct mocks (#4587)
calebpollman Oct 26, 2023
d109de4
chore: skip broken vue tests (#4589)
reesscot Oct 26, 2023
c141179
chore(rollup): remove terser plugin (#4590)
calebpollman Oct 26, 2023
687431a
fix: update ui-react-native post RN mv bump (#4591)
calebpollman Oct 26, 2023
8e67bf8
fix(ui): rewrite PasswordSettings utility type to remove undefind values
calebpollman Oct 26, 2023
9061e28
chore: fix and skip ui tests
reesscot Oct 26, 2023
d403697
chore: skip another ui tests
reesscot Oct 26, 2023
51b1d68
chore: skip react unit test
reesscot Oct 26, 2023
8d1d9f6
chore: fix react-core test
reesscot Oct 26, 2023
7f516b5
fix: react and connected packages updates
calebpollman Oct 26, 2023
520aa04
fix: fix setUserAgent types
calebpollman Oct 26, 2023
6fecd03
fix: fix ui-react-core mocks
calebpollman Oct 26, 2023
2f4af78
fix: vus
calebpollman Oct 26, 2023
3f93585
fix challengeName resolution
calebpollman Oct 26, 2023
55d1f49
breaking: updating tabs (#4509)
dbanksdesign Oct 26, 2023
27be6cc
feat: css layers (#4578)
dbanksdesign Oct 26, 2023
35eb5a8
fix: fix rn example post merge
calebpollman Oct 26, 2023
7cebe59
Merge branch 'next-release/migration' into next-release/merge-main-to…
calebpollman Oct 26, 2023
b0028a0
fix(ui): fix state machine types
calebpollman Oct 26, 2023
920a139
chore: Add publish workflow (#4598)
ioanabrooks Oct 27, 2023
2abe40b
chore: Remove dev preview box from Account Settings (#4599)
ioanabrooks Oct 27, 2023
f3b003c
chore: switch order of publish and e2e for publish workflow (#4601)
ioanabrooks Oct 27, 2023
12c6886
fix: remove dev preview form account settings component pages
ioanabrooks Oct 28, 2023
915d17a
chore: bump amplify to 6.0 (#4604)
reesscot Oct 28, 2023
4b1eb5a
chore(next-release): set auth packages private, update Logger imports…
calebpollman Oct 28, 2023
7a22491
Merge branch 'next-release/main' into next-release/merge-main-to-migr…
calebpollman Oct 28, 2023
9b34fc6
chore(next-release): add fs-extra types
calebpollman Oct 28, 2023
1df9278
fix(authenticator): fix force reset password and admin created user f…
calebpollman Oct 29, 2023
7354970
chore(authenticator): remove zwro config workarounds
calebpollman Oct 29, 2023
b55355d
chore: fix authenticator e2e tests (#4607)
reesscot Oct 29, 2023
3d3eda4
fix: fix RESET_PASSWORD nextStep, fix challangeName
calebpollman Oct 29, 2023
0772d81
chore(e2e): enable all Authenticator tests
calebpollman Oct 29, 2023
ef9a060
chore(e2e): format feature files
calebpollman Oct 29, 2023
3d9dd54
chore(migration): cleanup import paths, fix some types
calebpollman Oct 29, 2023
f9bf4e5
fix(vue): add aws-amplify/core to vite externals
calebpollman Oct 29, 2023
2068180
chore: fix sign-in-totp-mfa and skip one test
reesscot Oct 29, 2023
66d3a0f
chore: reenable e2e tests
reesscot Oct 29, 2023
972eed4
fix(vue): add aws-amplify/utils to vite externals
calebpollman Oct 29, 2023
6c233fe
fix(vue): add aws-amplify/auth to vite externals
calebpollman Oct 29, 2023
2179601
chore: add implementations for spy and confirm for detox
reesscot Oct 30, 2023
a53bb22
fix: update state machine logic to handle authStatus correctly
calebpollman Oct 30, 2023
e97358d
fix: update angular authStatus test, enable a hub test
calebpollman Oct 30, 2023
1876943
fix: render qr code when username is undefined in Vue
calebpollman Oct 30, 2023
cb99e7a
fix(examples): move angular federation sign in configure call outside…
calebpollman Oct 30, 2023
766bbcb
fix: remove getCurrentUser from handleConfirmSignIn
calebpollman Oct 30, 2023
31e2a39
fix: revert angular example chnages
calebpollman Oct 30, 2023
3b059c4
fix(vue/angular): phone number field styles (#4611)
dbanksdesign Oct 30, 2023
e0d6e1d
chore(docs): fix live editor blur bug (#4612)
dbanksdesign Oct 30, 2023
16b67fc
temp
calebpollman Oct 30, 2023
91cf3f6
fix: monkeypatch getCurrentUser to mimic v5 behavior
calebpollman Oct 31, 2023
1ed8175
fix(react-native): federated button styles (#4613)
dbanksdesign Oct 31, 2023
9cb4913
fixing unit test (#4603)
esauerbo Oct 31, 2023
d73ae01
chore: update docs next version to 13.5.5
reesscot Oct 31, 2023
23e36d0
Revert "chore: update docs next version to 13.5.5"
reesscot Oct 31, 2023
08061bf
chore: update docs next version to 13.5.5 (#4619)
reesscot Oct 31, 2023
cbc5033
chore: remove next example extraneous Authenticator.Provider, clean u…
calebpollman Oct 31, 2023
381092a
chore: adding ua path to vite config external (#4620)
esauerbo Oct 31, 2023
bb65e5b
chore: Add missing form fields to RNA example app (#4583)
ioanabrooks Oct 31, 2023
e22b621
docs: cleaning up migration docs (#4600)
dbanksdesign Oct 31, 2023
a10f451
chore: turn off skipLiCheck in tsconfig.base.json, align ui-react-sto…
calebpollman Oct 31, 2023
913d94c
Merge branch 'next-release/main' into next-release/merge-main-to-migr…
calebpollman Oct 31, 2023
20d26d1
fix: bump ui package amplify dep
calebpollman Oct 31, 2023
fbdb726
fix: remove next example window updates (#4622)
calebpollman Oct 31, 2023
1cf8cdb
chore: disable a couple e2e tests pending bug fixes
calebpollman Nov 1, 2023
e9c763e
chore(build tests): Remove outdated imports from mega-app templates (…
esauerbo Nov 1, 2023
0e30517
chore: point to aws-amplify unstable
calebpollman Nov 1, 2023
9e83b9b
fix(docs): update UploadDataOutput import path in storageMock
calebpollman Nov 1, 2023
6f8083f
chore: update ci publish timing
calebpollman Nov 1, 2023
dad5003
chore: fixing link checker (#4625)
esauerbo Nov 1, 2023
cee15bf
chore: update ui-react jest thresholds
calebpollman Nov 1, 2023
8c15f42
chore: refresh unstable version
calebpollman Nov 1, 2023
cca49f9
chore: prepare for merge to next-release/main
calebpollman Nov 1, 2023
6ae8ef9
Merge branch 'next-release/main' into next-release/merge-main-to-migr…
calebpollman Nov 1, 2023
ddd559d
fix: add js rn package devDep to rn auth, clean up some imports
calebpollman Nov 1, 2023
b61ed20
chore(docs): update liveness install instructions to use aws-amplify …
thaddmt Nov 2, 2023
b587f7a
fix: nohoist rn url package
calebpollman Nov 3, 2023
f6722a2
chore(ci): add explicit esm validation and temporarily disable
calebpollman Nov 3, 2023
fea0645
chore(deps): remove rollup-plugin-terser
calebpollman Nov 3, 2023
0b55587
fix(theme): refactor SpaceValue, remove BorderWidthValue
calebpollman Nov 3, 2023
c001802
fix(rn): fix test type checking in dev
calebpollman Nov 3, 2023
901c5d4
fix(ci); lower jest thresholds as needed
calebpollman Nov 3, 2023
600eedb
chore(theme): minor type util clean up
calebpollman Nov 3, 2023
fc1e826
fix(in-app): fix a js mock
calebpollman Nov 3, 2023
fb59c5c
fix(vue): ignore addl test paths
calebpollman Nov 3, 2023
e8e871e
Merge branch 'main' into next-release/main
calebpollman Nov 3, 2023
3280656
Merge pull request #4592 from aws-amplify/next-release/merge-main-to-…
calebpollman Nov 3, 2023
d98bb56
chore(ci): turn back on RN e2e ci, remove early publish (#4639)
calebpollman Nov 6, 2023
4206683
chore: fix RN e2e tests (#4632)
reesscot Nov 6, 2023
229aed6
chore: fix lodash import (#4642)
reesscot Nov 6, 2023
3bc292f
chore: make lodash import a default import (#4643)
reesscot Nov 6, 2023
b0dd7ae
chore: add mjs publish action (#4646)
reesscot Nov 6, 2023
50b740a
Revert "chore: add mjs publish action (#4646)" (#4648)
reesscot Nov 6, 2023
63cf33f
breaking(vue): removing deprecated code and styles cleanup (#4634)
dbanksdesign Nov 6, 2023
70d79f7
chore(classnames): removing classnames dependency (#4640)
dbanksdesign Nov 7, 2023
113bb78
chore(react): removing deepmerge dependency (#4650)
dbanksdesign Nov 7, 2023
b855b8b
chore: update federated auth enums for v6 (#4651)
reesscot Nov 7, 2023
1e3e3e6
chore: update confirmation code to text field type (#4652)
reesscot Nov 7, 2023
9137238
breaking(theme): removing brand namespace (#4635)
dbanksdesign Nov 7, 2023
284c099
chore: update aws-amplify to use new unstable (#4664)
reesscot Nov 8, 2023
ed2d76b
chore(ci): disable RN e2e tests
calebpollman Nov 8, 2023
389822d
Merge branch 'main' into next-release/main
calebpollman Nov 8, 2023
36d352a
fix(rn): fix amplify rn package mocks (#4669)
calebpollman Nov 8, 2023
7e93334
fix: udpate maplibre-amplify dependencies
thaddmt Nov 8, 2023
6f1fae6
chore: update java to 17 (#4663)
reesscot Nov 8, 2023
26dd8de
chore: publish a next-release-unstable tag (#4672)
reesscot Nov 8, 2023
d649be4
chore(e2e): fix react e2e tests
dbanksdesign Nov 8, 2023
776527c
chore(liveness): fix liveness to work with v6 (#4653)
thaddmt Nov 8, 2023
fd697cd
fix(docs): fix flicker when changing tabs (#4674)
esauerbo Nov 8, 2023
bc4831c
fix(storageimage): handle onStorageGetError properly (#4667)
dbanksdesign Nov 8, 2023
556ab16
fix(storage): sending metadata again (#4665)
dbanksdesign Nov 8, 2023
08c5ed3
fix(rn): no hoist rn community namespace
calebpollman Nov 8, 2023
ef3289a
fix(react-native): skip cognito hosted ui for social providers
dbanksdesign Nov 9, 2023
e425044
nm
dbanksdesign Nov 9, 2023
5683a1f
chore: fixing rn unit test
esauerbo Nov 9, 2023
dad014b
fix(storagemanager): fix duplicate key issue (#4668)
dbanksdesign Nov 9, 2023
4f01b5d
chore(e2e): fixing skipped e2e tests for in-app (#4626)
esauerbo Nov 9, 2023
5681a32
chore(ci): re-enable ci size and esm checks (#4675)
esauerbo Nov 9, 2023
a48a10f
chore(in-app): exporting InAppMessage types (#4638)
esauerbo Nov 9, 2023
7af6baa
Merge branch 'main' into next-release/main
calebpollman Nov 10, 2023
4742160
chore(authenticator): migrate state machine (#4680)
calebpollman Nov 12, 2023
68a973a
chore(MV): clean up some migration comments and logs (#4692)
calebpollman Nov 12, 2023
85494f8
chore: update aws-amplify deps from unstable to 6.0.1 (#4688)
thaddmt Nov 12, 2023
e37c417
chore: re-enabling react unit tests (#4659)
esauerbo Nov 12, 2023
d48fe63
fix(ci): enable last commented out e2e tests, remove last of resetPas…
calebpollman Nov 13, 2023
66f7937
fix(authenticator): persist totp secret code between actors (#4697)
calebpollman Nov 13, 2023
ca231b2
fix(authenticator): include parsed phone_number in signUp input
calebpollman Nov 13, 2023
6a5268e
fix(authenticator): fix username lookup for signUp with phone_number
calebpollman Nov 13, 2023
24d4986
Merge main to next release/main (#4702)
reesscot Nov 14, 2023
1cb640e
chore(react): fixing console errors on react primitives unit tests (#…
esauerbo Nov 14, 2023
65c6980
chore(docs): fix colors page (#4683)
dbanksdesign Nov 14, 2023
3e02748
chore: gitignore the amplifyconfiguration.json (#4682)
reesscot Nov 14, 2023
58660d3
chore(mv): replace AmplifyUser with AuthUser (#4698)
calebpollman Nov 14, 2023
1b2d8e9
Merge branch 'main' into next-release/main
reesscot Nov 14, 2023
31021d1
chore: remove testing publishing workflows (#4706)
reesscot Nov 14, 2023
164ad9d
fix: account settings - change password e2e test (#4707)
reesscot Nov 14, 2023
b4f205c
chore(mv): clean up before merge to main (#4708)
calebpollman Nov 14, 2023
39e297a
Update .github/workflows/test-internal-prs.yml
calebpollman Nov 14, 2023
75c748f
chore: clean up a workflow name
calebpollman Nov 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/afraid-pugs-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@aws-amplify/ui-react": major
---

BREAKING:
* Removing stylistic data-attributes from React primitives
* Update SwitchField classnames to be BEM
* Removing remnants of "countryCode"
46 changes: 46 additions & 0 deletions .changeset/bogus-cats-shred.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
"@aws-amplify/ui-react": major
"@aws-amplify/ui": major
---

breaking: refactoring Tabs component to remove Radix dependency and allow more composability and customization.

```diff
- import { Tabs, TabItem } from '@aws-amplify/ui-react'
+ import { Tabs } from '@aws-amplify/ui-react'

- <Tabs>
- <TabItem title="Tab 1">
- Tab 1 Content
- </TabItem>

+ <Tabs.Container defaultValue="Tab 1">
+ <Tabs.List>
+ <Tabs.Item value="Tab 1">Tab 1</Tabs.Item>
+ </Tabs.List>
+ <Tabs.Panel value="Tab 1">
+ Tab 1 Content
+ </Tabs.Panel>
+ </Tabs.Container>
```


You can also use the Tabs in a uncomposed way too:

```jsx
<Tabs
defaultValue={'Tab 1'}
items={[
{ label: 'Tab 1', value: 'Tab 1', content: 'Tab content #1' },
{ label: 'Tab 2', value: 'Tab 2', content: 'Tab content #2' },
{ label: 'Tab 3', value: 'Tab 3', content: 'Tab content #3' },
]}
/>
```

Some notable differences:
* Instead of providing a `defaultIndex` or `currentIndex` you provide a `defaultValue` or `value`. Each Tabs.Item and Tabs.Panel should have a `value` that matches with the corresponding element.
* `onChange` becomes `onValueChange`
* You should supply a `defaultValue` or `value` 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.
7 changes: 7 additions & 0 deletions .changeset/clever-mirrors-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@aws-amplify/ui-react-native": minor
"@aws-amplify/ui-react": minor
"@aws-amplify/ui": minor
---

feat: allow themes to have arbitrary tokens
7 changes: 7 additions & 0 deletions .changeset/cool-mangos-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@aws-amplify/ui-react-storage": patch
---

fix(react-storage): StorageImage now fires onStorageGetError when an object is not found

StorageImage now has a prop called `validateObjectExistence` which is default to `true`. This checks if there is a file at the given path before adding it as the `src` on an image.
20 changes: 20 additions & 0 deletions .changeset/hip-apples-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@aws-amplify/ui-react": major
"@aws-amplify/ui": major
---

breaking: updating classnames for better BEM syntax

* `amplify-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`
31 changes: 31 additions & 0 deletions .changeset/itchy-ads-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
"@aws-amplify/ui": major
"@aws-amplify/ui-react": major
---

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.

```jsx
<Accordion.Container>
<Accordion.Item value="item-1">
<Accordion.Trigger>
Click me first!
<Accordion.Icon />
</Accordion.Trigger>
<Accordion.Content>
Now when you click the second item, this item will automatically collapse.
</Accordion.Content>
</Accordion.Item>
<Accordion.Item value="item-2">
<Accordion.Trigger>
Then click me!
<Accordion.Icon />
</Accordion.Trigger>
<Accordion.Content>
Notice how only one item can be open at a time for the single Accordion type.
</Accordion.Content>
</Accordion.Item>
</Accordion.Container>
```

The Accordion can be controlled or uncontrolled (with a default value)
35 changes: 35 additions & 0 deletions .changeset/mighty-gifts-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
"@aws-amplify/ui": major
"@aws-amplify/ui-react": major
---

breaking(theme): removing brand namespace from the theme tokens

```diff
- tokens.colors.brand.primary[10]
+ tokens.colors.primary[10]
```


```diff
const theme = createTheme({
tokens: {
colors: {
- brand: {
primary: {
//...
}
- }
}
}
})
```

We also added the ability to easily set the entire range of primary and secondary colors at the theme level

```ts
const theme = createTheme({
primaryColor: 'red',
secondaryColor: 'green'
});
```
12 changes: 12 additions & 0 deletions .changeset/plenty-apples-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@aws-amplify/ui-react": patch
---

refactor(ui): update RadioGroupField to use Fieldset

Update to `RadioGroupField` component props:
- `legend` replaces `label`
- `legendHidden` replaces `labelHidden`

Example usage:
``` <RadioGroupField legend="Language" legendHidden /> ```
23 changes: 23 additions & 0 deletions .changeset/slow-ants-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
"@aws-amplify/ui-react": minor
"@aws-amplify/ui": minor
---

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:

```javascript
import '@aws-amplify/ui-react/styles/reset.css'
import '@aws-amplify/ui-react/styles/base.css'
import '@aws-amplify/ui-react/styles/button.css'
```

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.

```diff
- import '@aws-amplify/ui-react/styles.css'
+ import '@aws-amplify/ui-react/styles.layer.css'
```
4 changes: 3 additions & 1 deletion .github/actions/changed-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ runs:

# check if any of the modified files belongs to the specified input packages
if echo "$changed_files" | grep -Eq "^($package_names)/"; then
echo "has-changed-packages=true" >> $GITHUB_OUTPUT
# @todo-migration re-enable
# echo "has-changed-packages=true" >> $GITHUB_OUTPUT
echo "has-changed-packages=false" >> $GITHUB_OUTPUT
else
echo "has-changed-packages=false" >> $GITHUB_OUTPUT
fi
2 changes: 2 additions & 0 deletions .github/dependency-review/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
allow-licenses:
- '0BSD'
- 'Apache-2.0'
- 'Apache-2.0 AND MIT'
- 'BlueOak-1.0.0'
- 'BSL-1.0'
- 'BSD-1-Clause'
Expand All @@ -17,6 +18,7 @@ allow-licenses:
- 'ISC'
- 'JSON'
- 'MIT'
- 'MIT AND Zlib'
- 'MPL-2.0'
- 'NTP'
- 'OFL-1.0'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-runtime-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f
with:
persist-credentials: false
- name: Setup Node.js 16
- name: Setup Node.js 20
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: 16
node-version: 20
cache: 'yarn'
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-system-test-react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ jobs:
key: ${{ runner.os }}-nodemodules-${{ inputs.commit }}
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3
- name: Install Java 11
- name: Install Java 17
if: ${{ matrix.platform == 'android' }}
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # 3.6.0
with:
distribution: 'corretto' # Amazon Corretto Build of OpenJDK
java-version: '11'
java-version: '17'

- name: Install iOS simulator
if: ${{ matrix.platform == 'ios' }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/build-system-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,87 +31,87 @@ jobs:
build-tool-version: latest
pkg-manager: npm
language: ts
node-version: 16
node-version: 20
- framework: react
framework-version: 16
build-tool: cra
build-tool-version: latest
pkg-manager: npm
language: ts
node-version: 18
node-version: 20
- framework: react
framework-version: latest
build-tool: cra
build-tool-version: latest
pkg-manager: npm
language: js
node-version: 18
node-version: 20
- framework: react
framework-version: latest
build-tool: cra
build-tool-version: latest
pkg-manager: yarn
pkg-manager-version: 1
language: ts
node-version: 18
node-version: 20
- framework: react
framework-version: 17
framework-version: 18
build-tool: next
build-tool-version: 11
build-tool-version: 12
pkg-manager: npm
language: ts
node-version: 16
node-version: 20
- framework: react
framework-version: latest
build-tool: vite
build-tool-version: 2
pkg-manager: npm
language: ts
node-version: 18
node-version: 20

- framework: angular
framework-version: latest
build-tool: angular-cli
build-tool-version: 16
pkg-manager: npm
language: ts
node-version: 18
node-version: 20
- framework: angular
framework-version: 14
build-tool: angular-cli
build-tool-version: 14
pkg-manager: npm
language: ts
node-version: 18
node-version: 20

- framework: vue
framework-version: 3 # here use "3" instead of "latest" because .vuerc(preset) doesn't accept "latest" as "vueVersion"
build-tool: vue-cli
build-tool-version: latest
pkg-manager: yarn # vue-cli defualt pkg-manager is yarn. It can't be customized in the preset.json.
language: ts
node-version: 18
node-version: 20
- framework: vue
framework-version: latest
build-tool: vite
build-tool-version: latest
pkg-manager: npm
language: ts
node-version: 18
node-version: 20
- framework: vue
framework-version: latest
build-tool: vite
build-tool-version: 2
pkg-manager: npm
language: ts
node-version: 18
node-version: 20
- framework: vue
framework-version: latest
build-tool: nuxt
build-tool-version: latest
pkg-manager: npm
language: ts
node-version: 18
node-version: 20

env:
MEGA_APP_NAME: ${{ matrix.framework }}-${{ matrix.framework-version }}-${{ matrix.build-tool }}-${{ matrix.build-tool-version }}-${{ matrix.language }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f
- name: Setup Node.js 16
- name: Setup Node.js 20
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: 16
node-version: 20
cache: 'yarn'
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
Expand Down Expand Up @@ -94,10 +94,10 @@ jobs:
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup Node.js 16
- name: Setup Node.js 20
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: 16
node-version: 20
cache: 'yarn'
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
Expand Down
Loading
Loading