Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 20, 2022

Bumps @aws-amplify/ui-react from 1.2.5 to 3.0.0.

Release notes

Sourced from @​aws-amplify/ui-react's releases.

@​aws-amplify/ui-react@​3.0.0

Major Changes

  • #2103 bb2c98aa6 Thanks @​zchenwei! - BREAKING CHANGE: remove ShareText export

  • #2082 e79f41839 Thanks @​reesscot! - 🚨BREAKING CHANGE🚨: Built-in icons removed

    We've removed the built-in icons (Icon360, IconSave, etc) from the @aws-amplify/ui-react package. This change was made for a few reasons:

    • There are many other React icon libraries that are compatible with Amplify UI components
    • Removing the icons reduces the overall package size by about 74%.
    • While in most cases the icons are tree-shaken out of the final app bundle, by removing the icons we ensure smaller bundle sizes for all users.

    We are not removing the <Icon> component, which allows customers to easily add SVG icons using the pathData prop. A limited set of the icons have been left for internal only use in Amplify UI primitives.

Minor Changes

  • #2054 5eedbbed4 Thanks @​zchenwei! - feat: adding colors theme key support in style props

    Example code

    import { View } from '@aws-amplify/ui-react';
    export const Demo = () => {
    return <View backgroundColor="pink.10" color="red.40" />;
    };

  • #2112 d458f3639 Thanks @​dbanksdesign! - Allow padding and margin to accept theme keys. Also adding paddingInline, paddingBlock, marginInline, and marginBlock style props.

      <View padding="large" />
      <View paddingInline="xl" />
  • #2077 736cfe7cb Thanks @​zchenwei! - feat(style): adding theme key support on more style props(font-family, line-height, opacity, box-shadow and transform)

  • #2070 28bf92ddb Thanks @​zchenwei! - feat: adding theme key(radii, space, fontSizes, and fontWeights) support for more style props

Patch Changes

... (truncated)

Changelog

Sourced from @​aws-amplify/ui-react's changelog.

3.0.0

Major Changes

  • #2082 e79f41839 Thanks @​reesscot! - 🚨BREAKING CHANGE🚨: Built-in icons removed

    We've removed the built-in icons (Icon360, IconSave, etc) from the @aws-amplify/ui-react package. This change was made for a few reasons:

    • There are many other React icon libraries that are compatible with Amplify UI components
    • Removing the icons reduces the overall package size by about 74%.
    • While in most cases the icons are tree-shaken out of the final app bundle, by removing the icons we ensure smaller bundle sizes for all users.

    We are not removing the <Icon> component, which allows customers to easily add SVG icons using the pathData prop. A limited set of the icons have been left for internal only use in Amplify UI primitives.

Minor Changes

  • #2054 5eedbbed4 Thanks @​zchenwei! - feat: adding colors theme key support in style props

    Example code

    import { View } from '@aws-amplify/ui-react';
    export const Demo = () => {
    return <View backgroundColor="pink.10" color="red.40" />;
    };

  • #2112 d458f3639 Thanks @​dbanksdesign! - Allow padding and margin to accept theme keys. Also adding paddingInline, paddingBlock, marginInline, and marginBlock style props.

      <View padding="large" />
      <View paddingInline="xl" />
  • #2077 736cfe7cb Thanks @​zchenwei! - feat(style): adding theme key support on more style props(font-family, line-height, opacity, box-shadow and transform)
  • #2070 28bf92ddb Thanks @​zchenwei! - feat: adding theme key(radii, space, fontSizes, and fontWeights) support for more style props

Patch Changes

  • #2102 a168acdc6 Thanks @​dbanksdesign! - fix: nested theme providers by removing menu's portal. Menu primitive no longer renders in a React Portal which means it properly gets the theme from the nearest ThemeProvider. Removing the document element modifications in the ThemeProvider because it is no longer needed. Now the ThemeProvider is much cleaner!

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@aws-amplify/ui-react](https://github.com/aws-amplify/amplify-ui/tree/HEAD/packages/react) from 1.2.5 to 3.0.0.
- [Release notes](https://github.com/aws-amplify/amplify-ui/releases)
- [Changelog](https://github.com/aws-amplify/amplify-ui/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/aws-amplify/amplify-ui/commits/@aws-amplify/[email protected]/packages/react)

---
updated-dependencies:
- dependency-name: "@aws-amplify/ui-react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 20, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 22, 2022

Superseded by #64.

@dependabot dependabot bot closed this Jun 22, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-amplify/ui-react-3.0.0 branch June 22, 2022 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants