Skip to content

Commit 93bb55c

Browse files
committed
wip: update type imports for panel styles in accessibility components
1 parent 91bda6f commit 93bb55c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packages/devtools-a11y/src/ui/A11yIssueCard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/** @jsxImportSource solid-js */
22

33
import { For, Show } from 'solid-js'
4+
import type { createA11yPanelStyles } from './styles'
45
import type { A11yIssue, SeverityThreshold } from '../types'
56

6-
type PanelStyles = ReturnType<typeof import('./styles').createA11yPanelStyles>
7+
type PanelStyles = ReturnType<typeof createA11yPanelStyles>
78

89
interface A11yIssueCardProps {
910
styles: PanelStyles

packages/devtools-a11y/src/ui/A11yIssueList.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
import { For, Show } from 'solid-js'
44
import { IMPACTS } from './panelUtils'
55
import { SEVERITY_LABELS } from './styles'
6+
import type { createA11yPanelStyles } from './styles'
67
import { A11yIssueCard } from './A11yIssueCard'
78
import type { GroupedIssues, SeverityThreshold } from '../types'
89

9-
type PanelStyles = ReturnType<typeof import('./styles').createA11yPanelStyles>
10+
type PanelStyles = ReturnType<typeof createA11yPanelStyles>
1011

1112
interface A11yIssueListProps {
1213
styles: PanelStyles

packages/devtools-a11y/src/ui/A11ySettingsOverlay.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { For, Show, createMemo } from 'solid-js'
44
import { CATEGORIES, CATEGORY_LABELS } from './styles'
5+
import type { createA11yPanelStyles } from './styles'
56
import type {
67
A11yPluginOptions,
78
RuleCategory,
@@ -10,7 +11,7 @@ import type {
1011
SeverityThreshold,
1112
} from '../types'
1213

13-
type PanelStyles = ReturnType<typeof import('./styles').createA11yPanelStyles>
14+
type PanelStyles = ReturnType<typeof createA11yPanelStyles>
1415

1516
interface A11ySettingsOverlayProps {
1617
styles: PanelStyles

0 commit comments

Comments
 (0)