Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 6, 2024

Bumps @aws-amplify/ui-react from 6.1.12 to 6.2.2.

Release notes

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

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

Patch Changes

  • Updated dependencies [c3dfbe044]:
    • @​aws-amplify/ui@​6.3.0
    • @​aws-amplify/ui-react-core@​3.0.20

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

Patch Changes

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

Minor Changes

  • #5170 d73bd9cc8 Thanks @​dbanksdesign! - feat(ui): experimental component theming

    This feature lets you fully style and theme built-in components even if there is no design token available. For example, previously you could not add a box shadow or gradient background to the built-in Button component unless you wrote plain CSS. Now you can style every CSS property for all the built-in components with type-safety!

    This also lets you define your own components and style them in the same type-safe way with zero runtime computation.

    defineComponentTheme()

    import { defineComponentTheme } from '@aws-amplify/ui-react/server';
    export const buttonTheme = defineComponentTheme({
    // because 'button' is a built-in component, we get type-safety and hints
    // based on the theme shape of our button
    name: 'button',
    theme: (tokens) => {
    return {
    textAlign: 'center',
    padding: tokens.space.xl,
    _modifiers: {
    primary: {
    backgroundColor: tokens.colors.primary[20],
    },
    },
    };
    },
    });

    createTheme()

    The theme object passed to createTheme now has an optional components array which is an array of component themes.

... (truncated)

Changelog

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

6.2.2

Patch Changes

  • Updated dependencies [c3dfbe044]:
    • @​aws-amplify/ui@​6.3.0
    • @​aws-amplify/ui-react-core@​3.0.20

6.2.1

Patch Changes

6.2.0

Minor Changes

  • #5170 d73bd9cc8 Thanks @​dbanksdesign! - feat(ui): experimental component theming

    This feature lets you fully style and theme built-in components even if there is no design token available. For example, previously you could not add a box shadow or gradient background to the built-in Button component unless you wrote plain CSS. Now you can style every CSS property for all the built-in components with type-safety!

    This also lets you define your own components and style them in the same type-safe way with zero runtime computation.

    defineComponentTheme()

    import { defineComponentTheme } from '@aws-amplify/ui-react/server';
    export const buttonTheme = defineComponentTheme({
    // because 'button' is a built-in component, we get type-safety and hints
    // based on the theme shape of our button
    name: 'button',
    theme: (tokens) => {
    return {
    textAlign: 'center',
    padding: tokens.space.xl,
    _modifiers: {
    primary: {
    backgroundColor: tokens.colors.primary[20],
    },
    },
    };
    },
    });

    createTheme()

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 6.1.12 to 6.2.2.
- [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-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner September 6, 2024 11:37
@dependabot dependabot bot added Dependency Update Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 6, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 10, 2024

Superseded by #7954.

@dependabot dependabot bot closed this Sep 10, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-amplify/ui-react-6.2.2 branch September 10, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependency Update Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants