@promptbook/templates 0.103.0-16 → 0.103.0-17
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/esm/index.es.js +417 -476
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/book-2.0/agent-source/padBookContent.d.ts +10 -0
- package/esm/typings/src/book-components/BookEditor/BookEditor.d.ts +11 -0
- package/esm/typings/src/config.d.ts +1 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +417 -476
- package/umd/index.umd.js.map +1 -1
|
@@ -51,6 +51,17 @@ export type BookEditorProps = {
|
|
|
51
51
|
* @default false
|
|
52
52
|
*/
|
|
53
53
|
readonly isReadonly?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Optional translations for the component
|
|
56
|
+
*/
|
|
57
|
+
readonly translations?: {
|
|
58
|
+
/**
|
|
59
|
+
* Message to show when trying to edit a readonly editor
|
|
60
|
+
*
|
|
61
|
+
* @default "You cannot edit this book"
|
|
62
|
+
*/
|
|
63
|
+
readonly readonlyMessage?: string;
|
|
64
|
+
};
|
|
54
65
|
/**
|
|
55
66
|
* If true, shows the download button in the action bar.
|
|
56
67
|
* By default, the download button is shown.
|
|
@@ -53,6 +53,7 @@ export declare const PROMPTBOOK_COLOR: import("./utils/take/interfaces/ITakeChai
|
|
|
53
53
|
*/
|
|
54
54
|
export declare const PROMPTBOOK_SYNTAX_COLORS: {
|
|
55
55
|
readonly TITLE: import("./utils/take/interfaces/ITakeChain").WithTake<Color>;
|
|
56
|
+
readonly LINE: import("./utils/take/interfaces/ITakeChain").WithTake<Color>;
|
|
56
57
|
readonly COMMITMENT: import("./utils/take/interfaces/ITakeChain").WithTake<Color>;
|
|
57
58
|
readonly PARAMETER: import("./utils/take/interfaces/ITakeChain").WithTake<Color>;
|
|
58
59
|
};
|
|
@@ -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.103.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.103.0-16`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/templates",
|
|
3
|
-
"version": "0.103.0-
|
|
3
|
+
"version": "0.103.0-17",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"module": "./esm/index.es.js",
|
|
96
96
|
"typings": "./esm/typings/src/_packages/templates.index.d.ts",
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"@promptbook/core": "0.103.0-
|
|
98
|
+
"@promptbook/core": "0.103.0-17"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"spacetrim": "0.11.59"
|