Skip to content

evo-react: migrate ebay-toggle-button-group #855

Description

@HenriqueLimas

Parent: #794

Description

Migrate @ebay/ui-core-react/ebay-toggle-button-group to @evo-web/react/toggle-button-group.

Use the repository's Evo React migration guidance.

Goals

  • Preserve semantic HTML, Skin/BEM styling, accessibility behavior, keyboard support, RTL behavior, and pass-through attributes.
  • Align the public API with the corresponding Evo Marko contract without carrying forward obsolete React workarounds.
  • Follow React 19 and @evo-web/react package conventions.

Acceptance criteria

  • Uses named exports, native React 19 ref props, and no forwardRef, FC, or default exports.
  • Imports the appropriate Skin .mjs module directly.
  • Avoids React.Children inspection; composition uses explicit components/context where needed.
  • Public custom props and object fields have JSDoc and follow Evo accessibility naming conventions.
  • Includes browser interaction tests and SSR snapshot coverage.
  • Includes Storybook documentation and a minimal component README.
  • Updates consumer migration guidance in evo-app-migrate-react.
  • Includes an @evo-web/react changeset.
  • Meets WCAG 2.2 AA and supports keyboard use and RTL.
  • npm run build passes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions