@burdenoff/website-sdk 2026.922.3 → 2026.922.5
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.
- package/dist/components/explore.d.mts +92 -2
- package/dist/components/explore.d.ts +92 -2
- package/dist/components/explore.js +1171 -17
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +1169 -20
- package/dist/components/explore.mjs.map +1 -1
- package/dist/{explore-types-CPF1QoMn.d.mts → explore-types-DvQPiL1t.d.mts} +58 -2
- package/dist/{explore-types-CPF1QoMn.d.ts → explore-types-DvQPiL1t.d.ts} +58 -2
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +417 -8
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +415 -9
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.d.mts +53 -3
- package/dist/index.d.ts +53 -3
- package/dist/index.js +1179 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1177 -28
- package/dist/index.mjs.map +1 -1
- package/dist/{use-explore-chat--CxNtkrJ.d.ts → use-progressive-reveal-BfU_IHip.d.ts} +36 -2
- package/dist/{use-explore-chat-C6Y8JQMj.d.mts → use-progressive-reveal-Ha3gYPfs.d.mts} +36 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -19,8 +19,8 @@ export { ProblemSolved, ProblemsSolvedSection, ProblemsSolvedSectionProps } from
|
|
|
19
19
|
export { DetectedPlatform, ElectronDownloadLink, ElectronDownloadLinkProps, detectElectronPlatform } from './components/electron-download.mjs';
|
|
20
20
|
export { ExplorePage, ExplorePageProps } from './components/explore.mjs';
|
|
21
21
|
export { ExploreCta, ExploreCtaProps } from './components/explore-cta.mjs';
|
|
22
|
-
export {
|
|
23
|
-
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, c as UseExploreChatResult, d as classifyExploreError, u as useExploreChat } from './use-
|
|
22
|
+
export { g as EXPLORE_CATALOG_QUERY, h as EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS, i as EXPLORE_MESSAGE_QUERY, c as ExploreCatalog, j as ExploreCatalogQueryData, k as ExploreConceptHighlight, l as ExploreConversation, m as ExploreCtaKind, n as ExploreCtaLink, o as ExploreErrorCode, b as ExploreLimits, d as ExploreMessage, p as ExploreMessageQueryData, q as ExploreMessageRole, r as ExploreMessageStatus, E as ExploreProduct, a as ExploreReference, S as SEND_EXPLORE_MESSAGE_MUTATION, s as SendExploreMessageInput, t as SendExploreMessageMutationData, u as SendExploreMessageResult } from './explore-types-DvQPiL1t.mjs';
|
|
23
|
+
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, c as UseExploreChatResult, d as UseSpeechOutputOptions, e as UseSpeechOutputResult, f as classifyExploreError, s as stopSpeaking, u as useExploreChat, g as useProgressiveReveal, h as useSpeechOutput } from './use-progressive-reveal-Ha3gYPfs.mjs';
|
|
24
24
|
export { RybbitAnalytics, RybbitAnalyticsProps } from './analytics/index.mjs';
|
|
25
25
|
export { PageHead, PageHeadProps } from './seo/index.mjs';
|
|
26
26
|
export { ProductData, ProductProvider, ProductProviderProps, useProduct, useProductConfig } from './product/index.mjs';
|
|
@@ -298,8 +298,57 @@ interface ExploreStrings {
|
|
|
298
298
|
feedbackNotSent: string;
|
|
299
299
|
prevSuggestion: string;
|
|
300
300
|
nextSuggestion: string;
|
|
301
|
+
/**
|
|
302
|
+
* The label every concept picture carries, wherever one is shown — inside an answer and on
|
|
303
|
+
* the welcome strip alike.
|
|
304
|
+
*
|
|
305
|
+
* These images are published mockups, so the page has to say so; it says it in ONE wording,
|
|
306
|
+
* because two phrasings for the same caveat read as two different caveats.
|
|
307
|
+
*/
|
|
301
308
|
conceptIllustration: string;
|
|
302
309
|
opensInNewTab: string;
|
|
310
|
+
/** Heading over the concept strip on the welcome screen. */
|
|
311
|
+
conceptStripTitle: string;
|
|
312
|
+
/** Accessible name of the strip itself. */
|
|
313
|
+
conceptStripLabel: string;
|
|
314
|
+
/** Accessible name of one card. Takes `{title}` and `{product}`. */
|
|
315
|
+
conceptAsk: string;
|
|
316
|
+
/**
|
|
317
|
+
* The question a card actually SENDS. Takes `{title}` and `{product}`.
|
|
318
|
+
*
|
|
319
|
+
* Localised because it becomes the visitor's own message in the transcript — an English
|
|
320
|
+
* sentence appearing above an Arabic answer would read as the page talking to itself.
|
|
321
|
+
*/
|
|
322
|
+
conceptAskQuestion: string;
|
|
323
|
+
/** Label of the per-answer copy control, and its failure state. */
|
|
324
|
+
copyAnswer: string;
|
|
325
|
+
copyFailed: string;
|
|
326
|
+
/**
|
|
327
|
+
* Label of the per-answer read-aloud control, in its two states.
|
|
328
|
+
*
|
|
329
|
+
* A toggle, exactly like the composer's dictation button: one control whose label says
|
|
330
|
+
* what pressing it does NOW, never a second button that appears while it is speaking.
|
|
331
|
+
*/
|
|
332
|
+
readAloud: string;
|
|
333
|
+
stopReading: string;
|
|
334
|
+
/**
|
|
335
|
+
* Accessible name of the scrollable box a table in an answer sits in.
|
|
336
|
+
*
|
|
337
|
+
* A scrollable region needs a name and a tab stop, or a keyboard visitor cannot reach the
|
|
338
|
+
* columns that are off the edge. The `<table>` inside it keeps its own semantics.
|
|
339
|
+
*/
|
|
340
|
+
answerTable: string;
|
|
341
|
+
/** Accessible name of the provenance row under an answer. */
|
|
342
|
+
groundedIn: string;
|
|
343
|
+
/** How many sources the answer cites. `sourceCountMany` takes `{count}`. */
|
|
344
|
+
sourceCountOne: string;
|
|
345
|
+
sourceCountMany: string;
|
|
346
|
+
/** What KIND of page a source is, inferred from its URL. */
|
|
347
|
+
sourceKindConcept: string;
|
|
348
|
+
sourceKindDocs: string;
|
|
349
|
+
sourceKindPricing: string;
|
|
350
|
+
sourceKindUseCase: string;
|
|
351
|
+
sourceKindPage: string;
|
|
303
352
|
/**
|
|
304
353
|
* The page's <title> and <meta description>.
|
|
305
354
|
*
|
|
@@ -316,5 +365,6 @@ interface ExploreStrings {
|
|
|
316
365
|
capabilities: [string, string, string];
|
|
317
366
|
prompts: string[];
|
|
318
367
|
}
|
|
368
|
+
declare function speechLocaleOf(locale: ExploreLocale): string;
|
|
319
369
|
|
|
320
|
-
export { Button, type ButtonProps, CONCEPTS_PATH, CONCEPT_ILLUSTRATION_NOTICE, CONCEPT_PATH_PREFIX, CareersPostingOption, CareersSubmissionForm, type CareersSubmissionFormProps, type Concept, type ConceptCategory, ConceptDetailPage, type ConceptDetailPageProps, type ConceptDevice, type ConceptImage, type ConceptLinkComponent, type ConceptLinkProps, ConceptsPage, type ConceptsPageProps, ECOSYSTEM_PRODUCTS, EXPLORE_LOCALES, type ExploreLocale, type ExploreStrings, Input, Label, Select, Textarea, WebsiteSwitcherProduct, buttonVariants, conceptPath, getConceptBySlug, isValidUrl };
|
|
370
|
+
export { Button, type ButtonProps, CONCEPTS_PATH, CONCEPT_ILLUSTRATION_NOTICE, CONCEPT_PATH_PREFIX, CareersPostingOption, CareersSubmissionForm, type CareersSubmissionFormProps, type Concept, type ConceptCategory, ConceptDetailPage, type ConceptDetailPageProps, type ConceptDevice, type ConceptImage, type ConceptLinkComponent, type ConceptLinkProps, ConceptsPage, type ConceptsPageProps, ECOSYSTEM_PRODUCTS, EXPLORE_LOCALES, type ExploreLocale, type ExploreStrings, Input, Label, Select, Textarea, WebsiteSwitcherProduct, buttonVariants, conceptPath, getConceptBySlug, isValidUrl, speechLocaleOf };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export { ProblemSolved, ProblemsSolvedSection, ProblemsSolvedSectionProps } from
|
|
|
19
19
|
export { DetectedPlatform, ElectronDownloadLink, ElectronDownloadLinkProps, detectElectronPlatform } from './components/electron-download.js';
|
|
20
20
|
export { ExplorePage, ExplorePageProps } from './components/explore.js';
|
|
21
21
|
export { ExploreCta, ExploreCtaProps } from './components/explore-cta.js';
|
|
22
|
-
export {
|
|
23
|
-
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, c as UseExploreChatResult, d as classifyExploreError, u as useExploreChat } from './use-
|
|
22
|
+
export { g as EXPLORE_CATALOG_QUERY, h as EXPLORE_CATALOG_QUERY_WITHOUT_HIGHLIGHTS, i as EXPLORE_MESSAGE_QUERY, c as ExploreCatalog, j as ExploreCatalogQueryData, k as ExploreConceptHighlight, l as ExploreConversation, m as ExploreCtaKind, n as ExploreCtaLink, o as ExploreErrorCode, b as ExploreLimits, d as ExploreMessage, p as ExploreMessageQueryData, q as ExploreMessageRole, r as ExploreMessageStatus, E as ExploreProduct, a as ExploreReference, S as SEND_EXPLORE_MESSAGE_MUTATION, s as SendExploreMessageInput, t as SendExploreMessageMutationData, u as SendExploreMessageResult } from './explore-types-DvQPiL1t.js';
|
|
23
|
+
export { D as DEFAULT_EXPLORE_EXAMPLE_PROMPTS, E as ExploreChatError, a as ExploreChatErrorKind, b as ExploreChatPhase, F as FALLBACK_EXPLORE_LIMITS, U as UseExploreChatOptions, c as UseExploreChatResult, d as UseSpeechOutputOptions, e as UseSpeechOutputResult, f as classifyExploreError, s as stopSpeaking, u as useExploreChat, g as useProgressiveReveal, h as useSpeechOutput } from './use-progressive-reveal-BfU_IHip.js';
|
|
24
24
|
export { RybbitAnalytics, RybbitAnalyticsProps } from './analytics/index.js';
|
|
25
25
|
export { PageHead, PageHeadProps } from './seo/index.js';
|
|
26
26
|
export { ProductData, ProductProvider, ProductProviderProps, useProduct, useProductConfig } from './product/index.js';
|
|
@@ -298,8 +298,57 @@ interface ExploreStrings {
|
|
|
298
298
|
feedbackNotSent: string;
|
|
299
299
|
prevSuggestion: string;
|
|
300
300
|
nextSuggestion: string;
|
|
301
|
+
/**
|
|
302
|
+
* The label every concept picture carries, wherever one is shown — inside an answer and on
|
|
303
|
+
* the welcome strip alike.
|
|
304
|
+
*
|
|
305
|
+
* These images are published mockups, so the page has to say so; it says it in ONE wording,
|
|
306
|
+
* because two phrasings for the same caveat read as two different caveats.
|
|
307
|
+
*/
|
|
301
308
|
conceptIllustration: string;
|
|
302
309
|
opensInNewTab: string;
|
|
310
|
+
/** Heading over the concept strip on the welcome screen. */
|
|
311
|
+
conceptStripTitle: string;
|
|
312
|
+
/** Accessible name of the strip itself. */
|
|
313
|
+
conceptStripLabel: string;
|
|
314
|
+
/** Accessible name of one card. Takes `{title}` and `{product}`. */
|
|
315
|
+
conceptAsk: string;
|
|
316
|
+
/**
|
|
317
|
+
* The question a card actually SENDS. Takes `{title}` and `{product}`.
|
|
318
|
+
*
|
|
319
|
+
* Localised because it becomes the visitor's own message in the transcript — an English
|
|
320
|
+
* sentence appearing above an Arabic answer would read as the page talking to itself.
|
|
321
|
+
*/
|
|
322
|
+
conceptAskQuestion: string;
|
|
323
|
+
/** Label of the per-answer copy control, and its failure state. */
|
|
324
|
+
copyAnswer: string;
|
|
325
|
+
copyFailed: string;
|
|
326
|
+
/**
|
|
327
|
+
* Label of the per-answer read-aloud control, in its two states.
|
|
328
|
+
*
|
|
329
|
+
* A toggle, exactly like the composer's dictation button: one control whose label says
|
|
330
|
+
* what pressing it does NOW, never a second button that appears while it is speaking.
|
|
331
|
+
*/
|
|
332
|
+
readAloud: string;
|
|
333
|
+
stopReading: string;
|
|
334
|
+
/**
|
|
335
|
+
* Accessible name of the scrollable box a table in an answer sits in.
|
|
336
|
+
*
|
|
337
|
+
* A scrollable region needs a name and a tab stop, or a keyboard visitor cannot reach the
|
|
338
|
+
* columns that are off the edge. The `<table>` inside it keeps its own semantics.
|
|
339
|
+
*/
|
|
340
|
+
answerTable: string;
|
|
341
|
+
/** Accessible name of the provenance row under an answer. */
|
|
342
|
+
groundedIn: string;
|
|
343
|
+
/** How many sources the answer cites. `sourceCountMany` takes `{count}`. */
|
|
344
|
+
sourceCountOne: string;
|
|
345
|
+
sourceCountMany: string;
|
|
346
|
+
/** What KIND of page a source is, inferred from its URL. */
|
|
347
|
+
sourceKindConcept: string;
|
|
348
|
+
sourceKindDocs: string;
|
|
349
|
+
sourceKindPricing: string;
|
|
350
|
+
sourceKindUseCase: string;
|
|
351
|
+
sourceKindPage: string;
|
|
303
352
|
/**
|
|
304
353
|
* The page's <title> and <meta description>.
|
|
305
354
|
*
|
|
@@ -316,5 +365,6 @@ interface ExploreStrings {
|
|
|
316
365
|
capabilities: [string, string, string];
|
|
317
366
|
prompts: string[];
|
|
318
367
|
}
|
|
368
|
+
declare function speechLocaleOf(locale: ExploreLocale): string;
|
|
319
369
|
|
|
320
|
-
export { Button, type ButtonProps, CONCEPTS_PATH, CONCEPT_ILLUSTRATION_NOTICE, CONCEPT_PATH_PREFIX, CareersPostingOption, CareersSubmissionForm, type CareersSubmissionFormProps, type Concept, type ConceptCategory, ConceptDetailPage, type ConceptDetailPageProps, type ConceptDevice, type ConceptImage, type ConceptLinkComponent, type ConceptLinkProps, ConceptsPage, type ConceptsPageProps, ECOSYSTEM_PRODUCTS, EXPLORE_LOCALES, type ExploreLocale, type ExploreStrings, Input, Label, Select, Textarea, WebsiteSwitcherProduct, buttonVariants, conceptPath, getConceptBySlug, isValidUrl };
|
|
370
|
+
export { Button, type ButtonProps, CONCEPTS_PATH, CONCEPT_ILLUSTRATION_NOTICE, CONCEPT_PATH_PREFIX, CareersPostingOption, CareersSubmissionForm, type CareersSubmissionFormProps, type Concept, type ConceptCategory, ConceptDetailPage, type ConceptDetailPageProps, type ConceptDevice, type ConceptImage, type ConceptLinkComponent, type ConceptLinkProps, ConceptsPage, type ConceptsPageProps, ECOSYSTEM_PRODUCTS, EXPLORE_LOCALES, type ExploreLocale, type ExploreStrings, Input, Label, Select, Textarea, WebsiteSwitcherProduct, buttonVariants, conceptPath, getConceptBySlug, isValidUrl, speechLocaleOf };
|