@getsoren/design-system 4.59.0 → 4.60.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/main.cjs +2 -2
- package/dist/main.js +401 -395
- package/dist/src/components/DataDisplay/AiAssistant/AiAssistant.d.ts +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/components/AiAssistantEmptyState.d.ts +1 -1
- package/dist/src/components/DataDisplay/AiAssistant/types.d.ts +2 -0
- package/dist/src/components/Navigation/NavigationMenu/SideBarMenu/SideBarMenu.d.ts +2 -5
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
declare const AiAssistant: {
|
|
8
8
|
ConfirmationCard: ({ heading, summary, details, status, onAccept, onDecline, labels, dataTestId, }: import('./types').AiAssistantConfirmationCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
EmptyState: ({ message }: import('./types').AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
EmptyState: ({ message, children }: import('./types').AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
Fab: ({ open, onClick, tooltip, dataTestId }: import('./types').AiAssistantFabProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
11
|
Header: ({ title, subtitle, onClose, icon }: import('./types').AiAssistantHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
12
|
Panel: ({ open, isBusy, children, dataTestId }: import('./types').AiAssistantPanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -3,5 +3,5 @@ import { AiAssistantEmptyStateProps } from '../types';
|
|
|
3
3
|
* Centered invitation for an empty thread — render it conditionally in place of the
|
|
4
4
|
* message list content ({!messages.length && <AiAssistant.EmptyState … />}).
|
|
5
5
|
*/
|
|
6
|
-
declare const AiAssistantEmptyState: ({ message }: AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const AiAssistantEmptyState: ({ message, children }: AiAssistantEmptyStateProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default AiAssistantEmptyState;
|
|
@@ -25,6 +25,8 @@ export interface AiAssistantHeaderProps {
|
|
|
25
25
|
export interface AiAssistantEmptyStateProps {
|
|
26
26
|
/** Invitation shown while the thread is empty (e.g. "I'm Atlas, ask me anything…") */
|
|
27
27
|
message: string;
|
|
28
|
+
/** Rendered centered under the invitation — quick actions, suggestion pills… */
|
|
29
|
+
children?: ReactNode;
|
|
28
30
|
}
|
|
29
31
|
export interface AiAssistantThinkingOrbProps {
|
|
30
32
|
/** Orb diameter in px */
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NavigationItem, NavLinkProps } from '..';
|
|
1
|
+
import { NavigationItem } from '..';
|
|
3
2
|
export interface SideBarMenuProps {
|
|
4
|
-
NavLink?: (props: NavLinkProps) => ReactElement | null;
|
|
5
|
-
translate?: (str: string) => string;
|
|
6
3
|
items?: NavigationItem[];
|
|
7
4
|
}
|
|
8
|
-
declare const SideBarMenu: ({ items
|
|
5
|
+
declare const SideBarMenu: ({ items }: SideBarMenuProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
6
|
export default SideBarMenu;
|