research-agent-ui 0.1.61 → 0.1.63
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Toolbar with Ask AI, Suggest, Copy, Highlight,
|
|
2
|
+
* Toolbar with Ask AI, Suggest, Copy, Highlight, Favorite, Open-in-new-tab, and Close buttons
|
|
3
|
+
* shown at the top of the article extract panel.
|
|
3
4
|
*/
|
|
4
5
|
import React from 'react';
|
|
5
6
|
interface ArticleActionButtonsProps {
|
|
@@ -8,11 +9,13 @@ interface ArticleActionButtonsProps {
|
|
|
8
9
|
isLoadingFavorite: boolean;
|
|
9
10
|
isFavorited: boolean;
|
|
10
11
|
isHighlightMode: boolean;
|
|
12
|
+
articleUrl?: string;
|
|
11
13
|
onAskClick: () => void;
|
|
12
14
|
onSuggestClick: () => void;
|
|
13
15
|
onCopyClick: () => void;
|
|
14
16
|
onFavoriteClick: () => void;
|
|
15
17
|
onHighlightToggle: () => void;
|
|
18
|
+
onClose: () => void;
|
|
16
19
|
}
|
|
17
20
|
declare const ArticleActionButtons: React.FC<ArticleActionButtonsProps>;
|
|
18
21
|
export default ArticleActionButtons;
|
|
@@ -10,7 +10,13 @@ interface FooterProps {
|
|
|
10
10
|
optionColumns?: number;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Footer component that displays a list of links with optional icons
|
|
13
|
+
* Footer component that displays a list of links with optional icons.
|
|
14
|
+
*
|
|
15
|
+
* On desktop the links render as a bar pinned to the bottom-center of the screen.
|
|
16
|
+
* On mobile the bar is collapsed into a small info icon in the bottom corner that,
|
|
17
|
+
* when tapped, reveals the same links in a popover — keeping the chat input clear
|
|
18
|
+
* of the footer and the OS app dock.
|
|
19
|
+
*
|
|
14
20
|
* @param listFooterLinks - Array of footer links with their properties
|
|
15
21
|
* @param optionShowIcons - Whether to show icons next to links (default: true)
|
|
16
22
|
* @param optionBackgroundColor - Background color class for the footer (default: "bg-black/40")
|