Skip to content

Commit

Permalink
snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Apr 11, 2023
1 parent ca9c135 commit a694fbc
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 203 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import {Tooltip, TooltipProps} from '.'
import {checkStoriesForAxeViolations, behavesAsComponent, checkExports} from '../utils/testing'
import {Tooltip, TooltipProps} from '..'
import {checkStoriesForAxeViolations, behavesAsComponent, checkExports} from '../../utils/testing'
import {render as HTMLRender, act} from '@testing-library/react'
import {Button} from '../Button'
import {Button} from '../../Button'
import {SearchIcon} from '@primer/octicons-react'
import userEvent from '@testing-library/user-event'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import {Tooltip} from '../Tooltip'
import {Tooltip} from '..'

export function shouldAcceptCallWithNoProps() {
return <Tooltip />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`Tooltip renders consistently 1`] = `
.c1 {
border-radius: 6px;
border: 1px solid;
border-color: rgba(27,31,36,0.15);
border-color: rgba(31,35,40,0.15);
font-family: inherit;
font-weight: 500;
font-size: 14px;
Expand Down Expand Up @@ -55,7 +55,7 @@ exports[`Tooltip renders consistently 1`] = `
transition-property: color,fill,background-color,border-color;
color: #24292f;
background-color: #f6f8fa;
box-shadow: 0 1px 0 rgba(27,31,36,0.04),inset 0 1px 0 rgba(255,255,255,0.25);
box-shadow: 0 1px 0 rgba(31,35,40,0.04),inset 0 1px 0 rgba(255,255,255,0.25);
}
.c1:focus:not(:disabled) {
Expand Down Expand Up @@ -201,17 +201,17 @@ exports[`Tooltip renders consistently 1`] = `
.c1:hover:not([disabled]) {
background-color: #f3f4f6;
border-color: rgba(27,31,36,0.15);
border-color: rgba(31,35,40,0.15);
}
.c1:active:not([disabled]) {
background-color: hsla(220,14%,93%,1);
border-color: rgba(27,31,36,0.15);
border-color: rgba(31,35,40,0.15);
}
.c1[aria-expanded=true] {
background-color: hsla(220,14%,93%,1);
border-color: rgba(27,31,36,0.15);
border-color: rgba(31,35,40,0.15);
}
.c3 {
Expand Down Expand Up @@ -489,7 +489,7 @@ exports[`Tooltip renders consistently 1`] = `
onMouseLeave={[Function]}
>
<button
aria-labelledby="react-aria7769040419-1"
aria-labelledby="react-aria5083538615-1"
className="c1"
data-block={null}
data-no-visuals={true}
Expand Down Expand Up @@ -534,7 +534,7 @@ exports[`Tooltip renders consistently 1`] = `
aria-hidden={true}
className="c3"
data-direction="n"
id="react-aria7769040419-1"
id="react-aria5083538615-1"
>
label type tooltip
</div>
Expand Down
Loading

0 comments on commit a694fbc

Please sign in to comment.