research-agent-ui 0.1.152 → 0.1.154

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.
@@ -15,43 +15,43 @@ import React from 'react';
15
15
  export declare const ARTICLE_TOOLBAR_SHORTCUTS: {
16
16
  readonly ask: {
17
17
  readonly alt: true;
18
- readonly key: "a";
18
+ readonly key: 'a';
19
19
  };
20
20
  readonly suggest: {
21
21
  readonly alt: true;
22
- readonly key: "s";
22
+ readonly key: 's';
23
23
  };
24
24
  readonly copy: {
25
25
  readonly alt: true;
26
- readonly key: "c";
26
+ readonly key: 'c';
27
27
  };
28
28
  readonly highlight: {
29
29
  readonly alt: true;
30
- readonly key: "h";
30
+ readonly key: 'h';
31
31
  };
32
32
  readonly favorite: {
33
33
  readonly alt: true;
34
- readonly key: "f";
34
+ readonly key: 'f';
35
35
  };
36
36
  readonly open: {
37
37
  readonly alt: true;
38
- readonly key: "o";
38
+ readonly key: 'o';
39
39
  };
40
40
  readonly zoomOut: {
41
41
  readonly alt: true;
42
- readonly key: "-";
42
+ readonly key: '-';
43
43
  };
44
44
  readonly zoomReset: {
45
45
  readonly alt: true;
46
- readonly key: "0";
46
+ readonly key: '0';
47
47
  };
48
48
  readonly zoomIn: {
49
49
  readonly alt: true;
50
- readonly key: "=";
50
+ readonly key: '=';
51
51
  };
52
52
  readonly close: {
53
53
  readonly alt: false;
54
- readonly key: "Escape";
54
+ readonly key: 'Escape';
55
55
  };
56
56
  };
57
57
  export type ArticleToolbarAction = keyof typeof ARTICLE_TOOLBAR_SHORTCUTS;
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./config.cjs"),t=require("./src-BgiTkBp6.cjs");exports.ARTICLE_TOOLBAR_SHORTCUTS=t.S,exports.ArticleAIResponse=t.y,exports.ArticleActionButtons=t.C,exports.ArticleContent=t._,exports.ArticleFollowupQuestions=t.b,exports.ArticlePanelHeader=t.T,exports.ArticlePromptInput=t.x,exports.CategoryDock=t.o,exports.ChatInputBox=t.E,exports.ChatProvider=t.D,exports.ChatWindow=t.f,exports.CookieConsent=t.a,exports.ExtractPanelProvider=t.N,exports.HistoryDialogs=t.m,exports.HistoryDropdown=t.p,exports.KokoroVoiceSelector=t.u,exports.LexicalArticleViewer=t.v,exports.MainViewProvider=t.s,exports.QwkSearchApp=t.n,exports.QwkSearchProviders=t.r,exports.SessionProvider=t.O,exports.UnifiedMarkdown=t.g,exports.VoiceSettingsPanel=t.l,exports.cn=t.F,exports.configureResearchAgentUI=e.configureResearchAgentUI,exports.formatMessageTime=t.I,exports.formatTimeDifference=t.L,exports.formatToolbarShortcut=t.w,exports.researchAgentUIConfig=e.researchAgentUIConfig,exports.useChat=t.A,exports.useChatState=t.j,exports.useChatTabs=t.t,exports.useChunkErrorReload=t.i,exports.useExtractPanel=t.P,exports.useHistoryState=t.h,exports.useKokoroTTS=t.d,exports.useMainView=t.c,exports.useSession=t.k,exports.useTextToSpeech=t.M;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./config.cjs"),t=require("./src-Cp0UerpM.cjs");exports.ARTICLE_TOOLBAR_SHORTCUTS=t.S,exports.ArticleAIResponse=t.y,exports.ArticleActionButtons=t.C,exports.ArticleContent=t._,exports.ArticleFollowupQuestions=t.b,exports.ArticlePanelHeader=t.T,exports.ArticlePromptInput=t.x,exports.CategoryDock=t.o,exports.ChatInputBox=t.E,exports.ChatProvider=t.D,exports.ChatWindow=t.f,exports.CookieConsent=t.a,exports.ExtractPanelProvider=t.N,exports.HistoryDialogs=t.m,exports.HistoryDropdown=t.p,exports.KokoroVoiceSelector=t.u,exports.LexicalArticleViewer=t.v,exports.MainViewProvider=t.s,exports.QwkSearchApp=t.n,exports.QwkSearchProviders=t.r,exports.SessionProvider=t.O,exports.UnifiedMarkdown=t.g,exports.VoiceSettingsPanel=t.l,exports.cn=t.F,exports.configureResearchAgentUI=e.configureResearchAgentUI,exports.formatMessageTime=t.I,exports.formatTimeDifference=t.L,exports.formatToolbarShortcut=t.w,exports.researchAgentUIConfig=e.researchAgentUIConfig,exports.useChat=t.A,exports.useChatState=t.j,exports.useChatTabs=t.t,exports.useChunkErrorReload=t.i,exports.useExtractPanel=t.P,exports.useHistoryState=t.h,exports.useKokoroTTS=t.d,exports.useMainView=t.c,exports.useSession=t.k,exports.useTextToSpeech=t.M;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { configureResearchAgentUI as e, researchAgentUIConfig as t } from "./config.mjs";
4
- import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, w as I, x as L, y as R } from "./src-CsHfnztO.js";
4
+ import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, w as I, x as L, y as R } from "./src-ZX94CB2B.js";
5
5
  export { p as ARTICLE_TOOLBAR_SHORTCUTS, R as ArticleAIResponse, r as ArticleActionButtons, h as ArticleContent, _ as ArticleFollowupQuestions, m as ArticlePanelHeader, L as ArticlePromptInput, k as CategoryDock, a as ChatInputBox, i as ChatProvider, b as ChatWindow, g as CookieConsent, u as ExtractPanelProvider, D as HistoryDialogs, A as HistoryDropdown, P as KokoroVoiceSelector, F as LexicalArticleViewer, M as MainViewProvider, O as QwkSearchApp, j as QwkSearchProviders, d as SessionProvider, x as UnifiedMarkdown, E as VoiceSettingsPanel, o as cn, e as configureResearchAgentUI, s as formatMessageTime, c as formatTimeDifference, I as formatToolbarShortcut, t as researchAgentUIConfig, n as useChat, w as useChatState, N as useChatTabs, C as useChunkErrorReload, f as useExtractPanel, S as useHistoryState, y as useKokoroTTS, v as useMainView, T as useSession, l as useTextToSpeech };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @fileoverview Which of the configured site links to offer on a given route.
3
+ *
4
+ * The dock carries the site links on every page, help docs included, so on
5
+ * `/docs` the "Docs" entry pointed at the page the reader was already on. A
6
+ * link to where you already are is dead weight in a nav, so the route the
7
+ * dock is currently showing drops out of the list.
8
+ */
9
+ import type { FooterLink } from '../config';
10
+ /**
11
+ * The site links worth showing from `pathname`: every configured link except
12
+ * one that leads back to the current page or its section.
13
+ */
14
+ export declare function siteLinksForPath(links: FooterLink[], pathname: string | null): FooterLink[];
@@ -0,0 +1 @@
1
+ export {};