Commit 9bdbfcb1 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Update all imports to use main entry point of `frontend-shared`

The `lib/next` module is going away soon.
parent 2001eae6
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
HighlightIcon, HighlightIcon,
PointerDownIcon, PointerDownIcon,
PointerUpIcon, PointerUpIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { IconComponent } from '@hypothesis/frontend-shared/lib/types'; import type { IconComponent } from '@hypothesis/frontend-shared/lib/types';
import classnames from 'classnames'; import classnames from 'classnames';
......
import { PointerButton } from '@hypothesis/frontend-shared/lib/next'; import { PointerButton } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { Bucket } from '../util/buckets'; import type { Bucket } from '../util/buckets';
......
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
CaretRightIcon, CaretRightIcon,
HideIcon, HideIcon,
HighlightIcon, HighlightIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useCallback, useState } from 'preact/hooks'; import { useCallback, useState } from 'preact/hooks';
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
LinkBase, LinkBase,
CaretLeftIcon, CaretLeftIcon,
CaretRightIcon, CaretRightIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ContentInfoConfig } from '../../types/annotator'; import type { ContentInfoConfig } from '../../types/annotator';
......
import { IconButton, CancelIcon } from '@hypothesis/frontend-shared/lib/next'; import { IconButton, CancelIcon } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useEffect, useRef, useState } from 'preact/hooks'; import { useEffect, useRef, useState } from 'preact/hooks';
......
import { CancelIcon, IconButton } from '@hypothesis/frontend-shared/lib/next'; import { CancelIcon, IconButton } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useEffect, useRef, useState } from 'preact/hooks'; import { useEffect, useRef, useState } from 'preact/hooks';
......
import type { ButtonCommonProps } from '@hypothesis/frontend-shared/lib/components/input/ButtonBase';
import { import {
ButtonBase, ButtonBase,
AnnotateIcon, AnnotateIcon,
...@@ -8,7 +7,8 @@ import { ...@@ -8,7 +7,8 @@ import {
HideIcon, HideIcon,
NoteIcon, NoteIcon,
ShowIcon, ShowIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { ButtonCommonProps } from '@hypothesis/frontend-shared/lib/components/input/ButtonBase';
import type { import type {
IconComponent, IconComponent,
PresentationalProps, PresentationalProps,
......
import { CautionIcon, Link } from '@hypothesis/frontend-shared/lib/next'; import { CautionIcon, Link } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
/** /**
......
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
CancelIcon, CancelIcon,
CautionIcon, CautionIcon,
CheckIcon, CheckIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
export type ToastMessage = { export type ToastMessage = {
......
import { Button, ModalDialog } from '@hypothesis/frontend-shared/lib/next'; import { Button, ModalDialog } from '@hypothesis/frontend-shared';
import { render } from 'preact'; import { render } from 'preact';
import { createRef } from 'preact'; import { createRef } from 'preact';
import type { RefObject } from 'preact'; import type { RefObject } from 'preact';
......
import { CardActions, Spinner } from '@hypothesis/frontend-shared/lib/next'; import { CardActions, Spinner } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useMemo } from 'preact/hooks'; import { useMemo } from 'preact/hooks';
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
FlagFilledIcon, FlagFilledIcon,
ReplyIcon, ReplyIcon,
TrashIcon, TrashIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import { confirm } from '../../../shared/prompts'; import { confirm } from '../../../shared/prompts';
import type { SavedAnnotation } from '../../../types/api'; import type { SavedAnnotation } from '../../../types/api';
......
import { import { Button, CollapseIcon, ExpandIcon } from '@hypothesis/frontend-shared';
Button,
CollapseIcon,
ExpandIcon,
} from '@hypothesis/frontend-shared/lib/next';
import classnames from 'classnames'; import classnames from 'classnames';
import { useMemo, useState } from 'preact/hooks'; import { useMemo, useState } from 'preact/hooks';
......
import { Link } from '@hypothesis/frontend-shared/lib/next'; import { Link } from '@hypothesis/frontend-shared';
export type AnnotationDocumentInfoProps = { export type AnnotationDocumentInfoProps = {
/** The domain associated with the document */ /** The domain associated with the document */
......
...@@ -2,7 +2,7 @@ import { ...@@ -2,7 +2,7 @@ import {
LinkButton, LinkButton,
HighlightIcon, HighlightIcon,
LockIcon, LockIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import { useMemo } from 'preact/hooks'; import { useMemo } from 'preact/hooks';
import type { Annotation } from '../../../types/api'; import type { Annotation } from '../../../types/api';
......
import { import { Link, CcStdIcon, CcZeroIcon } from '@hypothesis/frontend-shared';
Link,
CcStdIcon,
CcZeroIcon,
} from '@hypothesis/frontend-shared/lib/next';
/** /**
* Render information about CC licensing * Render information about CC licensing
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
GroupsIcon, GroupsIcon,
LockIcon, LockIcon,
MenuExpandIcon, MenuExpandIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { Group } from '../../../types/api'; import type { Group } from '../../../types/api';
......
import { ButtonBase } from '@hypothesis/frontend-shared/lib/next'; import { ButtonBase } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
export type AnnotationReplyToggleProps = { export type AnnotationReplyToggleProps = {
......
...@@ -6,7 +6,7 @@ import { ...@@ -6,7 +6,7 @@ import {
InputGroup, InputGroup,
CopyIcon, CopyIcon,
ShareIcon, ShareIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useEffect, useRef, useState } from 'preact/hooks'; import { useEffect, useRef, useState } from 'preact/hooks';
......
import { import { LinkBase, GlobeIcon, GroupsIcon } from '@hypothesis/frontend-shared';
LinkBase,
GlobeIcon,
GroupsIcon,
} from '@hypothesis/frontend-shared/lib/next';
import classnames from 'classnames'; import classnames from 'classnames';
import type { Group } from '../../../types/api'; import type { Group } from '../../../types/api';
......
import { LinkBase } from '@hypothesis/frontend-shared/lib/next'; import { LinkBase } from '@hypothesis/frontend-shared';
import { useEffect, useMemo, useState } from 'preact/hooks'; import { useEffect, useMemo, useState } from 'preact/hooks';
import { import {
......
import { LinkBase } from '@hypothesis/frontend-shared/lib/next'; import { LinkBase } from '@hypothesis/frontend-shared';
type AnnotationUserProps = { type AnnotationUserProps = {
authorLink?: string; authorLink?: string;
......
import { import { GlobeIcon, GroupsIcon, LockIcon } from '@hypothesis/frontend-shared';
GlobeIcon,
GroupsIcon,
LockIcon,
} from '@hypothesis/frontend-shared/lib/next';
import { mount } from 'enzyme'; import { mount } from 'enzyme';
import { checkAccessibility } from '../../../../test-util/accessibility'; import { checkAccessibility } from '../../../../test-util/accessibility';
......
import { Card } from '@hypothesis/frontend-shared/lib/next'; import { Card } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useMemo } from 'preact/hooks'; import { useMemo } from 'preact/hooks';
......
import { LinkButton } from '@hypothesis/frontend-shared/lib/next'; import { LinkButton } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ComponentChildren } from 'preact'; import type { ComponentChildren } from 'preact';
import { useCallback, useLayoutEffect, useRef, useState } from 'preact/hooks'; import { useCallback, useLayoutEffect, useRef, useState } from 'preact/hooks';
......
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
Card, Card,
CardContent, CardContent,
Spinner, Spinner,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useMemo } from 'preact/hooks'; import { useMemo } from 'preact/hooks';
......
import { PlusIcon } from '@hypothesis/frontend-shared/lib/next'; import { PlusIcon } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useMemo, useState } from 'preact/hooks'; import { useMemo, useState } from 'preact/hooks';
......
import { import { CopyIcon, ExternalIcon, LeaveIcon } from '@hypothesis/frontend-shared';
CopyIcon,
ExternalIcon,
LeaveIcon,
} from '@hypothesis/frontend-shared/lib/next';
import classnames from 'classnames'; import classnames from 'classnames';
import { confirm } from '../../../shared/prompts'; import { confirm } from '../../../shared/prompts';
......
import { Link, LinkButton } from '@hypothesis/frontend-shared/lib/next'; import { Link, LinkButton } from '@hypothesis/frontend-shared';
import { import { ArrowRightIcon, ExternalIcon } from '@hypothesis/frontend-shared';
ArrowRightIcon,
ExternalIcon,
} from '@hypothesis/frontend-shared/lib/next';
import type { ComponentChildren as Children } from 'preact'; import type { ComponentChildren as Children } from 'preact';
import { useCallback, useMemo, useState } from 'preact/hooks'; import { useCallback, useMemo, useState } from 'preact/hooks';
......
import { Panel } from '@hypothesis/frontend-shared/lib/next'; import { Panel } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
export type LaunchErrorPanelProps = { export type LaunchErrorPanelProps = {
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
LinkBase, LinkBase,
LinkButton, LinkButton,
LogoIcon, LogoIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import { useSidebarStore } from '../store'; import { useSidebarStore } from '../store';
......
...@@ -2,7 +2,7 @@ import { ...@@ -2,7 +2,7 @@ import {
Button, Button,
CardActions, CardActions,
RestrictedIcon, RestrictedIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import { useSidebarStore } from '../store'; import { useSidebarStore } from '../store';
import SidebarPanel from './SidebarPanel'; import SidebarPanel from './SidebarPanel';
......
import { import { ButtonBase, IconButton, LinkBase } from '@hypothesis/frontend-shared';
ButtonBase,
IconButton,
LinkBase,
} from '@hypothesis/frontend-shared/lib/next';
import { import {
EditorLatexIcon, EditorLatexIcon,
EditorQuoteIcon, EditorQuoteIcon,
...@@ -13,7 +9,7 @@ import { ...@@ -13,7 +9,7 @@ import {
LinkIcon, LinkIcon,
ListOrderedIcon, ListOrderedIcon,
ListUnorderedIcon, ListUnorderedIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { IconComponent } from '@hypothesis/frontend-shared/lib/types'; import type { IconComponent } from '@hypothesis/frontend-shared/lib/types';
import classnames from 'classnames'; import classnames from 'classnames';
import type { Ref, JSX } from 'preact'; import type { Ref, JSX } from 'preact';
......
import { useElementShouldClose } from '@hypothesis/frontend-shared'; import { useElementShouldClose } from '@hypothesis/frontend-shared';
import { MenuExpandIcon } from '@hypothesis/frontend-shared/lib/next'; import { MenuExpandIcon } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ComponentChildren } from 'preact'; import type { ComponentChildren } from 'preact';
import { useCallback, useEffect, useRef, useState } from 'preact/hooks'; import { useCallback, useEffect, useRef, useState } from 'preact/hooks';
......
import { import { PointerDownIcon, PointerUpIcon } from '@hypothesis/frontend-shared';
PointerDownIcon,
PointerUpIcon,
} from '@hypothesis/frontend-shared/lib/next';
import classnames from 'classnames'; import classnames from 'classnames';
type MenuArrowProps = { type MenuArrowProps = {
......
import { import { CaretUpIcon, MenuExpandIcon } from '@hypothesis/frontend-shared';
CaretUpIcon,
MenuExpandIcon,
} from '@hypothesis/frontend-shared/lib/next';
import type { IconComponent } from '@hypothesis/frontend-shared/lib/types'; import type { IconComponent } from '@hypothesis/frontend-shared/lib/types';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ComponentChildren, Ref } from 'preact'; import type { ComponentChildren, Ref } from 'preact';
......
import { import { ButtonBase, FlagIcon, HideIcon } from '@hypothesis/frontend-shared';
ButtonBase,
FlagIcon,
HideIcon,
} from '@hypothesis/frontend-shared/lib/next';
import classnames from 'classnames'; import classnames from 'classnames';
import type { Annotation } from '../../types/api'; import type { Annotation } from '../../types/api';
......
import { ProfileIcon } from '@hypothesis/frontend-shared/lib/next'; import { ProfileIcon } from '@hypothesis/frontend-shared';
import { useSidebarStore } from '../store'; import { useSidebarStore } from '../store';
import FilterSelect from './FilterSelect'; import FilterSelect from './FilterSelect';
......
import { Spinner } from '@hypothesis/frontend-shared/lib/next'; import { Spinner } from '@hypothesis/frontend-shared';
import { countVisible } from '../helpers/thread'; import { countVisible } from '../helpers/thread';
import { useRootThread } from './hooks/use-root-thread'; import { useRootThread } from './hooks/use-root-thread';
......
import { Link, Panel } from '@hypothesis/frontend-shared/lib/next'; import { Link, Panel } from '@hypothesis/frontend-shared';
import { useEffect, useLayoutEffect, useRef, useState } from 'preact/hooks'; import { useEffect, useLayoutEffect, useRef, useState } from 'preact/hooks';
import scrollIntoView from 'scroll-into-view'; import scrollIntoView from 'scroll-into-view';
......
import type { ButtonCommonProps } from '@hypothesis/frontend-shared/lib/components/input/ButtonBase';
import { import {
ButtonBase, ButtonBase,
ArrowLeftIcon, ArrowLeftIcon,
ArrowRightIcon, ArrowRightIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { ButtonCommonProps } from '@hypothesis/frontend-shared/lib/components/input/ButtonBase';
import type { PresentationalProps } from '@hypothesis/frontend-shared/lib/types'; import type { PresentationalProps } from '@hypothesis/frontend-shared/lib/types';
import classnames from 'classnames'; import classnames from 'classnames';
import type { JSX } from 'preact'; import type { JSX } from 'preact';
......
import { IconButton, RefreshIcon } from '@hypothesis/frontend-shared/lib/next'; import { IconButton, RefreshIcon } from '@hypothesis/frontend-shared';
import { useCallback, useEffect } from 'preact/hooks'; import { useCallback, useEffect } from 'preact/hooks';
import { useShortcut } from '../../shared/shortcut'; import { useShortcut } from '../../shared/shortcut';
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
CheckIcon, CheckIcon,
Scroll, Scroll,
SpinnerSpokesIcon, SpinnerSpokesIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { PresentationalProps } from '@hypothesis/frontend-shared/lib/types'; import type { PresentationalProps } from '@hypothesis/frontend-shared/lib/types';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ComponentChildren, JSX } from 'preact'; import type { ComponentChildren, JSX } from 'preact';
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
Input, Input,
SearchIcon, SearchIcon,
Spinner, Spinner,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { RefObject } from 'preact'; import type { RefObject } from 'preact';
import { useCallback, useRef, useState } from 'preact/hooks'; import { useCallback, useRef, useState } from 'preact/hooks';
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
CardContent, CardContent,
LinkButton, LinkButton,
PlusIcon, PlusIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ComponentChildren } from 'preact'; import type { ComponentChildren } from 'preact';
......
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
InputGroup, InputGroup,
LockIcon, LockIcon,
Spinner, Spinner,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import { pageSharingLink } from '../helpers/annotation-sharing'; import { pageSharingLink } from '../helpers/annotation-sharing';
import { withServices } from '../service-context'; import { withServices } from '../service-context';
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
EmailIcon, EmailIcon,
SocialFacebookIcon, SocialFacebookIcon,
SocialTwitterIcon, SocialTwitterIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { IconComponent } from '@hypothesis/frontend-shared/lib/types'; import type { IconComponent } from '@hypothesis/frontend-shared/lib/types';
type ShareLinkProps = { type ShareLinkProps = {
......
import { import { Button, Panel, RestrictedIcon } from '@hypothesis/frontend-shared';
Button,
Panel,
RestrictedIcon,
} from '@hypothesis/frontend-shared/lib/next';
import { useSidebarStore } from '../store'; import { useSidebarStore } from '../store';
......
import { Dialog } from '@hypothesis/frontend-shared/lib/next'; import { Dialog } from '@hypothesis/frontend-shared';
import type { IconComponent } from '@hypothesis/frontend-shared/lib/types'; import type { IconComponent } from '@hypothesis/frontend-shared/lib/types';
import type { ComponentChildren } from 'preact'; import type { ComponentChildren } from 'preact';
import { useCallback, useEffect, useRef } from 'preact/hooks'; import { useCallback, useEffect, useRef } from 'preact/hooks';
......
import { SortIcon } from '@hypothesis/frontend-shared/lib/next'; import { SortIcon } from '@hypothesis/frontend-shared';
import { useSidebarStore } from '../store'; import { useSidebarStore } from '../store';
import Menu from './Menu'; import Menu from './Menu';
......
import { useElementShouldClose } from '@hypothesis/frontend-shared'; import { useElementShouldClose } from '@hypothesis/frontend-shared';
import { Input } from '@hypothesis/frontend-shared/lib/next'; import { Input } from '@hypothesis/frontend-shared';
import { useRef, useState } from 'preact/hooks'; import { useRef, useState } from 'preact/hooks';
import { withServices } from '../service-context'; import { withServices } from '../service-context';
......
import { Link, CancelIcon } from '@hypothesis/frontend-shared/lib/next'; import { Link, CancelIcon } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
export type TagListItemProps = { export type TagListItemProps = {
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
ButtonBase, ButtonBase,
CaretRightIcon, CaretRightIcon,
MenuExpandIcon, MenuExpandIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import { useCallback, useMemo } from 'preact/hooks'; import { useCallback, useMemo } from 'preact/hooks';
......
import { Card, CardContent } from '@hypothesis/frontend-shared/lib/next'; import { Card, CardContent } from '@hypothesis/frontend-shared';
import debounce from 'lodash.debounce'; import debounce from 'lodash.debounce';
import { useCallback, useEffect, useMemo, useRef } from 'preact/hooks'; import { useCallback, useEffect, useMemo, useRef } from 'preact/hooks';
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
LinkButton, LinkButton,
HelpIcon, HelpIcon,
ShareIcon, ShareIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { SidebarSettings } from '../../types/config'; import type { SidebarSettings } from '../../types/config';
......
...@@ -3,7 +3,7 @@ import { ...@@ -3,7 +3,7 @@ import {
AnnotateIcon, AnnotateIcon,
HighlightIcon, HighlightIcon,
ReplyIcon, ReplyIcon,
} from '@hypothesis/frontend-shared/lib/next'; } from '@hypothesis/frontend-shared';
import type { IconComponent } from '@hypothesis/frontend-shared/lib/types'; import type { IconComponent } from '@hypothesis/frontend-shared/lib/types';
import classnames from 'classnames'; import classnames from 'classnames';
......
import { ProfileIcon } from '@hypothesis/frontend-shared/lib/next'; import { ProfileIcon } from '@hypothesis/frontend-shared';
import { useState } from 'preact/hooks'; import { useState } from 'preact/hooks';
import type { Service, SidebarSettings } from '../../types/config'; import type { Service, SidebarSettings } from '../../types/config';
......
import { Button, CopyIcon } from '@hypothesis/frontend-shared/lib/next'; import { Button, CopyIcon } from '@hypothesis/frontend-shared';
import classnames from 'classnames'; import classnames from 'classnames';
import type { ComponentChildren } from 'preact'; import type { ComponentChildren } from 'preact';
......
import { ProfileIcon } from '@hypothesis/frontend-shared/lib/next'; import { ProfileIcon } from '@hypothesis/frontend-shared';
import { mount } from 'enzyme'; import { mount } from 'enzyme';
import { checkAccessibility } from '../../../test-util/accessibility'; import { checkAccessibility } from '../../../test-util/accessibility';
......
import { EditIcon } from '@hypothesis/frontend-shared/lib/next'; import { EditIcon } from '@hypothesis/frontend-shared';
import { mount } from 'enzyme'; import { mount } from 'enzyme';
import { act } from 'preact/test-utils'; import { act } from 'preact/test-utils';
......
import { ProfileIcon } from '@hypothesis/frontend-shared/lib/next'; import { ProfileIcon } from '@hypothesis/frontend-shared';
import { mount } from 'enzyme'; import { mount } from 'enzyme';
import { mockImportedComponents } from '../../../test-util/mock-imported-components'; import { mockImportedComponents } from '../../../test-util/mock-imported-components';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment