Skip to content

Conversation

@dependabot
Copy link

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

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

Release notes

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

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

Minor Changes

  • #1629 ab9aef8f3 Thanks @​ErikCH! - Added new Geo components. Including the MapView and GeoCoder with documentation at https://ui.docs.amplify.aws/components/geo

  • #1598 992c5f6fb Thanks @​zchenwei! - feat: adding determinate loader support

    Example:

    To use determinate loader, set isDeterminate to true and pass percentage

    import * as React from 'react';
    import { Loader } from '@aws-amplify/ui-react';
    export const DeterminateLoaderExample = () => {
    const [percentage, setPercentage] = React.useState(0);
    React.useEffect(() => {
    const clearID = setInterval(() => {
    setPercentage((percentage) => {
    if (percentage < 100) {
    return percentage + 1;
    }
    return 0;
    });
    }, 1000);
    return () => clearInterval(clearID);
    }, []);
    return (
    <>
    <Loader percentage={percentage} isDeterminate />
    <Loader variation="linear" percentage={percentage} isDeterminate />
    </>
    );
    };

    To hide the percentage text, set isPercentageTextHidden to true

    import { Loader } from '@aws-amplify/ui-react';
    export const LoaderIsPercentageTextHiddenExample = () => {
    return <Loader percentage={60} isDeterminate isPercentageTextHidden />;
    };

Patch Changes

... (truncated)

Changelog

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

2.15.0

Minor Changes

  • #1598 992c5f6fb Thanks @​zchenwei! - feat: adding determinate loader support

    Example:

    To use determinate loader, set isDeterminate to true and pass percentage

    import * as React from 'react';
    import { Loader } from '@aws-amplify/ui-react';
    export const DeterminateLoaderExample = () => {
    const [percentage, setPercentage] = React.useState(0);
    React.useEffect(() => {
    const clearID = setInterval(() => {
    setPercentage((percentage) => {
    if (percentage < 100) {
    return percentage + 1;
    }
    return 0;
    });
    }, 1000);
    return () => clearInterval(clearID);
    }, []);
    return (
    <>
    <Loader percentage={percentage} isDeterminate />
    <Loader variation="linear" percentage={percentage} isDeterminate />
    </>
    );
    };

    To hide the percentage text, set isPercentageTextHidden to true

    import { Loader } from '@aws-amplify/ui-react';
    export const LoaderIsPercentageTextHiddenExample = () => {
    return <Loader percentage={60} isDeterminate isPercentageTextHidden />;
    };

Patch Changes

... (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.15.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.15.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 6, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 8, 2022

Superseded by #41.

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