@indxsearch/systm 2.25.0-beta.0 → 2.25.0-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.25.0-beta.1
4
+
5
+ ### Minor Changes
6
+
7
+ - fff9a3e: New `ChatLauncher` in the Chat family: a launcher button in a corner of the page and a chat window over it, which the launcher opens and closes, with the page usable beside it. You give it the content: a thread and a `Composer`, or intrface's `AskChat`. It has a title, header actions and a footer for your own ways on. Escape closes it, and its content stays while it is closed. Put it in the window's corner, or `contained` inside a box of yours.
8
+ - f231695: `SearchField` gets `filled`: the field in the grey of a checkbox, with no line, for a search inside a panel, such as a long facet's own search field.
9
+
3
10
  ## 2.25.0-beta.0
4
11
 
5
12
  ### Minor Changes
@@ -0,0 +1,38 @@
1
+ import { default as React } from 'react';
2
+ import { Button } from '../Button/Button';
3
+ export interface ChatLauncherProps {
4
+ /** The window's title, in its head. */
5
+ title: React.ReactNode;
6
+ /** What the window holds: a conversation, its empty state, a composer. */
7
+ children: React.ReactNode;
8
+ /** Buttons in the window's head, before nothing: the launcher below is its Close. */
9
+ headerActions?: React.ReactNode;
10
+ /** Under the window's content: the page's own ways on ("Talk to a person"). */
11
+ footer?: React.ReactNode;
12
+ /** The launcher's word while closed. Default "Ask". */
13
+ label?: string;
14
+ /** The launcher's word while open. Default "Close". */
15
+ closeLabel?: string;
16
+ /** The launcher's icon. Default the pixl AI agent. */
17
+ icon?: React.ComponentProps<typeof Button>['iconLeft'];
18
+ /** Open, for a page that controls it; with `onOpenChange`. */
19
+ open?: boolean;
20
+ onOpenChange?: (open: boolean) => void;
21
+ /** Open at first, uncontrolled. */
22
+ defaultOpen?: boolean;
23
+ /** The corner. Default bottom right. */
24
+ corner?: 'bottom-right' | 'bottom-left';
25
+ /** In a positioned box of the page's (a preview, an embed) rather than the window's corner. */
26
+ contained?: boolean;
27
+ /** The window's accessible name, when `title` is not text. */
28
+ 'aria-label'?: string;
29
+ className?: string;
30
+ }
31
+ /**
32
+ * A chat in a corner of the page (Nov 2026): a launcher button, and over it a window the launcher
33
+ * opens and closes, the page usable beside it. For a help or support assistant apart from the page's
34
+ * own search. The window is a surface with a border, never a shadow; its content is the caller's
35
+ * (`ChatPanel`'s thread and `Composer`, or intrface's AskChat). Escape closes it, and its content
36
+ * stays mounted while closed, so a conversation survives closing.
37
+ */
38
+ export declare function ChatLauncher({ title, children, headerActions, footer, label, closeLabel, icon, open: controlled, onOpenChange, defaultOpen, corner, contained, 'aria-label': ariaLabel, className, }: ChatLauncherProps): import("react/jsx-runtime").JSX.Element;
@@ -7,3 +7,4 @@ export { Suggestions, type SuggestionsProps } from './Suggestions';
7
7
  export { AnswerActions, type AnswerActionsProps } from './AnswerActions';
8
8
  export { ToolStep, ToolSteps, type ToolStepProps, type ToolStepsProps } from './ToolStep';
9
9
  export { Reasoning, type ReasoningProps } from './Reasoning';
10
+ export { ChatLauncher, type ChatLauncherProps } from './ChatLauncher';
@@ -18,7 +18,10 @@ export interface SearchFieldProps extends React.InputHTMLAttributes<HTMLInputEle
18
18
  * in the field. Turn it off where the page draws its own Clear (intrface's SearchInput, whose
19
19
  * Clear also resets the filters). */
20
20
  clearable?: boolean;
21
+ /** A filled field, the grey of a checkbox, with no line: for a search inside a panel (a long
22
+ * facet's own search), where the plain field would read as the page's own search. */
23
+ filled?: boolean;
21
24
  children?: React.ReactNode;
22
25
  }
23
- export declare function SearchField({ label, error, className, showSearchIcon, searchIcon, searchIconColor, inputSize, showFocusBorder, clearable, children, id: providedId, type, onChange, ...props }: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function SearchField({ label, error, className, showSearchIcon, searchIcon, searchIconColor, inputSize, showFocusBorder, clearable, filled, children, id: providedId, type, onChange, ...props }: SearchFieldProps): import("react/jsx-runtime").JSX.Element;
24
27
  export {};