@markprompt/web
Advanced tools
Comparing version 0.12.2 to 0.13.0
{ | ||
"name": "@markprompt/web", | ||
"version": "0.12.2", | ||
"version": "0.13.0", | ||
"description": "A web component for adding GPT-4 powered search using the Markprompt API.", | ||
@@ -32,3 +32,3 @@ "repository": { | ||
"@markprompt/core": "0.8.2", | ||
"@markprompt/react": "0.14.0" | ||
"@markprompt/react": "0.15.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
@@ -90,3 +90,3 @@ # `@markprompt/web` | ||
* Label for the prompt input | ||
* @default "Ask me anything…" | ||
* @default "Ask AI" | ||
**/ | ||
@@ -96,11 +96,5 @@ label?: string; | ||
* Placeholder for the prompt input | ||
* @default "Ask me anything…" | ||
* @default "Ask AI…" | ||
**/ | ||
placeholder?: string; | ||
/** | ||
* When search is enabled, this label is used for the CTA button | ||
* that opens the prompt. | ||
* @default "Ask Docs AI…" | ||
**/ | ||
cta?: string; | ||
}; | ||
@@ -158,3 +152,3 @@ references?: { | ||
* Text for the title | ||
* @default "Ask me anything" | ||
* @default "Ask AI" | ||
**/ | ||
@@ -217,5 +211,4 @@ text?: string; | ||
- `prompt` (`object`): Options for the prompt | ||
- `prompt.label` (`string`): Label for the prompt input (Default: `Ask me anything…`) | ||
- `prompt.placeholder` (`string`): Placeholder for the prompt input (Default: `Ask me anything…`) | ||
- `prompt.cta` (`string`): When search is enabled, this label is used for the CTA button that opens the prompt (Default: `Ask Docs AI…`) | ||
- `prompt.label` (`string`): Label for the prompt input (Default: `Ask AI`) | ||
- `prompt.placeholder` (`string`): Placeholder for the prompt input (Default: `Ask AI…`) | ||
- `prompt.apiUrl` (`string`): URL at which to fetch completions. (Default: `https://api.markprompt.com/v1/completions`) | ||
@@ -250,3 +243,3 @@ - `prompt.iDontKnowMessage` (`string`): Message returned when the model does not have an answer. (Default: `Sorry, I am not sure how to answer that.`) | ||
- `title.hide` (`boolean`): Visually hide the title (Default: `true`) | ||
- `title.text` (`string`): Title text (Default: `Ask me anything`) | ||
- `title.text` (`string`): Title text (Default: `Ask AI`) | ||
@@ -253,0 +246,0 @@ When rendering the Markprompt component, it will render a search input-like button by default. You have two other options: |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3349852
263
+ Added@markprompt/react@0.15.0(transitive)
+ Added@radix-ui/react-accessible-icon@1.1.2(transitive)
+ Added@radix-ui/react-dialog@1.1.6(transitive)
+ Added@radix-ui/react-dismissable-layer@1.1.5(transitive)
+ Added@radix-ui/react-focus-scope@1.1.2(transitive)
+ Added@radix-ui/react-portal@1.1.4(transitive)
+ Added@radix-ui/react-primitive@2.0.2(transitive)
+ Added@radix-ui/react-slot@1.1.2(transitive)
+ Added@radix-ui/react-visually-hidden@1.1.2(transitive)
- Removed@markprompt/react@0.14.0(transitive)
- Removed@radix-ui/react-accessible-icon@1.1.1(transitive)
- Removed@radix-ui/react-dialog@1.1.5(transitive)
- Removed@radix-ui/react-dismissable-layer@1.1.4(transitive)
- Removed@radix-ui/react-focus-scope@1.1.1(transitive)
- Removed@radix-ui/react-portal@1.1.3(transitive)
- Removed@radix-ui/react-primitive@2.0.1(transitive)
- Removed@radix-ui/react-slot@1.1.1(transitive)
- Removed@radix-ui/react-visually-hidden@1.1.1(transitive)
Updated@markprompt/react@0.15.0