Skip to content

Conversation

dependabot[bot]
Copy link

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

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

Release notes

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

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

Minor Changes

  • #1980 a9b29e879 Thanks @​zchenwei! - feat: adding missing label props to make text in i18n file customizable

  • #1986 c58c1e056 Thanks @​zchenwei! - feat: update custom style props to accept StyleToken type

    For example:

    import {
      Flex,
      Loader,
      Rating,
      SliderField,
      SwitchField,
    } from '@aws-amplify/ui-react';
    export const StyleTokenExample = () => {
    return (
    <Flex>
    <Loader
    emptyColor={tokens.colors.black}
    filledColor={tokens.colors.orange[40]}
    />
    &lt;Rating
      value={2.5}
      fillColor={tokens.colors.red[60]}
      emptyColor={tokens.colors.green[60]}
    /&gt;
    &lt;SliderField
    label=&quot;Style Props Slider&quot;
    filledTrackColor={tokens.colors.green[80].value}
    emptyTrackColor={tokens.colors.green[20].value}
    thumbColor=&quot;red&quot;
    filledTrackColor={tokens.colors.green[80]}
    emptyTrackColor={tokens.colors.green[20]}
    thumbColor={tokens.colors.red[60]}
    trackSize=&quot;15px&quot;
    defaultValue={50}
    /&gt;
    &lt;SwitchField
    label=&quot;This is a switch&quot;
    trackCheckedColor={tokens.colors.green[60]}
    thumbColor={tokens.colors.orange[10]}
    /&gt;

... (truncated)

Changelog

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

2.19.0

Minor Changes

  • #1986 c58c1e056 Thanks @​zchenwei! - feat: update custom style props to accept StyleToken type

    For example:

    import {
      Flex,
      Loader,
      Rating,
      SliderField,
      SwitchField,
    } from '@aws-amplify/ui-react';
    export const StyleTokenExample = () => {
    return (
    <Flex>
    <Loader
    emptyColor={tokens.colors.black}
    filledColor={tokens.colors.orange[40]}
    />
    &lt;Rating
      value={2.5}
      fillColor={tokens.colors.red[60]}
      emptyColor={tokens.colors.green[60]}
    /&gt;
    &lt;SliderField
    label=&quot;Style Props Slider&quot;
    filledTrackColor={tokens.colors.green[80].value}
    emptyTrackColor={tokens.colors.green[20].value}
    thumbColor=&quot;red&quot;
    filledTrackColor={tokens.colors.green[80]}
    emptyTrackColor={tokens.colors.green[20]}
    thumbColor={tokens.colors.red[60]}
    trackSize=&quot;15px&quot;
    defaultValue={50}
    /&gt;
    &lt;SwitchField
    label=&quot;This is a switch&quot;
    trackCheckedColor={tokens.colors.green[60]}
    thumbColor={tokens.colors.orange[10]}
    /&gt;

... (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.19.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.19.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 Jun 3, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 9, 2022

Superseded by #61.

@dependabot dependabot bot closed this Jun 9, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-amplify/ui-react-2.19.0 branch June 9, 2022 09:29
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