Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 1, 2022

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

Release notes

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

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

Minor Changes

  • #1566 7ce9dd531 Thanks @​jacoblogan! - added useBreakpointValue hook. Used with either a breakpoint object or array

    export const UseBreakpointValueObjectExample = () => {
      const variation = useBreakpointValue({
        base: 'info',
        small: 'warning',
        medium: 'error',
        large: 'success',
      });
    

    return <Alert variation={variation}>Responsive Alert</Alert>; };

    OR

    export const UseBreakpointValueArrayExample = () => {
      const variation = useBreakpointValue(['info', 'warning', 'error', 'success']);
    

    return <Alert variation={variation}>Responsive Alert</Alert>; };

Patch Changes

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

Minor Changes

  • #1569 6d3981c4a Thanks @​zchenwei! - build: setting up Rollup for bundling

    Both @aws-amplify/ui-react and @aws-amplify/ui cannot be tree shaken before because we bundle it in a wrong way. With preserveModule in Rollup, we make them tree-shakeble friendly.

    With webpack, we can see tree shaking is taking effect now

    // index.tsx
    import * as React from 'react';
    import ReactDOM from 'react-dom';
    import '@aws-amplify/ui-react/styles.css';
    import { App } from './App';
    ReactDOM.render(<App />, document.getElementById('root'));

... (truncated)

Changelog

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

2.13.0

Minor Changes

  • #1566 7ce9dd531 Thanks @​jacoblogan! - added useBreakpointValue hook. Used with either a breakpoint object or array
    export const UseBreakpointValueObjectExample = () => {
      const variation = useBreakpointValue({
        base: 'info',
        small: 'warning',
        medium: 'error',
        large: 'success',
      });
    

    return <Alert variation={variation}>Responsive Alert</Alert>; };

    OR

    export const UseBreakpointValueArrayExample = () => {
      const variation = useBreakpointValue(['info', 'warning', 'error', 'success']);
    

    return <Alert variation={variation}>Responsive Alert</Alert>;
    };

Patch Changes

2.12.0

Minor Changes

  • #1569 6d3981c4a Thanks @​zchenwei! - build: setting up Rollup for bundling

    Both @aws-amplify/ui-react and @aws-amplify/ui cannot be tree shaken before because we bundle it in a wrong way. With preserveModule in Rollup, we make them tree-shakeble friendly.

    With webpack, we can see tree shaking is taking effect now

    // index.tsx
    import * as React from 'react';
    import ReactDOM from 'react-dom';
    import '@aws-amplify/ui-react/styles.css';

... (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 2.13.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/ui-react@2.13.0/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] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 6, 2022

Superseded by #40.

@dependabot dependabot bot closed this Apr 6, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-amplify/ui-react-2.13.0 branch April 6, 2022 20:21
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