Skip to content

Commit

Permalink
revert: set global focus styles (#5114)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
joshblack and joshblack authored Oct 13, 2024
1 parent 799ead8 commit 9f37707
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .changeset/itchy-paws-bake.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import sx, {merge} from '../sx'
import {getSegmentedControlButtonStyles, getSegmentedControlListItemStyles} from './getSegmentedControlStyles'
import {defaultSxProp} from '../utils/defaultSxProp'
import {isElement} from 'react-is'
import getGlobalFocusStyles from '../internal/utils/getGlobalFocusStyles'

export type SegmentedControlButtonProps = {
/** The visible label rendered in the button */
Expand All @@ -23,7 +22,6 @@ export type SegmentedControlButtonProps = {
ButtonHTMLAttributes<HTMLButtonElement | HTMLLIElement>

const SegmentedControlButtonStyled = styled.button`
${getGlobalFocusStyles()};
${sx};
`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {getSegmentedControlButtonStyles, getSegmentedControlListItemStyles} from
import Box from '../Box'
import {defaultSxProp} from '../utils/defaultSxProp'
import {isElement} from 'react-is'
import getGlobalFocusStyles from '../internal/utils/getGlobalFocusStyles'

export type SegmentedControlIconButtonProps = {
'aria-label': string
Expand All @@ -22,7 +21,6 @@ export type SegmentedControlIconButtonProps = {
ButtonHTMLAttributes<HTMLButtonElement | HTMLLIElement>

const SegmentedControlIconButtonStyled = styled.button`
${getGlobalFocusStyles()};
${sx};
`

Expand Down

0 comments on commit 9f37707

Please sign in to comment.