@manuscripts/style-guide 1.5.0-LEAN-3180-3 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/cjs/components/Avatar.js +1 -1
  2. package/dist/cjs/components/Dialog.js +3 -3
  3. package/dist/cjs/components/SimpleModal.js +95 -0
  4. package/dist/cjs/components/StyledModal.js +3 -80
  5. package/dist/cjs/index.js +1 -1
  6. package/dist/es/components/Avatar.js +1 -1
  7. package/dist/es/components/Dialog.js +2 -2
  8. package/dist/es/components/SimpleModal.js +88 -0
  9. package/dist/es/components/StyledModal.js +3 -81
  10. package/dist/es/index.js +1 -1
  11. package/dist/types/components/Dialog.d.ts +1 -1
  12. package/dist/types/components/SimpleModal.d.ts +41 -0
  13. package/dist/types/components/StyledModal.d.ts +4 -26
  14. package/dist/types/index.d.ts +1 -1
  15. package/dist/types/theme.d.ts +2 -0
  16. package/package.json +1 -2
  17. package/dist/cjs/components/References/BibliographyItemSource.js +0 -91
  18. package/dist/cjs/components/References/CitationEditor.js +0 -146
  19. package/dist/cjs/components/References/CitationViewer.js +0 -69
  20. package/dist/cjs/components/References/ReferenceForm.js +0 -415
  21. package/dist/cjs/components/References/ReferenceLine.js +0 -52
  22. package/dist/cjs/components/References/ReferenceSearch.js +0 -124
  23. package/dist/cjs/components/References/ReferenceSearchResults.js +0 -68
  24. package/dist/cjs/components/References/ReferenceSearchResultsPlaceholder.js +0 -43
  25. package/dist/cjs/components/References/ReferenceSearchSection.js +0 -118
  26. package/dist/cjs/components/References/ReferencesModal.js +0 -219
  27. package/dist/cjs/components/References/SearchInput.js +0 -103
  28. package/dist/cjs/components/References/index.js +0 -20
  29. package/dist/cjs/components/SelectField.js +0 -25
  30. package/dist/cjs/components/Sidebar.js +0 -44
  31. package/dist/cjs/components/icons/delete-icon.js +0 -15
  32. package/dist/cjs/components/icons/link-icon.js +0 -11
  33. package/dist/cjs/components/icons/template-icon.js +0 -11
  34. package/dist/cjs/hooks/use-scroll-detection.js +0 -53
  35. package/dist/es/components/References/BibliographyItemSource.js +0 -64
  36. package/dist/es/components/References/CitationEditor.js +0 -116
  37. package/dist/es/components/References/CitationViewer.js +0 -39
  38. package/dist/es/components/References/ReferenceForm.js +0 -385
  39. package/dist/es/components/References/ReferenceLine.js +0 -42
  40. package/dist/es/components/References/ReferenceSearch.js +0 -94
  41. package/dist/es/components/References/ReferenceSearchResults.js +0 -61
  42. package/dist/es/components/References/ReferenceSearchResultsPlaceholder.js +0 -36
  43. package/dist/es/components/References/ReferenceSearchSection.js +0 -88
  44. package/dist/es/components/References/ReferencesModal.js +0 -188
  45. package/dist/es/components/References/SearchInput.js +0 -73
  46. package/dist/es/components/References/index.js +0 -4
  47. package/dist/es/components/SelectField.js +0 -18
  48. package/dist/es/components/Sidebar.js +0 -18
  49. package/dist/es/components/icons/delete-icon.js +0 -8
  50. package/dist/es/components/icons/link-icon.js +0 -4
  51. package/dist/es/components/icons/template-icon.js +0 -4
  52. package/dist/es/hooks/use-scroll-detection.js +0 -49
  53. package/dist/types/components/References/BibliographyItemSource.d.ts +0 -38
  54. package/dist/types/components/References/CitationEditor.d.ts +0 -18
  55. package/dist/types/components/References/CitationViewer.d.ts +0 -24
  56. package/dist/types/components/References/ReferenceForm.d.ts +0 -35
  57. package/dist/types/components/References/ReferenceLine.d.ts +0 -10
  58. package/dist/types/components/References/ReferenceSearch.d.ts +0 -26
  59. package/dist/types/components/References/ReferenceSearchResults.d.ts +0 -26
  60. package/dist/types/components/References/ReferenceSearchResultsPlaceholder.d.ts +0 -2
  61. package/dist/types/components/References/ReferenceSearchSection.d.ts +0 -25
  62. package/dist/types/components/References/ReferencesModal.d.ts +0 -14
  63. package/dist/types/components/References/SearchInput.d.ts +0 -18
  64. package/dist/types/components/References/index.d.ts +0 -4
  65. package/dist/types/components/SelectField.d.ts +0 -27
  66. package/dist/types/components/Sidebar.d.ts +0 -2
  67. package/dist/types/components/icons/delete-icon.d.ts +0 -2
  68. package/dist/types/components/icons/link-icon.d.ts +0 -2
  69. package/dist/types/components/icons/template-icon.d.ts +0 -2
  70. package/dist/types/hooks/use-scroll-detection.d.ts +0 -22
@@ -1,49 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { useRef, useState } from 'react';
17
- export const useScrollDetection = (topTrigger, bottomTrigger) => {
18
- const refRoot = useRef();
19
- const observer = useRef();
20
- const [triggers, setTriggers] = useState({ bottom: false, top: false });
21
- const ref = (node) => {
22
- if (!node) {
23
- return;
24
- }
25
- refRoot.current = node;
26
- if (refRoot.current && !observer.current) {
27
- const listener = () => {
28
- if (!refRoot.current) {
29
- return;
30
- }
31
- const node = refRoot.current;
32
- if (node.scrollTop == 0) {
33
- node.scrollTop = 1;
34
- }
35
- const topRatio = node.scrollTop / node.offsetHeight;
36
- const bottomRatio = 1 -
37
- (node.scrollHeight - node.offsetHeight - node.scrollTop) /
38
- node.offsetHeight;
39
- const newVal = { top: false, bottom: false };
40
- newVal.top = topRatio <= topTrigger;
41
- newVal.bottom = Math.round(bottomRatio * 100) / 100 >= bottomTrigger;
42
- setTriggers(newVal);
43
- };
44
- refRoot.current.addEventListener('scroll', listener);
45
- observer.current = listener;
46
- }
47
- };
48
- return { ref, triggers };
49
- };
@@ -1,38 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { BibliographyItem } from '@manuscripts/json-schema';
17
- export interface BibliographyItemSource {
18
- id: string;
19
- label: string;
20
- search: (query: string, limit: number) => Job<BibliographyItemSearchResponse>;
21
- find?: () => Job<BibliographyItem>;
22
- }
23
- export type Job<T> = {
24
- response: Promise<T>;
25
- cancel?: () => void;
26
- isCancelled?: boolean;
27
- };
28
- export type BibliographyItemSearchResponse = {
29
- items: BibliographyItem[];
30
- total: number;
31
- };
32
- export declare class DocumentReferenceSource implements BibliographyItemSource {
33
- id: string;
34
- label: string;
35
- private items;
36
- constructor(items: BibliographyItem[]);
37
- search(query: string, limit: number): Job<BibliographyItemSearchResponse>;
38
- }
@@ -1,18 +0,0 @@
1
- import { BibliographyItem } from '@manuscripts/json-schema';
2
- import React from 'react';
3
- import { BibliographyItemSource } from './BibliographyItemSource';
4
- export interface CitationEditorProps {
5
- query?: string;
6
- rids: string[];
7
- items: BibliographyItem[];
8
- citationCounts: Map<string, number>;
9
- sources: BibliographyItemSource[];
10
- onCite: (items: BibliographyItem[]) => void;
11
- onUncite: (id: string) => void;
12
- onSave: (item: BibliographyItem) => void;
13
- onDelete: (item: BibliographyItem) => void;
14
- onComment: () => void;
15
- onCancel: () => void;
16
- canEdit: boolean;
17
- }
18
- export declare const CitationEditor: React.FC<CitationEditorProps>;
@@ -1,24 +0,0 @@
1
- /*!
2
- * © 2024 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { BibliographyItem } from '@manuscripts/json-schema';
17
- import React from 'react';
18
- export declare const CitedItems: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
- export declare const CitedItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
- export interface CitationViewerProps {
21
- rids: string[];
22
- items: BibliographyItem[];
23
- }
24
- export declare const CitationViewer: React.FC<CitationViewerProps>;
@@ -1,35 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { BibliographyItem } from '@manuscripts/json-schema';
17
- import React, { MutableRefObject } from 'react';
18
- export declare const LabelContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
- export declare const FormField: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
- export declare const ReferenceTextArea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, import("../Form").ErrorProps, never>;
21
- export declare const FlexForm: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "name" | "slot" | "style" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoComplete" | "method" | "target" | "acceptCharset" | "action" | "encType" | "noValidate"> & React.RefAttributes<HTMLFormElement>>, import("styled-components").DefaultTheme, {}, never>;
22
- export declare const FormFields: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
23
- export type ReferenceFormValues = Pick<BibliographyItem, '_id' | 'title' | 'author' | 'DOI' | 'issued' | 'type' | 'container-title' | 'URL' | 'issue' | 'volume' | 'supplement' | 'page'>;
24
- export interface ReferenceFormActions {
25
- reset: () => void;
26
- }
27
- export declare const ReferenceForm: React.FC<{
28
- values: ReferenceFormValues;
29
- showDelete: boolean;
30
- onChange: (values: ReferenceFormValues) => void;
31
- onCancel: () => void;
32
- onDelete: () => void;
33
- onSave: (values: ReferenceFormValues) => void;
34
- actionsRef?: MutableRefObject<ReferenceFormActions | undefined>;
35
- }>;
@@ -1,10 +0,0 @@
1
- import { BibliographyItem } from '@manuscripts/json-schema';
2
- import React from 'react';
3
- export declare const Metadata: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
- export declare const MetadataContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
- export declare const metadata: (item: BibliographyItem) => string;
6
- export declare const issuedYear: (item: Partial<BibliographyItem>) => string;
7
- export declare const authors: (item: BibliographyItem) => string;
8
- export declare const ReferenceLine: React.FC<{
9
- item: BibliographyItem;
10
- }>;
@@ -1,26 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { BibliographyItem } from '@manuscripts/json-schema';
17
- import React from 'react';
18
- import { BibliographyItemSource } from './BibliographyItemSource';
19
- export declare const ReferenceSearch: React.FC<{
20
- query?: string;
21
- sources: BibliographyItemSource[];
22
- items: BibliographyItem[];
23
- onAdd: () => void;
24
- onCite: (items: BibliographyItem[]) => void;
25
- onCancel: () => void;
26
- }>;
@@ -1,26 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { BibliographyItem } from '@manuscripts/json-schema';
17
- import React from 'react';
18
- export declare const ReferenceSearchResultsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
- export declare const ReferenceSearchResult: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
- export declare const ReferenceSearchResults: React.FC<{
21
- items: BibliographyItem[];
22
- total: number;
23
- isSelected: (item: BibliographyItem) => boolean;
24
- onSelect: (item: BibliographyItem) => void;
25
- onShowMore: () => void;
26
- }>;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const ReferenceSearchResultsPlaceholder: React.FC;
@@ -1,25 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { BibliographyItem } from '@manuscripts/json-schema';
17
- import React from 'react';
18
- import { BibliographyItemSource } from './BibliographyItemSource';
19
- export declare const Arrow: import("styled-components").StyledComponent<React.SFC<React.SVGAttributes<SVGElement>>, import("styled-components").DefaultTheme, {}, never>;
20
- export declare const ReferenceSearchSection: React.FC<{
21
- query: string;
22
- source: BibliographyItemSource;
23
- isSelected: (item: BibliographyItem) => boolean;
24
- onSelect: (item: BibliographyItem) => void;
25
- }>;
@@ -1,14 +0,0 @@
1
- import { BibliographyItem } from '@manuscripts/json-schema';
2
- import React from 'react';
3
- import { ReferenceFormValues } from './ReferenceForm';
4
- export declare const normalize: (item: BibliographyItem) => ReferenceFormValues;
5
- export interface ReferencesModalProps {
6
- isOpen: boolean;
7
- onCancel: () => void;
8
- items: BibliographyItem[];
9
- item?: BibliographyItem;
10
- citationCounts: Map<string, number>;
11
- onSave: (item: BibliographyItem) => void;
12
- onDelete: (item: BibliographyItem) => void;
13
- }
14
- export declare const ReferencesModal: React.FC<ReferencesModalProps>;
@@ -1,18 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import React, { InputHTMLAttributes } from 'react';
17
- export declare const SearchWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
- export declare const SearchInput: React.FC<InputHTMLAttributes<HTMLInputElement>>;
@@ -1,4 +0,0 @@
1
- export * from './CitationEditor';
2
- export * from './CitationViewer';
3
- export * from './ReferencesModal';
4
- export * from './BibliographyItemSource';
@@ -1,27 +0,0 @@
1
- /*!
2
- * © 2024 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { FieldProps } from 'formik';
17
- import React from 'react';
18
- export type OptionType = {
19
- label: string;
20
- value: string;
21
- };
22
- interface Props {
23
- id?: string;
24
- options: OptionType[];
25
- }
26
- export declare const SelectField: React.FC<Props & FieldProps>;
27
- export {};
@@ -1,2 +0,0 @@
1
- export declare const SidebarStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
2
- export declare const SidebarContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const DeleteIcon: React.FC;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const LinkIcon: React.FC;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TemplateIcon: React.FC;
@@ -1,22 +0,0 @@
1
- /*!
2
- * © 2023 Atypon Systems LLC
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export declare const useScrollDetection: (topTrigger: number, bottomTrigger: number) => {
17
- ref: (node: HTMLDivElement | null) => void;
18
- triggers: {
19
- bottom: boolean;
20
- top: boolean;
21
- };
22
- };