Skip to content

Fiddle: update to latest ui-react + use focus-visible instead of focusFixer pattern#12

Merged
krishan711 merged 2 commits into
mainfrom
ups
Dec 4, 2025
Merged

Fiddle: update to latest ui-react + use focus-visible instead of focusFixer pattern#12
krishan711 merged 2 commits into
mainfrom
ups

Conversation

@krishan711
Copy link
Copy Markdown
Contributor

Description

Screenshots:

Checklist:

  • I have updated the CHANGELOG with a summary of my changes
  • I have updated the documentation accordingly

Copilot AI review requested due to automatic review settings December 4, 2025 13:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes the Toast component by removing the legacy focusFixer wrapper pattern and updating to the latest @kibalabs/ui-react version. The changes simplify the component structure by applying styles directly to the toast element and using the modern :focus-visible pseudo-class for better keyboard navigation UX.

Key Changes:

  • Updated @kibalabs/ui-react dependency from 0.11.3-next.18 to ^0.11.3-next.22
  • Removed the KibaToastFocusFixer wrapper span element from the component structure
  • Refactored CSS to apply styles directly to .KibaToast instead of nested selectors, and replaced :focus with :focus-visible

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Updated @kibalabs/ui-react devDependency to version ^0.11.3-next.22 with caret for flexible version range
package-lock.json Updated lockfile to reflect the new @kibalabs/ui-react version and integrity hash
src/component.tsx Removed KibaToastFocusFixer wrapper span and simplified component to render children directly
src/styles.scss Removed .KibaToastFocusFixer class, moved its properties to .KibaToast, flattened nested selectors, and replaced :focus with :focus-visible

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@krishan711 krishan711 merged commit f870b81 into main Dec 4, 2025
4 checks passed
@krishan711 krishan711 deleted the ups branch December 4, 2025 14:00
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.

2 participants