@llmnative/react 1.34.0 → 1.35.0
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/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1297 -1266
- package/dist/index.mjs.map +1 -1
- package/dist/types/src/I18n.d.ts +2 -0
- package/dist/types/src/components/widgets/chat/ChatQuestions.d.ts +4 -0
- package/llms-full.txt +1368 -1364
- package/package.json +1 -1
package/dist/types/src/I18n.d.ts
CHANGED
|
@@ -344,6 +344,8 @@ export interface I18nDict {
|
|
|
344
344
|
chooseOne: string;
|
|
345
345
|
chooseMany: string;
|
|
346
346
|
keyboardHint: string;
|
|
347
|
+
/** CR-110 — hint while typing the free-text answer (Enter adds a line). */
|
|
348
|
+
textKeyboardHint: string;
|
|
347
349
|
next: string;
|
|
348
350
|
back: string;
|
|
349
351
|
submit: string;
|
|
@@ -76,5 +76,9 @@ export interface ChatQuestionsProps {
|
|
|
76
76
|
* choices (the recommended one stands out), single or multiple choice, "Other" with free text, a
|
|
77
77
|
* review and one submit for all the answers. Keyboard: number (or letter) keys choose, arrows move
|
|
78
78
|
* between tabs and choices, Enter continues. With `answers` it shows a set already answered.
|
|
79
|
+
*
|
|
80
|
+
* CR-110 — The free text ("Other", or a question without options) is a textarea that grows with
|
|
81
|
+
* the text (two lines, then up to a height and it scrolls; resizable vertically): Enter adds a
|
|
82
|
+
* line, Ctrl/Cmd+Enter continues or sends.
|
|
79
83
|
*/
|
|
80
84
|
export default function ChatQuestions({ questions, onSubmit, numbering, allowOther, answers, disabled, autoFocus, submitLabel, className, classNames, }: ChatQuestionsProps): React.JSX.Element | null;
|