@docsearch/react 4.6.2 → 4.7.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/esm/DocSearchModal.d.ts +3 -5
- package/dist/esm/DocSearchModal.js +1 -1
- package/dist/esm/Sidepanel.d.ts +23 -1
- package/dist/esm/Sidepanel.js +2 -2
- package/dist/esm/index.d.ts +100 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/useDocSearchKeyboardEvents.js +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/umd/DocSearchModal.js +2 -2
- package/dist/umd/DocSearchModal.js.map +1 -1
- package/dist/umd/DocsearchButton.js +1 -1
- package/dist/umd/Sidepanel.js +3 -3
- package/dist/umd/Sidepanel.js.map +1 -1
- package/dist/umd/index.js +3 -3
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/useDocSearchKeyboardEvents.js +2 -2
- package/dist/umd/useDocSearchKeyboardEvents.js.map +1 -1
- package/dist/umd/useTheme.js +1 -1
- package/dist/umd/version.js +2 -2
- package/dist/umd/version.js.map +1 -1
- package/package.json +3 -3
package/dist/esm/Sidepanel.d.ts
CHANGED
|
@@ -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:
|
|
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';
|