@aintela/chat 0.14.0 → 0.14.1
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/components.js +1023 -1022
- package/dist/components.js.map +1 -1
- package/dist/src/components/v2/MentionPickerPanel.d.ts +7 -1
- package/package.json +1 -1
|
@@ -33,5 +33,11 @@ export interface MentionPickerPanelProps {
|
|
|
33
33
|
* unreachable. Default 0.
|
|
34
34
|
*/
|
|
35
35
|
bottomInset?: number;
|
|
36
|
+
/**
|
|
37
|
+
* `auto` (default) flips above the composer when the room below is a sliver; `below` never flips. A host whose
|
|
38
|
+
* composer sits near the TOP of the screen (the Home) passes `below`: there the flip put the list over the
|
|
39
|
+
* greeting, away from the line being filled, and a short list scrolling under the caret reads better.
|
|
40
|
+
*/
|
|
41
|
+
placement?: 'auto' | 'below';
|
|
36
42
|
}
|
|
37
|
-
export declare function MentionPickerPanel({ open, anchorEl, startAtTopOfEl, items, loading, onSelect, personLabel, locationLabel, hotelLabel, emptyLabel, slotLabel, maxHeightVh, bottomInset, }: MentionPickerPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
43
|
+
export declare function MentionPickerPanel({ open, anchorEl, startAtTopOfEl, items, loading, onSelect, personLabel, locationLabel, hotelLabel, emptyLabel, slotLabel, maxHeightVh, bottomInset, placement, }: MentionPickerPanelProps): import("react/jsx-runtime").JSX.Element | null;
|