diff --git a/.changeset/afraid-pugs-kiss.md b/.changeset/afraid-pugs-kiss.md deleted file mode 100644 index dbfe3c05183..00000000000 --- a/.changeset/afraid-pugs-kiss.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@aws-amplify/ui-react": major ---- - -BREAKING: -* Removing stylistic data-attributes from React primitives -* Update SwitchField classnames to be BEM -* Removing remnants of "countryCode" diff --git a/.changeset/bogus-cats-shred.md b/.changeset/bogus-cats-shred.md deleted file mode 100644 index 42e909852ca..00000000000 --- a/.changeset/bogus-cats-shred.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -"@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' - -- -- -- Tab 1 Content -- - -+ -+ -+ Tab 1 -+ -+ -+ Tab 1 Content -+ -+ -``` - - -You can also use the Tabs in a uncomposed way too: - -```jsx - -``` - -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. diff --git a/.changeset/clever-mirrors-boil.md b/.changeset/clever-mirrors-boil.md deleted file mode 100644 index 1b9eec82b7d..00000000000 --- a/.changeset/clever-mirrors-boil.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@aws-amplify/ui-react-native": minor -"@aws-amplify/ui-react": minor -"@aws-amplify/ui": minor ---- - -feat: allow themes to have arbitrary tokens diff --git a/.changeset/cool-mangos-dress.md b/.changeset/cool-mangos-dress.md deleted file mode 100644 index 4e7ee47538a..00000000000 --- a/.changeset/cool-mangos-dress.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@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. diff --git a/.changeset/hip-apples-happen.md b/.changeset/hip-apples-happen.md deleted file mode 100644 index d482144a2fa..00000000000 --- a/.changeset/hip-apples-happen.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@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` diff --git a/.changeset/itchy-ads-bake.md b/.changeset/itchy-ads-bake.md deleted file mode 100644 index 6d9c21a6fdc..00000000000 --- a/.changeset/itchy-ads-bake.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -"@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 `
` and `` elements to handle showing/hiding content. - -```jsx - - - - Click me first! - - - - Now when you click the second item, this item will automatically collapse. - - - - - Then click me! - - - - Notice how only one item can be open at a time for the single Accordion type. - - - -``` - -The Accordion can be controlled or uncontrolled (with a default value) diff --git a/.changeset/mighty-gifts-crash.md b/.changeset/mighty-gifts-crash.md deleted file mode 100644 index 937e5ecd9bc..00000000000 --- a/.changeset/mighty-gifts-crash.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"@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' -}); -``` diff --git a/.changeset/plenty-apples-end.md b/.changeset/plenty-apples-end.md deleted file mode 100644 index 82c650b4ef3..00000000000 --- a/.changeset/plenty-apples-end.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@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: -``` ``` diff --git a/.changeset/plenty-meals-cross.md b/.changeset/plenty-meals-cross.md deleted file mode 100644 index 0fdef082de0..00000000000 --- a/.changeset/plenty-meals-cross.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@aws-amplify/ui-react-native": patch -"@aws-amplify/ui": patch ---- - -fix(rna): refactor fed sign in diff --git a/.changeset/selfish-zebras-decide.md b/.changeset/selfish-zebras-decide.md deleted file mode 100644 index f860caad1fd..00000000000 --- a/.changeset/selfish-zebras-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@aws-amplify/ui-react-native": patch ---- - -fix(rna): prefer route over authStatus for rendering children diff --git a/.changeset/slow-ants-attend.md b/.changeset/slow-ants-attend.md deleted file mode 100644 index c3949326df4..00000000000 --- a/.changeset/slow-ants-attend.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -"@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' -``` diff --git a/.changeset/weak-melons-sell.md b/.changeset/weak-melons-sell.md deleted file mode 100644 index ad5bd3546aa..00000000000 --- a/.changeset/weak-melons-sell.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@aws-amplify/ui-react-core-notifications": patch -"@aws-amplify/ui-react-core": patch -"@aws-amplify/ui-react-geo": patch -"@aws-amplify/ui-react-liveness": patch -"@aws-amplify/ui-react-native": patch -"@aws-amplify/ui-react-notifications": patch -"@aws-amplify/ui-react-storage": patch -"@aws-amplify/ui-react": patch -"@aws-amplify/ui": patch ---- - -chore(deps): upgrade aws-amplify deps diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index a665a183303..694a652281d 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -1,149 +1,149 @@ -# Description: this workflow publishes UI packages to `latest` tag on NPM. -# -# Triggered by: whenever "Version Packages" is merged to `main` +# # Description: this workflow publishes UI packages to `latest` tag on NPM. +# # +# # Triggered by: whenever "Version Packages" is merged to `main` -# If successful, we will publish all updated UI packages to NPM. +# # If successful, we will publish all updated UI packages to NPM. -name: Test and Publish / latest +# name: Test and Publish / latest -on: - push: - branches: [main] +# on: +# push: +# branches: [main] -permissions: - id-token: write # This is required for requesting the JWT - contents: write # Used to push tags to GitHub +# permissions: +# id-token: write # This is required for requesting the JWT +# contents: write # Used to push tags to GitHub -jobs: - setup: - runs-on: ubuntu-latest - outputs: - has-changesets: ${{ steps.has-changesets.outputs.has-changesets }} - steps: - - name: Checkout repo - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f - with: - # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits - fetch-depth: 0 - - name: Check if repo has unconsumed changesets - id: has-changesets - uses: ./.github/actions/has-changesets - # Note: if there are no changesets, that means that either - # (1) "Version Packages" PR was just merged, or - # (2) no commits with changesets have been merged after packages were last published. - # - # In either way, we'll attempt to publish the packages. In case of (1), publish will succeed. In - # case of (2), `@changesets/action` will know that UI packages have already published and will - # skip publish. +# jobs: +# setup: +# runs-on: ubuntu-latest +# outputs: +# has-changesets: ${{ steps.has-changesets.outputs.has-changesets }} +# steps: +# - name: Checkout repo +# uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f +# with: +# # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits +# fetch-depth: 0 +# - name: Check if repo has unconsumed changesets +# id: has-changesets +# uses: ./.github/actions/has-changesets +# # Note: if there are no changesets, that means that either +# # (1) "Version Packages" PR was just merged, or +# # (2) no commits with changesets have been merged after packages were last published. +# # +# # In either way, we'll attempt to publish the packages. In case of (1), publish will succeed. In +# # case of (2), `@changesets/action` will know that UI packages have already published and will +# # skip publish. - build-test: - runs-on: ubuntu-latest - needs: setup - environment: ci - if: ${{ needs.setup.outputs.has-changesets != 'true' }} - steps: - - name: Checkout repo - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f - - name: Setup Node.js 20 - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c - with: - node-version: 20 - cache: 'yarn' - env: - SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 - - name: Add Amplify CLI - run: yarn global add @aws-amplify/cli - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0 https://github.com/aws-actions/configure-aws-credentials/commit/e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef - with: - aws-region: us-east-2 - role-to-assume: ${{ secrets.AUTH_E2E_ROLE_ARN }} - # Amplify CLI does not support headless pull with temporary credentials - # when useProfile is false. - # See: https://github.com/aws-amplify/amplify-cli/issues/11009. - - name: Create temp AWS profile - run: | - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID && \ - aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY && \ - aws configure set aws_session_token $AWS_SESSION_TOKEN && \ - aws configure set default.region $AWS_REGION - - name: Pull down AWS environments - run: yarn pull - working-directory: ./canary - - name: Delete AWS Profile - run: rm -rf ~/.aws - - name: Setup canary apps against @next - run: yarn setup:next - working-directory: ./canary - - name: Run yarn install on each sample app - run: yarn install - working-directory: ./canary - - name: Run yarn build on each sample app - run: yarn build - working-directory: ./canary +# build-test: +# runs-on: ubuntu-latest +# needs: setup +# environment: ci +# if: ${{ needs.setup.outputs.has-changesets != 'true' }} +# steps: +# - name: Checkout repo +# uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f +# - name: Setup Node.js 20 +# uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c +# with: +# node-version: 20 +# cache: 'yarn' +# env: +# SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 +# - name: Add Amplify CLI +# run: yarn global add @aws-amplify/cli +# - name: Configure AWS credentials +# uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0 https://github.com/aws-actions/configure-aws-credentials/commit/e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef +# with: +# aws-region: us-east-2 +# role-to-assume: ${{ secrets.AUTH_E2E_ROLE_ARN }} +# # Amplify CLI does not support headless pull with temporary credentials +# # when useProfile is false. +# # See: https://github.com/aws-amplify/amplify-cli/issues/11009. +# - name: Create temp AWS profile +# run: | +# aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID && \ +# aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY && \ +# aws configure set aws_session_token $AWS_SESSION_TOKEN && \ +# aws configure set default.region $AWS_REGION +# - name: Pull down AWS environments +# run: yarn pull +# working-directory: ./canary +# - name: Delete AWS Profile +# run: rm -rf ~/.aws +# - name: Setup canary apps against @next +# run: yarn setup:next +# working-directory: ./canary +# - name: Run yarn install on each sample app +# run: yarn install +# working-directory: ./canary +# - name: Run yarn build on each sample app +# run: yarn build +# working-directory: ./canary - publish: - runs-on: ubuntu-latest - environment: deployment - needs: build-test - if: ${{ needs.setup.outputs.has-changesets != 'true' }} - steps: - - name: Checkout repo - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f - 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 20 - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c - with: - node-version: 20 - cache: 'yarn' - env: - SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 - - name: Install packages - uses: ./.github/actions/install-with-retries - with: - skip-cypress-binary: true # publishing doesn't need cypress - - name: Build packages - run: yarn build - - name: Publish to @latest - uses: changesets/action@b98cec97583b917ff1dc6179dd4d230d3e439894 - with: - publish: yarn publish:latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Trigger build for prod liveness sample app pointing at latest tag - run: curl -X POST -d {} $ENDPOINT -H "Content-Type:application/json" - env: - ENDPOINT: ${{ secrets.LIVENESS_PROD_SAMPLE_APP_BUILD_TRIGGER }} +# publish: +# runs-on: ubuntu-latest +# environment: deployment +# needs: build-test +# if: ${{ needs.setup.outputs.has-changesets != 'true' }} +# steps: +# - name: Checkout repo +# uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f +# 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 20 +# uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c +# with: +# node-version: 20 +# cache: 'yarn' +# env: +# SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 +# - name: Install packages +# uses: ./.github/actions/install-with-retries +# with: +# skip-cypress-binary: true # publishing doesn't need cypress +# - name: Build packages +# run: yarn build +# - name: Publish to @latest +# uses: changesets/action@b98cec97583b917ff1dc6179dd4d230d3e439894 +# with: +# publish: yarn publish:latest +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} +# - name: Trigger build for prod liveness sample app pointing at latest tag +# run: curl -X POST -d {} $ENDPOINT -H "Content-Type:application/json" +# env: +# ENDPOINT: ${{ secrets.LIVENESS_PROD_SAMPLE_APP_BUILD_TRIGGER }} - log-failure-metric: - # Send a failure data point to metric PublishLatestFailure in github-workflows@ us-east-2 - runs-on: ubuntu-latest - environment: ci - needs: publish - if: ${{ failure() }} - steps: - - name: Log failure data point to metric PublishLatestFailure - uses: aws-amplify/amplify-ui/.github/actions/log-metric@main - with: - metric-name: PublishLatestFailure - value: 1 - role-to-assume: ${{ secrets.METRIC_LOGGER_ROLE_ARN }} - aws-region: us-east-2 +# log-failure-metric: +# # Send a failure data point to metric PublishLatestFailure in github-workflows@ us-east-2 +# runs-on: ubuntu-latest +# environment: ci +# needs: publish +# if: ${{ failure() }} +# steps: +# - name: Log failure data point to metric PublishLatestFailure +# uses: aws-amplify/amplify-ui/.github/actions/log-metric@main +# with: +# metric-name: PublishLatestFailure +# value: 1 +# role-to-assume: ${{ secrets.METRIC_LOGGER_ROLE_ARN }} +# aws-region: us-east-2 - log-success-metric: - # Send a success data point to metric PublishLatestFailure in github-workflows@ us-east-2 - runs-on: ubuntu-latest - environment: ci - needs: publish - if: ${{ success() }} - steps: - - name: Log success data point to metric PublishLatestFailure - uses: aws-amplify/amplify-ui/.github/actions/log-metric@main - with: - metric-name: PublishLatestFailure - value: 0 - role-to-assume: ${{ secrets.METRIC_LOGGER_ROLE_ARN }} - aws-region: us-east-2 +# log-success-metric: +# # Send a success data point to metric PublishLatestFailure in github-workflows@ us-east-2 +# runs-on: ubuntu-latest +# environment: ci +# needs: publish +# if: ${{ success() }} +# steps: +# - name: Log success data point to metric PublishLatestFailure +# uses: aws-amplify/amplify-ui/.github/actions/log-metric@main +# with: +# metric-name: PublishLatestFailure +# value: 0 +# role-to-assume: ${{ secrets.METRIC_LOGGER_ROLE_ARN }} +# aws-region: us-east-2 diff --git a/docs/package.json b/docs/package.json index 519b558870b..8e3b18b2d7f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -23,7 +23,7 @@ "test:links": "node --require esbuild-register ./scripts/link-checker-puppeteer.ts" }, "dependencies": { - "@aws-amplify/ui-react": "5.3.2", + "@aws-amplify/ui-react": "6.0.0", "@docsearch/react": "3", "@mdx-js/loader": "^2.1.0", "@mdx-js/mdx": "^2.1.0", diff --git a/examples/angular/package.json b/examples/angular/package.json index fc8c9598a2e..bb44420fba1 100644 --- a/examples/angular/package.json +++ b/examples/angular/package.json @@ -20,7 +20,7 @@ "@angular/platform-browser": "^14.3.0", "@angular/platform-browser-dynamic": "^14.3.0", "@angular/router": "^14.3.0", - "@aws-amplify/ui-angular": "^4.0.9", + "@aws-amplify/ui-angular": "^5.0.0", "aws-amplify": "^6.0.2", "rxjs": "~6.6.0", "tslib": "^2.0.0", diff --git a/examples/next/package.json b/examples/next/package.json index 41b9308d7a2..a444aefdd88 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -11,11 +11,11 @@ }, "dependencies": { "@aws-amplify/geo": "^3.0.1", - "@aws-amplify/ui-react": "^5.3.2", - "@aws-amplify/ui-react-geo": "^1.0.2", + "@aws-amplify/ui-react": "^6.0.0", + "@aws-amplify/ui-react-geo": "^2.0.0", "@aws-amplify/ui-react-liveness": "^2.0.11", - "@aws-amplify/ui-react-notifications": "^1.0.14", - "@aws-amplify/ui-react-storage": "^2.3.2", + "@aws-amplify/ui-react-notifications": "^2.0.0", + "@aws-amplify/ui-react-storage": "^3.0.0", "@aws-sdk/credential-providers": "^3.370.0", "aws-amplify": "^6.0.2", "next": "^13.5.5", diff --git a/examples/vue/package.json b/examples/vue/package.json index e6d374cf8d8..f624935c2f8 100644 --- a/examples/vue/package.json +++ b/examples/vue/package.json @@ -10,7 +10,7 @@ "start": "vite preview --port 3000" }, "dependencies": { - "@aws-amplify/ui-vue": "^3.1.29", + "@aws-amplify/ui-vue": "^4.0.0", "aws-amplify": "^6.0.2", "vue": "^3.0.5", "vue-router": "4" diff --git a/packages/angular/projects/ui-angular/CHANGELOG.md b/packages/angular/projects/ui-angular/CHANGELOG.md index b584e8a9bb3..68679cba196 100644 --- a/packages/angular/projects/ui-angular/CHANGELOG.md +++ b/packages/angular/projects/ui-angular/CHANGELOG.md @@ -1,5 +1,16 @@ # @aws-amplify/ui-angular +## 5.0.0 + +### Major Changes + +Major version bump for all Amplify UI packages due to upgrade of peerDependency aws-amplify to v6 + +### Patch Changes + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + ## 4.0.9 ### Patch Changes @@ -275,7 +286,10 @@ @Component() class MyComponent implements OnInit, OnDelete { private unsubscribe: () => void; - constructor(private authenticator: Authenticator, private route: Router) {} + constructor( + private authenticator: Authenticator, + private route: Router + ) {} ngOnInit() { this.unsubscribe = authenticator.subscribe(({ authStatus }) => { diff --git a/packages/angular/projects/ui-angular/package.json b/packages/angular/projects/ui-angular/package.json index 89d92ae28bd..d130732ab3a 100644 --- a/packages/angular/projects/ui-angular/package.json +++ b/packages/angular/projects/ui-angular/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-angular", - "version": "4.0.9", + "version": "5.0.0", "scripts": { "build": "yarn --cwd ../../ build", "dev": "yarn --cwd ../../ dev", @@ -18,7 +18,7 @@ "aws-amplify": "^6.0.1" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", + "@aws-amplify/ui": "6.0.0", "nanoid": "3.1.31", "qrcode": "1.5.0", "tslib": "^2.5.2", diff --git a/packages/e2e/package.json b/packages/e2e/package.json index 0901c1b0b77..8771ef60fc0 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -30,7 +30,7 @@ ] }, "devDependencies": { - "@aws-amplify/ui": "^5.8.1", + "@aws-amplify/ui": "^6.0.0", "@badeball/cypress-cucumber-preprocessor": "^18.0.6", "@bahmutov/cypress-esbuild-preprocessor": "~2.2.0", "@cucumber/cucumber": "^10.0.1", diff --git a/packages/react-auth/CHANGELOG.md b/packages/react-auth/CHANGELOG.md index e69de29bb2d..312827a7b8e 100644 --- a/packages/react-auth/CHANGELOG.md +++ b/packages/react-auth/CHANGELOG.md @@ -0,0 +1,11 @@ +# @aws-amplify/ui-react-auth + +## 0.0.2 + +### Patch Changes + +- Updated dependencies [[`de87be6d3`](https://github.com/aws-amplify/amplify-ui/commit/de87be6d3b5dfa87f5e295a7bfd42cb21b3198d8), [`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`23c0910d0`](https://github.com/aws-amplify/amplify-ui/commit/23c0910d00d92441f9b23b37726fafcbef28f2d2), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui-react@6.0.0 + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core@3.0.0 + - @aws-amplify/ui-react-core-auth@0.0.2 diff --git a/packages/react-auth/package.json b/packages/react-auth/package.json index 17ce53db7bb..1d46ba857ec 100644 --- a/packages/react-auth/package.json +++ b/packages/react-auth/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react-auth", "private": true, - "version": "0.0.1", + "version": "0.0.2", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { @@ -40,10 +40,10 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react": "5.3.2", - "@aws-amplify/ui-react-core": "2.1.33", - "@aws-amplify/ui-react-core-auth": "0.0.1", + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react": "6.0.0", + "@aws-amplify/ui-react-core": "3.0.0", + "@aws-amplify/ui-react-core-auth": "0.0.2", "@xstate/react": "3.2.2", "lodash": "4.17.21", "tslib": "^2.5.2" diff --git a/packages/react-core-auth/CHANGELOG.md b/packages/react-core-auth/CHANGELOG.md index 5e9d8fd1089..065ba0c14e4 100644 --- a/packages/react-core-auth/CHANGELOG.md +++ b/packages/react-core-auth/CHANGELOG.md @@ -1 +1,9 @@ # @aws-amplify/ui-react-core-auth + +## 0.0.2 + +### Patch Changes + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core@3.0.0 diff --git a/packages/react-core-auth/package.json b/packages/react-core-auth/package.json index 5906de70fe7..c15c1d58936 100644 --- a/packages/react-core-auth/package.json +++ b/packages/react-core-auth/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react-core-auth", "private": true, - "version": "0.0.1", + "version": "0.0.2", "main": "dist/index.js", "module": "dist/esm/index.mjs", "react-native": "src/index.ts", @@ -33,8 +33,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react-core": "2.1.33", + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react-core": "3.0.0", "@xstate/react": "3.2.2", "lodash": "4.17.21", "xstate": "^4.33.6" diff --git a/packages/react-core-notifications/CHANGELOG.md b/packages/react-core-notifications/CHANGELOG.md index 742cad80d8c..23269ec1161 100644 --- a/packages/react-core-notifications/CHANGELOG.md +++ b/packages/react-core-notifications/CHANGELOG.md @@ -1,5 +1,19 @@ # @aws-amplify/ui-react-core-notifications +## 2.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +### Patch Changes + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core@3.0.0 + ## 1.0.10 ### Patch Changes diff --git a/packages/react-core-notifications/package.json b/packages/react-core-notifications/package.json index 174d5c55940..be55296225d 100644 --- a/packages/react-core-notifications/package.json +++ b/packages/react-core-notifications/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react-core-notifications", - "version": "1.0.10", + "version": "2.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { @@ -35,8 +35,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react-core": "2.1.33" + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react-core": "3.0.0" }, "peerDependencies": { "aws-amplify": "^6.0.2", diff --git a/packages/react-core/CHANGELOG.md b/packages/react-core/CHANGELOG.md index c4013d95617..3442a901098 100644 --- a/packages/react-core/CHANGELOG.md +++ b/packages/react-core/CHANGELOG.md @@ -1,5 +1,18 @@ # @aws-amplify/ui-react-core +## 3.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +### Patch Changes + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + ## 2.1.33 ### Patch Changes diff --git a/packages/react-core/package.json b/packages/react-core/package.json index a150f5553e6..4b353da683b 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react-core", - "version": "2.1.33", + "version": "3.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "react-native": "src/index.ts", @@ -33,7 +33,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", + "@aws-amplify/ui": "6.0.0", "@xstate/react": "^3.2.2", "lodash": "4.17.21", "react-hook-form": "^7.43.5", diff --git a/packages/react-geo/CHANGELOG.md b/packages/react-geo/CHANGELOG.md index 7d8f8ddb6e9..86ce73e6e7c 100644 --- a/packages/react-geo/CHANGELOG.md +++ b/packages/react-geo/CHANGELOG.md @@ -1,5 +1,18 @@ # @aws-amplify/ui-react-geo +## 2.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +### Patch Changes + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui-react-core@3.0.0 + ## 1.0.2 ### Patch Changes diff --git a/packages/react-geo/package.json b/packages/react-geo/package.json index a40f6ad99bb..64d0f568377 100644 --- a/packages/react-geo/package.json +++ b/packages/react-geo/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react-geo", - "version": "1.0.2", + "version": "2.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { @@ -39,7 +39,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui-react-core": "2.1.33", + "@aws-amplify/ui-react-core": "3.0.0", "mapbox-gl": "1.13.1", "maplibre-gl": "2.1.9", "maplibre-gl-js-amplify": "^4.0.0", diff --git a/packages/react-liveness/package.json b/packages/react-liveness/package.json index 990ddbb6c41..6d1b72a8ec9 100644 --- a/packages/react-liveness/package.json +++ b/packages/react-liveness/package.json @@ -48,8 +48,8 @@ "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react": "5.3.2", + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react": "6.0.0", "@aws-sdk/client-rekognitionstreaming": "3.398.0", "@aws-sdk/util-format-url": "^3.410.0", "@smithy/eventstream-serde-browser": "^2.0.4", diff --git a/packages/react-native-auth/CHANGELOG.md b/packages/react-native-auth/CHANGELOG.md index 7d507cbeac6..378230568e3 100644 --- a/packages/react-native-auth/CHANGELOG.md +++ b/packages/react-native-auth/CHANGELOG.md @@ -1 +1,10 @@ # @aws-amplify/ui-react-native-auth + +## 0.0.2 + +### Patch Changes + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`02d2cde68`](https://github.com/aws-amplify/amplify-ui/commit/02d2cde686929bce7965c3b547173f0a03b87aaa), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-native@2.0.0 + - @aws-amplify/ui-react-core-auth@0.0.2 diff --git a/packages/react-native-auth/package.json b/packages/react-native-auth/package.json index 936c0c7ac70..de1f3e7a1de 100644 --- a/packages/react-native-auth/package.json +++ b/packages/react-native-auth/package.json @@ -1,7 +1,7 @@ { "name": "@aws-amplify/ui-react-native-auth", "private": true, - "version": "0.0.1", + "version": "0.0.2", "main": "lib/index.js", "module": "dist/index.js", "react-native": "src/index.ts", @@ -28,9 +28,9 @@ "metro-react-native-babel-preset": "^0.77.0" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react-core-auth": "0.0.1", - "@aws-amplify/ui-react-native": "1.2.28" + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react-core-auth": "0.0.2", + "@aws-amplify/ui-react-native": "2.0.0" }, "peerDependencies": { "aws-amplify": "^6.0.2", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 69ca2f7c45d..b2d2ea49df9 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,28 @@ # @aws-amplify/ui-react-native +## 2.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +### Minor Changes + +- [#4445](https://github.com/aws-amplify/amplify-ui/pull/4445) [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - feat: allow themes to have arbitrary tokens + +### Patch Changes + +- [#4719](https://github.com/aws-amplify/amplify-ui/pull/4719) [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43) Thanks [@calebpollman](https://github.com/calebpollman)! - fix(rna): refactor fed sign in + +- [#4712](https://github.com/aws-amplify/amplify-ui/pull/4712) [`02d2cde68`](https://github.com/aws-amplify/amplify-ui/commit/02d2cde686929bce7965c3b547173f0a03b87aaa) Thanks [@calebpollman](https://github.com/calebpollman)! - fix(rna): prefer route over authStatus for rendering children + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core@3.0.0 + - @aws-amplify/ui-react-core-notifications@2.0.0 + ## 1.2.28 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index e65d276e4a5..a628051bba4 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react-native", - "version": "1.2.28", + "version": "2.0.0", "main": "lib/index.js", "module": "dist/index.js", "react-native": "src/index.ts", @@ -29,9 +29,9 @@ "react-native-safe-area-context": "^4.7.3" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react-core": "2.1.33", - "@aws-amplify/ui-react-core-notifications": "1.0.10" + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react-core": "3.0.0", + "@aws-amplify/ui-react-core-notifications": "2.0.0" }, "peerDependencies": { "aws-amplify": "^6.0.2", diff --git a/packages/react-notifications/CHANGELOG.md b/packages/react-notifications/CHANGELOG.md index 74b8716743e..bb99288cdf1 100644 --- a/packages/react-notifications/CHANGELOG.md +++ b/packages/react-notifications/CHANGELOG.md @@ -1,5 +1,20 @@ # @aws-amplify/ui-react-notifications +## 2.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +### Patch Changes + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`de87be6d3`](https://github.com/aws-amplify/amplify-ui/commit/de87be6d3b5dfa87f5e295a7bfd42cb21b3198d8), [`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`23c0910d0`](https://github.com/aws-amplify/amplify-ui/commit/23c0910d00d92441f9b23b37726fafcbef28f2d2), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui-react@6.0.0 + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core-notifications@2.0.0 + ## 1.0.14 ### Patch Changes diff --git a/packages/react-notifications/package.json b/packages/react-notifications/package.json index b63963dac6f..9a379846fc2 100644 --- a/packages/react-notifications/package.json +++ b/packages/react-notifications/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react-notifications", - "version": "1.0.14", + "version": "2.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { @@ -39,9 +39,9 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react": "5.3.2", - "@aws-amplify/ui-react-core-notifications": "1.0.10", + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react": "6.0.0", + "@aws-amplify/ui-react-core-notifications": "2.0.0", "tinycolor2": "1.4.2" }, "peerDependencies": { diff --git a/packages/react-storage/CHANGELOG.md b/packages/react-storage/CHANGELOG.md index d71e1099048..dac7024192f 100644 --- a/packages/react-storage/CHANGELOG.md +++ b/packages/react-storage/CHANGELOG.md @@ -1,5 +1,24 @@ # @aws-amplify/ui-react-storage +## 3.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +### Patch Changes + +- [#4667](https://github.com/aws-amplify/amplify-ui/pull/4667) [`bc4831cc2`](https://github.com/aws-amplify/amplify-ui/commit/bc4831cc2756c767a56e125af1f03b665dcd5396) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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. + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`de87be6d3`](https://github.com/aws-amplify/amplify-ui/commit/de87be6d3b5dfa87f5e295a7bfd42cb21b3198d8), [`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`23c0910d0`](https://github.com/aws-amplify/amplify-ui/commit/23c0910d00d92441f9b23b37726fafcbef28f2d2), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui-react@6.0.0 + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core@3.0.0 + ## 2.3.2 ### Patch Changes diff --git a/packages/react-storage/package.json b/packages/react-storage/package.json index 32022f723fc..244ff6e5adf 100644 --- a/packages/react-storage/package.json +++ b/packages/react-storage/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react-storage", - "version": "2.3.2", + "version": "3.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { @@ -39,9 +39,9 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react": "5.3.2", - "@aws-amplify/ui-react-core": "2.1.33", + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react": "6.0.0", + "@aws-amplify/ui-react-core": "3.0.0", "lodash": "4.17.21", "tslib": "^2.5.2" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 12a8ddd2f13..dd244b7b656 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,175 @@ # @aws-amplify/ui-react +## 6.0.0 + +### Major Changes + +- [#4452](https://github.com/aws-amplify/amplify-ui/pull/4452) [`de87be6d3`](https://github.com/aws-amplify/amplify-ui/commit/de87be6d3b5dfa87f5e295a7bfd42cb21b3198d8) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - BREAKING: + + - Removing stylistic data-attributes from React primitives + - Update SwitchField classnames to be BEM + - Removing remnants of "countryCode" + +- [#4509](https://github.com/aws-amplify/amplify-ui/pull/4509) [`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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' + + - + - + - Tab 1 Content + - + + + + + + + Tab 1 + + + + + + Tab 1 Content + + + + + ``` + + You can also use the Tabs in a uncomposed way too: + + ```jsx + + ``` + + 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. + +- [#4474](https://github.com/aws-amplify/amplify-ui/pull/4474) [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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` + +- [#4476](https://github.com/aws-amplify/amplify-ui/pull/4476) [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - breaking: renaming Expander to Accordion and removing Radix dependency. The Accordion component is now built with `
` and `` elements to handle showing/hiding content. + + ```jsx + + + + Click me first! + + + + Now when you click the second item, this item will automatically + collapse. + + + + + Then click me! + + + + Notice how only one item can be open at a time for the single Accordion + type. + + + + ``` + + The Accordion can be controlled or uncontrolled (with a default value) + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +- [#4635](https://github.com/aws-amplify/amplify-ui/pull/4635) [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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', + }); + ``` + +### Minor Changes + +- [#4445](https://github.com/aws-amplify/amplify-ui/pull/4445) [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - feat: allow themes to have arbitrary tokens + +- [#4578](https://github.com/aws-amplify/amplify-ui/pull/4578) [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - feat: add CSS layers support and CSS file splitting. The default style import '@aws-amplify/ui-react/styles.css' remains unchanged so these features are opt-in. + We are now exposing each different component CSS file if you want fine-grained control over what CSS is loaded. Additionally, we will have a CSS reset and a base CSS file. + If you only wanted the button CSS you could do this: + + ```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' + ``` + +### Patch Changes + +- [#4463](https://github.com/aws-amplify/amplify-ui/pull/4463) [`23c0910d0`](https://github.com/aws-amplify/amplify-ui/commit/23c0910d00d92441f9b23b37726fafcbef28f2d2) Thanks [@esauerbo](https://github.com/esauerbo)! - refactor(ui): update RadioGroupField to use Fieldset + + Update to `RadioGroupField` component props: + + - `legend` replaces `label` + - `legendHidden` replaces `labelHidden` + + Example usage: + `` + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + - @aws-amplify/ui-react-core@3.0.0 + ## 5.3.2 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 763a9dd885f..caff5b5915e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react", - "version": "5.3.2", + "version": "6.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { @@ -49,8 +49,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", - "@aws-amplify/ui-react-core": "2.1.33", + "@aws-amplify/ui": "6.0.0", + "@aws-amplify/ui-react-core": "3.0.0", "@radix-ui/react-direction": "1.0.0", "@radix-ui/react-dropdown-menu": "1.0.0", "@radix-ui/react-slider": "1.0.0", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 78e7a0b9167..e55183549ec 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,157 @@ # @aws-amplify/ui +## 6.0.0 + +### Major Changes + +- [#4509](https://github.com/aws-amplify/amplify-ui/pull/4509) [`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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' + + - + - + - Tab 1 Content + - + + + + + + + Tab 1 + + + + + + Tab 1 Content + + + + + ``` + + You can also use the Tabs in a uncomposed way too: + + ```jsx + + ``` + + 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. + +- [#4474](https://github.com/aws-amplify/amplify-ui/pull/4474) [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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` + +- [#4476](https://github.com/aws-amplify/amplify-ui/pull/4476) [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - breaking: renaming Expander to Accordion and removing Radix dependency. The Accordion component is now built with `
` and `` elements to handle showing/hiding content. + + ```jsx + + + + Click me first! + + + + Now when you click the second item, this item will automatically + collapse. + + + + + Then click me! + + + + Notice how only one item can be open at a time for the single Accordion + type. + + + + ``` + + The Accordion can be controlled or uncontrolled (with a default value) + +- Major version bump for all Amplify UI packages due to uprade of peerDependency aws-amplify to v6 + +- [#4635](https://github.com/aws-amplify/amplify-ui/pull/4635) [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - 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', + }); + ``` + +### Minor Changes + +- [#4445](https://github.com/aws-amplify/amplify-ui/pull/4445) [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - feat: allow themes to have arbitrary tokens + +- [#4578](https://github.com/aws-amplify/amplify-ui/pull/4578) [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b) Thanks [@dbanksdesign](https://github.com/dbanksdesign)! - feat: add CSS layers support and CSS file splitting. The default style import '@aws-amplify/ui-react/styles.css' remains unchanged so these features are opt-in. + We are now exposing each different component CSS file if you want fine-grained control over what CSS is loaded. Additionally, we will have a CSS reset and a base CSS file. + If you only wanted the button CSS you could do this: + + ```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' + ``` + +### Patch Changes + +- [#4719](https://github.com/aws-amplify/amplify-ui/pull/4719) [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43) Thanks [@calebpollman](https://github.com/calebpollman)! - fix(rna): refactor fed sign in + +- [#4716](https://github.com/aws-amplify/amplify-ui/pull/4716) [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795) Thanks [@calebpollman](https://github.com/calebpollman)! - chore(deps): upgrade aws-amplify deps + ## 5.8.1 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index e4579424fee..a748ffedc28 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui", - "version": "5.8.1", + "version": "6.0.0", "main": "dist/index.js", "module": "dist/esm/index.mjs", "exports": { diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index 401eeeb5970..0cf0483ddc3 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,16 @@ # @aws-amplify/ui-vue +## 4.0.0 + +### Major Changes + +- Major version bump for all Amplify UI packages due to upgrade of peerDependency aws-amplify to v6 + +### Patch Changes + +- Updated dependencies [[`55d1f4940`](https://github.com/aws-amplify/amplify-ui/commit/55d1f49401359bb0b75756742658b173edc0fb72), [`7b55f4f78`](https://github.com/aws-amplify/amplify-ui/commit/7b55f4f781c3adab19c3d91ef9f293647566ecd9), [`27783d65a`](https://github.com/aws-amplify/amplify-ui/commit/27783d65a06e712bb3ca8c116798a52db3d4a3a4), [`59c042c17`](https://github.com/aws-amplify/amplify-ui/commit/59c042c170358c6cc2ca09d13ffcc7e517586ef2), [`91372387c`](https://github.com/aws-amplify/amplify-ui/commit/91372387c29f5d68526070e4c3b8a13bbf079e5c), [`f9e4fa838`](https://github.com/aws-amplify/amplify-ui/commit/f9e4fa8388a1994996a132f50261f431d1a52e43), [`27be6ccf5`](https://github.com/aws-amplify/amplify-ui/commit/27be6ccf51ce093d3589f9f36b4530e6825a317b), [`5bd721183`](https://github.com/aws-amplify/amplify-ui/commit/5bd72118342c4a3040c13e923024d476a643a795)]: + - @aws-amplify/ui@6.0.0 + ## 3.1.29 ### Patch Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index bd16b47b09d..73e7e1d16a4 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-vue", - "version": "3.1.29", + "version": "4.0.0", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", @@ -38,7 +38,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@aws-amplify/ui": "5.8.1", + "@aws-amplify/ui": "6.0.0", "@vue/tsconfig": "^0.1.3", "@vueuse/core": "7.5.5", "@xstate/vue": "0.8.1",