@burdenoff/website-sdk 2026.829.3 → 2026.829.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 +7 -1
- package/dist/components/explore.d.ts +7 -1
- package/dist/components/explore.js +468 -32
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +468 -32
- package/dist/components/explore.mjs.map +1 -1
- package/dist/index.d.mts +59 -1
- package/dist/index.d.ts +59 -1
- package/dist/index.js +469 -32
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +469 -33
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -37,6 +37,12 @@ interface ExplorePageProps {
|
|
|
37
37
|
welcomeTitle?: string;
|
|
38
38
|
/** Overrides `exploreCatalog.welcomeBody`. */
|
|
39
39
|
welcomeBody?: string;
|
|
40
|
+
/**
|
|
41
|
+
* BCP-47 locale to render in. Defaults to the document's own `lang`, then the browser.
|
|
42
|
+
* Only the six the products ship are recognised (en, zh, hi, es, ar, ta); anything else
|
|
43
|
+
* falls back to English.
|
|
44
|
+
*/
|
|
45
|
+
locale?: string;
|
|
40
46
|
}
|
|
41
47
|
/**
|
|
42
48
|
* The product's own logo, derived from the reference's origin.
|
|
@@ -48,6 +54,6 @@ interface ExplorePageProps {
|
|
|
48
54
|
* fallback below.
|
|
49
55
|
*/
|
|
50
56
|
declare function logoUrlOf(url: string): string | null;
|
|
51
|
-
declare function ExplorePage({ seo, productSlug, examplePrompts, className, heightMode, viewportOffset, onNavigate, onSend, welcomeTitle, welcomeBody, }: ExplorePageProps): react.JSX.Element;
|
|
57
|
+
declare function ExplorePage({ seo, productSlug, examplePrompts, className, heightMode, viewportOffset, onNavigate, onSend, welcomeTitle, welcomeBody, locale, }: ExplorePageProps): react.JSX.Element;
|
|
52
58
|
|
|
53
59
|
export { ExplorePage, type ExplorePageProps, logoUrlOf };
|
|
@@ -37,6 +37,12 @@ interface ExplorePageProps {
|
|
|
37
37
|
welcomeTitle?: string;
|
|
38
38
|
/** Overrides `exploreCatalog.welcomeBody`. */
|
|
39
39
|
welcomeBody?: string;
|
|
40
|
+
/**
|
|
41
|
+
* BCP-47 locale to render in. Defaults to the document's own `lang`, then the browser.
|
|
42
|
+
* Only the six the products ship are recognised (en, zh, hi, es, ar, ta); anything else
|
|
43
|
+
* falls back to English.
|
|
44
|
+
*/
|
|
45
|
+
locale?: string;
|
|
40
46
|
}
|
|
41
47
|
/**
|
|
42
48
|
* The product's own logo, derived from the reference's origin.
|
|
@@ -48,6 +54,6 @@ interface ExplorePageProps {
|
|
|
48
54
|
* fallback below.
|
|
49
55
|
*/
|
|
50
56
|
declare function logoUrlOf(url: string): string | null;
|
|
51
|
-
declare function ExplorePage({ seo, productSlug, examplePrompts, className, heightMode, viewportOffset, onNavigate, onSend, welcomeTitle, welcomeBody, }: ExplorePageProps): react.JSX.Element;
|
|
57
|
+
declare function ExplorePage({ seo, productSlug, examplePrompts, className, heightMode, viewportOffset, onNavigate, onSend, welcomeTitle, welcomeBody, locale, }: ExplorePageProps): react.JSX.Element;
|
|
52
58
|
|
|
53
59
|
export { ExplorePage, type ExplorePageProps, logoUrlOf };
|