@promptbook/wizard 0.100.0-38 → 0.100.0-39

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.
@@ -3,20 +3,24 @@ export interface BookEditorProps {
3
3
  /**
4
4
  * Additional CSS classes to apply to the editor container.
5
5
  */
6
- className?: string;
6
+ readonly className?: string;
7
7
  /**
8
8
  * CSS className for a font (e.g. from next/font) to style the editor text.
9
9
  * If omitted, defaults to system serif fonts.
10
10
  */
11
- fontClassName?: string;
11
+ readonly fontClassName?: string;
12
12
  /**
13
13
  * The book which is being edited.
14
14
  */
15
- value?: string_book;
15
+ readonly value?: string_book;
16
16
  /**
17
17
  * Callback function to handle changes in the book content.
18
18
  */
19
- onChange?: (value: string_book) => void;
19
+ onChange?(value: string_book): void;
20
+ /**
21
+ * If true, logs verbose debug info to the console and shows additional visual cues
22
+ */
23
+ readonly isVerbose?: boolean;
20
24
  }
21
25
  /**
22
26
  * Renders a book editor
@@ -0,0 +1,7 @@
1
+ import type { string_css_class } from '../../../types/typeAliases';
2
+ /**
3
+ * Utility function for joining multiple truthy class names into one string
4
+ *
5
+ * @private within the `@promptbook/components`
6
+ */
7
+ export declare function classNames(...classes: Array<string_css_class | undefined | false | null>): string_css_class;
@@ -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.100.0-37`).
18
+ * It follows semantic versioning (e.g., `0.100.0-38`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/wizard",
3
- "version": "0.100.0-38",
3
+ "version": "0.100.0-39",
4
4
  "description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
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/wizard.index.d.ts",
97
97
  "peerDependencies": {
98
- "@promptbook/core": "0.100.0-38"
98
+ "@promptbook/core": "0.100.0-39"
99
99
  },
100
100
  "dependencies": {
101
101
  "@ai-sdk/deepseek": "0.1.6",
package/umd/index.umd.js CHANGED
@@ -49,7 +49,7 @@
49
49
  * @generated
50
50
  * @see https://github.com/webgptorg/promptbook
51
51
  */
52
- const PROMPTBOOK_ENGINE_VERSION = '0.100.0-38';
52
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-39';
53
53
  /**
54
54
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
55
55
  * Note: [💞] Ignore a discrepancy between file name and entity name