@promptbook/components 0.113.0-1 → 0.113.0-2
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/README.md +1 -17
- package/esm/index.es.js +72 -108
- package/esm/index.es.js.map +1 -1
- package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +1 -1
- package/esm/src/book-components/Chat/Chat/CitationIframePreview.test.d.ts +2 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +72 -108
- package/umd/index.umd.js.map +1 -1
- package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +1 -1
- package/umd/src/book-components/Chat/Chat/CitationIframePreview.test.d.ts +2 -0
- package/umd/src/version.d.ts +1 -1
- package/esm/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +0 -12
- package/umd/src/book-components/Chat/utils/livePagePreviewConstants.d.ts +0 -12
|
@@ -9,7 +9,7 @@ export type CitationIframePreviewProps = {
|
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Renders a citation URL preview as an iframe when the target page allows embedding,
|
|
12
|
-
* or falls back to a live server-side browser
|
|
12
|
+
* or falls back to a live server-side browser stream with an "Open in new tab" link
|
|
13
13
|
* when it does not (e.g. X-Frame-Options: DENY / SAMEORIGIN).
|
|
14
14
|
*
|
|
15
15
|
* Embedding capability is determined by `GET /api/page-preview/check?url=<url>`.
|
package/umd/src/version.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
|
|
|
15
15
|
export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
|
|
16
16
|
/**
|
|
17
17
|
* Represents the version string of the Promptbook engine.
|
|
18
|
-
* It follows semantic versioning (e.g., `0.113.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.113.0-1`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Width of the browser viewport used for live knowledge previews.
|
|
3
|
-
*
|
|
4
|
-
* @private shared constant of Agents Server knowledge previews
|
|
5
|
-
*/
|
|
6
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
|
|
7
|
-
/**
|
|
8
|
-
* Height of the browser viewport used for live knowledge previews.
|
|
9
|
-
*
|
|
10
|
-
* @private shared constant of Agents Server knowledge previews
|
|
11
|
-
*/
|
|
12
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Width of the browser viewport used for live knowledge previews.
|
|
3
|
-
*
|
|
4
|
-
* @private shared constant of Agents Server knowledge previews
|
|
5
|
-
*/
|
|
6
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_WIDTH = 1280;
|
|
7
|
-
/**
|
|
8
|
-
* Height of the browser viewport used for live knowledge previews.
|
|
9
|
-
*
|
|
10
|
-
* @private shared constant of Agents Server knowledge previews
|
|
11
|
-
*/
|
|
12
|
-
export declare const LIVE_PAGE_PREVIEW_VIEWPORT_HEIGHT = 800;
|