@docsearch/react 4.6.1 → 4.6.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.
@@ -74,7 +74,11 @@ type ConversationScreenTranslations = Partial<ToolCallTranslations & {
74
74
  /**
75
75
  * Error title shown if there is an error while chatting.
76
76
  */
77
- errorTitleText: any;
77
+ errorTitleText: string;
78
+ /**
79
+ * Button label to start a new conversation after a blocking Ask AI error.
80
+ */
81
+ startNewConversationButtonText: string;
78
82
  }>;
79
83
 
80
84
  type NewConversationScreenTranslations = Partial<{
@@ -105,8 +109,26 @@ type PromptFormTranslations = Partial<{
105
109
  * Disclaimer text displayed beneath the prompt form.
106
110
  **/
107
111
  promptDisclaimerText: string;
112
+ /**
113
+ * Visually hidden label text (`aria-labelledby`); usually keyboard hints for the textarea.
114
+ **/
108
115
  promptLabelText: string;
116
+ /**
117
+ * Accessible name for the textarea (`aria-label`).
118
+ **/
109
119
  promptAriaLabelText: string;
120
+ /**
121
+ * Placeholder when the conversation hit the thread depth limit (AI-217).
122
+ **/
123
+ threadDepthErrorPlaceholder: string;
124
+ /**
125
+ * Button label in the blocking-error banner to start a new conversation.
126
+ **/
127
+ startNewConversationButtonText: string;
128
+ /**
129
+ * Trailing sentence fragment after the button in the thread-depth banner (e.g. "to continue.").
130
+ **/
131
+ threadDepthBannerContinueText: string;
110
132
  }>;
111
133
 
112
134
  type PanelVariant = 'floating' | 'inline';