cisagov / XFD

CyHy Dashboard
Creative Commons Zero v1.0 Universal
8 stars 6 forks source link

Bump @aws-amplify/ui-react from 5.2.0 to 6.2.2 in /frontend #602

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps @aws-amplify/ui-react from 5.2.0 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 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)
dependabot[bot] commented 2 months ago

Superseded by #617.