Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copybutton i18n #3426

Merged
merged 9 commits into from
Dec 5, 2024
Merged

Copybutton i18n #3426

merged 9 commits into from
Dec 5, 2024

Conversation

it-vegard
Copy link
Contributor

@it-vegard it-vegard commented Dec 4, 2024

Description

Component Checklist 📝

  • JSDoc
  • Examples
  • Documentation / Decision Records
  • Storybook
  • Style mappings (@navikt/core/css/config/_mappings.js)
  • Component tokens (@navikt/core/css/tokens.json)
  • CSS class deprecations (@navikt/aksel-stylelint/src/deprecations.ts)
  • Exports (@navikt/core/react/src/index.ts and @navikt/core/react/package.json)
  • New component? CSS import (@navikt/core/css/index.css)
  • Breaking change? Update migration guide. Consider codemod.
  • Changeset (Format: <Component>: <gitmoji?> <Text>. E.g. "Button: ✨ Add feature xyz.")

…s better with icon only, and the same with text.

VO in Safari only announces active text ("Copied"), while in other browsers, it announces also return to the default text ("Copy XYZ")
Needs testing on Windows
…y be the same. (Why have different text in an icon button vs. text button?

Maybe we should do the same with text and title?
Copy link

changeset-bot bot commented Dec 4, 2024

🦋 Changeset detected

Latest commit: 90b1854

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@navikt/ds-react Minor
@navikt/ds-css Minor
@navikt/ds-tokens Minor
@navikt/ds-tailwind Minor
@navikt/aksel-icons Minor
@navikt/aksel Minor
@navikt/aksel-stylelint Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Storybook demo

6560086aa | 91 komponenter | 135 stories

@it-vegard it-vegard marked this pull request as ready for review December 4, 2024 11:01
Copy link
Collaborator

@KenAJoh KenAJoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🇮🇹

@HalvorHaugan HalvorHaugan merged commit 89e069d into main Dec 5, 2024
4 checks passed
@HalvorHaugan HalvorHaugan deleted the copybutton-i18n branch December 5, 2024 12:36
@github-actions github-actions bot mentioned this pull request Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants