@manuscripts/style-guide 1.5.0-LEAN-3180-2 → 1.5.0-LEAN-3074-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 (67) hide show
  1. package/dist/cjs/components/Dialog.js +3 -3
  2. package/dist/cjs/components/SimpleModal.js +95 -0
  3. package/dist/cjs/components/StyledModal.js +3 -80
  4. package/dist/cjs/index.js +1 -1
  5. package/dist/es/components/Dialog.js +2 -2
  6. package/dist/es/components/SimpleModal.js +88 -0
  7. package/dist/es/components/StyledModal.js +3 -81
  8. package/dist/es/index.js +1 -1
  9. package/dist/types/components/Dialog.d.ts +1 -1
  10. package/dist/types/components/SimpleModal.d.ts +41 -0
  11. package/dist/types/components/StyledModal.d.ts +4 -26
  12. package/dist/types/index.d.ts +1 -1
  13. package/package.json +3 -4
  14. package/dist/cjs/components/References/BibliographyItemSource.js +0 -91
  15. package/dist/cjs/components/References/CitationEditor.js +0 -146
  16. package/dist/cjs/components/References/CitationViewer.js +0 -69
  17. package/dist/cjs/components/References/ReferenceForm.js +0 -415
  18. package/dist/cjs/components/References/ReferenceLine.js +0 -52
  19. package/dist/cjs/components/References/ReferenceSearch.js +0 -124
  20. package/dist/cjs/components/References/ReferenceSearchResults.js +0 -68
  21. package/dist/cjs/components/References/ReferenceSearchResultsPlaceholder.js +0 -43
  22. package/dist/cjs/components/References/ReferenceSearchSection.js +0 -118
  23. package/dist/cjs/components/References/ReferencesModal.js +0 -220
  24. package/dist/cjs/components/References/SearchInput.js +0 -103
  25. package/dist/cjs/components/References/index.js +0 -20
  26. package/dist/cjs/components/SelectField.js +0 -25
  27. package/dist/cjs/components/Sidebar.js +0 -44
  28. package/dist/cjs/components/icons/delete-icon.js +0 -15
  29. package/dist/cjs/components/icons/link-icon.js +0 -11
  30. package/dist/cjs/components/icons/template-icon.js +0 -11
  31. package/dist/cjs/hooks/use-scroll-detection.js +0 -53
  32. package/dist/es/components/References/BibliographyItemSource.js +0 -64
  33. package/dist/es/components/References/CitationEditor.js +0 -116
  34. package/dist/es/components/References/CitationViewer.js +0 -39
  35. package/dist/es/components/References/ReferenceForm.js +0 -385
  36. package/dist/es/components/References/ReferenceLine.js +0 -42
  37. package/dist/es/components/References/ReferenceSearch.js +0 -94
  38. package/dist/es/components/References/ReferenceSearchResults.js +0 -61
  39. package/dist/es/components/References/ReferenceSearchResultsPlaceholder.js +0 -36
  40. package/dist/es/components/References/ReferenceSearchSection.js +0 -88
  41. package/dist/es/components/References/ReferencesModal.js +0 -189
  42. package/dist/es/components/References/SearchInput.js +0 -73
  43. package/dist/es/components/References/index.js +0 -4
  44. package/dist/es/components/SelectField.js +0 -18
  45. package/dist/es/components/Sidebar.js +0 -18
  46. package/dist/es/components/icons/delete-icon.js +0 -8
  47. package/dist/es/components/icons/link-icon.js +0 -4
  48. package/dist/es/components/icons/template-icon.js +0 -4
  49. package/dist/es/hooks/use-scroll-detection.js +0 -49
  50. package/dist/types/components/References/BibliographyItemSource.d.ts +0 -38
  51. package/dist/types/components/References/CitationEditor.d.ts +0 -17
  52. package/dist/types/components/References/CitationViewer.d.ts +0 -24
  53. package/dist/types/components/References/ReferenceForm.d.ts +0 -35
  54. package/dist/types/components/References/ReferenceLine.d.ts +0 -10
  55. package/dist/types/components/References/ReferenceSearch.d.ts +0 -26
  56. package/dist/types/components/References/ReferenceSearchResults.d.ts +0 -26
  57. package/dist/types/components/References/ReferenceSearchResultsPlaceholder.d.ts +0 -2
  58. package/dist/types/components/References/ReferenceSearchSection.d.ts +0 -25
  59. package/dist/types/components/References/ReferencesModal.d.ts +0 -14
  60. package/dist/types/components/References/SearchInput.d.ts +0 -18
  61. package/dist/types/components/References/index.d.ts +0 -4
  62. package/dist/types/components/SelectField.d.ts +0 -27
  63. package/dist/types/components/Sidebar.d.ts +0 -2
  64. package/dist/types/components/icons/delete-icon.d.ts +0 -2
  65. package/dist/types/components/icons/link-icon.d.ts +0 -2
  66. package/dist/types/components/icons/template-icon.d.ts +0 -2
  67. 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,17 +0,0 @@
1
- import { BibliographyItem } from '@manuscripts/json-schema';
2
- import React from 'react';
3
- import { BibliographyItemSource } from './BibliographyItemSource';
4
- export interface CitationEditorProps {
5
- rids: string[];
6
- items: BibliographyItem[];
7
- citationCounts: Map<string, number>;
8
- sources: BibliographyItemSource[];
9
- handleCite: (items: BibliographyItem[]) => void;
10
- handleUncite: (id: string) => void;
11
- handleSave: (item: BibliographyItem) => void;
12
- handleDelete: (item: BibliographyItem) => void;
13
- handleComment: () => void;
14
- handleCancel: () => void;
15
- canEdit: boolean;
16
- }
17
- 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
- handleChange: (values: ReferenceFormValues) => void;
31
- handleCancel: () => void;
32
- handleDelete: () => void;
33
- handleSave: (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
- handleAdd: () => void;
24
- handleCite: (items: BibliographyItem[]) => void;
25
- handleCancel: () => 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
- handleSelect: (item: BibliographyItem) => void;
25
- handleShowMore: () => 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
- handleSelect: (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
- handleCancel: () => void;
8
- items: BibliographyItem[];
9
- item?: BibliographyItem;
10
- citationCounts: Map<string, number>;
11
- handleSave: (item: BibliographyItem) => void;
12
- handleDelete: (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
- };