Skip to content

Commit

Permalink
fix: actually bundle the new components 😒
Browse files Browse the repository at this point in the history
  • Loading branch information
McManning committed May 23, 2023
1 parent 2813a5d commit 377f4aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React, { useRef, useEffect, useState, memo } from 'react';
import { useAnchorsContext, useAnnotationFocus, useAnnotationPicker } from '../../hooks';
import { useElementPosition } from '../../hooks/useElementPosition';
import { cx } from '@osuresearch/ui';
import styled from 'styled-components';
import { useAnchorsContext, useAnnotationPicker } from '../../hooks';
import { getDocumentPosition } from '../../utils';
import { Rect } from '../../types';
import { Chip, cx } from '@osuresearch/ui';
import { useThreads } from '../../hooks/useThreads';
import styled from 'styled-components';

export type NoteAnchorProps = {
id: string
Expand Down
1 change: 1 addition & 0 deletions src/components/NoteAnchor/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './NoteAnchor';
2 changes: 1 addition & 1 deletion src/components/ReactDocument/ReactDocument.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Group, Heading, Paper, Stack } from '@osuresearch/ui';
import { ReactDocument } from './ReactDocument';
import { AnnotationsProvider } from '../AnnotationsProvider';
import { AnnotationAgent } from '../../types';
import { NoteAnchor } from './NoteAnchor';
import { NoteAnchor } from '../NoteAnchor';

const meta: Meta<typeof ReactDocument> = {
title: 'Components/ReactDocument',
Expand Down
2 changes: 2 additions & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// export * from './AnnotatedTextField';
export * from './AnnotationsProvider';
export * from './ExternalDocument';
export * from './NoteAnchor';
export * from './ReactDocument';
// export * from './TableOfContents';
// export * from './Thread';
// export * from './ThreadList';

0 comments on commit 377f4aa

Please sign in to comment.