@promptbook/components 0.111.0-2 → 0.111.0-3
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.
|
@@ -35,4 +35,4 @@ export declare function getCitationLabel(citation: ParsedCitation): string;
|
|
|
35
35
|
export declare function resolveCitationPreviewUrl(citation: ParsedCitation, participants: ReadonlyArray<ChatParticipant>): string | null;
|
|
36
36
|
/**
|
|
37
37
|
* TODO: [💞] Spread into multiple files
|
|
38
|
-
*/
|
|
38
|
+
*/
|
|
@@ -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.111.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.111.0-2`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
package/umd/index.umd.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* @generated
|
|
33
33
|
* @see https://github.com/webgptorg/promptbook
|
|
34
34
|
*/
|
|
35
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-
|
|
35
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.111.0-3';
|
|
36
36
|
/**
|
|
37
37
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
38
38
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -28710,7 +28710,7 @@
|
|
|
28710
28710
|
: status === 'error'
|
|
28711
28711
|
? 'Failed to generate image'
|
|
28712
28712
|
: 'Image generated';
|
|
28713
|
-
return (jsxRuntime.jsxs("div", { className: styles$5.imagePrompt, "aria-live": "polite", children: [jsxRuntime.jsxs("div", { className: styles$5.imagePromptPreview, children: [status === 'success' && imageUrl ? (jsxRuntime.jsx("img", { src: imageUrl, alt: alt, className: styles$5.imagePromptImage })) : (jsxRuntime.jsx("div", { className: styles$5.imagePromptPlaceholder, children: jsxRuntime.jsx("div", { className: styles$5.imagePromptSpinner }) })), status === 'error' && error &&
|
|
28713
|
+
return (jsxRuntime.jsxs("div", { className: styles$5.imagePrompt, "aria-live": "polite", children: [jsxRuntime.jsxs("div", { className: styles$5.imagePromptPreview, children: [status === 'success' && imageUrl ? (jsxRuntime.jsx("img", { src: imageUrl, alt: alt, className: styles$5.imagePromptImage })) : (jsxRuntime.jsx("div", { className: styles$5.imagePromptPlaceholder, children: jsxRuntime.jsx("div", { className: styles$5.imagePromptSpinner }) })), status === 'error' && error && jsxRuntime.jsx("div", { className: styles$5.imagePromptError, children: error })] }), jsxRuntime.jsxs("div", { className: styles$5.imagePromptMeta, children: [jsxRuntime.jsx("span", { className: styles$5.imagePromptPrompt, children: trimmedPrompt || 'Generated image' }), jsxRuntime.jsx("span", { className: styles$5.imagePromptStatus, children: statusLabel })] })] }));
|
|
28714
28714
|
}
|
|
28715
28715
|
|
|
28716
28716
|
var css_248z$1 = ".ChatMessageMap-module_mapContainer__OBOgP{background:rgba(15,23,36,.9);border:1px solid hsla(0,0%,100%,.12);border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.25);height:200px;margin:12px 0;min-height:200px;overflow:hidden;width:100%}.ChatMessageMap-module_mapSurface__E713z{height:100%;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNoYXRNZXNzYWdlTWFwLm1vZHVsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMkNBSUksNEJBQWlDLENBRGpDLG9DQUEyQyxDQUQzQyxrQkFBbUIsQ0FPbkIsc0NBQTJDLENBRjNDLFlBQWEsQ0FDYixhQUFjLENBRmQsZ0JBQWlCLENBRGpCLGVBQWdCLENBSmhCLFVBU0osQ0FFQSx5Q0FFSSxXQUFZLENBRFosVUFFSiIsImZpbGUiOiJDaGF0TWVzc2FnZU1hcC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm1hcENvbnRhaW5lciB7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgYm9yZGVyLXJhZGl1czogMTZweDtcbiAgICBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMTIpO1xuICAgIGJhY2tncm91bmQ6IHJnYmEoMTUsIDIzLCAzNiwgMC45KTtcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIG1pbi1oZWlnaHQ6IDIwMHB4O1xuICAgIGhlaWdodDogMjAwcHg7XG4gICAgbWFyZ2luOiAxMnB4IDA7XG4gICAgYm94LXNoYWRvdzogMCAxMHB4IDQwcHggcmdiYSgwLCAwLCAwLCAwLjI1KTtcbn1cblxuLm1hcFN1cmZhY2Uge1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogMTAwJTtcbn1cbiJdfQ== */";
|