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

chore(react): adding types to exports in package json #3104

Merged
merged 2 commits into from Nov 30, 2022
Merged

Conversation

dbanksdesign
Copy link
Contributor

@dbanksdesign dbanksdesign commented Nov 30, 2022

Description of changes

Adding "types" to react and UI package JSON

Issue #, if available

Fixes #2714

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Tests are updated
  • No side effects or sideEffects field updated
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dbanksdesign dbanksdesign requested a review from a team as a code owner November 30, 2022 05:10
@changeset-bot
Copy link

changeset-bot bot commented Nov 30, 2022

🦋 Changeset detected

Latest commit: cad72a9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@aws-amplify/ui-react Patch
@aws-amplify/ui Patch
@aws-amplify/ui-react-core Patch
@aws-amplify/ui-react-native Patch
@aws-amplify/ui-vue Patch
@aws-amplify/ui-angular Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dbanksdesign dbanksdesign temporarily deployed to ci November 30, 2022 05:34 Inactive
@dbanksdesign dbanksdesign temporarily deployed to ci November 30, 2022 05:34 Inactive
@dbanksdesign dbanksdesign temporarily deployed to ci November 30, 2022 05:34 Inactive
@dbanksdesign dbanksdesign temporarily deployed to ci November 30, 2022 05:34 Inactive
@calebpollman
Copy link
Contributor

LGTM but let's hold off on merging until we have verified that this change has the expected outcome regarding #2714

@joebuono
Copy link
Contributor

LGTM but let's hold off on merging until we have verified that this change has the expected outcome regarding #2714

I just verified that this change has the expected outcome.

@calebpollman
Copy link
Contributor

LGTM but let's hold off on merging until we have verified that this change has the expected outcome regarding #2714

I just verified that this change has the expected outcome.

Thanks @joebuono 🚢

@dbanksdesign dbanksdesign merged commit 8e5e696 into main Nov 30, 2022
@dbanksdesign dbanksdesign deleted the fix-2714 branch November 30, 2022 17:56
@github-actions github-actions bot mentioned this pull request Nov 30, 2022
thaddmt added a commit that referenced this pull request Apr 7, 2023
* fix: issue where theme cannot override default font (#2767)

* ci(next-release): setup next-release build tests (#2768)

* Add next-release build tests

* trigger ci

* fix typo

* Skip unrelated tests

* Revert "Skip unrelated tests"

This reverts commit c046da47adee7a636641eab507714fab53ded67f.

* Update step name

* fix: ensure TextField, TextAreaField, StepperField show full width (#2781)

* fix: make input full width by default

* fix: move alignSelf to parent TextArea/StepperField

* fix: issue where CheckBox example had missing required props

* fix: ensure SelectField select is full width by default

* BREAKING CHANGE: remove legacy exports (#2786)

* chore: remove legacy amplify exports

* chore: remove legacy docs

* chore: remove angular ui-components / stencil/core dep

* BREAKING CHANGE: React Field component style props split (#2636)

* fix(authenticator): Align Authenticator translations between frameworks (#2735)

* Remove legacy translation in confirmSignUp

* Send Code -> Send code to match React/Vue

* Remove legacy support for "Send Code"

* Remove support for legacy forgot password text

* retrigger ci

* Collect all strings

* Inline translation helpers

* Sort keys

* Add changesets for breaking changes

* Postfix each helper with `"Text"`

* Export helper

* Combine reset-password tests

* Add yarn.lock

* Remove translation from reset-password angular example

* Use authenticatorTextUtil in React

* Use `authenticatorTextUtil` in Angular Authenticator

* Use `authenticatorTextUtil` in Vue Authenticator

* Remove unused variables

* Add unit tests for authenticatorTextUtil.ts

* Add unit test for getDeliveryMessageText

* Actually translate instruction text

* Fix typo in Vue

* Fix one more typo

* Apply code suggestions from @joebuono

* Fix test import path

* Remove unused import

* Fix wrong button text (unit test caught it!)

* Add missing translate

* chore(ci): bump checkout versions to v3 (#2789)

* chore(ci): fix `publish-latest` + `build-and-runtime-test` (#2797)

* Remove unnecessary `setup-node` actions

* Remove setup-node

* feat(in-app-messaging): merge feature to next-release/main (#2798)

Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: Pollman <cpollman@bcd07442e016.ant.amazon.com>
Co-authored-by: Chris Fang <chrfang@amazon.com>
Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: wlee221 <willeea@amazon.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>
Co-authored-by: Joe Buono <joebuono@amazon.com>
Co-authored-by: Joe Buono <joebuono724@gmail.com>
Co-authored-by: thaddmt <68032955+thaddmt@users.noreply.github.com>
Co-authored-by: Heather Buchel <hbuchel@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: MJ <0618@users.noreply.github.com>
Co-authored-by: 0618 <o.6180339@gmail.com>
Co-authored-by: Shane Laymance <shane.laymance@gmail.com>
Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com>
Co-authored-by: Jacob Logan <lognjc@amazon.com>
Co-authored-by: Chenwei Zhang <40295569+zchenwei@users.noreply.github.com>

* fix: invalid changeset for legacy exports

* fix(textarea): fixing inputStyles type for TextAreaField (#2794)

* chore: add liveness-mobile-testing publish workflow to main

* fix: fix minimatch security vulnerability (#2815)

* Version Packages (#2757)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Run react-native tests on next-release (#2824)

* build: update workflow to pull Node 16 (#2831)

* chore: POC to setup node 16

* chore: update poc

* chore: update poc

* chore: remove dependency

* build: update workflow to pull Node 16

* chore(ci): Add missing secrets (#2829)

* fix(next-release): fix outdated `package.json` (#2836)

* Fix incorrect pkg versions

* retrigger ci

* Revert yarn.lock change

* deps(react): pin radix dependencies (#2827)

* Pin radix versions

* Create nine-falcons-explain.md

* chore(canary): point `aws-amplify` to next (#2822)

* chore(docs): update withAuthenticator Typescript example (#2842)

* chore(ci): update env appIds (#2856)

* fix(data): update usage of internal DataStore types (#2868)

* fix(data): update usage of internal DataStore types

* fix(data): additional type updates for DataStore hooks

* fix(data): fix types for

* update yarn.lock

* fix: add amplify latest to next example

* Create fast-toes-smash.md

* Update fast-toes-smash.md

Co-authored-by: Sreeram Sama <12038441+sreeramsama@users.noreply.github.com>

* refactor(authenticator)!: use Amplify JS auto sign in (#2877)

* First commit on xstate changes

* continued updates for auto sign in

* Updated auto-sign in for manual and auto sign ups

* Update auto sign in

* Configured to always use auto sign up

* Began fixing tests

* Fixing tests

* fixed tests

* Updated router config

* Updated logic for xstate

* Added new run actor state

* Fixed route config

* Cleaned up code

* Added more tests

* Updated test

* Updated test

* Trying to fix tests...

* Trying to fix tests....

* trying to fix tests....

* Updated tests...

* Trying to fix tests....

* Added additional documentation

* removed console.logs

* Fixed angular

* Added explicit instructions to update to the latest version of the aws-amplify library

* fixed test

* Create cuddly-insects-pump.md

* Create neat-houses-heal.md

* Create brown-lies-wonder.md

* Reverted overrides

* Updated docs

* Fixed issue with vue-tsc

* Added in more docs

* Updated migration docs

* Fixed spelling mistake

* Updated based on code review

* Refactored defaultAuthServices out and made some minor changes based on feedback from code review

* Fixed test

* Updated migration guides

* chore: wait for state machine to be in autoSignIn state (#2760)

* Remove 300ms wait

* wait for autoSignIn state

* Test `defaultAuthHubHandler` instead

* Add listenToAuthHub test

* Change extension

* Remove typo

* Change function type

* ignore waitFor error

* await defaultAuthHubHandler in Angular

* trigger ci

* Updated based on PR feedback

* Fixed bug in tests

* Update docs/src/pages/[platform]/connected-components/authenticator/customization/overrides/username.vue.mdx

* Added new transition

* Fixed test

* Fixed more tests

* Update fix for autoSignIn issue

* Fix

* Remove duplicate conditions

* Remove unnecessary onError cases

* Simplify experssion

* Revert "Remove unnecessary onError cases"

This reverts commit 4aeb2c481b747594c3b1bc5c4b10664a7a6e6e90.

* Use event.data instead of context.actorDoneData

* Remove unnecessary onError cases

This reverts commit d97541f06b6955c6044ee91e49185ff8aca39277.

* Updated changeset

* Updated sign-up-with-email removed extra context.route

* updated changerequest file

* Updates from code review

* Supplement comment for waitFor

* Use named export

* chore: update yarn.lock file (#2806)

* Added comment on routes facade

* explicit type for hub handler

* Add comment

* Update packages/ui/src/helpers/authenticator/facade.ts

* Whitespace push

* Updated migration docs based on feedback

* Updated migration docs

* fixed typos

* whitespace push

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: wlee221 <willeea@amazon.com>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>

* chore: upgrade maplibre-gl-js-amplify to v2.1.0 to support getSuggestions and getPlace (#2871)

* chore: upgrade maplibre-gl-js-amplify to v2.1.0 to support getSuggestions and getPlace

* Create cyan-eggs-itch.md

* fix: update test to check for marker on text search

* Revert "fix: update test to check for marker on text search"

This reverts commit 0ddf67e15fb0ca7a959022f02e0eef970de97797.

* fix: update test to click clear button in search textbox

* fix: update test to clear results

* Create strong-tips-mate.md

* Delete strong-tips-mate.md

Duplicate changeset

* chore: add comment on use of force for clear button click

* chore: update comment on use of force for clear button click

* docs(next-release): Add docs for i18n migration (#2803)

* First commit on xstate changes

* continued updates for auto sign in

* Updated auto-sign in for manual and auto sign ups

* Update auto sign in

* Configured to always use auto sign up

* Began fixing tests

* Fixing tests

* fixed tests

* Updated router config

* Updated logic for xstate

* Added new run actor state

* Fixed route config

* Cleaned up code

* Added more tests

* Updated test

* Updated test

* Trying to fix tests...

* Trying to fix tests....

* trying to fix tests....

* Updated tests...

* Trying to fix tests....

* Added additional documentation

* removed console.logs

* Fixed angular

* Added explicit instructions to update to the latest version of the aws-amplify library

* fixed test

* Create cuddly-insects-pump.md

* Create neat-houses-heal.md

* Create brown-lies-wonder.md

* Reverted overrides

* Updated docs

* Fixed issue with vue-tsc

* Added in more docs

* Updated migration docs

* Fixed spelling mistake

* Updated based on code review

* Refactored defaultAuthServices out and made some minor changes based on feedback from code review

* Fixed test

* Updated migration guides

* chore: wait for state machine to be in autoSignIn state (#2760)

* Remove 300ms wait

* wait for autoSignIn state

* Test `defaultAuthHubHandler` instead

* Add listenToAuthHub test

* Change extension

* Remove typo

* Change function type

* ignore waitFor error

* await defaultAuthHubHandler in Angular

* trigger ci

* Updated based on PR feedback

* Fixed bug in tests

* Update docs/src/pages/[platform]/connected-components/authenticator/customization/overrides/username.vue.mdx

* Added new transition

* Fixed test

* Fixed more tests

* Update fix for autoSignIn issue

* Fix

* Remove duplicate conditions

* Remove unnecessary onError cases

* Simplify experssion

* Revert "Remove unnecessary onError cases"

This reverts commit 4aeb2c481b747594c3b1bc5c4b10664a7a6e6e90.

* Use event.data instead of context.actorDoneData

* Remove unnecessary onError cases

This reverts commit d97541f06b6955c6044ee91e49185ff8aca39277.

* Updated changeset

* Updated sign-up-with-email removed extra context.route

* updated changerequest file

* Updates from code review

* Supplement comment for waitFor

* Use named export

* Add migration guides for i18n

* Fix typo

* chore: update yarn.lock file (#2806)

* Added comment on routes facade

* explicit type for hub handler

* Add comment

* Update packages/ui/src/helpers/authenticator/facade.ts

* Whitespace push

* Updated migration docs based on feedback

* Updated migration docs

* fixed typos

* whitespace push

* Fix typo

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>

* Version Packages (#2870)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(next-release): use named imports instead of default imports (#2873)

* fix(docs): Heading demo showing initial text/level (#2883)

* Fix italian grammar in translation and improve accuracy (#2881)

* Fix italian grammar in translation and improve accuracy

* Create hungry-lizards-melt.md

Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>

* fix(docs): 404 error from apple-touch-icon (#2874)

* fix(docs): 404 error from apple-touch-icon

* fix(docs): 404 error from apple-touch-icon by adding head

* chore(docs): clean up test video

Co-authored-by: 0618 <o.6180339@gmail.com>

* added new workflow for fileuploader (#2878)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* docs(next-release): Add docs for Angular 12 migration guide (#2804)

* First commit on xstate changes

* continued updates for auto sign in

* Updated auto-sign in for manual and auto sign ups

* Update auto sign in

* Configured to always use auto sign up

* Began fixing tests

* Fixing tests

* fixed tests

* Updated router config

* Updated logic for xstate

* Added new run actor state

* Fixed route config

* Cleaned up code

* Added more tests

* Updated test

* Updated test

* Trying to fix tests...

* Trying to fix tests....

* trying to fix tests....

* Updated tests...

* Trying to fix tests....

* Added additional documentation

* removed console.logs

* Fixed angular

* Added explicit instructions to update to the latest version of the aws-amplify library

* fixed test

* Create cuddly-insects-pump.md

* Create neat-houses-heal.md

* Create brown-lies-wonder.md

* Reverted overrides

* Updated docs

* Fixed issue with vue-tsc

* Added in more docs

* Updated migration docs

* Fixed spelling mistake

* Updated based on code review

* Refactored defaultAuthServices out and made some minor changes based on feedback from code review

* Fixed test

* Updated migration guides

* chore: wait for state machine to be in autoSignIn state (#2760)

* Remove 300ms wait

* wait for autoSignIn state

* Test `defaultAuthHubHandler` instead

* Add listenToAuthHub test

* Change extension

* Remove typo

* Change function type

* ignore waitFor error

* await defaultAuthHubHandler in Angular

* trigger ci

* Updated based on PR feedback

* Fixed bug in tests

* Update docs/src/pages/[platform]/connected-components/authenticator/customization/overrides/username.vue.mdx

* Added new transition

* Fixed test

* Fixed more tests

* Update fix for autoSignIn issue

* Fix

* Remove duplicate conditions

* Remove unnecessary onError cases

* Simplify experssion

* Revert "Remove unnecessary onError cases"

This reverts commit 4aeb2c481b747594c3b1bc5c4b10664a7a6e6e90.

* Use event.data instead of context.actorDoneData

* Remove unnecessary onError cases

This reverts commit d97541f06b6955c6044ee91e49185ff8aca39277.

* Updated changeset

* Updated sign-up-with-email removed extra context.route

* updated changerequest file

* Updates from code review

* Supplement comment for waitFor

* Use named export

* Add migration guides for i18n

* Fix typo

* Add documentation for angular 12 bump

* Fix ```

* Fix typo 2

* Change wording

* Revert lock changes

* Update docs/src/pages/[platform]/getting-started/migration/migration.angular.mdx

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: Erik Hanchett <icystorm@gmail.com>

* feat(in-app-messaging): add NextJS example apps (#2890)

Co-authored-by: Chenwei Zhang <40295569+zchenwei@users.noreply.github.com>

* test(docs): add E2E test to check the broken links at build time (#2844)

* feat(docs): setup e2e test

* test: add sitemap link test

* test: links on each page

* test: fix headless tests

* test: test amplify yml add pm2 and memory

* test: fix pm2 start and max-old-space-size

* test: remove node memory increase

* test: fix pm2 and test links on each page

* test: add iterate to 3

* test: seperate and iterate 3 times

* test: remove cy wrap

* test: reduce to 2 pages

* test: skip links included in sitemap

* test: only test sitemap links

* test: split to 2 files

* test: split and reduce to 30

* test: split and reduce to 20

* test: test all links on sitemap

* test: all links on all pages

* test: use yarn doc build

* test: add followRedirect

* test: fix amplify yml and status

* test: fix amplify yml npm start

* test: fix amplify yml change to npm start

* test: fix amplify yml npm run build

* test: fix amplify yml node 16

* test: fix amplify yml remove mocha version

* test: fix amplify yml npm ci

* test: fix amplify yml change npm ci to npm install

* test: fix amplify yml add cypress install

* test: fix amplify yml change install order

* test: fix amplify yml remove mocha version, add npm install

* test: fix amplify yml remove mocha version, add npm install, cypress install

* test(amplify.yml): cypress install -> npm install cypress

* test(docs): first 10 pages

* test(docs): test 10-14

* test(docs): test 15-19

* test(docs): test 20-30

* test(docs): test 30-40

* test(docs): test 40-50

* test(docs): test 50-60

* test(docs): test 60-70

* test(docs): test 70-80

* test(docs): test 80-90

* test(docs): test 90-100

* test(docs): test 100-110

* test(docs): all broken link tests

* test(docs): clearLocalStorage and skip requested path

* test(docs): add max-old-space-size

* test(docs): broken link skip testing hash

* test(docs): broken link test remove max-old-space-size

* test(docs): broken link test add  max-old-space-size

* test(docs): broken link test add requestedLinks before requesting

* test(docs): broken link test use HEAD request

* test(docs): broken link test code clean up

* test(docs): broken link test remove support files and misc change

* test(docs): broken link test remove button tag assertions

* test(docs): broken link test change numTestsKeptInMemory to 1

* test(docs): broken link test use it.each

* test(docs): broken link move type to top and cleanup commented code

* test(docs): broken link move hrefWorks and logMsg utls out

* fix(docs): broken links each i undefined

Co-authored-by: 0618 <o.6180339@gmail.com>

* Added new access keys for storage (#2905)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* test: change npm to yarn (#2909)

* test: install npm@7

* test: change npm to yarn

* Revert "test: change npm to yarn"

This reverts commit f31e6473dd86899c4804f19add1ed65c9a5f86d8.

Co-authored-by: 0618 <o.6180339@gmail.com>

* Fixes for dependenbot alerts (#2910)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* test(docs): install -g npm@7 (#2912)

* test: install npm@7

* test: change npm to yarn

* Revert "test: change npm to yarn"

This reverts commit f31e6473dd86899c4804f19add1ed65c9a5f86d8.

* test: install -g npm@7

Co-authored-by: 0618 <o.6180339@gmail.com>

* feat: add Autocomplete Primitive (#2708)

* feat: making search controlled and adding autosuggest props

* feat: adding autocomplete support for SearchField

* chore: refactor suggestion menu

* style: adding styling tokens

* docs: add autocomplete usage

* Create giant-bugs-develop.md

* Update giant-bugs-develop.md

* test: update snapshot

* style: fix unmatched token name

* feat: add Autocomplete primitive

* chore: update types and bug fixes

* docs: update Autocomplete and SearchField docs

* test: add unit tests

* docs: update docs

* chore: refine interfaces and naming

* chore: address comments

* chore: address comments

* chore: remove unused variable

* chore: address comments

* chore: address comments

* Version Packages (#2884)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(next-release): point amplify deps to v5

* fix some internal dep versions

* fix Datastore codegenVersion error, add temporary workaround to useDatastoreCollection

* Fixed num of links (#2920)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* add temporary eslint disable lines

* fix: update publish-liveness-mobile-testing on push (#597)

* Update packages/react/src/hooks/actions/testModels/schema.ts

* update schema codegenVersion in Next example

* Sync amplify-ui to amplify-ui-staging (#592)

* test(docs): add E2E test to check the broken links at build time (#2844)

* feat(docs): setup e2e test

* test: add sitemap link test

* test: links on each page

* test: fix headless tests

* test: test amplify yml add pm2 and memory

* test: fix pm2 start and max-old-space-size

* test: remove node memory increase

* test: fix pm2 and test links on each page

* test: add iterate to 3

* test: seperate and iterate 3 times

* test: remove cy wrap

* test: reduce to 2 pages

* test: skip links included in sitemap

* test: only test sitemap links

* test: split to 2 files

* test: split and reduce to 30

* test: split and reduce to 20

* test: test all links on sitemap

* test: all links on all pages

* test: use yarn doc build

* test: add followRedirect

* test: fix amplify yml and status

* test: fix amplify yml npm start

* test: fix amplify yml change to npm start

* test: fix amplify yml npm run build

* test: fix amplify yml node 16

* test: fix amplify yml remove mocha version

* test: fix amplify yml npm ci

* test: fix amplify yml change npm ci to npm install

* test: fix amplify yml add cypress install

* test: fix amplify yml change install order

* test: fix amplify yml remove mocha version, add npm install

* test: fix amplify yml remove mocha version, add npm install, cypress install

* test(amplify.yml): cypress install -> npm install cypress

* test(docs): first 10 pages

* test(docs): test 10-14

* test(docs): test 15-19

* test(docs): test 20-30

* test(docs): test 30-40

* test(docs): test 40-50

* test(docs): test 50-60

* test(docs): test 60-70

* test(docs): test 70-80

* test(docs): test 80-90

* test(docs): test 90-100

* test(docs): test 100-110

* test(docs): all broken link tests

* test(docs): clearLocalStorage and skip requested path

* test(docs): add max-old-space-size

* test(docs): broken link skip testing hash

* test(docs): broken link test remove max-old-space-size

* test(docs): broken link test add  max-old-space-size

* test(docs): broken link test add requestedLinks before requesting

* test(docs): broken link test use HEAD request

* test(docs): broken link test code clean up

* test(docs): broken link test remove support files and misc change

* test(docs): broken link test remove button tag assertions

* test(docs): broken link test change numTestsKeptInMemory to 1

* test(docs): broken link test use it.each

* test(docs): broken link move type to top and cleanup commented code

* test(docs): broken link move hrefWorks and logMsg utls out

* fix(docs): broken links each i undefined

Co-authored-by: 0618 <o.6180339@gmail.com>

* Added new access keys for storage (#2905)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* test: change npm to yarn (#2909)

* test: install npm@7

* test: change npm to yarn

* Revert "test: change npm to yarn"

This reverts commit f31e6473dd86899c4804f19add1ed65c9a5f86d8.

Co-authored-by: 0618 <o.6180339@gmail.com>

* Fixes for dependenbot alerts (#2910)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* test(docs): install -g npm@7 (#2912)

* test: install npm@7

* test: change npm to yarn

* Revert "test: change npm to yarn"

This reverts commit f31e6473dd86899c4804f19add1ed65c9a5f86d8.

* test: install -g npm@7

Co-authored-by: 0618 <o.6180339@gmail.com>

* feat: add Autocomplete Primitive (#2708)

* feat: making search controlled and adding autosuggest props

* feat: adding autocomplete support for SearchField

* chore: refactor suggestion menu

* style: adding styling tokens

* docs: add autocomplete usage

* Create giant-bugs-develop.md

* Update giant-bugs-develop.md

* test: update snapshot

* style: fix unmatched token name

* feat: add Autocomplete primitive

* chore: update types and bug fixes

* docs: update Autocomplete and SearchField docs

* test: add unit tests

* docs: update docs

* chore: refine interfaces and naming

* chore: address comments

* chore: address comments

* chore: remove unused variable

* chore: address comments

* chore: address comments

* Version Packages (#2884)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: MJ Zhang <0618@users.noreply.github.com>
Co-authored-by: 0618 <o.6180339@gmail.com>
Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: Chenwei Zhang <40295569+zchenwei@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: set node.js version to 16 to fix gh actions (#599)

* chore(next-release): remove data store types workaround

* point aws-amplify deps at unstable

* fix: update workflows to use node 16 (#602)

* chore(next-release): point maplibre-gl-js-amplify at unstable

* Updated canaries to v4 (#2939)

* fix(docs): url param to set tab (#2934)

Co-authored-by: 0618 <o.6180339@gmail.com>

* chore(aws-amplify): expand range of amplify peerDeps (#2941)

* feat(next-release): render Authenticator field labels (#2828)

Co-authored-by: wlee221 <willeea@amazon.com>

* BREAKING CHANGE(react): bump minimum React version to 16.14.0 (#2772)

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Revert "chore(aws-amplify): expand range of amplify peerDeps (#2941)" (#2947)

This reverts commit fc9ba609586a62d32c08cf6ab69008d734c9826e.

* chore(next-release): point maplibre-gl-js-amplify to v3.0.0

* Mock sign up call (#2954)

* chore(next-release): point aws-amplify deps at v5.0.1 (#2951)

* docs(next-release): improve wordings in migration guide (#2953)

* Update migration guides

* Fix typo

* Use diff over json

* capitalization typo

* Update docs/src/pages/[platform]/getting-started/migration/migration.react.mdx

Co-authored-by: Danny Banks <djb@amazon.com>

* Update docs/src/pages/[platform]/getting-started/migration/migration.react.mdx

Co-authored-by: Danny Banks <djb@amazon.com>

* Update docs/src/pages/[platform]/getting-started/migration/migration.react.mdx

* Update docs/src/pages/[platform]/getting-started/migration/migration.react.mdx

Co-authored-by: Danny Banks <djb@amazon.com>

* Update docs/src/pages/[platform]/getting-started/migration/migration.angular.mdx

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Update docs/src/pages/[platform]/getting-started/migration/migration.react.mdx

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

Co-authored-by: Danny Banks <djb@amazon.com>
Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore(in-app-messaging): add in-app release changeset (#2962)

* chore(docs): fix links (#2960) (#2967)

Co-authored-by: MJ Zhang <0618@users.noreply.github.com>

* chore(in-app-messaging): add in-app messaging documentation (#2966)

* chore(docs): add hero variant to TerminalCommand (#2968)

* Version Packages (#2944)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(ci): temporarily skip `build-test` (#2971)

* chore(deps): Point `aws-amplify` versions to v5/latest (#2970)

* Point all `aws-amplify` versions to `latest`

* peer deps update

* chore(docs): update in-app links to js docs (#2973)

* Revert "chore(ci): temporarily skip `build-test` (#2971)" (#2972)

This reverts commit 2587610b03dae831e72e919ada92c610603806f4.

* fix(docs): fix broken link (#2976)

* chore(docs): update props table (#2974)

Co-authored-by: 0618 <o.6180339@gmail.com>

* fix(dependabot): Add resolutions for immer and ejs (#2985)

* fix(button): Fix loading state for Button (#2964)

* fix(ui-react): Update useDataStore hook predicate generation logic (#3000)

* Version Packages (#2991)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* refactor(docs): props table to not generate .mdx (#2997)

* refactor(docs): generate props table data

* fix(docs): props table remove sanitizer

* fix(docs): props table add code highlight

* chore(docs): convert Markdown Description to HTML

* chore(docs): props table sort props order, refactor PropsTableTab

* chore(docs): props table heading link and required badge

* refactor(docs): delete props-table.mdx and use PropsTableTab component

* chore(docs): props table optimize required badge

* chore(docs): props table update table data

* chore(docs): props table refactor data to use map so that the order is more stable

* test(docs): add props table data snapshot test

* chore(docs): update README

* Update docs/src/components/propsTable/PropsTableBody.tsx

Co-authored-by: Heather Buchel <hbuchel@gmail.com>

* Update docs/src/components/propsTable/PropsTableTab.tsx

Co-authored-by: Heather Buchel <hbuchel@gmail.com>

* feat(docs): props table css copy from PR2435

* chore(docs): remove props-table-data.json

* chore(docs): gitignore props-table.json

* chore(docs): props table mdnUrl

* chore(docs): props table replace p with View

* refactor(docs): use react-markdown

* refactor(docs): use Text to replace View as p

* chore(docs): props table add placeholder

* fix: props table expander focus style (#3006)

Co-authored-by: Heather Buchel <buchel@amazon.com>

Co-authored-by: 0618 <o.6180339@gmail.com>
Co-authored-by: Heather Buchel <hbuchel@gmail.com>
Co-authored-by: Heather Buchel <buchel@amazon.com>

* refactor(docs): remove numberOfPages from broken link test (#2945)

* refactor(docs): remove numberOfPages from broken link test

* fix(docs): broken link test refactor hrefWorks

* Revert "fix(docs): broken link test refactor hrefWorks"

This reverts commit 120c0fee92e953ea1e8b64265ded7394f8e7f7fd.

* chore(docs): add comments for broken link test

* feat(docs): link checker add param

* chore(docs): cypress test disable video

* refactor(docs): link checker cy.get internal and external links

Co-authored-by: 0618 <o.6180339@gmail.com>

* build(deps): bump deep-object-diff from 1.1.7 to 1.1.9 (#3003)

Bumps [deep-object-diff](https://github.com/mattphillips/deep-object-diff) from 1.1.7 to 1.1.9.
- [Release notes](https://github.com/mattphillips/deep-object-diff/releases)
- [Commits](https://github.com/mattphillips/deep-object-diff/commits)

---
updated-dependencies:
- dependency-name: deep-object-diff
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(angular): expose `subscribe` to subscribe for auth changes (#2817)

* subscribe now exposes facade values

* Add changeset

* Update return type

* Unit test!

* change test name

* perf: store facade values directly

* Update unit test

* Minor optimization

* Inline mock service

* Don't return unsubscribe directly

* Update .changeset/smooth-moons-occur.md

* Update .changeset/smooth-moons-occur.md

* Fix unit test

* Docs migration fix (#3014)

* fix: fix autocomplete demo bug and bump menu z-index (#3013)

* fix: fix autocomplete demo bug and bump menu z-index

* Create tame-drinks-check.md

* fix: fix autocomplete display

* chore: remove unused variable

* Update tame-drinks-check.md

* feat(rna): React Native Authenticator (#3017)

Co-authored-by: wlee221 <willeea@amazon.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>
Co-authored-by: Joe Buono <joebuono@amazon.com>
Co-authored-by: Danny Banks <djb@amazon.com>

* chore(ui): add csstype devDep to ui package (#3024)

* chore(ui-react-native): Update RNA theme support (#3025)

* chore(rna): update TextField style (#3022)

* chore(ui-react-core): remove react dom peerDep from ui-react-core (#3026)

* rna(chore): update DefaultContent, migrate SignUp (#3023)

* chore: update Autocomplete filter to be case insensitive (#3019)

* chore: update filter to be case insensitive

* Create grumpy-apricots-sparkle.md

* chore(rna): remove copy button from SetupTOTP (#3018)

* fix(Autocomplete): remove handler to open menu on focus (#3033)

* fix(Autocomplete): remove handler to open menu on focus

* Create good-donuts-obey.md

* chore: fix test

* chore(ui-react-native): omit checkbox from themed Components (#3034)

* chore(ui-react-native): Handle dial codes (#3020) (#3032)

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* chore(rna): refactor DefaultContainer (#3036)

* chore(ui-react-native): Migrate RNA subcomponents to use DefaultContent (#3031)

* fix(ci): move csstypes to deps (#3038)

* feat(rna): adding default dark mode export (#3039)

* feat(rna): add top level component slots (#3040)

* chore(ui-react-native): Fix accessibility audit issues (#3042)

* chore(rna): add labelHidden support and example apps (#3043)

* chore(ui-react-native): SetupTOTP small fixes (#3048)

* build(deps): bump engine.io from 6.2.0 to 6.2.1

Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(rna): remove picker dep (#3057)

* chore(rna); remove socialProviders props (#3064)

* fix(rna): expose validationErrors, style errors (#3063)

* chore: Add RNA changeset (#3067)

* add RNA changeset

* update changeset

Co-authored-by: Joe Buono <joebuono@amazon.com>

* chore(docs): Add RNA pages to docs site (#3041)

Co-authored-by: Joe Buono <joebuono@amazon.com>
Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: Sreeram Sama <12038441+sreeramsama@users.noreply.github.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: MJ Zhang <0618@users.noreply.github.com>
Co-authored-by: 0618 <o.6180339@gmail.com>
Co-authored-by: Danny Banks <djb@amazon.com>

* Version Packages (#3015)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix(docs): fix typos on react native authenticator docs (#3068)

* fix(docs): hash link start with number (#3069)

Co-authored-by: 0618 <o.6180339@gmail.com>

* fix(theme): update types for ThemeProvider to accept output of createTheme (#3071)

* Version Packages (#3073)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* build(deps): bump engine.io from 6.2.0 to 6.2.1 (#3059)

Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* upgrade loader-utils from 2.0.3 to 2.0.4 (#3079)

Co-authored-by: Joe Buono <joebuono@amazon.com>

* chore(ui): Add export dist/styles.css to fix missing export error

* Adding export dist/styles.css to fix missing export error. See issue 2999.

* Add missing comma

* Create dirty-ladybugs-yell.md

Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>

* fix(docs): remove unsupported link from rna docs (#3090)

* Added new storage environment (#3096)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* fix(primitives): fix radio button sizing issue (#3074)

* fix(docs): links and link checker (#3103)

Co-authored-by: 0618 <o.6180339@gmail.com>

* feat(file-uploader): Merge to main (#3028)

Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>
Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore(deps): add react-dev-utils resolution (#3105)

* chore(react): adding types to exports in package json (#3104)

fixes #2714

* chore(docs): fix framework switcher links (#3101)

* Version Packages (#3081)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(ui): update eslint config to prefer @typescript-eslint no-unused-vars (#3106)

* chore(docs): add copy button to cli install instructions (#3107)

* chore(deps): add browserslist resolution (#3112)

* chore(deps): add highlight.js resolution (#3114)

* chore(codeql): migration (#3113)

* fix(canaries): remove window variable mutation (#3122)

* style: disable scroll chaining on Autocomplete menu to improve UX (#3120)

* style: disable scroll chaining on Autocomplete menu to improve UX

* Create fuzzy-icons-jog.md

* fix(primitives): fix default text color for alert primitive (#3126)

* build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#3124)

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(theme): making all component tokens optional (#3129)

* chore(docs): ThemeProvider API documentation (#2711)

* add new docs page for ThemeProvider API

* rename ThemeProvider API to ThemeProvider

* document nonce prop for ThemeProvider

* include basic ThemeProvider example

* update theming example

* update custom theme example

* Update docs/src/pages/[platform]/theming/theme-provider/react.mdx

Co-authored-by: Danny Banks <djb@amazon.com>

* remove useTheme hook from custom theme example

Co-authored-by: Joe Buono <joebuono@amazon.com>
Co-authored-by: Danny Banks <djb@amazon.com>

* feat(button): add warning and destructive variations (#3133)

* chore(e2e): Integration tests for useDataStore hook (#3110)

* chore(ci): Upload artifacts on error (#3138)

* Update build and runtime tests

* Updated wildcard

* Updated wildcard

* removed ci

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* feat(react): AccountSettings component preview release (#3108)

* ci: setup tests on `account-settings/main` feature branch (#2796)

* Set up test on feature branch

* Fix secrets

* Fix test name

* Change test name

* Update .github/workflows/publish-account-settings.yml

* feat(hooks): update `useAuth` to handle more auth hub events (#2795)

* handle additional auth hub events

* Update packages/react/src/hooks/__tests__/useAuth.test.ts

* Update packages/react/src/hooks/useAuth.ts

* Remove extraneous dependency

* add default case + wrap switch blocks in curly brackets

* Use scoped switch body

* Defer mockImplementation to test cases

* feat(environments): add `optional-totp-and-sms-mfa` environment (#2872)

* Add optional mfa environment

* fix typo

* artifact update

* Update README with correct info

* Update environments/auth/auth-with-optional-totp-and-sms-mfa/README.md

* Update environments/auth/auth-with-optional-totp-and-sms-mfa/README.md

* feat(account-settings): ChangePassword component (#2885)

* Initial commit

* Implement form handling

* Reorder component

* Add unit test

* Add button and error as default components

* Add error message test

* TypeName initial change

* Update exports snapshot

* Remove unrelated types

* Clean up rendered DOM

* Default error to error variation

* Revert unrelated changes

* Move all primitive props to parent component

* setError to null on success

* Update packages/react/src/components/AccountSettings/types.ts

* Remove unrelated change

* Add comment about generics

* Fix exports

* Apply comments from @dbanksdesign

* Update packages/react/src/components/AccountSettings/types.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* this shouldn't be here yet

* Update packages/react/src/components/AccountSettings/ChangePassword/__tests__/ChangePassword.test.tsx

* Apply comments from @calebpollman

* Pass errorMessage as children

* Add logger around Auth call

* null-check errorMessage before setting it

* Add 'Notifications' to LoggerCategory

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* getCategoryLogger -> getLogger

* Move around unit test comment

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* refactor(account-settings): share `<ValidationErrors />` (#2908)

* Share common Authenticator utils

* ValidationErrors unit test

* Remove extra function layer

* defaultPasswordValidator unit test

* Update password validator usage

* Remove `.only` and fix equality assertions

* return null from validator, and add unit test

* Test against null instead of []

* Revert defaultPasswordValidator change

* Remove stale export

* feat(account-settings): add DeleteUser component (#2927)

* initial commit

* Initial commit

* Update index.ts

* Update type + comment

* Add `IN_PROGRESS` state

* fix logger

* Add unit tests

* Update defaultComponents to include submit button

* Add examples

* Update snapshot

* Update packages/react/src/components/AccountSettings/DeleteUser/defaultComponents.tsx

* Add comment around custom handler

* Use logger util

* isInProgress => isDisabled

* Better state enum naming

* onConfirmDelete -> onConfirm

* CONFIRMING -> CONFIRMATION

* Add error state

* clear error message on submit

* Reorder early return statements

* Revert unrelated change

* Mark overridable prop as optional

* feat: add password validation to `ConfirmPassword` (#2900)

* Initial commit

* Revert initial draft

* confirm password initial draft

* Use shared type

* add validationErrors prop

* Render ValidationErrors

* Validate onBlur

* Add confirmPassword logic

* Remove unnecessary memo

* Don't export internal validators

* Revert "Don't export internal validators"

This reverts commit 7a2254c7b0541751cf3524f3176f6b6b70840a90.

* FieldValidator => PasswordValidator

* Remove unnecessary classname

* Remove unused variable

* util for isDisabled

* rename validateField => runValidation

* Update snapshot

* Remove unneeded waitFor

* share default password validator

* Consolidate defaultPasswordValidator

* Remove unrelated changes

* disable form until all three forms are present

* Remove extra util funciton

* remove validator.ts util file

* undo renaming

* Remove unnecessary type file

* Remove unrelated file pt.2

* Update confirmPassword to return string[]

* Remove util

* Remove unused util

* Minor wording edit

* Share ValidationErrors

* use shared ValidationErrors

* Share common Authenticator utils

* ValidationErrors unit test

* Remove extra function layer

* defaultPasswordValidator unit test

* Update password validator usage

* Actually use DefaultConfirmPassword...

* Update unit tests with new features

* Memoize passwordSetting

* Remove `.only` and fix equality assertions

* return null from validator, and add unit test

* Test against null instead of []

* ChangePassword now takes in multiple validators

* Revert defaultService changes

* Revert more unrelated changes

* This works!

* minor optimizations

* Update unit test

* Alphabetize imports

* rename event -> validationMode

* @aws-amplify/ui unit tests

* Rename handler => validate

* Remove unused type

* Add comment

* More comments!

* Simplify getIsDisabled

* Remove out-of-place comment

* Use `FormEventType`

* Rename `FormEventType` -> `InputEventType`

* Update packages/ui/src/helpers/accountSettings/validators/util.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Use object as inputs

* create type for organizing password zeroconfig

* Use reduce

* Update packages/react/src/components/AccountSettings/ChangePassword/ChangePassword.tsx

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Rename validate => validator

* Consoldiate validator utils

* align get*Validators names

* Variable name improvement

* Optimize blurredFields logic

* Add jsdoc comment

* Use common DefaultPasswordField

* Update snapshot

* retrigger ci

* Change BlurredFields to an array

* Rename ValidatorSpec => ValidatiorOptions

* Remove extraneous ternary

* Share ValidateParams type

* use ref to store blurredFields

* Early return from getIsValid util

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore(ci): Enable publish (#2984)

* feat(account-settings): Add ConfigureTOTP component (#2969)

* useAuth improvement

* Initial draft

* Flex styles + example

* Update test

* Prevent `generateQRCode` from running multiple times

* Unit tests

* Update examples/next/pages/ui/components/account-settings/configure-totp/index.page.tsx

* Update examples/next/pages/ui/components/account-settings/configure-totp/index.page.tsx

* Alphabetize imports

* Better disable form logic

* Set `hasInit` to true

* Apply inline code suggestions from @joebuono and @calebpollman

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Declare QRCode dimensions constants

* Use act to wait for state updates

* Refactor `hasInit`, and combine secretKey states

* Combine `isDisabled` with `errorMessage`

* Default values for verifyTOTPStatus

* Update packages/react/src/components/AccountSettings/ConfigureTOTP/types.ts

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* Update packages/react/src/components/AccountSettings/ConfigureTOTP/ConfigureTOTP.tsx

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* docs(account-settings): starting docs (#3084)

* Update links

* Barebone pages

* Update description

* Use DeveloperPreview

* Move ReactPropsTable to `@components`

* Remove unnecessary space

* Update index.page.mdx

* Revert "feat(account-settings): Add ConfigureTOTP component" (#3083)

* Revert "feat(account-settings): Add ConfigureTOTP component (#2969)"

This reverts commit 8a65f82be879163e1be27f740436a06218cef61e.

* Revert fetchCurrentUser change

* fix(ci): add storage secrets to account settings workflows (#3115)

* feat(account-settings): enable component override for <ChangePassword /> (#3075)

* implement component overrides

* Example

* useMemo

* Updated unit tests

* Mark DEFAULTS as required

* Use partial so that all override props are optional

* Remove label requirement

* Update packages/react/src/components/AccountSettings/ChangePassword/types.ts

* Default components to empty array inside useMemo

* Replace "AccountSettings" prefix with "Component"

* Update custom components render unit test

* Fix component type names

* feat(account-settings): Enable component override for <DeleteUser /> (#3123)

* Type updates

* add component override to DeleteUser

* Add default components to object

* Update unit tests

* Trigger CI

* Fix imports

* Remove `.only`

* Use nullish coaelescing

* Use override component directly

* feat(account-settings): namespace account settings components (#3118)

* Use AccountSettings namespace

* Update examples

* Update snapshot

* Update ChangePassword example

* Use default export

* Fix export line

* Fix incorrect merge conflict resolve

* feat(account-settings): align classnames (#3128)

* Add classname to DeleteUser

* align classnames

* Update snapshots

* Add constant

* Update unit tests

* chore(account-settings): overrides cleanup (#3131)

* Mark essential types as required

* Rename submit button to delete button

* Update packages/react/src/components/AccountSettings/types.ts

* More type requirements

* Fix weird typo

* Combine button props

* Remove unused var

* Error => ErrorMessage

* Fix typo

* docs(account-settings): Account Settings intro docs (#3127)

* Add intro contents

* trigger ci

* Update docs/src/pages/[platform]/connected-components/account-settings/index.page.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/index.page.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/index.page.mdx

* chore(AccountSettings): update subcomponent names and types (#3134)

* chore(AccountSettings): update subcomponent names and types

* Update packages/react/src/components/AccountSettings/types.ts

Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>

Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>

* feat(account-settings): use new button variants (#3137)

* Use new variants!

* Minor fix

* trigger ci

* Update snapshot

* docs(account-settings): delete user docs (#3087)

* Update links

* Barebone pages

* Update description

* Use DeveloperPreview

* Move ReactPropsTable to `@components`

* First draft

* Add backticks

* retrigger ci

* Remove unnecessary space

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

Co-authored-by: Erik Hanchett <icystorm@gmail.com>

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Use actual code from examples

* Adding expanders

* Spacing in expander items

* More example codes

* Wording stuffs

* Revert example

* Warning -> WarningView

* Wording

* Reorder snippets

* Wording

* Escape double quote

* Just remove double quote

* Fix import

* Fix name

* Add theming section

* Remove extraneous component

* Fix typo

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/props.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/props.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/props.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/props.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Update docs/src/pages/[platform]/connected-components/account-settings/delete-user/react.mdx

* Change radii for medium

* docs(account-settings): change password docs (#3085)

* Initial draft

* Initial draft

* Progress!

* Minor wording change

* Main props table

* Add missing override

* Update docs/src/pages/[platform]/connected-components/account-settings/change-password/react.mdx

* Use Example / ExampleCode

* Fix typo

* Fix more typo

* revert unrelated changes

* Update component names

* Start override component props doc

* Finish override props section!

* Wording

* ChangePassword theme example

* Update docs/src/pages/[platform]/connected-components/account-settings/change-password/props.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Update docs/src/pages/[platform]/connected-components/account-settings/change-password/props.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Apply suggestions from @joebuono

* Add additional validator

* Update docs/src/pages/[platform]/connected-components/account-settings/change-password/react.mdx

* Update docs/src/pages/[platform]/connected-components/account-settings/change-password/react.mdx

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* fix(account-settings): early return if isPending is true (#3141)

* chore(account-settings): add changeset (#3142)

* Add changeset

* Update .changeset/cold-hats-fix.md

* Fix typos (#3143)

* e2e concurrency group

Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* Version Packages (#3125)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(ui-react-native): Add utility hook for pressable styles (#2921)

* Update README.md (#3139)

* chore: add translation texts for French (#3029)

* Added Hebrew as an option for Authenticator (#2907)

Co-authored-by: Niv <niv@clearx.io>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>

* fix(docs): Add multiline support for underline animation on cards link (#2424)

* Fixed type in docs (#3159)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* docs: add AmplifyProvider key words to ThemeProvider (#3162)

* docs: add AmplifyProvider key words to ThemeProvider

* docs: add AmplifyProvider key words to ThemeProvider

* docs: add AmplifyProvider alert to ThemeProvider

Co-authored-by: 0618 <o.6180339@gmail.com>

* fix(ui-react-native): update ErrorMessage style (#3164)

* chore: upgrade dependencies for AppSec (#3167)

* chore: upgrade dependencies for AppSec

* chore: upgrade and ping dependencies for AppSec

Co-authored-by: 0618 <o.6180339@gmail.com>

* Version Packages (#3146)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(authenticator): adding version to cognito user agent (#2830)

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: wlee221 <willeea@amazon.com>

* fix(ci): fix version packages workflow (#3171)

* test: add PrimitiveCatalog snapshot (#3170)

* test: add PrimitiveCatalog snapshot

* chore: remove unused snapshot

* fix(ci): fix version packages workflow script (#3174)

* Remove unnecessary scripts

* add specific script

* Do a POC

* Remove POC

* Revert unrelated changes

* Update issue templates with new UI components (#3180)

* Update issue templates with new components

* chore: update issue template for bug report

* chore: reorder browsers

* chore: fix description

* Add RN browsers as well

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* feat(authenticator): enable password valiation in forceNewPassword and resetPassword (#3158)

* code changes for password policies to be visible on reset password screen

* Create pretty-pumas-obey.md

* added e2e testing for reset password

* added missing steps for cypress test

* passwordSettings added for spawnSignInActor

* added e2e test cases for force new password

* Fix reset password tests

* Fix force-new-password tests

* e2e fix for force-new-password

* Remove unnecessary test

* Update packages/ui/src/machines/authenticator/defaultServices.ts

* Update changeset

Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: wlee221 <willeea@amazon.com>

* Italian translation - fix (#3189)

* chore(docs): Add expand animation to headings (#3176)

* chore(ci): Add timeout to setup-node (#3193)

* chore: fix ts strict errors Autocomplete, Badge, Button, Card (#3186)

* chore: fix ts strict errors Autocomplete, Badge, Button, Card

* chore: add djb's fix for tokenprops type

* chore: fix typo in fileuploader docs (#3197)

* chore: update Authenticator feature changeset file (#3200)

* fix: changeset to minor bump all packages using ui (#3203)

* chore: update README to include new React primitives (#3199)

* fix(docs): Framework chooser link for components overview (#3202)

* fix(docs): Framework chooser link for components overview

* fix(docs): remove Framework chooser link if disabled

* refactor(docs): Framework chooser

Co-authored-by: 0618 <o.6180339@gmail.com>

* Version Packages (#3178)

* chore(ui-react-native): Refactor unit tests (#3156)

* chore(ui-react): remove build icons script (#3209)

* fix(docs): link checker react key (#3205)

* fix(docs): link checker react key

* fix(docs): field keys and type

* Update docs/src/pages/[platform]/components/shared/GetFieldControls.tsx

Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* chore(docs): react key and type

* chore(docs): react key

* Revert "chore(docs): react key"

This reverts commit 1f7cc2cbd359c2b4b138f3e6436f2cdca1d9b871.

* Revert "chore(docs): react key and type"

This reverts commit cb91dbfbf8383370287cd64ddece1ec998a0951a.

* Revert "Update docs/src/pages/[platform]/components/shared/GetFieldControls.tsx"

This reverts commit 5c5e5e0b63fcaaa00434f541851a531f60eb71ca.

Co-authored-by: 0618 <o.6180339@gmail.com>
Co-authored-by: Caleb Pollman <cpollman@amazon.com>

* fix: update ts canary to run ui-react latest (#3211)

* chore: pin babel plugin to working version cra and cra-ts canaries (#3212)

* fix: update babel plugin override config (#3213)

* chore: add both resolutions and overrides

We run npm install on merge to main, and yarn install in canaries, so we actually need
both resolutions and overrides in our test apps

* fix(ui): Add missing Authenticator translations (#3153)

* German

* Spanish

* French

* Indonesian

* Italian

* Japanese

* Korean

* Dutch

* Polish

* Portuguese

* Russian

* Swedish

* Turkish

* Chinese

* English

* defaultTexts

* update textUtil

* Create beige-ligers-boil.md

* Fixed translations

* Update packages/ui/src/i18n/dictionaries/authenticator/it.ts

Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

Co-authored-by: Joe Buono <joebuono@amazon.com>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>
Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>

* fix(MFA Issuer React): MFA Issuer is not displaying (#3183)

* Fixed bug in MFA

* Added changeset

* Removed comment

* Updated snaphsot

* Update deprecations

* Added more unit tests

* Removed extra code

* Fixed React test

* Updated vue and angular for e2e test

* Updated test cases

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* fix(docs): Added note on zero configuration on sign up fields (#3172)

* Added note to make sign up fields more clear

* Updated attributes

* Added comment on sign up attributes fields

* Changed word

* Updated wording

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* fix(rna): add Field component to address iOS TextInput secureTextEntry bug (#3216)

* Version Packages (#3215)

* chore(ui-react): lint primitives (#3204)

* chore(ui-react): lint primitives (A-M)

* chore(e2e): remove aws-sdk workaround (#3220)

* chore: fix ts strict errors primitive tests (#3219)

* chore: fix ts strict errors primitive tests

* chore: fix ToggleButtonGroup test errors

* fix(forced password reset): Update logic for emails sent out on forced password reset (#3201)

* Added new logic so password reset email is sent on forced passwords

* Updated logic for resending code

* Added changeset

* removed console.log

* updated order

* Added await

Co-authored-by: Erik Hanchett <ehhanche@amazon.com>

* fix(ui-react): fix lint command (#3225)

* chore: revert babel plugin overrides (#3227)

* chore(ci): manually run codeql when `run-codeql` label is added (#3232)

* Initial draft

* run-tests -> run-codeql

* Add additional label

* Update .github/workflows/codeql.yml

* chore(ui-react): bump unit test coverage thresholds (#3237)

* fix(react): manually add `overflow: clip` to fix remediate chrome breaking change (#3238)

* Manually set overflow clip

* Move changes to image.scss

* Add missing change

* Create smart-masks-drop.md

* Version Packages (#3226)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: remove unused degit (#3243)

* fix: updated liveness-next-example package.json

* fix: fix type issues for lint

* fix: fix react lint

* fix: updated design token import

* fix: temporarily reduce branch coverage for ui/liveness-main

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>
Co-authored-by: William Lee <43682783+wlee221@users.noreply.github.com>
Co-authored-by: Ayush Goyal <ayush987goyal@gmail.com>
Co-authored-by: Danny Banks <djb@amazon.com>
Co-authored-by: Caleb Pollman <cpollman@amazon.com>
Co-authored-by: Pollman <cpollman@bcd07442e016.ant.amazon.com>
Co-authored-by: Chris Fang <chrfang@amazon.com>
Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>
Co-authored-by: wlee221 <willeea@amazon.com>
Co-authored-by: Ioana Brooks <68251134+ioanabrooks@users.noreply.github.com>
Co-authored-by: Joe Buono <joebuono@amazon.com>
Co-authored-by: Joe Buono <joebuono724@gmail.com>
Co-authored-by: Heather Buchel <hbuchel@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: MJ <0618@users.noreply.github.com>
Co-authored-by: 0618 <o.6180339@gmail.com>
Co-authored-by: Shane Laymance <shane.laymance@gmail.com>
Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com>
Co-authored-by: Jacob Logan <lognjc@amazon.com>
Co-authored-by: Chenwei Zhang <40295569+zchenwei@users.noreply.github.com>
Co-authored-by: David McAfee <mcafd@amazon.com>
Co-authored-by: Sreeram Sama <12038441+sreeramsama@users.noreply.github.com>
Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: Erik Hanchett <ehhanche@amazon.com>
Co-authored-by: Francesco <doria5@live.it>
Co-authored-by: Heather Buchel <buchel@amazon.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Kraft <35356122+SilverLinings89@users.noreply.github.com>
Co-authored-by: Kaben <carnoxen@gmail.com>
Co-authored-by: hugobeaujour <hugo.beaujour@gmail.com>
Co-authored-by: NivBraz <nivbraz90@gmail.com>
Co-authored-by: Niv <niv@clearx.io>
Co-authored-by: Nandan Bhat <bhatnandanmbhat@gmail.com>
Co-authored-by: andrea <andreav.pub@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support TS moduleResolution node16/nodenext by adding "types" to package.json's exports map
5 participants